Commit graph

5776 commits

Author SHA1 Message Date
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 37a0a9a314
Merge pull request #287 from xiaoyifang/staged
merge staged to dev
2022-12-28 16:40:15 +08: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
Xiao YiFang 086e8d9955 Merge branch 'staged' into dev 2022-12-25 15:55:55 +08: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
xiaoyifang 2a7ce63752
Update sonar-project.properties 2022-12-25 14:32:07 +08:00
Xiao YiFang 2b782a81ff Merge branch 'staged' into dev 2022-12-25 12:06:26 +08:00
Xiao YiFang ce23121069 action: changelog 2022-12-25 12:06:14 +08:00
Xiao YiFang 669ad8c3fd Merge branch 'staged' into dev 2022-12-25 11:59:40 +08:00
xiaoyifang 7d6b6cc473
Merge pull request #270 from shenlebantongying/staged
Modernization: Use raw strings instead of escaping everywhere
2022-12-25 08:42:42 +08:00
shenleban tongying fcfa4e43e2 refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
shenlebantongying 6fc3684b0a
Add Lingua Libre support (#268)
* lingua: add a dummy dict

* lingua: working but output plain json as article

* lingua: add html audio plays

* lingua: fix qmake build

* fix: qmake on mac INCLUDEPATH

* lingua: add config ui to dict sources edit dialog

* lingua: add config logics

* lingua: use the configured iso language code to do query

* lingua: style polish
2022-12-24 22:42:40 +08:00
Xiao YiFang d1dc024375 opt: darkmode related. remove some specific color setting 2022-12-24 21:36:51 +08:00
Xiao YiFang 5fe3cc5028 fix: darkmode extended to html webpage
fix #269
2022-12-24 09:00:25 +08:00
Xiao YiFang fd791d3d2f bump alpha vesion to 22.12.24 2022-12-24 07:51:09 +08:00
Abs62 9a5e1e8910 Fix links decoding broken by #be22bb 2022-12-23 01:12:28 +03:00
Abs62 3bcd9cfe37 Websites: Fix some redirects 2022-12-22 21:41:49 +03:00
Abs62 79f05a23c8 Websites: Fix loading some CSS (from url with query) 2022-12-22 21:40:18 +03:00
Abs62 cd57031d44 Handle some media links without scheme in offline wikipedia/wiktionary via ArticleNetworkAccessManager 2022-12-22 17:57:43 +03:00