Xiao YiFang
eb5ae99da9
fix: anchor #hashtag navigation failed to work
2023-03-11 14:10:02 +08:00
Xiao YiFang
1072adfad9
Revert "fix: mdx headword total count is incorrect"
...
This reverts commit 66ec6b6d63
.
2023-02-05 13:45:48 +08:00
shenleban tongying
2aeed5e705
clang-tidy: apply modernize-use-override
2022-12-29 02:14:53 -05:00
shenleban tongying
fcfa4e43e2
refactor: replace escaped strings with raw strings via clang-tidy
2022-12-24 17:01:50 -05:00
shenleban tongying
4452c06c3e
Replace sptr with std::shared_ptr
...
* Make sptr an alias of std::shared_ptr
* Make old sptr's implicit conversion explict through std::make_shared
2022-11-28 22:54:31 -05:00
Xiao YiFang
66ec6b6d63
fix: mdx headword total count is incorrect
2022-11-16 21:09:30 +08:00
Xiao YiFang
85b6b34aed
opt: replace font-face's url in html
2022-10-11 20:57:04 +08:00
Xiao YiFang
df0622d216
xapian revert the needToRebuildBTreeIndex to needToRebuildIndex
2022-10-08 21:16:15 +08:00
Xiao YiFang
83b36a7316
xapian ,fullindex file name different in normal mode and xapian mode
2022-10-06 11:04:48 +08:00
Xiao YiFang
4ab26f687c
mdx normal index check logic
2022-10-06 01:39:59 +08:00
Xiao YiFang
98769b6dd2
fix:mdx embeded @font-face support
2022-10-03 20:28:16 +08:00
Xiao YiFang
1eceb1d388
opt: mutex reentry lock
2022-09-19 20:31:40 +08:00
Xiao YiFang
5b94146090
opt:mdx class destruction order
2022-09-18 09:00:27 +08:00
Xiao YiFang
c1953f9d47
opt:website customize icon
2022-09-09 13:53:56 +08:00
Xiao YiFang
a8817242bf
custom icon generate
2022-08-10 20:55:43 +08:00
Xiao YiFang
289beca884
opt:replace vector push_back with emplace_back
2022-08-09 20:47:10 +08:00
Xiao YiFang
e7f60a9335
Revert "the last headword in the block has incorrect data length"
...
This reverts commit b617323bfc
.
2022-08-07 11:03:46 +08:00
Xiao YiFang
b617323bfc
the last headword in the block has incorrect data length
2022-06-23 20:15:55 +08:00
Xiao YiFang
01a8995504
the headword length is not correct
...
due to the parse of the headword length , the last headword has incorrect data length ,which has
cross over many headwords.
the string(constData) will ignore the other headwords coming behind the \0 character.
2022-06-22 07:52:19 +08:00
Xiao YiFang
bd02d65ecc
concurrent run will crash application
2022-06-19 20:26:39 +08:00
Xiao YiFang
4edd3b3987
add mutex to scopedmemmap
2022-06-19 13:26:41 +08:00
Xiao YiFang
f65d47602a
concurrent excepton
2022-06-18 20:46:17 +08:00
Xiao YiFang
a5726aead7
replace regularexpress with global static variables
2022-06-18 18:20:58 +08:00
Xiao YiFang
206474364a
feat:mdx lock free when loadArticle
2022-06-14 21:35:21 +08:00
Xiao YiFang
058ba392fd
opt: fullindex need not to care about stylesheet
2022-06-11 21:06:59 +08:00
Xiao YiFang
6c82bf71b6
improve: move temporary to global static
2022-06-11 20:55:15 +08:00
Xiao YiFang
aa93d9f2d9
opt: replace string() with QString::toStdstring
2022-06-06 20:22:55 +08:00
Xiao YiFang
ba10f68c1c
clean code: replace throw() with noexcept
2022-06-03 21:29:06 +08:00
Xiao YiFang
7071bc5aa2
fix : revert original ensureInitDone() logic
2022-05-19 20:42:46 +08:00
Xiao YiFang
dab5885b02
opt: debug log message
...
convert GDPRINTF macro to gdDebug internal
2022-05-15 12:52:44 +08:00
Xiao YiFang
9d10ca5c2f
opt: remove useless code
...
the mdx**runnable class is useless now ,can be removed.
2022-05-08 16:44:59 +08:00
xiaoyifang
fc0b33181c
clean code:remove mdx runnable
2022-04-18 22:23:48 +08:00
xiaoyifang
ad7242deae
fix id replacement should consider the javascript reference also
2022-04-16 20:30:46 +08:00
xiaoyifang
0759259b76
Revert "optimize: for loop optimize"
...
This reverts commit 0e238c26fb
.
2022-04-13 23:29:36 +08:00
xiaoyifang
2e6cf12d78
clean code: clang-tidy warning
...
.arg(A).arg(B) to .arg(A,B)
2022-04-11 19:10:40 +08:00
xiaoyifang
70b2f8f7d5
fix:unclosed tag caused the following dictionaries can not render correctly
...
<div/> was deemed as a start div tag ,same as <div>,which cause the following dictionaries can not rendered correctly
2022-04-10 20:40:09 +08:00
xiaoyifang
30ce781e6a
Revert "improve:handle invalid tag soup improvement, related to old issue #271 "
...
This reverts commit 37d22bc412
.
2022-04-10 20:07:00 +08:00
xiaoyifang
658af8525e
fix:QSemphaore changes
2022-04-10 09:33:55 +08:00
xiaoyifang
506c573c03
optimize:remove QSemphore in mdx dictionary
2022-04-09 15:41:33 +08:00
xiaoyifang
67c74136e8
optimize: tiff method refactor
2022-04-05 21:36:06 +08:00
xiaoyifang
7f805043c7
tiff to webp
2022-04-05 13:09:40 +08:00
xiaoyifang
4970958253
fix:mdx dictionary support tiff image
2022-04-04 23:50:33 +08:00
xiaoyifang
0e238c26fb
optimize: for loop optimize
...
mdx dictionaries take the most part of all dictionaries.
when loop through the filepath ,remove mdx file to reduce further check .
2022-03-24 20:41:32 +08:00
YiFang Xiao
f4ab1ed6a6
optimize: move mdx regex to struct
...
only initiliazed once
2022-03-20 18:49:58 +08:00
xiaoyifang
99077318e3
optimize: move local regex to class property .
2022-03-17 20:07:32 +08:00
xiaoyifang
f133877ca6
remove close tag compensation
2022-03-12 19:41:24 +08:00
xiaoyifang
c0eae69aec
mdx close tag is not necessary.
...
dictionary marker should make sure the dictionary is ok.
If not ,the modern browser is the last protection
2022-03-12 19:20:01 +08:00
xiaoyifang
7b5511a7bd
upgrade to qt6.2
2022-03-11 22:00:45 +08:00
yifang
4a96067e86
fix:large memory consumption when edit dictionaries through right menu context
2022-03-03 23:59:42 +08:00
xiaoyifang
9ecc10ed50
performance: Prefer prefix ++/-- operators for non-primitive types.
...
more detail check https://hownot2code.com/2016/06/30/use-a-prefix-increment-operator-i-in-iterators-instead-of-a-postfix-i-operator/
2022-02-16 21:47:03 +08:00