1. 25 Apr, 2018 9 commits
    • Jehan's avatar
      desktop: preparing appdata for 2.10.0 release. · fb6328b9
      Jehan authored
      Adding today's (hopeful) date.
      
      Also removing the trick from commit 447d9bbc because the bug in
      appstream-util has been fixed, but adding the same trick elsewhere for
      another bug in this validation script:
      https://github.com/hughsie/appstream-glib/issues/234
      fb6328b9
    • Ell's avatar
      app: use gradient cache for conical gradients · 5970046e
      Ell authored
      Add gimp_drawable_gradient_adjust_coords(), which adjusts the
      gradient segment coords according to the gradient type, so that, in
      cases where the gradient span is unrelated to the segment length,
      the gradient cache (in GimpOperationGradient) is big enough not to
      produce banding.  Use the new function in gimp_drawable_gradient()
      and in the gradient tool, instead of duplicating the logic.
      
      Move the shapreburst coordinate-adjustment logic to the new
      function, and add appropriate logic for conical gradients.
      
      Remove the code that avoids using the gradient cache for conical
      gradients from GimpOperationGradient.
      5970046e
    • Ell's avatar
      app: in GimpOperationGradient, move cache generation back to process() · 38ba45cf
      Ell authored
      Undo the part of commit fa9a4108
      that moved cache generation from process() to prepare().  prepare()
      is called after each property change, in order to calculate the
      op's bounding box for invalidation.  Since we only need the cache
      for actual processing, generating it in process() avoids that
      overhead.
      38ba45cf
    • Michael Natterer's avatar
      app: protect GimpContext's "parent" pointer against dangling · ef5bd98e
      Michael Natterer authored
      with a weak ref and call set_parent(NULL) in dispose().
      ef5bd98e
    • Ell's avatar
      app: use paint composite-mode, instead of AUTO, in more places · 45be8b25
      Ell authored
      In the various types of fill operations, and in fade operations,
      use the paint composite-mode of the current paint mode, which is
      the composite mode we use during painting, instead of AUTO, which
      results in the default mode we use for layer compositing.  This
      effectively means that filling using any non-legacy, non-
      subtractive mode can paint over transparent areas, rather than
      being limited to nontransparent areas.
      45be8b25
    • Ell's avatar
      app: remove multithreading warning from the preferences dialog · 95921427
      Ell authored
      Since we're prepping for a release, it's a about time we've done
      that.  I hereby pronounce multithreading support fit for general
      use!
      95921427
    • Ell's avatar
      app: various improvements to GimpOperationGradient · fa9a4108
      Ell authored
      Invalidate the gradient cache while setting relevant properties,
      and validate it, reconstructing if necessary, during prepare(),
      rather than process(), to avoid the need to use a mutex.
      
      Make sure the cache has at least two elements, corresponding to
      the initial and final colors of the gradient, since both colors
      might be needed, and to avoid division by zero.
      
      Avoid using a cache if its necessary size is too big, or if the
      gradient type is conical, since the necessary cache size for
      conical gradients is unrelated to the gradient line length.
      
      Improve index rounding during cache lookup.
      
      Lots of indentation fixes.
      fa9a4108
    • Ell's avatar
      Bug 793714 - Error when merging layer group with Pass through mode · 4fce5d25
      Ell authored
      When merging a pass-through group, change its mode to NORMAL first,
      to avoid a critical when duplicating the group as a regular layer.
      Preserve the group's blend/composite space/mode while changing its
      mode (note that only the composite space currently matters, since
      the other parmaeters are immutable for pass-through groups.)
      4fce5d25
    • Ville Pätsi's avatar
      bd03ea76
  2. 24 Apr, 2018 15 commits
  3. 23 Apr, 2018 11 commits
  4. 22 Apr, 2018 5 commits