* 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
* 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.
* 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
* 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
* `#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`
* new utf8proc_map_custom for hooking in user-defined custom mappings
* whoops, add test program
* NEWS, version bump for 2.1
* change test functions to static so that gcc doesn't complain about missing prototypes
* Split codepoint sequence normalisation out into separate function.
This creates utf8proc_normalize_utf32() which takes and returns
a UTF-32 string, applying the following options:
- UTF8PROC_NLF2LS
- UTF8PROC_NLF2PS
- UTF8PROC_NLF2LF
- UTF8PROC_STRIPCC
- UTF8PROC_COMPOSE
- UTF8PROC_STABLE
The utf8proc_reencode() function has been updated to call the
new utf8proc_normalize_utf32().
* Update code documentation: utf8proc_reencode handles UTF8PROC_CHARBOUND.