Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep 0.9.0 #637

Merged
merged 3 commits into from
Aug 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
38 changes: 24 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
51 changes: 13 additions & 38 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
Expand All @@ -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)
Expand All @@ -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
Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions capi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
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"

[lib]
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 }

Expand Down
Binary file modified capi/data/mini.dat
Binary file not shown.
4 changes: 2 additions & 2 deletions capi/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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()
}
4 changes: 2 additions & 2 deletions doc/chewing-cli.1
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
v0.9.0
4 changes: 2 additions & 2 deletions fuzzer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
2 changes: 1 addition & 1 deletion tests/testhelper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
4 changes: 2 additions & 2 deletions tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down