1. 10 Sep, 2018 27 commits
  2. 06 Sep, 2018 1 commit
    • Debarshi Ray's avatar
      Fix the type casts for babl_space_from_icc · d77fd17e
      Debarshi Ray authored
      For reference, here's the signature of babl_space_from_icc:
      const Babl *babl_space_from_icc (const char       *icc_data,
                                       int               icc_length,
                                       BablIccIntent     intent,
                                       const char      **error);
      
      ... and JOCTET can be defined as either a signed or unsigned char:
      #ifdef HAVE_UNSIGNED_CHAR
      typedef unsigned char JOCTET;
      #define GETJOCTET(value)  (value)
      #else /* not HAVE_UNSIGNED_CHAR */
      typedef char JOCTET;
      #ifdef __CHAR_UNSIGNED__
      #define GETJOCTET(value)  (value)
      #else
      #define GETJOCTET(value)  ((value) & 0xFF)
      #endif /* __CHAR_UNSIGNED__ */
      #endif /* HAVE_UNSIGNED_CHAR */
      d77fd17e
  3. 05 Sep, 2018 1 commit
  4. 04 Sep, 2018 3 commits
  5. 01 Sep, 2018 1 commit
  6. 31 Aug, 2018 6 commits
  7. 30 Aug, 2018 1 commit
    • Ell's avatar
      long-shadow: fix accelerating fading-fixed-length shadow value calculation · 828597e3
      Ell authored
      In shadow_[collation_]value(), don't scale the current shadow value
      by the fade-curve LUT when the value is 0, and just return 0
      directly.  When the value is 0, the shadow is "inactive" and its
      y-coordinate is meaningless, which can result in an out-of-bounds
      access to the LUT.
      828597e3