| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
pango_find_paragraph_boundary has nothing to do
with breaks, so move it to pango-utils.h
|
|
|
|
|
|
|
|
| |
The documentation for this function states that all
bidi control chars are zero width, but it was missing
the Isolate ones. Add them.
Updated tests included.
|
|
|
|
|
| |
The expectation of version comparisons is that major
versions have to match exactly.
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add summaries. Most of this really should be private.
|
|
|
|
|
| |
We want to use pure markdown, since docbook
is going away as the intermediate format.
|
|
|
|
|
| |
We are about to add an attribute whose values
are flags.
|
|
|
|
|
|
|
| |
Abolish the PANGO_ENABLE_BACKEND and PANGO_ENABLE_ENGINE
defines. All backend-only apis are moved into private
headers, all apis that were engine-only are marked as
deprecated, since engines are.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
PangoDirection is still used in some public apis,
so just keep it around.
Closes: #339
|
|
|
|
|
|
|
|
|
|
|
|
| |
The handling for \r or \r\n line endings in pango_read_line() was
broken. It should have discarded the \r or \r\n, but was only doing this
for \n or \n\r. The condition (c == EOF) could never have been reached.
Coverity ID: 1391696
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=778816
|
|
|
|
|
| |
Now that we're using new-style deprecations, we have to fight
a little harder to get rid of them inside pango.
|
|
|
|
|
|
| |
The common practice is to name the first stable version in which
a function is deprecated. Following that here and mark things
as deprecated in 1.38.
|
|
|
|
|
|
|
|
| |
These all are general utility functions that do not belong to Pango’s
public interface. Most of them are unused internally now, the few ones
that are still used should be made private at some point.
https://bugzilla.gnome.org/show_bug.cgi?id=682840
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
After the removal of modules and configuration files, both
pango_get_lib_subdirectory and pango_get_sysconf_subdirectory are
meaningless now. This patch deprecates them and removes the Windows
specific behaviour as it prevents statically compiling Pango under
Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=682840
|
|
|
|
| |
Followup to 81904127fe1107b6c0db4ce50c3d44cdf63b7f67.
|
|
|
|
|
| |
The config file was used solely for dynamic module paths, but they have
been killed.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=731022
|
|
|
|
|
|
|
|
|
|
| |
parse_int() is called by pango_parse_enum(), which permits the enum
string to be NULL. This string is passed directly through to parse_int()
and then to strtol(), which is tagged as nonnull.
Found by scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=719549
|
|
|
|
| |
Patch from Rafał Mużyło.
|
|
|
|
| |
Patch from Akira TAGOH.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Variant of pango_shape() that takes the full paragraph text as input.
This is then passed in entirety to HarfBuzz, which would allow certain
cross-run interactions (in Arabic for example).
When combined with upcoming HarfBuzz 0.9.5+, this fixes:
Red Hat Bug 858736 - [Spanish] Stray dotted circle rendered
https://bugzilla.redhat.com/show_bug.cgi?id=858736
and partially:
Bug 313181 - color changes break arabic shaping
https://bugzilla.gnome.org/show_bug.cgi?id=313181
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code was loading and parsing the system config file
every single time, and has not correctly handling mixed
requests for user and system config entries.
This commit reworks the code so that the configuration is
loaded only once, in threadsafe fashion.
pango_config_key_get_system is no longer using the same
hash table, but reloads its data every time - this is
not a really problem, since this function is only used
in pango-querymodules.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Start marking static-data that is thread safe with the "MT-safe" marker.
The following grep can be used to track progress:
grep 'static[^(]*;' *c | grep -v MT-safe
|
| |
|
|
|
|
| |
Part of Bug 377539 - (pango-threadsafe) Make Pango thread-safe
|
|
|
|
|
|
|
| |
Look for the rcfile in $XDG_CONFIG_HOME/pango/pangorc
instead of ~/.pangorc.
https://bugzilla.gnome.org/show_bug.cgi?id=675400
|
|
|
|
|
|
|
|
|
|
| |
When run as a system trigger, we really don't want to be consulting
e.g. /root/.pangorc. Also, the OSTree build system can run as
non-root, but we don't in this case want to look at /home/user since
the user may not even exist in the password database inside the
chroot.
https://bugzilla.gnome.org/show_bug.cgi?id=667960
|
|
|
|
|
|
|
| |
G_CONST_RETURN is headed for deprecation (as per bug #644611). Stop
using it in Pango.
https://bugzilla.gnome.org/show_bug.cgi?id=652202
|
| |
|
| |
|
|
|
|
| |
pango_split_file_list
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|