Commit graph

4622 commits

Author SHA1 Message Date
Sven Neumann febf445c04 use the wilber icon / label combination for hints that is also used in
2006-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/redeye.c (dialog): use the wilber icon / label
	combination for hints that is also used in colormap-remap.
2006-09-05 20:38:29 +00:00
Sven Neumann 4bb2851f56 disabled debug spew.
2006-09-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpselectiondata.c: disabled debug spew.

	* plug-ins/common/raw.c: fixed saving of INDEXEDA drawables. Added
	code to load such files. Fixes bug #354034.
2006-09-05 09:26:28 +00:00
Michael Natterer 4233734b86 pop the context before rendering the gradient so we draw the gradient with
2006-09-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/gradient-example.scm: pop the context
	before rendering the gradient so we draw the gradient with the
	user's colors, not with the ones the script uses temporarily.
2006-09-01 21:27:42 +00:00
Sven Neumann 50a8cde19a fixed a typo.
2006-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/happy-valley-relief.py: fixed a typo.
2006-08-31 16:19:52 +00:00
Sven Neumann d5b605dc06 similar cleanup, removed unused parameters.
2006-08-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c: similar cleanup, removed unused
parameters.
2006-08-30 17:01:47 +00:00
Sven Neumann df52626cdb removed debugging output; minor cleanup.
2006-08-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: removed debugging output; minor
cleanup.
2006-08-30 16:53:44 +00:00
William Skaggs 177cef9d21 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/png.c: when saving an IA image, don't load
	the entire image into memory to search for an unused color.
	Fixes bug #308909.
2006-08-30 16:37:55 +00:00
Sven Neumann 33e189cc14 fixed off-by-one error and cleaned up the code a bit. Fixes bug #353227.
2006-08-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/emboss.c: fixed off-by-one error and cleaned
up
	the code a bit. Fixes bug #353227.
2006-08-30 08:28:16 +00:00
Sven Neumann 11f76bbd96 code cleanup and fix for bug #353381 (crash when Preview option is
2006-08-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/postscript.c (dither_grey): code cleanup and fix
	for bug #353381 (crash when Preview option is selected).
2006-08-29 13:32:22 +00:00
Raphael Quinet a4263ba43d Removed incorrect mention of Gauss IIR in blurb (the plug-in uses the RLE
2006-08-29  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/common/dog.c (query): Removed incorrect mention of
	Gauss IIR in blurb (the plug-in uses the RLE algorithm).
2006-08-29 13:09:19 +00:00
Sven Neumann fb410b52c7 avoid crashing on newer versions of the winicon file format (bug #352899).
2006-08-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c: avoid crashing on newer versions of
	the winicon file format (bug #352899).
2006-08-28 08:11:57 +00:00
Sven Neumann a1b1fb7530 plug-ins/winicon/icodialog.c fixed handling of indexed images (bug
2006-08-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icodialog.c
	* plug-ins/winicon/icosave.c: fixed handling of indexed images
	(bug #342883).
2006-08-24 15:07:04 +00:00
William Skaggs e32ef594e6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* configure.in
	* plug-ins/Makefile.am
	* plug-ins/common/png.c: revert changes accidentally
	committed in previous commit.
2006-08-22 17:40:04 +00:00
William Skaggs 0b51b73164 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpbase/gimpbaseenums.c: Don't label Lanczos
	as "best".  Addresses bug #343576.
2006-08-22 17:13:52 +00:00
Sven Neumann cec47fef1f check that the palette name actually refers to an existing palette and use
2006-08-18  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppaletteselectbutton.c
	(gimp_palette_select_button_set_palette): check that the palette
	name actually refers to an existing palette and use the active
	palette if name is NULL or empty (like the other select buttons).

	* plug-ins/pygimp/plug-ins/palette-offset.py: use an integer value
	for a PF_INT parameter.
2006-08-18 10:52:26 +00:00
Sven Neumann cbbc80c24e check if the menupath starts with <Image> instead of checking that it does
2006-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: check if the menupath starts with
	<Image> instead of checking that it does not start with <Toolbox>.
	Makes the scripts in <Palettes> work to some extent.
2006-08-18 09:33:58 +00:00
Sven Neumann 7a7a407195 derive the menupath from the label before adding to _registered_plugins_.
2006-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (register): derive the menupath from
	the label before adding to _registered_plugins_.

	* plug-ins/pygimp/Makefile.am: moved clothify.py to test-scripts,
	it doubles the functionality of script-fu-clothify.

	* plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
	* plug-ins/pygimp/plug-ins/foggify.py
	* plug-ins/pygimp/plug-ins/palette-sort.py
	* plug-ins/pygimp/plug-ins/palette-to-gradient.py: changed menu
	registration in some places that I missed earlier.
2006-08-18 09:03:02 +00:00
Sven Neumann 8b5b80a375 derive the menu from the label before adding to _registered_plugins_.
2006-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (register): derive the menu from the
	label before adding to _registered_plugins_.

	* plug-ins/pygimp/Makefile.am: moved clothify.py to test-scripts,
	it doubles the functionality of script-fu-clothify.
2006-08-18 08:53:17 +00:00
Sven Neumann 247fc372d5 added a convenience function to create a layer from a GdkPixbuf.
2006-08-17  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppixbuf.[ch]: added a convenience function to create
	a layer from a GdkPixbuf.

	* plug-ins/common/poppler.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/svg.c: use gimp_layer_new_from_pixbuf().

	* libgimp/gimpui.def: updated.
2006-08-17 16:52:25 +00:00
Sven Neumann 476ec672c8 plug-ins/common/poppler.c plug-ins/common/screenshot.c improved progress
2006-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/poppler.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/svg.c: improved progress handling.
2006-08-17 15:41:04 +00:00
Sven Neumann f96049ae6e added an optional menu parameter to the register call to simplify menu
2006-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: added an optional menu parameter to
	the register call to simplify menu registration. Also restored
	menupath specific mangling of the procedure arguments.

	* plug-ins/pygimp/plug-ins/*.py: use the menu parameter instead
	of defining a function to call on query.

	* plug-ins/pygimp/plug-ins/sphere.py: do it old-style here for
	testing.
2006-08-17 14:52:13 +00:00
Sven Neumann d1b2b655b8 when accessing members of tc_byte_array, cast them to guint8.
2006-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod/sliba.c (aref1): when accessing
members
	of tc_byte_array, cast them to guint8.
2006-08-17 06:49:24 +00:00
Sven Neumann 7bb7de9294 added menu_register method.
2006-08-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpmodule.c: added menu_register method.

	* plug-ins/pygimp/plug-ins/*.py: use gimp.menu_register().
2006-08-16 21:26:53 +00:00
Sven Neumann 7728c808e5 allow '-' in procedure and parameter names.
2006-08-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: allow '-' in procedure and
parameter
	names.

	* plug-ins/pygimp/plug-ins/*.py: use canonical procedure and
	parameter names.
2006-08-16 20:48:45 +00:00
Sven Neumann 8ecf3cdf49 use gimp_plugin_menu_register().
2006-08-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/*.py: use
gimp_plugin_menu_register().
2006-08-16 20:16:05 +00:00
Sven Neumann b15bcfaa56 fixed overzealousness when cropping on a drawable border (bug #337888).
2006-08-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c (autocrop): fixed overzealousness
	when cropping on a drawable border (bug #337888).
2006-08-16 08:15:28 +00:00
Sven Neumann ed15385125 plug-ins/bmp/bmp.[ch] plug-ins/bmp/bmpread.c applied patch from Piotr
2006-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.[ch]
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c: applied patch from Piotr Filiciak that
	merges the save dialogs and completes the changes in bug #342355.
2006-08-15 17:35:00 +00:00
Sven Neumann 684aa29ccb coding style.
2006-08-15  Sven Neumann  <sven@gimp.org>

	* app/xcf/xcf-save.c (xcf_save_tile_rle): coding style.

	* plug-ins/winicon/icodialog.c: removed leftover debug output.
2006-08-15 15:59:09 +00:00
Sven Neumann d47fb429bb moved whirlpinch.py to the test_scripts category to prevent it from being
2006-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/Makefile.am: moved whirlpinch.py to the
	test_scripts category to prevent it from being installed in stable
	releases (bug #46001).
2006-08-15 10:43:55 +00:00
Sven Neumann 307f75f42c has only one return value if called as recompose. Fixes the trigger for
2006-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c: has only one return value if called
	as recompose. Fixes the trigger for bug #350226.
2006-08-15 06:26:27 +00:00
Sven Neumann 682bf81548 open the file in binary mode. Pointed out by Aurimas Juska; fixes bug
2006-08-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c: open the file in binary mode.
	Pointed out by Aurimas Juska; fixes bug #172503.
2006-08-14 17:53:35 +00:00
Sven Neumann a994fb3471 wrap gimp_window_set_transient() into a method of GimpDialog.
2006-08-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.defs: wrap gimp_window_set_transient()
	into a method of GimpDialog.

	* plug-ins/pygimp/gimpfu.py: call dialog.set_transient().
2006-08-11 09:00:24 +00:00
Sven Neumann 0b74a671fc pack the main vbox expanding so that the progress bar sticks to the bottom
2006-08-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: pack the main vbox
	expanding so that the progress bar sticks to the bottom of the
	dialog.

	* plug-ins/pygimp/gimpfu.py: moved blurb label to the top, use
	italic style for it. Add a progress bar unconditionally and use a
	GimpProgressBar for it. Commented out the progress label until it
	is actually used.
2006-08-11 08:36:45 +00:00
Sven Neumann 2c4f513d52 fixed the check for an empty image.
2006-08-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c: fixed the check for an empty
image.
2006-08-10 17:50:09 +00:00
Sven Neumann f4b0133050 set a border width of 12 on the toplevel container.
2006-08-10  Sven Neumann  <sven@gimp.org>

        * plug-ins/metadata/interface.c (metadata_dialog): set a border
        width of 12 on the toplevel container.
2006-08-10 11:16:33 +00:00
Michael Natterer 0ec9784bbc the plug-in has one return value, not two (the trigger of the crasher in
2006-08-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/oilify.c (run): the plug-in has one return
	value, not two (the trigger of the crasher in bug #350555).
2006-08-10 08:58:25 +00:00
Sven Neumann 9f1b9a81a0 applied patch from Robert Ögren to fix a segfault on 64bit architectures
2006-08-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/warp.c (diff_prepare_row): applied patch from
	Robert Ögren to fix a segfault on 64bit architectures (bug
#327479).
2006-08-08 17:40:43 +00:00
Sven Neumann 442c66484f added missing call to gimp_window_set_transient(). Fixes bug #348249.
2006-08-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	added missing call to gimp_window_set_transient(). Fixes bug #348249.
2006-08-07 12:02:45 +00:00
Raphael Quinet 7c245e1654 Do not declare a symbol "link" because this conflicts with the system call
2006-08-05  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/imagemap/imap_ncsa.l: Do not declare a symbol "link"
	because this conflicts with the system call declared in
	<unistd.h>.  Renamed that symbol "imap_link".  Fixes bug #349589.

	* plug-ins/imagemap/imap_ncsa_lex.c: Updated by hand in order to
	avoid large changes introduced by more recent versions of flex.
2006-08-04 22:12:44 +00:00
Michael Natterer b1c35145a2 enable "activates-default" on the name entry. Fixes bug #349614. Removed
2006-08-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/pat.c: enable "activates-default" on the name
	entry. Fixes bug #349614. Removed the name entry's callback and
	simply get the string after running the dialog.
2006-08-02 12:32:10 +00:00
Michael Natterer 845cec013a enable "compose_by_drawable" for GIMP_RUN_WITH_LAST_VALS, since these
2006-07-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c (run): enable "compose_by_drawable"
	for GIMP_RUN_WITH_LAST_VALS, since these values are drawable IDs,
	not image IDs. Fixes bug #346859.
2006-07-30 22:40:10 +00:00
David Odin cd2d93f3c1 small cleanups.
* plug-ins/bmp/bmpwrite.c: small cleanups.
2006-07-28 22:18:32 +00:00
Simon Budig 386d400db6 ported to new vectors API, removed some of the cruft (there is plenty
2006-07-28  Simon Budig  <simon@gimp.org>

	* plug-ins/sel2path/sel2path.c: ported to new vectors API,
	removed some of the cruft (there is plenty here...).
2006-07-28 21:58:30 +00:00
William Skaggs c77781de89 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/grid.c: fix my fix.
2006-07-27 18:05:41 +00:00
William Skaggs bc099a98f3 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/grid.c: width and height were reversed when
	setting refval boundaries in a couple of places; problem
	pointed out by Maciej Katafiasz on irc.
2006-07-27 17:45:03 +00:00
Jakub Friedl c66f09311e updated web URL
2006-07-27  Jakub Friedl  <jfriedl@suse.cz>

  * plug-ins/script-fu/scripts/spyrogimp.scm: updated web URL
2006-07-27 17:17:58 +00:00
Manish Singh d9573a4262 manually wrap the function gimp_brush_select_button_get_brush().
2006-07-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.override: manually wrap the function
        gimp_brush_select_button_get_brush().
2006-07-20 08:17:33 +00:00
Manish Singh 3f1dd8ace4 use PF_DIRNAME for save_path. Fixes bug #138714.
2006-07-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/py-slice.py: use PF_DIRNAME for save_path.
        Fixes bug #138714.
2006-07-20 07:55:58 +00:00
Manish Singh 747a8dc1d3 make DrawableSelector work again.
2006-07-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: make DrawableSelector work again.
2006-07-20 07:51:33 +00:00
Manish Singh 963b670f0f make the FileSelector class work again.
2006-07-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: make the FileSelector class work
        again.

        * plug-ins/pygimp/gimpfu.py: add PF_FILENAME and PF_DIRNAME to
        match script-fu. Also, if the default value for PF_FILE ends in '/',
        it goes PF_DIRNAME mode.
2006-07-20 07:40:52 +00:00
Manish Singh 9230a66b6e font select API is get_font, not get_font_name.
2006-07-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: font select API is get_font, not
        get_font_name.
2006-07-20 06:06:24 +00:00
Manish Singh cbd3a1930d This is the start of wrapping much more of the GIMP API in Python. It's
2006-07-19  Manish Singh  <yosh@gimp.org>

        This is the start of wrapping much more of the GIMP API in Python.
        It's not complete yet, some things are broken.

        * plug-ins/pygimp/gimpcolormodule.c
        * plug-ins/pygimp/pygimpcolor.h
        * plug-ins/pygimp/pygimpcolor-api.h
        * plug-ins/pygimp/pygimp-colors.c: wrapped GimpHSV, GimpHSL, and
        GimpCMYK. Fleshed out a bit more of GimpRGB as well. Made the API
        exportable to other modules.

        * plug-ins/pygimp/pygimp-rgb.c: removed, subsumed into
        pygimp-colors.c.

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-pdb.c: PDB calls receive and create
        gimpcolor.RGB objects now.

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-api.h: export pygimp_drawable_new.

        * plug-ins/pygimp/gimpcolor-types.defs
        * plug-ins/pygimp/gimpenums-types.defs
        * plug-ins/pygimp/gimpui.defs
        * plug-ins/pygimp/gimpui.override
        * plug-ins/pygimp/gimpuimodule.c: new module for GIMP UI widget
        bindings.

        * plug-ins/pygimp/gimpui.py
        * plug-ins/pygimp/gimpfu.py: use some of the new widgets.

        * plug-ins/pygimp/Makefile.am: hook all the above into the build
        system.

        * plug-ins/pygimp/plug-ins/palette-sort.py: use new color API.
2006-07-20 04:53:47 +00:00
Manish Singh cf733bb5b6 gimpcolor.RGB is now a sequence, so we can swap it in for PDB color types.
2006-07-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-rgb.c: gimpcolor.RGB is now a sequence,
        so we can swap it in for PDB color types.
2006-07-17 03:37:28 +00:00
Kevin Cozens 662d422609 configure.in Added --disable-script-fu to allow building of GIMP without
2006-07-16  Kevin Cozens  <kcozens@cvs.gnome.org>

	* configure.in
	* plug-ins/Makefile.am: Added --disable-script-fu to allow building
	of GIMP without the Script-Fu plug-in. See bug #347570.
2006-07-16 16:30:14 +00:00
Sven Neumann 9ae2bd5046 set Software to "GIMP", not "The GIMP".
2006-07-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c (jpeg_setup_exif_for_save): set
Software
	to "GIMP", not "The GIMP".
2006-07-16 13:41:23 +00:00
Maurits 4f2b4681c5 plug-ins/imagemap/imap_grid.c plug-ins/imagemap/imap_main.c fixed problem
2006-07-14  Maurits  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_grid.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.c: fixed problem with zoom menu
2006-07-14 13:37:56 +00:00
Sven Neumann 597954af46 plug-ins/bmp/bmp.[ch] simplified run() method, renamed a variable.
2006-07-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.[ch]
	* plug-ins/bmp/bmpwrite.c: simplified run() method, renamed a
	variable.
2006-07-13 06:20:58 +00:00
Sven Neumann 57f805a159 plug-ins/bmp/bmp.[ch] plug-ins/bmp/bmpread.c applied a slightly modified
2006-07-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.[ch]
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c: applied a slightly modified patch from
	Piotr Filiciak that adds support for 16/32 bit bitmaps and support
	for alpha channel (bug #342355).
2006-07-12 14:25:17 +00:00
Sven Neumann f27b2dae28 don't cast between GimpRGB and GimpVector; it works but it's ugly and
2006-07-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: don't cast between GimpRGB
and
	GimpVector; it works but it's ugly and caused compiler warnings.
2006-07-08 00:56:17 +00:00
Sven Neumann f43d307437 G_GNUC_NULL_TERMINATED.
2006-07-05  Sven Neumann  <sven@gimp.org>

	* app/gui/themes.h (themes_get_theme_file): G_GNUC_NULL_TERMINATED.
2006-07-05 14:43:14 +00:00
Sven Neumann bdd3c6444b libgimpbase/gimpenv.h libgimpbase/gimpmemsize.h
2006-07-05  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpenv.h
	* libgimpbase/gimpmemsize.h
	* libgimpbase/gimpparasiteio.[ch]
	* libgimpbase/gimputils.h
	* libgimpconfig/gimpconfig-path.[ch]
	* libgimpthumb/gimpthumb-utils.[ch]: marked some function with
	G_GNUC_MALLOC.

	* plug-ins/common/dicom.c: use g_date_set_time_t() instead of the
	deprecated g_date_set_time().
2006-07-05 13:55:11 +00:00
Michael Natterer 6feb7bb82c depend on glib >= 2.10.2, gtk+ >= 2.8.18 and pango >= 1.12.3. Define
2006-07-05  Michael Natterer  <mitch@gimp.org>

	* configure.in: depend on glib >= 2.10.2, gtk+ >= 2.8.18
	and pango >= 1.12.3. Define FOO_DISABLE_DEPRECATED also for
	glib 2.12, gtk+ 2.10 and pango 2.14

	* app/sanity.c
	* app/gui/gui.c: adjusted sanity checks accordingly.

	* app/dialogs/stroke-dialog.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimpuimanager.c
	* libgimpwidgets/gimphelpui.c
	* libgimpwidgets/gimpmemsizeentry.c
	* plug-ins/helpbrowser/gimpthrobber.c: replace gtk_object_sink()
	by combinations of g_object_ref_sink() and g_object_unref().
2006-07-05 13:40:47 +00:00
Kevin Cozens 15f00f294c Added reverse-layers.sct. Moved ts-helloworld.sct to the list of test
2006-07-02  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/Makefile.am: Added reverse-layers.sct. Moved
	ts-helloworld.sct to the list of test scripts.

	* scripts/reverse-layers.sct: new script from Akkana Peck which
	reverses the layers in an image.

	* tiny-fu/tiny-fu.c
	* scripts/3d-outline.sct
	* scripts/3dTruchet.sct
	* scripts/alien-glow-arrow.sct
	* scripts/alien-glow-bar.sct
	* scripts/alien-glow-bullet.sct
	* scripts/alien-glow-button.sct
	* scripts/alien-glow-logo.sct
	* scripts/alien-neon-logo.sct
	* scripts/basic1-logo.sct
	* scripts/basic2-logo.sct
	* scripts/beveled-button.sct
	* scripts/beveled-pattern-arrow.sct
	* scripts/beveled-pattern-bullet.sct
	* scripts/beveled-pattern-button.sct
	* scripts/beveled-pattern-heading.sct
	* scripts/beveled-pattern-hrule.sct
	* scripts/blended-logo.sct
	* scripts/bovinated-logo.sct
	* scripts/camo.sct
	* scripts/carved-logo.sct
	* scripts/chalk.sct
	* scripts/chip-away.sct
	* scripts/chrome-logo.sct
	* scripts/comic-logo.sct
	* scripts/contactsheet.sct
	* scripts/coolmetal-logo.sct
	* scripts/crystal-logo.sct
	* scripts/flatland.sct
	* scripts/frosty-logo.sct
	* scripts/gimp-headers.sct
	* scripts/gimp-labels.sct
	* scripts/glossy.sct
	* scripts/glowing-logo.sct
	* scripts/gradient-bevel-logo.sct
	* scripts/guides-new.sct
	* scripts/i26-gunya2.sct
	* scripts/land.sct
	* scripts/neon-logo.sct
	* scripts/news-text.sct
	* scripts/pupi-button.sct
	* scripts/rendermap.sct
	* scripts/sota-chrome-logo.sct
	* scripts/speed-text.sct
	* scripts/sphere.sct
	* scripts/starburst-logo.sct
	* scripts/starscape-logo.sct
	* scripts/swirltile.sct
	* scripts/swirly-pattern.sct
	* scripts/t-o-p-logo.sct
	* scripts/test-sphere.sct
	* scripts/text-circle.sct
	* scripts/textured-logo.sct
	* scripts/title-header.sct
	* scripts/truchet.sct
	* scripts/ts-helloworld.sct: Move the script categories that were
	in Xtns->Tiny-Fu directly into Xtns. Language specific tools (e.g.
	Refresh, Console) remain in language-specific menus. Bug #145507.
	Based on changes made by Akkana Peck to Script-Fu.
2006-07-02 16:35:49 +00:00
Sven Neumann d00f0c76e3 don't leak X resources.
2006-06-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): don't leak X
	resources.
2006-06-30 09:02:39 +00:00
William Skaggs e61505be56 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/print/print.[ch]
	* plug-ins/print/print-draw-page.[ch]
	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print-settings.c: implement preview internally,
	assorted other small changes.
2006-06-29 17:58:54 +00:00
Sven Neumann 390791f931 use macros in an attempt to make the key grabbing code more readable.
2006-06-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: use macros in an attempt to make
	the key grabbing code more readable.
2006-06-29 14:42:02 +00:00
Raphael Quinet f8e16bb2d4 allow the usage of Escape together with CapsLock, NumLock and ScrollLock.
2006-06-29  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): allow the
	usage of Escape together with CapsLock, NumLock and ScrollLock.
2006-06-29 09:29:23 +00:00
Raphael Quinet 412b574b63 use 0 instead of AnyModifer in the call to XGrabKey. This prevented the
2006-06-29  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): use 0 instead
	of AnyModifer in the call to XGrabKey.  This prevented the
	cancellation of the screenshot with Escape in some environments.
2006-06-29 08:43:56 +00:00
Sven Neumann d43df96695 added an else that we lost somehow.
2006-06-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: added an else that we lost somehow.
2006-06-29 08:23:08 +00:00
Sven Neumann cbdcc6ba73 plug-ins/common/mail.c updated inlined icons from Tango Icon library.
2006-06-28  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/mail.c
        * plug-ins/common/screenshot.c: updated inlined icons from Tango
        Icon library.
2006-06-28 11:13:13 +00:00
Sven Neumann a9bd28e458 libgimp/gimpfontselectbutton.[ch] libgimp/gimpgradientselectbutton.[ch]
2006-06-28  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpfontselectbutton.[ch]
	* libgimp/gimpgradientselectbutton.[ch]
	* libgimp/gimppaletteselectbutton.[ch]
	* libgimp/gimppatternselectbutton.[ch]: for consistency with
	GimpBrushSelectButton dropped the _name suffix from the getter
	and setter API.

	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppalettemenu.c
	* libgimp/gimppatternmenu.c
	* plug-ins/gfig/gfig-style.c
	* plug-ins/script-fu/script-fu-interface.c: changed accordingly.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpbrushselectbutton.[ch]
	* libgimp/gimpselectbutton.c: cleanup for consistency.

2006-06-28  Sven Neumann  <sven@gimp.org>

	* libgimp/tmpl/gimpbrushselectbutton.sgml
	* libgimp/tmpl/gimpgradientselectbutton.sgml
	* libgimp/tmpl/gimppaletteselectbutton.sgml
	* libgimp/tmpl/gimppatternselectbutton.sgml
	* libgimp/tmpl/gimpselectbutton.sgml: new files.

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/libgimp.types: added docs for GimpSelectButton widgets.

	* libgimp/tmpl/gimpfontselectbutton.sgml: regenerated.

	* libgimpcolor/libgimpcolor-sections.txt: added docs for GValue API.

	* libgimpcolor/tmpl/gimprgb.sgml: regenerated.

	* libgimpwidgets/libgimpwidgets-sections.txt: updated.

	* libgimpwidgets/tmpl/gimppropwidgets.sgml
	* libgimpwidgets/tmpl/gimpstock.sgml: regenerated.
2006-06-28 10:35:22 +00:00
Sven Neumann 12e0bf9090 app/core/gimpchannel-select.c app/core/gimpdrawable-bucket-fill.c
2006-06-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpchannel-select.c
	* app/core/gimpdrawable-bucket-fill.c
	* app/core/gimpdrawable-transform.c
	* app/core/gimpimage-crop.c
	* app/dialogs/image-scale-dialog.c
	* app/tools/gimpforegroundselecttool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpmovetool.c
	* plug-ins/gfig/gfig-dialog.c: applied patch from Zbigniew Chyla
	that adds translation context to some problematic strings
	(bug #345982).
2006-06-27 19:39:48 +00:00
Sven Neumann 9396fb5b66 applied patch from Joao S. O. Bueno Calligaris that makes PF_FILE use a
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.py: applied patch from Joao S. O. Bueno
	Calligaris that makes PF_FILE use a GtkFileChooserButton. Fixes
	bug #326986.
2006-06-27 19:27:40 +00:00
Sven Neumann 5e197c16a6 commented out the non-functional Zoom menu.
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_menu.c: commented out the non-functional
	Zoom menu.
2006-06-27 16:13:22 +00:00
Sven Neumann 91cd3b02f8 adjusted table spacing 2006-06-27 15:37:24 +00:00
Sven Neumann 32fa081919 improved dialog layout.
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_preview.c: improved dialog layout.
2006-06-27 15:18:54 +00:00
Michael Natterer 3c4f399d99 s/uft8/utf8/ makes it compile.
2006-06-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/print-draw-page.c: s/uft8/utf8/ makes it compile.
2006-06-27 14:25:05 +00:00
Sven Neumann eaaaa8dbd2 plug-ins/FractalExplorer/FractalExplorer.c plug-ins/common/colortoalpha.c
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/illusion.c
	* plug-ins/script-fu/script-fu.c some more canonical procedure
	names that we missed earlier.
2006-06-27 13:08:28 +00:00
Sven Neumann 6be54f9b20 plug-ins/common/CML_explorer.c plug-ins/common/curve_bend.c
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/fractaltrace.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/mblur.c
	* plug-ins/common/png.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/tga.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/tiler.c
	* plug-ins/common/unsharp.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gfli/gfli.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: use canonical parameter names.
2006-06-27 12:38:45 +00:00
Sven Neumann efa18343fb plug-ins/FractalExplorer/FractalExplorer.c
2006-06-27  Sven Neumann  <neumann@jpk.com>

	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/MapObject/mapobject_main.c: use canonical procedure and
	parameter names. Marked procedure blurbs for translation.

	* plug-ins/winicon/main.c: use canonical procedure and parameter
	names.
2006-06-27 12:19:57 +00:00
Sven Neumann 1fe1e1da54 plug-ins/gfig/gfig-dialog.[ch] plug-ins/gfig/gfig-dobject.h put extern
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.[ch]
	* plug-ins/gfig/gfig-dobject.h
	* plug-ins/gfig/gfig.[ch]: put extern variables where they
belong.
	Patch from Daniel Richard G. (bug #342455).
2006-06-27 08:07:18 +00:00
Sven Neumann 7b1327dd86 I18n improvements based on a patch from Zbigniew Chyla:
2006-06-27  Sven Neumann  <sven@gimp.org>

	I18n improvements based on a patch from Zbigniew Chyla:

	* app/main.c:
	* modules/controller_midi.c
	* plug-ins/script-fu/scripts/guides-new.scm: marked strings for
	translation.

	* app/widgets/gimpdock.c
	* libgimpwidgets/gimppageselector.c
	* plug-ins/common/plugin-browser.c: use ngettext() for plural
forms.
2006-06-27 07:49:14 +00:00
Sven Neumann 824b31e454 use NULL as the special value, not "silent".
2006-06-27  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpexport.c (gimp_export_image): use NULL as the
	special value, not "silent".

	* plug-ins/print/print-draw-page.c: changed accordingly.  Also
	fixed handling of filename encoding.
2006-06-27 06:41:38 +00:00
William Skaggs d7a6a776dc Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimp/gimpexport.c: if format arg is "silent", export
	without popping a dialog -- saves duplicating code.

	* plug-ins/print/print-draw-page.c
	* plug-ins/print/print-draw-page.h
	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print-page-layout.h
	* plug-ins/print/print-settings.c
	* plug-ins/print/print-settings.h
	* plug-ins/print/print.h:         new files

	* plug-ins/print/Makefile.am
	* plug-ins/print/print.c:  modified

	Progress toward GtkPrintOperation plug-in.  Should already
	be usable, but very ugly.
2006-06-26 22:48:05 +00:00
Manish Singh 1eeaa25fa0 quick fix so colors in the PDB work again.
2006-06-25  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c: quick fix so colors in the PDB work
        again.
2006-06-26 05:29:58 +00:00
Manish Singh 68dfb3f223 libgimp/gimpuitypes.h abstract class for resource selection buttons.
2006-06-25  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpuitypes.h
        * libgimp/gimpselectbutton.[ch]: abstract class for resource selection
        buttons.

        * libgimp/gimpfontselectbutton.[ch]: derive from GimpSelectButton.

        * libgimp/gimpbrushselectbutton.[ch]
        * libgimp/gimpgradientselectbutton.[ch]
        * libgimp/gimppaletteselectbutton.[ch]
        * libgimp/gimppatternselectbutton.[ch]: replacements for
        gimp_foo_select widgets, akin to GimpFontSelectButton.

        * libgimp/gimpbrushmenu.[ch]
        * libgimp/gimpgradientmenu.[ch]
        * libgimp/gimppalettemenu.[ch]
        * libgimp/gimppatternmenu.[ch]: deprecate old API, and reimplement
        in terms of GimpFooSelectButton.

        * libgimp/gimpfontmenu.[ch]: change to use the GimpSelectButton API.

        * libgimp/gimpuimarshal.list: new marshallers for the above new
        widgets.

        * libgimp/gimpui.h: add new headers.

        * libgimp/Makefile.am: add new files.

        * plug-ins/FractalExplorer/Dialogs.c
        * plug-ins/gfig/gfig-dialog.c
        * plug-ins/gfig/gfig-style.[ch]
        * plug-ins/script-fu/script-fu-interface.c: use new API.
2006-06-26 01:47:22 +00:00
Manish Singh f1e54be89d app/plug-in/plug-in-params.c libgimp/gimp.[ch]
2006-06-25  Manish Singh  <yosh@gimp.org>

        * app/plug-in/plug-in-params.c
        * libgimp/gimp.[ch]
        * libgimpbase/gimpprotocol.[ch]
        * plug-ins/common/colormap-remap.c
        * plug-ins/common/curve_bend.c
        * plug-ins/common/grid.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/script-fu/siod-wrapper.c
        * tools/pdbgen/pdb.pl: turn d_int8 and d_int8array into guint8.
        Fixes bug #344431.
2006-06-25 23:30:15 +00:00
David Odin 7cb2b3ec58 untabified.
* plug-ins/common/tga.c: untabified.
2006-06-25 17:07:10 +00:00
Sven Neumann bc8a335a7f use PANGO_ELLIPSIZE_MIDDLE instead of TRUE (spotted by Kevin) 2006-06-23 15:21:04 +00:00
Sven Neumann 09bbb551d3 ellipsize the progress label to avoid dialog resizing.
2006-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	ellipsize the progress label to avoid dialog resizing.
2006-06-23 12:31:17 +00:00
Sven Neumann 8a6a538036 moved rulers out of the scrolled window and update them when the scroll
2006-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_preview.[ch]: moved rulers out of the
	scrolled window and update them when the scroll adjustments
	change. Fixes bug #341149.

	* plug-ins/imagemap/imap_about.c
	* plug-ins/imagemap/imap_menu.c: unrelated cleanups.
2006-06-23 12:05:13 +00:00
Sven Neumann 6a3f4aae70 the name of the binary is "print".
2006-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: the name of the binary is "print".
2006-06-23 08:46:46 +00:00
William Skaggs dc894f86fd Bill Skaggs <weskaggs@primate.ucdavis.edu>
* configure.in: adjust requirements for building gtk-print
	plug-in -- requires gtk+ 2.9.3 and --enable-print.

	* plug-ins/print/Makefile.am
	* plug-ins/print/print.c: new plug-in using GtkPrintOperation.
	Mainly infrastructure at this point -- output is wildly
	incorrect.
2006-06-22 21:58:56 +00:00
Sven Neumann 559da590cc plug-ins/common/animationplay.c plug-ins/common/colormap-remap.c popup the
2006-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c
	* plug-ins/common/colormap-remap.c
	* plug-ins/helpbrowser/dialog.c: popup the menu on Shift-F10.
2006-06-22 09:34:01 +00:00
Sven Neumann f7afa614e9 popup the menu on Shift-F10.
2006-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: popup the menu on Shift-F10.
2006-06-22 09:10:44 +00:00
Sven Neumann 4a265d02cd don't attempt to reorder to a position >= container->num_children.
2006-06-21  Sven Neumann  <sven@gimp.org>

	* app/tools/gimp-tools.c (gimp_tools_restore): don't attempt to
	reorder to a position >= container->num_children.
2006-06-21 21:59:03 +00:00
Sven Neumann 7e057945f2 moved hints to the bottom.
2006-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: moved hints to the bottom.
2006-06-21 16:13:59 +00:00
Sven Neumann 3d6a08aa51 applied patch from Mukund Sivaraman that adds a "Reverse Order" option in
2006-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: applied patch from Mukund
	Sivaraman that adds a "Reverse Order" option in favor of having
	ascending and descending sort functions.
2006-06-21 16:01:33 +00:00
Sven Neumann d05feb54e1 added a right-click menu that allows to sort the colormap by hue,
2006-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: added a right-click menu that
	allows to sort the colormap by hue, saturation or value.
2006-06-21 14:07:54 +00:00
Sven Neumann 5a1c761f86 added a Reset button and prepared for colormap sorting.
2006-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: added a Reset button and
	prepared for colormap sorting.
2006-06-21 13:25:19 +00:00