Behdad Esfahbod [Tue, 3 Nov 2009 15:52:45 +0000 (10:52 -0500)]
More MSVC fixes from Jonathan Kew
Behdad Esfahbod [Tue, 3 Nov 2009 15:47:29 +0000 (10:47 -0500)]
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.
Behdad Esfahbod [Tue, 3 Nov 2009 00:17:36 +0000 (19:17 -0500)]
Cosmetic
Behdad Esfahbod [Mon, 2 Nov 2009 23:55:19 +0000 (18:55 -0500)]
Another try at build without glib
Behdad Esfahbod [Mon, 2 Nov 2009 23:53:15 +0000 (18:53 -0500)]
Fix build without glib, again
Behdad Esfahbod [Mon, 2 Nov 2009 23:52:21 +0000 (18:52 -0500)]
Disable configure cache
Behdad Esfahbod [Mon, 2 Nov 2009 23:35:12 +0000 (18:35 -0500)]
We don't really use gthread directly
Behdad Esfahbod [Mon, 2 Nov 2009 23:33:52 +0000 (18:33 -0500)]
Update Makefile to build without glib
Behdad Esfahbod [Mon, 2 Nov 2009 23:31:53 +0000 (18:31 -0500)]
Build without glib
Thready-safety disabled in that case, until we add support for pthread, etc.
Fun...
Behdad Esfahbod [Mon, 2 Nov 2009 23:13:17 +0000 (18:13 -0500)]
MSVC has no stdint.h
Behdad Esfahbod [Mon, 2 Nov 2009 23:11:55 +0000 (18:11 -0500)]
Remove use of GINT16_FROM_BE
Behdad Esfahbod [Mon, 2 Nov 2009 21:28:39 +0000 (16:28 -0500)]
Install library
Behdad Esfahbod [Mon, 2 Nov 2009 21:38:41 +0000 (16:38 -0500)]
Generate ChangeLog
Behdad Esfahbod [Mon, 2 Nov 2009 21:28:39 +0000 (16:28 -0500)]
Add build system
Behdad Esfahbod [Thu, 29 Oct 2009 07:08:42 +0000 (03:08 -0400)]
[HB] Add glyph_metrics typedef
Behdad Esfahbod [Thu, 29 Oct 2009 07:05:18 +0000 (03:05 -0400)]
[HB] Add point_index to get_contour_point()
Pointed out by Keith Stribley on HarfBuzz list.
Behdad Esfahbod [Thu, 29 Oct 2009 07:00:44 +0000 (03:00 -0400)]
[HB] Fix lookup_flag ignoring
Reported by Keith Stribley on HarfBuzz list.
Behdad Esfahbod [Mon, 21 Sep 2009 17:58:56 +0000 (13:58 -0400)]
[HB] Add comment
Behdad Esfahbod [Mon, 21 Sep 2009 17:43:54 +0000 (13:43 -0400)]
[HB] Fix apply_lookup() loop
Part of Bug 595539 - Regressions in rendering certain Thai sequences with
OpenType font
Behdad Esfahbod [Mon, 21 Sep 2009 17:40:38 +0000 (13:40 -0400)]
[HB] Fix bug in chain_context_lookup() invocations
Part of Bug 595539 - Regressions in rendering certain Thai sequences with
OpenType font
Behdad Esfahbod [Mon, 31 Aug 2009 01:02:28 +0000 (21:02 -0400)]
[HB] Add TODO item
Behdad Esfahbod [Fri, 28 Aug 2009 21:17:11 +0000 (17:17 -0400)]
[HB] Rename DEBUG to TRACE where appropriate
Behdad Esfahbod [Fri, 28 Aug 2009 21:14:33 +0000 (17:14 -0400)]
[HB] Add GSUB/GPOS tracing
Behdad Esfahbod [Fri, 28 Aug 2009 20:31:20 +0000 (16:31 -0400)]
[HB] Allow enabling different debug facilities individually
Behdad Esfahbod [Fri, 28 Aug 2009 13:46:14 +0000 (09:46 -0400)]
Fix stupid array growing bug
Behdad Esfahbod [Thu, 27 Aug 2009 05:32:17 +0000 (01:32 -0400)]
[HB] Simplify counting
Behdad Esfahbod [Thu, 27 Aug 2009 04:21:04 +0000 (00:21 -0400)]
[HB] Indent
Behdad Esfahbod [Wed, 26 Aug 2009 22:53:43 +0000 (18:53 -0400)]
[HB] Bug 593231 - < c99 compiler dislikes ValueRecord
Behdad Esfahbod [Thu, 20 Aug 2009 18:01:37 +0000 (14:01 -0400)]
Bug 592484 - invalid write in HB
Fix off-by-one.
Behdad Esfahbod [Thu, 20 Aug 2009 17:07:50 +0000 (13:07 -0400)]
[HB][glib] Make glib unicode funcs static
Behdad Esfahbod [Wed, 19 Aug 2009 22:16:50 +0000 (18:16 -0400)]
[HB] Fix more casts
Behdad Esfahbod [Wed, 19 Aug 2009 22:07:36 +0000 (18:07 -0400)]
[HB] Rename CAIRO_ in macro prefix to HB_
Hiss!
Behdad Esfahbod [Wed, 19 Aug 2009 20:45:41 +0000 (16:45 -0400)]
[HB] Remove HB_MEMORY_MODE_READONLY_NEVER_DUPLICATE
Unlike the rest of the memory-mode enum, this one didn't only
describe the access mode of the input memory region. Remove it.
If someone wants to inhibit duplicating, they can lock the blob
and throw away the key.
Based on mailing list discussion with Carl Worth.
Behdad Esfahbod [Wed, 19 Aug 2009 20:17:24 +0000 (16:17 -0400)]
[HB] s/writeable/writable/g
Behdad Esfahbod [Wed, 19 Aug 2009 20:07:40 +0000 (16:07 -0400)]
[HB] Hide lig_id and component members of hb_glyph_info_t
Behdad Esfahbod [Wed, 19 Aug 2009 18:45:24 +0000 (14:45 -0400)]
[HB] Fix typo
Behdad Esfahbod [Tue, 18 Aug 2009 22:37:36 +0000 (18:37 -0400)]
[HB] Add font funcs prototypes
Behdad Esfahbod [Tue, 18 Aug 2009 20:41:59 +0000 (16:41 -0400)]
Fix a few other pedantic warnings
Behdad Esfahbod [Tue, 18 Aug 2009 20:38:48 +0000 (16:38 -0400)]
[HB] Fix pedantic warnings
Behdad Esfahbod [Tue, 18 Aug 2009 20:32:31 +0000 (16:32 -0400)]
[HB] Fix more wrong method signatures
Behdad Esfahbod [Tue, 18 Aug 2009 20:27:48 +0000 (16:27 -0400)]
[HB] Fix wrong method signature
Behdad Esfahbod [Tue, 18 Aug 2009 19:49:23 +0000 (15:49 -0400)]
Bug 592194 - Fix missing _SC_PAGE_SIZE macro
Autoconfiscate a simple call to mprotect() even more.
Behdad Esfahbod [Mon, 17 Aug 2009 20:48:13 +0000 (16:48 -0400)]
[HB] Avoid int overflow in GPOS
Bug 592036 - integer overflow bug causes misrendering of Nepali characters
Behdad Esfahbod [Fri, 14 Aug 2009 23:37:18 +0000 (19:37 -0400)]
[HB] Simplify loop
Behdad Esfahbod [Fri, 14 Aug 2009 23:33:24 +0000 (19:33 -0400)]
[HB] Merge mark positionin code between three types of lookups
Behdad Esfahbod [Fri, 14 Aug 2009 22:42:42 +0000 (18:42 -0400)]
[HB] More minor shuffling
Behdad Esfahbod [Fri, 14 Aug 2009 22:40:56 +0000 (18:40 -0400)]
[HB] Move code around
Behdad Esfahbod [Fri, 14 Aug 2009 22:32:56 +0000 (18:32 -0400)]
[HB] Correctly sanitize LigatureAttach
Behdad Esfahbod [Fri, 14 Aug 2009 22:14:03 +0000 (18:14 -0400)]
[HB] Simplify MarkBase and MarkLig too
Behdad Esfahbod [Fri, 14 Aug 2009 21:53:31 +0000 (17:53 -0400)]
[HB] Simplify MarkMark
Behdad Esfahbod [Fri, 14 Aug 2009 21:31:16 +0000 (17:31 -0400)]
[HB] Fix possible int overflows during sanitize
Behdad Esfahbod [Fri, 14 Aug 2009 20:41:00 +0000 (16:41 -0400)]
[HB] Debug output for SANITIZE_MEM()
Behdad Esfahbod [Fri, 14 Aug 2009 20:25:33 +0000 (16:25 -0400)]
[HB] Use inline function for SANITIZE_MEM()
Behdad Esfahbod [Fri, 14 Aug 2009 20:17:32 +0000 (16:17 -0400)]
[HB] Use SANITIZE_THIS() when applicable
Behdad Esfahbod [Fri, 14 Aug 2009 20:12:22 +0000 (16:12 -0400)]
[HB] Add note about auditing sanitize code for overflows
Behdad Esfahbod [Thu, 13 Aug 2009 21:13:25 +0000 (17:13 -0400)]
[HB] Add empty hb_shape() API
Behdad Esfahbod [Thu, 13 Aug 2009 15:47:08 +0000 (11:47 -0400)]
[HB] Bitfield packing *is* very delicate
Fix the second instance.
Behdad Esfahbod [Thu, 13 Aug 2009 09:25:23 +0000 (05:25 -0400)]
Bug 591511 – hh-blob.c does not compile using mingw on windows
Check for sys/mman.h, not mprotect().
Behdad Esfahbod [Thu, 13 Aug 2009 09:20:46 +0000 (05:20 -0400)]
[HB] Fix buffer sizing issue with mingw gcc
Bit field packing is a delicate field. Issue reported in comment 3 here:
http://bugzilla.gnome.org/show_bug.cgi?id=591511
Behdad Esfahbod [Wed, 12 Aug 2009 23:45:50 +0000 (19:45 -0400)]
Bug 591413 – needs to link with libstdc++
Enforce -fno-exceptions better.
Behdad Esfahbod [Wed, 12 Aug 2009 23:36:29 +0000 (19:36 -0400)]
Bug 591511 – hb-blob.c does not compile using mingw on windows
Only call mprotect() when available. For optimal performance, a win32
way to make memory writeable needs to be added.
Behdad Esfahbod [Wed, 12 Aug 2009 23:23:16 +0000 (19:23 -0400)]
[HB] Add comment
Behdad Esfahbod [Wed, 12 Aug 2009 20:50:28 +0000 (16:50 -0400)]
[HB] Always clear positions if dirty, before returning to user
Behdad Esfahbod [Wed, 12 Aug 2009 20:47:27 +0000 (16:47 -0400)]
[HB] Fix _hb_buffer_next() when positioning
We were copying glyphs to output. This should not happen when in
GPOS. Back then it was fine, then some optimizations broke then
assumption.
Behdad Esfahbod [Wed, 12 Aug 2009 19:55:23 +0000 (15:55 -0400)]
[HB] Fixed signedness warnings
Behdad Esfahbod [Wed, 12 Aug 2009 19:48:44 +0000 (15:48 -0400)]
[HB] Ouch. Fix compilation.
Behdad Esfahbod [Wed, 12 Aug 2009 19:40:04 +0000 (15:40 -0400)]
[HB] Fix invalid access / overflow on x86-64
Bug 591557 – [HB] crash scrolling the evolution message list
Bug 591576 – crashed with SIGSEGV at pango
Behdad Esfahbod [Tue, 11 Aug 2009 03:50:51 +0000 (23:50 -0400)]
[HB] Add hb_font_funcs_make_immutable()
Behdad Esfahbod [Tue, 11 Aug 2009 03:45:57 +0000 (23:45 -0400)]
[HB] Add missing initializer
Behdad Esfahbod [Tue, 11 Aug 2009 03:40:28 +0000 (23:40 -0400)]
[OT] Hookup glib unicode funcs
Behdad Esfahbod [Tue, 11 Aug 2009 03:35:05 +0000 (23:35 -0400)]
[HB] Add hb-glib
Behdad Esfahbod [Tue, 11 Aug 2009 03:25:28 +0000 (23:25 -0400)]
[HB] Add hb_unicode_funcs_make_immutable()
Behdad Esfahbod [Tue, 11 Aug 2009 03:21:33 +0000 (23:21 -0400)]
[HB] Use nil unicode funcs in nil face
Behdad Esfahbod [Tue, 11 Aug 2009 03:05:05 +0000 (23:05 -0400)]
[HB] Initialize unicode funcs to nil getters
Behdad Esfahbod [Tue, 11 Aug 2009 02:58:56 +0000 (22:58 -0400)]
[HB] Flesh out Unicode funcs
Behdad Esfahbod [Tue, 11 Aug 2009 02:47:57 +0000 (22:47 -0400)]
[HB] Implement buffer UTF-X input
Behdad Esfahbod [Tue, 11 Aug 2009 01:10:37 +0000 (21:10 -0400)]
[HB] Add buffer UTF-X API
Behdad Esfahbod [Tue, 11 Aug 2009 00:59:25 +0000 (20:59 -0400)]
[HB] Add hb_buffer_reverse()
Behdad Esfahbod [Tue, 11 Aug 2009 00:24:49 +0000 (20:24 -0400)]
[HB] Reuse the positions array as alt string array
Behdad Esfahbod [Tue, 11 Aug 2009 00:05:16 +0000 (20:05 -0400)]
[HB] Start adding Unicode funcs
Behdad Esfahbod [Mon, 10 Aug 2009 23:00:36 +0000 (19:00 -0400)]
[HB] Put C++ inline's back
Apparetly in C++, inline means a totally different thing.
Behdad Esfahbod [Mon, 10 Aug 2009 17:57:02 +0000 (13:57 -0400)]
[HB] Don't override CXX compiler
Just add couple of options to it (still assuming gcc)
Behdad Esfahbod [Mon, 10 Aug 2009 13:35:11 +0000 (09:35 -0400)]
[HB] Indent
Behdad Esfahbod [Mon, 10 Aug 2009 02:25:17 +0000 (22:25 -0400)]
[HB] Remove unused code
Behdad Esfahbod [Mon, 10 Aug 2009 02:10:39 +0000 (22:10 -0400)]
[HB] Add a NEXT() macro
Behdad Esfahbod [Sun, 9 Aug 2009 22:31:47 +0000 (18:31 -0400)]
[HB] Remove done TODO item
Behdad Esfahbod [Sun, 9 Aug 2009 17:05:08 +0000 (13:05 -0400)]
[HB] Print mark sets in main.cc
Behdad Esfahbod [Sat, 8 Aug 2009 20:57:27 +0000 (16:57 -0400)]
[HB] Remove hb_ot_layout_table_find_feature()
That function doesn't make much sense as multiple features in the table may
have the same tag.
Behdad Esfahbod [Sat, 8 Aug 2009 20:53:23 +0000 (16:53 -0400)]
[HB] Rename hb_ot_layout_feature_mask_t to hb_mask_t
Behdad Esfahbod [Sat, 8 Aug 2009 20:37:22 +0000 (16:37 -0400)]
[HB] Fix bug introduced recently
Behdad Esfahbod [Fri, 7 Aug 2009 23:46:30 +0000 (19:46 -0400)]
[HB] Remove clumsy macros and improve API
Behdad Esfahbod [Thu, 6 Aug 2009 22:34:47 +0000 (18:34 -0400)]
[HB] Fix various XXX issues
Behdad Esfahbod [Thu, 6 Aug 2009 22:28:45 +0000 (18:28 -0400)]
[HB] Remove unused var
Behdad Esfahbod [Thu, 6 Aug 2009 22:28:00 +0000 (18:28 -0400)]
[HB] Remove another stale XXX
Behdad Esfahbod [Thu, 6 Aug 2009 22:27:28 +0000 (18:27 -0400)]
[HB] Rebrand XXX as TODO
Behdad Esfahbod [Thu, 6 Aug 2009 22:26:38 +0000 (18:26 -0400)]
[HB] Remove stale XXX
Behdad Esfahbod [Thu, 6 Aug 2009 22:24:55 +0000 (18:24 -0400)]
[HB] Fix unaligned access
Behdad Esfahbod [Thu, 6 Aug 2009 18:28:18 +0000 (14:28 -0400)]
[HB] Remove a few 'inline's, though the compiler mostly ignores them
Behdad Esfahbod [Thu, 6 Aug 2009 17:33:51 +0000 (13:33 -0400)]
[HB] Fix blob to use a actual mutex
Behdad Esfahbod [Thu, 6 Aug 2009 16:32:35 +0000 (12:32 -0400)]
[HB] Use glib again