Commit graph

269 commits

Author SHA1 Message Date
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
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
Tvangeste 890021379c Enable console in Debug mode on Windows, to see useful logging messages. 2011-06-03 14:43:10 +02:00
Konstantin Isakov d4b687e966 Add proper command line parsing (with quotes support) to programs and to the external audio player command line. 2011-05-29 18:05:28 -07:00
Konstantin Isakov 9960efc00d Add support for launching arbitrary executables (tts, manpages etc). 2011-05-28 22:08:37 -07:00
Julian Depetris Chauvin b173898c5d Argentinian Spanish translation by Yanina Weingast. 2011-05-28 19:26:54 -03:00
Konstantin Isakov 499cc27e2e Brazilian Portuguese translation by Leonardo Montenegro. Thanks! 2011-03-20 12:36:11 -07:00
Konstantin Isakov 9d59a7b961 Add Albanian translation by Besmir Godole. Thanks! 2011-03-08 19:36:10 -08:00
Konstantin Isakov 84090a2ed0 Traditional Chinese translation by Maha 吳寶原, Ray Chou 周邦信, Marcus Bingenheimer. Thanks! 2011-03-03 23:14:48 -08:00
Konstantin Isakov caf21a0e8a Add Japanese translation by Nardog (thanks!) 2011-03-03 22:56:26 -08:00
Konstantin Isakov bfed454649 Polish translation by Grzegorz Karpowicz added. 2011-01-04 22:35:26 -08:00
Konstantin Isakov feac985b49 Fix 'avaiable->available' typo for Ukrainian translation. 2010-12-04 13:09:20 +03:00
Konstantin Isakov 60fcfae61c Release 1.0.1. This version is mostly only relevant for Windows. 2010-12-04 00:12:46 +03:00
Konstantin Isakov 8db84c69d8 Release 1.0.0. 2010-12-03 17:52:08 +03:00
Konstantin Isakov 63e99204fc Switch to QtSingleApplication for maintaining single instance running.
This should put an end to all those pidfile-related problems.
2010-11-20 16:43:55 +03:00
Konstantin Isakov 921c42088d Implement Credits window in the About dialog to show project contributors.
The actual credits file is to be fully populated yet.
2010-11-14 19:28:50 +03:00
Konstantin Isakov 46d1d26750 Italian translation by orecchionebruno. 2010-11-11 20:22:48 +03:00
Konstantin Isakov c49466942d Vietnamese translation by Hero Phương <herophuong93 at gmail.com> 2010-08-20 17:56:10 +04:00
Konstantin Isakov 1624afafc4 Only have the rule to rebuild 'version.txt' if git was present when qmake was run. 2010-07-03 15:01:01 +04:00
Konstantin Isakov be23f54914 Generate the exact version string via Git. 2010-07-02 21:15:51 +04:00
Konstantin Isakov cc5e5b6c77 Add Ukranian translation by Wiseacre. 2010-06-22 01:11:37 +04:00
Konstantin Isakov 9e43f86feb Support for Forvo online pronunciations added. 2010-06-13 00:16:35 +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 44a6842c16 Use -rdynamic on unix targets only.
Mingw32 doesn't support it.
2010-05-29 15:27:10 +04:00
Konstantin Isakov 2b557e7f4b Greek transliteration by Jennie Petoumenou. 2010-05-29 13:22:08 +04:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Renamed from src/goldendict.pro (Browse further)