|
187454c5
|
2010-04-23T16:35:01
|
|
Add different casts from pointer and ref to avoid bugs
|
|
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.
|
|
f1aaa2a4
|
2010-04-23T15:19:50
|
|
Add TODO
|
|
1d720192
|
2010-04-23T14:39:10
|
|
Fix compile warnings (HB_GNUC_UNUSED)
|
|
8dfdca59
|
2010-04-23T14:07:34
|
|
No need to keep blob in sanitize context
|
|
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.
|
|
d632ec40
|
2010-04-22T18:33:12
|
|
Cosmetic
|
|
a3263aa7
|
2010-04-22T18:29:09
|
|
Convert the last set of cast macros to templates
|
|
c38188a1
|
2010-04-22T16:52:09
|
|
Remove unused macro
|
|
dc228048
|
2010-04-22T13:22:41
|
|
Remove integrity check in Tag sanitize
Serves no useful purpose.
|
|
c293581e
|
2010-04-22T11:15:46
|
|
Add coment
|
|
1faa76c6
|
2010-04-22T10:54:26
|
|
Remove unnecessary casts
|
|
565c80bd
|
2010-04-22T10:26:35
|
|
Make sure semicolon is expected after DEFINE_NULL_DATA()
|
|
e5546a43
|
2010-04-22T00:45:42
|
|
Watch for overflow in Array sanitize
|
|
4f5f1c34
|
2010-04-22T00:27:39
|
|
Rename const_sub_array to sub_array since all consts are implicit now
|
|
c755cb3e
|
2010-04-22T00:11:43
|
|
Change header comment
|
|
243d20e0
|
2010-04-21T23:57:01
|
|
More cast simplification
|
|
0dfcc13a
|
2010-04-21T23:41:26
|
|
Rename ConstCharP to CharP (overloaded now)
|
|
62c0fd75
|
2010-04-21T23:30:48
|
|
Cleanup de-const-casting during sanitize
|
|
dd155870
|
2010-04-21T23:13:33
|
|
Add more comments
|
|
c85c3620
|
2010-04-21T23:12:54
|
|
Add comment
|
|
2467c669
|
2010-04-21T23:11:45
|
|
Add comment
|
|
29c3f5e1
|
2010-04-21T23:01:00
|
|
Improve comment
|
|
01c01618
|
2010-04-21T22:49:56
|
|
Further simplify IntType struct defs
|
|
2cb08458
|
2010-04-21T22:37:31
|
|
Rename const_array() to array() (overloaded)
|
|
2e2f43ed
|
2010-04-21T22:30:36
|
|
Remove ArrayAfter, use StructAfter in place
|
|
e961c86c
|
2010-04-21T15:56:11
|
|
Convert NEXT() and ARRAY_AFTER() macros to templates
|
|
198facdc
|
2010-04-21T13:35:36
|
|
Use templates for const char * casts
|
|
e032ed9f
|
2010-04-21T03:11:46
|
|
Use templates for defining int typess
|
|
2c9fd2ad
|
2010-04-21T02:15:39
|
|
Remove unused macro
|
|
7a52f281
|
2010-04-21T02:14:44
|
|
Rename macros
|
|
40d73bc6
|
2010-04-21T00:49:40
|
|
Improve comments
|
|
394bad41
|
2010-04-21T00:40:50
|
|
Remove stale TODO item
|
|
9d367789
|
2010-04-21T00:32:47
|
|
Use a function template instead of struct template for Null
|
|
ffd321af
|
2010-04-21T00:14:12
|
|
Simplify Tag struct
|
|
00e23fcc
|
2010-04-20T23:50:45
|
|
Cosmetic
|
|
f9b37727
|
2010-04-20T15:51:53
|
|
Add couple consts to operators
|
|
53d237ec
|
2010-04-20T15:25:27
|
|
Remove ASSERT_SIZE_DATA
|
|
0e206de9
|
2010-04-19T02:29:04
|
|
Fix warnings
|
|
d5943407
|
2010-04-19T02:27:56
|
|
Fix debug build
|
|
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.
|
|
9b39755d
|
2010-04-15T14:00:25
|
|
Typo
|
|
f85ec1c7
|
2010-03-10T04:14:40
|
|
Cosmetic
|
|
ecd2e996
|
2010-02-23T02:42:00
|
|
Improve the alignment for NullPool
|
|
807b8aa4
|
2009-11-19T20:28:03
|
|
Another C++ strictness fix
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.
|
|
d0351314
|
2009-11-05T16:16:06
|
|
Include stdio.h if debugging
|
|
1e914345
|
2009-11-04T18:12:09
|
|
Minor
|
|
48de3730
|
2009-11-04T16:59:50
|
|
Fix previous commit, ouch!
|
|
d3480ba3
|
2009-11-03T10:47:29
|
|
Don't use zero-sized arrays
It's not part of the standard and MSVC doesn't like it. It makes the code
a lot less elegant than it used to be, but I think it should work now.
|
|
3e2401f6
|
2009-08-28T17:17:11
|
|
[HB] Rename DEBUG to TRACE where appropriate
|
|
95e20240
|
2009-08-28T16:31:20
|
|
[HB] Allow enabling different debug facilities individually
|
|
8b534613
|
2009-08-19T18:16:50
|
|
[HB] Fix more casts
|
|
977eeb71
|
2009-08-19T16:17:24
|
|
[HB] s/writeable/writable/g
|
|
cd33cb9e
|
2009-08-14T18:42:42
|
|
[HB] More minor shuffling
|
|
80e2aa2e
|
2009-08-14T18:40:56
|
|
[HB] Move code around
|
|
3564ee52
|
2009-08-14T18:32:56
|
|
[HB] Correctly sanitize LigatureAttach
|
|
815a73e4
|
2009-08-14T17:31:16
|
|
[HB] Fix possible int overflows during sanitize
|
|
ae728e51
|
2009-08-14T16:41:00
|
|
[HB] Debug output for SANITIZE_MEM()
|
|
41895506
|
2009-08-14T16:25:33
|
|
[HB] Use inline function for SANITIZE_MEM()
|
|
95528131
|
2009-08-14T16:17:32
|
|
[HB] Use SANITIZE_THIS() when applicable
|
|
5ccf1ba3
|
2009-08-12T15:55:23
|
|
[HB] Fixed signedness warnings
|
|
20b035da
|
2009-08-10T19:00:36
|
|
[HB] Put C++ inline's back
Apparetly in C++, inline means a totally different thing.
|
|
284899cc
|
2009-08-09T22:10:39
|
|
[HB] Add a NEXT() macro
|
|
7f96b39a
|
2009-08-08T16:37:22
|
|
[HB] Fix bug introduced recently
|
|
bff3c0fd
|
2009-08-07T19:46:30
|
|
[HB] Remove clumsy macros and improve API
|
|
d0b65737
|
2009-08-06T18:34:47
|
|
[HB] Fix various XXX issues
|
|
9e826ea2
|
2009-08-06T18:24:55
|
|
[HB] Fix unaligned access
|
|
71a8344a
|
2009-08-06T14:28:18
|
|
[HB] Remove a few 'inline's, though the compiler mostly ignores them
|
|
9b76a290
|
2009-08-06T10:27:38
|
|
[HB] Improve debug output
|
|
0d77ab8a
|
2009-08-05T15:27:42
|
|
[HB] Improve debug output
|
|
7acb3895
|
2009-08-05T15:20:34
|
|
[HB] Improve debug output and fix mprotect bug
|
|
4f3ad911
|
2009-08-04T23:01:23
|
|
[HB] More debugging output
|
|
8cd6fa28
|
2009-08-04T22:55:44
|
|
[HB] Fix fatal Sanitizer bug
|
|
b28815c1
|
2009-08-04T22:35:36
|
|
[HB] Add sanitize debugging facilities
|
|
7edb430f
|
2009-08-04T22:06:57
|
|
[HB] Rename open-types to open-type; beauty
|