Commit graph

2501 commits

Author SHA1 Message Date
Konstantin Isakov e41ad3126b + Sort prefix matches by their lengths, the smaller the better. 2009-04-09 22:09:38 +00:00
Konstantin Isakov 32b7e9f9c8 +! Add a space between the language and its dialect names. 2009-04-09 22:07:02 +00:00
Konstantin Isakov 55749e23c2 + On Linux, add standard dictd path to the default config if it exists. 2009-04-09 19:03:28 +00:00
Konstantin Isakov bd3563fcea * Switch to Html::preformat() from the use of the <pre> tag for 'm'- and l'-
typed StarDict articles. This makes those articles wrap.
2009-04-09 18:58:40 +00:00
Konstantin Isakov 9df2db4011 + Support for dictd files (.index/.dict(.dz)) added, among with other small
accompanying changes.
2009-04-09 18:50:49 +00:00
Konstantin Isakov ccd235e9c3 + If a word is known by a spellchecker, it now shows up in the word search
results. To signify that it's merely a morphological match, it is shown in
  italic, unless it was also returned by other dictionaries.
2009-04-09 15:27:34 +00:00
Konstantin Isakov b7bdc65a57 + Hunspell-based morphology added. 2009-04-09 14:15:01 +00:00
Konstantin Isakov da663b426b +! Require "word" parameter to be passed to gdlookup:// requests, thus
skipping some erroneous empty requests from underparsed wikipedia articles.
2009-04-09 11:35:45 +00:00
Konstantin Isakov fb27328334 + Pressing Esc clears the translation line and gives it keyboard focus. 2009-04-08 22:25:46 +00:00
Konstantin Isakov 01a0ee113c + Add fullcase folding phase when ranking words in wordFinder.
+ Add Folding::trimWhitespaceOrPunct() function, which will be used later.
2009-04-08 21:22:50 +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 2fd495677c *! A quick fix for 'duplicate case value' due to short wchar under Windows. 2009-04-07 22:22:32 +00:00
Konstantin Isakov 59433a6750 *! Another missing include added for Fedora build to succeed. 2009-04-04 23:02:58 +00:00
Konstantin Isakov c632d72e77 * Make 'Sound Dirs' description arguably more simple. 2009-04-04 22:11:22 +00:00
Konstantin Isakov fb00a5bedf +! #include <stdint.h>, should fix build problems on some systems. 2009-04-04 21:31:14 +00:00
Konstantin Isakov 107c75ce3c + When making the default config file, try the usual places for StarDict's
WyabdcRealPeopleTTS and add it as a SoundDir if it's there.
2009-04-04 19:20:09 +00:00
Konstantin Isakov b7bb7895bf *! Fixed a bug where leading blanks in a filename would hang the program
while determining the corresponding file type.
2009-04-04 16:32:40 +00:00
Konstantin Isakov 8c1ac1a2fb + Support for Sound Dirs (arbitrary dirs full of audio files) added. 2009-04-04 16:06:06 +00:00
Konstantin Isakov 21332f57b0 *! Spelling fix: Russain->Russian Wiktionary. Sorry dudes. 2009-04-04 12:18:54 +00:00
Konstantin Isakov edeff037fc + Add most popular default path for StarDict dictionaries on Windows to the
list of paths if it exists.
2009-04-03 23:40:39 +00:00
Konstantin Isakov 2c72f45625 +! Add support for clipboard copying operations in article views. 2009-04-03 21:57:23 +00:00
Konstantin Isakov 129e922138 + Save main window's state and geometry on exit and restore it back on
startup.
2009-04-03 21:24:07 +00:00
Konstantin Isakov 6f20c0ffa7 *! Fix bad indices generation on 64-bit systems. 2009-04-03 20:03:18 +00:00
Konstantin Isakov 2fbb7d9895 + Proxy server configuration is now supported. 2009-04-03 17:10:27 +00:00
Konstantin Isakov 3bbae73093 +! Add support for UTF16 surrogate pairs in a Dsl reader. 2009-04-03 14:04:56 +00:00
Konstantin Isakov 3bb9df7a4c - Deactivate forced coredumps. 2009-04-03 12:53:35 +00:00
Konstantin Isakov 741a2042b7 *! progam->program spelling fix. Thanks to Vladimir Dolzhenko. 2009-04-02 19:11:54 +00:00
Konstantin Isakov b2ddf5f2b1 *! When replacing wiki links' underscores with spaces, don't replace them
in fragment ids (after the # in url).
2009-04-01 18:59:31 +00:00
Konstantin Isakov 594f4dd2d0 * Use a better regexp for matching and removing underscores from wiki links.
This one works for any written language.
2009-04-01 12:23:16 +00:00
Konstantin Isakov c32a12afb9 + Make groups resistant to losing dictionaries when they got moved or
otherwise change their ids by saving their names, too, and falling back to
  matching each group dictionary against name instead of id when no ids match.
2009-04-01 12:00:28 +00:00
Konstantin Isakov 4a99ce281f + Allow navigating down to the word list from the translation line and back
by pressing Down or Up keys, respectively.
* Pressing Enter on the translation line directly translates what is typed
  there now, irrespectively of whether there are any word matches or not.
2009-03-29 17:38:54 +00:00
Konstantin Isakov 9539e1557d * Bump the version number up to 0.7 2009-03-29 13:44:18 +00:00
Konstantin Isakov 9e40b9f7a7 * Change default preferences to provide more features by default.
! Fix a bug where closeToTray field wasn't initialized.
2009-03-29 13:43:37 +00:00
Konstantin Isakov 9ae4e57bb8 + Show the 'wait' message when loading dictionaries and the main window is
shown.
+ Propagate and display any exception happened while loading dictionaries.
2009-03-29 13:34:39 +00:00
Konstantin Isakov 66fb8b51c1 * Update intro text with regard to the fact that paths can now be recursive. 2009-03-29 12:26:54 +00:00
Konstantin Isakov 31a06ade12 + Paths can now be optionally set as recursive. 2009-03-28 22:37:03 +00:00
Konstantin Isakov 0bf68b6883 * Do not react on item activation in wordList, since item selection changing
is fully enough. They were interfering badly, causing double-reloads and
  sometimes even pagefaults somewhere inside webkit.
2009-03-28 17:19:54 +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 517c58b695 * Cancel the corresponding dictionary request upon the network request
destruction.
2009-03-28 15:59:39 +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 e0911e999b * When creating new config under Linux, add all /usr/share/stardict/dic
subdirs to the list of dirs.
+ Populate mediawikis list (but don't enable any) when upgrading config.
2009-03-27 10:48:44 +00:00
Konstantin Isakov 65da954da2 * Switch to use Qt's own hashing support instead of having our own private Md5
implementation.
2009-03-26 19:15:00 +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 b2b9798663 + a "noResults" property style option added for translateLine 2009-03-26 16:37:00 +00:00
Konstantin Isakov 10e4caa8e1 + Wikipedia stylesheet data added
+ gderrordesc style description added
2009-03-26 16:35:49 +00:00
Konstantin Isakov b151013c35 + Add a wiki icon flag. 2009-03-26 15:44:15 +00:00
Konstantin Isakov ef68f7a93c * Use correct transform from local 8-bit filename encoding to QString
(this caused some files to being reindexed each time).
2009-02-09 22:49:44 +00:00
Konstantin Isakov 27f5e814f7 * "the each"->"each" 2009-02-09 19:39:58 +00:00