Commit graph

3616 commits

Author SHA1 Message Date
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
Konstantin Isakov 5c259c1a5e +! Interpret "[[" and "]]" as escaped '[' and ']'. 2009-06-06 12:01:59 +00:00
Konstantin Isakov 18c65c91df * Switch from mmaps to plain file reading for .dz files - don't use any mmaps
anymore.
2009-06-01 10:59:29 +00:00
Konstantin Isakov 7d3537243d +! Save and restore scroll offsets programatically - this helps when websites
are involved, as they expand after WebKit restores the position.
2009-05-29 22:04:43 +00:00
Konstantin Isakov 1dff1384bc +! Fix handling requests with no link text. 2009-05-29 20:30:45 +00:00
Konstantin Isakov 3161934f64 *! Use a better 'textContent' property which grabs all the text, including
subnodes.
2009-05-29 20:06:30 +00:00
Konstantin Isakov 05d53409bf + Support for folloing websites' links in-place. The actual link is followed for
the website, while the query word is set to the link's text as used for all
  other dictionaries in the group.
* Some associated cleanup (better scrolling to articles, better external link
  handling).
The changes might cause problems - test!
2009-05-29 19:48:50 +00:00
Konstantin Isakov 2b2de01e95 *! Minimize the number of realloc()s done when reading zip cdir.
This should presumably make reading of large zip archives much faster.
2009-05-28 12:26:16 +00:00
Konstantin Isakov 8a2cf34051 + Raise filedescriptor limit to 2048 under Windows. 2009-05-26 15:33:54 +00:00
Konstantin Isakov 76a429e7e9 +! Experimental support for UTF-8 in .bgl files added. 2009-05-26 12:08:34 +00:00
Konstantin Isakov 55bbfde904 *! Downgrade 'sudden end of file' to a warning for index files.
This fixes some broken dictionaries which still work with StarDict.
2009-05-26 10:25:40 +00:00
Konstantin Isakov 231e09ed4a *! Make Dictionary Filenames box read-only. 2009-05-25 20:45:02 +00:00
Konstantin Isakov d65405a596 * Bump the version to +svn. 2009-05-25 13:42:09 +00:00
Konstantin Isakov 13467bd6c1 +! Include <stdint.h> 2009-05-25 13:41:28 +00:00
Konstantin Isakov eb96dd173a * Release the 0.9.0. 2009-05-24 19:28:51 +00:00
Konstantin Isakov 0d2ce6128d * Change Ctrl+Ins+Ins to Ctrl+C+C. 2009-05-24 19:04:24 +00:00
Konstantin Isakov 62a36598c2 +! Check printer validity before entering Page Setup - this fixes
fault when no printer is installed.
2009-05-24 18:51:45 +00:00
Konstantin Isakov afb9c0d5a5 * Update Russian translation. 2009-05-24 17:39:00 +00:00
Konstantin Isakov 31c735c2d5 * Update 'Welcome' text. 2009-05-24 17:38:38 +00:00
Konstantin Isakov e95c6bba40 * Move 'Scan Popup' page to be before 'Hot keys'. 2009-05-24 17:38:07 +00:00
Konstantin Isakov 0ed8294c51 + Use (programDataDir)/content/morphology when creating new config if said
directory exists.
2009-05-24 17:35:47 +00:00
Konstantin Isakov d89e17829d + Load translation from the application directory if there was none installed. 2009-05-24 17:13:43 +00:00
Konstantin Isakov bc7e75c2eb *! Fix incorrect tooltip. 2009-05-24 17:05:10 +00:00
Konstantin Isakov 4c557b06b2 -! Remove duplicate accelerator key. 2009-05-24 16:40:53 +00:00
Konstantin Isakov ea1da19196 + Language-specific stuff now lives in language.hh/.cc
+ Dictionary tooltips and dictionary info now show localized language names.
2009-05-24 16:38:08 +00:00
Konstantin Isakov b7b527f09c +! Merge r194 from 0.8.0 branch to fix qt locale loading. 2009-05-24 15:54:39 +00:00
Konstantin Isakov 8535604e21 + Implement basic 'Dictionary information' pane functionality.
- Hide arrow buttons in 'Dictionaries' for now.
+ Add 'ja' flag to comply to ISO (copied from 'jp')
2009-05-24 15:45:37 +00:00
Konstantin Isakov 337ceba596 * Disable Kunkrei- and Nihon-shiki, since they are not
implemented yet.
2009-05-24 14:38:16 +00:00
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