Commit graph

2654 commits

Author SHA1 Message Date
Abs62 1640fb2ff4 Win-specific: Fix compilation with MS VC (issue #1088) 2018-12-04 23:05:00 +03:00
Abs62 36a1881ae6 Update Italian translation by Daniele Di Pisa 2018-11-20 20:00:52 +03:00
Abs62 0d9a12a7e4 DictD: Fix dictionary name recognition for dictionaries from freedict.org (issue #1075) 2018-10-26 20:18:58 +03:00
Nikolay Korotkiy 382783e90e
DICT servers: Fix authentication 2018-10-21 22:58:44 +03:00
Abs62 0ecb217e9b DICT servers: Some fixes for OPTION MIME handling 2018-10-21 13:17:22 +03:00
Nikolay Korotkiy 7e4a42a95e
Request MIME type from DICT server 2018-10-20 22:49:41 +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
Abs62 5559b5fe48 Favorites: Fix blocking of illegal move operations for Qt4 (issue #1059) 2018-09-24 20:22:51 +03:00
Abs62 c55b32e32a
Merge pull request #1055 from vedgy/remove-executable-bit-from-icon
Remove executable bit from goldendict.png
2018-09-11 17:55:30 +03:00
Igor Kushnir 39dcea5952 Remove executable bit from goldendict.png
Executable icon could be a security risk. Closes #823.

This commit eliminates one of the 2 non-critical "make install" errors
described in #1001. Fixing the other error requires removing executable
bit from goldendict.desktop, which may cause issues to some users.
2018-08-27 11:14:09 +03:00
Abs62 61325acdb9 Full-text search: handle <q> tag as words break 2018-08-15 11:59:13 +03:00
Abs62 11b333c2e8 Full-text search: handle more block tags 2018-08-15 00:58:19 +03:00
Abs62 ce0b2768ee Full-text search: <hN> tag as line break 2018-08-14 21:45:25 +03:00
Abs62 9f06afab36 Mdx: Fix some links handling for Qt5-based build after RC2-316-3bc8e0 2018-07-19 18:18:50 +03:00
Abs62 06c6c63ddc Handle %GDWORD% template while calling external editor 2018-07-18 19:14:24 +03:00
Abs62 5b696eac5b
Merge pull request #1037 from hosiet/pr-fix-typos-201807
Fix typos found by codespell
2018-07-07 12:40:15 +03:00
Abs62 a0bb3c5889
Merge pull request #1036 from hosiet/pr-update-zh-cn-tranlsation-201807
Update Simplified Chinese translation
2018-07-07 12:39:57 +03:00
Boyuan Yang 5d5432dbad
Fix typos found by codespell 2018-07-07 17:33:15 +08:00
Boyuan Yang 4631852566 Update Simplified Chinese translation 2018-07-07 17:04:34 +08:00
Abs62 f945e74f75
Merge pull request #1034 from kyleskimo/patch-4
Update zh_TW.ts
2018-07-05 07:41:10 +03:00
kyleskimo c18a025b38
Update zh_TW.ts
Update zh_TW.ts
2018-07-05 11:33:59 +08:00
Abs62 3bc8e002d1 Mdx: Fix some extra anchors for Qt5-based build 2018-07-04 18:10:22 +03:00
Abs62 48e850c7ec Fix typo 2018-06-13 22:01:13 +03:00
Abs62 35bef02f12 Update help system 2018-06-13 19:07:51 +03:00
Abs62 e540022246 Lupdate all translations, update Russian translation 2018-06-13 19:01:38 +03:00
Abs62 d7bc012411 Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
Abs62 15062f7928 Hunspell: Fix handling of some dictionaries format (issue #1021) 2018-05-31 19:52:11 +03:00
Abs62 ccb5eb10c2 DICT servers: Fix handling of multi-line phonetics (issue #1016) 2018-05-23 21:01:20 +03:00
Abs62 d9c8e12948
Merge pull request #1019 from vedgy/dont-access-destroyed-log-file-object
Don't access a destroyed log file object via logFilePtr
2018-05-23 18:10:40 +03:00
Igor Kushnir fe1c77f15d Don't access a destroyed log file object via logFilePtr
Examples of code that could access the destroyed log file object:
  * a destructor of a local object declared before logFile in main();
  * a destructor of a global object;
  * termHandler() invoked after logFile was destroyed either normally
    or because of an uncaught exception.
2018-05-23 13:12:15 +03:00
Abs62 b002fece6d Fix some more warnings (issue #978 again) 2018-05-22 17:48:14 +03:00
Abs62 1a6a941918 Little refactoring for log messages to file 2018-05-22 17:37:21 +03:00
Abs62 fd00e9d156 Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
Abs62 61ee894ff7
Merge pull request #1017 from vedgy/add-scan-popup-article-view-focus-shortcut
Add a shortcut to focus scan popup's article view
2018-05-17 20:51:04 +03:00
Igor Kushnir 3bf7aad1f7 Add a shortcut to focus scan popup's article view
The article view focus is necessary to navigate a word definition via
keyboard rather than mouse. The shortcut - Ctrl+N - is the same as
the one in the main window for the corresponding action.
2018-05-16 14:54:20 +03:00
Abs62 9892fdc024 Programs: Handle BOM's for UTF-8 and UTF-16 encoding in programs output (issue #1003) 2018-05-06 16:39:31 +03:00
Abs62 742de4d5b7
Merge pull request #1008 from vedgy/improve-x11-autostart
Improve X11 autostart behavior
2018-05-06 16:11:02 +03:00
Igor Kushnir d83586d3e4 Improve X11 autostart behavior
* Run the freedesktop.org-specific code only on X11 (not on Mac).
* Use a (hopefully) unique destination .desktop file name to prevent
  clashes with a goldendict.desktop file possibly created and customized
  manually or by a system preferences tool.
* Allow different executable and .desktop file names because there is
  no real dependency between them.
* Improve performance slightly with an early return.
2018-05-06 15:43:08 +03:00
Abs62 c27020ec2f
Merge pull request #1007 from GD-fix/Fix-autostart-bug
Fix autostart bug
2018-05-05 15:21:07 +03:00
fixes a4e98b2f11
Fix autostart bug 2018-05-05 15:03:23 +04:00
Abs62 b5b199d870
Merge pull request #1000 from vedgy/eliminate-redundant-makeScanPopup
Eliminate a redundant makeScanPopup() call
2018-04-19 18:13:29 +03:00
Igor Kushnir eec796c6e3 Eliminate a redundant makeScanPopup() call
Destroying and creating a scan popup instance twice in
MainWindow::editPreferences() is wasteful.

2b9dd55804 added the unconditional second
makeScanPopup() call below but didn't remove the existing call,
probably by mistake.
2018-04-19 09:42:18 +03:00
Abs62 0a8599d9b1 Fix warning in scanpopup.cc while compilation under Windows/MacOS 2018-04-17 20:52:39 +03:00
Abs62 b7dbb6cd96
Merge pull request #999 from vedgy/move-send-to-main-window-option-in-ui
Move scanToMainWindow checkbox out of enableScanPopup group box
2018-04-17 20:31:33 +03:00
Abs62 03696662af
Merge pull request #998 from vedgy/option-to-disable-scan-popup-inside-goldendict
Add an option to disable scan popup inside goldendict
2018-04-17 20:31:19 +03:00
Abs62 d9980bf662
Merge pull request #997 from vedgy/small-audio-player-fixes
Small audio player fixes
2018-04-17 20:30:56 +03:00
Abs62 f4c22aac5c
Merge pull request #996 from morealaz/master
add possibility to use icon from system theme for tray icon
2018-04-17 20:30:41 +03:00
Igor Kushnir 5c74494935 Linux-specific: Add an option to disable scan popup inside Goldendict
When scan popup is configured to appear without any key modifiers
pressed and is active on X11, it interferes with selecting text inside
the scan popup window (or inside the main window if "Send translated
word to main window" option is enabled). It also makes searching text
inside article definition impossible - in the main window and
even more so in the scan popup window.

However, when scan popup is configured to appear only when some keys are
pressed, or when the scan flag feature is enabled, it may work fine
inside Goldendict windows.

It is possible to automatically decide whether to show scan popup when
selection or clipboard inside Goldendict changes. But such logic might
be unsuitable for some use cases. For example, invoking scan popup by
selecting article definition text in the main window works fine.
Therefore this commit makes ignoring selection and clipboard changes
inside Goldendict itself optional. This commit implements one of two
feature requests in issue #606.

This new option could have effect on non-X11 platforms if the hidden
trackClipboardChanges option is enabled. But it is much less useful on
these platforms because scan popup without key modifiers is unusable
there (at least under Windows). Let us show and use the option only on
X11 to avoid cluttering Preferences UI on other platforms.
2018-04-17 20:13:25 +03:00
Igor Kushnir fa308aae96 Move scanToMainWindow checkbox out of enableScanPopup group box
This option has effect even when scan popup functionality is disabled -
when the Ctrl+C+C hotkey is triggered. So the scanToMainWindow checkbox
should not be disabled when enableScanPopup is unchecked. Fixes #716.
2018-04-17 16:48:56 +03:00
Mohammadreza Abdollahzadeh eea6f686f6
add possibility to use icon from system theme for tray icon 2018-04-17 11:58:20 +04:30