Commit graph

5158 commits

Author SHA1 Message Date
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
Xiao YiFang 8100bc1ae3 fix: restrict darkmode within Windows platform.
fix #188
https://github.com/xiaoyifang/goldendict/issues/188#issuecomment-1362444703
2022-12-22 20:55:42 +08:00
xiaoyifang 1cfb1b88bb
Merge pull request #267 from shenlebantongying/staged
mac: ensure tabbar always show full name
2022-12-22 16:13:50 +08:00
shenleban tongying 870e18aa29 mac: ensure tabbar always show full name 2022-12-22 02:24:07 -05:00
xiaoyifang 7b970699d7
Merge pull request #265 from hosiet/pr-add-debian-ubuntu-info
README.md: Add package info in Debian/Ubuntu repos
2022-12-22 13:44:25 +08:00
xiaoyifang 24bacd2dd3
Merge pull request #266 from shenlebantongying/staged
fix: revert QTimer change
2022-12-22 13:38:36 +08:00
shenleban tongying d8a56f08c7 fix: revert QTimer change 2022-12-21 23:44:34 -05:00
Boyuan Yang 0e1b0beace
README.md: Add package info in Debian/Ubuntu repos 2022-12-21 22:32:37 -05:00
xiaoyifang 181d8a5fed
Merge pull request #264 from shenlebantongying/fix/memleaks
fix: minor problems found by clang leaksanitizer
2022-12-22 11:02:28 +08:00
shenleban tongying 3237054cf3 fix: memory leaks found by clang LeakSanitizer 2022-12-21 20:08:41 -05:00
Xiao YiFang 8bda599dd0 github: changelog revert to previous method 2022-12-20 21:50:58 +08:00
Xiao YiFang 311d08c6e9 github: changelog 2022-12-20 21:16:31 +08:00
Xiao YiFang e76e81c9eb fix conflict 2022-12-20 21:13:55 +08:00
Xiao YiFang 021645ffc6 opt: add codecs detection in the website dictionary 2022-12-18 21:30:35 +08:00
Xiao YiFang c53cd32fe7 ui:rearrange controls in preference dialog 2022-12-18 12:34:51 +08:00
Xiao YiFang d7d4c328ea add some missing zh_CN translation 2022-12-17 09:31:49 +08:00
xiaoyifang af973764f7
Merge pull request #258 from xiaoyifang/staged
merge staged to dev
2022-12-16 21:01:18 +08:00
Xiao YiFang e95f69ad55 fix: when in darkmode ,dictionary info panel background text is unclear 2022-12-16 21:00:02 +08:00
xiaoyifang 08c0df49e1 fix: change macro QT_NO_OPENSSL to QT_NO_SSL 2022-12-15 15:11:09 +08:00