Steven G. Johnson [Sun, 11 Dec 2016 21:42:24 +0000 (16:42 -0500)]
update NEWS [ci skip]
Steven G. Johnson [Sun, 11 Dec 2016 21:35:27 +0000 (16:35 -0500)]
update to unifont 9.0.04
Steven G. Johnson [Sun, 11 Dec 2016 21:18:52 +0000 (16:18 -0500)]
whoops
Steven G. Johnson [Sun, 11 Dec 2016 21:17:11 +0000 (16:17 -0500)]
use ptrdiff_t rather than ssize_t, as ssize_t is non-standard (it is POSIX, not C)
Steven G. Johnson [Sun, 11 Dec 2016 12:15:53 +0000 (07:15 -0500)]
use stdbool.h and inttypes.h in MSVC 2013 and later, and use more C99-compatible definitions of false and true earlier (fix #90)
Steven G. Johnson [Wed, 30 Nov 2016 15:46:01 +0000 (10:46 -0500)]
update .gitignore for custom test
Steven G. Johnson [Wed, 30 Nov 2016 15:40:26 +0000 (10:40 -0500)]
new utf8proc_map_custom for hooking in user-defined custom mappings (#89)
* 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
Steven G. Johnson [Wed, 30 Nov 2016 15:09:18 +0000 (10:09 -0500)]
silence MSVC warning about conversion to uint8 (fix #86)
Steven G. Johnson [Tue, 29 Nov 2016 18:49:03 +0000 (13:49 -0500)]
typo in docstrings
Michael Drake [Mon, 21 Nov 2016 14:22:39 +0000 (14:22 +0000)]
Tlsa/ucs4 normalize (#88)
* 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.
Jakub Vít [Sun, 4 Sep 2016 18:44:39 +0000 (19:44 +0100)]
Change definition of UINT16_MAX macro (#84)
Change UINT16_MAX from `~(utf8proc_uint16_t)0` to fixed value `65535U` to prevent weird behaviour in complex expressions.
Steven G. Johnson [Wed, 27 Jul 2016 12:04:38 +0000 (08:04 -0400)]
add missing links
Steven G. Johnson [Wed, 27 Jul 2016 11:59:43 +0000 (07:59 -0400)]
date fix in NEWS
Tony Kelman [Wed, 27 Jul 2016 11:58:49 +0000 (04:58 -0700)]
NEWS and version numbers for 2.0.2 (#81)
* Add NEWS.md items for #79 and #80
* Prepare version numbers for 2.0.2
* Also update API version to 2.0.2
Tony Kelman [Tue, 26 Jul 2016 21:54:17 +0000 (14:54 -0700)]
use a different variable name for nested loop in bench.c (#80)
and declare it ahead of time to avoid "error: 'for' loop initial declarations are only allowed in C99 mode"
Tony Kelman [Sat, 16 Jul 2016 10:16:03 +0000 (03:16 -0700)]
Move -Wmissing-prototypes from Makefile to .travis.yml (#79)
since MSVC doesn't understand this flag, and the current
mechanism for building Julia with MSVC goes through the makefile
petercolberg [Wed, 13 Jul 2016 16:58:28 +0000 (12:58 -0400)]
Convert compiler warnings to errors for Travis builds (#73)
Steven G. Johnson [Wed, 13 Jul 2016 16:42:07 +0000 (12:42 -0400)]
added NEWS for #78
petercolberg [Wed, 13 Jul 2016 16:40:59 +0000 (12:40 -0400)]
Use versioned Unicode data URLs (#78)
This ensures the tests keep working when a new Unicode version is released.
Steven G. Johnson [Wed, 13 Jul 2016 16:39:05 +0000 (12:39 -0400)]
NEWS and version bump for 2.0.1 release, to come out shortly
Keno Fischer [Wed, 13 Jul 2016 16:33:50 +0000 (12:33 -0400)]
Fix incorrect use of `lbc` instead of `lbc_override` (#77)
Tony Kelman [Wed, 13 Jul 2016 16:18:40 +0000 (09:18 -0700)]
add appveyor badge to readme
[ci skip]
Steven G. Johnson [Wed, 13 Jul 2016 16:02:47 +0000 (12:02 -0400)]
NEWS update
Steven G. Johnson [Wed, 13 Jul 2016 15:00:17 +0000 (11:00 -0400)]
the ABI version was already bumped in #62, does not need to be bumped again in #70
Steven G. Johnson [Wed, 13 Jul 2016 14:57:37 +0000 (10:57 -0400)]
NEWS for 2.0
Keno Fischer [Wed, 13 Jul 2016 14:41:13 +0000 (10:41 -0400)]
Walk back ABI breaking changes (#76)
Steven G. Johnson [Tue, 12 Jul 2016 20:30:05 +0000 (16:30 -0400)]
update to Unifont 9 (for Unicode 9 charwidths) (#75)
Benito van der Zander [Tue, 12 Jul 2016 15:51:50 +0000 (17:51 +0200)]
Smaller tables (#68)
* 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
Steven G. Johnson [Tue, 28 Jun 2016 20:06:00 +0000 (16:06 -0400)]
note Unicode 9 support (from #70) in README
Keno Fischer [Tue, 28 Jun 2016 20:04:25 +0000 (16:04 -0400)]
Unicode 9 updates (#70)
* 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
Steven G. Johnson [Wed, 1 Jun 2016 12:52:41 +0000 (08:52 -0400)]
Merge pull request #69 from JuliaLang/tk/cache
fix the travis cache
Tony Kelman [Wed, 1 Jun 2016 04:20:38 +0000 (21:20 -0700)]
fix the travis cache
certificate is expired on cache.e.ip.saba.us, it now lives at cache.julialang.org
Steven G. Johnson [Thu, 4 Feb 2016 15:57:25 +0000 (10:57 -0500)]
Merge pull request #66 from michaelnmmeyer/master
Fix overrun
Michaël Meyer [Thu, 4 Feb 2016 03:01:19 +0000 (04:01 +0100)]
Fix overrun
Steven G. Johnson [Wed, 9 Dec 2015 23:59:05 +0000 (18:59 -0500)]
Merge pull request #62 from michaelnmmeyer/master
Reduce the size of the binary.
Michaël Meyer [Wed, 9 Dec 2015 22:35:45 +0000 (23:35 +0100)]
Bump version number.
Michaël Meyer [Wed, 9 Dec 2015 18:55:48 +0000 (19:55 +0100)]
Reduce the size of the binary.
Use integers instead of pointers in Unicode tables. Saves 226 kb / 716 kb in the
compiled library.
Steven G. Johnson [Tue, 24 Nov 2015 21:53:05 +0000 (16:53 -0500)]
Merge pull request #61 from fgsch/issue_60
Silence warning with -Wextra
Federico G. Schwindt [Tue, 24 Nov 2015 20:09:10 +0000 (20:09 +0000)]
Silence warning with -Wextra
Fixes #60.
Steven G. Johnson [Sun, 1 Nov 2015 13:36:04 +0000 (08:36 -0500)]
update Unicode version in header-file comment
Steven G. Johnson [Sun, 1 Nov 2015 13:34:01 +0000 (08:34 -0500)]
update copyright statements to list recent contributors and year
Steven G. Johnson [Sun, 1 Nov 2015 13:10:02 +0000 (08:10 -0500)]
Merge pull request #59 from petercolberg/master
Version 1.3.1
Peter Colberg [Sun, 1 Nov 2015 00:51:36 +0000 (20:51 -0400)]
Update NEWS for version 1.3.1
Peter Colberg [Sun, 1 Nov 2015 00:51:26 +0000 (20:51 -0400)]
Increment patch version
Steven G. Johnson [Sat, 31 Oct 2015 22:13:25 +0000 (18:13 -0400)]
Merge pull request #58 from petercolberg/master
Fix build warnings
Peter Colberg [Sat, 31 Oct 2015 17:59:38 +0000 (13:59 -0400)]
Fix deprecated warnings with Julia 0.4
Peter Colberg [Fri, 30 Oct 2015 22:46:28 +0000 (18:46 -0400)]
Test `make install`
Generate reproducible manifest of installed files.
Peter Colberg [Fri, 30 Oct 2015 19:57:00 +0000 (15:57 -0400)]
Test `make clean`
Peter Colberg [Fri, 30 Oct 2015 19:27:18 +0000 (15:27 -0400)]
Fix sscanf argument type for format %x
Peter Colberg [Fri, 30 Oct 2015 19:24:34 +0000 (15:24 -0400)]
Fix missing static declarations for internal functions
Peter Colberg [Fri, 30 Oct 2015 19:22:09 +0000 (15:22 -0400)]
Fix implicit function declarations
Peter Colberg [Fri, 30 Oct 2015 19:13:48 +0000 (15:13 -0400)]
Move common test functions to separate module
This resolves warnings for missing function prototypes.
Peter Colberg [Fri, 30 Oct 2015 18:57:16 +0000 (14:57 -0400)]
Fix installation of shared library symlinks
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).
Peter Colberg [Fri, 30 Oct 2015 18:56:03 +0000 (14:56 -0400)]
Add missing files to `make clean`
Steven G. Johnson [Fri, 30 Oct 2015 16:48:43 +0000 (12:48 -0400)]
Merge pull request #57 from petercolberg/master
Fix MingW build test
Peter Colberg [Fri, 30 Oct 2015 04:52:49 +0000 (00:52 -0400)]
Fix MinGW build test
Peter Colberg [Fri, 30 Oct 2015 04:52:41 +0000 (00:52 -0400)]
Describe interactive debugging for appveyor
Steven G. Johnson [Fri, 30 Oct 2015 01:45:52 +0000 (21:45 -0400)]
Merge pull request #56 from petercolberg/master
Fix Travis build and improve build reproducibility
Peter Colberg [Fri, 30 Oct 2015 00:28:14 +0000 (20:28 -0400)]
Use consistent indentation in Travis config
Indent with 4 spaces, as in the Travis config for Julia.
Peter Colberg [Fri, 30 Oct 2015 00:07:35 +0000 (20:07 -0400)]
Set URLCACHE to JuliaLang cache server for Travis builds
Download Unicode data from upstream server by default.
Download GNU Unifont from reliable GNU mirror by default.
Peter Colberg [Thu, 29 Oct 2015 23:48:49 +0000 (19:48 -0400)]
Generate fontforge font files in makefile
Revise the script to directly read fontforge font files, which are
generated in the makefile. This permits overriding the fontforge path
during the build, and executing fontforge in parallel with make -j.
Avoid duplicating download URLs in the script, which ensures that the
script itself works without network access, e.g., when downloading the
data files on a developer machine with network access and executing the
script on a build machine without network access.
Peter Colberg [Thu, 29 Oct 2015 23:41:16 +0000 (19:41 -0400)]
Update Unicode data
Fixes Travis builds on Ubuntu 12.04 LTS with Ruby 1.9.3-p551.
Steven G. Johnson [Thu, 29 Oct 2015 17:30:56 +0000 (13:30 -0400)]
Merge pull request #55 from petercolberg/master
Do not export internal unsafe_encode_char()
Peter Colberg [Thu, 29 Oct 2015 05:17:20 +0000 (01:17 -0400)]
Enable compiler warnings in makefile
Peter Colberg [Thu, 29 Oct 2015 04:45:39 +0000 (00:45 -0400)]
Do not export internal unsafe_encode_char()
Steven G. Johnson [Mon, 6 Jul 2015 16:28:50 +0000 (12:28 -0400)]
add missing NEWS links
Steven G. Johnson [Mon, 6 Jul 2015 15:34:46 +0000 (11:34 -0400)]
updated NEWS for 1.3
Steven G. Johnson [Mon, 6 Jul 2015 15:09:20 +0000 (11:09 -0400)]
Merge pull request #51 from JuliaLang/cjh/unifont8
Update character widths from Unifont 8.0.01
Jiahao Chen [Mon, 29 Jun 2015 20:43:07 +0000 (16:43 -0400)]
Update Unicode data
Jiahao Chen [Mon, 29 Jun 2015 20:42:34 +0000 (16:42 -0400)]
Update Unifont to 8.0.01
Steven G. Johnson [Fri, 26 Jun 2015 18:28:30 +0000 (14:28 -0400)]
Merge pull request #49 from JuliaLang/cjh/mw
Try again to update Unicode 8 data
Jiahao Chen (陈家豪) [Fri, 26 Jun 2015 16:12:13 +0000 (12:12 -0400)]
Updated Unicode 8 data - now sorted internally by data generator
Jiahao Chen [Fri, 26 Jun 2015 16:01:27 +0000 (12:01 -0400)]
Update Unicode data
Steven G. Johnson [Thu, 25 Jun 2015 23:15:57 +0000 (19:15 -0400)]
sort keys to try to eliminate data dependence on Ruby version
Jiahao Chen (陈家豪) [Thu, 25 Jun 2015 22:00:01 +0000 (18:00 -0400)]
Fix gitignore to ignore .so*
Steven G. Johnson [Wed, 24 Jun 2015 18:07:15 +0000 (14:07 -0400)]
fix #46 (make sure symbol-like codepoints have nonzero width even if they aren't in Unifont)
Steven G. Johnson [Wed, 24 Jun 2015 15:49:16 +0000 (11:49 -0400)]
update NEWS for #43 and #45
Jiahao Chen [Tue, 23 Jun 2015 21:21:36 +0000 (17:21 -0400)]
Update README.md
Link to Lua-mojibake (closes #44)
Bump Unicode version (ref: #45)
Jiahao Chen [Tue, 23 Jun 2015 21:18:59 +0000 (17:18 -0400)]
Merge pull request #45 from JuliaLang/cjh/unicode8
Update data to Unicode 8.0.0 standard
Jiahao Chen [Tue, 23 Jun 2015 17:12:13 +0000 (13:12 -0400)]
Force Travis to spit out diff
Jiahao Chen [Sat, 20 Jun 2015 12:14:32 +0000 (08:14 -0400)]
Updated data file to Unicode 8.0.0
Jiahao Chen [Sat, 20 Jun 2015 23:06:39 +0000 (19:06 -0400)]
Merge pull request #43 from JuliaLang/nl/flags
Always pass -fPIC in CFLAGS
Jiahao Chen [Sat, 20 Jun 2015 12:03:40 +0000 (08:03 -0400)]
Minor fixes to work with Unicode 8.0.0 data
Milan Bouchet-Valat [Mon, 8 Jun 2015 07:34:10 +0000 (08:34 +0100)]
Always pass -fPIC and -std=c99 in CFLAGS
Fixes #42.
Tony Kelman [Sat, 30 May 2015 14:28:19 +0000 (07:28 -0700)]
Fix make check
#35 and #40 added new tests that #38 did not take into account
this is one case where it would be good if Travis re-tested the PR
after new commits get pushed to master
Steven G. Johnson [Sat, 30 May 2015 13:21:32 +0000 (09:21 -0400)]
Merge pull request #38 from jlec/jlec-master
Enhance build process
Steven G. Johnson [Sat, 30 May 2015 03:07:29 +0000 (23:07 -0400)]
bump API/ABI version to 1.3, add NEWS
Steven G. Johnson [Sat, 30 May 2015 02:58:12 +0000 (22:58 -0400)]
Merge pull request #40 from JuliaLang/casefuncs
add toupper/tolower functions
Steven G. Johnson [Fri, 29 May 2015 17:52:48 +0000 (13:52 -0400)]
add toupper/tolower functions (for JuliaLang/julia#11471)
Steven G. Johnson [Sat, 30 May 2015 01:58:21 +0000 (21:58 -0400)]
Merge pull request #35 from ScottPJones/spj/valid
Fix #34 handle 66 Unicode non-characters and surrogates correctly
ScottPJones [Fri, 29 May 2015 13:24:27 +0000 (15:24 +0200)]
Add tests for valid codepoints and iterate function
Scott Paul Jones [Sat, 9 May 2015 15:45:03 +0000 (11:45 -0400)]
Fix #34 handle 66 Unicode non-characters, also improve performance and surrogate handling
Justin Lecher [Mon, 25 May 2015 08:27:29 +0000 (10:27 +0200)]
Enhance build process
* Allow optimization flgas in CFLAGS to be overwritten
* Use Uppercase CC and CFLAGS
* Create all soname symlinks
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Steven G. Johnson [Thu, 9 Apr 2015 15:36:40 +0000 (11:36 -0400)]
Merge pull request #32 from JuliaLang/tk/ssize_t_typedef
Use a typedef instead of a #define for ssize_t with MSVC
Tony Kelman [Tue, 7 Apr 2015 05:36:33 +0000 (22:36 -0700)]
Prefix other C99 typedefs with utf8proc_
Tony Kelman [Sun, 5 Apr 2015 04:17:13 +0000 (21:17 -0700)]
Use a new typedef utf8proc_ssize_t to avoid define collisions
with MSVC
Tony Kelman [Sun, 5 Apr 2015 04:30:29 +0000 (21:30 -0700)]
Run appveyor also on release branches
Steven G. Johnson [Mon, 30 Mar 2015 15:05:51 +0000 (11:05 -0400)]
rename DLLEXPORT to UTF8PROC_DLLEXPORT to prevent conflicts with other header files that define DLLEXPORT
Steven G. Johnson [Sat, 28 Mar 2015 18:47:29 +0000 (14:47 -0400)]
build bench/bench for make check, to lessen the chance that it bitrots again
Steven G. Johnson [Sat, 28 Mar 2015 18:38:59 +0000 (14:38 -0400)]
fix some stray references to mojibake in the bench/ directory