Commit Graph

793 Commits

Author SHA1 Message Date
1f001a65e2 Better handling of system shutdown. Now using the Qt event system to broadcast a special event when the system is going to shutdown (i.e. WM_QUERYENDSESSION or WM_ENDSESSION). This gives each top-level widget the chance to react to the system shutdown *before* we return from the message handler. Doing any clean-up after returning from the message handler is impossible, because Windows will kill the process immediately after WM_ENDSESSION has been processed. Note that Windows XP (and earlier) will NOT send WM_QUERYENDSESSION or WM_ENDSESSION to processes that have a console attached! Therefore, if we have a debug console attached, we cannot do anything on these systems. Our process will be killed without any notification...
Also improved LameXP's IPC mechanism: There now are several slots for IPC-commands in the shared memory area ("queue support"). This way, the sender can post several commands in sequence without getting blocked. The receiver can process those at a later time.
2011-12-29 14:42:20 +01:00
1bbda2c030 Added simple log-file support. Use environment variable "LAMEXP_LOGFILE" to setup a log file. 2011-12-27 20:10:19 +01:00
db587fe228 Prevent some more dialogs from blocking a quick system shutdown. 2011-12-27 13:51:01 +01:00
d5a4aa72e3 Windows will kill our process immediately after we return from handling the WM_ENDSESSION message, so we have to clean-up explicitly *before* returning from the message handler. Not nice, but there is no other way. Also, as Windows will kill our process anyway and thus prevent a proper application shutdown, we can just call exit() from the message handler. This makes sure nothing "unexpected" can happen in the short moment that our application would continue to run after returning from the message handler. 2011-12-27 05:47:38 +01:00
17d1582186 Updated Polish translation. Thanks to Sir Daniel K <sir.daniel.k@gmail.com>. 2011-12-27 05:08:19 +01:00
9a9d2e6819 Explicitly handle WM_QUERYENDSESSION and WM_ENDSESSION messages to make sure LameXP won't block Windows from shutting down. 2011-12-27 05:04:53 +01:00
a96237e6b2 Some refactoring of the icon initialization code. 2011-12-26 21:02:55 +01:00
6add306741 Merge branch 'master' of github.com:lordmulder/LameXP 2011-12-25 22:29:38 +01:00
805d3f7393 Added one more "special" application icon. 2011-12-25 22:29:04 +01:00
Andriy Bilous'ko
6618838b96 Updated Ukrainian translation. 2011-12-25 16:55:20 +02:00
144e60b6e5 Updated QT Linguist download URL. 2011-12-25 02:38:07 +01:00
b49c08073e Merge branch 'master' of ssh://lamexp.git.sourceforge.net/gitroot/lamexp/lamexp
Conflicts:
	res/MainIcon5.png
	src/Config.h
	src/Global.cpp
2011-12-25 01:05:03 +01:00
30f1795d32 Added some more "special" application icons. 2011-12-25 01:00:11 +01:00
8fc1a567c9 Added some more "special" application icons. 2011-12-24 20:04:49 +01:00
dce362c997 Make the CPU usage indicator work on Windows 2000. 2011-12-24 04:20:23 +01:00
e848b3bd8a Updated dcaenc binary. 2011-12-23 23:33:43 +01:00
d574745043 Restrict bitrate selector for dcaenc to a sane range. It seems everything above 4096 kbps will fail, even with 6 channels. 2011-12-23 02:29:06 +01:00
36d4f4fb74 Updated dcaenc. Also encoders can now report all supported channel numbers and downmix will be invoked as needed. We still downmix to Stereo, if the given channel number isn't supported. In a future version we should downmix to the most suitable supported channel number. 2011-12-23 00:43:11 +01:00
a0a29b9551 Experimental support for dcaenc, by Alexander E. Patrakov <patrakov@gmail.com>. 2011-12-22 21:53:25 +01:00
a392864916 Improved the resample filter. It will now also handle the adjustment of the bit-depth. 2011-12-22 18:36:41 +01:00
1a238db3db Update file properties after the decoding step by using SoX in "--i" mode. Required, because some properties (such as 'bits per sample') cannot be known beforehand. 2011-12-22 00:06:34 +01:00
6f7dae6391 Merge branch 'master' of github.com:lordmulder/LameXP 2011-12-21 22:09:05 +01:00
230e3e5036 Updated Chinese/Taiwanese translation. Thanks to 456Vv <123@456vv.com>. 2011-12-21 22:08:39 +01:00
Andriy Bilous'ko
67ac22c78b Updated Ukrainian translation. 2011-12-21 15:50:47 +02:00
2ad5c3068d Prepare to support audio encoders that only support specific bit-depths. 2011-12-21 01:23:21 +01:00
1d9aaf90ed Updated Chinese/Taiwanese translation. Thanks to 456Vv <123@456vv.com>. 2011-12-20 13:12:01 +01:00
2ff648b4fd Updated MediaInfo binaries to v0.7.50 (2011-12-19), compiled with ICL 12.1.6 and MSVC 10.0. 2011-12-20 00:25:41 +01:00
06889ec7a9 Merge branch 'master' of github.com:lordmulder/LameXP 2011-12-19 20:54:39 +01:00
925b23ff3e Renamed Chinese translation. 2011-12-19 20:51:26 +01:00
660ce78f79 Renamed one local var. 2011-12-19 17:38:36 +01:00
3141ebf2ee Improved detection of default language: Each language file can now have a country id in addition to the language id. This is required, because some languages (e.g. Chinese) have country-specific variants. 2011-12-19 17:26:20 +01:00
d1803f1a3b Print the "script" of the language file. 2011-12-19 16:20:52 +01:00
612f744afe Added 'Traditional Chinese' (Taiwanese) translation by 456Vv <123@456vv.com>. 2011-12-19 15:48:50 +01:00
683b7a82a5 QDesktopServices::openUrl() fails horribly, if we try to explore a folder like "C:\Foo\Bar" while there is a file "C:\Foo\Bar.exe". Going back to ShellExecute() for now. 2011-12-19 02:09:45 +01:00
97170324e3 Added "Ignore" button to message box. 2011-12-18 18:19:14 +01:00
c49ce7e530 Artwork can now be changed by double-click. 2011-12-18 15:19:28 +01:00
6657745daa Improved language file initialization code. 2011-12-18 15:19:07 +01:00
44da665abc Force column resize, after an item in the source file list has been edited. 2011-12-17 22:01:42 +01:00
2ad95434a3 Fixed one typo. 2011-12-17 20:57:12 +01:00
1d16d04244 Updated Changelog. 2011-12-17 18:27:25 +01:00
dc63a2d115 Added Chinese translation by 456Vv <123@456vv.com>. 2011-12-17 16:53:13 +01:00
9f3777bbde Check Qt build date and build key. 2011-12-17 15:56:24 +01:00
6c50f25224 Updated Ukrainian translation. Thanks to Arestarh <arestarh@ukr.net>. 2011-12-15 17:10:42 +01:00
c71d8ee2c8 Updated Ukrainian translation + made one more string translatable. 2011-12-15 14:28:03 +01:00
9c6b93fae2 Updated FAQ document. 2011-12-15 00:05:23 +01:00
f5b4584d3d Updated FAQ document. 2011-12-14 23:54:49 +01:00
388f98e90a Added UTF-16 (LE and BE) support to Playlist and Cue Sheet import. 2011-12-13 23:33:21 +01:00
c5a28190c4 Updated FAQ document. 2011-12-11 01:55:22 +01:00
caabab7adf Fixed a type (reported by VzK) 2011-12-10 23:13:29 +01:00
621ddc8179 Added a new global function to get a list of all available Text Codecs. 2011-12-10 23:12:47 +01:00