summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Flush cairo surface when donethreadsafe-failed-attemptBehdad Esfahbod2012-11-071-0/+2
|
* Remove "Work around bug #686192" hacksBehdad Esfahbod2012-11-072-20/+27
| | | | Properly initialize non-static mutexes.
* Some more real hashtable threadsafety in pangofcBehdad Esfahbod2012-11-072-13/+33
|
* Make some pangofc hash caches really threadsafeBehdad Esfahbod2012-11-072-7/+24
|
* Make fontset cache threadsafeBehdad Esfahbod2012-11-071-1/+10
| | | | I still see crashes in there though. Investigating.
* Don't dispose cf_priv->data when we are done with itBehdad Esfahbod2012-11-071-8/+2
| | | | | Is racy, can cause crashes when one thread disposes it while another is still using it.
* Make PangoFcFontSet threadsafeBehdad Esfahbod2012-11-071-6/+20
|
* Work around bug #686192Behdad Esfahbod2012-11-071-0/+4
|
* Make _pango_cairo_font_private_get_scaled_font() threadsafeBehdad Esfahbod2012-11-071-56/+58
|
* Use threadsafe hashtable in PangoContext font cacheBehdad Esfahbod2012-11-071-5/+6
|
* Add a threadsafe hashtable and use it in pangofc-fontmapBehdad Esfahbod2012-11-075-34/+167
| | | | Inching our way closer to threadsafe pangofc.
* Bug 685021: "Add" load_fontset() for Win32 backendChun-wei Fan2012-10-301-0/+157
| | | | | | | | | | | | We now need a load_fontset() implementation for the Windows backend as the pango.aliases handling is moved to pangowin32-fontmap.c since commit 831611158, so that it will go through the pango.aliases file and load the appropriate fontset needed to display various texts. This basically copies pango_font_map_load_fontset() from pango-fontmap.c and adds the old (pre-commit 831611158) pango_font_map_fontset_add_fonts(), but using pango_win32_font_map_load_font() in place of pango_font_map_load_font().
* 1.32.11.32.1Matthias Clasen2012-09-272-1/+6
|
* Don't wipe docs in dist-hook-localMatthias Clasen2012-09-271-4/+1
| | | | | | | It is just super-annoying that one cannot even do 'make dist' and get a working tarball. There has to be a better to do this; for now, just remove this, no other gtk-doc-using module is doing this.
* Fixup grapheme clustersBehdad Esfahbod2012-09-271-2/+3
| | | | | | | | | | | | | After adding pango_shape_full() and passing full paragraph text to HarfBuzz, we were getting cluster values relative to beginning to paragraph back from HarfBuzz, and I forgot to account for that. Caused severe crashes. Fixes: Bug 684959 - crash after "Add pango_shape_full()" and the dupes...
* Add template for new APIBehdad Esfahbod2012-09-261-0/+11
|
* Revert "Temporarily work around doc build breakages"Matthias Clasen2012-09-262-3/+1
| | | | This reverts commit 150691036aab59044d05ed3fa29785910249bb9a.
* 1.32.01.32.0Matthias Clasen2012-09-262-2/+7
|
* Temporarily work around doc build breakagesMatthias Clasen2012-09-262-1/+3
| | | | | | 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.
* Add pango_shape_full()Behdad Esfahbod2012-09-2612-37/+115
| | | | | | | | | | | | | | | | Variant of pango_shape() that takes the full paragraph text as input. This is then passed in entirety to HarfBuzz, which would allow certain cross-run interactions (in Arabic for example). When combined with upcoming HarfBuzz 0.9.5+, this fixes: Red Hat Bug 858736 - [Spanish] Stray dotted circle rendered https://bugzilla.redhat.com/show_bug.cgi?id=858736 and partially: Bug 313181 - color changes break arabic shaping https://bugzilla.gnome.org/show_bug.cgi?id=313181
* Unbreak build systemBehdad Esfahbod2012-09-261-2/+4
| | | | After 88692e4e, every make invocation was rebuilding everything. Fix.
* Port PangoCoreTextFont to use GWeakRefJohn Ralls2012-09-251-8/+9
| | | | For its PangoCoreTextFontMap* member.
* Allow --without-xftBehdad Esfahbod2012-09-241-5/+8
| | | | Patch from galtgendo.
* Revert "Temporarily work around doc build breakages"Matthias Clasen2012-09-172-3/+1
| | | | This reverts commit 9c1e5d60a078db4b08bd7247004e759ff60cc534.
* 1.31.21.31.2Matthias Clasen2012-09-172-1/+6
|
* Temporarily work around doc build breakagesMatthias Clasen2012-09-172-1/+3
| | | | | | 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.
* Make modules.c thread-safeMatthias Clasen2012-09-141-11/+23
| | | | | | | The maps list is protected with a mutex. registered_engines, dlloaded_engines and dlloaded_modules are read-only after init_modules, which is protected with g_once_init. Finally, engine creation is protected with another mutex.
* Rework config file readingMatthias Clasen2012-09-141-36/+39
| | | | | | | | | | | | | The code was loading and parsing the system config file every single time, and has not correctly handling mixed requests for user and system config entries. This commit reworks the code so that the configuration is loaded only once, in threadsafe fashion. pango_config_key_get_system is no longer using the same hash table, but reloads its data every time - this is not a really problem, since this function is only used in pango-querymodules.
* Load config file only onceMatthias Clasen2012-09-141-6/+12
|
* Add HarfBuzz to pkgconfig requires.privateBehdad Esfahbod2012-09-141-0/+1
|
* pango/pangowin32-fontmap.c: Fix buildChun-wei Fan2012-09-141-1/+3
| | | | | | -Include glib/gstdio.h for g_fopen -Make up for a missed #endif -correct an internal function name, pango_load_aliases to load_aliases
* Fixups for introspecting without FreetypeJohn Ralls2012-09-131-5/+11
|
* Only build pangocoretext if have cairo-qaurtzBehdad Esfahbod2012-09-081-0/+2
|
* Bump the required GLib versionMatthias Clasen2012-09-041-1/+1
| | | | We need GLib 2.33.12 for g_object_replace_qdata.
* Revert "Temporarily work around doc build breakages"Matthias Clasen2012-09-042-3/+1
| | | | This reverts commit 007aa41d10038e9632bad373a837e540b4d0e8e4.
* 1.31.11.31.1Matthias Clasen2012-09-042-2/+9
|
* Temporarily work around doc build breakagesMatthias Clasen2012-09-042-1/+3
| | | | | | 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.
* Use thread-safe qdata API for cachingMatthias Clasen2012-09-012-6/+17
| | | | | GLib gained a new API that allows to set qdata in a thread-safe way. Use it here.
* Fix PangoCoreTextFontsetClass definition so that it buildsJohn Ralls2012-08-301-4/+9
|
* Use g_value_take_objectBehdad Esfahbod2012-08-291-3/+1
|
* Fix warningBehdad Esfahbod2012-08-291-1/+2
|
* Bug 682952 - remove old glib checkBehdad Esfahbod2012-08-291-4/+0
|
* Port pangofc-font.c to GWeakRefBehdad Esfahbod2012-08-292-25/+27
|
* Plug leakBehdad Esfahbod2012-08-291-1/+4
|
* Update config.h.win32.inChun-wei Fan2012-08-291-10/+7
| | | | Make its entries more consistent with the entries given in config.h.in.
* Make enum get_type functions thread-safeMatthias Clasen2012-08-283-19/+70
| | | | | | 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.
* pangoft2: Fix typoColin Walters2012-08-281-1/+1
|
* Start cleaning up config readingBehdad Esfahbod2012-08-281-5/+5
|
* More churnBehdad Esfahbod2012-08-2819-60/+56
|
* Protect fontmaps with a mutex in pangoxft-fontmap.cAlessandro Pignotti2012-08-271-3/+21
|