Skip to content

1.0: Leap to Swift

Compare
Choose a tag to compare
@LEOYoon-Tsaw LEOYoon-Tsaw released this 19 May 23:26
· 36 commits to swift since this release
  • 安裝完畢請退出當前用戶再重新登入,以便鼠鬚管正常工作。如鼠鬚管未出現在輸入法列表,請手動添加
  • 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