Commit Graph

205 Commits

Author SHA1 Message Date
Steven G. Johnson
cb2a3e464d the ABI version was already bumped in #62, does not need to be bumped again in #70 2016-07-13 11:00:17 -04:00
Steven G. Johnson
39ab2ff273 NEWS for 2.0 2016-07-13 10:57:37 -04:00
Keno Fischer
c0a1ff81fc Walk back ABI breaking changes (#76) 2016-07-13 10:41:13 -04:00
Steven G. Johnson
c02ebd5a83 update to Unifont 9 (for Unicode 9 charwidths) (#75) 2016-07-12 16:30:05 -04:00
Benito van der Zander
eeebf70bcf 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
2016-07-12 11:51:50 -04:00
Steven G. Johnson
9a0b87b57e note Unicode 9 support (from #70) in README 2016-06-28 16:06:00 -04:00
Keno Fischer
41c6b23aab 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
2016-06-28 16:04:25 -04:00
Steven G. Johnson
3d0576a9b9 Merge pull request #69 from JuliaLang/tk/cache
fix the travis cache
2016-06-01 08:52:41 -04:00
Tony Kelman
dc8cb44bf5 fix the travis cache
certificate is expired on cache.e.ip.saba.us, it now lives at cache.julialang.org
2016-05-31 21:20:38 -07:00
Steven G. Johnson
5a84e53b0c Merge pull request #66 from michaelnmmeyer/master
Fix overrun
2016-02-04 10:57:25 -05:00
Michaël Meyer
1f17487aa9 Fix overrun 2016-02-04 04:06:28 +01:00
Steven G. Johnson
ec0daa50bb Merge pull request #62 from michaelnmmeyer/master
Reduce the size of the binary.
2015-12-09 18:59:05 -05:00
Michaël Meyer
ee3c20e46b Bump version number. 2015-12-09 23:35:45 +01:00
Michaël Meyer
26436c9775 Reduce the size of the binary.
Use integers instead of pointers in Unicode tables. Saves 226 kb / 716 kb in the
compiled library.
2015-12-09 19:55:48 +01:00
Steven G. Johnson
6b510deff2 Merge pull request #61 from fgsch/issue_60
Silence warning with -Wextra
2015-11-24 16:53:05 -05:00
Federico G. Schwindt
4fc2d8234d Silence warning with -Wextra
Fixes #60.
2015-11-24 20:09:10 +00:00
Steven G. Johnson
6d4d7a9acf update Unicode version in header-file comment 2015-11-01 08:36:04 -05:00
Steven G. Johnson
fd20b184dd update copyright statements to list recent contributors and year 2015-11-01 08:34:01 -05:00
Steven G. Johnson
00feb3f373 Merge pull request #59 from petercolberg/master
Version 1.3.1
2015-11-01 08:10:02 -05:00
Peter Colberg
e3db4f388b Update NEWS for version 1.3.1 2015-10-31 20:51:36 -04:00
Peter Colberg
44b1784de7 Increment patch version 2015-10-31 20:51:26 -04:00
Steven G. Johnson
a5c9de2047 Merge pull request #58 from petercolberg/master
Fix build warnings
2015-10-31 18:13:25 -04:00
Peter Colberg
b10b64dc10 Fix deprecated warnings with Julia 0.4 2015-10-31 13:59:38 -04:00
Peter Colberg
a930086323 Test make install
Generate reproducible manifest of installed files.
2015-10-30 18:46:28 -04:00
Peter Colberg
ca3ceffbfb Test make clean 2015-10-30 15:57:00 -04:00
Peter Colberg
4b16193a25 Fix sscanf argument type for format %x 2015-10-30 15:27:18 -04:00
Peter Colberg
14b57791d8 Fix missing static declarations for internal functions 2015-10-30 15:24:34 -04:00
Peter Colberg
6acc41dfe9 Fix implicit function declarations 2015-10-30 15:22:09 -04:00
Peter Colberg
548497a398 Move common test functions to separate module
This resolves warnings for missing function prototypes.
2015-10-30 15:13:48 -04:00
Peter Colberg
71230a08e4 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).
2015-10-30 14:57:16 -04:00
Peter Colberg
8f522ad8e7 Add missing files to make clean 2015-10-30 14:56:03 -04:00
Steven G. Johnson
f67f1a72f7 Merge pull request #57 from petercolberg/master
Fix MingW build test
2015-10-30 12:48:43 -04:00
Peter Colberg
b1c6e0a78a Fix MinGW build test 2015-10-30 00:52:49 -04:00
Peter Colberg
e6696cad53 Describe interactive debugging for appveyor 2015-10-30 00:52:41 -04:00
Steven G. Johnson
1e411777c5 Merge pull request #56 from petercolberg/master
Fix Travis build and improve build reproducibility
2015-10-29 21:45:52 -04:00
Peter Colberg
d321408210 Use consistent indentation in Travis config
Indent with 4 spaces, as in the Travis config for Julia.
2015-10-29 20:28:14 -04:00
Peter Colberg
0a20307c39 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.
2015-10-29 20:07:35 -04:00
Peter Colberg
f35e18e4b5 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.
2015-10-29 19:48:49 -04:00
Peter Colberg
9b7184ec56 Update Unicode data
Fixes Travis builds on Ubuntu 12.04 LTS with Ruby 1.9.3-p551.
2015-10-29 19:41:16 -04:00
Steven G. Johnson
e52c8c4c8f Merge pull request #55 from petercolberg/master
Do not export internal unsafe_encode_char()
2015-10-29 13:30:56 -04:00
Peter Colberg
f314738f71 Enable compiler warnings in makefile 2015-10-29 01:17:20 -04:00
Peter Colberg
09360de186 Do not export internal unsafe_encode_char() 2015-10-29 00:45:39 -04:00
Steven G. Johnson
24515cbbe3 add missing NEWS links 2015-07-06 12:28:50 -04:00
Steven G. Johnson
8578918015 updated NEWS for 1.3 2015-07-06 11:34:46 -04:00
Steven G. Johnson
c35d1bf646 Merge pull request #51 from JuliaLang/cjh/unifont8
Update character widths from Unifont 8.0.01
2015-07-06 11:09:20 -04:00
Jiahao Chen
cfa7c96003 Update Unicode data 2015-06-29 16:43:07 -04:00
Jiahao Chen
f0675f26f4 Update Unifont to 8.0.01 2015-06-29 16:42:34 -04:00
Steven G. Johnson
7d52470346 Merge pull request #49 from JuliaLang/cjh/mw
Try again to update Unicode 8 data
2015-06-26 14:28:30 -04:00
Jiahao Chen (陈家豪)
1cc58b2bc9 Updated Unicode 8 data - now sorted internally by data generator 2015-06-26 12:12:13 -04:00
Jiahao Chen
b14ca2be57 Update Unicode data 2015-06-26 12:01:27 -04:00