Commit Graph

75 Commits

Author SHA1 Message Date
c095bbee95 Some refactoring of the macros. Use the "do {...} while(0)" template where it makes sense. 2012-07-29 19:13:58 +02:00
17794881a4 Extinguished some remaining uses of argv[] or QApplication::arguments(). 2012-06-23 18:18:57 +02:00
30bc239cd8 Now using our own command-line parser, based on GetCommandLineW() + CommandLineToArgvW , instead of using QApplication::arguments(). This is less portable, but Qt's internal command-line parser has some rather strange behavior with processing certain characters. As a result, with Qt's command-line parser, some path names passed to LameXP got screwed up! Specifically "C:\Some Path\''Foo''.mp3" got mangled to "C:\Some Path''Foo''.mp3", i.e. the Backslash disappeared! Should be fixed now. 2012-06-22 15:49:56 +02:00
40c8874313 Updated Chinese/Taiwanese translation. Thanks to 456Vv <123@456vv.com>. 2012-04-18 22:53:07 +02:00
c41c904ffa Detect Windows 8 and detect if Windows 8 is running in "compatibility mode" for Windows 7. 2012-04-13 16:37:47 +02:00
027471b385 Updated MediaInfo binary to v0.7.55 (2012-04-05), compiled with ICL 12.1.7 and MSVC 10.0. 2012-04-10 01:25:34 +02:00
7016383fbb Added support for the Visual Leak Detector. This effects "Debug" builds only. 2012-04-06 22:24:05 +02:00
cdf300cd22 Some more Wine workarounds: Disable x64 binaries, as it seems they fail to load under Wine (tested with Wine 1.4 under Ubuntu 12.04 x64). 2012-04-05 13:40:52 +02:00
17278fb7a6 Use the 'FindExInfoBasic' information level on supported OS (Windows 7 and later). Should further speed-up things. 2012-03-31 16:27:37 +02:00
9b687fff9a Happy New Year 2012! 2012-01-02 00:52:27 +01:00
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
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
dce362c997 Make the CPU usage indicator work on Windows 2000. 2011-12-24 04:20:23 +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
612f744afe Added 'Traditional Chinese' (Taiwanese) translation by 456Vv <123@456vv.com>. 2011-12-19 15:48:50 +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
431bf4b9ff Much simplify cores2instances() function by using a LUT. 2011-11-26 17:25:33 +01:00
20f425c284 More reliable method to detect QAAC and make sure the required CoreAudioToolbox library is available. 2011-11-21 14:40:32 +01:00
da5dfdc85e Added optional support for the QAAC encoder. Requires QuickTime v7.7.1 (or later) and the QAAC front-end. 2011-11-21 01:22:41 +01:00
02b7cdc3e1 Added indicators for current CPU usage, RAM usage and free disk space to the processing window. 2011-10-29 16:26:09 +02:00
6c67cb0012 Check if hibernation is support on the computer. If not, disable the hibernate option. 2011-10-22 01:34:24 +02:00
a98206bd70 Added an option to hibernate the computer ("suspend to disk") instead of shutting it down ("power off"). 2011-10-22 01:13:28 +02:00
0e6058df9e Moved Windows 8 64-Bit hack to a better place. MPress will not be fixed soon for Windows 8, so we will have to keep that hack for a while... 2011-10-21 16:17:22 +02:00
1a9aa81d3a More extensive use of the NOBR macro + code clan-up. 2011-10-16 16:38:01 +02:00
282528ea67 Set text codec to UTF-8, so qDebug/qWarning/qFatal don't destroy Unicode strings. Also remove qDebug64() and friends, as we don't need them any more. 2011-09-29 20:06:09 +02:00
1fc851af2b Added CLI parameters to overwrite the CPU feature flags. Useful for testing. 2011-09-20 00:03:51 +02:00
95f627ee1a Some more clean-up for FhgAacEnc support + updated documents. 2011-08-21 14:43:18 +02:00
93d4fb14ee Make lamexp_clean_filename() a global function. 2011-08-04 20:35:40 +02:00
816e874c4c Initialize stdout and stderr in a way that won't mangle UTF-8 string. Now we can use standard fprintf() to output UTF-8 string to the console -> console output workarounds removed. 2011-07-28 13:35:24 +02:00
327ca1ae75 Added 'wma2wav' as WMA decoder and removed all support for WMA decoder by NCH Swift Sound. 2011-07-26 22:17:14 +02:00
6a6ac5396d Implemented a custom function to blink a window. On Windows XP the native FlashWindowEx() function doesn't work with caption-less windows. 2011-05-03 20:17:33 +02:00
4bb7185a0f Added global exception handler routine. 2011-04-17 15:53:28 +02:00
26fe0b0499 Slightly refactored macros. 2011-04-14 01:40:11 +02:00
8977e0073f Clean up #include directives: Don't include 'Windows.h' directly, as it's included from 'Global.h' header file. 2011-04-11 21:55:34 +02:00
5066bd97c0 Improved compiler detection. Partly borrowed from MPC-HC project. 2011-04-07 22:40:47 +02:00
dba6d2fb3e Added support for embedding cover artwork to FLAC encoder. 2011-03-25 16:17:19 +01:00
7e306384f6 Fix the progress parser for Valibdec. There's a leading whitespace character, if the progress is < 10%. 2011-03-21 17:36:43 +01:00
db6b218d5d Added entry for "Help & Support" to Help menu. 2011-03-20 14:28:27 +01:00
108c167767 Added an option to shutdown the computer as soon as all files are completed. 2011-03-18 01:12:17 +01:00
c4983e3a4c Added macros for a Unicode-safe version of qDebug(), qWarning() and qFatal(). These will pass the UFT-8 string with a Base64 encoding. 2011-03-12 21:58:46 +01:00
63d6708fc1 Refactored a few constants. 2011-02-28 01:28:27 +01:00
f829d69636 Added an option to select a user-defined TEMP directory. 2011-02-25 22:03:39 +01:00
26af882003 Added Russian translation by Neonailol <neonailol@gmail.com>. 2011-02-18 20:14:45 +01:00
5902f1822d Fixed a bug that could lead to an infinite loop when trying to install an update from auto-update and the WMA decoder component was not installed yet. 2011-02-18 00:53:36 +01:00
fb707cb257 Added support for a true "portable" mode: If you rename the LameXP executable to 'LameXP-Portable.exe' it will store the configuration file in the same folder where the executable is located. This might be helpful if you put LameXP onto your USB stick and use it on different computers regularly. Important: In "portable" mode the user is responsible to make sure that write-access to LameXP folder is available! 2011-01-24 00:04:07 +01:00
cedb9c21a8 Increase expire interval for pre-release version to 30 days (was 14 before). 2011-01-20 22:06:59 +01:00
effbe66566 Make 8 more strings translatable. 2011-01-14 23:34:31 +01:00
bb538580d6 Added option to load translations from an "external" file, for easier translation testing. 2011-01-06 00:53:52 +01:00
efc0765dea Move language file initialization to InitializationThread. 2011-01-04 19:58:18 +01:00