[Update] xcin-2.5.2-pre5
各位好:
有兴趣的朋友请试试这一版:
ftp://xcin.linux.org.tw/pub/xcin/xcin/devel/xcin-2.5.2-pre5.tar.gz
ftp://xcin.linux.org.tw/pub/xcin/xcin/patch/2.5.2-pre4_2.5.2-pre5.diff.gz
这一版有一些 OverTheSpot 外观上的改变,其实只是将积欠了很久的功能
写出来而已。大家可以看看这两个 screen shot:
http://xcin.linux.org.tw/xcin-2.5/overspot1.png
http://xcin.linux.org.tw/xcin-2.5/overspot2.png
相对应地, xcinrc 中的选项也有了更动:
1. OVERSPOT_DRAW_AREA3 与 OVERSPOT_DRAW_LCCH 删除,以后这两项永远都是
开启的。
2. 新增 OVERSPOT_USE_USRFONTSET 与 OVERSPOT_FONTSET,其中前者可以指定
OverTheSpot 视窗所用的字型,后者可以设定是否直接使用前者所指定的字
型。预设是不使用。由于在某些情况下, XIM client 可能不会提供可用的
fontset 给 OverTheSpot 视窗,故 OverTheSpot 就会用 OVERSPOT_FONTSET
所指定的 fontset 来画字,否则的话就用 client 所提供的。如果您希望
OverTheSpot 永远使用 OVERSPOT_FONTSET 的字型的话,您就要将
OVERSPOT_USE_USRFONTSET 开启。
3. 新增 START_MAINWIN2 以及 MAINWIN2_GEOMETRY 选项。请注意,这目前仍需
要时间考验,因此预设是关闭的。您若发现使用上有任何问题,请立即回报。
这是什么玩意儿?简单地说, xcin 主视窗有双胞兄弟了。各位在第一个
screen shot 见到是原来的主视窗,如果打开 START_MAINWIN2 后,另一个
较小的主视窗就会启动,直接取代原来那个大的,也就是各位在第二个 screen
shot 中见到的情况。而原来那个大的则只有在遇到使用 Root input style
的 client 时才会启动。
很多人认为原来的大视窗很碍眼,特别是在 OverTheSpot 的情况,故才有这
样的设计。有兴趣的朋友不妨试试。若您希望改变预设小视窗的大小位置时,
可以改变 MAINWIN2_GEOMETRY 的值。
除此之外,还有许多看不见的改变及 bug 修正,就不多说了,有兴趣的朋友请自
行看看 Change log。
希望这一版可以是最后的功能敲定了。接下来需要完成的工作有:
1. gen_inp pinyin.cin (Big5) review
2. 继续补齐 doc
3. 加入 man page
4. Update po & Big5 translation
Change log:
=======================================================================
xcin-2.5.2-pre5: 2000/08/25
------------------------------
1. IM module change: add a terminate() function all.
2. Add signal catch: SIGTERM, SIGQUIT, SIGINT.
3. XCIN termination now change to the following processes:
1. Call xim_close(), turn on XCIN_RUN_EXIT flag, and check if currently
there is an IC on focus:
if yes: Send XIM Sync signal to the client, and waits for the reply.
if no: turn on XCIN_RUN_EXITALL flag.
2. If XCIN_RUN_EXIT on, turn off any XIM action (do nothing but only
return True), but loop continuous, untill the reply for the Sync
signal from the client to xim_sync_reply_handler(). Then call
IMCloseIM() and turn on XCIN_RUN_EXITALL flag.
3. If XCIN_RUN_EXITALL on, stop the loop and terminate the XIM engine
and all the IM modules. Then exits.
4. Mozilla M16 work-around:
a. xim_IC.c: ignore get_ic_value & set_ic_value for null name/value.
Also modify the set_ic_value: XNFontSet part.
b. Fix bug in gui_overspot.c fontset updating part.
c. Add get_ic_value(): XNPreeditState handler.
Thanks to "Huei_ru, Chen (Cathy Chen)" <cathy@mitux.tatung.com.tw>
Yung-Fong Tang <ftang@netscape.com>
Masaki Katakai <Masaki.Katakai@Japan.Sun.COM>
<CyberMax.bbs@openbazaar.net>
5. Fix bug in call_switch_out(): When IM_2BYTES on & switch between clients,
the IM_2BYTES state of xcin window cannot update.
6. IMdkit, i18nPtHdr.c: add include config.h.
7. Remove xcin_mode flag: XCIN_RUN_FIRSTIM. Use static variable to indecate
the "first call" of that function in Change_IM() & ic_create().
Add IC_FOCUS check in xim_set_focus_handler() & xim_unset_focus_handler()
Thanks to Chuang Ming-Che <r8921131@ms1.cc.ntu.edu.tw>
8. Fix bug in gen_inp: fillpage(): inpinfo->mcch_pgstate assignment.
9. Fix bug in IMdkit: During the operation of xcin and the XIM clients, the
X-Atoms generated by xcin will continuously increase. Now using the garbage
collection mechanism IMdkit will reuse the free connect_id and the
"_server%d_%d" X-Atoms will not increase indefinitely.
Thanks to Cheng, Yuan Chen <ycheng@sinica.edu.tw>.
10. Documentation updation.
11. Remove big5/cantonese.cin & gb/zhiranma.cin & gb/biaoxingma.cin tables
because of potentially license problem.
Thanks to Anthony Fok <foka@debian.org>, zhaoway <zw@zhaoway.com>,
hashao <hashao@china.com>, Ben Luo <benluo@etang.com>
12. Add fontset resource management functions.
13. OverTheSpot improvement:
a. Add OVERSPOT_USE_USRFONTSET and OVERSPOT_FONTSET options in xcinrc,
such that the user can specify the fontset of overspot window.
Thanks to suggestion of zhaoway <zw@zhaoway.com>.
b. Remove OVERSPOT_DRAW_AREA3 and OVERSPOT_DRAW_LCCH options. They will
always be enabled.
c. Change the drawing for lcch to "lcch [preedit keystroke]" style.
Thanks to suggestion of KIRIN <kirin@ms7.url.com.tw>.
d. Add draw_lcch_grouping function.
14. a, Merge the functional of WIN_CHANGE_IM_CONTEXT & WIN_CHANGE_IM, and add
new flag WIN_CHANGE_REDRAW, and simplify the updation of gui_mainwin.
b. Also, to work around the problem of IC focus change of Mozilla, the
xim_set_focus_handler() & xim_unset_focus_handler will always set
WIN_CHANGE_REDRAW flag. The side effect is when the clients are in
English mode, changing the input focus will always result the redrawing
of xcin main window.
15. Add xcin_mainwin2, and if it is enabled, it will replace the original
xcin_mainwin to take care all the operations, and xcin_mainwin will only
be active in Root input style in this situation.
16. In trigger key handler, it will set xccore->ic and xccore->ic->ic_state
IC_FOCUS will enabled. Then the focus window checking in ic_create() can
be removed (it is useless).
T.H.Hsieh
--
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.
Reply to: