Commit Graph

781 Commits

Author SHA1 Message Date
ShikiSuen a4a37feb16 LMMgr // Use GCD in saveUserOverrideModelData(). 2022-12-17 14:49:04 +08:00
ShikiSuen e51ecfcc50 dataCompiler // Use GCD to boost compilation speed. 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 ccd035a666 Merge pull request #298 from lukhnos/gramambular-modernization
Gramambular modernization
2022-02-20 08:32:57 -08:00
Lukhnos Liu 154c83bbd6 Run GramambularTest as part of the CI
This means we now have test coverage for every package in McBopomofo.
2022-02-20 08:11:13 -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 9a29456914 Merge pull request #297 from lukhnos/remove-using-namespace-std
Remove the "using namespace" usage in McBopomofo's C++ and Objective-C++ code
2022-02-20 08:10:19 -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 34f29fd771 Merge pull request #293 from lukhnos/empty-state-regression
Fixes regression in how upper case letters are handled when input state is empty
2022-02-16 13:15:46 -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 7563568e7f Run McBopomofo tests as part of the CI workflow 2022-02-15 23:46:08 -08:00
Lukhnos Liu 5d53b4a93c Ensure Plain BPMF tests run with Standard layout
This exposes an issue that our Preferences is a global singleton that
uses the user defaults store and is therefore not hermetic.
2022-02-15 23:45:47 -08:00
Weizhong Yang a.k.a zonble fda39761ec Merge pull request #291 from lukhnos/remove-terminal-workaround
Remove the Terminal.app workaround
2022-02-15 14:11:07 +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
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