1. 07 Feb, 2019 4 commits
  2. 06 Feb, 2019 6 commits
  3. 05 Feb, 2019 7 commits
  4. 04 Feb, 2019 15 commits
    • Balázs Meskó's avatar
      Update Hungarian translation · 88026989
      Balázs Meskó authored
      (cherry picked from commit d368fabf)
      88026989
    • Ell's avatar
      app: in GimpTransformGridTool, allow linking forward/backward transforms · 39e23267
      Ell authored
      Add a GimpTransformGridTool::matrix_to_info() virtual function,
      which should extract the tool-specific transformation parameters
      given a transformation matrix, and the old parameter set (which is
      needed in some tools, to derive the parameters that aren't encoded
      in the matrix, such as the pivot point).  The transformation matrix
      can be any combination of matrices calculated by the tool, and
      their inverses.  Subclasses should only implement this function if
      every such matrix can be mapped back to transformation parameters.
      This is currently the case for all the transform-grid tools, except
      for the shear tool (since it only supports shearing along one of
      the horizontal or the vertical directions, however, the combined
      matrix may require shearing in both directions).
      
      When a transform-grid tool implements this function, show a chain-
      button between the two transform-direction radio-buttons in the
      tool options.  When the chain-button is linked, whenever the
      transform corresponding to the active direction is modified, adjust
      the transform corresponding to the non-active direction such that
      the overall transform remains the same.
      
      One notable workflow that this enables is transforming a layer
      while adjusting a different area than its boundary, by first
      defining the area while the transform-directions are linked, and
      then transforming the area while the transform-directions are
      unlinked.
      39e23267
    • Ell's avatar
      app: in GimpTransformGridTool, allow simultaneous forward and backward transforms · de8e81f8
      Ell authored
      In GimpTransformGridTool, allow performing simultaneous forward
      (normal) and backward (corrective) transforms, by having each
      transform direction operate on an independent set of parameters.
      In other words, whereas the transform-grid tools previously had a
      single transform, which could be applied either normally or
      correctively using the "direction" tool-option, they now have two
      independent transforms, one applied normally and the other
      applied correctively, which are toggled using the "direction"
      option.  The overall transform is the combination of the backward
      transform, followed by the forward transform.
      
      Another way to think about it, is that the tool transforms a source
      shape into a destination shape.  The source shape is defined by the
      backward transform, and the destination shape is defined by the
      forward transform.  Wherewas previously only one of these shapes
      could be controlled (the other shape always being the item bounds),
      it's now possible to control both shapes in a single transform.
      The next commit will allow modifying both shapes simultaneously,
      making this even more useful.
      
      Note that since both transforms start off as the identity, using
      only one of the transform directions has the same behavior as
      before.
      de8e81f8
    • Ell's avatar
      libgimpwidgets: add GimpChainButton::active property · 9c3f150e
      Ell authored
      ... which corresponds to the button's toggle state.
      9c3f150e
    • Ell's avatar
      libgimpwidgets: add GimpChainButton::icon-size property · 8d6c7e42
      Ell authored
      ... and corresponding gimp_chain_button_{get,size}_icon_size()
      functions, which control the chain-button's icon size.
      8d6c7e42
    • Ell's avatar
      app: add GimpTransformToolClass::undo_desc field · d5494406
      Ell authored
      Add an undo_desc field to GimpTransformToolClass, which subclasses
      should set to the tool's default undo description.  Provide a
      default implementation for the get_undo_desc() vfunc, which returns
      (a copy of) undo_desc.  This simplifies transform tools that have a
      static undo descrption, as well as provides a fallback when a
      detailed undo description can't be generated (not currently
      relevant, but will be used in the next commit).
      d5494406
    • Ell's avatar
      app: improve rotate-tool undo description · 44c8a1f2
      Ell authored
      When rotating an item around its center using the rotate tool,
      i.e., if the pivot point hasn't been moved, don't include the pivot
      coordinates in the undo description.
      44c8a1f2
    • Ell's avatar
      app: improve measure-tool undo description · b95bf3fb
      Ell authored
      When straightening an item using the measure-tool, include the
      orientation and angle in the undo description.
      b95bf3fb
    • Ell's avatar
      app: add GimpToolCompass::effective-orientation property · 40c09131
      Ell authored
      In GimpToolCompass, add a read-only "effective-orientation"
      property, which returns the actual orientation of the compass; in
      particular, if the "orientation" property is set to AUTO,
      "effective-orientation" returns HORIZONTAL or VERTICAL, depending
      on the current compass direction.  In 3-point mode, the property
      always returns AUTO.
      40c09131
    • Ell's avatar
      app: fix CRITICALs in GimpMeasureTool · 7fc5698f
      Ell authored
      In GimpMeasureTool, don't try to access the "straighten" button
      when halting the tool if it's NULL, which can happen when the
      measure tool is selected upon startup, but is changed before its
      tool-options GUI is constructed.
      7fc5698f
    • Ell's avatar
      app: in gimp_transform_matrix_generic(), apply matrix even if invalid · 59ef222c
      Ell authored
      In gimp_transform_matrix_generic(), apply the resulting matrix even
      if the transformation is invalid, since GimpGenericTransformTool
      relies on the matrix to properly update the transform-grid widget.
      59ef222c
    • Ell's avatar
      app: in GimpTransformGridTool, fix layer hiding · 7ed51204
      Ell authored
      In GimpTransformGridTool, when the "show-preview" tool-option
      changes, don't take the transform validity into account when
      deciding whether to hide the current layer -- it should only affect
      the visibility of the preview, not the layer.
      7ed51204
    • Ell's avatar
      app: in GimpTransformGridTool, remove flip-tool hack · 3ebda874
      Ell authored
      The flip tool is not a subclass of GimpTransformGridTool; this is
      a leftover from GimpTransformTool.
      3ebda874
    • Rodrigo Lledó Milanca's avatar
      Update Spanish translation · 92105990
      Rodrigo Lledó Milanca authored
      (cherry picked from commit dc431bbc)
      92105990
    • Michael Natterer's avatar
  5. 03 Feb, 2019 2 commits
  6. 02 Feb, 2019 3 commits
  7. 01 Feb, 2019 3 commits