Commit Graph

660 Commits

Author SHA1 Message Date
ShikiSuen a0aa85a672 InputHandler // Prompt if succeeded in handling a marked phrase. 2022-12-17 15:14:22 +08:00
ShikiSuen d432f36bc5 InputHandler // Stop breaking composition buffer in certain cases. 2022-12-17 15:14:22 +08:00
ShikiSuen 1057a3fe82 SessionCtl // Use an alternative way to keep IMKCandidates' visibility.
- We have no other way to solve the excessive-memory-usage problem without completely removing the instance container.
2022-12-17 15:14:22 +08:00
ShikiSuen 337cf84c8b SessionCtl // Use NSMutableOrderedSet in lieu of Swift.Set. 2022-12-17 15:14:22 +08:00
ShikiSuen fe41d16762 InputHandler // Comment fix. 2022-12-17 15:14:22 +08:00
ShikiSuen 89dd798771 SessionCtl // Check memory usage on activateServer(). 2022-12-17 15:14:22 +08:00
ShikiSuen 38713d4aa9 AppDelegate // Add checkMemoryUsage(). 2022-12-17 15:14:22 +08:00
ShikiSuen 49ba507c8d AppDelegate // Reconstruction. 2022-12-17 15:14:22 +08:00
ShikiSuen dca93cb6f0 PrefUI & PrefWindow // Stop force-unwrapping AppDelegate. 2022-12-17 15:14:22 +08:00
ShikiSuen bd9a5c6c45 SessionCtl // Move some tasks from setValue() to activateServer(). 2022-12-17 15:14:22 +08:00
ShikiSuen 11edfbddfb SessionCtl // Do clearInlineDisplay() in commitComposition(). 2022-12-17 15:14:22 +08:00
ShikiSuen 8216497382 SessionCtl // Remove duplicated commissions on deactivation. 2022-12-17 15:14:22 +08:00
ShikiSuen d475973f4d SessionCtl // Fix state correction in handle(event:). 2022-12-17 15:14:22 +08:00
ShikiSuen d3fc057409 SessionCtl // Use newer resetInputHandler() in setValue(). 2022-12-17 15:14:22 +08:00
ShikiSuen ef06f7d039 SessionCtl // Remove UserDefaults.standard.synchronize(). 2022-12-17 15:14:22 +08:00
ShikiSuen 45fc44eaf7 SessionCtl // Optimize resetInputHandler(). 2022-12-17 15:14:22 +08:00
ShikiSuen e3b16e9661 SessionCtl // Introduce forceCleanup() to resetInputHandler(). 2022-12-17 15:14:22 +08:00
ShikiSuen 8f7d452a1d SessionCtl // GCD the init() and IMK-related methods. 2022-12-17 15:14:22 +08:00
ShikiSuen bd0fe1bacc SessionCtl // Disable setMarkedText() on activateServer(). 2022-12-17 15:14:22 +08:00
ShikiSuen af218e9e7c SessionCtl // Optimize setValue(), init(), and inputMode(). 2022-12-17 15:14:22 +08:00
ShikiSuen c9c2ab9064 SessionCtl // Mitigate .ofEmpty() state on activateServer().
- We don't handle it. We set it.
2022-12-17 15:14:22 +08:00
ShikiSuen f57238f380 SessionCtl // Revamp setKeyLayout(). 2022-12-17 15:14:22 +08:00
ShikiSuen 9fc54412cc SessionCtl // Remove useless setKeyLayout() in menu.
- I forgot to remove this during vChewing 1.5.x~1.8.x.
2022-12-17 15:14:22 +08:00
ShikiSuen 4d213f569b SessionCtl // Disable setMarkedText() on deactivateServer(). 2022-12-17 15:14:22 +08:00
ShikiSuen b203e46398 SessionCtl // Typo fix. 2022-12-17 15:14:22 +08:00
ShikiSuen f984e3f521 CNS // Update date check tag to 20221004. 2022-12-17 15:14:22 +08:00
ShikiSuen 3c88b810bc SwiftExtension // Add String.charDescriptions: [String], etc. (#249)
* SwiftExtension // Add String.charDescriptions: [String].

* SwiftExtension // Including certain SwiftUI extensions.
2022-12-17 15:14:21 +08:00
ShikiSuen f8c722ce8e InputHandler // Remove useless delegate.switchState(state). (#248) 2022-12-17 15:14:21 +08:00
ShikiSuen 8239a6502c Menuicon // Use more-distinguishable alternatives. (#230) 2022-12-17 15:14:21 +08:00
ShikiSuen 1f2a14d856 SessionCtl // Hide previous candidate window before reinitiation. (#246) 2022-12-17 15:14:21 +08:00
ShikiSuen 5c537d3f16 InputHandler // Also allow opt+punct to reverse-flip candidates. 2022-12-17 15:14:21 +08:00
ShikiSuen 8b20b76689 InputHandler // Console log if alternative symbol menu is empty. 2022-12-17 15:14:21 +08:00
ShikiSuen 7fd63a1707 Manual // Typo fix, etc. 2022-12-17 15:14:21 +08:00
ShikiSuen 27063a6430 InputHandler // Fix a conversion error in handleCtrlCommandEnter(). 2022-12-17 15:14:21 +08:00
ShikiSuen 5ae6fc9841 InputHandler // Again let Shift+Space commit FW space when ofEmpty(). 2022-12-17 15:14:21 +08:00
ShikiSuen 47ab4867b1 Repo // Remove the useless .ofNotEmpty() state. 2022-12-17 15:14:21 +08:00
ShikiSuen d8762d78a0 i18n // Unify the translation of "keyboard shortcuts". 2022-12-17 15:14:21 +08:00
ShikiSuen 2a320ee095 InputHandler // Correct the handling of tone1, etc. (#217) 2022-12-17 14:55:56 +08:00
ShikiSuen cf2cefa754 PrefWindow // MandarinParser -> KeyboardParser. (#216) 2022-12-17 14:55:56 +08:00
ShikiSuen a21e2c812c Repo // Disabling pinyin-phonabet conversion in cassette mode. (#215)
- Also fix the separator conversion in handleCtrlCommandEnter().
2022-12-17 14:55:56 +08:00
ShikiSuen 6170743ed1 PrefUI // Localization fix. 2022-12-17 14:55:56 +08:00
ShikiSuen ba3e1a99a5 Repo // Clear calligrapher together on resetInputHandler() (#210) 2022-12-17 14:55:56 +08:00
ShikiSuen 7c4f141286 InputHandler // Improve conditioning of triggering candidate window. (#209) 2022-12-17 14:55:56 +08:00
ShikiSuen 064b2fbe7d InputHandler // Fix wrong conditioning of composeReading(), etc. (#206)
- Stop calling candidate window when the compositor is empty.
- Stop handling the simple input case of the intonation "tone1".
2022-12-17 14:55:56 +08:00
ShikiSuen 39834b3ec8 InputHandler // Show actual character text in debug console. (#203) 2022-12-17 14:55:56 +08:00
ShikiSuen 1e178e948f Repo // Stop committing raw dynamic keylayout chars. (#202) 2022-12-17 14:55:56 +08:00
ShikiSuen ae49ee81f3 SessionCtl // Optimize commission in resetInputHandler(). (#199) 2022-12-17 14:55:56 +08:00
ShikiSuen 5465fe16d2 InputHandler // Ensure commission of existing contents in certain cases. (#198)
- This fixes #194 and #195.
2022-12-17 14:55:56 +08:00
ShikiSuen d8442acec8 InputHandler // Remove newlines from generateStateOfInputting(). 2022-12-17 14:54:50 +08:00
ShikiSuen a4fac74c37 IMEStateData // Remove unwanted new lines in displayedText. 2022-12-17 14:54:50 +08:00