Commit graph

273 commits

Author SHA1 Message Date
Abs62 b20f4d016b Fix set of symbols [...] handling in the input line 2014-03-14 16:39:54 +04:00
Abs62 da161164b9 Allow wildcards in the input line (issue #24) 2014-03-12 17:43:52 +04:00
Abs62 902c5f605b Add Ctrl+D shortcut to switch to dictionary headwords dialog 2014-03-04 20:58:51 +04:00
Abs62 55e9dc6a38 Make headwords dialog modeless 2014-03-03 17:46:41 +04:00
Abs62 a7145abdd0 Call dictionary headwords dialog via context menu of dictionaries bar and dictionaries list 2014-03-01 17:11:14 +04:00
Abs62 4a4bfade1d Show all headwords for selected dictionary 2014-02-28 16:36: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 dbedf431fa Merge branch 'Original' into Qt4x5 2014-01-22 00:03:39 +04:00
Abs62 32a2cf55b9 Add config file option for track clipboard changes 2014-01-09 18:17:50 +04:00
Abs62 2f8c0d3d80 Don't check key modifiers for new tab when word received from scan popup window 2014-01-09 18:15:51 +04:00
Abs62 ff44dcebf2 Mac-specific: Adjust code for MacOS 10.9 2013-12-26 18:13:10 +04:00
Abs62 d133ae7369 Merge branch 'Temp' into Qt4x5
Conflicts:
	mainwindow.cc
2013-12-20 18:51:17 +04:00
Abs62 696fdbb994 Win-specific: Refactor of main window geometry saving 2013-12-20 18:25:33 +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 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
Abs62 5a6c88ea09 Update suggestion list after group content editing (issue #406) 2013-09-24 17:55:12 +04:00
Abs62 c7b04526d2 Possibility to log GD console messages into file "gd_log.txt" in GD config directory. Activated by "--log-to-file" key in command line. 2013-09-20 18:25:44 +04:00
Tvangeste e2dde82580 Fixed #182: Provide a better Sound icon
The icon is by Evan Brooks, used with permission.
2013-08-21 10:02:46 +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 039caf07f1 Fixed #183: Provide a higher resolution main GoldenDict icon
Finally! :)
2013-07-19 19:07:32 +02:00
Abs62 7e7adaf7c0 Refactor show dictionary info in "Groups" tab 2013-07-07 12:09:46 +04: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 3c5ce36231 Simplify MainWindow::getCurrentArticleView() 2013-07-04 18:05:49 +02: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 6ed3f5bec5 Merge branch 'master' into qt4x5 2013-06-16 15:54:05 +08:00
Tvangeste dcc62050e3 Refactoring the edit dictionary functionality a bit 2013-06-11 21:31:58 +02: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
Tvangeste 7599b8e33e Add "Edit dictionary" and "Open folder" buttons to the Dictionary Info dialog
Note: The "Edit dictionary" is optional an enabled only if the command line
for editor is specified in the config file (manually).
2013-06-11 17:42:24 +02:00
Abs62 9cd0ae5030 Fix open dictionary folder action 2013-06-11 16:52:10 +04:00
Tvangeste ebff287219 Win-specific: Select in Explorer the main dictionary file when opening the dictionary folder 2013-06-11 12:12:47 +02:00
Abs62 fa4c0821eb Zeroing latestReleaseReply after deleteLater() 2013-06-11 08:08:25 +04:00
Timon Wong b4fc5bf084 Merge branch 'master' into qt4x5 2013-06-11 09:24:23 +08:00
Tvangeste 57575fb4eb Reload the open tabs when groups and dictionary order is changed 2013-06-10 23:40:35 +02:00
Timon Wong f0885d4c78 Merge branch 'master' into qt4x5
Conflicts:
	hotkeywrapper.cc
	xdxf2html.cc
2013-06-10 23:49:09 +08:00
Abs62 3bd82ef752 "Open dictionary folder" action in context menu (issue #344) 2013-06-09 17:31:57 +04:00
Timon Wong a08102dd42 Win-Specific: Fix hotkey handling in Qt5 2013-06-08 22:36:05 +08: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
Tvangeste 43f2b67095 Properly update the results pane when closing tabs 2013-06-07 16:37:40 +02:00
Abs62 9bb6768bd9 Initialize ssl libraries at program start (may affect on issue #303) 2013-06-07 17:00:30 +04:00
Abs62 cce47a77c3 Don't delete latest release reply directly in slot 2013-06-07 16:59:18 +04:00
Abs62 d721e627b1 Allow to collapse/expand articles; auto collapse for big articles (issue #331) 2013-06-02 15:20:33 +04:00
Timon Wong 8015841a1a Replace Q_WS_X11 -> HAVE_X11 2013-05-31 13:28:36 +08:00
Timon Wong d057752c74 Change Q_WS_MAC to Q_OS_MAC, Change Q_WS_WIN* to Q_OS_WIN* 2013-05-31 12:28:29 +08: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 43427e3958 Fix regression from d5c236f183: should take first audio link from each article 2013-05-31 11:46:51 +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 a33e52a321 Fix crash when right clicking dicts list if scan pop is disabled 2013-05-30 23:45:20 +08:00
Timon Wong ad4394d02b #212: Workaround for Qt5 changed behavior in QUrl::setPath() 2013-05-30 23:05:41 +08:00
Abs62 10cdaccb4e Reload tabs content and suggestion list after dictionaries rescan (issue #330) 2013-05-30 17:54:47 +04: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 a510facf18 Fix potential crash on exit with multiple tabs opened 2013-05-29 15:20:57 +08:00
Timon Wong 1ba03a326d Add an option to enable saving resource files with articles (#321) 2013-05-27 19:18:13 +08:00
Tvangeste 2b9dd55804 Disable the Scan Pop-up when a Preferences dialog is open 2013-05-17 14:34:46 +02:00
Tvangeste 82e6648efc Added an option to hide GoldenDict identification in the HTTP User-Agent headers (Issue #259).
A new preference in the "Network" tab is added:
* Do not identify GoldenDict in HTTP headers.
2013-05-15 17:59:30 +02: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 ace29d367f Mac-specific: Check Accessibility API at start with auto scan popup (issue #129) 2013-04-12 18:30:24 +04:00
Tvangeste ce4a212155 Use the native OS dialog to save articles, store the save location in a config 2013-04-12 09:31:09 +02:00
Abs62 68df177056 Mac-specific: Implement scanning under Mac OS X (issue #129) 2013-04-10 17:31:44 +04:00
Tvangeste 88fc0c3110 Fixed #254: Mac OS X: TranslateBox alignment issues 2013-04-01 18:37:44 +02:00
Tvangeste c45bf96701 Set the minimum zoom level from 0.7 to 0.1 2013-03-13 21:19:38 +01:00
Abs62 d1a4db20e8 Window activation under Linux again (issue #235) 2013-03-11 16:56:26 +04:00
Julian Depetris Chauvin b13b808edf Fixed #225: Tiny print preview window in Windows 7 2013-02-27 20:43:48 -03:00
Abs62 13eb3fa503 Synchronize dicionary icons size in popup and main windows (issue #168) 2013-02-27 17:12:46 +04:00
Abs62 0ac060576d Save images and sounds via context menu (issue #223) 2013-02-22 16:44:23 +04:00
Abs62 4e799b9ed2 Win-specific: activate main window after geometry adjusting at program start 2013-02-21 16:56:28 +04:00
Abs62 a2c8ceffd1 Clear dictionaries lists before dictionaries rescan 2013-02-19 22:56:05 +04:00
Tvangeste af82c12e59 Fixed #215: Enter doesn't work in the suggestions list when switching from the Old UI. 2013-02-08 18:09:37 +01:00
Abs62 d992c81e93 Windows switching under Ubuntu Unity (issue #204) 2013-02-08 15:49:14 +04:00
Tvangeste a46b17924d Additional fix for #205. 2013-02-07 19:16:19 +01:00
Tvangeste 404a16442b Fixed #205: Visual glitches in the new UI on KDE/Linux. 2013-02-07 16:24:24 +01:00
Abs62 2553ddf2b8 Periodical save of history (issue #209) 2013-02-05 16:51:23 +04:00
Abs62 f4f27de3cd Make changes from commit d8decdae83 Win-specific (issue #213) 2013-02-04 18:10:37 +04:00
Abs62 940de07908 Don't translate program name 2013-02-01 16:36:01 +04:00
Abs62 4e06a3612d Call tr() function for some strings (issue #195 again) 2013-02-01 00:18:40 +04:00
Abs62 9e3dd433a8 Don't show welcome page header in window title (issue #195) 2013-01-31 17:01:08 +04:00
Abs62 d8decdae83 Properly save/restore main window configuration when it maximized 2013-01-29 23:20:53 +04:00
Tvangeste ffa9f5778b Fixed #192: Dynamically adjust the suggestion list in the new UI. 2013-01-27 23:12:00 +01:00
Abs62 82d9cdaa06 Win-specific: Properly scan right-to-left words in GD window 2013-01-26 18:49:02 +04:00
Tvangeste 3258ad89f5 Fixed #191: New UI in the scan popup, replace 3 separate widgets with the translate box. 2013-01-25 16:42:44 +01:00
Abs62 c23e09b57b Properly restore main window maximized state when it activated through tray icon 2013-01-24 00:36:53 +04:00
Tvangeste 08ca79c272 Fixed #188: Switching the UI mode should focus the translate line and update it. 2013-01-23 20:11:39 +01: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 ea51feb810 Tweaks for the Menu Button size (closes #176). 2013-01-23 14:40:49 +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 7232859184 Additional shortcut for ZoomIn/WordsZoomIn actions (Ctrl+= and Alt+=).
Browsers do the same for the ZoomIn action, so that it is easier
to press with just two button presses instead of three.
2013-01-22 00:05:50 +01:00
Tvangeste 6c032b5185 Fixed #178: Word Zoom Level is not preserved when switching UI modes (Ctrl+S). 2013-01-21 22:49:58 +01:00
Tvangeste 77a992a296 Fixed #176: Menu button is not centered when toolbar is vertically positioned.
We just disable the Left and Right areas for the main toolbar in the new UI mode. :)
2013-01-21 21:53:53 +01:00
Tvangeste d5dd8eb940 Do not store the welcome page in the user history. 2013-01-20 19:26:17 +01:00
Tvangeste 4d5665d816 Make the default history item length to be the same as the limit for the headwords.
So, it is 256 now.

And configurable via the same parameter in the config file: maxHeadwordSize.
2013-01-17 15:24:13 +01:00
Tvangeste 3ed7772996 History Pane rewrite.
The new History Pane features proper mouse and keyboard navigation,
multiple selection and ability to remove the selected entries,
plus a dynamic context menu. Additionaly, the History's size is now
configurable in Preferences.

Use Ctrl+H to show/hide the History Pane.

History Pane's titlebar can be styled via #historyPaneTitleBar, e.g.:

/* Colored header for the History Pane */
  background: lightsteelblue;
  margin: 2px;
}

Closes #162: Make History sidebar independent from the Search Pane
Closes #159: "Send to main window" button from Pop-Up window does nothing when History is shown
Closes #158: Preserve History mode after restart
Closes #157: History with new UI: New words are not added when History is shown
Closes #156: History with new UI: Extra Groups widget in History is shown
Closes #155: History with new UI: Arrow keys navigation in History doesn't work
Closes #154: History with new UI: DEL key does not delete the current history entry
2013-01-17 10:08:53 +01:00
Abs62 c40de2dbf6 Fix send word to main window for new UI when history view mode is on 2013-01-10 23:10:48 +04:00