SunPinyin for Mac Leopard updated (9)

此次更新的主要内容包括:

  1. 解决了在PowerPoint 2008中使用经典模式无法输入中文的问题(严格来说是PowerPoint的bug)
  2. 修正了应用程序失去焦点会重置中英文模式的问题
  3. 修正了在输入法弹出的对话框中无法输入的问题(感谢tianyu263的帮助)

大家可以从这里下载最新的安装包。在安装完成之后,请到http://src.opensolaris.org/.../sunpinyin/ime/data下载lm_sc.t3g.le以及pydict_sc.bin.le(如果是PowerPC请下载后缀为'.be'的对应文件),将'.le'(或'.be')的后缀去掉,并拷贝到/Library/Input Methods/SunPinyin.app/Contents/Resources目录下。或者从苹果驿站下载数据安装包来安装。

Why we're developing SunPinyin for Mac?

I just got a question from the comments of last entry,

No offense, but I'm just curious why does Sun spend money on developing an input method for Mac OS? Or Is this just a personal project?

And here comes my reply, that I'd like to post as new entry too,

Actually, the core of SunPinyin is the conversion engine based on statistical language model, and it can have different front-ends, like gtk_standalone (for debugging) iiimf-cle, scim, beCJK, and leopard/IMKit as well. The basic idea of porting SunPinyin to leopard/IMKit is to let more people to know about this input method, and attract some Mac developers to join this project, and hopefully join the engine development eventually. Another reason is that I'm not satisfied with the existing input methods on Mac.

The returns are that we really got a lot of valuable feedback and responses from the Mac users (like Zheming), and attracted several developers (including a UI designer) to join us. Though I'm hoping some one could take over the maintenance of leopard/IMKit porting from me :) All the contributions from Mac world, are helping us to make SunPinyin better, and better, on all platforms.

While, yes, you're right, it's more likely a personal project, I mostly spent spare time on that. Though the initial porting did take several working days. And, I'd appreciate the supports from my managers.

Hopes you enjoy it :)

SunPinyin for Mac Leopard updated (8)

此次更新的主要内容包括:

  1. 替换了新的SunPinyin图标(感谢chumsdock同学的贡献)
  2. 修正了Shift+其他组合键会造成中英文状态切换的问题
  3. 改善了即时输入模式,可以输入无效的拼音字符,Return键不再是进行音字转换而是提交preedit,Shift+Return则把整个输入缓冲区中的拼音字符提交到应用程序中,方便大家临时输入英文的需要

大家可以从这里下载最新的安装包。在安装完成之后,请到http://src.opensolaris.org/.../sunpinyin/ime/data下载lm_sc.t3g.le以及pydict_sc.bin.le(如果是PowerPC请下载后缀为'.be'的对应文件),将'.le'(或'.be')的后缀去掉,并拷贝到/Library/Input Methods/SunPinyin.app/Contents/Resources目录下。或者从苹果驿站下载数据安装包来安装。

SunPinyin的新图标

感谢chumsdock同学的贡献,SunPinyin有了一个非常好看的图标!由于一些流程方面的原因,我暂时还无法直接提交到repository中。大家可以通过下面的方法替换SunPinyin原有的图标。

  1. 首先下载图标文件,并解压缩
  2. $ sudo cp SunPinyin.icns /Library/Input\ Methods/SunPinyin.app/Contents/Resources
  3. $ sudo rm /Library/Input\ Methods/SunPinyin.app/Contents/Resources/SunPinyin.tiff
  4. 编辑/Library/Input\ Methods/SunPinyin.app/Contents/Info.plist,将SunPinyin.tiff替换为SunPinyin.icns
  5. 重新登陆

这样大家就可以看到新的图标了!

SunPinyin for Mac Leopard updated (7)

此次更新的主要内容包括:

  1. 修正了光标跟随在副显示器上不能正常工作的bug
  2. 加入了用Shift进行中英文切换的选项
  3. 加入了Growl的支持,在使用Shift切换时通知“已切换至英文模式”

越发觉得SunPinyin的Logo有些简陋,期待有朋友能帮忙设计一个,呵呵 ...

大家可以从这里下载最新的安装包。在安装完成之后,请到http://src.opensolaris.org/.../sunpinyin/ime/data下载lm_sc.t3g.le以及pydict_sc.bin.le(如果是PowerPC请下载后缀为'.be'的对应文件),将'.le'(或'.be')的后缀去掉,并拷贝到/Library/Input Methods/SunPinyin.app/Contents/Resources目录下。或者从酷本社区下载数据安装包来安装。

SunPinyin for Mac Leopard updated (6)

此次更新的主要内容包括:

  1. 加入了候选窗口的前景色和高亮色的设置
  2. 修正了未设置颜色时,首选项中的颜色栏为黑色的bug
  3. 加入了使用英文键盘布局的设置(感谢tianyu263的帮助)
  4. 修正了两个可能导致crash的bug

大家可以从这里下载最新的安装包。在安装完成之后,请到http://src.opensolaris.org/.../sunpinyin/ime/data下载lm_sc.t3g.le以及pydict_sc.bin.le(如果是PowerPC请下载后缀为'.be'的对应文件),将'.le'(或'.be')的后缀去掉,并拷贝到/Library/Input Methods/SunPinyin.app/Contents/Resources目录下。或者从酷本社区下载数据安装包来安装。

SunPinyin for Mac Leopard Updated (5)

此次更新的主要内容包括:

  1. 加入了候选词字符集的选项
  2. 调整了原来的界面布局,感谢jjgod的帮助

最初觉得缺省支持大字符集很好, 不过最近在帮Feng Zhu收集手写样本时发现,原来GB2312中的二级汉字,我也有若干不认识的。将候选词的字符集设小之后,也有助于减少候选词(主要是字)的个数,提高选取的效率。

大家可以从这里下载最新的安装包。在安装完成之后,请到http://src.opensolaris.org/.../sunpinyin/ime/data下载lm_sc.t3g.le以及pydict_sc.bin.le(如果是PowerPC请下载后缀为'.be'的对应文件),将'.le'(或'.be')的后缀去掉,并拷贝到/Library/Input Methods/SunPinyin.app/Contents/Resources目录下。

Changing UID and GID on Mac OS X Leopard


$ id
uid=501(yongsun) gid=501(yongsun) groups=501(yongsun),98(_lpadmin),81(_appserveradm),79(_appserverusr),80(admin)

$ sudo dscl . -change /Users/yongsun UniqueID 501 1000
$ sudo dscl . -change /Users/yongsun PrimaryGroupID 501 1000
$ sudo dscl . -change /Groups/yongsun PrimaryGroupID 501 1000

$ id
uid=1000(yongsun) gid=1000(yongsun) groups=1000(yongsun),98(_lpadmin),81(_appserveradm),79(_appserverusr),80(admin)

$ chown -R yongsun:yongsun /Users/yongsun

Donkey on Leopard

The latest official build of aMule is 2.1.3, though you could connect to the ED2K/Kad network, you may find that the download speed is very very slow. aMule-cvs is the solution, fortunately a Chinese developer, HDFreeleader, builds the aMule-cvs snapshots weekly.

The newest build is amule-cvs-20080322. And it requires the libjpeg.62.dylib in /usr/local/lib. I recommend you to install libjpeg via MacPorts, and then create a symbolic link there.