Konstantin Isakov
ee759622a3
* Adjust margins a bit.
2009-04-23 16:21:40 +00:00
Konstantin Isakov
7d79c2d120
* Bump up version to 0.8.1-svn
2009-04-23 13:48:27 +00:00
Konstantin Isakov
e5613471ee
*! getProgramDataDir() fixed for builds with no dir specified (Windows).
...
+ Ability to use a template config file added.
2009-04-23 13:43:51 +00:00
Konstantin Isakov
be068dc044
+! Remove any dsl tags from the descriptions in the abbreviation files.
2009-04-23 13:37:27 +00:00
Konstantin Isakov
5146a9ceb9
*! Fix compilation problems on Windows.
2009-04-23 12:34:09 +00:00
Konstantin Isakov
ff4d04b373
* Strip the extension when returning the dictionary's name. We have icons
...
now, so those are not really needed anymore.
2009-04-23 12:16:05 +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
Konstantin Isakov
c08805f728
+ Add findIdForLanguage() function.
2009-04-23 11:41:13 +00:00
Konstantin Isakov
4ba3a10267
*! Fix some obvious mistakes.
2009-04-23 10:29:49 +00:00
Konstantin Isakov
30fb9fde65
+ Allow pressing Esc when focused on the group list to get back to tranlation
...
line.
2009-04-22 22:47:44 +00:00
Konstantin Isakov
77dee317eb
* Russian translation updated.
2009-04-22 22:32:11 +00:00
ars_goldendict
a587f10c55
basic implementation of language coder
2009-04-22 21:37:32 +00:00
Konstantin Isakov
600d7f1740
* Switch to SendInput() to inject hotkey input in Windows.
2009-04-22 20:06:31 +00:00
ars_goldendict
535b70d210
a bit improved behavior of clipboard translation by hotkey on windows
2009-04-22 17:29:51 +00:00
Konstantin Isakov
4ab4eac5a7
* Add modifiers to the second key in QKeySequence() too, for future
...
compatibility where we might want to use more generic combos, with each
key posessing its own set of modifiers.
2009-04-22 15:33:39 +00:00
Konstantin Isakov
23abdb9b44
+ Shield the hotkeys from being intercepted by other apps using XGrabKey(),
...
unless the hotkey is a clipboard copy key on its first occurence in a combo.
2009-04-22 15:29:28 +00:00
Konstantin Isakov
5bc60a13b6
* Simple stylistical fix.
2009-04-21 22:11:03 +00:00
Konstantin Isakov
efd6e4abe4
* Show individual Dsl icons if they are present.
2009-04-21 22:01:01 +00:00
ars_goldendict
aca734932d
fixed bug with global hotkeys in Windows
2009-04-21 21:07:15 +00:00
ars_goldendict
715e510866
more dictionary icons
2009-04-21 20:09:02 +00:00
ars_goldendict
21f0be908c
added some dictionary icons
2009-04-21 19:03:16 +00:00
Konstantin Isakov
b7f65dc126
+! Those were meant to be commited as a part of the previous commit.
2009-04-21 18:29:33 +00:00
Konstantin Isakov
5efd7c52e1
+ Options to configure global hotkeys added. The clipboard hotkey was added.
...
* On X11, XGrabKey was replaced with the RECORD extension -based solution.
2009-04-21 18:27:26 +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
a8f222705c
* Simplify the tooltip a bit more.
2009-04-20 23:17:13 +00:00
Konstantin Isakov
3a05fe1a04
* When checking for the latest release, supply the platform used.
2009-04-20 20:59:50 +00:00
Konstantin Isakov
a7d163501f
* Slightly change the tooltip text.
2009-04-20 20:52:17 +00:00
Konstantin Isakov
e1b8c323c0
+ Added a feature to automatically check for a new release from time to time.
2009-04-20 19:54:34 +00:00
Konstantin Isakov
fe5af2cdcb
+ Add the usual copyright header.
2009-04-20 19:31:39 +00:00
Konstantin Isakov
1f3b6c145b
* Updated Russian translation (Andrey Cherepanov, ALT Linux)
2009-04-20 17:20:16 +00:00
Konstantin Isakov
3fff19f910
* Incorporate group selector into the search pane's titlebar, replacing the
...
original with it.
2009-04-20 14:13:39 +00:00
Konstantin Isakov
974594e1c6
+! This was supposed to go with the previos commit.
2009-04-20 13:25:27 +00:00
Konstantin Isakov
ffb01a821e
* Make the search sidebar into a dock widget.
2009-04-20 13:24:55 +00:00
Konstantin Isakov
4c899d470c
* Add back some show/hide behavioural changes, refining them in the process.
...
The global shortcut would now only hide window if there's a tray icon
enabled.
2009-04-20 12:25:26 +00:00
Konstantin Isakov
99a9431295
* Comments edited a bit.
2009-04-19 23:34:49 +00:00
ars_goldendict
0b87435471
updated (added libqxt and global shortcut Ctrl-F11; fixed issue with autostart on Vista)
2009-04-19 21:32:18 +00:00
Konstantin Isakov
89fd4ffa31
* Use utf8-encoded strings instead of wide strings for word keys during
...
the indexing process -- this conserves memory while still preserving the
correct entry order.
2009-04-19 13:45:14 +00:00
Konstantin Isakov
a432f40093
* Switch to single clicks on a tray icon to toggle visibility.
...
* If the window's not active, activate it when showing it or toggling its
visibility.
2009-04-19 00:17:11 +00:00
Konstantin Isakov
ed06be1194
* 'Close to tray' is named explicitly now, and does only that. It's now
...
only visible when the tray is enabled.
2009-04-18 22:24:12 +00:00
Konstantin Isakov
9503c9844b
- Remove empty useless scope.
2009-04-18 22:22:16 +00:00
Konstantin Isakov
47227ccf8a
* Whitespace fixes (patch by Ars)
2009-04-18 18:51:15 +00:00
Konstantin Isakov
5a886ade11
+ Apply autoStart property (patch by Ars)
...
+ Close to sysTray menu item (patch by Ars)
* Shortcuts and tooltols for menu items (patch by Ars)
2009-04-18 18:47:01 +00:00
Konstantin Isakov
abc7d564b2
+ Prevent a second copy of a program from running (patch by Ars)
2009-04-18 18:41:11 +00:00
Konstantin Isakov
f0a553a6b6
+ Add autoStart property to preferences (patch by Ars)
2009-04-18 18:21:12 +00:00
Konstantin Isakov
24bd7066c3
+ Add autoStart property to configuration (patch by Ars)
2009-04-18 18:16:04 +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
0d8c606e4c
* Use more standard isspace() instead of more non-standard isblank().
2009-04-17 22:59:30 +00:00
Konstantin Isakov
f732015547
* Workaround for another narrow-wchar issue when building on Windows.
2009-04-17 22:42:22 +00:00
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
Konstantin Isakov
c632d72e77
* Make 'Sound Dirs' description arguably more simple.
2009-04-04 22:11:22 +00:00