Commit Graph

1613 Commits

Author SHA1 Message Date
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
Lukhnos Liu 3c9d3e59ed Merge pull request #232 from zonble/master
Minor changes like fixing typos
2022-01-15 23:28:00 -08:00
zonble 74df73a733 Updates the README file. 2022-01-16 15:18:47 +08:00
zonble 4ec4eed562 Removes unused files. 2022-01-16 15:15:41 +08:00
zonble 5ff6f378e6 Fixes a bug on selecting the candidate keys in the preference UI. 2022-01-16 15:14:49 +08:00
Weizhong Yang a.k.a zonble 01378b8091 Merge pull request #227 from zonble/master
Adds a new setting: Chinese conversion style
2022-01-16 15:05:08 +08:00
zonble c4259c4c4e Updates comments and fixes a typo. 2022-01-16 15:04:20 +08:00
zonble 4e56f350e8 Fixes a wrong API call. 2022-01-16 15:04:20 +08:00
zonble 5c0a14deeb Refactors the function to filter and transform unigrams in McBopomofoLM. 2022-01-16 15:04:20 +08:00
zonble b627e8e3b6 Adds an option to let users to choose Chinse conversion style.
Option 0: converts the output.
Option 1: converts the models.
2022-01-16 15:04:20 +08:00
zonble b348a05735 Filters duplicated unigram values properly. 2022-01-16 15:04:18 +08:00
Weizhong Yang a.k.a zonble 8584f5c4b3 Merge pull request #230 from lukhnos/parseless-lm
Use a parseless phrase db to speed up LM loading
2022-01-16 14:39:08 +08:00