Commit graph

476 commits

Author SHA1 Message Date
YiFang Xiao cadb234c08 action: windows specific, update makensis version 2023-08-13 21:06:31 +08:00
YiFang Xiao fce9bec4f2 action: output new syntax 2023-08-13 20:50:55 +08:00
xiaoyifang 2d4b6b3918
action: macos zim dependencies fix with dylibbundler (#1066)
* action:macos ,manually otool package

* action: macos fix dylib
2023-08-13 17:53:39 +08:00
xiaoyifang 4ed7508eb4
action: replace deprecated set-output with new syntax (#1068)
* action: replace deprecated set-output with new syntax

* action: replace deprecated set-output with new syntax
2023-08-13 11:57:13 +08:00
YiFang Xiao aa2cfee466 action: decrease the minimum match percent to translate 2023-08-12 12:42:18 +08:00
xiaoyifang e2ba650a5d
action: sonar cloud analysis (#1039)
* action: sonar cloud analysis

* action: sonar cloud analysis

* action: sonar cloud analysis

* action: sonar cloud analysis

* action: sonar cloud analysis

* action:sonar cloud

* action: sonar cloud analysis

* action: sonar cloud analysis

* action: sonar cloud

* action: sonar cloud

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
2023-08-05 12:52:12 +08:00
YiFang Xiao 623cc83c39 action: sonar cloud analysis 2023-08-04 13:51:07 +08:00
YiFang Xiao 1002358631 action:macos,does not need libicu.dylib any more 2023-08-04 11:29:57 +08:00
YiFang Xiao 907e1fc33b action: macos ,remove python 2023-08-02 10:21:35 +08:00
YiFang Xiao b80a3cb748 action: auto tag action 2023-07-31 10:56:56 +08:00
YiFang Xiao 2cb7570365 action: unify tag and release tag name 2023-07-30 22:20:17 +08:00
shenleban tongying 878fc2c4b2
add missing appdir/usr path for qt6 appimage build 2023-07-30 07:51:17 -04:00
shenleban tongying 10231bfca4
action: use cmake for Qt6 appimage build 2023-07-30 04:48:18 -04:00
xiaoyifang 97a32e3dca
fix: clang format action (#1017)
* action: format

* action: format

* action: format

* Update auto format.yml

* Update .github/workflows/auto format.yml

* Update auto format.yml

* test

* [autofix.ci] apply automated fixes

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-27 22:45:50 +08:00
YiFang Xiao f642c9aa76 action:bump qt verstion to qt6.5.2 2023-07-26 20:40:56 +08:00
YiFang Xiao 6f36ac897e action: macos find previous tag 2023-07-26 15:24:50 +08:00
shenleban tongying f9b1d3fa92
fix typo of app id 2023-07-25 08:04:49 -04:00
YiFang Xiao ca92abbe9c action:bump alpha version to 23.07.25 2023-07-25 13:36:42 +08:00
shenleban tongying 53d82f97ca
Another various changes required by Flatpak 2023-07-24 06:58:56 -04:00
YiFang Xiao f97bfc039f action: clang format 2023-07-19 21:13:40 +08:00
YiFang Xiao 7c9fee4620 github: update bug template 2023-07-18 14:32:38 +08:00
xiaoyifang 5f2a1981c0
Update bug_report.md 2023-07-18 07:56:21 +08:00
xiaoyifang d8a0367eeb
Update bug_report_cn.md 2023-07-18 07:54:59 +08:00
xiaoyifang ce8b8a60bb
feat: add font customization (#973)
* action: auto clang format changes

action: clang-format

* feat: add separator tab to configure the font family for the web engine.

feat: custom fonts

feat: add custom font

i18n: update crowdin translation files

* [autofix.ci] apply automated fixes

* feat: add notice about the font customization

* feat: adjust interface layout

* i18n: update transaltion source

* fix: code smells

* feat: custom font layout adjustment

* i18n: update translation items

* feat: adjust layout of custom fonts

* i18n: new

* feat: adjust layout

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-16 18:54:07 +08:00
YiFang Xiao bfba6e1f67 action: use autofix.ci to format code
opt: ignore clang-format on style/js files

action: prettier ignore file
2023-07-15 14:04:52 +08:00
YiFang Xiao d9c16a2f86 action: release note 2023-07-12 20:34:21 +08:00
YiFang Xiao 02cc2649dd action: remove commit log changes
when package a release version , the commit log will be too much
2023-07-12 14:59:30 +08:00
shenleban tongying 65ebdf0e4c
doc: updates
* use repology.org to replace manually created linux package list [0]
* update debian/ubuntu dependencies (delete outdated fedora one)
* update all build doc to qt6
* add cmake flags info
* merge all build instructions into one
* add more ocr examples
* add links and fix dictionary formats info
* misc
2023-07-06 01:23:51 -04:00
shenleban tongying 223d945f95
docs: simplify release page 2023-07-02 04:09:20 -04:00
YiFang Xiao 113d02c22b action: remove qt6.5.1 on macos 2023-06-27 18:22:45 +08:00
YiFang Xiao f186e1d1e9 action: windows package order 2023-06-23 17:16:47 +08:00
YiFang Xiao 2a7d4d5e5b action: build when github/**yml changed 2023-06-23 16:25:55 +08:00
YiFang Xiao 8f6452ce12 action: ubuntu build libzim from source 2023-06-23 15:33:10 +08:00
YiFang Xiao 53bcac412b action: remove xapian in the action name
macos add qt6.4.3 package
2023-06-23 12:27:51 +08:00
YiFang Xiao 0a9a053945 opt: enable breakpad on macos
action: add macos breakpad workflow

action: breakpad

action: breakpad

action: breakpad dmg

action: breakpad

action: macos breakpad action does not need to build automatically
2023-06-23 09:28:35 +08:00
YiFang Xiao 9e9e0dc495 action: release tag 2023-06-22 21:27:28 +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
YiFang Xiao 2cf5ccdcdd ubuntu: appimage use ubuntu 20.04 instead
fix #874
2023-06-18 19:52:59 +08:00
YiFang Xiao d614430a77 action: add github action release log option 2023-06-16 20:42:42 +08:00
YiFang Xiao 7768ce5318 action: modify release note 2023-06-12 11:07:07 +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 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
YiFang Xiao 4623eb2e8e fix: macos icudata can not be found 2023-06-07 08:39:28 +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 251fec8ea3 action: remove invalid property cached with qt-action 2023-06-05 22:05:22 +08:00
YiFang Xiao e7ef0d31e2 action: update release note 2023-06-05 16:13:10 +08:00
YiFang Xiao 4e1ea82ab7 action: translator add russian 2023-06-04 00:23:42 +08:00
YiFang Xiao 85b2a98dec action: windows script 2023-06-03 19:15:27 +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
YiFang Xiao 5fdc68fc1e action:change log 2023-06-03 15:37:30 +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
shenleban tongying 1a62593e03
action: add fcitx im module to AppImage builds 2023-06-02 15:19:37 -04: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
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
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 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
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
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 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
YiFang Xiao f559f43edb opt: remove obsolete GitHub action 2023-05-28 21:46:37 +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 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