summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Some code reorgcode-reorgMatthias Clasen2021-08-201-506/+531
| | | | Reshuffle pango-attributes.c internally.
* Cosmetics: Reorganize pango-attributes.hMatthias Clasen2021-08-201-220/+214
|
* Include pango-language.hMatthias Clasen2021-08-201-0/+1
|
* Cosmetics: Reindent pango-language.hMatthias Clasen2021-08-202-20/+22
|
* Cosmetics: Reindent pango-break.hMatthias Clasen2021-08-201-28/+23
|
* Cosmetics: Move a function aroundMatthias Clasen2021-08-204-111/+108
| | | | | pango_find_paragraph_boundary has nothing to do with breaks, so move it to pango-utils.h
* Cosmetics: Reindent pango-glyph.hMatthias Clasen2021-08-201-62/+65
|
* Cosmetics: Move a function aroundMatthias Clasen2021-08-203-7/+10
| | | | | Move pango_reorder_items to pango-item.h, since it is abou items, not about glyphs.
* Some more code reorgMatthias Clasen2021-08-203-507/+496
| | | | | We use harfbuzz shaping on all platforms now, so just merge the code into shape.c
* Some code reorgMatthias Clasen2021-08-207-1151/+1244
| | | | | Split the itemization code into its own file, and move things around a bit.
* Cosmetics: Reindent pango-item.hMatthias Clasen2021-08-201-23/+24
|
* Cosmetics: Reindent pango-context.hMatthias Clasen2021-08-201-49/+41
|
* Cosmetics: Clean up pango-context.hMatthias Clasen2021-08-204-18/+20
| | | | | Move itemize functions to pango-item.h, and move the PangoContext typedef to pango-types.h.
* Cosmetics: Split off pango-color.hMatthias Clasen2021-08-204-46/+78
|
* Cosmetics: Split off pango-markup.hMatthias Clasen2021-08-205-19/+56
|
* Merge branch 'block-cursor-fixes' into 'main'Matthias Clasen2021-08-203-143/+320
|\ | | | | | | | | pango-view: Change annotation handling See merge request GNOME/pango!417
| * layout: Fix some wrapped line start positionsblock-cursor-fixesMatthias Clasen2021-08-201-1/+2
| | | | | | | | | | Make pango_layout_index_to_pos report non-empty pos for the first position in a wrapped line.
| * layout: Fix some end-of-line positionMatthias Clasen2021-08-201-7/+8
| | | | | | | | | | Make pango_layout_index_to_pos report non-empty rectangles at the end of a line.
| * Fix pango_layout_index_to_pos resultsMatthias Clasen2021-08-201-6/+9
| | | | | | | | | | We were returning wildly incorrect results for anything but the first run in a line.
| * Add a layout extents checkMatthias Clasen2021-08-201-0/+72
| | | | | | | | | | Add a check that tests that layout, line, run, cluster and char extents are nested as expected.
| * pango-view: Change annotation handlingMatthias Clasen2021-08-191-129/+229
|/ | | | | Make this separate flags, so things can be turned on and off separately.
* Merge branch 'log-attr-language' into 'main'Matthias Clasen2021-08-191-0/+1
|\ | | | | | | | | Use the language we are given See merge request GNOME/pango!415
| * Use the language we are givenlog-attr-languageMatthias Clasen2021-08-191-0/+1
|/ | | | | | pango_get_log_attrs was not using its language argument at all. Pass it into pango_default_break as part of the PangoAnalysis struct.
* Merge branch 'document-tabs' into 'main'Matthias Clasen2021-08-191-1/+12
|\ | | | | | | | | | | | | Document incompatibility of tabs and justification Closes #595 See merge request GNOME/pango!414
| * Document incompatibility of tabs and justificationdocument-tabsMatthias Clasen2021-08-191-1/+12
|/ | | | | | Not great, but these *are* conflicting features. Fixes: #595
* Merge branch 'glyph-string-const-char' into 'main'Matthias Clasen2021-08-172-24/+24
|\ | | | | | | | | Add a few missing const See merge request GNOME/pango!412
| * Add a few missing constglyph-string-const-charMatthias Clasen2021-08-172-24/+24
| | | | | | | | | | We should only pass char * when we actually modify the string. Everything else is const char *.
* | Merge branch 'fix-gravity-error' into 'main'Matthias Clasen2021-08-172-2/+2
|\ \ | |/ | | | | | | | | | | Correct an error message Closes #598 See merge request GNOME/pango!410
| * Correct an error messagefix-gravity-errorMatthias Clasen2021-08-172-2/+2
| | | | | | | | | | | | Update affected tests Fixes: #598
* | Merge branch 'fribidi-api' into 'main'Matthias Clasen2021-08-171-22/+0
|\ \ | |/ |/| | | | | bidi: Cleanup FriBiDi API usage See merge request GNOME/pango!411
| * bidi: Cleanup FriBiDi API usageKhaled Hosny2021-08-171-22/+0
|/ | | | Since FriBiDi 1.x is now required, we can remove use of pre-1.x API.
* Merge branch 'add-multani-gravity' into 'main'Matthias Clasen2021-08-171-0/+1
|\ | | | | | | | | | | | | gravity: Add missing Multani script Closes #597 See merge request GNOME/pango!408
| * gravity: Add missing Multani scriptadd-multani-gravityMatthias Clasen2021-08-171-0/+1
|/ | | | | | | An unfortunate oversight in 709af063 omitted Multani, and threw the rest of the table off. Fixes: #597
* Merge branch 'fribidi-version' into 'main'Matthias Clasen2021-08-171-1/+1
|\ | | | | | | | | build: Raise required fribidi version See merge request GNOME/pango!407
| * build: Raise required fribidi versionMatt Turner2021-08-121-1/+1
|/ | | | | | Pango uses the FRIBIDI_TYPE_RLI macro. It was not usable until fribidi commit 46f52d588ab5 ("Fixed bug PFRIBIDI_TYPE_PDF_LRI is undefined. Issue #69") which was first included in v1.0.6.
* Merge branch 'fix-issue-592' into 'main'Matthias Clasen2021-08-111-1/+1
|\ | | | | | | | | | | | | Add check for a NULL font in PangoAnalysis structure Closes #592 See merge request GNOME/pango!405
| * Add check for a NULL font in PangoAnalysis structureLuca Bacci2021-08-111-1/+1
|/ | | | Fixes: https://gitlab.gnome.org/GNOME/pango/-/issues/592
* Merge branch 'more-tests' into 'main'Matthias Clasen2021-08-102-20/+55
|\ | | | | | | | | | | | | Remove some check from test-layout Closes #576 See merge request GNOME/pango!404
| * Add a test for pango_layout_index_to_xmore-testsMatthias Clasen2021-08-101-2/+51
| | | | | | | | | | Test that we can round-trip with pango_layout_x_index (most of the time).
| * Remove some check from test-layoutMatthias Clasen2021-08-101-18/+4
| | | | | | | | | | | | | | Some of these aren't reliable, and were only added for test coverage. Fixes: #576
* | Merge branch 'justify-last-line' into 'main'Matthias Clasen2021-08-104-5/+68
|\ \ | | | | | | | | | | | | | | | | | | Add pango_justify_last_line Closes #74 See merge request GNOME/pango!403
| * | Add an option to pango-viewjustify-last-lineMatthias Clasen2021-08-101-2/+6
| | | | | | | | | | | | | | | Give pango-view a --justify-last-line option to test the new PangoLayout option for this.
| * | Add pango_justify_last_lineMatthias Clasen2021-08-103-3/+62
| | | | | | | | | | | | | | | | | | | | | Add a way to justify the last line in a justified paragraph. Fixes: #74
* | | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-08-101-0/+1
|\ \ \ | |/ / | | / | |/ |/| Add some forgotten documentation See merge request GNOME/pango!402
| * Add some forgotten documentationMatthias Clasen2021-08-101-0/+1
|/
* Merge branch 'cursor-move-fixes' into 'main'Matthias Clasen2021-08-092-20/+86
|\ | | | | | | | | Fix corner cases around line ends See merge request GNOME/pango!401
| * Add more tests for move-visuallycursor-move-fixesMatthias Clasen2021-08-091-4/+48
| | | | | | | | | | These cover more of the corner cases fixed in the previous commits.
| * Fix more corner cases around line endsMatthias Clasen2021-08-091-4/+18
| | | | | | | | | | | | We were miscounting the cursor positions in a line, causing us to jump down to the next line when moving backwards towards the start of the line.
| * Fix corner cases around line endsMatthias Clasen2021-08-092-12/+20
| | | | | | | | | | | | | | | | | | | | pango_layout_index_to_line_and_extents needs to return a run rect even if the line has no non-empty runs. Failing to do so was causing cursors at the end of lines to have a height of 0 or 1, which is not what we want. Add a testcase.
* | Merge branch 'ferdnyc-main-patch-08758' into 'main'Matthias Clasen2021-08-091-17/+35
|\ \ | |/ |/| | | | | CODING_STYLE: Fence code samples, fix tab breakage See merge request GNOME/pango!400