Commit graph

1252 commits

Author SHA1 Message Date
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 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 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
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
shenleban tongying bd13598cc2
refactor: move internalpayerbackend out of config.cc to src/audio
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-15 20:31:36 -05:00
shenleban tongying c5d682c993
clean: fix some issues found by the code analysis of Visual Studio
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-11-14 12:24:46 +00:00
shenleban tongying 0f71f32ad4
refactor: move most of the Windows specific code out of hotkeywrapper.cc 2024-11-14 11:12:17 +00:00
shenleban tongying 5cc43a3dc8
fix: windows global hotkey Win/Meta and 1-9 doesn't work 2024-11-14 09:06:23 +00:00
shenleban tongying beef6dd138 clean: delete most Qt5 & <=6.3 conditional compiled code (QT_VERSION)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-14 00:07:15 -05:00
shenleban tongying 6865b02547 fix: a DICT crash caused by string out of bound access
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-13 17:18:04 -05:00
shenleban tongying fbec70e41a opt: simplify Folding::apply
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-12 23:47:20 -05:00
shenleban tongying c8af0450f1 clean: remove redundant gd::toWString 2024-11-12 19:32:13 -05:00
shenleban tongying 453948155a
clean: simplify macOS hotkey mapping code
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-12 12:33:28 +00:00
shenleban tongying 8fc71c9586
dev: .mm / obj-c files -> clang-format and simplify includes
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-12 10:19:59 +00:00
shenleban tongying 8fd5b37335 clean: remove unused DEF_EX
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-12 01:29:12 -05:00
shenleban tongying 4758f9e972 refactor: change DEF_EX macro's underlying implementation to template 2024-11-12 00:30:02 -05:00
shenleban tongying 608016208b
disable more staffs related to macOS trayicon -> dock icon
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-11 07:53:10 +00:00
shenleban tongying 1e3b22ebd0 fix: macOS -> replace the tray icon with a dock menu 2024-11-11 02:32:27 -05:00
shenleban tongying 720f66c781 clean: make toggleMainWindow reasonable
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-11 00:18:02 -05:00