Commit Graph

30 Commits

Author SHA1 Message Date
ShikiSuen 0e98eb0d2c SessionCtl // Add isServingIMEItself().
- Also monitoring activateServer() in console.
2022-12-17 15:14:22 +08:00
ShikiSuen 1fe0442042 SessionCtl // Bind the tooltip display duration property. 2022-12-17 15:14:22 +08:00
ShikiSuen b8d6a828ba SessionCtl // Nil the inputHandler for inactive sessions. 2022-12-17 15:14:22 +08:00
ShikiSuen 65462f4ad0 SessionCtl // Nil the candidateUI for inactive sessions.
- We don't nil the IMKCandidates on deinit() in order to avoid EXC_BAD_ACCESS error.
2022-12-17 15:14:22 +08:00
ShikiSuen 0b2a046885 SessionCtl // ctlCandidateCurrent -> candidateUI. 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 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 4d213f569b SessionCtl // Disable setMarkedText() on deactivateServer(). 2022-12-17 15:14:22 +08:00
ShikiSuen 47ab4867b1 Repo // Remove the useless .ofNotEmpty() state. 2022-12-17 15:14:21 +08:00
ShikiSuen 6fce25ed2c SessionCtl // Stop committing unwanted newlines. 2022-12-17 14:54:50 +08:00
ShikiSuen 78af4b72c2 SessionCtl // Add comments regarding upstream issue 346 and UPR347. 2022-12-17 14:54:49 +08:00
ShikiSuen d5fbcf5e2c Repo // Comment updates. 2022-12-17 14:54:49 +08:00
ShikiSuen 4e124e6aac Repo // Let tooltip window auto-disappear after given seconds. 2022-12-17 14:54:49 +08:00
ShikiSuen d1bd34ee43 SessionCtl // Show non-empty tooltip on .ofEmpty() state. 2022-12-17 14:54:49 +08:00
ShikiSuen 88b0726448 SessionCtl // Stop switching to certain states if not prompted to. 2022-12-17 14:54:49 +08:00
ShikiSuen 2cf53d5c6a SessionCtl // Optimize handlings of Committing() state. 2022-12-17 14:54:48 +08:00
ShikiSuen 36a83f25a2 InputHandler // Remove stateCallback(). 2022-12-17 14:54:48 +08:00
ShikiSuen 6168cc32d0 Repo // Massive nomenclature changes, etc. 2022-12-17 14:54:48 +08:00
ShikiSuen 458e7fa613 SessionCtl // Simplify handle(state). 2022-12-17 14:54:48 +08:00
ShikiSuen 0956e043fd SessionCtl // Add (Bool)replaceCurrent to handle(event). 2022-12-17 14:54:48 +08:00
ShikiSuen 0d79e83777 SessionCtl // Track and handle deactivated states correctly. 2022-12-17 14:54:48 +08:00
ShikiSuen 970174117e SessionCtl // Remove unnecessary nil setters for ctlCandidateCurrent. 2022-12-17 14:54:48 +08:00
ShikiSuen c95a55dc60 SessionCtl // Publicization. 2022-12-17 14:54:48 +08:00
ShikiSuen b43d4b8993 SessionCtl // Add warning comments towards handle(state). 2022-12-17 14:54:48 +08:00
ShikiSuen a144e20304 SessionCtl // Make PCB, tooltip, and candidate window instances dynamic. 2022-12-17 14:54:48 +08:00
ShikiSuen 32d35ad911 SessionCtl // Revamp certain client()-related operations. 2022-12-17 14:54:48 +08:00
ShikiSuen f75bafdd01 SessionCtl // Add caps lock notification support, etc. 2022-12-17 14:49:05 +08:00
ShikiSuen 216fe6e1ba Repo // "ctlInputMethod" -> "SessionCtl". 2022-12-17 14:49:05 +08:00