Commit Graph

437 Commits

Author SHA1 Message Date
ShikiSuen e1648fc1a7 PrefMgr // Remove unnecessary GCD. 2022-12-17 14:49:04 +08:00
ShikiSuen d5ce4f29ad LMMgr // Also use GCD in loadDataModels() per input mode. 2022-12-17 14:49:04 +08:00
ShikiSuen 2a22117bad LMMgr // Use GCD in loadDataModelsOnAppDelegate(). 2022-12-17 14:49:04 +08:00
ShikiSuen f80c13331d Repo // Pack InputMode typedefs into Shared package. 2022-12-17 14:49:04 +08:00
ShikiSuen a4a37feb16 LMMgr // Use GCD in saveUserOverrideModelData(). 2022-12-17 14:49:04 +08:00
ShikiSuen cf025b2b52 NotifierUI // Redefine how a notifier gets triggered.
- The previous approach is not compatible with Grand Central Dispatch.
2022-12-17 14:49:04 +08:00
ShikiSuen 03d4099894 KeyHandler // Use PrefMgrProtocol delegate to handle UserDefaults. 2022-12-17 14:49:04 +08:00
ShikiSuen 9d077a9d49 Repo // Massive refactor & renovation.
- This commit is a massive refactor update towards the current vChewing codebase, modernizing the entire project structure.
- Put things into packages to boost compile speed.
- Also: IMKCandidates // macOS 10.13 High Sierra compatibility.
- ctlIME // Remove duplicated setValue().
2022-12-17 14:49:04 +08:00
ShikiSuen 498ddcc153 Starting from vChewing 2.6.2 SP3. 2022-12-17 14:32:15 +08:00
ShikiSuen ce6e8453e7 Removing everything. 2022-12-17 14:23:03 +08:00
ShikiSuen 12abcd02a9 Replacing data to libvchewing-data (v3.1.1); Requiring >= macOS 10.13.
- The data replacement is to make sure it is allowed to be hosted in GitLab China and Gitee.
- Xcode 14 does not support targets earlier than macOS 10.13.
2022-12-17 14:20:50 +08:00
zonble 8de659f50b Adds an example for a symbol table in tree structure. 2022-12-17 14:03:10 +08:00
Lukhnos Liu ddbe363134 Bump version to 2.2.2 2022-02-20 08:34:07 -08:00
Lukhnos Liu ea477d6c5b Fix cpplint 2022-02-20 08:11:12 -08:00
Lukhnos Liu e892628492 Remove all the "inFoo" in-param style
We don't use out-params in Gramambular, but even for them the best
practices have been converging on using "T& param" for required output
param and "T* param" for optional output param. At any rate the prefix
was never necessary, and hence the removal.
2022-02-20 08:11:11 -08:00
Lukhnos Liu 26ad5fd5ea Move dumpDOT to Grid.cpp 2022-02-20 08:11:10 -08:00
Lukhnos Liu 13609f41f5 Remove all the "using namespace" usage 2022-02-20 08:11:09 -08:00
Lukhnos Liu d3302ef70a Reformat Gramambular with clang-format 2022-02-20 08:11:08 -08:00
Lukhnos Liu d4d8d14004 Import the test code from Formosana 2022-02-20 08:11:07 -08:00
Lukhnos Liu 305c874003 Supply a CMake project and a trivial unit test 2022-02-20 08:11:03 -08:00
Lukhnos Liu dc6ef93d72 Remove the "using namespace" usage in McBopomofo 2022-02-19 10:00:28 -08:00
Lukhnos Liu 2091c1dc7d Format ObjC code with clang-format, WebKit style 2022-02-19 08:26:28 -08:00
Lukhnos Liu ca2f4bf8fd Delete the dead tistool.m 2022-02-19 08:26:08 -08:00
Lukhnos Liu ea2e76e107 Handle [A-Z] if input state is not empty (#292)
This fixes the regression, first introduced in 2.2, from 2.0.x behavior.
2022-02-16 00:15:40 -08:00
Lukhnos Liu 4aaef97296 Remove the Terminal.app workaround
It was needed in the early days of McBopomofo, but is no longer so.
2022-02-14 21:07:24 -08:00
Lukhnos Liu d9e1417fa1 Bump version to 2.2.1 2022-02-14 19:50:01 -08:00
Lukhnos Liu b4704ff7e4 Merge pull request #289 from zonble/master
Fixes an Swift type conversion issue which happens while typing in Terminal app
2022-02-14 19:48:44 -08:00
zonble e85a33ce15 Fixes an Swift type conversion issue which happens while typing in Terminal app.
Fixes #288.
2022-02-15 10:57:06 +08:00
Lukhnos Liu a00d34241d Bump to version 2.2 2022-02-14 00:40:55 -08:00
Lukhnos Liu 0697d8b233 Fix path bugs in ArchiveUtil 2022-02-14 00:39:40 -08:00
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
zonble 08b92ae53b Fixes a typo. 2022-02-04 21:39:31 +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 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