Commit graph

103 commits

Author SHA1 Message Date
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