summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* use stdbool.h and inttypes.h in MSVC 2013 and later, and use more ↵Steven G. Johnson2016-12-111-2/+8
| | | | C99-compatible definitions of false and true earlier (fix #90)
* update .gitignore for custom testSteven G. Johnson2016-11-301-7/+8
|
* new utf8proc_map_custom for hooking in user-defined custom mappings (#89)Steven G. Johnson2016-11-307-16/+110
| | | | | | | | | | * 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
* silence MSVC warning about conversion to uint8 (fix #86)Steven G. Johnson2016-11-302-7568/+7566
|
* typo in docstringsSteven G. Johnson2016-11-291-4/+3
|
* Tlsa/ucs4 normalize (#88)Michael Drake2016-11-212-5/+40
| | | | | | | | | | | | | | | | | | | * Split codepoint sequence normalisation out into separate function. This creates utf8proc_normalize_utf32() which takes and returns a UTF-32 string, applying the following options: - UTF8PROC_NLF2LS - UTF8PROC_NLF2PS - UTF8PROC_NLF2LF - UTF8PROC_STRIPCC - UTF8PROC_COMPOSE - UTF8PROC_STABLE The utf8proc_reencode() function has been updated to call the new utf8proc_normalize_utf32(). * Update code documentation: utf8proc_reencode handles UTF8PROC_CHARBOUND.
* Change definition of UINT16_MAX macro (#84)Jakub Vít2016-09-041-1/+1
| | | Change UINT16_MAX from `~(utf8proc_uint16_t)0` to fixed value `65535U` to prevent weird behaviour in complex expressions.
* add missing linksSteven G. Johnson2016-07-271-0/+2
|
* date fix in NEWSv2.0.2Steven G. Johnson2016-07-271-1/+1
|
* NEWS and version numbers for 2.0.2 (#81)Tony Kelman2016-07-275-12/+28
| | | | | | | | * Add NEWS.md items for #79 and #80 * Prepare version numbers for 2.0.2 * Also update API version to 2.0.2
* use a different variable name for nested loop in bench.c (#80)Tony Kelman2016-07-261-2/+2
| | | and declare it ahead of time to avoid "error: 'for' loop initial declarations are only allowed in C99 mode"
* Move -Wmissing-prototypes from Makefile to .travis.yml (#79)Tony Kelman2016-07-162-2/+2
| | | | since MSVC doesn't understand this flag, and the current mechanism for building Julia with MSVC goes through the makefile
* Convert compiler warnings to errors for Travis builds (#73)v2.0.1petercolberg2016-07-131-1/+1
|
* added NEWS for #78Steven G. Johnson2016-07-131-0/+4
|
* Use versioned Unicode data URLs (#78)petercolberg2016-07-131-8/+11
| | | This ensures the tests keep working when a new Unicode version is released.
* NEWS and version bump for 2.0.1 release, to come out shortlySteven G. Johnson2016-07-135-6/+13
|
* Fix incorrect use of `lbc` instead of `lbc_override` (#77)Keno Fischer2016-07-131-1/+1
|
* add appveyor badge to readmeTony Kelman2016-07-131-1/+3
| | | [ci skip]
* NEWS updatev2.0Steven G. Johnson2016-07-131-2/+5
|
* the ABI version was already bumped in #62, does not need to be bumped again ↵Steven G. Johnson2016-07-133-5/+5
| | | | in #70
* NEWS for 2.0Steven G. Johnson2016-07-131-0/+19
|
* Walk back ABI breaking changes (#76)Keno Fischer2016-07-132-4/+17
|
* update to Unifont 9 (for Unicode 9 charwidths) (#75)Steven G. Johnson2016-07-122-506/+507
|
* Smaller tables (#68)Benito van der Zander2016-07-125-11760/+9177
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* note Unicode 9 support (from #70) in READMESteven G. Johnson2016-06-281-1/+1
|
* Unicode 9 updates (#70)Keno Fischer2016-06-287-11149/+11553
| | | | | | | | | | | | | | | | | | | | | | | * Updates for Unicode 9.0.0 TR29 Changes - New rules GB10/(12/13) are used to combine emoji-zwj sequences/ (force grapheme breaks every two RI codepoints). Unfortunately this breaks statelessness of grapheme-boundary determination. Deal with this by ignoring the problem in utf8proc_grapheme_break, and by hacking in a special case in decompose - ZWJ moved to its own boundclass, update what is now GB9 accordingly. - Add comments to indicate which rule a given case implements - The Number of bound classes Now exceeds 4 bits, expand to 8 and reorganize fields * Import Unicode 9 data * Update Grapheme break API to expose state override * Bump MAJOR version
* Merge pull request #69 from JuliaLang/tk/cacheSteven G. Johnson2016-06-011-1/+1
|\ | | | | fix the travis cache
| * fix the travis cacheTony Kelman2016-05-311-1/+1
|/ | | certificate is expired on cache.e.ip.saba.us, it now lives at cache.julialang.org
* Merge pull request #66 from michaelnmmeyer/masterSteven G. Johnson2016-02-045-8/+14
|\ | | | | Fix overrun
| * Fix overrunMichaël Meyer2016-02-045-8/+14
|/
* Merge pull request #62 from michaelnmmeyer/masterSteven G. Johnson2015-12-097-6686/+6691
|\ | | | | Reduce the size of the binary.
| * Bump version number.Michaël Meyer2015-12-093-9/+9
| |
| * Reduce the size of the binary.Michaël Meyer2015-12-094-6677/+6682
|/ | | | | Use integers instead of pointers in Unicode tables. Saves 226 kb / 716 kb in the compiled library.
* Merge pull request #61 from fgsch/issue_60Steven G. Johnson2015-11-241-1/+2
|\ | | | | Silence warning with -Wextra
| * Silence warning with -WextraFederico G. Schwindt2015-11-241-1/+2
|/ | | | Fixes #60.
* update Unicode version in header-file commentSteven G. Johnson2015-11-011-1/+1
|
* update copyright statements to list recent contributors and yearSteven G. Johnson2015-11-012-0/+2
|
* Merge pull request #59 from petercolberg/masterv1.3.1utf8proc-v1.3.1Steven G. Johnson2015-11-014-5/+19
|\ | | | | Version 1.3.1
| * Update NEWS for version 1.3.1Peter Colberg2015-10-311-0/+14
| |
| * Increment patch versionPeter Colberg2015-10-313-5/+5
|/
* Merge pull request #58 from petercolberg/masterSteven G. Johnson2015-10-3111-74/+122
|\ | | | | Fix build warnings
| * Fix deprecated warnings with Julia 0.4Peter Colberg2015-10-311-6/+12
| |
| * Test `make install`Peter Colberg2015-10-304-4/+22
| | | | | | | | Generate reproducible manifest of installed files.
| * Test `make clean`Peter Colberg2015-10-301-0/+1
| |
| * 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-303-57/+69
| | | | | | | | This resolves warnings for missing function prototypes.
| * Fix installation of shared library symlinksPeter Colberg2015-10-301-3/+5
| | | | | | | | | | | | | | | | | | Use relative symlinks that are independent of installation prefix. Drop superfluous .so.MAJOR.MINOR symlink, which is and should never be needed in practice. The purpose of shared library symlinks is to provide libraries for compile-time linking (.so) and for run-time linking using the SONAME (.so.MAJOR).
| * Add missing files to `make clean`Peter Colberg2015-10-301-1/+2
|/