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
f314738f71
Enable compiler warnings in makefile
2015-10-29 01:17:20 -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
a8fb4b1772
add toupper/tolower functions (for JuliaLang/julia#11471 )
2015-05-29 22:00:30 -04:00
ScottPJones
6a229a6776
Add tests for valid codepoints and iterate function
2015-05-29 20:11:10 +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
0528e9cda6
build bench/bench for make check, to lessen the chance that it bitrots again
2015-03-28 14:47:29 -04:00
Milan Bouchet-Valat
1b7ba89cdd
Create additional symlinks to .so file on non-OSX
2015-03-27 18:19:29 +01:00
Milan Bouchet-Valat
786a6e3282
Add support for DESTDIR in make install
...
Useful to build distribution packages.
2015-03-27 18:19:25 +01:00
Steven G. Johnson
a4c84d2063
fix #2 : add charwidth function
2015-03-12 12:10:19 -04:00
Tony Kelman
263421f9e8
Temporary fix for getting VERSION and SOVERSION into cmake
...
only use ${SO_MAJOR} for cmake SOVERSION
use 1.2.0 for version in cmake
use only abi version for VERSION property in cmake
2015-03-09 16:27:40 -07:00
Steven G. Johnson
50381b951a
comment typos
2015-03-07 22:02:49 -05:00
Steven G. Johnson
a4d707b593
whoops, forgot -Wl before -soname
2015-03-07 22:00:51 -05:00
Steven G. Johnson
2d636a5686
version the shared library ( fix #24 )
2015-03-07 21:49:54 -05:00
Steven G. Johnson
90721f2d39
directory cleanup: move tests and data into subdirectories
2015-03-06 17:36:08 -05:00
Steven G. Johnson
402883c78e
rename back to utf8proc now that we are taking over maintenance
2015-03-06 12:43:37 -05:00
Steven G. Johnson
397a1eabea
update graphemes for Unicode 7, add utf8proc_grapheme_break function
2014-12-12 16:30:31 -05:00
Steven G. Johnson
539d2cc202
grapheme test for UAX#29
2014-12-12 16:29:29 -05:00
Tony Kelman
d61d551d5a
s/LIBRARY_EXPORTS/MOJIBAKE_EXPORTS/
2014-09-23 11:08:52 -07:00
Tony Kelman
a840e5dae1
add DLLEXPORT to all functions in mojibake.h
2014-09-22 09:53:55 -07:00
Steven G. Johnson
bc357b276f
updated 'make clean' target
2014-08-08 12:36:14 -04:00
Steven G. Johnson
91a77d7588
added normalization and encoding test for #13
2014-08-07 16:52:16 -04:00
Elliot Saba
af06f858e1
I like SHLIB_EXT, for consistency
2014-07-29 22:35:03 -04:00
Jiahao Chen
2cbc86bc7f
Add SHARED_SUFFIX appropriate for OSX and Linux
2014-07-28 16:19:01 -04:00
Steven G. Johnson
2c4e520a17
utf8proc.h -> mojibake.h ( closes #10 )
2014-07-18 14:28:17 -04:00
Steven G. Johnson
a5aeb49e20
Merge pull request #9 from JuliaLang/cjh/markdata
...
Update data tables to Unicode 7.0.0
2014-07-18 12:12:19 -04:00
Steven G. Johnson
48645e36e4
replace ar with $(AR) for #4
2014-07-18 11:35:02 -04:00
Jiahao Chen
13a72c152a
Add 'update' target to Makefile
...
This target downloads all necessary Unicode data files using curl and rebuilds utf8proc_data.c using data_generator.rb (saving the new copy to utf8proc_data.c.new).
2014-07-18 10:46:11 -04:00
Jiahao Chen
6436f9faf9
Rename libutf8proc -> libmojibake. Closes #5
2014-07-18 08:52:50 -04:00
Steven G. Johnson
0d7224a6d8
markdown and other cosmetic updates
2014-07-15 16:04:36 -04:00
Steven G. Johnson
ab9520d188
import of utf8proc-v1.1.6
2014-07-15 15:29:52 -04:00