Commit graph

5368 commits

Author SHA1 Message Date
Kevin Cozens 1f6ccb3c24 plug-ins/script-fu/scripts/3d-outline.scm
2008-01-15  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/add-bevel.scm
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/camo.scm
	* plug-ins/script-fu/scripts/circuit.scm
	* plug-ins/script-fu/scripts/clothify.scm
	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/contactsheet.scm
	* plug-ins/script-fu/scripts/distress-selection.scm
	* plug-ins/script-fu/scripts/flatland.scm
	* plug-ins/script-fu/scripts/font-map.scm
	* plug-ins/script-fu/scripts/fuzzyborder.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/land.scm
	* plug-ins/script-fu/scripts/lava.scm
	* plug-ins/script-fu/scripts/old-photo.scm
	* plug-ins/script-fu/scripts/predator.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm
	* plug-ins/script-fu/scripts/script-fu-set-cmap.scm
	* plug-ins/script-fu/scripts/select-to-brush.scm
	* plug-ins/script-fu/scripts/select-to-image.scm
	* plug-ins/script-fu/scripts/select-to-pattern.scm
	* plug-ins/script-fu/scripts/speed-text.scm
	* plug-ins/script-fu/scripts/spinning-globe.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/text-circle.scm
	* plug-ins/script-fu/scripts/unsharp-mask.scm
	* plug-ins/script-fu/scripts/xach-effect.scm: Variables in a let
	block must be of the form (variable value) per the R5RS.

svn path=/trunk/; revision=24614
2008-01-15 05:15:08 +00:00
Kevin Cozens b9fcccb246 Fixed definition of 'prog1' due to recent fixes enforcing R5RS syntax for
2008-01-14  Kevin Cozens  <kcozens@cvs.gnome.org>

	*  plug-ins/script-fu/scripts/script-fu-compat.init: Fixed definition
	of 'prog1' due to recent fixes enforcing R5RS syntax for 'let'.

svn path=/trunk/; revision=24612
2008-01-15 03:51:05 +00:00
Manish Singh 60f4aa444c Handle __members__ specially to return the current PDB procedure list, and
2008-01-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pdb_getattro): Handle __members__
        specially to return the current PDB procedure list, and pass-through
        any attributes that start with "_" without looking them up in the
        PDB.

svn path=/trunk/; revision=24595
2008-01-10 23:39:49 +00:00
Sven Neumann 7c745575d6 fixed spelling of GIMP.
2008-01-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/gimpcons.py: fixed spelling of GIMP.


svn path=/trunk/; revision=24593
2008-01-10 21:27:15 +00:00
Sven Neumann d1f61f2cd0 fixed conditional build of the JPEG plug-in.
2008-01-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/Makefile.am: fixed conditional build of the JPEG
	plug-in.


svn path=/trunk/; revision=24592
2008-01-10 19:37:08 +00:00
Joao S. O. Bueno 95559d7693 Allow Vectors.remove_stroke method to accept VectorStroke objects besides
2008-01-09 Joao S. O. Bueno <gwidion@mpc.com.br>

        * plug-ins/pygimp/pygimp-vectors.c: Allow Vectors.remove_stroke
        method to accept VectorStroke objects besides stroke IDs. Fix
        method names in error strings.

svn path=/trunk/; revision=24583
2008-01-10 00:39:26 +00:00
Sven Neumann c7b188b90b round the result of the convolution. Fixes bug #508114.
2008-01-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/convmatrix.c (convolve_image): round the result
	of the convolution. Fixes bug #508114.

svn path=/trunk/; revision=24575
2008-01-09 10:37:18 +00:00
Sven Neumann a1c270c096 plug-ins/psd/psd-image-res-load.[ch] plug-ins/psd/psd-layer-res-load.[ch]
2008-01-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/psd/psd-image-res-load.[ch]
	* plug-ins/psd/psd-layer-res-load.[ch]
	* plug-ins/psd/psd-load.c
	* plug-ins/psd/psd-thumb-load.c
	* plug-ins/psd/psd-util.[ch]
	* plug-ins/psd/psd.[ch]: applied a patch from John Marshall that
	improves error handling of the new PSD load plug-in (bug 
#448181).


svn path=/trunk/; revision=24572
2008-01-08 21:02:56 +00:00
Kevin Cozens 2e951b7f9c Test for symlink before testing for other file types. Spotted by David
2008-01-08  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/ftx/ftx.c (foreign_filetype): Test for symlink
	before testing for other file types. Spotted by David Martin.

svn path=/trunk/; revision=24568
2008-01-08 06:58:39 +00:00
Joao S. O. Bueno 080cdd66fb fixed incorrect function name in error message for vs_flip
2008-01-05  Joao S. O. Bueno <gwidion@mpc.com.br>

* plug-ins/pygimp/pygimp-vectors.c: fixed incorrect function name
in error message for vs_flip

svn path=/trunk/; revision=24556
2008-01-07 03:02:58 +00:00
Sven Neumann b95be71ca5 compile a list of MIME types that GIMP can read.
2008-01-06  Sven Neumann  <sven@gimp.org>

	* configure.in: compile a list of MIME types that GIMP can read.

	* desktop/gimp.desktop.in.in: use the list of MIME types as
	compiled by the configure script. Fixes bug #507318.

	* desktop/Makefile.am
	* desktop/gimp.applications.in
	* desktop/gimp.keys.in: removed, the gimp.application and
	gimp.keys files are obsolete.

	* plug-ins/psd/psd.c (MAIN): corrected MIME type in unused code.


svn path=/trunk/; revision=24550
2008-01-06 13:53:14 +00:00
Sven Neumann 05ea134310 configure.in fixed --without-jpeg configure option (bug #507572).
2008-01-06  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/Makefile.am: fixed --without-jpeg configure option
	(bug #507572).


svn path=/trunk/; revision=24548
2008-01-06 12:09:38 +00:00
Sven Neumann a01a055c01 fixed out-of-bounds array access.
2008-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/convmatrix.c (convolve_image): fixed 
out-of-bounds
	array access.


svn path=/trunk/; revision=24544
2008-01-06 01:59:26 +00:00
Sven Neumann d55d95877e update the progress less often.
2008-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tile.c (tile): update the progress less often.


svn path=/trunk/; revision=24541
2008-01-06 00:50:40 +00:00
Manish Singh 30e0e4125c new Image.new_layer() method, which is convenience for creating, filling,
2008-01-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: new Image.new_layer() method,
        which is convenience for creating, filling, and attaching a new
        layer onto an image. Based on a idea and patch by João S. O. Bueno
        in bug #505982.

svn path=/trunk/; revision=24540
2008-01-05 23:36:42 +00:00
Bill Skaggs 6ca147e61b added previews for hurl, pick, and slur.
2008-01-03  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/common/randomize.c: added previews for hurl,
	pick, and slur.
	


svn path=/trunk/; revision=24511
2008-01-03 16:53:33 +00:00
Manish Singh 7313f6d06c subscript API for PixelFetcher.
2007-12-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-tile.c: subscript API for PixelFetcher.

svn path=/trunk/; revision=24486
2007-12-30 16:56:57 +00:00
Manish Singh 43f8239668 plug-ins/pygimp/gimpmodule.c plug-ins/pygimp/pygimp-pdb.c
2007-12-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/pygimp/pygimp-colors.c
        * plug-ins/pygimp/pygimpcolor-api.h
        * plug-ins/pygimp/pygimpcolor.h: Move pygimp_rgb_from_pyobject into
        the gimpcolor module, and make it handle translation of sequences
        into colors too. Make the GimpParam translation code use it.

        * plug-ins/pygimp/gimpcolormodule.c: Initial wrapping of
        gimp_bilinear color functions.

        * plug-ins/pygimp/gimpenumsmodule.c
        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/pygimp-tile.c: Basic wrapping of GimpPixelFetcher.

svn path=/trunk/; revision=24481
2007-12-30 15:25:13 +00:00
Sven Neumann 10a38da7de added entry for Canon Digital Ixus v2 and removed duplicate entry.
2007-12-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpegqual.c (quant_info): added entry for Canon
	Digital Ixus v2 and removed duplicate entry.


svn path=/trunk/; revision=24478
2007-12-30 14:47:06 +00:00
Sven Neumann b0c2f3dee1 use G_OPTION_REMAINING to access the filenames passed as command-line
2007-12-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpegqual.c: use G_OPTION_REMAINING to access the
	filenames passed as command-line arguments.


svn path=/trunk/; revision=24477
2007-12-30 14:36:00 +00:00
Sven Neumann 289fa19212 applied another patch from Ulf-D. Ehlert for the parameter range (bug
2007-12-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/chip-away.scm: applied another 
patch
	from Ulf-D. Ehlert for the parameter range (bug #506110).


svn path=/trunk/; revision=24475
2007-12-30 13:40:22 +00:00
Sven Neumann dd95dffaec applied patch from Ulf-D. Ehlert that fixes the range of the "Chip amount"
2007-12-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/chip-away.scm: applied patch from
	Ulf-D. Ehlert that fixes the range of the "Chip amount" 
parameter
	(bug #506110).


svn path=/trunk/; revision=24448
2007-12-28 17:57:54 +00:00
Sven Neumann 4e8df6af94 configure.in plug-ins/Makefile.am added new PSD load plug-in written by
2007-12-20  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/psd: added new PSD load plug-in written by John Marshall.
	This plug-in adds a couple of features. See bug #448181 for details.

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/psd-load.c: removed old psd-load plug-in.

svn path=/trunk/; revision=24408
2007-12-20 11:12:05 +00:00
Sven Neumann 8ce82f2415 applied patch from John Marshall that fixes handling of PSD files with
2007-12-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd-load.c: applied patch from John Marshall
	that fixes handling of PSD files with blank layer names (bug 
#504149).


svn path=/trunk/; revision=24401
2007-12-18 20:33:32 +00:00
Kevin Cozens 6e476b9b4a Added extra checks to stop bad syntax in LET*, LET, and LETREC from
2007-12-17  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Added extra checks to stop
	bad syntax in LET*, LET, and LETREC from causing a segmentation fault
	in Linux. See SourceForge bug #1817986.

svn path=/trunk/; revision=24400
2007-12-18 20:12:11 +00:00
William Skaggs 50f65eb1b4 Bill Skaggs <weskaggs@primate.udavis.edu>
* plug-ins/common/edge.c: reverted to state pre-12/16.

svn path=/trunk/; revision=24386
2007-12-17 23:25:07 +00:00
William Skaggs 12859122c6 Bill Skaggs <weskaggs@primate.udavis.edu>
* plug-ins/common/edge.c: name reverted to "Edge",
	label in combo reverted to "Prewitt", other changes kept.

svn path=/trunk/; revision=24380
2007-12-17 04:59:35 +00:00
William Skaggs 5b13d23b4e Bill Skaggs <weskaggs@primate.udavis.edu>
* plug-ins/common/edge.c: renamed to "Sharp Edges",
	added "invert" option, other usability tweaks.

svn path=/trunk/; revision=24378
2007-12-16 20:38:02 +00:00
Sven Neumann 65bbd5f9d3 plug-ins/common/plugin-defs.pl re-added psd-load. Looks like Bill
2007-12-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: re-added psd-load. Looks like 
Bill
	accidentally removed it.


svn path=/trunk/; revision=24375
2007-12-16 14:58:25 +00:00
William Skaggs 52735b8ea8 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/mapcolor.c: removed
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: updated accordingly

svn path=/trunk/; revision=24369
2007-12-15 18:41:09 +00:00
Kevin Cozens 8d38858180 Only return true when numbers are of equal value AND of the same type (ie.
2007-12-14  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (eqv): Only return true
	when numbers are of equal value AND of the same type (ie. both
	exact or inexact). R5RS compliance fix.

svn path=/trunk/; revision=24366
2007-12-14 19:20:50 +00:00
Sven Neumann 182c263a11 extended the range allowed for the whirl angle (bug #499398).
2007-12-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/whirlpinch.c: extended the range allowed for the
	whirl angle (bug #499398).

svn path=/trunk/; revision=24335
2007-12-12 12:27:02 +00:00
Kevin Cozens 916e4d4f78 Fix to prevent reporting out of memory when there should be plenty of
2007-12-11  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (get_consecutive_cells):
	Fix to prevent reporting out of memory when there should be plenty
	of cells still available. See SourceForge bug #1794369.

svn path=/trunk/; revision=24328
2007-12-12 03:11:16 +00:00
Kevin Cozens 8a685dd322 Don't abort the top-level s-exp when loading a file. See SourceForge bug
2007-12-11  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Don't abort the top-level
	s-exp when loading a file. See SourceForge bug #1589711.

svn path=/trunk/; revision=24327
2007-12-12 01:56:49 +00:00
Kevin Cozens 38fd9dad2c Applied changes from official version of TinyScheme which fix
2007-12-11  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Applied changes from
	official version of TinyScheme which fix is_integer(). See
	SourceForge bug #1593861.

svn path=/trunk/; revision=24325
2007-12-11 21:46:40 +00:00
Sven Neumann 40f237269c allow the use of CSS color names and hexadecimal color notation.
2007-12-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpmodule.c (pygimp_set_background)
	(pygimp_set_foreground): allow the use of CSS color names and
	hexadecimal color notation.


svn path=/trunk/; revision=24310
2007-12-10 20:07:33 +00:00
Hans Breuer 6f5bbfe0bd updated and removed -GD to let msvc9 complain less
2007-12-09  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc : updated and removed -GD to let msvc9 complain less


svn path=/trunk/; revision=24305
2007-12-09 14:11:09 +00:00
Sven Neumann 2c594fbc33 fixed logic that decides if a dialog should be shown or not.
2007-12-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (_run): fixed logic that decides if 
a
	dialog should be shown or not.


svn path=/trunk/; revision=24300
2007-12-08 17:29:06 +00:00
Sven Neumann 4c9e97d4ad plug-ins/pygimp/pygimp-colors.c removed calls to PyMem_Free().
2007-12-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-colors.c
	* plug-ins/pygimp/gimpcolormodule.c: removed calls to 
PyMem_Free().


svn path=/trunk/; revision=24290
2007-12-07 19:21:35 +00:00
Sven Neumann 021abe4a74 accept a string and parse it using gimpcolor.rgb_parse_css().
2007-12-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.py (ColorSelector.__init__): accept a
	string and parse it using gimpcolor.rgb_parse_css().

	* plug-ins/pygimp/plug-ins/sphere.py: show off the new feature.

svn path=/trunk/; revision=24285
2007-12-07 16:53:06 +00:00
Sven Neumann 8b15c5e2f3 push/pop a context instead of manually restoring the background color.
2007-12-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/foggify.py: push/pop a context instead
	of manually restoring the background color.

svn path=/trunk/; revision=24283
2007-12-07 13:43:07 +00:00
Sven Neumann b43c095cab removed pointless and untranslated warning.
2007-12-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c (load_image): removed pointless 
and
	untranslated warning.


svn path=/trunk/; revision=24253
2007-12-02 14:47:47 +00:00
Sven Neumann fcbc8eda42 only set the resolution if X_density and Y_density are not zero. Otherwise
2007-12-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (jpeg_load_resolution): only set the
	resolution if X_density and Y_density are not zero. Otherwise 
the
	default resolution would be used anyway and the user sees an
	annoying and confusion warning.


svn path=/trunk/; revision=24251
2007-12-02 14:40:35 +00:00
William Skaggs ec4819c4b5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/Lighting/lighting_ui.c: make sure to update bumpmap
	when combo is changed.  Addresses bug #500317.

svn path=/trunk/; revision=24240
2007-11-29 19:32:50 +00:00
Sven Neumann 91720dc950 improved error reporting.
2007-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c	(load_image): improved error reporting.

svn path=/trunk/; revision=24234
2007-11-26 16:46:04 +00:00
Sven Neumann 6d8cc31116 avoid filename encoding problems by not using wmf_file_open() but mapping
2007-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: avoid filename encoding problems by not
	using wmf_file_open() but mapping the file into memory with
	GMappedFile. Fixes bug #499329.

svn path=/trunk/; revision=24232
2007-11-26 16:40:17 +00:00
Sven Neumann 7cf6c22d11 reduced progress updates based on a patch from Tobias Jakobs (bug
2007-11-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/flame/rect.c: reduced progress updates based on a 
patch
	from Tobias Jakobs (bug #499255). Untabified.


svn path=/trunk/; revision=24223
2007-11-23 21:26:52 +00:00
Sven Neumann a24102ee7f applied patch from Ulf-D. Ehlert that fixes the background color used in
2007-11-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/t-o-p-logo.scm: applied patch from
	Ulf-D. Ehlert that fixes the background color used in the Particle
	Trace filter (bug #498282).

svn path=/trunk/; revision=24200
2007-11-20 09:17:11 +00:00
Sven Neumann 1107d5a20b don't call gimp_edit_clear() if the selection mask is empty after
2007-11-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: don't call gimp_edit_clear() if
	the selection mask is empty after selecting the window shape and
	inverting that selection. Fixes bug #493182.


svn path=/trunk/; revision=24167
2007-11-15 19:31:12 +00:00
Sven Neumann e35f701b65 fixed bug in colormap handling (bug #497103).
2007-11-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-save.c (save_image): fixed bug in 
colormap
	handling (bug #497103).


svn path=/trunk/; revision=24165
2007-11-15 19:15:10 +00:00