| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
When versions of Meson with bug
https://github.com/mesonbuild/meson/issues/7515 are no longer widespread,
the Pango test suite should diagnose which tests are skipped again.
Versions 0.55.0 to 0.55.2 inclusive have the bug; version 0.55.3 is OK.
This reverts commit 440f9c2609b7f5f9d8f65619b029a5eb660de88b.
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
|
|
|
|
| |
This fixes the build after commit ddc282f6ca84dc6e6e5586a0addfa82a74e6e761
that changed how the scripts are invoked, but didn't add the executable
bits.
|
|
|
|
|
| |
test-shape was using one of its attribute lists
after dropping the reference on it. Don't do that.
|
|\
| |
| |
| |
| | |
Test shape fix
See merge request GNOME/pango!257
|
| |
| |
| |
| |
| |
| |
| | |
We don't have any test cases for this in our testsuite,
but it is useful to run this manually to see the shaping
results. The output was missing all but the first char
for the last cluster in an item.
|
|/
|
|
|
|
|
| |
As pointed out by Werner Lemberg, we were adding
four.break twice if libthai is used.
Fixes: #508
|
|
|
|
|
|
|
|
|
|
|
|
| |
We are using the deprecated python3 module for historical reasons. We
used to support both Python 2 and Python 3 in the Autotools build, but
since we switched to Meson we *know* we have Python 3 available. This
allows us to use a shebang line in the Python scripts we use in the
build, instead of invoking them through the Python interpreter in a
custom target; Meson knows how to handle shebangs portably as well.
This change removes the only deprecation warning coming from Meson when
configuring the Pango build.
|
|
|
|
|
| |
This tests that we are not breaking items up
in the middle of a keycap sequence.
|
|\
| |
| |
| |
| | |
misc fixes
See merge request GNOME/pango!242
|
| |
| |
| |
| | |
This was broken in f6032b754fd76ebbf0ae6.
|
|\ \
| |/
| |
| |
| | |
Fix attr iterators with overlapping attributes
See merge request GNOME/pango!240
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This broke when PangoAttrIterator was changed to
use an array for the stack of current attributes, in
dec6c0868ef2c36. We were not always walking the array
in the right order. The first attribute to check is
at the *end* of the array.
This showed up as misrendering in epsilon_0 example
in gtk3-demo's text view markup demo.
Test included.
|
| |
| |
| |
| |
| | |
test-break was leaking memory in various places,
in particular when tests are skipped.
|
| |
| |
| |
| | |
These were showing up as errors from lsan.
|
|/
|
|
| |
This broke when I recently reshuffled things.
|
|
|
|
| |
Added meson features for disabling the dependencies libthai, cairo and xft such that they won't be used even if present on the system. Changed meson dependencies for some tests accordingly.
|
|
|
|
|
|
|
|
|
|
|
| |
The assertion in pango_language_get_scripts can
actually be triggered since we last regenerated
the pango_script_for_lang table. It now includes
an entry for und-zsye which has no scripts.
Handle this case without asserting.
This commit includes a test.
|
|
|
|
|
|
| |
Revert 97778b40daedac08f6, since it sadly broke
running our testsuite which does pass arguments like
-k and --tap.
|
|
|
|
|
| |
Use test-break --help to get a legend for the
codes used in the output.
|
|
|
|
|
|
| |
When we are generating expected output, don't
init the tests, so we can avoid the random seed
and # in the output.
|
| |
|
|
|
|
|
|
|
| |
meson 0.55 considers tests using it to be FAIL.
I disagree, but lets quietly skip until 0.55.1
is available.
|
|
|
|
| |
This test is reproducing the crash reported in #490.
|
|
|
|
| |
These were pointed out by asan.
|
|
|
|
|
|
|
|
| |
There were a few cases left where empty attribute
lists could lead to crashes. This was observed causing
crashes in gnumeric.
Testcases included.
|
|
|
|
|
| |
This captures the loss of color in the links demo in
gtk4-demo with pango 1.45.2
|
|
|
|
|
|
|
|
| |
Try to make test-break not fail on my system. First
I made it skip tests that produce missing glyphs,
then I made it call setlocale(). In the end, I needed
to just install the right Thai fonts. But these
fixes are still useful.
|
|
|
|
| |
Check with NULL and empty lists.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
itemize: Work around gtk2 brokenness
Closes #480
See merge request GNOME/pango!198
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
GTK 2 apparently manages to call pango_itemize_with_base_dir
with a non-zero length for a string that contains 0 characters.
That in turn causes pango_log2vis_get_embedding_levels to
return NULL, and things go downhill from there.
A test is included.
Fixes: #480
|
|/
|
|
|
|
| |
Try not to pick a width that makes line-breaking decisions
depend on rounding. Lets see if this works better, it makes
the test pass locally.
|
|
|
|
| |
This reverts commit 4d8e71471984fb0fc147d1a64695ad5f18576fde.
|
| |
|
|
|
|
|
| |
Lets explain what this test is about, since it doesn't
appear to test anything.
|
|
|
|
| |
This verifies the fix in the previous commit.
|
|\
| |
| |
| |
| | |
Wip/baedert/for master2
See merge request GNOME/pango!190
|
| |
| |
| |
| |
| | |
We don't set an attribute list in these cases anymore, so reflect that
in the output.
|
| |
| |
| |
| |
| | |
pango_layout_get_attributes() is explicitly nullable but not every
caller handles that case.
|
| | |
|
| |
| |
| |
| | |
Not needed afterwards.
|
|\ \
| |/
|/|
| |
| | |
For master
See merge request GNOME/pango!184
|
| |
| |
| |
| |
| | |
Create the PangoContext for the test after resetting the locale, and use
the en_US.utf8 name, as it seems to be the name used by Fedora.
|
| |
| |
| |
| |
| | |
When dumping the diff between the computed and expected results, we need
to respect the TAP format and place "#" in front of each line.
|
| |
| |
| |
| | |
Just like test-layout and test-itemize.
|
| |
| |
| |
| | |
Just like test-layout.
|
| |
| |
| |
| |
| | |
There's no point in running a tests if we know the locale isn't there.
The reason gets logged, so the developer can decide to install it.
|
|\ \
| |/
|/|
| |
| | |
tests/test-break.c: Only test Thai breaks with libthai available
See merge request GNOME/pango!161
|
| |
| |
| |
| |
| |
| | |
The four.break test data file involves the Thai language, meaning that
this test will fail unless we have libthai. Skip this test unless
libthai is found.
|