summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add missing bidi typestest-coverageMatthias Clasen2021-06-283-6/+20
| | | | | The api is deprecated, but it is very ugly to randomly miss a few values here. Just add them.
* tests: Add some bidi api testsMatthias Clasen2021-06-281-0/+64
|
* Add some more font api testsMatthias Clasen2021-06-281-0/+71
| | | | Exercise the list model apis, for coverage.
* tests: Add tests for PangoGravityMatthias Clasen2021-06-281-0/+57
|
* tabs: CosmeticsMatthias Clasen2021-06-281-1/+1
|
* tests: Add tests for PangoTabArrayMatthias Clasen2021-06-282-0/+111
|
* tests: Add tests for PangoMatrixMatthias Clasen2021-06-282-0/+206
|
* tests: Add tests for PangoLanguageMatthias Clasen2021-06-282-1/+69
|
* tests: Add tests for version apisMatthias Clasen2021-06-281-0/+25
| | | | Check the previous change.
* utils: Make pango_version_check more preciseMatthias Clasen2021-06-281-0/+2
| | | | | The expectation of version comparisons is that major versions have to match exactly.
* matrix: CosmeticsMatthias Clasen2021-06-281-6/+7
|
* tests: Add some PangoContext testsMatthias Clasen2021-06-282-0/+146
| | | | These improve converage for misc PangoContext apis.
* tests: Add more attribute testsMatthias Clasen2021-06-281-1/+50
| | | | These improve test coverage for some corner cases.
* tests: Add some color testsMatthias Clasen2021-06-281-0/+30
|
* tests: Improve markup test coverageMatthias Clasen2021-06-2886-20/+446
| | | | Cover many more error cases.
* markup: Don't accept attributes on <markup>Matthias Clasen2021-06-281-0/+1
| | | | Better to enforce this.
* markup: Separate out all casesMatthias Clasen2021-06-281-1/+6
| | | | | | No point in having a few attributes handled in the default case. Just split them all by the first char.
* markup: Save a few linesMatthias Clasen2021-06-281-20/+4
| | | | pango_markup_parser_new_internal can't really fail.
* Add better attribute test infrastructureMatthias Clasen2021-06-283-226/+249
| | | | | | | Add a way to deserialize a PangoAttrList from a string, for less cumbersome tests. And use it in testattributes.
* Merge branch 'script-properties' into 'master'Matthias Clasen2021-06-271-2/+113
|\ | | | | | | | | Update script properties See merge request GNOME/pango!345
| * 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.