Commit graph

218 commits

Author SHA1 Message Date
xiaoyifang 01b9814760
opt: rewrite the logic of determine the existence of audio link (#1860)
* opt: rewrite the logic of determine the existence of audio link



---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-24 13:32:21 +00:00
xiaoyifang e749a6077f
fix: disable anchor default behavior (#1857)
* fix: prevent anchor link default behavior (in mdx dictionary)
2024-10-24 21:05:59 +08:00
xiaoyifang 66a45f975e
opt:optimize the openLink method (#1853)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: optimize the resourcedownload logic


---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-23 21:29:28 +08:00
Xiao Yi Fang 389471f5fa opt: remove unused parameter 2024-10-22 18:06:43 +08:00
xiaoyifang 60adc6ef75
opt: remove audio search logic in the current group (#1851)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: remove audio search logic in the current group
2024-10-22 14:15:17 +08:00
shenleban tongying 9f13188973
clean: simplify loadDictionaries & Initializing dialog's showInitialy parameter (#1833) 2024-10-17 23:08:20 -04:00
shenleban tongying 40670d8197
feat: decode program dicts as UTF-8 instead of local8bit (#1821)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-10-12 22:05:38 -04:00
shenleban tongying a11c9e3aec clean: mass apply clang-tidy's readability-braces-around-statements 2024-10-10 03:21:27 -04:00
shenleban tongying 94ea6c570c clean: deprecated QCryptographicHash::addData 2024-10-06 17:24:36 -04:00
shenleban tongying 997f24d62f fix: dictd's description display (00databaseinfo) 2024-10-06 17:20:12 -04:00
shenleban tongying 1c2f93e393
clean: port DSL encoding guessing away from QTextCodec (#1799) 2024-10-06 15:59:07 -04:00
shenleban tongying 58f346f23e
fix: mark all Idxheader packed explicitly
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-09-25 06:09:01 -04:00
shenleban tongying 2a918d5fdd
refactor: reorganize dictionary processing related code 2024-09-24 21:29:59 -04:00
shenleban tongying 5e62b1c567
fix: consider devicePixelRatio when scaling icons (#1751) 2024-09-09 20:19:56 +00:00
Konstantin aaaeb585b6
feature: High-quality dictionary icons in toolbar (#1750)
* better procedure of image scaling and size choosing
* allow user to set toolbar icon size via qt style sheet

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-09 14:48:33 -04:00
xiaoyifang c599bbfb73
Merge pull request #1743 from shenlebantongying/feat/program-stdin-utf8
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
deploy_website / deploy (push) Has been cancelled
feat: write word to Program dictionary's stdin in UTF-8 instead of local 8 bit
2024-09-04 08:48:28 +08:00
shenleban tongying 05c1c1f927 feat: write word to Program dictionary's stdin in UTF-8 instead of local 8 bit 2024-09-03 17:09:34 -04:00
shenleban tongying 0a5827fd20 opt: remove parsecmdline.cc by using QProcess::splitCommand 2024-09-03 12:54:50 -04:00
shenleban tongying 44853544f8 clean: replace QVector & QPair in headers 2024-09-01 20:09:22 -04:00
shenleban tongying 3273f39dd7 clean: replace removed Qt5/QList and QPair 2024-09-01 19:45:06 -04:00
shenleban tongying ac43018f68
clean: port away from QTextCodec in slob.cc 2024-08-30 04:09:05 -04:00
shenleban tongying 5cdac6be4d fix: slob description html display
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-08-28 22:21:39 -04:00
xiaoyifang fc3ea0045e
opt: remove fulltext unused logic (#1733)
* opt: remove fulltext unused logic

the firstIteration is not used any more
2024-08-24 07:45:45 +08:00
xiaoyifang 9332763f67
fix: prioritize the manual set full text index option per dictionary (#1730)
* fix: prioritize the manual set full text index option per dictionary
2024-08-21 13:42:56 +08:00
xiaoyifang e2617f3b9c
fix: stardict qstring modification (#1708)
* fix:stardict crash
2024-07-25 16:45:34 +08:00
xiaoyifang 3ef35daec3
opt: use static regex (#1706)
* opt: use static regex

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-24 16:54:34 +08:00
Xiao Yi Fang 9858455035 fix: stardict crash with access_read_violation 2024-07-19 15:09:47 +08:00
xiaoyifang 99ce0a7bbb
fix: SplitFile thread-safe guard (#1688)
* fix: SplitFile thread-safe guard
* add friendly log message

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-16 08:00:17 +00:00
Xiao Yi Fang 7de7a14d66 opt: change the svg to png to suppress qt.svg warning 2024-07-15 15:55:31 +08:00
YiFang Xiao 323395c755 fix:mdx dictionary make issue compatibility 2024-07-10 23:59:34 +08:00
Xiao Yi Fang ca4d59b306 fix: mdx title should be respected 2024-07-04 16:27:42 +08:00
xiaoyifang 08a952205c
opt: remove address sort function as fts indexing does not need this anymore (#1620) 2024-06-27 18:00:31 +08:00
Xiao Yi Fang 6d863d9770 opt: stardict replace QRegExp with QRegularExpression 2024-06-23 12:47:41 +08:00
autofix-ci[bot] fd94f31209 [autofix.ci] apply automated fixes 2024-06-23 12:47:41 +08:00
Xiao Yi Fang a3d7c89563 opt: hunspell replace QRegExp with QRegularExpression 2024-06-23 12:47:41 +08:00
Xiao Yi Fang ff6424a291 opt: xdxf replace QRegExp with QRegularExpression 2024-06-23 12:47:41 +08:00
Xiao Yi Fang f87156d265 opt: stardict replace QRegExp with QRegularExpression 2024-06-23 12:47:41 +08:00
Xiao Yi Fang 0bd6a6083c opt: remove unused qregexp 2024-06-23 12:47:41 +08:00
autofix-ci[bot] 0f39f076cc
[autofix.ci] apply automated fixes 2024-06-22 09:08:08 +00:00
fixes 280f8a4f52
Update xdxf.cc 2024-06-22 12:27:02 +04:00
xiaoyifang 21aeb27c15
fix: [mdx]object data html (#1602)
* fix: mdx object data subsitition

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-21 21:05:13 +08:00
shenleban tongying 5c9f67b09c
opt: port away QRegExp in langcoder.cc 2024-06-19 02:10:17 -04:00
shenleban tongying 3a0880fa81 clean: rename LangCoder::findIdsForFilename/findIdsForName/exists 2024-06-18 21:19:18 -04:00
xiaoyifang 47b397276e
Merge pull request #1587 from xiaoyifang/opt/remove-regex-invertedgreedy
opt: remove all the inverted greedy option
2024-06-15 17:55:44 +08:00
xiaoyifang 1195d7e307
Merge pull request #1588 from xiaoyifang/fix/css-global-var
opt: css isolation
2024-06-15 17:55:26 +08:00
autofix-ci[bot] f68f9eb691
[autofix.ci] apply automated fixes 2024-06-15 09:23:13 +00:00
Xiao Yi Fang 5d56515cf6 opt: css isolation 2024-06-15 17:21:44 +08:00
autofix-ci[bot] f15a3ad6a7
[autofix.ci] apply automated fixes 2024-06-15 06:05:23 +00:00
Xiao Yi Fang 422bf9fb74 opt: remove all the inverted greedy option 2024-06-15 14:03:45 +08:00
Xiao Yi Fang 6f6391e5b8 fix: stardict regex invertedgreedy match 2024-06-15 13:45:20 +08:00