Commit graph

5794 commits

Author SHA1 Message Date
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
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 c7d0feb2e8 fix: macOS libzim <-> icu4c again and make mismatch a fatal error
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-15 15:41:44 -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 ccf70cdfb6 doc: various updates
Some checks failed
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
2024-11-13 23:05:40 -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 20fcea33e1
Merge pull request #1946 from shenlebantongying/clean/rm-gd-toWstring
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
clean: remove redundant gd::toWString
2024-11-12 19:57:36 -05:00
shenleban tongying 9db5867ce8 dev: ignore last commit 2024-11-12 19:49:44 -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