Commit graph

23 commits

Author SHA1 Message Date
Konstantin Isakov be068dc044 +! Remove any dsl tags from the descriptions in the abbreviation files. 2009-04-23 13:37:27 +00:00
Konstantin Isakov bde25bb8a3 + Ignore abbreviation files based on the _abrv suffix in their names.
*! Properly identify source and target languages.
2009-04-23 11:43:20 +00:00
ars_goldendict a587f10c55 basic implementation of language coder 2009-04-22 21:37:32 +00:00
Konstantin Isakov efd6e4abe4 * Show individual Dsl icons if they are present. 2009-04-21 22:01:01 +00:00
ars_goldendict 21f0be908c added some dictionary icons 2009-04-21 19:03:16 +00:00
Konstantin Isakov b64ce2b42c * Save article and word count when indexing Dsls.
-! Remove an abrupt exit( 0 ) where an stderr warning is more than enough.
2009-04-20 23:20:53 +00:00
Konstantin Isakov a2af2ee6bb *! Fix a memory leak in DslDictionary::loadArticle(). 2009-04-18 17:28:23 +00:00
Konstantin Isakov babde3d53d *! Introduce gd::wstring and gd:wchar and switch to them from std::wstring and
wchar_t. This changes nothing on Linux and most other systems, but on Win32
   it causes to use normal UCS-4 strings instead of Win32's usual UTF-16.
2009-04-18 17:20:12 +00:00
Konstantin Isakov 6f205a5d13 *! Use our own custom isDslWs() function to do whitespace checks for Dsl
content, since this must never be locale- or os-specific -- rather than
   that, it is set only by the official Dsl compiler software. Besides,
   not all OS/runtimes/versions actually have iswblank() function at all.
2009-04-17 22:29:06 +00:00
Konstantin Isakov c79e91d8a3 * Make all requests work asyncronously for Dsl, Bgl and Stardict file formats. 2009-04-16 11:33:12 +00:00
Konstantin Isakov 32fe5dff9e * A lot of changes aimed to make lookups faster and to reduce startup times. 2009-04-14 16:35:47 +00:00
Konstantin Isakov 744b02c217 *! Switch to QUrl for url encoding for better escaping. 2009-04-12 11:27:43 +00:00
Konstantin Isakov c7126a0281 + Ability to play the first audio reference by clicking on the 'Pronounce word'
button in main window or in scan popup added. It is also possible to
  configure the program to do that automatically.
+ It is now possible to specify which program to use for audio file playback.
2009-04-10 21:07:03 +00:00
Konstantin Isakov 41b312074c + Folding algoritms now incorporate punctuation and whitespace folding.
+ When headwords contain multiple words, each of them is indexed now.
+ Wordfinder now employs an intelligent, rank-based sorting algoritm.
2009-04-08 16:02:12 +00:00
Konstantin Isakov 3c4f8830d8 + Open resource zipfile on construction of .dsl and use it thoughout all of its
lifespan to read resources from it. Turns out, opening zipfile is the slowest
  part, so we save on this by doing it only once.
2009-03-28 17:16:12 +00:00
Konstantin Isakov cb85c1981d +! When rendering an article, check whether the sound is present in a zipfile
or not when deciding if to insert a search audio link or a direct one.
2009-03-28 16:16:56 +00:00
Konstantin Isakov 02fac7263e * Load .dsl resources asyncronously -- they don't even have any shared
structures.
2009-03-28 16:06:00 +00:00
Konstantin Isakov 3523031a6d + Support for .dsl resources contained in a .zip file named dictname.files.zip.
libzip is therefore a dependency now.
2009-03-28 12:35:52 +00:00
Konstantin Isakov 7859daaff6 * Major dictionary interface rework. Dictionaries now return Request objects
which can provide results asyncronously, be discarded prematurely etc. This
  work touches just about every piece of exiting code.
+ On top of the new interface, MediaWiki (Wikipedia) support was added.
* Some other small fixes might went along.
2009-03-26 19:00:08 +00:00
Konstantin Isakov 4bae99aeb5 Mass-update email to point to a @berlios one. 2009-02-05 14:21:47 +00:00
Konstantin Isakov 1a5a4daa52 When searching for resource files, allow them to be not only in the dictionary
directory, but also in the dictionary-name.files/ subdirectory.
2009-02-02 15:02:57 +00:00
Konstantin Isakov c8406798af Add missing "b" flag to read the resource files under Windows correctly. 2009-02-02 00:52:54 +00:00
Konstantin Isakov c05781368b Created /trunk/src and moved everything there. 2009-01-28 20:55:45 +00:00