| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
introspection: Stop using allow-none
See merge request GNOME/pango!333
|
| |
| |
| |
| |
| | |
Remove leftovers like #Type, reduce indentations
to avoid markdown block quotes, etc.
|
|/
|
|
|
| |
The allow-none annotation has been deprecated for a long
time already. Instead use optional and nullable everywhere.
|
| |
|
|\
| |
| |
| |
| | |
fc: Don't use GTask for threading
See merge request GNOME/pango!329
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
test-break: Make help output work again
See merge request GNOME/pango!332
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 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.
|
|\ \
| | |
| | |
| | |
| | | |
break: Fix an inconsistency with sentence breaks
See merge request GNOME/pango!330
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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".
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
Add pango-segmentation
See merge request GNOME/pango!331
|
| |/
| |
| |
| | |
A little utility to show text segmentation.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Add some NULL checks
Closes #268
See merge request GNOME/pango!328
|
| |/
| |
| |
| |
| |
| |
| | |
Originally suggested by Philipp Withnall in
https://bugzilla.gnome.org/show_bug.cgi?id=778655
Fixes: #268
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Ensure ellipsized lines have the right width
Closes #24
See merge request GNOME/pango!326
|
| |/
| |
| |
| |
| |
| |
| | |
Otherwise, ellipsized text will 'vibrate', as the
size changes.
Fixes: #24
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Make pango_layout_line_get_height work
Closes #487
See merge request GNOME/pango!327
|
| |/
| |
| |
| |
| |
| |
| | |
We were just never setting the height. Ouch!
Test included.
Fixes: #487
|
|\ \
| | |
| | |
| | |
| | | |
Cosmetics
See merge request GNOME/pango!325
|
| |/ |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
layout: handle empty lines better
Closes #499
See merge request GNOME/pango!324
|
|/
|
|
|
|
|
| |
When using line-spacing, we were not giving
empty lines their expected width. Fix that.
Fixes: #499
|
|\
| |
| |
| |
| | |
layout: Fix a small optimization
See merge request GNOME/pango!320
|
| | |
|
|/
|
|
|
|
|
| |
pango_layout_set_width was trying to avoid invalidating
lines in some cases, but it failed. Which is good, since
this is incorrect, since it did not take possible
ellipsization into account.
|
|\
| |
| |
| |
| |
| |
| | |
Don't insert hyphens at word breaks
Closes #558
See merge request GNOME/pango!323
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We only want to insert hyphens when we are breaking
inside a word.
Update affected tests (hyphen-or-not shows up in the
analysis flags in the output of test-layout).
Fixes: #558
|
| |
| |
| |
| |
| |
| | |
When using test-layout FILE to generate
expected output, we don't want to prepend
an extraneous '#' to every line.
|
|/
|
|
|
| |
The section in meson wrap files is called [provide],
not [provides].
|
|\
| |
| |
| |
| | |
Fix typo in PangoLayout: add missing backtick
See merge request GNOME/pango!319
|
|/ |
|
|\
| |
| |
| |
| | |
pangowin32: Don't leak various member variables of PangoWin32Font object
See merge request GNOME/pango!317
|
|/
|
|
| |
Fix for memory leaks around PangoWin32Font
|
|\
| |
| |
| |
| | |
docs: Add some details
See merge request GNOME/pango!316
|
| |
| |
| |
| |
| | |
Clarify that the exact style of rendering is up
to the PangoRenderer in use.
|
|/
|
|
| |
Mainly for my own education.
|
|\
| |
| |
| |
| | |
docs: Add missing attributes in markup docs
See merge request GNOME/pango!314
|
| |
| |
| |
| |
| |
| | |
Some of the more recent additions did never make
it into the docs, such as overline, insert_hyphens
and allow_breaks.
|
|\ \
| |/
|/|
| |
| | |
Quiet a compiler warning
See merge request GNOME/pango!315
|
|/
|
|
|
|
| |
GLib now causes compiler warnings when passing a
volatile variable to g_atomic_ apis. Drop the volatile
to pacify gcc.
|
|\
| |
| |
| |
| | |
Fix deadlocks2
See merge request GNOME/pango!312
|
|/
|
|
|
|
|
| |
We were erroneously setting fc_initialized back to 1
in one place. But now 1 means 'wait for the FcInit thread
that is already underway. Setting it to 2 restores the
intention.
|
|\
| |
| |
| |
| | |
Revert "Merge branch 'fix-deadlocks' into 'master'"
See merge request GNOME/pango!311
|
|/
|
| |
This reverts merge request !309
|
|\
| |
| |
| |
| | |
Fix deadlocks
See merge request GNOME/pango!310
|
| |
| |
| |
| |
| |
| |
| | |
We were erroneously setting fc_initialized back to 1
in one place. But now 1 means 'wait for the FcInit thread
that is already underway. Setting it to 2 restores the
intention.
|
| |
| |
| |
| |
| |
| |
| | |
Extend the PangoUnderline and PangoOverline enumerations to
cover dashed and dotted variants of the various lines, add
api to PangoRenderer to render such lines, and implement it
in the cairo renderer.
|
| |
| |
| |
| | |
We are going to add new api.
|