Commit graph

395 commits

Author SHA1 Message Date
Konstantin Isakov 28655b123b + Zip files are now indexed along with the articles. This means that their
listings aren't now loaded into memory, resulting in many megabytes of
  memory savings (with larger zips) and faster startup, too.
  Since libzip wasn't too much of use with the current way zips are used, it
  is not used anymore and is to be removed.
  The code has only received basic testing -- please test with your data.
2009-10-25 22:49:24 +00:00
Konstantin Isakov dcf096e0ab *! Change SJIS-WIN to CP932 in Babylon parser. This may fix problems with
Babylon Japanese dictionaries under Windows, where libiconv had problems
   with the former encoding name.
2009-10-22 22:39:59 +00:00
Konstantin Isakov b2ecdba30a + Clicking a link with middle mouse button opens it in a new tab. 2009-10-22 11:38:11 +00:00
Konstantin Isakov 890b5da3b5 +! Don't save overly large search queries into history. Those are usually
large bogus selections of whole text blocks and they only mess up menus.
2009-10-21 20:50:00 +00:00
Konstantin Isakov 7ae6bf9fba *! Prevent triggering spurious translations when changing group or editing the
query while there's an item in the word list selected.
2009-10-21 20:23:03 +00:00
Konstantin Isakov 5c3fb7c023 *! Fix problem with the 'All' group in history.
The value of it is too large for a signed int.
2009-10-21 20:06:17 +00:00
Konstantin Isakov 9ee8210c1f + History of search queries implemented. 2009-10-21 19:37:07 +00:00
Konstantin Isakov 2c46854ab1 *!m Forgotten part of the r394 commit. 2009-10-21 19:33:23 +00:00
Konstantin Isakov 00179e4a48 = Move out atomic renaming into a function of its own.
+m Add getHistoryFileName() in preparation for history support.
2009-10-21 19:30:14 +00:00
Konstantin Isakov 1db7b7e334 = Add makeIcon() function to a group instance. 2009-10-21 19:28:09 +00:00
Konstantin Isakov 1559f88ba0 + Experimental support for "Windows" key modifier for hotkeys under Windows.
Wasn't tested.
2009-10-20 13:04:46 +00:00
Konstantin Isakov 6207fef4c6 + Skip weird synonym entries with slashes and dollars in StarDict
dictionaries. Those were introduced by bad conversions from Babylon,
  are superfluous and no one needs them. The filter is quite conservative
  and it shouldn't be dropping any legitimate synonym entries.
2009-10-19 23:05:28 +00:00
Konstantin Isakov 08c1222f9d + Bulgarian translation added (by Svetoslav Stefanov). 2009-10-19 17:40:01 +00:00
Konstantin Isakov cdd2321601 *! It may now be able to compile under Windows. 2009-10-19 11:19:40 +00:00
Konstantin Isakov ac340ba98f +! Write config file by creating a temporary file and renaming it over the
target one once it's fully written.
   Note that the Windows-specific code here was not tested at all.
2009-10-18 11:01:13 +00:00
Konstantin Isakov 35af96dfc0 + Dictionary bar has now a context menu listing all the dictionaries with
their names.
2009-10-12 13:58:32 +00:00
Konstantin Isakov cb94fbfa41 + Shorten long dictionary names for the dictionary bar.
Tooltips still contain full dictionary names.
2009-10-12 13:09:36 +00:00
Konstantin Isakov 420efdab13 + Add 'Show names in dictionary bar' option. This should aid StarDict users
since there're no icons in those dictionaries.
2009-10-12 12:41:20 +00:00
Konstantin Isakov c7d790c855 * Greek translation update by Jennie Petoumenou 2009-10-12 12:06:59 +00:00
Konstantin Isakov 33038ef8c5 *! Fix crash with Qt >= 4.5.3 when browsing MediaWiki sites by deleting
network replies after they signal completion, not immediately during
   that moment.
2009-10-10 17:37:48 +00:00
Konstantin Isakov 2064b302b4 *m All translations were "lupdated" and now include all the latest untranslated
strings.
2009-10-10 17:20:42 +00:00
Konstantin Isakov c8794d2424 * German translation update by Daniel Kaneider. 2009-10-10 17:19:50 +00:00
Konstantin Isakov ed4c2a411a *! Some changes to UI strings, thanks to Daniel Kaneider. 2009-10-10 17:16:17 +00:00
Konstantin Isakov 98aedc0205 - Revert to default size adjustment policy for group icon's comboboxes.
This might speed up the groups' dialog construction (or might not).
2009-10-10 11:35:37 +00:00
Konstantin Isakov 9aefea2dc8 +! Don't allow interacting with the tray icon until the program loads fully. 2009-10-09 21:03:55 +00:00
Konstantin Isakov 356570b244 + Allow the "file.dsl.files.zip" naming scheme for file.dsl.dz files.
The old one, "file.dsl.dz.files.zip" still works too.
2009-10-09 13:58:58 +00:00
Konstantin Isakov 769ff4d2a1 -m We don't need this printf. 2009-10-08 22:19:40 +00:00
Konstantin Isakov 230ab47891 + Warn if a user's running certain X.Org releases which have the RECORD
extension broken.
2009-09-29 13:01:05 +00:00
Konstantin Isakov 0fd5ddee85 - Remove some unneeded spurious prototype. 2009-09-24 12:41:41 +00:00
Konstantin Isakov 412219e149 +! Use the triggered() signal to handle dictionary bar appearance/disappearace
events, and only use toggled() one-time to perform first init of the bar,
   since the initialization appears to be dereffed in time. The use of
   triggered() instead of toggled() fixes spurious toggling events when
   the bar is dragged around with the mouse.
2009-09-24 12:20:20 +00:00
Konstantin Isakov e13a4596ae + Dictionary bar, a bar with dictonary icons for the current group, was
implemented. Clicking icons disables corresponding dictionaries. When
  clicking with Shift/Ctrl, a dictionary can be made solo.
  The feature is currently only available in main window only, scan popup
  will be addressed later.
+ 'View' menu introduced. It allows switching toolbars and side pane on/off
  without any arcane knowledge on how to toggle them on/off via RMB.
2009-09-23 18:44:38 +00:00
Konstantin Isakov cfad57c4a6 + Greek translation added (thanks to Jennie Petoumenou) 2009-09-21 19:57:55 +00:00
Konstantin Isakov 076e6b5447 + Dictionary bar partially implemented. This is work in progress. 2009-09-21 17:50:03 +00:00
Konstantin Isakov f5eee20267 +! Don't add options to translate the selected word in the article's context
menu if the selection size is larger or equal to 60 symbols. This fixes
   overblown menus when there's a large selection present.
2009-09-08 20:31:31 +00:00
Konstantin Isakov d35e4a5877 +! Correctly handle bword:// links when they contain non-ascii
letters and dots by independently decoding IDN for each part.
2009-08-31 14:27:19 +00:00
Konstantin Isakov 8f23e83ac0 +! Prevent accidential index purging when the program is terminated
in some obsure way and the dictionary loading thread gets killed
   prematurely.
2009-08-31 12:58:29 +00:00
Konstantin Isakov 54efa23585 + Add an option to block content (images, frames etc) not originating
from the site the user browses. This effectively hides all
  advertisements on the websites.
2009-08-31 12:18:08 +00:00
Konstantin Isakov 0af2a9b4cc *! Always allow session shutdown to proceed without any cancellations.
This fixes problems with GoldenDict preventing KDE4 from shutting down.
2009-08-20 15:27:16 +00:00
Konstantin Isakov 7523a95a53 + Support all ISO-8859 encodings in form of %ISO1%, %ISO2% etc for
websites
2009-08-20 11:37:07 +00:00
Konstantin Isakov c159801cf2 +! Translate language code to a code of a major country speaking that
language, and use that country's flag as an icon for the language.
    Previously the language code was used as a country code without any
    translation, which only worked right if they were matching, that
    being merely a coincidence (e.g. ru => RU, but zh => CN).
2009-08-07 17:00:03 +00:00
Konstantin Isakov 21d3cc25b2 + German translation added (thanks to Daniel Kaneider)
The translation is 90% complete -- this is an ongoing effort.
2009-08-07 10:34:10 +00:00
Konstantin Isakov 65fd6f72e6 +! In Qt style file, specify foreground color as well, so the colors would
always be consistent no matter the chosen system color theme.
2009-08-06 20:17:06 +00:00
Konstantin Isakov 0cf4ce3cc0 -! Remove some erroneous sokuon cases from Romaji tables. 2009-08-05 12:25:41 +00:00
Konstantin Isakov 71318fc98f +! Support for double consonants (sokuon) added. 2009-08-05 11:19:48 +00:00
Konstantin Isakov d66d4269ad *! When performing diacritics folding, weed out any combining marks which
managed to get past the normal diacritic folding routine.
2009-08-04 22:57:08 +00:00
Konstantin Isakov 73d961c85d * Typo fixed 2009-08-03 21:19:30 +00:00
Konstantin Isakov 4183d73b20 + Show line in .dsl when indicating an error processing it. 2009-08-01 10:05:24 +00:00
Konstantin Isakov 64867e9f1b The following patches made by Dmitry E. Oboukhov applied:
* Middle click on the tray icon translates current selection
  * Middle click on the main window also translates current selection
  * When editing groups, double click on the dictionary adds it to the
    current group.
2009-07-31 11:40:54 +00:00
Konstantin Isakov f7d47163d3 + Localizations are not hardcoded anymore -- all translation files that exist
in the current installation get into the list now.
+ Chinese translation added (thanks to Satoshi Joh)
+ Czech translation added (thanks to Vit Pelcak)
2009-07-29 16:39:27 +00:00
Konstantin Isakov ba1292607f +! Normalize dsl headwords by compressing consecutive spaces into single spaces. 2009-06-06 16:02:52 +00:00