shenleban tongying
0cb3bb9142
refactor: abstract FsEncoding::dirname(getDictionaryFilenames()[0])
...
* FsEncoding::dirname is mostly used with getDictionaryFilenames()[0] to obtain the containing folder of a dict
* Abstract them into Dictionary::Class::getContainingDir()
* FsEncoding::dirname is removed
2023-04-14 12:53:53 +08:00
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
xiaoyifang
8349295b00
fix: rewrite atEnd function
...
take the code from vedgy's webengine port
2023-03-30 14:41:39 +08:00
Xiao YiFang
9437579d24
use nonblock datarequest
2023-03-29 23:16:17 +08: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
df0622d216
xapian revert the needToRebuildBTreeIndex to needToRebuildIndex
2022-10-08 21:16:15 +08:00
Xiao YiFang
c930687055
xapian indexisold function adjusted
2022-10-08 21:02:52 +08:00
Xiao YiFang
36491e8e0b
xapian incremental fullindex building
2022-10-06 19:32:45 +08: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
4ab26f687c
mdx normal index check logic
2022-10-06 01:39:59 +08:00
Xiao YiFang
6a34804df2
opt: add xapian support
...
opt: add xapian fullindex support
2022-10-06 01:39:59 +08:00
Xiao YiFang
c1953f9d47
opt:website customize icon
2022-09-09 13:53:56 +08:00
Xiao YiFang
fb2322c53e
auto generate icon ,fill background
2022-08-13 16:17:29 +08:00
Xiao YiFang
a20406dc39
custom icon generate
2022-08-10 22:08:40 +08:00
Xiao YiFang
a8817242bf
custom icon generate
2022-08-10 20:55:43 +08:00
Xiao YiFang
25c9c38e96
certain image will cause application to crash
...
related to qtbug https://bugreports.qt.io/browse/QTBUG-105265
2022-07-31 10:27:31 +08:00
Xiao YiFang
ba10f68c1c
clean code: replace throw() with noexcept
2022-06-03 21:29:06 +08:00
YiFang Xiao
0ea3ad0149
fix:if the applciation has a very large icon ,the application will crash
2022-04-17 20:37:36 +08:00
xiaoyifang
c664ac315c
dictionary group ,id match performance improve .
...
use qmap to replace the double for loop check.
2022-03-14 00:17:34 +08:00
xiaoyifang
c2b466ce19
Merge branch 'feature/cpp-refactor-code' into staged
2022-02-03 17:51:40 +08:00
xiaoyifang
0c94406e2a
fix merge conflict with feature/deprecated
2022-02-03 17:50:47 +08:00
xiaoyifang
3aa76886d0
high api: draw image with antialiasing
2022-01-23 13:25:15 +08:00
xiaoyifang
c7d33f4eb9
clean code: remove old cpp feature
2022-01-09 16:35:07 +08:00
yifang
46b4151cc4
improve: replace all the deprecated method before 5.15
2022-01-08 22:08:23 +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
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
03db65a4c6
Fix comments stripping while CSS isolation
2018-02-26 17:33:55 +03:00
Abs62
c204f75e52
Qt5: Use QRegularExpression instead of QRegExp in many cases
2018-02-22 16:55:56 +03:00
Abs62
8edb5435d8
Speeding-up CSS parsing for big one-line ones
2017-10-08 00:05:36 +03:00
Abs62
b777cd8e18
Update .css parsing for rules isolation
2017-10-07 19:10:57 +03:00
Abs62
cdf2c0d404
Add option to ignore words order while full-text search
2017-07-25 18:28:29 +03:00
Abs62
eb78238f25
Add support for split zip files
2017-04-24 17:42:01 +03:00
Abs62
35433d9ea6
Merge branch 'Original' into Qt4x5
2014-05-27 17:59:50 +04:00
Abs62
58fa9da188
Fix handling of wildcard symbol at first position in search line (issue #492 )
2014-05-26 18:06:00 +04:00
Abs62
d9169bd45b
Add support for Epwing dictionaries
2014-05-20 17:59:56 +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
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
Timon Wong
e09ca5402d
Merge branch 'master' into qt4x5
...
Conflicts:
goldendict.pro
2013-08-19 10:54:38 +08:00
Tvangeste
148fd1f275
Fix compilation failures with Visual C++ 2012 (issue #375 )
2013-08-07 20:29:36 +02: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
1dd5bd2eb2
A little refactor of find of language writing direction
2013-07-16 18:23:42 +04:00
Abs62
c1cfbae60e
Enhanced support for RTL languages in articles
2013-07-10 17:48:09 +04:00
Timon Wong
1d85f1b359
#212 : Scratch, currently works under windows, for both Qt4 and Qt5
2013-05-30 21:24:21 +08:00
Timon Wong
8b2efc062f
MDict: Narrow selector scope for better CSS isolation (probably)
2013-05-28 15:00:36 +08:00