shenleban tongying
daf2e81ae3
Merge branch 'staged' into fix/dict-fix-for-real
2024-11-12 17:27:31 -05:00
shenleban tongying
f59b04565a
fix: dict.org crashes by incomplete response and str out of bound access
2024-11-12 16:32:32 -05:00
shenleban tongying
453948155a
clean: simplify macOS hotkey mapping code
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
SonarCloud / Build and analyze (push) Waiting to run
2024-11-12 10:19:59 +00:00
shenleban tongying
8fd5b37335
clean: remove unused DEF_EX
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
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
SonarCloud / Build and analyze (push) Waiting to run
2024-11-11 00:18:02 -05:00
shenleban tongying
acbfef0870
opt: don't focus on the main window if word comes from headword dialog
2024-11-11 00:18:02 -05:00
shenleban tongying
d4db51f278
opt: mdx -> avoid duplicated Adler-32 checksum in zlib decompression
2024-11-10 22:32:22 -05:00
shenleban tongying
160402e1d0
Consistently use README and no CRLF
SonarCloud / Build and analyze (push) Waiting to run
2024-11-10 17:39:43 -05:00
shenleban tongying
fb48f66370
move audio files to src/audio
...
a
2024-11-10 17:39:43 -05:00
xiaoyifang
dcc4579544
Merge pull request #1927 from xiaoyifang/opt/group-empty-name
...
SonarCloud / Build and analyze (push) Has been cancelled
opt: Group struct default constructor only invoked with empty string
2024-11-08 20:59:40 +08:00
xiaoyifang
d3ad40f988
Merge pull request #1924 from xiaoyifang/opt/tab-blank
...
opt: dictionary tab switch will show blank widget when source changing.
2024-11-08 20:55:42 +08:00
xiaoyifang
081cba6b23
opt: Group struct default constructor only invoked with empty string
2024-11-08 20:49:55 +08:00
xiaoyifang
59f9b3d04f
opt: dictionary tab switch show blank widget when source changed
2024-11-08 20:48:31 +08:00
shenleban tongying
f6434f4219
fix a mistake of https://github.com/xiaoyifang/goldendict-ng/pull/1912
SonarCloud / Build and analyze (push) Waiting to run
2024-11-08 01:36:29 -05:00
shenleban tongying
f694c3210e
clean: QLocale country -> territory renaming
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
2024-11-07 03:01:45 -05:00
shenleban tongying
02143921f4
opt: disable Qt≤6.7 deprecated features and disable Qt deprecation warnings
2024-11-07 07:48:39 +00:00
shenleban tongying
c864a9a897
clean: remaning deprecated QCryptographicHash::addData
usages
2024-11-07 02:05:54 -05:00
shenleban tongying
618310f772
clean: just use #pragma once
SonarCloud / Build and analyze (push) Waiting to run
2024-11-06 22:53:04 -05:00
shenleban tongying
f8f62efa6e
fix: deploy qt translations for macOS
2024-11-06 20:33:05 -05:00
shenleban tongying
a61bcb1629
fix: properly load qt and webengine translations, delete GD's custom ones
2024-11-06 20:19:53 -05:00
shenleban tongying
70d21d7eca
opt: revise QKeySequenceEdit usages
...
SonarCloud / Build and analyze (push) Waiting to run
* set Maximum length of global shortcuts to 2
* set Default to something that can be set by user
2024-11-06 15:47:03 -05:00
shenleban tongying
8ad7291147
clean: deprecated QKeySequence[]->int
; answer ikm's question from 2009
SonarCloud / Build and analyze (push) Waiting to run
2024-11-06 11:11:48 +00:00
xiaoyifang
8d0859b932
Merge pull request #1906 from xiaoyifang/opt/articleview-loadfinish
...
opt: rearrange some code execution order
2024-11-06 17:49:28 +08:00
shenleban tongying
349fcb6628
clean: fix all globalPosition
deprecations to stop related warnings ( #1911 )
2024-11-06 09:11:07 +00:00
shenleban tongying
7a1df4b6c6
dev: fix changelog generation again
SonarCloud / Build and analyze (push) Waiting to run
2024-11-06 01:25:55 -05:00
xiaoyifang
285a0d8882
fix: remove some tabText() in groupWidget when rename group ( #1897 )
...
* fix: remove some tabText() in groupWidget rename group
* Update src/ui/groups_widgets.cc
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-11-06 14:10:25 +08:00
shenleban tongying
8be7b65f29
Merge pull request #1908 from shenlebantongying/clean/tidy-using-using
...
clean: apply clang-tidy's `modernize-use-using` (replace most `typedef`)
2024-11-06 01:01:58 -05:00
shenleban tongying
fb45d2e036
dev: add last commit to .git-blame-ignore-revs
2024-11-06 00:56:26 -05:00
shenleban tongying
d15081e723
clean: apply clang-tidy's modernize-use-using
(replace most typedef
)
2024-11-06 00:48:35 -05:00
shenleban tongying
673911b1c5
feat: auto dark reader mode that sync with system theme
2024-11-05 23:39:08 -05:00
shenleban tongying
b6fa66df92
refactor: prepare config code to implement auto dark (reader) mode
SonarCloud / Build and analyze (push) Waiting to run
2024-11-06 03:27:19 +00:00
xiaoyifang
2f48993594
opt: rearrange some code execution order
2024-11-06 10:11:21 +08:00
xiaoyifang
9315dda365
Merge pull request #1905 from xiaoyifang/opt/custom-js-defer
...
opt: make custom javascript delay execution
2024-11-06 09:57:43 +08:00
xiaoyifang
1418f9ab9e
opt: make custom javascript delay execution
2024-11-06 09:09:18 +08:00
shenleban tongying
6efdb09b1a
clean: add override
to satisfy clang's Winconsistent-missing-override
SonarCloud / Build and analyze (push) Waiting to run
2024-11-05 17:27:15 -05:00
xiaoyifang
d4cc838652
opt: move special GroupIDs to a seperate enum ( #1900 )
...
SonarCloud / Build and analyze (push) Waiting to run
* opt: move groupid to a seperate namespace
* opt: move groupid to a seperate namespace
* Update src/config.hh
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
---------
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-11-05 13:51:53 +08:00
xiaoyifang
c8b6a6b6c5
Update topic_userstyle.md ( #1899 )
...
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
* Update topic_userstyle.md
* Update topic_userstyle.md
---------
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-11-04 21:11:01 +08:00
xiaoyifang
3f6819b049
Merge pull request #1898 from xiaoyifang/opt/compiler-version
...
SonarCloud / Build and analyze (push) Waiting to run
opt: [win] update Windows compiler name
2024-11-04 17:05:28 +08:00
xiaoyifang
a56cfb8d3a
opt: [win] update Windows compiler name
2024-11-04 16:55:32 +08:00
xiaoyifang
dd22c913e2
New Crowdin updates ( #1884 )
...
* New translations Kabyle from Crowdin
* New translations Kabyle from Crowdin
2024-11-04 13:58:01 +08:00
xiaoyifang
39aef4c4de
opt: extract GDWORD replace logic ( #1889 )
...
SonarCloud / Build and analyze (push) Has been cancelled
* opt: extract GDWORD replace logic
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-02 20:18:11 +08:00
xiaoyifang
5ab89cac8c
Merge pull request #1891 from xiaoyifang/opt/dictionary-website-gdword
...
opt: remove dictionary website extra word placeholders
2024-11-02 20:17:32 +08:00
xiaoyifang
b7406e0f6f
opt: hide website [as link] column ( #1893 )
...
* opt: hide the [As link] column
2024-11-02 20:14:08 +08:00
xiaoyifang
1a25090bba
opt: remove dictionary website extra word placeholders
2024-11-02 14:14:39 +08:00
xiaoyifang
3909b59d9f
opt: refactor code in articleview ( #1888 )
...
SonarCloud / Build and analyze (push) Waiting to run
refactor code
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-01 18:02:06 +08:00
xiaoyifang
6b33178829
opt: extract GroupBackup structure to store the old group info ( #1883 )
...
SonarCloud / Build and analyze (push) Waiting to run
* opt: backup group info
* opt: remove updateNames condtion
* opt: rename variable origCfg to a more friendly name
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-01 10:52:45 +08:00