Commit graph

5195 commits

Author SHA1 Message Date
xiaoyifang 04a58d6418
opt: dsl remove useless method and refactor langcodes logic (#889)
* opt: dsl remove useless method and refactor langcodes logic

* 🎨 apply clang-format changes

* opt: remove useless code

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-21 20:47:49 +08:00
xiaoyifang 074c7a0aca
action: update tag when upload release (#883)
* action: use custom tag when upload-release

* action: valid tag must begin with v

* action: use custom tag when upload-release

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
2023-06-20 15:56:26 +08:00
xiaoyifang 34f6cb9ddc
Merge pull request #885 from shenlebantongying/staged
Update splash.png
2023-06-20 15:56:13 +08:00
shenlebantongying 00e7023981 Update splash.png 2023-06-20 03:52:26 -04:00
xiaoyifang 93d475cc32
Merge pull request #882 from xiaoyifang/opt/unify-windows-icon
opt: unify windows icon
2023-06-20 13:43:25 +08:00
xiaoyifang a0d8c50a52
Merge pull request #881 from shenlebantongying/macOS_slot
fix: macOS missing slot warning
2023-06-20 09:54:40 +08:00
YiFang Xiao 7f0cb26cda opt: unify windows icon 2023-06-20 08:31:44 +08:00
xiaoyifang 6104a16a4b
Merge pull request #879 from shenlebantongying/datarequest_optimization
clean: remove duplicated exCantReadFile definitions
2023-06-20 08:25:33 +08:00
shenleban tongying ffe88499bb fix: macOS missing slot warning 2023-06-19 20:17:58 -04:00
shenleban tongying 4432de9d50
clean: remove duplicated exCantReadFile definitions
Obviously, it is a result of copy-paste programming
2023-06-19 18:54:17 -04:00
xiaoyifang 1185e8896f
Merge pull request #878 from shenlebantongying/staged
guard against null img for ZIM
2023-06-19 17:47:47 +08:00
shenleban tongying a76ef3dfdd
guard against null img for ZIM 2023-06-19 05:01:27 -04:00
xiaoyifang 1a0a9ca097
Merge pull request #876 from shenlebantongying/elimate-double-icon-type
clean: remove redundant `dictionaryNativeIcon`
2023-06-19 16:50:08 +08: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
xiaoyifang 0bf0fde8b5
Merge pull request #875 from xiaoyifang/fix/ubuntu-appimage
ubuntu: appimage use ubuntu 20.04 instead
2023-06-18 20:32:33 +08:00
xiaoyifang 7fa6d42c3b
Merge pull request #873 from shenlebantongying/zim_icon
feat: load and display ZIM dictionary icon
2023-06-18 20:04:45 +08:00
YiFang Xiao 2cf5ccdcdd ubuntu: appimage use ubuntu 20.04 instead
fix #874
2023-06-18 19:52:59 +08:00
shenleban tongying feda879a30
feat: load and display ZIM dictionary icon
* Original GD never tries to load zim format's icon
* This leverage the capability provided by libzim
2023-06-18 05:25:38 -04:00
xiaoyifang 0b36b846ce
New Crowdin updates (#871)
* New translations Russian from Crowdin

* New translations Chinese Simplified from Crowdin
2023-06-18 11:15:53 +08:00
xiaoyifang 0ab7a83d00
Merge pull request #868 from shenlebantongying/work/version_info
feat: add -v --version flag to CLI
2023-06-17 18:14:38 +08:00
xiaoyifang 891e7a9315
Merge pull request #869 from xiaoyifang/doc/update-fulltext
doc: update fulltext document
2023-06-17 18:05:46 +08:00
YiFang Xiao aa73800733 doc: update fulltext document 2023-06-17 17:55:06 +08: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 85caaffd8e
Merge pull request #866 from xiaoyifang/clean/remove-config-old
clean: remove config old code
2023-06-17 00:20:14 +08:00
YiFang Xiao d614430a77 action: add github action release log option 2023-06-16 20:42:42 +08:00
YiFang Xiao b815f489d2 clean: remove config old code 2023-06-16 20:34:50 +08:00
xiaoyifang 16f853b68b
fix: qtimer release memory (#863)
* fix: memory leakage
2023-06-16 08:37:33 +08:00
xiaoyifang 4de5cff7e5
Merge pull request #859 from xiaoyifang/macos/release-info
macos: change plist file
2023-06-13 09:34:32 +08:00
YiFang Xiao c64e9543d2 macos: change plist file 2023-06-13 08:22:07 +08:00
xiaoyifang a2f5aa6c22
Merge pull request #855 from xiaoyifang/action/release-note-pr
action: modify release note
2023-06-12 11:28:02 +08:00
YiFang Xiao 7768ce5318 action: modify release note 2023-06-12 11:07:07 +08:00
xiaoyifang 7448e832c2
Merge pull request #853 from shenlebantongying/no_SIGNAL
clean: convert a few trivial old SIGNAL/SLOT to new syntax
2023-06-12 08:06: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
xiaoyifang 7e93d787b5
Merge pull request #852 from shenlebantongying/no_SIGNAL_scanpopup
clean: convert Scanpopup edictGroupRequested to new syntax
2023-06-11 23:20:16 +08:00
xiaoyifang f7f27f276b
action: change release change-log generation logic (#847)
action: change release change-log generation logic
2023-06-11 23:00:22 +08:00
xiaoyifang f67f5aa228
Merge pull request #851 from xiaoyifang/fix/slob-index-slow
fix: slob fullindex will freeze the preference dialog
2023-06-11 22:23:54 +08: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
YiFang Xiao 318e186215 fix: slob fullindex will freeze the preference dialog 2023-06-11 21:33:25 +08:00
xiaoyifang 4722193048
Merge pull request #849 from shenlebantongying/no_SIGNAL
clean: convert `MainWindow::addGlobalAction` SLOT to new syntax
2023-06-11 18:33:02 +08: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
xiaoyifang dfd3a86c7f
fix: fulltext remove query word size check (#845)
* fix: fulltext remove query word size check

* fix: remove unused methods

* 🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-10 21:02:22 +08:00
xiaoyifang 5bb1949c5c
Merge pull request #846 from shenlebantongying/staged
update initializing.ui & splash img
2023-06-10 19:45:39 +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
xiaoyifang c7d3829eb7
Merge pull request #844 from xiaoyifang/fix/minor-ui-translate-docker
fix: adjust margin around dictionary group
2023-06-10 15:52:33 +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
xiaoyifang fe1c609b49
Win Specific: upgrade opencc (#840)
* Win Specific: upgrade opencc

* opencc shared configuration file
2023-06-10 09:40:13 +08:00