Commit graph

5530 commits

Author SHA1 Message Date
Manish Singh 00cd61d43e tweak the rules for rebuilding the parser files from lex/yacc source so
2008-05-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/imagemap/Makefile.am: tweak the rules for rebuilding the
        parser files from lex/yacc source so that they are explicit instead
        of potentially being run implicitly because the file dates are off.

svn path=/trunk/; revision=25606
2008-05-10 10:17:48 +00:00
Sven Neumann 94c6633ca8 allocate temporary memory on the stack. Minor code cleanups.
2008-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/blur-gauss-selective.c: allocate temporary
	memory on the stack. Minor code cleanups.

svn path=/trunk/; revision=25579
2008-05-07 08:01:40 +00:00
Sven Neumann e2bac9e496 improved procedure blurb and help.
2008-05-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gbr.c: improved procedure blurb and help.

	* libgimpcolor/gimpcolorspace.c: inline gimp_hsl_value() and
	gimp_hsl_value_int().

svn path=/trunk/; revision=25576
2008-05-06 15:49:41 +00:00
Sven Neumann fe60949678 applied patch from Ulf-D. Ehlert. Makes the vacated region, which is
2008-05-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/3d-outline.scm: applied patch from
	 Ulf-D. Ehlert. Makes the vacated region, which is created when
	 specifying a non-zero shadow offset, to be filled with the
	 background color (white) instead of transparency (bug #530216).

svn path=/trunk/; revision=25575
2008-05-06 11:52:56 +00:00
Sven Neumann c95876290d fixed algorithm to calculate the center value. Fixes bug #530077.
2008-05-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp-mask.c (gen_convolve_matrix): fixed
	algorithm to calculate the center value. Fixes bug #530077.

svn path=/trunk/; revision=25567
2008-05-05 14:02:07 +00:00
Sven Neumann 0677b79c32 increased the maximum number of blinds to 100.
2008-05-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/blinds.c (MAX_FANS): increased the maximum
	number of blinds to 100.

svn path=/trunk/; revision=25566
2008-05-05 13:53:11 +00:00
Martin Nordholts 971ab1401e Use g_random_int() instead of rand().
2008-05-02  Martin Nordholts  <martinn@svn.gnome.org>

	* plug-ins/flame/libifs.c: Use g_random_int() instead of rand().

svn path=/trunk/; revision=25556
2008-05-02 05:20:15 +00:00
Martin Nordholts 87a8d25792 Applied patch from Aurimas Juška. Use the standard rand() instead of
2008-04-26  Martin Nordholts  <martinn@svn.gnome.org>

	* plug-ins/flame/libifs.c: Applied patch from Aurimas Juška. Use
	the standard rand() instead of random().

svn path=/trunk/; revision=25534
2008-04-26 12:04:12 +00:00
Martin Nordholts a2f9d1e5f7 plug-ins/flame/flame.c Applied modified patch by Luis Barrancos that adds
2008-04-26  Martin Nordholts  <martinn@svn.gnome.org>

	* plug-ins/flame/flame.c
	* plug-ins/flame/libifs.[ch]: Applied
	modified patch by Luis Barrancos that adds 22 new variations to
	the flame plugin (bug #389004).

svn path=/trunk/; revision=25527
2008-04-26 07:18:15 +00:00
Michael Natterer 658c5e6fbc fix help string of the page setup procedure.
2008-04-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/print.c (query): fix help string of the page
	setup procedure.


svn path=/trunk/; revision=25525
2008-04-25 12:30:10 +00:00
Sven Neumann fb80396583 applied patch from Christoph Brill which adds enum values and typedefs
2008-04-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psp.c: applied patch from Christoph Brill 
which
	adds enum values and typedefs used in newer versions of the PSP
	file format (see bug #120757).


svn path=/trunk/; revision=25509
2008-04-21 16:31:33 +00:00
Sven Neumann 1fdfd03576 fixed handling of "argc-lower-val-y" PDB parameter.
2008-04-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve-bend.c (run): fixed handling of
	"argc-lower-val-y" PDB parameter.


svn path=/trunk/; revision=25502
2008-04-21 12:45:52 +00:00
Sven Neumann 311181eedc untabified.
2008-04-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psp.c: untabified.


svn path=/trunk/; revision=25500
2008-04-19 17:59:32 +00:00
Sven Neumann 266129b39f strip mnemonics from parameter names before passing them to
2008-04-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (_query.make_params): strip 
mnemonics
	from parameter names before passing them to 
gimp.install_procedure().


svn path=/trunk/; revision=25489
2008-04-14 18:07:37 +00:00
Sven Neumann fe5a7bc729 plug-ins/jpeg/jpeg.h plug-ins/jpeg/jpeg-exif.c rotate the thumbnail
2008-04-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg.h
	* plug-ins/jpeg/jpeg-exif.c
	* plug-ins/jpeg/jpeg-load.c: rotate the thumbnail according to 
the
	EXIF orientation as required by the updated thumbnail spec.


svn path=/trunk/; revision=25480
2008-04-14 08:16:37 +00:00
Martin Nordholts e946f60361 plug-ins/script-fu/scripts/3d-outline.scm
2008-04-12  Martin Nordholts  <martinn@svn.gnome.org>

	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/alien-neon-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/bovinated-logo.scm
	* plug-ins/script-fu/scripts/chalk.scm
	* plug-ins/script-fu/scripts/chip-away.scm
	* plug-ins/script-fu/scripts/chrome-logo.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/frosty-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/glowing-logo.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/neon-logo.scm
	* plug-ins/script-fu/scripts/script-fu-util.scm
	* plug-ins/script-fu/scripts/starburst-logo.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/t-o-p-logo.scm
	* plug-ins/script-fu/scripts/textured-logo.scm: Applied patch from
	Ulf-D. Ehlert that makes the Alpha to Logo-filters more gracefully
	handle images with many layers (bug #498480).

svn path=/trunk/; revision=25472
2008-04-12 10:45:42 +00:00
Michael Natterer 30fe366078 unset the move cursor in GtkWidget::leave_notify_event() so it always gets
2008-04-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/print-preview.c: unset the move cursor in
	GtkWidget::leave_notify_event() so it always gets unset when the
	pointer leaves the widget.


svn path=/trunk/; revision=25464
2008-04-11 08:39:10 +00:00
Sven Neumann cc57080a58 fixed compilation on Win32 (bug #527300).
2008-04-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	fixed compilation on Win32 (bug #527300).


svn path=/trunk/; revision=25462
2008-04-10 19:38:30 +00:00
Michael Natterer e31bbcff9c plug-ins/pygimp/plug-ins/python-console.py fix new menu paths.
2008-04-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pygimp/plug-ins/python-console.py
	* plug-ins/script-fu/scripts/ts-helloworld.scm: fix new menu paths.


svn path=/trunk/; revision=25459
2008-04-10 11:33:02 +00:00
Sven Neumann 5b5e0497bf plug-ins/script-fu/scripts/ts-helloworld.scm
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/ts-helloworld.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/contactsheet.scm: register in new
	menu locations.


svn path=/trunk/; revision=25447
2008-04-09 17:24:05 +00:00
Sven Neumann ca5df86e47 corrected parameter description.
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/border-average.c: corrected parameter 
description.


svn path=/trunk/; revision=25446
2008-04-09 17:21:05 +00:00
Sven Neumann b464c4f426 plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
	* plug-ins/pygimp/plug-ins/python-console.py
	* plug-ins/pygimp/plug-ins/sphere.py: register in new menu 
locations.


svn path=/trunk/; revision=25445
2008-04-09 17:16:24 +00:00
Sven Neumann f8411b3547 register in new menu location.
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/twain/twain.c: register in new menu location.


svn path=/trunk/; revision=25444
2008-04-09 17:12:00 +00:00
Sven Neumann 338d35b025 plug-ins/win-snap/winsnap.c plug-ins/common/screenshot.c
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/win-snap/winsnap.c
	* plug-ins/common/screenshot.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/*.scm: register in new menu 
locations.


svn path=/trunk/; revision=25442
2008-04-09 17:04:24 +00:00
Sven Neumann dc11be31bb plug-ins/script-fu/scripts/Makefile.am removed Sphere script. It's a nice
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/sphere.scm: removed Sphere
	script. It's a nice simple example but it has no real value.

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
	removed "<Toolbox>/Xtns/Misc".

svn path=/trunk/; revision=25424
2008-04-09 09:00:20 +00:00
Sven Neumann e6b09b6141 marked a message for translation. Declare 'val' as const and use an extra
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	marked a message for translation. Declare 'val' as const and use
	an extra variable where a not const variable is needed.

svn path=/trunk/; revision=25423
2008-04-09 08:54:01 +00:00
Sven Neumann 32d31eeb73 moved Languages to the bottom. Removed separator from the Filters list as
2008-04-09  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: moved Languages to the bottom.  Removed
	separator from the Filters list as there was really no rule as to
	what goes above and what goes below.

	* app/actions/plug-in-actions.c: added Filters->Decor submenu.

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
	removed registration of redundant menu branches.

svn path=/trunk/; revision=25422
2008-04-09 08:39:24 +00:00
Michael Natterer 5015460bc8 add placeholder "Help/Programming"
2008-04-08  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: add placeholder "Help/Programming"

	* plug-ins/common/plugin-browser.c
	* plug-ins/common/procedure-browser.c: move the plug-in and
	procedure browsers there.

	* menus/image-menu.xml.in: moved the (now by default empty)
	"Extensions" placeholder from "Xtns" to "Filters". Let's see what
	cruft shows up there.

	* app/plug-in/plug-in-menu-path.c: map "Xtns/Extensions" to
	"Filters/Extensions".


svn path=/trunk/; revision=25415
2008-04-08 18:31:56 +00:00
Sven Neumann 2e3d75cc4b removed a redundant (and wrong) cast.
2008-04-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (myalloc): removed a redundant (and wrong)
	cast.

svn path=/trunk/; revision=25412
2008-04-08 09:38:11 +00:00
Sven Neumann 184bf5a900 plug-ins/pygimp/plug-ins/Makefile.am
2008-04-08  Sven Neumann  <sven@gimp.org>

        * plug-ins/pygimp/plug-ins/Makefile.am

        * plug-ins/pygimp/plug-ins/happy-valley-relief.py: renamed to ...
        * plug-ins/pygimp/plug-ins/python-eval.py: ... this.

        * plug-ins/pygimp/plug-ins/gimpcons.py: renamed to ...
        * plug-ins/pygimp/plug-ins/python-console.py: ... this.

svn path=/trunk/; revision=25411
2008-04-08 09:10:03 +00:00
Michael Natterer e6f1563574 renamed to...
2008-04-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/neon.c: renamed to...

	* plug-ins/common/edge-neon.c: ...this. Some formatting cleanup.

	* plug-ins/common/plugin-defs.pl: changed accordingly.

	* plug-ins/common/Makefile.am: regenerated.


svn path=/trunk/; revision=25405
2008-04-07 21:04:15 +00:00
Sven Neumann e6826632ac minor cleanups
svn path=/trunk/; revision=25395
2008-04-07 14:12:48 +00:00
Sven Neumann cca8dcc59f use gimp_drawable_is_valid() to check if a drawable ID is valid.
2008-04-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c: use gimp_drawable_is_valid() to check
	if a drawable ID is valid.

svn path=/trunk/; revision=25394
2008-04-07 14:07:29 +00:00
Sven Neumann f28a2c2c6e fixed description of 'lighttype' parameter (bug #526679).
2008-04-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/map-object/map-object-main.c (query): fixed description
	of 'lighttype' parameter (bug #526679).

svn path=/trunk/; revision=25389
2008-04-07 13:07:51 +00:00
Sven Neumann 33b7a95219 set the number of pages to one before showing the dialog. Not that it
2008-04-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.[ch]: set the number of pages to one before
	showing the dialog. Not that it would make a difference, but it
	could...

svn path=/trunk/; revision=25387
2008-04-07 10:38:38 +00:00
Sven Neumann f84b68a4af added new procedure gimp-procedural-db-proc-exists.
2008-04-06  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/procedural_db.pdb: added new procedure
	gimp-procedural-db-proc-exists.

	* app/pdb/internal-procs.c
	* app/pdb/procedural-db-cmds.c
	* libgimp/gimpproceduraldb_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.

	* plug-ins/print/print.c (page_setup): use the new procedure.


svn path=/trunk/; revision=25384
2008-04-06 20:30:59 +00:00
Sven Neumann 8341dd2fcd do a query for the temporary procedure installed by the 'file-print-gtk'
2008-04-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c (page_setup): do a query for the
	temporary procedure installed by the 'file-print-gtk' procedure.
	Temporary solution until bug #344818 has been addressed.


svn path=/trunk/; revision=25383
2008-04-06 19:45:27 +00:00
Sven Neumann 015e439314 marked string for translation (the same string exists in the TIFF loader
2008-04-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/psd/psd-load.c: marked string for translation (the same
	string exists in the TIFF loader already).

svn path=/trunk/; revision=25364
2008-04-04 13:59:41 +00:00
Michael Natterer 8aaeca9eec fix include guards.
2008-04-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help/gimphelpdomain.h: fix include guards.


svn path=/trunk/; revision=25350
2008-04-03 09:10:51 +00:00
Sven Neumann 3d4bcea387 fixed typos in descriptions of the command-line options.
2008-04-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/gimp-help-lookup.c: fixed typos in descriptions of
	the command-line options.

svn path=/trunk/; revision=25334
2008-04-02 16:17:26 +00:00
Sven Neumann 80a5805bd1 added GIO_LIBS.
2008-04-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/Makefile.am (LDADD): added GIO_LIBS.

svn path=/trunk/; revision=25333
2008-04-02 16:03:00 +00:00
Sven Neumann 4ecea2402d plug-ins/help/Makefile.am plug-ins/help/gimphelpdomain.[ch]
2008-04-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/Makefile.am
	* plug-ins/help/gimphelpdomain.[ch]
	* plug-ins/help/gimphelplocale.[ch]
	* plug-ins/help/gimphelp.[ch]
	* plug-ins/help/gimp-help-lookup.c: use GIO to access the help index.

svn path=/trunk/; revision=25331
2008-04-02 10:30:58 +00:00
Michael Natterer 0a1f444c2f renamed most files and added proper headers instead of duplicating the
2008-03-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/maze/*: renamed most files and added proper headers
	instead of duplicating the prototypes in each .c file that uses
	them. Indentation, spacing, formatting, some general cleanup.


svn path=/trunk/; revision=25324
2008-03-31 18:38:29 +00:00
Sven Neumann 9c9157039b fixed use of GChecksum.
2008-03-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (lcms_calculate_checksum): fixed use of
	GChecksum.


svn path=/trunk/; revision=25301
2008-03-29 16:46:17 +00:00
Mukund Sivaraman f87f2ba907 plug-ins/imagemap/imap_cmd_move.c plug-ins/imagemap/imap_cmd_object_up.c
2008-03-29  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/imagemap/imap_cmd_move.c
        * plug-ins/imagemap/imap_cmd_object_up.c
        * plug-ins/imagemap/imap_cmd_move_up.c
        * plug-ins/imagemap/imap_cmd_move_selected.c
        * plug-ins/imagemap/imap_cmd_move_sash.c
        * plug-ins/imagemap/imap_cmd_object_move.c
        * plug-ins/imagemap/imap_cmd_object_down.c
        * plug-ins/imagemap/imap_object.c
        * plug-ins/imagemap/imap_cmd_move_down.c
        * plug-ins/map-object/map-object-shade.c
        * plug-ins/map-object/map-object-apply.c
        * plug-ins/maze/maze.h
        * plug-ins/maze/maze_face.c
        * plug-ins/selection-to-path/selection-to-path.c
        * plug-ins/selection-to-path/edge.c
        * plug-ins/selection-to-path/pxl-outline.c
        * plug-ins/selection-to-path/fit.c
        * plug-ins/xjt/xjt.c
        * plug-ins/metadata/xmp-parse.c
        * plug-ins/print/print-draw-page.c
        * plug-ins/print/print-settings.c
        * plug-ins/lighting/lighting-preview.c: Cleanups / fixes for
        issues reported by Sparse.


svn path=/trunk/; revision=25296
2008-03-29 09:25:34 +00:00
Mukund Sivaraman 8216638667 plug-ins/common/sinus.c plug-ins/common/compose.c
2008-03-28  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/sinus.c
        * plug-ins/common/compose.c
        * plug-ins/common/screenshot.c
        * plug-ins/common/mng.c
        * plug-ins/common/wind.c
        * plug-ins/common/gif-save.c
        * plug-ins/common/video.c
        * plug-ins/common/sphere-designer.c
        * plug-ins/common/hot.c
        * plug-ins/common/red-eye-removal.c
        * plug-ins/common/tile-small.c
        * plug-ins/common/gbr.c
        * plug-ins/common/jigsaw.c
        * plug-ins/common/glob.c
        * plug-ins/common/despeckle.c
        * plug-ins/common/noise-randomize.c
        * plug-ins/common/convolution-matrix.c
        * plug-ins/common/gif-load.c
        * plug-ins/common/psd-save.c
        * plug-ins/common/emboss.c
        * plug-ins/common/csource.c
        * plug-ins/common/cml-explorer.c
        * plug-ins/common/grid.c
        * plug-ins/common/pcx.c
        * plug-ins/common/engrave.c
        * plug-ins/common/curve-bend.c: Cleanups / fixes for issues
        reported by Sparse.


svn path=/trunk/; revision=25295
2008-03-29 02:30:58 +00:00
Mukund Sivaraman 1a0db1b5bc gimp_md5_get_digest() is deprecated; using GChecksum instead.
2008-03-28  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/lcms.c: gimp_md5_get_digest() is deprecated;
        using GChecksum instead.


svn path=/trunk/; revision=25294
2008-03-29 02:28:39 +00:00
Mukund Sivaraman 4831a428c3 Fixed a bug where a pointer to a gint is passed to a function which
2008-03-28  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/png.c: Fixed a bug where a pointer to a gint
        is passed to a function which expects gsize, which can cause
        out of bounds access.


svn path=/trunk/; revision=25291
2008-03-28 21:48:10 +00:00
Michael Natterer 658d9f8d10 plug-ins/script-fu/scripts/guides-from-selection.scm
2008-03-28  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/guides-from-selection.scm
	* plug-ins/script-fu/scripts/guides-new-percent.scm
	* plug-ins/script-fu/scripts/guides-new.scm
	* plug-ins/script-fu/scripts/guides-remove-all.scm: use "*" as
	image type (not "") so the menu item is disabled when there is no
	image.


svn path=/trunk/; revision=25289
2008-03-28 17:50:35 +00:00
Sven Neumann fc93cc19ce deprecate gimp_memsize_to_string() in favor of
2008-03-28  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpmemsize.[ch]: deprecate gimp_memsize_to_string()
	in favor of g_format_size_for_display().

	* app/actions/edit-commands.c
	* app/core/gimpimagefile.c
	* app/dialogs/image-new-dialog.c
	* app/dialogs/image-scale-dialog.c
	* app/display/gimpdisplayshell-title.c
	* app/widgets/gimpimagepropview.c
	* app/widgets/gimptemplateeditor.c
	* app/widgets/gimpthumbbox.c
	* plug-ins/uri/uri-backend-gnomevfs.c
	* plug-ins/uri/uri-backend-gvfs.c
	* plug-ins/uri/uri-backend-libcurl.c
	* plug-ins/uri/uri-backend-wget.c: use g_format_size_for_display()
	instead of gimp_memsize_to_string().

svn path=/trunk/; revision=25285
2008-03-28 16:33:24 +00:00