Giter VIP home page Giter VIP logo

scu's People

Contributors

neolee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scu's Issues

SCU cannot be opened on OS X 10.6

OS X: 10.6.8
Problem Report:

    Process:         SCU [5400]
    Path:            /Users/marcus/Downloads/SCU.app/Contents/MacOS/SCU
    Identifier:      me.soulhacker.SCU
    Version:         0.2 (106)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [96]

    Date/Time:       2013-01-17 14:19:03.110 +0800
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6

    Interval Since Last Report:          12954330 sec
    Crashes Since Last Report:           -202
    Per-App Crashes Since Last Report:   1
    Anonymous UUID:                      5814E6FC-3636-4603-8649-444F732F603E

    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  0

    Dyld Error Message:
      Symbol not found: _OBJC_CLASS_$_NSRegularExpression
      Referenced from: /Users/marcus/Downloads/SCU.app/Contents/MacOS/SCU
      Expected in: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
     in /Users/marcus/Downloads/SCU.app/Contents/MacOS/SCU

Patching nested YAML map values incorrectly

In *.custom.yaml, values from the immediate children key-value pairs under the node patch: will substitute values with the same key-path from the YAML document.
It's important to specify in the patch a key-path separated with / for values in a nested YAML map.

For example, the following code in RimeConfigController.m:

[_squirrelConfig patchValue:_colorTheme forKeyPath:@"style.color_scheme" error:&error];

generates an incorrect patch

patch:
  style:
    color_scheme: blah

which should be:

patch:
  "style/color_scheme": blah

The problem with the former patch is, other children of the node style would be lost in the patched file, since the YAML value to be patched is the entire map (ROOT)/style.

配置窗口无法自动出现

遇到两个问题:

  • 启动 SCU 之后配置选项窗口没有自动出现,必须按 ⌘1 才能看到
  • General 选项刚出来是空白的,必须点击其他 tab,再点击回来才能看到内容

系统:OS X 10.8.4,系统语言为英语

自定义皮肤背景和颜色都变成黑色。

我的皮肤代码

文件是 squirrel.custom.yaml

代码如下

weasel.custom.yaml

patch:
style/horizontal: true # 候選橫排

style/inline_preedit: true  # 內嵌編碼(僅支持TSF)

style/corner_radius: 4       # 窗口圓角半徑

style/color_scheme: sfufoet      # 選擇配色方案

app_options/com.alfredapp.Alfred: {}    # 开启 Alfred 的中文输入

"style/color_scheme": sfufoet    # 這項用於選中下面定義的新方案
"preset_color_schemes/sfufoet":  # 在配色方案列表裏加入標識爲 starcraft 的新方案
  name: sfufoet
  author: sfufoet <[email protected]>
  text_color: 0x000000              # 編碼行文字顏色,24位色值,用十六進制書寫方便些,順序是藍綠紅0xBBGGRR
  candidate_text_color: 0x000000   # 候選項文字顏色,當與文字顏色不同時指定
  back_color: 0xdfdfde             # 底色
  border_color: 0xdfdfdf           # 邊框顏色,與底色相同則爲無邊框的效果
  hilited_text_color: 0xdd6d2a     # 高亮文字,即與當前高亮候選對應的那部份輸入碼
  hilited_back_color: 0xdfdfde     # 設定高亮文字的底色,可起到凸顯高亮部份的作用
  hilited_candidate_text_color: 0xdd6d2a  # 高亮候選項的文字顏色,要醒目!
  hilited_candidate_back_color: 0xdfdfde  # 高亮候選項的底色,若與背景色不同就會顯出光棒

该死的 Markdown 语法。。。你懂的。

样式配置的bug

在样式里面,如果只改了字体,圆角会失效,得重新拉动一遍才行,而且英文字母也跑到候选条上去了。

最新版的 Squirrel 输入法不支持

首先感谢大佬提供的工具:
问题:什么时候能支持最新版的 Squirrel 输入法,目前用的 0.16.2 版本不支持。
期待大佬更新支持 ✊

[Feature request] trigger deployment in Squirrel

Send a distributed notification named "SquirrelReloadNotification".
This will trigger deployment in future versions of Squirrel.

See diff in main.m for code sending the notification:
rime/squirrel@62848ce

Note that deployment may be time consuming if some of the dictionaries need to be rebuilt. Avoid doing it immediately when every change is made.
Instead, consider adding a button in "General" or "Help" tab. The notice in "Help" tab will still be meaningful to older versions of Squirrel.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.