path: root/src/Main
AgeCommit message (Collapse)AuthorFilesLines
2019-10-19MacOSX: Support APFS for creating volumes.Mounir IDRASSI4-0/+13
2019-10-15Small GUI enhancements (#521)El Mostafa Idrassi2-12/+12
2019-10-15Fixed drag and drop not showing correct path, specifically under GTK-3. (#520)El Mostafa Idrassi3-6/+0
2019-10-14Fixed buttons not being correctly aligned (#518)El Mostafa Idrassi2-9/+12
2019-10-14MacOSX: Add build scripts and modifications to linking against wxWidgets ↵Mounir IDRASSI1-0/+4
3.1.2 for non legacy build targeting OSX 10.9+
2019-10-11MacOSX: Fixed devices / partitions not showing in the device selection ↵El Mostafa Idrassi1-6/+34
dialog (#516) To get the size of each device / partition on the system, the method 'GetDeviceSize()' in 'src/Core/Unix/CoreUnix.cpp' first opens the device / partition using 'open()' function to get a File Descriptor, then retrieves its size using this File Descriptor. Starting OS X 10.11 ("El Capitan"), a feature called "System Integrity Protection (SIP)" or less formally, "rootless mode" has been added. This feature blocks access to certain critical aspects of the OS and Hardware by 3rd-Party programs. Specifically, low-level access to the system disks, devices and partitions is forbidden ; namely functions like 'open()' for instance fail with the error code : "EPERM = Operation Not Permitted". Therefore, for system devices / partitions, 'GetDeviceSize()' fails because of the failure of the 'open()' function, and throws an exception, which is then caught inside the method 'GetHostDevices()' in '/src/Core/Unix/FreeBSD/CoreFreeBSD.cpp' : this leads to the size of the device / partition being set to '0'. Therefore, in the constructor of 'DeviceSelectionDialog' in 'src/Main/Forms/DeviceSelectionDialog.cpp', when the size of a device is '0', the whole device is skipped, leading to all of its partitions not being treated or shown, even though some of these partitions may have a size which is != 0. This commit fixes the issue by : 1 - First, checking whether the device size is '0'. If it is the case, the code loops through all the devices partitions : if there is at least one partition with a size != 0, the device is not skipped. Otherwise, it is. 2 - Then, if the size of the device is '0', the size of the device is not shown to avoid confusing the user. Also, since the device is not usable, the 'OK' button is not active when the device is selected. 3 - Finally, if a partition's size is '0', it is not shown since it is not usable : we cannot open it. Signed-off-by: El Mostafa IDRASSI <>
2019-10-06Linux/FreeBSD: change location of documentation from ↵Mounir IDRASSI2-4/+4
/usr/share/veracrypt/doc to the standard /usr/share/doc/veracrypt
2019-10-04Linux : Added missing 'mkdir' before installing in case $DESTDIR does not ↵El Mostafa Idrassi1-0/+2
exist (#510)
2019-10-02Linux/MacOSX:check that the requested size of file container is less than ↵Mounir IDRASSI4-2/+13
available disk free space. Add a CLI switch to disable this check.
2019-10-02Utilize $(BASE_DIR) in the install targets rather than $(PWD) and $(CURDIR) ↵Unit 1931-63/+63
(#472) As $(PWD) is not always the expected value and can result in failing the target.
2019-09-24Linux/OSX: make CLI switch --import-token-keyfiles compatible with ↵Mounir IDRASSI1-3/+12
Non-Interactive mode by using keyfiles passed as arguments and check the Non-Interactive mode switch.
2019-06-06Fix password-only example in help text (pim missing) (#438)Dany Shaanan1-1/+1
2019-03-03Fix formatting of credits in About dialog and documentationMounir IDRASSI1-1/+1
2019-02-12Add copyright and license information of JitterEntropy library by Stephan ↵Mounir IDRASSI1-2/+3
2019-02-04Automatically truncate passwords for TrueCrypt volumes and System Encryption ↵Mounir IDRASSI3-9/+10
to the first 64 characters. This fix issues encountered by users of TrueCrypt volumes who were using passwords longer than 64 characters that were truncated in previous version.
2019-01-28Increase password maximum length to 128 bytes from 64 bytesMounir IDRASSI1-0/+7
2018-08-31Linux/FreeBSD: Add 32-bit build configuration targetting legacy CPUs that ↵Mounir IDRASSI1-0/+13
don't support SSE2 instructions.
2018-08-09Linux/MacOSX/FreeBSD: Implement benchmarking for Hash and PKCS-5 PRF algorithms.Mounir IDRASSI5-122/+725
2018-08-09Linux/MacOSX/FreeBSD: When performing backup of volume header, automatically ↵Mounir IDRASSI2-2/+70
try to use embedded backup header if using the main header fails.
2018-08-07Linux/MacOSX/FreeBSD: Add CheckBox in mount option dialog to force the use ↵Mounir IDRASSI4-258/+351
of embedded backup header during mount.
2018-08-05Linux/MacOSX/FreeBSD: add reference to --pim and --new-pim switches in the ↵Mounir IDRASSI1-0/+8
verbose help.
2018-04-29MacOSX: support pasting values to password fields using keyboard (CMD+V and ↵Mounir IDRASSI8-0/+107
CMD+A now working properly). This make using password managers with VeraCrypt easier.
2018-04-28Linux: Fix crash if user is able to close the waiting dialog before the ↵Mounir IDRASSI1-3/+15
operation is finished. This can happen if GTK installation show "X" closing icon even if it is programmatically disabled (e.g. on Lubuntu 16.04)
2018-04-05FreeBSD/Linux/OSX: replace some remaining file extension in the ↵Mounir IDRASSI2-4/+4
code by VeraCrypt .hc extension
2018-03-30Simplify format of XML language files to make it easy to integrate in ↵Mounir IDRASSI1-8/+1
collaborative translation platforms (e.g. Transifex).
2018-03-27Linux/MacOSX: make the benchmark dialog resize dynamically to accommodate ↵Mounir IDRASSI1-0/+5
the displayed results.
2018-03-18Update various copyright dates.Mounir IDRASSI1-4/+4
2018-01-21Fix wxWidgets assertion failed when backing up/restoring volume header ↵refs/pull/267/headgv54701-2/+2
(closes #100)
2017-12-08MacOSX: fix issue that prevented some local help files from opening in the ↵Mounir IDRASSI1-2/+6
browser (e.g Beginner's Tutorial).
2017-12-06MacOSX: Update reference of code signing certificate in Makefile to use new ↵Mounir IDRASSI1-2/+2
IDRIX certificates.
2017-12-06Linux/MacOSX: Avoid OS leaking previously used directory if user choose not ↵Mounir IDRASSI1-2/+12
to save history.
2017-11-29Linux: Only add disk to mountable devices if it doesn't have a partition. ↵Mounir IDRASSI1-4/+7
This fixes a strange issue where the function "open" would fail with error ENOENT (No such file or directory) on a partition (e.g. /dev/sdb1) if it was called previously on the main disk (e.g. /dev/sdb).
2017-08-30Fix typorefs/pull/206/headTim Strazzere1-1/+1
`incorrrect` -> `incorrect`
2017-07-09Add support for building under FreeBSD 11Mounir IDRASSI1-11/+61
2017-07-01Linux: remove existing "Setup/Linux/usr" if any before preparing for packaging.Mounir IDRASSI1-0/+1
2017-07-01Linux: Use $(CURDIR) instead of $(PWD) for the install target, as well as ↵Mounir IDRASSI1-1/+1
$(DESTDIR)/ (which will still install into / if 'DESTDIR' is unset.)
2017-06-23Update IDRIX copyright yearMounir IDRASSI98-100/+100
2017-06-13Linux/MacOSX: Modify Makefile to separate between build and packaging. Add ↵Mounir IDRASSI1-1/+30
install target for local installation.
2017-06-04Linux/MacOSX: cleaner code for handling of missing local HTML documentation.Mounir IDRASSI1-7/+8
2017-06-04Linux/MacOSX: Replace User Guide PDF with local HTML documentation. Replace ↵Mounir IDRASSI2-52/+53
UI links to point towards local HTML documentation if it exists
2017-05-31Linux/MacOSX: Update location of User Guide pdf in MakefileMounir IDRASSI1-2/+2
2017-05-14Replace Codeplex links by ones on veracrypt.frMounir IDRASSI3-34/+46
2017-04-25Update zlib copyright noticeMounir IDRASSI1-1/+1
2017-04-23FreeBSD 11 build and use compatibilityMounir IDRASSI1-3/+3
2016-12-30Update donation link to point to page indicating all accepted donations options.Mounir IDRASSI1-1/+1
2016-12-25Linux & MacOSX: automatically check TrueCryptMode in password dialog when ↵Mounir IDRASSI4-0/+24
selecting a container file that has the .tc file extension
2016-12-25MacOSX: Make VeraCrypt default handler of .hc and .tc files on OSX and add ↵Mounir IDRASSI1-0/+1
custom icon to these files on Finder.
2016-11-28Document --truecrypt optionrefs/pull/118/headPaul Nijjar1-0/+5
2016-10-17Linux/MacOSX: correctly display Kuznyechik help page when link clicked. ↵Mounir IDRASSI2-7/+1
Remove Gost89 online help references since it was removed.
2016-10-17Crypto: Use SIMD optimized Serpent implementation from Botan. 2.5x speed ↵Mounir IDRASSI1-1/+8
gain factor. Update credits and copyrights notice.