Commit Graph

562 Commits

Author SHA1 Message Date
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
Lukhnos D. Liu 1993942cd4 Refactor the code so that we use enums for key codes. 2012-05-06 15:52:45 -07:00
Lukhnos D. Liu f457b9d463 Fix a bug where the sink key handler missed a rejection condition. 2012-05-06 15:52:44 -07:00
Lukhnos D. Liu c52d68ed9e Correct the pref key names. 2012-04-08 15:16:04 -07:00
Lukhnos D. Liu 36b5a605dc Fix the bug that kCandidateTextFontName and kCandidateKeyLabelFontName shared the same value. 2012-04-08 15:12:26 -07:00
Lukhnos D. Liu 1693dc210e Add support for changing candidate keys and candidate panel fonts. 2012-04-08 15:08:53 -07:00
Lukhnos D. Liu c676d0d62c Handle the case where text client fails to handle char attr request. 2012-04-07 01:14:55 -07:00
Lukhnos D. Liu e4c54e6bb9 Edit comment. 2012-03-29 21:07:45 -07:00
Lukhnos D. Liu 005437db28 Handle the case when the vertical candidate data source is gone. 2012-03-29 21:04:30 -07:00
Lukhnos D. Liu b0b5dd0233 Remove CJK font requirement as OS X 10.7 already handles fallback better. 2012-03-29 20:57:16 -07:00
Lukhnos D. Liu b0e7e7032f Adjust layout parameters. 2012-03-29 20:06:42 -07:00
Lukhnos D. Liu 9c3623f19a Change compiler settings. 2012-03-29 12:19:17 -07:00
Lukhnos D. Liu 815f885e29 Improve UI parameters. 2012-03-29 12:19:00 -07:00
Lukhnos D. Liu dd43b08d82 Handle out-of-screen conditions. Improve drawing code. 2012-03-29 12:17:56 -07:00
Lukhnos D. Liu b492cb1f10 Fix a text wrapping issue in the vertical candidate panel. 2012-03-29 01:09:52 -07:00
Lukhnos D. Liu 810782bc77 Fix a mismatched synthesized property. 2012-03-29 00:32:20 -07:00
Lukhnos D. Liu 9128ef95b2 Use Voltaire for candidate UI; use 10.7 base SDK. 2012-03-28 23:28:42 -07:00
Lukhnos D. Liu 7d5cd8173c Import the Voltaire (commit 152775fc) project to replace IMK candidate UI. 2012-03-28 23:25:12 -07:00
Mengjuei 3ed20c1743 Python style update 2012-03-21 00:01:17 -07:00
Mengjuei abfcbe4a4e tag 0.9.3
1. bugfixes with software like Excel and TextWrangler
2. bugfixes with keystroks like Capslock and Shift
3. huge revision of phrase list
4. revision to frequency calculation
2012-03-20 00:31:14 -07:00
Mengjuei b7a74e5593 revision.... 2012-03-01 23:47:06 -08:00
Mengjuei 0d8e1ae20f Tab conversion into 4 spaces 2012-02-26 20:53:51 -08:00
Mengjuei 8e5c540597 reorganizing the layout 2012-02-26 16:30:59 -08:00
Mengjuei 373c631036 cosmetic change and change the location of the user dictionary 2012-02-26 16:24:09 -08:00
Mengjuei da5d323082 reorginzing Makefile 2012-02-26 14:28:28 -08:00
Mengjuei 82ead6dd72 [NSEvent modifierFlags] is out of place, eliminated. D.
+some phrases from the old notebook. M.
2012-02-25 01:19:44 -08:00
Mengjuei 61e2ed10d2 Solves Issue #44 2012-02-21 22:38:30 -08:00
Mengjuei 083660e708 update information 2012-01-15 20:49:56 -08:00
Mengjuei e4715a3ed1 Avoid a bug that commits wrong stuff... 2011-12-02 01:50:57 -08:00
Mengjuei d7ef219843 filename change 2011-11-22 22:35:19 -08:00
Mengjuei 130ec614dd git rev-list master | wc -l
forgot ...
2011-10-20 16:40:17 -07:00
Mengjuei 84a8e68c5d v0.9.2 2011-10-20 15:53:47 -07:00
Mengjuei 7476edf12a 最多使用六個自來組成一個詞 2011-10-18 16:06:51 -07:00
zonble c9d0378cd5 Cleans-up InputMethodController.mm. 2011-10-18 22:26:55 +08:00
Mengjuei a230705bbd comments 2011-10-17 02:55:27 -07:00
Mengjuei 872b4ffc5d This solves https://github.com/mjhsieh/McBopomofo/issues/22 2011-10-17 01:09:28 -07:00
zonble e963286527 Modifies the script to generate Credits.rtf. 2011-10-17 14:34:48 +08:00
zonble 8991ddfa4e Fixes a regression caused by trying to fix the problem of th numeric pad. 2011-10-17 13:57:38 +08:00
zonble a263f5739e Modifies the script to generate Credits.rtf. 2011-10-17 13:19:32 +08:00
zonble a9095f8dac Handles the number keyboard correctly. 2011-10-17 10:29:47 +08:00
zonble 22cd4faf77 Creates a RTF file while building. 2011-10-17 01:47:03 +08:00
zonble 3b411087c6 Sets the keyboard layout to com.apple.keylayout.US, besides using Hanyu Pinyin. 2011-10-17 00:37:59 +08:00
zonble 358ce9ef97 Fixes the problem that Hanyu Pinyin keyboard layout does not work. 2011-10-17 00:18:54 +08:00
Mengjuei 249954a10d no need to specify arch 2011-10-13 18:25:59 -07:00
Mengjuei 227ca4c38f Typo 2011-10-10 01:56:32 -07:00
Mengjuei feab088f93 great number of errors in BPMFMappings.txt 2011-10-10 01:41:08 -07:00
Mengjuei 07afa5ef96 Release of Version 0.9.1 2011-10-07 00:41:05 -07:00
Mengjuei 0748a70222 manually update the version 2011-10-05 09:19:08 -07:00
Mengjuei d7b36cb421 adding https://github.com/mjhsieh/McBopomofo/downloads 2011-10-05 01:27:56 -07:00
Mengjuei 33e6de5ea2 Making the script to build universal binaries 2011-10-05 01:01:34 -07:00
zonble d8444413b5 Ignores the up and down key if the reading buffer is not empty. 2011-10-02 22:29:26 +08:00
zonble 4c1deb59e6 Adds an experimental symbol list. 2011-10-02 22:13:25 +08:00
zonble 1c304b51b8 Ignores keyboard events with numeric mask. 2011-10-02 21:21:18 +08:00
zonble cb0d7a82f5 Fixes an exception. 2011-10-02 14:20:35 +08:00
zonble 6a8eacd0bd Corrects key code setting. 2011-10-02 14:01:42 +08:00
zonble 406f483c83 Adds vertical text support. 2011-10-02 13:19:10 +08:00
zonble 4920bc4a18 Makes to use space key to choose candidates or not as an option. 2011-10-02 11:45:27 +08:00
Mengjuei Hsieh 8549045ef5 Accepting 5-char phrases 2011-10-01 10:20:18 -07:00
Mengjuei Hsieh cf65a7d64b We are not ready for this yet. 2011-10-01 02:31:42 -07:00
Mengjuei Hsieh 6cd2bc0d67 capslock processing 2011-10-01 02:25:40 -07:00
Mengjuei Hsieh 1480073ac0 remove beep upon pressing ESC 2011-10-01 00:48:28 -07:00
Mengjuei Hsieh f54ed3ad9c Typos,
Spotted by friends.
2011-09-29 22:39:21 -07:00
Mengjuei Hsieh b236613889 updating the Info.plist 2011-09-06 11:28:14 -07:00
Mengjuei Hsieh 5f976e4642 first commit 2011-09-01 23:56:26 -07:00