Skip to content

Commit

Permalink
Merge pull request #525 from chewing/prepare-0.8.0-rc.4
Browse files Browse the repository at this point in the history
Prepare 0.8.0 rc.4
  • Loading branch information
kanru committed May 8, 2024
2 parents 8ef9a28 + b0aba82 commit b7f31e8
Show file tree
Hide file tree
Showing 12 changed files with 46 additions and 44 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.24.0)
project(libchewing LANGUAGES C)

set(CMAKE_PROJECT_VERSION 0.8.0-rc.3)
set(CMAKE_PROJECT_VERSION 0.8.0-rc.4)
set(LIBCHEWING_VERSION ${CMAKE_PROJECT_VERSION})
set(PACKAGE_VERSION ${CMAKE_PROJECT_VERSION})
set(LIBCHEWING_BINARY_VERSION 1.0.0)
Expand Down
6 changes: 3 additions & 3 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
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.8.0-beta.3"
version = "0.8.0-beta.4"
rust-version = "1.70"
edition = "2021"

Expand Down
6 changes: 5 additions & 1 deletion NEWS
@@ -1,4 +1,4 @@
What's New in libchewing 0.8.0-rc.2 (UNRELEASED)
What's New in libchewing 0.8.0-rc.4 (UNRELEASED)
---------------------------------------------------------

* Added
Expand All @@ -9,12 +9,16 @@ What's New in libchewing 0.8.0-rc.2 (UNRELEASED)
* Changed
- CMake default preset switched to build with rust.
- CMake minimum required version bumped to 3.24.0.
- System dictionary and user dictionary file now uses platform standard paths.
See https://docs.rs/chewing/latest/chewing/path/fn.data_dir.html for
details.
- Improved TrieBufDictionary::from ergonomics.
- Rename DictEntries to Entries.
- Ensure all fallible API returns Error.
- Improved algorithm so using Tab key to find alternative phrasing is more
responsive.
- Easy symbol input now accepts arbitrary long "symbols". (rust)
- Removed duplicated symbols "●" and "○" from symbols input.

* Buf fixed
- chewing_cand_CheckDone result was reversed in capi (introduced in v0.7.0)
Expand Down
4 changes: 2 additions & 2 deletions capi/Cargo.toml
Expand Up @@ -2,15 +2,15 @@
name = "chewing_capi"
description = "The Chewing (酷音) intelligent Zhuyin input method."
license = "LGPL-2.1-or-later"
version = "0.8.0-beta.3"
version = "0.8.0-beta.4"
rust-version = "1.70"
edition = "2021"

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

[dependencies]
chewing = { version = "0.8.0-beta.3", path = ".." }
chewing = { version = "0.8.0-beta.4", path = ".." }
env_logger = { version = ">= 0.10.2", default-features = false }
log = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion data/symbols.dat
Expand Up @@ -5,7 +5,7 @@
上下括號=︵︶﹁﹂︹︺︷︸︿﹀﹃﹄︽︾︻︼
希臘字母=αβγδεζηθικλμνξοπρστυφχψωΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ
數學符號=+-×÷=≠≒∞±√<>﹤﹥≦≧∩∪ˇ⊥∠∟⊿㏒㏑∫∮∵∴╳﹢
特殊圖形=↑↓←→↖↗↙↘㊣◎○●⊕⊙○●△▲☆★◇◆□■▽▼§¥〒¢£※♀♂
特殊圖形=↑↓←→↖↗↙↘㊣◎○●⊕⊙△▲☆★◇◆□■▽▼§¥〒¢£※♀♂
Unicode=♨☀☁☂☃♠♥♣♦♩♪♫♬☺☻
單線框=├─┼┴┬┤┌┐╞═╪╡│▕└┘╭╮╰╯
雙線框=╔╦╗╠═╬╣╓╥╖╒╤╕║╚╩╝╟╫╢╙╨╜╞╪╡╘╧╛
Expand Down
4 changes: 2 additions & 2 deletions doc/chewing-cli.1
@@ -1,6 +1,6 @@
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH chewing-cli 1 "chewing-cli 0.8.0-beta.3"
.TH chewing-cli 1 "chewing-cli 0.8.0-beta.4"
.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.8.0\-beta.3
v0.8.0\-beta.4
4 changes: 2 additions & 2 deletions fuzzer/Cargo.toml
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.8.0-beta.3", path = ".." }
chewing_capi = { version = "0.8.0-beta.3", path = "../capi" }
chewing = { version = "0.8.0-beta.4", path = ".." }
chewing_capi = { version = "0.8.0-beta.4", path = "../capi" }
log = "0.4.21"
env_logger = { version = ">= 0.10.2", default-features = false }
38 changes: 18 additions & 20 deletions tests/test-symbol.c
Expand Up @@ -183,26 +183,24 @@ static const TestData SYMBOL[] = {
{"`8<R>2<E>", "\xE2\x97\x8F" /* ● */ },
{"`8<R>3<E>", "\xE2\x8A\x95" /* ⊕ */ },
{"`8<R>4<E>", "\xE2\x8A\x99" /* ⊙ */ },
{"`8<R>5<E>", "\xE2\x97\x8B" /* ○ */ },
{"`8<R>6<E>", "\xE2\x97\x8F" /* ● */ },
{"`8<R>7<E>", "\xE2\x96\xB3" /* △ */ },
{"`8<R>8<E>", "\xE2\x96\xB2" /* ▲ */ },
{"`8<R>9<E>", "\xE2\x98\x86" /* ☆ */ },
{"`8<R>0<E>", "\xE2\x98\x85" /* ★ */ },
{"`8<R><R>1<E>", "\xE2\x97\x87" /* ◇ */ },
{"`8<R><R>2<E>", "\xE2\x97\x86" /* ◆ */ },
{"`8<R><R>3<E>", "\xE2\x96\xA1" /* □ */ },
{"`8<R><R>4<E>", "\xE2\x96\xA0" /* ■ */ },
{"`8<R><R>5<E>", "\xE2\x96\xBD" /* ▽ */ },
{"`8<R><R>6<E>", "\xE2\x96\xBC" /* ▼ */ },
{"`8<R><R>7<E>", "\xC2\xA7" /* § */ },
{"`8<R><R>8<E>", "\xEF\xBF\xA5" /* ¥ */ },
{"`8<R><R>9<E>", "\xE3\x80\x92" /* 〒 */ },
{"`8<R><R>0<E>", "\xEF\xBF\xA0" /* ¢ */ },
{"`8<R><R><R>1<E>", "\xEF\xBF\xA1" /* £ */ },
{"`8<R><R><R>2<E>", "\xE2\x80\xBB" /* ※ */ },
{"`8<R><R><R>3<E>", "\xE2\x99\x80" /* ♀ */ },
{"`8<R><R><R>4<E>", "\xE2\x99\x82" /* ♂ */ },
{"`8<R>5<E>", "\xE2\x96\xB3" /* △ */ },
{"`8<R>6<E>", "\xE2\x96\xB2" /* ▲ */ },
{"`8<R>7<E>", "\xE2\x98\x86" /* ☆ */ },
{"`8<R>8<E>", "\xE2\x98\x85" /* ★ */ },
{"`8<R>9<E>", "\xE2\x97\x87" /* ◇ */ },
{"`8<R>0<E>", "\xE2\x97\x86" /* ◆ */ },
{"`8<R><R>1<E>", "\xE2\x96\xA1" /* □ */ },
{"`8<R><R>2<E>", "\xE2\x96\xA0" /* ■ */ },
{"`8<R><R>3<E>", "\xE2\x96\xBD" /* ▽ */ },
{"`8<R><R>4<E>", "\xE2\x96\xBC" /* ▼ */ },
{"`8<R><R>5<E>", "\xC2\xA7" /* § */ },
{"`8<R><R>6<E>", "\xEF\xBF\xA5" /* ¥ */ },
{"`8<R><R>7<E>", "\xE3\x80\x92" /* 〒 */ },
{"`8<R><R>8<E>", "\xEF\xBF\xA0" /* ¢ */ },
{"`8<R><R>9<E>", "\xEF\xBF\xA1" /* £ */ },
{"`8<R><R>0<E>", "\xE2\x80\xBB" /* ※ */ },
{"`8<R><R><R>1<E>", "\xE2\x99\x80" /* ♀ */ },
{"`8<R><R><R>2<E>", "\xE2\x99\x82" /* ♂ */ },
{"`91<E>", "\xE2\x99\xA8" /* ♨ */ },
{"`92<E>", "\xE2\x98\x80" /* ☀ */ },
{"`93<E>", "\xE2\x98\x81" /* ☁ */ },
Expand Down
2 changes: 1 addition & 1 deletion tests/testhelper/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
chewing = { version = "0.8.0-beta.3", path = "../.." }
chewing = { version = "0.8.0-beta.4", path = "../.." }

[features]
sqlite = ["chewing/sqlite"]
4 changes: 2 additions & 2 deletions tools/Cargo.toml
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.8.0-beta.3"
version = "0.8.0-beta.4"
edition = "2021"

[dependencies]
anyhow = "1.0.0"
chewing = { version = "0.8.0-beta.3", path = "..", features = ["sqlite"] }
chewing = { version = "0.8.0-beta.4", path = "..", features = ["sqlite"] }
clap = { version = ">= 4.4.18", features = ["derive"] }
clap_mangen = { version = "0.2.20", optional = true }

Expand Down
16 changes: 8 additions & 8 deletions vet/imports.lock
Expand Up @@ -2,12 +2,12 @@
# cargo-vet imports lock

[[unpublished.chewing]]
version = "0.8.0-beta.3"
audited_as = "0.8.0-beta.2"
version = "0.8.0-beta.4"
audited_as = "0.8.0-beta.3"

[[unpublished.chewing-cli]]
version = "0.8.0-beta.3"
audited_as = "0.8.0-beta.2"
version = "0.8.0-beta.4"
audited_as = "0.8.0-beta.3"

[[publisher.anstream]]
version = "0.6.13"
Expand Down Expand Up @@ -59,15 +59,15 @@ user-login = "Amanieu"
user-name = "Amanieu d'Antras"

[[publisher.chewing]]
version = "0.8.0-beta.2"
when = "2024-05-02"
version = "0.8.0-beta.3"
when = "2024-05-03"
user-id = 7551
user-login = "kanru"
user-name = "Kan-Ru Chen"

[[publisher.chewing-cli]]
version = "0.8.0-beta.2"
when = "2024-05-02"
version = "0.8.0-beta.3"
when = "2024-05-03"
user-id = 7551
user-login = "kanru"
user-name = "Kan-Ru Chen"
Expand Down

0 comments on commit b7f31e8

Please sign in to comment.