L
次のページ
H
前のページ
U
上のページ

« Thingamablog-1.0.5-OKAMURA-20061010 | Main | チャネルがなくて困っています »

2006年10月20日

フォーラムに Mac での終了時の問題の解法を投稿した

Thingamablog メモ : Thingamablog-1.0.5-OKAMURA-20061010」で公開したパッチを Windows XP SP2 でも簡単に動作確認したので、Thingamablog のフォーラムに投稿した。

投稿したのは「Thingamablog Forums :: View topic - Uploading whole blog」というトピック。昨年暮れに同じ問題を投稿してあった。でも返信が一つもついておらず、Mac で Thingamablog を使っている人が少なくてしかも諦めてしまったのではないだろうか。

それで頑張って英文を書いて投稿したのだが、リンクがあったためか SPAM 扱いされて管理者の承認待ちになってしまった。管理者の方はちゃんと承認してくれるだろうか? もし承認してくれなかったらせっかく頑張って書いた英文が消えてしまうので、ここにも書いておく。

I use Thingamablog 1.0.5 with Mac OS X 10.4.8.

Mac users usually use command-Q to terminate an application in Mac OS. On the other hand, Thingamablog prepares for terminate command in File menu.

After I terminate Thingamablog, Thingamablog uploads all files at next publissing. I was embarrassed by this.

One day I noticed that I could evade this. I can evade this when I terminate Thingamablog with File menu. Then I tried to trace handling of two termination with a debugger. As a result, I understood followings.

command-Q
Call only net.sf.thingamablog.gui.app.ThingamablogFrame.MyShutdownHook.run
file menu command
Call net.sf.thingamablog.gui.app.ThingamablogFrame.closeApp
(closeApp method calls System.exit(0).)
Call net.sf.thingamablog.gui.app.ThingamablogFrame.MyShutdownHook.run

Then I tried to make a patch file. It works with Mac OS X 10.4.8 (both Intel Mac and PPC Mac) well. In addition, I tried to test it on Windows XP SP2 a little. This does not seem to have any problem, too.

I put the patch file and jar file which I applied it and built on http://homepage.mac.com/yuji_okamura/DotMac/t/archives/2006/10/entry_102.html . The page is written in Japanese. You can download them from links labeled "thingamablog-1.0.5-OKAMURA-20061010.patch.gz", "thingamablog.jar.gz".

I want next update to reflect it. And, during then, please try to use it if you are troubled with this phenomenon on MacOS.

  • Posted by OKAMURA at 14時45分
  • Edited on: 2006年10月20日 14時46分
  • Categories: 色々