Commit graph

4499 commits

Author SHA1 Message Date
Xiao YiFang 4a30302864 fix: move Contexts to header file 2023-01-02 22:00:42 +08:00
Xiao YiFang 9acbd3aa2f fix: headwords dialog export function
sorted the exported headwords and remove duplicated items.
2022-12-31 14:01:48 +08:00
Xiao YiFang 101a673cf6 fix: filter headword return less than expected matched results. 2022-12-31 11:01:45 +08:00
xiaoyifang 0089420801
Merge pull request #302 from xiaoyifang/fix/qkeysequenceedit
Fix: replace preference.ui hotkeyedit with qkeysequenceedit
2022-12-30 11:39:14 +08:00
xiaoyifang d5544ca058 fix: method definition in linux and macos 2022-12-30 10:46:44 +08:00
xiaoyifang 01245bce15
Merge pull request #301 from shenlebantongying/staged
fix: Unsatisfactory "Close To Tray" behavior on macOS
2022-12-30 10:15:28 +08:00
Xiao YiFang 068c2f9a21 fix: remove hotkeyedit.cc(.hh) 2022-12-30 01:12:57 +08:00
Xiao YiFang 794d4b934f fix: replace hhotkeyedit with qkeysequenceedit
related to #291
2022-12-30 01:11:22 +08:00
shenleban tongying e2bd010b19 fix: Unsatisfactory "Close To Tray" behavior on macOS 2022-12-29 11:36:01 -05:00
xiaoyifang 8ffa1f6643
Merge pull request #299 from shenlebantongying/staged
replace dict group's hotkeyedit with qKeySequenceEdit
2022-12-29 21:48:05 +08:00
shenlebantongying e8063bf0eb replace dict group's hotkeyedit with qKeySequenceEdit 2022-12-29 07:34:55 -05:00
xiaoyifang fa591a365d
Merge pull request #298 from shenlebantongying/staged
fix: reload all pages when articleview style changes
2022-12-29 18:17:07 +08:00
shenlebantongying 7daf9b4e56 fix: articleview style switching 2022-12-29 04:44:46 -05:00
xiaoyifang 3e39169858
Merge pull request #295 from shenlebantongying/staged
lingua: add " " audio link and href url
2022-12-29 17:19:31 +08:00
shenlebantongying 43859df431 lingua: add " " to links 2022-12-29 04:11:34 -05:00
shenlebantongying 0d149337ca lingua: add " " to <a href= > 2022-12-29 04:02:57 -05:00
xiaoyifang 1196e11cf3
Merge pull request #293 from shenlebantongying/staged
clang-tidy: apply modernize-use-override
2022-12-29 16:51:57 +08:00
shenleban tongying 2aeed5e705 clang-tidy: apply modernize-use-override 2022-12-29 02:14:53 -05:00
xiaoyifang 12e8c796a1
Merge pull request #290 from shenlebantongying/staged
fix remaining problems of scanpop clipboard on linux
2022-12-29 14:09:09 +08:00
shenleban tongying 7fa87b6b42 fix: remove unused isScanningEnabled, the logic is handled in mainwindow::clipboardChanged() 2022-12-28 21:58:27 -05:00
shenleban tongying b933d52245 fix: remove unused clipboard change method in scanpopup 2022-12-28 21:37:09 -05:00
shenleban tongying bdc43650bb fix: add a mini delay for selection clipboard 2022-12-28 21:36:02 -05:00
shenleban tongying a28aec3c9f fix: clipboard changes isn't ignored 2022-12-28 21:19:58 -05:00
xiaoyifang c1902b29c8
Merge pull request #288 from shenlebantongying/staged
fix: reload all pages when darkreader mode changes in perferences
2022-12-28 19:39:10 +08:00
shenleban tongying c6f895c15c fix: when darkreader mode changes in perferences, reload all pages 2022-12-28 06:13:42 -05:00
xiaoyifang ce2eba6c63
Merge pull request #286 from shenlebantongying/staged
lingua: add safeguards to errors
2022-12-28 14:28:29 +08:00
shenleban tongying f277af1a2e lingua: handle network errors
* set timeout to 3s
* get rid of reply with errors
2022-12-28 01:06:01 -05:00
xiaoyifang caa97a7120
Merge pull request #284 from shenlebantongying/fix/shorcut_clean
refactor: remove duplicated favoriatePane shortcut setting
2022-12-27 19:29:34 +08:00
xiaoyifang e76aec5855
Merge pull request #283 from shenlebantongying/staged
fix: shortcut conflict
2022-12-27 19:28:25 +08:00
shenleban tongying 426f77fee5 refactor: remove duplicated favoriatePane shortcut setting 2022-12-27 05:27:59 -05:00
shenleban tongying 3c668165c0 fix: _O_pen link's shortcut is conflict with Save S_o_und 2022-12-27 04:54:03 -05:00
xiaoyifang 3a8c1af05c
Merge pull request #281 from shenlebantongying/staged
refactor: remove duplicated history shortcut setting
2022-12-27 17:16:32 +08:00
shenleban tongying 01c0b8d9d9 refactor: remove duplicated history shortcut setting 2022-12-27 01:52:20 -05:00
xiaoyifang bcfa3f0bd4
Merge pull request #277 from shenlebantongying/staged
Add option to enable Dark Reader mode
2022-12-27 10:56:12 +08:00
shenlebantongying fd7de694f8 update zh_CN translations for dark mode 2022-12-26 20:48:41 -05:00
shenleban tongying 9828ef9dc8 perfect_dark: add toggle option to enable Dark Reader mode 2022-12-26 12:29:30 -05:00
Xiao YiFang e5a0fa864c fix: about dialog in dark mode. 2022-12-26 23:34:53 +08:00
Xiao YiFang e831d5dbbe fix: default source tabs 2022-12-26 21:10:39 +08:00
xiaoyifang 385ccb4c0c action: sonarcloud 2022-12-26 17:10:39 +08:00
xiaoyifang c586a3f1f3
Merge pull request #276 from shenlebantongying/staged
Refactor: use new Signal/Slot syntax
2022-12-26 15:44:28 +08:00
shenleban tongying 07e92e8ac1 refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
xiaoyifang 551ba8a9f2
Merge pull request #275 from shenlebantongying/staged
Simplify and speed up dictionary loading
2022-12-26 09:30:45 +08:00
shenleban tongying 7476b5b154 refactor: simplify and speedup dictionary loading via a helper function 2022-12-25 09:07:36 -05:00
shenleban tongying 2937487c6a clang-tidy: remove some checks 2022-12-25 09:03:35 -05:00
xiaoyifang 2a561cb404
Merge pull request #274 from shenlebantongying/staged
dev: add .clang-tidy
2022-12-25 19:25:45 +08:00
Xiao YiFang 62900485bd Revert "Update sonar-project.properties"
This reverts commit 2a7ce63752.
2022-12-25 18:40:03 +08:00
shenleban tongying 739a548ee5 dev: add .clang-tidy 2022-12-25 04:41:00 -05:00
shenleban tongying 17fab0f0c9 dev: add .clang-tidy 2022-12-25 04:29:52 -05:00
xiaoyifang 7712d4febd
Merge pull request #272 from shenlebantongying/fix/perfect_dark
Fix: perfect dark mode for all platforms
2022-12-25 15:55:32 +08:00
shenlebantongying 587aad1471 Perfect dark: remove explict Qt widget coloring 2022-12-25 01:53:53 -05:00