Commit graph

4275 commits

Author SHA1 Message Date
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