Commit Graph

14 Commits

Author SHA1 Message Date
593ef23a22 Some improvements to LockedFile class. 2015-11-22 17:36:54 +01:00
1714af0a4d Refactored the "LockedFile" class + moved hash computation to a separate class, for clarity. 2015-08-30 13:47:08 +02:00
1ea15b179c Happy new year 2015 !!! 2015-01-01 18:06:21 +01:00
cc38035087 Happy new year 2014! 2014-01-01 17:05:52 +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
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
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
9b687fff9a Happy New Year 2012! 2012-01-02 00:52:27 +01:00
96db5e86c2 Happy new year! 2011-01-01 17:04:25 +01:00
cd83ebd5d6 Detect Nero AAC encoder binary at runtime 2010-11-11 22:58:02 +01:00
36ae27f5f3 first commit 2010-11-06 23:04:47 +01:00