Commit Graph

144 Commits

Author SHA1 Message Date
Lukhnos Liu ccd4cc1cab Bump to 0.9.6.11 2014-10-28 23:46:28 -07:00
Lukhnos Liu 8747e7d7c7 Fix vertical candidate highlight color on Yosemite 2014-10-28 23:36:01 -07:00
Lukhnos Liu 82acc456bc Bump to 0.9.6.10 2014-05-18 20:42:59 -07:00
Lukhnos Liu 5f19be59b4 Override keyboard layout correctly. Fixes #86.
Using numerous NSLog's led to the discovery that when McBopofomo lost
function (as described in #86), -setValue:forTag:client: was often called
not just on the context of the foreground app, but also on the contexts
of the background apps. This led to the theory that calling keyboard
layout override in that method (not a documented way of doing things
anyways) might corrupt the input method context. That we swapped out
language model and the builder when the method got called didn't help.

In this commit, we put back the keyboard layout override code to where
it belongs -- in -activateServer: -- and we now only swap the language
model and re-create the builder if the input method really changes (e.g.
from Bopomofo to Plain Bopomofo, or vice versa).

Similar defensive coding is also used in the function key handler in the
-handleEvent:client: method.
2014-05-18 20:41:53 -07:00
Lukhnos Liu 3640c9f55f Remove build warnings for preferences.xib
Disable "Auto Recalculates Cell Size" option, which is not supported
before OS X 10.8.
2014-05-18 18:11:52 -07:00
Lukhnos Liu b1627f95fe Bump to 0.9.6.9 2014-05-16 21:21:02 -07:00
Lukhnos Liu e406645893 Fix candidate window visual artifacts
* Use a built-in window level instead of the non-standard one
* Don't force the window to re-draw
* Defer orderFront: and orderBack:
2014-05-16 21:18:47 -07:00
Lukhnos Liu 28ca23b453 Switch to HTTPS version info endpoint 2014-05-16 21:16:39 -07:00
Lukhnos Liu b56508c55c Add a debug menu item for checking updates 2014-05-16 21:16:39 -07:00
Mengjuei 890451ff27 organization update, 加詞及注音修正 2013-11-23 14:41:13 -08:00
Mengjuei dc5a6d0a37 update filelist 2013-11-10 22:05:35 -08:00
Lukhnos Liu c324eda5a9 Bump to 0.9.6.8 2013-06-15 16:42:20 -07:00
Lukhnos Liu b4eea515c3 Fix Span removal bug when linked against libc++ 2013-06-14 23:54:37 -07:00
leafy7382 0240445af5 NSPropertyListFormat does not need an assignment before use, remove rvalue. 2013-02-17 01:10:43 +08:00
Lukhnos Liu e9c57947aa Bump to 0.9.6.7 2013-01-29 22:17:07 -08:00
Lukhnos Liu 07f663eb00 Correctly fix the vertical scroller redraw issue. 2013-01-29 22:16:42 -08:00
Lukhnos Liu 1033c74de6 Bump to 0.9.6.6 2013-01-25 08:54:55 -08:00
Lukhnos Liu 337b295950 Attempt to fix the redraw issue. 2013-01-25 08:54:34 -08:00
Lukhnos Liu 1445ac501e Bump to 0.9.6.5 2013-01-24 23:29:28 -08:00
Lukhnos Liu 55d2cb2868 Defer updating scroller. 2013-01-24 23:28:42 -08:00
Lukhnos Liu ad6118e141 Bump to 0.9.6.4 2013-01-16 21:43:53 -08:00
Lukhnos Liu 54f0113c0c Avoid layout when providing cell values (fixes #73)
-tableView:objectValueForTableColumn:row: may call -layoutCandidateView,
which in turn may force the table view to reload; the layout code
should only run after all cell values are provided for to break this
potential cycle.
2013-01-16 21:42:41 -08:00
Lukhnos Liu d8203c2547 Bump to 0.9.6.3 2012-12-13 19:51:28 -08:00
Lukhnos Liu 92e2d41eba Clean up reading buf at deactivation (fixes #72) 2012-12-13 19:50:04 -08:00
Lukhnos Liu 2cc115e894 Bump to 0.9.6.2 2012-12-12 20:32:51 -08:00
Lukhnos Liu c9bd9ab24b Fix xib warnings. 2012-12-12 20:32:51 -08:00
Lukhnos Liu 9448c1af48 Fix Plain Bopomofo regression (#71)
This is caused by a missing method. Our implementation for
-[NSObject(IMKServerInput) inputText🔑modifiers:client:] was changed
to handleEvent: in 0.9.5.

Interestingly, calling -inputText🔑modifiers:client: somehow worked
when we linked against OS X 10.7 SDK (that was the SDK the 0.9.5
distribution used). This is no longer true with OS X 10.8 SDK.
2012-12-12 20:32:50 -08:00
Lukhnos Liu fe182ba26b Bump to 0.9.6.1 2012-12-01 22:23:33 -08:00
Lukhnos Liu f30753d3aa Bump to 0.9.6 2012-11-18 01:29:25 -08:00
Lukhnos Liu 95405cc72b Add UI support for IBM layout. Fixes #67.
Also change the layout constant from 4 to 5 since 4 is taken by Pinyin
layout.
2012-11-18 01:29:20 -08:00
Mengjuei beee34b96c Enable IBM Keyboard Layout, no update to xib yet 2012-11-13 00:40:26 -08:00
Lukhnos Liu c300e9cc10 Detab source code. 2012-10-31 22:12:50 -07:00
Lukhnos Liu e68845381c Revise DFA for parsing language models. 2012-10-31 21:55:13 -07:00
Lukhnos Liu 31a1a042fe Enlarge maximum candidate list text size. 2012-10-31 20:58:24 -07:00
Lukhnos Liu 94b80c42e3 Fix potential leak of NSURLConnection. Fixes #69. 2012-10-23 20:39:13 -07:00
Lukhnos Liu fadf8d431e Support Home/End/Del in input buffer, fixes #63.
Also fix two subtle issues:

1. Enter (not Return) key now works in candidate list
2. Cursor index should be compared against builder's length, *not*
   composed string's length, because the former is counted in
   code point but the latter in UTF-16 units. The composed string's
   length might therefore be longer if the string contains
   codepoints > U+FFFF, which would cause the cursor mechanism to
   be off.
2012-09-18 22:34:00 -07:00
Lukhnos Liu d5b8160394 Bump version to 0.9.5. 2012-09-18 09:04:06 -07:00
Mengjuei 6f9d64eaeb preliminary update to the License. 2012-09-15 12:05:20 -07:00
Lukhnos Liu d4730068fa Handle Shift with function key layout overrides. 2012-09-12 22:13:53 -07:00
Lukhnos Liu a2ea20306c Support overriding function key keyboard layout. 2012-09-12 21:59:53 -07:00
Lukhnos Liu aa1ed26b58 Update application icon set. 2012-09-12 09:34:51 -07:00
Lukhnos Liu 181b9894e6 Update IconMaker. 2012-09-12 09:34:42 -07:00
Lukhnos Liu 404bde168d Remove equivalent key settings. 2012-09-11 22:10:05 -07:00
Lukhnos Liu 913024fa75 Ignore input mode enable issues. 2012-09-11 22:04:55 -07:00
Lukhnos Liu f3b55c5ad9 Bump version. 2012-09-11 22:00:59 -07:00
Lukhnos Liu b670784799 Fix path issuses in the project file. 2012-09-11 21:54:35 -07:00
Lukhnos Liu d1893b6a37 Correctly enable all input modes when upgrading. 2012-09-11 21:38:59 -07:00
Lukhnos Liu 362801eb6c Remove SimpleLM. 2012-09-10 23:27:00 -07:00
Lukhnos Liu f710f382d9 Fix leak. 2012-09-10 23:12:09 -07:00
Lukhnos Liu d4cf55af9c Update app icon set. 2012-09-10 23:08:13 -07:00