1. 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
  2. 04 Nov, 2008 1 commit
    • Sven Neumann's avatar
      bumped minimum required version of GLib to 2.18.0. · 4762b734
      Sven Neumann authored
      2008-11-04  Sven Neumann  <sven@sven>
      
      	* configure.in: bumped minimum required version of GLib to 
      2.18.0.
      
      	* INSTALL: document the updated dependency.
      
      	* app/core/gimp.[ch]: introduced gimp_message_literal(), a 
      variant
      	of gimp_message() that takes a literal string.
      
      	* app/errors.[ch]: removed format arguments from 
      gimp_fatal_error()
      	and gimp_terminate() and let them take a literal string instead.
      
      	* app/tools/gimptool.[ch]: introduced 
      gimp_tool_message_literal(),
      	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
      4762b734
  3. 13 Jun, 2007 1 commit
  4. 09 Dec, 2006 1 commit
  5. 09 Sep, 2006 2 commits
  6. 16 Jul, 2006 1 commit
    • Sven Neumann's avatar
      use G_GNUC_PRINTF. · e0f2ea72
      Sven Neumann authored
      2006-07-16  Sven Neumann  <sven@gimp.org>
      
      	* app/errors.h (gimp_fatal_error, gimp_terminate): use
      G_GNUC_PRINTF.
      e0f2ea72
  7. 17 Nov, 2003 1 commit
    • Sven Neumann's avatar
      unref the gimp object after dumping the configuration as a test for · 921f00c1
      Sven Neumann authored
      2003-11-17  Sven Neumann  <sven@gimp.org>
      
      	* 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.
      921f00c1
  8. 09 Sep, 2003 1 commit
    • Michael Natterer's avatar
      Got rid of the last global variables except the_gimp: · 85dfbe46
      Michael Natterer authored
      2003-09-09  Michael Natterer  <mitch@gimp.org>
      
      	Got rid of the last global variables except the_gimp:
      
      	* app/Makefile.am
      	* 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().
      85dfbe46
  9. 04 Dec, 2002 1 commit
    • Michael Natterer's avatar
      added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. · d79ac249
      Michael Natterer authored
      2002-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: added -DGIMP_APP_GLUE_COMPILATION to
      	AM_CPPFLAGS.
      
      	* app/appenv.h
      	* app/batch.h
      	* app/errors.h: #error if it is not defined to keep these files
      	from being included from anywhere else.
      
      	* app/app_procs.h: added just a #warning because some places still
      	need "the_gimp" and app_exit().
      
      	* app/libgimp_glue.h: #ifdef the #error the same way as the other
      	headers do.
      d79ac249
  10. 25 Jul, 2001 1 commit
  11. 10 Jul, 2001 1 commit
    • Michael Natterer's avatar
      removed the gimp_busy boolean, check whether user_installation is needed · 9d87e554
      Michael Natterer authored
      2001-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* 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
      	parsed.
      
      	* 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/Makefile.am
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/enums.pl
      	* 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.
      9d87e554
  12. 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
  13. 30 Jul, 2000 1 commit
  14. 16 Jul, 2000 1 commit
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · df9eeff6
      Michael Natterer authored
      2000-07-16  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann      <sven@gimp.org>
      
      	* AUTHORS
      	* gimp.1.in
      	* app/about_dialog.c: removed two accidentially added non-authors.
      
      	* app/errors.[ch]
      	* app/main.c: added a new command line option
      	"--enable-stack-trace" which can be one of {never|query|always}.
      
      	* app/plug_in.c
      	* libgimp/gimp.c: pass the stack trace mode as an argv[] element to
      	plug-ins. Cleaned up the plug-ins' argv[] (removed unused TILE_WIDTH
      	and TILE_HEIGHT arguments, always pass 6 arguments to make the code
      	simpler).
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl: export the app's STACK_TRACE_MODE enum.
      
      	* plug-ins/common/plugindetails.c: made the titles of the tree view
      	unclickable, cleanups.
      df9eeff6
  15. 22 Jul, 1999 1 commit
    • Michael Natterer's avatar
      new ui for the "Layer Offset" dialog. · a4c1e8a5
      Michael Natterer authored
      1999-07-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/channel_ops.[ch]: new ui for the "Layer Offset" dialog.
      
      	* app/channels_dialog.c
      	* app/layers_dialog.c: major code cleanup: Folded some callbacks
      	into common ones, "widget" instead of "w", indentation, ...
      
      	* app/commands.c
      	* app/interface.[ch]
      	* app/global_edit.c: the query boxes must be shown by the caller
      	now. There's no need to split up the string for the message box
      	manually as the Gtk 1.2 label widget handles newlines corectly.
      	Added the "edge_lock" toggle to the "Shrink Selection" dialog.
      	Nicer spacings for the query and message boxes.
      
      	* app/ink.c: tried to grab the pointer in the blob preview but
      	failed. Left the code there as a reminder (commented out).
      
      	* app/menus.c: reordered <Image>/Select.
      
      	I was bored and grep-ed the sources for ancient or deprecated stuff:
      
      	* app/about_dialog.[ch]
      	* app/actionarea.[ch]
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/color_select.c
      	* app/convert.c
      	* app/devices.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/histogram_tool.[ch]
      	* app/info_window.c
      	* app/install.c
      	* app/ops_buttons.c
      	* app/palette.c
      	* app/palette_select.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/resize.c
      	* app/scale_toolc.c
      	* app/text_tool.c:
      	s/container_border_width/container_set_border_width/g,
      	s/sprintf/g_snprintf/g, replaced some constant string lengths with
      	strlen(x).
      
      	* app/bezier_select.c
      	* app/blend.c
      	* app/boundary.c
      	* app/errors.[ch]
      	* app/free_select.c
      	* app/gimpbrushlist.c
      	* app/gimprc.c
      	* app/iscissors.c
      	* app/main.c
      	* app/patterns.[ch]
      	* app/text_tool.c: namespace fanaticism: prefixed all gimp error
      	functions with "gimp_" and formated the messages more uniformly.
      
      	* app/gradient.c
      	* app/gradient_select.c: same stuff as above for the ui
      	code. There are still some sub-dialogs which need cleanup.
      
      	Did some cleanup in most of these files: prototypes, removed tons
      	of #include's, i18n fixes, s/w/widget/ as above, indentation, ...
      a4c1e8a5
  16. 19 Jun, 1998 1 commit
  17. 28 May, 1998 1 commit
    • Manish Singh's avatar
      gimp_message. libgimp also overrides g_message for all plugins. Converted · 1d95a05a
      Manish Singh authored
      * redid the error message handling. g_message now calls message_box or prints
      to console depending on whether the no_interface is set or not. gimp-message
      is also exported to the PDB as a wrapper to g_message, and libgimp has a new
      API: gimp_message. libgimp also overrides g_message for all plugins. Converted
      lots of messages in app/* to g_message. Made script-fu a little friendlier.
      
      * updated the regex code from grep 2.2
      
      * said goodbye to the old script-fu logo in script-fu.h
      
      -Yosh
      1d95a05a
  18. 13 Apr, 1998 1 commit
  19. 11 Apr, 1998 1 commit
    • Manish Singh's avatar
      fixed up idle handler for file open (look like testgtk idle demo) · 0ed01919
      Manish Singh authored
      * app/app_procs.c: fixed up idle handler for file open (look like testgtk
      idle demo)
      
      * app/colomaps.c: fixup for visual test and use of gdk_color_alloc for some
      fixed colors (from Owen Taylor)
      
      * app/errors.h
      * app/errors.c
      * app/main.c
      * libgimp/gimp.c: redid the signal handlers so we only get a debug prompt on
      SIGSEGV, SIGBUS, and SIGFPE.
      
      * applied gimp-jbuhler-980408-0 and gimp-joke-980409-0 (warning fixups)
      
      * applied gimp-monnaux-980409-0 for configurable plugin path for multiarch
      setups
      
      -Yosh
      0ed01919
  20. 24 Nov, 1997 1 commit