Commit Graph

29 Commits

Author SHA1 Message Date
035699c84e Moved various functions into MUtils library and removed obsolete code from LameXP. 2014-11-25 02:14:42 +01:00
004a201b19 Now using UpdateChecker and KeccakHash from the MUtils library. Removed obsolete files. 2014-11-24 19:33:12 +01:00
0a65e42012 Fixed potential crash when trying to import Cue Sheet where *all* files are missing: If none of the files exist, we shouldn't try to analyze them. The real problem, however, was a potential NULL-pointer access in the FileAnalyzer thread's destructor code. Thanks to XhmikosR for reporting! 2014-08-16 14:45:18 +02:00
cc38035087 Happy new year 2014! 2014-01-01 17:05:52 +01:00
a849831cc2 Fixed LockedFile to make it work with non-static Qt again. Regression in previous commit. 2013-11-02 01:06:15 +01:00
d888855e4a Fixed a resource (file descriptor) leak: If a QFile object was created from a C Runtime file descriptor, it will *not* close the file, when QFile::close() is called or when the QFile object is destroyed. Furthermore, if a C Runtime file descriptor is obtained via _open_osfhandle(), we *must* to close that file descriptor via _close() function. Closing the underlying system HANDLE via CloseHandle() is *not* sufficient, as the file descriptor is won't be freed! On the other hand, the _close() function *does* close the underlying system HANDLE for us. In order to avoid a resource (file descriptor) leak, we will now store the file descriptor and close it properly via _close() in the destructor.
Note: The resource leak probably did not cause any harm, simply because we did not create many LockedFile objects. But it *did* cause serious issues when running the benchmark. Anyway, it should be fixed now.
2013-11-01 19:32:47 +01:00
7b016d5fec Updated license info. 2013-10-23 22:25:04 +02:00
b54886f242 Introduce QUTF8 macro and replace ".toUtf8().constData()" everywhere. 2013-10-21 15:00:55 +02:00
8a3094653c Improved InitializationThread::selfTest() function: It will now verify the hashes of *all* tools (it still is called in DEBUG builds only). 2013-10-20 19:12:55 +02:00
414b261c0d Improved tool extraction code in InitializationThread. Also implemented better exception handling. 2013-10-18 20:49:22 +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
bd0a370aee Welcome to year 2013 ;-) 2013-02-08 23:57:50 +01:00
316da47f10 Simplified QKeccakHash and added self-test function. 2012-11-27 01:02:55 +01:00
bcb85f22c3 Now using Keccak/SHA-3 to verify the built-in files. 2012-11-12 00:32:39 +01:00
9b687fff9a Happy New Year 2012! 2012-01-02 00:52:27 +01:00
2d18aecd55 Updated web-site URL + more tweaks to hash algorithm. 2011-07-06 23:30:43 +02:00
87a3166f8b New file hash algorithm (still based on SHA-1). 2011-07-02 16:38:46 +02:00
7994e06822 LockedFile class: Initialize QFile object with existing file descriptor instead of re-opening the file. This is done in order to avoid one CreateFile() call, which potentially speeds up the initialization procedure and/or avoids potential problems with bogus "anti-virus" programs. WARNING: Passing file descriptors into Qt functions/class works with "fully static" builds only! Otherwise the "main" application and the Qt DLL's use their own CRT each, which results in crash when passing file descriptors between the different CRT's. 2011-06-26 19:21:00 +02:00
5ac65284ff Make "LockedFile" class more robust against buggy a/v software + some refactoring. 2011-06-23 16:50:02 +02:00
63bf596ce8 Recognize WMA decoder (wamwav.exe) from the LameXP program directory. Might be helpful for people using LameXP as a portable application. 2011-06-21 16:23:42 +02:00
ee6b909065 Updated FAQ document. 2011-06-21 14:35:46 +02:00
eece27de06 Much improved Avisynth input. Now actually detect Avisynth scripts and read meta-info. 2011-05-21 21:08:10 +02:00
442ff4095d Updated OggEnc binary to v2.87 using aoTuV Beta-6 (2011-02-22), compiled with ICL 11.1 and MSVC 9.0. 2011-02-23 02:19:50 +01:00
96db5e86c2 Happy new year! 2011-01-01 17:04:25 +01:00
be4ce0d81c Added AAC encoding support. 2010-12-03 23:01:17 +01:00
b1137e4cb1 Fix detection of Nero AAA encoder + use canonicalPath() where suitable 2010-11-15 22:07:46 +01:00
cd83ebd5d6 Detect Nero AAC encoder binary at runtime 2010-11-11 22:58:02 +01:00
ce41761614 Improve about dialog + nicer method write version info to resource section 2010-11-07 23:06:30 +01:00
36ae27f5f3 first commit 2010-11-06 23:04:47 +01:00