Commit Graph

178 Commits

Author SHA1 Message Date
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
Steven G. Johnson
eefdaed218 sort keys to try to eliminate data dependence on Ruby version 2015-06-25 19:15:57 -04:00
Jiahao Chen (陈家豪)
79232c46ea Fix gitignore to ignore .so* 2015-06-25 18:00:01 -04:00
Steven G. Johnson
6a7f92da64 fix #46 (make sure symbol-like codepoints have nonzero width even if they aren't in Unifont) 2015-06-24 14:07:15 -04:00
Steven G. Johnson
2b6aa142ac update NEWS for #43 and #45 2015-06-24 11:49:16 -04:00
Jiahao Chen
817dfd40bb Update README.md
Link to Lua-mojibake (closes #44)

Bump Unicode version (ref: #45)
2015-06-23 17:21:36 -04:00
Jiahao Chen
327bf10079 Merge pull request #45 from JuliaLang/cjh/unicode8
Update data to Unicode 8.0.0 standard
2015-06-23 17:18:59 -04:00
Jiahao Chen
9a6a3a4167 Force Travis to spit out diff 2015-06-23 16:18:36 -04:00
Jiahao Chen
92bc19fbe0 Updated data file to Unicode 8.0.0 2015-06-23 16:18:35 -04:00
Jiahao Chen
f075dcd70d Merge pull request #43 from JuliaLang/nl/flags
Always pass -fPIC in CFLAGS
2015-06-20 19:06:39 -04:00
Jiahao Chen
d18963cc46 Minor fixes to work with Unicode 8.0.0 data 2015-06-20 08:03:40 -04:00
Milan Bouchet-Valat
80385462ad Always pass -fPIC and -std=c99 in CFLAGS
Fixes #42.
2015-06-08 09:34:11 +02:00
Tony Kelman
f7219d516e 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
2015-05-30 07:28:19 -07:00
Steven G. Johnson
1f21f3c096 Merge pull request #38 from jlec/jlec-master
Enhance build process
2015-05-30 09:21:32 -04:00
Steven G. Johnson
d75985cf09 bump API/ABI version to 1.3, add NEWS 2015-05-29 23:07:29 -04:00
Steven G. Johnson
59b69142ea Merge pull request #40 from JuliaLang/casefuncs
add toupper/tolower functions
2015-05-29 22:58:12 -04:00
Steven G. Johnson
a8fb4b1772 add toupper/tolower functions (for JuliaLang/julia#11471) 2015-05-29 22:00:30 -04:00
Steven G. Johnson
35ec8e32e7 Merge pull request #35 from ScottPJones/spj/valid
Fix #34 handle 66 Unicode non-characters and surrogates correctly
2015-05-29 21:58:21 -04:00
ScottPJones
6a229a6776 Add tests for valid codepoints and iterate function 2015-05-29 20:11:10 +02:00
Scott Paul Jones
6249e6b8b1 Fix #34 handle 66 Unicode non-characters, also improve performance and surrogate handling 2015-05-29 19:50:03 +02:00
Justin Lecher
3a6fc5b2a2 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>
2015-05-29 16:34:24 +02:00
Steven G. Johnson
7c14ef5f83 Merge pull request #32 from JuliaLang/tk/ssize_t_typedef
Use a typedef instead of a #define for ssize_t with MSVC
2015-04-09 11:36:40 -04:00
Tony Kelman
0a818c7003 Prefix other C99 typedefs with utf8proc_ 2015-04-06 22:36:33 -07:00
Tony Kelman
ad27722923 Use a new typedef utf8proc_ssize_t to avoid define collisions
with MSVC
2015-04-05 20:06:13 -07:00
Tony Kelman
498ecbddd8 Run appveyor also on release branches 2015-04-04 21:30:29 -07:00
Steven G. Johnson
a1c429a45b rename DLLEXPORT to UTF8PROC_DLLEXPORT to prevent conflicts with other header files that define DLLEXPORT 2015-03-30 11:05:51 -04:00
Steven G. Johnson
0528e9cda6 build bench/bench for make check, to lessen the chance that it bitrots again 2015-03-28 14:47:29 -04:00
Steven G. Johnson
f981f04d0b fix some stray references to mojibake in the bench/ directory 2015-03-28 14:38:59 -04:00