Commit graph

889 commits

Author SHA1 Message Date
xiaoyifang e8a2eadade
opt: indexing dictionary in status bar does not disappear (#1234)
* opt: indexing dictionary name and progress

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-13 10:43:52 +08:00
YiFang Xiao 0da578c2a3 fix: dsl dictionary crash when creating full text index.
fix #1230
2023-10-12 14:53:08 +08:00
xiaoyifang 0bf06a3099
Merge pull request #1225 from xiaoyifang/opt/refactor-code
opt: make code more readable
2023-10-10 22:57:59 +08:00
xiaoyifang 0be3afa90a
opt: history addItem logic optimization (#1224)
* opt: history addItem logic optimization

* opt: move history logic after url load

* opt: move history logic after url load

* opt: remove Item from history

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
2023-10-10 22:57:26 +08:00
YiFang Xiao f274e658ed fix: remove unused method 2023-10-10 21:37:11 +08:00
YiFang Xiao a45c95ebde opt: refactor some method 2023-10-10 21:29:14 +08:00
YiFang Xiao b4cbf24570 fix: scanpopup flash content
[autofix.ci] apply automated fixes
2023-10-10 21:29:11 +08:00
YiFang Xiao 375b599f6b opt: make code more readable 2023-10-10 10:13:34 +08:00
xiaoyifang d1d654226a
Merge pull request #1199 from xiaoyifang/opt/resource-performance
opt: experimental changes, resource performance, support gdvideo
2023-10-10 07:38:58 +08:00
狂风代码 c0f697b3ec
Add default font style for phonetic symbols (#1223)
* Add default font style for phonetic symbols

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-10 07:38:26 +08:00
YiFang Xiao 245923a084 fix: allow video to be dragged around 2023-10-09 23:13:02 +08:00
YiFang Xiao ffc4ccbb03 opt: use a different way to handle the resources 2023-10-09 23:12:57 +08:00
xiaoyifang b1781b63d6
opt: remove gdpicture & maxPictureWidth which has not been used at all. (#1220)
* opt: remove gdpicture protocol which has lost effect for a long time

* opt: remove maxPictureWidth which has no place to configure this variable value

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-09 19:58:16 +08:00
YiFang Xiao 526621a9c9 opt: remove invalid css style in the style file
[autofix.ci] apply automated fixes
2023-10-09 19:56:37 +08:00
YiFang Xiao 5e148eaea6 fix: fix image path in default article css
[autofix.ci] apply automated fixes
2023-10-09 19:56:34 +08:00
xiaoyifang 64529805ff
fix: dsl max width image (#1217)
* fix: dsl max width image

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-09 14:06:38 +08:00
autofix-ci[bot] e3f6a2849c
[autofix.ci] apply automated fixes 2023-10-08 15:36:55 +00:00
YiFang Xiao 7ec51d9453 fix: use more meaningful tag name 2023-10-08 23:35:12 +08:00
YiFang Xiao 6f9fa8eaa7 fix: mdx audio/video html5 tag src value replacement
[autofix.ci] apply automated fixes
2023-10-08 23:35:09 +08:00
YiFang Xiao 4465355502 fix: invalid url response with 206 partial content many times
[autofix.ci] apply automated fixes
2023-10-08 23:35:05 +08:00
xiaoyifang 3ab2d10e16
opt: remove the reply attribute settings which is not supported in we… (#1200)
* opt: remove the reply attribute settings which is not supported in webengine

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-08 21:50:17 +08:00
xiaoyifang 9578ca3ded
Merge pull request #1215 from xiaoyifang/opt/save-article
fix: save article , process qrc protocol link
2023-10-08 21:42:44 +08:00
YiFang Xiao 810c4b32a2 fix: save article , process qrc protocol link 2023-10-08 16:14:51 +08:00
YiFang Xiao 744b480b1b opt: in the darkmode , set image background to white in case the backgroud is transparent 2023-10-08 10:39:35 +08:00
xiaoyifang 9c3ee03ea9
Merge pull request #1207 from xiaoyifang/opt/request-stall
opt: reduce the network stall time
2023-10-07 22:08:00 +08:00
xiaoyifang 8798f04312
Merge pull request #1210 from xiaoyifang/opt/code-smell
refactor: use static class method instead of instance method
2023-10-07 21:51:26 +08:00
xiaoyifang 47293ada62
Merge pull request #1209 from xiaoyifang/fix/fontsize
fix: word zoom does not work in completer
2023-10-07 21:51:06 +08:00
YiFang Xiao b754a24c6c refactor: reduce nested loop depth 2023-10-07 21:36:40 +08:00
YiFang Xiao 8d46d38a3d refactor: use static class method instead of instance method 2023-10-07 21:29:04 +08:00
YiFang Xiao da9d90efec fix: word zoom does not work in completer 2023-10-07 21:13:12 +08:00
YiFang Xiao f2094bad6c fix: typo 2023-10-07 20:53:14 +08:00
xiaoyifang aebf85ef4a
opt: refactor the code to show untitle & welcome page (#1203)
* opt: refactor the code to show untitle & welcome page

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-07 20:49:38 +08:00
YiFang Xiao e69aabf296 opt: reduce the network stall time 2023-10-07 20:44:36 +08:00
xiaoyifang db0ca76ead
opt: convert for loop to for-range (#1201)
* opt: convert for loop to for-range

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-06 20:59:27 +08:00
xiaoyifang 649cf17595
Merge pull request #1198 from shenlebantongying/fts_crash
fix: makeFTSIndex crash at startup when indexed articleCount is zero
2023-10-06 16:24:47 +08:00
autofix-ci[bot] b3b1a532d0
[autofix.ci] apply automated fixes 2023-10-06 04:54:58 +00:00
shenleban tongying e057722bf9
fix: makeFTSIndex crash when indexed articleCount is zero 2023-10-06 00:45:46 -04:00
autofix-ci[bot] b0975f0253
[autofix.ci] apply automated fixes 2023-10-06 03:59:44 +00:00
shenleban tongying 2bd148dcba
fix: avoid QFile::readall when loading resources 2023-10-05 23:49:26 -04:00
YiFang Xiao 26b04fc9b2 i18n: fix typo in Lingua Libre Dialog
fix #1190
2023-10-03 08:02:24 +08:00
xiaoyifang 660b9fb7f9
fix: long headword cause crash (#1186)
* fix: long headword cause crash

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-30 20:42:38 +08:00
YiFang Xiao c9d7ab2c63 fix: font missing cause phonetic symbols can not displayed correctly 2023-09-30 18:32:18 +08:00
xiaoyifang 471f20f140
Merge pull request #1183 from xiaoyifang/fix/popup-min-height
fix: suggestion list set a minimum height
2023-09-30 11:53:08 +08:00
xiaoyifang ef6e878a31
opt: add translation windows when invoked from console (#1173)
* opt: add an extra console argument to specify the translation windows

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-30 11:40:40 +08:00
YiFang Xiao 3af334a093 fix: suggestion list set a minimum height 2023-09-30 11:23:29 +08:00
YiFang Xiao fa79148d4d opt: change font family 2023-09-28 14:12:42 +08:00
xiaoyifang ec2856336c
opt: add option to disable tts component (#1169)
* opt: add tts config option

* opt:[macos] disable tts by default

* [autofix.ci] apply automated fixes

* opt: add build flags to about dialog

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-26 11:09:05 +08:00
xiaoyifang 19e848ec50
fix: enter event in translate textline (#1158)
* fix: enter event in translate textline

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-21 07:44:58 +08:00
xiaoyifang dcc4b19b56
fix: popup enter does not work (#1149)
* fix: popup enter does not work

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-17 11:13:08 +08:00
xiaoyifang 5154e0061f
fix: website dictionary with port in the url (#1148)
* fix: website dictionary with port in the url

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-17 10:38:29 +08:00