1. 11 Jul, 2018 1 commit
  2. 27 May, 2018 1 commit
    • Ell's avatar
      libgimpconfig: align GimpConfig with the rest of the interfaces · 44a800f0
      Ell authored
      Unlike the last two commits, we don't port GimpConfig to
      G_DEFINE_INTERFACE(), since we need to provide a base initializer
      for it.  However, this commit aligns it with the rest of our
      intefaces, by renaming gimp_config_interface_get_type() to
      gimp_config_get_type(), and by performing class initialization for
      the interface in a separate function than base initialization.
      
      Keep gimp_config_interface_get_type() around as a deprecated
      function, to maintain ABI compatibility.  It will be removed in a
      separate commit in master, so that this commit can be easily
      cherry-picked to gimp-2-10.
      
      (cherry picked from commit 5f8643a6ee4daf400b9628909acca096ee0011b5)
      44a800f0
  3. 02 Jan, 2018 1 commit
  4. 28 Sep, 2016 1 commit
  5. 26 Mar, 2016 1 commit
  6. 31 May, 2015 2 commits
  7. 04 Jul, 2014 1 commit
  8. 03 Jul, 2014 1 commit
  9. 30 Jun, 2014 1 commit
  10. 14 Oct, 2013 1 commit
    • Michael Natterer's avatar
      app,libgimp*: fix includes to follow our include policy · 697572cc
      Michael Natterer authored
      - don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
      - instead, include it in many .c files instead of <glib-object.h>,
        finally acknowledging the fact that app/ depends on gdk-pixbuf almost
        globally
      - fix up includes as if libgimpbase depended in GIO, which it soon will
      697572cc
  11. 29 Jun, 2010 2 commits
  12. 19 Sep, 2009 1 commit
  13. 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
  14. 01 Feb, 2008 1 commit
    • Michael Natterer's avatar
      add new method GimpConfigInterface::copy() which by default calls · 69d2abcb
      Michael Natterer authored
      2008-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfig-iface.[ch]: add new method
      	GimpConfigInterface::copy() which by default calls
      	gimp_config_sync() but is overridable for objects which are not
      	entirely property-defined or otherwise evil.
      
      	Freeze/thaw property notifications in deserialize() and reset().
      
      	* libgimpconfig/gimpconfig-utils.c (gimp_config_sync): freeze/thaw
      	property notifications on the dest object.
      
      
      svn path=/trunk/; revision=24767
      69d2abcb
  15. 02 Mar, 2007 1 commit
    • Sven Neumann's avatar
      libgimpconfig/gimpconfig-serialize.c libgimpconfig/gimpconfig-error.c · 0d2c3957
      Sven Neumann authored
      2007-03-02  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-error.c
      	* libgimpconfig/gimpconfig-path.c
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-utils.c
      	* libgimpconfig/gimpconfig-iface.c: corrected copyright notice
      	(bug #413731).
      
      
      svn path=/trunk/; revision=22038
      0d2c3957
  16. 18 Oct, 2006 1 commit
  17. 12 Apr, 2006 1 commit
  18. 07 Apr, 2005 1 commit
    • Sven Neumann's avatar
      changed GimpConfig utility functions to take GObject variables instead of · 333593da
      Sven Neumann authored
      2005-04-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-utils.[ch]: changed GimpConfig utility
      	functions to take GObject variables instead of GimpConfig. There's
      	nothing GimpConfig specific about these utilities.
      
      	* app/actions/templates-commands.c
      	* app/actions/tool-options-commands.c
      	* app/base/base.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimprc.c
      	* app/core/gimpimage-grid.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpstrokedesc.c
      	* app/dialogs/grid-dialog.c
      	* app/dialogs/image-new-dialog.c
      	* app/dialogs/stroke-dialog.c
      	* app/display/gimpdisplayshell.c
      	* app/text/gimptextlayer.c
      	* app/text/gimptextundo.c
      	* app/tools/gimptextoptions.c
      	* libgimpconfig/gimpconfig-iface.c: changed accordingly.
      333593da
  19. 05 Feb, 2005 1 commit
    • Sven Neumann's avatar
      renamed GIMP_PARAM_ #defines to GIMP_CONFIG_PARAM_. · 692669f4
      Sven Neumann authored
      2005-02-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-params.h: renamed GIMP_PARAM_ #defines
      	to GIMP_CONFIG_PARAM_.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimpguiconfig.c
      	* app/config/gimprc-deserialize.c
      	* app/config/gimprc-serialize.c
      	* app/config/gimprc.c
      	* app/core/gimp.c
      	* app/core/gimpstrokedesc.c
      	* app/dialogs/preferences-dialog.c
      	* app/text/gimptext.c
      	* app/tools/gimptextoptions.c
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-iface.c
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-utils.c: changed accordingly.
      
      	* libgimpmodule/gimpmoduletypes.h: deprecate the
      	GIMP_MODULE_PARAM_SERIALIZE #define, GIMP_CONFIG_PARAM_SERIALIZE
      	should be used instead.
      
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: changed accordingly.
      692669f4
  20. 29 Jan, 2005 1 commit
    • Sven Neumann's avatar
      libgimpconfig/gimpconfig-deserialize.c libgimpconfig/gimpconfig-error.c · b4a68e95
      Sven Neumann authored
      2005-01-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-error.c
      	* libgimpconfig/gimpconfig-iface.c
      	* libgimpconfig/gimpconfig-path.c
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-utils.c
      	* libgimpconfig/gimpconfigwriter.c
      	* libgimpconfig/gimpscanner.c: use libgimp header,
      	added "Since: GIMP 2.4" to the gtk-doc comments.
      b4a68e95
  21. 25 Jan, 2005 2 commits
    • Michael Natterer's avatar
      new file holding the opaque typedefs for libgimpconfig. Includes · 3592a58d
      Michael Natterer authored
      2005-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfigtypes.h: new file holding the opaque
      	typedefs for libgimpconfig. Includes "libgimpbase/gimpbasetypes.h"
      
      	* libgimpconfig/Makefile.am: added the new file. Removed stuff
      	that is not needed.
      
      	* libgimpconfig/gimpconfigwriter.h
      	* libgimpconfig/gimpconfig-iface.h: removed typedefs here.
      
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-iface.c
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-utils.c
      	* libgimpconfig/gimpconfig.h
      	* libgimpconfig/gimpconfigwriter.c: include it before including
      	any other libgimpconfig stuff.
      
      	* app/config/config-types.h: #include "libgimpbase/gimpbasetypes.h"
      
      	* app/config/gimpconfig-utils.h: changed include guards to
      	__APP_GIMP_CONFIG_UTILS_H__.
      
      	* app/dialogs/tips-parser.c: include <glib-object.h> instead of
      	just <glib.h>.
      
      	* app/tools/gimphistogramoptions.c
      	* app/tools/gimptextoptions.c: include "config/gimpconfig-utils.h"
      
      	* app/widgets/gimpdialogfactory.h
      	* app/widgets/gimpsessioninfo.h: removed inclusion of
      	"libgimpbase/gimpbasetypes.h".
      3592a58d
    • William Skaggs's avatar
      continuing commit after broken pipe · 1cee9b72
      William Skaggs authored
      1cee9b72
  22. 24 Jan, 2005 2 commits
    • Sven Neumann's avatar
      removed an unused parameter. · edf1fc2d
      Sven Neumann authored
      2005-01-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.[ch]: removed an unused parameter.
      
      	* app/config/gimpconfig.c: changed accordingly.
      edf1fc2d
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.[ch] · 36c9dadf
      Sven Neumann authored
      2005-01-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig.[ch]: factored out some rather obscure
      	GimpConfig features that were added solely for gimprc.
      
      	* app/config/Makefile.am
      	* app/config/gimprc-deserialize.[ch]
      	* app/config/gimprc-serialize.[ch]
      	* app/config/gimprc-unknown.[ch]: moved gimprc-specific code to
      	these new files.
      
      	* app/config/gimprc.c
      	* app/config/test-config.c: changed accordingly.
      36c9dadf
  23. 31 Aug, 2004 1 commit
  24. 04 Feb, 2004 1 commit
    • Sven Neumann's avatar
      added the new function gimp_rc_set_unknown_token() to get autosave working · a4304638
      Sven Neumann authored
      2004-02-04  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc.[ch]: added the new function
      	gimp_rc_set_unknown_token() to get autosave working for unknown
      	gimprc tokens.
      
      	* app/config/gimpconfig.c: indentation.
      
      	* tools/pdbgen/pdb/gimprc.pdb: gimp->edit_config was used for a
      	good reason, it's the one that's saved. Reverted a change I did
      	about a month ago. Use gimp_rc_set_unknown_token() so unknown
      	tokens get saved. This really fixes gimp_gimprc_set().
      
      	* app/pdb/gimprc_cmds.c: regenerated.
      a4304638
  25. 15 Oct, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpdocked.c (gimp_docked_iface_base_init) they are base_init, · b09cadf0
      Michael Natterer authored
      2003-10-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdocked.c (gimp_docked_iface_base_init)
      	* app/config/gimpconfig.c (gimp_config_iface_base_init): they are
      	base_init, not just init functions. Changed implementations to not
      	overwrite the parent class' vtable entries with the default
      	implementations. Fixes derived interface methods and brings
      	back all dockable menus.
      b09cadf0
  26. 14 Oct, 2003 2 commits
    • Sven Neumann's avatar
      app/config/gimpconfig-utils.c (gimp_config_diff) (gimp_config_sync) · cff08b64
      Sven Neumann authored
      2003-10-15  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.c (gimp_config_diff) (gimp_config_sync)
      	* app/config/gimpconfig.c (gimp_config_iface_equal): compare and sync
      	aggregate objects recursively.
      
      	* app/core/gimptemplate.c (gimp_template_finalize): don't leak the
      	filename.
      
      	* app/display/gimpdisplayshell-title.c
      	* app/config/gimpconfig-dump.c: added %L format identifier for
      	verbose layer count. Renamed former %L to %n (layer name).
      
      	* app/config/gimpdisplayconfig.c: changed default image title and
      	image status format strings.
      
      	* app/gui/dialogs-constructors.c: added a blurb for Templates
      	dockables.
      
      	* app/display/gimpdisplayshell.h: fixed typo.
      cff08b64
    • Sven Neumann's avatar
      removed gimp_config_copy_properties() and added the more intelligent · 737da424
      Sven Neumann authored
      2003-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch]: removed
      	gimp_config_copy_properties() and added the more intelligent
      	gimp_config_sync() instead.
      
      	* app/config/Makefile.am
      	* app/config/config-types.h
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: replaced default image properties
      	with a single GimpTemplate object property. Changed the
      	set_property function to not replace aggregate objects but call
      	gimp_config_sync() instead.
      
      	* app/tools/gimptextoptions.c (gimp_text_options_set_property):
      	same change here.
      
      	* app/config/gimpconfig.[ch]: changed return value of
      	gimp_config_duplicate() to gpointer to avoid some casts that only
      	made the code harder to read.
      
      	* app/widgets/gimptemplateeditor.[ch]: don't keep an internal copy
      	here but edit the GimpTemplate passed when the editor was
      	constructed.
      
      	* app/gui/preferences-dialog.c: use a GimpTemplateEditor to allow
      	editing of the default image paramaters.
      
      	* app/config/gimprc.c
      	* app/core/core-types.h
      	* app/core/gimp.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-grid.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage.c
      	* app/core/gimptemplate.[ch]
      	* app/gui/file-new-dialog.c
      	* app/gui/grid-dialog.c
      	* app/gui/info-window.c
      	* app/gui/resize-dialog.c
      	* app/gui/templates-commands.[ch]
      	* app/gui/tool-options-commands.c
      	* app/text/gimptextlayer.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimptemplateview.c
      	* app/xcf/xcf-load.c: changed accordingly.
      737da424
  27. 11 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/widgets/gimpdocked.[ch] renamed GimpDockedIface to · a88e11af
      Sven Neumann authored
      2003-10-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/widgets-types.h: renamed GimpDockedIface to
      	GimpDockedInterface.
      
      	* app/display/gimpnavigationview.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpimageeditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimptooloptionseditor.c: changed accordingly.
      
      	* app/config/config-types.h
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-utils.[ch]: added a GimpConfig typedef and
      	changed the GimpConfig API to take GimpConfig instead of GObject
      	pointers.
      
      	* app/config/gimpconfig-dump.c
      	* app/config/gimprc.c
      	* app/config/test-config.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp.[ch]
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpgrid.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimptemplate.c
      	* app/core/gimptooloptions.c
      	* app/core/gimpviewable.c
      	* app/gui/grid-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/tool-options-commands.c
      	* app/paint/gimppaintcore.c
      	* app/pdb/gimprc_cmds.c
      	* app/text/gimptext-parasite.c
      	* app/text/gimptext.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimp-tools.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptemplateview.c
      	* tools/pdbgen/pdb/gimprc.pdb: changed accordingly.
      a88e11af
  28. 29 Sep, 2003 1 commit
    • Michael Natterer's avatar
      Fixed handling of G_PARAM_CONSTRUCT_ONLY properties: · 017d1839
      Michael Natterer authored
      2003-09-29  Michael Natterer  <mitch@gimp.org>
      
      	Fixed handling of G_PARAM_CONSTRUCT_ONLY properties:
      
      	* app/config/gimpconfig.c (gimp_config_iface_duplicate): build
      	a GParameter array of G_PARAM_CONSTRUCT_ONLY properties and
      	use g_object_newv() instead of g_object_new() to create the
      	copy.
      
      	* app/config/gimpconfig-utils.c
      	(gimp_config_copy_properties)
      	(gimp_consif_reset_properties): don't try to copy/reset
      	G_PARAM_CONSTRUCT_ONLY properties because it is impossible.
      
      	(gimp_config_connect_notify): ditto. Also don't try to read
      	from unreadable or write to unwritable properties.
      017d1839
  29. 08 Aug, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.c app/config/gimpconfig-serialize.c · 2dbb3880
      Sven Neumann authored
      2003-08-08  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig.c
      	* app/config/gimprc.c
      	* app/core/gimpitem.[ch]
      	* app/display/gimpprogress.[ch]
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpenummenu.c
      	* app/widgets/gimpfontselection.c
      	* app/widgets/gimpwidgets-utils.c: documentation fixes.
      2dbb3880
  30. 24 Jul, 2003 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am moved code from gimpconfig.[ch] to these new files. · d75a2f79
      Sven Neumann authored
      2003-07-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-error.[ch]: moved code from gimpconfig.[ch]
      	to these new files.
      
      	* app/config/gimpconfig-utils.[ch]: moved gimp_config_string_indent()
      	here from gimpconfig.[ch].
      
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfigwriter.c
      	* app/config/gimprc.c
      	* app/config/gimpscanner.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/widgets/gimpdevices.c: changed accordingly.
      d75a2f79
  31. 11 Jul, 2003 1 commit
  32. 07 Jul, 2003 1 commit
    • Sven Neumann's avatar
      include <libgimpmath/gimpmathtypes.h>. · 6f83a525
      Sven Neumann authored
      2003-07-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpbasetypes.h: include <libgimpmath/gimpmathtypes.h>.
      
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpmatrix.[ch]: added GimpMatrix2 struct definition
      	and new function gimp_matrix2_identity().
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-params.[ch]
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig-types.[ch]
      	* app/config/gimpconfig.c
      	* app/config/gimpscanner.[ch]: added a boxed type around GimpMatrix2.
      
      	* app/text/gimptext.[ch]: added new property "transformation".
      6f83a525
  33. 24 Jun, 2003 1 commit
    • Sven Neumann's avatar
      added new function gimp_config_serialize_to_fd() for the sake of · 7a6a908a
      Sven Neumann authored
      2003-06-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig.[ch]: added new function
      	gimp_config_serialize_to_fd() for the sake of completeness and
      	since it's a nice way to generate debugging output.
      
      	* app/text/Makefile.am
      	* app/text/gimptext-xlfd.[ch]: new files with routines to handle X
      	Logical Font Descriptions in an attempt to improve backwards
      	compatibility.
      
      	* app/text/gimptext-parasite.[ch]
      	* app/xcf/xcf-load.c: promote layers with GDynText parasite to
      	GimpTextLayer. Work in progress, we need to improve font matching.
      7a6a908a
  34. 23 Jun, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig.[ch] app/config/gimpconfigwriter.[ch] added support · f30586d1
      Sven Neumann authored
      2003-06-23  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfigwriter.[ch]
      	* app/config/gimpscanner.[ch]: added support for serializing to
      	and deserializing from strings. Had to do some smaller changes to
      	the GimpConfig API.
      
      	* app/config/test-config.c: added a simple test for the new
      	functions.
      
      	* app/config/gimpconfig-dump.c
      	* app/config/gimprc.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimpunits.c
      	* app/gui/session.c
      	* app/plug-in/plug-in-rc.c
      	* app/tools/tool_options.c
      	* app/widgets/gimpdevices.c: follow GimpConfig API changes.
      
      	* libgimpbase/gimpparasite.[ch]: declared the return value of
      	gimp_parasite_data() as gconstpointer.
      f30586d1
  35. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5