Commit graph

79 commits

Author SHA1 Message Date
shenleban tongying 32304d4b15 cleanup: remove all useless #include <QDebug>
All Qt Headers already implicitly included it.
2023-03-21 21:15:14 +08:00
shenleban tongying 2aeed5e705 clang-tidy: apply modernize-use-override 2022-12-29 02:14:53 -05:00
shenleban tongying fcfa4e43e2 refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
shenleban tongying 4452c06c3e Replace sptr with std::shared_ptr
* Make sptr an alias of std::shared_ptr
* Make old sptr's implicit conversion explict through std::make_shared
2022-11-28 22:54:31 -05:00
Xiao YiFang 83b36a7316 xapian ,fullindex file name different in normal mode and xapian mode 2022-10-06 11:04:48 +08:00
Xiao YiFang ba10f68c1c clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
xiaoyifang 30ce781e6a Revert "improve:handle invalid tag soup improvement, related to old issue #271"
This reverts commit 37d22bc412.
2022-04-10 20:07:00 +08:00
YiFang Xiao b771f0e340 optimize the utf8::encoding method invocation. 2022-04-01 20:09:15 +08:00
yifang fb2eac9b5e upgrade to 6.2,linux compile 2022-03-11 22:14:40 +08:00
xiaoyifang 7b5511a7bd upgrade to qt6.2 2022-03-11 22:00:45 +08:00
xiaoyifang c2b466ce19 Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +08:00
xiaoyifang 3aa76886d0 high api: draw image with antialiasing 2022-01-23 13:25:15 +08:00
yifang 262e650779 fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now.
do not affect functionality.only existed in comments.
2022-01-15 15:29:20 +08:00
yifang 37d22bc412 improve:handle invalid tag soup improvement, related to old issue #271 2022-01-11 20:33:46 +08:00
xiaoyifang c7d33f4eb9 clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
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 04d9dc43f6 Fix some crashes (issue #1076) 2019-01-17 17:53:13 +03:00
Boyuan Yang 5d5432dbad
Fix typos found by codespell 2018-07-07 17:33:15 +08:00
Abs62 d7bc012411 Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
Abs62 b002fece6d Fix some more warnings (issue #978 again) 2018-05-22 17:48:14 +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 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 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 fa9d1aecd9 Add option to enable/disable search via synonyms 2017-03-09 19:11:17 +03:00
Abs62 f890be204f Merge branch 'Original' into Qt4x5 2016-04-15 22:15:58 +03:00
Abs62 65eaeabb1d Use own isspace() implementation in all places 2016-04-15 17:44:53 +03:00
Abs62 e24de4d881 Merge branch 'Original' into Qt4x5
Conflicts:
	xdxf2html.cc
2015-10-14 18:23:46 +03:00
gnudles c1e30b0240 more accurate hebrew character translation
the hebrew characters in the Windows 1255 encoding has a set of "vowel-points" which lays in the range of 192-210.
they lay the same way in the unicode relative to the hebrew letters...
2015-06-25 23:53:04 +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 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 9c319da834 Merge branch 'Original' into Qt4x5
Conflicts:
	dictserver.cc
2014-05-10 00:05:07 +04:00
Abs62 3607529454 Full-text search: Fix retrieving of some headwords for BGL dictionaries 2014-05-09 01:26:03 +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 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 df94e2ee80 Fix some crashes 2014-04-21 00:02:41 +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 4cf35cc7e3 Merge branch 'Original' into Qt4x5
Conflicts:
	hotkeywrapper.hh
	mainwindow.cc
	mainwindow.hh
2014-04-11 19:29:56 +04:00
Abs62 75ed1947ed BGL: Fix "width" attribute handling (issue #462) 2014-04-10 18:11:44 +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 444938a330 Fix logging to file UTF-8 encoded messages 2013-11-16 22:34:09 +04:00