diff --git a/CMakeLists.txt b/CMakeLists.txt index 70623f0b5..3010e802d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.24.0) project(libchewing LANGUAGES C) -set(CMAKE_PROJECT_VERSION 0.8.0-rc.3) +set(CMAKE_PROJECT_VERSION 0.8.0-rc.4) set(LIBCHEWING_VERSION ${CMAKE_PROJECT_VERSION}) set(PACKAGE_VERSION ${CMAKE_PROJECT_VERSION}) set(LIBCHEWING_BINARY_VERSION 1.0.0) diff --git a/Cargo.lock b/Cargo.lock index 5bbd6fad2..0d2e88980 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -94,7 +94,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chewing" -version = "0.8.0-beta.3" +version = "0.8.0-beta.4" dependencies = [ "der", "directories", @@ -105,7 +105,7 @@ dependencies = [ [[package]] name = "chewing-cli" -version = "0.8.0-beta.3" +version = "0.8.0-beta.4" dependencies = [ "anyhow", "chewing", @@ -115,7 +115,7 @@ dependencies = [ [[package]] name = "chewing_capi" -version = "0.8.0-beta.3" +version = "0.8.0-beta.4" dependencies = [ "chewing", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 6a89c67a5..6db66f84b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "chewing" description = "The Chewing (酷音) intelligent Zhuyin input method." documentation = "https://docs.rs/chewing" license = "LGPL-2.1-or-later" -version = "0.8.0-beta.3" +version = "0.8.0-beta.4" rust-version = "1.70" edition = "2021" diff --git a/NEWS b/NEWS index 22060ca8f..be38423a4 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -What's New in libchewing 0.8.0-rc.2 (UNRELEASED) +What's New in libchewing 0.8.0-rc.4 (UNRELEASED) --------------------------------------------------------- * Added @@ -9,12 +9,16 @@ What's New in libchewing 0.8.0-rc.2 (UNRELEASED) * Changed - CMake default preset switched to build with rust. - CMake minimum required version bumped to 3.24.0. + - System dictionary and user dictionary file now uses platform standard paths. + See https://docs.rs/chewing/latest/chewing/path/fn.data_dir.html for + details. - Improved TrieBufDictionary::from ergonomics. - Rename DictEntries to Entries. - Ensure all fallible API returns Error. - Improved algorithm so using Tab key to find alternative phrasing is more responsive. - Easy symbol input now accepts arbitrary long "symbols". (rust) + - Removed duplicated symbols "●" and "○" from symbols input. * Buf fixed - chewing_cand_CheckDone result was reversed in capi (introduced in v0.7.0) diff --git a/capi/Cargo.toml b/capi/Cargo.toml index 7aeb9a573..3ed09088d 100644 --- a/capi/Cargo.toml +++ b/capi/Cargo.toml @@ -2,7 +2,7 @@ name = "chewing_capi" description = "The Chewing (酷音) intelligent Zhuyin input method." license = "LGPL-2.1-or-later" -version = "0.8.0-beta.3" +version = "0.8.0-beta.4" rust-version = "1.70" edition = "2021" @@ -10,7 +10,7 @@ edition = "2021" crate-type = ["rlib", "staticlib"] [dependencies] -chewing = { version = "0.8.0-beta.3", path = ".." } +chewing = { version = "0.8.0-beta.4", path = ".." } env_logger = { version = ">= 0.10.2", default-features = false } log = { workspace = true } diff --git a/data/symbols.dat b/data/symbols.dat index 55025024e..b16f86391 100644 --- a/data/symbols.dat +++ b/data/symbols.dat @@ -5,7 +5,7 @@ 上下括號=︵︶﹁﹂︹︺︷︸︿﹀﹃﹄︽︾︻︼ 希臘字母=αβγδεζηθικλμνξοπρστυφχψωΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ 數學符號=+-×÷=≠≒∞±√<>﹤﹥≦≧∩∪ˇ⊥∠∟⊿㏒㏑∫∮∵∴╳﹢ -特殊圖形=↑↓←→↖↗↙↘㊣◎○●⊕⊙○●△▲☆★◇◆□■▽▼§¥〒¢£※♀♂ +特殊圖形=↑↓←→↖↗↙↘㊣◎○●⊕⊙△▲☆★◇◆□■▽▼§¥〒¢£※♀♂ Unicode=♨☀☁☂☃♠♥♣♦♩♪♫♬☺☻ 單線框=├─┼┴┬┤┌┐╞═╪╡│▕└┘╭╮╰╯ 雙線框=╔╦╗╠═╬╣╓╥╖╒╤╕║╚╩╝╟╫╢╙╨╜╞╪╡╘╧╛ diff --git a/doc/chewing-cli.1 b/doc/chewing-cli.1 index 20deffc6e..26c22d8b5 100644 --- a/doc/chewing-cli.1 +++ b/doc/chewing-cli.1 @@ -1,6 +1,6 @@ .ie \n(.g .ds Aq \(aq .el .ds Aq ' -.TH chewing-cli 1 "chewing-cli 0.8.0-beta.3" +.TH chewing-cli 1 "chewing-cli 0.8.0-beta.4" .SH NAME chewing\-cli \- Tools of the Chewing (酷音) intelligent Zhuyin input method. .SH SYNOPSIS @@ -25,4 +25,4 @@ Display information about the dictionary chewing\-cli\-dump(1) Dump the dictionary entries into tsi.src formatted stream .SH VERSION -v0.8.0\-beta.3 +v0.8.0\-beta.4 diff --git a/fuzzer/Cargo.toml b/fuzzer/Cargo.toml index d710380f3..c3c0e3b85 100644 --- a/fuzzer/Cargo.toml +++ b/fuzzer/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -chewing = { version = "0.8.0-beta.3", path = ".." } -chewing_capi = { version = "0.8.0-beta.3", path = "../capi" } +chewing = { version = "0.8.0-beta.4", path = ".." } +chewing_capi = { version = "0.8.0-beta.4", path = "../capi" } log = "0.4.21" env_logger = { version = ">= 0.10.2", default-features = false } diff --git a/tests/test-symbol.c b/tests/test-symbol.c index d9dc2058e..bcd924fdd 100644 --- a/tests/test-symbol.c +++ b/tests/test-symbol.c @@ -183,26 +183,24 @@ static const TestData SYMBOL[] = { {"`82", "\xE2\x97\x8F" /* ● */ }, {"`83", "\xE2\x8A\x95" /* ⊕ */ }, {"`84", "\xE2\x8A\x99" /* ⊙ */ }, - {"`85", "\xE2\x97\x8B" /* ○ */ }, - {"`86", "\xE2\x97\x8F" /* ● */ }, - {"`87", "\xE2\x96\xB3" /* △ */ }, - {"`88", "\xE2\x96\xB2" /* ▲ */ }, - {"`89", "\xE2\x98\x86" /* ☆ */ }, - {"`80", "\xE2\x98\x85" /* ★ */ }, - {"`81", "\xE2\x97\x87" /* ◇ */ }, - {"`82", "\xE2\x97\x86" /* ◆ */ }, - {"`83", "\xE2\x96\xA1" /* □ */ }, - {"`84", "\xE2\x96\xA0" /* ■ */ }, - {"`85", "\xE2\x96\xBD" /* ▽ */ }, - {"`86", "\xE2\x96\xBC" /* ▼ */ }, - {"`87", "\xC2\xA7" /* § */ }, - {"`88", "\xEF\xBF\xA5" /* ¥ */ }, - {"`89", "\xE3\x80\x92" /* 〒 */ }, - {"`80", "\xEF\xBF\xA0" /* ¢ */ }, - {"`81", "\xEF\xBF\xA1" /* £ */ }, - {"`82", "\xE2\x80\xBB" /* ※ */ }, - {"`83", "\xE2\x99\x80" /* ♀ */ }, - {"`84", "\xE2\x99\x82" /* ♂ */ }, + {"`85", "\xE2\x96\xB3" /* △ */ }, + {"`86", "\xE2\x96\xB2" /* ▲ */ }, + {"`87", "\xE2\x98\x86" /* ☆ */ }, + {"`88", "\xE2\x98\x85" /* ★ */ }, + {"`89", "\xE2\x97\x87" /* ◇ */ }, + {"`80", "\xE2\x97\x86" /* ◆ */ }, + {"`81", "\xE2\x96\xA1" /* □ */ }, + {"`82", "\xE2\x96\xA0" /* ■ */ }, + {"`83", "\xE2\x96\xBD" /* ▽ */ }, + {"`84", "\xE2\x96\xBC" /* ▼ */ }, + {"`85", "\xC2\xA7" /* § */ }, + {"`86", "\xEF\xBF\xA5" /* ¥ */ }, + {"`87", "\xE3\x80\x92" /* 〒 */ }, + {"`88", "\xEF\xBF\xA0" /* ¢ */ }, + {"`89", "\xEF\xBF\xA1" /* £ */ }, + {"`80", "\xE2\x80\xBB" /* ※ */ }, + {"`81", "\xE2\x99\x80" /* ♀ */ }, + {"`82", "\xE2\x99\x82" /* ♂ */ }, {"`91", "\xE2\x99\xA8" /* ♨ */ }, {"`92", "\xE2\x98\x80" /* ☀ */ }, {"`93", "\xE2\x98\x81" /* ☁ */ }, diff --git a/tests/testhelper/Cargo.toml b/tests/testhelper/Cargo.toml index 4e1ae8228..8558a5166 100644 --- a/tests/testhelper/Cargo.toml +++ b/tests/testhelper/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -chewing = { version = "0.8.0-beta.3", path = "../.." } +chewing = { version = "0.8.0-beta.4", path = "../.." } [features] sqlite = ["chewing/sqlite"] diff --git a/tools/Cargo.toml b/tools/Cargo.toml index 96ffcbccb..da0223403 100644 --- a/tools/Cargo.toml +++ b/tools/Cargo.toml @@ -2,12 +2,12 @@ name = "chewing-cli" description = "Tools of the Chewing (酷音) intelligent Zhuyin input method." license = "LGPL-2.1-or-later" -version = "0.8.0-beta.3" +version = "0.8.0-beta.4" edition = "2021" [dependencies] anyhow = "1.0.0" -chewing = { version = "0.8.0-beta.3", path = "..", features = ["sqlite"] } +chewing = { version = "0.8.0-beta.4", path = "..", features = ["sqlite"] } clap = { version = ">= 4.4.18", features = ["derive"] } clap_mangen = { version = "0.2.20", optional = true } diff --git a/vet/imports.lock b/vet/imports.lock index f0a952a54..36f2b8406 100644 --- a/vet/imports.lock +++ b/vet/imports.lock @@ -2,12 +2,12 @@ # cargo-vet imports lock [[unpublished.chewing]] -version = "0.8.0-beta.3" -audited_as = "0.8.0-beta.2" +version = "0.8.0-beta.4" +audited_as = "0.8.0-beta.3" [[unpublished.chewing-cli]] -version = "0.8.0-beta.3" -audited_as = "0.8.0-beta.2" +version = "0.8.0-beta.4" +audited_as = "0.8.0-beta.3" [[publisher.anstream]] version = "0.6.13" @@ -59,15 +59,15 @@ user-login = "Amanieu" user-name = "Amanieu d'Antras" [[publisher.chewing]] -version = "0.8.0-beta.2" -when = "2024-05-02" +version = "0.8.0-beta.3" +when = "2024-05-03" user-id = 7551 user-login = "kanru" user-name = "Kan-Ru Chen" [[publisher.chewing-cli]] -version = "0.8.0-beta.2" -when = "2024-05-02" +version = "0.8.0-beta.3" +when = "2024-05-03" user-id = 7551 user-login = "kanru" user-name = "Kan-Ru Chen"