Commit graph

426 commits

Author SHA1 Message Date
xiaoyifang 248252a698
[Win]: remove ffmpeg winlibs (#1167)
* [Win]: remove ffmpeg winlibs

* fix: remove qt 6.6.0

* fix: remove qt 6.6.0

* opt: disable ffmpeg

* opt: upgrade macos qt version to qt6.5.2

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
2023-09-26 00:01:54 +08:00
xiaoyifang 5d1f7f0206
opt: remove ffmpeg player (#1164)
* opt: remove ffmpeg player

* opt: remove ffmpeg player
2023-09-25 07:46:03 +08:00
YiFang Xiao 1f61dd5fee [macos]: fix ffmpeg dependencies 2023-09-24 13:28:10 +08:00
YiFang Xiao 6dbb4f7541 action: upgrade qt to 6.6.0 2023-09-23 08:48:53 +08:00
xiaoyifang a827a00714
fix: macos ffmpeg (#1157)
* fix: macos crash

fix #1144

* macos: auto fix dependencies

* macos: auto fix dependencies

* macos: auto fix dependencies

* macos: auto fix dependencies

* macos: auto fix dependencies

* macos: auto fix dependencies

* macos: auto fix dependencies

* fix:macos ffmepg

* fix:macos ffmepg

* fix:macos ffmepg

* fix: macos

* fix: macos

* fix: macos

* fix: macos

* fix: macos

* fix: macos

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
2023-09-21 10:35:47 +08:00
YiFang Xiao 85b8cf2f38 fix: disable ffmpeg to solve the #1144 issue 2023-09-16 15:11:55 +08:00
YiFang Xiao ed76ebc495 action: release note 2023-09-14 14:57:15 +08:00
YiFang Xiao 49dd2c0d5a macos: hdiutil create failed with resource busy 2023-09-14 14:48:36 +08:00
YiFang Xiao 88e0929a95 clean: remove unmet condition 2023-09-14 14:48:29 +08:00
YiFang Xiao 66522b17ce update alpha version 2023-09-10 19:02:07 +08:00
YiFang Xiao 52298f4491 action: vcpkg 2023-09-08 07:47:52 +08:00
YiFang Xiao c7259d2d97 action: vcpkg 2023-09-08 00:28:50 +08:00
YiFang Xiao 7d69212c3d action: add human friendly branch 2023-09-04 09:39:32 +08:00
xiaoyifang d5feca74e6
Merge pull request #1102 from xiaoyifang/action/macos-release
action: macos ,remove unused line
2023-08-29 13:33:11 +08:00
YiFang Xiao 42dd1e588f action: macos ,remove unused line 2023-08-29 11:43:42 +08:00
YiFang Xiao 6e0869b71f action: update release note , add flatpak 2023-08-29 09:43:35 +08:00
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
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
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 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
YiFang Xiao c9a81f4fad github:locale update will not trigger check 2023-05-05 15:32:20 +08:00