Commit graph

65 commits

Author SHA1 Message Date
Abs62 83397ce8d5 DSL: Exclude tags [s], [url], [video], [preview] from indexing for full-text search 2014-11-22 17:22:04 +03:00
Abs62 450130cd97 DSL: Handle [video] and [br] tags 2014-10-29 17:46:42 +03:00
Abs62 d9169bd45b Add support for Epwing dictionaries 2014-05-20 17:59:56 +04: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 c32c610665 Full-text search: A little faster search in DSL dictionaries 2014-04-28 17:58:38 +04:00
Abs62 9754f5f479 DSL: Fix headwords normalizing 2014-04-24 22:56:47 +04:00
Abs62 fbcaf7c2cb Some more error handling 2014-04-24 22:50:47 +04:00
Abs62 01b8ae5e17 DSL: Fix case of several headwords per one insided card 2014-04-24 17:56:38 +04:00
Abs62 e7477cfd24 Full-text search: Fix handling of some DSL headwords 2014-04-21 20:20:24 +04:00
Abs62 362acce554 Dsl: A little improve of unmatched tags diagnostic 2014-04-18 16:34:44 +04:00
Abs62 4572b2bc77 Full-text search: Fix case of inside cards in DSL 2014-04-17 21:13:31 +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 ac84a73a6d Dsl: Fix some pictures resizing 2014-02-11 21:27:24 +04:00
Abs62 0c2b182647 Handle 1-bit black/white TIFF images without photometric interpretation tag
(QImage don't handle such images)
2014-02-11 18:02:00 +04:00
Abs62 444938a330 Fix logging to file UTF-8 encoded messages 2013-11-16 22:34:09 +04:00
Abs62 bdba6e7bb0 DSL: Some more formatting fixes 2013-10-06 21:40:06 +04:00
Abs62 c507def22a DSL: Fix formatting in multiline tags 2013-10-06 19:24:19 +04:00
Abs62 4a414adfdc Some more unhandled exceptions 2013-09-24 17:56:47 +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
Tvangeste 148fd1f275 Fix compilation failures with Visual C++ 2012 (issue #375) 2013-08-07 20:29:36 +02:00
Abs62 66c309557d DSL: Add "http://" to link in [url] tag if it scheme not found 2013-07-27 22:35:10 +04:00
Abs62 c1cfbae60e Enhanced support for RTL languages in articles 2013-07-10 17:48:09 +04:00
Abs62 4af2d43dd2 DSL: Strip comments "{{...}}" when reading file 2013-07-07 14:48:37 +04: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
Tvangeste d9bcb2ea43 Follow-up to the previous fix: span->div 2013-07-03 16:45:23 +02:00
Tvangeste f0a122e740 DSL: properly handle [m] tag
In short, [m] = [m0].
2013-07-03 16:00:56 +02:00
Tvangeste 0cf8ccb259 DSL: Support video resources 2013-06-22 18:36:25 +02:00
Abs62 92db6d2d3e DSL: expand subcard links in card 2013-06-07 16:58:10 +04:00
Tvangeste 7734973a84 DSL: properly handle unsorted parts in subcard's headwords 2013-06-07 10:48:32 +02:00
Abs62 217dc57e6c DSL: Expand headwords in subcards 2013-06-06 20:37:33 +04:00
Abs62 7669d4f788 Dsl: Handle SVG images 2013-05-25 16:07:49 +04:00
Abs62 2d76ced4d3 Handle dictzip errors without program termination (Fix issue #207) 2013-03-15 16:27:32 +04:00
Tvangeste 9faf843ab7 Part of work for #212: Make GD source to be ready for Qt5.
Replaced deprecated to/fromAscii with to/fromLatin1
2013-02-03 21:19:55 +01:00
Julian Depetris Chauvin 25be9b074a Check if icon is loaded before trying to load it again 2013-01-31 19:30:11 -03: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 0408201f37 Limit size of images in root folder of dsl dictionary 2012-12-07 21:29:10 +04:00
Abs62 00cb5c8d20 Fix commit faad6d2 (lost quotes) 2012-12-07 20:08:09 +04:00
Abs62 faad6d2581 Images size limit for dsl dictionaries 2012-12-07 15:59:29 +04:00
Abs62 dacc4779db Rework custom dictionary icons handling 2012-12-03 16:47:43 +04:00
Abs62 af7947f163 Fix commit e6457a1e (enable edit only dsl and xdxf dictionaries) 2012-11-29 21:12:54 +04:00
Abs62 b5ac0ccf78 Take insided card header from card if possible for dsl dictionaries 2012-11-27 16:50:27 +04:00
Abs62 9367be34dc Handle tags in insided card header after "~" expanding for dsl dictionaries 2012-11-26 23:17:58 +04:00
Abs62 af1403da2d Handle "^~" combination in dsl dictionaries 2012-11-26 23:16:10 +04:00
Abs62 a76f7780e7 Handle "dict" attribute in "ref" tag for dsl dictionaries 2012-11-25 00:30:32 +04:00
Abs62 07cbdb3b02 Handle insided cards in dsl dictionaries 2012-11-22 17:03:07 +04:00
Abs62 2a215927ce Fix some warnings 2012-10-31 17:58:35 +04:00
Abs62 bc7a8b39c8 Icons instead of text markers to show/hide articles optional parts 2012-09-16 19:54:00 +04:00
Abs62 305c9ed1b8 Show/hide optional parts of articles (DSL dictionaries only) 2012-09-16 14:19:47 +04:00