Commit Graph

213 Commits

Author SHA1 Message Date
Lukhnos Liu 5ce1cc3f38 Bump to 0.9.10 2018-11-24 21:51:07 -08:00
Lukhnos Liu 7b77f66b55 Update copyright years 2018-11-24 21:50:24 -08:00
Lukhnos Liu 01baf0bb29 Fine-tune horizontal candidate UI for dark mode 2018-11-24 21:47:15 -08:00
Lukhnos Liu 39a7eca195 Fix license text for dark mode 2018-11-24 21:47:15 -08:00
Lukhnos Liu 1ca73fe794 Fix a memory leak in the installer 2018-11-24 21:47:15 -08:00
Lukhnos Liu 14c2e70f7b Use control background color for dark mode 2018-11-24 21:47:15 -08:00
Lukhnos Liu 8058f37fff Modernize project and bump min version to 10.10
32-bit architecture support is removed as a result.
2018-11-24 21:47:15 -08:00
ovadmin e065d6fa17 Fix incorrect unprintable ASCII handling (#139)
When Caps Lock is on and when the character code is not printable, we
should simply reject handling such character instead of absorbing it and
inserting the character to the client buffer--not all apps handle those
insertions.
2018-07-07 13:25:10 -07:00
ovadmin a83eb38c5f 版本更新至 0.9.9
* 修正在 macOS 10.13 上無法叫出偏好設定的問題
2017-09-19 20:45:24 -07:00
ovadmin 9be64e0a48 修正在 macOS 10.13 beta 上無法叫出偏好設定的問題
修正根據請參考以下連結:
3241c7f688
2017-09-04 21:21:09 -07:00
ovadmin 966221191b 版本更新至 0.9.8
* 詞庫更新、修正及調整 (#115, #117, #126 等)
* 在輸入法選單中使用「小麥注音」作為名稱 (#109)
* 版權年份更新
* 選字窗細微修正
* 安裝程式正式支援 macOS 10.12
* 移除 debug build 時自動安裝輸入法的 Xcode 設定
2017-04-30 01:33:40 -07:00
ovadmin 9e3e4701df 輸入法選單名稱改為「小麥注音」 (fixes #109) 2017-04-30 01:33:40 -07:00
ovadmin 4e42a48cd9 更新版權年份 2017-04-30 01:33:40 -07:00
ovadmin d6e1ba435c 更新選字窗元件,與 OpenVanilla 同步 2017-04-30 01:33:40 -07:00
ovadmin dd6ba14da5 Handle installation on macOS 10.12 correctly
The approach is derived from OpenVanilla.
2017-04-24 23:11:50 -07:00
Mengjuei Hsieh 1167792d82 bump version (#114) 2016-11-01 22:02:55 -07:00
Mengjuei b023fe22e5 revert info.plists 2016-10-26 22:06:39 -07:00
Mengjuei Hsieh d9348efb1e minor revision to reflect xcode changes (#112)
__weak
if (0)
2016-10-24 23:08:43 -07:00
Peter Dave Hello 92b620f417 using zopflipng to optimize png images 2016-06-18 10:24:22 +08:00
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
Lukhnos Liu 879277f5f1 Bump version. 2012-09-10 22:57:15 -07:00
Lukhnos Liu 08e7b14f3e Use the new LM class. 2012-09-10 22:56:21 -07:00
Lukhnos Liu 67775e3ccf Implement an mmap-based LM parser. 2012-09-10 22:55:40 -07:00
Lukhnos Liu bf50e4fa7e Fix a punctuation bug in Plain Bopomofo mode.
Bopomofo keyboard layout-specific punctuation keys were not handeled
properly. The candidates are now correctly collected.
2012-09-10 19:12:57 -07:00
Lukhnos Liu 71921b848a Use stable sort in the engine.
So that unigram nodes with the same log probability are sorted
according to the order in which they were added to the language
model.
2012-09-10 19:02:24 -07:00
Lukhnos Liu 7b4568e152 Load Plain Bopomofo data. 2012-09-10 19:02:21 -07:00
Lukhnos Liu 10ff94e141 Bump version. 2012-09-09 13:16:07 -07:00
Lukhnos Liu 5c421c4b5d Improve Plain Bopomofo icons. 2012-09-09 13:12:39 -07:00
Lukhnos Liu 0587cad7ee Improve icon maker. 2012-09-09 12:59:35 -07:00
Lukhnos Liu 4cf94d5824 Support customizable alphanumeric keyboard layout.
Also make the default candidate font size bigger.
2012-09-09 12:36:04 -07:00
Lukhnos Liu 1c91498166 Restart SystemUIServer if upgrading from 0.9.4 or lower. 2012-09-09 11:43:56 -07:00
Lukhnos Liu 31f796f620 Implement the Plain Bopomofo mode. 2012-09-09 01:58:42 -07:00
Lukhnos Liu 6a5cd2a38a Create the mode for Plain Bopomofo. 2012-09-09 01:58:41 -07:00
Lukhnos Liu aa7ee150db Remove 64x64 icon generation from the icon maker. 2012-09-08 22:39:21 -07:00
Lukhnos Liu 34db8e75b7 Use the new iconset format to provide app icons. 2012-09-08 22:35:46 -07:00
Lukhnos Liu 1cc76c3c28 Add the icon set for another input mode. 2012-09-08 22:18:37 -07:00
Lukhnos Liu d6a14ffb76 Add a new input sources preferences menu iconset. 2012-09-08 22:17:22 -07:00
Lukhnos Liu f4f3a19447 Expand the icon maker. 2012-09-08 22:02:35 -07:00
Lukhnos Liu 484fbf54c8 Create a separate project for IconMaker. 2012-09-08 20:27:57 -07:00
Lukhnos Liu 2ebddfc29d Bump version. 2012-09-08 19:28:19 -07:00
Lukhnos Liu 37f31364b5 Project reorganization.
This commit:

* Creates a new top-level Xcode project file
* Renames remaining Lettuce (the original codename) uses to McBopomofo
* Renames English.lproj (the old style locale name) to en.lproj
2012-09-08 19:28:15 -07:00
Lukhnos Liu 51bd291ee5 Add retina icon. 2012-09-04 00:53:20 -07:00
Lukhnos Liu 176ecb74ff Use IconMaker to create retina icon. 2012-09-04 00:52:13 -07:00
Lukhnos D. Liu 6525894cb5 Bump versions. 2012-08-01 22:15:30 -07:00
Lukhnos D. Liu 173e159623 Rename the installer target to work around Xcode archiving issues. 2012-08-01 22:12:29 -07:00
Lukhnos D. Liu 13e0dca79b Add a native installer and bump version. 2012-08-01 21:47:36 -07:00
Mengjuei 550b952afe consider the situation of 10.8 2012-07-30 21:06:49 -07:00
Lukhnos D. Liu ddbd94bee4 Extract the candidate handler; handle subtleties of vertical text mode.
Now both Left and Right can be used as choose-candidate key. Also the
candidate window now doesn't obscure the vertical text being typed by
moving to the right to the vertical text. Because of this, Left key
feels strange. Adding Right key should give a better mental model.
2012-05-06 16:19:33 -07:00
Lukhnos D. Liu c48d478b4e Move enums to the top of the file. 2012-05-06 15:56:21 -07:00
Lukhnos D. Liu 6f2d617bcb Rename global variables. 2012-05-06 15:55:35 -07:00
Lukhnos D. Liu b369106719 Add Home/End key support in candidate panels. 2012-05-06 15:52:45 -07:00