Commit graph

3536 commits

Author SHA1 Message Date
Konstantin Isakov c71678221b Win32 mouseover patches by Abs62. 2010-08-17 02:34:01 +04:00
Konstantin Isakov de7701b417 Lithuanian translation update by Mindaugas Baranauskas. 2010-08-13 13:58:38 +04:00
Konstantin Isakov 415f35efa2 Correctly support RTL languages in scan popup mouse-over under Windows. 2010-07-09 15:01:43 +04:00
Konstantin Isakov 957dbc7a0b Correctly display custom icons in tabs. 2010-07-05 23:47:22 +04:00
Konstantin Isakov 78c4694036 Add an icon before the "Shortcut" label in the group configuration. 2010-07-05 23:05:29 +04:00
Konstantin Isakov 3d5a3c2df9 Fix some problems with the previous commit. 2010-07-05 22:50:54 +04:00
Konstantin Isakov 0140321b78 Allow using any file as an icon for the dictionary group. 2010-07-05 22:36:03 +04:00
Konstantin Isakov d9c23a07e5 Allow assigning keyboard shortcuts to the groups for fast switching. 2010-07-05 18:13:29 +04:00
Konstantin Isakov 621d842394 Use polling instead of mouse grab for scan popup. This should fix problems with Windows 7 and such. 2010-07-03 20:24:30 +04:00
Konstantin Isakov 1624afafc4 Only have the rule to rebuild 'version.txt' if git was present when qmake was run. 2010-07-03 15:01:01 +04:00
Konstantin Isakov be23f54914 Generate the exact version string via Git. 2010-07-02 21:15:51 +04:00
Konstantin Isakov 71519ff19b Add support for zooming fonts in word list and translate line. 2010-07-02 15:19:02 +04:00
Konstantin Isakov da991187ed Properly support file:// external links in the articles. 2010-06-30 20:43:08 +04:00
Konstantin Isakov db9c6cd85e Support alt requests (i.e. morphological stems) for Forvo.
This does increase traffic, but the benefits outweigh traffic limit.
2010-06-30 14:44:49 +04:00
Konstantin Isakov 15d3ccbc83 Properly handle QApplication::commitData(), hopefully providing proper config file saving when the system shuts down. 2010-06-28 19:14:07 +04:00
Konstantin Isakov e15fe93ab0 Leave only the real existing sokuon in kana tables. 2010-06-26 01:08:21 +04:00
Konstantin Isakov 04bdf3aa36 For websites and forvo, don't add dummy word search results (as they don't have any index to search in) -- instead, make results empty, but mark the search uncertain, and don't mark the word input line as reddish in that case.
This is just a refinement on how the word search is done in the dictionaries
that don't actually ability to search words in. Previously they emitted dummy
italicized suggestions, which were getting in the way. Now they don't emit
anything, but mark the search as uncertain. Any uncertain searches don't mark
the word input with the different color to indicate the search has failed.
2010-06-22 16:43:11 +04:00
Konstantin Isakov cc5e5b6c77 Add Ukranian translation by Wiseacre. 2010-06-22 01:11:37 +04:00
Konstantin Isakov 8f99ab7da3 Chinese translation update by zhangjinsong. 2010-06-15 14:23:34 +04:00
Konstantin Isakov 3b19b9a577 Fix font problems in the Forvo tab. 2010-06-15 01:17:09 +04:00
Konstantin Isakov 9e43f86feb Support for Forvo online pronunciations added. 2010-06-13 00:16:35 +04:00
Konstantin Isakov c33fa2c9cc Fix a problem where several threads throwing exceptions could cause an abort().
This makes the infamous "This application has requested the Runtime to terminate it in an unusual way" message to go away.
2010-06-03 00:55:07 +04:00
Konstantin Isakov 67ca2ee1dd Successfully find arbitrarily large compound expressions.
Previously the program could only safely find two-word compounds. Now it always
finds all of them, even if they are large sentences with many words.

To choose the source for compounds, a notion of dictionary features was added.
It may be utilized later for some more interesting things.
2010-05-30 00:50:16 +04:00
Konstantin Isakov 9eb20cf0b6 Play audio files from websites.
Here we also add Google as a web dictionary as an initial website example.
Sounds there work just fine.
2010-05-29 15:33:04 +04:00
Konstantin Isakov 44a6842c16 Use -rdynamic on unix targets only.
Mingw32 doesn't support it.
2010-05-29 15:27:10 +04:00
Konstantin Isakov 2b557e7f4b Greek transliteration by Jennie Petoumenou. 2010-05-29 13:22:08 +04:00
Konstantin Isakov d59fb9e568 Support for portable version mode.
To enable portable version mode, simply create the portable/ directory in the
same directory where the executable itself lives. In portable version all
dictionaries live in content/, morphologies in content/morphology. Sound
dirs aren't supported in portable version.
2010-05-28 20:50:54 +04:00
Konstantin Isakov 68b1e5f262 Don't output abbreviations to console when indexing Dsl files. 2010-05-28 19:04:12 +04:00
Konstantin Isakov 9980863bd8 More work with Babylon.
1) Support 2-byte sized displayed headwords in a more general way. This version
should catch more of them.
2) Only add displayed headword as a headword to the index if the original one
contain two digits, not one, as it was previously.
2010-05-28 19:02:37 +04:00
Konstantin Isakov 57e416820e Updated Greek translation by jennie. 2010-05-25 11:20:41 +04:00
Konstantin Isakov 1892329272 Chinese translation update by zhangjinsong. 2010-05-17 23:40:04 +04:00
Konstantin Isakov 1b8bb12b37 Support more types of displayed headwords in BGL.
Also use the right encoding for all displayed headwords.
2010-05-16 17:38:06 +04:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Konstantin Isakov 285e3d39b5 Remove the 'move to gitorious' notice now that we've moved. 2010-05-15 16:36:56 +04:00
Konstantin Isakov 4fa567e3bf Move to Gitorious. Mark this transition in the .pro file. 2010-05-15 16:27:47 +04:00
Konstantin Isakov 88ef3213e0 In BGL articles, only add displayed headword if the normal headword contains
at least one digit.

This is reduce headword pollution -- some dictionaries has meaningless
headwords, but to make those unique they typically add digits in them.
2010-05-15 16:22:43 +04:00
Konstantin Isakov ceab951fe9 Update year in copyright notices. 2010-05-08 22:59:59 +04:00
Konstantin Isakov 706b156938 Allow editing dictionary groups right from the dictionary bar (Right Click->
Edit this group).
2010-05-08 18:02:51 +04:00
Konstantin Isakov 42463992c3 Prevent program from quitting spontaneously when it works with scan popup
and the main window is closed.
2010-05-08 17:57:41 +04:00
Konstantin Isakov 69f0d0c4cf Handle requests to read zero bytes from dictzipped files correctly. Handle any
exceptions when reading articles in StarDict file format gracefully.
2010-05-02 01:51:57 +04:00
Konstantin Isakov 6728671c7d Populate list of matches in scan popup with results only from enabled
dictionaries.

Previously it was listing results from all dictionaries in the current group,
regardless of the dictionary bar.
2010-04-30 13:56:40 +04:00
Konstantin Isakov 964dd0d5bd Toggling main window gives focus to the translation line.
Additionally, any opened search is now closed once a new definition is
shown in the article view.
2010-04-27 11:49:37 +04:00
Konstantin Isakov b63a032218 Make sure empty headwords don't end reading BGL files early. 2010-04-22 22:24:21 +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 72a6ea1292 Probable fix for scanpopup problems in Ubuntu 9.10. 2010-04-03 14:31:50 +04:00
Konstantin Isakov dcfd87397d Add support for lang(xx) and gdlangfrom-xx language attributes to articles. 2010-04-03 13:43:39 +04:00
Konstantin Isakov 80e2b7b35e Chinese translation update by Zhangjinsong. Other translations lupdated. 2010-04-02 16:38:57 +04:00
Konstantin Isakov 1a13abcc41 Show individual words after compound expressions, not before them.
This feels a bit better, since compound expressions are more useful than
the basic word split.
2010-04-01 13:08:51 +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 6ea73fdf85 Don't perform excessively large queries (words with more than 80 symbols) to
mediawiki sites, they can't succeed anyway.
2010-03-30 20:52:44 +04:00