Commit graph

53 commits

Author SHA1 Message Date
shenleban tongying e66f97f7db refactor: remove FsEncoding::encode/decode
They never serve any purpose other than converting between std::string <> QString <> char*.
2023-04-14 07:27:59 +08:00
shenleban tongying 07e92e8ac1 refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
shenleban tongying 7476b5b154 refactor: simplify and speedup dictionary loading via a helper function 2022-12-25 09:07:36 -05:00
shenleban tongying fcfa4e43e2 refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
shenlebantongying 6fc3684b0a
Add Lingua Libre support (#268)
* lingua: add a dummy dict

* lingua: working but output plain json as article

* lingua: add html audio plays

* lingua: fix qmake build

* fix: qmake on mac INCLUDEPATH

* lingua: add config ui to dict sources edit dialog

* lingua: add config logics

* lingua: use the configured iso language code to do query

* lingua: style polish
2022-12-24 22:42:40 +08:00
Xiao YiFang 1ad358bb84 xapian remove obsolete ftx index 2022-10-07 17:08:10 +08:00
Xiao YiFang ba10f68c1c clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
xiaoyifang 0759259b76 Revert "optimize: for loop optimize"
This reverts commit 0e238c26fb.
2022-04-13 23:29:36 +08:00
xiaoyifang 0e238c26fb optimize: for loop optimize
mdx dictionaries take the most part of all dictionaries.
when loop through the filepath ,remove mdx file to reduce further check .
2022-03-24 20:41:32 +08:00
yifang.xiao ab358fb3a5 remove old qt(<5) code. 2021-12-13 22:43:43 +08:00
Abs62 d82320ce0d Don't expand symlinks while load dictionaries 2019-02-13 23:58:29 +03:00
Boyuan Yang 5d5432dbad
Fix typos found by codespell 2018-07-07 17:33:15 +08:00
Abs62 0b6f36479d Add config file parameter to limit headwords number to expand multi-word headwords while indexing (issie #914) 2017-10-25 17:37:39 +03:00
Abs62 eba7f5578f Add support for GLS (Babylon source) format 2017-03-07 16:45:09 +03:00
Abs62 b7a707d7c0 Websites: Add alternative loading method 2016-06-17 19:31:16 +03:00
Abs62 fcc2758eb3 Merge branch 'Original' into Qt4x5
Conflicts:
	goldendict.pro
2015-10-27 18:08:57 +03:00
Zhe Wang a1986254d2 ChineseConversion: conditional compilation and OpenCC exception handling 2015-10-26 09:38:22 +08:00
Zhe Wang 12f67a79a4 Support conversion between simplified and traditional Chinese characters 2015-10-20 00:00:35 +08:00
Abs62 40de8fcdd1 Merge branch 'Original' into Qt4x5 2015-02-09 18:57:32 +03:00
Abs62 0912df7cb5 Add SLOB dictionaries support 2015-01-22 18:17:05 +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 b9666f7f9f Merge branch 'Original' into Qt4x5
Conflicts:
	bgl_babylon.cc
2014-05-12 18:10:26 +04:00
Abs62 4120213ee8 Rename "DPRINTF" and "FDPRINTF" debug macro 2014-05-11 01:02:31 +04:00
Abs62 273b1b5757 Merge branch 'Original' into Qt4x5
Conflicts:
	articleview.cc
	btreeidx.cc
2014-05-05 21:31:16 +04:00
Abs62 ceb04dbd6a DICT protocol support 2014-05-02 17:36:50 +04:00
Abs62 816e523fae Fix removing of unused FTS index files in some special cases 2014-04-25 17:16:42 +04:00
Abs62 10532279b1 Merge branch 'Original' into Qt4x5
Conflicts:
	article_netmgr.cc
	mainwindow.cc
2014-04-23 18:16:06 +04:00
Abs62 9ad0d5f985 Implement full-text search 2014-04-16 20:18:28 +04:00
Abs62 8b6b6918b8 Don't use function removed in Qt5 2013-12-18 19:29:25 +04:00
Abs62 35708181f4 Warning in log for duplicated dictionaries ID 2013-11-16 23:03:36 +04:00
Abs62 444938a330 Fix logging to file UTF-8 encoded messages 2013-11-16 22:34:09 +04:00
Tvangeste eb6ddfe5e4 Don't treat folders with recognized dictionary extensions as dictionaries
For example, it makes no sense trying to initialize Test.dsl folder
as DSL dictionary.
2013-09-20 18:24:59 +02:00
Abs62 2e31b303ea Zim: Split files support 2013-09-19 18:04:04 +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
Abs62 c14ef3458f Win-specific: Add TTS support for Windows (by Timon Wong) 2013-04-24 18:52:04 +04: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
Maksim Tamkovič 1fb23efe1e Add belarusian transliteration 2013-01-20 22:15:24 +03:00
Tvangeste 7496f5f80c Configurable parameter for DSL headwords' maximum size.
By default, it is unchanged, still 256.

In those rare cases when users really need more lengthy
headwords, they could adjust the config file,
maxHeadwordSize parameter.
2013-01-11 11:00:30 +01:00
Abs62 faad6d2581 Images size limit for dsl dictionaries 2012-12-07 15:59:29 +04:00
Abs62 8bed9e80eb Support sound packs in zip archive (.zips) 2012-09-28 16:39:52 +04:00
Abs62 535fe0d3e0 Update year in copyright notices. 2012-02-21 01:47:14 +04:00
Abs62 81ee55aff7 Add support for Aard dictionaries (aar-html) 2012-02-09 16:50:38 +04:00
Abs62 79d24b80f6 Add support for Sdict dictionaries 2012-02-09 16:49:41 +04:00
Abs62 af53018709 XDXF dictionaries format support 2012-01-24 16:55:28 +04:00
Abs62 2763b74635 Use file names in UTF-8. Fix issue #30. 2011-09-09 16:05:28 +04:00
Abs62 36e509a2ab Replace printf in code by a macro DPRINTF 2011-06-19 22:50:11 +04:00
Konstantin Isakov 9960efc00d Add support for launching arbitrary executables (tts, manpages etc). 2011-05-28 22:08:37 -07:00
Konstantin Isakov 92eceb8cad Change email from @users.berlios.de to @goldendict.org. 2010-12-09 15:31:50 +03:00
Konstantin Isakov 953d9237a3 Update copyright to span to 2011.
Better early than late, this year is ending anyway.
2010-11-14 18:47:03 +03:00