Commit graph

5615 commits

Author SHA1 Message Date
shenleban tongying b3aac01f41 refactor: elimate makeScanPopup()
* Old code keep destory the scanpopup, then recreate it whenever the dict list or group list changed.
* New code keep a single instance of scanpopup, and only update necessary info.
2023-02-22 20:09:26 -05:00
xiaoyifang 67d5799708
refactor: convert scanflag.ui to plain code (#350)
The .ui file only contains a single widget. The overhead is unnecessary.

| Before: There is a weird top edge. | After |

|-----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|
|
![image](https://user-images.githubusercontent.com/20123683/220492330-13502c46-2f0b-4bc3-9462-0f426258dc97.png)
|
![image](https://user-images.githubusercontent.com/20123683/220492128-b77bc480-6a08-4ef2-88db-29aef753a3bd.png)
|

Slightly related to
https://github.com/xiaoyifang/goldendict/issues/349#issuecomment-1439224644,
we may use a similar flag later.
2023-02-22 10:03:01 +08:00
shenleban tongying 38956589a2 refactor: convert scanflag.ui to plain code 2023-02-21 19:56:12 -05:00
xiaoyifang a7c1589149
Merge pull request #348 from shenlebantongying/staged
Use alternative clipboard change monitor on macOS
2023-02-18 11:49:46 +08:00
shenleban tongying 497ecf3719 fix: use alternative clipboard change monitor on macOS
QClipboard cannot monitor data changes on mac unless an application is focused
2023-02-17 22:02:52 -05:00
xiaoyifang 737d4421f5
Merge pull request #347 from xiaoyifang/fix/local-file-dictionary
fix: file:/// local file dictionary support
2023-02-17 14:50:17 +08:00
xiaoyifang 84c6b79217 fix: local dictionary file:/// support 2023-02-16 16:11:27 +08:00
xiaoyifang c5b9e48e0e fix: local dictionary file:/// support 2023-02-16 15:58:44 +08:00
Abs62 e43c0d2521 ScanPopup: Some more of save/restore position of the pinned popup window 2023-02-14 22:40:08 +03:00
Abs62 74aa95220d ScanPopup: Save/restore position of the pinned popup window after closing/reopening it 2023-02-14 17:51:03 +03:00
xiaoyifang 1688481bc3 github: change windows xapian github action 2023-02-13 20:57:36 +08:00
xiaoyifang b8680d63b2
Merge pull request #345 from shenlebantongying/staged
feat: bring back custom qt style sheets for Windows
2023-02-13 14:44:17 +08:00
xiaoyifang b5cc1a9fdd
Merge pull request #346 from xiaoyifang/fix/sound-repeat
fix: always repeat the first played sound
2023-02-13 11:40:10 +08:00
xiaoyifang ac59713ed0 fix: repeat play the first played sound 2023-02-13 10:53:23 +08:00
shenlebantongying f8e2e3c021 feat: bring back custom qt style sheets for Windows 2023-02-12 11:01:36 -05:00
xiaoyifang 1efe5df30d
Merge pull request #344 from shenlebantongying/staged
fix: reset background to white when darkreader mode is used
2023-02-12 18:03:00 +08:00
shenleban tongying 91bb527c6e fix: reset background to white when darkreader mode is used
A few theme's yellow background is ugly when inverted
2023-02-12 02:18:56 -05:00
Xiao YiFang bd736d7f37 fix: qmultimedia qmediaplayer can not play the next audio in qt6.4.2 2023-02-09 23:04:28 +08:00
Xiao YiFang 2baffb0628 fix: website dictionary display incorrect text on the page.
fix #340
2023-02-09 23:00:32 +08:00
xiaoyifang 85429d79a5 add translations to changes in ce037dbfda 2023-02-08 15:35:31 +08:00
xiaoyifang c9bde81b28 fix:iconv convert error 2023-02-08 11:12:52 +08:00
Igor Kushnir 6fbeebdb6f Wiki: parse sections and generate ToC if absent from HTML
Fixes #1601
2023-02-08 11:12:51 +08:00
Xiao YiFang 56f409488c fix: add quit condition in AudioOutput 2023-02-08 11:12:51 +08:00
xiaoyifang ca5b47cca7
Merge pull request #337 from xiaoyifang/fix/iconv-convert-error
fix: iconv convert error
2023-02-08 10:38:07 +08:00
xiaoyifang 105019da95
Merge pull request #336 from xiaoyifang/merge/upstream-2023-2-8
merge upstream wikimedia changes
2023-02-08 10:14:48 +08:00
xiaoyifang 5eac90e72c fix:iconv convert error 2023-02-08 10:11:21 +08:00
xiaoyifang 7a3755333c Merge remote-tracking branch 'gd/master' into staged 2023-02-08 09:47:51 +08:00
Igor Kushnir e1e70e6a6c Wiki: parse sections and generate ToC if absent from HTML
Fixes #1601
2023-02-07 19:56:18 +03:00
Xiao YiFang 7443fa711a bump alpha version to 23.02.07 2023-02-07 23:20:43 +08:00
Xiao YiFang aa726f3d12 fix: add quit condition in AudioOutput 2023-02-07 23:09:55 +08:00
Xiao YiFang 9b8f85ca1f bump release version to 23.02.06 2023-02-06 00:04:32 +08:00
Xiao YiFang b5f91d537d fix conflict 2023-02-05 23:59:42 +08:00
Xiao YiFang 0f83a55c25 add origin and referer to response header 2023-02-05 22:37:24 +08:00
xiaoyifang 3d5c7d5742
Merge pull request #329 from xiaoyifang/feature/add-iconv-to-ubuntu
action:add iconv to ubuntu
2023-02-05 20:55:02 +08:00
Xiao YiFang e188ad95f2 Merge branch 'staged' into dev 2023-02-05 20:24:29 +08:00
Xiao YiFang a16dba22e3 ignore upstream 2023-02-05 20:22:32 +08:00
xiaoyifang 36ccf97daf
Merge pull request #328 from shenlebantongying/fix/center-arrow
fix: group combo box isn't centered
2023-02-05 14:05:50 +08:00
Xiao YiFang 1072adfad9 Revert "fix: mdx headword total count is incorrect"
This reverts commit 66ec6b6d63.
2023-02-05 13:45:48 +08:00
Xiao YiFang 3825a8d94e action:add iconv to ubuntu 2023-02-05 13:42:52 +08:00
shenleban tongying 62c92fce03 Fix styles of GroupComboBox and translateLine
* fix GroupComboBox's drop down arrow isn't centered by correct padding
* merge #translateLine of navToolbar and ScanPopup
* special boarder handling when using #searchPane
2023-02-04 23:55:19 -05:00
Abs62 7e1063f22e DSL: Fix freezes on some incorrect dictionaries 2023-02-04 18:53:35 +03:00
Xiao YiFang 698c02ed6c Merge branch 'staged' into dev 2023-02-02 07:41:51 +08:00
xiaoyifang 3e33576c72
Merge pull request #324 from xiaoyifang/feature/iconv
add iconv as an extra encoding converter
2023-02-02 07:40:52 +08:00
Xiao YiFang caa1ab45b6 feat:add iconv support 2023-02-02 00:36:18 +08:00
Xiao YiFang c5112a3120 action:modify action to support iconv 2023-02-01 23:33:47 +08:00
Xiao YiFang 859def7ae0 feat:add iconv as an extra encoding converter
win specific:add iconv libs to winlibs
2023-02-01 23:33:46 +08:00
Xiao YiFang 0e1ce78216 Merge branch 'staged' into dev 2023-01-25 21:30:51 +08:00
xiaoyifang 069714e3a2
Merge pull request #322 from xiaoyifang/feature/cherry-pick-upstream
cherry pick upstream
2023-01-24 22:01:17 +08:00
Xiao YiFang fabb9d6487 fix:compile error after merge xdxf.cc changes 2023-01-24 21:28:34 +08:00
Xiao YiFang e4595fb6d9 fix:bgl encoding convert exception 2023-01-24 21:07:59 +08:00