Commit Graph

226 Commits

Author SHA1 Message Date
Steven G. Johnson
e57cb43f2c
copyright year update 2019-04-09 15:10:20 -04:00
Steven G. Johnson
e1b05f7be3
fontforge is no longer needed 2019-04-09 15:09:57 -04:00
Steven G. Johnson
454f60150c Merge branch 'master' of https://github.com/JuliaLang/utf8proc 2019-03-30 16:34:11 -04:00
Steven G. Johnson
eb39b060e7 NEWS for 2.3 2019-03-30 16:33:59 -04:00
Steven G. Johnson
abf81603ba
add utf8proc_unicode_version (#151) 2019-03-30 16:31:02 -04:00
Steven G. Johnson
fd4d8a3454
give up on Unifont for charwidth data (#150)
* fix CHARBOUND option for non-characters

* give up on unifont for charwidth computation
2019-03-30 16:05:50 -04:00
Steven G. Johnson
94395db282 Merge branch 'master' of https://github.com/JuliaLang/utf8proc 2019-03-30 16:04:48 -04:00
Steven G. Johnson
3637d51855 doc clarification (closing #110) 2019-03-30 16:04:14 -04:00
Steven G. Johnson
4603e00cfc
fix CHARBOUND option for non-characters (#149) 2019-03-30 15:22:25 -04:00
Steven G. Johnson
e76cebb784
update for unicode 12 (#148) 2019-03-30 13:46:01 -04:00
Steven G. Johnson
5ae11afe8f
rebased cmake updates (#147)
* Use a target property instead of CMAKE_C_FLAGS

It is a global property, which is not great when importing utf8proc in other CMake projects.

* Use target properties instead of add_definitions

It modifies builds settings globally, which is not great when using
the library as part of a bigger CMake build

* Expose header search path with target_include_directories

This makes it possible to use utf8proc in a larger CMake based project
with

add_subdirectory(utf8proc)
target_link_libraries(my_app utf8proc)

* more rebase fixes
2019-03-30 13:37:34 -04:00
Steven G. Johnson
089a3af7ee
use Travis Julia support to get a modern Julia version (#146)
use Travis include: to specify Julia version
2019-03-30 13:17:21 -04:00
Steven G. Johnson
3c37219d1a fix Julia script for Julia 1.0 2018-11-01 17:17:06 -04:00
Graham Inggs
be3b244285 Pass users' flags (#141) 2018-11-01 17:10:48 -04:00
Michael Drake
5dcd38217a Generate and install a pkg-config file. (#142)
* Generate and install a pkg-config file.

* Use Makefile libdir and includedir for pkg-config.

This splits the prefix out from these variables, so that
the same variables can be used to construct the pkg-config
file.

* Update the manifest for installation of pkg-config file.

* Revert "Use Makefile libdir and includedir for pkg-config."

This reverts commit a4cd6dc64a357dd5b91781045b3ac1c4679af97f.

* Use Makefile libdir and includedir for pkg-config.

This splits the prefix out from these variables, so that
the same variables can be used to construct the pkg-config
file.
2018-11-01 17:09:16 -04:00
Steven G. Johnson
f174976532
link fix 2018-07-25 14:11:33 -04:00
Steven G. Johnson
97ef668b31 badge updates 2018-07-24 13:35:48 -04:00
Steven G. Johnson
6a659a5843 doc fixes, don't export stdint and limits.h values UINT16_MAX and SSIZE_MAX 2018-07-24 13:32:42 -04:00
Steven G. Johnson
e0295be467 Merge branch 'master' of https://github.com/JuliaLang/utf8proc 2018-07-24 13:25:51 -04:00
Steven G. Johnson
98e5529a0a 2.2 release date 2018-07-24 13:25:38 -04:00
Steven G. Johnson
6a899e100a update copyright statement for data_generator 2018-07-24 13:24:56 -04:00
Steven G. Johnson
60a2398184 copyright year updates 2018-07-24 13:20:49 -04:00
Steven G. Johnson
5384169627 note Unicode 11 in NEWS 2018-07-24 13:19:42 -04:00
Steven G. Johnson
d4a58cfec5
update data and algorithms for Unicode 11 (#140) 2018-07-24 13:18:48 -04:00
Steven G. Johnson
02f4e1890c
charwidth=1 for soft hyphen and unassigned codepoints (#135)
* use width=1 for soft hyphen and for unassigned/PUA codepoints

* don't count unassigned codepoints when comparing with system wcwidth

* more tests

* indentation fixes

* NEWS for 135

* remove special-casing for arabic control characters affecting a span of numbers, which are sometimes zero-width and sometimes not

* regenerate
2018-07-24 10:45:02 -04:00
Nehal J Wani
0975bf9b6d Enhance CMakeLists.txt (#138)
* Change name of static library if building with msvc

* Add install target for cmake
2018-06-06 16:16:07 +02:00
Steven G. Johnson
d81308faba
uppercase mapping ß (U+00df) to ẞ (U+1E9E) (#134)
* uppercase(0x00df) = 0x1e9e

* tests for titlecase and u+00df uppercase

* NEWS, another test
2018-05-02 14:18:26 -04:00
Steven G. Johnson
8639450134 NEWS for upcoming 2.2 release, version bump 2018-05-02 08:23:40 -04:00
Steven G. Johnson
bdc8b9e4b2
Case folding fixes (#133)
* Fixes allowing for “Full” folding and NFKC_CaseFold compliance.

* Only include C (Common) and F (Full) foldings from CaseFolding.txt. Removed S (Simple) since F & S are specified to be exclusive.
* Extend UTF8PROC_IGNORE to also ignore unassigned codepoints (such as \u2065) which are specified as being discarded by NFKC_CF.

* Document the changes to UTF8PROC_IGNORE in header.

* Add NFKC_CF helper function with documentation.

* restore old IGNORE behavior, add UTF8PROC_STRIPNA, rename to utf8proc_NFKC_Casefold, add a test

* success message

* test that IGNORE does not strip NA

* data update

* NFKC_Casefold shouldn't strip NA
2018-05-02 08:15:02 -04:00
past-due
48949bd3eb Static library support improvements (#123)
* `#define UTF8PROC_STATIC` to disable DLLEXPORT

`#define UTF8PROC_STATIC` to disable DLLEXPORT

* [CMake] Automatically define UTF8PROC_STATIC if BUILD_SHARED_LIBS is off

* [Makefile] Support additional UTF8PROC_DEFINES, which can be used to specify flags like `-DUTF8PROC_STATIC`
2018-04-29 21:37:12 -04:00
past-due
fe3f6bda11 [CMake] Use target_compile_definitions to avoid affecting global definitions (#121) 2018-04-27 12:55:53 -04:00
Steven G. Johnson
b945eddb2c
note Unicode 10 support 2018-04-27 12:51:07 -04:00
Steven G. Johnson
d736adeff1
update to unicode 10 (#132) 2018-04-27 12:50:19 -04:00
Steven G. Johnson
d688ac1226
version bump to 2.1.1 (#131) 2018-04-27 09:58:34 -04:00
Steven G. Johnson
3e6230d9bf fix make clean 2018-04-27 09:30:37 -04:00
Steven G. Johnson
ba042cf728 missing return code, success message in test/misc.c 2018-04-27 09:10:38 -04:00
Steven G. Johnson
d050c4636a make internal function static 2018-04-27 08:57:54 -04:00
Steven G. Johnson
53d7968055 added test for #128 2018-04-27 08:46:44 -04:00
Benito van der Zander
acc204f1f1 possible fix for #128 (#129)
Does this help? I do not really remember what I wrote back then
2018-04-27 08:06:14 -04:00
Ryan Schmidt
6a20831a07 Use LDFLAGS when building libutf8proc.dylib (#125) 2018-04-18 07:50:15 -07:00
Branko Čibej
3a10df6013 Fix declaration-after-statement warning when compiling in strict C90 mode. (#113) 2017-09-21 12:27:24 -04:00
Christopher Baker
2a2f97e193 Update documentation to reflect Unicode 9.0.0. (#107)
This makes the inline documentation match the README.
2017-06-08 09:29:54 -07:00
Paul Smith
95fc75b839 Ensure generated const data tables are hidden via "static" (#100) 2017-02-19 17:33:25 -05:00
Jameson Nash
91b91fe033 don't set MAKE variable in Makefile (#99)
fix #95
2017-02-18 10:14:45 -05:00
Árpád Goretity 
31a8788886 removed inclusion of non-portable header file (#94) 2017-01-14 08:12:29 -05:00
Michael Hatherly
eab97d16fb Don't use cached version of UnicodeData.txt (#92)
Ref: https://github.com/JuliaLang/julia/pull/19725, UnicodeData.txt is
now being cached in JuliaLang/julia's build.
2017-01-03 16:44:23 -08:00
Steven G. Johnson
a7f3a3212a fix typo in NEWS date 2016-12-26 16:01:42 -05:00
Steven G. Johnson
40e605959e version 2.1 release 2016-12-26 15:52:48 -05:00
Steven G. Johnson
6271fb97c0 update NEWS [ci skip] 2016-12-11 16:42:24 -05:00
Steven G. Johnson
15e1819cdd update to unifont 9.0.04 2016-12-11 16:35:27 -05:00