Commit graph

48 commits

Author SHA1 Message Date
xiaoyifang fe1c609b49
Win Specific: upgrade opencc (#840)
* Win Specific: upgrade opencc

* opencc shared configuration file
2023-06-10 09:40:13 +08:00
xiaoyifang b855be1fbe
cmake: fix build on Windows Debug (#798)
* cmake: fix build on Windows Debug

* cmake: fix build on Windows Debug

* cmake: fix build on Windows Debug

* cmake: fix build on Windows Debug
2023-06-03 15:35:01 +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
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
Xiao YiFang 5918077018 [xapian] add windows support 2022-10-06 01:39:59 +08:00
xiaoyifang b50257a511 clean code:remove useless header file 2022-03-24 20:14:23 +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 709ae8ca3d winlib: update ao include file 2022-02-11 22:48:41 +08:00
xiaoyifang b7c2169695 winlib: update opencc to 2020-04-26 2022-02-11 21:54:14 +08:00
xiaoyifang 1d72c72791 winlib: update ffmpeg include files. 2022-02-06 18:30:57 +08:00
Abs62 1eb5429f27 Win-specific: Add swresample library 2020-07-18 19:45:45 +03:00
Abs62 6e85b27337 Add Zstd compression support for ZIM format 2020-05-27 14:13:08 +03:00
Abs62 80a57ba344 Win-specific: Update FFmpeg libraries to version 4.2.1 2019-09-27 16:59:45 +03:00
Abs62 ba145fac47 Win-specific: Update lzma library to version 5.2.3 2018-03-06 18:31:03 +03:00
Abs62 4abc4284a1 Win-specific: Update libz library to version 1.2.11 2017-12-20 23:30:06 +03:00
Abs62 0c8e76ef50 Win-specific: Update libao library to version 1.2.2 2017-12-09 17:57:01 +03:00
Abs62 1da595c91b Win-specific: Update iconv library to version 1.15 2017-07-09 17:14:32 +03:00
Abs62 f2a30c29cc Win-specific: Update hunspell library to version 1.6.1 2017-07-05 18:18:32 +03:00
Abs62 a486c13aec Win-specific: Update libtiff to version 4.0.8 2017-07-03 18:35:56 +03:00
Abs62 c689487614 Win-specific: Update OpenCC library 2016-10-27 17:52:55 +03:00
Abs62 f890be204f Merge branch 'Original' into Qt4x5 2016-04-15 22:15:58 +03:00
Abs62 305ce3b6e0 Win-specific: Update OpenCC library to last git version 2016-04-15 18:38:03 +03:00
Abs62 5731349f06 Merge branch 'Original' into Qt4x5 2016-04-09 11:09:55 +03:00
Abs62 81a7ea2983 Win-specific: Update FFMpeg libraries 2016-04-08 00:43:27 +03:00
Abs62 fcc2758eb3 Merge branch 'Original' into Qt4x5
Conflicts:
	goldendict.pro
2015-10-27 18:08:57 +03:00
Abs62 9f32149a30 Add OpenCC libraries and data for Windows 2015-10-26 21:20:12 +03:00
Abs62 35433d9ea6 Merge branch 'Original' into Qt4x5 2014-05-27 17:59:50 +04:00
Abs62 d9169bd45b Add support for Epwing dictionaries 2014-05-20 17:59:56 +04:00
Abs62 0fa4087b38 Merge branch 'Original' into Qt4x5
Conflicts:
	goldendict.pro
	mainwindow.cc
	zim.cc
	zipsounds.cc
2014-02-11 23:39:31 +04:00
Abs62 0c2b182647 Handle 1-bit black/white TIFF images without photometric interpretation tag
(QImage don't handle such images)
2014-02-11 18:02:00 +04:00
Abs62 1f87d8a911 Merge branch 'master' into Qt4x5
Conflicts:
	btreeidx.cc
	goldendict.pro
	lsa.cc
	mouseover.cc
	sounddir.cc
	xdxf2html.cc
2013-09-27 17:03:27 +04:00
Abs62 68665167d5 Add ZIM format support (issue #267). Now turned on by default for Windows only. Under Linux/MacOS use "qmake "CONFIG+=zim_support"" (liblzma-dev package required. Or take xz 5.0.5 sources from http://tukaani.org/xz/ and compile it). 2013-09-14 20:17:32 +04:00
Timon Wong 1d85f1b359 #212: Scratch, currently works under windows, for both Qt4 and Qt5 2013-05-30 21:24:21 +08:00
Abs62 7555f89fad Win-specific: Update zLib to last official version 1.2.8 (issue #299) 2013-05-08 22:35:52 +04:00
Timon Wong 13654324d1 Add win libs and build scripts for libao and ffmpeg 2013-05-05 18:16:31 +08:00
Timon Wong cdab08a1ef MDict (.mdx/.mdd) format support
summary

* mdd is complementary resource archive for mdx (dictionary file)
* lzo2 library for (old) MDict version 1 file format
* try Load bass_spx.dll under windows for speex decoding
* internal redirection "@@@LINK=" for both mdx and mdd
2013-04-23 20:07:05 +08:00
Abs62 03af1da9af Win-specific: Play sounds via Bass library 2012-11-23 16:43:36 +04:00
Abs62 2f9050ab0e Win-specific: Update third-party libraries to last official version
ZLib to 1.2.7
libiconv to 1.14
libogg to 1.3.0
libvorbis to 1.3.3
2012-11-01 16:54:19 +04:00
Abs62 79d24b80f6 Add support for Sdict dictionaries 2012-02-09 16:49:41 +04:00
Abs62 5710595120 Change libiconv to last official version 1.13.1
ATTENTION: New iconv dll have name libiconv-2.dll and located in winlibs\lib folder. Place it to GoldenDict.exe folder. Old library libiconv2.dll can be removed.
2011-07-19 22:30:34 +04:00
Abs62 a3e3ab2ad8 Change libhunspell to last official version 1.3.2 2011-07-19 22:27:47 +04:00
Abs62 e41f8e9384 Remove unneeded files from /winlibs
Remove *.a and *.dll from .gitignore
2011-07-19 22:22:16 +04:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00