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
shenleban tongying
587f48c6b3
update docs
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Waiting to run
2024-10-23 22:49:11 +00:00
xiaoyifang
c846c5d89b
opt: log more info about the stream ( #1858 )
...
SonarCloud / Build and analyze (push) Waiting to run
* opt: log more info about the stream
* opt: log more info about the stream
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-23 21:37:44 +08:00
xiaoyifang
66a45f975e
opt:optimize the openLink method ( #1853 )
...
SonarCloud / Build and analyze (push) Waiting to run
* opt: optimize the resourcedownload logic
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-23 21:29:28 +08:00
xiaoyifang
426950fc10
opt: optimize the audio auto pronounciation logic ( #1846 )
...
* opt: optimize the audio play logic
2024-10-23 20:14:11 +08:00
autofix-ci[bot]
7bcb2372b9
[autofix.ci] apply automated fixes
2024-10-23 11:07:31 +08:00
Xiao Yi Fang
36f181547f
fix: even loadfinised=false, the cursor will also have to be unset
2024-10-23 11:07:31 +08:00
xiaoyifang
245cb10880
opt: when the marked word is CJK / Han, mark it partially ( #1852 )
...
SonarCloud / Build and analyze (push) Waiting to run
* opt: when the marked word is Chinese,mark it partially
* [autofix.ci] apply automated fixes
* Update src/ui/articleview.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-10-23 00:33:44 +00:00
Xiao Yi Fang
389471f5fa
opt: remove unused parameter
2024-10-22 18:06:43 +08:00
xiaoyifang
60adc6ef75
opt: remove audio search logic in the current group ( #1851 )
...
SonarCloud / Build and analyze (push) Waiting to run
* opt: remove audio search logic in the current group
2024-10-22 14:15:17 +08:00
shenleban tongying
0146c72d99
Revert "clean: open and resave all .ui
files to adapt Qt6 Designer's enum c…"
...
SonarCloud / Build and analyze (push) Waiting to run
This reverts commit a5ce8dbcfd
.
2024-10-21 20:14:36 -04:00
shenleban tongying
e6edd34c3a
clean: use vanilla JS instead of jQuery
SonarCloud / Build and analyze (push) Waiting to run
2024-10-21 04:52:49 +00:00
shenleban tongying
a5ce8dbcfd
clean: open and resave all .ui
files to adapt Qt6 Designer's enum changes
SonarCloud / Build and analyze (push) Waiting to run
2024-10-18 03:29:06 +00:00
shenleban tongying
9f13188973
clean: simplify loadDictionaries & Initializing dialog's showInitialy
parameter ( #1833 )
2024-10-17 23:08:20 -04:00
Xiao Yi Fang
72015d1570
opt: restrict anki button size
2024-10-17 11:59:52 +08:00
shenleban tongying
85d5612e2d
fix: Qt6.8 compile, QDebug error ( #1830 )
SonarCloud / Build and analyze (push) Waiting to run
2024-10-16 13:42:44 -04:00
shenleban tongying
40670d8197
feat: decode program dicts as UTF-8 instead of local8bit ( #1821 )
SonarCloud / Build and analyze (push) Has been cancelled
2024-10-12 22:05:38 -04:00
shenleban tongying
ef57526762
fix: wrong lifetime of the connection
between searchInPageAction <> openSearch
SonarCloud / Build and analyze (push) Waiting to run
2024-10-12 13:41:03 +00:00
shenleban tongying
a11c9e3aec
clean: mass apply clang-tidy's readability-braces-around-statements
2024-10-10 03:21:27 -04:00
shenleban tongying
da34da69b6
clean: delete or rewrite weird things in history.cc
( #1815 )
2024-10-10 07:00:13 +00:00
shenleban tongying
95f3abadf5
feat: set the default history and favorite saving interval to 15 minutes
SonarCloud / Build and analyze (push) Waiting to run
2024-10-10 00:31:15 -04:00
shenleban tongying
08d31614ed
delete LangCoder::icon which is wrong in concept
2024-10-10 00:03:14 -04:00
shenleban tongying
3c2e36d040
delete MainWindow::fillWordListFromHistory which is unused
2024-10-10 00:03:14 -04:00
xiaoyifang
d5037ded24
feature: rename the [Enable Scanning] to a more accurate tooltip ( #1810 )
...
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
* feature: rename the [Enable Scanning] to a more accurate tooltip
* change [Scan Popup] to popup
* i18n: [scan popup] to popup in ts files
* update popup related strings
* Update popup doc
* update popup doc 2
* Update ui_popup.md
* -t popup explanation in command line
---------
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-10-10 02:19:33 +00:00
shenleban tongying
c5ce1cae20
feat: macOS, check and request Accessibility permission for Cmd+C
SonarCloud / Build and analyze (push) Waiting to run
2024-10-09 00:57:54 -04:00
shenleban tongying
7f497b0cdf
fix: set scanPopup flags to what's is needed instead of Qt::Popup
SonarCloud / Build and analyze (push) Has been cancelled
2024-10-07 06:25:53 -04:00
shenleban tongying
94ea6c570c
clean: deprecated QCryptographicHash::addData
2024-10-06 17:24:36 -04:00
shenleban tongying
90d55d7392
clean: deprecated QVariant::type
2024-10-06 17:24:36 -04:00
shenleban tongying
997f24d62f
fix: dictd's description display (00databaseinfo)
2024-10-06 17:20:12 -04:00
shenleban tongying
1c2f93e393
clean: port DSL encoding guessing away from QTextCodec ( #1799 )
2024-10-06 15:59:07 -04:00
shenleban tongying
96ada0737c
clean: purge undocumented and useless editDictionaryCommandLine
( #1794 )
SonarCloud / Build and analyze (push) Has been cancelled
2024-09-30 20:02:20 -04:00
shenleban tongying
97bf80451a
fix: init icon size is not normal due to missing null check
2024-09-30 19:04:18 -04:00
Konstantin
4a0124de3b
feature: add Large toolbar icons support ( #1789 )
...
SonarCloud / Build and analyze (push) Waiting to run
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
Co-authored-by: hashirama <noroi_harau@tutanota.com>
2024-09-30 04:36:27 +00:00
shenleban tongying
58f346f23e
fix: mark all Idxheader
packed explicitly
SonarCloud / Build and analyze (push) Has been cancelled
2024-09-25 06:09:01 -04:00
shenleban tongying
2a918d5fdd
refactor: reorganize dictionary processing related code
2024-09-24 21:29:59 -04:00
shenleban tongying
ba97a9ca87
clean: delete wall of text in wstring.hh
2024-09-24 21:24:59 -04:00
Xiao Yi Fang
0bf8a4a3fd
opt: some entries do not need to be translated
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
2024-09-11 20:54:12 -04:00
shenleban tongying
9a73931d69
fix: add Hungarian to Preferences and minor fix ts file
2024-09-09 19:20:22 -04:00
shenleban tongying
5e62b1c567
fix: consider devicePixelRatio when scaling icons ( #1751 )
2024-09-09 20:19:56 +00:00
Konstantin
aaaeb585b6
feature: High-quality dictionary icons in toolbar ( #1750 )
...
* better procedure of image scaling and size choosing
* allow user to set toolbar icon size via qt style sheet
---------
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-09 14:48:33 -04:00
shenleban tongying
91a4e31018
feat: allow changing icon on macOS by not overriding icon in Info.plist
2024-09-06 19:35:07 -04:00
xiaoyifang
c599bbfb73
Merge pull request #1743 from shenlebantongying/feat/program-stdin-utf8
...
SonarCloud / Build and analyze (push) Has been cancelled
deploy_website / deploy (push) Has been cancelled
feat: write word to Program dictionary's stdin in UTF-8 instead of local 8 bit
2024-09-04 08:48:28 +08:00
shenleban tongying
05c1c1f927
feat: write word to Program dictionary's stdin in UTF-8 instead of local 8 bit
2024-09-03 17:09:34 -04:00
shenleban tongying
0a5827fd20
opt: remove parsecmdline.cc
by using QProcess::splitCommand
2024-09-03 12:54:50 -04:00
shenleban tongying
44853544f8
clean: replace QVector & QPair in headers
2024-09-01 20:09:22 -04:00
shenleban tongying
3273f39dd7
clean: replace removed Qt5/QList
and QPair
2024-09-01 19:45:06 -04:00
shenlebantongying
9a2c96ca56
clean: remove unused code of iconv.cc and minor update code style
2024-08-30 04:09:07 -04:00
shenleban tongying
ac43018f68
clean: port away from QTextCodec in slob.cc
2024-08-30 04:09:05 -04:00
shenleban tongying
5cdac6be4d
fix: slob description html display
SonarCloud / Build and analyze (push) Has been cancelled
2024-08-28 22:21:39 -04:00
xiaoyifang
fc3ea0045e
opt: remove fulltext unused logic ( #1733 )
...
* opt: remove fulltext unused logic
the firstIteration is not used any more
2024-08-24 07:45:45 +08:00
shenleban tongying
3ca7c39e69
feat: properly handle Unix signals, like SIGTERM
, for graceful exit ( #1732 )
...
* feat: handle UNIX shutting down SIGNALS
* Convey ksignalhandler from LGPLv2.1+ to GPLv3+ which allowed/required
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-22 08:19:35 +08:00
xiaoyifang
dd48ba7d60
Merge branch 'staged' into opt/double-click-in-welcome-page
2024-08-21 13:43:28 +08:00