Commit graph

976 commits

Author SHA1 Message Date
Konstantin Isakov 92280c0534 *! Fix ExternalViewer crashing when the tab which spawned it gets closed while
it's still running.
2009-04-12 23:53:13 +00:00
Konstantin Isakov 8162a662b6 *! Decode the encoded url correctly for auto-pronounce feature. 2009-04-12 23:07:45 +00:00
Konstantin Isakov efcb495165 * Instead of clearing the translation line when pressing Esc, we merely
select all its text. This allows both making new query or refining
  the old one easily.
2009-04-12 22:36:47 +00:00
Konstantin Isakov 181e4e155c * Capitalize 'Morphology' in Russian translation. 2009-04-12 22:23:25 +00:00
Konstantin Isakov 61888beb2b * The program version is now propagated to the program; and it now ends up
showed in the About dialog.
2009-04-12 22:02:15 +00:00
Konstantin Isakov 14ed53ac65 * Better Russian translations for Sound dirs. 2009-04-12 20:55:02 +00:00
Konstantin Isakov 11bc46b7af + Implemented the ability to change program's language.
* Russian translation updated to include new strings, others were fixed
  a bit.
2009-04-12 20:46:25 +00:00
Konstantin Isakov ce365f386b * Russian translation updated.
* Basic support for translations added, along with the changes necessary to
  accommodate to it.
2009-04-12 19:41:58 +00:00
Konstantin Isakov ff19ae1fbb + Added Russian translation file (by Andrey Cherepanov, courtesy of ALT Linux) 2009-04-12 16:48:40 +00:00
Konstantin Isakov 654057b94d +! Under Windows, hide the audio playback program's label too. 2009-04-12 16:34:04 +00:00
Konstantin Isakov 1160e742cb + Add 'table of contents' navigation into the right-button mouse menu. 2009-04-12 16:22:42 +00:00
Konstantin Isakov e55826463d + Add escapeForJavaScript() function, to be used later. 2009-04-12 11:28:56 +00:00
Konstantin Isakov 744b02c217 *! Switch to QUrl for url encoding for better escaping. 2009-04-12 11:27:43 +00:00
Konstantin Isakov 1f3580f03d *! Revert back to load() from setUrl(), since it turned out the latter didn't
support saving scroll positions when going back and forth.
2009-04-11 20:37:11 +00:00
Konstantin Isakov 4e30ba7778 + The ability to press scan popup modifiers shortly after the selection was
made added.
2009-04-11 16:44:14 +00:00
Konstantin Isakov 6c36e5db45 *! Use binary mode for reading dictd index files under Windows. 2009-04-11 14:02:31 +00:00
Konstantin Isakov ed2876d7b2 *! Properly escape all ampersands in tab names. 2009-04-10 21:37:16 +00:00
Konstantin Isakov 7ea278db55 * Rework the Preferences UI to use tabbed interface. 2009-04-10 21:23:27 +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 3cafe23d3a * Clean up scanpopup a bit by removing diacritic and prefix matches lists,
replacing them by a simple list of matches, limited to 20 first items.
2009-04-10 15:52:08 +00:00
Konstantin Isakov aeaad6ad80 + Introduce a delay before hiding the window after the mouse had left the
window for the scan popup, allowing the mouse to come back shortly.
2009-04-10 13:56:38 +00:00
Konstantin Isakov 03736c2193 * Give groups numerical ids and switch to use them everywhere instead of names
to identify them.
2009-04-10 12:48:40 +00:00
Konstantin Isakov 118034beb8 * For popup, trim both whitespace and punctuation for the input word. 2009-04-09 23:33:37 +00:00
Konstantin Isakov 94570b5430 *! Better regexp for stem selection from the analysis results. 2009-04-09 23:16:07 +00:00
Konstantin Isakov 625e4988ec + Add add/close/next/prev tab keyboard shortcuts (Ctrl-T, Ctrl-W, Ctrl-PageDn, Ctrl-PageUp). 2009-04-09 22:11:38 +00:00
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