Commit graph

97 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
Abs62 8e2e6d8658 Zim: One more check for Zim header 2023-01-24 20:02:13 +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 c2607dbb31 fix : zim resource link 2022-11-24 07:16:18 +08:00
Xiao YiFang f3975837c4 fix: fix zim resource namespace
remove possible namespace from the article,the namespace should follow the following pattern '/J/resoucename.js' etc
2022-11-23 20:40:19 +08:00
xiaoyifang aa9ed9bc38 fix:zim regression
image can not displayed
2022-11-22 22:12:55 +08:00
Xiao YiFang 520345dadc fix a regression caused by commit f730a4aabc
fixed: #210
2022-11-21 20:03:04 +08:00
Xiao YiFang c75c9cc74b zim: move regex to globalregex 2022-11-19 16:39:41 +08:00
Xiao YiFang 9f6ed1eec2 zim img src link replace regex changes 2022-11-19 16:23:43 +08:00
Xiao YiFang f730a4aabc fix: zim dictionary auto refresh logic
fix <meta http-equiv="Refresh"
2022-11-19 15:23:22 +08:00
Xiao YiFang df0622d216 xapian revert the needToRebuildBTreeIndex to needToRebuildIndex 2022-10-08 21:16:15 +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 55d7c6ee2b [xapian]:add zim fullindex xapian support 2022-10-06 09:15:59 +08:00
Xiao YiFang bd02d65ecc concurrent run will crash application 2022-06-19 20:26:39 +08:00
Xiao YiFang aa93d9f2d9 opt: replace string() with QString::toStdstring 2022-06-06 20:22:55 +08:00
Xiao YiFang ba10f68c1c clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
Xiao YiFang 077d139fb5 fix merge conflict 2022-06-01 23:23:41 +08:00
Abs62 f9652487b9 Zim: A little more support for new format features 2022-06-01 17:51:56 +03:00
xiaoyifang 35efa7ac06
Merge branch 'goldendict:master' into staged 2022-06-01 07:24:52 +08:00
Abs62 55122eb739 Zim: Handle new namespace (issue #1502) 2022-05-31 21:08:47 +03:00
Xiao YiFang 7d0523b503 clean code:remove runnable in zim.cc 2022-05-29 16:00:28 +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
xiaoyifang 92873418a6 Revert "fix: some zim dictionary can not parse correctly"
This reverts commit 7dae5186ab.
2022-04-08 23:21:29 +08:00
xiaoyifang 67c74136e8 optimize: tiff method refactor 2022-04-05 21:36:06 +08:00
xiaoyifang 7dae5186ab fix: some zim dictionary can not parse correctly 2022-04-04 11:39:09 +08:00
YiFang Xiao 2100ec8e5d fix:zim url parse 2022-04-03 21:02:31 +08:00
xiaoyifang d9cf008292 clean code:reduce double whiteline to one 2022-04-03 19:59:29 +08:00
xiaoyifang 92e2708fae fix: zim dictionary has improper link caused the application not function well.
https://github.com/goldendict/goldendict/issues/1472#issuecomment-1086776611
2022-04-03 19:39:58 +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
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
yifang a4133761ee revert to qthreadpool 2022-01-08 18:37:59 +08:00
yifang 8e6f4c2c10 zim dictionary:remove semphore 2021-12-28 20:29:27 +08:00
yifang 4157fb387e zim dictionary ,pictures does not show up 2021-12-27 21:15:13 +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
data-man 278c143a05 Use std::sort in suitable places 2021-02-01 15:00:31 +00:00
Abs62 8e13789e8f Zim: Handle clusters in random order case 2020-10-06 17:52:30 +03:00
Abs62 6e85b27337 Add Zstd compression support for ZIM format 2020-05-27 14:13:08 +03:00
Abs62 d54e0ca9fd Fix some data races (issue #1218) 2019-11-19 19:20:44 +03:00
Abs62 6d46fd1529 Zim, Aard: Fix language recognition from three-letter codes 2018-12-07 16:18:49 +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 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