VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Format.h
AgeCommit message (Collapse)AuthorFilesLines
2023-07-01Windows: Add missing header changes needed for previous commitMounir IDRASSI1-2/+2
2023-07-01Windows: Fix formatting issue during volume creation by using /Y for ↵Mounir IDRASSI1-3/+5
format.com and specifying removal parameter in FormatEx The usage of /Y parameter in format.com simplifies the logic and makes the code robust since we don't need to send \n to the format.com process. Specifying RemovableMedia parameter to FormatEx fixes its failure in Windows 10 and later to perform quick format. This is also more adequate since we are mounting the volume as removable media for the formatting process. We also add better error management in order to display adequate error message to the user in case of failure
2023-06-28Windows: Add comboxbox to Format wizard to choose ↵Mounir IDRASSI1-0/+5
QuickFormat/FastCreate/FullFormat This required changes to internal logic and addition of new UI strings
2023-06-28Windows: Better handling of quick format for file containerMounir IDRASSI1-2/+3
We write a zeroed sector every 128 MiB, leaving other sectors untouched This helps users visualize the progress of actual file creation while forcing Windows to allocate the disk space of each 128 MiB chunk immediately, otherwise, Windows would delay the allocation until we write the backup header at the end of the volume which would make the user think that the format process has stalled after progress bar reaches 100%.
2020-06-29Windows: Fallback to Windows native formatting tool if we fail to format a ↵Mounir IDRASSI1-0/+1
volume as NTFS/exFAT/ReFS using FormatEx function from fmifs.dll
2019-12-10Windows: Add switch /FastCreateFile for VeraCrypt Format.exe to speedup ↵Mounir IDRASSI1-0/+1
creation of large file container if quick format is selected. This switch comes with security issues since it will embed existing content on disk into the file container which may expose sensitive content to an attacker who has access to the file container.
2017-06-23Update IDRIX copyright yearMounir IDRASSI1-1/+1
2017-05-28Windows: add support for ReFS on Windows 10 when creating normal volumes.Mounir IDRASSI1-0/+1
2016-05-10Remove trailing whitespaceDavid Foerster1-5/+5
2016-05-10Normalize all line terminatorsDavid Foerster1-76/+76
2016-01-27Windows/Linux: Implement exFAT support.Mounir IDRASSI1-0/+2
2016-01-20Copyright: update dates to include 2016.Mounir IDRASSI1-1/+1
2015-11-26Windows: Full UNICODE rewrite and implement support for UNICODE passwords.Mounir IDRASSI1-1/+1
2015-09-16Windows: first implementation of CLI support for creating volumes.Mounir IDRASSI1-1/+3
2015-08-06Update license information to reflect the use of a dual license Apache 2.0 ↵Mounir IDRASSI1-7/+9
and TrueCrypt 3.0.
2015-07-11Use Pim name for internal variables instead of the old name PinMounir IDRASSI1-1/+1
2015-07-06Windows: better logic for FormatEx function call. To be replaced in the ↵Mounir IDRASSI1-1/+20
future by Microsoft COM interfaces.
2015-05-26Windows: first implementation of dynamic modeMounir IDRASSI1-0/+1
2015-02-09Static Code Analysis: handle unused variables more properly. Catch STL ↵Mounir IDRASSI1-1/+1
exception. Add more checks. Add proper cast to arithmetic operations.
2014-12-27Windows: use the correct window handle for creating message boxes. This ↵Mounir IDRASSI1-1/+1
became important after the introduction of the wait dialog in order to avoid having message boxes behind the wait dialog.
2014-11-08Add original TrueCrypt 7.1a sourcesMounir IDRASSI1-0/+68