Log

Author Commit Date CI Message
Behdad Esfahbod 187454c5 2010-04-23T16:35:01 Add different casts from pointer and ref to avoid bugs
Behdad Esfahbod efb324a4 2010-04-23T16:22:54 Remove GET_FOR_DATA macros The major-version check is now handled by sanitize. If major doesn't match, we reject and fall back to the Null object.
Behdad Esfahbod f1aaa2a4 2010-04-23T15:19:50 Add TODO
Behdad Esfahbod 33d4d432 2010-04-23T14:56:55 Zero glyph metrics before calling user callback
Behdad Esfahbod 4206e951 2010-04-23T14:44:55 More warning fixes
Behdad Esfahbod ef66ebea 2010-04-23T14:40:36 Remove unused parameter
Behdad Esfahbod 1d720192 2010-04-23T14:39:10 Fix compile warnings (HB_GNUC_UNUSED)
Behdad Esfahbod 8dfdca59 2010-04-23T14:07:34 No need to keep blob in sanitize context
Behdad Esfahbod 254933c3 2010-04-23T13:57:10 When sanitizing, delay making writable Before, as soon as we needed to make an edit, we tried to make the blob writable inplace. That grows code unnecessarily though. We can simply fail, make writable, then start again. That's indeed what the fallback was doing anyway.
Behdad Esfahbod 71e735e9 2010-04-23T13:48:06 [blob] Fallback to copying if mprotect() fails
Behdad Esfahbod 1aa4666b 2010-04-23T13:32:03 Cleanup OpenTypeFontFile
Behdad Esfahbod ae4190ca 2010-04-23T12:33:02 Properly define separate structs for TTCHeader and TTCHeaderVersion1
Behdad Esfahbod a065f471 2010-04-22T20:15:11 Cleanup Extension lookups Two things: 1. Allow nested Extension lookups. The offset is always positive, so it can't loop circularly. 2. Move the check for all Extension subtables having the same lookup type to the correct place. Before it wasn't really working.
Behdad Esfahbod a0bb49c5 2010-04-22T18:47:03 Add comment re bsearch effect on sanitize
Behdad Esfahbod d632ec40 2010-04-22T18:33:12 Cosmetic
Behdad Esfahbod a3263aa7 2010-04-22T18:29:09 Convert the last set of cast macros to templates
Behdad Esfahbod c38188a1 2010-04-22T16:52:09 Remove unused macro
Behdad Esfahbod 3b2c2df4 2010-04-22T16:51:42 Cleanup Extension sanitize()
Behdad Esfahbod 1856184b 2010-04-22T14:15:11 Fail sanitize on major version mismatch We handle major-version differences via get_for_data(), so sanitize should never see a major version mismatch.
Behdad Esfahbod df3f505d 2010-04-22T14:11:33 More sanitize cleanup
Behdad Esfahbod 278a91f0 2010-04-22T13:59:39 Minor cleanup of sanitize Done with an audit of all sanitize()
Behdad Esfahbod 9ac7dc73 2010-04-22T13:50:22 Check for (impossible) overflow
Behdad Esfahbod 9fc8684f 2010-04-22T13:37:58 Cleanup ContextFormat3 sanitize
Behdad Esfahbod e77302c6 2010-04-22T13:34:00 Add comment
Behdad Esfahbod 7c469c3c 2010-04-22T13:26:21 Minor
Behdad Esfahbod dc228048 2010-04-22T13:22:41 Remove integrity check in Tag sanitize Serves no useful purpose.
Behdad Esfahbod 8015a8c7 2010-04-22T11:06:30 Don't sanitize raw table data That part is performed by individual table sanitize.
Behdad Esfahbod c293581e 2010-04-22T11:15:46 Add coment
Behdad Esfahbod 1faa76c6 2010-04-22T10:54:26 Remove unnecessary casts
Behdad Esfahbod 079dc401 2010-04-22T10:47:12 Avoid overflow in TableDirectory sanitize
Behdad Esfahbod fb5904ec 2010-04-22T10:43:30 Make casts more explicit
Behdad Esfahbod 565c80bd 2010-04-22T10:26:35 Make sure semicolon is expected after DEFINE_NULL_DATA()
Behdad Esfahbod bb1e1633 2010-04-22T01:01:35 Improve Subst/Pos SubTable access and sanitize
Behdad Esfahbod 81f2af40 2010-04-22T00:58:49 Simplify Extension offset now that our int types have no alignment
Behdad Esfahbod 19828ad4 2010-04-22T00:49:16 Sanitize shallow in Lookup since the generic SubLookup has no methods
Behdad Esfahbod e5546a43 2010-04-22T00:45:42 Watch for overflow in Array sanitize
Behdad Esfahbod 4f5f1c34 2010-04-22T00:27:39 Rename const_sub_array to sub_array since all consts are implicit now
Behdad Esfahbod 0795b784 2010-04-22T00:23:14 Cosmetic
Behdad Esfahbod 2d98d3bb 2010-04-22T00:19:30 Simplify Lookup sanitize
Behdad Esfahbod c755cb3e 2010-04-22T00:11:43 Change header comment
Behdad Esfahbod 243d20e0 2010-04-21T23:57:01 More cast simplification
Behdad Esfahbod 0dfcc13a 2010-04-21T23:41:26 Rename ConstCharP to CharP (overloaded now)
Behdad Esfahbod 62c0fd75 2010-04-21T23:30:48 Cleanup de-const-casting during sanitize
Behdad Esfahbod dd155870 2010-04-21T23:13:33 Add more comments
Behdad Esfahbod c85c3620 2010-04-21T23:12:54 Add comment
Behdad Esfahbod 2467c669 2010-04-21T23:11:45 Add comment
Behdad Esfahbod 29c3f5e1 2010-04-21T23:01:00 Improve comment
Behdad Esfahbod 01c01618 2010-04-21T22:49:56 Further simplify IntType struct defs
Behdad Esfahbod 2cb08458 2010-04-21T22:37:31 Rename const_array() to array() (overloaded)
Behdad Esfahbod 2e2f43ed 2010-04-21T22:30:36 Remove ArrayAfter, use StructAfter in place
Behdad Esfahbod e961c86c 2010-04-21T15:56:11 Convert NEXT() and ARRAY_AFTER() macros to templates
Behdad Esfahbod 198facdc 2010-04-21T13:35:36 Use templates for const char * casts
Behdad Esfahbod 1922ffe7 2010-04-21T04:19:51 Const correctness
Behdad Esfahbod e032ed9f 2010-04-21T03:11:46 Use templates for defining int typess
Behdad Esfahbod 2c9fd2ad 2010-04-21T02:15:39 Remove unused macro
Behdad Esfahbod 7a52f281 2010-04-21T02:14:44 Rename macros
Behdad Esfahbod ffff7dc4 2010-04-21T02:13:55 Minor
Behdad Esfahbod f60f2166 2010-04-21T02:12:45 Move macros around
Behdad Esfahbod 649a4344 2010-04-21T02:11:59 Remove unused macros
Behdad Esfahbod eba8b4f6 2010-03-29T00:04:12 GNOME Bug 613015 - [HB] Does not sanitize Device tables referenced from ValueRecords
Behdad Esfahbod 673a4efc 2010-04-21T02:02:57 WIP
Behdad Esfahbod 40d73bc6 2010-04-21T00:49:40 Improve comments
Behdad Esfahbod 394bad41 2010-04-21T00:40:50 Remove stale TODO item
Behdad Esfahbod 9d367789 2010-04-21T00:32:47 Use a function template instead of struct template for Null
Behdad Esfahbod ffd321af 2010-04-21T00:14:12 Simplify Tag struct
Behdad Esfahbod 00e23fcc 2010-04-20T23:50:45 Cosmetic
Behdad Esfahbod a87072db 2010-04-20T15:52:47 Fix Class operator return type
Behdad Esfahbod f9b37727 2010-04-20T15:51:53 Add couple consts to operators
Behdad Esfahbod 53d237ec 2010-04-20T15:25:27 Remove ASSERT_SIZE_DATA
Behdad Esfahbod 06558d2a 2010-04-19T02:34:10 Round instead of trunc
Behdad Esfahbod 0e206de9 2010-04-19T02:29:04 Fix warnings
Behdad Esfahbod d5943407 2010-04-19T02:27:56 Fix debug build
Behdad Esfahbod 12b27ed9 2010-03-27T17:00:19 Fix leak when duplicating blob
Behdad Esfahbod 4b8487d8 2010-03-16T03:46:17 Fix the mystery bug! 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.
Behdad Esfahbod 9b39755d 2010-04-15T14:00:25 Typo
Behdad Esfahbod f85ec1c7 2010-03-10T04:14:40 Cosmetic
Behdad Esfahbod e48ed722 2010-03-01T22:33:45 [ft] Check stream->read instead of stream->base The former is more robust. See discussion on freetype-devel.
Behdad Esfahbod 917c2275 2010-02-23T16:47:51 Make blob unlocking 64bit-safe GNOME Bug 604128 - Applications crash when displaying Hebrew characters
Behdad Esfahbod ecd2e996 2010-02-23T02:42:00 Improve the alignment for NullPool
Behdad Esfahbod bc7830e4 2010-02-17T15:14:57 Use __attribute__((unused)) only with gcc 4 and later See discussion at: https://bugzilla.gnome.org/show_bug.cgi?id=610183
Behdad Esfahbod 555d1127 2010-01-26T12:58:59 [GDEF] Fix bug in building synthetic GDEF
Behdad Esfahbod 70834d89 2010-01-26T12:17:37 [TODO] Add kern/GPOS interaction
Behdad Esfahbod cd11a98f 2009-12-20T23:05:02 Fix compile with older FreeType
Behdad Esfahbod 7f7448a3 2009-12-20T21:42:14 Indent
Behdad Esfahbod e70f45eb 2009-12-20T21:26:24 Revert "Fallback to 'kern' if no GPOS applied" This reverts commit d740c8f78bcbe80a8bcd8a9468830a406da37cc0. The change is wrong. If there is a GPOS table, we should not use 'kern'.
Behdad Esfahbod d740c8f7 2009-12-20T21:23:56 Fallback to 'kern' if no GPOS applied
Behdad Esfahbod 2f78c171 2009-12-20T21:03:11 Remove glibism!
Behdad Esfahbod 907e67da 2009-12-20T20:59:51 Oops, add file.
Behdad Esfahbod 2014b8d1 2009-12-20T20:58:26 Hook OpenType shaping up Default features only for now.
Behdad Esfahbod 196610ba 2009-12-20T19:01:14 Pass features down
Behdad Esfahbod 51f141a7 2009-12-20T18:22:28 Avoid overflow
Behdad Esfahbod 26d7a757 2009-12-20T17:58:25 Refactor hb_shape a bit
Behdad Esfahbod 001fc2d2 2009-12-20T17:24:05 Add TrueType kern support
Behdad Esfahbod 2c1b85cf 2009-12-20T16:29:17 Direct unicode->get_mirroring directly
Behdad Esfahbod 6a2ef5aa 2009-12-20T16:28:01 Do mirroring
Behdad Esfahbod 0465e698 2009-12-20T16:25:18 Protect against NULL funcs
Behdad Esfahbod 5ceefa1d 2009-12-20T15:29:16 Add hb_unicode_get_*() functions
Behdad Esfahbod b8a53e44 2009-12-20T14:56:25 We'll have to link to libstdc++ if linking to ICU, so disable test for now We have to get rid of the ICU in main lib. Still thinking about best way to do it.
Behdad Esfahbod 314905d7 2009-12-20T14:50:42 Explicitly track whether the buffer has positions
Behdad Esfahbod 314b460d 2009-12-20T13:58:50 Add HB_DIRECTION_IS_FORWARD/BACKWARD