1. 22 4月, 2010 3 次提交
  2. 21 4月, 2010 5 次提交
    • B
      Simplify Tag struct · ffd321af
      Behdad Esfahbod 提交于
      ffd321af
    • B
      Cosmetic · 00e23fcc
      Behdad Esfahbod 提交于
      00e23fcc
    • B
      Fix Class operator return type · a87072db
      Behdad Esfahbod 提交于
      a87072db
    • B
      Remove ASSERT_SIZE_DATA · 53d237ec
      Behdad Esfahbod 提交于
      53d237ec
    • B
      Fix the mystery bug! · 4b8487d8
      Behdad Esfahbod 提交于
      A couple bugs joined forces to exhibit the mystery behavior of
      crashes / infinite loops on OS X / wrong kerning / invalid memory
      access.  Pooh!
      
      The bugs were involved:
      
        - Wrong pointer math with ValueRecord in PairPosFormat1
      
        - Fallout from avoiding flex arrays, code not correctly updated
          to remove sizeof() usage.
      
      We strictly never use sizeof() directly now.  And the PairPos code
      is cleaned up.  Should fix them all.  Bugs are:
      
        Bug 605655 - Pango 1.26.2 introduces kerning bug
        Bug 611229 - Pango reads from uninitialized memory
        Bug 593240 - (pangoosx) Crash / infinite loop with Mac OS X
      
      We were also doing wrong math converting Device adjustments to
      hb_position_t.  Fallout from FreeType days.  Should shift 16, not
      6.  Fixed that too.
      
      There's still another bug: we don't sanitize Device records
      referenced from value records.  Fixing that also.
      4b8487d8
  3. 20 11月, 2009 1 次提交
    • B
      Another C++ strictness fix · 807b8aa4
      Behdad Esfahbod 提交于
      Pango Bug 602408 - Invalid C++ code breaks compile with Sun C++ Compiler
      (Error: A union member cannot have a user-defined assignment operator)
      
      According to the bug:
      
      C++ Programming Language by Bjarne Stroustrup: Chapter 10.4.12 forbids
      explicitly using of union members with constructors, destructors or assignment
      operations.
      
      So we use a set() method instead of the assignment operator.  Ugly, but hey,
      that's life.
      807b8aa4
  4. 12 11月, 2009 1 次提交
  5. 05 11月, 2009 2 次提交
    • B
      Fix previous commit, ouch! · 48de3730
      Behdad Esfahbod 提交于
      48de3730
    • B
      Fix array query API · e21899bc
      Behdad Esfahbod 提交于
      The array query APIs now all do:
      
        - Return the total number of items
        - Take a start_offset, such that individual items can be fetched
        - The _count IN/OUT variable always has number of items written
          into the array upon return of the function
      e21899bc
  6. 03 11月, 2009 28 次提交