Commit graph

5781 commits

Author SHA1 Message Date
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
xiaoyifang 9d4bb50f20
Merge pull request #1680 from xiaoyifang/opt/no-tts-onWindows
opt: disable tts ,qtspeech quality is not good enough
2024-07-12 17:43:14 +08:00
Xiao Yi Fang bd194c0fbd opt: disable tts ,qtspeech quality is not good enough 2024-07-12 17:25:52 +08:00
xiaoyifang 1fcc73ea5d
Merge pull request #1678 from xiaoyifang/workflow/tag-check-windows
github: fix the tagname check
2024-07-12 16:23:56 +08:00
Xiao Yi Fang 42909320ac github: fix the tagname check 2024-07-12 16:17:28 +08:00
shenleban tongying b795818540
doc: exactly how to build GD in local machine (#1675) 2024-07-11 18:45:55 +00:00
shenleban tongying 3f6cfb8bc4
opt: reinvent winlibs with vcpkg export (#1669) 2024-07-11 07:05:10 +00:00
shenlebantongying 34bc4cab6b init vcpkg package export workflow 2024-07-11 02:04:16 -04:00
shenleban tongying 5d30a56b51
repair release-windows-vcpkg-cmake.yml 2024-07-10 23:41:16 -04:00
xiaoyifang ddddb705b2
Merge pull request #1671 from xiaoyifang/fix/mdx-title
fix:mdx dictionary make issue compatibility
2024-07-11 00:16:16 +08:00
YiFang Xiao 323395c755 fix:mdx dictionary make issue compatibility 2024-07-10 23:59:34 +08:00
xiaoyifang 029c09633b
Merge pull request #1667 from xiaoyifang/opt/zoomfactor-range
opt: valid zoomfactor range from 0.25 to 5
2024-07-10 18:02:59 +08:00
xiaoyifang dfbdb7cb5f
Merge pull request #1668 from xiaoyifang/opt/remove-xapian-enable-position-option
opt: remove unused option
2024-07-10 18:02:08 +08:00
Xiao Yi Fang 3a0311ad7d opt: remove unused option 2024-07-10 17:27:29 +08:00
Xiao Yi Fang d2f82e9350 opt: valid zoomfactor range from 0.25 to 5 2024-07-10 17:13:12 +08:00
xiaoyifang 0c4483ae02
Revert "opt: remove wasMaximized logic of mainwindow" (#1664)
* Revert "opt: remove wasMaximized logic of mainwindow"

This reverts commit 99c221c854.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-10 16:28:28 +08:00
xiaoyifang 93ca284bad
opt: refactor code (#1657)
* opt: refactor code

* [autofix.ci] apply automated fixes

* opt: refactor code

* opt: refactor code

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-10 13:47:53 +08:00
shenleban tongying c42a79c7d4 opt: retire qmake build 2024-07-09 23:41:36 -04:00
xiaoyifang 8ae6a50f41
Update developer.md 2024-07-10 10:57:39 +08:00
xiaoyifang 490c73df38
Update developer.md 2024-07-10 10:47:05 +08:00
xiaoyifang d0965eb06e
Update developer.md 2024-07-10 10:46:16 +08:00