shenleban tongying
483381414f
clean: remove macOS unused code related to gestures ( #1421 )
...
* clean: remove macOS unused code related to gestures
We prefer native gestures and disabled gesture.cc long time ago, those are unused
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-20 11:11:35 +08:00
shenleban tongying
b9e14f806c
fix: CMake problems found by the openBSD package ( #1422 )
...
* fix: CMake problems found by openBSD package
* remove unused WITH_XAPIAN option
* don't link Qt TTS if not requested
* fix: address CMake problems found by openBSD package
* remove unused WITH_XAPIAN option
* don't link Qt TTS if not requested
* Disable some code when TTS is not requested
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-20 11:08:17 +08:00
shenleban tongying
dd95690940
clean: simplify tabbar double click detect via qt's built-in methods ( #1419 )
...
* clean: simplify tabbar double click detect via qt's built-in methods
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-18 17:45:06 +08:00
shenleban tongying
32391bda43
fix: reduce darkreader mode white flash further by using QWebEnginePage::setBackgroundColor() (for Qt6.6.3+) ( #1406 )
...
* fix: reduce darkreader mode white flash further by using
QWebEnginePage::setBackgroundColor() (for Qt6.6.3+)
In previous Qt6.x versions, this function only set background once and
become invalidated if reload a page.
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-27 18:07:00 +08:00
xiaoyifang
69191e4387
Merge pull request #1386 from xiaoyifang/fix/addon-style
...
fix: possible crash on macos
2024-01-27 10:34:28 +08:00
YiFang Xiao
54808cd03f
fix: ctrl+v in Welcome page will result a wrong search
2024-01-26 16:52:27 +08:00
YiFang Xiao
0596ed5e45
opt: remove debug info
2024-01-26 15:50:01 +08:00
YiFang Xiao
e312545204
fix: possible crash on macos
2024-01-24 22:55:34 +08:00
xiaoyifang
c15cbbf607
opt: support UP/Down arrow key in headword UI ( #1358 )
...
* opt:refactor the code
* opt: headwords dialog response to the Up/Down Key
* opt: when the headword come from headword dialog ,not focus
* [autofix.ci] apply automated fixes
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-01-22 17:04:30 +08:00
YiFang Xiao
97e495613b
fix: auto audio pronunciation does not work properly
2024-01-21 13:48:07 +08:00
xiaoyifang
a06a372314
Merge pull request #1371 from xiaoyifang/fix/group-crash
...
fix: groups widget crash on macos occasionly
2024-01-21 12:53:24 +08:00
YiFang Xiao
3e87990ec5
fix: groups widget crash on macos occasionly
2024-01-21 12:42:34 +08:00
YiFang Xiao
85ac0b0e60
opt: refactor the code
2024-01-20 11:19:35 +08:00
YiFang Xiao
11af19de3b
fix: critial error throw.
2024-01-10 09:57:31 +08:00
xiaoyifang
804aa29788
Merge pull request #1356 from xiaoyifang/fix/middle-button
...
fix: middle button does not work
2024-01-04 20:39:56 +08:00
YiFang Xiao
c2a6b9b7d9
fix: validate the dictionary when push it into the variable
2024-01-04 20:23:05 +08:00
YiFang Xiao
7420944b9d
fix: middle button does not work
2024-01-04 20:17:51 +08:00
xiaoyifang
fc62d115f3
Merge pull request #1311 from xiaoyifang/opt/highlight-term
...
opt: mark exact word
2023-12-06 15:23:30 +08:00
YiFang Xiao
923a46217b
opt: mark exact word
2023-12-06 14:29:59 +08:00
YiFang Xiao
d15cafed49
fix: image temp path
2023-12-06 11:16:35 +08:00
xiaoyifang
9c5e25971b
opt: support to open image in system viewer ( #1309 )
...
* opt: open image in external
fix have to wait the resource downloaded
* [autofix.ci] apply automated fixes
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-06 09:44:17 +08:00
xiaoyifang
64f69d2235
opt: open image in external tool ( #1308 )
...
* opt: open image in external tool
* [autofix.ci] apply automated fixes
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-05 14:59:45 +08:00
YiFang Xiao
f03d8b5ea1
opt: do not set the default text
2023-11-29 17:14:51 +08:00
YiFang Xiao
439b780db5
opt: use a new way to handle the highlight matched terms in the fulltext search view page.
2023-11-25 17:13:33 +08:00
xiaoyifang
8c87b934d4
opt: refactor the escape(unescap)Amps ( #1300 )
...
* opt: refactor the escape(unescap)Amps
* [autofix.ci] apply automated fixes
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-24 18:18:14 +08:00
xiaoyifang
1e0823147a
opt: enable xapian position on default ( #1299 )
...
* opt: enable xapian position on default
* [autofix.ci] apply automated fixes
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-24 11:03:21 +08:00
xiaoyifang
fb85f68b21
fix: js undefined error ( #1298 )
...
* fix: js undefined error
* [autofix.ci] apply automated fixes
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-23 22:00:19 +08:00
shenleban tongying
30572321f7
fix: force wayland should work for BSD, also remove a unnecessary env check for macOS
2023-11-18 12:46:43 -05:00
xiaoyifang
78bd94f965
fix: mouse xbutton1(&2) back and forward event ( #1258 )
...
* fix: mouse xbutton1(&2) back and forward event
* [autofix.ci] apply automated fixes
* fix: mouse xbutton1&2 back and forward triggered twice.
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-27 07:51:34 +08:00
shenleban tongying
b2b865a2cb
feat: add GOLDENDICT_FORCE_WAYLAND to force wayland
2023-10-23 01:45:08 -04:00
xiaoyifang
22f35dd7ee
opt: remove dictionary debug mode ( #1249 )
...
* opt: remove dictionary debug mode
* opt: remove dictionary debug mode
2023-10-19 07:37:42 +08:00
xiaoyifang
0fbcdda72f
opt: use italic to indicate the no results ( #1232 )
...
* opt: use italic to indicate the no results
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-15 22:36:39 +08:00
xiaoyifang
0be3afa90a
opt: history addItem logic optimization ( #1224 )
...
* opt: history addItem logic optimization
* opt: move history logic after url load
* opt: move history logic after url load
* opt: remove Item from history
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
2023-10-10 22:57:26 +08:00
YiFang Xiao
f274e658ed
fix: remove unused method
2023-10-10 21:37:11 +08:00
YiFang Xiao
b4cbf24570
fix: scanpopup flash content
...
[autofix.ci] apply automated fixes
2023-10-10 21:29:11 +08:00
xiaoyifang
b1781b63d6
opt: remove gdpicture & maxPictureWidth which has not been used at all. ( #1220 )
...
* opt: remove gdpicture protocol which has lost effect for a long time
* opt: remove maxPictureWidth which has no place to configure this variable value
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-09 19:58:16 +08:00
xiaoyifang
64529805ff
fix: dsl max width image ( #1217 )
...
* fix: dsl max width image
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-09 14:06:38 +08:00
YiFang Xiao
810c4b32a2
fix: save article , process qrc protocol link
2023-10-08 16:14:51 +08:00
xiaoyifang
8798f04312
Merge pull request #1210 from xiaoyifang/opt/code-smell
...
refactor: use static class method instead of instance method
2023-10-07 21:51:26 +08:00
xiaoyifang
47293ada62
Merge pull request #1209 from xiaoyifang/fix/fontsize
...
fix: word zoom does not work in completer
2023-10-07 21:51:06 +08:00
YiFang Xiao
b754a24c6c
refactor: reduce nested loop depth
2023-10-07 21:36:40 +08:00
YiFang Xiao
da9d90efec
fix: word zoom does not work in completer
2023-10-07 21:13:12 +08:00
YiFang Xiao
f2094bad6c
fix: typo
2023-10-07 20:53:14 +08:00
xiaoyifang
aebf85ef4a
opt: refactor the code to show untitle & welcome page ( #1203 )
...
* opt: refactor the code to show untitle & welcome page
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-07 20:49:38 +08:00
YiFang Xiao
26b04fc9b2
i18n: fix typo in Lingua Libre Dialog
...
fix #1190
2023-10-03 08:02:24 +08:00
xiaoyifang
471f20f140
Merge pull request #1183 from xiaoyifang/fix/popup-min-height
...
fix: suggestion list set a minimum height
2023-09-30 11:53:08 +08:00
xiaoyifang
ef6e878a31
opt: add translation windows when invoked from console ( #1173 )
...
* opt: add an extra console argument to specify the translation windows
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-30 11:40:40 +08:00
YiFang Xiao
3af334a093
fix: suggestion list set a minimum height
2023-09-30 11:23:29 +08:00
YiFang Xiao
fa79148d4d
opt: change font family
2023-09-28 14:12:42 +08:00
xiaoyifang
19e848ec50
fix: enter event in translate textline ( #1158 )
...
* fix: enter event in translate textline
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-21 07:44:58 +08:00
xiaoyifang
dcc4b19b56
fix: popup enter does not work ( #1149 )
...
* fix: popup enter does not work
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-17 11:13:08 +08:00
YiFang Xiao
424642cb3d
fix: suggestion list scroll to the top
2023-09-14 08:06:42 +08:00
xiaoyifang
6f06f083da
opt: make translateline in toolbar the same height as toolbar ( #1140 )
...
* opt: make translateline in toolbar the same height as toolbar
* Update src/ui/mainwindow.cc
* Update src/ui/mainwindow.cc
2023-09-13 15:44:57 +08:00
YiFang Xiao
05fa73128b
fix: press enter event handled in translateline
2023-09-10 22:07:09 +08:00
xiaoyifang
8dd9119aec
fix: translatebox press Enter does not translate the selected item ( #1134 )
...
* fix: translatebox press Enter does not translate the selected item
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-10 17:52:18 +08:00
xiaoyifang
bff9d83efa
opt: add system font configuration ( #1125 )
...
* opt: add system font configuration
* [autofix.ci] apply automated fixes
* opt: add option to change the interface font
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-07 09:53:51 +08:00
xiaoyifang
5c9beab96c
fix: search in the current page does not clear found dictionary panel ( #1123 )
...
* fix: search in the current page does not clear found dictionary panel
* [autofix.ci] apply automated fixes
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-05 00:06:03 +08:00
xiaoyifang
30ceebff2d
Merge pull request #1117 from xiaoyifang/fix/preference-layout
...
opt: preference layout rearrangement
2023-09-02 22:42:13 +08:00
YiFang Xiao
7ff0790411
opt: preference layout rearrangement
2023-09-02 22:38:47 +08:00
YiFang Xiao
cb39049cb7
fix: the headwords got mixed together
2023-09-02 21:07:20 +08:00
YiFang Xiao
1285cbf68f
fix: code smells
2023-09-02 11:45:47 +08:00
YiFang Xiao
74a21e7e26
fix: epwing dictionary reference navigation restrict to certain dictionary
2023-09-02 11:33:53 +08:00
YiFang Xiao
ca1554540d
i18n: update translation template
2023-08-26 21:34:09 +08:00
xiaoyifang
6ba8b0c16b
feat: add an option to make debug dictionary easier ( #1086 )
...
* feat: add an option to make debug dictionary easier
* fix: code smells
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-26 13:19:21 +08:00
YiFang Xiao
0683afa2b0
opt: add Ctrl+Shift+S to stop the current playing sound
...
[autofix.ci] apply automated fixes
2023-08-25 08:44:21 +08:00
xiaoyifang
70914ed976
Merge pull request #1076 from MicrochipQ/fix_scanpopup_translatelinetext
...
fix: update globalbroadcaster translatelinetext also in scanpopup
2023-08-21 21:05:25 +08:00
xiaoyifang
3359f6636a
opt: rewrite solo mode in the dictionary bar ( #1073 )
...
* action: output new syntax
* opt: dictionary bar modification,Ctrl for solo selection, Shift restore
* opt: only the first Ctrl + Click event store the existed dictionaries
* [autofix.ci] apply automated fixes
* opt: ctrl switch between single and all dictionaries
* doc: add shortcut document about solo mode
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-21 21:04:04 +08:00
MicrochipQ
f8e47370f7
fix: update globalbroadcaster translatelinetext also in scanpopup
2023-08-20 01:30:41 +03:00
YiFang Xiao
3f457334b0
i18n: update translation items
2023-08-19 12:05:49 +08:00
xiaoyifang
77348c7f46
opt: remove invalid index on exit ( #1071 )
...
* opt: remove invalid index on exit
* [autofix.ci] apply automated fixes
* fix: code smells
* opt: remove invalid dictionary index
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-17 23:17:53 +08:00
YiFang Xiao
c21e57664c
fix: handle qcompleter signal
2023-08-12 13:49:27 +08:00
autofix-ci[bot]
c56f258a8f
[autofix.ci] apply automated fixes
2023-08-12 04:41:08 +00:00
YiFang Xiao
06fc833146
fix: qcompleter lost signal when qlineedit lost focus
...
fix #1062
2023-08-12 12:39:23 +08:00
YiFang Xiao
2c3f22630b
Revert "fix: no need to installEventFilter( this) to itself"
...
This reverts commit 7806a86e22
.
2023-08-12 12:35:12 +08:00
YiFang Xiao
51a050c43b
fix: remove old unnecessary logic which blocks updating Windows Title
2023-08-10 23:59:29 +08:00
YiFang Xiao
7806a86e22
fix: no need to installEventFilter( this) to itself
2023-08-08 20:41:30 +08:00
shenlebantongying
36ca0d0994
fix: adjust the order of Mainwindow's show() and restoreState/restoreGeometry
2023-08-06 09:37:18 -04:00
xiaoyifang
217ba5318a
Merge pull request #1034 from xiaoyifang/fix/float-lose-focuse
...
fix: translate line in floatable toolbar will lose focus
2023-08-01 20:52:05 +08:00
YiFang Xiao
9ca8d057db
fix: minor change to the label text
2023-08-01 19:29:10 +08:00
YiFang Xiao
73cbbac6f9
fix: translate line in floatable toolbar will lose focus
...
fix #1001
2023-08-01 19:26:11 +08:00
shenlebantongying
1ffd729614
fix: Qt6.4/5's maximize bug https://bugreports.qt.io/browse/QTBUG-115074
2023-07-27 23:27:46 -04:00
xiaoyifang
88117306a7
Revert "fix: restore maximize geometry ( #1013 )"
...
This reverts commit cd560f85fd
.
2023-07-27 23:20:16 +08:00
xiaoyifang
cd560f85fd
fix: restore maximize geometry ( #1013 )
...
* fix: restore maximize geometry
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-27 17:09:06 +08:00
YiFang Xiao
5db4491505
fix: simultaneous playing sound in wikipedia
...
click the audio link repeatly in wikipedia will cuase the sound to play simultaneously
[autofix.ci] apply automated fixes
2023-07-27 11:29:20 +08:00
shenleban tongying
6539775c4f
use qt header
2023-07-26 20:48:50 -04:00
autofix-ci[bot]
1502dc318a
[autofix.ci] apply automated fixes
2023-07-27 00:29:51 +00:00
YiFang Xiao
0ed2f697cd
fix: alt+down/alt+up navigation through dictionary
2023-07-27 08:27:46 +08:00
YiFang Xiao
9e5ce992ca
fix: support space and pageup/pagedown shortkey to navigate through the page
2023-07-27 08:06:48 +08:00
xiaoyifang
17cd445607
feat: customize dictionary's fullindex option with metadata.toml ( #1000 )
...
* feat: customize dictionary's fullindex option with metadata.toml
* [autofix.ci] apply automated fixes
* feat: display fulltext status in the dictionary info dialog
* [autofix.ci] apply automated fixes
* doc: add document about how to enable dictionary's fullindex feature
* Update src/metadata.cc
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update src/ui/dictinfo.ui
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/mkdocs.yml
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* add images
* feat: show fulltext search status in dictionary info dialog
* Update dictinfo.cc
* [autofix.ci] apply automated fixes
* ui: change layout
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2023-07-26 10:03:20 +08:00
xiaoyifang
d3e6018401
fix: wikipedia open blank page in edge browser ( #1003 )
...
* fix: wikipedia open blank page in edge browser
* [autofix.ci] apply automated fixes
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-25 23:55:41 +08:00
shenleban tongying
f9b1d3fa92
fix typo of app id
2023-07-25 08:04:49 -04:00
shenleban tongying
53d82f97ca
Another various changes required by Flatpak
2023-07-24 06:58:56 -04:00
shenleban tongying
a4542d8b6c
fix: a few build problems about zim/slob ,epwing ( #992 )
...
* fix: a few build problems
* slob should not depends on MAKE_ZIM_SUPPORT
* cmake failed to build when WITH_EPWING disabled.
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-22 13:50:57 +08:00
xiaoyifang
e5f91f6a3e
feat: use parallel thread to create the fts ( #980 )
...
* feat: use parallel thread to create the fts
* [autofix.ci] apply automated fixes
* feat: use parallel thread to create the fts
* feat: add an option to control the thread count when create the fulltext
* [autofix.ci] apply automated fixes
* feat: set default parallel thread count to half the cpu numbers
* feat: initialize the default parallel threads to 1/3 of cpu cores
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-20 22:50:32 +08:00
xiaoyifang
df4bc68248
fix: [regression]scanpopup right context menu lost dictionary list ( #989 )
...
* fix: [regression]scanpopup right context menu lost dictionary list
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-20 22:49:37 +08:00
shenleban tongying
8471029770
feat: use "Fusion" style on macOS by default and add option to switch between styles on Linux & macOS ( #986 )
...
* feat: use "Fusion" style on macOS by default and add option to switch between styles on Linux & macOS
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes
* feat: use "Fusion" style on macOS by default and add option to switch between styles on Linux & macOS
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-20 20:10:44 +08:00
shenleban tongying
b5349478cf
clean: reformat everything
...
The next commit will add `.git-blame-ignore-revs`
https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
2023-07-20 04:02:22 -04:00
YiFang Xiao
b39d931c08
fix: sound played twice in popup dialog
2023-07-19 13:44:26 +08:00
shenleban tongying
1180f8bc32
fix: website/program should not appears in "AutoGroupByFolder"
2023-07-17 23:27:46 -04:00
xiaoyifang
ec06124acb
feat: sync group widget with tab (one group per tab) ( #976 )
...
* feat: sync group widget with tab
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-17 08:24:02 +08:00
shenleban tongying
4be457ba2d
opt: rewrite release check
...
* check 1 time per day on startup and no more
* use github's release api instead of scraping the html page
2023-07-16 20:32:11 +08:00
xiaoyifang
ce8b8a60bb
feat: add font customization ( #973 )
...
* action: auto clang format changes
action: clang-format
* feat: add separator tab to configure the font family for the web engine.
feat: custom fonts
feat: add custom font
i18n: update crowdin translation files
* [autofix.ci] apply automated fixes
* feat: add notice about the font customization
* feat: adjust interface layout
* i18n: update transaltion source
* fix: code smells
* feat: custom font layout adjustment
* i18n: update translation items
* feat: adjust layout of custom fonts
* i18n: new
* feat: adjust layout
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-16 18:54:07 +08:00
YiFang Xiao
7037694ebc
fix: code smell
2023-07-14 22:31:29 +08:00
YiFang Xiao
08454602c2
opt: add open index folder to dict info dialog
2023-07-14 22:31:29 +08:00
xiaoyifang
2ed7990531
opt: pronounce audio rewrite ( #922 )
...
* opt: pronounce audio rewrite
* 🎨 apply clang-format changes
* fix:use javscript Map to hold the dictionary audio url
* Update mainwindow.cc
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-07-13 14:49:41 +08:00
YiFang Xiao
3f968027b6
fix: warning about "Release of profile requested but WebEnginePage still not deleted"
...
fix #955
2023-07-12 14:36:49 +08:00
YiFang Xiao
26e7ab6baa
Merge branch 'staged' of https://github.com/xiaoyifang/goldendict into staged
2023-07-12 10:25:18 +08:00
YiFang Xiao
ad426ae4af
fix: code smell
2023-07-12 10:23:49 +08:00
xiaoyifang
9c1413adea
Merge pull request #954 from xiaoyifang/fix/crash-restore-state
...
fix: a possible crash of restoreState() in linux with qt6.5.1
2023-07-12 10:00:49 +08:00
YiFang Xiao
80c30b3c54
style: code format
2023-07-12 09:50:55 +08:00
YiFang Xiao
0592d2060e
fix: a possible crash of restoreState() in linux with qt6.5.1
...
fix #952
2023-07-11 21:38:50 +08:00
YiFang Xiao
568efee4c7
fix: unicode regex option support
2023-07-09 18:10:30 +08:00
YiFang Xiao
5ec1a66d91
fix: splash windows optimization
2023-07-08 08:59:42 +08:00
YiFang Xiao
92fa182643
fix: save audio, add opus extension
2023-07-07 20:26:40 +08:00
xiaoyifang
af9563ad56
Merge pull request #923 from shenlebantongying/staged
...
misc fts fix
2023-07-02 12:24:19 +08:00
shenleban tongying
ec566c4a3b
misc fts fixes
...
* config fts.enablePosition is not updated
* update preferences layout
2023-07-01 23:41:05 -04:00
xiaoyifang
759246a86f
Merge pull request #920 from xiaoyifang/fix/status-2
...
fix: possible crash when show()
2023-07-02 10:00:45 +08:00
YiFang Xiao
9ab59d8713
fix: possible crash when show()
2023-07-02 08:37:28 +08:00
shenleban tongying
e419962abc
doc: update fts related strings
2023-07-01 12:05:15 -04:00
xiaoyifang
2621fd694d
Merge pull request #917 from xiaoyifang/fix/statusbar
...
fix: statusbar crash at some rare conditions
2023-07-01 22:59:04 +08:00
xiaoyifang
8b88ea544e
opt: add fullindex position ( #916 )
...
* opt: enable fulltext with position info
* opt: add fulltext position support
* 🎨 apply clang-format changes
* i18n: update translation entries
* opt: default enablePosition=false
* opt: fulltext search highlight
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-07-01 22:39:43 +08:00
YiFang Xiao
ed8072d78f
fix: statusbar at some rare conditions crash
...
the stacktrace show the line is parentWidget().
avoid using this the parentWidget() method.
2023-07-01 22:33:58 +08:00
xiaoyifang
a878e725f2
fix: code smells in group widget ( #901 )
...
* fix: code smells in group widget
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-24 15:30:20 +08:00
YiFang Xiao
43c2cfdd65
fix: group widget null check
2023-06-23 09:28:35 +08:00
YiFang Xiao
2359352781
fix: editDictionaries tab interaction
2023-06-23 09:28:35 +08:00
YiFang Xiao
aa94af4382
fix: fix double release pointer
2023-06-23 09:28:35 +08:00
YiFang Xiao
f909413caa
fix: code smells
2023-06-23 09:28:35 +08:00
YiFang Xiao
3b935e7660
fix: possible null object
...
refactor: group widget currentindex logic
2023-06-22 21:30:30 +08:00
xiaoyifang
ef594117c3
opt: group widget remove all tabs ( #892 )
...
* opt: remove all group widget tabs
* 🎨 apply clang-format changes
* opt: does not elide text on tab name
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-22 17:17:57 +08:00
shenleban tongying
ffe88499bb
fix: macOS missing slot warning
2023-06-19 20:17:58 -04:00
shenleban tongying
1589e14b70
clean: remove redundant dictionaryNativeIcon
...
`dictionaryNativeIcon` was intended to access the original icon before none-square icons were transformed into squares.
`dictionaryNativeIcon` is only used in dictionaryBar, but according to the intention, it shouldn't.
In reality, `dictionaryNativeIcon` is almost always equal to `dictionaryIcon`.
2023-06-18 22:37:07 -04:00
shenleban tongying
9d19ea1ebc
feat: add -v --version flag to CLI
...
* also abstract version info into a standalone namespace
2023-06-17 05:00:05 -04:00
xiaoyifang
16f853b68b
fix: qtimer release memory ( #863 )
...
* fix: memory leakage
2023-06-16 08:37:33 +08:00
shenleban tongying
35f39ea7a0
clean: convert a few trivial old SIGNAL/SLOT to new syntax
2023-06-11 11:27:49 -04:00
shenleban tongying
b882ecb76c
clean: convert Scanpopup edictGroupRequested to new syntax
...
* old code has a SIGNAL and a SLOT both named editGroupRequested'
* rename the SIGNAL to editGroupRequest to avoid this ambiguity
2023-06-11 10:17:20 -04:00
shenleban tongying
f14d28d193
clean: convert MainWindow::addGlobalAction SLOT to new syntax
...
Historical context: `MainWindow::addGlobalAction` was invented by
https://github.com/goldendict/goldendict/pull/482/files
2023-06-11 04:47:39 -04:00
xiaoyifang
ca4664f209
fix: possible crash ( #836 )
...
* fix: possible crash when show statusbar message
* windows qt upgrade to qt6.5.1
* Update src/ui/mainstatusbar.cc
---------
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
2023-06-10 22:26:24 +08:00
shenlebantongying
ab7af55696
update initializing.ui & splash img
2023-06-10 07:40:17 -04:00
xiaoyifang
a688a08eb1
Merge pull request #843 from xiaoyifang/feature/splash-2
...
feat: make initialize ui more human-friendly
2023-06-10 18:25:48 +08:00
YiFang Xiao
90b89acac0
feat: make initialize ui more human-friendly
2023-06-10 16:57:49 +08:00
YiFang Xiao
799370f5ef
fix: adjust margin around dictionary group
2023-06-10 14:45:48 +08:00
xiaoyifang
9c1a77a3f8
fix regression: select translation line text when got focused ( #841 )
...
* fix: select translation line text when got focused
* 🎨 apply clang-format changes
* fix: code smells
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-10 10:36:59 +08:00
YiFang Xiao
fc08c16479
fix: merge history items when import history items
2023-06-09 21:57:09 +08:00
xiaoyifang
f02fc350f8
fix: keep the application name unchanged for now ( #835 )
...
fix: Windows autostart reg entry use GoldenDict as entry name
2023-06-09 19:56:51 +08:00
xiaoyifang
9d047fea61
fix: add an --reset-windows-state option to command line ( #829 )
...
* fix: add an --reset-windows-state option to command line
* add an option
2023-06-09 19:56:04 +08:00
YiFang Xiao
c56304a2b9
fix: remove toggle main windows extra parameter
...
the parameter has no use right now
2023-06-08 08:30:23 +08:00
xiaoyifang
f58eb43bd2
opt: use QFontCombox instead ( #781 )
...
* opt: use QFontCombox instead
* 🎨 apply clang-format changes
* remove comment code
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-07 21:53:21 +08:00
Ren Tatsumoto
e6a2c4081b
fix global translateLineText not being updated when translate line changes
2023-06-07 09:34:25 +03:00
xiaoyifang
e0dba5ac3b
Merge pull request #818 from shenlebantongying/expose_timer
...
feat: expose linux's selection clipboard delay timer to user
2023-06-05 22:46:08 +08:00
xiaoyifang
671427803a
fix: replace suggestion list with QCompleter ( #808 )
...
* fix: replace suggestionList with QCompleter
* 🎨 apply clang-format changes
* fix: code smells
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-05 21:22:20 +08:00