Commit Graph

495 Commits

Author SHA1 Message Date
ShikiSuen 49dd4b1a9a Repo // Add Wade-Gyles pinyin support. 2023-04-05 20:26:07 +08:00
ShikiSuen a6542df9bc InputHandler // Also update marker when previewing candidates. 2023-04-05 20:26:07 +08:00
ShikiSuen 650dbc13c8 IMEStateData // Prevent cursors from being out of bounds. 2023-04-05 20:26:07 +08:00
ShikiSuen 421268e620 SessionCtl // Use hidePalettes() when needed. 2023-04-05 20:26:07 +08:00
ShikiSuen 0639e9e289 Revert "SessionCtl // Use GCD for certain state tasks."
This reverts commit 852eed07e2.
2023-04-05 20:26:07 +08:00
ShikiSuen d386a93784 IMEStateData // Update isFilterable(), etc. 2023-03-23 21:17:43 +08:00
ShikiSuen 78a950e355 LMAssembly & LMMgr // Add countPhrasePairs(), etc. 2023-03-23 21:17:43 +08:00
ShikiSuen 6a2a2de195 InputHandler // Remove useless conditions when nerfing single kanjis. 2023-03-23 21:17:43 +08:00
ShikiSuen e4275a753e LMMgr // Concurrency. 2023-03-23 21:17:43 +08:00
ShikiSuen 852eed07e2 SessionCtl // Use GCD for certain state tasks. 2023-03-23 21:17:43 +08:00
ShikiSuen 0f44861440 SessionCtl // Implement hidePalletes(). 2023-03-23 21:17:43 +08:00
ShikiSuen f76d0b6f96 InputHandler // Syncing changes from Megrez v2.6.2-v2.6.3 update. 2023-03-23 21:17:43 +08:00
ShikiSuen 12e9caf557 LMMgr // Fix tagOverrides(). 2023-03-12 14:56:14 +08:00
ShikiSuen 03913cb71c InputHandler // Bring cursor jump to the marking mode.
* Certain models of ThinkPad USB Keyboard don't support Alt+Shift+→, hence the choice of Command key as the alternative modifier key for this function.
2023-03-12 14:56:14 +08:00
ShikiSuen c5b3083b48 InputHandler // Use updatePopupDisplayWithCursor() if needed. 2023-03-12 14:56:14 +08:00
ShikiSuen e4be1ecd3d InputHandler // Extend upperCaseLetterKeyBehavior(). 2023-03-12 14:56:14 +08:00
ShikiSuen c2ea8f254d Prefs // Extend upperCaseLetterKeyBehavior(). 2023-03-12 14:56:14 +08:00
ShikiSuen 0423ce727c SessionCtl // Implement updatePopupDisplayWithCursor(). 2023-03-12 14:56:14 +08:00
ShikiSuen b44a8d1a59 SessionCtl // Implement candidatePairHighlightChanged(). 2023-03-10 16:02:08 +08:00
ShikiSuen 79aa073b7a InputHandler // Implement previewCompositionBufferForCandidate(). 2023-03-10 16:02:08 +08:00
ShikiSuen 8535fc1711 Repo // Sync changes from Megrez v2.6.0 update. 2023-03-10 16:02:08 +08:00
ShikiSuen 22ead33ba9 SessionCtl // Refactor candidatePairSelectionConfirmed(). 2023-03-10 16:02:08 +08:00
ShikiSuen 625897a744 Repo // Call candidatePairHighlightChanged() when appropriate. 2023-03-10 16:02:08 +08:00
ShikiSuen fc49bebc5d Repo // API changes for further purposes. 2023-03-10 16:02:08 +08:00
ShikiSuen a2f5606579 Repo // Add parameter names for ([String], String). 2023-03-10 16:02:08 +08:00
ShikiSuen e6696d910d Repo // Refactoring the entire LMMgr. 2023-03-10 16:02:08 +08:00
ShikiSuen 41339a1c61 SessionCtl // Change the condition of areWeNerfing(). 2023-03-10 16:02:08 +08:00
ShikiSuen 164366d8fa SessionCtl // Implement the alternative init(). 2023-03-10 16:02:08 +08:00
ShikiSuen 44dc2ee267 SessionCtl // Fix a format mistake in Caps Lock notification text. 2023-03-10 16:02:08 +08:00
ShikiSuen 04cb05ea34 PrefUI // Sync changes. 2023-03-07 18:38:59 +08:00
ShikiSuen 8541c3b9e6 PrefUI // Use AppStorage to handle UserDefaults, plus comment fix. 2023-03-07 18:38:59 +08:00
ShikiSuen 3ec0753686 AppDelegate // Fix odd preferences first. 2023-03-07 18:38:59 +08:00
ShikiSuen a5a1861801 PrefMgr // Remove AppleLanguages property value if empty. 2023-03-07 18:38:59 +08:00
ShikiSuen 0a657d9be8 PrefMgr // Disable an option for macOS 11 and earlier. 2023-03-07 18:38:59 +08:00
ShikiSuen 18a0c243d2 PrefWindow && PrefUI // Fix a description. 2023-03-07 18:38:59 +08:00
ShikiSuen 3d8ad5423a IMEStateData // Disallow filtering single kanjis in .ofMarking() state. 2023-03-07 18:38:59 +08:00
ShikiSuen d758ce5cd1 PrefWindow & PrefUI // Maintenance. 2023-03-04 20:32:26 +08:00
ShikiSuen d44dec7ea4 PrefUI // Update descriptions regarding UOM. 2023-03-03 09:42:51 +08:00
ShikiSuen 2fc8dbe541 InputHandler // Tweak generatePunctuationNamePrefix(). 2023-03-01 22:58:19 +08:00
ShikiSuen f7dc87fd7d InputHandler // Fix half-width numeral inputs with (shift+)option key. 2023-03-01 22:58:19 +08:00
ShikiSuen 1b0fd45951 SessionCtl // Fix half-width numeral inputs with (shift+)option key. 2023-03-01 22:58:19 +08:00
ShikiSuen 7b8ac4ccda PrefUI // Bind enableMouseScrollingForTDKCandidatesCocoa. 2023-03-01 22:58:19 +08:00
ShikiSuen 35124352ed SessionCtl // Bind enableMouseScrollingForTDKCandidatesCocoa. 2023-03-01 22:58:19 +08:00
ShikiSuen 1bbc17d21f Prefs // +enableMouseScrollingForTDKCandidatesCocoa. 2023-03-01 22:58:19 +08:00
ShikiSuen be8f7b5a22 Prefs & PrefUI // +enableSwiftUIForTDKCandidates. 2023-03-01 22:58:19 +08:00
ShikiSuen ab724fe680 Repo // Add fail-safe for errors related to IMKCandidate internal APIs. 2023-03-01 22:58:19 +08:00
ShikiSuen 526be1e678 Prefs // +failureFlagForIMKCandidates. 2023-03-01 22:58:19 +08:00
ShikiSuen 949f140671 TDKCandidates // Rewrite the UI using NSStackView.
* The mouse wheel scrolling operation currently gives a disastrous experience with TrackPad, hence getting disabled for now.
2023-03-01 22:58:19 +08:00
ShikiSuen 7180bb2798 ClientListMgr // Block the access of ComDlg32 for macOS <= 10.12. 2023-03-01 22:58:19 +08:00
ShikiSuen 04f1889923 ClientListMgr // Allow dragging app bundles to the window. 2023-03-01 22:58:19 +08:00
ShikiSuen e6e99c5205 InputHandler // Implement Alt+BkSp features. 2023-03-01 22:58:19 +08:00
ShikiSuen c80ce1f54d PrefWindow // Sync recent changes happened in PrefUI. 2023-02-24 00:08:53 +08:00
ShikiSuen 3f45c5a9ec PrefUI // +legacyCandidateViewTypesettingMethodEnabled. 2023-02-24 00:08:53 +08:00
ShikiSuen 23842be93c PrefUI // Bind candidateWindowShowOnlyOneLine, etc.
- Also state how to change the candidate row / column capacity.
2023-02-24 00:08:53 +08:00
ShikiSuen 95b53ac082 SessionCtl // Bind legacyCandidateViewTypesettingMethodEnabled. 2023-02-24 00:08:53 +08:00
ShikiSuen 777870a1d3 SessionCtl // Bind candidateWindowShowOnlyOneLine, etc.
- Also unseal reverse lookups to all conditions.
2023-02-24 00:08:53 +08:00
ShikiSuen 2bfad15422 TDKCandidates // Massive renovation + Cocoa legacy mode. 2023-02-24 00:08:53 +08:00
ShikiSuen 4a2db996a0 Prefs // +candidateWindowShowOnlyOneLine. 2023-02-24 00:08:53 +08:00
ShikiSuen 6319465f32 Prefs // +legacyCandidateViewTypesettingMethodEnabled. 2023-02-24 00:08:53 +08:00
ShikiSuen b91ecde609 InputHandler // Don't beep() on failed candidate page operation. 2023-02-24 00:08:53 +08:00
ShikiSuen 1f3fd08cad ClientListMgr // Autofill recent 20 clients on adding new clients. 2023-02-24 00:08:53 +08:00
ShikiSuen bb991d0c86 SessionCtl // Temporarily remember the recent 20 clients' Bundle IDs. 2023-02-24 00:08:53 +08:00
ShikiSuen 888e6a9ddf Repo // Make candidateIndexAtKeyLabelIndex() nullable. 2023-02-24 00:08:53 +08:00
ShikiSuen 2289be50b6 Prefs // Change default candidate keys amount to 6. 2023-02-24 00:08:53 +08:00
ShikiSuen d3454ccd56 Repo // Utilizing NSAttributedString.boundingDimension. 2023-02-24 00:08:53 +08:00
ShikiSuen 74ccd6d0b7 LMMgr // Simplify writeUserPhrase(). 2023-02-24 00:08:53 +08:00
ShikiSuen 4e9faa70c5 PrefUI // Fix tab page height problems. 2023-02-24 00:08:53 +08:00
ShikiSuen 35edeaf6e0 PrefUI // Add the DevZone back with new options. 2023-02-24 00:08:53 +08:00
ShikiSuen 5ff00871fe PrefWindow // Add the DevZone back with new options. 2023-02-24 00:08:53 +08:00
ShikiSuen 87bc36aa9e Repo // Upgrade ClientListMgr to mk2. 2023-02-24 00:08:53 +08:00
ShikiSuen ce9138028a Prefs // +disableSegmentedThickUnderlineInMarkingMode.
Fullname: disableSegmentedThickUnderlineInMarkingModeForManagedClients.
2023-02-24 00:08:53 +08:00
ShikiSuen 03bdee4437 PrefUI // Correct a description regarding App Sandbox. 2023-02-24 00:08:53 +08:00
ShikiSuen 3984cb79e4 SessionCtl // Simplify handing of NSRange parameters, etc. 2023-02-24 00:08:53 +08:00
ShikiSuen 1819f193f8 Repo // Update CNS last-checked tag to 2023-01-06. 2023-02-15 12:55:20 +08:00
ShikiSuen 5a96c264f3 InputHandler // Extend Shift+Command+[] for candidate states. 2023-02-15 12:55:20 +08:00
ShikiSuen 97d2c94754 PrefUI // Massive reconstruction.
- Also synchronize localizable.strings across distros.
2023-02-15 12:55:20 +08:00
ShikiSuen 3ac259471a PrefUI // Use PrefUITabs enum if possible. 2023-02-15 12:55:20 +08:00
ShikiSuen 4a55f38916 PrefWindow // Use PrefUITabs enum if possible. 2023-02-15 12:55:20 +08:00
ShikiSuen c2e865147b Repo // Add PrefUITabs enum. 2023-02-15 12:55:20 +08:00
ShikiSuen 12a8f3d8ef InputHandler // Bind a new shortcut for Hanin Keyboard Symbol Input. 2023-02-15 12:55:20 +08:00
ShikiSuen b87c9071ca Prefs // +classicHaninKeyboardSymbolModeShortcutEnabled. 2023-02-15 12:55:20 +08:00
ShikiSuen af386b25c8 SessionCtl_Menu // Remove UOM data of all input modes instead. 2023-02-15 12:55:20 +08:00
ShikiSuen dc75148c8c SessionCtl // Don't commit() if .ofInputting() has nothing to commit. 2023-02-15 12:55:20 +08:00
ShikiSuen 9256866f2c InputHandler // Implement Alt+Delete/BackSpace behavior. 2023-02-15 12:55:20 +08:00
ShikiSuen 4c0445115b InputHandler // Let g…S…OfInputting() returns .ofAbortion() if needed. 2023-02-15 12:55:20 +08:00
ShikiSuen 0759969f6f InputHandler // Remove a failed toleration with phonabet inputs. 2023-02-15 12:55:20 +08:00
ShikiSuen acdde919ef InputHandler // Change non-default behavior of the Esc key. 2023-02-15 12:55:20 +08:00
ShikiSuen 11a6e85860 InputHandler // Unify tooltips for certain input prompts. 2023-02-15 12:55:20 +08:00
ShikiSuen 80b3e9e2ce InputHandler // Clang-format. 2023-02-15 12:55:20 +08:00
ShikiSuen 151b9c4899 IMKHelper // Patch certain keyboard layouts missing in old macOS. 2023-02-15 12:55:20 +08:00
ShikiSuen b03670cbcf InputHandler // Implementing Hanin Keyboard Symbol Input support. 2023-02-11 13:07:59 +08:00
ShikiSuen 86b85b9c83 CandidateNode // Add data of Hanin Keyboard Symbols for query. 2023-02-11 13:07:59 +08:00
ShikiSuen 18bdf80afd Repo // Using map(\.description) in lieu of charComponents(). 2023-02-11 13:07:59 +08:00
ShikiSuen df03e29b59 SessionCtl // Add openAppSupportFolderFromContainer(). 2023-02-11 13:07:59 +08:00
ShikiSuen 8734ebd68f InputHandler // Implementing Code Point Input support. 2023-02-11 13:07:59 +08:00
ShikiSuen 5245585b60 SessionCtl // Revise the usage of forceCleanup parameter. 2023-02-11 13:07:59 +08:00
ShikiSuen 17da7f83cf SessionCtl // Ensure a state switch when resetInputHandler(). 2023-02-11 13:07:59 +08:00
ShikiSuen 8b0283cf51 SessionCtl // Make clientBundleIdentifier into a stored variable. 2023-02-11 13:07:59 +08:00
ShikiSuen ba164520fc SessionCtl // Optimize commit(). 2023-02-11 13:07:59 +08:00
ShikiSuen 99275a4682 SessionCtl // Again clearInlineDisplay() on deactivation.
* Also optimize doSetMarkedText().
2023-02-11 13:07:59 +08:00