Commit graph

110 commits

Author SHA1 Message Date
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 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 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 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
Timon Wong e09ca5402d Merge branch 'master' into qt4x5
Conflicts:
	goldendict.pro
2013-08-19 10:54:38 +08:00
Tvangeste 148fd1f275 Fix compilation failures with Visual C++ 2012 (issue #375) 2013-08-07 20:29:36 +02: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
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
Timon Wong 91f994950d Qt 5.1 support (Windows MinGW 4.8) 2013-07-05 18:10:11 +08:00
Timon Wong 01ef08a709 Merge branch 'master' into qt4x5 2013-07-05 17:03:57 +08: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
Timon Wong 555b51260a Merge branch 'master' into qt4x5 2013-06-26 21:07:46 +08:00
Tvangeste 0cf8ccb259 DSL: Support video resources 2013-06-22 18:36:25 +02:00
Timon Wong 6f2ab430ec Merge branch 'master' into qt4x5
Conflicts:
	article_maker.cc
	dsl.cc
	mainwindow.cc
2013-06-08 12:27:18 +08: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
Timon Wong f30c41dbf6 Remove Url::Class, add Qt4x5::Url::ensureLeadingSlash() and fix all related 2013-05-31 12:20:25 +08:00
Timon Wong ad4394d02b #212: Workaround for Qt5 changed behavior in QUrl::setPath() 2013-05-30 23:05:41 +08:00
Timon Wong 1d85f1b359 #212: Scratch, currently works under windows, for both Qt4 and Qt5 2013-05-30 21:24:21 +08: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
Abs62 0da4b83dd7 Fix keywords per one article limitation for DSL dictionaries 2012-09-08 01:32:49 +04:00
Abs62 f8025f1854 Show decription for DSL dictionaries 2012-09-07 20:17:44 +04:00
Abs62 535fe0d3e0 Update year in copyright notices. 2012-02-21 01:47:14 +04:00
Abs62 25956a7b46 Move zip resource file indexing into IndexedZip class 2012-01-30 17:13:58 +04:00
Abs62 99fe9474ac Move tryPossibleName and loadFromFile functions into File namespace 2012-01-30 17:11:41 +04:00
Konstantin Isakov fa60062fa4 Ignore empty lines between the list of headwords in Dsl files, as that's what Lingvo does as well. 2012-01-23 21:01:02 -08:00
Konstantin Isakov 0ab5ae44a7 Fix a problem with zip archive indexing where files with similar names could clash. 2012-01-23 20:59:16 -08:00
Abs62 2763b74635 Use file names in UTF-8. Fix issue #30. 2011-09-09 16:05:28 +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
Tvangeste c11c3c25fe Additional way of showing the stress in DSL dicts: via font styles instead of accents.
The default is the same: Stress is shown by adding accent sign.

With this change it is now possible to configure GoldenDict
in such a way that stress could be shown with font styles
(e.g., color, boldness, etc).

Add the following to your article-style.css:

.dsl_stress_without_accent {
  color: red;
  display:inline;
}

.dsl_stress_with_accent {
  display: none;
}
2011-06-02 13:30:38 +02: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 68b1e5f262 Don't output abbreviations to console when indexing Dsl files. 2010-05-28 19:04:12 +04:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Renamed from src/dsl.cc (Browse further)