Commit graph

57 commits

Author SHA1 Message Date
Abs62 99a4e00b65 Full-text search: Fix find headwords by unsorted offsets 2018-03-09 02:16:15 +03:00
Abs62 7b4e5a2ff7 Full-text search: A little optimization for memory allocation 2018-03-01 18:44:11 +03:00
Abs62 c204f75e52 Qt5: Use QRegularExpression instead of QRegExp in many cases 2018-02-22 16:55:56 +03:00
Abs62 31688d435d Fix headwords search for case of wildcard in the first position 2017-08-30 19:09:41 +03:00
Abs62 434a88c503 Fix wildcards search for very short dictionaries 2017-07-02 12:58:45 +03:00
Abs62 ccea483d4c Fix crash while wildcard search in empty dictionaries 2016-05-28 22:26:25 +03:00
Abs62 4b8de48e5c Merge branch 'Original' into Qt4x5 2014-11-27 18:53:52 +03:00
Abs62 2472e12421 Log warning for too long headwords while indexing 2014-11-20 18:03:55 +03:00
Abs62 5f54ff37e4 Fix some warning messages 2014-10-22 17:50:29 +04:00
Abs62 d4adf591a9 Adjust code for Qt5 2014-07-11 18:18:37 +04:00
Abs62 8cabcacf55 Merge branch 'Original' into Qt4x5
Conflicts:
	btreeidx.cc
	fulltextsearch.cc
	goldendict.pro
	main.cc
2014-07-11 18:17:43 +04:00
Abs62 639ee7c82f Epwing: Use libeb search engine in addition to GD index search (issue #504) 2014-07-10 17:55:14 +04:00
Abs62 d866dfd68f Fix word search in case of escaped wildcard at first position 2014-07-08 18:53:26 +04: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 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 273b1b5757 Merge branch 'Original' into Qt4x5
Conflicts:
	articleview.cc
	btreeidx.cc
2014-05-05 21:31:16 +04:00
Abs62 8a9378c5d8 Full-text search: A litle optimization of retrieving headwords from index 2014-04-29 21:42:34 +04:00
Abs62 8abc30f01d Fix compilation with Qt 4.6 (issue #470)
and fix typo in comments
2014-04-26 16:34:01 +04:00
Abs62 a4ea28c121 A little refactoring of wildcards in the input line handling 2014-04-26 15:46:26 +04:00
Abs62 90130d0fff Adjust code for Qt5 2014-04-23 18:19:46 +04:00
Abs62 10532279b1 Merge branch 'Original' into Qt4x5
Conflicts:
	article_netmgr.cc
	mainwindow.cc
2014-04-23 18:16:06 +04:00
Abs62 6a13f6a41e Full-text search: Fix crashes at dictionaries rescan 2014-04-17 18:18:15 +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 6902ca5eda Fix search for escaped wildcard symbols in the input line 2014-03-17 23:14:16 +04:00
Abs62 c9aaf58930 Adjust code for Qt5 2014-03-14 17:42:22 +04:00
Abs62 4bbe1aaee5 Merge branch 'Original' into Qt4x5
Conflicts:
	scanpopup.cc
2014-03-14 17:34:33 +04:00
Abs62 b20f4d016b Fix set of symbols [...] handling in the input line 2014-03-14 16:39:54 +04:00
Abs62 c9e8c0f20f A little optimization of input line wildcards handling 2014-03-13 00:30:18 +04:00
Abs62 da161164b9 Allow wildcards in the input line (issue #24) 2014-03-12 17:43:52 +04:00
Abs62 10fe58b745 Some more optimization of headwords retrieving 2014-03-11 20:28:52 +04:00
Abs62 ce00f26367 A little optimization of headwords retrieving 2014-03-07 19:28:31 +04:00
Abs62 06f85b7e30 Sort headwords list in dictionary headwords dialog by current locale rules 2014-03-01 17:58:16 +04:00
Abs62 4a4bfade1d Show all headwords for selected dictionary 2014-02-28 16:36:28 +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
Abs62 1f87d8a911 Merge branch 'master' into Qt4x5
Conflicts:
	btreeidx.cc
	goldendict.pro
	lsa.cc
	mouseover.cc
	sounddir.cc
	xdxf2html.cc
2013-09-27 17:03:27 +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 7d167aedf8 Some more unhandled exceptions in index search 2013-09-18 17:58:38 +04:00
Tvangeste 8607af8d90 Fixed compilation failure 2013-09-18 09:48:23 +02:00
Abs62 0422cc52f0 Handle some unhandled exceptions in index search 2013-09-17 18:12:39 +04: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
Tvangeste 27c4bf7d30 Properly handle non-normalized unicode headwords
With that change users should be able to search headwords in
any form. For example:

U+03B5 GREEK SMALL LETTER EPSILON and U+0301 COMBINING ACUTE ACCENT

is considered equal to

U+03AD GREEK SMALL LETTER EPSILON WITH TONOS

And no matter in what form the headword is provided in the dictionary, users will be able to find it,
even using the different form.
2013-07-06 20:18:43 +02:00
Timon Wong 1d85f1b359 #212: Scratch, currently works under windows, for both Qt4 and Qt5 2013-05-30 21:24:21 +08:00
Tvangeste 7496f5f80c Configurable parameter for DSL headwords' maximum size.
By default, it is unchanged, still 256.

In those rare cases when users really need more lengthy
headwords, they could adjust the config file,
maxHeadwordSize parameter.
2013-01-11 11:00:30 +01:00
Abs62 2a215927ce Fix some warnings 2012-10-31 17:58:35 +04:00
Abs62 8f47920627 Adjust dictionary indexing 2012-09-15 03:07:01 +04:00
Abs62 535fe0d3e0 Update year in copyright notices. 2012-02-21 01:47:14 +04:00