From 17924a7e9696490f2679110a63c664ba8be2b7c2 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Mon, 22 Jul 2024 07:29:38 +0900 Subject: [PATCH 1/3] docs: Update NEWS --- NEWS | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/NEWS b/NEWS index 28d05b67..6e45cc0d 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,17 @@ +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) --------------------------------------------------------- From 666010849998bfc755e48cd2651f866933d0402d Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Mon, 22 Jul 2024 07:31:37 +0900 Subject: [PATCH 2/3] chore: bump version to 0.9.0-rc.2 --- 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 fa16b914..c3866ed5 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.1) +set(CMAKE_PROJECT_VERSION 0.9.0-rc.2) 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 c8f17cc3..40898c9c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -89,7 +89,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chewing" -version = "0.9.0-rc.1" +version = "0.9.0-rc.2" dependencies = [ "der", "directories", @@ -100,7 +100,7 @@ dependencies = [ [[package]] name = "chewing-cli" -version = "0.9.0-rc.1" +version = "0.9.0-rc.2" dependencies = [ "anyhow", "chewing", @@ -110,7 +110,7 @@ dependencies = [ [[package]] name = "chewing_capi" -version = "0.9.0-rc.1" +version = "0.9.0-rc.2" dependencies = [ "chewing", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 2562b07a..718df066 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.1" +version = "0.9.0-rc.2" rust-version = "1.77.0" edition = "2021" diff --git a/capi/Cargo.toml b/capi/Cargo.toml index 82538feb..87ae9843 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.1" +version = "0.9.0-rc.2" rust-version = "1.77" edition = "2021" @@ -10,7 +10,7 @@ edition = "2021" crate-type = ["rlib", "staticlib"] [dependencies] -chewing = { version = "0.9.0-rc.1", path = ".." } +chewing = { version = "0.9.0-rc.2", 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 f6704dba..e9c94e28 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.1".as_ptr() + c"0.9.0-rc.2".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.1".as_ptr() + c"-rc.2".as_ptr() } diff --git a/doc/chewing-cli.1 b/doc/chewing-cli.1 index 53a8f201..dcc6ac50 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.1" +.TH chewing-cli 1 "chewing-cli 0.9.0-rc.2" .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.1 \ No newline at end of file +v0.9.0-rc.2 \ No newline at end of file diff --git a/fuzzer/Cargo.toml b/fuzzer/Cargo.toml index 9173f9a1..6b289df8 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.1", path = ".." } -chewing_capi = { version = "0.9.0-rc.1", path = "../capi" } +chewing = { version = "0.9.0-rc.2", path = ".." } +chewing_capi = { version = "0.9.0-rc.2", 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 38fdaadf..8ec94e95 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.1", path = "../.." } +chewing = { version = "0.9.0-rc.2", path = "../.." } [features] sqlite = ["chewing/sqlite"] diff --git a/tools/Cargo.toml b/tools/Cargo.toml index 37442036..124abd93 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.1" +version = "0.9.0-rc.2" edition = "2021" [dependencies] anyhow = "1.0.0" -chewing = { version = "0.9.0-rc.1", path = "..", features = ["sqlite"] } +chewing = { version = "0.9.0-rc.2", path = "..", features = ["sqlite"] } clap = { version = "4.4.18", features = ["derive"] } clap_mangen = { version = "0.2.12", optional = true } From 77920b1abdad2edf9dd12097465bf57f4cc771c9 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Mon, 22 Jul 2024 07:32:14 +0900 Subject: [PATCH 3/3] chore: update dependencies --- Cargo.lock | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 40898c9c..a9b2f2e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -77,9 +77,9 @@ checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "cc" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "324c74f2155653c90b04f25b2a47a8a631360cb908f92a772695f430c7e31052" +checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f" [[package]] name = "cfg-if" @@ -327,9 +327,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.28.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c10584274047cb335c23d3e61bcef8e323adae7c5c8c760540f73610177fc3f" +checksum = "6b694a822684ddb75df4d657029161431bcb4a85c1856952f845b76912bc6fec" dependencies = [ "cc", "pkg-config", @@ -403,9 +403,9 @@ checksum = "b833d8d034ea094b1ea68aa6d5c740e0d04bad9d16568d08ba6f76823a114316" [[package]] name = "rusqlite" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b838eba278d213a8beaf485bd313fd580ca4505a00d5871caeb1457c55322cae" +checksum = "1cdbe9230a57259b37f7257d0aff38b8c9dbda3513edba2105e59b130189d82f" dependencies = [ "bitflags", "fallible-iterator", @@ -465,18 +465,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.62" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2675633b1499176c2dff06b0856a27976a8f9d436737b4cf4f312d4d91d8bbb" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.62" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d20468752b09f49e909e55a5d338caa8bedf615594e9d80bc4c565d30faf798c" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote",