platform/upstream/pango.git
12 years agoUse thread-safe qdata API for caching
Matthias Clasen [Sat, 1 Sep 2012 14:32:21 +0000 (10:32 -0400)]
Use thread-safe qdata API for caching

GLib gained a new API that allows to set qdata in a thread-safe
way. Use it here.

12 years agoFix PangoCoreTextFontsetClass definition so that it builds
John Ralls [Thu, 30 Aug 2012 23:14:42 +0000 (16:14 -0700)]
Fix PangoCoreTextFontsetClass definition so that it builds

12 years agoUse g_value_take_object
Behdad Esfahbod [Wed, 29 Aug 2012 20:59:03 +0000 (16:59 -0400)]
Use g_value_take_object

12 years agoFix warning
Behdad Esfahbod [Wed, 29 Aug 2012 20:58:52 +0000 (16:58 -0400)]
Fix warning

12 years agoBug 682952 - remove old glib check
Behdad Esfahbod [Wed, 29 Aug 2012 14:51:30 +0000 (10:51 -0400)]
Bug 682952 - remove old glib check

12 years agoPort pangofc-font.c to GWeakRef
Behdad Esfahbod [Wed, 29 Aug 2012 13:54:19 +0000 (09:54 -0400)]
Port pangofc-font.c to GWeakRef

12 years agoPlug leak
Behdad Esfahbod [Wed, 29 Aug 2012 13:37:50 +0000 (09:37 -0400)]
Plug leak

12 years agoUpdate config.h.win32.in
Chun-wei Fan [Wed, 29 Aug 2012 04:27:45 +0000 (12:27 +0800)]
Update config.h.win32.in

Make its entries more consistent with the entries given in config.h.in.

12 years agoMake enum get_type functions thread-safe
Matthias Clasen [Wed, 29 Aug 2012 02:06:20 +0000 (22:06 -0400)]
Make enum get_type functions thread-safe

Use a more modern, template-based way of calling glib-mkenums,
and use templates that use g_once_init_enter/leave to be
thread-safe.

12 years agopangoft2: Fix typo
Colin Walters [Tue, 28 Aug 2012 12:17:37 +0000 (08:17 -0400)]
pangoft2: Fix typo

12 years agoStart cleaning up config reading
Behdad Esfahbod [Tue, 28 Aug 2012 04:19:35 +0000 (00:19 -0400)]
Start cleaning up config reading

12 years agoMore churn
Behdad Esfahbod [Tue, 28 Aug 2012 03:43:38 +0000 (23:43 -0400)]
More churn

12 years agoProtect fontmaps with a mutex in pangoxft-fontmap.c
Alessandro Pignotti [Wed, 25 May 2011 15:04:44 +0000 (17:04 +0200)]
Protect fontmaps with a mutex in pangoxft-fontmap.c

12 years agoMake static data thread safe in pangowin32-fontmap.c
Alessandro Pignotti [Wed, 25 May 2011 14:58:22 +0000 (16:58 +0200)]
Make static data thread safe in pangowin32-fontmap.c

12 years agoMake static data thread safe in pangoft2-fontmap.c
Alessandro Pignotti [Wed, 25 May 2011 14:55:58 +0000 (16:55 +0200)]
Make static data thread safe in pangoft2-fontmap.c

12 years agoMake pangofc-fontmap.c thread-safe
Behdad Esfahbod [Tue, 28 Aug 2012 03:33:16 +0000 (23:33 -0400)]
Make pangofc-fontmap.c thread-safe

12 years agoMore thread-safety
Behdad Esfahbod [Tue, 28 Aug 2012 03:31:02 +0000 (23:31 -0400)]
More thread-safety

12 years agoMake static data thread safe in pango-context.c
Alessandro Pignotti [Wed, 25 May 2011 14:04:22 +0000 (16:04 +0200)]
Make static data thread safe in pango-context.c

12 years agoMake static data thread safe in pangocairo-fcfont.c
Alessandro Pignotti [Wed, 25 May 2011 13:54:01 +0000 (15:54 +0200)]
Make static data thread safe in pangocairo-fcfont.c

12 years agoMake static data thread safe in pango-engine.c
Alessandro Pignotti [Wed, 25 May 2011 13:47:19 +0000 (15:47 +0200)]
Make static data thread safe in pango-engine.c

12 years agoMake static data thread safe in pangocairo-fontmap.c
Alessandro Pignotti [Fri, 20 May 2011 21:03:57 +0000 (23:03 +0200)]
Make static data thread safe in pangocairo-fontmap.c

12 years agoMake pango-attributes thread-safe
Behdad Esfahbod [Tue, 28 Aug 2012 02:53:49 +0000 (22:53 -0400)]
Make pango-attributes thread-safe

12 years agoFix warnings
Behdad Esfahbod [Tue, 28 Aug 2012 02:51:03 +0000 (22:51 -0400)]
Fix warnings

12 years agoMake pango-language.c thread-safe
Behdad Esfahbod [Tue, 28 Aug 2012 02:40:53 +0000 (22:40 -0400)]
Make pango-language.c thread-safe

Start marking static-data that is thread safe with the "MT-safe" marker.
The following grep can be used to track progress:

grep 'static[^(]*;' *c | grep -v MT-safe

12 years agoMake a couple of functions reentrant
Alessandro Pignotti [Wed, 18 May 2011 16:31:03 +0000 (18:31 +0200)]
Make a couple of functions reentrant

12 years agoMake static data thread safe in pango-utils.c
Alessandro Pignotti [Wed, 18 May 2011 17:49:51 +0000 (19:49 +0200)]
Make static data thread safe in pango-utils.c

12 years agoDeprecate pango_lookup_aliases()
Matthias Clasen [Tue, 28 Aug 2012 02:09:29 +0000 (22:09 -0400)]
Deprecate pango_lookup_aliases()

Part of Bug 377539 - (pango-threadsafe) Make Pango thread-safe

12 years agoRemove residuals from when HarfBuzz was in-tree
Behdad Esfahbod [Mon, 27 Aug 2012 22:13:29 +0000 (18:13 -0400)]
Remove residuals from when HarfBuzz was in-tree

12 years agoMinor
Behdad Esfahbod [Mon, 27 Aug 2012 21:51:16 +0000 (17:51 -0400)]
Minor

12 years agoMore pangox removal!
Behdad Esfahbod [Mon, 27 Aug 2012 21:45:17 +0000 (17:45 -0400)]
More pangox removal!

12 years agocoretext: silence compiler
Kristian Rietveld [Mon, 27 Aug 2012 07:40:38 +0000 (09:40 +0200)]
coretext: silence compiler

12 years agocoretext: silently fail on invalid UTF8 instead of crashing
Kristian Rietveld [Mon, 27 Aug 2012 07:37:11 +0000 (09:37 +0200)]
coretext: silently fail on invalid UTF8 instead of crashing

When an attempt is made to create a CFString with a C string containing
invalid UTF8, the call returns NULL. We now check this return value
and silently fail instead of continuing and reading from a NULL
pointer.

12 years agoUpdate mini-fribidi to Unicode 6.1.0 data
Behdad Esfahbod [Sat, 25 Aug 2012 23:35:59 +0000 (19:35 -0400)]
Update mini-fribidi to Unicode 6.1.0 data

12 years agoDeprecate pango_fc_font_kern_glyphs()
Behdad Esfahbod [Sat, 25 Aug 2012 23:25:09 +0000 (19:25 -0400)]
Deprecate pango_fc_font_kern_glyphs()

No use for this anymore.

12 years agoBug 653347 - rise units documented incorrectly
Behdad Esfahbod [Sat, 25 Aug 2012 20:58:38 +0000 (16:58 -0400)]
Bug 653347 - rise units documented incorrectly

12 years agoBug 678997 - Colors aqua, silver and indigo missing in: pango-color-table.h
Behdad Esfahbod [Sat, 25 Aug 2012 20:06:57 +0000 (16:06 -0400)]
Bug 678997 - Colors aqua, silver and indigo missing in: pango-color-table.h

12 years ago[rgb.txt] Remove duplicate lines
Behdad Esfahbod [Sat, 25 Aug 2012 19:51:43 +0000 (15:51 -0400)]
[rgb.txt] Remove duplicate lines

12 years agoIgnore spaces when parsing colors
Behdad Esfahbod [Sat, 25 Aug 2012 19:59:53 +0000 (15:59 -0400)]
Ignore spaces when parsing colors

12 years agoAdd rgb.txt from X11
Behdad Esfahbod [Sat, 25 Aug 2012 19:46:21 +0000 (15:46 -0400)]
Add rgb.txt from X11

12 years agoBug 678721 - Don't need to get item properties in pango_layout_line_x_to_index
Behdad Esfahbod [Sat, 25 Aug 2012 19:36:04 +0000 (15:36 -0400)]
Bug 678721 - Don't need to get item properties in pango_layout_line_x_to_index

12 years agoUpdate script-language mapping table
Behdad Esfahbod [Sat, 25 Aug 2012 18:14:45 +0000 (14:14 -0400)]
Update script-language mapping table

12 years agoBug 631601 - pangox.def, pangoxft.def missing from the distribution
Behdad Esfahbod [Sat, 25 Aug 2012 18:11:59 +0000 (14:11 -0400)]
Bug 631601 - pangox.def, pangoxft.def missing from the distribution

12 years agoMinor
Behdad Esfahbod [Sat, 25 Aug 2012 18:08:52 +0000 (14:08 -0400)]
Minor

12 years agoUpdate to Unicode 6.1
Behdad Esfahbod [Sat, 25 Aug 2012 18:05:46 +0000 (14:05 -0400)]
Update to Unicode 6.1

12 years agoEven more pangox residual removal
Behdad Esfahbod [Sat, 25 Aug 2012 18:04:36 +0000 (14:04 -0400)]
Even more pangox residual removal

12 years agoRemove unused table
Behdad Esfahbod [Sat, 25 Aug 2012 17:44:51 +0000 (13:44 -0400)]
Remove unused table

12 years agoAdd an update-cache mode to pango-query-modules
Matthias Clasen [Sat, 25 Aug 2012 17:47:49 +0000 (13:47 -0400)]
Add an update-cache mode to pango-query-modules

It is inconvenient for distro-builders to redirect the output
of pango-query-modules to a location that depends on various
factors, such as architecture and pango module version.

With this commit, you can just run pango-querymodules --update-cache,
and it will replace the file #libdir/pango/1.8.0/modules.cache.

12 years agoUpdate NEWS
Behdad Esfahbod [Sat, 25 Aug 2012 17:36:37 +0000 (13:36 -0400)]
Update NEWS

12 years agoForgotten fixup
Matthias Clasen [Sat, 25 Aug 2012 16:31:04 +0000 (12:31 -0400)]
Forgotten fixup

Make pango actually look in both locations for the module file.

12 years agoUpdate NEWS
Matthias Clasen [Sat, 25 Aug 2012 16:29:20 +0000 (12:29 -0400)]
Update NEWS

12 years agodocs: Improve pango-querymodules man page
Matthias Clasen [Sat, 25 Aug 2012 16:28:18 +0000 (12:28 -0400)]
docs: Improve pango-querymodules man page

The man page now mentions what to do with the output produced
by pango-querymodules.

12 years agodocs: Add some more metadata to man pages
Matthias Clasen [Sat, 25 Aug 2012 16:24:31 +0000 (12:24 -0400)]
docs: Add some more metadata to man pages

12 years agoRead the module cache from libdir as well
Matthias Clasen [Sat, 25 Aug 2012 16:12:22 +0000 (12:12 -0400)]
Read the module cache from libdir as well

This is following identical changes made to gdk-pixbuf loaders
and GTK+ immodules. We read the module cache file that is generated
by pango-querymodules from $libdir/pango/1.8.0/modules.cache.
This helps in situations where /etc needs to be readonly or empty.

The old location, $sysconfdir/pango/pango.modules, still works too.

12 years agoDeprecate pango-ot.h
Behdad Esfahbod [Fri, 24 Aug 2012 00:42:03 +0000 (20:42 -0400)]
Deprecate pango-ot.h

Still needs document Deprecated tags to be done.

Soon to add pango-hb.h

12 years agoVisual C++: Remove the "static" property sheets
Chun-wei Fan [Thu, 23 Aug 2012 16:11:01 +0000 (00:11 +0800)]
Visual C++: Remove the "static" property sheets

The property sheets now have their header listings for "installation"
filled in during make dist, so we don't need to keep the static pango
property sheets around.

12 years agoBug 682421 - Arabic is broken with gravity hint=line when gravity is east/north
Behdad Esfahbod [Thu, 23 Aug 2012 15:04:04 +0000 (11:04 -0400)]
Bug 682421 - Arabic is broken with gravity hint=line when gravity is east/north

Fix-up gravity and vertical support in HarfBuzz module.

Still needs more work for vertical GPOS to work correctly, but this is a
huge improvement already.

12 years agoFix Xft detection
Behdad Esfahbod [Thu, 23 Aug 2012 14:59:03 +0000 (10:59 -0400)]
Fix Xft detection

12 years agoRevert "Fix configuring for Xft even when it's not present"
Behdad Esfahbod [Thu, 23 Aug 2012 14:57:03 +0000 (10:57 -0400)]
Revert "Fix configuring for Xft even when it's not present"

This reverts commit 42e01e32cd8ac070883f3456c65024019f1f73ac.

12 years agoAdd PANGO_GRAVITY_IS_IMPROPER
Behdad Esfahbod [Wed, 22 Aug 2012 14:54:29 +0000 (10:54 -0400)]
Add PANGO_GRAVITY_IS_IMPROPER

12 years agoMinor
Behdad Esfahbod [Wed, 22 Aug 2012 13:25:52 +0000 (09:25 -0400)]
Minor

12 years agoRemove old cruft
Behdad Esfahbod [Wed, 22 Aug 2012 12:38:57 +0000 (08:38 -0400)]
Remove old cruft

12 years agoautotools: Re-enable and enhance the completion of MSVC projects
Chun-wei Fan [Tue, 21 Aug 2012 06:07:25 +0000 (14:07 +0800)]
autotools: Re-enable and enhance the completion of MSVC projects

-Isolate the creation of full MSVC projects for pango, pangoft2 and
 pangocairo in a seperate build/Makefile-msvcproj.am, so it can be included
 and used elsewhere.
-Update the Makefile.am's in pango/ and pango/mini-fribidi to include
 and use build/Makefile-msvcproj.am to create the MSVC project files
-Use templates for the property sheets so that the listings of header files
 to "install" can be filled in using build/Makefile-msvcproj.am, to
 simplify future maintenance.
-Re-enable the distribution of the created project files and property
 sheets

12 years agoFix introspection for CoreText
John Ralls [Wed, 22 Aug 2012 19:15:30 +0000 (12:15 -0700)]
Fix introspection for CoreText

12 years agoCheck for Cairo-Quartz as well as CoreText
John Ralls [Wed, 22 Aug 2012 18:26:39 +0000 (11:26 -0700)]
Check for Cairo-Quartz as well as CoreText

12 years agoA bit more atsui cleanup
John Ralls [Wed, 22 Aug 2012 16:53:49 +0000 (09:53 -0700)]
A bit more atsui cleanup

Just a no-longer-true comment.

12 years agoStill more atsui removal
John Ralls [Wed, 22 Aug 2012 16:38:47 +0000 (09:38 -0700)]
Still more atsui removal

CoreText works now!

12 years agoFix configuring for Xft even when it's not present
John Ralls [Tue, 21 Aug 2012 21:37:36 +0000 (14:37 -0700)]
Fix configuring for Xft even when it's not present

Must declare have_xft=false before the pkg-check otherwise it's always
true. Then do the checks for Freetype and Xft, *then* check for Harfbuzz
and disable Freetype and Xft if it's not there. Finally set the
environment and config.h for Freetype and Xft.

12 years agoFix build system
Behdad Esfahbod [Tue, 21 Aug 2012 20:07:41 +0000 (16:07 -0400)]
Fix build system

When harfbuzz is not found, we cannot enable cairo-ft backend.

12 years agoRemove some old cruft
Behdad Esfahbod [Tue, 21 Aug 2012 19:24:45 +0000 (15:24 -0400)]
Remove some old cruft

12 years agoBug 590183 - Fix bidi implementation with regards to Unicode 5.2.0
Behdad Esfahbod [Tue, 21 Aug 2012 18:49:33 +0000 (14:49 -0400)]
Bug 590183 - Fix bidi implementation with regards to Unicode 5.2.0

12 years agoTypo in the example
Khaled Hosny [Tue, 21 Aug 2012 15:52:26 +0000 (17:52 +0200)]
Typo in the example

12 years agoMore pangox residual removal
Khaled Hosny [Tue, 21 Aug 2012 15:41:05 +0000 (17:41 +0200)]
More pangox residual removal

12 years agoUpdate pango Visual C++ project templates
Chun-wei Fan [Tue, 21 Aug 2012 05:42:52 +0000 (13:42 +0800)]
Update pango Visual C++ project templates

Simplify the inclusion of the mini-fribidi sources a bit, so we can use
the -I flag to the preprocessor when creating the projects

12 years agoRevert "Temporarily work around doc build breakages"
Matthias Clasen [Mon, 20 Aug 2012 23:06:17 +0000 (19:06 -0400)]
Revert "Temporarily work around doc build breakages"

This reverts commit 3b7c44229bd212e68eb0407f297d7bc6570ce7c3.

12 years agoBump version
Matthias Clasen [Mon, 20 Aug 2012 23:06:02 +0000 (19:06 -0400)]
Bump version

12 years ago1.31.0 1.31.0
Matthias Clasen [Mon, 20 Aug 2012 21:00:26 +0000 (17:00 -0400)]
1.31.0

12 years agoTemporarily work around doc build breakages
Matthias Clasen [Mon, 20 Aug 2012 22:42:07 +0000 (18:42 -0400)]
Temporarily work around doc build breakages

The doc check script gets tripped up by some struct members
that gtk-doc considers undocumented, and for some reason,
forcing a doc rebuild in make dist does not work either.

12 years agoNeuter win32 build stuff
Matthias Clasen [Mon, 20 Aug 2012 22:39:56 +0000 (18:39 -0400)]
Neuter win32 build stuff

Remove nonexisting files from EXTRADIST, this was breaking distcheck.

12 years agoFix the doc build
Matthias Clasen [Mon, 20 Aug 2012 21:32:30 +0000 (17:32 -0400)]
Fix the doc build

No more atsui docs either !

12 years agoUpdate build/ to include git.mk
Behdad Esfahbod [Mon, 20 Aug 2012 20:51:19 +0000 (16:51 -0400)]
Update build/ to include git.mk

12 years agoUpdate git.mk from upstream
Behdad Esfahbod [Mon, 20 Aug 2012 20:51:03 +0000 (16:51 -0400)]
Update git.mk from upstream

12 years agoMake HarfBuzz dependency optional (on non-Linux), update README
Behdad Esfahbod [Mon, 20 Aug 2012 20:06:39 +0000 (16:06 -0400)]
Make HarfBuzz dependency optional (on non-Linux), update README

If HarfBuzz is not available, we just can't build the
Freetype/Fontconfig backend...

12 years agoMore pangox residual removal
Behdad Esfahbod [Mon, 20 Aug 2012 16:58:23 +0000 (12:58 -0400)]
More pangox residual removal

12 years agoFix the pangoft2 Visual C++ projects
Chun-wei Fan [Mon, 20 Aug 2012 08:28:55 +0000 (16:28 +0800)]
Fix the pangoft2 Visual C++ projects

Many of the module sources have been removed for pangoft2, so remove them
from the projects.

12 years agoMore doc fixes
Behdad Esfahbod [Sat, 18 Aug 2012 17:37:05 +0000 (13:37 -0400)]
More doc fixes

12 years agoMore atsui residual removal
Behdad Esfahbod [Sat, 18 Aug 2012 17:34:29 +0000 (13:34 -0400)]
More atsui residual removal

12 years agoSmall doc fix
Behdad Esfahbod [Sat, 18 Aug 2012 17:34:02 +0000 (13:34 -0400)]
Small doc fix

12 years agoRemove win32 build cruft, to make "make distcheck" pass
Behdad Esfahbod [Sat, 18 Aug 2012 16:32:27 +0000 (12:32 -0400)]
Remove win32 build cruft, to make "make distcheck" pass

I need to be able to "make distcheck".  These were getting in the way.
Please only add back if:

  1) "make distcheck" passes, AND

  2) Put the cruft under build/ only, no hundreds of lines of
     unmaintainable code in pango/Makefile.am please.

12 years agoMore pangox resigual removal
Behdad Esfahbod [Sat, 18 Aug 2012 15:52:11 +0000 (11:52 -0400)]
More pangox resigual removal

12 years agoBump module version as pango-ot is being phased out
Behdad Esfahbod [Sat, 18 Aug 2012 15:46:12 +0000 (11:46 -0400)]
Bump module version as pango-ot is being phased out

12 years agoAdd Mongolian test file
Behdad Esfahbod [Fri, 17 Aug 2012 02:10:34 +0000 (22:10 -0400)]
Add Mongolian test file

12 years agoRemove residuals from pangox and pangoatsui removals
Behdad Esfahbod [Fri, 17 Aug 2012 01:59:11 +0000 (21:59 -0400)]
Remove residuals from pangox and pangoatsui removals

12 years agoRemove Atsui Module
Behdad Esfahbod [Fri, 17 Aug 2012 01:58:44 +0000 (21:58 -0400)]
Remove Atsui Module

CoreText for the win.

12 years agoRemove PangoX
Behdad Esfahbod [Fri, 17 Aug 2012 01:48:50 +0000 (21:48 -0400)]
Remove PangoX

Been overdue...

12 years agoMerge branch 'harfbuzz-ng-external'
Behdad Esfahbod [Fri, 17 Aug 2012 00:51:57 +0000 (20:51 -0400)]
Merge branch 'harfbuzz-ng-external'

Conflicts:
configure.in
docs/tmpl/text-attributes.sgml
modules/arabic/arabic-ot.c
modules/indic/indic-ot.c
pango/opentype/Makefile.am
pango/opentype/hb-blob.c
pango/opentype/hb-buffer-private.h
pango/opentype/hb-common.h
pango/opentype/hb-ot-layout-gsubgpos-private.hh
pango/opentype/hb-private.h
pango/pango-ot-info.c

12 years ago[HB] Remove Indic module
Behdad Esfahbod [Fri, 17 Aug 2012 00:42:44 +0000 (20:42 -0400)]
[HB] Remove Indic module

12 years ago[HB] Remove Thai shaper
Behdad Esfahbod [Fri, 17 Aug 2012 00:38:31 +0000 (20:38 -0400)]
[HB] Remove Thai shaper

12 years ago[HB] Remove Hangul, Hebrew, Khmer, and Tibetan shaping modules
Behdad Esfahbod [Fri, 17 Aug 2012 00:35:18 +0000 (20:35 -0400)]
[HB] Remove Hangul, Hebrew, Khmer, and Tibetan shaping modules

12 years ago[HB] Update to HarfBuzz 0.9.2 API
Behdad Esfahbod [Fri, 17 Aug 2012 00:23:29 +0000 (20:23 -0400)]
[HB] Update to HarfBuzz 0.9.2 API

12 years agointrospection: assorted fixes to avoid regressions in Vala bindings
Evan Nemerson [Wed, 8 Aug 2012 02:35:28 +0000 (19:35 -0700)]
introspection: assorted fixes to avoid regressions in Vala bindings

https://bugzilla.gnome.org/show_bug.cgi?id=681423