Commit Graph

288 Commits

Author SHA1 Message Date
Steven G. Johnson
0dc0fcf8db slight clarification 2019-05-14 11:00:08 -04:00
Steven G. Johnson
e6fba4aa8c update header file comments (closes #157) 2019-05-14 10:53:55 -04:00
Steven G. Johnson
5c632c5742 NEWS for 2.4, updated version numbers (which I forgot in 2.3, grrr) 2019-05-10 21:24:14 -04:00
Steven G. Johnson
9bb261f66b ignore vscode 2019-05-10 21:13:32 -04:00
GOTOH Shunsuke
7b28b9e60c update for unicode 12.1 (#156) 2019-05-10 21:12:45 -04:00
Steven G. Johnson
5d902fa1aa
typo 2019-05-08 11:24:51 -04:00
Steven G. Johnson
46b87f061e
more info 2019-05-08 11:24:27 -04:00
Steven G. Johnson
d416617270
note official releases 2019-05-08 11:22:37 -04:00
Steven G. Johnson
1fcb211035
more compile info 2019-05-08 11:20:25 -04:00
Michael Osipov
229fb8483e Document HP-UX build support (#155) 2019-05-07 20:02:19 -04:00
Michael Osipov
e1f8c728bb Improve portability of Make (#154)
Several options passed to $(CC) are not portable, e.g., for HP aCC.
Move them to variables.
2019-05-07 20:00:21 -04:00
past-due
416749803b [CMake] Add UTF8PROC_NO_INSTALL option (#152)
* [CMake] Add UTF8PROC_NO_INSTALL option

* change to UTF8PROC_INSTALL
2019-04-17 14:49:04 -04:00
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