1. 18 Sep, 2018 1 commit
    • Ell's avatar
      app, libgimp*, modules: don't use g_type_class_add_private() ... · 3b0040c0
      Ell authored
      ... and G_TYPE_INSTANCE_GET_PRIVATE()
      
      g_type_class_add_private() and G_TYPE_INSTANCE_GET_PRIVATE() were
      deprecated in GLib 2.58.  Instead, use
      G_DEFINE_[ABSTRACT_]TYPE_WITH_PRIVATE(), and
      G_ADD_PRIVATE[_DYNAMIC](), and the implictly-defined
      foo_get_instance_private() functions, all of which are available in
      the GLib versions we depend on.
      
      This commit only covers types registered using one of the
      G_DEFINE_FOO() macros (i.e., most types), but not types with a
      custom registration function, of which we still have a few -- GLib
      currently only provides a (non-deprecated) public API for adding a
      private struct using the G_DEFINE_FOO() macros.
      
      Note that this commit was 99% auto-generated (because I'm not
      *that* crazy :), so if there are any style mismatches... we'll have
      to live with them for now.
      3b0040c0
  2. 11 Jul, 2018 1 commit
  3. 01 Jun, 2018 1 commit
  4. 20 May, 2018 7 commits
  5. 03 Sep, 2017 1 commit
  6. 06 Jun, 2017 1 commit
  7. 19 May, 2017 2 commits
  8. 09 Sep, 2016 1 commit
  9. 01 Jun, 2016 1 commit
  10. 31 May, 2016 1 commit
  11. 26 May, 2016 2 commits
    • Michael Natterer's avatar
    • Michael Natterer's avatar
      libgimpcolor: add new object GimpColorTransform · cc928879
      Michael Natterer authored
      which encapsulates a cmsHTRANSFORM and does all the pixel format
      conversion magic. It has API to create transforms and proofing
      transforms, and to convert pixels arrays and GeglBuffers.
      
      Before, each place which has a transform had to keep around the
      transform and its input and output Babl formats, and had to implement
      lots of stuff itself. Now all that lives in GimpColorTransform,
      removing lots of logic from many places, and pretty much removing lcms
      from the public API entirely.
      
      This removes including <lcms2.h>, LCMS_LIBS and LCMS_CFLAGS from
      almost all directories and potentially allows to replace lcms by
      something else.
      cc928879
  12. 25 May, 2016 1 commit
  13. 31 May, 2015 1 commit
  14. 11 Nov, 2012 1 commit
  15. 03 May, 2012 1 commit
  16. 02 May, 2012 1 commit
  17. 10 Sep, 2010 1 commit
  18. 05 Jul, 2010 1 commit
  19. 17 Oct, 2009 1 commit
  20. 22 Mar, 2009 1 commit
    • Michael Natterer's avatar
      libgimpwidgets/gimpchainbutton.c libgimpwidgets/gimpcolorarea.c · 3795f9b9
      Michael Natterer authored
      2009-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpcolorscale.c
      	* libgimpwidgets/gimpcolorselect.c
      	* libgimpwidgets/gimpdialog.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpmemsizeentry.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppickbutton.c
      	* libgimpwidgets/gimppixmap.c
      	* libgimpwidgets/gimppreview.c
      	* libgimpwidgets/gimppreviewarea.c
      	* libgimpwidgets/gimpruler.c
      	* libgimpwidgets/gimpscrolledpreview.c
      	* libgimpwidgets/gimpwidgets.c: use accessors for various members
      	of GTK+ structures that don't exist any longer when GSEAL_ENABLE
      	is defined.
      
      
      svn path=/trunk/; revision=28190
      3795f9b9
  21. 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
  22. 28 Jun, 2008 1 commit
    • Michael Natterer's avatar
      libgimp/gimpgradientselectbutton.c libgimp/gimpmenu.c · 58cfcd4f
      Michael Natterer authored
      2008-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimpgradientselectbutton.c
      	* libgimp/gimpmenu.c
      	* libgimpwidgets/gimpbrowser.c
      	* libgimpwidgets/gimpcellrenderercolor.c
      	* libgimpwidgets/gimpcellrenderertoggle.c
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorscale.c
      	* libgimpwidgets/gimpcolorscales.c
      	* libgimpwidgets/gimpcolorselect.c
      	* libgimpwidgets/gimpenumwidgets.c
      	* libgimpwidgets/gimpframe.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppreviewarea.c
      	* libgimpwidgets/gimppropwidgets.c
      	* libgimpwidgets/gimpscrolledpreview.c: use accessors instead of
      	accessing members of GTK+ widgets directly.
      
      
      svn path=/trunk/; revision=26005
      58cfcd4f
  23. 16 Oct, 2007 1 commit
    • Sven Neumann's avatar
      libgimp/gimppatternselectbutton.c libgimp/gimpbrushselectbutton.c · c1c7afb0
      Sven Neumann authored
      2007-10-16  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimppatternselectbutton.c
      	* libgimp/gimpbrushselectbutton.c
      	* libgimpwidgets/gimpcolorarea.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdockbook.c: set GDK_WINDOW_TYPE_HINT_DND on
      	popup windows used to implement a DND cursor.
      
      svn path=/trunk/; revision=23841
      c1c7afb0
  24. 15 May, 2006 1 commit
  25. 27 Apr, 2006 1 commit
    • 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
  26. 12 Apr, 2006 1 commit
  27. 30 Jan, 2006 1 commit
    • Sven Neumann's avatar
      moved GIMP_PARAM defines from here ... · 7b24dd8e
      Sven Neumann authored
      2006-01-30  Sven Neumann  <sven@gimp.org>
      
      	* app/config/config-types.h: moved GIMP_PARAM defines from here ...
      
      	* libgimpbase/gimpparam.h: ... to this new files.
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbasetypes.h: include the new header file.
      
      	* libgimp/gimpfontselectbutton.c
      	* libgimpconfig/gimpcolorconfig.c
      	* libgimpthumb/gimpthumbnail.c
      	* libgimpwidgets/gimpcellrenderercolor.c
      	* libgimpwidgets/gimpcellrenderertoggle.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpcolordisplay.c
      	* libgimpwidgets/gimpcontroller.c
      	* libgimpwidgets/gimpdialog.c
      	* libgimpwidgets/gimpenumcombobox.c
      	* libgimpwidgets/gimpintcombobox.c
      	* libgimpwidgets/gimppageselector.c
      	* libgimpwidgets/gimppreview.c
      	* libgimpwidgets/gimppreviewarea.c
      	* libgimpwidgets/gimpzoommodel.c
      	* modules/cdisplay_colorblind.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/cdisplay_lcms.c
      	* modules/cdisplay_proof.c
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: use the GIMP_PARAM defines to avoid
      	unnecessary string allocations.
      7b24dd8e
  28. 20 Dec, 2005 1 commit
  29. 13 Oct, 2005 1 commit
    • Sven Neumann's avatar
      pass sensitivity to _gimp_color_area_render_buf(). · 815c90d1
      Sven Neumann authored
      2005-10-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolorarea.[ch]: pass sensitivity to
      	_gimp_color_area_render_buf().
      
      	* libgimpwidgets/gimpcellrenderercolor.c
      	(gimp_cell_renderer_color_render): respect cell and widget
      	sensitivity.
      815c90d1
  30. 04 Jun, 2005 2 commits
    • Sven Neumann's avatar
      invalidate the buffer when the widget's sensitivity changes. Draw a · 80d4e4f5
      Sven Neumann authored
      2005-06-04  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolorarea.[ch]: invalidate the buffer when
      	the widget's sensitivity changes. Draw a stipple pattern on the
      	insensitive color area.
      
      	* libgimpwidgets/gimpcellrenderercolor.c: follow internal API change.
      
      	* libgimpwidgets/gimpcolorbutton.c: pass GDK_BUTTON1_MASK as
      	drag-mask. Doesn't work for whatever reason but it didn't work
      	with GDK_BUTTON2_MASK either.
      80d4e4f5
    • Sven Neumann's avatar
      reduced the number of characters to show before ellipsizing the label. · be3a1dcc
      Sven Neumann authored
      2005-06-04  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdnd.c (gimp_dnd_get_viewable_icon): reduced the
      	number of characters to show before ellipsizing the label.
      
      	* libgimpwidgets/gimpcolorarea.c: added a "draw-border" property.
      
      	* app/widgets/gimpcolorframe.c: draw a border around the color area.
      be3a1dcc
  31. 29 May, 2005 1 commit
    • Sven Neumann's avatar
      pass GIMP_COLOR_AREA_CHECKS_SMALL instead of TRUE for the type of the · 101c5a2d
      Sven Neumann authored
      2005-05-29  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdnd.c (gimp_dnd_get_color_icon): pass
      	GIMP_COLOR_AREA_CHECKS_SMALL instead of TRUE for the type of the
      	GimpColorArea.
      
      	* app/widgets/gimpcoloreditor.c: added a "context" property.
      
      	* libgimpwidgets/gimpcolorarea.c (gimp_color_area_set_color):
      	always use gimp_rgba_distance(), regardless of the area's type.
      101c5a2d