From 9c13f23169670adf50309ce23ece70bb858bf7d5 Mon Sep 17 00:00:00 2001 From: Yongwei Wu Date: Sun, 9 Sep 2018 13:14:43 +0800 Subject: [PATCH] Update for the libunibreak 4.1 release. --- Doxyfile | 2 +- NEWS | 10 +++++++++- configure.ac | 2 +- src/Makefile.am | 2 +- src/unibreakbase.c | 2 +- src/unibreakbase.h | 4 ++-- 6 files changed, 15 insertions(+), 7 deletions(-) diff --git a/Doxyfile b/Doxyfile index 0da3752..6b36872 100644 --- a/Doxyfile +++ b/Doxyfile @@ -23,7 +23,7 @@ PROJECT_NAME = libunibreak # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 4.0 +PROJECT_NUMBER = 4.1 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff --git a/NEWS b/NEWS index d217628..9e3b6f6 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,10 @@ +New in libunibreak 4.1 + +- Update the code and data to conform to Unicode 11.0.0, especially + adding support for extended pictographs in word and grapheme breaking +- ZWJ support has been much improved (it was broken) +- Make minor tweaks to the project files + New in libunibreak 4.0 - Update the code and data to conform to Unicode 9.0.0 @@ -22,7 +29,8 @@ New in libunibreak 1.1 New in libunibreak 1.0 - Add word breaking support -- Change the library name to "libunibreak", while keeping maximum compatibility +- Change the library name to "libunibreak", while keeping maximum + compatibility - Add pkg-config support New in liblinebreak 2.1 diff --git a/configure.ac b/configure.ac index 9c3817c..0827437 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.57) -AC_INIT([libunibreak],[4.0],[wuyongwei@gmail.com]) +AC_INIT([libunibreak],[4.1],[wuyongwei@gmail.com]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([src/linebreak.c]) AC_CONFIG_HEADERS([config.h]) diff --git a/src/Makefile.am b/src/Makefile.am index 65884e7..a5714e3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,7 +9,7 @@ include_HEADERS = \ lib_LTLIBRARIES = libunibreak.la libunibreak_la_CFLAGS = -W -Wall -libunibreak_la_LDFLAGS = -no-undefined -version-info 4:0:1 +libunibreak_la_LDFLAGS = -no-undefined -version-info 4:1:1 libunibreak_la_SOURCES = \ unibreakbase.c \ unibreakdef.c \ diff --git a/src/unibreakbase.c b/src/unibreakbase.c index 686852a..ef24c90 100644 --- a/src/unibreakbase.c +++ b/src/unibreakbase.c @@ -4,7 +4,7 @@ * Break processing in a Unicode sequence. Designed to be used in a * generic text renderer. * - * Copyright (C) 2015-2016 Wu Yongwei + * Copyright (C) 2015-2018 Wu Yongwei * * This software is provided 'as-is', without any express or implied * warranty. In no event will the author be held liable for any damages diff --git a/src/unibreakbase.h b/src/unibreakbase.h index ff9a6ce..9b42d6e 100644 --- a/src/unibreakbase.h +++ b/src/unibreakbase.h @@ -4,7 +4,7 @@ * Break processing in a Unicode sequence. Designed to be used in a * generic text renderer. * - * Copyright (C) 2015-2016 Wu Yongwei + * Copyright (C) 2015-2018 Wu Yongwei * * This software is provided 'as-is', without any express or implied * warranty. In no event will the author be held liable for any damages @@ -39,7 +39,7 @@ extern "C" { #endif -#define UNIBREAK_VERSION 0x0400 /**< Version of the library linebreak */ +#define UNIBREAK_VERSION 0x0401 /**< Version of the libunibreak */ extern const int unibreak_version; #ifndef UNIBREAK_UTF_TYPES_DEFINED