summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gravity: Update script properties tablescript-propertiesMatthias Clasen2021-06-271-1/+112
| | | | | | | | Our script properties table was last updated in the Unicode 5.0 era. Add all the scripts up to Unicode 13. For the properties, I used the same horizontal direction as harfbuzz, and left the other properties at their default values.
* gravity: Correct direction for Kharoshthi scriptMatthias Clasen2021-06-271-1/+1
| | | | Harbuzz treats this script as RTL, so we should too.
* Merge branch 'attrlist-test' into 'master'Matthias Clasen2021-06-191-0/+60
|\ | | | | | | | | Add another test for pango_attr_list_change See merge request GNOME/pango!343
| * Add another test for pango_attr_list_changeattrlist-testMatthias Clasen2021-06-191-0/+60
|/ | | | | This tests that we handle more cases of overlapping attributes properly.
* Merge branch 'font-features-docs' into 'master'Matthias Clasen2021-06-172-2/+6
|\ | | | | | | | | | | | | Link to the CSS font-feature-settings docs for pango_attr_font_features_new Closes #565 See merge request GNOME/pango!342
| * Convert a stray DocBook ulink into MarkdownFederico Mena Quintero2021-06-141-1/+1
| |
| * Link to the CSS font-feature-settings docs for pango_attr_font_features_newFederico Mena Quintero2021-06-141-1/+5
|/ | | | Fixes https://gitlab.gnome.org/GNOME/pango/-/issues/565
* Merge branch 'glib-main' into 'master'Matthias Clasen2021-06-071-1/+1
|\ | | | | | | | | subprojects: Use GLib main branch See merge request GNOME/pango!341
| * subprojects: Use GLib main branchPhilip Withnall2021-06-071-1/+1
|/ | | | | | | | GLib upstream has renamed its `master` branch to `main`. See https://gitlab.gnome.org/GNOME/glib/-/issues/2348. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* Merge branch 'harfbuzz-main' into 'master'Matthias Clasen2021-06-051-1/+1
|\ | | | | | | | | Use harfbuzz from the main branch See merge request GNOME/pango!340
| * Use harfbuzz from the main branchharfbuzz-mainMatthias Clasen2021-06-051-1/+1
|/ | | | harfbuzz master got renamed to main.
* Merge branch 'docs-link-fixes' into 'master'Matthias Clasen2021-05-2511-23/+23
|\ | | | | | | | | docs: Link syntax fixes See merge request GNOME/pango!339
| * docs: Link syntax fixesdocs-link-fixesMatthias Clasen2021-05-2511-23/+23
|/ | | | | Now that gi-docgen warns about link syntax errors, we can find and fix them.
* Merge branch 'more-attr-update-fixes' into 'master'Matthias Clasen2021-05-242-18/+34
|\ | | | | | | | | Explicitly preserve unlimited attributes See merge request GNOME/pango!338
| * Add a test for unlimited attributesmore-attr-update-fixesMatthias Clasen2021-05-231-0/+10
| | | | | | | | Test the fix in the previous commit.
| * Explicitly preserve unlimited attributesMatthias Clasen2021-05-231-18/+24
|/ | | | | When calling pango_attr_list_update(), we must not change the limits or attributes that are unlimited.
* Merge branch 'doc-fixes' into 'master'Matthias Clasen2021-05-232-2/+2
|\ | | | | | | | | docs: Fix link syntax in a few places See merge request GNOME/pango!337
| * docs: Fix link syntax in a few placesdoc-fixesMatthias Clasen2021-05-232-2/+2
| |
* | Merge branch 'fix-attr-list-update' into 'master'Matthias Clasen2021-05-232-1/+28
|\ \ | | | | | | | | | | | | | | | | | | Avoid unsigned int pitfalls Closes #561 See merge request GNOME/pango!336
| * | Add a testcase for pango_attr_list_updatefix-attr-list-updateMatthias Clasen2021-05-231-0/+26
| | | | | | | | | | | | This captures bug fixed in the previous commit.
| * | Avoid unsigned int pitfallsMatthias Clasen2021-05-231-1/+2
| |/ | | | | | | | | | | | | | | | | When we tried to catch attr list overflow in 895759096309e7c, we overlooked that add - remove can be negative, leading to unexpected results. Avoid this case. Fixes: #561
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-05-234-13/+44
|\ \ | |/ |/| | | | | docs: Add a missing backtick See merge request GNOME/pango!335
| * pango-segmentation: FixesMatthias Clasen2021-05-232-6/+29
| | | | | | | | | | Only build pango-segmentation if we have cairo. And add --version here too.
| * pango-list: Add --versionMatthias Clasen2021-05-231-3/+11
| |
| * Only build pango-segmentation if we have cairoMatthias Clasen2021-05-231-7/+7
| |
| * docs: Add a missing backtickMatthias Clasen2021-05-211-1/+1
|/
* Merge branch 'docs-cleanups' into 'master'Matthias Clasen2021-05-2118-74/+56
|\ | | | | | | | | docs: Reduce redundancy See merge request GNOME/pango!334
| * docs: Reduce redundancydocs-cleanupsMatthias Clasen2021-05-2018-74/+56
|/ | | | | | Remove a boatload of "or %NULL" from nullable parameters and return values. gi-docgen generates suitable text from the annotation that we don't need to duplicate.
* Merge branch 'docs-cleanup' into 'master'Matthias Clasen2021-05-2063-1473/+1531
|\ | | | | | | | | introspection: Stop using allow-none See merge request GNOME/pango!333
| * docs: Convert gtk-doc syntax leftoversdocs-cleanupMatthias Clasen2021-05-1958-1425/+1483
| | | | | | | | | | Remove leftovers like #Type, reduce indentations to avoid markdown block quotes, etc.
| * introspection: Stop using allow-noneMatthias Clasen2021-05-1914-82/+82
|/ | | | | The allow-none annotation has been deprecated for a long time already. Instead use optional and nullable everywhere.
* 1.48.51.48.5Matthias Clasen2021-05-182-1/+14
|
* Merge branch 'fix-lilypond-leak' into 'master'Matthias Clasen2021-05-121-31/+24
|\ | | | | | | | | fc: Don't use GTask for threading See merge request GNOME/pango!329
| * fc: Don't use GTask for threadingfix-lilypond-leakMatthias Clasen2021-05-101-31/+24
|/ | | | | | | | | | GTask requires a running mainloop, otherwise we end up leaking task objects and their associated data. This is not a problem in GTK applications, but it does show up in batch operation, such as with lilypond. To avoid this problem, use plain threads.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-05-103-9/+12
|\ | | | | | | | | test-break: Make help output work again See merge request GNOME/pango!332
| * Fix a thinkoMatthias Clasen2021-05-102-6/+8
| | | | | | | | | | | | | | | | | | The commit message for d476d2a944500f8553 said "word boundaries", but the code checked for line breaks. That was wrong, since it also made hyphens disappear at SHY, where we very much want them. Update affected tests.
| * test-break: Make help output work againMatthias Clasen2021-05-101-3/+4
| | | | | | | | | | | | | | test-break has a helpful text that explains the maining of the output. Unfortunately, the --help option is taken by g_test_init(), so make this available with --legend.
* | Merge branch 'fix-sentence-breaks' into 'master'Matthias Clasen2021-05-101-3/+16
|\ \ | | | | | | | | | | | | break: Fix an inconsistency with sentence breaks See merge request GNOME/pango!330
| * | break: Fix an inconsistency with sentence breaksfix-sentence-breaksMatthias Clasen2021-05-091-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we retroactively remove a sentence boundary because of rule SB8, we were not cleaning up the sencence_start/end markers that have already been derived from it. This can be seen in urls like http://www.unicode.org/reports/tr29, where we don't have any sentence boundaries, but we leave a stray sentence_start/end at the first / after ".org".
* | | Merge branch 'segmentation-util' into 'master'Matthias Clasen2021-05-102-0/+189
|\ \ \ | |_|/ |/| | | | | | | | Add pango-segmentation See merge request GNOME/pango!331
| * | Add pango-segmentationsegmentation-utilMatthias Clasen2021-05-092-0/+189
| |/ | | | | | | A little utility to show text segmentation.
* | Merge branch 'add-null-checkds' into 'master'Matthias Clasen2021-05-093-3/+6
|\ \ | | | | | | | | | | | | | | | | | | Add some NULL checks Closes #268 See merge request GNOME/pango!328
| * | 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 'fix-ellipsized-line-width' into 'master'Matthias Clasen2021-05-091-2/+5
|\ \ | | | | | | | | | | | | | | | | | | Ensure ellipsized lines have the right width Closes #24 See merge request GNOME/pango!326
| * | Ensure ellipsized lines have the right widthfix-ellipsized-line-widthMatthias Clasen2021-05-081-2/+5
| |/ | | | | | | | | | | | | Otherwise, ellipsized text will 'vibrate', as the size changes. Fixes: #24
* | Merge branch 'fix-layout-line-height' into 'master'Matthias Clasen2021-05-092-2/+23
|\ \ | | | | | | | | | | | | | | | | | | Make pango_layout_line_get_height work Closes #487 See merge request GNOME/pango!327
| * | Make pango_layout_line_get_height workfix-layout-line-heightMatthias Clasen2021-05-082-2/+23
| |/ | | | | | | | | | | | | We were just never setting the height. Ouch! Test included. Fixes: #487
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-05-091-4/+4
|\ \ | | | | | | | | | | | | Cosmetics See merge request GNOME/pango!325
| * | CosmeticsMatthias Clasen2021-05-081-4/+4
| |/
* | Merge branch 'fix-empty-line-spacing' into 'master'Matthias Clasen2021-05-091-2/+9
|\ \ | |/ |/| | | | | | | | | layout: handle empty lines better Closes #499 See merge request GNOME/pango!324