xiaoyifang
e04aa50a99
fix issue mentioned in https://github.com/goldendict/goldendict/issues/1393#issuecomment-993716654
2021-12-15 23:43:03 +08:00
yifang
8e2eac0836
remove useless comment line
2021-12-13 22:46:02 +08:00
yifang
a2baf836e4
refactor code.F12 optimize
2021-12-13 22:46:02 +08:00
xiaoyifang
cb5ac438fe
bword link in Hunspell dictionary.
2021-12-13 22:46:02 +08:00
yifang.xiao
608f39244e
single click distinguish with double click
2021-12-13 22:46:01 +08:00
yifang
98ca729446
remove qt_version_check macro
2021-12-13 22:45:57 +08:00
yifang.xiao
b148c557c9
convert async to sync invoke
2021-12-13 22:45:55 +08:00
xiaoyifang
9b179dac3c
runjavascript async->sync
2021-12-13 22:45:53 +08:00
yifang.xiao
5f86c33f8d
F12 inspect element
2021-12-13 22:45:49 +08:00
yifang.xiao
c56407863c
use Eventloop to convert async function to sync function.based on current situation ,I think it would be better to keep the sync mode. webengine use aysnc callback,while webkit use sync function
2021-12-13 22:45:39 +08:00
xiaoyifang
303179b410
clean code:
...
remove qt version check
save geometry
2021-12-13 22:45:35 +08:00
xiaoyifang
5eac08c97a
rename qt4x5.hh to utils.hh
...
the filename qt4x5 is not proper now,for the qt4 version can never meet.and the qt5 is actually mean qt>5 .
2021-12-13 22:45:35 +08:00
yifang.xiao
0365015ac6
clean code:
...
remove "#if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )" check ,the check should always be true based on current situation.
2021-12-13 22:45:33 +08:00
yifang.xiao
69db1d4c71
fix conflict
2021-12-13 22:45:20 +08:00
xiaoyifang
e7779e5302
fix todo
2021-12-13 22:43:46 +08:00
xiaoyifang
174ba53be2
found dictionaries panel update
2021-12-13 22:43:46 +08:00
xiaoyifang
402add183e
clean qt_version < 5 code.
2021-12-13 22:43:46 +08:00
yifang.xiao
ab358fb3a5
remove old qt(<5) code.
2021-12-13 22:43:43 +08:00
yifang.xiao
20d51afb8d
remove old qt(<5) code.
2021-12-13 22:43:28 +08:00
xiaoyifang
66ed1c0507
optimize javascript scrollIntoView
2021-10-20 23:44:24 +08:00
yifang
c1eef3a228
remove inspector -- useless code
2021-10-05 09:51:51 +08:00
yifang
f13c713265
right panel founded dictionaries
2021-10-05 09:23:30 +08:00
xiaoyifang
09441a8b72
found in dictionaries list widgets
2021-10-04 15:27:49 +08:00
xiaoyifang
bdb9561ec9
rename scheme handler
2021-10-02 20:48:49 +08:00
xiaoyifang
20c3a7241d
fix: js unexpected error.
2021-09-25 10:17:05 +08:00
xiaoyifang
d2257ce061
Merge remote-tracking branch 'remotes/origin/master' into branch-qt-5.15
...
# Conflicts:
# articleview.cc
2021-09-24 14:08:26 +08:00
yifang
3b120ee765
1 remove useless code
...
2 define js variable to avoid js error
2021-09-24 21:42:55 +08:00
yifang
bf2640bb25
play sound in the dictionary html
2021-09-23 13:05:05 +08:00
xiaoyifang
bec982c51e
remove dead code
2021-09-22 12:01:17 +08:00
xiaoyifang
17afc21478
1.js undefined error
...
2,disable chrome auto play feature
2021-09-22 11:20:42 +08:00
yifang
4a5af10277
add local scheme ,such as qrcx,gadu,etc.
2021-09-21 18:22:08 +08:00
yifang
e5c72f8ecc
change to setcontent
2021-08-21 09:41:40 +08:00
yifang
b1c4159a3d
change function declarition
2021-08-15 11:05:38 +08:00
xiaoyifang
eddfa075bd
connect reply content to article view
2021-08-14 15:25:10 +08:00
xiaoyifang
3aadf52344
webkit to webengine
2021-07-15 22:58:32 +08:00
Igor Kushnir
f919685797
Extract duplicated "gdfrom-" string manipulation into functions
...
Such helper functions facilitate understanding of the code and simplify
implementing new features.
2021-06-29 13:31:09 +03:00
Abs62
e1c9a0d6de
Fix compilation without C++11 support
2021-06-18 21:33:24 +03:00
Igor Kushnir
60bc05218f
Add input phrase's punctuation suffix to alts
...
Preferences::sanitizeInputPhrase() transforms an input phrase by
removing its whitespace/punctuation prefix and suffix. Translating a
phrase from X11 primary selection or from clipboard, via mouse-over or
from the command line results in such sanitization. This is useful when
a punctuation mark or a space is selected accidentally alongside a word.
This sanitization can be undesirable, however, when an abbreviated word
is selected. For example: "etc.", "e.g.", "i.e.".
This commit implements searching for the input word with the punctuation
suffix preserved as an alternative form of the sanitized word to show
articles for both. For example, when the word "etc." is translated from
the clipboard, both "ETC" and "etc." articles are displayed.
The punctuation suffix is preserved when the word is passed from the
scan popup to the main window and when the translate line text is
refreshed (e.g. when the current group is changed). The suffix is not
stored in history and favorites (doing so would require file format
changes and possibly substantial code changes, this can be implemented
later if need be).
Trim the input phrase once in ArticleNetworkAccessManager::getResource()
instead of verbose trimming in multiple places in
ArticleMaker::makeDefinitionFor().
Closes #1350 .
2021-06-17 12:06:36 +03:00
Igor Kushnir
57c4c33780
Add support for *.oga audio files
...
For example, the first audio link in "The United States" English
Wikipedia article - "The Star-Spangled Banner" - ends with ".oga".
Without this commit the audio link is not recognized by GoldenDict:
* it is not pronounced when a Preferences=>Audio=>"Auto-pronounce..."
option is enabled;
* clicking on the link opens it in the default browser instead of
playing inside GoldenDict.
2021-06-12 07:53:19 +03:00
Igor Kushnir
61eb4e08fe
Add options to limit input phrase length
...
When a long text is accidentally selected or copied while the scan popup
is on, Goldendict spends a lot of CPU time to gradually create a
"No translation..." article. When translation of huge (e.g. 15 MB) text
from the clipboard is (accidentally) requested, Goldendict freezes for a
while. Turning the added input phrase limit option on eliminates this
waste of the CPU time.
I have implemented these options primarily for selection and clipboard,
but they also affect mouse-over translation on Windows and command line
translation requests. This is mostly because I did not bother to limit
the options' scope. I guess hovering over an extremely long text without
spaces (e.g. Base64-encoded) could cause the same performance issue on
Windows. The command-line translation could be requested from a script
that integrates Goldendict with some other application, from which long
text could be sent for translation by accident.
I hope that the default value of 200 characters will be sufficient for
just about any real-world user input in any language. The option is on
by default, because the default length limit is generous and any longer
text is unlikely to be sent for translation intentionally. My personal
preference for the input phrase length limit is 100 symbols.
ArticleView::pasteTriggered() didn't call QString::simplified() on the
text retrieved from the clipboard. I assumed this was an oversight, so
now it *is* called - indirectly, via Preferences::sanitizeInputPhrase().
2020-11-13 17:44:38 +02:00
Abs62
58b6c60374
DSL: Fix sound saving from preferred dictionary
2019-06-27 18:09:00 +03:00
Abs62
76127eb04f
Merge pull request #955 from vedgy/fix-mediawiki-tooltips
...
Show #link as a tooltip instead of empty "Definition: "
2019-02-07 18:48:11 +03:00
Abs62
2bd422ad73
Full-text search: QRegularExpression instead of QRegExp to highlight found words in Qt5-based builds
2018-09-25 17:58:51 +03:00
Boyuan Yang
5d5432dbad
Fix typos found by codespell
2018-07-07 17:33:15 +08:00
Abs62
d7bc012411
Add option to ignore diacritics while articles search
2018-06-13 19:00:42 +03:00
Abs62
5fa5cc123f
Full-text search: Allow ignore diacritics while search
2018-04-10 17:49:52 +03:00
Igor Kushnir
278e05cbf3
Run a single external audio player process at a time
...
External and internal audio players work similarly now. Fixes #950 .
* inherit a new ExternalAudioPlayer class from AudioPlayerInterface;
* use an existing ExternalViewer class to implement ExternalAudioPlayer;
* take (const char *, int) instead of std::vector<char> in
ExternalViewer constructor to fit into AudioPlayerInterface;
* extend ExternalViewer API to let ExternalAudioPlayer stop superseded
audio player processes;
* make AudioPlayerInterface::play() return an error message string to
allow reporting immediate failures from derived classes;
* Document AudioPlayerInterface API;
* Document AudioPlayerFactory::player();
* use the common audio interface exclusively in ArticleView.
2018-03-24 21:34:06 +02:00
Igor Kushnir
e5045860ef
Make adding new audio player implementations easy
...
* add a new interface class AudioPlayerInterface;
* inherit a new proxy class Ffmpeg::AudioPlayer from it;
* partially switch ArlticleView to using the interface;
* expose MainWindow's AudioPlayerInterface instance to all ArticleView
instances;
* add a new AudioPlayerFactory class responsible for creating instances
of concrete classes derived from AudioPlayerInterface depending on
relevant Config::Preferences values;
* increase minimum supported Qt version from 4.5 to 4.6 in README
in order to use QScopedPointer introduced in Qt 4.6.
2018-03-24 21:31:48 +02:00
Igor Kushnir
50fe9be623
Show #link as a tooltip instead of empty "Definition: "
...
Internal links in MediaWiki articles don't lead to word definitions,
so the "Definition: " prefix is not correct for them. It also does not
provide any information and is largely useless.
Perhaps the actual footnote text should be displayed in the tooltip,
but this requires distinguishing them from citations/references and
backlinks.
2018-02-21 13:01:02 +02:00
Abs62
d763c6ec81
Dsl: Add support for "#SOUND_DICTIONARY" directive
2017-07-09 20:15:35 +03:00
Abs62
ab7df09bee
A little optimization for resources search
2017-04-28 15:25:45 +03:00
Abs62
747dc0aaaf
Refactor resource downloading
2017-04-28 00:13:25 +03:00
Abs62
67b6b6b91c
Add "gdvideo://" scheme to saved resources
2017-04-27 18:05:28 +03:00
Abs62
2085314eb9
1. Don't show "failed to download" error message while saving resources like "gdau://search/..."
...
2. Stop search if resource is found
2017-04-27 18:04:26 +03:00
Abs62
d9e6c812fc
For full-text search in article disable "Next" button if only one match found
2017-04-26 18:40:13 +03:00
Abs62
bef8e2f8ac
Don't show some context menu items for selection with spaces only
2017-04-24 17:41:07 +03:00
Abs62
cc7d7e196a
Qt 5: Partially workaround of same-origin policy
2017-03-21 17:35:34 +03:00
Abs62
9714ad54f0
Lock jump on links while Alt key is pressed
2017-03-14 17:47:38 +03:00
Abs62
9511494c2b
Send image to external viewer by double click
2017-03-13 17:38:27 +03:00
Abs62
4290734589
MDict: Fix handling of anchors like "<a id="xxx">
2016-05-11 17:41:13 +03:00
Abs62
eee04266db
Merge branch 'Original' into Qt4x5
2016-04-02 01:51:38 +03:00
Abs62
1f97957621
Fix anchor handling in Qt 5 builds
2016-04-01 16:38:07 +03:00
Abs62
2ab4eeaf60
Merge branch 'Original' into Qt4x5
2015-10-30 22:24:44 +03:00
Abs62
d8eba31d2d
Slob: Handle inter-article anchors
2015-10-30 21:01:38 +03:00
Abs62
af69639b9d
Adjust code for Qt5
2015-10-30 16:35:00 +03:00
Abs62
b2b60fc2e1
Merge branch 'Original' into Qt4x5
2015-10-30 16:34:08 +03:00
Abs62
c2eb4a0ef2
MDict: Handle inter-article anchors
2015-10-28 23:24:10 +03:00
Abs62
e24de4d881
Merge branch 'Original' into Qt4x5
...
Conflicts:
xdxf2html.cc
2015-10-14 18:23:46 +03:00
Abs62
8ac7eddf2f
Limit headword length in article context menu
2015-10-14 18:18:11 +03:00
Abs62
b9666f7f9f
Merge branch 'Original' into Qt4x5
...
Conflicts:
bgl_babylon.cc
2014-05-12 18:10:26 +04:00
Abs62
e2b0a7f39c
Mac-specific: Adjust code for Qt5 build
2014-05-12 17:53:13 +04:00
Igor Kushnir
e79338b3a1
Fixed activating link with <Enter>; fixed FullTextSearchDialog tab order; fixed switching between UI elements via shortcuts.
2014-05-11 14:52:25 +03:00
Abs62
273b1b5757
Merge branch 'Original' into Qt4x5
...
Conflicts:
articleview.cc
btreeidx.cc
2014-05-05 21:31:16 +04:00
Abs62
f8dd01e0a2
Full-text search: Highlight words with accent mark added by DSL tag
2014-04-24 18:12:00 +04:00
Abs62
90130d0fff
Adjust code for Qt5
2014-04-23 18:19:46 +04:00
Abs62
10532279b1
Merge branch 'Original' into Qt4x5
...
Conflicts:
article_netmgr.cc
mainwindow.cc
2014-04-23 18:16:06 +04:00
Abs62
88c40141d0
A little refactoring of keys handling (old solution don't work correctly in Qt5)
2014-04-23 17:46:48 +04:00
Abs62
503650d617
Full-text search: Set group for ArticleView::showDefinition() when view article
2014-04-23 00:08:21 +04:00
Abs62
c2cdf9b177
Full-text search: Highlight of the search results
2014-04-22 22:29:58 +04:00
Abs62
e7477cfd24
Full-text search: Fix handling of some DSL headwords
2014-04-21 20:20:24 +04:00
Abs62
9ad0d5f985
Implement full-text search
2014-04-16 20:18:28 +04:00
Abs62
0fa4087b38
Merge branch 'Original' into Qt4x5
...
Conflicts:
goldendict.pro
mainwindow.cc
zim.cc
zipsounds.cc
2014-02-11 23:39:31 +04:00
Abs62
dabceff223
Don't jump to dictionary when new page opens in background
2014-02-09 19:15:41 +04:00
Abs62
97c4697a80
Handle some touch screen gestures in article view window
2014-02-04 22:38:50 +04:00
Abs62
34271ecc1d
Merge branch 'Temp' into Qt4x5
...
Conflicts:
article_maker.cc
article_netmgr.cc
articleview.cc
forvo.cc
goldendict.pro
hotkeywrapper.cc
hunspell.cc
mainwindow.cc
2013-12-18 19:09:48 +04:00
Abs62
444938a330
Fix logging to file UTF-8 encoded messages
2013-11-16 22:34:09 +04:00
Abs62
cc5cd4bc26
Fix exception handling at article save
2013-10-18 18:32:58 +04:00
Abs62
afaa0a70ab
Fix unhandled exceptions at resources loading
2013-10-18 16:50:29 +04:00
Abs62
a1d539ff1f
Qt5-specific: Fix pictures loading for Bgl and some Stardict dictionaries
2013-09-27 17:04:25 +04:00
Abs62
1f87d8a911
Merge branch 'master' into Qt4x5
...
Conflicts:
btreeidx.cc
goldendict.pro
lsa.cc
mouseover.cc
sounddir.cc
xdxf2html.cc
2013-09-27 17:03:27 +04:00
Tvangeste
8a10e997b4
Fixed #387 : Paste word into new tab looks up ALL dics instead of currently selected group
2013-08-22 18:05:39 +02:00
Timon Wong
ee0fc80001
Merge branch 'master' into qt4x5
...
Conflicts:
articleview.cc
btreeidx.cc
goldendict.pro
mediawiki.cc
2013-08-02 17:00:16 +08:00
Tvangeste
99526b98d3
Fix compilation errors on Qt 4.5
2013-07-18 15:02:39 +02:00
Tvangeste
a3f856a4d7
Fixed #370 : Build error when DISABLE_INTERNAL_PLAYER=1
2013-07-17 08:31:46 +02:00
Abs62
5ca8279045
RTL languages support for tab and main window header and article context menu
2013-07-07 01:45:13 +04:00
Timon Wong
01ef08a709
Merge branch 'master' into qt4x5
2013-07-05 17:03:57 +08:00
Tvangeste
23f94c584f
Jump to article when double-clicking on dictinary in "Found in Dictionaries"
...
This forces the jump even when the dictionary is already a current/active dictionary.
This is convenient for the following use-cases:
1. User manually scrolls far away from the current dictionary and would like to return.
2. User jumps far away from the current dictionary when doing search (Ctrl+F).
3. User scrolls a huge article and would like to get back to the beginning of it.
2013-06-28 18:00:13 +02:00
Timon Wong
555b51260a
Merge branch 'master' into qt4x5
2013-06-26 21:07:46 +08:00
Tvangeste
55e4de2cca
Stop the internal audio player when the page is closed or changed
2013-06-23 11:54:46 +02:00
Tvangeste
0cf8ccb259
DSL: Support video resources
2013-06-22 18:36:25 +02:00
Timon Wong
f5a43e22d4
Merge branch 'master' into qt4x5
...
Conflicts:
goldendict.pro
2013-06-18 11:22:07 +08:00
Timon Wong
cf71499242
Add "DISABLE_INTERNAL_PLAYER" to .pro as an option to disable internal audio player (issue #356 )
2013-06-18 09:12:31 +08:00
Timon Wong
6ed3f5bec5
Merge branch 'master' into qt4x5
2013-06-16 15:54:05 +08:00
Tvangeste
de2bf73e66
New interface preference: Context menu dictionaries limit
...
Controls both context menus, in the dictionary bar and in the article view.
Can be adjusted in Preferences -> Interface -> Context menu dictionaries limit.
By default, it is set to 20.
2013-06-11 20:31:01 +02:00
Timon Wong
6f2ab430ec
Merge branch 'master' into qt4x5
...
Conflicts:
article_maker.cc
dsl.cc
mainwindow.cc
2013-06-08 12:27:18 +08:00
Abs62
ede10cc944
Automatically expand collapsed article if only one loaded
2013-06-03 21:14:05 +04:00
Timon Wong
4b412f360c
Merge branch 'master' into qt4x5
2013-05-31 12:20:33 +08:00
Timon Wong
f30c41dbf6
Remove Url::Class, add Qt4x5::Url::ensureLeadingSlash() and fix all related
2013-05-31 12:20:25 +08:00
Timon Wong
d5c236f183
Fix pronunciation for active article (if not avaialbe, fallback to the first one)
2013-05-31 11:29:04 +08:00
Timon Wong
ad4394d02b
#212 : Workaround for Qt5 changed behavior in QUrl::setPath()
2013-05-30 23:05:41 +08:00
Timon Wong
1d85f1b359
#212 : Scratch, currently works under windows, for both Qt4 and Qt5
2013-05-30 21:24:21 +08:00
Timon Wong
d6b832dc6a
Merge pull request #327 from timonwong/article_inspector
...
Add "Inspect" action to context menu
2013-05-29 19:22:42 -07:00
Timon Wong
329aa02f93
Add "Inspect" action to context menu
...
* The "Inspect" action will bring up web inspector from WebKit.
* Restorable inspector window geometry.
2013-05-30 10:18:28 +08:00
Timon Wong
9ff31d0d1e
Fix javascript errors when try to evaluate undefined variables
2013-05-29 15:20:57 +08:00
Timon Wong
7ea858b937
Merge pull request #324 from timonwong/save_with_res
...
Add an option to enable saving resource files with articles (#321 )
2013-05-27 04:39:33 -07:00
Timon Wong
1ba03a326d
Add an option to enable saving resource files with articles ( #321 )
2013-05-27 19:18:13 +08:00
Abs62
3aa974b875
Add "Copy Image" option into images context menu
2013-05-25 22:09:16 +04:00
Abs62
1f5270c619
Add "Copy as text" feature (issue #311 )
2013-05-15 17:52:47 +04:00
Abs62
882dd57781
Mac-specific: Implement text-to-speech feature under Mac OS X
2013-05-07 17:39:35 +04:00
Timon Wong
c4752eb14c
Add internal audio player(ffmpeg/libav + libao).
...
* phonon, bass, playsound are removed.
2013-05-05 18:22:12 +08:00
Abs62
0389d23def
A little more informative messages about Bass library errors (and couple of other changes)
2013-04-26 23:24:55 +04:00
Abs62
0fb8eed553
Win-specific: Add volume and rate tuning for TTS, fix some errors
2013-04-26 17:41:39 +04:00
Abs62
9e416c360c
Some more TTS from Timon Wong
2013-04-24 20:01:44 +04:00
Abs62
c14ef3458f
Win-specific: Add TTS support for Windows (by Timon Wong)
2013-04-24 18:52:04 +04:00
Abs62
f5d60d26b5
One more fix of resource saving
2013-02-28 23:29:13 +04:00
Abs62
6acfe65fdf
Fix multiple dialogs to save sound
2013-02-28 19:36:53 +04:00
Abs62
7ab428fa55
Fix compilation under Linux
2013-02-24 01:08:27 +04:00
Abs62
852de7e290
Add ellipsis to some context menu items
2013-02-23 12:05:56 +04:00
Abs62
0ac060576d
Save images and sounds via context menu (issue #223 )
2013-02-22 16:44:23 +04:00
Tvangeste
9faf843ab7
Part of work for #212 : Make GD source to be ready for Qt5.
...
Replaced deprecated to/fromAscii with to/fromLatin1
2013-02-03 21:19:55 +01:00
Abs62
940de07908
Don't translate program name
2013-02-01 16:36:01 +04:00
Tvangeste
48801fc7a8
Fixed #186 : F3 and Shift+F3 shortcuts are no longer global in the main window.
2013-01-23 19:36:45 +01:00
Tvangeste
bb3a35e7ff
Fixed Issue #184 : F3 and Shift-F3 shortcuts don't work in a scan popup window when Search is activated
...
Also fixed #185 : Dictionaries menu uses hardcoded shortcut value in its text.
2013-01-22 22:16:54 +01:00
Tvangeste
0ee62530c2
Select an enire text of the current article (Ctrl+Shift+A).
...
Plus a context menu for that as well.
2013-01-18 15:37:24 +01:00
Tvangeste
3784ac18d7
Fixed #164 : Add an option to copy the entire article (Ctrl+A)
2013-01-18 14:22:24 +01:00
Tvangeste
77ded2c328
Fixed #167 : Not everything gets logged in History
2013-01-18 12:02:19 +01:00
Tvangeste
35dc7b0a8a
Better way of dealing with adding title to history.
...
We only show that menu item to add the title to history if the
history is set to only collect the entries manually.
2013-01-17 19:46:33 +01:00
Tvangeste
ea2f2e8854
Revert "Remove rather useless context menu to add title to history."
...
This reverts commit c03b346114
.
The menu item is not completely useless, it useful when the automatic history
gathering is disabled and this menu could be used to add items to the history
manually.
2013-01-17 19:38:49 +01:00
Tvangeste
c03b346114
Remove rather useless context menu to add title to history.
...
In most cases, since we are on this page, we have already
just added its title to the history.
2013-01-17 19:06:46 +01:00
Tvangeste
8b61a8f995
Fixed a bug with incorrect restored sizes of sidebars.
2012-12-27 21:32:16 +01:00
Abs62
faad6d2581
Images size limit for dsl dictionaries
2012-12-07 15:59:29 +04:00
Abs62
9b6e98bc0f
Show target dictionary name in status line if link points to other dictionary
2012-11-26 17:13:56 +04:00
Abs62
0dcbfd849f
Send word to input line via context menu
2012-11-26 17:13:13 +04:00
Abs62
a76f7780e7
Handle "dict" attribute in "ref" tag for dsl dictionaries
2012-11-25 00:30:32 +04:00
Abs62
03af1da9af
Win-specific: Play sounds via Bass library
2012-11-23 16:43:36 +04:00
Abs62
259efae81c
Update history when clicking links on page (issue #120 )
2012-11-12 17:52:54 +04:00
Abs62
2a215927ce
Fix some warnings
2012-10-31 17:58:35 +04:00
Abs62
8cc13b98b9
"Sound" button on toolbar always play first obtained sound
2012-09-29 14:11:06 +04:00
Abs62
57c3356483
Win-specific: Little correction for word selection in GoldenDict tabs
2012-09-27 17:54:09 +04:00
Abs62
ad8ddc8daf
Add option for word selection by single mouse click
2012-09-26 17:59:48 +04:00
Abs62
3c2990bf23
Own muted dictionaries list for each group
2012-09-26 17:13:47 +04:00
Abs62
4c5e79c2b2
Add "Dictionary info" item to dictionary bar context menu
2012-09-25 17:13:35 +04:00
Abs62
ffb24d9a0b
Win-specific: Prevent selection clearing while scanning GoldenDict window
2012-09-24 17:42:36 +04:00
Abs62
3de1e09663
Win-specific: Scan popup now work in GoldenDict article tabs
2012-09-19 03:01:31 +04:00
Abs62
44247c04c9
Add word to history via context menu from ScapPopup window
2012-09-16 14:30:14 +04:00
Abs62
305c9ed1b8
Show/hide optional parts of articles (DSL dictionaries only)
2012-09-16 14:19:47 +04:00
Abs62
7f2e2c194c
Add tab header to history via contex menu
2012-09-15 17:24:04 +04:00
Abs62
e00415e4d2
Close popup menus when ScanPopup window closes
2012-09-12 18:18:16 +04:00
Abs62
ea442909ae
Add word to history through context menu
2012-09-12 18:11:30 +04:00
Abs62
535fe0d3e0
Update year in copyright notices.
2012-02-21 01:47:14 +04:00
Konstantin Isakov
078889dd63
Fix problem with the initial empty untitled page having garbled encoding (affecting the translated page title).
2011-08-01 23:50:15 -07:00
Julian Depetris Chauvin
a7cb431c72
Clicking on "...." in the article view's context menu opens the Results Navigation Pane (if closed and is not popup window), focuses on the next dictionary entry on it and scrolls to the next dictionary in the article view. If user is using the popup window it just scrolls to the next dictionary.
2011-07-30 21:11:07 -03: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
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
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
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
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
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
36e509a2ab
Replace printf in code by a macro DPRINTF
2011-06-19 22:50:11 +04:00
Tvangeste
df7bd52980
Make icons visible in history and context menus.
2011-06-12 20:50:54 +02:00
Julian Depetris Chauvin
207b780304
Add maxDictionaryRefsInContextMenu to config file to allow to change number of dictionaries in the context menu (Right-click on the definitions frame). Default to 20.
2011-06-09 19:54:57 -03:00
Konstantin Isakov
b8b7bffb13
Merge commit 'refs/merge-requests/15' of git://gitorious.org/goldendict/goldendict
2011-06-07 19:35:43 -07:00
Tvangeste
6f192dca6e
Enable/disable Back and Forward buttons depending on the history.
...
This is a standard behavior for any history-enabled app
(like web browser). When there is no previous or next item
in the history, the appropriate button on the toolbar
is disabled.
2011-06-07 18:52:51 +02:00
Tvangeste
c6e8b4998f
Handling of backward and forward mouse buttons.
...
They now do what is most logical for them to do: going
backwards and forwards in history.
2011-06-07 10:26:49 +02:00
Konstantin Isakov
0712d8fd96
Don't allow navigating back to the empty initial pages.
2011-06-07 00:57:25 -07:00
Tvangeste
4e6e0a5e05
Fixes after code review:
...
* Replaced the search via dictionary name by search via dictionary id, cleanup
* Renamed "Dictionaries Pane" --> "Results Navigation Pane"
* Added to CREDITS
* TODO note about code duplication
2011-06-06 11:54:23 +02:00
Tvangeste
3762f22e76
Implemented Dictionaries Pane, to show dicts in which results were found.
...
It is a separate detacheable pane, which could also be enabled/disabled,
it tracks the current tab's contains, and lists those dictionaries that
contributed their content to the current translation.
Clicking on dictionary name jumps to the appropriate article from
this dictionary, which improves the navigation flow.
The Dictionaries Pane:
* Shows both dictionaries' names and icons.
* Does not consume resources when hidden.
* Properly styled.
* Properly handles app-wide shortcuts
(Esc, Ctrl-L, Alt-D, Enter, Alt-Up/Down).
2011-06-05 13:49:50 +02:00
Konstantin Isakov
40fa922de6
Add new program type - 'Prefix Match', which allows listing word matches as you type.
2011-06-04 14:35:09 -07:00
Konstantin Isakov
9960efc00d
Add support for launching arbitrary executables (tts, manpages etc).
2011-05-28 22:08:37 -07:00
Konstantin Isakov
eee568860e
Keys with Shift pressed are to be interpreted as typing events (undoes a change by jdepetris)
2011-05-08 14:24:41 -07:00
Julian Depetris Chauvin
3bd9c48fe7
support Shift + Enter and Shift + double click to open a definition in a new tab (Opera browser standard) in addition to Ctrl + Enter and Ctrl + double click (other browsers standard). The selection with Shift + double click is not as perfect as with Ctrl + double click but it's ok.
2011-05-01 21:37:56 -03:00
Konstantin Isakov
92eceb8cad
Change email from @users.berlios.de to @goldendict.org.
2010-12-09 15:31:50 +03:00
Konstantin Isakov
1dafa5cb16
Allow styling of translate line and word list dependent on the current group by introducing a currentGroup Qt property.
...
To use, create ~/.goldendict/qt-style.css like this:
MainWindow #searchPane #translateLine[currentGroup="En"], MainWindow #searchPane #wordList[currentGroup="En"]
{
background: white;
color: black;
font-size: 20px;
}
2010-11-15 18:22:35 +03:00
Konstantin Isakov
953d9237a3
Update copyright to span to 2011.
...
Better early than late, this year is ending anyway.
2010-11-14 18:47:03 +03:00
Konstantin Isakov
eea1e3a2df
Re-introduce native Windows audio playback.
...
This one can only play .wav files, but is far more stable than Phonon.
Any existing installations would auto-switch from Phonon to this one.
Any attempt to play a non-wav file would suggest switching to Phonon.
2010-11-14 18:38:41 +03:00
Konstantin Isakov
8691356031
Babylon bword:// links referring to words with spaces now work (patch by zhangjinsong)
2010-10-06 22:33:41 -07:00
ars
5136c09b12
double click on a word with while Control key is down opens translation in a new tab
2010-09-16 20:53:39 +02:00
Konstantin Isakov
957dbc7a0b
Correctly display custom icons in tabs.
2010-07-05 23:47:22 +04:00
Konstantin Isakov
da991187ed
Properly support file:// external links in the articles.
2010-06-30 20:43:08 +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
ab88fa4867
Drop the src/ directory. It's superfluous.
2010-05-15 16:42:18 +04:00