From 330c0cf5b44747d9d183154eaeedfbcd3f94c967 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 15 Dec 2024 11:44:03 +0900 Subject: [PATCH 1/4] chore(release): update CHANGELOG.md --- CHANGELOG.md | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8414dd8..faf9fb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,30 @@ All notable changes to this project will be documented in this file. -## [24.10-rc.1][] - 2024-11-09 +## [24.10] - 2024-12-15 + +### 🚀 Features + +- Change icon based on system theme + +### 🚜 Refactor + +- Convert .rc file to UTF-8 encoding + +### 🎨 Styling + +- Update application icon + +### ⚙️ Miscellaneous Tasks + +- Do not link with libcmtd +- Call vcdevcmd.bat before build + +## [24.10-rc.1] - 2024-11-09 + +### 'fix + +- Copy static data files to installer' ### 🚀 Features @@ -22,6 +45,7 @@ All notable changes to this project will be documented in this file. ### 🐛 Bug Fixes +- Macro expansion - Rednering on hidpi device - Reset composition buffer after toggle chi/eng mode - Shift key handling @@ -50,6 +74,7 @@ All notable changes to this project will be documented in this file. ### 📚 Documentation - Refresh and add code signing policy info +- Introduce CHANGELOG.md ### ⚙️ Miscellaneous Tasks @@ -89,5 +114,21 @@ All notable changes to this project will be documented in this file. - Remove unused ImeEngine files - Add git-cliff config file -[24.10-rc.1]: https://github.com/chewing/windows-chewing-tsf/releases/tag/v24.10-rc.1 +### README + +- Initialize all submodules after cloning + +### Refactor + +- Add PIME::LangBarButton and move language button handling out of PIME::Client. + +### Nsis + +- Revise license page instructions +- Compress data in one block +- Declare the installer is DPI-aware +- Remove unused strings +- Use default branding text +- Bundle `chewing-cli.exe` + From c74810c1ea436727a57c23ab1ef788312ca1acd2 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 15 Dec 2024 11:53:51 +0900 Subject: [PATCH 2/4] chore(release): bump version to 24.10.349.0 --- Cargo.lock | 6 +++--- ChewingPreferences/ChewingPreferences.exe.manifest | 14 +++++++------- ChewingPreferences/ChewingPreferences.rc | 6 +++--- ChewingTextService/ChewingTextService.rc | 4 ++-- installer/windows-chewing-tsf.wxs | 2 +- libIME/Cargo.toml | 2 +- tsfreg/Cargo.toml | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fa437bf..f5a8091 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,10 +1,10 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "libime2" -version = "24.10.314" +version = "24.10.349" dependencies = [ "log", "nine_patch_drawable", @@ -56,7 +56,7 @@ dependencies = [ [[package]] name = "tsfreg" -version = "24.10.314" +version = "24.10.349" dependencies = [ "windows", ] diff --git a/ChewingPreferences/ChewingPreferences.exe.manifest b/ChewingPreferences/ChewingPreferences.exe.manifest index 0fb4f24..3f2bbc9 100644 --- a/ChewingPreferences/ChewingPreferences.exe.manifest +++ b/ChewingPreferences/ChewingPreferences.exe.manifest @@ -2,7 +2,7 @@ @@ -22,15 +22,15 @@ - + - + - + - + - + - + \ No newline at end of file diff --git a/ChewingPreferences/ChewingPreferences.rc b/ChewingPreferences/ChewingPreferences.rc index 62924d5..8aaea58 100644 --- a/ChewingPreferences/ChewingPreferences.rc +++ b/ChewingPreferences/ChewingPreferences.rc @@ -76,12 +76,12 @@ BEGIN BEGIN VALUE "CompanyName", "Chewing" VALUE "FileDescription", "新酷音輸入法設定" - VALUE "FileVersion", "24.10.314.0" + VALUE "FileVersion", "24.10.349.0" VALUE "InternalName", "ChewingPreferences.exe" VALUE "LegalCopyright", "Copyright (C) 2024" VALUE "OriginalFilename", "ChewingConfig.rc" VALUE "ProductName", "新酷音輸入法設定" - VALUE "ProductVersion", "24.10.314.0" + VALUE "ProductVersion", "24.10.349.0" END END BLOCK "VarFileInfo" @@ -201,7 +201,7 @@ BEGIN LTEXT "題字:翁政銓",IDC_STATIC,7,85,49,8 PUSHBUTTON "確定 (&O)",IDOK,83,178,50,14 LTEXT "新酷音 - 智慧型注音輸入法",IDC_STATIC,84,7,92,8 - LTEXT "版本:24.10.314.0",IDC_VERSION,84,20,92,8 + LTEXT "版本:24.10.349.0",IDC_VERSION,84,20,92,8 LTEXT "發行日期:2024 年 11 月 09 日",IDC_RELEASE_DATE,84,33,100,8 LTEXT "授權方式:",IDC_STATIC,84,59,35,8 LTEXT "專案首頁:",IDC_STATIC,84,72,35,8 diff --git a/ChewingTextService/ChewingTextService.rc b/ChewingTextService/ChewingTextService.rc index 3fa9594..223a21f 100644 --- a/ChewingTextService/ChewingTextService.rc +++ b/ChewingTextService/ChewingTextService.rc @@ -85,12 +85,12 @@ BEGIN BEGIN VALUE "CompanyName", "Chewing" VALUE "FileDescription", "新酷音輸入法" - VALUE "FileVersion", "24.10.314.0" + VALUE "FileVersion", "24.10.349.0" VALUE "InternalName", "ChewingTextService.dll" VALUE "LegalCopyright", "Copyright (C) 2013" VALUE "OriginalFilename", "ChewingTextService.rc" VALUE "ProductName", "新酷音輸入法" - VALUE "ProductVersion", "24.10.314.0" + VALUE "ProductVersion", "24.10.349.0" END END BLOCK "VarFileInfo" diff --git a/installer/windows-chewing-tsf.wxs b/installer/windows-chewing-tsf.wxs index f5abe7b..21b876a 100644 --- a/installer/windows-chewing-tsf.wxs +++ b/installer/windows-chewing-tsf.wxs @@ -6,7 +6,7 @@ Codepage="65001" Language="1028" Manufacturer="新酷音輸入法開發團隊" - Version="24.10.314.0" + Version="24.10.349.0" UpgradeStrategy="majorUpgrade" UpgradeCode="8085e4ce-205d-4c44-9450-59ba34163b2a"> diff --git a/libIME/Cargo.toml b/libIME/Cargo.toml index 004e2ee..0ff4bf2 100644 --- a/libIME/Cargo.toml +++ b/libIME/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libime2" -version = "24.10.314" +version = "24.10.349" edition = "2021" [lib] diff --git a/tsfreg/Cargo.toml b/tsfreg/Cargo.toml index efe8fd0..93c88c7 100644 --- a/tsfreg/Cargo.toml +++ b/tsfreg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tsfreg" -version = "24.10.314" +version = "24.10.349" edition = "2021" [dependencies] From 1810068c9cfd438907c1032a6dfd666b6f941e56 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 15 Dec 2024 11:56:52 +0900 Subject: [PATCH 3/4] chore(deps): update dependencies --- Cargo.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f5a8091..1962dca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -27,9 +27,9 @@ checksum = "d96e2f356f3fbb4179ee2a3d76ed2881553b93213a421a28975b2ea0c8d81d15" [[package]] name = "proc-macro2" -version = "1.0.89" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -45,9 +45,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.87" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", @@ -63,9 +63,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" +checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] name = "win_dbg_logger" From c7c583d9d0a72d4170cfabe93f521a2d0b96f10f Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 15 Dec 2024 12:03:16 +0900 Subject: [PATCH 4/4] chore(release): bump tarball version to 24.10 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 19c9cac..e749983 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ add_subdirectory(ChewingTextService) add_subdirectory(ChewingPreferences) set(CPACK_PACKAGE_CHECKSUM SHA256) -set(CPACK_PACKAGE_VERSION 24.10-rc.1) +set(CPACK_PACKAGE_VERSION 24.10) set(CPACK_SOURCE_IGNORE_FILES "/build" "/target" "/dist" "/\\\\..*") set(CPACK_SOURCE_GENERATOR ZIP) include(CPack) \ No newline at end of file