1. 16 Nov, 2018 1 commit
    • Jehan's avatar
      app: force the image flush after a selection fill. · 287d90ba
      Jehan authored
      Other bucket fills are now done as filter until committed, but basic
      selection fill is still done automatically. So let's make sure the
      canvas is updated immediately (as it used to be before my changes).
      287d90ba
  2. 14 Nov, 2018 5 commits
    • Jehan's avatar
      969143c4
    • Jehan's avatar
      app: edit the bucket fill tool options with new line art options. · 824af124
      Jehan authored
      I have not added all the options for this new tool yet, but this sets
      the base. I also added a bit of TODO for several places where we need to
      make it settable, in particular the fuzzy select tool, but also simply
      PDB calls (this will need to be a PDB context settings.
      
      Maybe also I will want to make some LineArtOptions struct in order not
      to have infinite list of parameters to functions. And at some point, it
      may also be worth splitting a bit process with other type of
      selection/fill (since they barely share any settings anyway).
      
      Finally I take the opportunity to document a little more the parameters
      to gimp_lineart_close(), which can still be improved later (I should
      have documented these straight away when I re-implemented this all from
      G'Mic code, as I am a bit fuzzy on some details now and will need to
      re-understand code).
      824af124
    • Jehan's avatar
      app: bucket fill tool with a "paint-style" interaction. · e1c40506
      Jehan authored
      Rather than just having a click interaction, let's allow to "paint" with
      the bucket fill. This is very useful for the new "line art" colorization
      since it tends to over-segment the drawing. Therefore being able to
      stroke through the canvas (rather than click, up, move, click, etc.)
      makes the process much simpler. This is also faster since we don't have
      to recompute the line art while a filling is in-progress.
      Note that this new behavior is not only for the line art mode, but also
      any other fill criterion, for which it can also be useful.
      
      Last change of behavior as a side effect: it is possible to cancel the
      tool changes the usual GIMP way (for instance by right clicking when
      releasing the mouse button).
      e1c40506
    • Jehan's avatar
      app: make line art pre-computation in threads. · a3cda4ab
      Jehan authored
      This makes the speed sensation of the tool much faster as line art can
      be computed in dead time when you start the tool or when you move the
      pointer.
      a3cda4ab
    • Jehan's avatar
      app: compute line art in advance. · f246f404
      Jehan authored
      Right now, this is mostly meaningless as it is still done sequentially.
      But I am mostly preparing the field to pre-compute the line art as
      background thread.
      f246f404
  3. 11 Jul, 2018 1 commit
  4. 18 Apr, 2018 1 commit
  5. 05 Mar, 2017 1 commit
  6. 21 Dec, 2016 1 commit
  7. 15 Sep, 2016 1 commit
  8. 15 Mar, 2016 1 commit
  9. 11 Mar, 2016 3 commits
  10. 16 Jan, 2016 1 commit
    • Ell's avatar
      app: Add "Diagonal neighbors" option to the bucket fill tool · 350c7ca3
      Ell authored and Michael Natterer's avatar Michael Natterer committed
      When checked, diagonally neighboring pixels are considered connected
      when calculating the affected area.
      
      This commit also adds a corresponding diagonal_neighbors parameter to
      gimp_drawable_bucket_fill(), and modifies the callers, other than the
      bucket fill tool, to pass FALSE for this parameter, to retain the
      current behavior.
      350c7ca3
  11. 17 Oct, 2015 1 commit
    • Michael Natterer's avatar
      app: get rid of hardcoding GDK_SHIFT_MASK in tools/ · 7ec04e4a
      Michael Natterer authored
      gimp_suggest_modifiers(): change "shift_format" and "control_format"
      parameters to "extend_selection_format" and "toggle_behavior_format",
      which fixes the longstanding problem that the function did the right
      thing only by accident.
      
      tools: use gimp_get_extend_selection_mask() instead of GDK_SHIFT_MASK
      which is not 100% semantically correct in all cases, but at least a
      step in the right direction to make the tool modifiers easier to
      improve.
      7ec04e4a
  12. 08 Sep, 2015 1 commit
  13. 03 Jun, 2014 1 commit
  14. 02 Jun, 2014 2 commits
  15. 29 Apr, 2014 1 commit
    • Michael Natterer's avatar
      libgimpbase,*: clean up enum values in gimpbaseenums.h · 22c22229
      Michael Natterer authored
      GIMP_ADD_foo_MASK -> GIMP_ADD_MASK_foo
      GIMP_foo_MODE -> GIMP_BLEND_foo
      GIMP_foo_CLONE -> GIMP_CLONE_foo
      GIMP_foo -> GIMP_DODGE_BURN_TYPE_foo
      GIMP_foo -> GIMP_TRANSFER_foo
      
      Add compat values for the old names and compat code to script-fu
      and pygimp.
      22c22229
  16. 19 Apr, 2014 1 commit
  17. 13 May, 2013 1 commit
  18. 02 May, 2012 5 commits
  19. 06 Oct, 2011 1 commit
  20. 07 Oct, 2009 1 commit
  21. 04 Oct, 2009 1 commit
  22. 03 Sep, 2009 1 commit
  23. 29 Aug, 2009 1 commit
  24. 28 Aug, 2009 1 commit
  25. 21 Aug, 2009 2 commits
  26. 20 Aug, 2009 1 commit
    • Michael Natterer's avatar
      Refuse to edit locked drawables · ec6600a0
      Michael Natterer authored
      Check whether the drawable to edit is locked in GimpTool::initialize()
      and bail out with an appropriate error if it is. This currently
      prevents cloning from locked drawables, will fix that later.
      ec6600a0
  27. 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
  28. 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