1. 07 May, 2018 1 commit
  2. 21 Apr, 2018 1 commit
  3. 12 Apr, 2018 1 commit
  4. 11 Apr, 2018 1 commit
  5. 03 Apr, 2018 3 commits
    • Bryce Harrington's avatar
      Disable skia from configure · 38806bc3
      Bryce Harrington authored
      Implement suggestion by Adrian Johnson to comment out skia in
      configure.ac to avoid presenting it as an option to users.  This was
      discussed on the Cairo mailing list in September 2017.
      
      Skia is not API stable and is not available in packaged+versioned forms,
      resulting in it being a continually moving target.  I.e. it's pretty
      much always unusably out of date.  The last update to the skia backend
      was in 2014, and had not been updated very regularly prior to that.
      
      We'll simply disable it for now.  If no one complains by the next Cairo
      snapshot release, we'll assume no one is needing it and will drop the
      code entirely.
      
      Meanwhile, if anyone does need it, it can be uncommented and used.
      
      (The changes to the win32 build config appear to be automatically
      generated as a result of disabling the feature in configure.  I'm
      committing them to avoid confusion.)
      38806bc3
    • Bryce Harrington's avatar
    • Unknown's avatar
      Cairo trivial typos · 12cb59be
      Unknown authored
      
      
      Found using `codespell -q 3 -I cairo-whitelist.txt`
      whereby whitelist contained:
      ```
      amin
      iff
      lod
      writen
      ```
      Reviewed-by: default avatarBryce Harrington <bryce@osg.samsung.com>
      12cb59be
  6. 02 Apr, 2018 3 commits
  7. 15 Mar, 2018 1 commit
    • Uli Schlachter's avatar
      Fix a 'memory leak' in the image compositor · 1ed124ac
      Uli Schlachter authored
      There is a global pixman_glyph_cache_t instance that is initialized on
      first use and shows up in valgrind output as a relatively large leak (I
      think it was about 200 KiB). The reason for this is that this cache is
      not freed by cairo_debug_reset_static_data().
      
      This commit wires up freeing the cache to
      cairo_debug_reset_static_data().
      
      This cache was introduced in commit 615205cf
      
       from 2012.
      Signed-off-by: Uli Schlachter's avatarUli Schlachter <psychon@znc.in>
      1ed124ac
  8. 08 Mar, 2018 2 commits
  9. 07 Mar, 2018 1 commit
  10. 28 Feb, 2018 1 commit
  11. 06 Feb, 2018 4 commits
  12. 24 Jan, 2018 2 commits
    • Bryce Harrington's avatar
      font: Check return value from _cairo_ft_unscaled_font_lock_face · 1cbebafe
      Bryce Harrington authored
      cairo-ft-font.c: In function ‘_cairo_ft_has_color_glyphs’:
      cairo-ft-font.c:3011:9: warning: ignoring return value of ‘_cairo_ft_unscaled_font_lock_face’, declared with attribute warn_unused_result [-Wunused-result]
               _cairo_ft_unscaled_font_lock_face (unscaled);
               ^
      1cbebafe
    • Bryce Harrington's avatar
      Fix two type casting warnings in get_C_locale() · bc335a74
      Bryce Harrington authored
      cairo-misc.c:806:43: warning: passing argument 1 of ‘_cairo_atomic_ptr_get’ from incompatible pointer type
           C = (locale_t) _cairo_atomic_ptr_get (&C_locale);
                                                 ^
      
      cairo-misc.c:811:45: warning: passing argument 1 of ‘_cairo_atomic_ptr_cmpxchg_impl’ from incompatible pointer type
               if (!_cairo_atomic_ptr_cmpxchg (&C_locale, NULL, C)) {
                                                   ^
      
      Routines are expecting a void** so cast.
      bc335a74
  13. 22 Jan, 2018 1 commit
  14. 19 Jan, 2018 2 commits
  15. 16 Jan, 2018 1 commit
  16. 13 Jan, 2018 2 commits
  17. 08 Jan, 2018 1 commit
  18. 05 Jan, 2018 4 commits
  19. 03 Jan, 2018 2 commits
  20. 24 Dec, 2017 1 commit
  21. 23 Dec, 2017 1 commit
    • Uli Schlachter's avatar
      Revert "fix warning: variable X might be clobbered by 'longjmp'" · 82f40285
      Uli Schlachter authored
      This reverts commit b092b631 which
      introduced a wrapper function around setjmp(). To quote from man setjmp:
      
        If the function which called setjmp() returns before longjmp() is
        called, the behavior is undefined.  Some kind of subtle or unsubtle
        chaos is sure to result.
      
      Since after the above commit setjmp() is called from the wrapper
      function, the result might or might not work, depending on compiler
      settings. If the setjmp() wrapper is not inlined, then the state of the
      stack after longjmp() will likely be garbage.
      82f40285
  22. 21 Dec, 2017 1 commit
  23. 19 Dec, 2017 3 commits