summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-12-29 20:01:09 +0100
committerBruno Haible <bruno@clisp.org>2021-12-29 20:01:34 +0100
commitb1936b2a75e6ce4f85642836abb71c14800516be (patch)
tree3d20f520e79e214febe4bdbe50c99da94bef5a25 /NEWS
parent729c31ed79c77b2e670b45fa383a0509eaba66d8 (diff)
downloadlibunistring-b1936b2a75e6ce4f85642836abb71c14800516be.tar.gz
doc: Update for new behaviour of line breaking functions.
* doc/unilbrk.texi (unilbrk.h): Document UC_BREAK_CR_BEFORE_LF. Mention that this value can occur in the array returned by u*_possible_linebreaks and u*_width_linebreaks. * NEWS: Mention the change.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 42b6cd2..f03c616 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ New in 0.9.11:
* The license has changed from "LGPLv3+ or GPLv2" to "LGPLv3+ or GPLv2+".
* The functions u8_uctomb, u16_uctomb, u32_uctomb now support strings larger
than 2 GiB by taking an 'n' argument of type ptrdiff_t (instead of int).
+* The functions u*_possible_linebreaks and u*_width_linebreaks now make it
+ easier to work with strings that contain CR-LF sequences: In this case,
+ in the returned array, it will return UC_BREAK_CR_BEFORE_LF followed by
+ UC_BREAK_MANDATORY (instead of twice UC_BREAK_MANDATORY).
* Fixed multithread-safety bugs on Cygwin, native Windows, and Haiku.
New in 0.9.10: