summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Refactor test-pangocairo-threads.cBehdad Esfahbod2013-01-041-18/+26
|
* Improve test-pangocairo-threadsBehdad Esfahbod2013-01-041-9/+19
|
* Update test-pangocairo-threads to new threads APIBehdad Esfahbod2013-01-031-19/+13
|
* Add test-pangocairo-threads.cBehdad Esfahbod2013-01-032-1/+76
| | | | | Currently is not run automatically. But run it with args "10 100" and see it crash...
* Add GraphemeBreakTest.txt to the treeBehdad Esfahbod2012-12-022-1/+363
| | | | | | All tests in that file pass, lets keep it that way. This is as of Unicode 6.1.0. 6.2 needs more work.
* MinorBehdad Esfahbod2012-12-021-0/+1
|
* Fix warningBehdad Esfahbod2012-12-021-1/+1
|
* Fix test-ot-tags expectations after harfbuzz transitionBehdad Esfahbod2012-12-021-7/+5
|
* Remove runtests.shBehdad Esfahbod2012-12-022-60/+3
|
* Build test programs in "make all"Behdad Esfahbod2012-12-021-2/+2
|
* Fix build for testsBehdad Esfahbod2012-12-021-9/+9
|
* More pangox resigual removalBehdad Esfahbod2012-08-181-4/+0
|
* Bug 627902 - explicitely link dump-boundaries to GLibBehdad Esfahbod2010-08-251-8/+11
|
* Use git.mkBehdad Esfahbod2009-04-171-0/+2
|
* Fix warningsBehdad Esfahbod2009-02-061-1/+2
|
* Fix warningBehdad Esfahbod2009-01-281-6/+3
| | | | svn path=/trunk/; revision=2812
* Remove Unicode test files from distBehdad Esfahbod2008-05-131-4/+1
| | | | svn path=/trunk/; revision=2625
* Minor.Behdad Esfahbod2008-04-251-1/+1
| | | | svn path=/trunk/; revision=2619
* Part of Bug 97545 – Make pango_default_break follow Unicode TR #29Behdad Esfahbod2008-04-251-2/+1
| | | | | | | | | | | | | | | | 2008-04-24 Behdad Esfahbod <behdad@gnome.org> Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 * docs/tmpl/main.sgml: * pango/break.c (pango_default_break): * pango/pango-break.h: * tests/testboundaries_ucd.c (main): Add new PangoLogAttr member is_word_boundary, that implements UAX#29's Word Boundaries semantics. Test fully passes for it. svn path=/trunk/; revision=2618
* Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 PatchBehdad Esfahbod2008-04-243-3/+371
| | | | | | | | | | | | | | | | | | | | | | | 2008-04-24 Behdad Esfahbod <behdad@gnome.org> Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 Patch from Noah Levitt * tests/Makefile.am: * tests/runtests.sh.in: * tests/testboundaries_ucd.c (count_attrs), (parse_line), (attrs_equal), (make_test_string), (do_test), (main): Add test driver for UAX#14 and UAX#29 test data from Unicode Character Databse. Just drop the following four files in pango/tests for it to use them: GraphemeBreakTest.txt LineBreakTest.txt SentenceBreakTest.txt WordBreakTest.txt svn path=/trunk/; revision=2617
* Bug 512566 – dont' use deprecated macro Patch from Christian PerschBehdad Esfahbod2008-01-282-2/+2
| | | | | | | | | | | | | | 2008-01-28 Behdad Esfahbod <behdad@gnome.org> Bug 512566 – dont' use deprecated macro Patch from Christian Persch * tests/test-ot-tags.c: * tests/testscript.c: Replace G_GNUC_PRETTY_FUNCTION by G_STRFUNC svn path=/trunk/; revision=2557
* Remove use of pango-script-table.hBehdad Esfahbod2007-08-211-30/+0
| | | | svn path=/trunk/; revision=2407
* Bug 451547 – FAIL: runtests.shBehdad Esfahbod2007-06-271-0/+4
| | | | | | | | | | | | | 2007-06-27 Behdad Esfahbod <behdad@gnome.org> Bug 451547 – FAIL: runtests.sh * tests/Makefile.am: Don't run tests if cross-compiling. (though cross-compiling tests work under scratchbox, so I'm not quite sure how good this change is.) svn path=/trunk/; revision=2368
* Include pangocairo.h too.Behdad Esfahbod2007-06-191-0/+4
| | | | | | | | | | 2007-06-18 Behdad Esfahbod <behdad@gnome.org> * configure.in: * tests/cxx-test.C: Include pangocairo.h too. svn path=/trunk/; revision=2358
* Update to api changesBehdad Esfahbod2007-05-141-4/+4
| | | | svn path=/trunk/; revision=2296
* New public API:Behdad Esfahbod2007-05-102-17/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-10 Behdad Esfahbod <behdad@gnome.org> * pango/Makefile.am: * pango/pango-ot.h: * pango/pango-ot-tag.c (pango_ot_tag_from_script), (pango_ot_tag_to_script), (lang_compare_first_component), (pango_ot_tag_from_language), (pango_ot_tag_to_language): New public API: PANGO_OT_DEFAULT_SCRIPT pango_ot_tag_from_script() pango_ot_tag_to_script() pango_ot_tag_from_language() pango_ot_tag_to_language() * tests/Makefile.am: * tests/test-ot-tags.c: Test case for new functions. * pango/pangoft2.def: * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/main.sgml: * docs/tmpl/opentype.sgml: Updated. svn path=/trunk/; revision=2274
* Bug 398238 – pangorc file missing from tests directoryBehdad Esfahbod2007-01-211-1/+1
| | | | | | | | | | | | | 2007-01-21 Behdad Esfahbod <behdad@gnome.org> Bug 398238 – pangorc file missing from tests directory * pango-view/Makefile.am: * tests/Makefile.am: Don't use $<. Doesn't work with Sun's make. svn path=/trunk/; revision=2176
* *.c, *.h: Replace preceding sequences of 8 spaces with tabs.Behdad Esfahbod2007-01-163-96/+96
| | | | | | | | | 2007-01-16 Behdad Esfahbod <behdad@gnome.org> *.c, *.h: Replace preceding sequences of 8 spaces with tabs. svn path=/trunk/; revision=2165
* *.c, *.h: Drop trailing whitespace.Behdad Esfahbod2007-01-165-73/+73
| | | | | | | | | 2007-01-16 Behdad Esfahbod <behdad@gnome.org> *.c, *.h: Drop trailing whitespace. svn path=/trunk/; revision=2163
* Remove .cvsignore files (moved to svn:ignore prop)Behdad Esfahbod2007-01-091-15/+0
| | | | svn path=/trunk/; revision=2137
* Minor simplification.Behdad Esfahbod2006-09-181-3/+6
| | | | | | | | | | | 2006-09-18 Behdad Esfahbod <behdad@gnome.org> * tools/gen-script-table.pl: * pango/pango-script-table.h: * pango/pango-script.c (pango_script_for_unichar): Minor simplification. * tests/testscript.c (test_script_lookup): Update to pass.
* Bug 343966 – pango Cygwin build fixes Patch from Cygwin PortsBehdad Esfahbod2006-06-061-1/+1
| | | | | | | | | | 2006-06-06 Behdad Esfahbod <behdad@gnome.org> Bug 343966 – pango Cygwin build fixes Patch from Cygwin Ports maintainer. * configure.in: Add missing space. * tests/Makefile.am: Add $(EXEEXT) where appropriate.
* Bug 337924 – cleanups for issues reported by various compilers PatchBehdad Esfahbod2006-04-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-04-11 Behdad Esfahbod <behdad@gnome.org> Bug 337924 – cleanups for issues reported by various compilers Patch from Kjartan Maraas. * examples/viewer-x.c (update): * modules/arabic/arabic-fc.c (fallback_shape), (arabic_engine_shape): * modules/basic/basic-fc.c (fallback_shape), (basic_engine_shape): * modules/basic/basic-x.c: * modules/hangul/hangul-fc.c: * modules/hebrew/hebrew-fc.c (hebrew_engine_shape): * modules/indic/indic-fc.c: * modules/khmer/khmer-fc.c: * modules/syriac/syriac-fc.c: * modules/thai/thai-fc.c: * modules/tibetan/tibetan-fc.c: * pango/break.c: * pango/modules.c: * pango/opentype/ftglue.c (_hb_ftglue_face_goto_table): * pango/pango-attributes.c (pango_attr_list_filter): * pango/pango-engine.c: * pango/pango-fontset.c: * pango/pango-layout.c (pango_layout_set_text), (pango_layout_xy_to_index), (pango_layout_get_cursor_pos): * pango/pango-markup.c (text_handler): * pango/pango-utils.c (read_alias_file): * pango/pangocairo-fcfont.c (G_DEFINE_TYPE_WITH_CODE): * pango/pangocairo-fcfontmap.c (G_DEFINE_TYPE_WITH_CODE): * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info): * pango/pangox-fontmap.c (pango_x_make_matching_xlfd): * tests/dump-boundaries.c (fail): Remove unused variables. Remove excess semicolon after DEFINE_TYPE macros.
* Change Unicode copyright sign to ASCII. Reported by Werner LEMBERG.Behdad Esfahbod2006-02-081-1/+1
|
* If major.minor of required and available glib versions are the same, addBehdad Esfahbod2006-01-251-1/+0
| | | | | | | | | 2006-01-25 Behdad Esfahbod <behdad@gnome.org> * configure.in: If major.minor of required and available glib versions are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617) * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.
* Make tests/examples do use generated pango.modules. (bug #328291)Behdad Esfahbod2006-01-238-31/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-23 Behdad Esfahbod <behdad@gnome.org> Make tests/examples do use generated pango.modules. (bug #328291) * examples/pangorc, tests/pangorc: Removed. Moved to modules/. * examples/pangox.aliases: Removed. Moved to pango/. * examples/Makefile.am, tests/Makefile.am: Remove pango.modules creation stuff, copy pangorc from $(srcdir)/../modules/pangorc insteadd. * examples/renderdemo.c: Add --pangorc option, default to ./pangorc. Setenv PANGO_RC_FILE to whatever pangorc file decided. * tests/*.c: Setenv PANGO_RC_FILE to ./pangorc. * pango/pangox.aliases: Added. * pango/Makefile.am: Install pangox.aliases. * modules/pangorc: Added. * modules/Makefile.am: Create pango.modules. Added pangorc. * modules/.cvsignore, examples/.cvsignore, tests/.cvsignore: Updated.
* Adjust the order of *_CFLAGS to the same order known to work. (Fixes bugBehdad Esfahbod2006-01-161-4/+4
| | | | | | | | 2006-01-16 Behdad Esfahbod <behdad@gnome.org> * docs/Makefile.am, examples/Makefile.am, pango/Makefile.am, tests/Makefile.am: Adjust the order of *_CFLAGS to the same order known to work. (Fixes bug #325588)
* Turn various gcc warnings off. Adding const, adding static, fullyBehdad Esfahbod2005-11-045-38/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-04 Behdad Esfahbod <behdad@gnome.org> * configure.in, examples/argcontext.c examples/cairoview.c, examples/renderdemo.c, examples/renderdemo.h examples/xftview.c, modules/basic/basic-x.c, modules/hangul/hangul-fc.c, modules/hebrew/hebrew-shaper.c, modules/hebrew/hebrew-shaper.h, modules/indic/indic-fc.c, modules/indic/mprefixups.c, modules/syriac/syriac-fc.c, pango/break.c pango/fonts.c, pango/modules.c, pango/pango-coverage.c pango/pango-engine.c, pango/pango-engine.h, pango/pango-fontmap.c, pango/pango-fontset.c, pango/pango-impl-utils.h, pango/pango-layout.c, pango/pango-layout.h, pango/pango-renderer.c, pango/pango-script.c, pango/pango-utils.c, pango/pangocairo-fc.h, pango/pangocairo-font.c, pango/pangocairo-fontmap.c, pango/pangocairo-private.h, pango/pangofc-decoder.c, pango/pangofc-font.c, pango/pangofc-fontmap.c pango/pangoft2.c, pango/pangox-fontcache.c, pango/pangox-fontmap.c pango/pangox.c, pango/pangoxft-font.c, pango/querymodules.c, pango/opentype/ftglue.c, pango/opentype/ftxgpos.c, pango/opentype/ftxopen.c, pango/opentype/pango-ot-buffer.c, pango/opentype/pango-ot-info.c, pango/opentype/pango-ot-ruleset.c, tests/dump-boundaries.c, tests/testboundaries.c, tests/testcolor.c tests/testiter.c, tests/testscript.c: Turn various gcc warnings off. Adding const, adding static, fully initializing structs, match signedness in comparisons. (#317804) * tests/testscript.c, tools/gen-script-for-lang.c: (scripts_for_file): Pass error->message instead of error to fail(), which was wrong. (compare_lang): Fix typo comparing a and a instead of a and b.
* Set cairo font resolution.Behdad Esfahbod2005-08-291-6/+0
| | | | | | | | 2005-08-29 Behdad Esfahbod <pango@behdad.org> * examples/cairoview.c: Set cairo font resolution. * tests/testboundaries.c: Remove unused Hangul Jamo macros.
* Fix up places where there is missing or incomplete Copyright and LicenseOwen Taylor2005-07-211-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> Fix up places where there is missing or incomplete Copyright and License information (Reported by William N. Ray) * pango/opentype/fterrcompat.h: Mark as FreeType/GPL licensed. * pango/opentype/FT-license.txt: Make this the dual-licensing description that covers the FreeType code (FreeType's LICENSE.TXT) rather than the FTL. * pango/opentype/FTL.TXT: Move the FTL (referenced from FT-license.txt) to here. * modules/basic/basic-common.h modules/hebrew/hebrew-shaper.h modules/thai/thai-charprop.c modules/thai/thai-shaper.h tools/gen-script-for-lang.c tests/testcolor.c: Add LGPL header and copyright information. * modules/indic/indic-ot.[ch] modules/indic/indic-ot-class-tables.c modules/thai/thai-ot.[ch]: Add LGPL header. * modules/thai/thai-shaper.c modules/thai/thai-charprop.h: Minor fixes to copyright information. * modules/arabic/arabic-ot.c: Add Freetype license boilerplate.
* Shut up CVSManish Singh2005-06-221-0/+1
|
* Fix up the operation of PangoLayoutIter, especially for Bidi (#89541,Owen Taylor2005-06-212-1/+251
| | | | | | | | | | | | | | | | | | | | | 2005-06-21 Owen Taylor <otaylor@redhat.com> Fix up the operation of PangoLayoutIter, especially for Bidi (#89541, based on a patch from Amit Aronovitch) * pango/pango-layout.c: Many changes to make iteration consistently in visual order. * pango/pango-layout.c (pango_layout_iter_next_char): Iterate through each character in the layout exactly once. (Including a hack to get two iterator positions for \r\n) * pango/pango-layout.c (pango_layout_iter_next_cluster): Only iterate through real clusters: that is, positions in the layout that have glyphs. * tests/testiter.c tests/Makefile.am: Add a (somewhat reworked) test from Amit for the operation of PangoLayoutIter.
* Include pangowin32.h first to avoind namespace collision. (#163584)Tor Lillqvist2005-03-011-4/+4
| | | | | | | 2005-03-01 Tor Lillqvist <tml@novell.com> * tests/cxx-test.C: Include pangowin32.h first to avoind namespace collision. (#163584)
* Don't generate all-unicode.txt when cross-compiling. (#135503, J. AliOwen Taylor2004-06-231-1/+1
| | | | | | | | Wed Jun 23 17:26:50 2004 Owen Taylor <otaylor@redhat.com> * tests/Makefile.am (pango.modules): Don't generate all-unicode.txt when cross-compiling. (#135503, J. Ali Harlow)
* Handle new Unicode-4.0 WORD_JOINER and NEXT_LINE classes. (#143436, JeroenOwen Taylor2004-06-221-2/+3
| | | | | | | | | | | | | | | | | Tue Jun 22 14:10:41 2004 Owen Taylor <otaylor@redhat.com> * pango/break.c: Handle new Unicode-4.0 WORD_JOINER and NEXT_LINE classes. (#143436, Jeroen Zwartepoorte) * pango/break.c (pango_default_break): Handle space followed by a combining character as called for by TR 14. * tests/testboundaries.c (check_line_char): Fix up for space+combining mark * pango/break.c (pango_default_break): Change fixme for G_UNICODE_BREAK_SURROGATE to g_assert_not_reached().
* === Released 1.3.0 ===PANGO_1_3_0Owen Taylor2003-10-241-0/+1
| | | | | | | | | | | | | | | | | | Fri Oct 24 00:09:17 2003 Owen Taylor <otaylor@redhat.com> * === Released 1.3.0 === * pango/module-defs-fc.c.win32 pango/module-defs-fc.c.win32: Add the -fc version, remove the -ft2 version. Not sure this file is actually needed any more. * pango/Makefile.am (libpango_1_0_la_SOURCES): Add pango-impl-utils.h, pango-script-lang-table.h. * docs/Makefile.am (dist-hook-local): Distribute generated manpage. * tests/Makefile.am (CLEANFILES): Add pango.modules
* Fix tests so that can be run before "make install" has been. (#119831)Noah Levitt2003-09-023-2/+27
| | | | | | | | | 2003-09-02 Noah Levitt <nlevitt@columbia.edu> * tests/.cvsignore: * tests/Makefile.am: * tests/pangorc: Fix tests so that can be run before "make install" has been. (#119831)
* Make PangoEngine{,Lang,Shape} GObjects, and use a GTypeModule-basedOwen Taylor2003-08-033-1/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Aug 2 23:19:16 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-engine.[ch] modules/*/*-{fc,win32,x}.c pango/modules.c pango/break.c pango/pango-context.c pango/pango-layout.c pango/pango-modules.h pango/querymodules.c pango/shape.c: Make PangoEngine{,Lang,Shape} GObjects, and use a GTypeModule-based module-loading system closely based on the one used for GtkIMContext and GtkThemeEngine. * pango/pango-impl-utils.h: OK, I'm tired of typing in get_type() functions. * pango/pango-script.[ch] pango/pango-script-table.h tests/testscript.c tools/gen-script-table.pl: Add port of script-range code from ICU in preparation for future use. (#91542) * tools/gen-script-for-lang.c: Utility program to determine the script for each fontconfig .orth file. * docs/tmpl/{scripts.sgml,pango-engine-lang.sgml, pango-engine-shape.sgml} docs/pango-sections.txt docs/pango-docs.sgml: Redo to go along with the above changes. * configure.in: chmod +x tests/runtests.sh
* Basic docs for the new stuff.Owen Taylor2003-08-031-0/+1
| | | | | | * docs/pango-sections.txt docs/pango-docs.sgml docs/tmpl/pangofc-font{,map}.sgml: Basic docs for the new stuff.
* Generate runtest.sh so we can use ECHO_C, ECHO_N, SHELL (#114944)Owen Taylor2003-07-242-54/+5
| | | | | | | | Thu Jul 24 16:40:12 2003 Owen Taylor <otaylor@redhat.com> * configure.in tests/runtests.sh.in: Generate runtest.sh so we can use ECHO_C, ECHO_N, SHELL (#114944)