Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 17, 2009
  1. @mitchfoo

    Change licence to GPLv3 (and to LGPLv3 for libgimp).

    mitchfoo authored Michael Natterer committed
    2009-01-17  Michael Natterer  <>
    	* 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
Commits on Nov 4, 2008
  1. bumped minimum required version of GLib to 2.18.0.

    Sven Neumann authored Sven Neumann committed
    2008-11-04  Sven Neumann  <sven@sven>
    	* bumped minimum required version of GLib to 
    	* INSTALL: document the updated dependency.
    	* app/core/gimp.[ch]: introduced gimp_message_literal(), a 
    	of gimp_message() that takes a literal string.
    	* app/errors.[ch]: removed format arguments from 
    	and gimp_terminate() and let them take a literal string instead.
    	* app/tools/gimptool.[ch]: introduced 
    	a variant of gimp_tool_message() that takes a literal string.
    	* app/actions/documents-commands.c
    	* app/actions/drawable-commands.c
    	* app/actions/edit-commands.c
    	* app/actions/error-console-commands.c
    	* app/actions/file-commands.c
    	* app/actions/gradients-commands.c
    	* app/actions/image-commands.c
    	* app/actions/layers-commands.c
    	* app/actions/palettes-commands.c
    	* app/actions/plug-in-commands.c
    	* app/actions/select-commands.c
    	* app/actions/vectors-commands.c
    	* app/config/gimprc.c
    	* app/core/gimp-modules.c
    	* app/core/gimp-parasites.c
    	* app/core/gimp-templates.c
    	* app/core/gimp-units.c
    	* app/core/gimpchannel.c
    	* app/core/gimpcontainer-filter.c
    	* app/core/gimpdrawable-bucket-fill.c
    	* app/core/gimpimage-convert.c
    	* app/core/gimpimage-merge.c
    	* app/core/gimpimage.c
    	* app/core/gimpimagefile.c
    	* app/core/gimplayer-floating-sel.c
    	* app/core/gimplayer.c
    	* app/core/gimpselection.c
    	* app/dialogs/convert-dialog.c
    	* app/dialogs/dialogs.c
    	* app/dialogs/palette-import-dialog.c
    	* app/dialogs/preferences-dialog.c
    	* app/dialogs/quit-dialog.c
    	* app/dialogs/stroke-dialog.c
    	* app/display/gimpdisplayshell-dnd.c
    	* app/file/file-open.c
    	* app/file/file-procedure.c
    	* app/file/file-save.c
    	* app/file/file-utils.c
    	* app/gegl/gimpcurvesconfig.c
    	* app/gegl/gimplevelsconfig.c
    	* app/gui/gui-message.c
    	* app/gui/gui.c
    	* app/gui/session.c
    	* app/paint/gimpbrushcore.c
    	* app/paint/gimpclone.c
    	* app/paint/gimpheal.c
    	* app/paint/gimpperspectiveclone.c
    	* app/paint/gimpsourcecore.c
    	* app/pdb/gimppdb-utils.c
    	* app/pdb/gimpprocedure.c
    	* app/plug-in/gimpplugin-message.c
    	* app/plug-in/gimpplugin.c
    	* app/plug-in/gimppluginmanager-restore.c
    	* app/plug-in/gimppluginprocedure.c
    	* app/text/gimptextlayer.c
    	* app/tools/gimp-tools.c
    	* app/tools/gimpaligntool.c
    	* app/tools/gimpblendtool.c
    	* app/tools/gimpbrightnesscontrasttool.c
    	* app/tools/gimpbucketfilltool.c
    	* app/tools/gimpcolorbalancetool.c
    	* app/tools/gimpcolorpickertool.c
    	* app/tools/gimpcurvestool.c
    	* app/tools/gimpdesaturatetool.c
    	* app/tools/gimpeditselectiontool.c
    	* app/tools/gimpforegroundselecttool.c
    	* app/tools/gimpfreeselecttool.c
    	* app/tools/gimpgegltool.c
    	* app/tools/gimphuesaturationtool.c
    	* app/tools/gimpimagemaptool-settings.c
    	* app/tools/gimpiscissorstool.c
    	* app/tools/gimplevelstool.c
    	* app/tools/gimpmeasuretool.c
    	* app/tools/gimppainttool.c
    	* app/tools/gimpposterizetool.c
    	* app/tools/gimpselectiontool.c
    	* app/tools/gimpsourcetool.c
    	* app/tools/gimpthresholdtool.c
    	* app/tools/gimptransformtool.c
    	* app/tools/gimpvectortool.c
    	* app/widgets/gimpactionview.c
    	* app/widgets/gimpcontrollerlist.c
    	* app/widgets/gimpcontrollers.c
    	* app/widgets/gimpdataeditor.c
    	* app/widgets/gimpdevices.c
    	* app/widgets/gimpdnd-xds.c
    	* app/widgets/gimperrordialog.c
    	* app/widgets/gimphelp.c
    	* app/widgets/gimpitemtreeview.c
    	* app/widgets/gimppdbdialog.c
    	* app/widgets/gimpsettingsbox.c
    	* app/widgets/gimpvectorstreeview.c
    	* app/widgets/gimpwidgets-utils.c
    	* app/xcf/xcf-load.c
    	* tools/pdbgen/pdb/convert.pdb
    	* tools/pdbgen/pdb/edit.pdb
    	* tools/pdbgen/pdb/floating_sel.pdb
    	* tools/pdbgen/pdb/image.pdb: use the _literal variants for
    	g_set_error(), gimp_message() and gimp_tool_message().
    	* app/pdb/convert-cmds.c
    	* app/pdb/edit-cmds.c
    	* app/pdb/floating-sel-cmds.c
    	* app/pdb/image-cmds.c: regenerated.
    svn path=/trunk/; revision=27548
Commits on Jun 13, 2007
  1. added errors_exit() and unset the Gimp reference. Errors may occur after

    Sven Neumann authored Sven Neumann committed
    2007-06-13  Sven Neumann  <>
    	* app/errors.[ch]: added errors_exit() and unset the Gimp
    	reference. Errors may occur after the Gimp object has been finalized.
    	* app/app.c (app_run): call errors_exit().
    svn path=/trunk/; revision=22768
Commits on Jan 26, 2007
  1. Make the handling of console output make more sense Win32. Should mostly

    Tor Lillqvist authored Tor Lillqvist committed
    2007-01-26  Tor Lillqvist  <>
    	Make the handling of console output make more sense Win32. Should
    	mostly fix #400927.
    	* app/app_procs.c (app_exit): Drop the Win32 "This console window
    	will close in ten seconds" message from here.
    	(app_run): Drop the call to FreeConsole() from here. GIMP is built
    	as a GUI executable on Windows, and in case we do open a fresh
    	console window in main() (see below), we shouldn't then
    	immediately close it here.
    	* app/errors.c (errors_init): Drop printing the "You can mimize
    	this window, but don't close it" message on Win32 from here.
    	* app/main.c (gimp_open_console_window): New Win32-only
    	function. If either stdout or stderr are unconnected, open a new
    	console window and connect stdout and/or stderr to it as
    	needed. Set the console title to "GIMP output. You can minimize
    	this window, but don't close it." Register an atexit function that
    	waits for the user to close the console window.
    	(wait_console_window): New Win32-only function. Registered as an
    	atexit function when GIMP has opened a new console window. Prompts
    	the user to type any character to close the window.
    	(main, gimp_show_version): Always call gimp_open_console_window()
    	in the unstable version. As the "This is a development version of
    	GIMP. Debug messages may appear here" message says, one point of
    	the unstable version is that debug messages should be visible, so
    	I think it makes sense to always see them in an unstable
    	version. In stable versions, call gimp_open_console_window() only
    	if options that cause output that the user wants to see were
    	given, like --help and --version.
    svn path=/trunk/; revision=21781
Commits on Dec 9, 2006
  1. In all files, changed the standard copyright notice to say "GIMP - Th…

    Sven Neumann authored Sven Neumann committed
    …e GNU
    2006-12-09  Sven Neumann  <>
            * In all files, changed the standard copyright notice to say
            "GIMP - The GNU Image Manipulation Program".
Commits on Oct 9, 2006
  1. @mitchfoo

    Added message severities and make sure all messages are routed through a

    mitchfoo authored Michael Natterer committed
    2006-10-09  Michael Natterer  <>
    	Added message severities and make sure all messages are routed
    	through a central function, so redirecting to the error console or
    	stderr work again:
    	* app/core/core-enums.[ch]: added enum GimpMessageSeverity { INFO,
    	* app/core/gimp.[ch] (gimp_message)
    	(gimp_message_valist): added severity parameter. Changed
    	"GimpProgress *progress" parameter to "GObject *handler", where
    	"handler" can be either a GimpProgress, a GtkWidget or NULL.
    	* app/core/gimp-gui.[ch] (gimp_show_message): ditto. Honor
    	--console-messages again. Always dispatch to the GUI message
    	handler first if it exists.
    	* app/gui/gui-message.[ch]: pass severity parameters around.
    	(gui_message_error_dialog): if "handler" is a progress, dispatch
    	the message to it first. If it is a widget (and *not* a progress),
    	use a GtkMessageDialog on top of that widget's toplevel. Fall
    	back to the usual GimpErrorDialog otherwise.
    	* app/core/gimpprogress.[ch] (gimp_progress_message): added
    	severity parameter. Also added boolean return value to the virtual
    	function so it can decide to fail if it can't handle the message.
    	* app/display/gimpdisplay.c: implement GimpProgress::message() and
    	redirect the message to GimpDisplayShell.
    	* app/display/gimpdisplayshell-progress.c: implement
    	GimpProgress::message() and redirect the message to GimpStatusbar
    	if it is not an error and if the status bar is visible.
    	* app/display/gimpstatusbar.[ch]: implement GimpProgress::message(),
    	but fail on messages that contain a newline. Show the right icons
    	for the message severities (work in progress).
    	* app/display/gimpdisplayshell.[ch]: removed
    	gimp_display_shell_message() and its _valist() variant.
    	* app/widgets/gimperrorconsole.[ch]: show the right icons for the
    	message severities.
    	* app/widgets/gimpthumbbox.c (gimp_thumb_box_progress_message):
    	return TRUE to swallow all messages.
    	* app/widgets/gimpwidgets-utils.[ch]: removed
    	gimp_show_message_dialog(). Added gimp_get_message_stock_id().
    	* app/errors.c
    	* app/actions/edit-commands.c
    	* app/actions/error-console-commands.c
    	* app/actions/file-commands.c
    	* app/actions/select-commands.c
    	* app/actions/text-editor-commands.c
    	* app/actions/vectors-commands.c
    	* app/core/gimpimage-convert.c
    	* app/core/gimpimagefile.c
    	* app/dialogs/convert-dialog.c
    	* app/dialogs/file-open-dialog.c
    	* app/dialogs/file-open-location-dialog.c
    	* app/dialogs/file-save-dialog.c
    	* app/dialogs/palette-import-dialog.c
    	* app/dialogs/stroke-dialog.c
    	* app/display/gimpdisplayshell-dnd.c
    	* app/pdb/gimppdb.c
    	* app/plug-in/gimpplugin.c
    	* app/tools/gimpimagemaptool.c
    	* app/tools/gimptool.c
    	* app/tools/gimpvectortool.c
    	* app/widgets/gimpactionview.c
    	* app/widgets/gimpcontrollerlist.c
    	* app/widgets/gimppdbdialog.c
    	* app/widgets/gimpvectorstreeview.c
    	* app/xcf/xcf-load.c
    	* app/xcf/xcf-save.c
    	* app/xcf/xcf.c
    	* tools/pdbgen/pdb/brush.pdb
    	* tools/pdbgen/pdb/gradient.pdb
    	* tools/pdbgen/pdb/image.pdb
    	* tools/pdbgen/pdb/message.pdb
    	* tools/pdbgen/pdb/palette.pdb: added severity parameter to
    	gimp_message() calls. Convert all calls to
    	gimp_show_message_dialog() and gimp_display_shell_message() to
    	gimp_message(). Also converted some more g_message() calls.
    	* app/pdb/brush_cmds.c
    	* app/pdb/gradient_cmds.c
    	* app/pdb/image_cmds.c
    	* app/pdb/message_cmds.c
    	* app/pdb/palette_cmds.c: regenerated.
Commits on Sep 10, 2006
  1. app/errors.c minor cleanup.

    Sven Neumann authored Sven Neumann committed
    2006-09-10  Sven Neumann  <>
    	* app/errors.c
    	* app/gui/gui-vtable.c: minor cleanup.
Commits on Sep 9, 2006
  1. app/app_procs.c moved some code from app_run() to errors_init().

    Sven Neumann authored Sven Neumann committed
    2006-09-09  Sven Neumann  <>
    	* app/app_procs.c
    	* app/errors.[ch]: moved some code from app_run() to
  2. app/app_procs.[ch] initialize the error subsystem after the gimp object

    Sven Neumann authored Sven Neumann committed
    2006-09-09  Sven Neumann  <>
    	* app/app_procs.[ch]
    	* app/main.c: initialize the error subsystem after the gimp
    	has been created.
    	* app/errors.[ch]: store a reference to the gimp object (eek)
    	use it to call gimp_gui_ungrab() before g_on_error_query().
    	* app/core/gimp-gui.[ch]
    	* app/gui/gui-vtable.c: added gimp_gui_ungrab().
Commits on Aug 8, 2006
  1. app/core/gimp-gui.[ch] renamed gimp_message() to gimp_show_message()

    Sven Neumann authored Sven Neumann committed
    2006-08-08  Sven Neumann  <>
    	* app/core/gimp-gui.[ch]
    	* app/gui/gui-vtable.c: renamed gimp_message() to
    	* app/errors.c
    	* tools/pdbgen/pdb/message.pdb: changed accordingly.
    	* app/pdb/message_cmds.c: regenerated.
Commits on Jul 19, 2006
  1. Make message dialogs transient for the progress window. Addresses bug

    Sven Neumann authored Sven Neumann committed
    2006-07-19  Sven Neumann  <>
    	Make message dialogs transient for the progress window.
    	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/
    	* app/gui/gui-message.[ch]
    	* app/gui/gui-vtable.c: moved message handling to a new file.
    	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
    	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.
Commits on Jun 16, 2006
  1. @yosh

    app/errors.c app/main.c app/file/gimprecentlist.c libgimpbase/gimpsig…

    yosh authored Manish Singh committed
    2006-06-16  Manish Singh  <>
            * app/errors.c
            * app/main.c
            * app/file/gimprecentlist.c
            * libgimpbase/gimpsignal.c
            * libgimp/gimp.c
            * modules/controller_midi.c
            * plug-ins/common/gqbist.c: use _GNU_SOURCE instead of the other
            _FOO_SOURCE variables to support -ansi -pedantic on glibc systems,
            since anything else breaks compilation of otherwise working code.
            Fixes bug #344203.
Commits on May 30, 2006
  1. @yosh

    app/errors.c app/main.c app/file/gimprecentlist.c libgimp/gimp.c

    yosh authored Manish Singh committed
    2006-05-29  Manish Singh  <>
            * app/errors.c
            * app/main.c
            * app/file/gimprecentlist.c
            * libgimp/gimp.c
            * libgimpbase/gimpsignal.c
            * modules/cdisplay_lcms.c
            * modules/cdisplay_proof.c
            * modules/controller_midi.c
            * plug-ins/common/gqbist.c
            * plug-ins/metadata/xmp-schemas.h: miscellaneous fixes for building
            with -ansi -pedantic. Mostly #define _FOO_SOURCE stuff. Thanks to
            Daniel Richard G. for the patch. Fixes bug #342390.
Commits on Apr 12, 2006
  1. app/*.[ch] converted tabs to spaces.

    Sven Neumann authored Sven Neumann committed
    2006-04-12  Sven Neumann  <>
    	* app/*.[ch]
    	* app/*/*.[ch]: converted tabs to spaces.
Commits on Nov 4, 2005
  1. app/errors.c s/The GIMP/GIMP/

    Sven Neumann authored Sven Neumann committed
    2005-11-04  Sven Neumann  <>
    	* app/errors.c
    	* app/sanity.c: s/The GIMP/GIMP/
Commits on Feb 5, 2004
  1. Added a conditional definition of the preprocessor symbol GIMP_UNSTAB…

    Raphaël Quinet authored Raphaël Quinet committed
    …LE if
    2004-02-05  Raphaël Quinet  <>
    	* Added a conditional definition of the preprocessor
    	symbol GIMP_UNSTABLE if the autoconf symbol GIMP_UNSTABLE is
    	* app/errors.c (gimp_errors_init): Replaced the #if test on
    	GIMP_MINOR_VERSION modulo 2 by #ifdef GIMP_UNSTABLE.
    	* app/composite/gimp-composite.c (gimp_composite_init): Print the
    	init messages only in unstable versions.  Split the messages in
    	two lines and mention "supported by gimp_composite" in order to
    	give a hint that the availability of some features depends also on
    	what code has been written.  Fixes bug #128825.
Commits on Jan 23, 2004
  1. @mitchfoo

    app/app_procs.c app/errors.c app/main.c app/config/gimpconfigwriter.c

    mitchfoo authored Michael Natterer committed
    2004-01-23  Michael Natterer  <>
    	* app/app_procs.c
    	* app/errors.c
    	* app/main.c
    	* app/config/gimpconfigwriter.c
    	* app/core/gimpdata.c
    	* app/core/gimpdatafactory.c
    	* app/gui/user-install-dialog.c
    	* app/plug-in/plug-ins.c
    	* app/vectors/gimpvectors-import.c: some more gimp_filename_to_utf8().
    	* libgimp/gimp.c
    	* libgimpmodule/gimpmodule.c
    	* libgimpmodule/gimpmoduledb.c: use it here, too, now that is in
Commits on Nov 17, 2003
  1. unref the gimp object after dumping the configuration as a test for

    Sven Neumann authored Sven Neumann committed
    2003-11-17  Sven Neumann  <>
    	* app/main.c: unref the gimp object after dumping the
    	configuration as a test for Gimp::finalize.
    	* app/base/base.[ch]: keep a reference on the config object.
    	Renamed parameter "use_mmx" to "use_cpu_accel".
    	* app/core/gimp.[ch]: call base_init() and base_exit() from
    	app_procs.c, not from the Gimp object.
    	* app/app_procs.[ch]: renamed app_init() to app_run() since here's
    	where the main loop is run. Actually quit the main loop in
    	app_exit_after_callback() instead of just calling exit().
    	* app/errors.[ch]: declared fatal error handlers as G_GNUC_NORETURN.
    	* libgimp/gimp.h: fixed usage of G_GNUC_NORETURN.
Commits on Oct 24, 2003
  1. fixed spelling of The GIMP.

    Sven Neumann authored Sven Neumann committed
    2003-10-24  Sven Neumann  <>
    	* app/errors.c (gimp_errors_init): fixed spelling of The GIMP.
Commits on Oct 21, 2003
  1. base/base.c (base_init) moved the message about possible debug messag…

    Sven Neumann authored Sven Neumann committed
    …es to
    2003-10-21  Sven Neumann  <>
    	* base/base.c (base_init)
    	* app/errors.c (gimp_errors_init): moved the message about
    	possible debug messages to gimp_errors_init() so that it appears
    	before any startup debug output.
    	* app/app_procs.c (app_init): register a log handler for the
    	GimpConfig log domain.
    	* app/widgets/gimpwidgets-utils.c (gimp_message_box)
    	* app/core/gimp.c (gimp_message): added an extra newline when
    	sending messages to stderr. Don't output the full progname for
    	messages; use a simple "GIMP" like the GUI message handler does.
    	* app/gui/user-install-dialog.c: removed function copy_file()...
    	* app/config/gimpconfig-utils.[ch]: ... and added it here as
    	gimp_config_file_copy(). Also added utility function
    	* app/config/gimprc.c (gimp_rc_load): if the user gimprc can't be
    	parsed, create a backup and if that succeeds unlink the broken one
    	to cure the problem.
    	* app/gui/session.c: create a backup if sessionrc can't be parsed.
    	* config/gimpconfig-deserialize.c (gimp_config_deserialize_properties):
    	don't set an error when token is G_TOKEN_NONE; it should already
    	be set then.
Commits on Oct 10, 2003
  1. app/errors.c (gimp_eek) app/main.c (main) (gimp_text_console_exit) call

    Sven Neumann authored Sven Neumann committed
    2003-10-10  Sven Neumann  <>
    	* app/errors.c (gimp_eek)
    	* app/main.c (main) (gimp_text_console_exit)
    	* app/gui/user-install-dialog.c (user_install_cancel_callback):
    	call exit() with EXIT_SUCCESS or EXIT_FAILURE instead of 0 and 1.
Commits on Sep 10, 2003
  1. @tml1024

    Tell it's outdated.

    tml1024 authored Tor Lillqvist committed
    2003-09-10  Tor Lillqvist  <>
    	* config.h.win32: Tell it's outdated.
    	* app/errors.c (gimp_eek): [Win32] Use full_prog_name, show also
    	* app/xcf/xcf.c (xcf_load_args, xcf_save_arge): Document that
    	filename is in the on-disk charset and encoding, and raw_filename
    	is just the basename, in UTF-8.
    	(xcf_save_invoker): Convert filename to UTF-8 before passing to
Commits on Sep 9, 2003
  1. @mitchfoo

    Got rid of the last global variables except the_gimp:

    mitchfoo authored Michael Natterer committed
    2003-09-09  Michael Natterer  <>
    	Got rid of the last global variables except the_gimp:
    	* app/
    	* app/appenv.h: removed this file.
    	* app/errors.[ch] (gimp_errors_init): new function which lets the
    	error system know about "full_prog_name", "stack_trace_mode" and
    	"debug_handlers". Remember these values privately.
    	* app/app_procs.[ch] (app_init): added "full_prog_name" and
    	"stack_trace_mode" parameters here too.
    	* app/main.c (main): call gimp_errors_init() and pass the
    	additional parameters to app_init().
  2. @mitchfoo

    added "gboolean console_messages" to the Gimp struct and to gimp_new()

    mitchfoo authored Michael Natterer committed
    2003-09-09  Michael Natterer  <>
    	* app/core/gimp.[ch]: added "gboolean console_messages" to the
    	Gimp struct and to gimp_new() since plug-in messages go directly
    	through gimp_message() now and need to honor "console_messages"
    	* app/app_procs.[ch]: added "gboolean console_messages" to
    	app_init() and pass it to gimp_new().
    	* app/appenv.h: removed global variable "console_messages".
    	* app/main.c: added it to main()'s scope and pass it to app_init().
    	* app/errors.c: changed accordingly.
Commits on Jun 13, 2003
  1. @mitchfoo

    Cleaned up and improved the message system:

    mitchfoo authored Michael Natterer committed
    2003-06-13  Michael Natterer  <>
    	Cleaned up and improved the message system:
    	* app/core/gimp.[ch]: added "const gchar *domain" to
    	GimpMessageFunc (a NULL domain means the message is from the GIMP
    	core, everything else is a plug-in).
    	* app/errors.c: pass "domain == NULL" to gimp_message().
    	* tools/pdbgen/pdb/message.pdb: derive the message domain from the
    	current plug-in's menu_path (evil hack but works reasonably well).
    	* app/pdb/message_cmds.c: regenerated.
    	* app/widgets/gimpwidgets-utils.[ch] (gimp_message_box): added a
    	header showing the message domain and changed the dialog layout to
    	follow the HIG more closely.
    	* app/gui/error-console-dialog.[ch]: removed.
    	* app/widgets/gimperrorconsole.[ch]
    	* app/gui/error-console-commands.[ch]
    	* app/gui/error-console-menu.[ch]: new files containing a
    	re-implementation of the error console dialog.
    	* app/gui/
    	* app/gui/dialogs-constructors.c
    	* app/gui/gui.c
    	* app/gui/menus.c
    	* app/widgets/
    	* app/widgets/widgets-types.h: changed accordingly.
    	* app/display/gimpprogress.c: added more spacing and removed the
    	separator (more HIG compliant).
    	* plug-ins/[most plug-ins].c: Changed lots of messages and
    	progress strings:
    	- Removed plug-in names from messages since that's automatically
    	  covered by "domain" now.
    	- Put all filenames in ''.
    	- Changed "Loading" to "Opening".
    	- Added "..." to all progress messages.
    	- Cleaned up all file open/save error messages to look the
    	  same and include g_strerror(errno).
    	- Removed special casing for progress bars and *always* show them,
    	  not only if run_mode != GIMP_RUN_NONINTERACTIVE (we can't expect
    	  all plug-ins to do this correctly but need to hack the core to
    	  sort out unwanted progress bars).
    	- Cleaned up indentation, spacing, #includes, coding style and
    	  other stuff while I was at all these files.
Commits on May 29, 2003
  1. @mitchfoo

    removed the calls to g_log_set_handler().

    mitchfoo authored Michael Natterer committed
    2003-05-29  Michael Natterer  <>
    	* app/main.c (main): removed the calls to g_log_set_handler().
    	* app/app_procs.[ch] (app_init): added the g_log_set_handler()
    	calls and pass them the global Gimp instance as user_data.
    	Renamed app_gui_init() to app_gui_libs_init().
    	* app/errors.c: use the passed Gimp pointer instead of using
    	"the_gimp". Don't #include "app_procs.h".
    	* app/gui/gui.[ch]: removed gui_get_screen_resolution().
    	* app/widgets/gimpwidgets-utils.[ch]: added
    	* app/display/gimpdisplayshell-handlers.c
    	* app/display/gimpdisplayshell.c
    	* app/gui/preferences-dialog.c
    	* app/gui/user-install-dialog.c: changed accordingly.
    	* app/display/gimpdisplayshell.c: don't #include "gui/gui.h".
Commits on Dec 1, 2001
  1. @mitchfoo

    forgot a "return".

    mitchfoo authored Michael Natterer committed
    2001-12-01  Michael Natterer  <>
    	* app/errors.c: forgot a "return".
    	* app/gui/error-console-dialog.c: the menu item signals were
    	connected "swapped", which is wrong.
    	* app/tools/gimperasertool.c: added a cursor_update_func(), update
    	the "toggled" state there and chain up. Fixes wrong cursor
    	Made brush_pipe slection work again, removed the #warnings:
    	* app/core/gimpbrush.[ch]
    	* app/core/gimpbrushpipe.c: changed brush_class->select_brush()
    	and brush_class->want_null_motion() to be proper virtual
    	functions. Pass last_coords and cur_coords to them.
    	* app/tools/gimppainttool.c: call the functions again.
  2. @mitchfoo

    app/main.c moved "message_handler" from here...

    mitchfoo authored Michael Natterer committed
    2001-12-01  Michael Natterer  <>
    	* app/main.c
    	* app/appenv.h: moved "message_handler" from here...
    	* app/core/gimp.[ch]: here. Added gimp_message() and a
    	"gui_message_func" pointer...
    	* app/gui/gui.c: ...which gets set here to gui_message().
    	* app/errors.c: don't include any gui stuff but simply call
    	* app/app_procs.c: don't set "message_handler" here, it's done in
    	gui.c now.
    	* app/gui/error-console-dialog.[ch]: use gimp->message_handler.
    	* app/gui/dialogs-constructors.c: pass a Gimp pointer to
    	* app/widgets/gimpwidgets-utils.[ch]: made the "message" parameter
    	of gimp_message_box() a const gchar*, not just gchar*.
    	* tools/pdbgen/pdb/message.pdb: use gimp->message_handler, don't
    	include "appenv.h".
    	* app/pdb/message_cmds.c: regenerated.
    	* app/devices.[ch]: cleanup before chopping: removed global
    	variable "current_device", added devices_get_current(), pass lots
    	of Gimp pointers around.
    	* app/gimprc.c: pass a Gimp pointer to devices_rc_update().
    	* app/display/gimpdisplayshell-callbacks.c
    	* app/gui/toolbox.c
    	* app/tools/gimppainttool.c: use devices_get_current(), pass Gimp
    	pointers to all devices_foo() functions.
    	* app/core/gimpimage-mask.c: no need to include "pdb/pdb-types.h".
  3. @mitchfoo

    app/ removed...

    mitchfoo authored Michael Natterer committed
    2001-11-30  Michael Natterer  <>
    	* app/
    	* app/plug_in.[ch]: removed...
    	* app/plug-in/
    	* 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/ don't scan "app/apptypes.h" for enums.
    	* tools/pdbgen/ added a general check to prevent
    	enums which are defined in libgimp* from being written to
    	* libgimp/gimpenums.h
    	* plug-ins/script-fu/script-fu-constants.c
    	* tools/pdbgen/ 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.
Commits on Nov 23, 2001
  1. @mitchfoo

    removed a useless g_return_if_fail().

    mitchfoo authored Michael Natterer committed
    2001-11-23  Michael Natterer  <>
    	* app/core/gimpcontainer.c: removed a useless g_return_if_fail().
    	* app/widgets/gimpcontainereditor.h: removed GimpViewType enum.
    	* app/widgets/widgets-types.h: added it here.
    	* app/widgets/gimpcontainerview-utils.[ch]: added a utility function
    	which gets the GimpContainerView out of a GimpDockable.
    	* app/widgets/gimpdialogfactory.[ch]: added support for saving and
    	loading of each GimpDockable's preview size. Store the dialog's
    	default preview size in the GimpDialogFactoryEntry.  Pass the
    	preview_size to each created dialog.
    	* app/gui/menus.c: added menu items for setting the preview_size
    	and switching between list and grid view. Removed the item
    	overkill in the "Add Tab" submenu.
    	* app/gui/dialogs-commands.[ch]: added callbacks for the new items.
    	* app/widgets/gimpdockbook.c: set the item's state before showing
    	the menu.
    	* app/errors.c
    	* app/gui/dialogs-constructors.[ch]
    	* app/gui/dialogs.c
    	* app/gui/edit-commands.c
    	* app/gui/gui.c
    	* app/gui/indicator-area.c
    	* app/gui/toolbox.c: changed accordingly.
    	* app/tools/selection_options.[ch]: cleaned up the selection
    	options and added some tooltips. Much more to do...
Commits on Sep 19, 2001
  1. require GTK+-1.3.8 and PangoFT2-0.19.

    Sven Neumann authored Sven Neumann committed
    2001-09-19  Sven Neumann  <>
    	* require GTK+-1.3.8 and PangoFT2-0.19.
    	* app/devices.c:
    	* app/tools/gimppainttool.c: removed intermediate hacks that are no
    	longer needed with the new GTK+ release.
    	* app/plug_in.c
    	* libgimp/gimp.[ch]
    	* libgimp/gimpui.c
    	* libgimpbase/gimpprotocol.[ch]: removed use_xshm and color_cube
    	variables and accessor functions.
    	* app/errors.c: use gtk_exit() instead of gdk_exit().
    	* app/gdisplay.c: use Pango API to determine cursor label width. This
    	does not work correctly, but at least it compiles...
    	* app/gui/splash.c: follow Pango API changes.
    	* app/tools/gimpcurvestool.[ch]: use PangoLayouts to draw text.
    	* app/tools/gimptexttool.c: follow Pango API changes.
    	* app/widgets/gimpfontselection-dialog.c
    	* app/widgets/gimpfontselection.c: mostly rewritten following the
    	changes in GtkFontSelection. This is unusable at the moment and
    	crashes, but at least it compiles again...
    	* plug-ins/ temporarily disabled build of ifscompose since
    	it does not compile any longer after the latest GDK cleanups.
    	* plug-ins/common/nlfilt.c: gimp_color_cube() is obsolete.
Commits on Aug 7, 2001
  1. @mitchfoo


    mitchfoo authored Michael Natterer committed
    2001-08-07  Michael Natterer  <>
    	* libgimpwidgets/gimpbutton.[ch]: cleanup.
    	* app/
    	* app/errorconsole.[ch]: removed...
    	* app/gui/
    	* app/gui/error-console-dialog.[ch]: ...added here. Lots of cleanup,
    	create a vbox instead of a dialog.
    	* app/gui/dialogs-constructors.c
    	* app/gui/dialogs.c: added a dockable for the error console.
    	* app/errors.c
    	* app/gui/gui.c
    	* app/gui/menus.c: changed accordingly.
    	* app/widgets/gimpcontainerview.c: conntect "extended_clicked" to
    	the "extended_clicked" callback, not "clicked".
    	* app/widgets/gimplayerlistview.c: set the layer option box'
    	spacing in "style_set".
    	* app/widgets/gimplistitem.c: argh.
    	* themes/Default/gtkrc: changed the default theme to set a smaller
    	font only for the dockable because that's where saving screen
    	estate really makes sense. May need some further tweaking.
Commits on Jul 25, 2001
  1. app_procs.c errors.c errors.h file-save.c gdisplay.c module_db.c use

    Sven Neumann authored Sven Neumann committed
    2001-07-25  Sven Neumann  <>
    	* app_procs.c
    	* errors.c
    	* errors.h
    	* file-save.c
    	* gdisplay.c
    	* module_db.c
    	* undo.c: use GObject functions and const fixes.
Commits on Jul 10, 2001
  1. @mitchfoo

    removed the gimp_busy boolean, check whether user_installation is needed

    mitchfoo authored Michael Natterer committed
    2001-07-10  Michael Natterer  <>
    	* app/app_procs.[ch]: removed the gimp_busy boolean, check whether
    	user_installation is needed here, not in user_install.c, parse
    	gtkrc an friends only if(!no_interface), create the Gimp object
    	before parsing gimp's rc files an pas it to the parse functions,
    	many other cleanups.
    	* app/appenums.h: added MessageHandlerType and StackTraceMode.
    	* app/appenv.h: removed MessageHandlerType, declare all global
    	variables from main.c (no more hidden global stuff please).
    	* app/errors.[ch]: added the fatal message func here (from main.c),
    	removed the StackTraceMode enum.
    	* app/gimprc.[ch]: renamed functions to gimprc_*(), pass a Gimp
    	pointer to some functions.
    	* app/gimpunit.c
    	* app/unitrc.h: ok, this is ugly: renamed all functions to
    	_gimp_unit_*() and made them public. The unit list is part
    	of the Gimp object now, so pass a Gimp* to all functions.
    	* app/libgimp_glue.[ch]: added EEKy wrappers for all gimp_unit_*()
    	functions which are used by widgets.
    	* app/main.c: cleaned up the global variables, removed the fatal
    	message handler, call app_init() directly, not via the
    	user_install stuff, misc. cleanups.
    	* app/user_install.[ch]: removed the check if user_installation is
    	needed (done by app_procs.c now).
    	* app/core/gimp.[ch]: added the user_unit list and the "busy"
    	boolean. Moved gimp_[set|unset]_busy() here. Added
    	gimp_initialize() which is called after unitrc and gimprc are
    	* app/batch.c
    	* app/colormaps.c
    	* app/devices.c
    	* app/disp_callbacks.c
    	* app/gdisplay_ops.c
    	* app/gimphelp.c
    	* app/module_db.c
    	* app/nav_window.c
    	* app/plug_in.c
    	* app/core/gimpcontext.c
    	* app/core/gimpdatafiles.c
    	* app/core/gimpimage-convert.c
    	* app/core/gimpimage-duplicate.c
    	* app/core/gimpimage.c
    	* app/core/gimpparasite.c
    	* app/core/gimpparasitelist.h
    	* app/gui/file-open-dialog.c
    	* app/gui/gui.[ch]
    	* app/gui/info-dialog.c
    	* app/gui/info-window.c
    	* app/gui/preferences-dialog.c
    	* app/gui/session.c
    	* app/gui/tips-dialog.c
    	* app/gui/toolbox.c
    	* app/tools/gimpblendtool.c
    	* app/tools/gimpbucketfilltool.c
    	* app/tools/gimpcolorpickertool.c
    	* app/tools/gimpfuzzyselecttool.c
    	* app/tools/gimptransformtool.c
    	* app/tools/tool_manager.c
    	* app/widgets/gimpcolorpanel.c
    	* app/widgets/gimpcursor.c
    	* app/xcf/xcf-load.c
    	* app/xcf/xcf-save.c
    	* app/xcf/xcf.c
    	* tools/pdbgen/
    	* tools/pdbgen/
    	* tools/pdbgen/
    	* tools/pdbgen/pdb/image.pdb
    	* tools/pdbgen/pdb/message.pdb
    	* tools/pdbgen/pdb/unit.pdb
    	* app/pdb/image_cmds.c
    	* app/pdb/message_cmds.c
    	* app/pdb/unit_cmds.c: changed accordingly, minor cleanups.
Commits on Jul 7, 2001
  1. @mitchfoo

    app/ removed.

    mitchfoo authored Michael Natterer committed
    2001-07-07  Michael Natterer  <>
    	* app/
    	* app/context_manager.[ch]: removed.
    	* app/app_procs.c: call tool_mananger instead of context_manager
    	functions, pass "the_gimp" to some more functions.
    	* app/drawable.[ch]: pass a GimpContext to drawable_fill().
    	* app/errors.c: behave according to "stack_trace_mode" when using
    	the debugging signal handler.
    	* app/gimprc.[ch]: removed the core/ config variables.
    	* app/selection.c: set the selection's state to INVISIBLE in
    	* app/core/
    	* app/core/gimpcoreconfig.[ch]: new files (the configuration
    	variables used by core/).
    	* app/core/gimpcontext.[ch]: removed the global contexts (user,
    	default, ...) and their functions. It's no longer possible to pass
    	NULL to the context functions to manipulate the current context
    	(gimpcontext.c doesn't know the current context any more).
    	* app/core/gimp.[ch]: added them here. The functions are now called
    	gimp_[set|get]_*_context(). Added gimp_create_context() which is
    	the only function to create contexts now.
    	* app/gui/dialogs.[ch]
    	* app/gui/gui.[ch]: pass "gimp" to all functions.
    	* app/tools/tool_manager.[ch]
    	* app/tools/tools.[ch]: pass "gimp" to lots of functions. Added
    	the "global_tool_context" logic and the global/non-global paint
    	options switching from the context_manager. Pass "gimp" to all
    	tools' "register" functions.
    	* app/tools/*: changed accordingly.
    	* app/devices.c
    	* app/disp_callbacks.c
    	* app/file-open.[ch]
    	* app/file-save.c
    	* app/gdisplay.c
    	* app/gimage.c
    	* app/libgimp_glue.c
    	* app/module_db.c
    	* app/nav_window.c
    	* app/plug_in.c
    	* app/qmask.c
    	* app/undo.c
    	* app/base/base-config.c
    	* app/core/gimpbrushpipe.c
    	* app/core/gimpdrawable-offset.c
    	* app/core/gimpgradient.c
    	* app/core/gimpimage-duplicate.c
    	* app/core/gimpimage-mask.c
    	* app/core/gimpimage-new.c
    	* app/core/gimpimage.c
    	* app/core/gimppalette.c
    	* app/core/gimptoolinfo.[ch]
    	* app/core/gimpundo.c
    	* app/gui/brush-select.c
    	* app/gui/channels-commands.c
    	* app/gui/color-area.c
    	* app/gui/dialogs-constructors.c
    	* app/gui/file-new-dialog.c
    	* app/gui/file-open-dialog.c
    	* app/gui/gradient-editor.c
    	* app/gui/gradient-select.c
    	* app/gui/info-window.c
    	* app/gui/layers-commands.c
    	* app/gui/menus.c
    	* app/gui/palette-editor.c
    	* app/gui/palette-import-dialog.c
    	* app/gui/palette-select.c
    	* app/gui/paths-dialog.c
    	* app/gui/pattern-select.c
    	* app/gui/preferences-dialog.c
    	* app/gui/resize-dialog.c
    	* app/gui/test-commands.c
    	* app/gui/tool-options-dialog.c
    	* app/gui/toolbox.c
    	* app/gui/tools-commands.c
    	* app/xcf/xcf-load.c
    	* app/xcf/xcf-save.c
    	* app/widgets/gimpchannellistview.c
    	* app/widgets/gimpdnd.c
    	* app/widgets/gimpdrawablelistview.[ch]
    	* app/widgets/gimpimagedock.c
    	* app/widgets/gimplayerlistview.c
    	* app/pdb/brushes_cmds.c
    	* app/pdb/drawable_cmds.c
    	* app/pdb/gradient_select_cmds.c
    	* app/pdb/gradients_cmds.c
    	* app/pdb/palette_cmds.c
    	* app/pdb/patterns_cmds.c
    	* app/pdb/procedural_db.c
    	* tools/pdbgen/pdb/brushes.pdb
    	* tools/pdbgen/pdb/drawable.pdb
    	* tools/pdbgen/pdb/gradient_select.pdb
    	* tools/pdbgen/pdb/gradients.pdb
    	* tools/pdbgen/pdb/palette.pdb
    	* tools/pdbgen/pdb/patterns.pdb: changed accordingly: remove usage
    	of gimp_context_[get|set]_*(NULL), create contexts with
    	gimp_create_context(). Get the user/current context with
    	gimp_get_[user|current]_context(). Added/removed access to the
    	global "the_gimp" variable in some places. Get the core's config
    	variables from "core_config".
Something went wrong with that request. Please try again.