Commit graph

822 commits

Author SHA1 Message Date
Konstantin Isakov 2b2ab69d7e Update Bulgarian translation. 2011-07-26 21:33:24 -07:00
Konstantin Isakov 5b9fc5da31 Merge branch 'master' of github.com:goldendict/goldendict 2011-07-26 21:31:23 -07:00
Konstantin Isakov 004f9f9a36 Don't attempt adding very large words into index, they are usually a sign of malformed dictionary and can consume huge amount of resources. 2011-07-26 21:26:59 -07:00
Abs62 f20b046229 Move scan popup extra technologies selection to "Advanced" tab in Preferences 2011-07-23 15:32:15 +04:00
Tvangeste d49e3c4d9b added some *.dll and *.a files to gitignore 2011-07-23 13:08:52 +02:00
Abs62 3ae6add49c Adjust program code and project file to new libraries 2011-07-19 22:36:04 +04:00
Abs62 5710595120 Change libiconv to last official version 1.13.1
ATTENTION: New iconv dll have name libiconv-2.dll and located in winlibs\lib folder. Place it to GoldenDict.exe folder. Old library libiconv2.dll can be removed.
2011-07-19 22:30:34 +04:00
Abs62 a3e3ab2ad8 Change libhunspell to last official version 1.3.2 2011-07-19 22:27:47 +04:00
Abs62 e41f8e9384 Remove unneeded files from /winlibs
Remove *.a and *.dll from .gitignore
2011-07-19 22:22:16 +04:00
Tvangeste 202914653f Fixed #28: Allow adding a new tab by double-clicking the large empty space right to it 2011-07-19 12:03:56 +02:00
Tvangeste a03d4d2dde "Auto-pronounce in Scan Pop-Up" option should not be disabled when the Scan Pop-Up is disabled.
Because users can manually show the scan pop-up via Ctrl+C+C.
2011-07-15 14:50:07 +02:00
Tvangeste 68335ba349 Provide an icon for the error message in the status bar 2011-07-15 14:42:40 +02:00
Tvangeste a94ed4b82e Make dictionary icons to have the same sizes, to avoid visual alignment problems.
* Corrected icon sizes in the "found in dictionaries" pane.
* Corrected icon sizes in the preferences dialog.
2011-07-15 14:11:08 +02:00
Tvangeste 4163bce8a2 Various status bar related fixes:
* Status Bar now available for Scan Popup window as well.
* Fixed #13: Eliminated modal box when sound is not available:
  Instead of modal dialog box we now show the status bar message,
  with error icon, thus making it visible but not disruptive.
* Proper handling of status bar images.
* Styling of the status bar in both modes
  (in Mani Window and in Popup Window).
2011-07-14 22:11:57 +02:00
Tvangeste 39d8772153 added statusbar to the scan popup window 2011-07-14 10:17:59 +02:00
Tvangeste cdf753f9c8 Updated web dictionaries that come with GD by default.
1. Google has switched from Collins COBUILD to Oxford Pocket Dictionary.
2. Lingvo's online link has been corrected.
2011-07-12 21:49:36 +02:00
Abs62 0e374a4abc Rewrite scan libraries on plain C completely instead of C++ in some modules.
It prevents some runtime library conflicts with other programs (Maxthon 3)
2011-07-12 16:52:07 +04:00
Tvangeste 5404d4213e Dictionary tool buttons should not have an icon shifted when checked.
This just looks better, since the dictionary icons don't collide
with the border anymore.
2011-07-12 11:38:37 +02:00
Abs62 c0a2ed77f9 Hide scan method options 2011-07-11 16:36:28 +04:00
Tvangeste 747526fca8 tooltips for a couple of buttons 2011-07-10 12:29:52 +02:00
Abs62 aac6fe7a61 Turn all scan methods on by default 2011-07-10 13:48:57 +04:00
Tvangeste 6693aefb3e New menu item: Help -> Configuration Folder.
I'm tired of explaining to users where their configuration
folder for GoldenDict is. :)
2011-07-10 09:36:43 +02:00
Tvangeste 20a12d3e5a Small "About" dialog improvements: Increased its size and removed weird spacer in the middle of the form. 2011-07-10 08:40:47 +02:00
Abs62 bbc35ceb47 Russian translation updated 2011-07-10 02:01:06 +04:00
Abs62 a8589b39bf Improvements in scan popup functionality.
1. Add search word under cursor through IAccessibleEx interface and UI Automation technology.
2. Reorganize GoldenDict main program and scan libraries interaction to reduce influence to other programs.
3. Fix crash in scan libraries in IE9 protected mode.
2011-07-09 23:26:30 +04:00
Tvangeste 74e7a41548 properly adjust status bar position when the main window resizes 2011-07-09 19:05:14 +02:00
Tvangeste 354066c292 Reimplemented the status bar as internal widget instead of top-level borderless window.
Now the status bar behavior is much more reliable on X11 systems, no more
lags when moving GoldenDict window around or when resizing it. Works
better with compositing window managers as well.

Also, the new status bar also supports images, which is good for
warnings and error messages.

The status bar is fully styled and can change its appearence
based on user's CSS, if needed.
2011-07-09 13:55:44 +02:00
Tvangeste 83acbcf10c Ctrl/Shift-Click on links opens them in a new tab.
This is in sync with Ctrl/Shift-DoubleClick and Ctrl/Shift-Enter
behaviors that we already have.

And this is in sync with browsers.
2011-07-06 08:53:42 +02:00
Tvangeste 8b3f9a7474 Closes #21: Scrollbar and doubleclick translation. 2011-07-05 21:58:02 +02:00
Tvangeste a3e9eb9cb4 Fixed Shift-Tab problems, reported in #22. 2011-07-04 10:35:56 +02:00
Tvangeste 79dbce2bb3 Sync between the currently active article and the "found in dictionaries" pane.
Now when a user activates an article (by clicking on it, or by using Alt-Up/Down shortcuts),
corresponding dictionary in the "found in dictionaries" pane is selected.

See Issue #22.

P.S. Lingvo behaves in the same way too.
2011-07-03 19:59:17 +02:00
Tvangeste ad75c8992c Hovered link notifications in the status bar, just like in browsers.
Move the mouse pointer over the link and see the status bar updated.
2011-07-02 15:04:49 +02:00
Abs62 3291432d41 Russian translation updated 2011-07-02 13:45:11 +04:00
Konstantin Isakov ace090d434 Merge pull request #10 from chulai/highlight-all-search
Add "Highlight all" to Article search (Ctrl + F)
2011-07-01 20:57:05 -07:00
Konstantin Isakov e0a2ad5775 Merge pull request #11 from chulai/article-search-shortcuts
Add shortcuts for Previous/Next actions on Article search (Ctrl + F)
2011-07-01 13:43:42 -07:00
Konstantin Isakov d75a3cb9c9 Merge pull request #23 from VVSiz/review/iconv
Failure to index a dictionary in UTF-8 format on Windows
2011-07-01 13:35:47 -07:00
Julian Depetris Chauvin c1ad1ec880 Code refactor to get current article view. 2011-07-01 16:22:40 -03:00
Julian Depetris Chauvin 2cf52b3796 Minimizee 2-colors selection glitch for Babylon dictionaries. The source problem is that some html dont a well-formed structured (inline elements are not placed within block-level elements) 2011-07-01 13:25:14 -03:00
Tvangeste 57a928510c Fix for #23: Failure to index a dictionary in UTF-8 format on Windows.
Here's what happens. At some moment during dictionary conversion,
in DslScanner::readNextLine(), whe call iconv(), when both buffers
are of size 4 (the conversion is from UTF-8 to UTF-16).

Now, the dictionary contains two em-dash symbols at that position,
one after another, each is encoded in 3 bytes in UTF-8. So, the
input buffer of size 4 contains entire first em-dash (3 bytes)
and the first byte from the second em-dash.

Calling iconv() on Linux leads to Iconv::NeedMoreOut (E2BIG),
which makes sense, since we converted the first char and there is
no more space in the output buffer.

Calling iconv() on Windows leads to Iconv::NeedMoreIn (EINVAL),
which *also* makes sense, since we converted the first char, started
to look at the second one and noticed that it is incomplete.

The difference is only what iconv() checks first, the state
of the input or the state of the output. And it seems that it
does different things on Windows and Linux.

The patch takes this into account and resolves the conversion
problem on Windows: the only error condition that requires
to throw an encoding error is when outBytesLeft is non-empty,
that means that iconv didn't convert anything.
2011-07-01 14:21:57 +02:00
Julian Depetris Chauvin 68b847f02b Use just one color for selecting and searching. This simplify things and avoid several issues (Check https://github.com/goldendict/goldendict/pull/10) 2011-06-30 14:56:02 -03:00
Tvangeste f620fdf63e One more fix for the statusbar behavior on X11 systems.
Now, the statusbar behaves good on all the following tested systems:

* Ubuntu+Gnome
* KDE-Plasma
* XFCE
* Fluxbox manager
2011-06-30 16:50:19 +02:00
Tvangeste a37c4ba67c Workarounds for X11 idiosyncrasies. 2011-06-30 15:13:23 +02:00
Julian Depetris Chauvin 5f97db0449 Add shortcuts for Previous/Next actions on Article search (Ctrl + F) 2011-06-30 09:45:05 -03:00
Julian Depetris Chauvin c55061c302 Add "Highlight all" to Article search (Ctrl + F) 2011-06-29 14:42:16 -03:00
Abs62 0726b90f30 Russian translation updated 2011-06-29 17:42:37 +04:00
Tvangeste 98ce9b3256 Cleanup of the focus order.
Some non-essential components should never get keyboard focus.

So, now the focus order is as follows:

TranslateLine -> TabWidget -> ArticleView -> DictsList, nothing else.
2011-06-28 17:55:41 +02:00
Tvangeste d23c79f632 add goldendict to .gitignore 2011-06-28 14:24:07 +02:00
Konstantin Isakov d9d5c85871 Merge pull request #20 from VVSiz/review/hide_statusbar
Crome-like status bar
2011-06-27 19:37:31 -07:00
Tvangeste d46e4dc77b Chrome-style statusbar for GoldenDict.
* Small pop-up window at the bottom of the main winodw instead
  of traditional status bar, that consumes lots of space.
* API, similar to standard Qt's status bar.
* The status bar hides itself after specified amount of time.
* Clicking on the status bar also hides it.
* Properly behavies on resizes/moves/focus/etc.
* Tested on Linux and Windows.
2011-06-27 20:54:15 +02:00
Konstantin Isakov 5bdaf89459 Merge pull request #18 from VVSiz/review/hide_menubar
Ability to hide menubar
2011-06-26 18:16:16 -07:00