Commit Graph

174 Commits

Author SHA1 Message Date
Sven Neumann 98105659ef plug-ins/ifscompose/ifscompose.c reduce the number of progress updates.
2007-05-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/ifscompose/ifscompose_utils.c: reduce the number of
	progress updates.


svn path=/trunk/; revision=22400
2007-05-04 08:09:04 +00:00
Mukund Sivaraman 93a7fc76a5 plug-ins/imagemap/imap_preferences.c plug-ins/gflare/gflare.c
2007-04-27  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/imagemap/imap_preferences.c
        * plug-ins/gflare/gflare.c
        * plug-ins/Lighting/lighting_ui.c
        * plug-ins/xjt/xjt.c
        * plug-ins/metadata/xmp-parse.c
        * plug-ins/flame/flame.c
        * plug-ins/common/curve_bend.c
        * plug-ins/common/compressor.c
        * plug-ins/common/channel_mixer.c
        * plug-ins/common/mail.c
        * plug-ins/common/CML_explorer.c
        * plug-ins/ifscompose/ifscompose.c: Open files in binary mode
        ("rb" and "wb").


svn path=/trunk/; revision=22351
2007-04-26 20:31:01 +00:00
Sven Neumann 7fd724e2da applied patch from Aurimas Juška to fix bug #428556.
2007-04-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose_utils.c (ifs_render): applied
	patch from Aurimas Juška to fix bug #428556.


svn path=/trunk/; revision=22233
2007-04-11 11:23:39 +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 930d6149da removed all .cvsignore files from SVN
svn path=/trunk/; revision=21612
2006-12-30 14:31:03 +00:00
Sven Neumann 41237259c9 In all files, changed the standard copyright notice to say "GIMP - The GNU
2006-12-09  Sven Neumann  <sven@gimp.org>

        * In all files, changed the standard copyright notice to say
        "GIMP - The GNU Image Manipulation Program".
2006-12-09 21:33:38 +00:00
Sven Neumann a03e14af1a app/composite/gimp-composite-generic.c app/core/gimpimage-convert.c
2006-09-12  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-generic.c
	* app/core/gimpimage-convert.c
	* app/actions/view-actions.c
	* app/dialogs/grid-dialog.c
	* app/dialogs/offset-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/display/gimpnavigationeditor.c
	* app/tools/gimpiscissorstool.c
	* app/widgets/gimptoolbox-image-area.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/exchange.c
	* plug-ins/common/fp.c
	* plug-ins/common/gif.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/laplace.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/nova.c
	* plug-ins/common/psp.c
	* plug-ins/common/randomize.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/tga.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/vpropagate.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gflare/gflare.c
	* plug-ins/ifscompose/ifscompose.c: removed unused macros.
2006-09-12 11:46:10 +00:00
Sven Neumann a450ba46bb declared GimpPlugInInfo and GimpParamDef arrays as const.
2006-05-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/*/*.c: declared GimpPlugInInfo and GimpParamDef arrays
	as const.
2006-05-16 12:26:20 +00:00
Sven Neumann ec5d800fdf plug-ins/flame/flame.c plug-ins/gfig/gfig.c plug-ins/gflare/gflare.c
2006-03-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/maze/maze.c
	* plug-ins/metadata/metadata.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/print.c
	* plug-ins/rcm/rcm.c
	* plug-ins/winsnap/winsnap.c: reviewed blurbs and marked them for
	translation.
2006-03-28 12:58:49 +00:00
Sven Neumann a081644106 plug-ins/common/iwarp.c plug-ins/ifscompose/ifscompose.c applied patches
2006-02-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/ifscompose/ifscompose_utils.c: applied patches from
	Stephane Chauveau. Reduces number of progress updates (bug #331470).
2006-02-17 07:10:17 +00:00
David Odin eef4ea03eb fixed some compiler warnings and did some cleanups.
* plug-ins/ifscompose/ifscompose_utils.c: fixed some compiler warnings
  and did some cleanups.
2005-12-30 18:18:58 +00:00
Michael Natterer 3f5050323f removed '...' from progress messages. They are redundant because we are
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*/*.c: removed '...' from progress messages. They are
	redundant because we are already in a progress. Ported some more
	g_strdup_printf()/gimp_progress_init() to
	gimp_progress_init_printf(). Core will follow...
2005-09-30 08:16:10 +00:00
Michael Natterer e3da6be9b5 removed the "wrap" from gimp_progress_set_text() so it shows up as libgimp
2005-09-29  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/progress.pdb: removed the "wrap" from
	gimp_progress_set_text() so it shows up as libgimp function again.

	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* libgimp/gimpprogress.[ch]: changed the old
	gimp_progress_set_text() to gimp_progress_set_text_printf() and
	added gimp_progress_init_printf(). (did this because the method of
	calling init(NULL) followed by set_text("foo") caused popup
	progress windows to be resized after they were shown).

	* libgimp/gimp.def: changed accordingly.

	* plug-ins/*/*.c: use gimp_progress_init_printf() instead of
	init(NULL) plus set_text(foo) and changed users of set_text() to
	use set_text_printf().
2005-09-29 18:34:08 +00:00
Michael Natterer b10adabb5e Added parent window API to the GimpProgress interface and to the libgimp
2005-09-09  Michael Natterer  <mitch@gimp.org>

	Added parent window API to the GimpProgress interface and to
	the libgimp progress stuff. Might look strange, but does
	the right thing in almost all cases (image window, file dialog,
	script-fu dialog etc). Fixes bug #62988.

	* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
	which should return a toplevel window ID if the progress is in a
	window that wants to be the transient parent of plug-in dialogs.

	* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
	function which returns the window handle of a GtkWindow's GdkWindow.

	* app/widgets/gimpfiledialog.c: implement ::get_window().

	* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.

	* app/gui/gui-vtable.c: changed accordingly.

	* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
	added GIMP_PROGRESS_COMMAND_GET_WINDOW.

	* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
	new function. Also renamed some functions to match the
	GimpProgress interface, and not the legacy PDB procedure names.

	* tools/pdbgen/pdb/progress.pdb
	* app/core/gimppdbprogress.c: implement get_window() on both
	sides of the wire, keeping backward compatibility (hopefully).

	* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
	and added gimp_progress_install_vtable() which takes a vtable with
	padding to be extensible. Added get_window() vtable entry and
	dispatch it accordingly. Also added pulse() which was implemented
	in a hackish way before. Everything is of course backward
	compatible.

	* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
	so a plug-in dialog containing a progress can be the transient
	parent of another dialog in another plug-in.

	* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
	which returns a foreign GdkWindow of this plug-ins progress
	window.

	Renamed gimp_window_set_transient_for_default_display() to
	gimp_window_set_transient() and make it use the progress' window
	handle instead of the display's (which is the right thing to do in
	almost all cases).

	* libgimp/gimp.def
	* libgimp/gimpui.def: add the new functions.

	* tools/pdbgen/enums.pl
	* app/pdb/internal_procs.c
	* app/pdb/progress_cmds.c
	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* libgimp/gimpexport.c
	* plug-ins/*/*.c: follow API change.
2005-09-09 18:07:31 +00:00
Sven Neumann cc6f3e762f Call gimp_window_set_transient_for_default_display() for most plug-in
2005-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins: Call gimp_window_set_transient_for_default_display()
	for most plug-in dialogs. Not yet done are load and save dialogs
	and dialogs created from language bindings.
2005-09-05 21:40:29 +00:00
Sven Neumann e7a14aaa71 applied capitalization patches contributed by Stephan Binner. Fixes bug
2005-08-23  Sven Neumann  <sven@gimp.org>

	* [lots of files]: applied capitalization patches contributed by
	Stephan Binner. Fixes bug #309657.
2005-08-23 00:18:08 +00:00
Sven Neumann 1a94b2be20 app/actions/channels-commands.c app/actions/qmask-commands.c
2005-08-23  Sven Neumann  <sven@gimp.org>

	* app/actions/channels-commands.c
	* app/actions/qmask-commands.c
	* app/dialogs/channel-options-dialog.c
	* app/dialogs/layer-options-dialog.c
	* app/dialogs/module-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/dialogs/preferences-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/stroke-dialog.c
	* app/dialogs/vectors-options-dialog.c
	* app/display/gimpdisplayshell-scale.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpblendoptions.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimpstrokeeditor.c
	* libgimpwidgets/gimpcolorselection.c
	* modules/cdisplay_colorblind.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_cmyk.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/colorify.c
	* plug-ins/common/film.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/lic.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/gflare/gflare.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_cmd_guides.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/metadata/interface.c
	* plug-ins/print/gimp_color_window.c
	* plug-ins/print/gimp_main_window.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-server.c: applied patch from
	Stephan Binner that fixes capitalization issues (bug #309657).
2005-08-22 23:39:12 +00:00
Michael Natterer b6b126903d plug-ins/bmp/bmp.c plug-ins/faxg3/faxg3.c plug-ins/fits/fits.c
2005-08-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/bmp/bmp.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig.[ch]
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/help/help.c
	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/jpeg/jpeg.[ch]
	* plug-ins/maze/maze.[ch]
	* plug-ins/maze/maze_face.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/rcm/rcm.[ch]
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/sel2path/sel2path.c
	* plug-ins/sgi/sgi.c
	* plug-ins/uri/uri.c
	* plug-ins/xjt/xjt.c: canonicalize procedure and parameter names.
	#define them instead of repeating the same string several times.
	Minor cleanups.
2005-08-12 15:46:46 +00:00
Sven Neumann 5ef2b855ca change the cursor with the tool (bug #90519).
2005-07-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: change the cursor with the tool
	(bug #90519).
2005-07-26 13:38:48 +00:00
Sven Neumann 80dd4bff6c fixed spelling of Fractal.
2005-07-08  Sven Neumann  <sven@gimp.org>

        * plug-ins/ifscompose/ifscompose.c: fixed spelling of Fractal.
2005-07-08 16:57:38 +00:00
Sven Neumann 19a65560cd use the canonical form of signal names.
2005-06-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/*/*.c: use the canonical form of signal names.
2005-06-30 16:03:24 +00:00
Sven Neumann b73e908ca5 use gimp_spin_button_new() which calls gtk_spin_button_set_numeric() for
2005-04-17  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.c: use gimp_spin_button_new() which
	calls gtk_spin_button_set_numeric() for us. Part of a fix for bug
	#300935.

	* libgimpwidgets/gimpwidgets.c: improved the API docs for
	gimp_spin_button_new().

	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimplevelstool.c
	* plug-ins/common/screenshot.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/winsnap/winsnap.c: use gimp_spin_button_new().
2005-04-17 15:28:28 +00:00
Sven Neumann 99a1fbe32d use a GtkUIManager to construct the toolbar.
2005-04-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: use a GtkUIManager to construct the
	toolbar.

	* plug-ins/ifscompose/ifscompose.c: use gtk_action_set_sensitive().
2005-04-14 17:03:06 +00:00
Sven Neumann 11fea041f6 app/config/gimpcoreconfig.c app/config/gimpguiconfig.c need to free the
2005-04-07  Sven Neumann  <sven@gimp.org>

	* app/config/gimpcoreconfig.c
	* app/config/gimpguiconfig.c
	* app/config/gimppluginconfig.c: need to free the return value of
	gimp_config_build_foo_path() now that gimp_param_spec_path() is
	sane and doesn't take ownership of the passed string any longer.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/utils.c: use gimp_config_build_data_path().

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_browse.c
	* plug-ins/imagemap/imap_file.c
	* plug-ins/print/gimp_main_window.c: set alternative button order
	on file-chooser dialogs (as well as default response where missing).
2005-04-07 17:10:05 +00:00
Sven Neumann f48efa965c plug-ins/FractalExplorer plug-ins/Lighting plug-ins/bmp plug-ins/dbbrowser
2005-03-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer
	* plug-ins/Lighting
	* plug-ins/bmp
	* plug-ins/dbbrowser
	* plug-ins/faxg3
	* plug-ins/fits
	* plug-ins/flame
	* plug-ins/gfig
	* plug-ins/gflare
	* plug-ins/gfli
	* plug-ins/gimpressionist
	* plug-ins/ifscompose
	* plug-ins/jpeg
	* plug-ins/maze
	* plug-ins/pagecurl
	* plug-ins/print
	* plug-ins/rcm
	* plug-ins/script-fu
	* plug-ins/sel2path
	* plug-ins/sgi
	* plug-ins/twain
	* plug-ins/winicon
	* plug-ins/xjt: ported to gstdio, removed unnecessary includes,
	minor fixes to filename handling here and there.
2005-03-04 13:23:32 +00:00
Sven Neumann 1fa722aaa1 plug-ins/ifscompose/ifscompose.[ch] purely cosmetic coding style changes.
2005-03-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.[ch]
	* plug-ins/ifscompose/ifscompose_utils.c: purely cosmetic coding
	style changes.
2005-03-01 15:42:44 +00:00
William Skaggs ea8c0e3bc9 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/*/Makefile.am
	* plug-ins/common/mkgen.pl: add libgimpmath deps
	needed because libgimpconfig links it.
2005-02-23 22:01:58 +00:00
Sven Neumann 4cf9d0e429 accept an empty string.
2005-02-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpprogress.c (gimp_progress_start): accept an empty
	string.

	* app/plug-in/plug-in-progress.c: if NULL is passed as message to
	plug_in_progress_start(), set an empty string on the progress.

	* tools/pdbgen/pdb/progress.pdb:
	* libgimp/gimpprogress.[ch]: wrap the new gimp_progress_set_text()
	PDP function with a function that accepts printf-like arguments.

	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* lots of plug-ins, most of them file plug-ins:
	use gimp_progress_init(NULL) followed by gimp_progress_set_text()
	to initialize the progress using the new API instead of constructing
	a temporary string.
2005-02-13 00:11:24 +00:00
Sven Neumann 8c83ddc063 Applied a patch from Patrice Tremblay that makes (almost) all dialogs obey
2005-02-08  Sven Neumann  <sven@gimp.org>

	Applied a patch from Patrice Tremblay that makes (almost) all
	dialogs obey the "gtk-alternative-button-order" setting
	(bug #166678). Changes too many files to list them all...
2005-02-08 20:40:33 +00:00
Bill Skaggs 51fdb93bf5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
added dependencies in wrong spot, fixed.  Same list of
	files as for previous commit.

2005-02-04  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* libgimpwidgets/Makefile.am
	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am
	* plug-ins/bmp/Makefile.am
	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/faxg3/Makefile.am
	* plug-ins/fits/Makefile.am
	* plug-ins/flame/Makefile.am
	* plug-ins/gfig/Makefile.am
	* plug-ins/gflare/Makefile.am
	* plug-ins/gfli/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/imagemap/Makefile.am
	* plug-ins/jpeg/Makefile.am
	* plug-ins/maze/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/print/Makefile.am
	* plug-ins/pygimp/Makefile.am
	* plug-ins/rcm/Makefile.am
	* plug-ins/script-fu/Makefile.am
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sgi/Makefile.am
	* plug-ins/twain/Makefile.am
	* plug-ins/winicon/Makefile.am
	* plug-ins/winsnap/Makefile.am
	* plug-ins/xjt/Makefile.am: ouch, broke build badly, needed to
	add libgimpconfig dependencies after moving gimppropwidgets.
2005-02-04 22:31:58 +00:00
William Skaggs 6bc832918e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/Makefile.am
	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am
	* plug-ins/bmp/Makefile.am
	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/faxg3/Makefile.am
	* plug-ins/fits/Makefile.am
	* plug-ins/flame/Makefile.am
	* plug-ins/gfig/Makefile.am
	* plug-ins/gflare/Makefile.am
	* plug-ins/gfli/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/imagemap/Makefile.am
	* plug-ins/jpeg/Makefile.am
	* plug-ins/maze/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/print/Makefile.am
	* plug-ins/pygimp/Makefile.am
	* plug-ins/rcm/Makefile.am
	* plug-ins/script-fu/Makefile.am
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sgi/Makefile.am
	* plug-ins/twain/Makefile.am
	* plug-ins/winicon/Makefile.am
	* plug-ins/winsnap/Makefile.am
	* plug-ins/xjt/Makefile.am: ouch, broke build badly, needed to
	add libgimpconfig dependencies after moving gimppropwidgets.
2005-02-04 21:55:06 +00:00
Sven Neumann 28251be0e9 use g_free() to release memory allocated using g_malloc().
2005-01-03  Sven Neumann  <neumann@jpk.com>

	* plug-ins/ifscompose/ifscompose.c: use g_free() to release memory
	allocated using g_malloc().
2005-01-03 15:40:51 +00:00
Manish Singh 5d01581069 Fix a bunch of warnings from Sparse:
2004-11-13  Manish Singh  <yosh@gimp.org>

        Fix a bunch of warnings from Sparse:

        * app/actions/dockable-commands.c
        * app/actions/layers-actions.c
        * app/actions/view-commands.c
        * app/base/pixel-surround.c
        * app/config/gimpconfig-utils.c
        * app/config/gimpscanner.c
        * app/core/gimpbrushgenerated.c
        * app/core/gimpcontainer.c
        * app/core/gimpimage.c
        * app/dialogs/palette-import-dialog.c
        * app/file/gimprecentlist.c
        * app/plug-in/plug-in-params.c
        * app/text/gimptext-compat.c
        * app/text/gimptext-parasite.c
        * app/vectors/gimpbezierstroke.c
        * app/vectors/gimpstroke.c
        * app/widgets/gimpcellrendereraccel.c
        * app/widgets/gimpselectiondata.c
        * app/xcf/xcf.c
        * libgimp/gimp.c
        * libgimpthumb/gimpthumb-utils.c
        * libgimpthumb/gimpthumbnail.c
        * modules/cdisplay_proof.c
        * plug-ins/Lighting/lighting_ui.c
        * plug-ins/common/csource.c
        * plug-ins/common/glasstile.c
        * plug-ins/common/nova.c
        * plug-ins/common/pcx.c
        * plug-ins/common/pnm.c
        * plug-ins/common/randomize.c
        * plug-ins/common/screenshot.c
        * plug-ins/common/sel_gauss.c
        * plug-ins/common/spheredesigner.c
        * plug-ins/common/wind.c
        * plug-ins/gfig/gfig-dialog.c
        * plug-ins/gfig/gfig-dobject.c
        * plug-ins/gimpressionist/gimpressionist.c
        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/print/gimp_main_window.c
        * plug-ins/print/print.c: Cleanup integer vs. pointer confusion.

        * app/base/temp-buf.c
        * app/dialogs/about-dialog.c
        * plug-ins/common/bumpmap.c
        * plug-ins/common/jigsaw.c
        * plug-ins/gfig/gfig-dobject.c: Cosmetic cleanups.

        * app/config/gimpconfig-deserialize.c
        * app/config/gimpconfig-path.c
        * app/config/gimpconfigwriter.c
        * app/core/gimpgradient.c
        * app/tools/gimpdrawtool.c
        * plug-ins/common/nlfilt.c
        * plug-ins/common/unsharp.c
        * plug-ins/common/zealouscrop.c: Define inline functions before they
        are used.

        * app/core/gimpdrawable-blend.c: PixelRegion definition was changed
        some time ago, but the initialization here didn't change. Fix it.

        * app/plug-in/plug-in-rc.c (plug_in_extra_deserialize): No need to
        assign token twice in a row.

        * libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories): No
        need to initialize file_data, since the code fills out all the fields.

        * plug-ins/common/CML_explorer.c
        * plug-ins/common/vpropagate.c: Declare function pointers fully.

        * plug-ins/common/grid.c (pix_composite): G_INLINE_FUNC isn't needed,
        we assume we can use the "inline" keyword always.

        * plug-ins/common/psd_save.c
        * plug-ins/common/vinvert.c
        * plug-ins/gfig/gfig-arc.c
        * plug-ins/gfig/gfig-bezier.c
        * plug-ins/gfig/gfig-circle.c
        * plug-ins/gfig/gfig-dialog.c
        * plug-ins/gfig/gfig-dobject.c
        * plug-ins/gfig/gfig-ellipse.c
        * plug-ins/gfig/gfig-line.c
        * plug-ins/gfig/gfig-poly.c
        * plug-ins/gfig/gfig-spiral.c
        * plug-ins/gfig/gfig-star.c
        * plug-ins/gfig/gfig.c
        * plug-ins/gimpressionist/orientmap.c
        * plug-ins/gimpressionist/placement.c
        * plug-ins/gimpressionist/sizemap.c
        * plug-ins/imagemap/imap_grid.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/imagemap/imap_preferences.c
        * plug-ins/imagemap/imap_settings.c
        * plug-ins/maze/maze.c
        * plug-ins/sel2path/curve.c
        * plug-ins/sel2path/fit.c
        * plug-ins/sel2path/pxl-outline.c
        * plug-ins/sel2path/spline.c
        * plug-ins/xjt/xjt.c: Functions with no args should be declared
        with (void).

        * plug-ins/common/retinex.c (MSRCR): Initialize max_preview to quiet
        the compiler.
2004-11-14 02:50:33 +00:00
Sven Neumann ec9ee41fe7 themes/Default/images/Makefile.am
2004-11-14  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-center-16.png
	* themes/Default/images/stock-center-24.png
	* themes/Default/images/stock-print-resolution-16.png
	* themes/Default/images/stock-print-resolution-24.png: new icons
	drawn by Jimmac.

	* libgimpwidgets/gimpstock.[ch]: registered the new icons.

	* app/actions/image-actions.c
	* app/dialogs/print-size-dialog.c
	* app/dialogs/resize-dialog.c
	* plug-ins/ifscompose/ifscompose.c: use them.
2004-11-14 01:51:21 +00:00
Sven Neumann 4cbef9ff1b changed plug-in name from "IfsCompose" to "IFS Fractal". Sorry for the
2004-11-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: changed plug-in name from
	"IfsCompose" to "IFS Fractal". Sorry for the late string changes
	but the old name definitely was akward and probably hard to
	translate anyway. Fixes bug #157135.
2004-11-13 12:00:11 +00:00
Sven Neumann 9d64e06b46 updated link to the tutorial (pointed out by Alan Horkan) and added
2004-11-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/README.ifscompose: updated link to the
	tutorial (pointed out by Alan Horkan) and added another link.

	* plug-ins/ifscompose/ifscompose_storage.c: removed trailing
	whitespace.
2004-11-13 11:47:20 +00:00
Michael Natterer cd017f1c7b use a UI manager created toolbar instead of two rows of buttons. Added a
2004-11-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: use a UI manager created
	toolbar instead of two rows of buttons. Added a "dummy-menubar" so
	the popup menu shows shortcuts again. Removed "Preview" and "Auto"
	buttons since the preview doesn't block the GUI and can always be
	updated.
2004-11-10 01:32:14 +00:00
Sven Neumann 8b74f33c86 plug-ins/common/CEL.c plug-ins/common/CML_explorer.c
2004-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CEL.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/ifscompose/ifscompose.c: don't set help-ids on plug-in
	file chooser dialogs. Set the default response for file dialogs.
2004-11-08 11:24:43 +00:00
Sven Neumann 4bc1f542bc fixed i18n problem in new ifscompose code
updated german translation
2004-11-07 17:44:17 +00:00
Sven Neumann 7bfd9bf6a2 ported to GtkUIManager.
2004-11-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: ported to GtkUIManager.
2004-11-07 17:20:25 +00:00
Michael Natterer 0c68b40fa5 some undeprecation and cleanup. Still uses GtkItemFactory.
2004-11-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: some undeprecation and
	cleanup. Still uses GtkItemFactory.
2004-11-04 15:24:55 +00:00
Michael Natterer 04f914f1a6 #undef GTK_DISABLE_DEPRECATED.
2004-11-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: #undef GTK_DISABLE_DEPRECATED.
2004-11-04 12:35:38 +00:00
Michael Natterer c17967721f plug-ins/common/flarefx.c changed preview cursors to GDK_CROSSHAIR.
2004-10-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/flarefx.c
	* plug-ins/common/nova.c: changed preview cursors to GDK_CROSSHAIR.

	* plug-ins/common/iwarp.c
	* plug-ins/gflare/gflare.c
	* plug-ins/ifscompose/ifscompose.c: added GDK_CROSSHAIR preview
	cursors. Not quite perfect for IfsCompose (actually needs tool-
	and constext-sensitive cursors) but definitely better than
	before. Fixes bug #90519.
2004-10-29 10:36:16 +00:00
Michael Natterer 8e15676423 all plug-ins except script-fu: removed the translation marks from the menu
2004-10-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*/*.c: all plug-ins except script-fu: removed the
	translation marks from the menu paths passed to
	gimp_plugin_menu_register(). All default menu branches used by
	included plug-ins are created and translated by the core now.
2004-10-12 21:48:39 +00:00
Michael Natterer 35b372ea08 tools/pdbgen/Makefile.am tools/pdbgen/groups.pl removed the "Palette" pdb
2004-09-22  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/palette.pdb: removed the "Palette" pdb group...

	* tools/pdbgen/pdb/context.pdb: and added its functions to the
	"Context" namespace instead.

	* app/pdb/Makefile.am
	* app/pdb/palette_cmds.c: removed.

	* app/pdb/procedural_db.c: added them to the pdb_compat hash table.

	* libgimp/Makefile.am
	* libgimp/gimppalette_pdb.[ch]: removed.

	* libgimp/gimppalette.[ch]: new files holding compat functions
	which call gimp_context_*() functions.

	* libgimp/gimp.h
	* libgimp/gimpui.c: changed accordingly.

	* app/pdb/context_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpcontext_pdb.[ch]: regenerated.

	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/cubism.c
	* plug-ins/common/exchange.c
	* plug-ins/common/film.c
	* plug-ins/common/gif.c
	* plug-ins/common/grid.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/mblur.c
	* plug-ins/common/mng.c
	* plug-ins/common/mosaic.c
	* plug-ins/common/papertile.c
	* plug-ins/common/png.c
	* plug-ins/common/polar.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/gfig/gfig-style.c
	* plug-ins/gfli/gfli.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/maze/handy.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/script-fu/scripts/*.scm: changed accordingly.
2004-09-22 18:43:09 +00:00
William Skaggs 79d50e2adc Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/ifscompose/README.ifscompose: fix out of date info,
	pointed out by the author.
2004-08-08 18:17:53 +00:00
David Odin 9886b1951f ported to GimpPreviewArea.
* plug-ins/ifscompose/ifscompose.c: ported to GimpPreviewArea.
2004-08-03 10:43:29 +00:00
William Skaggs 707e635f61 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins:  changed dialogs to follow HIG capitalization style
	wherever they didn't.  Scripts remain to be done.  Partially
	fixes bug #123699.
2004-06-20 22:47:33 +00:00
Sven Neumann 50d9bf30c6 use G_SQRT2; some coding style cleanups.
2004-06-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose_utils.c (create_brush): use
	G_SQRT2; some coding style cleanups.
2004-06-19 11:06:57 +00:00
Sven Neumann 12d9a44686 plug-ins/print/gimp_color_window.c HIG-ified and ported to GtkFileChooser.
2004-05-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/gimp_color_window.c
	* plug-ins/print/gimp_main_window.c: HIG-ified and ported to
	GtkFileChooser.

	* plug-ins/ifscompose/ifscompose.c (ifsfile_load_response): ported
	forgotten callback to GtkFileChooser.

	* plug-ins/imagemap/imap_browse.c
	* plug-ins/imagemap/imap_file.c: finished port to GtkFileChooser.
2004-05-25 12:19:22 +00:00