Releases: rime/librime
Releases · rime/librime
librime 1.12.0
Features
- api: provide a flavor of api using stdbool #877 (居戎氏)
- rime_levers_api: stdbool flavor #877 (居戎氏)
- composition: commit script, keeping selected words (#924) #924 (RuQing Xu)
- translator_commons: allow a translator to take multiple tags (#926) #926 (ksqsf)
Bug Fixes
- context: index out of range in Context::Highlight (#867) #867 (LEO Yoon-Tsaw)
- show module name in log instead of their address (#890) #890 (WhiredPlanck)
- speller: make simple candidates auto-selectable #894 (ksqsf)
- api: delete_candidate and delete_candidate_on_current_page (#900) #900 (ksqsf)
- unable to make install in termux, because of file system redirection (#908) #908 (fxliang)
- deployment_tasks: do not remove log files in use (#913) #913 (ksqsf)
- switcher: deactivate before setting option #920 (居戎氏)
- speller: consider genuine simple cands when auto select #923 (ksqsf)
- deployment_tasks: do not clean up log when not specify log dir (#921) #921 (WhiredPlanck)
- build: limit default parallelism to 8 cores (#932) #932 (ksqsf)
- chord_composer: commit raw w/ Control+Return (居戎氏)
- user_dictionary: exact match phrase in front (居戎氏)
Documentation
- add zsh-rime #881 (Wu, Zhenyu)
- add more frontends #896 (Wu, Zhenyu)
Code Refactoring
- replace std::bind with lambda to increase readability (#903) #903 (WhiredPlanck)
Performance Improvements
- common: replace std unordered container with boost's (#937) #937 (WhiredPlanck)
Builds
- provide rime.pdb when MSVC build (#909) #909 (fxliang)
- Fix prefix for FreeBSD, OpenBSD (#916) #916 (Hodong)
Chores
- ignore plugins directories, .DS_Store (居戎氏)
- clang-format changes (居戎氏)
- log error info with file path info, when YAML::LoadFile exception happens. #895 (fxliang)
- don't log warning on nonexistent *.custom.yaml file (#889) #889 (fxliang)
- log dict file info and line number info when deploying warning (#874) #874 (fxliang)
- more detail log info when key_binder/bindings parsing errors happen (#922) #922 (fxliang)
- api: move inclusion of standard headers out of extern "C" #931 (ksqsf)
- release: 1.12.0 🎉 (居戎氏)
Commits
- 67d245b: add synchronize command in api console (#878) (Qijia Liu) #878
- 13228c2: move some headers (#892) (Qijia Liu) #892
- 79dda08: prevent initializing glog twice (#745) (Qijia Liu) #745
- ebdfd55: Recognizer ns (#691) (Shewer Lu) #691
- a4f24fd: get status of options and properties (#794) (Shewer Lu) #794
- 76dd707: fix deleting current candidate (#906) (Qijia Liu) #906
- 7bfde7b: (chord_composer): do not show blank chord prompt (居戎氏)
- 0cdce16: (script_translator): add config
translator/enable_word_completion
(居戎氏) - 9fa2bbc: fix fcitx5 Ctrl+Shift switches to rime and toggles ascii mode (#936) (Qijia Liu) #936
- 70f0634: fix log files named as UNKNOWN (#875) (groverlynn) #875
- aaaaaec: Optimize user dictionary lookup performance (#940) (ksqsf) #940
- delete candidate of any index (#945) #945 (Qijia Liu)
- c0f3dda: (chord_composer): bind any key to commit_raw_input (居戎氏)
Nightly Build
Chores
- release: 1.12.0 🎉 (居戎氏)
librime 1.11.2
Bug Fixes
- switch_translator: skip switches with no state labels (groverlynn)
- caret_pos is before caret character (居戎氏)
Chores
- release: 1.11.2 🎉 (居戎氏)
librime 1.11.1
Bug Fixes
- script_translator: correction can cause segfault (#863) #863 (ksqsf)
- crash on select_schema .default (居戎氏)
Builds
- cmake: find yaml-cpp debug lib on windows (居戎氏)
Chores
- clang format [skip ci] (居戎氏)
- a long exsiting typo that happened to work (居戎氏)
- release: 1.11.1 🎉 (居戎氏)
Commits
- add coc-rime #864 (Wu, Zhenyu)
librime 1.11.0
Features
- dict_compiler: rebuild packs on demand (#816) #816 (ksqsf)
- dictionary: predict word #832 (居戎氏)
- dictionary: sort predictive match words #832 (居戎氏)
- script_translator: preedit for predicted word #832 (居戎氏)
- script_translator: sentence over prediction #832 (居戎氏)
- user_dictionary: predict word #832 (居戎氏)
- chord_composer: finish chord on first release (#828) #828 (fxliang)
- config: Config::Save saves data if modified #842 (居戎氏)
- script_translator: word completion from 2nd place (#848) #848 (居戎氏)
Bug Fixes
- build.bat: return error if unit test failed #813 (居戎氏)
- test: ctest unable to find executable #813 (居戎氏)
- test: copy rime.dll to test dir (居戎氏)
- glog: configure macros #827 (居戎氏)
- glog: replace deprecated API #827 (居戎氏)
- glog: someone at google is to blame for linking error #827 (居戎氏)
- context: tag selected segment after editing #831 (居戎氏)
- glog: no read permission on the cwd on Android (#835) #835 (mokapsing)
- crash by iteration on non-existing directory #837 (fxliang)
- plugins: load plugins in relative path #833 (居戎氏)
- install-boost.bat: quit without running b2 (居戎氏)
- install-boost.sh: exit code 0 (居戎氏)
- echo_translator: return null for empty query (居戎氏)
- chord_composer: ignore repeated keys (#841) #841 (fxliang)
- switcher: superfluously load saved options #842 (居戎氏)
- rime_api: deploy_schema type cast failure (居戎氏)
- format with clang-foramt 18.1 #840 (Bambooin)
- log rime::path by operator overloading (fxliang)
Builds
- Makefile: fix install targets (居戎氏)
- make clean build=build_dir (居戎氏)
- make deps/clean prefix=dist_dir (居戎氏)
- cmake: output shared libraries to build/bin #833 (居戎氏)
- add resource info for windows MSVC build (#845) #845 (fxliang)
- add English resource info for mingw/clang build. (#847) #847 (fxliang)
- rime_table_decompiler: static linking on windows #857 (居戎氏)
- clang-format: skip plugins directories (居戎氏)
Continuous Integration
- upgrade github action to v4 (#814) #814 (Bambooin)
- build-mingw: librime.dll output dir changed #833 (居戎氏)
- windows: add msvc x64 build (居戎氏)
- do not cache boost source tarball (居戎氏)
- update actions/upload-artifact (居戎氏)
- macos: only archive universal build (居戎氏)
- disable nightly build in forked repos #846 (Bambooin)
- install latest clang-format #840 (Bambooin)
Chores
- format code #813 (居戎氏)
- add git blame ignore file [skip ci] (#819) #819 (Bambooin)
- log file_path_ when warning in tsv.cc (#825) #825 (fxliang)
- deps: update glog to v0.7.0 #827 (居戎氏)
- script_translator: predict word if enable_completion #832 (居戎氏)
- build.bat: target boost is deprecated (居戎氏)
- context: add debug log on option update #842 (居戎氏)
- chord_composer: non-chord key clears state (居戎氏)
- use path::u8string for filename comparison (居戎氏)
- release: 1.11.0 🎉 (居戎氏)
Commits
- 868e077: add back macOS script for building boost libraries (居戎氏)
- 3368db1: Apply clang format in rime source code (#815) (Bambooin) #815
- 33ce245: Revert "build(Makefile): fix install targets" (居戎氏)
- a4ed799: set log filename extension and avoid deleting incorrect files (#838) (fxliang) #838
- 761bc40: build(build.bat) add envvar build_dir (居戎氏)
- 7470f38: add large address aware for msvc build (fxliang) #843
- 6d5bbc1: Update README-windows.md (居戎氏)
librime 1.10.0
Features
- add reload command for rime_api_console (#741) #741 (fxliang)
- key_binder: add
when: predicting
condition (#751) #751 (居戎氏) - engine: translate zero-length prediction #778 (居戎氏)
- rime_api: add RimeApi::set_input (#771) #771 (morse.hsiao)
- api: highlight_candidate*, change_page (LEO Yoon-Tsaw)
Bug Fixes
- don't compress the token during collecting dict entries (#762) (#768) #768 (WhiredPlanck)
- path: convert to native encoding on Windows (#806) #806 (居戎氏)
- chord_composer: stop at super and caps by default #808 (ksqsf)
Code Refactoring
- replace boost lexicast with std algorithms #738 (WhiredPlanck)
- replace boost any to std any #738 (WhiredPlanck)
- drop unused boost optional #738 (WhiredPlanck)
- drop redundant headers (#763) #763 (WhiredPlanck)
- DbPool for managing shared db files #779 (居戎氏)
Performance Improvements
Builds
- run ctest to run the test program (#731) #731 (WhiredPlanck)
- log: add cmake option ALSO_LOG_TO_STDERR #809 (居戎氏)
- Dockerfile: use install-plugins.sh #811 (居戎氏)
- clean up deprecated targets (居戎氏)
Continuous Integration
- Use Ninja Build in CI (#718) #718 (wxyzhen)
- linux-build.yml: improve linux build ci #724 (WhiredPlanck)
- Dockerfile: enable plugin librime-lua #811 (居戎氏)
Chores
Commits
- 72a6406: Remove FindKyotoCabinet.cmake (#714) (AlfredLouis00) #714
- 1ca3c3b: vendor marisa (#717) (Qijia Liu) #717
- 92f0354: catch deployment failure (usually oom) (#719) (Qijia Liu) #719
- c9630fe: suppress log for futile translation (#623) (葉修齊) #623
- f8528dd: allow deployment without timestamp (#720) (Qijia Liu) #720
- e849f28: refactor Translation::Compare() (#624) (Shewer Lu) #624
- d03a881: update tools: code page switching for windows, and format tools code with
clang-format -i
(#721) (fxliang) #721 - 619a67b: drop boost/system stub library (#722) (Qijia Liu) #722
- 8bf01e9: Replace boost filesystem with std filesystem (#649) (WhiredPlanck) #649
- update utf8 headers #724 (WhiredPlanck)
- 743f762: drop boost/signals (Qijia Liu) #728
- 7928a7d: drop librime-lua patch (Qijia Liu) #728
- 6d1b9b6: allow only logging to stderr with minloglevel (Qijia Liu) #730
- c34c9ea: CleanOldLogFiles respects log_dir (#732) (Qijia Liu) #732
- eb2477e: CleanOldLogFiles doesn't scan cwd when no log_dir (#733) (Qijia Liu) #733
- 298a9dd: drop boost regex lib for windows and macos (#735) (Qijia Liu) #735
- bcb3555: write user.yaml on RimeSelectSchema (#736) (Qijia Liu) #736
- bede844: Update charset_filter.cc (#740) (fxliang) #740
- f387307: Use designated build directory for glog (#739) (groverlynn) #739
- 72ac292: linux ci: don't build gtest and opencc (#743) (Qijia Liu) #743
- 63886fb: export symbols for librime-predict (#744) (Qijia Liu) #744
- cde8c21: support predict plugin (#748) (Qijia Liu) #748
- e42851c: release nightly (#753) (Qijia Liu) #753
- af3d4a7: Update README-mac.md [skip ci] (#758) (groverlynn) #758
- 1c78709: Continue to Migrate from Boost to std (#755) (WhiredPlanck) #755
- 78587b8: Merge build scripts (#759) (WhiredPlanck) #759
- bffd0cb: fix full shape (#773) (Qijia Liu) #773
- d1ed608: upgrade boost to 1.84.0 and replace jfrog (#789) (Qijia Liu) #789
- 943b8c6: generate rime.pc on macOS (#788) (Qijia Liu) #788
- 72f833d: make sure glog only write to stderr using google::LogToStderr() (Rocka) #790
- d402755: add m1 macos ci (#803) (Qijia Liu) #803
- 5b0660f: chain conversion (#715) (groverlynn) #715
librime 1.9.0
Features
- switches: abbreviate state labels #615 (居戎氏)
- dict: shorten the data struct used by Vocabulary #661 (WhiredPlanck)
- add
append_comment
option toreverse_lookup_filter
(#699) #699 (ksqsf)
Bug Fixes
Code Refactoring
- vocabulary.h: align the size of DictEntry struct #661 (WhiredPlanck)
- dict_compiler.cc: correct the usage of auto in loop #661 (WhiredPlanck)
Performance Improvements
- dict: improve dict complile performance (#663) #663 (WhiredPlanck)
- replace rbtree with vector of pair (#684) #684 (Qijia Liu)
- release memory of temporary fields (#690) #690 (Qijia Liu)
Builds
- xcode.mk: use recommended macOS deployment target (居戎氏)
- install-boost.bat: default to boost 1.78 (居戎氏)
- build.bat: build boost_ (居戎氏)
- xcode.mk: set MACOS_DEPLOYMENT_TARGET=10.13 (居戎氏)
- env.bat.template: set default envvar (居戎氏)
Continuous Integration
- use clang 16 for macOS (#702) #702 (Qijia Liu)
- build boost::locale for charcode in clang win (#703) #703 (Qijia Liu)
Chores
- update data for testing short state labels #615 (居戎氏)
- .gitignore: ignore .cache #661 (WhiredPlanck)
- upgrade gtest to 1.14.0 (#704) #704 (Qijia Liu)
- release: 1.9.0 🎉 (居戎氏)
Commits
- 8bf2cf7: add My RIME to README [skip ci] (Qijia Liu) #622
- b05f11b: feat,refactor(dict): tweak to reduce peak memory usage (WhiredPlanck) #661
- 77e8a5c: replace iRime with Hamster [skip ci] (Qijia Liu) #642
- 6772e2d: expose candidate operation apis (#664) (Qijia Liu) #664
- ab586ca: use clang-format to lint code (#665) (Qijia Liu) #665
- 3e0487c: Recude Memory Comsumption When Compiling Dictionaries (2) (#669) (WhiredPlanck) #669
- 97af61b: allow single thread deployment (#673) (Qijia Liu) #673
- c8b099d: remove unused include (#674) (Qijia Liu) #674
- fix typos (#632) #632 (Kian-Meng Ang)
- e391bc2: Fix a potential race condition of MaybeCreateDirectory (#683) (Weng Xuetian) #683
- opencc does not work under Windows, when opencc files in a path code page incompatible with UTF-8. (#689) #689 (fxliang)
- 75e6b1a: follow opencc conversion chain (#688) (Qijia Liu) #688
- 9180817: Fix clang job (#693) (Qijia Liu) #693
- 8b7bdbe: drop BOOST_USE_CXX11; fix 2 cmake warnings (#694) (Qijia Liu) #694
- 0d12d90: upgrade boost to 1.83 (#696) (Qijia Liu) #696
- 402137c: Fix build error of deprecated api (#697) (Bambooin) #697
- 1bf1fd4: support clang build on windows (#695) (Qijia Liu) #695
- 8432190: use boost::filesystem::resize_file (#698) (Qijia Liu) #698
- 8af548f: Fix a regression in reverse_lookup_filter introduced in #699 (#701) (ksqsf) #701
- 2849335: support mingw-w64 build on windows (#700) (Qijia Liu) #700
- add rime_table_decompiler (#706) #706 (Xing Chen · 单单)
- be3af89: Upgrade yaml-cpp to 0.8.0 (#705) (Bambooin) #705
- de55c0d: upload clang/mingw artifact with plugins (#707) (Qijia Liu) #707
- 3757148: fix mingw ci ran librime-lua (#709) (Qijia Liu) #709
- cbf91e2: Drop Window XP (#710) (Qijia Liu) #710
- 03abf36: rewrite Dockerfile to include plugins (#711) (Qijia Liu) #711
librime 1.8.5
librime 1.8.4
librime 1.8.3
Bug Fixes
- skip key combos with super modifier (居戎氏)
Chores
- release: 1.8.3 🎉 (居戎氏)
Commits
- CHANGLOG.md: fix wrong conversion [skip ci] (居戎氏)
- 2a12cb8: Revert "ci: drop librime-charcode from windows build" (居戎氏)
1.8.0 (2023-01-25)
Bug Fixes
- algo, dict: add an extra set of parenthesis to std::min ... (f66d330)
- charset_filter: Update
is_extended_cjk
to compatible with Unicode 15 (946e852) - chord_composer: first key missing from raw input (33d85ad)
- chord_composer: invisible placeholder char prepended to output (0ec7a2d)
- ci: download and extract boost (200e3ec)
- ci: install Rime plugins' dependencies (7677dae)
- ci: no hardcoded boost version in ci scripts (3ae72a3)
- dict_compiler: shrink .reverse.bin file to fit after build (2af37e0)
- reverse_lookup_dictionary: writing data to overflow buffer (46e3066), closes #456
- setup: avoid glog log macros conflict with macros of Windows (24e1612)
- fix missing control paths issue (87e4c73)
- qualify std::exp after including (bc589fd), closes #462 #476
- ci: update ci script for windows (0358a21)
- dictionary: had unsorted chunks after the previous chunk ended (dd6af3d), closes #507
- editor:
back_syllable
should reopen selected words (a3fdad8) - replace bintry mirror with jfrog (a1203fc)
Features
- api: get_state_label returns the state label for UI display (8f9e9c7), closes #447
- ci: add GitHub action ci support (56e9d2a)
- ci: add pull request ci (94bb5d5)
- ci: add tag release ci (aafe5a3)
- context: allow composing with zero input (8e2826a)
- key_binder: single select a radio group option (5e8aca2)
- key_binder: toggle the switch defined at index
toggle: '@n'
(6ca7803), closes #554 - navigator,selector: vertical navigation (d79f6b3), closes #543
- plugins: support plugin specs in slug@branch format (7d11455)
- selector: handle repeated key until release (8d93e9f)
- add windows ci job (14ee47a)
- delete selected candidate (#557) (43023e1)
- half/full-shape labels for more characters (f2c7e40), closes #594
- simplifier: can be configured to return empty comment (#541) (2368034)