Skip to content

v0.3.0

Compare
Choose a tag to compare
@wlh320 wlh320 released this 08 May 04:31
· 31 commits to master since this release

What's Changed

  • fix: continuous input in some editors
    • add option long_filter_text for some editors (zed, helix)
    • add option show_filter_text_in_label for some editor (zed)
  • feat: add Dockerfile to support using over tcp rpc by @Zwlin98 in #17
  • fix: find raw_input from the end by @TwIStOy in #21
  • fix: a dashmap deadlock (#16)
  • doc: change doc about how to use rime-ls on MacOS by @evpeople in #25

New Contributors

Full Changelog: v0.2.4...v0.3.0

Build

On my PC, script:

LIBRIME_VER=1.11.2
LIBRIME_HASH=5b09f35
PROJECT_PATH=~/build/rime-ls
RIME_LS_VER=0.3.0

# download and extract librime
mkdir librime
wget https://github.com/rime/librime/releases/download/${LIBRIME_VER}/rime-${LIBRIME_HASH}-macOS-universal.tar.bz2 \
    -O librime/mac.tar.bz2
mkdir librime/mac
tar xvjf librime/mac.tar.bz2 -C librime/mac
wget https://github.com/rime/librime/releases/download/${LIBRIME_VER}/rime-${LIBRIME_HASH}-Windows-msvc-x64.7z \
    -O librime/msvc.7z
7z x librime/msvc.7z -olibrime/msvc

# build
## linux
LIBRIME_INCLUDE_DIR=/usr/include LIBRIME_LIB_DIR=/usr/lib cargo zigbuild --target x86_64-unknown-linux-gnu.2.17 --release
## windows msvc
LIBRIME_INCLUDE_DIR=${PROJECT_PATH}/librime/msvc/dist/include LIBRIME_LIB_DIR=${PROJECT_PATH}/librime/msvc/dist/lib cargo xwin build --target x86_64-pc-windows-msvc --release
## macos
LIBRIME_INCLUDE_DIR=${PROJECT_PATH}/librime/mac/dist/include LIBRIME_LIB_DIR=${PROJECT_PATH}/librime/mac/dist/lib cargo zigbuild --target universal2-apple-darwin --release

# compress artifacts
sha256sum target/x86_64-pc-windows-msvc/release/rime_ls.exe
sha256sum target/universal2-apple-darwin/release/rime_ls
sha256sum target/x86_64-unknown-linux-gnu/release/rime_ls

tar czvf target/rime-ls-v${RIME_LS_VER}-x86_64-unknown-linux-gnu.tar.gz -Ctarget/x86_64-unknown-linux-gnu/release/ rime_ls
tar cjvf target/rime-ls-v${RIME_LS_VER}-universal2-apple-darwin.tar.bz2 -Ctarget/universal2-apple-darwin/release/ rime_ls
7z a ./target/rime-ls-v${RIME_LS_VER}-x86_64-pc-windows-msvc.7z ./target/x86_64-pc-windows-msvc/release/rime_ls.exe

Checksum

sha256

f2e47ad89a9b98e9a43ca190d397d48279a034fe7a780dac38f008e05a116789  target/x86_64-pc-windows-msvc/release/rime_ls.exe
eb7f3fb07c65202eb50c877c6d819e44aa4676b21ee78619552e6c2861b570c6  target/universal2-apple-darwin/release/rime_ls
f9bcd9ad35a7f05f71522f61f6d6d6dc6cbc42aad3d8cac4f8e25dee87a0b500  target/x86_64-unknown-linux-gnu/release/rime_ls