Commit graph

4931 commits

Author SHA1 Message Date
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
xiaoyifang 2b6b23c4e1
action: remove -xapian (#791)
* action: remove `-xapian`

xapian has became the default feature and made the -xapian was not needed any more.

* action: add a release changelog action to generate the changelog
2023-06-01 21:51:16 +08:00
xiaoyifang 7e2ce7f87e New translations Japanese from Crowdin
New translations Korean from Crowdin

New translations Spanish, Argentina from Crowdin

New translations Arabic, Saudi Arabia from Crowdin

New translations Japanese from Crowdin

New translations Spanish from Crowdin

New translations Arabic, Saudi Arabia from Crowdin

New translations Dutch from Crowdin

New translations Portuguese from Crowdin

New translations Esperanto from Crowdin

New translations Korean from Crowdin

New translations Spanish from Crowdin

New translations Portuguese from Crowdin
2023-06-01 21:17:43 +08:00
xiaoyifang ded97deb9a
Merge pull request #789 from xiaoyifang/fix/code-smells
fix: code smells
2023-06-01 21:15:43 +08:00
xiaoyifang 441ed99886
Merge pull request #790 from xiaoyifang/action/tag
action: autotag condition
2023-06-01 20:36:35 +08:00
YiFang Xiao bd548d0d83 action: autotag condition 2023-06-01 20:34:51 +08:00
YiFang Xiao 3becc51c1f action: add libfuse2 to ubuntu 2023-06-01 20:07:14 +08:00
xiaoyifang b7edc8ed2d 🎨 apply clang-format changes 2023-06-01 11:53:45 +00:00
YiFang Xiao 002f7a02f7 fix: code smells
refactor the disabledType string build
2023-06-01 19:52:16 +08:00
xiaoyifang cd7e16de4b
Merge pull request #788 from shenlebantongying/cmake_polish
cmake: duplicated tomlplusplus include
2023-06-01 15:25:23 +08:00
shenleban tongying f68fca5a45
cmake: duplicated tomlplusplus include 2023-06-01 03:15:07 -04:00
xiaoyifang eefdba23ae
Merge pull request #787 from shenlebantongying/cmake_polish
cmake: polishments to be officially used
2023-06-01 14:07:58 +08:00
shenleban tongying 0c75d4f399
cmake: updates
* add USE_SYSTEM_FMT & USE_SYSTEM_TOML
* switch back to libeb
2023-06-01 01:28:45 -04:00
xiaoyifang 750be0ad7a
Merge pull request #786 from xiaoyifang/action/release-tag
action: when packaging release version ,add an extra tag following th…
2023-06-01 11:14:53 +08:00
YiFang Xiao 029a986968 action: when packaging release version ,add an extra tag following the pattern as v23.06.01 2023-06-01 11:14:22 +08:00
xiaoyifang 79411fe7ba
Merge pull request #785 from xiaoyifang/opt/slob-headword
opt: slob dictionary does not display goldendict headword
2023-06-01 11:07:13 +08:00
YiFang Xiao 978fd3ba81 opt: slob dictionary does not display goldendict headword 2023-06-01 10:55:40 +08:00
xiaoyifang 4b8c87a30d
Merge pull request #782 from xiaoyifang/opt/action-xapian
action: modify xapian note
2023-05-31 23:59:16 +08:00
YiFang Xiao 704f4c3fa4 action: modify xapian note 2023-05-31 23:46:45 +08:00
YiFang Xiao 536da5e5fc bump alpha version 2023-05-31 20:56:28 +08:00
YiFang Xiao e771a65f01 Merge branch 'dev' 2023-05-31 20:51:23 +08:00
YiFang Xiao d00ea8ea20 release bump version to 2023.06.01 2023-05-31 20:44:48 +08:00
YiFang Xiao 8fd1d4a4c2 fix merge conflict 2023-05-31 20:39:16 +08:00
xiaoyifang c7f773c12b
Merge pull request #776 from shenlebantongying/better_defaults
Tweak some defaults
2023-05-31 18:42:55 +08:00
xiaoyifang 3ba8d0a220
Merge pull request #778 from shenlebantongying/fix_mainwindow
fix: send to mainwindow got empty word
2023-05-31 17:52:32 +08:00
shenleban tongying 7f994112b7
fix: send to mainwindow got empty word
a regression due to Input Phase change: if word is sent to
mainwindow, then definition->getWord() would be empty
2023-05-31 04:17:16 -04:00
shenleban tongying d72a8540d4
feat: tweak some defaults
* enable DSL's alwaysExpandOptionalParts by default
* enable both wikipedia & wikitionary by default
* disable hotkey for macOS by default (they have troubles in new macOS)
* update default websites, remove ones that no long accessible
* add default DictD protocal server
2023-05-30 23:54:43 -04:00
xiaoyifang 3ffdbe0079
Merge pull request #774 from shenlebantongying/staged
fix: modern style's .gddictname
2023-05-31 09:51:40 +08:00
shenleban tongying b7f0e5448b
fix: modern style's .gddictname 2023-05-30 21:22:08 -04:00
xiaoyifang 4147770f85
Opt: ftshelper refactor (#760)
* opt: remove useless ftshelper methods

🎨 apply clang-format changes

opt: slob use xapian as fulltext engine

🎨 apply clang-format changes

opt: refactor ftshelper

🎨 apply clang-format changes

* opt: refactor ftshelper

remove unused variabes and functions.

* 🎨 apply clang-format changes

* opt: refactor ftshelper

remove unused variabes and functions.

* opt: refactor ftshelper

remove unused variabes and functions.

🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-31 07:42:31 +08:00
xiaoyifang 55ac4d8b68
Update README.md 2023-05-31 07:41:32 +08:00
shenleban tongying 6823254bac clean: solve a TODO about translateInputFinished 2023-05-31 07:26:43 +08:00
shenleban tongying 6c7bb05f35 clean: convert SLOT translateInputFinished to new syntax 2023-05-31 07:26:43 +08:00
shenleban tongying 0079cd2933 clean: remove unnecessary header includes
* remove all <QtGUI> which includes *everything* of Qt
* remove unused headers
2023-05-30 20:59:51 +08:00
YiFang Xiao 15e0fa087f opt: replace Mutex::Lock with QMutexLocker 2023-05-30 00:08:01 +08:00
shenleban tongying 0b746ef8eb
Revise how word is getting passed (#736)
* fix: remove InputPhrase

* opt: remove unnecessary InputPhrase

* fix: assignment issue

* fix: add handleInputWord back

* fix: does not need to trim punc

---------

Co-authored-by: YiFang Xiao <yifang.xiao@foxmail.com>
2023-05-29 00:01:54 +08:00
xiaoyifang 4eb8374a35
opt: mdx fulltext lock seperated with normal search (#759)
* opt: refactor mdx fullindex creation

* opt: incremental fulltext creation logic change

* opt: incremental fulltext creation logic change

* opt: progress of fulltext creation logic

* opt: code smell

* fix: code smell

* fix: code smell

* fix: code smell

* fix: code smell

* fix: code smell

* 🎨 apply clang-format changes

* fix: code smell

* fix: code smell

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-29 00:01:21 +08:00
xiaoyifang 5d15ffbc14
Merge pull request #761 from xiaoyifang/fix/workflow
opt: remove obsolete GitHub action
2023-05-28 21:47:07 +08:00
YiFang Xiao f559f43edb opt: remove obsolete GitHub action 2023-05-28 21:46:37 +08:00
xiaoyifang 966b477b26 🎨 apply clang-format changes 2023-05-28 15:50:08 +08:00
YiFang Xiao cfec24f4bb opt: use auto and for range in building index 2023-05-28 15:50:08 +08:00
YiFang Xiao ba24e57913 fix: cmake install will install extra header files
fix #755
2023-05-28 15:49:07 +08:00
YiFang Xiao 2cbcab16ba fix: switch dictionary should change the headwords in the dialog
fix #752
2023-05-27 23:53:16 +08:00
YiFang Xiao 4565d09c08 action:comment out pr_number in clang format 2023-05-27 23:43:42 +08:00
YiFang Xiao 854efbc517 action: clang format 2023-05-27 22:28:28 +08:00
YiFang Xiao ce08f5520a action: auto clang format
add comment if the pr is from other person
2023-05-27 18:15:32 +08:00
YiFang Xiao f472c33258 action: update qt5.15 ubuntu version 2023-05-27 15:38:38 +08:00
xiaoyifang 3858932ec4
feat!: add libzim dependency (#725)
* feat!: add libzim dependency

* 🎨 apply clang-format changes

* action: add libzim dependency to action

* feat!: change dependency folder

* action: add zim support

* feat!: add libzim support

* action: fix sonarcloud check

* doc: add libzim readme

* action: cmake build

* action: cmake check

* fix: code smell

* action: cmake check

* action: cmake on Macos

* action: cmake on Macos

* feat: use libzim to read title and description

* 🎨 apply clang-format changes

* feat: split zim file support

* feat: loadArticle refactor

* 🎨 apply clang-format changes

* 🎨 apply clang-format changes

* feat: update library and goldendict.pro

* 🎨 apply clang-format changes

* fix:word count

* 🎨 apply clang-format changes

* fix: video src url subsititue

* 🎨 apply clang-format changes

* zim: headword is not usually a valid

it is from title and url.

* fix: remove nested try catch

* zim: fix resource loading issue.

* 🎨 apply clang-format changes

* action: remove libao

* zim: process url

some old zim dictionary url does not contain namespace such as
/C/url

make the old and new zim dictionary's url consistent without the leading
../C/  etc.

* 🎨 apply clang-format changes

* zim: process url

remove leading dot and slash
such as ../-/assets  ,remove ../

* 🎨 apply clang-format changes

* zim: remove resourceIndex creation

use libzim to read the resource directly.

* zim: only iterate all the articles

* 🎨 apply clang-format changes

* fix: code smell

* 🎨 apply clang-format changes

* zim: refactor method to convert url to wstring

* 🎨 apply clang-format changes

* fix:code smell

* 🎨 apply clang-format changes

* zim: update windows dependencies

* zim: add mutex lock

* 🎨 apply clang-format changes

* fix: code smell

* 🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 12:12:16 +08:00
YiFang Xiao fe29fdddc1 opt: add command line option --no-tts
when specified, the speech tab in the sources dialog will be disabled.

close #747
2023-05-27 12:11:37 +08:00
YiFang Xiao 36557202a2 opt: allow clang-tidy to check modernize-use-auto 2023-05-27 08:45:01 +08:00