1. 17 Mar, 2009 1 commit
    • Tor Lillqvist's avatar
      Drop Windows code to remove target file before renaming. g_rename() · 244965fd
      Tor Lillqvist authored
      2009-03-17  Tor Lillqvist  <tml@iki.fi>
      
      	* libgimpconfig/gimpconfigwriter.c
      	(gimp_config_writer_close_file): Drop Windows code to remove
      	target file before renaming. g_rename() nowadays takes care of
      	allowing replacing existing files on Windows.
      
      
      svn path=/trunk/; revision=28171
      244965fd
  2. 31 Jan, 2009 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. 12 Nov, 2008 1 commit
    • Sven Neumann's avatar
      set the error in the GIMP_CONFIG_ERROR domain. · a9b1b41e
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-path.c 
      (gimp_config_path_expand_only):
      	set the error in the GIMP_CONFIG_ERROR domain.
      
      
      svn path=/trunk/; revision=27630
      a9b1b41e
  5. 06 Nov, 2008 2 commits
    • Sven Neumann's avatar
      use g_set_error_literal() here as well. · 72b56f3d
      Sven Neumann authored
      2008-11-06  Sven Neumann  <sven@sven>
      
      	* libgimpconfig/gimpconfigwriter.c 
      (gimp_config_writer_linefeed):
      	use g_set_error_literal() here as well.
      
      
      svn path=/trunk/; revision=27564
      72b56f3d
    • Sven Neumann's avatar
      use NC_() to mark enum values for translation. Use a lower-case short form · 02817081
      Sven Neumann authored
      2008-11-06  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-mkenums: use NC_() to mark enum values for 
      translation.
      	Use a lower-case short form of the type name as translation 
      context.
      
      	* libgimp/libgimp-intl.h: define the NC_() macro as noop.
      
      	* libgimpbase/gimpbasetypes.[ch]
      	* libgimpbase/gimpbase.def: added new functions to set and
      	get a translation context on an enum type.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am:
      	* libgimpconfig/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am: register the translation context
      	with the enum types.
      
      	* app/display/display-enums.h
      	* libgimpbase/gimpbaseenums.h
      	* libgimpconfig/gimpcolorconfig-enums.h: removed old-style 
      explicit
      	translation context.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/plug-in/plug-in-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c
      	* libgimpconfig/gimpcolorconfig-enums.c
      	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      
      svn path=/trunk/; revision=27562
      02817081
  6. 03 Nov, 2008 1 commit
    • Sven Neumann's avatar
      app/base/Makefile.am app/core/Makefile.am app/display/Makefile.am · fe520925
      Sven Neumann authored
      2008-11-03  Sven Neumann  <sven@gimp.org>
      
      	
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am: 
      	* libgimpconfig/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am: micro-optimization in the 
      generated
      	enum registration code.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/plug-in/plug-in-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c
      	* libgimpconfig/gimpcolorconfig-enums.c
      	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      
      svn path=/trunk/; revision=27538
      fe520925
  7. 30 Sep, 2008 1 commit
    • Michael Natterer's avatar
      Bug 546924 – "New Image" misscalculating dimensions for non-pixel sized · 6865bb9e
      Michael Natterer authored
      2008-09-30  Michael Natterer  <mitch@gimp.org>
      
      	Bug 546924 – "New Image" misscalculating dimensions for non-pixel
      	sized templates
      
      	* app/core/gimptemplate.h: added private param flag
      	GIMP_TEMPLATE_PARAM_COPY_FIRST.
      
      	* app/core/gimptemplate.c (gimp_template_class_init): set the flag
      	on the resolution properties.
      
      	* app/dialogs/image-new-dialog.c (image_new_template_changed):
      	make sure the resolution properties are copied first.
      
      	* libgimpconfig/gimpconfig-utils.c (gimp_config_sync): remove
      	comment about fixing the template editor. That's not true any
      	more.
      
      
      svn path=/trunk/; revision=27091
      6865bb9e
  8. 18 May, 2008 1 commit
    • Michael Natterer's avatar
      libgimpconfig/gimpconfig-serialize.[ch] add · c65b0992
      Michael Natterer authored
      2008-05-18  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfig-serialize.[ch]
      	* libgimpconfig/gimpconfig.def: add
      	gimp_config_serialize_property_by_name().
      
      	* app/gegl/gimpcolorbalanceconfig.c
      	* app/gegl/gimpcurvesconfig.c
      	* app/gegl/gimphuesaturationconfig.c
      	* app/gegl/gimplevelsconfig.c: implement serialize() and
      	deserialize() and make sure the properties which change when the
      	channel/range property changes are handled correctly. Not too
      	ugly but it's still a hack...
      
      
      svn path=/trunk/; revision=25703
      c65b0992
  9. 08 Feb, 2008 1 commit
    • Tor Lillqvist's avatar
      Add gimp_config_copy. · 08edb873
      Tor Lillqvist authored
      2008-02-08  Tor Lillqvist  <tml@novell.com>
      
      	* libgimpconfig/gimpconfig.def: Add gimp_config_copy.
      
      
      svn path=/trunk/; revision=24831
      08edb873
  10. 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
  11. 28 Jan, 2008 1 commit
    • Michael Natterer's avatar
      fix API docs. · ff95dd50
      Michael Natterer authored
      2008-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfig-serialize.c
      	(gimp_config_serialize_property): fix API docs.
      
      
      svn path=/trunk/; revision=24736
      ff95dd50
  12. 16 Nov, 2007 1 commit
  13. 27 Oct, 2007 2 commits
  14. 07 Oct, 2007 1 commit
  15. 05 Oct, 2007 1 commit
    • Sven Neumann's avatar
      added settings for marking out-of-gamut colors in the Print Simulation · 169c7dbc
      Sven Neumann authored
      2007-10-05  Sven Neumann  <sven@gimp.org>
      
              * libgimpconfig/gimpcolorconfig.[ch]: added settings for marking
              out-of-gamut colors in the Print Simulation (bug #476824).
      
              * app/dialogs/preferences-dialog.c: added a check-button for the
              out-of-gamut warning and tweaked the layout of the Color Management
              page to make the relationship of the settings more obvious.
      
              * modules/cdisplay_lcms.c: mark out-of-gamut colors.
      
      
      svn path=/trunk/; revision=23729
      169c7dbc
  16. 17 Jul, 2007 1 commit
    • Sven Neumann's avatar
      don't free the writer struct too early. · a9efcaa9
      Sven Neumann authored
      2007-07-17  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfigwriter.c (gimp_config_writer_finish):
      	don't free the writer struct too early.
      
      
      svn path=/trunk/; revision=22939
      a9efcaa9
  17. 25 Jun, 2007 1 commit
  18. 21 Jun, 2007 1 commit
  19. 04 Jun, 2007 1 commit
    • Michael Natterer's avatar
      be forward-compatible by skipping unknown object properties. · b0c8362f
      Michael Natterer authored
      2007-06-04  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfig-deserialize.c: be forward-compatible by
      	skipping unknown object properties.
      
      	* app/config/gimprc-deserialize.c: synced code with
      	libgimpconfig (same stuff should look the same).
      
      	* app/config/gimprc.c: whitespace.
      
      
      svn path=/trunk/; revision=22698
      b0c8362f
  20. 22 May, 2007 2 commits
  21. 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
  22. 03 Jan, 2007 1 commit
    • Sven Neumann's avatar
      fixed blurb. · 4981ad57
      Sven Neumann authored
      2007-01-03  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpcolorconfig.c: fixed blurb.
      
      
      svn path=/trunk/; revision=21631
      4981ad57
  23. 30 Dec, 2006 1 commit
  24. 06 Dec, 2006 1 commit
  25. 01 Nov, 2006 1 commit
    • Sven Neumann's avatar
      always deal with embedded color profiles. · 03703377
      Sven Neumann authored
      2006-11-01  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-open.c: always deal with embedded color profiles.
      
      	* app/dialogs/preferences-dialog.c: reordered items in Color
      	Management section, added some spacing.
      
      	* app/config/gimprc-blurbs.h
      	* libgimpconfig/gimpcolorconfig.c
      	* plug-ins/common/lcms.c: string changes for consistency.
      03703377
  26. 27 Oct, 2006 1 commit
    • Sven Neumann's avatar
      libgimpconfig/gimpcolorconfig-enums.[ch] libgimpconfig/gimpcolorconfig.c · 63da8bb8
      Sven Neumann authored
      2006-10-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpcolorconfig-enums.[ch]
      	* libgimpconfig/gimpcolorconfig.c
      	* libgimpconfig/gimpconfig.def: removed unused enum
      	GimpColorFileOpenBehaviour.
      
      	* app/core/core-enums.[ch]: added enum GimpColorProfilePolicy.
      
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: added property
      "color-profile-policy".
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-icc-profile.[ch]: new files that wrap
      usage
      	of the lcms plug-in.
      
      	* app/file/file-open.c: implement the user-configured policy for
      	embedded color profiles.
      
      	* app/widgets/gimpimageprofileview.c: use the wrapper to call
      the
      	plug-in-icc-profile-info procedure.
      
      	* app/widgets/gimptoolbox-dnd.c: pass TRUE for "attach_comment"
      	parameter to gimp_create_image().
      
      	* app/core/gimptemplate.c
      	* app/file/Makefile.am: cosmetic changes.
      
      	* app/Makefile.am: some resorting to make the beast link again.
      63da8bb8
  27. 25 Oct, 2006 1 commit
    • Simon Budig's avatar
      Oops. Need to specify both pdb-skip and skip. · a8593d81
      Simon Budig authored
      2006-10-25  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/vectors-enums.h: Oops. Need to specify both
      	pdb-skip and skip.
      
      	* libgimp/gimp.def
      	* libgimpconfig/gimpconfig.def
      	* libgimpmath/gimpmath.def
      	* libgimpthumb/gimpthumb.def
      	* libgimpwidgets/gimpwidgets.def: .def-file maintenance. Hope my
      	changes are correct...
      
      	With the help from
      	   nm .libs/libgimpfoo-2.0.so |\
      	   sed -ne "s/.* T \([a-zA-Z0-9][a-zA-Z0-9_]*\)/\t\1/p" |\
      	   (echo EXPORTS ; LC_ALL=C sort )
      
      	* libgimpwidgets/gimppageselector.c: marked stretch_frame_image()
      	as static.
      
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpenums.h
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* devel-docs/libgimp/tmpl/gimpfontselectbutton.sgml: this changed
      	again. WTF?
      a8593d81
  28. 18 Oct, 2006 1 commit
  29. 24 Sep, 2006 1 commit
    • Michael Natterer's avatar
      Some more proper typing instead of using pointers: · 8e04fb1b
      Michael Natterer authored
      2006-09-24  Michael Natterer  <mitch@gimp.org>
      
      	Some more proper typing instead of using pointers:
      
      	* libgimpconfig/gimpconfig-params.h: added macro
      	GIMP_CONFIG_INSTALL_PROP_BOXED().
      
      	* app/core/gimpcontainer.c: made "children-type" a GParamSpecGType.
      
      	* app/widgets/gimpcontrollerinfo.c: made "mapping" a
      	GParamSpecBoxed and use g_hash_table_unref() instead of destroy().
      
      	* app/widgets/gimppdbdialog.c: made "select-type" a GParamSpecGType.
      
      	* app/dialogs/module-dialog.c
      	* app/widgets/gimpcolordisplayeditor.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimpfileprocview.c
      	* app/widgets/gimppluginaction.c: use proper object types, boxed
      	types and G_TYPE_GTYPE instead of G_TYPE_POINTER for various list
      	stores and signal signatues.
      8e04fb1b
  30. 08 Aug, 2006 1 commit
  31. 05 Jul, 2006 1 commit
    • Sven Neumann's avatar
      libgimpbase/gimpenv.h libgimpbase/gimpmemsize.h · bdd3c644
      Sven Neumann authored
      2006-07-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpenv.h
      	* libgimpbase/gimpmemsize.h
      	* libgimpbase/gimpparasiteio.[ch]
      	* libgimpbase/gimputils.h
      	* libgimpconfig/gimpconfig-path.[ch]
      	* libgimpthumb/gimpthumb-utils.[ch]: marked some function with
      	G_GNUC_MALLOC.
      
      	* plug-ins/common/dicom.c: use g_date_set_time_t() instead of the
      	deprecated g_date_set_time().
      bdd3c644
  32. 27 Jun, 2006 1 commit
  33. 15 May, 2006 1 commit
  34. 27 Apr, 2006 2 commits
    • Sven Neumann's avatar
      hide the GimpParamSpecRGB struct again. Added getter for the has_alpha · 0b9a9e4e
      Sven Neumann authored
      2006-04-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimprgb.[ch]: hide the GimpParamSpecRGB struct
      	again.  Added getter for the has_alpha field.
      
      	* libgimpcolor/gimpcolor.def: updated.
      
      	* app/config/gimpconfig-dump.c
      	* libgimpconfig/gimpconfig-serialize.c: use
      	gimp_param_spec_rgb_has_alpha() instead of accessing the
      	GimpParamSpecRGB struct directly.
      0b9a9e4e
    • Sven Neumann's avatar
      added "has_alpha" to GimpParamSpecRGB. Made the GimpParamSpecRGB struct · e779cf0b
      Sven Neumann authored
      2006-04-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimprgb.[ch]: added "has_alpha" to GimpParamSpecRGB.
      	Made the GimpParamSpecRGB struct public. When validating a color,
      	only look at the alpha channel if has_alpha is set.
      
      	* libgimpconfig/gimpconfig-params.h: added "has_alpha" to
      	GIMP_CONFIG_INSTALL_PROP_RGB macro definition.
      
      	* libgimpconfig/gimpconfig-serialize.c: serialize color values as
      	"(rgb r g b)" if the param-spec indicates that the alpha channel
      	is meaningless.
      
      	* app/config/gimpconfig-dump.c: take "has_alpha" into account when
      	documenting color properties.
      
      	* app/core/gimpcontext.c
      	* app/core/gimpgrid.c
      	* app/display/gimpdisplayoptions.c
      	* app/text/gimptext.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpcolorbar.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c: specify whether color properties
      	have an alpha channel.
      
      	* tools/pdbgen/app.pl: handle "has_alpha" for color paramaters.
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/grid.pdb
      	* tools/pdbgen/pdb/image.pdb: set the "has_alpha" flag where
      	appropriate.
      
      	* app/pdb/gimp-pdb-compat.c (gimp_pdb_compat_param_spec): set
      	"has_alpha" to TRUE for GIMP_PDB_COLOR.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/context_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/grid_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/selection_tools_cmds.c: regenerated.
      
      	* app/config/gimpdisplayconfig.c (gimp_display_config_class_init):
      	removed unused code.
      e779cf0b
  35. 12 Apr, 2006 1 commit
  36. 06 Apr, 2006 1 commit
    • Sven Neumann's avatar
      app/core/gimpdata.c (gimp_data_error_quark) · 6f8f925c
      Sven Neumann authored
      2006-04-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdata.c (gimp_data_error_quark)
      	* libgimpconfig/gimpconfig-error.c (gimp_config_error_quark)
      	* libgimpthumb/gimpthumb-error.c (gimp_thumb_error_quark):
      	g_quark_from_static_string() is already reasonably fast, not much
      	point in caching the result.
      6f8f925c