Commit graph

375 commits

Author SHA1 Message Date
xiaoyifang c96a83f5d2 imp. remove mouseover32 2022-02-03 16:55:10 +08:00
yifang 4f486a928c clean: remove unreach branch in goldendict.pro 2022-02-02 21:46:49 +08:00
xiaoyifang b6fe4b007b Merge branch 'feature/winlib' into staged 2022-02-02 14:59:37 +08:00
xiaoyifang 882d70a2a9 win specific:update ffmpeg libs 2022-02-02 14:32:03 +08:00
xiaoyifang aa12bbe167 Merge branch 'branch-qt-5.15' into dev 2022-01-24 22:27:04 +08:00
yifang c035cdc4ae clean code:remove 'greaterThan(QT_MAJOR_VERSION, 4)'from goldendict.pro 2022-01-24 06:49:20 +08:00
xiaoyifang edd873e7e4 fix : pro file minor changes . lrelease configuration 2022-01-22 18:45:27 +08:00
xiaoyifang fb420d54d5 Merge branch 'branch-qt-5.15' into dev 2022-01-21 22:39:28 +08:00
xiaoyifang f0d0a56ecc clean code:remove qmake CONFIG 'old_hunspell' that means libhunspell > 1.5 from now on. 2022-01-21 16:16:22 +08:00
xiaoyifang c25657e3c0 github action: package locale to zip 2022-01-20 19:56:07 +08:00
xiaoyifang f047c5fc9c Revert "imp. : wrap articleview in webchannel for security reason"
This reverts commit cf10810fe2.
2022-01-19 22:39:04 +08:00
yifang cf10810fe2 imp. : wrap articleview in webchannel for security reason 2022-01-19 20:50:17 +08:00
xiaoyifang 3ceb7dda36 improvement:pro file remove useless condition 2022-01-10 21:21:22 +08:00
xiaoyifang bd6cc8b9c9 fix: resource scheme handler received finished signal twice,more likely to crash the webengine. 2022-01-09 09:52:40 +08:00
yifang 46b4151cc4 improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +08:00
xiaoyifang 0c55c85339 fix conflict 2022-01-08 22:07:33 +08:00
yifang 0f1c0d4204 improve:right context menu active dictionaries 2022-01-08 14:51:24 +08:00
yifang 89b821d473 remove deprecated function 2021-12-26 19:01:05 +08:00
yifang f292e0c251 add javascript qt object to html(used to communicate between html and c++)
add jquery framework .
2021-12-19 18:37:27 +08:00
xiaoyifang cb5ac438fe bword link in Hunspell dictionary. 2021-12-13 22:46:02 +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
xiaoyifang ded545ecf3 fix dictionary parse error:
1,mdx dictionary load error in windows.
2,dsl dictionary load error in windows.
2021-10-19 00:19:25 +08:00
yifang c1eef3a228 remove inspector -- useless code 2021-10-05 09:51:51 +08:00
xiaoyifang 0279273369 add gico scheme handler 2021-08-28 10:35:23 +08:00
xiaoyifang 4b7af3cf6c webkit to webengine 2021-07-15 23:07:45 +08:00
xiaoyifang 3aadf52344 webkit to webengine 2021-07-15 22:58:32 +08:00
Abs62 b2e673961d Add hi_IN.ts to project file 2021-03-09 17:53:48 +03:00
proletarius101 38d7193f49 Rename id in metadata and desktop entry to org.goldendict.GoldenDict
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-id-generic

https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#file-naming
2021-02-27 20:04:28 +08:00
Carmina16 78cdbcae50
Add Interlingue translation
Setup the Interlingue translation
2020-07-19 16:53:21 +07:00
hrimfaxi 2155d492cb Use libswresample to convert 32-bit and float audio into s16
Since libao+pulseaudio cannot play 32-bit or flt/fltp/dbl/dblp audio,
the following audio formats are passed through libswresample
to convert into AV_SAMPLE_FMT_S16, which is accepted by libao:

* AV_SAMPLE_FMT_S32
* AV_SAMPLE_FMT_S32P
* AV_SAMPLE_FMT_FLT
* AV_SAMPLE_FMT_FLTP
* AV_SAMPLE_FMT_DBL
* AV_SAMPLE_FMT_DBLP

This fixes issue #949 and issue #1014. Now FFmpeg+libao internal player
can play with pulseaudio backend enabled in /etc/libao.conf .

Signed-off-by: hrimfaxi <outmatch@gmail.com>
2020-07-18 20:55:00 +08:00
Abs62 6e85b27337 Add Zstd compression support for ZIM format 2020-05-27 14:13:08 +03:00
Robin Townsend 7df235b118 add Lojban translations
Lojban only has an ISO 639-3 code, so we pretend that its ISO 639-2 code
is jb
2020-02-23 14:00:32 -05:00
Kevin Zheng d62b2d61ba Fix build on FreeBSD 2019-04-01 17:10:10 -07:00
Vitaly Zaitsev 7ef50ba50f
Added AppData manifest file for modern package managers.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-03-16 13:47:15 +01:00
Abs62 2d648829fa Merge branch 'group-box-and-translate-line-fixes' of https://github.com/vedgy/goldendict into Temp 2019-02-03 19:44:32 +03:00
Abs62 68fc27b7d7 Win-specific: Add global hotkeys handling via low-level keyboard hook 2019-01-31 17:59:24 +03:00
Igor Kushnir c88774151c Remove unused form groupselectorwidget.ui
This form was added in the first git commit. However it was unused at
the time of that commit and has never been used since then.
2019-01-29 12:58:44 +02:00
Abs62 1640fb2ff4 Win-specific: Fix compilation with MS VC (issue #1088) 2018-12-04 23:05:00 +03:00
Abs62 5559b5fe48 Favorites: Fix blocking of illegal move operations for Qt4 (issue #1059) 2018-09-24 20:22:51 +03:00
Abs62 fd00e9d156 Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
Igor Kushnir 9aa3c44d4e Add QMediaPlayer internal player back end (Qt5 only)
* add config and GUI support for internal player back end switching;
* make FFmpeg player disabling option consistent with other similar
  qmake options by using CONFIG;
* add a new qmake option that disables Qt Multimedia player. This is
  useful for GNU/Linux distributions where Qt WebKit and Qt Multimedia
  packages depend on different GStreamer versions and don't work
  correctly when combined in one application.

The existing FFmpeg+libao internal player back end has a relatively
low-level implementation, which is difficult to understand and improve.
There are at least 3 open internal player issues:
  1) many GNU/Linux users have to edit their libao configuration file to
     make Goldendict's internal player work (issue #412);
  2) libao's pulseaudio plugin does not support 32-bit audio, which
     means that many MediaWiki pronunciations don't work with the most
     popular GNU/Linux audio driver (issue #949);
  3) Ffmpeg::DecoderContext uses deprecated FFmpeg APIs, which causes
     compiler warnings and means that this internal player back end
     may not compile with a future FFmpeg library version (issue #978).

The Qt Multimedia back end implementation uses the highest-level
Qt audio API and is very simple.
This new back end works flawlessly on my GNU/Linux machine.
I'm not making it the default back end because I don't know how well
it will work on other platforms with different configurations.
2018-03-30 17:10:33 +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
Abs62 c204f75e52 Qt5: Use QRegularExpression instead of QRegExp in many cases 2018-02-22 16:55:56 +03:00
Abs62 46a4509101 Mac-specific: Update hunspell library to version 1.6.1 2017-07-05 18:19:40 +03:00
Abs62 bef2bf86c6 Update code for libhunspell 1.5+ 2017-07-05 17:58:43 +03:00
sunwxg ad8008c37b Add scan popup flag
After select a word, show a flag window, click the flag to show
popup window.
2017-06-05 21:15:38 +08:00
Abs62 1e34de2dbc Add "Favorites" feature 2017-05-12 17:41:08 +03:00
Abs62 eb78238f25 Add support for split zip files 2017-04-24 17:42:01 +03:00
Abs62 eba7f5578f Add support for GLS (Babylon source) format 2017-03-07 16:45:09 +03:00
Abs62 6386d1d70e Merge branch 'locale-fi' of https://github.com/sikmir/goldendict into Temp
# Conflicts:
#	goldendict.pro
#	goldendict.vcxproj
#	goldendict.vcxproj.filters
2016-11-24 07:52:42 +03:00
Nikolay Korotkiy bbcf5a16d2 Register Esperanto translation 2016-11-24 04:46:50 +03:00
Nikolay Korotkiy 340548544a Register Finnish translation 2016-11-24 04:39:46 +03:00
Abs62 526d9d1bf8 Mac-specific: Copy 64-bit OpenCC data into GoldenDict bundle by default (issue #694) 2016-05-02 14:11:56 +03:00
Abs62 b6622271b6 1. Bump version to 1.5.0-RC2
2. No more separate branch "qt4x5", all changes merged into "master" branch. Code may be compiled with both Qt 4.x and Qt 5.x versions.
2016-04-26 19:32:50 +03:00
Abs62 6f04427e8b Merge branch 'Original' into Qt4x5 2016-04-22 23:49:50 +03:00
Abs62 eb8428057f Mac-specific: Update project to copy OpenCC data files into GoldenDict bundle 2016-04-22 23:45:56 +03:00
Abs62 436edad84d Merge branch 'Original' into Qt4x5 2016-04-22 17:59:01 +03:00
Abs62 9a2855f39d Mac-specific: Add OpenCC library 2016-04-21 17:50:56 +03:00
Abs62 281d3b7e80 Win-specific: Fix build with Qt 5.6.0 and VS 2013 2016-04-14 19:09:21 +03:00
Abs62 5731349f06 Merge branch 'Original' into Qt4x5 2016-04-09 11:09:55 +03:00
Abs62 032f5c8337 Win-specific: Tune code for compilation with MS Visual Studio 2016-04-09 00:21:55 +03:00
Abs62 fcc2758eb3 Merge branch 'Original' into Qt4x5
Conflicts:
	goldendict.pro
2015-10-27 18:08:57 +03:00
Abs62 a67ed65a90 Add "chinese_conversion_support" key to project for Windows by default 2015-10-26 21:21:14 +03:00
Zhe Wang a1986254d2 ChineseConversion: conditional compilation and OpenCC exception handling 2015-10-26 09:38:22 +08:00
Zhe Wang 12f67a79a4 Support conversion between simplified and traditional Chinese characters 2015-10-20 00:00:35 +08:00
Abs62 e24de4d881 Merge branch 'Original' into Qt4x5
Conflicts:
	xdxf2html.cc
2015-10-14 18:23:46 +03:00
Zhe Wang a04917833c Remove dependency on libavutil 2015-10-11 23:01:24 +08:00
Abs62 1df1b3d5d5 Linux-specific: Fix compilation with Qt5 (issue #595) 2015-06-24 17:56:29 +03:00
Abs62 40de8fcdd1 Merge branch 'Original' into Qt4x5 2015-02-09 18:57:32 +03:00
Abs62 0912df7cb5 Add SLOB dictionaries support 2015-01-22 18:17:05 +03:00
Abs62 407bc7e4b0 Merge branch 'Original' into Qt4x5 2014-07-21 17:38:05 +04:00
Abs62 8e56dae5cd Mac-specific: Fix help installing for any build directory 2014-07-21 17:36:32 +04:00
Abs62 d4adf591a9 Adjust code for Qt5 2014-07-11 18:18:37 +04:00
Abs62 8cabcacf55 Merge branch 'Original' into Qt4x5
Conflicts:
	btreeidx.cc
	fulltextsearch.cc
	goldendict.pro
	main.cc
2014-07-11 18:17:43 +04:00
Abs62 d4c68d3c49 Add help system 2014-06-23 20:03:14 +04:00
Abs62 35433d9ea6 Merge branch 'Original' into Qt4x5 2014-05-27 17:59:50 +04:00
Abs62 08dd0423d9 Add Macedonian Translation by Vladimir Gerovski 2014-05-26 19:48:18 +04:00
Abs62 8b3a7a4f43 Epwing: Fix monochrome images, use unicode symbols instead of some extra symbol images 2014-05-22 22:16:10 +04:00
Abs62 d9169bd45b Add support for Epwing dictionaries 2014-05-20 17:59:56 +04:00
Abs62 273b1b5757 Merge branch 'Original' into Qt4x5
Conflicts:
	articleview.cc
	btreeidx.cc
2014-05-05 21:31:16 +04:00
Abs62 ceb04dbd6a DICT protocol support 2014-05-02 17:36:50 +04:00
Abs62 10532279b1 Merge branch 'Original' into Qt4x5
Conflicts:
	article_netmgr.cc
	mainwindow.cc
2014-04-23 18:16:06 +04:00
Abs62 9ad0d5f985 Implement full-text search 2014-04-16 20:18:28 +04:00
Abs62 4cf35cc7e3 Merge branch 'Original' into Qt4x5
Conflicts:
	hotkeywrapper.hh
	mainwindow.cc
	mainwindow.hh
2014-04-11 19:29:56 +04:00
Abs62 9623cbdd7a Add proxy authentication dialog 2014-04-03 18:21:02 +04:00
Abs62 59ebab589c Add Persian translation by Noori 2014-03-18 22:54:53 +04:00
Abs62 4bbe1aaee5 Merge branch 'Original' into Qt4x5
Conflicts:
	scanpopup.cc
2014-03-14 17:34:33 +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 0c2b182647 Handle 1-bit black/white TIFF images without photometric interpretation tag
(QImage don't handle such images)
2014-02-11 18:02:00 +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 2b15f925e6 Win-specific: Adjust project file for 64-bit MinGW build 2013-09-30 16:06:30 +04:00
Abs62 c4baa470b5 Win-specific: Adjust project file for 64-bit MinGW build 2013-09-30 16:03:25 +04:00
Abs62 750cccbe15 Qt5-Win-specific: Repair animation of dictionaries initializing indicator on Vista and higher with classic appearance 2013-09-27 17:04:57 +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
Julian Depetris Chauvin 7f112ea2e9 Merge branch '1.5-dev' 2013-09-23 15:09:09 -03:00
Julian Depetris Chauvin b78a817ae1 Add Turkmen translation by Berdy 2013-09-23 07:30:57 -03:00
Abs62 5ba083e74f Merge branch 'zim-support' 2013-09-19 18:28:08 +04:00
Abs62 7916cc5a87 Some tuning for MinGW 4.8 build 2013-09-17 18:11:27 +04:00
Abs62 a56329ce24 Zim: Add liblzma.a and it headers for MacOS, turn on Zim support under MacOS by default. 2013-09-16 18:13:52 +04:00
Julian Depetris Chauvin b567dd4d37 Add Swedish translation by Lakrits 2013-09-16 10:07:20 -03:00
Abs62 68665167d5 Add ZIM format support (issue #267). Now turned on by default for Windows only. Under Linux/MacOS use "qmake "CONFIG+=zim_support"" (liblzma-dev package required. Or take xz 5.0.5 sources from http://tukaani.org/xz/ and compile it). 2013-09-14 20:17:32 +04:00
Julian Depetris Chauvin 2ebda7879a Customize info.plist to add key to use font auto-scaling in OS X. This should at least fix the blurry texts in Macs with retina display support (issue #264) 2013-08-25 21:56:32 -03:00
Tvangeste 8d29a10d7c Serbian translation by ozzii (issue #388) 2013-08-24 19:24:05 +02:00
Timon Wong e09ca5402d Merge branch 'master' into qt4x5
Conflicts:
	goldendict.pro
2013-08-19 10:54:38 +08:00
Tvangeste b254127b3a Handle MSVC++ x64 2013-08-11 18:05:10 +02:00
Tvangeste b81f008a18 Tweaked compilation flags for MSVC++ 2013-08-10 21:44:33 +02:00
Tvangeste ea24b9e858 Disable stupid MS-specific compiler CRT-related warnings 2013-08-10 20:43:37 +02:00
Tvangeste d878802948 Fixed a compilation problem on windows 2013-08-09 12:24:33 +02:00
Tvangeste dd695f93dc Re-enable the internal ffmpeg based media player for Visual C++ 2012 2013-08-08 23:07:27 +02:00
Tvangeste f03cd6f41d Adjust the goldendict.pro file to handle MSVC++ 2013-08-07 20:32:26 +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 2a12036438 Linux: Better detection of installation prefix
1. qmake PREFIX=/usr

or

2. PREFIX=/usr qmake

or

3. export PREFIX=/usr; qmake

All should work.

Previously, the most typical #1 was not working.
2013-07-21 12:29:28 +02:00
Tvangeste 7820ef8b5a Use $PREFIX/share/goldendict for locale files per Linux conventions
There is no need to use $PREFIX/share/*apps*/goldendict.
2013-07-21 11:55:20 +02:00
Tvangeste bbce340353 Fix localization files' installation on Linux/MacOS 2013-07-21 10:46:22 +02:00
Tvangeste e4512948fc Do not install anything in $PREFIX/share/app-install (patch by Dmitry E. Oboukhov)
This is a private area of app-install application (Software Center),
and it is impolite to install files into places we don't own.

Not to mention it causes installation conflicts in Debian/Ubuntu.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689205
2013-07-18 20:24:36 +02:00
Abs62 89755f8c09 Refactor work with RTL languages in word search list and history list 2013-07-06 19:31:31 +04:00
Timon Wong 91f994950d Qt 5.1 support (Windows MinGW 4.8) 2013-07-05 18:10:11 +08: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 6f2ab430ec Merge branch 'master' into qt4x5
Conflicts:
	article_maker.cc
	dsl.cc
	mainwindow.cc
2013-06-08 12:27:18 +08:00
Tvangeste 3c72be49a2 Switching to 1.5.0 version 2013-06-06 15:39:06 +02:00
Timon Wong 0e8fcd7c12 Win-Specific: Embed appropriate manifest.
* Fix native look & feel for print dialog, as a side effect.
2013-06-05 00:33:44 +08:00
Timon Wong 170ceb9a46 Add static libhunspell built with mingw32-dwarf 2013-05-31 18:40:27 +08:00
Timon Wong 8015841a1a Replace Q_WS_X11 -> HAVE_X11 2013-05-31 13:28:36 +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 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 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
Abs62 7669d4f788 Dsl: Handle SVG images 2013-05-25 16:07:49 +04:00
Timon Wong 61f24d7cd6 Win-specific: Remove unused `winmm' from import libraries 2013-05-10 00:08:54 +08:00
Tvangeste a5e71de63a Mac-specific: Fix the shadow build 2013-05-07 01:22:43 +02:00
Julian Depetris Chauvin 5d0e2d7550 Mac-specific: update project file to use GD custom ffmpeg/libao libraries. Set script to executable mode. 2013-05-08 07:47:28 -03:00
Abs62 882dd57781 Mac-specific: Implement text-to-speech feature under Mac OS X 2013-05-07 17:39:35 +04:00
Tvangeste 3785663f9f Mac OS: adjust the pro file to be able to build with brew
But we still need the proper universal libraries.
2013-05-05 14:04:24 +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 0fb8eed553 Win-specific: Add volume and rate tuning for TTS, fix some errors 2013-04-26 17:41:39 +04:00
Abs62 c14ef3458f Win-specific: Add TTS support for Windows (by Timon Wong) 2013-04-24 18:52:04 +04:00
Tvangeste db4895e585 Mac: Add -llzo2 to the build, to fix compilation falire
The build works just fine after this change,
once the lzo library is installed via brew:

brew install lzo
2013-04-23 17:57:59 +02:00
Timon Wong cdab08a1ef MDict (.mdx/.mdd) format support
summary

* mdd is complementary resource archive for mdx (dictionary file)
* lzo2 library for (old) MDict version 1 file format
* try Load bass_spx.dll under windows for speex decoding
* internal redirection "@@@LINK=" for both mdx and mdd
2013-04-23 20:07:05 +08:00
Abs62 68df177056 Mac-specific: Implement scanning under Mac OS X (issue #129) 2013-04-10 17:31:44 +04:00
Tvangeste 1679e5d3e8 Dutch localization (by Cris) 2013-04-08 23:20:52 +02:00
Abs62 10378302e8 Mac-specific: Implement hotkeys under Mac OS X (issue #129) 2013-04-05 16:25:34 +04:00
Abs62 e8f6c8453d Win-specific: Preparation for 64-bit build 2013-03-28 17:45:47 +04:00
Tvangeste a8136a3bcc Korean localization by panho10 2013-03-18 09:01:52 +01:00
Tvangeste 1b04dbf3e9 On Windows x64, fixed #208: GoldenDict crashes when indexing huge dictionaries.
According to Microsoft documentation, on x64 systems the virtual address space
for 32-bit process can be extended from 2Gb to 4Gb if if the application is
compiled with the /LARGEADDRESSAWARE switch.

I verified that with this switch we get full 4Gb on x64 systems and the
indexing of huge dictionaries works just fine now.

On x32 systems we can't do much though.
2013-02-02 22:06:07 +01:00
VirtualTam ab60550b6d Added French translation to project file 2013-01-29 22:40:55 +00: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
Tvangeste e3157d2353 Merge pull request #172 from QuendiMax/be-translit
Add belarusian transliteration
2013-01-20 13:42:34 -08:00
Maksim Tamkovič 1fb23efe1e Add belarusian transliteration 2013-01-20 22:15:24 +03: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
Maksim Tamkovič 976bff6303 Add belarusian translation
Add belarusian translation in cyrillic and latin alphabet
2013-01-15 10:13:15 +03:00
Julian Depetris Chauvin e816bc74f3 Add Aymara translation by Amos Batto. 2012-12-24 15:22:24 -03:00
Tvangeste da13998518 Updated UI: Browser-like interface vs search in the sidebar.
Users now have a choice:

* The new way: The field to enter words located like in all browsers, in the toolbar.
* The old way: to search in the sidebar.

Both UI modes are supported and can be switched between via View -> Search Pane menu.
2012-12-24 12:30:03 +01:00
Abs62 8901dccbef Switch user styles on-the-fly 2012-12-10 18:14:13 +04:00
Abs62 4ab213e178 Again version.txt 2012-12-05 20:46:58 +04:00
Abs62 208394a2d3 Fix version.txt creation command 2012-12-05 16:44:06 +04:00
Vladimir Sizikov 28b96427ac Compilation fixes under Embedded Linux (for ARM) envvironment.
Needed to properly compile GoldenDict for Kindle eInk readers.
2012-12-04 09:21:13 +01:00
Tvangeste a2ad90e92d Shadow Build fixes 2012-12-03 20:11:33 +01:00
Abs62 03af1da9af Win-specific: Play sounds via Bass library 2012-11-23 16:43:36 +04:00
Abs62 8bed9e80eb Support sound packs in zip archive (.zips) 2012-09-28 16:39:52 +04:00
Abs62 34419706c9 Show information about a dictionary on rigth mouse click in "Found in" pane 2012-09-24 16:51:51 +04:00
Denis Loginov b1b55f5c74 Added full-screen mode for Mac OS X Lion
Adapted from https://github.com/bjorn/tiled/tree/master/src/tiled
2012-06-03 14:29:49 -04:00
Julian Depetris Chauvin 7ca7e4379f * Add Tajik translation by Victor Ibragimov
* Fix link to scan popup in Tajik translation
2012-05-20 20:18:51 -03:00
Julian Depetris Chauvin 87f98aac28 Capitalized app name and include locale folder in Mac build
Signed-off-by: Julian Depetris Chauvin <jdepetris@gmail.com>
2012-04-06 17:00:20 -03:00
Julian Depetris Chauvin ba2ce47ae3 Merge branch 'themighty1-mru-tab' 2012-04-02 15:41:58 -03:00
Julian Depetris Chauvin 3e3071003c add missing dependency libbzip2 to Mac build
Signed-off-by: Julian Depetris Chauvin <jdepetris@gmail.com>
2012-03-25 21:53:12 -03:00
Konstantin Isakov a86431a6f4 New Spanish from Spain translation added. 2012-02-21 21:44:58 -08:00
wwwwww 753b0185df MRU tab switching implemented 2012-02-17 00:00:00 +02:00
Abs62 81ee55aff7 Add support for Aard dictionaries (aar-html) 2012-02-09 16:50:38 +04:00
Abs62 79d24b80f6 Add support for Sdict dictionaries 2012-02-09 16:49:41 +04:00
Abs62 fb179acb59 Add translations es_BO.ts and qu_WI.ts to project file 2012-01-26 18:07:10 +04:00
Abs62 af53018709 XDXF dictionaries format support 2012-01-24 16:55:28 +04:00
Abs62 c9192acef4 Win-specific: ScanPopup in 64-bit applications 2012-01-24 16:39:23 +04:00
Konstantin Isakov 35c103cd0b Add Turkish translation. 2011-11-13 00:48:47 -08:00
Abs62 34377a128a Merge pull request #48 from Abs62/master
Use file names in UTF-8. Fix issue #30.
2011-10-22 04:42:48 -07:00
Julian Depetris Chauvin f8cb806569 Slovak translation by zdenop 2011-10-15 21:06:14 -03:00
Denis Loginov bbaa6adf4d Finalized goldendict.pro file changes. 2011-09-23 20:12:34 -04:00
Denis Loginov 6140ff5615 Added comment about PowerPC support and the build environment
needed for it.
2011-09-23 17:11:25 -04:00
Denis Loginov 99ba491f82 Introduced support for PPC arch on Mac OS X.
Signed-off-by: Denis Loginov <dloginov@mit.edu>
2011-09-23 14:57:29 -04:00
Denis Loginov 84654cc061 Reverted to dynamic lib model and reduced dependencies on system libs even further. 2011-09-18 22:26:50 -04:00
Denis Loginov bcdd62c15a Removed some dependencies on system libs in Mac OS X. 2011-09-17 23:40:45 -04:00
Denis Loginov cf00c1096b Improved support for Mac OS X:
1) Application now builds correctly for both 
   x86 and x86_64 architectures on Mac OS X 10.6 and 10.7
   thanks to fixes in iconv.h
2) The 'unix' branch in goldendict.pro is skipped for Mac now.
3) The sluggishness of scrolling is gone after setting Qt
   graphics system to "raster" at the application launch.

Signed-off-by: Denis Loginov <dinvlad@gmail.com>
2011-09-17 06:28:50 -04:00
Abs62 2763b74635 Use file names in UTF-8. Fix issue #30. 2011-09-09 16:05:28 +04:00
Denis Loginov a91def88b7 Build Mac binary based on the host arch. 2011-08-15 10:35:57 -04:00
Denis Loginov ff4a88fba8 Corrections in goldendict.pro for Mac OS X (reduced dependencies on external libs/headers). 2011-08-14 20:46:51 -04:00
Denis Loginov b24b050849 Minor correction: modified goldendict.pro so that it ignores any extra libs installed on the system via Brew/Macports/etc and uses only built-in libs and the ones provided in the 'maclibs' folder.
Signed-off-by: Denis Loginov <dloginov@mit.edu>
2011-08-14 16:04:27 -04:00
Denis Loginov a82a96e6af Added full support for both 32- and 64-bit Intel Macs.
The universal binary is now built seamlessly with 'Cocoa: Mac binary package for Mac OS X 10.5-10.6' (works in 10.7 as well).

Signed-off-by: Denis Loginov <dinvlad@gmail.com>
2011-08-07 21:04:53 -04:00
Denis Loginov ee966c4d2d Added precompiled third-party libraries
and their header files necessary to build
GoldenDict on 64-bit Intel Macs.
Included program icon into application package.
Minor code clarification in keyboardstate.cc
2011-08-07 04:13:20 -04:00
Denis Loginov b1553ccc75 Added MAC OS X support and updated program icon from the old project wiki for better looks in Dock etc. Scan popup and hotkeys are not supported. The program is tested on Snow Leopard and Lion. Works with the default system libraries.
Signed-off-by: Denis Loginov <dinvlad@gmail.com>
2011-08-06 14:39:16 -04:00
Konstantin Isakov f65c98c8e1 Merge pull request #26 from Abs62/master
Improvements in scan popup functionality. Now it can work with Internet Explorer 9.
2011-07-29 19:47:54 -07:00
Abs62 3ae6add49c Adjust program code and project file to new libraries 2011-07-19 22:36:04 +04:00
Tvangeste 5404d4213e Dictionary tool buttons should not have an icon shifted when checked.
This just looks better, since the dictionary icons don't collide
with the border anymore.
2011-07-12 11:38:37 +02:00
Abs62 a8589b39bf Improvements in scan popup functionality.
1. Add search word under cursor through IAccessibleEx interface and UI Automation technology.
2. Reorganize GoldenDict main program and scan libraries interaction to reduce influence to other programs.
3. Fix crash in scan libraries in IE9 protected mode.
2011-07-09 23:26:30 +04:00
Tvangeste d46e4dc77b Chrome-style statusbar for GoldenDict.
* Small pop-up window at the bottom of the main winodw instead
  of traditional status bar, that consumes lots of space.
* API, similar to standard Qt's status bar.
* The status bar hides itself after specified amount of time.
* Clicking on the status bar also hides it.
* Properly behavies on resizes/moves/focus/etc.
* Tested on Linux and Windows.
2011-06-27 20:54:15 +02:00
Tvangeste 0e9f5f28c2 Hide single tab option is implemented.
By default, it's turned off (== current behavior).
2011-06-23 16:20:32 +02:00
Abs62 36e509a2ab Replace printf in code by a macro DPRINTF 2011-06-19 22:50:11 +04:00