Commit Graph

1028 Commits

Author SHA1 Message Date
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 53528016f0 Update Data - 20230312 2023-03-12 14:56:14 +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 6ff195c438 Update Data - 20230310 2023-03-10 16:02:08 +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 a52608ed90 Update Data - 20230307 2023-03-07 18:38:59 +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 c99f16b108 Update Data - 20230302 2023-03-04 20:32:26 +08:00
ShikiSuen d758ce5cd1 PrefWindow & PrefUI // Maintenance. 2023-03-04 20:32:26 +08:00
ShikiSuen c0ea1b2a21 i18n // Fix. 2023-03-03 13:25:35 +08:00
ShikiSuen d44dec7ea4 PrefUI // Update descriptions regarding UOM. 2023-03-03 09:42:51 +08:00
ShikiSuen d561d9e768 UpdateSputnik // Fix update info site. 2023-03-03 09:33:10 +08:00
ShikiSuen 614079250f Update Data - 20230301 2023-03-02 23:04:09 +08:00
ShikiSuen 153699247d CheatSheet // Update. 2023-03-01 22:58:19 +08:00
ShikiSuen ff468a94a1 UpdateSputnik // Also show the GitHub download page in notification. 2023-03-01 22:58:19 +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 cf04e09acd PrefWindow // Bind enableMouseScrollingForTDKCandidatesCocoa. 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 92f5fcbfdb ClientListMgr // Bind BkSp key to the delete button. 2023-03-01 22:58:19 +08:00
ShikiSuen e6e99c5205 InputHandler // Implement Alt+BkSp features. 2023-03-01 22:58:19 +08:00
ShikiSuen b7fa29e298 Xcode // Use `#889464` as the global theme color.
- Bright Mode: R:88/255, G:94/255, B:64/255
- Dark Mode: #889464
2023-03-01 22:58:19 +08:00
ShikiSuen a86f12668f Update Data - 20230223 2023-02-24 00:08:53 +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 bcc15a0356 Update Data - 20230215 2023-02-15 12:55:20 +08:00
ShikiSuen 1819f193f8 Repo // Update CNS last-checked tag to 2023-01-06. 2023-02-15 12:55:20 +08:00
ShikiSuen 6fe3bfe6fe Repo // Update IME menu icon to fit macOS 13. 2023-02-15 12:55:20 +08:00
ShikiSuen f6dc70cf49 CheatSheet // Update descriptions regarding recent new features. 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 44cfc078e4 PrefWindow // UI tweaks, plus a new option. 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 bbbd19d13b Xcode // Update toolbar icon resources. 2023-02-15 12:55:20 +08:00
ShikiSuen 82fd0b820d PrefWindow // Sync the XIB file changes with vChewing Aqua. 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 7cf55ce40c Update Data - 20230211 2023-02-11 13:30:04 +08:00
ShikiSuen 8496481eaf CheatSheet // Update manuals reflecting recent changes. 2023-02-11 13:30:04 +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
ShikiSuen fef6eb5f76 InputHandler // Remove unnecessary empty state switches. 2023-02-11 13:07:59 +08:00
ShikiSuen ab9702b6a8 InputHandler // Extract handlePunctuationList(), etc.
* Also fix an issue which commits unfinished composer / calligrapher contents.
2023-02-11 13:07:59 +08:00
ShikiSuen 2cdc64b1ff InputHandler // Use applyingTransformFW2HW(). 2023-02-11 13:07:59 +08:00
ShikiSuen f103335d5c SessionCtl // Force composer cleanup on deactivateServer(). 2023-02-11 13:07:59 +08:00
ShikiSuen 856c5d02d7 Clang-format // Use Google Swift Format Style. 2023-02-11 13:07:59 +08:00
ShikiSuen c4879423ce Update Data - 20230206 2023-02-06 22:36:24 +08:00
ShikiSuen 5e3adb570a PrefWindow // Only showing fart SFX toggle on April 1st. 2023-02-06 22:36:24 +08:00
ShikiSuen 13a7076255 PrefUI // Only showing fart SFX toggle on April 1st. 2023-02-06 22:36:24 +08:00
ShikiSuen 3b836d3dff SessionCtl // Automatically suppresses farts unless today is April 1st. 2023-02-06 22:36:24 +08:00
ShikiSuen 71dbef07c9 Update Data - 20230205 2023-02-05 20:30:46 +08:00
ShikiSuen 6fed678161 CheatSheet // Add missing contents. 2023-02-05 20:30:46 +08:00
ShikiSuen 0c50046426 PrefUI // Warn when unchecking the fart suppressor. 2023-02-05 19:10:55 +08:00
ShikiSuen 33501ebba9 PrefWindow // Warn when unchecking the fart suppressor. 2023-02-05 19:10:55 +08:00
ShikiSuen 0d3a727d9d Repo // Enable CGShieldingWindowLevel().
- We use the max value between CGShieldingWindowLevel() and kCGPopUpMenuWindowLevel.
2023-02-05 19:10:55 +08:00
ShikiSuen 1b3bd62e3c Update Data - 20230201 2023-02-01 14:44:12 +08:00
ShikiSuen 917ebcb1bf CheatSheet // Documentation update. 2023-02-01 14:44:12 +08:00
ShikiSuen a5dfa3f2a8 PrefUI // Reorder certain options. 2023-02-01 14:44:12 +08:00
ShikiSuen 84c2232f8c InputHandler // Add new hotkeys for revolving candidates.
* InputHandler // Add Shift+↑↓ candidate revolving support.

* InputHandler // Add (Shift+)kContextMenu candidate revolving support.

* InputHandler // Add Ctrl+Command+[] candidate revolving support.
2023-02-01 14:44:12 +08:00
ShikiSuen 9ce3c2a9e4 InputHandler // More detailed candidate revolving tooltip, etc. 2023-02-01 14:44:12 +08:00
ShikiSuen fc32da5bb9 InputHandler // rotateCandidate() -> revolveCandidate(). 2023-02-01 14:44:12 +08:00
ShikiSuen 402ae811e7 Repo // Rotate / Cycle -> Revolve. 2023-02-01 14:44:12 +08:00
ShikiSuen d1a7f3dcc3 InputHandler // Handle Alt+Shift+Enter, etc. 2023-02-01 14:44:12 +08:00
ShikiSuen 35d3c344ec InputHandler // Improve handling of invalid inputs. 2023-02-01 14:44:12 +08:00
ShikiSuen 568cf686c3 SessionCtl // Fill missing parameters. 2023-02-01 14:44:12 +08:00
ShikiSuen c2d1c3971c Repo // Fix typo: 案件 -> 按鍵. 2023-02-01 14:44:12 +08:00
ShikiSuen 62c01bbf1a Update Data - 20230124 2023-01-25 17:42:23 +08:00
ShikiSuen 80f4cff96b Repo // Allow only using L-Shift for toggling alphanumerical mode. 2023-01-25 17:42:23 +08:00
ShikiSuen 98dbe81962 PrefUI // Remove some deprecated descriptions. 2023-01-25 17:42:23 +08:00
ShikiSuen b2e741043b Prefs // Remove shiftKeyAccommodationBehavior. 2023-01-25 17:42:23 +08:00
ShikiSuen fde7a7a42a SessionCtl // Remove rencentKeyHandledByInputHandlerEtc. 2023-01-25 17:42:23 +08:00
ShikiSuen e49d60447c SessionCtl // Removing shiftKeyAccommodationBehavior. 2023-01-25 17:42:23 +08:00
ShikiSuen 72560e82e2 SessionCtl // Allow JIS_EiSu key to toggle Alphanumerical mode. 2023-01-25 17:42:23 +08:00
ShikiSuen bb2533a2aa SessionCtl // Revise the handling of Shift Alphanumerical toggle. 2023-01-25 17:42:23 +08:00
ShikiSuen c7cc8cdbbc SessionCtl // Change the way of handling `.flagsChanged`.
- Learn something from mozc.
2023-01-25 17:42:23 +08:00