unicode 15 support (#247)
This commit is contained in:
parent
1f1e42d3b8
commit
3c4929495a
@ -68,7 +68,7 @@ endif()
|
|||||||
if(UTF8PROC_ENABLE_TESTING)
|
if(UTF8PROC_ENABLE_TESTING)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
file(MAKE_DIRECTORY data)
|
file(MAKE_DIRECTORY data)
|
||||||
set(UNICODE_VERSION 14.0.0)
|
set(UNICODE_VERSION 15.0.0)
|
||||||
file(DOWNLOAD https://www.unicode.org/Public/${UNICODE_VERSION}/ucd/NormalizationTest.txt ${CMAKE_BINARY_DIR}/data/NormalizationTest.txt SHOW_PROGRESS)
|
file(DOWNLOAD https://www.unicode.org/Public/${UNICODE_VERSION}/ucd/NormalizationTest.txt ${CMAKE_BINARY_DIR}/data/NormalizationTest.txt SHOW_PROGRESS)
|
||||||
file(DOWNLOAD https://www.unicode.org/Public/${UNICODE_VERSION}/ucd/auxiliary/GraphemeBreakTest.txt ${CMAKE_BINARY_DIR}/data/GraphemeBreakTest.txt SHOW_PROGRESS)
|
file(DOWNLOAD https://www.unicode.org/Public/${UNICODE_VERSION}/ucd/auxiliary/GraphemeBreakTest.txt ${CMAKE_BINARY_DIR}/data/GraphemeBreakTest.txt SHOW_PROGRESS)
|
||||||
add_executable(case test/tests.h test/tests.c utf8proc.h test/case.c)
|
add_executable(case test/tests.h test/tests.c utf8proc.h test/case.c)
|
||||||
|
|||||||
4
NEWS.md
4
NEWS.md
@ -1,5 +1,9 @@
|
|||||||
# utf8proc release history #
|
# utf8proc release history #
|
||||||
|
|
||||||
|
## Version 2.8.0-alpha ##
|
||||||
|
|
||||||
|
- Unicode 15 support ([#247]).
|
||||||
|
|
||||||
## Version 2.7.0 ##
|
## Version 2.7.0 ##
|
||||||
|
|
||||||
2021-12-16
|
2021-12-16
|
||||||
|
|||||||
@ -59,7 +59,7 @@ The C library is found in this directory after successful compilation
|
|||||||
and is named `libutf8proc.a` (for the static library) and
|
and is named `libutf8proc.a` (for the static library) and
|
||||||
`libutf8proc.so` (for the dynamic library).
|
`libutf8proc.so` (for the dynamic library).
|
||||||
|
|
||||||
The Unicode version supported is 13.0.0.
|
The Unicode version supported is 15.0.0.
|
||||||
|
|
||||||
For Unicode normalizations, the following options are used:
|
For Unicode normalizations, the following options are used:
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@ CharWidths.txt: charwidths.jl EastAsianWidth.txt
|
|||||||
$(JULIA) charwidths.jl > $@
|
$(JULIA) charwidths.jl > $@
|
||||||
|
|
||||||
# Unicode data version (must also update utf8proc_unicode_version function)
|
# Unicode data version (must also update utf8proc_unicode_version function)
|
||||||
UNICODE_VERSION=14.0.0
|
UNICODE_VERSION=15.0.0
|
||||||
|
|
||||||
UnicodeData.txt:
|
UnicodeData.txt:
|
||||||
$(CURL) $(CURLFLAGS) -o $@ https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/UnicodeData.txt
|
$(CURL) $(CURLFLAGS) -o $@ https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/UnicodeData.txt
|
||||||
|
|||||||
@ -101,7 +101,7 @@ UTF8PROC_DLLEXPORT const char *utf8proc_version(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
UTF8PROC_DLLEXPORT const char *utf8proc_unicode_version(void) {
|
UTF8PROC_DLLEXPORT const char *utf8proc_unicode_version(void) {
|
||||||
return "14.0.0";
|
return "15.0.0";
|
||||||
}
|
}
|
||||||
|
|
||||||
UTF8PROC_DLLEXPORT const char *utf8proc_errmsg(utf8proc_ssize_t errcode) {
|
UTF8PROC_DLLEXPORT const char *utf8proc_errmsg(utf8proc_ssize_t errcode) {
|
||||||
|
|||||||
6552
utf8proc_data.c
6552
utf8proc_data.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user