1. 11 Jul, 2018 1 commit
  2. 17 Dec, 2017 5 commits
  3. 11 Nov, 2012 1 commit
  4. 10 Sep, 2012 1 commit
  5. 06 Feb, 2011 1 commit
  6. 07 Jul, 2010 1 commit
  7. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      	* all files with a GPL header and all COPYING files:
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      svn path=/trunk/; revision=27913
  8. 07 Feb, 2008 1 commit
    • Michael Natterer's avatar
      add some perl evilness to make the includes in the generated files look · dc490d3b
      Michael Natterer authored
      2008-02-07  Michael Natterer  <mitch@gimp.org>
      	* tools/pdbgen/app.pl: add some perl evilness to make the includes
      	in the generated files look almost like they should.
      	* tools/pdbgen/pdb/*.pdb: remove inclusion of "core/gimp.h" where
      	not needed, clean up lists of includes and functions and reorder
      	some functions to make more sense. Zero logic changed.
      	* app/pdb/*_cmds.c
      	* libgimp/gimpcontext_pdb.[ch]
      	* libgimp/gimpbrush_pdb.[ch]: regenerated.
      svn path=/trunk/; revision=24829
  9. 25 Jul, 2007 1 commit
    • Sven Neumann's avatar
      added new procedure gimp-progress-end. · 7e4e9191
      Sven Neumann authored
      2007-07-25  Sven Neumann  <sven@gimp.org>
      	* tools/pdbgen/pdb/progress.pdb: added new procedure gimp-progress-end.
      	* app/pdb/progress_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      	* plug-ins/print/print.[ch]
      	* plug-ins/print/print-settings.[ch]: end the progress and save
      	the settings from the "end-print" handler. The plug-in then
      	appears finished but keeps running in the background until it has
      	finished the print operation.
      svn path=/trunk/; revision=22994
  10. 25 Apr, 2007 1 commit
    • Michael Natterer's avatar
      added "gboolean non_empty" to require the string being non-empty. Changed · d6fd5506
      Michael Natterer authored
      2007-04-25  Michael Natterer  <mitch@gimp.org>
      	* app/core/gimpparamspecs.[ch] (struct GimpParamSpecString)
      	(gimp_param_spec_string): added "gboolean non_empty" to require
      	the string being non-empty. Changed validation accordingly.
      	Also fixed validation for static strings (we were happily
      	freeing and modifying them before).
      	* app/xcf/xcf.c: filenames should be non-empty.
      	* app/pdb/gimp-pdb-compat.c: compat strings shouldn't.
      	* tools/pdbgen/app.pl: add support for $arg->{non_empty} and
      	changed generation of calls to gimp_param_spec_string().
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/vectors.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/progress.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/unit.pdb
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/buffer.pdb: require non-empty strings for data
      	object names, procedure names, unit strings, PDB data identifiers
      	and buffer names. Removed some manual strlen() checks, all other
      	places just got better error reporting for free (proper validation
      	error instead of unspecific execution error).
      	* app/pdb/*_cmds.c: regenerated.
      svn path=/trunk/; revision=22329
  11. 09 Dec, 2006 1 commit
  12. 06 May, 2006 1 commit
    • Michael Natterer's avatar
      added "gboolean none_ok" members to GimpParamSpecImageID, · 66a66b32
      Michael Natterer authored
      2006-05-06  Michael Natterer  <mitch@gimp.org>
      	* app/core/gimpparamspecs.[ch]: added "gboolean none_ok" members
      	to GimpParamSpecImageID, GimpParamSpecItemID and
      	GimpParamSpecDisplayID.  If none_ok is set, allow '0' and '-1' as
      	valid IDs. Added "none_ok" parameter to all ID param spec
      	* app/pdb/gimp-pdb-compat.c: set none_ok to TRUE in all compat
      	param specs, so only IDs that are really random garbage don't pass
      	validation. Fixes validation errors with 0 and -1 IDs.
      	* tools/pdbgen/app.pl: set none_ok to FALSE by default. Added
      	support for $arg->{none_ok} to control it.
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/progress.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: use none_ok instead of
      	no_success (which disables validation entirely).
      	* app/pdb/[many]_cmds.c: regenerated.
  13. 03 May, 2006 1 commit
    • Michael Natterer's avatar
      Made an object out of the plug-in struct. Also change refcounting · 4b917ea2
      Michael Natterer authored
      2006-05-03  Michael Natterer  <mitch@gimp.org>
      	Made an object out of the plug-in struct. Also change refcounting
      	- gimp_plug_in_open() adds a reference that is only dropped by
      	- temporarily ref the plug-in while handling messages.
      	- remporarily ref the plug-in while a recursive main loop is
      	- each caller of gimp_plug_in_new() also unrefs the plug-in before
      	  returning, the only reference that persists across functions
      	  (that keeps the plug-in alive) is the one added by open().
      	* app/plug-in/plug-in.[ch]
      	* app/plug-in/plug-in-context.[ch]
      	* app/plug-in/plug-in-message.[ch]
      	* app/plug-in/plug-in-progress.[ch]: removed these files...
      	* app/plug-in/gimpplugin.[ch]
      	* app/plug-in/gimpplugin-context.[ch]
      	* app/plug-in/gimpplugin-message.[ch]
      	* app/plug-in/gimpplugin-progress.[ch]: ...and added here as GObject.
      	* app/plug-in/plug-in-proc-frame.[ch]: removed...
      	* app/plug-in/gimppluginprocframe.[ch]: ...and added with a namespace.
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/plug-in/gimppluginmanager-call.c
      	* app/plug-in/gimppluginmanager-file.c
      	* app/plug-in/gimppluginmanager.[ch]
      	* app/pdb/gimppluginprocedure.c
      	* app/pdb/gimptemporaryprocedure.c
      	* app/pdb/gimptemporaryprocedure.h
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/progress.pdb
      	* tools/pdbgen/pdb/undo.pdb: changed accordingly.
      	* app/pdb/context_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/help_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/progress_cmds.c
      	* app/pdb/undo_cmds.c: regenerated.
  14. 28 Apr, 2006 1 commit
    • Michael Natterer's avatar
      app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps · f1c3e79a
      Michael Natterer authored
      2006-04-29  Michael Natterer  <mitch@gimp.org>
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/plug-in/gimppluginmanager.[ch]: new object which keeps all
      	plug-in related stuff that was kept in the Gimp instance. Has
      	"menu-branch-added" and "last-plug-in-changed" signals.
      	* app/plug-in/plug-ins.[ch]: removed, all its functions are in
      	GimpPlugInManager now.
      	* app/core/gimpmarshal.list: new marshaller for the new object.
      	* app/core/gimp.[ch]: removed all plug-in related stuff and keep a
      	GimpPlugInManager around.
      	* app/plug-in/plug-in-data.[ch]
      	* app/plug-in/plug-in-file.[ch]
      	* app/plug-in/plug-in-help-domain.[ch]
      	* app/plug-in/plug-in-locale-domain.[ch]
      	* app/plug-in/plug-in-menu-branch.[ch]
      	* app/plug-in/plug-ins-query.[ch]: removed...
      	* app/plug-in/gimppluginmanager-data.[ch]
      	* app/plug-in/gimppluginmanager-file.[ch]
      	* app/plug-in/gimppluginmanager-help-domain.[ch]
      	* app/plug-in/gimppluginmanager-locale-domain.[ch]
      	* app/plug-in/gimppluginmanager-menu-branch.[ch]
      	* app/plug-in/gimppluginmanager-query.[ch]: ...and added as
      	methods of GimpPlugInManager.
      	* app/plug-in/plug-in-debug.[ch]
      	* app/plug-in/plug-in-shm.[ch]: removed...
      	* app/plug-in/gimpplugindebug.[ch]
      	* app/plug-in/gimppluginshm.[ch]: ...and added as properly
      	namespeced structs with constructors and destructors.
      	* app/core/Makefile.am
      	* app/core/gimpenvirontable.[ch]
      	* app/core/gimpinterpreterdb.[ch]: removed...
      	* app/plug-in/gimpenvirontable.[ch]
      	* app/plug-in/gimpinterpreterdb.[ch]: ...and added here unchanged.
      	* app/core/gimp-gui.[ch]
      	* app/gui/gui-vtable.c: remove gimp_menus_create_branch() and all
      	related stuff.
      	* app/actions/plug-in-actions.[ch]: connect to the
      	plug-in-manager's "menu-path-added" signal and create menu branch
      	actions accordingly.
      	* app/plug-in/plug-in-context.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-progress.c
      	* app/plug-in/plug-in-run.[ch]
      	* app/plug-in/plug-in.[ch]
      	* app/app_procs.c
      	* app/actions/file-commands.c
      	* app/actions/plug-in-commands.c
      	* app/core/gimpimage.c
      	* app/dialogs/file-open-location-dialog.c
      	* app/dialogs/file-save-dialog.c
      	* app/file/file-open.c
      	* app/gui/gui.c
      	* app/menus/plug-in-menus.c
      	* app/pdb/gimppluginprocedure.c
      	* app/pdb/gimptemporaryprocedure.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpfileprocview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpthumbbox.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/progress.pdb
      	* tools/pdbgen/pdb/undo.pdb: follow above refactoring.
      	* app/pdb/context_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/help_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/progress_cmds.c
      	* app/pdb/undo_cmds.c: regenerated.
  15. 26 Mar, 2006 1 commit
    • Michael Natterer's avatar
      removed support for arg->implicit_fill. · f1f24289
      Michael Natterer authored
      2006-03-26  Michael Natterer  <mitch@gimp.org>
      	* tools/pdbgen/lib.pl: removed support for arg->implicit_fill.
      	* tools/pdbgen/pdb/progress.pdb (progress_init): remove it without
      	replacement, the generated function on the libgimp side is
      	internal anyway.
      	* libgimp/gimpprogress_pdb.[ch] (_gimp_progress_init): rgenerated
      	with a display_ID parameter.
      	* libgimp/gimpprogress.c (gimp_progress_init): pass
      	gimp_default_display() to _gimp_progress_init().
  16. 23 Mar, 2006 2 commits
    • Michael Natterer's avatar
      app/core/gimp-gui.[ch] app/gui/gui-vtable.c pass displays around as · acdae9b3
      Michael Natterer authored
      2006-03-23  Michael Natterer  <mitch@gimp.org>
      	* app/core/gimp-gui.[ch]
      	* app/gui/gui-vtable.c
      	* app/plug-in/plug-in-progress.[ch]: pass displays around as
      	GimpObject, not as integer IDs.
      	* tools/pdbgen/pdb/progress.pdb: changed accordingly.
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.c: regenerated.
    • Michael Natterer's avatar
      removed std_image_arg(), std_antialias_arg() and std_orientation_enum(). · cfa08678
      Michael Natterer authored
      2006-03-23  Michael Natterer  <mitch@gimp.org>
      	* tools/pdbgen/stddefs.pdb: removed std_image_arg(),
      	std_antialias_arg() and std_orientation_enum().
      	* tools/pdbgen/pdb/*.pdb: changed accordingly. Did a global
      	s/gimage/image/. Some more cleanup.
      	* tools/pdbgen/pdb/grid.pdb
      	* tools/pdbgen/pdb/guides.pdb: removed utility functions.
      	* tools/pdbgen/pdb/vectors.pdb: reordered procedures. Removed
      	obsolete procedure.
      	* app/pdb/channel_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/grid_cmds.c
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/undo_cmds.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpdrawable_pdb.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpvectors_pdb.[ch]: regenerated.
  17. 18 Mar, 2006 1 commit
  18. 15 Mar, 2006 1 commit
    • Michael Natterer's avatar
      define init values for all pdb types. · 04bf6d04
      Michael Natterer authored
      2006-03-15  Michael Natterer  <mitch@gimp.org>
      	* tools/pdbgen/pdb.pl: define init values for all pdb types.
      	* tools/pdbgen/app.pl: unconditionally initialize all return
      	values, and no parameter.
      	* tools/pdbgen/pdb/*.pdb: removed init => 1 from all arguments
      	and return values.
      	* app/pdb/*_cmds.c: regenerated.
  19. 14 Mar, 2006 1 commit
    • Michael Natterer's avatar
      remove lots of perl crack: - create almost all parameter arrays manually · 2ff56f8d
      Michael Natterer authored
      2006-03-14  Michael Natterer  <mitch@gimp.org>
      	* tools/pdbgen/pdb/*.pdb: remove lots of perl crack:
      	- create almost	all parameter arrays manually instead of
      	  generating them from utility functions
      	- removed lots of other utility functions
      	- moved variable declarations into the enclosed code snippets
      	  where possible
      	- some cleanup and API doc fixes
      	* tools/pdbgen/stddefs.pdb: added some perl crack:
      	define utility functions for all contributors which own more than
      	some functions, so they can change their names and email addresses
      	at a central place.
      	* app/pdb/[many].c: regenerated.
      	* libgimp/gimpcolor_pdb.c
      	* libgimp/gimpdrawabletransform_pdb.c
      	* libgimp/gimptransformtools_pdb.c
      	* libgimp/gimpvectors_pdb.c: ditto. Changed affect only API docs.
  20. 20 Feb, 2006 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/pdb/progress.pdb applied slightly modified patch from · 37fdbeac
      Sven Neumann authored
      2006-02-20  Sven Neumann  <sven@gimp.org>
      	* tools/pdbgen/pdb/progress.pdb
      	* libgimp/gimpprogress.[ch]: applied slightly modified patch from
      	Stephane Chauveau.  Wraps the gimp_progress_update() PDB call so
      	that redundant progress updates are suppressed in libgimp.  This
      	gives a noticeable speedup for all plug-ins that update the
      	progress too often (bug #331470).
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
  21. 29 Sep, 2005 1 commit
    • Michael Natterer's avatar
      removed the "wrap" from gimp_progress_set_text() so it shows up as libgimp · e3da6be9
      Michael Natterer authored
      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().
  22. 09 Sep, 2005 1 commit
    • Michael Natterer's avatar
      Added parent window API to the GimpProgress interface and to the libgimp · b10adabb
      Michael Natterer authored
      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):
      	* 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
      	* 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
      	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.
  23. 13 Feb, 2005 1 commit
    • Sven Neumann's avatar
      accept an empty string. · 4cf9d0e4
      Sven Neumann authored
      2005-02-13  Sven Neumann  <sven@gimp.org>
      	* app/core/gimpprogress.c (gimp_progress_start): accept an empty
      	* 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.
  24. 12 Feb, 2005 2 commits
    • Sven Neumann's avatar
      app/plug-in/plug-in-progress.[ch] added new PDB function · 996d24a3
      Sven Neumann authored
      2005-02-12  Sven Neumann  <sven@gimp.org>
      	* app/plug-in/plug-in-progress.[ch]
      	* tools/pdbgen/pdb/progress.pdb: added new PDB function
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      	* libgimp/gimp.def: updated.
    • Sven Neumann's avatar
      added GimpProgress::pulse. · 7c19953c
      Sven Neumann authored
      2005-02-12  Sven Neumann  <sven@gimp.org>
      	* app/core/gimpprogress.[ch]: added GimpProgress::pulse.
      	* app/display/gimpdisplay.c
      	* app/display/gimpstatusbar.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpprogressbox.c
      	* app/widgets/gimpprogressdialog.c
      	* app/widgets/gimpthumbbox.c: implement it in the classes that
      	implement the GimpProgress interface.
      	* app/plug-in/plug-in-progress.[ch]: allow plug-ins to pulse their
      	* tools/pdbgen/pdb/progress.pdb: added a procedure for the new
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      	* libgimp/gimp.def: updated.
  25. 30 Aug, 2004 1 commit
    • Michael Natterer's avatar
      added boolean return values to plug_in_progress_install(), uninstall() and · 7f045637
      Michael Natterer authored
      2004-08-30  Michael Natterer  <mitch@gimp.org>
      	* app/plug-in/plug-in-progress.[ch]: added boolean return values
      	to plug_in_progress_install(), uninstall() and cancel(). Added
      	checks to make sure the installed progress_callback exists, has
      	the correct signature and was installed by this plug-in.
      	* tools/pdbgen/pdb/progress.pdb: use the return values to let the
      	PDB wrappers succeed/fail.
      	* app/pdb/progress_cmds.c: regenerated.
  26. 29 Aug, 2004 1 commit
    • Michael Natterer's avatar
      Added an API to allow plug-ins to embed the progress for the actions they · 065db21d
      Michael Natterer authored
      2004-08-29  Michael Natterer  <mitch@gimp.org>
      	Added an API to allow plug-ins to embed the progress for the
      	actions they trigger into their own GUI (attention: half-done and
      	broken code ahead...)
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimppdbprogress.[ch]: new object implementing dispatching
      	progress calls to a temporary PDB procedure in a plug-in.
      	* app/Makefile.am: force to link gimppdbprogress.o, bah!
      	* app/plug-in/plug-in-progress.[ch]: added API to install,
      	uninstall and cancel a PDB progress for this plug-in, but disabled
      	the implementation because it doesn't work yet.
      	* tools/pdbgen/pdb/progress.pdb: added pdb wrappers for the new
      	install, uninstall and cancel functions.
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpprogress.[ch]: added an API around the PDB progress
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      	* plug-ins/script-fu/script-fu-scripts.c: use the new API to show
      	the progress in the script-fu dialog.
  27. 27 Aug, 2004 1 commit
    • Michael Natterer's avatar
      Moved the gimp_progress_init() and gimp_progress_update() PDB functions to · d7f73e6f
      Michael Natterer authored
      2004-08-27  Michael Natterer  <mitch@gimp.org>
      	Moved the gimp_progress_init() and gimp_progress_update() PDB
      	functions to their own group because they don't belong to the
      	"Plug-In" namespace and will soon get more functions.
      	* tools/pdbgen/pdb/plug_in.pdb: removed the progress stuff...
      	* tools/pdbgen/pdb/progress.pdb: ...and added it here.
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am: changed accordingly.
      	* libgimp/gimpprogress_pdb.[ch]: new generated files.
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.