Commit graph

4879 commits

Author SHA1 Message Date
Michael Natterer 11f0125257 remove N_() from calls to gimp_plugin_menu_register().
2007-03-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu.c: remove N_() from calls to
	gimp_plugin_menu_register().


svn path=/trunk/; revision=22133
2007-03-16 13:21:42 +00:00
Michael Natterer 1a9cfa406e update the progress to avoid looking like the script hangs. Fixes bug
2007-03-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/spyrogimp.scm: update the progress
	to avoid looking like the script hangs. Fixes bug #356677.

	* plug-ins/script-fu/script-fu-interface.c
	(script_fu_interface_report_cc): if the command starts with
	"gimp-progress-", the script is obviously showing a progress bar
	for itself, so clear the text instead of showing an endless number
	of "gimp-progress-update" messages. Also fixed manual main loop
	iteration.


svn path=/trunk/; revision=22132
2007-03-16 00:26:34 +00:00
Michael Natterer dd4042df85 Fix stuck progress bars (bug #393832):
2007-03-16  Michael Natterer  <mitch@gimp.org>

	Fix stuck progress bars (bug #393832):

	* app/plug-in/gimpplugin-progress.[ch] (gimp_plug_in_progress_end):
	added PlugInProcFrame parameter instead of blindly using the topmost
	in the procedure stack...

	* app/plug-in/gimppluginprocframe.c
	(gimp_plug_in_proc_frame_dispose): ...because we call it from here,
	when the proc_frame is already removed from the procedure stack.

	Unrelated:

	* plug-ins/script-fu/scripts/difference-clouds.scm: use
	RUN-INTERACTVE instead of 0, added (gimp-displays-flush)

	* plug-ins/common/snoise.c (solid_noide): update the progress to
	1.0 after rendering.


svn path=/trunk/; revision=22131
2007-03-15 23:39:32 +00:00
Raphael Quinet 66ac1db77c Fix for bug #417467 based on modified patch by Eric Lamarque and suggested
2007-03-13  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: Fix for bug #417467
	based on modified patch by Eric Lamarque and suggested by Mitch.
	Allows build without warnings and correct localization for Solaris
	and other platforms.

svn path=/trunk/; revision=22109
2007-03-13 09:55:18 +00:00
Kevin Cozens 44e6637d3b Removed erroneous comment block.
2007-03-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-util-setpt.scm: Removed
	erroneous comment block.

	* plug-ins/script-fu/scripts/script-fu-set-cmap.scm: Use only
	American (USA) spelling in translatable strings.

svn path=/trunk/; revision=22085
2007-03-09 15:58:01 +00:00
Sven Neumann 4af6da98e1 support mnemonics in parameter labels.
2007-03-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: support mnemonics in parameter labels.

	* plug-ins/pygimp/plug-ins/foggify.py
	* plug-ins/pygimp/plug-ins/colorxhtml.py
	* plug-ins/pygimp/plug-ins/shadow_bevel.py
	* plug-ins/pygimp/plug-ins/palette-offset.py
	* plug-ins/pygimp/plug-ins/palette-sort.py: added mnemonics.


svn path=/trunk/; revision=22074
2007-03-08 15:17:54 +00:00
Raphael Quinet 2c072384cf fixed the incorrect declaration of the values[] array. Thanks to Petr
2007-03-08  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/winicon/main.c (run): fixed the incorrect declaration
	of the values[] array.  Thanks to Petr Gajdos <pgajdos@suze.cz>
	for reporting this problem and for supplying a patch.

svn path=/trunk/; revision=22070
2007-03-08 09:59:38 +00:00
Sven Neumann c4c9dbc038 plug-ins/common/colorify.c plug-ins/common/max_rgb.c resolved clashing
2007-03-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colorify.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/retinex.c: resolved clashing mnemonics (bug #414656).


svn path=/trunk/; revision=22045
2007-03-05 17:10:30 +00:00
Kevin Cozens a144b79cb5 De-tabified. Fixed limit checks on resource ID's used for path data. Added
2007-03-04  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/common/psd.c: De-tabified. Fixed limit checks on resource
	ID's used for path data. Added comments showing decimal value of image
	resource ID's 

	* plug-ins/common/psd_save.c: De-tabified. Added support for layer
	modes HARDLIGHT_MODE and SOFTLIGHT_MODE. Added comments showing
	decimal value of image resource ID's 

svn path=/trunk/; revision=22043
2007-03-05 04:52:42 +00:00
Hans Breuer f8b13080e4 updated
2007-03-04  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc app/gimpcore.def : updated


svn path=/trunk/; revision=22041
2007-03-04 19:04:42 +00:00
João S. O. Bueno Calligaris 4fb0b2a5bf add callback to resolution changes in the postscipt load dialog to update
2007-03-01 João S. O. Bueno Calligaris <gwidon@mpc.com.br>

        * plug-ins/common/postscript.c: add callback to resolution
        changes in the postscipt load dialog to update the image size
        in pixels.

svn path=/trunk/; revision=22035
2007-03-01 12:48:00 +00:00
Sven Neumann d197451496 configure.in added checks for X11 Shape Extension and build the shaped
2007-02-26  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/screenshot.c: added checks for X11 Shape
	Extension and build the shaped window feature conditionally.

svn path=/trunk/; revision=21993
2007-02-26 10:20:22 +00:00
Tor Lillqvist 35a0647fec Inspired by mail from a user, improve some error messages to be more
2007-02-23  Tor Lillqvist  <tml@novell.com>

	* plug-ins/common/psd.c: Inspired by mail from a user, improve
	some error messages to be more informative. Use g_message()
	instead of plain printf() in a couple of places in situations that
	probably are commonly encountered. (There are probably still more
	of such printf() calls in the code.) gimp_quit() doesn't return,
	not need to do anything else after calling it.


svn path=/trunk/; revision=21982
2007-02-23 12:32:03 +00:00
Sven Neumann acdabd3923 plug-ins/pygimp/plug-ins/Makefile.am stop installing any test scripts.
2007-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/Makefile.am
	* plug-ins/script-fu/scripts/Makefile.am: stop installing any test
	scripts.


svn path=/trunk/; revision=21973
2007-02-22 08:08:09 +00:00
David Odin f56e698a77 use our indentation and spacing way.
* plug-ins/common/gee.c: use our indentation and spacing way.

svn path=/trunk/; revision=21967
2007-02-20 21:54:36 +00:00
Sven Neumann 29d4058a6d don't attempt to offset a NULL region
svn path=/trunk/; revision=21961
2007-02-20 15:54:04 +00:00
Sven Neumann 5d4480bbe4 reworked shape support. Instead of fiddling with pixbuf pixels, do most of
2007-02-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: reworked shape support. Instead of
	fiddling with pixbuf pixels, do most of the work in the core.


svn path=/trunk/; revision=21960
2007-02-20 15:48:41 +00:00
Sven Neumann 8edf062f7a check the return value of gimp_image_flatten(). Fixes the crash reported
2007-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: check the return value of
	gimp_image_flatten(). Fixes the crash reported in bug #395385.


svn path=/trunk/; revision=21950
2007-02-19 13:29:05 +00:00
Sven Neumann 99f1d0e6dd use locale-independent function to convert a float value to a string.
2007-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (atom2str): use
	locale-independent function to convert a float value to a 
string.


svn path=/trunk/; revision=21948
2007-02-19 11:05:21 +00:00
Sven Neumann b99f99f16c plug-ins/common/curve_bend.c plug-ins/common/depthmerge.c
2007-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/neon.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/pix.c
	* plug-ins/common/psd.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/metadata/interface.c
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/pygimp/pygimp-pdb.c
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/xjt/xjpeg.c
	* plug-ins/xjt/xjt.c: use g_printerr() instead of fprintf().


svn path=/trunk/; revision=21947
2007-02-19 10:37:33 +00:00
Sven Neumann d232d24ebc plug-ins/script-fu/script-fu-scripts.c use g_printerr() instead of
2007-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/scheme-wrapper.c: use g_printerr() instead 
of
	fprintf().


svn path=/trunk/; revision=21946
2007-02-19 10:04:20 +00:00
Michael Natterer ab239c3d63 app/text/gimptext-parasite.c use g_strtod() instead of atof() because
2007-02-18  Michael Natterer  <mitch@gimp.org>

	* app/text/gimptext-parasite.c
	* plug-ins/flame/libifs.c: use g_strtod() instead of atof()
	because these files have to parse strings that never had a clearly
	specified format.

	* plug-ins/script-fu/tinyscheme/scheme.c
	* plug-ins/imagemap/imap_cern.l
	* plug-ins/imagemap/imap_csim.l
	* plug-ins/imagemap/imap_csim.y
	* plug-ins/imagemap/imap_ncsa.l: use g_ascii_strtod() instead of
	atof() because scheme code and imagemap files with wrong decimal
	separators are clearly broken and should be rejected.

	* plug-ins/imagemap/imap_cern_lex.c
	* plug-ins/imagemap/imap_csim_lex.c
	* plug-ins/imagemap/imap_csim_parse.c
	* plug-ins/imagemap/imap_ncsa_lex.c: regenerated.

	* plug-ins/common/sample_colorize.c: round numbers using sane code
	instead of sprintf() and atod().

	* plug-ins/Lighting/lighting_ui.c: removed some dead code.


svn path=/trunk/; revision=21942
2007-02-18 20:01:48 +00:00
Mukund Sivaraman 1ad786f37c Moved an invariant (in the last changeset to this file) out of the loop.
2007-02-18  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/png.c: Moved an invariant (in the last
          changeset to this file) out of the loop.


svn path=/trunk/; revision=21935
2007-02-18 06:16:26 +00:00
Kevin Cozens 4107f0faf8 Add define for symkey() to quiet the compiler.
2007-02-17  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h: Add define for
	symkey() to quiet the compiler.

	* plug-ins/script-fu/tinyscheme/scheme.c (basic_inchar): Return
	blank when invalid UTF-8 character is encountered while reading
	from memory. Point to start of next valid character on error.

svn path=/trunk/; revision=21934
2007-02-18 03:46:50 +00:00
Sven Neumann 5aae2f5853 changed hint and button label.
2007-02-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: changed hint and button label.


svn path=/trunk/; revision=21930
2007-02-16 13:53:06 +00:00
Mukund Sivaraman 528fbe92b3 improved handling of incomplete PNG files; fixes bug #137327.
2007-02-16  Mukund Sivaraman <muks@mukund.org>

        * plug-ins/common/png.c: improved handling of incomplete PNG files;
        fixes bug #137327.


svn path=/trunk/; revision=21929
2007-02-16 13:14:20 +00:00
Sven Neumann d59ce95379 let gimp_gamma() return 2.2 and document the fact that this is a fixed
2007-02-16  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.c: let gimp_gamma() return 2.2 and document the
	fact that this is a fixed value and that all pixel data is in the
	sRGB colorspace.

	* plug-ins/common/mng.c: removed check for gimp_gamma() returning 1.0.


svn path=/trunk/; revision=21927
2007-02-16 11:09:09 +00:00
Sven Neumann 12aa2f8a4d added a button icon and fixed use of gtk_vbox_new().
2007-02-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: added a button icon and fixed use of
	gtk_vbox_new().


svn path=/trunk/; revision=21926
2007-02-16 09:31:38 +00:00
Sven Neumann 4c2e1336e5 removed obsolete tooltip
svn path=/trunk/; revision=21925
2007-02-15 22:20:57 +00:00
Sven Neumann 42606415ae added hints to the dialog.
2007-02-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: added hints to the dialog.


svn path=/trunk/; revision=21924
2007-02-15 14:38:46 +00:00
Sven Neumann fd057b7f1b fixed the new code for windows that are partly offscreen
svn path=/trunk/; revision=21923
2007-02-15 12:07:40 +00:00
Sven Neumann 2515dc6864 for shaped windows, add an alpha channel and erase pixels outside the
2007-02-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: for shaped windows, add an alpha
	channel and erase pixels outside the shape.

svn path=/trunk/; revision=21922
2007-02-15 10:23:34 +00:00
Sven Neumann 37606ad81d added CCITT Group 3 and 4 compression schemes to TIFF save plug-in. These
2007-02-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: added CCITT Group 3 and 4 compression
	schemes to TIFF save plug-in. These modes are selectable for
	indexed image with a b/w colormap only. Fixes bug #162119 with 
the
	help of Manfred Joerg.


svn path=/trunk/; revision=21915
2007-02-14 08:10:10 +00:00
Mukund Sivaraman d9a29e1a44 plug-ins/imagemap/imap_cmd_guides.c plug-ins/imagemap/imap_main.c
2007-02-12  Mukund Sivaraman <muks@mukund.org>

        * plug-ins/imagemap/imap_cmd_guides.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/imagemap/imap_main.h
        * plug-ins/imagemap/imap_menu.c
        * plug-ins/imagemap/imap_object.c
        * plug-ins/imagemap/imap_preferences.h
        * plug-ins/imagemap/imap_object.h: Cleaned up some warnings in
        the imagemap plug-in; also fixed many function declarations.


svn path=/trunk/; revision=21904
2007-02-12 17:30:42 +00:00
Mukund Sivaraman 2ea9ad84ef plug-ins/common/psd.c Made fseek() and ftell() use glong for offsets
2007-02-03  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/psd.c
        * plug-ins/common/psd_save.c: Made fseek() and ftell() use glong    
        for offsets instead of gint32  


svn path=/trunk/; revision=21840
2007-02-03 06:57:38 +00:00
Sven Neumann 85bf9a7b16 fixed problem pointed out in bug #403580.
2007-02-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mosaic.c (find_gradients): fixed problem pointed
	out in bug #403580.


svn path=/trunk/; revision=21837
2007-02-02 13:59:09 +00:00
Sven Neumann 71fc3e7b00 removed code that became obsolet by my last change
svn path=/trunk/; revision=21834
2007-02-02 09:03:02 +00:00
Sven Neumann d055b8f77a plug-ins/FractalExplorer/Dialogs.c plug-ins/Lighting/lighting_ui.c
2007-02-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_file.c
	* plug-ins/metadata/interface.c
	* plug-ins/script-fu/script-fu-console.c: set
	do-overwrite-confirmation on file save dialogs and removed custom
	confirmation dialogs where present.


svn path=/trunk/; revision=21833
2007-02-02 08:57:15 +00:00
Sven Neumann 3cd8d4849c if we can't grab the pointer, use the window under the pointer instead of
2007-01-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): if we can't
	grab the pointer, use the window under the pointer instead of
	bailing out with an error message.


svn path=/trunk/; revision=21821
2007-01-31 09:47:06 +00:00
Sven Neumann 2c6668d30c fixed tooltip.
2007-01-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (shoot_dialog): fixed tooltip.


svn path=/trunk/; revision=21820
2007-01-31 09:08:46 +00:00
Sven Neumann 4cbb01c0f2 applied patch from Tim Mooney (bug #400389).
2007-01-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/palette-offset.py: applied patch from
	Tim Mooney (bug #400389).


svn path=/trunk/; revision=21778
2007-01-24 22:37:27 +00:00
Sven Neumann 3b3252c0e3 code cleanup.
2007-01-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c (type_combo_callback): code cleanup.


svn path=/trunk/; revision=21764
2007-01-23 08:18:13 +00:00
Michael Schumacher 8fdf10dbb2 replaced license statement according to bug #119667.
2007-01-22  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/script-fu/scripts/guides-new-percent.scm: replaced
	license statement according to bug #119667.

svn path=/trunk/; revision=21750
2007-01-21 23:45:16 +00:00
Sven Neumann 3dfb169691 check data before accessing it to avoid crashing while the dialog is being
2007-01-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c (bender_type_callback): check data
	before accessing it to avoid crashing while the dialog is being
	constructed. Fixes bug #395798.


svn path=/trunk/; revision=21729
2007-01-17 11:35:56 +00:00
Hans Breuer 74813d3f5a define YY_NO_UNISTD_H to compile imagemap (from bison 2.3) with msvc/win32
2007-01-15  Hans Breuer  <hans@breuer.org>

	* plug-ins/makefile.msc : define YY_NO_UNISTD_H to compile
	imagemap (from bison 2.3) with msvc/win32


svn path=/trunk/; revision=21719
2007-01-15 21:24:28 +00:00
Sven Neumann b256ea88f7 removed pointless call to gimp_help_set_help_data()
svn path=/trunk/; revision=21718
2007-01-15 20:48:12 +00:00
Sven Neumann eecf688e74 ellipsize the image name displayed below the thumbnail.
2007-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c (jpeg_exif_rotate_query): ellipsize
	the image name displayed below the thumbnail.


svn path=/trunk/; revision=21717
2007-01-15 20:11:50 +00:00
Sven Neumann a168e833f2 cleaned up sanity checks and handling of undo groups. Fixes bug #395798.
2007-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c: cleaned up sanity checks and
	handling of undo groups. Fixes bug #395798.


svn path=/trunk/; revision=21711
2007-01-15 10:35:58 +00:00
Sven Neumann ac2ee350d3 plug-ins/imagemap/imap_csim_lex.c plug-ins/imagemap/imap_ncsa_parse.[ch]
2007-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_csim_lex.c
	* plug-ins/imagemap/imap_ncsa_parse.[ch]
	* plug-ins/imagemap/imap_ncsa_lex.c
	* plug-ins/imagemap/imap_cern_lex.c
	* plug-ins/imagemap/imap_csim_parse.[ch]
	* plug-ins/imagemap/imap_cern_parse.[ch]: regenerated using GNU
	Bison 2.3.  Should fix bug #396261.


svn path=/trunk/; revision=21710
2007-01-15 10:09:42 +00:00
Hans Breuer b2ebab0b29 to make it compile with msvc redefine stricmp after including <string.h>
2007-01-14  Hans Breuer  <hans@breuer.org>

        * plug-ins/script-fu/tinyscheme/scheme.[ch] : to make it compile with
        msvc redefine stricmp after including <string.h> and protect gccism
        #warning with #ifdef __GNUC__, also some more exports
	* plug-ins/script-fu/scheme-wrapper.c : simple 'extern' does not work
	to get variables across modules boundaries for msvc, use SCHEME_EXPORT
	Together fixes bug #396268


svn path=/trunk/; revision=21707
2007-01-14 13:57:59 +00:00