Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: Cover new tab alignments | Matthias Clasen | 2021-12-10 | 1 | -7/+15 |
| | |||||
* | Merge branch 'bilelmoussaoui/gi' into 'main' | Matthias Clasen | 2021-12-10 | 1 | -0/+6 |
|\ | | | | | | | | | g-i: add missing since annotations See merge request GNOME/pango!544 | ||||
| * | g-i: add missing since annotations | Bilal Elmoussaoui | 2021-12-10 | 1 | -0/+6 |
|/ | |||||
* | Merge branch 'bump-ci-image' into 'main' | Matthias Clasen | 2021-12-10 | 3 | -4/+10 |
|\ | | | | | | | | | ci: Rebase the image to Fedora 34 See merge request GNOME/pango!542 | ||||
| * | ci: Rebase the image to Fedora 34bump-ci-image | Matthias Clasen | 2021-12-10 | 2 | -4/+3 |
| | | | | | | | | This gives us a newer meson, among other things. | ||||
| * | NEWS: Updates | Matthias Clasen | 2021-12-09 | 1 | -0/+7 |
|/ | |||||
* | Merge branch 'newer-json-parser' into 'main' | Matthias Clasen | 2021-12-09 | 3 | -123/+439 |
|\ | | | | | | | | | json: Fix up select_string See merge request GNOME/pango!541 | ||||
| * | serializer: Use gtk_json_parser_select_stringnewer-json-parser | Matthias Clasen | 2021-12-09 | 1 | -101/+315 |
| | | | | | | | | Take advantage of the new parser api. | ||||
| * | json: Fix up select_string | Matthias Clasen | 2021-12-09 | 1 | -1/+1 |
| | | | | | | | | There was a copy-paste error here. | ||||
| * | Update to a newer json parser | Matthias Clasen | 2021-12-09 | 2 | -22/+124 |
|/ | |||||
* | Merge branch 'broken-underlines' into 'main' | Matthias Clasen | 2021-12-09 | 1 | -9/+16 |
|\ | | | | | | | | | | | | | fc: Handle fonts with broken metrics better Closes #616 See merge request GNOME/pango!537 | ||||
| * | fc: Handle fonts with broken metrics better | Matthias Clasen | 2021-12-08 | 1 | -9/+16 |
| | | | | | | | | | | | | | | | | | | It seems that some fonts don't have meaningful values for underline and strikethrough metrics. Ignore these font-provided values if they are zero. Fixes: #616 | ||||
* | | Merge branch 'tab-assert-fix' into 'main' | Matthias Clasen | 2021-12-09 | 3 | -1/+187 |
|\ \ | | | | | | | | | | | | | | | | | | | layout: Handle a corner case Closes #638 See merge request GNOME/pango!539 | ||||
| * | | layout: Handle a corner case | Matthias Clasen | 2021-12-09 | 3 | -1/+187 |
|/ / | | | | | | | | | | | | | | | | | We can't break in a tab run. This fixes an assertion found by afl. Testcase included. Fixes: #638 | ||||
* | | Merge branch 'fix-break-latin' into 'main' | Matthias Clasen | 2021-12-08 | 1 | -21/+19 |
|\ \ | |/ |/| | | | | | | | | | Fix break-latin.c Closes #636 See merge request GNOME/pango!536 | ||||
| * | Fix break-latin.c | Matthias Clasen | 2021-12-08 | 1 | -21/+19 |
|/ | | | | | | | | The loop termination condition in break_latin() was incorrect. Fix this by copying the loop setup from break_arabic(). Fixes #636 | ||||
* | Merge branch 'fix-tabs-nowrap' into 'main' | Matthias Clasen | 2021-12-07 | 7 | -17/+412 |
|\ | | | | | | | | | | | | | Fix line width computation Closes #635 See merge request GNOME/pango!535 | ||||
| * | Fix line width computation | Matthias Clasen | 2021-12-06 | 3 | -1/+390 |
| | | | | | | | | | | | | | | | | | | | | We an only use the line_width - remaining_width shortcut if we are actually maintaining remaining_width, i.e. not if we don't wrap lines. Testcase included. Fixes: #635 | ||||
| * | Add a monospace font for ci | Matthias Clasen | 2021-12-06 | 4 | -16/+22 |
| | | | | | | | | Update affected test outputs. | ||||
* | | Merge branch 'matthiasc/for-main' into 'main' | Matthias Clasen | 2021-12-06 | 3 | -239/+765 |
|\ \ | |/ |/| | | | | | Update the json parser See merge request GNOME/pango!534 | ||||
| * | Plug a memory leak in the json parser | Matthias Clasen | 2021-12-06 | 1 | -0/+2 |
| | | |||||
| * | Update the json parser | Matthias Clasen | 2021-12-05 | 3 | -239/+763 |
|/ | | | | | This includes better error reporting, with error locations. | ||||
* | Merge branch 'tab-crash-fix' into 'main' | Matthias Clasen | 2021-12-05 | 3 | -3/+1449 |
|\ | | | | | | | | | | | | | Fix a crash in tab handling Closes #634 See merge request GNOME/pango!533 | ||||
| * | Fix a crash in tab handlingtab-crash-fix | Matthias Clasen | 2021-12-05 | 3 | -3/+1449 |
|/ | | | | | | | | | | When we uninsert the current tab run, we need to reset our tab state to prevent last_tab->glyphs to become a dangling pointer. Test included. Fixes: #634 | ||||
* | Merge branch 'fix-mingw-clang' into 'main' | Matthias Clasen | 2021-12-03 | 1 | -0/+1 |
|\ | | | | | | | | | tabs: Fix build with clang in mingw See merge request GNOME/pango!532 | ||||
| * | tabs: Fix build with clang in mingw | Biswapriyo Nath | 2021-12-03 | 1 | -0/+1 |
|/ | | | | Include stdlib.h for qsort function declaration. This fixes the error: implicit declaration of function 'qsort' is invalid in C99 | ||||
* | 1.50.01.50.0 | Matthias Clasen | 2021-12-02 | 2 | -3/+6 |
| | |||||
* | doc: fixes | Matthias Clasen | 2021-12-02 | 4 | -5/+5 |
| | |||||
* | Merge branch 'serializer-rewrite' into 'main' | Matthias Clasen | 2021-12-03 | 41 | -2153/+3781 |
|\ | | | | | | | | | Port the serializer to use our own json parser and printer See merge request GNOME/pango!531 | ||||
| * | jsonparser: Plug a memory leakserializer-rewrite | Matthias Clasen | 2021-12-02 | 1 | -0/+2 |
| | | |||||
| * | Add pango_font_deserialize | Matthias Clasen | 2021-12-02 | 3 | -1/+103 |
| | | | | | | | | | | This will make the font serialization useful in GTK, where we serialize fonts in node files. | ||||
| * | Small fixes | Matthias Clasen | 2021-12-02 | 2 | -8/+4 |
| | | | | | | | | | | Properly document deserialization errors, and drop unused enum values. | ||||
| * | Update tests for small changes in output | Matthias Clasen | 2021-12-02 | 29 | -1225/+1204 |
| | | |||||
| * | testserialize: Fix the tests | Matthias Clasen | 2021-12-02 | 1 | -13/+23 |
| | | |||||
| * | assorted serializer fixes | Matthias Clasen | 2021-12-02 | 1 | -29/+23 |
| | | |||||
| * | serializer: Move all error handling to the parser | Matthias Clasen | 2021-12-02 | 1 | -222/+108 |
| | | | | | | | | Just let the parser carry the error. | ||||
| * | Add gtk_json_parser_set_error | Matthias Clasen | 2021-12-02 | 2 | -0/+12 |
| | | |||||
| * | serializer: Replace json-glib | Matthias Clasen | 2021-12-02 | 7 | -860/+2484 |
| | | | | | | | | Replace json-glib by a homegrown json parser/printer. | ||||
| * | tabs: Add a missing setter | Matthias Clasen | 2021-12-02 | 2 | -0/+23 |
|/ | | | | | Add pango_tab_array_set_positions_in_pixels, to help the serializer out. | ||||
* | Merge branch 'tab-speedup' into 'main' | Matthias Clasen | 2021-12-02 | 5 | -116/+109 |
|\ | | | | | | | | | Add pango_tab_array_sort See merge request GNOME/pango!530 | ||||
| * | Fix up tab sizingtab-speedup | Matthias Clasen | 2021-12-02 | 1 | -23/+18 |
| | | |||||
| * | layout: Small optimization | Matthias Clasen | 2021-12-02 | 3 | -39/+17 |
| | | | | | | | | | | Don't calculate line width the hard way when we can do it much easier. | ||||
| * | layout: Optimize tab handling | Matthias Clasen | 2021-12-01 | 1 | -1/+1 |
| | | | | | | | | | | | | We don't need to iterate the entire tab array every time, we just continue from the previous tab stop position. | ||||
| * | layout: Call pango_tab_array_sort | Matthias Clasen | 2021-12-01 | 1 | -3/+6 |
| | | | | | | | | | | We want to optimize access to tab stops, and will assume they are ordered. | ||||
| * | layout: Some restructuring of tab handling | Matthias Clasen | 2021-12-01 | 1 | -54/+43 |
| | | | | | | | | Introduce a LastTab struct, and use it. | ||||
| * | Add pango_tab_array_sort | Matthias Clasen | 2021-12-01 | 2 | -0/+28 |
| | | | | | | | | | | A utility function to ensure tab stops are in increasing order. | ||||
* | | Merge branch 'matthiasc/for-main' into 'main' | Matthias Clasen | 2021-11-30 | 1 | -0/+8 |
|\ \ | |/ |/| | | | | | NEWS: Updates See merge request GNOME/pango!529 | ||||
| * | NEWS: Updates | Matthias Clasen | 2021-11-30 | 1 | -0/+8 |
| | | |||||
* | | Merge branch 'tab-align' into 'main' | Matthias Clasen | 2021-11-29 | 11 | -107/+2329 |
|\ \ | | | | | | | | | | | | | | | | | | | Support tab alignment Closes #34 See merge request GNOME/pango!527 | ||||
| * | | Add a test with tab alignmentstab-align | Matthias Clasen | 2021-11-29 | 2 | -0/+1837 |
| | | |