Commit graph

  • abff3580a5 Add const Behdad Esfahbod 2010-04-29 02:27:20 -04:00
  • 6617eada95 Rename apply_context -> context Behdad Esfahbod 2010-04-29 02:25:30 -04:00
  • b4c7fab762 Rename Behdad Esfahbod 2010-04-29 02:24:25 -04:00
  • 1376fb7bf9 [apply] Use a context object to reduce number of parameters passed around Behdad Esfahbod 2010-04-29 02:19:21 -04:00
  • 173fde7087 Further simplify tracing Behdad Esfahbod 2010-04-29 01:47:30 -04:00
  • bc20045743 Simplify trace code Behdad Esfahbod 2010-04-29 01:40:26 -04:00
  • 807c5b03a2 [sanitize] Make debug code always available to the compiler Behdad Esfahbod 2010-04-28 20:25:22 -04:00
  • 74e313c016 [gsubgpos] Make debug code always available to the compiler Behdad Esfahbod 2010-04-28 15:15:09 -04:00
  • 41011a6ed7 Fix compiler warning about value unused Behdad Esfahbod 2010-04-28 13:33:09 -04:00
  • 863df68e89 [object] Make debug code always available to the compiler Behdad Esfahbod 2010-04-28 13:29:55 -04:00
  • 1d52151a19 Minor Behdad Esfahbod 2010-04-28 13:18:41 -04:00
  • 444fffb1ab [blob] Make debug code always available to the compiler Behdad Esfahbod 2010-04-28 13:16:38 -04:00
  • ba51b25c7b Fix build. Ouch! Behdad Esfahbod 2010-04-28 13:10:36 -04:00
  • a92f0fda7f Fix debug build Behdad Esfahbod 2010-04-28 13:09:40 -04:00
  • c165f25410 [object] Actually handle malloc() failure Behdad Esfahbod 2010-04-27 23:28:10 -04:00
  • caff7db93d Fix Device::get_size() calculation Behdad Esfahbod 2010-04-26 10:07:35 -04:00
  • 66d6eb30eb Rename Var to Obj Behdad Esfahbod 2010-04-25 23:01:45 -04:00
  • 690b919461 Remove use of flexible arrays Behdad Esfahbod 2010-04-25 22:51:05 -04:00
  • 1cebfbb063 Cleanup hb_face_create_for_data() Behdad Esfahbod 2010-04-23 20:49:18 -04:00
  • d6b3c83a90 Allow get_table() to return NULL Behdad Esfahbod 2010-04-23 19:59:53 -04:00
  • ad3653751b Typo Behdad Esfahbod 2010-04-23 19:43:40 -04:00
  • 990443e5f2 Remove lock_instance() Behdad Esfahbod 2010-04-23 17:53:32 -04:00
  • 187454c595 Add different casts from pointer and ref to avoid bugs Behdad Esfahbod 2010-04-23 16:35:01 -04:00
  • efb324a46f Remove GET_FOR_DATA macros Behdad Esfahbod 2010-04-23 16:22:54 -04:00
  • f1aaa2a436 Add TODO Behdad Esfahbod 2010-04-23 15:19:50 -04:00
  • 33d4d4325e Zero glyph metrics before calling user callback Behdad Esfahbod 2010-04-23 14:56:55 -04:00
  • 4206e9511a More warning fixes Behdad Esfahbod 2010-04-23 14:44:55 -04:00
  • ef66ebeabc Remove unused parameter Behdad Esfahbod 2010-04-23 14:40:36 -04:00
  • 1d720192b1 Fix compile warnings (HB_GNUC_UNUSED) Behdad Esfahbod 2010-04-23 14:39:10 -04:00
  • 8dfdca599c No need to keep blob in sanitize context Behdad Esfahbod 2010-04-23 14:07:34 -04:00
  • 254933c397 When sanitizing, delay making writable Behdad Esfahbod 2010-04-23 13:57:10 -04:00
  • 71e735e915 [blob] Fallback to copying if mprotect() fails Behdad Esfahbod 2010-04-23 13:48:06 -04:00
  • 1aa4666b91 Cleanup OpenTypeFontFile Behdad Esfahbod 2010-04-23 13:32:03 -04:00
  • ae4190cafe Properly define separate structs for TTCHeader and TTCHeaderVersion1 Behdad Esfahbod 2010-04-23 12:33:02 -04:00
  • a065f471b3 Cleanup Extension lookups Behdad Esfahbod 2010-04-22 20:15:11 -04:00
  • a0bb49c583 Add comment re bsearch effect on sanitize Behdad Esfahbod 2010-04-22 18:47:03 -04:00
  • d632ec4000 Cosmetic Behdad Esfahbod 2010-04-22 18:33:12 -04:00
  • a3263aa773 Convert the last set of cast macros to templates Behdad Esfahbod 2010-04-22 18:29:09 -04:00
  • c38188a191 Remove unused macro Behdad Esfahbod 2010-04-22 16:52:09 -04:00
  • 3b2c2df41b Cleanup Extension sanitize() Behdad Esfahbod 2010-04-22 16:51:42 -04:00
  • 1856184b93 Fail sanitize on major version mismatch Behdad Esfahbod 2010-04-22 14:15:11 -04:00
  • df3f505dcf More sanitize cleanup Behdad Esfahbod 2010-04-22 14:11:33 -04:00
  • 278a91f0cd Minor cleanup of sanitize Behdad Esfahbod 2010-04-22 13:59:39 -04:00
  • 9ac7dc73bc Check for (impossible) overflow Behdad Esfahbod 2010-04-22 13:50:22 -04:00
  • 9fc8684fd8 Cleanup ContextFormat3 sanitize Behdad Esfahbod 2010-04-22 13:37:58 -04:00
  • e77302c61f Add comment Behdad Esfahbod 2010-04-22 13:34:00 -04:00
  • 7c469c3ca4 Minor Behdad Esfahbod 2010-04-22 13:26:21 -04:00
  • dc228048a8 Remove integrity check in Tag sanitize Behdad Esfahbod 2010-04-22 13:22:41 -04:00
  • 8015a8c762 Don't sanitize raw table data Behdad Esfahbod 2010-04-22 11:06:30 -04:00
  • c293581e96 Add coment Behdad Esfahbod 2010-04-22 11:15:46 -04:00
  • 1faa76c6e8 Remove unnecessary casts Behdad Esfahbod 2010-04-22 10:54:26 -04:00
  • 079dc40112 Avoid overflow in TableDirectory sanitize Behdad Esfahbod 2010-04-22 10:47:12 -04:00
  • fb5904ec93 Make casts more explicit Behdad Esfahbod 2010-04-22 10:43:30 -04:00
  • 565c80bd29 Make sure semicolon is expected after DEFINE_NULL_DATA() Behdad Esfahbod 2010-04-22 10:26:35 -04:00
  • bb1e16335e Improve Subst/Pos SubTable access and sanitize Behdad Esfahbod 2010-04-22 01:01:35 -04:00
  • 81f2af40f9 Simplify Extension offset now that our int types have no alignment Behdad Esfahbod 2010-04-22 00:58:49 -04:00
  • 19828ad42d Sanitize shallow in Lookup since the generic SubLookup has no methods Behdad Esfahbod 2010-04-22 00:49:16 -04:00
  • e5546a4352 Watch for overflow in Array sanitize Behdad Esfahbod 2010-04-22 00:45:42 -04:00
  • 4f5f1c34dd Rename const_sub_array to sub_array since all consts are implicit now Behdad Esfahbod 2010-04-22 00:27:39 -04:00
  • 0795b784dd Cosmetic Behdad Esfahbod 2010-04-22 00:23:14 -04:00
  • 2d98d3bbaa Simplify Lookup sanitize Behdad Esfahbod 2010-04-22 00:19:30 -04:00
  • c755cb3e3a Change header comment Behdad Esfahbod 2010-04-22 00:11:43 -04:00
  • 243d20e011 More cast simplification Behdad Esfahbod 2010-04-21 23:57:01 -04:00
  • 0dfcc13a46 Rename ConstCharP to CharP (overloaded now) Behdad Esfahbod 2010-04-21 23:41:26 -04:00
  • 62c0fd7573 Cleanup de-const-casting during sanitize Behdad Esfahbod 2010-04-21 23:30:48 -04:00
  • dd15587056 Add more comments Behdad Esfahbod 2010-04-21 23:13:33 -04:00
  • c85c362067 Add comment Behdad Esfahbod 2010-04-21 23:12:54 -04:00
  • 2467c669c2 Add comment Behdad Esfahbod 2010-04-21 23:11:45 -04:00
  • 29c3f5e1b6 Improve comment Behdad Esfahbod 2010-04-21 23:01:00 -04:00
  • 01c01618e9 Further simplify IntType struct defs Behdad Esfahbod 2010-04-21 22:49:56 -04:00
  • 2cb08458f6 Rename const_array() to array() (overloaded) Behdad Esfahbod 2010-04-21 22:37:31 -04:00
  • 2e2f43edf2 Remove ArrayAfter, use StructAfter in place Behdad Esfahbod 2010-04-21 22:30:36 -04:00
  • e961c86c57 Convert NEXT() and ARRAY_AFTER() macros to templates Behdad Esfahbod 2010-04-21 15:56:11 -04:00
  • 198facdc55 Use templates for const char * casts Behdad Esfahbod 2010-04-21 13:35:36 -04:00
  • 1922ffe701 Const correctness Behdad Esfahbod 2010-04-21 04:19:51 -04:00
  • e032ed9f75 Use templates for defining int typess Behdad Esfahbod 2010-04-21 03:11:46 -04:00
  • 2c9fd2adce Remove unused macro Behdad Esfahbod 2010-04-21 02:15:39 -04:00
  • 7a52f28117 Rename macros Behdad Esfahbod 2010-04-21 02:14:44 -04:00
  • ffff7dc44c Minor Behdad Esfahbod 2010-04-21 02:13:55 -04:00
  • f60f2166c4 Move macros around Behdad Esfahbod 2010-04-21 02:12:45 -04:00
  • 649a4344ca Remove unused macros Behdad Esfahbod 2010-04-21 02:11:59 -04:00
  • eba8b4f644 GNOME Bug 613015 - [HB] Does not sanitize Device tables referenced from ValueRecords Behdad Esfahbod 2010-03-29 00:04:12 -04:00
  • 673a4efcbc WIP Behdad Esfahbod 2010-04-21 02:02:57 -04:00
  • 40d73bc68d Improve comments Behdad Esfahbod 2010-04-21 00:49:40 -04:00
  • 394bad41a7 Remove stale TODO item Behdad Esfahbod 2010-04-21 00:40:50 -04:00
  • 9d3677899f Use a function template instead of struct template for Null Behdad Esfahbod 2010-04-21 00:32:47 -04:00
  • ffd321afd9 Simplify Tag struct Behdad Esfahbod 2010-04-21 00:14:12 -04:00
  • 00e23fcc6f Cosmetic Behdad Esfahbod 2010-04-20 23:50:45 -04:00
  • a87072db5d Fix Class operator return type Behdad Esfahbod 2010-04-20 15:52:47 -04:00
  • f9b3772798 Add couple consts to operators Behdad Esfahbod 2010-04-20 15:51:53 -04:00
  • 53d237ec63 Remove ASSERT_SIZE_DATA Behdad Esfahbod 2010-04-20 15:25:27 -04:00
  • 06558d2a74 Round instead of trunc Behdad Esfahbod 2010-04-19 02:34:10 -04:00
  • 0e206de986 Fix warnings Behdad Esfahbod 2010-04-19 02:29:04 -04:00
  • d5943407a4 Fix debug build Behdad Esfahbod 2010-04-19 02:27:56 -04:00
  • 12b27ed91d Fix leak when duplicating blob Behdad Esfahbod 2010-03-27 17:00:19 -04:00
  • 4b8487d83e Fix the mystery bug! Behdad Esfahbod 2010-03-16 03:46:17 -04:00
  • 9b39755d10 Typo Behdad Esfahbod 2010-04-15 14:00:25 -04:00
  • f85ec1c7da Cosmetic Behdad Esfahbod 2010-03-10 04:14:40 -05:00
  • e48ed72230 [ft] Check stream->read instead of stream->base Behdad Esfahbod 2010-03-01 22:33:45 -05:00
  • 917c227500 Make blob unlocking 64bit-safe Behdad Esfahbod 2010-02-23 16:47:51 -05:00