| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Make it clearer that we're not going to modify the attribute
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Replace fallthrough comments with G_GNUC_FALLTHROUGH
See merge request GNOME/pango!177
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
We determined the category early on, don't
do the same work again later by calling
isdigit or isletter wrappers.
|
|
|
|
| |
Otherwise the introspection scanner will be majorly confused.
|
|
|
|
| |
This triggers compiler warnings.
|
|
|
|
|
| |
We were forgetting to copy allow-break attributes,
causing them to be prematurely freed. Oops.
|
| |
|
|
|
|
|
|
|
|
|
| |
We implement this in pango_tailor_break(),
after the script-specific breaking.
When line breaks are forbidden in a range,
we remove line and char break opportunities
inside the range.
|
|
|
|
|
|
| |
Without this, it is not possible to interpret
attributes, whose offsets are relative to the
beginning of the paragraph.
|
| |
|
| |
|
|
|
|
|
| |
To break correctly, use pango_default_break and
pango_tailor_break.
|
|
|
|
|
|
| |
This function lets you apply language-specific
tailoring on top of breaks produced by
pango_default_break.
|
|\
| |
| |
| |
| | |
Remove lang engine use
See merge request GNOME/pango!73
|
| |
| |
| |
| |
| | |
Drop all internal use of language engines.
The lang_engine field in PangoAnalysis is now unused.
|
| |
| |
| |
| | |
No need to go through the engine api anymore.
|
|/
|
|
| |
This reverts commit 50b1e8532c5211cebd3cea935f9ac91a087d5c35.
|
|
|
|
|
|
| |
Use a bit in PangoLogAttr to mark line breaks
that are due to soft hyphens; we want to insert
hyphens here later, if the break is taken.
|
|
|
|
| |
For Dependent Vowels, the grapheme needs to be deleted by character.
|
| |
|
|
|
|
|
|
|
| |
Make it clear that all text input must be valid UTF-8,
except in the case pango_layout_set_text, which we now
officially document as accepting and handling invalid
input.
|
|
|
|
| |
This ensures everything build with pre-C89 compilers.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
For most cases, the is_char_break variable should be TRUE.
https://bugzilla.gnome.org/show_bug.cgi?id=789625
|
|
|
|
|
|
| |
Support Line Break of Unicode 9.0.
https://bugzilla.gnome.org/show_bug.cgi?id=788115
|
|
|
|
|
|
| |
Skip the space characters in sentence start/end.
https://bugzilla.gnome.org/show_bug.cgi?id=785978
|
|
|
|
|
|
|
| |
Behdad pointed out that I didn't get it right for
flags and for sequences ending in a skin tone modifier.
Fix that.
|
|
|
|
|
|
|
|
| |
We want to delete the entire cluster if it is an Emoji.
To do so, look at prev_GB_type to find Emoji.
This fixes backspacing for sequences like
"man health worker" or "family: man, woman, boy, girl".
|
|
|
|
|
|
|
|
|
|
| |
ZWJ is treated as its own class in TR29, and us lumping
them together and then manually checking wc == 0x200d in
various places was causing us to inadvertedly inserting
grapheme breaks in the middle of Emoji ZWJ sequences
where they are not suppose to be.
Add test cases to verify this.
|
|
|
|
|
| |
Messed up whitespace makes this unwieldy function
even harder to read.
|
|
|
|
|
|
|
| |
Re-write the code for Sentence Boundary,
and use the code style like Grapheme Boundary and Word Boundary.
https://bugzilla.gnome.org/show_bug.cgi?id=782813
|
|
|
|
|
|
|
| |
Improve Word Boundary Rule for Hebrew_Letter, Single_Quote,
Double_Quote and Regional Indicator.
https://bugzilla.gnome.org/show_bug.cgi?id=782813
|
|
|
|
|
|
| |
Support Grapheme Boundaries Rule GB10, GB11, GB12 and GB13.
https://bugzilla.gnome.org/show_bug.cgi?id=782813
|
|
|
|
|
| |
Now that we're using new-style deprecations, we have to fight
a little harder to get rid of them inside pango.
|
|
|
|
|
| |
We already have the Unicode type, so we can determine
isspace without doing the full type determination again.
|
|
|
|
| |
Instead of going through a wrapper.
|
|
|
|
|
|
|
| |
This reverts commit c8b1d5bea67155ae51cb9a145d43df79a52faeb4.
See discussion:
https://bugzilla.gnome.org/show_bug.cgi?id=747772
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=747772
|
| |
|
| |
|
|
|
|
| |
I have no idea how this was never caught before.
|
|
|
|
|
|
|
| |
This should complete the kill-modules effort. What is left is leftover
removal and unbreaking stuff.
Bug 733882 - Kill Pango modules, engines, and config files
|