update NEWS for 1.2-dev

This commit is contained in:
Steven G. Johnson 2015-03-12 14:29:33 -04:00
parent 3822984606
commit dad0cbdcab
2 changed files with 26 additions and 5 deletions

28
NEWS.md
View File

@ -1,9 +1,29 @@
# libutf8proc release history #
No releases so far.
# utf8proc release history # # utf8proc release history #
## Version 1.2-dev ##
- Updated for Unicode 7.0.
- New function `utf8proc_grapheme_break(c1,c2)` that returns whether
there is a grapheme break between `c1` and `c2`.
- New function `utf8proc_charwidth(c)` that returns the number of
column-positions that should be required for `c`; essentially a
portable replacment for `wcwidth(c)`.
- New function `utf8proc_category(c)` that returns the Unicode
category of `c` (as one of the constants `UTF8PROC_CATEGORY_xx`).
- New function `utf8proc_category_string(c)` that returns the Unicode
category of `c` as a two-character string.
- `cmake` script `CMakeLists.txt`, in addition to `Makefile`, for
easier compilation on Windows.
- The shared library is now versioned (e.g. has a soname on GNU/Linux).
- C++/MSVC compatibility.
## Version 1.1.6 ## ## Version 1.1.6 ##
2013-11-27: 2013-11-27:

View File

@ -398,7 +398,8 @@ DLLEXPORT int utf8proc_category(int32_t c);
UTF8PROC_CATEGORY_* constants.) */ UTF8PROC_CATEGORY_* constants.) */
DLLEXPORT const char *utf8proc_category_string(int32_t c); DLLEXPORT const char *utf8proc_category_string(int32_t c);
/* Return the two-letter Unicode category string for c (e.g. "Lu" or "Co"). */ /* Return the two-letter (nul-terminated) Unicode category string for
c (e.g. "Lu" or "Co"). */
DLLEXPORT ssize_t utf8proc_map( DLLEXPORT ssize_t utf8proc_map(
const uint8_t *str, ssize_t strlen, uint8_t **dstptr, int options const uint8_t *str, ssize_t strlen, uint8_t **dstptr, int options