Commit graph

5785 commits

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