platform/upstream/pango.git
15 years agoAllow using uninstalled glib
Behdad Esfahbod [Thu, 22 Oct 2009 21:24:21 +0000 (17:24 -0400)]
Allow using uninstalled glib

Reported by mpsuzuki on gtk-i18n-list on 2009-10-09.

15 years ago[configure] Allow using uninstalled cairo
Behdad Esfahbod [Thu, 22 Oct 2009 21:17:38 +0000 (17:17 -0400)]
[configure] Allow using uninstalled cairo

Reported by mpsuzuki on gtk-i18n-list on 2009-10-16.

15 years agoUpdate from vte
Behdad Esfahbod [Wed, 21 Oct 2009 22:26:27 +0000 (18:26 -0400)]
Update from vte

15 years agoTypo
Behdad Esfahbod [Mon, 5 Oct 2009 19:31:31 +0000 (15:31 -0400)]
Typo

15 years agoBug 596837 - Typo in pango_cairo_show_layout documentation
Behdad Esfahbod [Wed, 30 Sep 2009 20:35:40 +0000 (16:35 -0400)]
Bug 596837 - Typo in pango_cairo_show_layout documentation

15 years agoRelease 1.26.0 1.26.0
Behdad Esfahbod [Mon, 21 Sep 2009 20:58:52 +0000 (16:58 -0400)]
Release 1.26.0

15 years ago[HB] Add comment
Behdad Esfahbod [Mon, 21 Sep 2009 17:58:56 +0000 (13:58 -0400)]
[HB] Add comment

15 years ago[HB] Fix apply_lookup() loop
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

15 years ago[HB] Fix bug in chain_context_lookup() invocations
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

15 years agoBug 595350 - set LC_ALL=C, not LANG=C
Behdad Esfahbod [Wed, 16 Sep 2009 19:43:57 +0000 (15:43 -0400)]
Bug 595350 - set LC_ALL=C, not LANG=C

15 years agoBug 594936 - pango_layout_set_wrap
Behdad Esfahbod [Fri, 11 Sep 2009 20:57:25 +0000 (16:57 -0400)]
Bug 594936 - pango_layout_set_wrap

Remove wrong optimization in pango_layout_set_wrap().  The assumption that
if the layout was not wrapped before, it will not wrap now is simply wrong.

15 years agoBug 594934 - pango_layout_copy
Behdad Esfahbod [Fri, 11 Sep 2009 20:51:34 +0000 (16:51 -0400)]
Bug 594934 - pango_layout_copy

Use memcpy() to copy value fields so we don't miss any.

15 years agoRevert "[basic-win32] Increase performance of Uniscribe code"
Tor Lillqvist [Thu, 10 Sep 2009 15:49:31 +0000 (18:49 +0300)]
Revert "[basic-win32] Increase performance of Uniscribe code"

Unfortunately this change breaks complex script shaping.

This reverts commit ea608c0bd7721d3019bed7ef2472289b1ea6fa53.

15 years agoOnly check doc coverage if building docs
Behdad Esfahbod [Thu, 10 Sep 2009 00:25:32 +0000 (20:25 -0400)]
Only check doc coverage if building docs

15 years agoRelease 1.25.6 1.25.6
Behdad Esfahbod [Tue, 8 Sep 2009 15:41:38 +0000 (11:41 -0400)]
Release 1.25.6

15 years ago[HB] Add TODO item
Behdad Esfahbod [Mon, 31 Aug 2009 01:02:28 +0000 (21:02 -0400)]
[HB] Add TODO item

15 years ago[HB] Rename DEBUG to TRACE where appropriate
Behdad Esfahbod [Fri, 28 Aug 2009 21:17:11 +0000 (17:17 -0400)]
[HB] Rename DEBUG to TRACE where appropriate

15 years ago[HB] Add GSUB/GPOS tracing
Behdad Esfahbod [Fri, 28 Aug 2009 21:14:33 +0000 (17:14 -0400)]
[HB] Add GSUB/GPOS tracing

15 years ago[HB] Allow enabling different debug facilities individually
Behdad Esfahbod [Fri, 28 Aug 2009 20:31:20 +0000 (16:31 -0400)]
[HB] Allow enabling different debug facilities individually

15 years agoEnable silent rules by default
Behdad Esfahbod [Fri, 28 Aug 2009 18:01:49 +0000 (14:01 -0400)]
Enable silent rules by default

15 years agoFix stupid array growing bug
Behdad Esfahbod [Fri, 28 Aug 2009 13:46:14 +0000 (09:46 -0400)]
Fix stupid array growing bug

15 years ago[HB] Simplify counting
Behdad Esfahbod [Thu, 27 Aug 2009 05:32:17 +0000 (01:32 -0400)]
[HB] Simplify counting

15 years agoFix bug with lookup_index overflowing our static array
Behdad Esfahbod [Thu, 27 Aug 2009 05:16:28 +0000 (01:16 -0400)]
Fix bug with lookup_index overflowing our static array

Part of Bug 593240 - updating pango to latest git master makes things crash

15 years ago[HB] Indent
Behdad Esfahbod [Thu, 27 Aug 2009 04:21:04 +0000 (00:21 -0400)]
[HB] Indent

15 years ago[HB] Bug 593231 - < c99 compiler dislikes ValueRecord
Behdad Esfahbod [Wed, 26 Aug 2009 22:53:43 +0000 (18:53 -0400)]
[HB] Bug 593231 - < c99 compiler dislikes ValueRecord

15 years agoRelease 1.25.5 1.25.5
Behdad Esfahbod [Mon, 24 Aug 2009 20:52:05 +0000 (16:52 -0400)]
Release 1.25.5

15 years agoUpdate git.mk
Behdad Esfahbod [Thu, 20 Aug 2009 19:26:12 +0000 (15:26 -0400)]
Update git.mk

15 years agoBug 592484 - invalid write in HB
Behdad Esfahbod [Thu, 20 Aug 2009 18:01:37 +0000 (14:01 -0400)]
Bug 592484 -  invalid write in HB

Fix off-by-one.

15 years ago[HB][glib] Make glib unicode funcs static
Behdad Esfahbod [Thu, 20 Aug 2009 17:07:50 +0000 (13:07 -0400)]
[HB][glib] Make glib unicode funcs static

15 years ago[HB] Fix more casts
Behdad Esfahbod [Wed, 19 Aug 2009 22:16:50 +0000 (18:16 -0400)]
[HB] Fix more casts

15 years ago[HB] Rename CAIRO_ in macro prefix to HB_
Behdad Esfahbod [Wed, 19 Aug 2009 22:07:36 +0000 (18:07 -0400)]
[HB] Rename CAIRO_ in macro prefix to HB_

Hiss!

15 years ago[HB] Remove HB_MEMORY_MODE_READONLY_NEVER_DUPLICATE
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.

15 years ago[HB] s/writeable/writable/g
Behdad Esfahbod [Wed, 19 Aug 2009 20:17:24 +0000 (16:17 -0400)]
[HB] s/writeable/writable/g

15 years ago[HB] Hide lig_id and component members of hb_glyph_info_t
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

15 years ago[HB] Fix typo
Behdad Esfahbod [Wed, 19 Aug 2009 18:45:24 +0000 (14:45 -0400)]
[HB] Fix typo

15 years ago[HB] Add font funcs prototypes
Behdad Esfahbod [Tue, 18 Aug 2009 22:37:36 +0000 (18:37 -0400)]
[HB] Add font funcs prototypes

15 years agoFix a few other pedantic warnings
Behdad Esfahbod [Tue, 18 Aug 2009 20:41:59 +0000 (16:41 -0400)]
Fix a few other pedantic warnings

15 years ago[HB] Fix pedantic warnings
Behdad Esfahbod [Tue, 18 Aug 2009 20:38:48 +0000 (16:38 -0400)]
[HB] Fix pedantic warnings

15 years ago[HB] Fix more wrong method signatures
Behdad Esfahbod [Tue, 18 Aug 2009 20:32:31 +0000 (16:32 -0400)]
[HB] Fix more wrong method signatures

15 years ago[HB] Fix wrong method signature
Behdad Esfahbod [Tue, 18 Aug 2009 20:27:48 +0000 (16:27 -0400)]
[HB] Fix wrong method signature

15 years agoBug 592194 - Fix missing _SC_PAGE_SIZE macro
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.

15 years agoRelease 1.25.4 1.25.4
Behdad Esfahbod [Mon, 17 Aug 2009 23:16:53 +0000 (19:16 -0400)]
Release 1.25.4

15 years agoAM_V_GEN ChangeLog too
Behdad Esfahbod [Mon, 17 Aug 2009 23:13:30 +0000 (19:13 -0400)]
AM_V_GEN ChangeLog too

15 years agoBug 592131 - Add AM_SILENT_RULES
Behdad Esfahbod [Mon, 17 Aug 2009 22:39:00 +0000 (18:39 -0400)]
Bug 592131 -  Add AM_SILENT_RULES

And sprinkle some $(AM_V_GEN) around. Silent rules are disabled by
default.

15 years agoMake pango_interface_age automatic
Behdad Esfahbod [Mon, 17 Aug 2009 22:29:37 +0000 (18:29 -0400)]
Make pango_interface_age automatic

For unstable releases, we act as if each micro release has new API.
For stable releases, no micro release adds new API.

15 years ago[introspection] Don't this gir files, really
Behdad Esfahbod [Mon, 17 Aug 2009 21:10:04 +0000 (17:10 -0400)]
[introspection] Don't this gir files, really

15 years ago[Makefile] Remove GIR files from EXTRA_DIST
Behdad Esfahbod [Mon, 17 Aug 2009 21:07:12 +0000 (17:07 -0400)]
[Makefile] Remove GIR files from EXTRA_DIST

15 years agoRe-enable introspection, delete PangoX
Colin Walters [Mon, 17 Aug 2009 20:50:57 +0000 (16:50 -0400)]
Re-enable introspection, delete PangoX

This patch relies on the latest GObject Introspection; bump
requirement to 0.6.4.

First, delete the PangoX.gir since it's "incredibly deprecated"
in Owen's words =)

Next, clean up the PangoCairo.gir logic; we need to include the .gir
for the relevant font backend (currently just FT2), because the
font object gets expanded.

15 years ago[HB] Avoid int overflow in GPOS
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

15 years ago[HB] Simplify loop
Behdad Esfahbod [Fri, 14 Aug 2009 23:37:18 +0000 (19:37 -0400)]
[HB] Simplify loop

15 years ago[HB] Merge mark positionin code between three types of lookups
Behdad Esfahbod [Fri, 14 Aug 2009 23:33:24 +0000 (19:33 -0400)]
[HB] Merge mark positionin code between three types of lookups

15 years ago[HB] More minor shuffling
Behdad Esfahbod [Fri, 14 Aug 2009 22:42:42 +0000 (18:42 -0400)]
[HB] More minor shuffling

15 years ago[HB] Move code around
Behdad Esfahbod [Fri, 14 Aug 2009 22:40:56 +0000 (18:40 -0400)]
[HB] Move code around

15 years ago[HB] Correctly sanitize LigatureAttach
Behdad Esfahbod [Fri, 14 Aug 2009 22:32:56 +0000 (18:32 -0400)]
[HB] Correctly sanitize LigatureAttach

15 years ago[HB] Simplify MarkBase and MarkLig too
Behdad Esfahbod [Fri, 14 Aug 2009 22:14:03 +0000 (18:14 -0400)]
[HB] Simplify MarkBase and MarkLig too

15 years ago[HB] Simplify MarkMark
Behdad Esfahbod [Fri, 14 Aug 2009 21:53:31 +0000 (17:53 -0400)]
[HB] Simplify MarkMark

15 years ago[HB] Fix possible int overflows during sanitize
Behdad Esfahbod [Fri, 14 Aug 2009 21:31:16 +0000 (17:31 -0400)]
[HB] Fix possible int overflows during sanitize

15 years ago[HB] Debug output for SANITIZE_MEM()
Behdad Esfahbod [Fri, 14 Aug 2009 20:41:00 +0000 (16:41 -0400)]
[HB] Debug output for SANITIZE_MEM()

15 years ago[HB] Use inline function for SANITIZE_MEM()
Behdad Esfahbod [Fri, 14 Aug 2009 20:25:33 +0000 (16:25 -0400)]
[HB] Use inline function for SANITIZE_MEM()

15 years ago[HB] Use SANITIZE_THIS() when applicable
Behdad Esfahbod [Fri, 14 Aug 2009 20:17:32 +0000 (16:17 -0400)]
[HB] Use SANITIZE_THIS() when applicable

15 years ago[HB] Add note about auditing sanitize code for overflows
Behdad Esfahbod [Fri, 14 Aug 2009 20:12:22 +0000 (16:12 -0400)]
[HB] Add note about auditing sanitize code for overflows

15 years ago[HB] Add empty hb_shape() API
Behdad Esfahbod [Thu, 13 Aug 2009 21:13:25 +0000 (17:13 -0400)]
[HB] Add empty hb_shape() API

15 years ago[HB] Bitfield packing *is* very delicate
Behdad Esfahbod [Thu, 13 Aug 2009 15:47:08 +0000 (11:47 -0400)]
[HB] Bitfield packing *is* very delicate

Fix the second instance.

15 years ago[basic-win32] Increase performance of Uniscribe code
David E. Hollingsworth [Thu, 13 Aug 2009 12:55:50 +0000 (15:55 +0300)]
[basic-win32] Increase performance of Uniscribe code

A few weeks ago I reported a performance issue regarding the use of
Uniscribe in the win32 basic shaper.

It turns out that the issue was with the use of Uniscribe's
SCRIPT_CACHE.  Despite the name, this value is for caching
per-font-plus-size values, not per-script values.  See:

  http://msdn.microsoft.com/en-us/library/dd317726(VS.85).aspx

Since shaping occurs on runs containing a single font, we only need
one SCRIPT_CACHE in uniscribe_shape.  I'm including a patch below that
does this.  With the patch applied, the time for one of my tests went
from 20s to .3s.

15 years agoBug 591511 – hh-blob.c does not compile using mingw on windows
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().

15 years ago[HB] Fix buffer sizing issue with mingw gcc
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

15 years agoRelease 1.25.3 1.25.3
Behdad Esfahbod [Wed, 12 Aug 2009 23:56:26 +0000 (19:56 -0400)]
Release 1.25.3

15 years agoBug 591413 – needs to link with libstdc++
Behdad Esfahbod [Wed, 12 Aug 2009 23:45:50 +0000 (19:45 -0400)]
Bug 591413 – needs to link with libstdc++

Enforce -fno-exceptions better.

15 years agoBug 591511 – hb-blob.c does not compile using mingw on windows
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.

15 years ago[HB] Add comment
Behdad Esfahbod [Wed, 12 Aug 2009 23:23:16 +0000 (19:23 -0400)]
[HB] Add comment

15 years agoNew public API: pango_glyph_item_get_logical_widths()
Behdad Esfahbod [Wed, 12 Aug 2009 22:36:36 +0000 (18:36 -0400)]
New public API: pango_glyph_item_get_logical_widths()

15 years agoFix compiler warnings
Behdad Esfahbod [Wed, 12 Aug 2009 22:13:37 +0000 (18:13 -0400)]
Fix compiler warnings

15 years agoRemove G_GNUC_PURE attr from pango_glyph_string_get_width()
Behdad Esfahbod [Wed, 12 Aug 2009 22:11:03 +0000 (18:11 -0400)]
Remove G_GNUC_PURE attr from pango_glyph_string_get_width()

Since the glyph widths can be adjusted directly.

15 years ago[OT] Enlarge lookup array
Behdad Esfahbod [Wed, 12 Aug 2009 21:50:19 +0000 (17:50 -0400)]
[OT] Enlarge lookup array

We'll fix it properly later when ruleset logic is moved into HarfBuzz.
In the mean time, IranNastaliq was hitting the 100 limit.

15 years ago[layout] clear state->log_widths after freeing
Behdad Esfahbod [Wed, 12 Aug 2009 20:51:46 +0000 (16:51 -0400)]
[layout] clear state->log_widths after freeing

15 years ago[HB] Always clear positions if dirty, before returning to user
Behdad Esfahbod [Wed, 12 Aug 2009 20:50:28 +0000 (16:50 -0400)]
[HB] Always clear positions if dirty, before returning to user

15 years ago[HB] Fix _hb_buffer_next() when positioning
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.

15 years ago[HB] Fixed signedness warnings
Behdad Esfahbod [Wed, 12 Aug 2009 19:55:23 +0000 (15:55 -0400)]
[HB] Fixed signedness warnings

15 years ago[HB] Ouch. Fix compilation.
Behdad Esfahbod [Wed, 12 Aug 2009 19:48:44 +0000 (15:48 -0400)]
[HB] Ouch.  Fix compilation.

15 years ago[HB] Fix invalid access / overflow on x86-64
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

15 years agoBug 591465 – Gimp crashes upon opening the font selection dialog
Behdad Esfahbod [Tue, 11 Aug 2009 21:06:57 +0000 (17:06 -0400)]
Bug 591465 – Gimp crashes upon opening the font selection dialog

Initialize count variables.

15 years ago[doc] Update doc templates
Behdad Esfahbod [Tue, 11 Aug 2009 15:13:04 +0000 (11:13 -0400)]
[doc] Update doc templates

15 years agoRelease 1.25.2 1.25.2
Behdad Esfahbod [Tue, 11 Aug 2009 14:29:49 +0000 (10:29 -0400)]
Release 1.25.2

15 years ago[doc] Update for ATSUI change
Behdad Esfahbod [Tue, 11 Aug 2009 14:31:22 +0000 (10:31 -0400)]
[doc] Update for ATSUI change

Bug 562100 – docs check fails

15 years agoBug 591409 – crash in firefox. Handle non-mmapped FT_Face
Behdad Esfahbod [Tue, 11 Aug 2009 14:09:19 +0000 (10:09 -0400)]
Bug 591409 – crash in firefox.  Handle non-mmapped FT_Face

15 years ago[HB] Add hb_font_funcs_make_immutable()
Behdad Esfahbod [Tue, 11 Aug 2009 03:50:51 +0000 (23:50 -0400)]
[HB] Add hb_font_funcs_make_immutable()

15 years ago[HB] Add missing initializer
Behdad Esfahbod [Tue, 11 Aug 2009 03:45:57 +0000 (23:45 -0400)]
[HB] Add missing initializer

15 years ago[OT] Hookup glib unicode funcs
Behdad Esfahbod [Tue, 11 Aug 2009 03:40:28 +0000 (23:40 -0400)]
[OT] Hookup glib unicode funcs

15 years ago[HB] Add hb-glib
Behdad Esfahbod [Tue, 11 Aug 2009 03:35:05 +0000 (23:35 -0400)]
[HB] Add hb-glib

15 years ago[HB] Add hb_unicode_funcs_make_immutable()
Behdad Esfahbod [Tue, 11 Aug 2009 03:25:28 +0000 (23:25 -0400)]
[HB] Add hb_unicode_funcs_make_immutable()

15 years ago[HB] Use nil unicode funcs in nil face
Behdad Esfahbod [Tue, 11 Aug 2009 03:21:33 +0000 (23:21 -0400)]
[HB] Use nil unicode funcs in nil face

15 years ago[HB] Initialize unicode funcs to nil getters
Behdad Esfahbod [Tue, 11 Aug 2009 03:05:05 +0000 (23:05 -0400)]
[HB] Initialize unicode funcs to nil getters

15 years ago[HB] Flesh out Unicode funcs
Behdad Esfahbod [Tue, 11 Aug 2009 02:58:56 +0000 (22:58 -0400)]
[HB] Flesh out Unicode funcs

15 years ago[HB] Implement buffer UTF-X input
Behdad Esfahbod [Tue, 11 Aug 2009 02:47:57 +0000 (22:47 -0400)]
[HB] Implement buffer UTF-X input

15 years ago[HB] Add buffer UTF-X API
Behdad Esfahbod [Tue, 11 Aug 2009 01:10:37 +0000 (21:10 -0400)]
[HB] Add buffer UTF-X API

15 years ago[HB] Add hb_buffer_reverse()
Behdad Esfahbod [Tue, 11 Aug 2009 00:59:25 +0000 (20:59 -0400)]
[HB] Add hb_buffer_reverse()

15 years ago[HB] Reuse the positions array as alt string array
Behdad Esfahbod [Tue, 11 Aug 2009 00:24:49 +0000 (20:24 -0400)]
[HB] Reuse the positions array as alt string array

15 years ago[HB] Start adding Unicode funcs
Behdad Esfahbod [Tue, 11 Aug 2009 00:05:16 +0000 (20:05 -0400)]
[HB] Start adding Unicode funcs

15 years ago[HB] Put C++ inline's back
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.

15 years agoAdd CXX check to configure
Behdad Esfahbod [Mon, 10 Aug 2009 18:45:44 +0000 (14:45 -0400)]
Add CXX check to configure