Commit graph

5430 commits

Author SHA1 Message Date
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
xiaoyifang 6a0a16625d
Merge pull request #801 from xiaoyifang/action/change-log
action:change log
2023-06-03 15:51:27 +08:00
YiFang Xiao 5fdc68fc1e action:change log 2023-06-03 15:37:30 +08:00
xiaoyifang b855be1fbe
cmake: fix build on Windows Debug (#798)
* cmake: fix build on Windows Debug

* cmake: fix build on Windows Debug

* cmake: fix build on Windows Debug

* cmake: fix build on Windows Debug
2023-06-03 15:35:01 +08:00
YiFang Xiao 29403f4263 fix: code smells
🎨 apply clang-format changes

fix: code smells

🎨 apply clang-format changes

🎨 apply clang-format changes
2023-06-03 14:07:41 +08:00
YiFang Xiao 1391a8fa7e fix: invalid data access of data field
bgl_babylon.cc

fix #770
2023-06-03 14:07:41 +08:00
YiFang Xiao 0c7d7ada21 fix: invalid data access of data field
bgl_babylon.cc

fix #768
2023-06-03 14:07:41 +08:00
YiFang Xiao 49c6ae7032 opt: iconv remove unused parameter
In GoldenDict, the application uses utf-8 as the default encoding. There should be no other use.
2023-06-03 14:07:18 +08:00
YiFang Xiao ceef189a15 action: change mikepenz/release-changelog-builder-action from @{latest-release} to v3 2023-06-03 08:39:53 +08:00
xiaoyifang 5899aa7c94
fix: highlight fts search result (#792)
* fix: highlight fts search result

* 🎨 apply clang-format changes

* remove accent/diacritic handler used in fts search

* header file adjustment

* fix: qt5.15 compile

* fix: code smell

use const reference variable

* fix: code smell

* fix: code smell

* fix: code smell

* fix: code smell

* 🎨 apply clang-format changes

* fix: code smells

🎨 apply clang-format changes

* opt: fix code smells

remove unused parameters from function `ftsIndexIsOldOrBad`

🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-03 08:29:19 +08:00
xiaoyifang e37e66b330
Merge pull request #796 from shenlebantongying/staged
action: add fcitx im module to AppImage builds
2023-06-03 08:28:48 +08:00
shenleban tongying 1a62593e03
action: add fcitx im module to AppImage builds 2023-06-02 15:19:37 -04:00
xiaoyifang a164a69d25
Merge pull request #794 from xiaoyifang/action/minor-changes
action: upgrade qt version from qt6.4.3 to qt6.5.1
2023-06-02 21:52:04 +08:00
YiFang Xiao 29ef93701d git ignore .orig .TMP files 2023-06-02 21:48:25 +08:00
YiFang Xiao 2bd5194c91 opt: mdx video url 2023-06-02 21:47:48 +08:00
YiFang Xiao 7566668432 action: upgrade qt version from qt6.4.3 to qt6.5.1
remove unused action files
2023-06-02 20:01:51 +08:00