1. 11 Jul, 2018 1 commit
  2. 06 Feb, 2011 1 commit
  3. 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
      d9b5207a
  4. 15 Mar, 2007 1 commit
    • Michael Natterer's avatar
      Fix stuck progress bars (bug #393832): · dd4042df
      Michael Natterer authored
      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
      dd4042df
  5. 09 Dec, 2006 1 commit
  6. 02 Nov, 2006 1 commit
    • Michael Natterer's avatar
      Don't let each terminating plug-in procedure end its progress, because · 96a6a007
      Michael Natterer authored
      2006-11-02  Michael Natterer  <mitch@gimp.org>
      
      	Don't let each terminating plug-in procedure end its progress,
      	because that progress may still be in use by another plug-in.
      
      	* app/plug-in/gimpplugin-progress.[ch]
      	(gimp_plug_in_progress_attach)
      	(gimp_plug_in_progress_detach): new functions which maintain
      	a simple attach count for a GimpProgress
      
      	* app/plug-in/gimpplugin-progress.c
      	* app/plug-in/gimppluginprocframe.c: call attach() when setting
      	proc_frame->progress. Call detach() in gimp_plug_in_progress_end()
      	and only call gimp_progress_end() if detaching lowered the attach
      	count to 0.
      96a6a007
  7. 19 Jul, 2006 1 commit
    • Sven Neumann's avatar
      Make message dialogs transient for the progress window. Addresses bug · 6d922b21
      Sven Neumann authored
      2006-07-19  Sven Neumann  <sven@gimp.org>
      
      	Make message dialogs transient for the progress window.
      Addresses
      	bug #347214.
      
      	* app/core/gimp-gui.[ch]: added a progress parameter to
      	gimp_message().  Let gimp_message() deal with optionally
      	delegating the message to gimp_progress_message().
      
      	* app/errors.c: changed accordingly.
      
      	* app/core/gimpprogress.[ch] (gimp_progress_message): return a
      	boolean indicating whether the message was handled.
      
      	* app/gui/Makefile.am
      	* app/gui/gui-message.[ch]
      	* app/gui/gui-vtable.c: moved message handling to a new file.
      Only
      	use the global error dialog for messages without a progress.
      	Otherwise attach an error dialog to the progress and try to make
      	it transient to the progress window.
      
      	* tools/pdbgen/pdb/message.pdb:
      	* app/plug-in/gimpplugin-progress.[ch]: don't delegate messages
      to
      	the progress interface, this is handled by gimp_message() now.
      
      	* app/pdb/message_cmds.c: regenerated.
      
      	* app/plug-in/gimpplugin.c
      	* app/actions/documents-commands.c: formatting.
      6d922b21
  8. 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
      	considerably:
      
      	- gimp_plug_in_open() adds a reference that is only dropped by
      	  gimp_plug_in_close().
      	- temporarily ref the plug-in while handling messages.
      	- remporarily ref the plug-in while a recursive main loop is
      	  running.
      	- 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.
      4b917ea2
  9. 23 Mar, 2006 1 commit
    • 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.
      acdae9b3
  10. 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):
      	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.
      b10adabb
  11. 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
      	gimp_progress_set_text().
      
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      996d24a3
    • 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
      	progress.
      
      	* tools/pdbgen/pdb/progress.pdb: added a procedure for the new
      	functionality.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      7c19953c
  12. 14 Oct, 2004 1 commit
    • Sven Neumann's avatar
      added "message" function to the GimpProgress interface. Call · 0b6f4114
      Sven Neumann authored
      2004-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpprogress.[ch]: added "message" function to the
      	GimpProgress interface. Call gimp_message() if it is unimplemented.
      
      	* app/plug-in/plug-in-progress.[ch]: added new function
      	plug_in_progress_message() that passes the message to the current
      	proc_frame's progress.
      
      	* app/widgets/gimpthumbbox.c: implement GimpProgress::message.
      	Just do nothing in the implementation. We don't want to see
      	messages from file plug-ins that we use to create the thumbnails.
      
      	* tools/pdbgen/pdb/message.pdb
      	* app/pdb/message_cmds.c: if there's a current plug-in, dispatch
      	the message by calling plug_in_progress_message().
      
      	* app/display/gimpdisplayshell-close.c: fixed wrong types in
      	function calls.
      0b6f4114
  13. 22 Sep, 2004 1 commit
    • Michael Natterer's avatar
      app/plug-in/Makefile.am removed... ...and added with a new name. · 9ffc00be
      Michael Natterer authored
      2004-09-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-proc.[ch]: removed...
      	* app/plug-in/plug-in-proc-def.[ch]: ...and added with a new name.
      
      	* app/plug-in/plug-in-def.[ch]
      	* app/plug-in/plug-in-message.[ch]
      	* app/plug-in/plug-in-progress.[ch]
      	* app/plug-in/plug-in-rc.[ch]
      	* app/plug-in/plug-in-run.[ch]
      	* app/plug-in/plug-in.[ch]
      	* app/plug-in/plug-ins.[ch]
      	* app/actions/plug-in-actions.c
      	* app/actions/plug-in-commands.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/file/file-utils.[ch]
      	* app/gui/gui-vtable.c
      	* app/menus/plug-in-menus.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpfileprocview.c
      	* app/widgets/gimppluginaction.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly plus some
      	minor cosmetic cleanups.
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      9ffc00be
  14. 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.
      7f045637
  15. 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
      	stuff.
      
      	* 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.
      065db21d
  16. 11 Aug, 2004 1 commit
    • Michael Natterer's avatar
      added "display_ID" to gimp_new_progress(). · ca30f738
      Michael Natterer authored
      2004-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-gui.[ch]: added "display_ID" to gimp_new_progress().
      
      	* app/gui/gui-vtable.c: changed accordingly.
      
      	* app/plug-in/plug-in-progress.[ch]: reenabled showing the
      	progress in a particular display.
      ca30f738
  17. 20 Jan, 2003 1 commit
    • Michael Natterer's avatar
      renamed plug_in_progress_init() to plug_in_progress_start() so it matches · d407244f
      Michael Natterer authored
      2003-01-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-progress.[ch]: renamed plug_in_progress_init()
      	to plug_in_progress_start() so it matches plug_in_progress_end().
      	Added g_return_if_fail() to all functions.
      
      	* app/plug-in/plug-in.[ch]: plug_in_new(): require the passed
      	path to be absolute. Removed plug_in_search_in_path(). Replaced
      	some if(plug_in){...} by g_return_if_fail(plug_in!=NULL). Cleanup.
      
      	* app/plug-in/plug-ins.c: plug_ins_def_add_from_rc(): refuse to
      	add plug_in_defs with non-absolute paths (should never happen).
      	Misc cleanup all over the place like s/GSList *tmp/GSList *list/.
      
      	* app/plug-in/plug-in-params.c: cleanup.
      
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      
      	* app/gui/brush-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c: some code review & cleanup.
      d407244f
  18. 20 Mar, 2002 1 commit
    • Michael Natterer's avatar
      badly chopped into the new files below. Pass around much more "PlugIn" and · 47c5473e
      Michael Natterer authored
      2002-03-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in.[ch]: badly chopped into the new files below.
      	Pass around much more "PlugIn" and "Gimp" pointers instead of
      	using "current_plug_in" and "the_gimp". Needs much more hacking
      	though... :(
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-def.[ch]
      	* app/plug-in/plug-in-params.[ch]
      	* app/plug-in/plug-in-progress.[ch]
      	* app/plug-in/plug-ins.[ch]: new files.
      
      	* app/gui/Makefile.am
      	* app/gui/plug-in-commands.[ch]
      	* app/gui/plug-in-menus.[ch]: ditto.
      
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-in-types.h: changed accordingly.
      
      	* app/pdb/procedural_db.c: changed procedural_db_destroy_args()
      	so it can be used from plug_in_args_destroy(). Fixed a parasite
      	memory leak (or introduced a new SEGV, we'll see...).
      
      	* app/display/Makefile.am: another "truly ugly hack" until the
      	plug-in menu stuff is chopped even more...
      
      	* app/gui/commands.[ch]: removed filters_repeat_cmd_callback() here,
      	it is now in plug-in-commands.[ch].
      
      	* app/widgets/gimpitemfactory.[ch]: removed all gimp_menu_item_*()
      	hacks. We have a GimpItemFactory available in most cases we used
      	to call this functions, and can use gimp_item_factors_from_path()
      	in all other cases. The item factory stuff needs more work
      	anyway...
      
      	* app/app_procs.c
      	* app/gimphelp.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly (includes,
      	renamed functions and gimp_menu_item_*() removal).
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/help_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      47c5473e
  19. 12 Feb, 2002 2 commits
  20. 27 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/plug-in/Makefile.am new files that parse pluginrc using a GScanner. · 97824930
      Sven Neumann authored
      2001-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-rc.[ch]: new files that parse pluginrc using a
      	GScanner.
      
      	* app/plug-in/plug-in.[ch]: made PlugInDef public again so we can use
      	it from the pluginrc parser.
      
      	* tools/pdbgen/pdb/procedural_db.pdb: made regex string matching
      	robust against NULL pointers.
      
      	* app/pdb/procedural_db_cmds.c: regenerated.
      
      	* app/gimprc.c: removed old pluginrc parser.
      97824930
  21. 19 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/plug-in/Makefile.am new files. Started to split plug-in.c into smaller · 774caf0e
      Sven Neumann authored
      2001-12-19  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in-proc/plug-in-proc.[ch]: new files. Started to split
      	plug-in.c into smaller pieces.
      
      	* app/plug-in/plug-in-types.h: namespacified GimpRunModeType enum and
      	renamed it to GimpRunMode.
      
      	* app/plug-in/plug-in.[ch]
      	* app/gimphelp.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/file/file-utils.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.
      
      	* app/pdb/fileops_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* libgimp/gimpfileops_pdb.[ch]
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcompat.h: added gimpcompat.h mostly as a place to
      	document plug-in API changes.
      
      	* plug-ins/*: changed all occurences of GimpRunModeType to GimpRunMode.
      774caf0e
  22. 14 Dec, 2001 1 commit
    • Michael Natterer's avatar
      added GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and · 37269769
      Michael Natterer authored
      2001-12-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: added
      	GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and
      	GIMP_IMAGE_TYPE_BASE_TYPE() macros.
      
      	* app/plug-in/plug-in.[ch]: new enum PlugInImageType instead of
      	multiple #defines.
      
      	* app/gui/file-dialog-utils.[ch]: file_dialog_update_menus(): take
      	a GimpImageType instead of the PlugInImageType.
      
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimplayermask.c
      	* app/core/gimppalette-import.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/file-save-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/image.pdb: use the new macros, cleanups like
      	storing GimpImageType in GimpImageType variables, not just gint.
      
      	* app/pdb/convert_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      	* app/widgets/gimpdialogfactory.c: save the state of the "Auto"
      	button in sessionrc.
      37269769
  23. 08 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am new file that holds enums that are registered with · a65e1a39
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-enums.h: new file that holds enums that are registered
      	with the type system and is used to generate core-enums.c.
      
      	* app/core/core-types.h: include core-enums.h
      
      	* app/base/base-types.h: namespace cleanup. Prefix all enumeration
      	types with Gimp and their values with GIMP. Moved GimpLayerModeEffects
      	enum ...
      
      	* app/base/base-enums.h: ... here.
      
      	* app/image_map.c
      	* app/base/temp-buf.c
      	* app/core/gimpcontext.[ch]
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.[ch]
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/brush-select.c
      	* app/gui/layers-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/paint-funcs/paint-funcs.[ch]
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimptexttool.c
      	* app/tools/paint_options.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimpwidgets-constructors.[ch]
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      
      	* libgimpbase/gimpbasetypes.h: no need to chop GIMP prefix off the
      	enums any longer.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/gimprc.c: removed code to parse for "plug_in" keyword which was
      	left over from some very early gimp days.
      
      	* app/plug-in/plug-in.[ch]: removed now unused function plug_in_add().
      a65e1a39
  24. 01 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed... · 77863d88
      Michael Natterer authored
      2001-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/plug_in.[ch]: removed...
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/plug-in/plug-in.[ch]: ...and added here.
      
      	* app/appenv.h: removed StackTraceMode and MessageHandlerType...
      
      	* libgimpbase/gimpbasetypes.h: ...and added them here.
      
      	* tools/pdbgen/Makefile.am: don't scan "app/apptypes.h" for enums.
      
      	* tools/pdbgen/enumcode.pl: added a general check to prevent
      	enums which are defined in libgimp* from being written to
      	"libgimp/gimpenums.c".
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/core-types.h: include "pdb/pdb-types.h" so including
      	"core/core-types.h" gets the whole core type space.
      
      	* app/core/gimp.[ch]: added a "stack_trace_mode" parameter to the
      	constructor and store it in the Gimp struct because the value is
      	also passed to plug-ins and nobody should include "appenv.h".
      
      	* app/gimprc.[ch]: pass the alternate_system_gimprc and
      	alternate_gimprc filenames from the command line to gimprc_prase()
      	so we don't need to include "appenv.h".
      
      	* app/batch.[ch]: pass the "batch_cmds" as parameter, don't
      	include "append.h".
      
      	* app/app_procs.c: pass more parameters around.
      
      	* app/devices.c
      	* app/errors.c
      	* app/gimphelp.c
      	* app/main.c
      	* app/core/gimpgradient.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/gui/commands.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/xinput_airbrush.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly:
      
      	- changed "plug-in.h" include where needed.
      	- don't call gimp_fatal_error() directly, it's called via the log
      	  handler when calling g_error().
      	- don't incude "errors.h" except from main.c.
      	- changed stack_trace and message_handler enum names.
      	- get "stack_trace_mode" from Gimp.
      	- removed many inclusions of "appenv.h".
      
      	* 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.c: regenerated.
      77863d88
  25. 24 Nov, 2001 1 commit
  26. 19 Oct, 2001 1 commit
    • Michael Natterer's avatar
      link the app in a different order as some init functions are called from · cc83594b
      Michael Natterer authored
      2001-10-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: link the app in a different order as some init
      	functions are called from core/gimp.c instead of app_procs.c now.
      
      	* app/app_procs.[ch]: made app_init_update_status() private and
      	pass it as callback to various init functions.
      
      	* app/plug_in.[ch]: plug_in_init() take "gimp" and "status_callback"
      	parameters.
      
      	* app/undo.c: use "gimage->gimp" instead of "the_gimp", don't
      	include "app_procs.h".
      
      	* app/core/core-types.h: added "GimpInitStatusFunc" typedef.
      
      	* app/core/gimp.[ch]: gimp_initialize() and gimp_restore() now
      	take a "status_callback" as parameter. Don't include "app_procs.h".
      
      	* app/core/gimpmodules.c: putting the modules in a strong
      	container was a bad idea because it may be impossible to finalize
      	a GimpModuleInfo object belonging to a stalled module.
      
      	* app/gui/color-area.c: use G_N_ELEMENTS().
      
      	* app/gui/session.c: don't call app_init_update_status() and don't
      	include "app_procs.h" because this happens after the splash is
      	hidden.
      
      	* tools/pdbgen/app.pl
      	* app/pdb/internal_procs.[ch]: pass a "status_callback" to
      	internal_procs_init(), don't include "app_procs.h".
      
      	* plug-ins/Makefile.am: build gfig, gimpressionist and imagemap
      	again.
      
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_ui.c: s/gdk_image_unref/g_object_unref/
      
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gimpressionist/brush.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/gimpressionist/ppmtool.[ch]
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/imagemap/imap_browse.[ch]
      	* plug-ins/imagemap/imap_csim.y
      	* plug-ins/imagemap/imap_edit_area_info.c
      	* plug-ins/imagemap/imap_file.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/imagemap/imap_menu.c
      	* plug-ins/imagemap/imap_polygon.c
      	* plug-ins/imagemap/imap_popup.c
      	* plug-ins/imagemap/imap_preferences.c
      	* plug-ins/imagemap/imap_taglist.c
      	* plug-ins/imagemap/imap_tools.c: ported to current GLib/Gtk+.
      
      	* plug-ins/gap/gap_arr_dialog.c
      	* plug-ins/gap/gap_decode_xanim.c
      	* plug-ins/gap/gap_filter_foreach.c
      	* plug-ins/gap/gap_filter_main.c
      	* plug-ins/gap/gap_frontends_main.c
      	* plug-ins/gap/gap_lib.c
      	* plug-ins/gap/gap_main.c
      	* plug-ins/gap/gap_mod_layer.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gap/resize.c: half-way fixed this one too but I'm not
      	willing to fix tons of duplicated and deprecated app/ code...
      cc83594b
  27. 17 Oct, 2001 1 commit
    • Michael Natterer's avatar
      app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ · 18dd0728
      Michael Natterer authored
      2001-10-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpprogress.[ch]
      	* app/undo.c: s/GDisplay/GimpDisplay/
      
      	* app/plug_in.[ch]: removed unused boolean "destroy" field of
      	the PlugIn struct.
      
      	* app/core/gimpedit.c: don't include "app_procs.h"
      
      	* app/display/gimpdisplay-callbacks.c: moved the "grab_abd_scroll"
      	stuff from gimpdisplay-scroll.* here (less complicated and easier
      	to cleanup...)
      
      	* app/display/gimpdisplay-scroll.[ch]: removed here.
      
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-selection.[ch]
      	* app/display/gimpdisplayshell.c: s/GDisplay/GimpDisplay/g
      
      	* app/display/gimpdisplay.[ch]: ditto, removed gdisplay_active()
      	which was just a wrapper around
      	"gimp_context_get_display (gimp_get_user_context (the_gimp))"
      	(which is more to type but makes the use of the global
      	"the_gimp" variable more obvious).
      
      	* app/gui/color-area.h
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.h
      	* app/gui/paths-dialog.h
      	* app/gui/select-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/tools-commands.c
      	* app/gui/view-commands.c: s/GDisplay/GimpDisplay/, gdisplay_active()
      	removal, include "app_procs.h" for "the_gimp".
      
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpbrightnesscontrasttool.[ch]
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.[ch]
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimpeditselectiontool.h
      	* app/tools/gimphistogramtool.[ch]
      	* app/tools/gimphuesaturationtool.[ch]
      	* app/tools/gimplevelstool.[ch]
      	* app/tools/gimpmovetool.h
      	* app/tools/gimpperspectivetool.h
      	* app/tools/gimpposterizetool.[ch]
      	* app/tools/gimprotatetool.h
      	* app/tools/gimpscaletool.h
      	* app/tools/gimpsheartool.h
      	* app/tools/gimptexttool.h
      	* app/tools/gimpthresholdtool.[ch]
      	* app/tools/gimptool.[ch]
      	* app/tools/gimptransformtool.h
      	* app/tools/tool_manager.[ch]: lots of s/GDisplay/GimpDisplay/, made
      	all *_dialog_hide() functions private, cleanup.
      
      	* app/widgets/*: removed GtkType and gtk_type_* stuff entirely and
      	use GObject functions, removed lots of empty "destroy" methods and
      	use more type checking class cast macros instead of casting
      	directly.
      
      	* app/widgets/gimpcontainermenu.c: fixed item insert order.
      
      	* app/widgets/gimphistogramview.[ch]: cleaned up and renamed all
      	functions.
      
      	* app/widgets/gimpwidgets-utils.[ch]: removed gimp_dialog_hide() as
      	Gtk+ does the right thing (TM) now.
      
      	* tools/pdbgen/pdb/color.pdb: implemented "histogram" without
      	digging into tools/ and widgets/ (needs to be done for all
      	color PDB functions).
      
      	* tools/pdbgen/pdb/gimprc.pdb: no need to use "the_gimp" in a PDB
      	function as a "Gimp" pointer is passed to them all.
      
      	* tools/pdbgen/pdb/image.pdb: don't include "app_procs.h"
      
      	* app/pdb/color_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      	* app/pdb/procedural_db.c: don't include "app_procs.h"
      18dd0728
  28. 17 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added app/display/ and app/plug-in/. Empty for now except for the types · 01b780d6
      Michael Natterer authored
      2001-08-17  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added app/display/ and app/plug-in/. Empty for
      	now except for the types files.
      
      	* app/Makefile.am
      	* app/appenums.h
      	* app/apptypes.h: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/gui/Makefile.am
      	* app/gui/gui-types.h
      	* app/pdb/Makefile.am
      	* app/pdb/pdb-types.h: new files for typedefs.
      
      	* app/appenv.h: added MessageHandlerType and StackTraceMode here.
      
      	* app/undo_types.h: moved undo struct typedefs here.
      
      	* app/tools/tools-types.h
      	* app/core/core-types.h: added some enums and Tattoo here
      	(renamed to GimpTattoo).
      
      	* app/gdisplay.h: temp_hack: #include "display/display-types.h"
      
      	* app/gimphelp.c: s/gtk_idle_add/g_idle_add/
      
      	* app/gimprc.c: don't use "gimprc" in token handlers but the
      	passed "val1p" and "val2p".
      
      	* app/image_map.[ch]: cleanup in preparation of making a GObject
      	out of it.
      
      	* app/base/pixel-region.[ch]: no need to pass the
      	PixelRegionIterator around as void pointer.
      
      	* app/core/gimp.[ch]
      	* app/core/gimpcontext.[ch]
      	* app/core/gimptoolinfo.[ch]
      	* app/tools/tool_manager.c
      	* app/widgets/gimpdnd.c: added the standard_tool_info to the Gimp
      	object.
      
      	* app/batch.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/file-utils.c
      	* app/interface.c
      	* app/main.c
      	* app/path.[ch]
      	* app/pathP.h
      	* app/plug_in.h
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/gui/color-area.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/error-console-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/indicator-area.c
      	* app/gui/info-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/session.c
      	* app/gui/splash.c
      	* app/gui/view-commands.c
      	* app/tools/gimpinktool-blob.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimppreview.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c: changed accordingly: s/Tattoo/GimpTattoo/, include
      	the new types files, include <glib-object.h> instead of >gtk/gtk.h>.
      	Bad hacks to get rid of SELECTION_OFF and friends in core/ (will
      	be replaced ba a signal soon).
      
      	* tools/pdbgen/Makefile.am: changed list of headers scanned for
      	enums accordingly.
      
      	* app/pdb/procedural_db.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: same fixes as above, added
      	hacks to ensure that all foo-types.h files are included before all
      	other gimp internal includes, include "pdb-types.h" unconditionally.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/*_cmds.c: regenerated.
      01b780d6
  29. 28 Apr, 2001 1 commit
    • Michael Natterer's avatar
      added RunModeType. removed RunModeType. don't scan app/plug_in.h for · 06f63a44
      Michael Natterer authored
      2001-04-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenums.h: added RunModeType.
      	* app/plug_in.h: removed RunModeType.
      	* tools/pdbgen/Makefile.am: don't scan app/plug_in.h for enums.
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/file-open.[ch]
      	* app/file-save.[ch]
      	* app/file-utils.[ch]: removed all GUI specific code.
      
      	* app/gui/Makefile.am
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]: new files.
      	Renamed file_open() to 	file_open_with_display().
      
      	* app/app_procs.c
      	* app/docindex.c
      	* app/gimpdnd.c
      	* app/gui/commands.c
      	* app/gui/gui.c
      	* app/gui/menus.c: changed accordingly.
      06f63a44
  30. 07 Feb, 2001 1 commit
  31. 21 Jan, 2001 1 commit
    • Sven Neumann's avatar
      changed destdir for app-side PDB wrappers to app/pdb · 6a31b131
      Sven Neumann authored
      2001-01-21  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: changed destdir for app-side PDB wrappers to
      	app/pdb
      
      	* app/Makefile.am: don't create libgimpim.a in app.
      
      	* configure.in
      	* app/pdb/Makefile.am
      	* app/pdb/internal_procs.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/pdb/*_cmds.c: moved PDB functions into their own subdirectory.
      
      	* app/internal_procs.[ch]
      	* app/procedural_db.[ch]
      	* app/*_cmds.c: removed here
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/bezier_select.c
      	* app/brush_select.c
      	* app/bucket_fill.c
      	* app/colormap_dialog.c
      	* app/fileops.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimphelp.c
      	* app/gradient_select.c
      	* app/info_window.c
      	* app/invert.c
      	* app/lc_dialog.c
      	* app/menus.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/plug_in.h
      	* app/text_tool.c
      	* app/xcf.c
      	* po/POTFILES.in: changed accordingly
      6a31b131
  32. 14 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/apptypes.h app/brush_edit.c app/brush_select.c app/brushes_cmds.c · cac3f7cb
      Michael Natterer authored
      2001-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/brushes_cmds.c
      	* app/channel.h
      	* app/colormap_dialog.c
      	* app/datafiles.[ch]
      	* app/devices.c
      	* app/docindex.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpcontextpreview.c
      	* app/gimpdnd.c
      	* app/gimpdrawable.h
      	* app/gimpimage.[ch]
      	* app/gimplist.h
      	* app/gimpobject.h
      	* app/gimpset.[ch]
      	* app/gradient.c
      	* app/info_window.c
      	* app/layer.[ch]
      	* app/module_db.c
      	* app/palette.[ch]
      	* app/patterns.[ch]
      	* app/plug_in.[ch]
      	* app/undo_history.c
      	* app/xcf.c
      	* tools/pdbgen/pdb/brushes.pdb
      
      	- Removed the "name" argument from all objects and use
      	  GimpObject's name.
      	- Use the same code in all "uniquefy name" functions (this
      	  functionality will be a method of the "GimpContainer" class).
      	- Renamed the parent instances of all objects to "parent instance".
      	- Added missing instance and class cast macros.
      	- Changed some "gchar *" to "const gchar *" parameters.
      cac3f7cb
  33. 31 Dec, 2000 1 commit
    • Michael Natterer's avatar
      cleaned up a bit. · f16e01a2
      Michael Natterer authored
      2000-12-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h: cleaned up a bit.
      
      	* app/asupsample.[ch]
      	* app/blend.[ch]
      	* app/channel.h
      	* app/gimpprogress.[ch]
      	* app/layer.h
      	* app/perspective_tool.c
      	* app/plug_in.h
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* app/shear_tool.c
      	* app/transform_core.[ch]: s/gimp_progress/GimpProgress/g and some
      	changes related to the apptypes.h cleanup.
      f16e01a2
  34. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  35. 16 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Last-minute cleanup: · dfa2bed5
      Sven Neumann authored
      2000-12-16  Sven Neumann  <sven@gimp.org>
      
      	Last-minute cleanup:
      
      	* app/gimpdrawableF.h
      	* app/gimphistogramF.h
      	* app/gimpimageF.h
      	* app/gimplistF.h
      	* app/gimplutF.h
      	* app/gimpobjectF.h
      	* app/gimpsetF.h
      	* app/layerF.h
      	* app/parasitelistF.h: removed these files
      
      	* app/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly
      
      	* app/[almost every file]: include cleanup
      dfa2bed5
  36. 21 May, 2000 1 commit
    • Michael Natterer's avatar
      These changes enable help support for 3rd party plug-ins which install · 9c6b0b0c
      Michael Natterer authored
      2000-05-21  Michael Natterer  <mitch@gimp.org>
      
      	These changes enable help support for 3rd party plug-ins which
      	install their help files outside GIMP's main help dir.
      
      	Instead of calling gimp_help(), gimp_plugin_help_func() etc.,
      	all help callbacks now have to call gimp_standard_help_func()
      	which has different implementations in the app and in libgimp.
      
      	There is a new function gimp_plugin_help_register() which can
      	be called during plug-in query. plug_in.c keeps a list of
      	executable_name/help_path pairs. Plug-ins have to pass their
      	exec. name to gimp_help() which uses the list to find the plug-in's
      	help directory.
      
      	* app/gimphelp.[ch]: gimp_help() now takes a help_path parameter.
      	help_path == NULL means the standard help directory. Various
      	changes to pass the help_path to the help browser.
      
      	* app/gimprc.c: save the plug-in's help_path in the pluginrc file.
      
      	* app/menus.c: ugly hack to enable help_paths in the "F1" callback.
      
      	* app/plug_in.[ch]: many help_path related changes. Use g_basename()
      	instead of strrchr(str,G_DIR_SEPARATOR), cosmetic cleanups.
      
      	* app/internal_procs.c
      	* app/gimphelp_cmds.c
      	* tools/pdbgen/pdb/gimphelp.pdb: new procedure
      	gimp_plugin_help_register(). gimp_help() takes a second parameter
      	which is the executable name (not the help_path).
      
      	* app/color_notebook.c
      	* app/commands.c
      	* app/lc_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.c: call gimp_standard_help_func() instead of gimp_help().
      
      	* libgimp/gimp.c: new function gimp_get_progname() which returns
      	the full path of the plug-in's executable.
      
      	* libgimp/gimp.h: export the new function,
      	removed gimp_plugin_help_func(), gimp_help() takes the executable
      	name as second parameter.
      
      	* libgimp/gimpcompat.h: added gimp_plugin_help_func().
      
      	* libgimp/gimphelp.c: a wrapper for gimp_plugin_help_register(),
      	changed the calls to gimp_help.
      
      	* libgimp/gimphelpui.[ch]: call gimp_standard_help_func() instead
      	of gimp_help().
      
      	* plug-ins/helpbrowser/helpbrowser.c: now called with an additional
      	help_path parameter. Various changes to enable
      	help_path != gimp_standard_help_path.
      
      	Unrelated stuff:
      
      	* app/batch.h: added missing GPL header.
      
      	* app/gimpunit.c: had a LGPL header, merged some fprintf's into
      	one call.
      
      	* app/procedural_db.[ch]: cosmetic: g* types, s/g_malloc/g_new/,
      	prototypes, indentation.
      
      	* app/resize.c: use less packing widgets. didn't find the "offset"
      	redraw bug :(
      9c6b0b0c
  37. 24 Feb, 2000 1 commit
    • Sven Neumann's avatar
      app/fileops_cmds.c don't add an already registered load|save handler twice · 9ac098c3
      Sven Neumann authored
       * app/fileops_cmds.c
       * tools/pdbgen/pdb/fileops.pdb: don't add an already registered
       load|save handler twice to the list. This fixes the problem
       that extension were listed twice if a load|save plugin changed.
      
       * app/plug_in.[ch]: code cleanup, indentation
      
       * app/xcf.[ch]: same here, include copyright headers
      
       * plug-ins/common/wmf.c: properly cancel the load if the user
         pressed Cancel in the dialog (fixes bug #6500)
      
      
      --Sven
      9ac098c3
  38. 23 Feb, 2000 1 commit