summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add some NULL checksadd-null-checkdsMatthias Clasen2021-05-093-3/+6
| | | | | | | Originally suggested by Philipp Withnall in https://bugzilla.gnome.org/show_bug.cgi?id=778655 Fixes: #268
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-05-092-6/+1
|\ | | | | | | | | layout: Fix a small optimization See merge request GNOME/pango!320
| * CosmeticsMatthias Clasen2021-05-081-1/+1
| |
| * layout: Remove a broken optimizationMatthias Clasen2021-05-081-5/+0
|/ | | | | | | pango_layout_set_width was trying to avoid invalidating lines in some cases, but it failed. Which is good, since this is incorrect, since it did not take possible ellipsization into account.
* Merge branch 'word-break-hyphens' into 'master'Matthias Clasen2021-05-094-4/+7
|\ | | | | | | | | | | | | Don't insert hyphens at word breaks Closes #558 See merge request GNOME/pango!323
| * layout: Don't insert hyphens at word boundariesword-break-hyphensMatthias Clasen2021-05-082-2/+5
| | | | | | | | | | | | | | | | | | | | We only want to insert hyphens when we are breaking inside a word. Update affected tests (hyphen-or-not shows up in the analysis flags in the output of test-layout). Fixes: #558
| * tests: Avoid extraneous markup in outputMatthias Clasen2021-05-081-1/+1
| | | | | | | | | | | | When using test-layout FILE to generate expected output, we don't want to prepend an extraneous '#' to every line.
| * Fix a typoMatthias Clasen2021-04-161-1/+1
|/ | | | | The section in meson wrap files is called [provide], not [provides].
* Merge branch 'victor.mireyev-master-patch-08214' into 'master'masterMatthias Clasen2021-04-101-1/+1
|\ | | | | | | | | Fix typo in PangoLayout: add missing backtick See merge request GNOME/pango!319
| * Fix typo in PangoLayout: add missing backtickVictor Mireyev2021-04-081-1/+1
|/
* Merge branch 'win32-leak' into 'master'Matthias Clasen2021-04-051-4/+1
|\ | | | | | | | | pangowin32: Don't leak various member variables of PangoWin32Font object See merge request GNOME/pango!317
| * pangowin32: Don't leak various member variables of PangoWin32Font objectSeungha Yang2021-04-051-4/+1
|/ | | | Fix for memory leaks around PangoWin32Font
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-04-032-1/+16
|\ | | | | | | | | docs: Add some details See merge request GNOME/pango!316
| * Expand the PANGO_UNDERLINE_ERROR docsMatthias Clasen2021-04-031-1/+4
| | | | | | | | | | Clarify that the exact style of rendering is up to the PangoRenderer in use.
| * docs: Add some detailsMatthias Clasen2021-04-031-0/+12
|/ | | | Mainly for my own education.
* Merge branch 'markup-docs' into 'master'Matthias Clasen2021-03-311-0/+20
|\ | | | | | | | | docs: Add missing attributes in markup docs See merge request GNOME/pango!314
| * docs: Add missing attributes in markup docsmarkup-docsMatthias Clasen2021-03-311-0/+20
| | | | | | | | | | | | Some of the more recent additions did never make it into the docs, such as overline, insert_hyphens and allow_breaks.
* | Merge branch 'compiler-warning' into 'master'Matthias Clasen2021-03-311-1/+1
|\ \ | |/ |/| | | | | Quiet a compiler warning See merge request GNOME/pango!315
| * Quiet a compiler warningcompiler-warningMatthias Clasen2021-03-311-1/+1
|/ | | | | | GLib now causes compiler warnings when passing a volatile variable to g_atomic_ apis. Drop the volatile to pacify gcc.
* Merge branch 'fix-deadlocks2' into 'master'Matthias Clasen2021-03-311-2/+1
|\ | | | | | | | | Fix deadlocks2 See merge request GNOME/pango!312
| * Fix hangs that people have observedfix-deadlocks2Matthias Clasen2021-03-311-2/+1
|/ | | | | | | We were erroneously setting fc_initialized back to 1 in one place. But now 1 means 'wait for the FcInit thread that is already underway. Setting it to 2 restores the intention.
* Merge branch 'revert-1fedc11a' into 'master'Matthias Clasen2021-03-318-317/+6
|\ | | | | | | | | Revert "Merge branch 'fix-deadlocks' into 'master'" See merge request GNOME/pango!311
| * Revert "Merge branch 'fix-deadlocks' into 'master'"revert-1fedc11aMatthias Clasen2021-03-318-317/+6
|/ | | This reverts merge request !309
* Merge branch 'fix-deadlocks' into 'master'Matthias Clasen2021-03-318-6/+317
|\ | | | | | | | | Fix deadlocks See merge request GNOME/pango!310
| * Fix hangs that people have observedfix-deadlocksMatthias Clasen2021-03-311-2/+1
| | | | | | | | | | | | | | We were erroneously setting fc_initialized back to 1 in one place. But now 1 means 'wait for the FcInit thread that is already underway. Setting it to 2 restores the intention.
| * Add dashed and dotted lineslinesMatthias Clasen2021-03-305-3/+291
| | | | | | | | | | | | | | Extend the PangoUnderline and PangoOverline enumerations to cover dashed and dotted variants of the various lines, add api to PangoRenderer to render such lines, and implement it in the cairo renderer.
| * Bump version to 1.49.0Matthias Clasen2021-03-302-1/+25
| | | | | | | | We are going to add new api.
* | Merge branch 'ebassi/for-master' into 'master'Matthias Clasen2021-03-311-2/+2
|\ \ | | | | | | | | | | | | Update the gi-docgen repository See merge request GNOME/pango!302
| * | Update the gi-docgen repositoryebassi/for-masterEmmanuele Bassi2021-03-261-2/+2
| | | | | | | | | | | | Do not use my personal workspace.
* | | Merge branch 'fix-msvc-build' into 'master'Matthias Clasen2021-03-291-9/+12
|\ \ \ | | | | | | | | | | | | | | | | Fix the build with msvc See merge request GNOME/pango!308
| * | | Fix the build with msvcfix-msvc-buildMatthias Clasen2021-03-291-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out the case ranges really just gcc extensions, and do not work with msvc. So, do things the hard way. Still keeping the early check for ASCII.
* | | | Merge branch 'misc-speedups' into 'master'Matthias Clasen2021-03-295-81/+92
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | Misc speedups See merge request GNOME/pango!306
| * | Small speedup to width itermisc-speedupsMatthias Clasen2021-03-291-6/+9
| | |
| * | Slightly speed up line breakingMatthias Clasen2021-03-291-1/+4
| | | | | | | | | | | | Make a bit more use of our types.
| * | Speed up ignorable checkMatthias Clasen2021-03-291-0/+3
| | | | | | | | | | | | No need to walk to the end if we are done.
| * | Slightly tweak pango_hb_font_get_nominal_glyphMatthias Clasen2021-03-291-15/+12
| | |
| * | Speed up Emoji classificationMatthias Clasen2021-03-291-59/+64
|/ / | | | | | | | | | | Open-code the bsearch here. These functions show up in profiles, since itemizations uses an Emoji iter.
* | Merge branch 'misc-speedups2' into 'master'Matthias Clasen2021-03-293-18/+13
|\ \ | | | | | | | | | | | | Misc speedups2 See merge request GNOME/pango!307
| * | bidi: Add some deprecation noticesmisc-speedups2Matthias Clasen2021-03-291-6/+6
| | | | | | | | | | | | Just reshuffling existing docs.
| * | CosmeticsMatthias Clasen2021-03-291-11/+6
| | | | | | | | | | | | Some formatting fixes for default_break.
| * | Revert "Add an asan option that gives better traces"Matthias Clasen2021-03-291-1/+1
|/ / | | | | | | | | | | | | This reverts commit 85b1f6a118ac23bac1c12a4c2c18b17afdf728d3. Sadly, this option makes the test-pangocairo-threads test hang and timeout.
* | Merge branch 'fcinit-once' into 'master'Matthias Clasen2021-03-271-13/+25
|\ \ | | | | | | | | | | | | Only initialize fontconfig once See merge request GNOME/pango!305
| * | Only initialize fontconfig oncefcinit-onceMatthias Clasen2021-03-271-13/+25
|/ / | | | | | | | | | | | | When multiple fontmaps are created in quick succession, we would send off a thread to call FcInit for each one of them, which is not really necessary. Just do it once.
* | Merge branch 'update-subprojects' into 'master'Matthias Clasen2021-03-271-0/+3
|\ \ | | | | | | | | | | | | release: Update included subprojects See merge request GNOME/pango!304
| * | release: Update included subprojectsupdate-subprojectsMatthias Clasen2021-03-271-0/+3
|/ / | | | | | | | | Failure to do so led to a slightly outdated gi-docgen in the 1.48.4 tarball.
* | 1.48.41.48.4better-asan-tracesMatthias Clasen2021-03-262-1/+10
| |
* | release: Actually include the docsMatthias Clasen2021-03-261-6/+2
| |
* | Merge branch 'better-asan-traces' into 'master'Matthias Clasen2021-03-271-1/+1
|\ \ | |/ |/| | | | | Add an asan option that gives better traces See merge request GNOME/pango!303
| * Add an asan option that gives better tracesMatthias Clasen2021-03-261-1/+1
|/
* Merge branch 'markup-examples' into 'master'Matthias Clasen2021-03-244-1/+14
|\ | | | | | | | | Add some markup examples See merge request GNOME/pango!301