Commit graph

3781 commits

Author SHA1 Message Date
Konstantin Isakov 83115adf6e Chinese translation update by zhangjinsong. 2010-02-15 12:57:06 +03:00
Konstantin Isakov 70850a67de Lithuanian translation update. 2010-02-15 00:22:42 +03:00
Konstantin Isakov 001cbc8e35 Arabic translation by Usama <uakkad at gmail.com> added.
This version isn't considered final by the translator yet.
2010-02-14 00:01:50 +03:00
Konstantin Isakov 385a637ba7 Lithuanian translation by Mindaugas Baranauskas <embar at users.berlios.de> added. 2010-02-14 00:00:27 +03: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 199deb8985 Don't make backtrace under win32 -- it seems mingw32 doesn't support that. 2010-01-17 23:23:49 +03:00
Konstantin Isakov 9c3d8de794 Use a custom termination handler which displays a graphical message with
the exception, its description and stack backtrace.

This should aid tracking down those silent exits.
2010-01-17 16:04:55 +03:00
Konstantin Isakov 8aa25339ea Support some standard shortcuts to get to the translation line (Ctrl+L and
Alt+D).
2010-01-13 21:04:39 +03:00
Konstantin Isakov 9c624b1bc5 Make large files pass the File::exists() test. 2010-01-12 16:38:48 +03:00
Konstantin Isakov acb93b42da Another scanpopup rework. Simply moving the mouse away would hide it now, no
need to move it inside the window first anymore.
2010-01-03 02:26:09 +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 0e187e1e76 When checking for another copy, check if the existing pid is actually not
ours.
2010-01-02 15:56:33 +03:00
Konstantin Isakov 71c4709bad For scan popup, use the Popup window type under X11, Tool window type under
Windows.

Different types fit better under different platforms.
2010-01-02 15:55:34 +03:00
Konstantin Isakov cac8baf58f In Bgl, remove any html markup from displayed headwords prior to adding them to
the list of alternate forms.

Reindexing will be performed.
2010-01-02 15:42:40 +03:00
Konstantin Isakov 27bf9916b8 Rebuild libhunspell with Qt's mingw32 4.4.0 to make it work with Qt 4.6.0 SDK. 2009-12-31 17:10:44 +03:00
Konstantin Isakov d431321f3d Show the article in RTL mode if the target language is hebrew (patch by dmdmdm)
Some refinements done by ikm.
2009-12-27 15:40:20 +03:00
Konstantin Isakov 689859082c Support use of displayedHeadword alternate term, and hebrew "roots" (by dmdmdm)
Note: will force reindexing your bgl files.
2009-12-27 15:38:14 +03:00
Konstantin Isakov 2d9244c311 Show the terms in the wordfinder in RTL if it's needed (patch by dmdmdm) 2009-12-27 15:08:11 +03:00
Konstantin Isakov 1094b44d8b Scanpopup fixes, patch by a forum member "dmdmdm".
Some further adjustments were made by me (ikm).
2009-12-27 15:00:59 +03:00
Konstantin Isakov 7a03248aad A flag for Esperanto was added. 2009-12-25 17:40:10 +03:00
Konstantin Isakov cf6221677b Trim whitespaces in the audio playback program's name.
Some people tend to add whitespace after the name of the program and then
complain it doesn't work. This should fix such cases.
2009-12-22 13:06:13 +03:00
Konstantin Isakov ec8b385b70 Add the previously omitted "Ps" (Punctuation, Open) Unicode category to
punctuation folding algorithm.

This prevented finding i.e. entry "(foo" by typing just "foo". All
dictionaries will be reindexed.
2009-12-17 16:51:33 +03:00
Konstantin Isakov ebec14ac7f Typing while focused on the word list initiates new search now. 2009-12-13 20:15:34 +03:00
Konstantin Isakov c83b6cd5da Chinese translation update by zhangjinsong. 2009-11-11 13:42:54 +03:00
Konstantin Isakov a134015070 Use gdlookup:// scheme instead of bword:// one for close word suggestions.
The latter is prone to problems due to URI conventions and should not be used.
2009-11-11 13:37:23 +03:00
Konstantin Isakov 55916d0aae Check for the bword:// scheme without case sensitivity.
This fixes some dictionaries which use BWORD:// addressing.
2009-11-11 13:24:06 +03:00
Konstantin Isakov 2f0896b94e Under Windows, use lrelease instead of lrelease-qt4. 2009-11-11 12:51:46 +03:00
Konstantin Isakov 60f21f9b78 Construct printer only when the first printing operation is requested.
This speeds up startup and conserves resources, since apparently creating
a printer makes it connect to localhost:ipp and do other things.
While at it, use high-resolution printing mode instead of the default, which
is a screen resolution.
2009-11-11 12:43:20 +03:00
Konstantin Isakov 416b231587 Project file patches by bsam applied. 2009-11-10 21:52:50 +03:00
Konstantin Isakov 727c811882 Link to X11 directly, despite the fact that Qt drags it along anyway.
This may aid future binutils transitions in Debian.
2009-11-06 16:30:15 +03:00
Konstantin Isakov 04327760ed Chinese translation update by a forum member "zhangjinsong". 2009-11-03 14:58:53 +03:00
Konstantin Isakov 9a019dceec Hi&story changed to H&istory since the former was clogging the Alt+S "Play
sound" shortcut.
2009-11-01 19:22:25 +03:00
Konstantin Isakov b87e2eeb94 Fix a crash when choosing a history item from the menu. 2009-11-01 19:20:26 +03:00
Konstantin Isakov c6d0f2e440 Since we've now moved to Git, update the version tag to be it. 2009-10-31 02:32:11 +03:00
Konstantin Isakov 2896ae1fb6 * &History changed to Hi&story. 2009-10-26 11:32:57 +00:00
Konstantin Isakov baffd5e277 - Remove the internal copy of libzip. We don't use it anymore. Goodbye, libzip! 2009-10-25 22:52:50 +00:00
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