1. 22 Sep, 2018 2 commits
  2. 21 Sep, 2018 5 commits
    • Ell's avatar
      tests: don't use GeglConfig::tile-{width,height} · 64e1cf2f
      Ell authored
      ... which were removed in commit
      628887b5.
      64e1cf2f
    • Ell's avatar
      buffer: match source buffer more closely in gegl_buffer_dup() · 897a692f
      Ell authored
      In gegl_buffer_dup(), use the same abyss, shift, and tile size for
      the duplicated buffer, in addition to the same extent and format,
      so that we use COW even when these properties don't use the default
      values.
      897a692f
    • Ell's avatar
      long-shadow: *actually* disable fixed-rate fading style · b36b064c
      Ell authored
      Should have been part of last commit.
      b36b064c
    • Ell's avatar
      long-shadow: disable fixed-rate fading style · c6d03fc4
      Ell authored
      The fixed-rate fading shadow style's interaction with the midpoint
      parameter is problematic, having a discontinuity at midpoint=1.  It
      may also be problematic w.r.t. some future directions for the op.
      Let's disable it for now, especially since the fixed-length fading
      style is probably the more useful one.
      
      Note that the code for the fixed-rate style is all still there,
      it's simply made inaccessible.
      c6d03fc4
    • Ell's avatar
      gegl: in gegl-op.h, add enum_value_skip() macro · 0ccccc1f
      Ell authored
      ... which defines an enum value, without registring it with GLib.
      Can be useful for defining internal enum values, or for temporarily
      disabling the availability of enum values without changing the
      code.
      0ccccc1f
  3. 20 Sep, 2018 1 commit
    • Ell's avatar
      gegl: don't use g_type_class_add_private() ... · 040e9490
      Ell authored
      ... and G_TYPE_INSTANCE_GET_PRIVATE()
      
      g_type_class_add_private() and G_TYPE_INSTANCE_GET_PRIVATE() were
      deprecated in GLib 2.58.  Instead, use
      G_DEFINE_TYPE_WITH_PRIVATE(), and G_ADD_PRIVATE(), and the
      implictly-defined foo_get_instance_private() functions, all of
      which are available in the GLib version we depend on.
      040e9490
  4. 19 Sep, 2018 8 commits
  5. 18 Sep, 2018 1 commit
  6. 17 Sep, 2018 1 commit
    • Ell's avatar
      buffer, tests: specify iterator aliasing rules, and prevent deadlocks · 4294bad2
      Ell authored
      Specify the rules under which aliased buffers, i.e., buffers
      sharing the same tile storage, may be added to the same iterator.
      The rules state that if a buffer is acessed for writing, then the
      iterated-over areas of each of its aliases must either overlap its
      iterated-over area completely, or not at all, and that none of the
      other overlapping aliases may be accessed for writing as well.
      
      Make sure that when these rules are followed, no deadlocks occur
      during iteration, regardless of the order in which the buffers are
      added to the iterator.  This is done by locking all the write-
      accessed tiles before the read-accessed tiles, and unlocking all
      the read-accessed tiles before unlocking/gegl_buffer_set()ing the
      write-accessed tiles.
      
      Add a test case, checking that no deadlocks occur.
      4294bad2
  7. 16 Sep, 2018 1 commit
  8. 15 Sep, 2018 1 commit
  9. 12 Sep, 2018 2 commits
  10. 11 Sep, 2018 2 commits
  11. 10 Sep, 2018 16 commits