Commit graph

407 commits

Author SHA1 Message Date
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 8b1b2a1628 fix: possible dsl languageForId issue
🎨 apply clang-format changes

action: restrict to current repositroy

other people's repository has no permission to commit fix

fix: refactor langcoder method

🎨 apply clang-format changes

🎨 apply clang-format changes

🎨 apply clang-format changes

fix: code smell

🎨 apply clang-format changes

fix: adjust zlib link on Windows

fix: refactor langcoder structure
2023-05-23 19:03:25 +08:00
YiFang Xiao 5577948580 action: clang format
when others submit PR ,it always fails
2023-05-21 20:13:37 +08:00
YiFang Xiao 3ea5ebeebf ocr: add how to series
doc: move howto to website
2023-05-21 14:52:11 +08:00
YiFang Xiao fb41bf0fe5 action: git clang format 2023-05-20 13:32:55 +08:00
xiaoyifang c23487500b
opt: upgrade xapian to 1.4.22 and fix debug compilation (#714)
* opt: upgrade xapian to 1.4.22 and fix debug compilation

* fix: cmake on Windows
2023-05-20 10:29:20 +08:00
xiaoyifang d08d5fe576
opt: let qt handle the language direction (#709)
* opt: let qt handle the language direction

* 🎨 apply clang-format changes

* action: modify auto clang format action

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-19 19:41:27 +08:00
YiFang Xiao 6aa7cba983 fix: desktop file name change 2023-05-19 13:43:40 +08:00
YiFang Xiao 33d17365b1 fix: windows ,change installer name 2023-05-18 09:26:35 +08:00
YiFang Xiao ddaf17d313 action:macos, ffmpeg install error 2023-05-18 08:27:54 +08:00
xiaoyifang d174dc16ba
opt:remove non-xapian fulltext creation logic (#643)
* opt!:remove non-xapian fulltext creation logic

BREAKING CHANGE: after this PR, xapian package will have to installed
before the compilation. on Linux, this should be libxapian-dev package.

For common users: all created fulltext which is not created by xapian
before will be recreated using the new
engine.

* fix: remove old fulltext search ui

* 🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-17 22:29:56 +08:00
YiFang Xiao e1b844b23d action:clang-format 2023-05-16 04:44:48 -08:00
xiaoyifang 3ebf8b47a7
action: add clang-format auto format commit changes (#697)
* action: add clang-format auto format commit changes

* Update auto clang format.yml

* Update auto clang format.yml

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
2023-05-16 20:09:37 +08:00
xiaoyifang 25336dc289
github: add cmake check support (#694)
* github: cmake check support

* fix:windows cmake build error

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
2023-05-16 20:08:32 +08:00
YiFang Xiao e3e0c33614 github: fetch-depth will make git rev-parse not work 2023-05-14 13:56:42 +08:00
YiFang Xiao 17d7fa663f opt: seperate the pdb file with application bundle 2023-05-12 16:59:52 +08:00
xiaoyifang 242328332d opt:macos remove maclibs
macdeployqt can not handle file link before qt6.x , so the homebrew build release will only be  provided in Qt6
users need to build their only qt5 version from source.
2023-05-10 21:13:20 +08:00
xiaoyifang 731e54d718 remove eb.lib and use source directly
update eb submodule
2023-05-07 16:55:18 +08:00
xiaoyifang 62584afee8 github:add Chinese note in the github release note 2023-05-06 07:30:39 +08:00
shenleban tongying 7a9ab76bb8 update issue template 2023-05-06 07:07:09 +08:00
YiFang Xiao c9a81f4fad github:locale update will not trigger check 2023-05-05 15:32:20 +08:00
xiaoyifang a2409f5f48 bump alpha version to 23.05.03 2023-05-03 12:19:50 +08:00
xiaoyifang 391222b0ad action:python version 2023-05-02 15:53:41 +08:00
xiaoyifang c969418497 feat: add breakpad crash support 2023-05-02 15:53:41 +08:00
xiaoyifang e3592590b0 github: macos release version changes 2023-05-01 13:58:25 +08:00
xiaoyifang 6c8b0c1c85 bump release version to 23.05.01 2023-05-01 12:57:28 +08:00
xiaoyifang ecea420235 fix conflict 2023-05-01 12:56:02 +08:00
YiFang Xiao 617c6b961f action: macos homebrew check 2023-04-28 12:52:28 +08:00
shenleban tongying 2258454074 fix(action): deploy_website does not trigger 2023-04-27 06:11:58 +08:00
xiaoyifang a5d6505765
fix: rename qt_*.ts in locale to distinguish between normal locale la… (#543)
* fix: rename qt_*.ts in locale to distinguish between normal locale language files.

also put qtwebengine_zh_CN.ts here to avoid windows script copying.

fix #533

* Update Readme.md
2023-04-21 09:36:26 +08:00
YiFang Xiao cfff9cd026 rename repository name
and changes some corresponding goldendict reference.
related #489
2023-04-18 01:13:02 +08:00
shenleban tongying 3ff6b6a8ee feat(help): replace QtHelp with website
* Nobody wants to update .qch files
2023-04-17 14:40:29 +08:00
shenleban tongying ca6deac59b feat(website): initial proper website 2023-04-17 07:12:04 +08:00
shenleban tongying cd40bfa7d3 feat: remove LibTIFF dependency
* Qt already have built-in support for them
* remove qmake option no_extra_tiff_handler
2023-04-16 13:01:26 +08:00
Xiao YiFang ec1ba5b0f0 action: change windows-latest to windows-2022 to have a more meaningful name 2023-04-16 09:14:59 +08:00
YiFang Xiao 3d448cf570 action:issue translator 2023-04-14 15:55:13 +08:00
xiaoyifang 84151878f6 action: windows single goldendict.exe filename 2023-04-13 10:24:03 +08:00
xiaoyifang 16cc44c552 action:windows add more arch support 2023-04-07 22:23:50 +08:00
xiaoyifang c8003b5408 action:add windows latest action 2023-04-06 10:21:25 +08:00
xiaoyifang 51b46ca057 action:macos xapian support 2023-04-03 11:47:53 +08:00
Xiao YiFang c59a29b747 bump alpha version 2023-04-03 07:33:54 +08:00
Xiao YiFang 25f101f112 action:add ubuntu xapian release 2023-04-03 07:33:54 +08:00
Xiao YiFang ce9436f950 bump release version 2023-04-02 23:46:21 +08:00
Xiao YiFang 89d567b17a fix merge conflict 2023-04-02 23:43:50 +08:00
xiaoyifang cf26b33bde
Update issue-translator.yml 2023-03-31 18:16:06 +08:00
Xiao YiFang 5ea4e8dce7 action:ubuntu can not found speechd
action:ubuntu can not found speechd
2023-03-30 14:41:40 +08:00
Xiao YiFang e0831bf36c action:add texttospeech module 2023-03-29 23:16:01 +08:00
xiaoyifang 91d539b105
Update issue-translator.yml 2023-03-26 08:17:41 +08:00
xiaoyifang e2e2b10b0f
Update issue templates 2023-03-25 15:04:46 +08:00
xiaoyifang 75593e4487
Update issue-translator.yml 2023-03-24 16:36:35 +08:00
Xiao YiFang 7ac1877544 replace qt6.3.2 with 6.4.3 2023-03-21 09:20:28 +08:00
xiaoyifang 71935fb929
add auto translation action to non-English issues 2023-03-20 18:00:32 +08:00
xiaoyifang fa06c85d6d bump qt version to qt6.4.3 2023-03-16 14:17:13 +08:00
Xiao YiFang 656cd3734c action: bump python 2023-02-26 18:29:46 +08:00
xiaoyifang e1324448c5
Delete codeql.yml 2023-02-24 15:52:24 +08:00
xiaoyifang 340814e0f6
Create codeql.yml 2023-02-24 14:56:29 +08:00
xiaoyifang 1688481bc3 github: change windows xapian github action 2023-02-13 20:57:36 +08:00
Xiao YiFang 7443fa711a bump alpha version to 23.02.07 2023-02-07 23:20:43 +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 3825a8d94e action:add iconv to ubuntu 2023-02-05 13:42:52 +08:00
Xiao YiFang c5112a3120 action:modify action to support iconv 2023-02-01 23:33:47 +08:00
Xiao YiFang 0d496ff236 bump qt from 6.3.2 to 6.4.2 2023-01-09 20:55:22 +08:00
xiaoyifang 385ccb4c0c action: sonarcloud 2022-12-26 17:10:39 +08:00
Xiao YiFang ce23121069 action: changelog 2022-12-25 12:06:14 +08:00
Xiao YiFang fd791d3d2f bump alpha vesion to 22.12.24 2022-12-24 07:51:09 +08:00
Xiao YiFang 8bda599dd0 github: changelog revert to previous method 2022-12-20 21:50:58 +08:00
Xiao YiFang 311d08c6e9 github: changelog 2022-12-20 21:16:31 +08:00
Xiao YiFang e76e81c9eb fix conflict 2022-12-20 21:13:55 +08:00
xiaoyifang 58a0bc74af Merge branch 'fix/sonar-cmake' into staged 2022-12-15 10:50:13 +08:00
xiaoyifang b1e888cf18 github: cmake build action ,windows runtime library 2022-12-15 10:49:49 +08:00
xiaoyifang edc412c2cd github: cmake build action
fix macos ,windows build error
2022-12-15 10:47:14 +08:00
xiaoyifang f479e15954
Merge pull request #257 from xiaoyifang/feature/macos-homebrew
macos specific: change github action
2022-12-14 21:13:22 +08:00
xiaoyifang 1e6b13421f github: cmake build action ,windows 2022-12-14 16:26:07 +08:00
xiaoyifang 3f7530340c github: cmake build action ,macos dependencies 2022-12-14 16:21:25 +08:00
xiaoyifang d1634c2e70 github: cmake build action 2022-12-14 16:07:03 +08:00
xiaoyifang 1744843956 sonar:fix linux build 2022-12-14 15:58:08 +08:00
xiaoyifang afb5c4f951 action: generate version.txt
give github action the opportunity to generate this file .
If not existed ,  qmake will generate one
2022-12-14 10:20:10 +08:00
xiaoyifang c0d15ee30e macos specific: change github action 2022-12-14 09:51:03 +08:00
xiaoyifang 77aa253222 action:change log 2022-12-14 09:29:09 +08:00
xiaoyifang 9f6c98eddd
Merge pull request #253 from xiaoyifang/feature/changelog
action:changelog
2022-12-13 21:43:22 +08:00
Xiao YiFang e107350b51 action: add log 2022-12-13 20:07:18 +08:00
xiaoyifang dc81654257 action:changelog 2022-12-13 19:53:04 +08:00
xiaoyifang f0a6bc077b change version.txt to latest git tag 2022-12-13 15:21:53 +08:00
xiaoyifang 7eef001eca action:Ubuntu22 require libfuse2.so to create appimage 2022-12-09 09:04:21 +08:00
xiaoyifang 90c1dbb8b9
action: sonar check (#243)
* action:sonar check


Co-authored-by: xiaoyifang <yifang.xiao@noreply.com>
2022-12-05 20:55:52 +08:00
xiaoyifang 03d92168c9 action: sonar check 2022-12-05 13:39:30 +08:00
xiaoyifang e462a5c43e action: sonarcloud action 2022-12-05 10:43:06 +08:00
Xiao YiFang 2fc4af11a8 action: add sonar build action 2022-12-04 19:58:54 +08:00
xiaoyifang e80b277e90
Create build.yml 2022-12-02 14:34:21 +08:00
Xiao YiFang 131b00e728 accidently replace the eb github url 2022-11-29 20:48:24 +08:00
Xiao YiFang e7d4805e95 revert qt-install-action to original action 2022-11-29 10:16:06 +08:00
xiaoyifang 1284846d27 bump alpha version to 22.11.24 2022-11-24 17:04:03 +08:00
xiaoyifang a482a2116d [qt]remove qt6.4.1 in Windows due to bugs in qt 2022-11-24 16:39:01 +08:00
xiaoyifang e38532bb60 [github] windows xapian workflow 2022-11-23 10:58:26 +08:00
Xiao YiFang a2e258b367 bump release version to 22.11.22 LightSnow 2022-11-21 20:26:01 +08:00
Xiao YiFang c1964fc61a fix conflict 2022-11-21 20:24:10 +08:00
Xiao YiFang 4a129005df [github] add both qt6.3.2&qt6.4.1 2022-11-21 20:14:02 +08:00
Xiao YiFang dc29111e88 [win] remove multimedia plugin manual copy. qt6.4.1 has fixed this qt6.4.0 bug 2022-11-19 20:19:47 +08:00
Xiao YiFang b02b6f9bcb [action] bump qt version from 6.3.2 to 6.4.1 2022-11-18 20:28:26 +08:00
Xiao YiFang 67485fd875 [action] enable macos homebrew action 2022-11-16 21:10:45 +08:00
Xiao YiFang edea394892 [macos] add speex support 2022-11-15 21:14:34 +08:00
xiaoyifang bf22c9c77c
Merge pull request #191 from xiaoyifang/feature/remove-libao
feature: remove libao dependency and use QAudioSink(QAudioOutput) to …
2022-11-12 17:27:44 +08:00
Xiao YiFang 1b9faf70f5 add ffmpeg build 2022-11-12 13:57:23 +08:00
Xiao YiFang 1bfc5abf6c github: remove libao and install ffmpeg with speex 2022-11-12 09:34:09 +08:00
Xiao YiFang 16bc832a20 remove mac and windows dependency of libao 2022-11-12 09:34:09 +08:00
Xiao YiFang afdaf19ef9 [action] disable macos6.4.0 homebrew action 2022-10-28 19:46:26 +08:00
Xiao YiFang 286c3682ec linux appimage build with qt6.x 2022-10-27 17:12:14 +08:00
Xiao YiFang 6d8779442c change qt version to qt6.3.2
qt6.4.0 is buggy
2022-10-25 19:46:07 +08:00
xiaoyifang e4a083cccc
Update windows-publish.ps1 2022-10-14 10:47:30 +08:00
Xiao YiFang 1077ccb82b [github] bump qt version to 6.4.0 2022-10-13 20:17:24 +08:00
Xiao YiFang f0cc4424cb add ffmpeg action to build an universal package 2022-10-12 17:45:35 +08:00
Xiao YiFang c6fdff1352 [github] modify xapian release file name 2022-10-11 19:44:30 +08:00
Xiao YiFang c06e2a27c1 add xapian build instruction and github action 2022-10-06 07:54:28 +08:00
Xiao YiFang fba1b96b0e bump alpha version to 22.9.24 2022-09-23 19:59:03 +08:00
Xiao YiFang 62c66b79c8 bump release version to AutumnEquinox 2022-09-23 19:57:37 +08:00
Xiao YiFang 048919be16 action: modify windows installer 2022-09-19 21:03:14 +08:00
Xiao YiFang 81de016599 action: rename github actions 2022-09-19 20:37:39 +08:00
Xiao YiFang ec3f93f34e action: windows action remove comment line 2022-09-09 14:13:11 +08:00
Xiao YiFang df1c965c6f fix:homebrew action libao can not find any audio device 2022-09-09 14:01:28 +08:00
xiaoyifang ab9297c8a5
opt: refactor the homebrew macos action (#140) 2022-09-08 21:46:17 +08:00
xiaoyifang 1ad4eee806
add macos homebrew action (#138)
* action:add mac10.15 homebrew action
2022-09-08 13:33:26 +08:00
Xiao YiFang ae8b8f2d7d action:disable m1 action 2022-09-07 21:39:56 +08:00
Xiao YiFang 93a2510aec github: install hombrew 2022-09-06 07:43:46 +08:00
Xiao YiFang 89cbd92e5e github:action add version number to m1 action 2022-09-06 07:40:08 +08:00
Xiao YiFang f0e3c38970 github:add macos homebrew based package github action 2022-09-06 00:29:01 +08:00
Xiao YiFang 097cd44f3d github: modify release note 2022-08-31 22:51:57 +08:00
Xiao YiFang cda1cd51f8 fix: Win Specific, add help files 2022-08-26 20:36:01 +08:00
Xiao YiFang 77e6b69cc1 github: clean PullRequest check action 2022-08-23 19:38:23 +08:00
Xiao YiFang cc094bceb0 fix conflict 2022-08-23 19:34:36 +08:00
Xiao YiFang e5a26a2969 bump alpha version to 22.8.24 2022-08-22 20:37:30 +08:00
Xiao YiFang aa12e5a232 bump version to 22.8.23 release 2022-08-22 20:36:13 +08:00
Xiao YiFang 1c4ed819be merge dev and fix conflict 2022-08-22 20:32:52 +08:00
Xiao YiFang 990fab782d github: action release file name 2022-08-22 20:28:25 +08:00
Xiao YiFang 7bac467588 github: modify release note 2022-08-14 11:08:07 +08:00
Xiao YiFang 2832419ec0 github: release note change 2022-08-09 21:24:13 +08:00
Xiao YiFang efcf033f7e github: remove macos10.15 build version 2022-08-07 00:04:55 +08:00
Xiao YiFang af3960818f github:qt-install action can not work ,revert to previous workable commit 2022-08-07 00:03:13 +08:00
Xiao YiFang 68d8a14b9c github: add CONFIG+=no_extra_tiff_handler to action 2022-08-05 22:24:28 +08:00
xiaoyifang c0e5180679
Update windows-6.2.yml 2022-08-05 13:43:31 +08:00
Xiao YiFang 277b90657d bump alpha version to 22.7.24 2022-07-30 21:36:02 +08:00
Xiao YiFang 331cb296e0 bump release version to 22.7.3 2022-07-23 12:11:02 +08:00
Xiao YiFang a35c9a05aa fix merge conflict 2022-07-23 12:08:34 +08:00
Xiao YiFang 79cec220de github:remove qt6.2.4 build 2022-07-08 22:17:37 +08:00
Xiao YiFang 3c02fb7499 bump alpha version to 22.6.22 2022-06-19 10:16:31 +08:00
Xiao YiFang 1475590ae6 bump version to 22.6.21 2022-06-19 09:58:53 +08:00
Xiao YiFang cea97f5727 fix merge conflict 2022-06-19 09:46:39 +08:00
Xiao YiFang fa72de7b17 github:ubuntu 6.x appimage 2022-06-17 20:29:02 +08:00
Xiao YiFang 5c4a968781 github:upgrade qt6.3.0 to qt6.3.1 2022-06-16 21:08:01 +08:00
xiaoyifang c42326834a
Update ubuntu-6.2.yml 2022-06-16 10:06:46 +08:00