From a32c5247f8cbd828abbe48eab8ed083ec3a71540 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 11 Aug 2024 07:00:18 +0900 Subject: [PATCH 1/3] docs: update NEWS --- NEWS | 51 ++++++++++++--------------------------------- capi/data/mini.dat | Bin 91052 -> 91033 bytes 2 files changed, 13 insertions(+), 38 deletions(-) diff --git a/NEWS b/NEWS index ff0997eb..506307c8 100644 --- a/NEWS +++ b/NEWS @@ -1,38 +1,4 @@ -What's New in libchewing 0.9.0-rc.3 (July 28, 2024) ---------------------------------------------------------- - -* Bug fixes - - Add back 0.5.x compat C headers. (introduced in v0.9.0-rc.1) - - Panic when connecting symbol to symbol or symbol to phrase. (introduced in - v0.9.0-rc.1) - - Panic when selecting phrases backwards at the end of buffer. (introduced in - v0.8.0) - - Panic when autocommit in select mode triggered by the simple engine. - (introduced in v0.9.0-rc.2) - -* Testing - - Support new editor options in the fuzzer. - - Generate test cases from fuzzer input. - -* Misc - - Append `git describe` to version string for unreleased version. - - -What's New in libchewing 0.9.0-rc.2 (July 22, 2024) ---------------------------------------------------------- - -* Features - - Revert mode switch notifications change. - - Make simple engine compatiable with Plain Zhuyin in ibus-chewing. - - Automatic snapshot selections when the curser is moved. -* Developer Features - - Define version macros - - CHEWING_VERSION_MAJOR - - CHEWING_VERSION_MINOR - - CHEWING_VERSION_PATCH - - -What's New in libchewing 0.9.0-rc.1 (July 16, 2024) +What's New in libchewing 0.9.0 (August 11, 2024) --------------------------------------------------------- * Features @@ -45,14 +11,14 @@ What's New in libchewing 0.9.0-rc.1 (July 16, 2024) - A new option to disable fullwidth toggle key. - Workman layout support. - Load embedded mini dictionary if system dictionaries were not found. - - Show notification about mode switches triggered by input. - Automatically load extra dictionaries found in search path - ${CHEWING_PATH}/dictionary.d/*.dat + - Automatic snapshot selections when the curser is moved. * Developer Features - - BREAKING: Remove language_mode and character_form methods + - BREAKING: Remove language_mode and character_form methods (Rust). - BREAKING: Remove unused pinyin.tab file - - BREAKING: Remove most unused C code + - BREAKING: Remove most unused C code but keep compat C headers. - Bump minimum supported Rust version to 1.77 - Enable ELF symbol versioning. All existing symbols are marked as version CHEWING_0.5 and new symbols from this release are marked as CHEWING_0.9. @@ -70,9 +36,15 @@ What's New in libchewing 0.9.0-rc.1 (July 16, 2024) - chewing_version_extra - New API to acknowledge output buffers: - chewing_ack + - Define version macros + - CHEWING_VERSION_MAJOR + - CHEWING_VERSION_MINOR + - CHEWING_VERSION_PATCH * Bug Fixes - Separate special handling by pinyin variants (#298) + - Panic when selecting phrases backwards at the end of buffer. (introduced in + v0.8.0) * Dictionary - Default dictionary updates and fixes (#331) @@ -89,6 +61,8 @@ What's New in libchewing 0.9.0-rc.1 (July 16, 2024) - Test chewing_config_set_str with chewing.keyboard_type - Allow switching keyboard layout in genkeystroke - Add test for simple engine symbol input + - Support new editor options in the fuzzer. + - Generate test cases from fuzzer input. * Miscellaneous Tasks - Drop outdated ChangeLog @@ -102,6 +76,7 @@ What's New in libchewing 0.9.0-rc.1 (July 16, 2024) - Bump Corrosion to v0.5 - Fix building without using CMake presets - Force linking chewing_version obj file + - Append `git describe` to version string for unreleased version. What's New in libchewing 0.8.5 (July 8, 2024) diff --git a/capi/data/mini.dat b/capi/data/mini.dat index 704827c6f190e84339e7a1c970882b8f9cd12593..4f0607edd9ddff8c506b96683bea0a78c54f0c43 100644 GIT binary patch delta 45 zcmZ2;oOR}LRsn-%#^fnHEY2RT;Y^GS26+<&y}7vz^epuZbc>Spj2kPrRx%nV0{|)e B42l2% delta 64 zcmbPvoOR7{RzZVi#^mKZEY2RT;Y^GS28|691-xZt4D>AZ40MZ<^^9~4jdjyaEX-5P UO;UAJGK)$o8`HL?F&ZZW08rf$f&c&j From 797242370c4edc6cddd2c8aba24bea7e2d015a9b Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 11 Aug 2024 07:02:00 +0900 Subject: [PATCH 2/3] chore: bump version to 0.9.0 --- CMakeLists.txt | 2 +- Cargo.lock | 6 +++--- Cargo.toml | 2 +- capi/Cargo.toml | 4 ++-- capi/src/version.rs | 4 ++-- doc/chewing-cli.1 | 4 ++-- fuzzer/Cargo.toml | 4 ++-- tests/testhelper/Cargo.toml | 2 +- tools/Cargo.toml | 4 ++-- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ed5f7cdd..0fd9d1a7 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.9.0-rc.3) +set(CMAKE_PROJECT_VERSION 0.9.0) find_package(Git) if(Git_FOUND) diff --git a/Cargo.lock b/Cargo.lock index d3fb73a0..6ac293b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -89,7 +89,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chewing" -version = "0.9.0-rc.3" +version = "0.9.0" dependencies = [ "der", "directories", @@ -100,7 +100,7 @@ dependencies = [ [[package]] name = "chewing-cli" -version = "0.9.0-rc.3" +version = "0.9.0" dependencies = [ "anyhow", "chewing", @@ -110,7 +110,7 @@ dependencies = [ [[package]] name = "chewing_capi" -version = "0.9.0-rc.3" +version = "0.9.0" dependencies = [ "chewing", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index fd945aa0..bb4f7e73 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.9.0-rc.3" +version = "0.9.0" rust-version = "1.77.0" edition = "2021" diff --git a/capi/Cargo.toml b/capi/Cargo.toml index 2c1ba3fb..26141db8 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.9.0-rc.3" +version = "0.9.0" rust-version = "1.77" edition = "2021" @@ -10,7 +10,7 @@ edition = "2021" crate-type = ["rlib", "staticlib"] [dependencies] -chewing = { version = "0.9.0-rc.3", path = ".." } +chewing = { version = "0.9.0", path = ".." } env_logger = { version = ">= 0.10.2", default-features = false } log = { workspace = true } diff --git a/capi/src/version.rs b/capi/src/version.rs index 67c89a0a..53164167 100644 --- a/capi/src/version.rs +++ b/capi/src/version.rs @@ -6,7 +6,7 @@ pub const CHEWING_VERSION_PATCH: c_int = 0; #[no_mangle] pub extern "C" fn chewing_version() -> *const c_char { - c"0.9.0-rc.3".as_ptr() + c"0.9.0".as_ptr() } #[no_mangle] @@ -26,5 +26,5 @@ pub extern "C" fn chewing_version_patch() -> c_int { #[no_mangle] pub extern "C" fn chewing_version_extra() -> *const c_char { - c"-rc.3".as_ptr() + c"".as_ptr() } diff --git a/doc/chewing-cli.1 b/doc/chewing-cli.1 index af26016e..7be32401 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.9.0-rc.3" +.TH chewing-cli 1 "chewing-cli 0.9.0" .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.9.0-rc.3 \ No newline at end of file +v0.9.0 \ No newline at end of file diff --git a/fuzzer/Cargo.toml b/fuzzer/Cargo.toml index ac4a364a..32db2644 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.9.0-rc.3", path = ".." } -chewing_capi = { version = "0.9.0-rc.3", path = "../capi" } +chewing = { version = "0.9.0", path = ".." } +chewing_capi = { version = "0.9.0", path = "../capi" } log = "0.4.21" env_logger = { version = ">= 0.10.2", default-features = false } diff --git a/tests/testhelper/Cargo.toml b/tests/testhelper/Cargo.toml index 18c07fcb..710ef1ba 100644 --- a/tests/testhelper/Cargo.toml +++ b/tests/testhelper/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -chewing = { version = "0.9.0-rc.3", path = "../.." } +chewing = { version = "0.9.0", path = "../.." } [features] sqlite = ["chewing/sqlite"] diff --git a/tools/Cargo.toml b/tools/Cargo.toml index 4517b695..98274d71 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.9.0-rc.3" +version = "0.9.0" edition = "2021" [dependencies] anyhow = "1.0.0" -chewing = { version = "0.9.0-rc.3", path = "..", features = ["sqlite"] } +chewing = { version = "0.9.0", path = "..", features = ["sqlite"] } clap = { version = "4.4.18", features = ["derive"] } clap_mangen = { version = "0.2.12", optional = true } From 3a11b5de245a4e1aefd8802fe9a36c75c7d9fe1c Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 11 Aug 2024 07:11:00 +0900 Subject: [PATCH 3/3] chore: update dependencies --- Cargo.lock | 32 +++++++++++++++++++++----------- capi/data/mini.dat | Bin 91033 -> 91045 bytes 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ac293b7..c269f1c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -77,9 +77,9 @@ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "cc" -version = "1.1.6" +version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f" +checksum = "504bdec147f2cc13c8b57ed9401fd8a147cc66b67ad5cb241394244f2c947549" [[package]] name = "cfg-if" @@ -127,9 +127,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.11" +version = "4.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35723e6a11662c2afb578bcf0b88bf6ea8e21282a953428f240574fcc3a2b5b3" +checksum = "11d8838454fda655dafd3accb2b6e2bea645b9e4078abe84a22ceb947235c5cc" dependencies = [ "clap_builder", "clap_derive", @@ -137,9 +137,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.11" +version = "4.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49eb96cbfa7cfa35017b7cd548c75b14c3118c98b423041d70562665e07fb0fa" +checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6" dependencies = [ "anstream", "anstyle", @@ -149,9 +149,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.11" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d029b67f89d30bbb547c89fd5161293c0aec155fc691d7924b64550662db93e" +checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" dependencies = [ "heck", "proc-macro2", @@ -453,14 +453,15 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.10.1" +version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" dependencies = [ "cfg-if", "fastrand", + "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -531,6 +532,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-targets" version = "0.48.5" diff --git a/capi/data/mini.dat b/capi/data/mini.dat index 4f0607edd9ddff8c506b96683bea0a78c54f0c43..435c3509528f185bbc95314d96aba7e11c4ca121 100644 GIT binary patch delta 81 zcmbPvoOS7ORsn-%#^eP&EY2RT;Y^GS22~RUy!E9G^epuZbc>SpjCGB4)6Ff-jZBP; ibyG5nN-B8-lQUAwGxO4QlXEf^zzQ4dw$?F9Cj$VP3>NzU delta 69 zcmZ2_oOR}LRsn-%#^fnHEY2RT;Y^GS26+<&yp_2O^epuZbc>SpjCsV8Gg8Yl^U`&b Qb21eW;*DKfyBMXD0il}{hyVZp