1. 23 May, 2017 1 commit
    • Ell's avatar
      enums: run gimp-mkenums from the build dir · 5bcde32c
      Ell authored
      Commit 1e6acbd4 modified the
      generated enum recipes to run gimp-mkenums from the source
      directory, instead of the build directory, so that only the
      basenames of the corresponding header files would appear in
      the comment at the top of the generated files.  This was a
      mistake -- $(GIMP_MKENUMS) is expecting to be invoked from the
      build directory.
      Switch back to running gimp-mkenums from the build directory.  To
      avoid including the relative path from the build directory to the
      source directory in the generated file, add a @basename@ production
      variable to gimp-mkenums, which exapnds to the basename of the
      input file, and use it instead of @filename@ in the recipes for the
      generated enum files.
  2. 22 May, 2017 5 commits
  3. 21 May, 2017 4 commits
    • Jordi Mas's avatar
      Update Catalan translation · 293aecf9
      Jordi Mas authored
    • Piotr Drąg's avatar
      Update Polish translation · cb5d9770
      Piotr Drąg authored
    • Ell's avatar
      app: future-proof XCF layer blend/composite props · e7d781ff
      Ell authored
      The layer blend space, composite space, and composite mode
      properties have a special AUTO value, which may map to different
      concrete values based on the layer mode.  Make sure we can change
      this mapping in the future, without affecting existing XCFs (saved
      after this commit), by encoding these properties as follows:
      When saving an XCF, if the property has a concrete (non-AUTO)
      value, which is always positive, encode it as is.  If the property
      is AUTO, which is always 0, encode it as the negative of the value
      it actually maps to at the time of saving (note that in some cases
      AUTO may map to AUTO, in which case it's encoded as 0).
      When loading an XCF, if the encoded property (stored in the file)
      is nonnegative, use it as is.  Otherwise, compare the negative of
      the encoded property to the value AUTO maps to at the time of
      loading.  If the values are equal, set the property to AUTO;
      otherwise, use the concrete value (i.e., the negative of the value
      stored in the XCF).
      Note that XCFs saved prior to this commit still load fine, it's
      simply that if we change the AUTO mapping in the future, all their
      AUTO properties will keep being loaded as AUTO, even if the
      resulting concrete values will have changed.
    • Marco Ciampa's avatar
      Updated Italian translation · 7f7d8b43
      Marco Ciampa authored
  4. 19 May, 2017 12 commits
  5. 18 May, 2017 5 commits
  6. 17 May, 2017 7 commits
    • Ell's avatar
      app: in warp tool, avoid nop strokes with the MOVE behavior · 3814ac90
      Ell authored
      When using the MOVE behavior, don't append the current cursor
      position to the stroke path in the timeout proc if the cursor
      hasn't moved since last time.  It has no effect, except for
      requiring an unnecessary update.
    • Ell's avatar
      app: in warp tool, compress motion events · 5be79bc8
      Ell authored
      We stroke the last-reported coords in a timeout proc, so there's
      no real need for exact motion notification.
    • Ell's avatar
      app: in warp tool, improve update region calc. · a0b30d54
      Ell authored
      ... as a result of a stroke change.
    • Michael Natterer's avatar
      Bug 749902 - Add Hue-Chroma operation/tool and LCH color selector · 2b167d63
      Michael Natterer authored
      Add LCH to the color selectors, patch by Elle Stone and myself.
      - Extend enum GimpColorSelectorChannel by LCH channels
      - Support them in GimpColorScale, GimpColorScales and GimpColorSelect
      - Did not yet remove the HSV channels until things are working 100% ok
      - Change drawing in GimpColorSelect to be much faster, to compensate
        for babl_process() making the LCH modes pretty slow
      - Clean up stuff in GimpColorSelect
      This is WIP and should not be considered finished, biggest TODO is
      displaying out-of-gamut values in GimpColorScales' spinbuttons.
    • Elle Stone's avatar
      Bug 773461 - Color picker lacks L*a*b* mode · 127e7dae
      Elle Stone authored
      Add LAB readout to Pointer and Sample Points dialogs
    • Ell's avatar
      app: maintain warp tool graph structure during undo/redo · 9c7cae62
      Ell authored
      When undoing a warp stroke, don't disconnect the current warp node
      from its predecessor; rather, keep the graph as-is, and only
      reconnect the render_node to the previous node.  This avoids
      invalidating the undone node, so that redoing it (which, likewise,
      only involves reconnecting the render_node) doesn't require
      reprocessing, making it much faster.
    • Ell's avatar
      app: add "spacing" parameter to warp tool; change "hardness" range · 13e274d8
      Ell authored
      The spacing parameter controls the stroke spacing of the warp op.
      It's similar, but not identical, to the brush spacing parameter of
      the paint tools.  It provides a tradeoff between speed and quality.
      Change the UI range of the hardness parameter from [0, 1] to [0, 100],
      to match the other parameters.
  7. 16 May, 2017 4 commits
  8. 15 May, 2017 2 commits
    • Jehan's avatar
      app, menus: rename confusing layers-text-tool and vectors-path-tool. · 0dbdf232
      Jehan authored
      "layers-text-tool" action shows as "Text Tool" while "vectors-path-tool"
      shows as "Path Tool". That's very confusing with tools-text and
      tools-vectors respectively.
      These actions are mostly about entering in edit mode with the active
      layer or path. For text layers, it will enter text edition on canvas,
      whereas just open the attributes edition dialog on other layers. For
      consistency, layers-text-edit is renamed as well too layers-edit-text.
      This also fix the side effect of commits 10099bda and 526918b2 where I
      didn't realize that layers-text-tool was also working on non text layers
      on purpose (being very badly named). Now there is a separate layers-edit
      and layers-edit-text.
      Thanks to Pat David for English corrections. :-)
    • Kristian Rietveld's avatar