profile/ivi/org.tizen.video-player.git
14 years agoCosmetic
Behdad Esfahbod [Wed, 21 Apr 2010 03:50:45 +0000 (23:50 -0400)]
Cosmetic

14 years agoFix Class operator return type
Behdad Esfahbod [Tue, 20 Apr 2010 19:52:47 +0000 (15:52 -0400)]
Fix Class operator return type

14 years agoAdd couple consts to operators
Behdad Esfahbod [Tue, 20 Apr 2010 19:51:53 +0000 (15:51 -0400)]
Add couple consts to operators

14 years agoRemove ASSERT_SIZE_DATA
Behdad Esfahbod [Tue, 20 Apr 2010 19:25:27 +0000 (15:25 -0400)]
Remove ASSERT_SIZE_DATA

14 years agoRound instead of trunc
Behdad Esfahbod [Mon, 19 Apr 2010 06:34:10 +0000 (02:34 -0400)]
Round instead of trunc

14 years agoFix warnings
Behdad Esfahbod [Mon, 19 Apr 2010 06:29:04 +0000 (02:29 -0400)]
Fix warnings

14 years agoFix debug build
Behdad Esfahbod [Mon, 19 Apr 2010 06:27:56 +0000 (02:27 -0400)]
Fix debug build

14 years agoFix leak when duplicating blob
Behdad Esfahbod [Sat, 27 Mar 2010 21:00:19 +0000 (17:00 -0400)]
Fix leak when duplicating blob

14 years agoFix the mystery bug!
Behdad Esfahbod [Tue, 16 Mar 2010 07:46:17 +0000 (03:46 -0400)]
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.

14 years agoTypo
Behdad Esfahbod [Thu, 15 Apr 2010 18:00:25 +0000 (14:00 -0400)]
Typo

14 years agoCosmetic
Behdad Esfahbod [Wed, 10 Mar 2010 09:14:40 +0000 (04:14 -0500)]
Cosmetic

14 years ago[ft] Check stream->read instead of stream->base
Behdad Esfahbod [Tue, 2 Mar 2010 03:33:45 +0000 (22:33 -0500)]
[ft] Check stream->read instead of stream->base

The former is more robust.  See discussion on freetype-devel.

14 years agoMake blob unlocking 64bit-safe
Behdad Esfahbod [Tue, 23 Feb 2010 21:47:51 +0000 (16:47 -0500)]
Make blob unlocking 64bit-safe

GNOME Bug 604128 - Applications crash when displaying Hebrew characters

14 years agoImprove the alignment for NullPool
Behdad Esfahbod [Tue, 23 Feb 2010 07:42:00 +0000 (02:42 -0500)]
Improve the alignment for NullPool

14 years agoUse __attribute__((unused)) only with gcc 4 and later
Behdad Esfahbod [Wed, 17 Feb 2010 20:14:57 +0000 (15:14 -0500)]
Use __attribute__((unused)) only with gcc 4 and later

See discussion at:
https://bugzilla.gnome.org/show_bug.cgi?id=610183

14 years ago[GDEF] Fix bug in building synthetic GDEF
Behdad Esfahbod [Tue, 26 Jan 2010 17:58:59 +0000 (12:58 -0500)]
[GDEF] Fix bug in building synthetic GDEF

14 years ago[TODO] Add kern/GPOS interaction
Behdad Esfahbod [Tue, 26 Jan 2010 17:17:37 +0000 (12:17 -0500)]
[TODO] Add kern/GPOS interaction

14 years agoFix compile with older FreeType
Behdad Esfahbod [Sun, 20 Dec 2009 22:05:02 +0000 (23:05 +0100)]
Fix compile with older FreeType

14 years agoIndent
Behdad Esfahbod [Sun, 20 Dec 2009 20:42:14 +0000 (21:42 +0100)]
Indent

14 years agoRevert "Fallback to 'kern' if no GPOS applied"
Behdad Esfahbod [Sun, 20 Dec 2009 20:26:24 +0000 (21:26 +0100)]
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'.

14 years agoFallback to 'kern' if no GPOS applied
Behdad Esfahbod [Sun, 20 Dec 2009 20:23:56 +0000 (21:23 +0100)]
Fallback to 'kern' if no GPOS applied

14 years agoRemove glibism!
Behdad Esfahbod [Sun, 20 Dec 2009 20:03:11 +0000 (21:03 +0100)]
Remove glibism!

14 years agoOops, add file.
Behdad Esfahbod [Sun, 20 Dec 2009 19:59:51 +0000 (20:59 +0100)]
Oops, add file.

14 years agoHook OpenType shaping up
Behdad Esfahbod [Sun, 20 Dec 2009 19:58:26 +0000 (20:58 +0100)]
Hook OpenType shaping up

Default features only for now.

14 years agoPass features down
Behdad Esfahbod [Sun, 20 Dec 2009 18:01:14 +0000 (19:01 +0100)]
Pass features down

14 years agoAvoid overflow
Behdad Esfahbod [Sun, 20 Dec 2009 17:22:28 +0000 (18:22 +0100)]
Avoid overflow

14 years agoRefactor hb_shape a bit
Behdad Esfahbod [Sun, 20 Dec 2009 16:58:25 +0000 (17:58 +0100)]
Refactor hb_shape a bit

14 years agoAdd TrueType kern support
Behdad Esfahbod [Sun, 20 Dec 2009 16:24:05 +0000 (17:24 +0100)]
Add TrueType kern support

14 years agoDirect unicode->get_mirroring directly
Behdad Esfahbod [Sun, 20 Dec 2009 15:29:17 +0000 (16:29 +0100)]
Direct unicode->get_mirroring directly

14 years agoDo mirroring
Behdad Esfahbod [Sun, 20 Dec 2009 15:28:01 +0000 (16:28 +0100)]
Do mirroring

14 years agoProtect against NULL funcs
Behdad Esfahbod [Sun, 20 Dec 2009 15:25:18 +0000 (16:25 +0100)]
Protect against NULL funcs

14 years agoAdd hb_unicode_get_*() functions
Behdad Esfahbod [Sun, 20 Dec 2009 14:29:16 +0000 (15:29 +0100)]
Add hb_unicode_get_*() functions

14 years agoWe'll have to link to libstdc++ if linking to ICU, so disable test for now
Behdad Esfahbod [Sun, 20 Dec 2009 13:56:25 +0000 (14:56 +0100)]
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.

14 years agoExplicitly track whether the buffer has positions
Behdad Esfahbod [Sun, 20 Dec 2009 13:50:42 +0000 (14:50 +0100)]
Explicitly track whether the buffer has positions

14 years agoAdd HB_DIRECTION_IS_FORWARD/BACKWARD
Behdad Esfahbod [Sun, 20 Dec 2009 12:58:50 +0000 (13:58 +0100)]
Add HB_DIRECTION_IS_FORWARD/BACKWARD

14 years agoMake main.cc compile without glib
Behdad Esfahbod [Tue, 15 Dec 2009 09:07:40 +0000 (04:07 -0500)]
Make main.cc compile without glib

14 years agoDistribute autogen.sh
Behdad Esfahbod [Tue, 15 Dec 2009 08:53:45 +0000 (03:53 -0500)]
Distribute autogen.sh

15 years agoAnother C++ strictness fix
Behdad Esfahbod [Fri, 20 Nov 2009 01:28:03 +0000 (20:28 -0500)]
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.

15 years agoFix warning
Behdad Esfahbod [Fri, 20 Nov 2009 01:27:57 +0000 (20:27 -0500)]
Fix warning

15 years agoUse autoconf FLEXIBLE_ARRAY_MEMBER when available
Behdad Esfahbod [Wed, 18 Nov 2009 16:27:33 +0000 (11:27 -0500)]
Use autoconf FLEXIBLE_ARRAY_MEMBER when available

15 years agoAdd Mongolian variation selectors
Behdad Esfahbod [Wed, 18 Nov 2009 14:47:44 +0000 (09:47 -0500)]
Add Mongolian variation selectors

15 years agoFix sanitize
Behdad Esfahbod [Wed, 11 Nov 2009 22:15:03 +0000 (17:15 -0500)]
Fix sanitize

15 years agoRemove obsolete TODO item
Behdad Esfahbod [Tue, 10 Nov 2009 17:56:35 +0000 (12:56 -0500)]
Remove obsolete TODO item

15 years agoRemove done item
Behdad Esfahbod [Sat, 7 Nov 2009 00:52:47 +0000 (19:52 -0500)]
Remove done item

15 years agoReverse buffer at the end if RTL
Behdad Esfahbod [Sat, 7 Nov 2009 00:52:01 +0000 (19:52 -0500)]
Reverse buffer at the end if RTL

15 years agoHandle shaping in non-native direction
Behdad Esfahbod [Sat, 7 Nov 2009 00:48:16 +0000 (19:48 -0500)]
Handle shaping in non-native direction

15 years agoOops, wrong change
Behdad Esfahbod [Fri, 6 Nov 2009 22:46:33 +0000 (17:46 -0500)]
Oops, wrong change

15 years agoChange order of font and face for API consistency
Behdad Esfahbod [Fri, 6 Nov 2009 22:45:38 +0000 (17:45 -0500)]
Change order of font and face for API consistency

15 years agoRemove debug info that crept in
Behdad Esfahbod [Fri, 6 Nov 2009 22:42:38 +0000 (17:42 -0500)]
Remove debug info that crept in

15 years ago[GSUB] More ligature/component fixing
Behdad Esfahbod [Fri, 6 Nov 2009 22:23:31 +0000 (17:23 -0500)]
[GSUB] More ligature/component fixing

We can only reuse the ligid if it belongs to a previous ligature, not a
component!

15 years agoAdd _hb_buffer_add_output_glyphs() that takes codepoint_t*
Behdad Esfahbod [Fri, 6 Nov 2009 22:21:01 +0000 (17:21 -0500)]
Add _hb_buffer_add_output_glyphs() that takes codepoint_t*

15 years agoAdd hb_ot_layout_position_finish()
Behdad Esfahbod [Fri, 6 Nov 2009 21:47:31 +0000 (16:47 -0500)]
Add hb_ot_layout_position_finish()

We expect buffer to be setup with default positions before GPOS.

15 years agoFix FT_Face finalizer call
Behdad Esfahbod [Fri, 6 Nov 2009 20:19:22 +0000 (15:19 -0500)]
Fix FT_Face finalizer call

15 years agoRename hb_buffer_get_len() to hb_buffer_get_length()
Behdad Esfahbod [Fri, 6 Nov 2009 20:13:17 +0000 (15:13 -0500)]
Rename hb_buffer_get_len() to hb_buffer_get_length()

15 years agoMinor.
Behdad Esfahbod [Fri, 6 Nov 2009 18:52:57 +0000 (13:52 -0500)]
Minor.

15 years agoFix FT_Face generic finalizer
Behdad Esfahbod [Fri, 6 Nov 2009 01:17:53 +0000 (20:17 -0500)]
Fix FT_Face generic finalizer

15 years agoCosmetic
Behdad Esfahbod [Fri, 6 Nov 2009 01:08:17 +0000 (20:08 -0500)]
Cosmetic

15 years agoFix warning
Behdad Esfahbod [Fri, 6 Nov 2009 00:58:02 +0000 (19:58 -0500)]
Fix warning

15 years agoinclude errno.h
Behdad Esfahbod [Fri, 6 Nov 2009 00:54:23 +0000 (19:54 -0500)]
include errno.h

15 years agoAdd debugging to object lifecycle
Behdad Esfahbod [Fri, 6 Nov 2009 00:37:58 +0000 (19:37 -0500)]
Add debugging to object lifecycle

15 years agoCosmetic
Behdad Esfahbod [Fri, 6 Nov 2009 00:20:06 +0000 (19:20 -0500)]
Cosmetic

15 years agoReturn 0 from get_glyph_nil
Behdad Esfahbod [Thu, 5 Nov 2009 23:26:52 +0000 (18:26 -0500)]
Return 0 from get_glyph_nil

15 years agoInitialize font->klass
Behdad Esfahbod [Thu, 5 Nov 2009 23:25:56 +0000 (18:25 -0500)]
Initialize font->klass

15 years agoAdd TODO item
Behdad Esfahbod [Thu, 5 Nov 2009 23:03:26 +0000 (18:03 -0500)]
Add TODO item

15 years agoFix ref counting
Behdad Esfahbod [Thu, 5 Nov 2009 22:58:41 +0000 (17:58 -0500)]
Fix ref counting

15 years agoAdd hb_ft_face_create_cached
Behdad Esfahbod [Thu, 5 Nov 2009 22:39:16 +0000 (17:39 -0500)]
Add hb_ft_face_create_cached

15 years agoAdd default positioning to hb-shape
Behdad Esfahbod [Thu, 5 Nov 2009 21:34:47 +0000 (16:34 -0500)]
Add default positioning to hb-shape

15 years agoFix MarkMark issue with ligid and components
Behdad Esfahbod [Thu, 5 Nov 2009 21:16:14 +0000 (16:16 -0500)]
Fix MarkMark issue with ligid and components

15 years agoInclude stdio.h if debugging
Behdad Esfahbod [Thu, 5 Nov 2009 21:16:06 +0000 (16:16 -0500)]
Include stdio.h if debugging

15 years agoAdd hb_font_get_*
Behdad Esfahbod [Thu, 5 Nov 2009 18:55:41 +0000 (13:55 -0500)]
Add hb_font_get_*

15 years agoRename [xy]_pos to [xy]_offset since we don't accumulate positions
Behdad Esfahbod [Thu, 5 Nov 2009 17:20:11 +0000 (12:20 -0500)]
Rename [xy]_pos to [xy]_offset since we don't accumulate positions

15 years agoCosmetic
Behdad Esfahbod [Thu, 5 Nov 2009 17:08:34 +0000 (12:08 -0500)]
Cosmetic

15 years agoStart filling hb_shape() in
Behdad Esfahbod [Thu, 5 Nov 2009 02:07:03 +0000 (21:07 -0500)]
Start filling hb_shape() in

15 years agoAdd script and language to buffer
Behdad Esfahbod [Thu, 5 Nov 2009 01:29:54 +0000 (20:29 -0500)]
Add script and language to buffer

15 years agoAdd hb_language_t as well as language/script conversion to OT tags
Behdad Esfahbod [Thu, 5 Nov 2009 00:45:39 +0000 (19:45 -0500)]
Add hb_language_t as well as language/script conversion to OT tags

15 years agoDefine ARRAY_LENGTH
Behdad Esfahbod [Wed, 4 Nov 2009 23:15:59 +0000 (18:15 -0500)]
Define ARRAY_LENGTH

15 years agoAnother one
Behdad Esfahbod [Wed, 4 Nov 2009 23:12:32 +0000 (18:12 -0500)]
Another one

15 years agoMinor
Behdad Esfahbod [Wed, 4 Nov 2009 23:12:09 +0000 (18:12 -0500)]
Minor

15 years agoFix previous commit, ouch!
Behdad Esfahbod [Wed, 4 Nov 2009 21:59:50 +0000 (16:59 -0500)]
Fix previous commit, ouch!

15 years agoFix array query API
Behdad Esfahbod [Wed, 4 Nov 2009 21:36:14 +0000 (16:36 -0500)]
Fix array query API

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

15 years agoFinish FT glue. Rough and untested
Behdad Esfahbod [Wed, 4 Nov 2009 20:48:32 +0000 (15:48 -0500)]
Finish FT glue.  Rough and untested

15 years agoAdd TODO item
Behdad Esfahbod [Wed, 4 Nov 2009 01:28:27 +0000 (20:28 -0500)]
Add TODO item

15 years agoImplement nil font functions
Behdad Esfahbod [Wed, 4 Nov 2009 01:27:05 +0000 (20:27 -0500)]
Implement nil font functions

15 years agoStart ft glue
Behdad Esfahbod [Tue, 3 Nov 2009 23:34:20 +0000 (18:34 -0500)]
Start ft glue

15 years agoAdd ICU glue
Behdad Esfahbod [Tue, 3 Nov 2009 21:35:10 +0000 (16:35 -0500)]
Add ICU glue

15 years agoFix hb_be_uint16()
Behdad Esfahbod [Tue, 3 Nov 2009 20:21:15 +0000 (15:21 -0500)]
Fix hb_be_uint16()

15 years agoNamespace MSVC defines in public header
Behdad Esfahbod [Tue, 3 Nov 2009 20:16:10 +0000 (15:16 -0500)]
Namespace MSVC defines in public header

15 years agoMove unicode_funcs to buffer
Behdad Esfahbod [Tue, 3 Nov 2009 20:15:07 +0000 (15:15 -0500)]
Move unicode_funcs to buffer

15 years ago[Makefile] Install hb-unicode.h
Behdad Esfahbod [Tue, 3 Nov 2009 20:14:40 +0000 (15:14 -0500)]
[Makefile] Install hb-unicode.h

Separate OT headers also.

15 years ago[TODO] Add item for fixing buffer error handling
Behdad Esfahbod [Tue, 3 Nov 2009 20:14:08 +0000 (15:14 -0500)]
[TODO] Add item for fixing buffer error handling

15 years agoAdd check for not linking to libstdc++
Behdad Esfahbod [Tue, 3 Nov 2009 19:28:32 +0000 (14:28 -0500)]
Add check for not linking to libstdc++

15 years agoUse the C linker, not C++ linker
Behdad Esfahbod [Tue, 3 Nov 2009 19:18:33 +0000 (14:18 -0500)]
Use the C linker, not C++ linker

Such that we don't link to libstdc++.

15 years ago[configure] Fix check for FreeType
Behdad Esfahbod [Tue, 3 Nov 2009 19:09:32 +0000 (14:09 -0500)]
[configure] Fix check for FreeType

15 years ago[TODO] Remove obsolete item
Behdad Esfahbod [Tue, 3 Nov 2009 19:09:10 +0000 (14:09 -0500)]
[TODO] Remove obsolete item

15 years agoAdd bunch of TODO items
Behdad Esfahbod [Tue, 3 Nov 2009 16:36:06 +0000 (11:36 -0500)]
Add bunch of TODO items

15 years agoMore MSVC fixes from Jonathan Kew
Behdad Esfahbod [Tue, 3 Nov 2009 15:52:45 +0000 (10:52 -0500)]
More MSVC fixes from Jonathan Kew

15 years agoDon't use zero-sized arrays
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.

15 years agoCosmetic
Behdad Esfahbod [Tue, 3 Nov 2009 00:17:36 +0000 (19:17 -0500)]
Cosmetic

15 years agoAnother try at build without glib
Behdad Esfahbod [Mon, 2 Nov 2009 23:55:19 +0000 (18:55 -0500)]
Another try at build without glib

15 years agoFix build without glib, again
Behdad Esfahbod [Mon, 2 Nov 2009 23:53:15 +0000 (18:53 -0500)]
Fix build without glib, again