Commit graph

48 commits

Author SHA1 Message Date
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 7b5511a7bd upgrade to qt6.2 2022-03-11 22:00:45 +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 c7d33f4eb9 clean code: remove old cpp feature 2022-01-09 16:35:07 +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
xiaoyifang bec982c51e remove dead code 2021-09-22 12:01:17 +08:00
Abs62 04d9dc43f6 Fix some crashes (issue #1076) 2019-01-17 17:53:13 +03:00
Abs62 0d9a12a7e4 DictD: Fix dictionary name recognition for dictionaries from freedict.org (issue #1075) 2018-10-26 20:18:58 +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 fe39fc8a05 Qt5: More QRegularExpression instead of QRegExp 2018-02-27 20:18:35 +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 65eaeabb1d Use own isspace() implementation in all places 2016-04-15 17:44:53 +03:00
Abs62 15d9779a47 DictD: Fix handling of some links 2016-04-12 19:48:10 +03:00
Abs62 367aac43bf DictD: One more fix for dictionary description 2015-02-26 17:37:20 +03:00
Abs62 a6d9228c70 DictD: Fix some dictionary descriptions 2015-02-25 18:50:53 +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 4120213ee8 Rename "DPRINTF" and "FDPRINTF" debug macro 2014-05-11 01:02:31 +04:00
Abs62 055ae55abd Full-text search: Special handling for CJK chars 2014-05-08 16:38:00 +04:00
Abs62 fbcaf7c2cb Some more error handling 2014-04-24 22:50:47 +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 d22c08d8cd Fix compilation under Linux (issue #449) 2014-03-20 17:42:51 +04:00
Abs62 1ea012e5b1 Show description for DictD dictionaries 2014-03-19 17:59:39 +04:00
Abs62 444938a330 Fix logging to file UTF-8 encoded messages 2013-11-16 22:34:09 +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
Abs62 0e5a26cb02 Additional detection for text direction in plain text articles 2013-07-13 15:24:58 +04:00
Abs62 c1cfbae60e Enhanced support for RTL languages in articles 2013-07-10 17:48:09 +04:00
Tvangeste ca3347e412 Dictd: Properly style the phonetic data and references/links 2013-06-18 15:25:04 +02:00
Tvangeste 2c901d5bd3 Dictd: Support extended Dictd format (--index-keep-orig) with 4 entries in the index
See the dictfmt man:

 --index-keep-orig
    When --utf-8 is specified  headwords  are  lowercased  and  non-
    alphanumeric  characters  are  removed  from it before saving to
    .index  file  in   order   to   simplify   the   search.    When
    --index-keep-orig  option  is  used fourth column is created (if
    necessary) in .index file, and  contains  an  original  headword
    which  is  returned by MATCH command.  This option may be useful
    to prevent converting " AT&T" to " ATT" or to keep proper  nouns
    with uppercased first letter.
2013-06-16 19:49:55 +02:00
Abs62 2d76ced4d3 Handle dictzip errors without program termination (Fix issue #207) 2013-03-15 16:27:32 +04:00
Tvangeste f595b37fd0 Better Dictd dictionary name detection (Issue #237). 2013-03-13 10:55:22 +01:00
Tvangeste 97ef5aa995 Fixed #237: Proper dictionary title (DICT format) 2013-03-13 10:47:00 +01:00
Julian Depetris Chauvin 03dfdd8059 Custom icon support for babylon and dictd dictionaries
Custom user icon always override embedded icon
2013-01-31 21:15:40 -03:00
Abs62 dacc4779db Rework custom dictionary icons handling 2012-12-03 16:47:43 +04:00
Abs62 535fe0d3e0 Update year in copyright notices. 2012-02-21 01:47:14 +04:00
Abs62 99fe9474ac Move tryPossibleName and loadFromFile functions into File namespace 2012-01-30 17:11:41 +04:00
Abs62 7de7fcc8df Replace fprintf(stderr,...) in code by a macro FDPRINTF 2011-06-20 00:29:11 +04:00
Abs62 36e509a2ab Replace printf in code by a macro DPRINTF 2011-06-19 22:50:11 +04:00
Konstantin Isakov 92eceb8cad Change email from @users.berlios.de to @goldendict.org. 2010-12-09 15:31:50 +03:00
Konstantin Isakov 953d9237a3 Update copyright to span to 2011.
Better early than late, this year is ending anyway.
2010-11-14 18:47:03 +03:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Renamed from src/dictdfiles.cc (Browse further)