Skip to content

Commit

Permalink
Merge pull request #649 from chewing/prep-0.9.1
Browse files Browse the repository at this point in the history
Prep 0.9.1
  • Loading branch information
kanru authored Oct 26, 2024
2 parents 3593a63 + 4aed97c commit bab0250
Show file tree
Hide file tree
Showing 12 changed files with 76 additions and 58 deletions.
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)
set(CMAKE_PROJECT_VERSION 0.9.1)

find_package(Git)
if(Git_FOUND)
Expand Down
86 changes: 43 additions & 43 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"
version = "0.9.1"
rust-version = "1.77.0"
edition = "2021"

Expand Down
12 changes: 12 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
What's New in libchewing 0.9.1 (October 26, 2024)
---------------------------------------------------------

* Bug Fixes
- Disable automatic selections snapshot which introduced more problems then
what it tried to solve. (introduced in v0.9.0)

* Build
- Statically link C runtime on Windows
- Use vcpkg on Windows


What's New in libchewing 0.9.0 (August 11, 2024)
---------------------------------------------------------

Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,15 @@ major operating environments.
- Coverity Scan: [![Coverity Scan Build Status](https://scan.coverity.com/projects/1273/badge.svg)](https://scan.coverity.com/projects/1273)
- Codecov: [![codecov](https://codecov.io/gh/chewing/libchewing/graph/badge.svg?token=r1piKsG5uF)](https://codecov.io/gh/chewing/libchewing)

libchewing releases can be verified with the following [minisign][] public key
libchewing releases can be verified with the following OpenPGP public key

RWRzJFnXiLZleAyCIv1talBjyRewelcy9gzYQq9pd3SKSFBPoy57sf5s
 [083B3CAB64267E5BAB7159673EF0C673DADCC30C][pgp_key] Libchewing Signing Key <[email protected]>

or the following [minisign][] public key

 RWRzJFnXiLZleAyCIv1talBjyRewelcy9gzYQq9pd3SKSFBPoy57sf5s

[pgp_key]: https://chewing.im/.well-known/openpgpkey/hu/y84sdmnksfqswe7fxf5mzjg53tbdz8f5?l=release
[minisign]: https://jedisct1.github.io/minisign/

## Status
Expand Down Expand Up @@ -102,6 +107,7 @@ be built.
- clang >= 3.2 OR gcc >= 4.6.3
- Rust >= 1.77
- Build Tools for Visual Studio 2022 for MSVC build
- Vcpkg for MSVC build
+ Documentation tools:
- texinfo >= 4.8

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"
version = "0.9.1"
rust-version = "1.77"
edition = "2021"

[lib]
crate-type = ["rlib", "staticlib"]

[dependencies]
chewing = { version = "0.9.0", path = ".." }
chewing = { version = "0.9.1", 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 @@ -2,11 +2,11 @@ use std::ffi::{c_char, c_int};

pub const CHEWING_VERSION_MAJOR: c_int = 0;
pub const CHEWING_VERSION_MINOR: c_int = 9;
pub const CHEWING_VERSION_PATCH: c_int = 0;
pub const CHEWING_VERSION_PATCH: c_int = 1;

#[no_mangle]
pub extern "C" fn chewing_version() -> *const c_char {
c"0.9.0".as_ptr()
c"0.9.1".as_ptr()
}

#[no_mangle]
Expand Down
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"
.TH chewing-cli 1 "chewing-cli 0.9.1"
.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
v0.9.1
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", path = ".." }
chewing_capi = { version = "0.9.0", path = "../capi" }
chewing = { version = "0.9.1", path = ".." }
chewing_capi = { version = "0.9.1", 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", path = "../.." }
chewing = { version = "0.9.1", 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"
version = "0.9.1"
edition = "2021"

[dependencies]
anyhow = "1.0.0"
chewing = { version = "0.9.0", path = "..", features = ["sqlite"] }
chewing = { version = "0.9.1", path = "..", features = ["sqlite"] }
clap = { version = "4.4.18", features = ["derive"] }
clap_mangen = { version = "0.2.12", optional = true }

Expand Down

0 comments on commit bab0250

Please sign in to comment.