1. 11 Jul, 2018 1 commit
  2. 23 Dec, 2017 1 commit
    • Jehan's avatar
      app: add back helper features to output possible flags for GIMP_DEBUG. · 6bd43d73
      Jehan authored
      Since commit a427213f, the special glib value "help" does not work
      anymore as a helper (listing the list of available flags).
      This means that to use GIMP_DEBUG environment variable, one has to
      either know them all by heart or check the app/gimp-log.c file.
      This commit still leaves "help" as a normal flag for GIMP_LOG_HELP
      domain in GIMP, but creates instead "list-all" as the new helper value.
      
      Moreover as a fallback, setting a random value to GIMP_DEBUG with no
      valid flags in it will also output the list of available flags. This
      way, one doesn't even have to remember a specific string to obtain the
      list.
      6bd43d73
  3. 09 Jul, 2014 1 commit
  4. 09 Aug, 2013 1 commit
  5. 09 Nov, 2011 1 commit
  6. 06 Apr, 2011 1 commit
  7. 26 Oct, 2010 1 commit
  8. 24 Jun, 2010 1 commit
  9. 11 Jun, 2010 1 commit
    • Martin Nordholts's avatar
      Add 'Automatic' Tab Style support · 9b86acd1
      Martin Nordholts authored
      Add support for a new type of Tab Style called 'Automatic'. This tab
      style makes the GimpDockbook use the biggest actual tab style it can
      for its auto tab style dockables, based on its widget allocation.
      
      The tab style candidates for auto tab style are "Status + Blurb",
      "Status + Text" and "Status". A docked widget can also say that it
      wants to use "Icon" instead of "Status" for its auto tab style. The
      'Tool Options' dockable does this. This is to be as backwards
      compatible with the old tab style setup, we make 'automatic' the
      default everywhere.
      
      We have quite a bit of dependency to internal layout code in
      GtkNotebook, but the current code should be pixel perfect and rather
      complete.
      
      Also add a basic regression test.
      9b86acd1
  10. 09 Jun, 2010 1 commit
  11. 18 Feb, 2010 1 commit
  12. 10 Feb, 2010 1 commit
  13. 02 Jan, 2010 1 commit
    • Martin Nordholts's avatar
      app: Add GIMP_LOG_FLOATING_SELECTION domain · b5defd4e
      Martin Nordholts authored
      Add GIMP_LOG_FLOATING_SELECTION domain to get rid of the somewhat
      annoying debug prints. Floating selection is likely to require further
      debuggin later on, so instead of just removing the output, use
      GIMP_LOG for it.
      b5defd4e
  14. 19 Sep, 2009 1 commit
  15. 20 Jul, 2009 1 commit
  16. 26 May, 2009 1 commit
    • Sven Neumann's avatar
      app: fix use of GIMP_LOG=help · a427213f
      Sven Neumann authored
      g_parse_debug_string() has special treatment of the string 'help',
      but we want to use it for the GIMP_LOG_HELP domain.
      a427213f
  17. 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
  18. 07 Sep, 2008 1 commit
    • Sven Neumann's avatar
      Applied 'gimp-decimate.diff' as announced on the mailing-list: · ce43257d
      Sven Neumann authored
      2008-09-07  Sven Neumann  <sven@gimp.org>
      
      	Applied 'gimp-decimate.diff' as announced on the mailing-list:
      
      	* app/gimp-log.[ch]: added log domain "scale".
      
      	* app/paint-funcs/scale-region.c: replaced decimation routines
      	with box filters. Only use the decimation routines to pre-scale
      	the image, always apply the interpolation for the final step.
      
      
      svn path=/trunk/; revision=26896
      ce43257d
  19. 10 May, 2008 1 commit
    • Michael Natterer's avatar
      add SHADOW_TILES log domain. · a37bce0d
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: add SHADOW_TILES log domain.
      
      	* app/plug-in/gimpplugin-cleanup.c (gimp_plug_in_cleanup_item):
      	turn commented-out g_printerr() into a GIMP_LOG()
      
      
      svn path=/trunk/; revision=25605
      a37bce0d
  20. 21 Mar, 2008 1 commit
    • Sven Neumann's avatar
      introduced log domain "menus". · e595d27d
      Sven Neumann authored
      2008-03-21  Sven Neumann  <sven@gimp.org>
      
      	* app/gimp-log.[ch]: introduced log domain "menus".
      
      	* app/menus/plug-in-menus.c: use gimp-log for debug output.
      
      
      svn path=/trunk/; revision=25158
      e595d27d
  21. 07 Dec, 2007 1 commit
    • Michael Natterer's avatar
      renamed log domain TOOLS to TOOL_EVENTS and added domain TOOL_FOCUS. · efda6254
      Michael Natterer authored
      2007-12-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: renamed log domain TOOLS to TOOL_EVENTS and
      	added domain TOOL_FOCUS.
      
      	* app/display/gimpdisplayshell-callbacks.c: s/TOOLS/TOOL_EVENTS/
      
      	* app/tools/gimptool.c: port focus debug output to GIMP_LOG().
      
      
      svn path=/trunk/; revision=24287
      efda6254
  22. 04 Dec, 2007 1 commit
    • Michael Natterer's avatar
      added new API gimp_drawable_estimate_memsize() and virtual function · dd80b4c2
      Michael Natterer authored
      2007-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: added new API
      	gimp_drawable_estimate_memsize() and virtual function
      	GimpDrawable::estimate_memsize() which estimate the memsize of a
      	drawable after scaling/resizing.
      
      	* app/core/gimplayer.c: implement the virtual function and take
      	the layer mask into account.
      
      	* app/core/gimpimage-item-list.[ch] (gimp_image_item_list_get_list):
      	added const qualifiers.
      
      	* app/core/gimpimage-scale.c (gimp_image_scale_check): use the new
      	function to correctly estimate the new size instead of scaling the
      	drawables' memsizes including all constant parts. Fixes bug #329468.
      
      	* app/gimp-log.[ch]: added IMAGE_SCALE log domain.
      
      	* app/core/gimpimage-scale.c: use it here for debugging output.
      
      
      svn path=/trunk/; revision=24260
      dd80b4c2
  23. 18 Nov, 2007 3 commits
    • Michael Natterer's avatar
      add SAVE_DIALOG log domain. · 6ee66007
      Michael Natterer authored
      2007-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: add SAVE_DIALOG log domain.
      
      	* app/dialogs/file-save-dialog: port debug output to GIMP_LOG().
      
      
      svn path=/trunk/; revision=24186
      6ee66007
    • Michael Natterer's avatar
      add DIALOG_FACTORY log domain. · f4621424
      Michael Natterer authored
      2007-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: add DIALOG_FACTORY log domain.
      
      	* app/widgets/gimpdialogfactory.c: port debug output to GIMP_LOG().
      
      
      svn path=/trunk/; revision=24185
      f4621424
    • Michael Natterer's avatar
      changed to work with different compiler-specific ways of doing macro · f98e9de7
      Michael Natterer authored
      2007-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: changed to work with different
      	compiler-specific ways of doing macro varargs also cope with no
      	macro vararg support at all. Pointed out by Hans Breuer.
      
      
      svn path=/trunk/; revision=24184
      f98e9de7
  24. 16 Nov, 2007 1 commit
    • Michael Natterer's avatar
      add HELP log domain. · f6efd040
      Michael Natterer authored
      2007-11-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: add HELP log domain.
      
      	* app/widgets/gimphelp.c: port debug output to GIMP_LOG() and
      	improve it.
      
      
      svn path=/trunk/; revision=24177
      f6efd040
  25. 15 Nov, 2007 2 commits
    • Michael Natterer's avatar
      add DND log domain. · df792bf8
      Michael Natterer authored
      2007-11-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: add DND log domain.
      
      	* app/widgets/gimpdnd.c: use GIMP_LOG().
      
      
      svn path=/trunk/; revision=24163
      df792bf8
    • Michael Natterer's avatar
      app/Makefile.am new files implementing a log facility which can be enabled · 3229e67f
      Michael Natterer authored
      2007-11-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimp-log.[ch]: new files implementing a log facility which
      	can be enabled using the GIMP_LOG environment variable.
      
      	* app/main.c: initialize it.
      
      	* app/display/gimpdisplayshell-callbacks.c: use it instead of
      	private debugging macros that need to be enabled at compile time.
      
      
      svn path=/trunk/; revision=24160
      3229e67f
  26. 02 Nov, 2007 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h app/core/gimpcurve-save.[ch] · 5dd23ae1
      Michael Natterer authored
      2007-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpcurve-save.[ch]
      	* app/core/gimpcurve-load.[ch]
      	* app/core/gimpcurve.[ch]: new GimpData subclass which keeps a
      	curve as known from the curves tool. Pretty much unfinished, but
      	can do everything that used to be done by base/curves.c and more.
      
      	* app/base/curves.[ch]: stripped down to plain arrays of
      	uchar (the actual curve) and the LUT setup function. All the rest
      	is done by GimpCurve now.
      
      	* app/tools/gimpcurvestool.[ch]: use an array of GimpCurves
      	instead of the old Curves cruft. Use Curves only for the last step
      	of creating the LUT. Pretty much unfinished migration here too.
      
      	* tools/pdbgen/pdb/color.pdb: use a GimpCurve here too.
      
      	* app/pdb/color_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24041
      5dd23ae1
  27. 09 Dec, 2006 1 commit
  28. 04 Oct, 2006 1 commit
    • Michael Natterer's avatar
      app/core/gimpbrushgenerated-load.c app/core/gimpgradient-load.c · 544d679e
      Michael Natterer authored
      2006-10-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbrushgenerated-load.c
      	* app/core/gimpgradient-load.c
      	* app/core/gimppalette-load.c
      	* app/core/gimppalette-save.c: read and write all files in binary
      	mode. Improved parser error messages (added line numbers). Minor
      	changes to simply read DOS files instead of barfing on them.
      544d679e
  29. 03 Oct, 2006 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/gimppalette-load.[ch] new files. · 75eed976
      Michael Natterer authored
      2006-10-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimppalette-load.[ch]
      	* app/core/gimppalette-save.[ch]: new files.
      
      	* app/core/gimppalette.[ch]: removed loading and saving code here.
      
      	* app/core/gimp.c
      	* app/core/gimppalette-import.c: changed accordingly.
      75eed976
  30. 29 Aug, 2006 1 commit
    • Michael Natterer's avatar
      Changed GimpViewable preview rendering to have a context to get · b53aa45a
      Michael Natterer authored
      2006-08-29  Michael Natterer  <mitch@gimp.org>
      
      	Changed GimpViewable preview rendering to have a context to get
      	FG/BG/whatever from. Use the context to enable dynamic FG/BG
      	colors in gradients. Fixes bug #127676 and bug #352214. Addresses
      	bug #128367 (doesn't fix it because there's no loading/saving and
      	no GUI yet).
      
      	* app/core/core-enums.[ch]: added enum GimpGradientColor to enable
      	specifying gradient colors in terms of foreground and background.
      
      	* app/core/gimpgradient.[ch]: added color_type members to the
      	GimpGradientSegment struct and honor them in
      	gimp_gradient_get_color_at(). Added GimpContext parameters to all
      	functions which finally call get_color_at().
      
      	* app/core/gimp-gradients.c: use the new method to implement the
      	builtin gradients.
      
      	* app/core/gimpviewable.[ch]: added GimpContext parameters to all
      	get_preview() and get_pixbuf() functions.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-preview.[ch]
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-preview.[ch]
      	* app/core/gimpimagefile.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimpundo.[ch]
      	* app/text/gimpfont.c
      	* app/vectors/gimpvectors-preview.[ch]: changed ::get_preview()
      	and ::get_pixbuf() implementations accordingly.
      
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimppalette-import.[ch]
      	* app/dialogs/dialogs-constructors.c
      	* app/dialogs/palette-import-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpnavigationeditor.c
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/actions/gradient-editor-commands.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcellrendererviewable.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpclipboard.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainercombobox.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainerentry.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.[ch]
      	* app/widgets/gimpdataeditor.[ch]
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimppropwidgets.[ch]
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpthumbbox.[ch]
      	* app/widgets/gimptoolbox-image-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpundoeditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpview-popup.[ch]
      	* app/widgets/gimpview.[ch]
      	* app/widgets/gimpviewablebutton.c
      	* app/widgets/gimpviewabledialog.c
      	* app/widgets/gimpviewrenderer.[ch]
      	* app/widgets/gimpviewrenderer-frame.c
      	* app/widgets/gimpviewrendererbrush.c
      	* app/widgets/gimpviewrendererbuffer.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererimage.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb: added tons of GimpContext members
      	and parameters, implement GimpDocked::set_context() in many
      	widgets. Pass these locally remembered contexts to GimpViewable
      	functions. Did some minor cleanups on the way. There are still
      	some minor FIXMEs around where the code uses a NULL context (which
      	is allowed by the APIs)
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      b53aa45a
  31. 23 May, 2006 1 commit
    • Sven Neumann's avatar
      It makes more sense to have GimpData::dirty indicate a name change than to · c3448b2c
      Sven Neumann authored
      2006-05-23  Sven Neumann  <sven@gimp.org>
      
      	It makes more sense to have GimpData::dirty indicate a name change
      	than to invalidate the previews whenever the name changes.
      
      	* app/core/gimpdata.c: call gimp_object_name_changed() from
      	gimp_data_real_dirty() instead of implementing
      	GimpObject::name-changed and calling gimp_data_dirty() from there.
      
      	* app/core/gimpbrushclipboard.c
      	* app/core/gimppalette.c
      	* app/core/gimppatternclipboard.c: call gimp_data_dirty() in place
      	of gimp_object_name_changed().
      
      	* app/core/gimpbrushgenerated.c (gimp_brush_generated_dirty):
      	chain up unconditionally.
      c3448b2c
  32. 15 May, 2006 1 commit
  33. 07 Apr, 2006 1 commit
    • Sven Neumann's avatar
      app/actions/tool-options-commands.c app/core/gimp.c · 5fc9bd40
      Sven Neumann authored
      2006-04-07  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/tool-options-commands.c
      	* app/core/gimp.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpgradient-load.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimplist.c
      	* app/core/gimppalette.c
      	* app/dialogs/template-options-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/paint/gimp-paint.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptoolbox-dnd.c: use gimp_object_set_static_name()
      	and gimp_object_take_name() where appropriate.
      5fc9bd40
  34. 10 Dec, 2005 1 commit
  35. 09 Oct, 2005 1 commit
    • Michael Natterer's avatar
      set the "tooltip" return value to NULL before calling the virtual · 34697840
      Michael Natterer authored
      2005-10-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.c (gimp_viewable_get_description): set the
      	"tooltip" return value to NULL before calling the virtual function.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c
      	* app/core/gimppaintinfo.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimptoolinfo.c (get_description): don't do it here.
      
      	* app/core/gimpbuffer.c
      	* app/core/gimppaintinfo.c: untabbify, cleanup.
      
      	* app/core/gimpobject.c: emit "notify::name" whenerver the name
      	changes, clenup.
      34697840
  36. 01 Sep, 2005 2 commits
    • Sven Neumann's avatar
      reverted, it duplicates existing functionality. · f4e2ea30
      Sven Neumann authored
      2005-09-01  Sven Neumann  <neumann@jpk.com>
      
      	* app/core/gimppalette.[ch]: reverted, it duplicates existing
      	functionality.
      
      	* app/core/gimppalette-import.c
      	(gimp_palette_import_from_indexed_image): name the colors using
      	their index in the colormap.
      f4e2ea30
    • Sven Neumann's avatar
      added gimp_palette_new_from_colormap(). · cf538a33
      Sven Neumann authored
      2005-09-01  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette.[ch]: added gimp_palette_new_from_colormap().
      cf538a33