1. 24 Aug, 2017 1 commit
  2. 21 Aug, 2017 1 commit
    • Michael Natterer's avatar
      Move the new "default_new_layer_mode" APIs to the image... · e16c8a23
      Michael Natterer authored
      ...in both the core and libgimp.
      
      Images now know what the default mode for new layers is:
      
      - NORMAL for empty images
      - NORMAL for images with any non-legacy layer
      - NORMAL_LEGAVY for images with only legacy layers
      
      This changes behavior when layers are created from the UI, but *also*
      when created by plug-ins (yes there is a compat issue here):
      
      - Most (all?) single-layer file importers now create NORMAL layers
      - Screenshot, Webpage etc also create NORMAL layers
      
      Scripts that create images from scratch (logos etc) should not be
      affected because they usually have NORMAL_LEGACY hardcoded.
      
      3rd party plug-ins and scripts will also behave old-style unless they
      get ported to gimp_image_get_default_new_layer_mode().
      e16c8a23
  3. 20 Aug, 2017 1 commit
  4. 19 Aug, 2017 1 commit
  5. 08 Aug, 2017 1 commit
  6. 30 Jul, 2017 1 commit
    • Ell's avatar
      app: improve GimpToolLine slider motion clamping/constraint · 2d11d291
      Ell authored
      During constrained motion, round the slider value before clamping
      it, so that the slider limits are always enforced.  Additionally,
      snap the slider to 1/12-ths of the line length, rather than
      1/24-ths.
      
      Make sure that sliders can never have negative-zero values, which
      can result in a -inf base for spiral.
      2d11d291
  7. 28 Jul, 2017 1 commit
  8. 15 Jul, 2017 2 commits
    • Michael Natterer's avatar
      app: make GimpToolTransformGrid handle modifiers itself · 4208acea
      Michael Natterer authored
      and update the grid as soon as a constraint is changed, not only on
      the next motion. Change GimpTransformTool to forward the events to the
      widget if it exists, but still handle them if it doesn't (yes this
      code duplication is ugly, but the widget can hardly handle events if
      it doesn't exist...).
      4208acea
    • Michael Natterer's avatar
      app: use a lot of g_clear_object() and g_clear_pointer() · 0cb3e75f
      Michael Natterer authored
      More than 2000 lines of code less in app/, instead of
      
      if (instance->member)
        {
          g_object_unref/g_free/g_whatever (instance->member);
          instance->member = NULL;
        }
      
      we now simply use
      
      g_clear_object/pointer (&instance->member);
      0cb3e75f
  9. 09 Jul, 2017 1 commit
  10. 08 Jul, 2017 1 commit
  11. 06 Jul, 2017 1 commit
  12. 04 Jul, 2017 2 commits
  13. 03 Jul, 2017 3 commits
  14. 02 Jul, 2017 2 commits
  15. 29 Jun, 2017 7 commits
  16. 28 Jun, 2017 2 commits
  17. 27 Jun, 2017 2 commits
  18. 26 Jun, 2017 8 commits
  19. 25 Jun, 2017 2 commits