Commit graph

4995 commits

Author SHA1 Message Date
Xiao YiFang 837dcfbf63 qt5.15.2 does not work with qtconcurrent::blockingmapped 2022-06-11 21:06:59 +08:00
Xiao YiFang 76969aa49d fulltext search add concurrent support 2022-06-11 20:55:16 +08:00
Xiao YiFang 886aa7f25d github: PR check add concurrency restriction 2022-06-11 20:55:16 +08:00
Xiao YiFang 33b3a95e34 add qt5.15.2 compatibility with qtconcurrent 2022-06-11 20:55:15 +08:00
Xiao YiFang 6c82bf71b6 improve: move temporary to global static 2022-06-11 20:55:15 +08:00
Xiao YiFang dcaebf4948 imp. add QtConcurrent to checkArticle 2022-06-11 20:55:15 +08:00
Xiao YiFang 880f2df1b0 clean code: remove useless code 2022-06-11 20:55:15 +08:00
Xiao YiFang a7955b3887 Merge branch 'staged' into dev 2022-06-11 16:26:17 +08:00
Xiao YiFang 9ea83f1299 fix : control character cause qdomdocument can not parse attribute 2022-06-11 16:25:56 +08:00
Xiao YiFang 3ed7ce5ccb syntaticly space is more reasonable than remove directly. 2022-06-10 20:44:59 +08:00
Xiao YiFang faa1ee480c fix conflict,ignore upstream change
the codebase has already changed. the upstream fix does not apply to current situation
2022-06-09 20:18:44 +08:00
Xiao YiFang 0c21dacc8a fix : inspect element hang forever if opened by right context menu on the first time. 2022-06-09 20:15:02 +08:00
xiaoyifang 73e02719d3
Update CHANGES.md 2022-06-09 12:47:59 +08:00
Igor Kushnir 10d0d8193b setCurrentArticle(): return false if the article doesn't exist
201f11e656 missed this possibility and may
have inadvertently changed the application behavior in a corner case.
2022-06-08 19:05:02 +03:00
Xiao YiFang 1c27c2e71d Revert "github: changelog modify"
This reverts commit 01da9c93ab.
2022-06-08 21:47:59 +08:00
Xiao YiFang eb7b924e4e Merge branch 'staged' into dev 2022-06-08 21:25:35 +08:00
Xiao YiFang 01da9c93ab github: changelog modify 2022-06-08 21:16:04 +08:00
Xiao YiFang 4ce03e9415 html unescape 2022-06-08 21:13:07 +08:00
Xiao YiFang 3e6c85b404 add dict's margin back to lingos style 2022-06-08 20:55:08 +08:00
Xiao YiFang 547f2a4cd2 remember last link's groupId and muted dictionary 2022-06-08 20:52:44 +08:00
Xiao YiFang 88b265765f add entry:// link support 2022-06-07 21:22:37 +08:00
Xiao YiFang b2e9728510 Merge branch 'staged' into dev 2022-06-07 08:16:08 +08:00
Xiao YiFang 9daff6ae37 support mdex builtin link entry: 2022-06-07 08:14:53 +08:00
Xiao YiFang 5f856bf2ae refactor getqueryword 2022-06-07 08:14:53 +08:00
xiaoyifang ccd8ace0ec
Merge pull request #93 from xiaoyifang/feature/0606string-convert-replace
opt: replace string() with QString::toStdstring
2022-06-06 21:59:56 +08:00
Xiao YiFang aa93d9f2d9 opt: replace string() with QString::toStdstring 2022-06-06 20:22:55 +08:00
Xiao YiFang 8fb1e81d75 style:add body : 100% 2022-06-06 20:11:32 +08:00
Xiao YiFang da85ee97c7 Merge branch 'staged' into dev 2022-06-05 08:33:19 +08:00
Xiao YiFang ee2fc14311 fix: indexSearch should pass the searchregex
the current logic will use an empty regex ,make it will match any to-be-checked article
2022-06-04 23:55:04 +08:00
Xiao YiFang fec256da4e Merge branch 'staged' into dev 2022-06-04 17:33:27 +08:00
Xiao YiFang 37215e5dc3 Merge branch 'feature/cjk' into staged 2022-06-04 17:33:14 +08:00
Xiao YiFang c3abe99162 feat: cjk regex match 2022-06-04 17:32:55 +08:00
Xiao YiFang c26a8cfd90 Merge branch 'staged' into dev 2022-06-04 16:12:14 +08:00
xiaoyifang c42513ebe8
Merge pull request #90 from xiaoyifang/feature/cjk
improve: fulltext search checkArticle optimize
2022-06-04 16:11:50 +08:00
Xiao YiFang 3e05e711e5 improve: fulltext search checkArticle optimize 2022-06-04 15:24:06 +08:00
Xiao YiFang 8e53415a31 Merge branch 'feature/clang-2' into staged 2022-06-03 21:30:38 +08:00
Xiao YiFang ba10f68c1c clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
Xiao YiFang 5fc3bd8d83 modify clang format 2022-06-03 20:53:10 +08:00
xiaoyifang 58fdbae34f
Merge pull request #89 from xiaoyifang/feature/cjk
feat:add cjk fulltext search
2022-06-03 15:59:45 +08:00
Xiao YiFang 647041cec3 feat:add cjk fulltext search 2022-06-03 15:34:00 +08:00
Xiao YiFang e26db104f7 fix: regression introduce by replacing qBinaryFind 2022-06-03 15:33:16 +08:00
Xiao YiFang 80021a6328 opt: findText will clear the last findText , so this line is useless
it will override by the following findText
2022-06-03 13:09:18 +08:00
Xiao YiFang 0eb89a68cb pro file add date to version 2022-06-03 12:50:59 +08:00
Xiao YiFang 7f62859b1f style: content-intrinsic-size increase to 600px 2022-06-03 12:45:46 +08:00
Xiao YiFang c397af5241 style: minor change .mdict css style
remove .mdict's margin-top: 1em

add .gddictnamebodyseparator with clear:both
2022-06-03 12:44:37 +08:00
Xiao YiFang b5d005d3ed opt: clear the delayedHighlight text earlier 2022-06-03 12:32:27 +08:00
Xiao YiFang 6a18eb9dac Merge remote-tracking branch 'origin/staged' into dev 2022-06-03 11:12:55 +08:00
xiaoyifang 006c45e0e9
Merge pull request #88 from xiaoyifang/goldendict-master
ArticleView: expose only minimal API to JavaScript
2022-06-03 11:01:18 +08:00
Xiao YiFang 638117d0bd merge upstrem
the features introduced in upstream ,to expose minimum api is already implemented in webchannel

so all the implementation in the upstream has been ignored.
2022-06-03 10:59:13 +08:00
xiaoyifang 3ec948a13c
Merge pull request #85 from xiaoyifang/feature/bookmark
a workround to achieve bookmark feature
2022-06-02 21:11:52 +08:00