Commit graph

33 commits

Author SHA1 Message Date
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Konstantin Isakov ceab951fe9 Update year in copyright notices. 2010-05-08 22:59:59 +04:00
Konstantin Isakov 3e08acbeac Double-clicking the words in an article translates them right away. This
feature may be turned off in preferences, but it is on by default.
2010-04-09 00:37:59 +04:00
Konstantin Isakov a0fda4383a Implement dictionary bar for scan popup.
This dictionary bar operates completely separately from the dictionary bar in
the main window, and has its own set of muted dictionaries. The bar is on the
right of the window by default, but can be moved once the window is pinned
down.

Windows users, please test, this may have some Windows-specific problems.
2010-03-31 00:16:27 +04:00
Konstantin Isakov 373d8614a5 Patches by Alexey Morozov <morozov at altlinux.org>
0001-update-via-lupdate-.ts-files.patch -- changes produced by
                    invocation of lupdate

0002-updated-ru_RU-translation.patch -- updated translation, indeed

0004-Use-pkg-config-for-compiler-and-linker-flags.patch -- on unix-like

     system it makes sense to use pkg-config to determine proper compile
     and link flags for external libraries. Particularly in my distribution
     '-lhunspell-1.2' doesn't work, but '-lhunspell' does. I'm not sure about
     Win32 and MacOSX builds though.

Regarding 0003-Fix-phonon-headers-inclusion.patch.

Actually it's a bit questionable and distribution specific. Qt documentation
( http://qt.nokia.com/developer/changes/changes-4.6.1 ) suggests that
applications should use

 #include <phonon/ClassName>

and <Phonon/ClassName> isn't guaranteed to work. However major Linux
distributors, -- I've checked Fedora/RH, Mandriva; ALTLinux also goes this
way, -- provide KDE-specific builds of Phonon. Headers in these packages
should be included as <Phonon/ClassName>, so it happens to be more portable
than Nokia's suggested way.
2010-01-23 01:55:16 +03:00
Konstantin Isakov c25e7f268e Use Phonon framework for audio playback.
This is now the default way to play back sound under Windows. The other one,
"Use external program", was also made available there. The old method of audio
playback under Windows (via PlaySound) was completely removed.
Since Phonon uses DirectShow as a backend under Windows, all file types
supported by it should now play back. Therefore, the previous limitation to
just .wav files is now lifted.
Since Phonon is only available starting from Qt 4.6.0 under Windows, no older
versions of Qt are supported anymore there.
2010-01-02 21:16:22 +03: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 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 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 22fb1d2f5f + 'Text Find' implemented. 2009-05-16 11:14:43 +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 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 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 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 8c40c6d50a + Implement switchable display styles. For now 'Default' and 'Lingvo'. 2009-05-11 11:03:36 +00:00
Konstantin Isakov 21b2d3b747 + Printing support implemented. 2009-05-01 12:20:33 +00:00
Konstantin Isakov 0dec20a2ce + 'Save Article' feature added. 2009-05-01 11:17:29 +00:00
ars_goldendict 3e2ae16e96 added zoom buttons 2009-04-30 19:57:25 +00:00
Konstantin Isakov 1160e742cb + Add 'table of contents' navigation into the right-button mouse menu. 2009-04-12 16:22:42 +00:00
Konstantin Isakov c7126a0281 + Ability to play the first audio reference by clicking on the 'Pronounce word'
button in main window or in scan popup added. It is also possible to
  configure the program to do that automatically.
+ It is now possible to specify which program to use for audio file playback.
2009-04-10 21:07:03 +00:00
Konstantin Isakov 03736c2193 * Give groups numerical ids and switch to use them everywhere instead of names
to identify them.
2009-04-10 12:48:40 +00:00
Konstantin Isakov 4a99ce281f + Allow navigating down to the word list from the translation line and back
by pressing Down or Up keys, respectively.
* Pressing Enter on the translation line directly translates what is typed
  there now, irrespectively of whether there are any word matches or not.
2009-03-29 17:38:54 +00:00
Konstantin Isakov 7859daaff6 * Major dictionary interface rework. Dictionaries now return Request objects
which can provide results asyncronously, be discarded prematurely etc. This
  work touches just about every piece of exiting code.
+ On top of the new interface, MediaWiki (Wikipedia) support was added.
* Some other small fixes might went along.
2009-03-26 19:00:08 +00:00
Konstantin Isakov 0dfc699a30 * Rework the way temporary files are handled so they'd work under Windows
without locking issues.
2009-02-08 21:54:19 +00:00
Konstantin Isakov 2f27e8d9e6 + Indicate that the user should be anticipating the result when scan popup
is searching for the translation.
2009-02-08 16:50:18 +00:00
Konstantin Isakov d32fd02217 + Implement "in new tab" context menu choices in article view. 2009-02-08 15:49:17 +00:00
Konstantin Isakov 71c736f35f Use desktop services to open all types of files but the audio ones. 2009-02-08 14:40:26 +00:00
Konstantin Isakov c2977cf9a1 + Support for sound playback under Windows added (limited to .wavs though). 2009-02-06 15:37:37 +00:00
Konstantin Isakov 4bae99aeb5 Mass-update email to point to a @berlios one. 2009-02-05 14:21:47 +00:00
Konstantin Isakov 2be1c2b375 Scan popup functionality implemented, among with other small improvements.
For now, the modifier key is hardcoded to be Ctrl.
2009-02-01 00:08:08 +00:00
Konstantin Isakov c05781368b Created /trunk/src and moved everything there. 2009-01-28 20:55:45 +00:00