Commit graph

688 commits

Author SHA1 Message Date
Konstantin Isakov 4953e7bd10 * Use Folding::isWhitespace() for whitespace checks when parsing article tags.
It's richer and doesn't depend on iswblank()'s existence and/or
  implementation.
2009-04-17 22:34:45 +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 5d8aa29a97 + Add missing libraries. Why were they missing is a subversion mystery. 2009-04-17 18:25:53 +00:00
Konstantin Isakov f07030deba - Drop convertChainToWstrings(), it's not used anymore. 2009-04-17 14:09:53 +00:00
Konstantin Isakov 629a138f7e + Dictionary::stemmedMatch() added, and is now used for word suggestions when
no translations were found.
2009-04-17 13:51:50 +00:00
Konstantin Isakov 3d41751636 + Precompiled third-party libraries and their headers added for Windows
targets.
2009-04-17 12:02:50 +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 273429efe1 *! Limit the amount of items shown in the TOC of context menu to 20 maximum,
so they don't overwhelm everything.
2009-04-14 18:35:27 +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 68c5c73b37 * Fasten up loading times by opening Babylon file only when indexing it. 2009-04-14 13:25:16 +00:00
Konstantin Isakov 1c2e28159c *! Fix proxy problems by constructing it with the right type from the start.
Squid now works.
2009-04-13 17:31:05 +00:00
Konstantin Isakov 5e7f41a64e + Options to open tabs in background and open tabs after the current one added. 2009-04-13 12:51:25 +00:00
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