Skip to content

Releases: LEOYoon-Tsaw/squirrel

Paging Indicator

29 Jun 18:42
Compare
Choose a tag to compare
  • Include all bug fixed between 1.0.0 and 1.0.2
  • Fix Option + key under certain keyboards (e.g. in ABC Extended)
  • Added paging indicator. To enable, add below to squirrel.custom.yaml
patch:
  style/show_paging: true
Screen.Recording.2024-06-23.at.14.27.27.mov

1.0: Leap to Swift

19 May 23:26
Compare
Choose a tag to compare
  • 安裝完畢請退出當前用戶再重新登入,以便鼠鬚管正常工作。如鼠鬚管未出現在輸入法列表,請手動添加
  • Please log out from current user and login again, to make sure Squirrel can work properly. If Squirrel is not listed in your Input Method list, please add it manually
  • 可用於 / minimum OS: macOS 13.0+

主要更新

  • 用 Swift 重寫,代碼更易維護,更易讀,貢獻代碼的門檻更低。今天就來看看源代碼,嘗試動手吧!

其它更新

  • style/candidate_format 格式修改爲 "[label]. [candidate] [comment]",原格式仍能使用,建議遷移至更靈活、直觀的新格式
  • style/horizontal 將徹底移除,雖然本版程序仍支持,但會被新控件的默認值覆蓋,請使用 candidate_list_layout: stacked/lineartext_orientation: horizontal/vertical
  • style/label_hilited_color 已移除,請使用 hilited_candidate_label_color
  • 在菜單欄新增日志檔案夾,方便快速進入
  • 序號居中顯示,更像原生輸入法
  • native 配色小幅修改,減小字號,更像原生輸入法
  • 增加 --help 命令行選項
  • bug 修復
    • 偶發使用輸入大寫時造成中英切換

Major Update

  • Migrated code to pure Swift, which is easier to maintain, read and contribute. Build your own Squirrel today!

Other Updates

  • style/candidate_format now updated to "[index]. [candidate] [comment]", while the old format still works, please migrate to this more readable and flexible format at your convenience
  • style/horizontal will be dropped, it's still supported but will be overwrite by the default values of new options. Please adopt candidate_list_layout: stacked/linear and text_orientation: horizontal/vertical
  • style/label_hilited_color is removed, please use hilited_candidate_label_color instead
  • Added a menu item for logs folder for quick access
  • labels will vertically center if label font is smaller than candidate font, better matches macOS builtin IME
  • native color scheme is updated with smaller font size, better matches macOS builtin IME
  • Added --help command line argument
  • Bug fixes:
    • Occasionally, press to enter Cap case may switch ascii mode

Update lib rime to 1.11.2

28 Apr 02:08
Compare
Choose a tag to compare
  • Update librime to 1.11.2
  • compiled with octagram, lua, predict

Stable Release for Ventura

22 Apr 20:08
Compare
Choose a tag to compare
  • Mouse interaction:
    • Use trackpad or mouse scroll to page up/down
    • Hover over candidates to preview selection, click to select
  • Rebased on official squirrel repo: 7de3919

Select Candidate by Mouse

16 Feb 01:09
Compare
Choose a tag to compare

Now you can select a candidate by simply clicking on it! Cheers🍻!

sample.mp4

Better Text Layout (TextKit 2)

13 Feb 16:43
Compare
Choose a tag to compare

Adopts TextKit 2, the result is more reliable text layout, especially in vertical mode, and with exotic characters like Emoji.

Two screenshots below show the difference: left is old version (Emoji overlaps with other glyphs), right is new version.

Old overlapping Emoji layout New better Emoji layout

This new TextKit 2 is an effort to modernize text rendering, in theory it should also benefit the display for other scripts. Let me know if you have any comment.

P.S. This is also an elegant fix for the annoying line height alternation when Emoji shows and disappears.

Requires macOS 12+

Ventura Icon

29 Jan 17:18
Compare
Choose a tag to compare
  • Update to librime 1.8.5
  • Fix highlighted candidate strip bugs when there're unsupported characters in specified font
  • Wider icon compatible with MacOS 13+
  • Register for both Traditional and Simplified Chinese

image

Hilighted Candidate Shadow

05 Jun 18:12
Compare
Choose a tag to compare
  • Add style/shadow_size: 5 to specify shadow under selected candidate. Default to 0 with no shadow.
  • Add style/mutual_exclusive: true/false to allow colors not stack on each other, and have greater flexibility in transparency. Default to false
  • Improvements:
    • Better line length calculation
    • Better handling of negative border width

Screen Shot 2022-06-05 at 10 36 57

UI Improvements

27 May 18:08
Compare
Choose a tag to compare
  • style/memorize_size: true/false can control if you want stable first candidate position, i.e. rime#523
  • style/alpha: 0 is now valid, can thus will completely hide the panel
  • Surrounding high lights for all candidates:
    • setting preset_color_schemes/xxx/candidate_back_color will enable them
    • style/surrounding_extra_expansion will control the relative size to the selected candidate's surrounding block. Can be negative.
  • Various improvements:
    • style/border_height and style/border_width can now be negative, use in combination with style/corner_radius
    • style/line_spacing and spacing can now be negative.
    • All font_size can be float numbers.
    • labels are vertically centered when using a different label_font_size from the main font_size
  • Allow simplifier to block comments when tips is set to none by adding allow_erase_comment: true under the simplifier's settings.

Screen Shot 2022-05-27 at 14 04 14

Recompiled for Monterey

26 Oct 13:29
Compare
Choose a tag to compare
  • Translucent background ("style/translucency": true)
  • Inline first candidate ("style/inline_candidate": true)
  • All switches will display notification when toggled