162707259c
What's New in libchewing 0.4.0 (Apr 11, 2014) --------------------------------------------------------- * Add the following APIs: - Userphrase manipulation - chewing_userphrase_enumerate - chewing_userphrase_has_next - chewing_userphrase_get - chewing_userphrase_add - chewing_userphrase_remove - chewing_userphrase_lookup - Keyboardless action - chewing_cand_open - chewing_cand_close - chewing_cand_string_by_index_static - chewing_cand_choose_by_index - chewing_cand_list_first - chewing_cand_list_last - chewing_cand_list_has_next - chewing_cand_list_has_prev - chewing_cand_list_next - chewing_cand_list_prev - chewing_commit_preedit_buf - chewing_clean_preedit_buf - chewing_clean_bopomofo_buf - Bopomofo buffer - chewing_bopomofo_Check - chewing_bopomofo_String_static - Static API - chewing_aux_String_static - chewing_buffer_String_static - chewing_cand_String_static - chewing_commit_String_static - chewing_kbtype_String_static - Misc - chewing_new2 * Dictionary format: - Remove text data support - Introduce platform independent binary data representation - Move binary data to share/libchewing/* * Userphrase format: - Support SQLite-based user phrase storage and manipulation * New coding style: - Use scripts/indent.sh to change coding style * Bug fixed: - Fix chewing_zuin_Check wrong return value #62 - Fix numlock key cannot output number #45 - Fix negative frequency problem #75 - Fix cannot select candidate when symbol exists #79 - Avoid clearing the buffer when Up arrow key is pressed and escCleanAllBuf is 1. - Fix cannot handle numlock 9 correctly #88 - Fix invalid characters are committed when pre-edit buffer is full - Fix AutoLearnPhrase cannot fill correct wordSeq #108 - Fix wrong auto learn when symbol in between #112 - Fix missing rpl_malloc for cross compilation #118 - Fix '\n' appear in symbol table #126 - Reopen candidate list for symbols with down key #127 #135 - Let up key close candidate list of symbols #131 #138 * Misc: - Add `make check' in cmake build - Change MAX_UTF8_SIZE to 4 - Update official website URL - Use CreateFileA() instead of CreateFile() to stick with the ANSI API - Do not check phrase longer than MAX_PHRASE_LEN - Implement dynamic programming phrasing algorithm #73 - Clean bopomofo buffer when mode change to English mode #89 #97 - Update README to GFM. - Replace 'INCLUDE' with 'AM_CPPFLAGS' #68 #114 #116 - Use [Shift]+[-] to input EM DASH (u+2014) as default #113 #124 - Use Backspace to close candidate window #128 - Use PgUp/PgDn to turn pages of candidates #129 - Update Windows default search path #78 - The word "zuin", "Zhuyin" are obsolete terms for "Bopomofo" - Add const whenever possible in several APIs - Toggle shape mode with shift-space #141 #142 * Successful stories: - chewing-windows-tsf project provides Text Services Framework support for Microsoft Windows.
49 lines
1.4 KiB
Text
49 lines
1.4 KiB
Text
$NetBSD: patch-configure,v 1.2 2014/08/02 04:54:07 obache Exp $
|
|
|
|
* test(1) portability fix
|
|
https://github.com/chewing/libchewing/pull/158
|
|
|
|
--- configure.orig 2014-04-11 01:49:45.000000000 +0000
|
|
+++ configure
|
|
@@ -13212,7 +13212,7 @@ else
|
|
with_sqlite3=yes
|
|
fi
|
|
|
|
- if test x"$with_sqlite3" == x"yes"; then
|
|
+ if test x"$with_sqlite3" = x"yes"; then
|
|
WITH_SQLITE3_TRUE=
|
|
WITH_SQLITE3_FALSE='#'
|
|
else
|
|
@@ -13229,7 +13229,7 @@ else
|
|
with_internal_sqlite3=no
|
|
fi
|
|
|
|
- if test x"$with_internal_sqlite3" == x"yes"; then
|
|
+ if test x"$with_internal_sqlite3" = x"yes"; then
|
|
WITH_INTERNAL_SQLITE3_TRUE=
|
|
WITH_INTERNAL_SQLITE3_FALSE='#'
|
|
else
|
|
@@ -13239,12 +13239,12 @@ fi
|
|
|
|
|
|
# for sqlite
|
|
-if test x"$with_sqlite3" == x"yes"; then :
|
|
+if test x"$with_sqlite3" = x"yes"; then :
|
|
|
|
|
|
$as_echo "#define WITH_SQLITE3 1" >>confdefs.h
|
|
|
|
- if test x"$with_internal_sqlite3" == x"no"; then :
|
|
+ if test x"$with_internal_sqlite3" = x"no"; then :
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open" >&5
|
|
$as_echo_n "checking for library containing sqlite3_open... " >&6; }
|
|
@@ -14065,7 +14065,7 @@ CC_FOR_BUILD=${CC_FOR_BUILD-${CC}}
|
|
AM_CFLAGS="$AM_CFLAGS -Wall $CFLAGS"
|
|
|
|
# Add '_GNU_SOURCE' for asprintf
|
|
-if test x$ac_cv_func_asprintf == xyes; then :
|
|
+if test x$ac_cv_func_asprintf = xyes; then :
|
|
DEFAULT_CPPFLAGS="$DEFAULT_CPPFLAGS -D_GNU_SOURCE"
|
|
fi
|
|
|