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
1bbda2c030
Added simple log-file support. Use environment variable "LAMEXP_LOGFILE" to setup a log file.
2011-12-27 20:10:19 +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
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
805d3f7393
Added one more "special" application icon.
2011-12-25 22:29:04 +01:00
30f1795d32
Added some more "special" application icons.
2011-12-25 01:00:11 +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
44da665abc
Force column resize, after an item in the source file list has been edited.
2011-12-17 22:01:42 +01:00
9f3777bbde
Check Qt build date and build key.
2011-12-17 15:56:24 +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
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
a2cae5c288
Slightly tweak algorithm to automatically set the number of instances: Instead of restricting the number of instances to 4, we now use '(cpu_cores / 2) + 2' instances for more than 4 CPU cores. For at most 4 CPU cores, we still use 'cpu_cores' instances. This way we can use more than 4 instances on CPU's with more than 4 cores, but the number of instances won't grow linearly with the number of CPU cores - should help a bit to avoid HDD thrashing.
2011-11-16 22:53:18 +01:00
84053a76f4
Use qMin() and qMax() instead of min() and max() macros. Also use qBound() where appropriate.
2011-11-08 15:12:31 +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
de5b2458c1
Updated Qt Framework to v4.8.0 RC-1, built with Visual Studio 2010. Also improved OS detection a bit.
2011-10-14 18:02:37 +02:00
f8512798a2
Added hack to disable 'x64' support on Windows 8 Developer Preview, as our MPress-compressed x64 binaries currently crash on that platform. It's not yet clear whether Windows 8 or MPress is at fault...
2011-09-30 20:17:42 +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
9f011cb572
Also repair 'cout' and 'cerr' to not mangle UTF-8 strings.
2011-09-27 21:32:45 +02:00
466d339d9d
Added support for the non-standard tags "REM DATE" and "REM GENRE" to the CUE Sheet parser.
2011-09-23 21:30:55 +02:00
1fc851af2b
Added CLI parameters to overwrite the CPU feature flags. Useful for testing.
2011-09-20 00:03:51 +02:00
c08fa1493a
Added support for a few Playlist file name prefixes. Will be chosen based on the file names in the Playlist.
2011-09-06 18:47:13 +02:00
992133d1e2
Improved initialization of config directory.
2011-08-26 16:32:25 +02:00
ec8db207f5
Workaround for "console window not drawing" bug on Wine.
2011-08-26 03:28:34 +02:00
2da39922ca
Added warnings when LAME algorithm quality is set to "extreme" values.
2011-08-25 03:44:46 +02:00
137535927a
Workaround for a bug in Qt's TableView that causes column widths to not be updated immediately when ResizeToContents is used. We have to force the update via event filter.
2011-08-22 00:03:36 +02:00
95f627ee1a
Some more clean-up for FhgAacEnc support + updated documents.
2011-08-21 14:43:18 +02:00
7e14e0f1a7
Restored Windows 2000 support (experimental!).
2011-08-15 15:27:56 +02:00
7e1f790e9b
Added an option to rename the output files (based on an user-defined pattern). More macros might be added at a later time.
2011-08-04 23:26:38 +02:00
93d4fb14ee
Make lamexp_clean_filename() a global function.
2011-08-04 20:35:40 +02:00
272cef76f4
Removed some more remnants of "old" WMA decoder + updated changelog.
2011-08-04 00:55:17 +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
7127271652
Updated MediaInfo binaries to v0.7.47 (2011-07-27), compiled with MSVC 10.0.
2011-07-27 22:17:43 +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
2d18aecd55
Updated web-site URL + more tweaks to hash algorithm.
2011-07-06 23:30:43 +02:00
8eba258624
Use structured exception handling.
2011-06-22 01:10:53 +02:00
e0131ac18b
Fixed compilation in Visual Studio 2008.
2011-06-21 22:07:22 +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
f8843e5af8
Re-compiled FAAD v2.7 with Visual Studio 2010.
2011-04-24 23:18:00 +02:00
762b231037
Now using Qt v4.7.3, available trough Qt SDK v1.1 RC.
2011-04-19 16:14:05 +02:00
568da6136b
Fix typo.
2011-04-17 15:54:54 +02:00
4bb7185a0f
Added global exception handler routine.
2011-04-17 15:53:28 +02:00
99bd8c28ff
Workaround for Wine: It appears that Wine exports SetConsoleIcon() from kernel32.dll, but as soon as we call it the application will be terminated ("Unimplemented function KERNEL32.dll.SetConsoleIcon called"). Consequently we will now detect Wine and avoid calling SetConsoleIcon() under Wine. This way LameXP should work under Wine again.
2011-04-17 00:17:43 +02:00
60ac414c30
Updated LAME binary to v3.99 Beta-0 (2011-04-16), compiled with ICL 12.0.3. Also updated LAME switches accordingly.
2011-04-16 21:21:08 +02:00