From d5bd4eb945657548524cbafb2e621168cc4d4a92 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 28 Jul 2024 07:49:38 +0900 Subject: [PATCH 1/3] docs: update NEWS --- NEWS | 20 ++++++++++++++++++++ capi/data/mini.dat | Bin 91050 -> 91045 bytes 2 files changed, 20 insertions(+) diff --git a/NEWS b/NEWS index 6e45cc0d..ff0997eb 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,23 @@ +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) --------------------------------------------------------- diff --git a/capi/data/mini.dat b/capi/data/mini.dat index 6e55a9e826fac9cf002f68e0f813516499cb32cf..03d4da9b38e7690be9514151d02a9909417bde4b 100644 GIT binary patch delta 57 zcmZ2=oOS7ORsn-%#^eP&EY2RT;Y^GS22~RUyv4-~^epuZbc>SpjC2hRb<590s; delta 62 zcmZ2_oORW4Rsn-%#^j|uEY2RT;Y^GS2K5sKyk(>f^epuZbc>SpjC9R)(+yM1j7<`g SbyG5nN-7(RwiYoOCj$U02@($g From 487d74e3a21ad5ced0c734c21750d15f3bb0c9c6 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 28 Jul 2024 07:51:27 +0900 Subject: [PATCH 2/3] chore: bump version to 0.9.0-rc.3 --- 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 82e134ac..ed5f7cdd 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.2) +set(CMAKE_PROJECT_VERSION 0.9.0-rc.3) find_package(Git) if(Git_FOUND) diff --git a/Cargo.lock b/Cargo.lock index a9b2f2e2..15a0567f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -89,7 +89,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chewing" -version = "0.9.0-rc.2" +version = "0.9.0-rc.3" dependencies = [ "der", "directories", @@ -100,7 +100,7 @@ dependencies = [ [[package]] name = "chewing-cli" -version = "0.9.0-rc.2" +version = "0.9.0-rc.3" dependencies = [ "anyhow", "chewing", @@ -110,7 +110,7 @@ dependencies = [ [[package]] name = "chewing_capi" -version = "0.9.0-rc.2" +version = "0.9.0-rc.3" dependencies = [ "chewing", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 718df066..fd945aa0 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.2" +version = "0.9.0-rc.3" rust-version = "1.77.0" edition = "2021" diff --git a/capi/Cargo.toml b/capi/Cargo.toml index 87ae9843..2c1ba3fb 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.2" +version = "0.9.0-rc.3" rust-version = "1.77" edition = "2021" @@ -10,7 +10,7 @@ edition = "2021" crate-type = ["rlib", "staticlib"] [dependencies] -chewing = { version = "0.9.0-rc.2", path = ".." } +chewing = { version = "0.9.0-rc.3", 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 e9c94e28..67c89a0a 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.2".as_ptr() + c"0.9.0-rc.3".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.2".as_ptr() + c"-rc.3".as_ptr() } diff --git a/doc/chewing-cli.1 b/doc/chewing-cli.1 index dcc6ac50..af26016e 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.2" +.TH chewing-cli 1 "chewing-cli 0.9.0-rc.3" .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.2 \ No newline at end of file +v0.9.0-rc.3 \ No newline at end of file diff --git a/fuzzer/Cargo.toml b/fuzzer/Cargo.toml index 6b289df8..ac4a364a 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.2", path = ".." } -chewing_capi = { version = "0.9.0-rc.2", path = "../capi" } +chewing = { version = "0.9.0-rc.3", path = ".." } +chewing_capi = { version = "0.9.0-rc.3", 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 8ec94e95..18c07fcb 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.2", path = "../.." } +chewing = { version = "0.9.0-rc.3", path = "../.." } [features] sqlite = ["chewing/sqlite"] diff --git a/tools/Cargo.toml b/tools/Cargo.toml index 124abd93..4517b695 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.2" +version = "0.9.0-rc.3" edition = "2021" [dependencies] anyhow = "1.0.0" -chewing = { version = "0.9.0-rc.2", path = "..", features = ["sqlite"] } +chewing = { version = "0.9.0-rc.3", path = "..", features = ["sqlite"] } clap = { version = "4.4.18", features = ["derive"] } clap_mangen = { version = "0.2.12", optional = true } From 71eedc9a30d4cbe294d041a75f10dc814f41635d Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 28 Jul 2024 07:57:02 +0900 Subject: [PATCH 3/3] chore: update dependencies --- Cargo.lock | 76 ++++++++++++++++++++++----------------------- capi/data/mini.dat | Bin 91045 -> 91052 bytes 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 15a0567f..d3fb73a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16,9 +16,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.14" +version = "0.6.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" +checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" dependencies = [ "anstyle", "anstyle-parse", @@ -31,33 +31,33 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" +checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" [[package]] name = "anstyle-parse" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" +checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a" dependencies = [ "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.3" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" +checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" dependencies = [ "anstyle", "windows-sys 0.52.0", @@ -127,9 +127,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.9" +version = "4.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64acc1846d54c1fe936a78dc189c34e28d3f5afc348403f28ecf53660b9b8462" +checksum = "35723e6a11662c2afb578bcf0b88bf6ea8e21282a953428f240574fcc3a2b5b3" dependencies = [ "clap_builder", "clap_derive", @@ -137,9 +137,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.9" +version = "4.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8393d67ba2e7bfaf28a23458e4e2b543cc73a99595511eb207fdb8aede942" +checksum = "49eb96cbfa7cfa35017b7cd548c75b14c3118c98b423041d70562665e07fb0fa" dependencies = [ "anstream", "anstyle", @@ -149,9 +149,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.8" +version = "4.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" +checksum = "5d029b67f89d30bbb547c89fd5161293c0aec155fc691d7924b64550662db93e" dependencies = [ "heck", "proc-macro2", @@ -161,15 +161,15 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" +checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" [[package]] name = "clap_mangen" -version = "0.2.22" +version = "0.2.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f50dde5bc0c853d6248de457e5eb6e5a674a54b93810a34ded88d882ca1fe2de" +checksum = "f17415fd4dfbea46e3274fcd8d368284519b358654772afb700dc2e8d2b24eeb" dependencies = [ "clap", "roff", @@ -177,9 +177,9 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" +checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" [[package]] name = "der" @@ -213,18 +213,18 @@ dependencies = [ [[package]] name = "env_filter" -version = "0.1.0" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea" +checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab" dependencies = [ "log", ] [[package]] name = "env_logger" -version = "0.11.3" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b35839ba51819680ba087cd351788c9a3c476841207e0b8cee0b04722343b9" +checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" dependencies = [ "env_filter", "log", @@ -305,9 +305,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "is_terminal_polyfill" -version = "1.70.0" +version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "libc" @@ -327,9 +327,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.30.0" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b694a822684ddb75df4d657029161431bcb4a85c1856952f845b76912bc6fec" +checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" dependencies = [ "cc", "pkg-config", @@ -397,15 +397,15 @@ dependencies = [ [[package]] name = "roff" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b833d8d034ea094b1ea68aa6d5c740e0d04bad9d16568d08ba6f76823a114316" +checksum = "88f8660c1ff60292143c98d08fc6e2f654d722db50410e3f3797d40baaf9d8f3" [[package]] name = "rusqlite" -version = "0.32.0" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cdbe9230a57259b37f7257d0aff38b8c9dbda3513edba2105e59b130189d82f" +checksum = "7753b721174eb8ff87a9a0e799e2d7bc3749323e773db92e0984debb00019d6e" dependencies = [ "bitflags", "fallible-iterator", @@ -442,9 +442,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "syn" -version = "2.0.71" +version = "2.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462" +checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" dependencies = [ "proc-macro2", "quote", @@ -503,9 +503,9 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "wasi" diff --git a/capi/data/mini.dat b/capi/data/mini.dat index 03d4da9b38e7690be9514151d02a9909417bde4b..704827c6f190e84339e7a1c970882b8f9cd12593 100644 GIT binary patch delta 88 zcmZ2_oOR7{RzZVi#^mKZEY2RT;Y^GS28|691-wmV4D>AZ40MZ<^^9~4jdjyaEX-5P lO;UAJGK)$odBl=4Qp+>*(sh$_G8Nz|jT^hRb}>pP0{~SpjC2hRb<;w7X1JK