Commit graph

468 commits

Author SHA1 Message Date
Konstantin Isakov 2b43f9e1ce +! Fix drag-and-drop jumpiness issues by choosing new current
index each time new rows are inserted or existing removed.
2009-05-24 14:24:13 +00:00
Konstantin Isakov 83cb5f4009 *! Fix some problems with dictionary order handling (duplicates etc).
+! Close all tabs before quitting - this fixes segfaults due to out-of-order
   destructions.
2009-05-23 14:19:57 +00:00
Konstantin Isakov 1504491ac8 *! Do not include dsl source in html result. This stops wrecking up html
when said source contains --> mistakenly treated as an end of comment.
   Rather than escape it, we just don't include the source at all.
2009-05-21 21:25:11 +00:00
Konstantin Isakov c09a353c99 *! Process article links in wikis hosted on non-root locations correctly.
This actually makes GoldenDict work with its own Wiki ok.
2009-05-18 18:46:18 +00:00
Konstantin Isakov 4723831f5d + Dictionary order and inactive dictionaries implemented. 2009-05-18 18:01:50 +00:00
Konstantin Isakov 189e22497b *! Clean up code and make drags between normal groups work. 2009-05-18 11:58:19 +00:00
Konstantin Isakov 1e4a643d08 + Create transliterations syncronously. 2009-05-18 10:46:53 +00:00
Konstantin Isakov 8daa82e21f + Add icons for transliterations. 2009-05-18 10:36:12 +00:00
Konstantin Isakov ecc3d39fdb + Introduce File::exists() and use that instead of trying to just open the file. 2009-05-17 22:22:10 +00:00
Konstantin Isakov ba9b13d9e6 * On initial load do deferred dictionary init at the very end. 2009-05-17 22:02:54 +00:00
Konstantin Isakov cfd6e1d440 + Don't recurse into .dsl.files or .dsl.dz.files directories when searching for
dictionaries.
2009-05-17 15:37:36 +00:00
Konstantin Isakov 3621020d28 + Apply extension filters early when searching for dictionary files. 2009-05-17 15:30:43 +00:00
Konstantin Isakov 15e7af9be5 + Add a mechanism to defer dictionaries' initialization.
+ Support this mechanism for .dsl dictionaries.
2009-05-17 13:35:19 +00:00
Konstantin Isakov 93fe5e5301 + 'WebSites' implemented.
*! Don't set a global qt stylesheet - sometimes WebKit crashes with it.
*! Fixes for text search feature (works faster, no selection artifacts, frame
   doesn't grow).
2009-05-16 18:04:21 +00:00
Konstantin Isakov 747825a505 + Introduce dictionaryOrder and inactiveDictionaries -- for now only in config. 2009-05-16 15:22:02 +00:00
Konstantin Isakov 5d7bc5fcac *! Restore once lost 'noResults' coloring feature in translateLine. 2009-05-16 11:25:55 +00:00
Konstantin Isakov 22fb1d2f5f + 'Text Find' implemented. 2009-05-16 11:14:43 +00:00
ars_goldendict b14a6271d9 prevention of 2nd copy start: algorithm changed (should work better) 2009-05-16 00:42:51 +00:00
Konstantin Isakov ded22cc3fd + Alt+Left/Right act as Back/Forward shortcuts. 2009-05-15 14:24:37 +00:00
Konstantin Isakov 172f90c0ef + Alt+Up/Alt+Down nagivate within articles in the definition view. 2009-05-15 14:11:54 +00:00
Konstantin Isakov 91c97256d3 *! Another fix to complete the previous commit. 2009-05-15 12:39:53 +00:00
Konstantin Isakov 2a81429d0a +! Clear group instances before reloading dictionaries. Hopefully this would
fix problems under Windows, where only one file mapping can exist.
2009-05-15 12:15:08 +00:00
Konstantin Isakov 74b04ff788 * Move comment 2009-05-14 22:00:56 +00:00
Konstantin Isakov 2a92cb697d +! Only make dsl tooltip nonbreakable if its length is less than 70 symbols
long.
2009-05-14 21:47:35 +00:00
Konstantin Isakov dfb067b370 +! Basic support for comments in dsl ({{like this}}) 2009-05-14 21:16:50 +00:00
Konstantin Isakov 5d95a6a17a *! No typing event can occur if Ctrl, Alt or Shift is pressed. 2009-05-14 20:43:32 +00:00
Konstantin Isakov e93084f96b + Pronounce word feature now plays sound from the currently active article
if it contains one.
2009-05-14 20:38:17 +00:00
Konstantin Isakov bf866a13e6 + Alt+S shortcut pronounces word.
+ Alt+M shortcut lists matches in scan popup window.
2009-05-14 19:46:25 +00:00
Konstantin Isakov 57af02224a *! Fix word pronunciation in scan popup broken by previous commit. 2009-05-14 19:42:04 +00:00
Konstantin Isakov 1bd05cfcda + Allow looking up words in the currently chosen group from the RMB menu.
*! Fix issue with background tabs and pronounce-on-load when sounds are
   played from the current tab instead of from the the one opened.
2009-05-14 19:27:19 +00:00
Konstantin Isakov f065a1c592 + Possibility to skip the latest release when checking for new releases. 2009-05-14 17:59:49 +00:00
Konstantin Isakov 7118c23d93 *! Add forms which start with uppercase but have second letter lowercased. 2009-05-14 13:06:58 +00:00
Konstantin Isakov 1211808ef3 *! Don't do any transforms on the input string before applying transliteration,
unless the transliteration is case-insensitive -- then the input gets
   lowecased.
2009-05-14 12:42:06 +00:00
Konstantin Isakov ca4a630bb9 +! Replace all spaces to non-breakable ones in dsl tooltips.
This makes them showing in one line, as they are supposed to.
2009-05-14 09:36:24 +00:00
Konstantin Isakov de8fe0d0e3 +! Activate the appropriate windows back and forth when the searchPane is
floating.
2009-05-13 13:47:51 +00:00
Konstantin Isakov 016456029f * Normalize the string before converting it from dsl to html.
This fixes some rendering problems with complex combining marks.
2009-05-13 10:34:53 +00:00
ars_goldendict fb7c4038f2 typo fixed 2009-05-12 19:16:31 +00:00
ars_goldendict b029ebc1a1 added capital letters to german translit table 2009-05-12 19:14:54 +00:00
Konstantin Isakov 68c20ff92f *! Correct path for the pid file; prevent double-opening it. 2009-05-12 19:13:20 +00:00
ars_goldendict 200be4b92d fixed issue with start of 2nd copy for different users 2009-05-12 18:59:00 +00:00
Konstantin Isakov 7c6883fe11 *! Filter-out Tab key as well. 2009-05-12 17:57:53 +00:00
ars_goldendict aedd77f116 fixed bug with storing german transliteration option 2009-05-12 17:33:33 +00:00
Konstantin Isakov 495047082b *! Some fixes for "type-to-search" feature. 2009-05-12 15:54:37 +00:00
Konstantin Isakov 496e1c873c *! Read last .dsl line properly when it doesn't end with \n 2009-05-12 15:39:18 +00:00
Konstantin Isakov d10634d3fc *! Better support for abbreviation files (multiple keys,
unsorted parts, optional parts, tilde expansions should all now work)
2009-05-12 14:24:22 +00:00
Konstantin Isakov 25dce23d50 + Pressing Enter in translateLine focuses on definition.
+ Typing any text key switches back to translateLine and puts it there.
2009-05-12 13:25:18 +00:00
Konstantin Isakov 806f8e4760 + Pasting in the definition window defines word from clipboard. 2009-05-12 10:52:11 +00:00
Konstantin Isakov bc2d917e96 *! Transliteration now adds any unknown chars as they are,
without changing them, instead of dropping them.
2009-05-12 08:44:17 +00:00
Konstantin Isakov 69e45b0020 * Slight change in Lingvo style. Looks less like in Lingo, but I like it this
way more.
2009-05-11 23:44:24 +00:00
ars_goldendict 5253d27c78 added German transliteration rules 2009-05-11 23:37:18 +00:00
Konstantin Isakov ac2d24709b + Save currently focused articles when navigating.
+ Lingvo style headers look closer to Lingvo now, and the currently chosen
  article gets its header highlighted, too.
2009-05-11 22:25:22 +00:00
Konstantin Isakov 527035f450 + Navigating away from within any article belonging to some dictionary
will result in scrolling to the same dictionary for newly opened content.
+ Some more css markup was added, in part to accomplish the above, in
  part to make the navigation look better (i.e. have space before article).
2009-05-11 19:14:28 +00:00
Konstantin Isakov dc96e29174 *! Awlays set definition's (QWebView) style using Html css, not Qt css. 2009-05-11 15:33:57 +00:00
Konstantin Isakov 8c40c6d50a + Implement switchable display styles. For now 'Default' and 'Lingvo'. 2009-05-11 11:03:36 +00:00
Konstantin Isakov c94e98d1c9 + Add a class for the "From " dictionary heading prefix. 2009-05-11 09:32:18 +00:00
Konstantin Isakov 70bc12e152 *! Fix a common problem where in "foo[i] bar[/i]" the space before "bar"
gets underlined.
2009-05-10 17:17:21 +00:00
Konstantin Isakov 843f1a6bd8 *! Some more fixes for Dsl behaviour. 2009-05-10 16:28:20 +00:00
Konstantin Isakov 7e503fcedd * Dsl articles now render and behave more closely to the original Lingvo. 2009-05-10 15:44:21 +00:00
Konstantin Isakov e4e5a9693e *! Switch to gdlookup://localhost/word scheme in dsl word references. This fixes
cases with uppercased/capitalized words.
2009-05-10 14:07:05 +00:00
Konstantin Isakov 9c5ac2613f * Group can be quickly chosen by Alt+G. 2009-05-10 11:49:14 +00:00
Konstantin Isakov 0c964c53ec *! Turn escaped spaces into non-breakable ones, as Lingvo does. 2009-05-08 19:11:24 +00:00
Konstantin Isakov 15df30337a *! Open bword:// links where word contains slashes correctly. 2009-05-08 17:19:10 +00:00
Konstantin Isakov 381c710a7c + Add 'Rescan Files' menu item to ease rescanning when editing dictionaries. 2009-05-08 10:47:34 +00:00
Konstantin Isakov d443ec5620 + Support UTF8 for the .dsl files which begin with UTF8 BOM. 2009-05-08 10:21:03 +00:00
Konstantin Isakov cc1a70d01a *! Add markup for m4-m9 dsl tags. 2009-05-08 09:35:25 +00:00
Konstantin Isakov 1c391da840 *! When toggling main window and it's not visible, activate and raise it. 2009-05-07 16:22:17 +00:00
Konstantin Isakov 484c3e356b *! Do proper '<charset c=t>..</charset>' replacements with a regexp. 2009-05-07 16:14:56 +00:00
Konstantin Isakov 44b5524a91 *! Close any previously opened 'm' tag before opening another one. 2009-05-07 14:54:26 +00:00
Konstantin Isakov cb512b9b11 +! Add decoding of old 8-bit encoded transcriptions. 2009-05-07 12:30:36 +00:00
Konstantin Isakov 7fd9d0f6c3 + Language pair is now extracted from the Bgl data
+ Bgl icons are now saved and used
2009-05-07 10:59:58 +00:00
ars_goldendict 765ba9d597 added language recognition for bgl files 2009-05-06 18:17:13 +00:00
Konstantin Isakov e29f1ae6b4 *! Update .css file to mention the right paths for translate line and word
list, as they now live in a dock widget.
2009-05-06 16:03:33 +00:00
Konstantin Isakov 197ccf35d4 + Support for transliterations added. For now basic Russian translit and
Hepburn Romaji are supported.
2009-05-06 14:39:08 +00:00
ars_goldendict 4e0b2626fb added language recognition for dictd files 2009-05-05 22:45:02 +00:00
Konstantin Isakov ebf1f61c4e *! Rebuild groups listing after 'Rescan now' is pressed. Closes #0000092. 2009-05-05 21:58:48 +00:00
ars_goldendict 5307b809b3 just a cleanup of redundant variable 2009-05-05 21:57:38 +00:00
ars_goldendict 1711bbd5aa added language recognition for StarDict dictionaries;
some fixes for LangCoder
2009-05-05 21:51:21 +00:00
ars_goldendict dcdb645c10 added Ctrl-Enter hotkey which opens current translation in a new tab 2009-05-05 20:12:20 +00:00
Konstantin Isakov 35ee5f6ab5 * Use fromLocal8Bit() for path. 2009-05-05 19:40:18 +00:00
ars_goldendict 7ca1631a00 added tooltips for dictionaries on the Groups page 2009-05-05 18:32:23 +00:00
Konstantin Isakov 743258b438 + Add a 'Rescan now' button in Sources. 2009-05-05 08:57:37 +00:00
Konstantin Isakov 3c390523d8 + Add support for alt words queries for MediaWikis. 2009-05-05 08:56:46 +00:00
Konstantin Isakov b6515fe2ff *! Icons now display for uncompressed .dsl files. 2009-05-03 19:34:19 +00:00
ars_goldendict 0a1a786f61 group drag&drop fix 2009-05-03 19:24:25 +00:00
ars_goldendict 282485c2de small fix of drag&group in group (deletion of the dictionaries after drop to the same window) 2009-05-03 18:46:19 +00:00
Konstantin Isakov c694aec9d3 *! Fix problems with transcriptions under Windows by including
Lucida Sans Unicode to the list of font families in the .css file.
2009-05-03 12:23:11 +00:00
Konstantin Isakov da3b7c819c +! Add proper .qm generation in .pro file. 2009-05-03 10:18:50 +00:00
ars_goldendict 11fcd6fb1b integration into KDE menu 2009-05-03 08:50:41 +00:00
ars_goldendict aacecaed67 integration into KDE menu 2009-05-03 08:48:26 +00:00
Konstantin Isakov 9496824058 * Make icons smaller and window wider so that tabs translated to Russian would
all fit.
2009-05-02 22:31:11 +00:00
ars_goldendict 19ca6e51db small fix of drag&drop 2009-05-02 22:24:31 +00:00
Konstantin Isakov e3ce206a48 + Add icons to interface language names. 2009-05-02 22:15:14 +00:00
ars_goldendict bfe7f720da a bit more icons 2009-05-02 21:46:43 +00:00
ars_goldendict b83c806c62 small improvement of adding to group 2009-05-02 20:36:12 +00:00
ars_goldendict dbbd6a2311 drag&drop of dictionaries: adds only non-existing dictionaries to group 2009-05-02 19:57:52 +00:00
ars_goldendict 9d83a95a64 Groups & Dictionaries dialog: added buttons for managing dictionaries 2009-05-02 17:12:52 +00:00
ars_goldendict 7c1d89ec9d libzip config updated in order to get compiled on windows 2009-05-02 14:02:37 +00:00
Konstantin Isakov 4d990d66fa * Russian translation updated. 2009-05-01 20:17:41 +00:00
Konstantin Isakov 56b2788815 * Simpler tooltips for zooming actions. 2009-05-01 20:10:47 +00:00
Konstantin Isakov 1622f031d4 * Incorporate modified libzip sources which read central directory up to its
end, allowing to support InfoZIP-based archives with more than 65535 files.
2009-05-01 15:25:28 +00:00
Konstantin Isakov d24601d60f *! Make another occurence of zip_name_locate case-insensitive. 2009-05-01 15:19:16 +00:00
Konstantin Isakov a07c2f6416 + Hide .dsl audio icons in print mode. 2009-05-01 12:34:27 +00:00
Konstantin Isakov 21b2d3b747 + Printing support implemented. 2009-05-01 12:20:33 +00:00
Konstantin Isakov eee0265ec9 *! Fix incomplete Group comparion operator 2009-05-01 11:52:10 +00:00
Konstantin Isakov 0dec20a2ce + 'Save Article' feature added. 2009-05-01 11:17:29 +00:00
Konstantin Isakov c54ba700fc + Spice life up a notch by adding icons to the sources. 2009-05-01 09:55:58 +00:00
ars_goldendict 604383427d fix for MSVC - it does not compile if..else sequences with more than 128 cases. 2009-04-30 23:23:01 +00:00
ars_goldendict 5778b446ab some winlibs fixes 2009-04-30 22:46:18 +00:00
ars_goldendict c8e4e76254 some polishing of zooming routines 2009-04-30 22:09:04 +00:00
ars_goldendict cc1a083493 fix for path to Program Files on Windows when it is not c:\program files 2009-04-30 21:47:42 +00:00
Konstantin Isakov 163d69b230 + Apply zoom factor to the scan popup as well. 2009-04-30 20:20:05 +00:00
Konstantin Isakov 0b8c674da6 * Apply new version name policy: version number+SVN for svn snapshots past the
latest release.
2009-04-30 20:12:26 +00:00
ars_goldendict 3e2ae16e96 added zoom buttons 2009-04-30 19:57:25 +00:00
Konstantin Isakov e94ed0f25d * Both Sources and Groups were consolidated into a single Dictionaries window.
This change required quite a lot of overhaul.
2009-04-30 15:29:03 +00:00
Konstantin Isakov 52bf63abaf *! Make tab hotkeys apply to whole main window, not just to its central widget.
This makes them work in docklets, too.
2009-04-29 23:55:41 +00:00
Konstantin Isakov 523b5f1a09 *! Do case-insensitive lookups in zip archives. 2009-04-29 23:39:20 +00:00
ars_goldendict 8a7367ebfc added "remove all groups" button to Groups dialog 2009-04-29 23:32:42 +00:00
ars_goldendict 67b34fd3e0 added changes in order to be able to get it compiled with MSVC (no project yet) 2009-04-29 23:18:26 +00:00
Konstantin Isakov a1a7a07279 + Xdxf support added. It's not really working at the moment, so for now
those are just dead, unused files.
2009-04-29 13:34:56 +00:00
Konstantin Isakov e7b8e7ab29 *! Add support for hidden transcriptions (fixes rendering problems
with Babylon English-Hebrew dictionary).
2009-04-27 22:48:31 +00:00
Konstantin Isakov c0935f8e13 *! Fix build problems on Fedora Development (patch by Tigro) 2009-04-27 12:25:15 +00:00
Konstantin Isakov f616a040d9 *! Drop any headwords which begin with a slash. They all seem gibberish and
always duplicate the normal ones.
2009-04-27 12:23:10 +00:00
Konstantin Isakov 589e56dda2 *! Reverted all the changes made to groups screen in revision 200. 2009-04-27 09:49:40 +00:00
Konstantin Isakov 3c34e48089 *! Fix problems with Babylon CP1255 encoding by flushing iconv state. 2009-04-26 13:51:21 +00:00
ars_goldendict f5f23ff4b2 reorganization of Groups dialog (unstable - needs to be checked) 2009-04-26 13:16:30 +00:00
Konstantin Isakov dae521a262 *! Fix problems handling audio gdau searches when there are no groups.
*! If article network manager fails to get the requested resource, check that
   and don't crash.
2009-04-25 21:04:49 +00:00
Konstantin Isakov d1377e28bd *! React to a keypad Insert key in hotkeys under Linux too. 2009-04-25 10:45:42 +00:00
Konstantin Isakov be2aa85fba *! Link with hunspell-1.2 instead of just hunspell, since it seems to be the
right name.
2009-04-24 17:06:24 +00:00
Konstantin Isakov 566055c7e2 *! Const modifier added. 2009-04-23 22:25:25 +00:00
ars_goldendict ec67732e36 added language read support for stardict format
added smart language extraction from filename to LangCoder
2009-04-23 19:57:39 +00:00
Konstantin Isakov 99c8c8642e * Use dictionarys' own icons for TOC items. 2009-04-23 16:29:54 +00:00
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