From 23665ed4c978512037668f6053d56dbb27a53d45 Mon Sep 17 00:00:00 2001 From: lordmulder Date: Mon, 28 Mar 2011 04:26:47 +0200 Subject: [PATCH] Implemented a new "disk observer" thread which will constantly check the free diskspace of the disk where the TEMP folder is located. If the diskspace drops below a critical limit (currently 100 MB) a warning message is emitted. --- LameXP.vcproj | 42 ++++ doc/Changelog.html | 3 +- etc/Translation/Blank.ts | 11 + etc/Translation/LameXP_DE.ts | 11 + etc/Translation/LameXP_ES.ts | 11 + etc/Translation/LameXP_FR.ts | 11 + etc/Translation/LameXP_IT.ts | 11 + etc/Translation/LameXP_RU.ts | 513 +----------------------------------------- etc/Translation/LameXP_UK.ts | 11 + etc/Translation/update.lst | 2 + gui/MetaInfo.ui | 5 +- res/Icons.qrc | 3 + res/localization/LameXP_DE.qm | Bin 56385 -> 56765 bytes res/localization/LameXP_ES.qm | Bin 52059 -> 52135 bytes res/localization/LameXP_FR.qm | Bin 52771 -> 52853 bytes res/localization/LameXP_IT.qm | Bin 40335 -> 40413 bytes res/localization/LameXP_RU.qm | Bin 48368 -> 48442 bytes res/localization/LameXP_UK.qm | Bin 10126 -> 10200 bytes src/Config.h | 4 +- src/Dialog_About.cpp | 4 +- src/Dialog_MainWindow.cpp | 5 + src/Dialog_Processing.cpp | 25 +- src/Dialog_Processing.h | 2 + src/Model_Progress.cpp | 10 +- src/Model_Progress.h | 6 +- src/Thread_DiskObserver.cpp | 114 ++++++++++ src/Thread_DiskObserver.h | 48 ++++ 27 files changed, 337 insertions(+), 515 deletions(-) create mode 100644 src/Thread_DiskObserver.cpp create mode 100644 src/Thread_DiskObserver.h diff --git a/LameXP.vcproj b/LameXP.vcproj index 249d24f0..c0229ecc 100644 --- a/LameXP.vcproj +++ b/LameXP.vcproj @@ -501,6 +501,10 @@ > + + @@ -1433,6 +1437,40 @@ > + + + + + + + + + + + + + diff --git a/doc/Changelog.html b/doc/Changelog.html index 6a6f3763..7d473dc8 100644 --- a/doc/Changelog.html +++ b/doc/Changelog.html @@ -12,7 +12,7 @@
  • Added an option to select a user-defined TEMP directory
  • Added an option to shutdown the computer as soon as all files are completed
  • Added an option to add directories recursively -
  • Added support for embedding cover artwork (currently works with LAME and Nero AAC only) +
  • Added support for embedding cover artwork (currently works with LAME, FLAC and Nero AAC only)
  • Updated Qt runtime libraries to v4.7.2
  • Updated LAME encoder to v3.99.0.15 (2011-03-22), compiled with ICL 12.0.2
  • Updated Vorbis encoder to v2.87 using aoTuV Beta-6.02 (2011-02-28), compiled with ICL 11.1 and MSVC 9.0 @@ -21,6 +21,7 @@
  • Updated MediaInfo to v0.7.43 (2011-03-20), compiled with ICL 12.0.2 and MSVC 9.0
  • Updated language files (big thank-you to all contributors !!!)
  • Fixed a bug that caused AAC encoding to fail in CBR mode (the "-2pass" parameter was set wrongly) +
  • A warning message will be emitted, if diskspace drops below a critical limit while processing
    Changes between v3.18 and v4.00: