Commit graph

988 commits

Author SHA1 Message Date
Xiao Yi Fang 0b5e2f140d code smell: remove warning 2024-06-12 10:13:29 +08:00
shenleban tongying e21d4c60a2 fix: convert DSL description line ends to <br> for HTML display. 2024-06-10 09:30:34 -04:00
shenleban tongying e6a2be83ae
fix: srcset of <img> in mdx format won't show image (#1536)
Co-authored-by: xiaoyifang <105986+xiaoyifang@users.noreply.github.com>
2024-05-29 09:07:23 -04:00
shenleban tongying 05d9a398a0
fix: tray icon <-> toggleMainWindow connected twice (#1535) 2024-05-27 23:06:58 -04:00
shenleban tongying e2e1ca2d49 fix: FFmpeg backend 7.0 compile 2024-05-23 07:29:26 -04:00
shenlebantongying 3856e1e8e8 feat: initial Vcpkg + CMake build for Windows. It don't need prebuilt binaries 2024-05-14 10:55:37 -04:00
shenleban tongying e7c59679ce
fix: disable Qt6.7's dark mode and force Fusion style no matter what (#1512) 2024-05-13 09:22:57 -04:00
shenleban tongying 2cd6ed0756 fix: add timeout for sounddir modification scanning for super large
sound dir and/or slow filesystem
2024-05-09 21:04:22 -04:00
Dmitry Atamanov 8fcefdaf57 Update libraries: fmt to 10.2.1 and toml++ to 3.4.0 2024-04-04 17:44:26 +05:00
xiaoyifang 5e60a6b6df opt: the xapian fts does not concern about the address order 2024-03-27 10:32:45 +08:00
xiaoyifang c1c120e20e
Merge pull request #1441 from shenlebantongying/clean/qsavefile
clean: utilize QSaveFile and improve config/favorite/history file saving
2024-03-26 11:55:05 +08:00
shenleban tongying 3187fdeb64 clean: utilize QSaveFile and improve config/favorite/history file saving 2024-03-25 21:46:17 -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
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 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 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
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
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
YiFang Xiao 4d58fd83db fix: lost dictionary folder after restart 2024-02-17 21:55:20 +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 85333df5c2 opt: allow add directory in portable mode 2024-02-01 13:20:51 +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
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
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
YiFang Xiao e312545204 fix: possible crash on macos 2024-01-24 22:55:34 +08:00
xiaoyifang c15cbbf607
opt: support UP/Down arrow key in headword UI (#1358)
* opt:refactor the code

* opt: headwords dialog response to the Up/Down Key

* opt: when the headword come from headword dialog ,not focus

* [autofix.ci] apply automated fixes

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-01-22 17:04:30 +08:00
YiFang Xiao 97e495613b fix: auto audio pronunciation does not work properly 2024-01-21 13:48:07 +08:00
xiaoyifang a06a372314
Merge pull request #1371 from xiaoyifang/fix/group-crash
fix: groups widget crash on macos occasionly
2024-01-21 12:53:24 +08:00
YiFang Xiao 3e87990ec5 fix: groups widget crash on macos occasionly 2024-01-21 12:42:34 +08:00
YiFang Xiao 85ac0b0e60 opt: refactor the code 2024-01-20 11:19:35 +08:00
YiFang Xiao 11af19de3b fix: critial error throw. 2024-01-10 09:57:31 +08:00
xiaoyifang 804aa29788
Merge pull request #1356 from xiaoyifang/fix/middle-button
fix: middle button does not work
2024-01-04 20:39:56 +08:00
YiFang Xiao c2a6b9b7d9 fix: validate the dictionary when push it into the variable 2024-01-04 20:23:05 +08:00
YiFang Xiao 7420944b9d fix: middle button does not work 2024-01-04 20:17:51 +08:00