1. 03 Nov, 2018 2 commits
    • Ell's avatar
      app: simplify drawable preview rendering · 5456226c
      Ell authored
      Simplify gimp_view_renderer_drawable_render(), by consolidating
      common code paths.  In particular, when rendering the preview as
      part of an image, always crop the preview to the bounds of the
      image, even when downscaling, to avoid unnecessarily downscaling/
      convering cropped-out regions.  We previously only did this when
      upscaling the preview by a factor of 2 or more; whatever the reason
      for this used to be, it's no longer there.
      
      (cherry picked from commit 8009ea34)
      5456226c
    • Ell's avatar
      Issue #2436 - Crash after downsizing canvas · 4f27efc4
      Ell authored
      In gimp_view_renderer_drawable_render(), avoid overflow in preview-
      area calculation.  This prevents erroneously setting 'scaling_up'
      to FALSE while upscaling the drawable by a very large amount, which
      can lead to the creation of a very large GimpTempBuf for the
      preview, causing memory allocation to fail.
      
      (cherry picked from commit 0cdbe91e)
      4f27efc4
  2. 02 Nov, 2018 2 commits
  3. 01 Nov, 2018 2 commits
  4. 31 Oct, 2018 1 commit
    • Michael Natterer's avatar
      Issue #2379 - Crash on saving · a33a629b
      Michael Natterer authored
      file_save(): make sure we always set an error on failure
      
      file_save_dialog_save_image(): additionally, check that "error" exists
      before dereferencing it.
      
      (cherry picked from commit c55f2308)
      a33a629b
  5. 30 Oct, 2018 2 commits
  6. 29 Oct, 2018 1 commit
  7. 27 Oct, 2018 2 commits
    • Ell's avatar
      app: fix tests for new show-tabs option · 13ee89d4
      Ell authored
      In app/tests, add the show-tabs pref, added in commit
      1ca2d744, to the expected sessionrc
      files.
      
      (cherry picked from commit 4113aaad)
      13ee89d4
    • Ell's avatar
      Issue #2405 - Rotation center shifts by half a pixel ... · 8a5ee944
      Ell authored
      ... the second time you do a 180 degrees rotation
      
      In gimp_transform_resize_adjust(), nudge the transformed layer
      boundary by EPSILON toward the center, to avoid enlarging the layer
      unnecessarily, as a result of numeric error amplified by rounding,
      when the tranformed boundary should land on integer coordinates.
      In particular, this avoids enlarging the layer when rotating by 180
      degrees.
      
      (cherry picked from commit c271992a)
      8a5ee944
  8. 25 Oct, 2018 9 commits
  9. 24 Oct, 2018 4 commits
  10. 23 Oct, 2018 6 commits
  11. 22 Oct, 2018 3 commits
  12. 21 Oct, 2018 3 commits
  13. 20 Oct, 2018 3 commits