Commit graph

5809 commits

Author SHA1 Message Date
xiaoyifang 3cc379e2d5
opt: replace the stardict icon (#2023)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-12-17 14:31:30 +08:00
xiaoyifang e86e99e72c
opt: combine the file filters as one entry (#2022)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: combine the file filters as one entry

* Update src/ui/mainwindow.cc

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-12-16 09:59:19 +00:00
shenleban tongying 13a50dbb6c
fix: regression in finding {id}-{id} lang pair from dict name
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
deploy_website / deploy (push) Has been cancelled
2024-12-13 04:20:39 +00:00
xiaoyifang 6cd878fdcb
opt: reorder the action (#2018)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-12-13 02:44:54 +00:00
xiaoyifang a5337770da
fix: cjk expand character can not be searched (#2016)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* fix: cjk expand character can not be searched

* Update src/common/folding.cc

* Update src/common/globalregex.hh
2024-12-12 15:09:44 +08:00
xiaoyifang a45a3092b0
opt: beautify the layout of dictserver output (#2012)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
* opt: beautify the layout of dictserver output


---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-09 01:57:21 +00:00
shenleban tongying f9d44f97c5
dev: force install deps in macOS workflows
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-12-08 15:19:52 +00:00
xiaoyifang 853700afab
Merge pull request #2009 from xiaoyifang/fix/defer+gdonready
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
revert: defer+gdonready
2024-12-04 13:41:20 +08:00
YiFang Xiao 612dc8db0f Revert "opt: [mdx]js script with defer attribute (#1869)"
This reverts commit 939e786331.
2024-12-04 12:04:21 +08:00
YiFang Xiao 5982b1d337 Revert "fix: <script> without src is not delayed like <script src="..." defer>"
This reverts commit 00dbc74bb7.
2024-12-04 12:03:06 +08:00
xiaoyifang ec364f0638
Merge pull request #2005 from xiaoyifang/opt/ui-interaction
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
opt: remove the tooltip ,too simple to display
2024-12-02 15:05:42 +08:00
xiaoyifang f3be5bed4a
opt: disable collapse area when print (#2004)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: disable collapse area when print

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-02 11:56:12 +08:00
YiFang Xiao 7577db8959 opt: remove the tooltip ,too simple to display 2024-11-29 18:55:02 +08:00
shenleban tongying a16e560c8f
opt: replace some inefficient uses of QUrlQuery
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-11-28 15:50:35 -05:00
shenleban tongying 00dbc74bb7
fix: <script> without src is not delayed like <script src="..." defer>
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-11-27 07:33:15 -05:00
shenleban tongying ad19263423 fix Hunspell regression related to encoding
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-26 11:28:55 -05:00
shenleban tongying a1b3d76f9c
refactor: remove DataCommitter interface from QHotkeyApplication
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-26 07:41:46 +00:00
shenleban tongying f5265857f0
clean: limit QHotkeyApplication::(un)registerWrapper to Windows only
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-26 05:51:08 +00:00
shenleban tongying 7eb06480e4
refactor: default to Qt Multimedia and delete default player shenanigans
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-25 19:54:31 -05:00
shenleban tongying f3d3530743
fix: replace default string of external audio player from mplayer to vlc 2024-11-26 00:44:08 +00:00
shenleban tongying 76b81e29a2
refactor: consistently rename all Edit->Dictionaries -> ui files 2024-11-25 22:39:02 +00:00
shenleban tongying 81e5103db4 clean: delete a non-existential "welcome tab" widget
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-11-24 06:13:32 -05:00
shenleban tongying dda91a30dd
refactor: merge some encoding and encoding names related code
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-24 06:29:09 +00:00
shenleban tongying 52a9427b8b clean: delete Hunspell::encodeToHunspell which is a synonym of utf32->utf8 2024-11-24 00:30:25 -05:00
shenleban tongying 0c42c300e1
Merge pull request #1987 from shenlebantongying/refactor/gd-text
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
refactor: use standard string types and merge wstring(-qt)/utf8/ namespaces to Text
2024-11-23 08:26:21 -05:00
shenleban tongying 1471bc3926 ignore last commit 2024-11-23 08:19:03 -05:00
shenleban tongying f1e158578f refactor: use standard string types and merge string namespaces to Text 2024-11-23 08:15:43 -05:00
shenleban tongying abeacef13d
clean: delete unused and empty builtin qt-style.css for macOS/Linux
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-23 08:41:00 +00:00
atauzki 1fb1c5c9de
feat: auto dark reader mode for Windows
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-22 22:47:19 -05:00
shenleban tongying 5406b3022a
dev: generally improve cmake build script
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-22 16:50:55 -05:00
shenleban tongying f446ad358f clean: delete Dictionary::getProperties which is unused since 2009 2024-11-22 14:51:36 -05:00
shenleban tongying 3c5b76f77a
fix startdict index file reading caused by wrong order of reading
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
partially revert  https://github.com/xiaoyifang/goldendict-ng/pull/1972
2024-11-22 04:53:10 +00:00
shenleban tongying 5b70a7e081
refactor: move X11 global hotkey out of hotkeywrapper.cc
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-21 13:03:27 -05:00
shenleban tongying 9a544c5715
Merge pull request #1977 from shenlebantongying/clean/rm-gddddbug
clean: delete `gddebug`
2024-11-21 12:28:44 -05:00
shenleban tongying 2aa97ee557
ignore last commit 2024-11-21 12:18:30 -05:00
shenleban tongying 76aaed116b
clean: delete gddebug 2024-11-21 12:17:03 -05:00
shenleban tongying 0680edd1e9
clean: delete unused QSemaphore and do a header cleanup
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-21 13:06:17 +00:00
shenleban tongying d3700f2926
refactor: move transliteration code to src/dict/transliteration
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-21 07:21:57 +00:00
shenleban tongying f2ce85cda2
clean: remove duplicated getName overrides
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-20 07:50:43 -05:00
atauzki 9c46e5c317
fix: wrong use of QBtyeArrayView::compare (#1971)
* fix wrong use of `QBtyeArrayView::compare`

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-20 20:02:36 +08:00
shenleban tongying 5b9a1611ff
clean: delete stub_msvc.h 2024-11-20 05:27:01 -05:00
shenleban tongying 112874b0e3
clean: unify a common idx file read pattern uint32_t size + data
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-20 03:22:08 -05:00
shenleban tongying fa9ad2fdf7
clean: delete useless fopen style mode char* API from File::Index
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-20 03:56:23 +00:00
shenleban tongying 8f42e2e073
refactor: port StarDict -> Ifo away from File::Index 2024-11-19 22:39:36 -05:00
shenleban tongying c892083b00
fix: stardict format's description HTML display (.ifo file) 2024-11-20 02:30:17 +00:00
atauzki 2d6e2a85ee
feat: Windows, use Fusion only when dark mode applied
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-19 12:41:13 +00:00
shenleban tongying 1fa0771716
fix: local audio files without extension are not added to dictAudioMap
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-19 02:35:15 +00:00
shenleban tongying bb87c55b1a
fix: manually deploy icu4c dylibs for macOS
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-18 09:43:19 +00:00
shenleban tongying 652da8e1ec
action: update brew before running macOS workflows
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-18 03:07:37 +00:00
xiaoyifang 808d857602
fix: [dictserver] some word does not got displayed (#1958)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* fix: [dictserver] some word does not got displayed


---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-17 01:19:07 +00:00