Commit graph

5801 commits

Author SHA1 Message Date
shenleban tongying 9de4334204
Merge pull request #1739 from shenlebantongying/clean/qvector-gone
clean: replace removed `Qt5/QList` and `QPair`
2024-09-01 19:58:11 -04:00
shenleban tongying 1a91d6a5e8 dev: add QVector & QPair removal commit to .git-blame-ignore-revs 2024-09-01 19:52:22 -04:00
shenleban tongying 3273f39dd7 clean: replace removed Qt5/QList and QPair 2024-09-01 19:45:06 -04:00
xiaoyifang 5549d36a2d
Merge pull request #1734 from shenlebantongying/clean/qtextcodec
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
clean: port away from `QTextCodec` in `slob.cc` and clean up iconv
2024-08-31 11:09:01 +08:00
shenlebantongying 9a2c96ca56
clean: remove unused code of iconv.cc and minor update code style 2024-08-30 04:09:07 -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
shenlebantongying b68ea3f916 dev: update .clang-tidy
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-08-28 02:26:34 -04:00
shenlebantongying a7593fca1d dev: ensure line ending is always LF 2024-08-28 01:00:48 -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
shenleban tongying 3ca7c39e69
feat: properly handle Unix signals, like SIGTERM, for graceful exit (#1732)
* feat: handle UNIX shutting down SIGNALS

* Convey ksignalhandler from LGPLv2.1+ to GPLv3+ which allowed/required

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-22 08:19:35 +08:00
xiaoyifang da1c67c35d
Merge pull request #1729 from xiaoyifang/opt/double-click-in-welcome-page
opt: double click in welcome page
2024-08-21 13:49:18 +08:00
xiaoyifang dd48ba7d60
Merge branch 'staged' into opt/double-click-in-welcome-page 2024-08-21 13:43:28 +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
Xiao Yi Fang 51701ce4aa opt: double click in welcome page 2024-08-20 10:48:31 +08:00
xiaoyifang 555811e3f3
Merge pull request #1727 from xiaoyifang/opt/full-dialog
opt: default and plaintext are the same ,remove one
2024-08-14 11:56:30 +08:00
xiaoyifang b3a1cb45f7
Merge pull request #1725 from xiaoyifang/opt/article-history
opt: webview history navigation
2024-08-13 18:04:05 +08:00
Xiao Yi Fang 5147c8c036 opt: default and plaintext are the same ,remove one 2024-08-13 16:43:10 +08:00
Xiao Yi Fang dc4647069d opt: webview history navigation 2024-08-12 16:53:47 +08:00
xiaoyifang 67a388455c
Merge pull request #1724 from xiaoyifang/opt/while-once
fix: code smell ,remove while(1)
2024-08-12 08:46:26 +08:00
Xiao Yi Fang 9842761c1c fix: code smell ,remove while(1) 2024-08-10 17:02:38 +08:00
xiaoyifang 752b880f24
fix: double release memory (#1722)
* fix: double release memory
2024-08-10 06:59:50 +00:00
xiaoyifang 2dcf2a3bad
Merge pull request #1723 from xiaoyifang/fix/file-close
fix: close file when return error
2024-08-10 14:52:49 +08:00
Xiao Yi Fang 6b4936ade4 fix: close file when return error 2024-08-10 13:41:23 +08:00
xiaoyifang 65ae8f5030
opt: smells (#1721)
* opt: remove code smell

for loop should avoid change the iterators

* opt: remove code smell

for loop should avoid change the iterators
2024-08-10 10:46:44 +08:00
xiaoyifang 388924033a
doc: add document about move index folder (#1719)
* doc: add document about move index folder

* doc: add document about move index folder
2024-08-09 14:33:00 +08:00
xiaoyifang 3279fe8b07
opt: fulltext next navigation optimization (#1718)
* opt: fulltext dialog navigation optimization.

The fulltext dialog navigation (next,previous) use webview's findText,try to find the longest word for navigation
2024-08-09 11:47:46 +08:00
xiaoyifang b0bea92106
opt: remove outdated fulltext temp index (#1717)
* opt: remove outdated fulltext temp index

* opt: remove outdated fulltext temp index
2024-08-09 09:37:57 +08:00
Xiao Yi Fang ec63fa550d fix: popup dialog , switch groups should use articleview's word 2024-08-08 17:47:40 +08:00
xiaoyifang f2386193f0
Merge pull request #1713 from xiaoyifang/opt/mark.js
opt:mark.js only highlight exact words
2024-08-06 14:10:58 +08:00
Xiao Yi Fang b8f49ec3dc opt:mark.js only highlight exact words 2024-08-06 10:34:02 +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
xiaoyifang cd58059695
fix:QCheckBox signal (#1705)
* fix:QCheckBox signal

* fix:QCheckBox signal
2024-07-23 17:57:57 +08:00
xiaoyifang 3299596746
Merge pull request #1699 from xiaoyifang/fix/stardict-crash
fix: stardict crash
2024-07-19 17:40:43 +08:00
Xiao Yi Fang 9858455035 fix: stardict crash with access_read_violation 2024-07-19 15:09:47 +08:00
xiaoyifang 06d4b62b67
opt: findtext casesensitivity (#1698)
* opt: reset the selection results

* opt: remove the existed highlight when no match

* [autofix.ci] apply automated fixes

* opt: remove the existed highlight when no match

* opt: remove the existed highlight when no match

* opt: code minor optimization

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-18 13:33:49 +08:00
xiaoyifang 5164ffba67
Merge pull request #1697 from xiaoyifang/opt/qset-optimization
opt: before invoke,the parameters have already called reserved()
2024-07-17 15:40:13 +08:00
Xiao Yi Fang d998563709 opt: before invoke,the parameters have already called reserved() 2024-07-17 14:43:37 +08:00
xiaoyifang 5fb4526158
opt: treat invisible character as whitespace (#1696)
* opt: remove invisible character

* opt: remove invisible character

* opt: whitespace and punct character

* [autofix.ci] apply automated fixes

* opt: whitespace and punct character

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-17 10:44:50 +08:00
xiaoyifang 521c359b24
opt: do not need to reload webview when initialize dictionaries (#1690)
* opt: do not need to reload webview when initialize dictionaries

During this phase ,the webview has not existed yet
2024-07-17 00:38:27 +00: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
Konstantin fac8dfb28b
Add Goldendict Tools (#1692)
* Create topic_gd-tools.md

* Update mkdocs.yml

* Update mkdocs.yml

* Update topic_gd-tools.md

* Update website/docs/topic_gd-tools.md

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
Co-authored-by: xiaoyifang <105986+xiaoyifang@users.noreply.github.com>
2024-07-16 03:35:45 +00:00
xiaoyifang 9c6e22875f
Merge pull request #1693 from xiaoyifang/opt/windows-release-title
github: windows release title
2024-07-16 10:32:35 +08:00
Xiao Yi Fang 5d934accb1 github: windows release title 2024-07-16 10:02:33 +08:00
xiaoyifang 154968197e
Merge pull request #1691 from xiaoyifang/opt/svg-warning
opt: change the svg to png to suppress qt.svg warning
2024-07-15 16:51:34 +08:00
Xiao Yi Fang 7e9e264f22 opt: use inkscape remove all the unused objects in lsasound.svg 2024-07-15 15:55:31 +08:00
Xiao Yi Fang 7de7a14d66 opt: change the svg to png to suppress qt.svg warning 2024-07-15 15:55:31 +08:00
shenleban tongying 2ce8f72da1 fix: .ui files not showing in qt creator 2024-07-14 21:32:01 -04:00
shenleban tongying 262c3c14a6 use vcpkg cache on windows release built too
close https://github.com/xiaoyifang/goldendict-ng/issues/1681
2024-07-12 15:18:05 -04:00