summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Sync up test file listsfix-test-listsMatthias Clasen2021-08-221-1/+25
| | | | | | We have more tests than meson knows about. Fixes: #600
* 1.49.01.49.0Matthias Clasen2021-08-221-5/+11
|
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-08-221-1/+1
|\ | | | | | | | | Fix an oversight with text-transform See merge request GNOME/pango!430
| * Fix an oversight with text-transformMatthias Clasen2021-08-221-1/+1
|/ | | | | With the current implementation of text-transform, we need the attribute to be constant across runs.
* Merge branch 'compiler-warnings' into 'main'Matthias Clasen2021-08-2216-58/+124
|\ | | | | | | | | build: More compiler warnings See merge request GNOME/pango!428
| * build: More compiler warningscompiler-warningsMatthias Clasen2021-08-221-4/+39
| | | | | | | | | | | | Now that the code has been fixed, we can enable these warnings. The flags here match what is used in GTK.
| * renderer: Silence compiler warningsMatthias Clasen2021-08-221-0/+8
| |
| * markup: Silence compiler warningsMatthias Clasen2021-08-221-0/+3
| |
| * layout: Silence compiler warningsMatthias Clasen2021-08-221-26/+27
| |
| * break: Silence compiler warningsMatthias Clasen2021-08-221-8/+16
| |
| * tests: Silence compiler warningsMatthias Clasen2021-08-226-7/+12
| |
| * fcfontmap: Silence compiler warningsMatthias Clasen2021-08-221-0/+2
| |
| * bidi: Silence compiler warningsMatthias Clasen2021-08-221-0/+1
| |
| * emoji: Silence compiler warningsMatthias Clasen2021-08-221-0/+3
| |
| * attributes: Silence compiler warningsMatthias Clasen2021-08-221-9/+9
| |
| * glyphstring: Silence compiler warningsMatthias Clasen2021-08-221-4/+4
|/
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-08-221-18/+9
|\ | | | | | | | | testattributes: Assert properly See merge request GNOME/pango!429
| * testattributes: Assert properlyMatthias Clasen2021-08-221-18/+9
|/
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-08-2214-170/+272
|\ | | | | | | | | break: Some code reorg See merge request GNOME/pango!427
| * attributes: CosmeticsMatthias Clasen2021-08-221-2/+2
| | | | | | | | Fix a few comments.
| * tests: Make test-itemize work betterMatthias Clasen2021-08-221-3/+3
| | | | | | | | | | This wasn't working when passed a file on the commandline. Fix that.
| * tests: Add more attribute testsMatthias Clasen2021-08-222-0/+110
| | | | | | | | | | Handle all attribute types when testing copying, and add tests for the binding helpers.
| * Add a forgotten binding helperMatthias Clasen2021-08-221-0/+1
| | | | | | | | The new text-transform attribute was overlooked.
| * TrivialMatthias Clasen2021-08-221-1/+1
| | | | | | | | Fix a comment
| * Fix binding helpers for absolute-line-heightMatthias Clasen2021-08-221-0/+1
| | | | | | | | This was overlooked.
| * tests: Tweak test-break outputMatthias Clasen2021-08-228-23/+24
| | | | | | | | | | | | Change the order in test-break output to be sentence, word, grapheme. Update all affected test outputs.
| * break: Some code reorgMatthias Clasen2021-08-221-141/+130
|/ | | | Reshuffle things to make room for validation.
* Merge branch 'matthiasc/for-master' into 'main'Matthias Clasen2021-08-214-4/+0
|\ | | | | | | | | Remove leftover test files See merge request GNOME/pango!426
| * Remove leftover test filesmatthiasc/for-masterMatthias Clasen2021-08-214-4/+0
| | | | | | | | | | These don't have a corresponding .break file, so they are useless.
* | Merge branch 'renderer-crash' into 'main'Matthias Clasen2021-08-211-1/+1
|\ \ | | | | | | | | | | | | | | | | | | renderer: Don't divide by zero Closes #599 See merge request GNOME/pango!425
| * | renderer: Don't divide by zerorenderer-crashMatthias Clasen2021-08-211-1/+1
| |/ | | | | | | | | | | | | | | Before dividing by num_glyphs in draw_strikethrough, make sure it isn't 0. This should fix reported crashes in this function. Fixes: #599
* | Merge branch 'text-transform-3' into 'main'Matthias Clasen2021-08-2112-121/+364
|\ \ | |/ |/| | | | | Add support for text transformation See merge request GNOME/pango!421
| * Add a test for text_transform in markuptext-transform-3Matthias Clasen2021-08-202-0/+20
| |
| * tests: Use en_US.UTF8 instead of CMatthias Clasen2021-08-201-1/+1
| | | | | | | | | | The C locale gives us heartburn wrt to any non-ASCII chars.
| * Documentation tweaksMatthias Clasen2021-08-201-27/+28
| |
| * shaping: implement text transformMatthias Clasen2021-08-201-81/+167
| | | | | | | | | | | | Transform the text we hand to harfbuzz, as prescribed by the text transform attributes we have. This uses the log attrs to find word starts.
| * layout: Use pango_shape_itemMatthias Clasen2021-08-201-4/+5
| | | | | | | | Use the new API, and pass our log attrs along.
| * Add pango_shape_itemMatthias Clasen2021-08-202-38/+103
| | | | | | | | | | | | Add a pango_shape API variant that takes log attrs, so we can implement text transforms that depend on word boundaries, in the future.
| * tests: Handle text transform attrsMatthias Clasen2021-08-201-0/+1
| |
| * layout: Text transform affects shapeMatthias Clasen2021-08-201-0/+1
| | | | | | | | | | Classify text transform as an attribute that affects shaping. It will, in the future.
| * markup: Add a text transform attributeMatthias Clasen2021-08-205-0/+68
| | | | | | | | | | | | Add a PangoTextTransform enum, a PangoAttribute to set it on runs of text, and support for parsing it out of markup.
* | Merge branch 'language-get-default' into 'main'Matthias Clasen2021-08-211-0/+4
|\ \ | |/ |/| | | | | | | | | language: Document issue with per-thread locales Closes #501 See merge request GNOME/pango!422
| * language: Document issue with per-thread localeslanguage-get-defaultMatthias Clasen2021-08-211-0/+4
|/ | | | | | | Document that pango_language_get_default() assumes a single, globale locale. Fixes: #501
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-08-202-58/+17
|\ | | | | | | | | Cosmetics See merge request GNOME/pango!420
| * CosmeticsMatthias Clasen2021-08-202-58/+17
|/ | | | Streamline the internals of shape.c a bit.
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-08-201-1/+1
|\ | | | | | | | | Fix the build See merge request GNOME/pango!419
| * Fix up header inclusionsMatthias Clasen2021-08-201-1/+1
|/ | | | | This worked for building pango itself, but not for using it.
* Merge branch 'code-reorg' into 'main'Matthias Clasen2021-08-2024-2745/+2911
|\ | | | | | | | | Cosmetics: Clean up pango-context.h See merge request GNOME/pango!418
| * Some code reorgcode-reorgMatthias Clasen2021-08-201-506/+531
| | | | | | | | Reshuffle pango-attributes.c internally.
| * Cosmetics: Reorganize pango-attributes.hMatthias Clasen2021-08-201-220/+214
| |