Commit Graph

2930 Commits

Author SHA1 Message Date
Sven Neumann 5d0dc07dd4 pack and show the "Jigsaw Style" radio buttons. Fixes bug #137737.
2004-03-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jigsaw.c: pack and show the "Jigsaw Style" radio
	buttons. Fixes bug #137737.
2004-03-20 11:54:03 +00:00
Sven Neumann 5e8b6171f4 don't call g_rand_int_range() with invalid parameters.
2004-03-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spread.c: don't call g_rand_int_range() with
	invalid parameters.
2004-03-19 22:50:51 +00:00
Sven Neumann f07c0a6dd5 applied a patch from Kevin Cozens that slightly alters the Script-Fu
2004-03-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: applied a patch from
	Kevin Cozens that slightly alters the Script-Fu console output.
2004-03-18 18:06:23 +00:00
Sven Neumann f1f47b25e9 disabled debug output.
2004-03-18  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c: disabled debug output.

	* plug-ins/help/domain.[ch]
	* plug-ins/help/help.[ch]
	* plug-ins/help/locales.c: improved error reporting, fixed bugs
	and disabled debug output.
2004-03-18 12:18:12 +00:00
Michael Natterer 471de30bf0 plug-ins/common/CML_explorer.c changed procedure names to be all lowercase
2004-03-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/gtm.c: changed procedure names to be all
	lowercase so 2.0 ships with a sane namespace and doesn't give bad
	examples to plug-in authors.
2004-03-18 11:42:37 +00:00
Sven Neumann 7b0919d76c Added support for localized help (bug #136996). Will need some minor
2004-03-18  Sven Neumann  <sven@gimp.org>

	Added support for localized help (bug #136996). Will need some
	minor touches to improve error reporting but basically it works.

	* plug-ins/help/Makefile.am
	* plug-ins/help/help.h: new file with common defines.

	* plug-ins/help/help.c
	* plug-ins/help/locales.c: include help.h, made debugging output
	optional.

	* plug-ins/help/domain.[ch]: added a hash table with locales for
	each help domain.
2004-03-18 02:45:52 +00:00
Sven Neumann e4881761ed plug-ins/help/Makefile.am new files with code to handle locales.
2004-03-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/Makefile.am
	* plug-ins/help/locales.[ch]: new files with code to handle locales.

	* plug-ins/help/help.c: changed accordingly.

	* plug-ins/help/domain.[ch]: added support for a fallback URL to
        handle missing help content. i18n support is missing still.
2004-03-18 00:11:03 +00:00
Simon Budig 5ab1807141 Update the Plugin Menu immediately after setting the last invoked plugin.
2004-03-16  Simon Budig  <simon@gimp.org>

	* app/gui/plug-in-commands.c: Update the Plugin Menu immediately
	after setting the last invoked plugin. Fixes inconsistencies
	between name shown and plugin invoked.

	Fixes #136909, #137242 and #81479 (again, the fix in
	lightening_main.c only probably was bogus, since this must not
	rely on correctly written plugins).

	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c
	* plug-ins/common/film.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/tile.c
	* plug-ins/fits/fits.c: Ensure that each gimp_image_undo_enable()
	had a gimp_image_undo_disable() first...
2004-03-16 01:12:21 +00:00
Simon Budig c5f27a43ae No need to use an undo_group *and* freeze/thaw an image. Just using the
2004-03-14  Simon Budig  <simon@gimp.org>

	* plug-ins/common/jpeg.c: No need to use an undo_group *and*
	freeze/thaw an image. Just using the latter keeps the undo
	history ok in both directions. Also call gimp_displays_flush()
	to make sure the undo keyboard shortcuts are enabled after the
	plugin ends.
2004-03-14 19:25:32 +00:00
Pedro Gimeno 0dcbbccfea plug-ins/script-fu/scripts/carve-it.scm
2004-03-13  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/script-fu/scripts/carve-it.scm
	* plug-ins/script-fu/scripts/chrome-it.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/sota-chrome-logo.scm: Fixed to avoid
	pasting to a layer that was not added to any image. This was causing
	the scripts to abort, because gimp-edit-paste is now failing in that
	case.
2004-03-13 16:13:34 +00:00
Michael Natterer a779e74817 Cleaned up the remaining libgimp API issues:
2004-03-12  Michael Natterer  <mitch@gimp.org>

	Cleaned up the remaining libgimp API issues:

	* libgimp/gimppixelfetcher.[ch] (enum GimpPixelFetcherEdgeMode):
	added new enum value GIMP_PIXEL_FETCHER_EDGE_BACKGROUND so we
	can actually use the bg_color feature of the GimpPixelFetcher.

	(gimp_pixel_fetcher_new): added "gboolean shadow" parameter
	because it must not change while the GimpPixelFetcher exists.

	(gimp_pixel_fetcher_set_shadow): removed.

	(gimp_pixel_fetcher_set_bg_color): added "GimpRGB *color"
	parameter and don't call gimp_palette_get_foreground().

	(gimp_pixel_fetcher_get_pixel): handle BACKGROUND mode. Cleaned up
	the function.

	(gimp_get_bg_guchar)
	(gimp_get_fg_guchar): removed these functions...

	* libgimp/gimpdrawable.[ch]: ...and added
	gimp_drawable_get_color_uchar() instead.

	* libgimp/gimp.def
	* plug-ins/common/blinds.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/displace.c
	* plug-ins/common/edge.c
	* plug-ins/common/illusion.c
	* plug-ins/common/mblur.c
	* plug-ins/common/mosaic.c
	* plug-ins/common/plasma.c
	* plug-ins/common/polar.c
	* plug-ins/common/ripple.c
	* plug-ins/common/shift.c
	* plug-ins/common/spread.c
	* plug-ins/common/tileit.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/gflare/gflare.c
	* plug-ins/libgimpoldpreview/gimpoldpreview.c: changed accordingly.

	(Didn't test the changed plug-ins because I wanted to get this
	API change into CVS as soon as possible)
2004-03-12 22:46:25 +00:00
Sven Neumann 6e88726e56 applied a patch from Kevin Cozens that improves Script-Fu error reporting
2004-03-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	applied a patch from Kevin Cozens that improves Script-Fu error
	reporting (addresses bug #73610).
2004-03-12 19:42:56 +00:00
Sven Neumann af78bf373f when running in interactive mode, get the foreground color after restoring
2004-03-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colortoalpha.c: when running in interactive
	mode, get the foreground color after restoring the parameters from
	the last run.
2004-03-11 17:18:25 +00:00
Sven Neumann a240fed5cc marked missing strings for localization (bug #136713).
2004-03-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_object_popup.c: marked missing strings
	for localization (bug #136713).

	* plug-ins/imagemap/imap_stock.c (imap_stock_items): fixed bogus
	translation domain for stock item (bug #136713).
2004-03-10 12:20:14 +00:00
Sven Neumann 9bd4c7ac27 added missing localization for popup menu (bug #136706).
2004-03-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: added missing localization for
	popup menu (bug #136706).
2004-03-10 11:42:12 +00:00
Sven Neumann 2e16b347d5 fixed typo (bug #136610).
2004-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/general.c: fixed typo (bug #136610).
2004-03-09 09:56:32 +00:00
Sven Neumann 784870c87f minor cleanup 2004-03-09 01:45:21 +00:00
Sven Neumann 30f01b530f shut up CVS 2004-03-09 01:38:20 +00:00
Sven Neumann 55d14fd0f0 Finished some work that Brix started on the help system. It's now possibly
2004-03-09  Sven Neumann  <sven@gimp.org>

	Finished some work that Brix started on the help system. It's
	now possibly to use an external web-browser for context help
	(bug #136081):

	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/help/Makefile.am
	* plug-ins/help/domain.[ch]
	* plug-ins/help/help.c: new plug-in that does the help domain
	management. Most of this used to live in the helpbrowser plug-in.

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/domain.[ch]: removed these two files here.

	* plug-ins/helpbrowser/helpbrowser.c: changed accordingly.

	* app/widgets/gimphelp.c: use the new help plug-in.
2004-03-09 01:37:56 +00:00
Sven Neumann 4039557193 added missing call to INIT_I18N() (spotted by Yuheng Xie, bug #136535).
2004-03-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c (run): added missing call to INIT_I18N()
	(spotted by Yuheng Xie, bug #136535).
2004-03-08 12:17:57 +00:00
Manish Singh 960735fba3 don't pass extra parameters to undo group functions. Fixes #136524.
2004-03-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/shadow_bevel.py: don't pass extra
        parameters to undo group functions. Fixes #136524.
2004-03-08 08:12:11 +00:00
Sven Neumann c290943acd added missing call to INIT_I18N() (spotted by iiccii@hotmail.com).
2004-03-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (run): added missing call to INIT_I18N()
	(spotted by iiccii@hotmail.com).
2004-03-08 00:52:57 +00:00
Hans Breuer 2036638f73 updated
2004-03-07  Hans Breuer  <hans@breuer.org>

	* themes/Default/images/makefile.msc
	  app/*/makefile.msc plug-ins/makefile.msc : updated
2004-03-07 23:13:51 +00:00
Sven Neumann c0ef88c206 corrected check for number of PDB parameters. Fxes bug #136403.
2004-03-06  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/tiff.c (run): corrected check for number of PDB
        parameters. Fxes bug #136403.

	* app/widgets/gimpfontview.c: removed unused variables.
2004-03-06 21:43:01 +00:00
Sven Neumann f01f34a8f7 check random range before calling g_rand_int_range(). Fixes bug #136321.
2004-03-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plasma.c (add_random): check random range before
	calling g_rand_int_range(). Fixes bug #136321.
2004-03-05 19:10:20 +00:00
Sven Neumann 8804cbd605 include stdplugins-intl.h so that "Preview" ends up in the plug-in
2004-03-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/libgimpoldpreview/gimpoldpreview.c: include
	stdplugins-intl.h so that "Preview" ends up in the plug-in
	translation domain (bug #136303).
2004-03-05 17:38:53 +00:00
Simon Budig 7a7a6a2a20 Display Frame numbers from 1 to n instead of 0 to n-1. Less confusing for
2004-03-04  Simon Budig  <simon@gimp.org>

	* plug-ins/common/animationplay.c: Display Frame numbers from
	1 to n instead of 0 to n-1. Less confusing for the user.

	Fixes bug #136124
2004-03-04 11:56:17 +00:00
Manish Singh db856068bb Disable PF_*ARRAY for now. Addresses #122049.
2004-03-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Disable PF_*ARRAY for now. Addresses
        #122049.
2004-03-02 18:25:29 +00:00
Pedro Gimeno f49a8c63ff Fix handling of positive Y displacements of the bumpmap. Thanks to Joao
2004-03-02  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/bumpmap.c (bumpmap): Fix handling of positive Y
	displacements of the bumpmap. Thanks to Joao S.O. Bueno for
	tracking this. Fixes bug #135866.
2004-03-02 12:26:38 +00:00
Manish Singh d34136153f Moved to the Test menu, to clarify its station in life.
2004-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/pygimp/plug-ins/sphere.py: Moved to the Test menu,
        to clarify its station in life.
2004-02-20 08:55:10 +00:00
Manish Singh 843e4a30ba Do some simple validation on the GUI input. Arrays are still kinda hokey
2004-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/pygimp/gimpfu.py: Do some simple validation on the
        GUI input. Arrays are still kinda hokey though. Based on Dave Neary's
        patch, addresses bug #122049.

        * plug-ins/common/pygimp/plug-ins/sphere.py: Make sure radius is at
        least 1. Thanks to Florian Traverse for noticing. (Also in #122049)
2004-02-20 08:41:00 +00:00
Simon Budig 8636550cf6 fixed crash when the effect image is smaller than the target drawable.
2004-02-20  Simon Budig  <simon@gimp.org>

	* plug-ins/common/lic.c: fixed crash when the effect image
	is smaller than the target drawable. Major code overhaul (not
	yet fully completed), removed global variables, removed
	micro-functions that itself just invoke micro-functions, use
	more libgimpcolor functions.

	Slightly improved the algorithm by adding small random
	distorsions to the effect image. This avoids artefacts in plain
	areas.
2004-02-20 01:52:04 +00:00
Simon Budig b60050534c fixed gimp_dialog_new invocation. Also fixed a blatant error in the
2004-02-19  Simon Budig  <simon@gimp.org>

	* plug-ins/common/lic.c: fixed gimp_dialog_new invocation.
	Also fixed a blatant error in the algorithm (GimpRGB has a
	range from 0..1 for each component...) and now the plugin
	actually does something useful.
2004-02-19 15:04:28 +00:00
Pedro Gimeno 6193db8738 Corrected the pairing of gimp_drawable_get/gimp_drawable_detach and other
2004-02-17  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/pagecurl/pagecurl.c: Corrected the pairing of
	gimp_drawable_get/gimp_drawable_detach and other cleanups.
	(do_curl_effect): Fixed a bug spotted by Simon Budig: uninitialized
	data could be exposed when applying the effect to non-rectangular
	selections.
2004-02-17 19:56:13 +00:00
Sven Neumann 09af96c12d set the Undo button insensitive, not the whole dialog (bug #134419). Also
2004-02-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c (gfig_response): set the Undo button
	insensitive, not the whole dialog (bug #134419). Also start the
	dialog with the Undo button set insensitive.
2004-02-16 12:44:21 +00:00
Sven Neumann 8ebce54f6b only call gimp_ui_init() when being run in interactively. Should fix bug
2004-02-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c: only call gimp_ui_init() when being run
	in interactively. Should fix bug #134423.
2004-02-15 11:33:52 +00:00
Manish Singh 8672dbf34c Initialize dest to NULL, make it so the temp variable use for
2004-02-13  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/psd.c (load_image): Initialize dest to NULL,
        make it so the temp variable use for PANOTOOLS_FIX is only declared
        when it is enabled.
2004-02-14 03:54:41 +00:00
Adam D. Moss c8fa27daa6 2004-02-12 / v3.0.14 / Adam D. Moss Fix a twisted utf8-obsessive bug
*  2004-02-12 / v3.0.14 / Adam D. Moss
 *       Fix a twisted utf8-obsessive bug diagnosed by
 *       Piotr Krysiuk <KrysiukP@prokom.pl>
 *
 *  2004-01-06 / v3.0.13 / Adam D. Moss
 *       Disable one of the PanoTools fixes by default, since it causes
 *       regressions in some ordinary PSD file loading.
 *
 *  2004-01-06 / v3.0.12 / Adam D. Moss
 *       Try to avoid 0-sized drawables (including channels) in all
 *       circumstances under GIMP 2.
 *
 *  2004-01-01 / v3.0.11 / Daniel Rogers <dsrogers@phaseveloctiy.org>
 *       GIMP crashes on 0x0 layers, so we skip them.
2004-02-12 15:24:11 +00:00
Simon Budig 771e44dca1 Fixed Undo handling, make sure that the bumpmap is big enough to avoid
2004-02-09  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/scripts/add-bevel.scm: Fixed Undo
	handling, make sure that the bumpmap is big enough to
	avoid artefacts.

	Fixes bug #130636.
2004-02-09 16:41:54 +00:00
Sven Neumann 01ea8d5587 applied patch from Wolfgang Hofer that fixes bug #133244.
2004-02-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c: applied patch from Wolfgang Hofer
	that fixes bug #133244.
2004-02-09 14:47:41 +00:00
Sven Neumann cefbda88e0 applied patch from Wolfgang Hofer that fixes bug #133244.
2004-02-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c: applied patch from Wolfgang Hofer
	that fixes bug #133244.
2004-02-09 14:43:46 +00:00
Sven Neumann 917f8fdb35 removed some workarounds for bugs in the GIMP 1.2 text functions that
2004-02-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/text-circle.scm: removed some workarounds
	for bugs in the GIMP 1.2 text functions that don't exist any longer.
2004-02-09 01:28:14 +00:00
Hans Breuer b15707c4e9 access dest[alpha] only if (has_alpha); remove stray semicolon, fixes bug
2004-02-08  Hans Breuer  <hans@breuer.org>

	* plug-ins/common/nova.c : access dest[alpha] only if (has_alpha);
	remove stray semicolon, fixes bug #132503
2004-02-08 21:21:38 +00:00
David Odin ec1db1c22d applied a modified patch from Pablo d'Angelo, which add support for tiff
* plug-ins/common/tiff.c: applied a modified patch from Pablo
	d'Angelo, which add support for tiff layer names when the name is 7
	bits clean.

	Fixes bug #131044
2004-02-08 00:40:46 +00:00
Hans Breuer 5cbb416a91 new file to keep common definitions for the msc build use common
2004-02-07  Hans Breuer  <hans@breuer.org>

	* gimpdefs.msc : new file to keep common definitions for the msc build
	* **/makefile.msc : use common defintions, e.g. GIMP_VER
	* Makefile.am : add the former to EXTRA_DIST
2004-02-07 23:01:33 +00:00
Sven Neumann 42a11f42f8 quit the main loop when the dialog is destroyed. Fixes bug #133532.
2004-02-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_main.c (dialog): quit the main loop when
	the dialog is destroyed. Fixes bug #133532.
2004-02-05 18:26:29 +00:00
David Odin da6b161eff Fixes the layout of the rendered text. Fixes bug #131634
* plug-ins/script-fu/scripts/text-circle.scm: Fixes the layout of the
	rendered text.
	Fixes bug #131634
2004-02-05 16:13:40 +00:00
Manish Singh 11410ff7f0 Translate None to NULL when passing strings.
2004-02-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pygimp_param_from_tuple): Translate
        None to NULL when passing strings.
2004-02-05 09:17:19 +00:00
Manish Singh b720fb2a9b remove unused variable randomize.
2004-02-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/maze/maze_face.c (maze_dialog): remove unused variable
        randomize.
2004-02-03 19:23:43 +00:00
Michael Natterer 0e993d1702 applied patch from Kevin Cozens <kcozens@interlog.com> which removes the
2004-02-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/*.scm: applied patch from Kevin
	Cozens <kcozens@interlog.com> which removes the use of deprecated
	constants in all scripts. Fixes bug #133270.
2004-02-03 11:46:27 +00:00