Commit graph

140 commits

Author SHA1 Message Date
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 5bb2fce3c4 fix:clang warning in macos 2022-05-29 16:42:04 +08:00
Xiao YiFang 7910209ae1 clean code: remove dsl runnable ,remove comment endline carriage 2022-05-29 16:00:28 +08:00
Xiao YiFang 40f67d7f0f fix: dsl dictionary crash when skip expandOptionalParts as headword is too long 2022-05-21 22:50:04 +08:00
Xiao YiFang e9acba5383 opt: dsl dictionary use lambda function instead of Runnable class 2022-05-19 20:53:23 +08:00
xiaoyifang 658af8525e fix:QSemphaore changes 2022-04-10 09:33:55 +08:00
xiaoyifang 67c74136e8 optimize: tiff method refactor 2022-04-05 21:36:06 +08:00
yifang b652d50291 optimize: wchar use builtin char32_t
optimize: wchar use builtin char32_t
2022-02-17 22:33:58 +08:00
xiaoyifang c2b466ce19 Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +08:00
yifang 2baf7e2a4d fix: use gd's embed engine to play sound
there is a time during port phrase ,I just use the webengine to play
sound which is faster,but restricted to webengine's ability.
do not use webengine to play sound again.
revert to original state.
2022-01-31 08:39:50 +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
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 e7779e5302 fix todo 2021-12-13 22:43:46 +08:00
xiaoyifang 402add183e clean qt_version < 5 code. 2021-12-13 22:43:46 +08:00
xiaoyifang e07e0ec314 remove if 0 dead code 2021-11-17 22:19:32 +08:00
xiaoyifang f0a3df3d6f refract encoding method 2021-11-06 16:26:30 +08:00
xiaoyifang 02a88c98ad load dsl dictionary performance improved 2021-11-06 15:45:36 +08:00
yifang cc9fa33733 fix linux compile error 2021-10-23 12:05:16 +08:00
yifang bf2640bb25 play sound in the dictionary html 2021-09-23 13:05:05 +08:00
Abs62 72dfe25ff3 DSL: Fix resource loading in some cases 2021-02-13 11:23:00 +03:00
Abs62 5d7d553bb5 Dsl: Fix displayed headword selection for the case of ignore diacritic 2020-10-22 18:32:55 +03:00
Abs62 69e37a3d90 DSL: Show multi-word unknown tags 2020-10-09 20:49:35 +03:00
Abs62 b70c3e8c88 DSL: Show unknown tags 2020-10-05 18:44:53 +03:00
Abs62 02930198a8 DSL: Trim spaces in "s" and "url" tags 2019-09-26 19:40:39 +03:00
Abs62 f2aff9a3dd DSL: Strip tags "<<" and ">>" while full-text search 2019-09-19 18:04:36 +03:00
Abs62 2c5582ec33 DSL: Fix handling of dsl "@" subcard in first line of card 2019-09-19 18:03:52 +03:00
Abs62 780eabac47 DSL: Change of tags handling while full-text search 2019-09-18 18:32:40 +03:00
Abs62 04d9dc43f6 Fix some crashes (issue #1076) 2019-01-17 17:53:13 +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 1dc4c24966 DSL: Warnings about unknown and unfinished tags 2018-03-19 17:44:12 +03:00
Abs62 5409cdf2c9 DSL: Fix expand tildes for headwords with stress tag while full-text search 2018-03-09 23:43:15 +03:00
Abs62 b2169a3183 DSL: Expand tildes while full-text search 2018-03-09 18:47:11 +03:00
Abs62 9465fcefb5 DSL: Fix full-text indexing for case of unsorted parts in headword 2018-02-28 17:18:08 +03:00
Abs62 c204f75e52 Qt5: Use QRegularExpression instead of QRegExp in many cases 2018-02-22 16:55:56 +03:00
Abs62 f3c7e49364 DSL: One more warning in the log for better compatibility with Lingvo compiler 2017-11-08 17:51:15 +03:00
Abs62 635a44fced DSL: A little change in orphan strings search 2017-11-07 23:13:16 +03:00
Abs62 6aa6dbce82 DSL: Don't warn about orphan strings which contains whitespaces only 2017-11-07 21:02:48 +03:00
Abs62 7217a1e24c DSL: Write information about orphan strings to log file while indexing 2017-11-05 20:55:49 +03:00
Abs62 3b980f4c19 DSL: Handle round brackets while full-text search 2017-07-25 18:28:56 +03:00
Abs62 cdf2c0d404 Add option to ignore words order while full-text search 2017-07-25 18:28:29 +03:00
Abs62 d763c6ec81 Dsl: Add support for "#SOUND_DICTIONARY" directive 2017-07-09 20:15:35 +03:00
Abs62 fd28252253 Dsl: Allow dsl tags before subcard '@' sign 2017-07-04 17:41:38 +03:00
Abs62 5a0a8102b7 Dsl: One more fix for '@' handling 2017-07-04 01:01:51 +03:00
Abs62 992f800263 Dsl: More handle unescaped '@' symbols 2017-07-03 22:45:00 +03:00
Abs62 64afb464ed Dsl: Handle unescaped '@' symbols 2017-07-03 18:12:22 +03:00