Commit graph

4695 commits

Author SHA1 Message Date
xiaoyifang 7aedba4e2a
Merge pull request #838 from xiaoyifang/fix/merge_history
fix: merge history items when import history items
2023-06-09 22:30:09 +08:00
YiFang Xiao fc08c16479 fix: merge history items when import history items 2023-06-09 21:57:09 +08:00
YiFang Xiao 04ed15434e fix: remove duplicate logic 2023-06-09 21:36:12 +08:00
xiaoyifang 8ecf3b6cbc
Merge pull request #837 from xiaoyifang/opt/dsl-old-logic
fix: dsl remove too old code logic
2023-06-09 20:11:08 +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 6a7dd65728 fix: remove too old code logic
reasons:
1. if the replacement is important ,then the code should not care about the length (size() < 70)
2.  ' ' has been replaced with uC2A0 which is incorrect.  u00A0 is expected.
2023-06-09 19:53:34 +08:00
xiaoyifang 67ed24c61c
fix: support dsl dictionary utf encoding detection (#830)
* fix: support dsl dictionary utf encoding detection

* fix: code smells

* fix: code smells

* 🎨 apply clang-format changes

* fix: adjust linefeed

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-09 08:01:45 +08:00
xiaoyifang 5fd9261047
Create CONTRIBUTING.md 2023-06-08 17:10:56 +08:00
xiaoyifang ab675a5d60
Create CODE_OF_CONDUCT.md 2023-06-08 17:07:21 +08:00
xiaoyifang d33bb8862f
Merge pull request #828 from xiaoyifang/fix/start-tray
fix: remove toggle main windows extra parameter
2023-06-08 09:45:09 +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 1a1f70891d
Merge pull request #831 from xiaoyifang/fix/remove-unused-config
fix: remove unused configuration
2023-06-08 07:20:19 +08:00
YiFang Xiao 70cd2f937d fix: remove unused configuration 2023-06-07 23:49:27 +08:00
YiFang Xiao 47cc3ced1f fix: remove the context line parameter
in release mode, this parameters are empty
2023-06-07 21:58:59 +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
xiaoyifang db00fac907
New Crowdin updates (#827)
* New translations Russian from Crowdin

* New translations Russian from Crowdin
2023-06-07 18:26:01 +08:00
xiaoyifang 3276d2687c
Merge pull request #826 from Ajatt-Tools/fix
fix global translateLineText not being updated
2023-06-07 15:18:48 +08:00
xiaoyifang 6b0b4e5fa2
Merge pull request #824 from xiaoyifang/fix/macos-icu
fix: macos icudata can not be found
2023-06-07 14:50:15 +08:00
Ren Tatsumoto e6a2c4081b
fix global translateLineText not being updated when translate line changes 2023-06-07 09:34:25 +03:00
YiFang Xiao 4623eb2e8e fix: macos icudata can not be found 2023-06-07 08:39:28 +08:00
YiFang Xiao eccc3eaf0f Revert "opt: mdx video url"
This reverts commit 2bd5194c91.

accidently merged.
2023-06-06 23:45:04 +08:00
YiFang Xiao c2ff1e804f QDomDocument changed the implementation of setContent 2023-06-06 15:37:47 +08:00
YiFang Xiao 0cd1837ff2 Revert "action: upgrade qt version from qt6.4.3 to qt6.5.1"
This reverts commit 7566668432.
only revert the package building action.
2023-06-06 14:48:56 +08:00
YiFang Xiao c192b6c9cb Win Specific: remove msys.dll 2023-06-05 23:47:36 +08: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
YiFang Xiao 251fec8ea3 action: remove invalid property cached with qt-action 2023-06-05 22:05:22 +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
xiaoyifang 32a583c16a
Merge pull request #819 from xiaoyifang/fix/wiki-api
fix: wikipedia query parameter is incorrect
2023-06-05 21:11:23 +08:00
YiFang Xiao dcfee63b22 fix: wikipedia query parameter is incorrect 2023-06-05 20:58:04 +08:00
shenleban tongying 6732f4630d
feat: expose linux's selection clipboard delay timer to user
* In certain programs like Chrome, the selection clipboard will update
even the user have not released mouse button.
2023-06-05 08:22:49 -04:00
xiaoyifang 2e9e6068a4
Merge pull request #817 from xiaoyifang/fix/action-release-note
action: update release note
2023-06-05 16:16:12 +08:00
xiaoyifang a263315d15
Merge pull request #815 from xiaoyifang/i18n_
New Crowdin updates
2023-06-05 16:15:42 +08:00
YiFang Xiao e7ef0d31e2 action: update release note 2023-06-05 16:13:10 +08:00
xiaoyifang 9ed8f6a7bf
Update README.md 2023-06-05 15:10:28 +08:00
xiaoyifang 0e75014fe0
Update README.md 2023-06-05 15:08:27 +08:00
xiaoyifang a4379b085c New translations Vietnamese from Crowdin 2023-06-05 14:44:52 +08:00
xiaoyifang b149b211fe
Merge pull request #812 from shenlebantongying/fix_stardict
Fix: stardict's xdxf resources failed to convert because Qt6's QDomDocument is stricter
2023-06-05 00:03:23 +08:00
shenleban tongying b06c01beeb
fix: xdxf2html converter failed to parser xml due to &nbsp;
* xml don't have &nbsp;
* in Qt5, this is not a problem because QDomDocument::setContent will
 somehow accept it.
* in Qt6, this will be rejected
2023-06-04 07:38:14 -04:00
xiaoyifang 87358f73c6
Merge pull request #807 from shenlebantongying/custom_js_injectino
feat: add `article-script.js`
2023-06-04 17:34:16 +08:00
shenleban tongying 41776d2b89
feat: add article-script.js
* like article-style.css but for javascript
2023-06-03 20:53:46 -04:00
YiFang Xiao 4e1ea82ab7 action: translator add russian 2023-06-04 00:23:42 +08:00
xiaoyifang 4fc21074ac
Merge pull request #805 from shenlebantongying/fix_cmake_datadir
fix: define PROGRAM_DATA_DIR for cmake
2023-06-03 23:30:24 +08:00
shenleban tongying 849b1345e1
fix: define PROGRAM_DATA_DIR for cmake
* the PROGRAM_DATA_DIR is hardcoded path to /usr/share/goldendict
* Without it, resources cannot be loaded
2023-06-03 09:50:13 -04:00
xiaoyifang 87e2091214
fix: remove for loop with most one iteration (#804)
* fix: remove `for` loop with most one iteration

* 🎨 apply clang-format changes

* fix: remove `for` loop with most one iteration

* fix: code smells

* 🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-03 20:51:38 +08:00
YiFang Xiao 85b2a98dec action: windows script 2023-06-03 19:15:27 +08:00
xiaoyifang aa02301cb7
Merge pull request #803 from xiaoyifang/fix/download
fix: new release check ,download url is incorrect
2023-06-03 18:01:56 +08:00
YiFang Xiao d6009f0e8e fix: new release check ,download url is incorrect
fix #718
2023-06-03 17:49:37 +08:00
xiaoyifang 0a3b889d6e
Merge pull request #802 from shenlebantongying/fcitx_qt6
action: add fcitx5-qt6 im plugin to appimage build
2023-06-03 17:48:53 +08:00
shenleban tongying 8995a88105
action: add fcitx5-qt6 im plugin to appimage build 2023-06-03 04:53:59 -04:00