summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix doc comment. Move include outside G_BEGIN_DECLS. Add const to avoidDarin Adler2001-12-171-1/+0
| | | | | | | * pango/pangoft2.c: Fix doc comment. * pango/pangoft2.h: Move include outside G_BEGIN_DECLS. * pango/querymodules.c: (main): Add const to avoid warning. * tests/dump-boundaries.c: (fail): Remove unused local.
* Resuming aborted commitSebastian Wilhelmi2001-12-131-1/+2
| | | | Resuming aborted commit
* pango/modules.c g_module_symbol takes a gpointer *, not just a gpointer.Manish Singh2001-12-051-0/+1
| | | | | | | | 2001-12-04 Manish Singh <yosh@gimp.org> * pango/modules.c * pango/querymodules.c: g_module_symbol takes a gpointer *, not just a gpointer.
* shut up CVSSven Neumann2001-12-031-0/+2
|
* Add a test program that includes all headers in a C++ program. (#52606)Owen Taylor2001-11-272-2/+70
| | | | | | | Mon Nov 26 19:24:21 2001 Owen Taylor <otaylor@redhat.com> * configure.in tests/Makefile.am tests/cxx-test.C: Add a test program that includes all headers in a C++ program. (#52606)
* Instead of including all-unicode.txt in the distribution, include a smallOwen Taylor2001-11-263-4920/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Nov 26 18:17:00 2001 Owen Taylor <otaylor@redhat.com> * tests/Makefile.am tests/gen-all-unicode.c: Instead of including all-unicode.txt in the distribution, include a small program to generate it. * modules/hangul/hangul-x.c (render_syllable_with_ksc5601): When falling back to uncomposed Jamos, if we can't render a Jamo in any way, use the unknown glyph rather than nothing. * modules/hangul/hangul-x.c (hangul_engine_shape): Prevent overflows for invalid sequences which can be of arbitrary length. (#50086) * modules/arabic/arconv.c: New versions from Roozbeh Pournader. - Replacing the tables with automatically-generated ones - Using binary search instead of linear search for table lookup - Updating all the names with Unicode names (eg Nun -> Noon) - Fixed the Hamza mixup, using the Unicode rules - Updating missed cases (eg Superscript Alef was missing from arabic_isvowel) - Removing too-intelligent cases which made the code non-compliant (eg Alef with Hamza above+Kasra was changing to Alef with Hamza below) - Removing 'connecttoleft' from 'charstruct' (replacing it with a macro) - Indenting in the GNU style
* don't link against pangox at all.Sven Neumann2001-10-301-8/+3
| | | | | | | | | 2001-10-30 Sven Neumann <sven@gimp.org> * tests/Makefile.am: don't link against pangox at all. Please keep in mind that building on UNIX does not necessarily mean that X11 is available.
* New file, used to build distribution package for Windows.Tor Lillqvist2001-10-281-2/+6
| | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Tor Lillqvist <tml@iki.fi> * pango-zip.sh.in: New file, used to build distribution package for Windows. * Makefile.am (EXTRA_DIST): Add pango-zip.sh. * configure.in: Check for lib.exe, set MS_LIB_AVAILABLE. Generate pango-zip.sh. * README.win32: Mention the ways to build Pango on Windows. * modules/Makefile.am * examples/Makefile.am: Se SOSUFFIX to so on Unix, dll on Windows. * pango/Makefile.am: Add rules to create MSVC import library if MS_LIB_AVAILABLE. Add rules to install and uninstall mingw and MSVC import libraries. * tests/Makefile.am: Link with libpangox.la only on Unix.
* shut up CVSSven Neumann2001-10-041-0/+1
|
* new program to dump logical attrs to stdoutHavoc Pennington2001-10-033-3/+140
| | | | | | | | | 2001-10-03 Havoc Pennington <hp@redhat.com> * tests/dump-boundaries.c: new program to dump logical attrs to stdout * tests/testboundaries.c (check_invariants): oops, fix for pango_get_log_attrs() change
* Release 0.15PANGO_0_15Owen Taylor2001-04-174-7/+13
| | | | | | | | | | | | | | Tue Apr 17 15:44:53 2001 Owen Taylor <otaylor@redhat.com> * Release 0.15 * tests/testboundaries.c: Look for files in $srcdir. * Makefile.am (SUBDIRS): Add tests, remove fonts * tests/Makefile.am (EXTRA_DIST): added missing stuff * fonts/: Remove. Nothing in here is needed any more.
* .cvsignore updatesOwen Taylor2001-01-251-0/+4
|
* s/is_break/is_line_break/g;Havoc Pennington2001-01-221-8/+8
| | | | | | | | | | | | | | | 2001-01-22 Havoc Pennington <hp@redhat.com> * tests/testboundaries.c (check_line_char): s/is_break/is_line_break/g; * pango/pango-layout.c, pango/pango-layout.h: Add PangoWrapMode for PangoLayout * pango/break.c (pango_default_break): implement char break log attr * pango/pango-break.h (struct _PangoLogAttr): rename is_break is_line_break, add is_char_break field
* Use a fallback shaper if no engine is found for a range, the fallbackHavoc Pennington2000-12-151-0/+4919
| | | | | | | | | | | | | | | | | 2000-12-14 Havoc Pennington <hp@redhat.com> * pango/pango-context.c (add_engines): Use a fallback shaper if no engine is found for a range, the fallback shaper shapes to glyphs of 0. This is just to let other code depend on the invariant that there's a shape engine for all characters. * tests/all-unicode.txt: Huge file containing all Unicode characters, for robustness testing. Not in EXTRA_DIST for now, not sure we should torture people that way... * pango/fonts.c (pango_font_find_shaper): remove the assert that we found a shaper, and instead let things fall back to the fallback shaper
* Add some jamo and viramas and unicode para separators and \r\n and so on,Havoc Pennington2000-12-121-0/+696
| | | | | | | 2000-12-11 Havoc Pennington <hp@redhat.com> * tests/boundaries.utf8: Add some jamo and viramas and unicode para separators and \r\n and so on, crashes the text widget nicely
* #include <string.h>Elliot Lee2000-12-111-0/+2
| | | | #include <string.h>
* delete lang engineHavoc Pennington2000-12-025-0/+549
2000-11-30 Havoc Pennington <hp@pobox.com> * modules/thai/thai.c: delete lang engine * modules/tamil/tamil.c: delete lang engine (tamil_engine_x_new): fix type tag for shape engine * modules/indic/myanmar.c: delete lang engine (pango_engine_x_new): fix type tag for shape engine * modules/indic/gurmukhi.c: delete lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/indic/gujarati.c: delete lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/indic/devanagari.c: delete lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/indic/pango-indic-script.h (SCRIPT_ENGINE_DEFINITION): delete lang engine * modules/indic/bengali.c: delete the lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/hangul/hangul.c: delete the lang engine (hangul_engine_x_new): fix type tag for shape engine * modules/basic/basic.c: delete the lang engine (basic_engine_x_new): fix type tag for shape engine * modules/basic/basic-win32.c: delete the lang engine (basic_engine_win32_new): this was a shape engine, use correct type tag * modules/basic/basic-ft2.c: delete the lang engine * modules/arabic/arabic.c: Delete the lang engine (arabic_engine_x_new): this is a shape engine, not a lang engine, fix type tag * pango/pango-layout.c (pango_layout_index_to_line_x): handle the fact that paragraph delimiters aren't in the layout lines (pango_layout_index_to_pos): update to handle paragraph delimiters * pango/break.c (pango_find_paragraph_boundary): New function to find paragraph boundaries * pango/pango-layout.c (get_items_log_attrs): don't separate calls to pango_break() when directional level changes * pango/pango-layout.h (struct _PangoLayoutLine): put start index of the line into the struct * pango/pango-layout.c (pango_layout_get_cursor_pos): Fixups to reflect the fact that paragraph separators are removed from the input text. * pango/pango-layout.c (can_break_at): don't special-case start of line and whitespace-following-alphabetic here, because pango_break() already handles that properly * tests/testboundaries.c, tests/Makefile.am, tests/runtests.sh: Add directory for test programs, and a script to run them all * configure.in: Create Makefile in tests * pango/break.c (pango_break): Try for a real implementation of the Unicode text boundary algorithms (pango_get_log_attrs): Allow length to be -1 * pango/pango-context.c (pango_itemize): use pango_item_new(), assert that items added to the list are sane. * pango/pango-layout.c (pango_layout_check_lines): Reimplement to honor the paragraph boundaries from pango_break() * pango/pango-layout.c (process_item): use pango_item_split() here * pango/pango-item.c (pango_item_split): New function to split an item into two items