Commit Graph

1047 Commits

Author SHA1 Message Date
Lukhnos Liu 39a9330969 Typo fix 2022-02-13 22:49:51 -08:00
Lukhnos Liu c2f45c2060 Make the half-width punctuations toggle work again 2022-02-13 19:22:45 -08:00
Lukhnos Liu 5d6659ef19 Rename associated-phrases.cin to associated-phrases.txt
Since the file doesn't really contain any .cin directives.
2022-02-13 19:16:37 -08:00
Lukhnos Liu ec98acc0b6 UI strings copyediting 2022-02-13 19:02:06 -08:00
Lukhnos Liu 02a475197d Move the Preferences menu item to the last group
So that it's closer to Check for Updates and About McBopomofo.
2022-02-13 18:40:46 -08:00
Lukhnos Liu 21fe0af085 Credits.rtf copyediting 2022-02-13 18:36:51 -08:00
Weizhong Yang a.k.a zonble 6122eeee15 Merge pull request #283 from lukhnos/bopomofo-refactoring
Bopomofo refactoring
2022-02-14 02:04:18 +08:00
zonble b5d9ce60bf Prevents the override model to remember symbols with scode -8 or lower. 2022-02-14 01:38:26 +08:00
Lukhnos Liu a55c0a4b60 Remove the absolute order format
The "absolute order" is a compact representation, originally a
historical carry-over from VanillaInput (2004). Modern input methods
no longer need such a compact form. It is therefore now removed.
2022-02-13 09:21:58 -08:00
Lukhnos Liu 502e8f1ea9 Remove an unused Romanization scheme 2022-02-13 09:21:44 -08:00
zonble 4d94bb0cd2 Automatically uses vertical candidate list if there is a long candidate. 2022-02-14 01:01:03 +08:00
zonble 83184229e6 Hides the function that using Ctrl+Enter to output BPMF readings. 2022-02-13 23:05:59 +08:00
zonble 11caa62b5d Prevents the user override model to store symbols. 2022-02-13 22:57:13 +08:00
zonble f32689eede Adds symbols. 2022-02-13 22:40:44 +08:00
Lukhnos Liu 153064ae9f Merge pull request #278 from zonble/master
Fixes a typo.
2022-02-04 09:05:39 -08:00
zonble 08b92ae53b Fixes a typo. 2022-02-04 21:39:31 +08:00
Weizhong Yang a.k.a zonble 9ac9a4dd87 Merge pull request #276 from zonble/master 2022-02-04 07:14:05 +08:00
zonble dc24de2ccb Notifies the users not to add duplicated phrases. 2022-02-04 05:46:31 +08:00
zonble 472b149020 Adds tests. 2022-02-04 05:19:25 +08:00
zonble ef61acf563 Adds tests. 2022-02-04 05:00:44 +08:00
zonble 6db08b8420 Adds test cases. 2022-02-04 04:49:05 +08:00
zonble ccfb97e7c5 Fixes the bug that the state was not reset if marking range is zero. 2022-02-04 04:33:49 +08:00
zonble bfa272ac65 Minor fix on the function to move cursor after selection. 2022-02-04 00:09:44 +08:00
zonble 9ade7d16a9 Adds an setting to move the cursor after selecting a candidate.
The setting only works when "SelectPhraseAfterCursorAsCandidate" is also
on. When a user use the mode, it is very possible that he or she has
already something in the input buffer and go back to choose a candidate.
When he or she completes selection, the user may want to go back to the
end and continue inputting. The setting is a time saver.
2022-02-04 00:03:16 +08:00
zonble a148053323 Updates CI settings. 2022-02-03 02:05:56 +08:00
Lukhnos Liu f1a62e06c7 Merge pull request #274 from zonble/master
Fixes a minor bug on handling backspace key.
2022-02-02 09:58:38 -08:00
zonble 2880394812 Fixes a minor bug on handling backspace key. 2022-02-03 01:49:41 +08:00
Weizhong Yang a.k.a zonble d29341ebae Merge pull request #273 from lukhnos/swift-compat
Use backward-compatible Swift in certain places
2022-02-03 01:38:53 +08:00
Lukhnos Liu c18f497a55 Use backward-compatible Swift in certain places
Older Swift compiler does not allow declaring certain variables that
have the same names with those outside of their scope, even though the
scoping rules should allow them. This makes the code buildable with
Xcode 12.4 again.
2022-02-02 09:32:02 -08:00
Weizhong Yang a.k.a zonble 74d4683552 Merge pull request #272 from zonble/master
Bug fixes
2022-02-03 01:20:52 +08:00
zonble a567ad0e65 Updates copyright info. 2022-02-03 01:20:35 +08:00
zonble ff9664c7f1 Fixes a typo. 2022-02-03 01:10:51 +08:00
zonble d4173bd931 Bug fixes on the marking state.
When the length of the range become to 0, the controller should go back
to inputting state.
2022-02-03 01:07:54 +08:00
zonble 0ff36cde88 Updates copyright info and CI settings. 2022-02-03 00:46:46 +08:00
Weizhong Yang a.k.a zonble 910fd77a15 Merge pull request #270 from zonble/master
Removes the dependency on OpenVanilla
2022-02-03 00:07:18 +08:00
zonble e9707b5427 Merge branch 'master' of github.com:openvanilla/McBopomofo 2022-02-03 00:06:03 +08:00
zonble b5220cbfe3 Add tests. 2022-02-03 00:02:23 +08:00
Lukhnos Liu 68732e6b15 Merge pull request #271 from zonble/dev/tests
Adds unit test cases for the key handler
2022-02-02 07:52:10 -08:00
zonble ec2fb7023c Renames `var split` to `func split()`. 2022-02-02 23:01:16 +08:00
zonble f39b4fa0bc Moves the Swift StringUtils class to a Swift package. 2022-02-02 22:47:15 +08:00
zonble 56ced2dd0f Adds test cases. 2022-02-02 21:25:51 +08:00
zonble 44ecf223d7 Adds test cases. 2022-02-02 21:10:26 +08:00
zonble cac954a00b Updates test cases. 2022-02-02 20:29:23 +08:00
zonble 5849478fe5 Removes the dependency on OpenVanilla. 2022-02-02 18:07:41 +08:00
zonble 4743889e2f Removes the usage of OVUTF8Helper in the key handler. 2022-02-02 17:58:45 +08:00
Weizhong Yang a.k.a zonble 8e1e3d184b Merge pull request #269 from lukhnos/mandarin-refactoring
Refactor the Bopomofo syllable library for better thread safety
2022-02-02 17:57:14 +08:00
Lukhnos Liu 59d6ace3e5 Update CI workflow 2022-02-01 18:45:19 -08:00
Lukhnos Liu 55971131f0 Expand tests 2022-02-01 18:41:24 -08:00
Lukhnos Liu f591a4668c Use thread-safe init for keyboard layouts 2022-02-01 18:41:20 -08:00
Lukhnos Liu 44f6167a38 Use C++ UTF-8 literals and remove MSVC escapes 2022-02-01 18:41:14 -08:00