[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[thhsieh: [Update] xcin-2.5.0-pre2-4.tar.gz]



Hello,

xcin-2.5.0-pre2-4 is available:

ftp://xcin.linux.org.tw/pub/xcin/xcin/xcin-2.5.0-pre2-4.tar.gz

There are only two minor changes:

1. Add a new keyword "AUTO_FULLUP" for gen_inp module.

2. Add garbage collaction for unused IC.

Up to now, the development of xcin-2.5.0 is almost completed and can
be stoped. If no other accidents, I will announce xcin-2.5.0 next 
Monday. In the mean time, I will try to add a basic autoconf into 
xcin package, make the documents more completed, and fix bugs, if any.

There are still a lot of Todo lists, which will be implemented in
xcin-2.5.1 and future releases.

Hope that you will be happy with xcin-2.5.0 :-))


T.H.Hsieh



----- Forwarded message from Tung-Han Hsieh <thhsieh> -----

Date: Mon, 14 Jun 1999 08:41:37 +0800
From: Tung-Han Hsieh <thhsieh>
To: xcin@linux.org.tw
Subject: [Update] xcin-2.5.0-pre2-4.tar.gz
X-Mailer: Mutt 0.95.4us

Hello,

請各位試試 xcin-2.5.0-pre2-4:

ftp://xcin.linux.org.tw/pub/xcin/xcin/xcin-2.5.0-pre2-4.tar.gz

這一版只有兩個小改變:

1. 根據 cwhuang@linux.org.tw 的建議,將 gen_inp 加入 AUTO_FULLUP 選項,
   將滿字根自動上字的功能由 AUTO_UPCHAR 裏頭抽出,改由 AUTO_FULLUP 控制。

2. 比較重要的是這一個。這一版我加入了簡單的 garbage collaction 的功能。
   以往 XIM client 在結束前若沒有呼叫 XCloseIM(), 則 xcin 無法回收它所用
   的 IC 。現在加入此功能後,在某種程度上應該可以避免這個問題了。

   再執行效率與程式複雜度的考量下,同時也考慮了 racing condition, 我採用
   以下簡單方式來做 garbage collaction:  xcin 大至上每隔 5 分鐘做檢查一
   次所有的 IC, 以確定其所屬的 client 還活著。之所以用「大至上」這個字眼,
   是因為我沒有用 multi-thread 或 fork 另一個 process 來精準控制時間,而
   是直接將檢查函式插入 im_protocol_handler(), 這個函式是最常被呼叫的,
   諸如在 client 按任一鍵、或甚至用滑鼠點選 client, 都會呼叫到這個函式。
   因此,只要我們持續使用 client, 就會不停地進入 im_protocol_handler(),
   故在此直接安插檢查函式,應該是最簡單也最有效的辦法。

   為了顧及 racing condition, 我在 IC 結構中多加了 time_t exec_time 這
   個 variable, 每當這個 IC 被使用時, exec_time 就會被設入目前的時間,
   而檢查函式最後只會挑超過 10 分鐘以上 idle 的 IC 進行檢查,如果發現該
   IC 所屬的 window 不在了,就將此 IC 做資源回收。

   我還不知道這樣的做法會不會有問題,請有興趣的朋友幫忙看一下。不過,不管
   它的運作如何,至少在使用者的角度幾乎不會感到它的存在的 :-))


我想, xcin-2.5.0 的研發到這裏可以暫時告一個段落了 :-))  我預計在下週一正
式 announce xcin-2.5.0, 在這禮拜內我會將基本的 autoconf 加進去 (昨天與
autoconf 奮鬥了一個晚上,結論是它真不是個簡單的東西) ,補齊說明文件,同時
做一些 bug 修正 (如果有人回報的話) 。

還有很多 Todo list, 也曾經有人請我替 xcin-2.5 加入一些功能,但現在還沒加入
的,這些都將是 xcin-2.5.1 以後的目標。如果您們覺得我可能遺漏了什麼,或是怕
我將您的要求忘了 :-) 麻煩您再提醒我一次,如果我覺得可行的話,我會將您的意
見加入 Todo list 裏頭。凡是在 Todo list 裏頭的,除非是很特殊的情況,否則我
都會盡可能一一實現。

希望大家在用 xcin-2.5.0 時,能覺得與 xcin-2.3.X 系列一樣,甚至覺得更穩定、
更好用 :-)))


T.H.Hsieh

----- End forwarded message -----


Reply to: