Commit graph

28 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
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 731e54d718 remove eb.lib and use source directly
update eb submodule
2023-05-07 16:55:18 +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 859def7ae0 feat:add iconv as an extra encoding converter
win specific:add iconv libs to winlibs
2023-02-01 23:33:46 +08:00
Xiao YiFang 16bc832a20 remove mac and windows dependency of libao 2022-11-12 09:34:09 +08:00
xiaoyifang a24a0a713f change msvc lib readme 2022-10-28 14:34:09 +08:00
Xiao YiFang 9b240d1c59 [win specific]: remove unused dll 2022-10-12 20:37:32 +08:00
Xiao YiFang 5918077018 [xapian] add windows support 2022-10-06 01:39:59 +08:00
xiaoyifang 335072b29b winlibs:remove iconv.lib 2022-03-08 21:43:12 +08:00
xiaoyifang d1c4611923 remove iconv lib 2022-02-26 15:13:24 +08:00
xiaoyifang 9e6a1eb7f8 winlib:update ao lib 2022-02-16 22:21:17 +08:00
xiaoyifang c4ecd9ab7b action: add condition to clang-format check
winlibs: remove lib/msvc/libao-4.dll
2022-02-12 18:28:19 +08:00
xiaoyifang f1ac774904 winlib: update ao lib 2022-02-11 23:14:34 +08:00
xiaoyifang b41d7c727e winlib:update ao 2022-02-11 22:32:06 +08:00
xiaoyifang 860cdbc467 winlib: update ao dll 2022-02-11 21:54:16 +08:00
xiaoyifang b7c2169695 winlib: update opencc to 2020-04-26 2022-02-11 21:54:14 +08:00
xiaoyifang 50156890aa winlib: update ffmpeg libs 2022-02-05 12:50:10 +08:00
xiaoyifang 8fad509814 win specific: update ffmpeg dll lib 2022-02-02 16:17:53 +08:00
xiaoyifang 882d70a2a9 win specific:update ffmpeg libs 2022-02-02 14:32:03 +08:00
xiaoyifang 3ec1966877 winlib:add ssl dll 2022-01-29 13:50:41 +08:00
xiaoyifang 8d9267aa4e winlib : add msys-2.0.dll msys-iconv-2.dll those dlls was referenced by avcodec-gd-59.dll 2022-01-22 19:51:36 +08:00
xiaoyifang 4a461be7ba add 64 bit lib hunspell 2022-01-18 21:14:29 +08:00
xiaoyifang fc3e73cea1 Win Specific:ajust win lib.uplod precompiled lib.ease user the trouble to build . 2022-01-16 21:34:46 +08:00
xiaoyifang f727e3a28f Win Specific:ajust win lib.uplod precompiled lib.ease user the trouble to build . 2022-01-16 21:32:18 +08:00
Tvangeste 323ddaa34e Added submodule with MSVC++ 2012 prebuilt libraries
A submodule used instead of direct way of putting files into a repository
so that the official repo won't grow too much in size and since MSVC++
dependencies are not typically needed (on Linux/Mac and Windows with MinGW).

For those who don't need MSVC++ libs, they should just ignore the submodule.

Those who'd like to play with MSVC++ build should invoke:

git submodule init
git submodule update
2013-08-11 23:40:36 +02:00
Tvangeste a9d2ba7c84 remove the msvc directory in order to create a git module instead 2013-08-11 23:36:15 +02:00
Tvangeste ff362dca6c README for MSVC++ libraries 2013-08-07 20:43:08 +02:00