summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* new utf8proc_map_custom for hooking in user-defined custom mappings (#89)Steven G. Johnson2016-11-301-0/+27
| | | | | | | | | | * new utf8proc_map_custom for hooking in user-defined custom mappings * whoops, add test program * NEWS, version bump for 2.1 * change test functions to static so that gcc doesn't complain about missing prototypes
* Smaller tables (#68)Benito van der Zander2016-07-121-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | * convert sequences to utf-16 (saves 25kb) * store sequence length in properties instead using -1 termination (saves 10kb) * cache index for slightly faster data creation * store lower/upper/title mapping in sequence array (saves 25kb). Add utf8proc_totitle, as title_mapping cannot be used to get the title codepoint anymore. Rename xxx_mapping to xxx_seqindex, so programs assuming a value with the old meaning fail at compile time * change combination array data type to uint16 (saves 40kb) * merge 1st and 2nd comb index (saves 50kb) * kill empty prefix/suffix in combination array (saves 50kb) * there was no need to have a separate combination start array, it can be merged in a single array * some fixes * mark the table as const again * and regen
* Fix overrunMichaël Meyer2016-02-041-2/+8
|
* Fix sscanf argument type for format %xPeter Colberg2015-10-301-1/+1
|
* Fix missing static declarations for internal functionsPeter Colberg2015-10-302-2/+2
|
* Fix implicit function declarationsPeter Colberg2015-10-301-0/+8
|
* Move common test functions to separate modulePeter Colberg2015-10-302-42/+50
| | | | This resolves warnings for missing function prototypes.
* Do not export internal unsafe_encode_char()Peter Colberg2015-10-291-2/+1
|
* fix #46 (make sure symbol-like codepoints have nonzero width even if they ↵Steven G. Johnson2015-06-241-4/+14
| | | | aren't in Unifont)
* add toupper/tolower functions (for JuliaLang/julia#11471)Steven G. Johnson2015-05-291-0/+50
|
* Add tests for valid codepoints and iterate functionScottPJones2015-05-292-0/+201
|
* Fix #34 handle 66 Unicode non-characters, also improve performance and ↵Scott Paul Jones2015-05-293-8/+11
| | | | surrogate handling
* Prefix other C99 typedefs with utf8proc_Tony Kelman2015-04-063-5/+5
|
* Use a new typedef utf8proc_ssize_t to avoid define collisionsTony Kelman2015-04-051-1/+1
| | | | with MSVC
* put the API version as #defines in the header file (as discussed in #30)Steven G. Johnson2015-03-271-0/+4
|
* fix #2: add charwidth functionSteven G. Johnson2015-03-122-4/+67
|
* directory cleanup: move tests and data into subdirectoriesSteven G. Johnson2015-03-064-0/+234