Great Circle Associates

XCIN Mail-list
(August 2000)


Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: [Update] xcin-2.5.2-pre4.diff
From: thhsieh@linux.org.tw
Date: Thu, 10 Aug 2000 13:45:54 +0800
To: xcin@linux.org.tw
Reply-To: xcin@linux.org.tw

各位好:

有興趣的朋友請試試這個 patch:

ftp://xcin.linux.org.tw/pub/xcin/xcin/patch/xcin-2.5.2-pre4.diff.gz

這個 patch 同時也 attach 在信末。使用時請記得抓回 xcin-2.5.2-pre4.tar.gz,
然後再加入。

本來沒有打算這麼快就放出 patch, 但由於見到 LinuxFab 的新聞, Mozilla M17
已經出來了,才決定先將 patch 放出來,原因是在過去所有 xcin-2.5.2-preX 版
本中, xcin 都有重大缺陷,會在與 Mozilla M15/M16 等版本搭配時造成雙方的
crash。這個缺陷目前已修好了,趁著 M17 的問世,放出來請大家測試。

若您打算玩 Mozilla 並希望用 xcin 在 Mozilla 中輸入中文的話,強烈建議您加
入這個 patch。


To: 莊明哲兄: 你希望的 IC Focus check 機制在這個 patch 中也加入了。您有
    空時可以試試。


目前正在寫文件以及 man page, 完成後就可以釋出 pre5 了。


本 patch 的 change log 如下:

xcin-2.5.2-pre5:  2000/08/
------------------------------
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 inclxim_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.



T.H.Hsieh

xcin-2.5.2-pre4.diff.gz

Indexed By Date Previous: XFREE86 4.0.1 + GTK 1.3.1 on FreeBSD Test Report
From: Yuan-Chen Cheng <ycheng@sinica.edu.tw>
Next: 關於於在xcin網頁的dayi3.cin?
From: "丫任" <azan@tomail.com.tw>
Indexed By Thread Previous: Re: XFREE86 4.0.1 + GTK 1.3.1 on FreeBSD Test Report
From: "Edward Lee" <edward.@kimo.com>
Next: 關於於在xcin網頁的dayi3.cin?
From: "丫任" <azan@tomail.com.tw>