Commit Graph

55 Commits

Author SHA1 Message Date
ShikiSuen 58da06bad0 TDKCandidates // Remove a deprecated condition. 2023-03-04 20:20:38 +08:00
ShikiSuen c7623244ab TDKCandidates // Fix the .languageIdentifier attribute. 2023-03-03 13:25:35 +08:00
ShikiSuen 4f9e159c95 TDKCandidates // Remove useless comments. 2023-03-03 13:25:35 +08:00
ShikiSuen c3d5e9aaf8 TDKCandidates // Set the opacity of the non-current lines to 85%. 2023-03-01 22:58:19 +08:00
ShikiSuen ab4ae41af6 TDKCandidates // Ensure compatibility with macOS 10.9 Mavericks.
* Refine constraint calculation methods.
* Reintroduce `window.isOpaque = false`.
* Fix translatesAutoresizingMaskIntoConstraints().
* Debugging dimensions of UI components.
* Avoid using zero rects on construction.
2023-03-01 22:58:19 +08:00
ShikiSuen be8f7b5a22 Prefs & PrefUI // +enableSwiftUIForTDKCandidates. 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 2bfad15422 TDKCandidates // Massive renovation + Cocoa legacy mode. 2023-02-24 00:08:53 +08:00
ShikiSuen 888e6a9ddf Repo // Make candidateIndexAtKeyLabelIndex() nullable. 2023-02-24 00:08:53 +08:00
ShikiSuen d3454ccd56 Repo // Utilizing NSAttributedString.boundingDimension. 2023-02-24 00:08:53 +08:00
ShikiSuen 18bdf80afd Repo // Using map(\.description) in lieu of charComponents(). 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 ad1a96160b TDKCandidates // Fix calculation mistakes in horizontal layout. 2023-02-06 22:36:24 +08:00
ShikiSuen f8d79b0e2e TDKCandidates // Optimize the horizontal layout. 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 be67220155 TDKCandidates // Weaken the window border color. 2022-12-20 20:31:27 +08:00
ShikiSuen 5db19f854e TDKCandidates // Add context menu support. 2022-12-17 15:14:22 +08:00
ShikiSuen 035893838c CtlCandidate // Only reload data with states of candidate containers. 2022-12-17 15:14:22 +08:00
ShikiSuen 6229f7deaf CtlCandidateTDK // Memory leak fix, etc.
- Also stop reloadData() on init().
2022-12-17 15:14:22 +08:00
ShikiSuen 7aaa950d45 TDKCandidates // Print character descriptions to console, etc. (#250)
* TDKCandidates // Remove certain useless default values.

* TDKCandidates // Print character descriptions to console.
2022-12-17 15:14:21 +08:00
ShikiSuen 86512eb625 TDKCandidates // Trim newlines among lookup results. 2022-12-17 14:54:50 +08:00
ShikiSuen 5fbc2fb728 TDKCandidates // UI accommodation with long reverse-lookup results.
- Use array to handle reverse-lookup UI representation.
- Remove SessionCtl.annotate().
2022-12-17 14:54:49 +08:00
ShikiSuen c9c81803b8 TDKCandidates // Implement CTFontCreateUIFontForLanguage(). 2022-12-17 14:54:49 +08:00
ShikiSuen 85efbeaf81 TDKCandidates // Optimize vertical display in single column mode. 2022-12-17 14:54:49 +08:00
ShikiSuen f94ecf5fda Repo // Implementing reverse-lookup, requiring macOS 10.15 and later.
- Prefs & PrefUI // Add reverse-lookup toggle.
2022-12-17 14:54:49 +08:00
ShikiSuen 44fc72a9a1 TDKCandidates // Decrease padding to 3. 2022-12-17 14:54:49 +08:00
ShikiSuen 98487ce974 TDKCandidates // Add a spacer to the right edge of the window. 2022-12-17 14:54:49 +08:00
ShikiSuen 1324e0a077 Repo // selectedCandidateIndex -> highlightedIndex. 2022-12-17 14:54:48 +08:00
ShikiSuen 5832136e05 Repo // Implementing set() for NSWindowController. 2022-12-17 14:54:48 +08:00
ShikiSuen c7347f0efb TDKCandidates // Changing folder structure. 2022-12-17 14:54:48 +08:00
ShikiSuen 310ec10cf6 TDKCandidates // Fix theme color opacity in macOS 11 and 10.15. 2022-12-17 14:54:48 +08:00
ShikiSuen 072ecdf907 CtlCandidateDelegate // Remove useless "AnyObject". 2022-12-17 14:54:48 +08:00
ShikiSuen c93de3c8ed TDKCandidates // Patch default font sizes. 2022-12-17 14:54:48 +08:00
ShikiSuen 34c382638e TDKCandidates // Add window border. 2022-12-17 14:54:48 +08:00
ShikiSuen 4edbe4d85c TDKCandidates // Only show 1 column for vertical typing. 2022-12-17 14:54:48 +08:00
ShikiSuen ab959a5c12 TDKCandidates // Let maxLinesPerPage modifiable. 2022-12-17 14:54:48 +08:00
ShikiSuen b5abb2db4e CtlCandidateTDK // Use round candidate window. 2022-12-17 14:54:48 +08:00
ShikiSuen ec35ebf24b Repo // Refuse ineffective candidate key events. 2022-12-17 14:54:48 +08:00
ShikiSuen 1dfebd7b44 Repo // Remove useless symbols regarding candidate windows. 2022-12-17 14:54:48 +08:00
ShikiSuen 2f83ba7479 CtlCandidateTDK // Remove the trailing divider(). 2022-12-17 14:54:48 +08:00
ShikiSuen 64ab1bc676 Repo // Reorganize CandidateCellData contents. 2022-12-17 14:54:48 +08:00
ShikiSuen f4a786904e TDKCandidates // Refactor for simplicity. 2022-12-17 14:54:47 +08:00
ShikiSuen d3cdc29505 TDKCandidates // Reimplement certain features provided previously. 2022-12-17 14:54:47 +08:00
ShikiSuen 9beb643c01 TDKCandidates // Unify the selection key font size. 2022-12-17 14:54:47 +08:00
ShikiSuen 502a8f12fb TDKCandidates // Disable the display of scrollbars. 2022-12-17 14:54:47 +08:00
ShikiSuen bcbb7e5cd7 TDKCandidates // Fix font clipping when lang identifier is enabled. 2022-12-17 14:49:05 +08:00
ShikiSuen 030a8cb776 CtlCandidateTDK // Vertical candidate layout support, etc.
- SP2: Fix a color scheme mistake in bright mode.
2022-12-17 14:49:05 +08:00
ShikiSuen 8fd236a065 Repo // Removing page button toggle. 2022-12-17 14:49:05 +08:00
ShikiSuen d531f04fa9 CtlCandidateTDK // Auto-adjust window height. 2022-12-17 14:49:05 +08:00
ShikiSuen 1be59aa364 CtlCandidateTDK // Limit rows per page to 3. 2022-12-17 14:49:05 +08:00