Commit Graph

1424 Commits

Author SHA1 Message Date
zonble 177cba5d56 [WIP] Starts to extract input states from the input controller. 2022-01-24 02:13:18 +08:00
Weizhong Yang a.k.a zonble 43d9e8bd42 Merge pull request #254 from zonble/dev/swift_main
Converts main.m and the installer into Swift
2022-01-22 11:35:21 +08:00
zonble 6f254bf75d Updates copyright information. 2022-01-22 11:24:22 +08:00
zonble 3bba134e2f Adds Credits.rtf. 2022-01-22 00:34:48 +08:00
zonble 8717625d2e Adds a missing line back to the installer. 2022-01-22 00:07:07 +08:00
zonble bfb66cb080 Converts the installer to Swift. 2022-01-22 00:01:21 +08:00
zonble 5fe1c28ae7 Converts main to Swift. 2022-01-21 19:17:36 +08:00
Lukhnos Liu 957b66a96b Bump to version 2.0.1 2022-01-20 15:37:31 -08:00
Lukhnos Liu 6c76b2cae0 Delete a duplicate key in McBopomofo-Info.plist 2022-01-20 15:36:33 -08:00
Lukhnos Liu 4f718019e1 Merge pull request #251 from zonble/master
Fixes the order of the keyboard layouts.
2022-01-19 22:37:40 -08:00
zonble cb05937478 Fixes the order of the keyboard layouts.
Fixes #250.
2022-01-20 14:20:10 +08:00
Lukhnos Liu 25c50e67a4 Bump to version 2.0 2022-01-19 10:05:48 -08:00
Lukhnos Liu 42c4441d05 Introduce a Swift class to the Installer
This is so that the Installer will be built with the correct Swift
settings, especially those that instruct the Xcode to package the Swift
runtime libraries. This is needed because the Installer now depends on
InputSourceHelper, which is written in Swift. Without this, the app
would not be packaged with the Swift runtime libraries, which caused
the installer to be unusable on older but supported macOS versions.
2022-01-19 10:05:38 -08:00
Lukhnos Liu 9abd445490 Update README for dev workflow 2022-01-19 07:42:17 -08:00
Lukhnos Liu 29df72b79f Bump to version 2.0-alpha 2022-01-18 23:31:07 -08:00
Lukhnos Liu 8c692e6c3b Update copyright years 2022-01-18 23:28:08 -08:00
Lukhnos Liu b7ef7b5fb7 Merge pull request #246 from lukhnos/more-tolerant-userphraseslm
Make UserPhrasesLM more tolerant
2022-01-18 23:01:45 -08:00
Lukhnos Liu a2e551d000 Clean up Travis CI settings
This was missed from #247.
2022-01-18 22:47:08 -08:00
Lukhnos Liu 202b1fa058 Also make PhraseReplacementMap more tolerant
This also clarifies the test expectations and how parsing errors are
handled.
2022-01-18 22:46:26 -08:00
Weizhong Yang a.k.a zonble 9bc3536630 Merge branch 'master' into more-tolerant-userphraseslm 2022-01-19 14:01:23 +08:00
Weizhong Yang a.k.a zonble 19dbe171f8 Merge pull request #243 from lukhnos/update-readme
Update README and mention Code of Conduct
2022-01-19 13:59:45 +08:00
Weizhong Yang a.k.a zonble 04d2ff5a4d Merge pull request #244 from lukhnos/custom-data-templates
Writes templates the first time custom data is used
2022-01-19 13:31:15 +08:00
Weizhong Yang a.k.a zonble 777994edcc Merge pull request #245 from lukhnos/update-copyright-headers
Update copyright headers (fixes #213)
2022-01-19 13:29:23 +08:00
zonble 95f88ce802 Fixes an underlying issue in the tableViewSelectionDidChange method. 2022-01-19 13:20:27 +08:00
Lukhnos Liu 8e66c328d6 Make reference to the FAQ 2022-01-18 18:57:06 -08:00
Lukhnos Liu c8f65580bb Make UserPhrasesLM more tolerant
This lets UserPhrasesLM consumes as much user data as possible before
bailing. This makes it more tolerant to data errors and will not fail
entirely just because the user has one faulty line in a data file.

Also removes FastFM from the benchmarking suite.

This also runs the CMake-based C++ tests as part of the GitHub CI.
2022-01-18 16:20:25 -08:00
Lukhnos Liu 75f321f088 Update copyright headers (fixes #213) 2022-01-18 14:21:55 -08:00
Lukhnos Liu 61f55670fb Write templates the first time custom data is used
Now that we allow comments in the custom data files, this change writes
localized templates as well as basic instructions. Links to McBopomofo
User's Manual are also provided.
2022-01-18 13:42:45 -08:00
Lukhnos Liu 83162b4d8f Update README and mention Code of Conduct 2022-01-18 12:44:40 -08:00
zonble 7e2d3df5ba Prevents users from adding custom phrases with more than 6 characters.
Also fixes typos.
2022-01-19 00:49:50 +08:00
zonble d2c039c42d Notifies the users it is not suggested to add phrase when model is converted. 2022-01-18 22:19:25 +08:00
zonble aa9c31ffcf Fixes the location of the tooltip. 2022-01-18 22:04:09 +08:00
zonble 0d80d28e0e Formats Swift code. 2022-01-18 21:16:07 +08:00
zonble 1e7d4fe2b0 Makes the timeout for version update check test longer. 2022-01-18 18:50:35 +08:00
zonble dd1310d40a Makes version update testable. 2022-01-18 18:39:21 +08:00
zonble 28a9483de8 Adds tests. 2022-01-18 17:45:48 +08:00
zonble 8d0db31ed0 Modifies deploy target of the test bundle. 2022-01-18 17:10:38 +08:00
zonble 29813f93e5 Adds test cases. 2022-01-18 17:05:51 +08:00
zonble fb043b9308 Updates CI settings. 2022-01-18 15:39:07 +08:00
zonble 21264a8a27 Adds unit test cases. 2022-01-18 15:38:19 +08:00
Weizhong Yang a.k.a zonble 00f110f101 Merge pull request #239 from openvanilla/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2022-01-17 21:06:07 +08:00
Weizhong Yang a.k.a zonble 6c2707c4e9 Merge pull request #237 from zonble/dev/latin_input
Allows users to type Latin letters while using shift + letter keys.
2022-01-17 10:44:19 +08:00
Lukhnos Liu d730e967a2 Create CODE_OF_CONDUCT.md 2022-01-16 18:21:54 -08:00
zonble e9b1a8ad4a Removes unused comments. 2022-01-17 00:55:36 +08:00
zonble a75c7b7086 Allows users to type Latin letters while using shift + letter keys.
Fixes issue #162.
2022-01-17 00:48:29 +08:00
Lukhnos Liu f2d3ca3c78 Merge pull request #236 from zonble/master
Adds a validator for candidate keys in the preference window.
2022-01-16 08:11:09 -08:00
zonble 8249c612ff Adds a validator for candidate keys in the preference window. 2022-01-16 23:33:35 +08:00
Weizhong Yang a.k.a zonble 4f01fd95f6 Merge pull request #233 from tianjianjiang/build-xcode_12.4_swift_5.3
build: make Xcode 12.4 happy on Catalina with Swift 5.3
2022-01-16 23:33:16 +08:00
Mike Tian-Jian Jiang 720b2347e8 build: makes Xcode 12.4 happy on Catalina with Swift 5.3 2022-01-16 18:42:04 +09:00
Lukhnos Liu 0b0d97f20e Merge pull request #228 from openvanilla/issue-template
Update issue templates
2022-01-15 23:29:00 -08:00