Commit graph

5663 commits

Author SHA1 Message Date
Konstantin Isakov cb85c1981d +! When rendering an article, check whether the sound is present in a zipfile
or not when deciding if to insert a search audio link or a direct one.
2009-03-28 16:16:56 +00:00
Konstantin Isakov 02fac7263e * Load .dsl resources asyncronously -- they don't even have any shared
structures.
2009-03-28 16:06:00 +00:00
Konstantin Isakov 517c58b695 * Cancel the corresponding dictionary request upon the network request
destruction.
2009-03-28 15:59:39 +00:00
Konstantin Isakov 3523031a6d + Support for .dsl resources contained in a .zip file named dictname.files.zip.
libzip is therefore a dependency now.
2009-03-28 12:35:52 +00:00
Konstantin Isakov e0911e999b * When creating new config under Linux, add all /usr/share/stardict/dic
subdirs to the list of dirs.
+ Populate mediawikis list (but don't enable any) when upgrading config.
2009-03-27 10:48:44 +00:00
Konstantin Isakov 65da954da2 * Switch to use Qt's own hashing support instead of having our own private Md5
implementation.
2009-03-26 19:15:00 +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 b2b9798663 + a "noResults" property style option added for translateLine 2009-03-26 16:37:00 +00:00
Konstantin Isakov 10e4caa8e1 + Wikipedia stylesheet data added
+ gderrordesc style description added
2009-03-26 16:35:49 +00:00
Konstantin Isakov b151013c35 + Add a wiki icon flag. 2009-03-26 15:44:15 +00:00
Konstantin Isakov ef68f7a93c * Use correct transform from local 8-bit filename encoding to QString
(this caused some files to being reindexed each time).
2009-02-09 22:49:44 +00:00
Konstantin Isakov 27f5e814f7 * "the each"->"each" 2009-02-09 19:39:58 +00:00
Konstantin Isakov 96215766c8 * Don't use documentMode under Windows since we're having some problems with
the definition frame.
2009-02-09 01:08:52 +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 050a989da8 * reading->ready typo fixed. 2009-02-08 21:32:33 +00:00
Konstantin Isakov 2264df6716 * Hide groups combobox when there are no groups in scan popup window. 2009-02-08 21:26:35 +00:00
Konstantin Isakov 956b7cfaee * Add minimize button to the "Initialing" window. 2009-02-08 21:03:36 +00:00
Konstantin Isakov c12aa385f8 * Make the "initializing" dialog non-closable. 2009-02-08 20:55:28 +00:00
Konstantin Isakov 9b1816d887 Use larger-sized image for the program icon. 2009-02-08 20:29:23 +00:00
Konstantin Isakov 5068b3b8f3 + Scan popup can now be turned on and off.
+ Tray icon context menu implemented.
2009-02-08 20:20:02 +00:00
Konstantin Isakov 00ac1e235c + Add some initial welcome text and help. 2009-02-08 18:35:29 +00:00
Konstantin Isakov cbd2577225 * GPL->GNU GPL 2009-02-08 18:34:48 +00:00
Konstantin Isakov 62cb2479ed * The default stylesheets are now embedded into the program itself. It is
still possible to amend them by creating external ones, though.
2009-02-08 17:21:46 +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 c23e1351f4 + Smart placement of the popup window implemented. 2009-02-08 16:35:30 +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 e3bb365473 * Only use PlaySound for "gdau" links (Windows only) 2009-02-08 14:09:39 +00:00
Konstantin Isakov d917ae8896 + Help menu implemented.
+ Translations are shown whenever user presses enter or clicks a word in list.
2009-02-08 14:02:27 +00:00
Konstantin Isakov 61943519c1 * Make the popup window itself be movable; fix the associated with the gripping
and moving problems.
2009-02-06 18:43:07 +00:00
Konstantin Isakov 12c49065e5 * Quiet the dictionary.hh warnings. 2009-02-06 18:38:19 +00:00
Konstantin Isakov 79901d0414 + Save the popup size across program restarts. 2009-02-06 17:16:33 +00:00
Konstantin Isakov abc6d30d7c + Implement saving and restoring of the last chosen groups. 2009-02-06 17:04:11 +00:00
Konstantin Isakov 8e43a81592 * Make "search" audio links be bound by the current group. 2009-02-06 16:19:05 +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 2fa0c3b57b * Popup now autohides in Windows normally. 2009-02-06 13:05:25 +00:00
Konstantin Isakov 9789b3892c Added an icon to the Windows executable. 2009-02-06 11:54:27 +00:00
Konstantin Isakov 5d5a393265 + Basic preferences and their editing added.
+ Basic tray icon support added.
+ Program icon added (one of the Qt Linguist icons, actually).
2009-02-05 20:55:00 +00:00
Konstantin Isakov bbc9901cce Fix the enum definition. 2009-02-05 17:09:34 +00:00
Konstantin Isakov cbfa6d2f74 Support for testing key modifiers under Windows added. The default modifier key
in Windows build is Ctrl now.
2009-02-05 16:56:57 +00:00
Konstantin Isakov 4bae99aeb5 Mass-update email to point to a @berlios one. 2009-02-05 14:21:47 +00:00
Konstantin Isakov 626934c0cc Initial support for mouseover feature in Windows added. 2009-02-02 20:28:53 +00:00
Konstantin Isakov 3f245cb58a Support for ETO_GLYPH_INDEX in ExtTextOutW() function added. This makes
Firefox 3 work.
2009-02-02 20:24:25 +00:00
Konstantin Isakov 18b355cda3 Win32-specific mouseover dll sources added, taken directly from StarDict
codebase with minimal modifications.
2009-02-02 19:26:39 +00:00
Konstantin Isakov 1a5a4daa52 When searching for resource files, allow them to be not only in the dictionary
directory, but also in the dictionary-name.files/ subdirectory.
2009-02-02 15:02:57 +00:00
Konstantin Isakov e9799ba248 FsEncoding has got a basename() function. The Lsa module now uses it instead
of the system/local one. The implementation of FsEncoding::dirname() was also
changed to stop relying on the system version.
2009-02-02 15:01:48 +00:00
Konstantin Isakov 4c29464c09 Windows-specific build directives added. 2009-02-02 01:35:19 +00:00
Konstantin Isakov b675289f68 Provide local implementation of the GNU variant of basename() under Windows. 2009-02-02 01:18:21 +00:00
Konstantin Isakov 13d0637357 Provide local implementation of wcscasecmp() under Windows, where it's non-
existent.
2009-02-02 01:10:16 +00:00
Konstantin Isakov 9f41c3304a Adopt to a different prototype of the iconv() function under Windows. 2009-02-02 01:04:39 +00:00