Commit graph

5495 commits

Author SHA1 Message Date
shenleban tongying 49e576d02f
feat: document Index file in architecture.md 2024-03-23 00:46:30 -04:00
shenleban tongying f8c0e8cd17
clean: rename File::Class to what it is really used. 2024-03-23 00:29:51 -04:00
xiaoyifang e0d09302d2
Merge pull request #1434 from shenlebantongying/fix/punycode-ace-url-handler
fix: url handler and encoded ACE / Punycode / percent encoded URLs
2024-03-22 16:57:37 +08:00
xiaoyifang 2ed43febbf
Merge pull request #1433 from shenlebantongying/clean/dep-qt5
clean: deprecations that won't break Qt5 compatibility
2024-03-22 16:56:12 +08:00
shenleban tongying 8ad68d96df
fix: url handler and encoded ACE / Punycode / percent encoded URLs 2024-03-22 01:39:39 -04:00
autofix-ci[bot] 1724b4f32b
[autofix.ci] apply automated fixes 2024-03-22 01:50:46 +00:00
shenleban tongying 48fc8fceff clean: deprecations that won't break Qt5 compatibility 2024-03-21 21:48:43 -04:00
xiaoyifang fbb1c25852
Merge pull request #1432 from shenlebantongying/clean/open-search-act
clean: remove unnecessary passing of openSearchAction to ArticleView's ctor
2024-03-22 09:38:02 +08:00
shenleban tongying 57a5c52620 clean: remove unnecessary passing of openSearchAction to ArticleView's ctor 2024-03-21 19:09:05 -04:00
xiaoyifang be22cb22b6
fix: in portable version,the default content dir lost recursive attribute. (#1430)
* fix: allow edit the content path

* fix: portable version ,add default item

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-20 22:07:58 +08:00
shenleban tongying e8f3a94541
fix: soundDir index not updating when sounds modified (#1427) 2024-03-20 21:44:17 +08:00
xiaoyifang 68ed2da4c2
fix: macos build (#1428)
* Update macos-homebrew.yml

* Update macos-arm-homebrew.yml
2024-03-20 17:45:20 +08:00
xiaoyifang 52c07b9291
Merge pull request #1424 from shenlebantongying/fix/insanly-click-audio-crash
fix: crash when clicking audio insanely fast.
2024-03-20 13:20:38 +08:00
xiaoyifang 728fa4850c
Merge pull request #1425 from shenlebantongying/fix/mac-open-in-systemviewer
fix: "Open Image in System Viewer" doesn't work on macOS
2024-03-20 13:19:03 +08:00
shenleban tongying 0b61888bc7 fix: Open Image in System Viewer doesn't work on macOS 2024-03-20 00:46:40 -04:00
shenleban tongying a3d7faeffe
add developer_name to metadata.xml as required by flathub 2024-03-20 00:07:03 -04:00
shenleban tongying 483381414f
clean: remove macOS unused code related to gestures (#1421)
* clean: remove macOS unused code related to gestures

We prefer native gestures and disabled gesture.cc long time ago, those are unused

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-20 11:11:35 +08:00
shenleban tongying b9e14f806c
fix: CMake problems found by the openBSD package (#1422)
* fix: CMake problems found by openBSD package

* remove unused WITH_XAPIAN option
* don't link Qt TTS if not requested

* fix: address CMake problems found by openBSD package

* remove unused WITH_XAPIAN option
* don't link Qt TTS if not requested
* Disable some code when TTS is not requested

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-20 11:08:17 +08:00
shenleban tongying 97a3824e9f
fix: crash when clicking play audio insanely fast. 2024-03-19 22:57:30 -04:00
xiaoyifang ebce607634
Merge pull request #1420 from shenlebantongying/fix-qrcx-fail-crash
fix: a crash when qrcx:// fails.
2024-03-19 21:47:15 +08:00
shenleban tongying d546cafda4
fix: a crash when qrcx:// fails.
The reply here might be nullptr.
2024-03-19 03:51:10 -04:00
shenleban tongying dd95690940
clean: simplify tabbar double click detect via qt's built-in methods (#1419)
* clean: simplify tabbar double click detect via qt's built-in methods

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-18 17:45:06 +08:00
David 8f77f2a716 Fix two typos in desktop file 2024-02-29 07:40:21 -05:00
xiaoyifang 838ec3e037
Merge pull request #1408 from xiaoyifang/opt/css-instric-feature-remove
opt: css feature content-visibility only available in modern style
2024-02-27 19:57:55 +08:00
YiFang Xiao 171a5b78f8 opt: css feature content-visibility only available in modern style 2024-02-27 18:15:37 +08:00
shenleban tongying 32391bda43
fix: reduce darkreader mode white flash further by using QWebEnginePage::setBackgroundColor() (for Qt6.6.3+) (#1406)
* fix: reduce darkreader mode white flash further by using
QWebEnginePage::setBackgroundColor() (for Qt6.6.3+)

In previous Qt6.x versions, this function only set background once and
become invalidated if reload a page.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-27 18:07:00 +08:00
xiaoyifang 6e00732961
Merge pull request #1404 from KonstantinDjairo/patch-1
Announce Goldendict-ng for guix
2024-02-20 14:10:27 +08:00
Konstantin 0c023d32f6
Announce Goldendict-ng for guix 2024-02-19 13:12:16 +00:00
YiFang Xiao 4d58fd83db fix: lost dictionary folder after restart 2024-02-17 21:55:20 +08:00
YiFang Xiao 68c9500100 modify release note 2024-02-16 10:25:55 +08:00
xiaoyifang fbe5335e44
Merge pull request #1403 from xiaoyifang/opt/upgrade-qt-6.6.2
upgrade to qt6.6.2
2024-02-16 09:39:56 +08:00
Xu Jiyong b3778da093
Typo fix for Mediawiki language variant (#1398)
* opt: add the language variant option for wikipedia dictionaries

* fix:default value for 'lang_' parameter

* [autofix.ci] apply automated fixes

* fix: Should have been 'https' for the wikipedia queries.

* fix:typo traditional -> Traditional

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-16 09:11:16 +08:00
YiFang Xiao 1bb81c8fc1 upgrade to qt6.6.2 2024-02-16 09:10:07 +08:00
xiaoyifang 92ad684d52
Merge pull request #1394 from xiaoyifang/opt/portable
opt: allow add directory in portable mode
2024-02-01 14:07:48 +08:00
Canvis-Me a7e07ea51c Fix cmake complains no <QPrinter> 2024-02-01 00:56:41 -05:00
YiFang Xiao 85333df5c2 opt: allow add directory in portable mode 2024-02-01 13:20:51 +08:00
xiaoyifang d15425acf2
New Crowdin updates (#1390)
* New translations German, Switzerland from Crowdin

* New translations German, Switzerland from Crowdin
2024-01-30 09:40:46 +08:00
xiaoyifang 956af1374f
New Crowdin updates (#1388)
* New translations German, Switzerland from Crowdin

* New translations German, Switzerland from Crowdin
2024-01-28 10:38:49 +08:00
xiaoyifang 7400050ae6
New Crowdin updates (#1387)
* New translations French from Crowdin

* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

* New translations Czech from Crowdin

* New translations German from Crowdin

* New translations Greek from Crowdin

* New translations Finnish from Crowdin

* New translations Italian from Crowdin

* New translations Japanese from Crowdin

* New translations Korean from Crowdin

* New translations Lithuanian from Crowdin

* New translations Macedonian from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Russian from Crowdin

* New translations Slovak from Crowdin

* New translations Albanian from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Swedish from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Persian from Crowdin

* New translations Hindi from Crowdin

* New translations Esperanto from Crowdin

* New translations Tajik from Crowdin

* New translations Quechua from Crowdin

* New translations Aymara from Crowdin

* New translations Turkmen from Crowdin
2024-01-27 16:23:43 +08:00
YiFang Xiao e2120a6d41 bump alpha version 2024-01-27 13:07:29 +08:00
YiFang Xiao 28924b5953 opt:refactor code 2024-01-27 10:56:34 +08:00
xiaoyifang 69191e4387
Merge pull request #1386 from xiaoyifang/fix/addon-style
fix: possible crash on macos
2024-01-27 10:34:28 +08:00
xiaoyifang bc8c615d4d
Merge pull request #1385 from xiaoyifang/fix/ctrl-v-in-welcome-page
fix: ctrl+v in Welcome page will result a wrong search
2024-01-26 17:13:03 +08:00
YiFang Xiao 54808cd03f fix: ctrl+v in Welcome page will result a wrong search 2024-01-26 16:52:27 +08:00
YiFang Xiao 0596ed5e45 opt: remove debug info 2024-01-26 15:50:01 +08:00
xiaoyifang 9d34a6a316
New Crowdin updates (#1384)
* New translations Chinese Simplified from Crowdin

* New translations French from Crowdin

* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

* New translations Czech from Crowdin

* New translations German from Crowdin

* New translations Greek from Crowdin

* New translations Finnish from Crowdin

* New translations Italian from Crowdin

* New translations Japanese from Crowdin

* New translations Korean from Crowdin

* New translations Lithuanian from Crowdin

* New translations Macedonian from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Russian from Crowdin

* New translations Slovak from Crowdin

* New translations Albanian from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Swedish from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Persian from Crowdin

* New translations Spanish, Argentina from Crowdin

* New translations Hindi from Crowdin

* New translations Esperanto from Crowdin

* New translations Lojban from Crowdin

* New translations German, Switzerland from Crowdin

* New translations Spanish, Bolivia from Crowdin

* New translations Tajik from Crowdin

* New translations Quechua from Crowdin

* New translations Aymara from Crowdin

* New translations Arabic, Saudi Arabia from Crowdin

* New translations Turkmen from Crowdin

* New translations Interlingue from Crowdin
2024-01-26 08:20:23 +08:00
Xu Jiyong 853130ddb7
opt: add the language variant option for wikipedia dictionaries (#1374)
* opt: add the language variant option for wikipedia dictionaries

* fix:default value for 'lang_' parameter

* [autofix.ci] apply automated fixes

* fix: Should have been 'https' for the wikipedia queries.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-01-26 07:56:17 +08:00
shenleban tongying 4304fc9aef fix: uses libc iconv on FreeBSD 2024-01-25 04:03:27 -05:00
shenleban tongying 2acf36d421 fix: correctly uses CMake's FindX11 2024-01-25 03:44:42 -05:00
YiFang Xiao e312545204 fix: possible crash on macos 2024-01-24 22:55:34 +08:00