4d898010c0
Some improvements to handling command-line arguments.
2015-01-04 17:04:26 +01:00
1ea15b179c
Happy new year 2015 !!!
2015-01-01 18:06:21 +01:00
cc8df6e510
Make the initialization time measurement work again.
2014-12-21 17:13:50 +01:00
c435e4e1c1
Moved translation support into MUtilities library + make clean-up of temporary files work again + various minor fixes.
2014-12-20 23:44:43 +01:00
cc45c1a904
Moved Taskbar progress into MUtilities library.
2014-12-18 22:49:37 +01:00
d3917b5233
Refactored the Main() function into several sub-functions + some improvements of the IPC code.
2014-12-14 19:33:28 +01:00
53b12027e6
Moved all IPC functions into the MUtilities libraries.
2014-12-13 23:27:47 +01:00
187f1bbfb8
Moved set_window_icon() function into MUtilities function.
2014-12-04 22:59:30 +01:00
06db588742
Moved some more OS-specific functions into the MUtilities library.
2014-12-04 00:02:42 +01:00
6412989afd
Moved code to set up the console icon into the MUtilities library.
2014-12-03 22:19:18 +01:00
e579a5057d
Fixed possible memory corruption in ProcessThread::init().
2014-11-30 20:25:22 +01:00
6f4b0589c3
Moved more functions into MUtils library, especially all the Qt initialization code and some more OS-specific stuff.
2014-11-29 01:25:18 +01:00
a2f1885717
Moved startup and error handling routines into MUtilities library.
2014-11-26 02:39:02 +01:00
29d8b98a3f
Moved all terminal support functions into MUtilities library.
2014-11-25 22:34:20 +01:00
bdfef0ed1c
Removed the lamexp_fatal_exit() function.
2014-11-25 18:23:03 +01:00
52142c6e6b
Moved the CPU detection code into the MUtils library.
2014-11-25 03:15:03 +01:00
035699c84e
Moved various functions into MUtils library and removed obsolete code from LameXP.
2014-11-25 02:14:42 +01:00
f02043bd21
Some improvements and simplifications to error handling functions.
2014-06-27 16:20:47 +02:00
cc38035087
Happy new year 2014!
2014-01-01 17:05:52 +01:00
a5602cf04d
Reorganized global functions: The file "Global.h" was split into multiple file in order to reduce the dependencies and to make things a bit more logic.
2013-11-03 23:43:21 +01:00
7b016d5fec
Updated license info.
2013-10-23 22:25:04 +02:00
a2e02220dc
Fix compatibility to WindowsXP: The GetErrorMode() API requires Vista or newer, so don't use it!
2013-10-21 18:48:51 +02:00
b54886f242
Introduce QUTF8 macro and replace ".toUtf8().constData()" everywhere.
2013-10-21 15:00:55 +02:00
8a64624ba4
Use the THROW macro instead of plain "throw" in the complete project.
2013-10-18 21:37:40 +02:00
414b261c0d
Improved tool extraction code in InitializationThread. Also implemented better exception handling.
2013-10-18 20:49:22 +02:00
449e438787
Use AudioFileModel_MetaInfo instead of AudioFileModel where appropriate. Also updated MetaInfoModel to work with a AudioFileModel_MetaInfo (not only with a full AudioFileModel).
2013-10-13 00:21:37 +02:00
24217c3b71
More code refactoring: Moved most of the Win32 API dependencies into wrapper functions in Global.cpp, which greatly reduces platform-specific includes.
2013-10-07 00:01:15 +02:00
7602317652
Some code-clean up. Removed "Windows.h" include from "Global.h", because most source files won't need the Win32 API stuff. Also got rid of some Windows 2000 compatibility cruft.
2013-10-06 19:28:12 +02:00
822e1e1ffb
Implemented caching for settings model.
2013-07-14 17:13:01 +02:00
a94e6ecd34
Increase priority of "main" thread.
2013-04-16 21:54:01 +02:00
bd0a370aee
Welcome to year 2013 ;-)
2013-02-08 23:57:50 +01:00
cb042bbf3c
Added new function to detect the current date. Slightly more robust against manipulations.
2013-01-12 01:53:43 +01:00
30507937de
Added global lamexp_fatal_exit() function.
2012-12-11 23:22:20 +01:00
7c5ccbe417
Fixed "always recompile" problem with VS2012 project file. Also removed a superfluous include.
2012-12-10 23:35:14 +01:00
bf34e9e78f
Improved handling of fatal/critical messages in lamexp_message_handler() function.
2012-12-08 00:21:58 +01:00
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
accee3da7a
When generating the initial output-folder name for the Cue Sheet dialog, make sure there is no folder *or* file of that name yet. The previous code did check for folders only!
2012-06-21 18:31:36 +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
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
805d3f7393
Added one more "special" application icon.
2011-12-25 22:29:04 +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
5a32fc3b82
Implemented a more correct way to initialize the ITaskbarList3 interface. We now actually wait for the "TaskbarButtonCreated" message.
2011-11-07 17:13:41 +01: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
6a04c29ad9
Some refactoring: Moved tools info into a separate header file + added simple self-test to Thread_Initialization.
2011-10-19 00:24:03 +02:00
1fc851af2b
Added CLI parameters to overwrite the CPU feature flags. Useful for testing.
2011-09-20 00:03:51 +02:00