1. 08 Feb, 2019 3 commits
  2. 07 Feb, 2019 7 commits
    • Balázs Úr's avatar
      Update Hungarian translation · 40773458
      Balázs Úr authored
      40773458
    • Jehan's avatar
      po: fix the context (msgctx) for 2 strings. · 7a5e5be3
      Jehan authored
      See commit f8f3a749.
      The context change was basically a bug fix, and nothing changed in the
      original string, nor its actual GUI context/usage. Therefore there is no
      need to invalidate the translations (mark it "fuzzy", which would be
      what would happen automatically after this change) for the 43 languages
      which already translated these. Let's just search-and-replace all the po
      files with the correct context.
      
      For the record, I got the green light from several translators on
      gnome-i18n ML so let's fix. :-)
      7a5e5be3
    • Jehan's avatar
      app: improve line art bucket fill by filling unsignificant areas. · 72092fbd
      Jehan authored
      The line art imaginary segments/splines are not added when they create
      too small zones, unless when these are just too small ("unsignificant").
      Why the original algorithm keeps such micro-zones is because there may
      be such zones created when several splines or segments are leaving from
      a same key point (and we don't necessarily won't to forbid this). Also
      we had cases when using very spiky brushes (for the line art) would
      create many zones, and such micro-zones would appear just too often
      (whereas with very smooth lines, they are much rarer, if not totally
      absent most of the time).
      Also it is to be noted that the original paper would call these
      "unsignificant" indeed, but these are definitely significant for the
      artists. Therefore having to "fix" the filling afterwards (with a brush
      for instance) kind of defeat the whole purpose of this tool.
      
      I already had code which would special-case (fill) 1-pixel zones in the
      end, but bigger micro zones could appear (up to 4 pixels in the current
      code, but this could change). Also I don't want to use the "Remove
      Holes" (gimp:flood) operation as I want to make sure I remove only
      micro-holes created by the line art closure code (not micro-holes from
      original line arts in particular).
      
      This code takes care of this issue by filling the micro-holes with
      imaginary line art pixels, which may later be potentially bucket filled
      when water-filling the line art.
      72092fbd
    • Ell's avatar
      app: fix gimp_babl_compat_u8_mask_format() · 55f963cb
      Ell authored
      ... post space-invasion
      55f963cb
    • Jehan's avatar
      Issue #2920: Dilate and Erode filters' tooltips are untranslatable. · f8f3a749
      Jehan authored
      Wrong message contexts!
      f8f3a749
    • Ell's avatar
      app, pdb: use compat formats for brushes/patterns in plug-ins · 82c44949
      Ell authored
      Plug-ins are not prepared to handle high-precision brushes/
      patterns, even when they're otherwise aware of high-precision
      drawables, so make sure to always use compat formats when
      communicating brush/pattern data to plug-ins.
      
      Allowing plug-ins to handle high-precision brush/pattern data would
      require some additional API.
      82c44949
    • sabri ünal's avatar
      2 sentences are marked as translatable. · 18537706
      sabri ünal authored
      These sentences are in use on "Preferences - Interface - Help System" page.
      18537706
  3. 06 Feb, 2019 6 commits
  4. 05 Feb, 2019 7 commits
  5. 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
  6. 03 Feb, 2019 2 commits