Commit graph

67 commits

Author SHA1 Message Date
xiaoyifang 5eac08c97a rename qt4x5.hh to utils.hh
the filename qt4x5 is not proper now,for the qt4 version can never meet.and the qt5 is actually mean qt>5 .
2021-12-13 22:45:35 +08:00
yifang.xiao 0365015ac6 clean code:
remove "#if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )" check ,the check should always be true based on current situation.
2021-12-13 22:45:33 +08:00
xiaoyifang 402add183e clean qt_version < 5 code. 2021-12-13 22:43:46 +08:00
Abs62 6d46fd1529 Zim, Aard: Fix language recognition from three-letter codes 2018-12-07 16:18:49 +03:00
Abs62 d7bc012411 Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
Abs62 fd00e9d156 Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
Abs62 5fa5cc123f Full-text search: Allow ignore diacritics while search 2018-04-10 17:49:52 +03:00
Abs62 76c862a773 Fix typo 2018-03-01 19:02:50 +03:00
Abs62 cbdad22f2d Qt5: Some optimizations for QRegularExpression 2018-02-28 17:15:27 +03:00
Abs62 c204f75e52 Qt5: Use QRegularExpression instead of QRegExp in many cases 2018-02-22 16:55:56 +03: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 cdf2c0d404 Add option to ignore words order while full-text search 2017-07-25 18:28:29 +03:00
Abs62 069be03271 Make headers in dictionary info translatable 2017-03-16 18:20:36 +03:00
Abs62 1ecf9aebe6 Merge branch 'Original' into Qt4x5 2015-11-03 01:45:17 +03:00
Abs62 5018f384f4 Aard: Handle inter-article anchors 2015-11-03 01:38:00 +03:00
Abs62 4b8de48e5c Merge branch 'Original' into Qt4x5 2014-11-27 18:53:52 +03:00
Abs62 83397ce8d5 DSL: Exclude tags [s], [url], [video], [preview] from indexing for full-text search 2014-11-22 17:22:04 +03:00
Abs62 c80334f05c AARD: Fix handling of links with apostrophe inside 2014-11-07 19:34:40 +03:00
Abs62 b9666f7f9f Merge branch 'Original' into Qt4x5
Conflicts:
	bgl_babylon.cc
2014-05-12 18:10:26 +04:00
Abs62 e2e4a6977c Mac-specific: Fix some warnings while compile under MacOS 2014-05-12 17:46:33 +04:00
Abs62 9c319da834 Merge branch 'Original' into Qt4x5
Conflicts:
	dictserver.cc
2014-05-10 00:05:07 +04:00
Abs62 055ae55abd Full-text search: Special handling for CJK chars 2014-05-08 16:38:00 +04:00
Abs62 273b1b5757 Merge branch 'Original' into Qt4x5
Conflicts:
	articleview.cc
	btreeidx.cc
2014-05-05 21:31:16 +04:00
Abs62 fb19fb183e Full-text search: Skip some text conversions while load article from Zim and Aard dictionaries 2014-04-29 22:17:06 +04:00
Abs62 488286a75f Some more errors handling 2014-04-25 17:13:56 +04:00
Abs62 10532279b1 Merge branch 'Original' into Qt4x5
Conflicts:
	article_netmgr.cc
	mainwindow.cc
2014-04-23 18:16:06 +04:00
Abs62 fd1d035c01 Add full-text search tuning tab to preferences dialog 2014-04-17 18:31:51 +04:00
Abs62 9ad0d5f985 Implement full-text search 2014-04-16 20:18:28 +04:00
Abs62 34271ecc1d Merge branch 'Temp' into Qt4x5
Conflicts:
	article_maker.cc
	article_netmgr.cc
	articleview.cc
	forvo.cc
	goldendict.pro
	hotkeywrapper.cc
	hunspell.cc
	mainwindow.cc
2013-12-18 19:09:48 +04:00
Abs62 387e8d8545 Some cosmetic in log 2013-11-17 00:38:05 +04:00
Abs62 444938a330 Fix logging to file UTF-8 encoded messages 2013-11-16 22:34:09 +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 4a414adfdc Some more unhandled exceptions 2013-09-24 17:56:47 +04:00
Abs62 c7b04526d2 Possibility to log GD console messages into file "gd_log.txt" in GD config directory. Activated by "--log-to-file" key in command line. 2013-09-20 18:25:44 +04:00
Timon Wong ee0fc80001 Merge branch 'master' into qt4x5
Conflicts:
	articleview.cc
	btreeidx.cc
	goldendict.pro
	mediawiki.cc
2013-08-02 17:00:16 +08:00
Abs62 c1cfbae60e Enhanced support for RTL languages in articles 2013-07-10 17:48:09 +04:00
Timon Wong 01ef08a709 Merge branch 'master' into qt4x5 2013-07-05 17:03:57 +08:00
Tvangeste 37a684f8cb Aard: Minor refactoring after code review 2013-07-04 18:00:37 +02:00
Tvangeste 6a20b9765a Aard: Better isolate the cards from each other; protect against broken HTML 2013-07-04 16:00:07 +02:00
Timon Wong f30c41dbf6 Remove Url::Class, add Qt4x5::Url::ensureLeadingSlash() and fix all related 2013-05-31 12:20:25 +08:00
Timon Wong ad4394d02b #212: Workaround for Qt5 changed behavior in QUrl::setPath() 2013-05-30 23:05:41 +08:00
Timon Wong 1d85f1b359 #212: Scratch, currently works under windows, for both Qt4 and Qt5 2013-05-30 21:24:21 +08:00
Abs62 57bf62fab0 Aard: Minor change in link handling 2013-05-22 18:16:57 +04:00
Abs62 8a1800ca33 Aard: fix outstanding elements (issue #309) 2013-05-11 16:37:06 +04:00
Abs62 94d838b189 Aard: change uintXX_t to corresponding quintXX types (fix template errors on some compilers) 2013-05-10 12:54:17 +04:00
Abs62 3583ac5b4a Aard: a little optimization during indexing 2013-05-08 16:52:05 +04:00
Abs62 3bde6cc3e8 Aard: localizable article loading error string 2013-04-29 17:57:19 +04:00
Abs62 bc65ccde94 Fix some tags handling in Aard dictionaries 2013-04-25 22:53:23 +04:00
Abs62 0c2d529d55 AARD: Don't try to read and decode too big articles, it is most likely error in dictionary 2013-04-23 20:40:35 +04:00
Tvangeste 0276d7f3ee Capitalize the language name in AARD's Wikipedia, Wiktionary and Wikiquote dictionaries.
Related to Issue #244.
2013-04-08 16:54:10 +02:00