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
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
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
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
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
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
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
a56cfb8d3a
opt: [win] update Windows compiler name
2024-11-04 16:55:32 +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
xiaoyifang
8a92cbf34a
fix: duplicate dictionary in config file ( #1886 )
...
* fix: duplicate dictionary in config file
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-01 10:25:29 +08:00
xiaoyifang
89ba441b35
opt: unify the small large icon actions ( #1879 )
...
* opt: unify the small large icon actions
2024-10-28 22:02:18 +08:00
YiFang Xiao
2ca5568b84
fix: [mdx] use file name as dictionary name when title has not been set
2024-10-28 00:04:53 +08:00
xiaoyifang
15207cf400
opt: reply remove unnecessary signal ( #1866 )
...
SonarCloud / Build and analyze (push) Has been cancelled
* opt: remove unnecessary signal
---------
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-10-26 11:35:27 +00:00
alex4814
7229faeec7
fix: default content
directory in portable mode ( #1872 )
...
* fix: default `content` directory in portable mode
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-26 19:29:39 +08:00
xiaoyifang
939e786331
opt: [mdx]js script with defer attribute ( #1869 )
...
* fix: [mdx] dictionary script element with defer
2024-10-26 19:28:16 +08:00
xiaoyifang
132552b0a2
Merge pull request #1863 from xiaoyifang/fix/full-search-match-count
...
SonarCloud / Build and analyze (push) Has been cancelled
deploy_website / deploy (push) Has been cancelled
fix: full text search panel status label
2024-10-24 21:34:20 +08:00
xiaoyifang
01b9814760
opt: rewrite the logic of determine the existence of audio link ( #1860 )
...
* opt: rewrite the logic of determine the existence of audio link
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-24 13:32:21 +00:00
xiaoyifang
e749a6077f
fix: disable anchor default behavior ( #1857 )
...
* fix: prevent anchor link default behavior (in mdx dictionary)
2024-10-24 21:05:59 +08:00
Xiao Yi Fang
cf057eae66
fix: full text search panel status label
2024-10-24 18:04:36 +08:00