Mounir IDRASSI
3281b276b6
Windows: Fix various warnings
2021-01-02 01:16:40 +01:00
Mounir IDRASSI
9881744c95
Windows: Add support for ARM64 platform (e.g. Microsoft Surface Pro X). System encryption still not implemented on ARM64
2021-01-02 01:16:31 +01:00
Mounir IDRASSI
dc3700e8bb
Windows: Fix issue in preserving last access timestamp of file containers when creating hidden volumes in direct mode inside them
2021-01-02 01:16:23 +01:00
Mounir IDRASSI
d10739a45e
Linux/MacOSX: make LanguageStrings.cpp build depend on Language.xml.h since it uses it
2020-12-20 01:22:25 +01:00
Mounir IDRASSI
4b9bfecf6a
Linux: fix build error with old gcc compilers that don't have std::getenv
2020-12-20 01:22:16 +01:00
Mounir IDRASSI
c7637cbfa9
replicate change of "processors" with "logical processors"
2020-12-13 19:07:53 +01:00
Mounir IDRASSI
d12faf5b57
Fix invalid escape sequence in Language.xml
2020-12-13 01:54:47 +01:00
Mounir IDRASSI
e42323802b
Language Translations: fix invalid escape sequence in XML files
2020-12-13 01:32:02 +01:00
Mounir IDRASSI
1157971784
Windows: Update signed drivers to version 1.24.24
2020-12-13 01:00:47 +01:00
Mounir IDRASSI
68e439ebd7
MacOS: make legacy installer compatible with macFUSE 4.0.x
2020-12-13 01:00:39 +01:00
Mounir IDRASSI
21674c6aec
Windows: Fix various compiler warnings
2020-12-11 23:42:14 +01:00
Mounir IDRASSI
b48d437c80
Windows Driver: Fix build error using Windows 10 WDK caused by name conflict for KeSaveExtendedProcessorState/KeRestoreExtendedProcessorState functions
2020-12-11 23:42:08 +01:00
nkh0472
c44127fe3b
Make the expression clearer. ( #705 )
...
Distinguish between the number of logical and physical processors.
2020-12-11 20:53:54 +01:00
T-Bonhagen
38ad7650ac
new xml Tag for en and de ( #708 )
...
* new xml Tag for en and de
* add linux support for env LANG
* precopiled header into TrueCrypt.fdp to substitute '_()' with 'LangString[]'
* more LangString in Code
* add Language xml's to Linux Setup location
* backup language for linux is en
* remove Language.en.xml install
* rearange new xml lines to end
* yes/no dialogs now translated
* All OK/Cancel Button now support international
Co-authored-by: tb@tbon.de <tb@tbon.de>
2020-12-11 18:42:59 +01:00
Mounir IDRASSI
cb7adbfa26
Windows: Don't check for availability of 32KB of free space for bootloader in UEFI boot mode since in this case bootloader will be stored in EFI partition and not in the unallocated space at the beginning of the drive
2020-12-11 02:12:07 +01:00
Mounir IDRASSI
20e0247471
Crypto: small speed optimization of Streebog and removal of unused macro
2020-12-11 02:11:59 +01:00
Gokturk Yuksek
5878486f56
src/Makefile: replace explicit calls to gcc with $(CC) ( #706 )
...
The Makefile should respect the value of CC even when performing
build-related tests.
Bug: https://bugs.gentoo.org/756787
2020-12-11 02:08:42 +01:00
Mounir IDRASSI
5db0ee25ff
MacOSX: update build script to use 11.0 SDK while still targetting 10.9
2020-11-29 00:52:30 +01:00
Mounir IDRASSI
81ba939b82
Increment version to 1.24-Update8 in sign script
2020-11-29 00:52:15 +01:00
Mounir IDRASSI
4a5e5735a5
Increment version to 1.24-Update8
2020-11-29 00:52:07 +01:00
Mounir IDRASSI
dea28725c8
MacOSX: make installer compatible with macFUSE 4.0 and restriction to INTEL cpu to support new M1 cpu
2020-11-29 00:51:59 +01:00
Mounir IDRASSI
0015420c43
MacOSX: always use "pkg-config fuse" for linking since recent versions of osxfuse 3.x support this
2020-11-29 00:51:51 +01:00
Mounir IDRASSI
5f08b45dcd
MacOSX: revert part of changes of commit "Fixed macFUSE support for macOS 11 (Big Sur)"
...
We only changes related to the fix
2020-11-29 00:51:37 +01:00
Thierry Lelegard
66e550d11f
Fixed macFUSE support for macOS 11 (Big Sur) ( #699 )
2020-11-28 17:10:51 +01:00
Mounir IDRASSI
1fb59b58ee
Linux: Reduce minimal size requirement for BTRFS support to 16 MiB by using mixed mode for volumes whose size is less than 109 MiB
2020-08-26 08:31:10 +02:00
Mounir IDRASSI
42890b7b11
MacOSX: Enable c++11 in compiler for non-legacy build.
2020-08-08 20:29:34 +02:00
Mounir IDRASSI
b764926bd3
Linux/FreeBSD: Fix build error using older compilers
2020-08-08 00:04:52 +02:00
Mounir IDRASSI
e7a9898273
Set release date of 1.24-Update7 to August 7th 2020
2020-08-07 14:10:33 +02:00
Mounir IDRASSI
7d39e83655
Linux: Fix detection of available filesystem formatters
2020-08-07 14:10:27 +02:00
Mounir IDRASSI
847da0ccdf
Increment internal version to 1.24.23 and update release notes
2020-08-06 18:48:59 +02:00
Mounir IDRASSI
cb7fb0a46a
Windows: Fix crash when using portable 32-bit "VeraCrypt Format.exe"/"VeraCrypt.exe" on a 64-bit machine where VeraCrypt is already installed
2020-08-06 18:48:52 +02:00
Mounir IDRASSI
485ebc33d9
Increment internal version to 1.24.22 and update release notes
2020-08-06 00:36:59 +02:00
Mounir IDRASSI
75c13c9b7b
Windows: Fix wrong error message when UTF-8 encoding of entered password exceeds the maximum supported length.
2020-08-06 00:36:51 +02:00
Mounir IDRASSI
b0a6377878
Windows: Display a warning during system encryption wizard when typed password reaches maximum length and inform user that no more characters are allowed and that they are ignored.
2020-08-06 00:36:44 +02:00
Mounir IDRASSI
709964e156
Windows: Display warning message with correct maximum length value when password is truncated
2020-08-06 00:36:37 +02:00
Mounir IDRASSI
388e44c809
Linux: Add support for Btrfs filesystem when creating volumes
2020-08-05 02:08:12 +02:00
Mounir IDRASSI
ac87f561a8
Revert "Windows: Add latest 1.24 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix memory leak in some cases caused by wrong check of pointer for calling MEM_FREE - Clear bootParams variable that may contain sensitive information when halting the system in case of fatal error - Add option "KeyboardInputDelay" in DcsProp to control the minimum delay supported between two key strokes"
...
This reverts commit 7241b18794
.
2020-08-03 18:41:49 +02:00
Mounir IDRASSI
7241b18794
Windows: Add latest 1.24 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix memory leak in some cases caused by wrong check of pointer for calling MEM_FREE - Clear bootParams variable that may contain sensitive information when halting the system in case of fatal error - Add option "KeyboardInputDelay" in DcsProp to control the minimum delay supported between two key strokes
2020-08-03 18:14:37 +02:00
Mounir IDRASSI
52a78ee3b4
Increment internal version to 1.24.21 and update release notes
2020-08-03 18:14:30 +02:00
Mounir IDRASSI
bd78c9d0af
Windows: Fix issue in UI for configuration autofix mechanism of bootloader
2020-08-03 18:14:22 +02:00
Mounir IDRASSI
9da8fc669b
Windows: Use correct parameters for 2nd call to SetStartExec in BootEncryption::InstallBootLoader
2020-08-03 15:13:03 +02:00
xiaolangde
3f25b281e7
Windows Bootloader: pass correct compressed data size to decompressor. Because the ds segment register is modified when setting up the decompressor segment, loader length should be read from the cs segment. ( #666 )
2020-08-03 15:08:25 +02:00
Mounir IDRASSI
75e11add78
Windows: Fix UI for blocking TRIM in system encryption not working in MBR boot mode
2020-08-02 18:48:48 +02:00
Mounir IDRASSI
fb505b71f5
Windows: use fix for CVE-2019-19501 only if standard Windows Shell is running since we rely on it for the implementation of the fix. If Windows Shell has been modified or is not running, then we can't really protect the user is such non standard environment
2020-08-02 18:05:15 +02:00
Mounir IDRASSI
7702095ed0
Windows: Don't use HRESULT macros SUCCEEDED to check if WinVerifyTrust succeeded. Instead, check the return value for equality to zero.
2020-07-29 01:32:39 +02:00
Mounir IDRASSI
c9b5c1073d
Windows: Don't allow a directory path to be entered for the file container to be created in Format wizard
2020-07-28 17:31:54 +02:00
Mounir IDRASSI
27a45037df
Remove unused variable in Streebog implementation
2020-07-25 22:52:38 +02:00
Mounir IDRASSI
29c3000007
Linux: Update wxWidgets for static builds to version 3.0.5
2020-07-25 22:52:30 +02:00
Mounir IDRASSI
948a871c73
Windows: update libzip to latest version 1.7.3 (close issue #656 )
2020-07-24 19:42:48 +02:00
Mounir IDRASSI
09b8ae1775
Windows Setup: rename installers signed with SHA-1 to "VeraCrypt Legacy" and key "VeraCrypt" name for installers signed only with SHA-256
2020-07-22 23:54:59 +02:00
Mounir IDRASSI
b6b6710d2b
Windows: Add possibility to sign binaries using SHA256 only. This fixes Windows Smart Screen warning when launching installer
2020-07-22 23:54:53 +02:00
Mounir IDRASSI
699a0a3ca5
Increment internal version to 1.24.20 and update release notes
2020-07-22 17:28:06 +02:00
Mounir IDRASSI
587e6db4f1
Windows: Warn about Fast Startup if it is enabled during system encryption or volume creation and propose to disable it
2020-07-22 17:27:59 +02:00
Mounir IDRASSI
290412afce
Windows Setup: Warn about Fast Startup during install if it is enabled and propose to disable it at the end of the installation.
2020-07-21 12:47:28 +02:00
Mounir IDRASSI
f9782fb3f6
Windows: Implement detection of Hibernate and Fast Startup and disable them if RAM encryption is activated.
2020-07-21 12:47:20 +02:00
Mounir IDRASSI
425e4e7d36
Enable FIPS mode in JitterEntropy random generator in order to let the function jent_read_entropy report failure if any of the continuous statistical tests fail.
2020-07-15 00:01:54 +02:00
Mounir IDRASSI
afc11eca51
Windows: Add UI options to control the behavior of automatic bootloader fixing when System Encryption used.
2020-07-08 02:16:06 +02:00
Mounir IDRASSI
4c6b5df80b
Update Release Notes with latest Windows change (password drag-n-drop support)
2020-07-06 18:19:01 +02:00
Mounir IDRASSI
3daaae0d48
Windows: correctly wipe password in UI input field in case of direct creation of Hidden volume or resuming non-system in-place encryption
2020-07-06 18:18:54 +02:00
Mounir IDRASSI
ff391d9a6a
Windows: Support direct password drag-n-drop from external applications (e.g. KeePass) which is more secure than using clipboard.
2020-07-06 18:18:47 +02:00
Mounir IDRASSI
7a87141e53
Increment internal version to 1.24.19
2020-07-04 00:46:44 +02:00
Mounir IDRASSI
002a9a29a7
Windows: Use native Windows format program first to perform formatting since it is more reliable and only fallback to FormatEx function from fmifs.dll in case of issue.
2020-07-02 02:21:25 +02:00
Mounir IDRASSI
28c51228f8
Windows: Hide the console windows of the native Windows format tool when we call it to perform formatting
2020-07-02 02:21:16 +02:00
Mounir IDRASSI
9a804654f5
Windows: Don't allow to encrypt the system drive if it is already encrypted by BitLocker
2020-07-02 02:20:58 +02:00
Mounir IDRASSI
ac3cccdd21
Windows: Replace GetSystemInfo calls by more reliable function to get number of CPUs active on the PC.
2020-07-02 02:20:50 +02:00
Mounir IDRASSI
3f587a3629
Windows: Don't use API for Processor Groups support if there is only 1 CPU group in the system. This can fix slowness issue observed on some PCs with AMD CPUs.
2020-07-02 02:20:42 +02:00
Mounir IDRASSI
5f04e5abd0
Linux/MacOSX: Allow choosing a filesystem other than FAT for outer volume but display warning about risks and implement an estimation of maximum possible size of hidden volume in this case.
2020-07-02 02:20:33 +02:00
Mounir IDRASSI
23d64ab195
Increment internal version to 1.24.18 and update signed Windows drivers.
2020-06-29 01:00:02 +02:00
Mounir IDRASSI
14fa3de4b6
Windows: Fallback to Windows native formatting tool if we fail to format a volume as NTFS/exFAT/ReFS using FormatEx function from fmifs.dll
2020-06-29 00:59:54 +02:00
Mounir IDRASSI
a8abe94992
Windows: Avoid displaying waiting dialog when /silent specified for "VeraCrypt Format" during creating of file container using /create switch and a filesystem other than FAT (fixes Github issue #648 )
2020-06-29 00:59:39 +02:00
Mounir IDRASSI
885cc1d01d
Linux/MacOSX: Erase sensitive memory explicitly instead of relying on the compiler not optimizing calls to method Memory::Erase
2020-06-28 01:06:39 +02:00
Mounir IDRASSI
fded83d25c
Windows: Fix build error because of missing definition of the macro move_ptr
2020-06-28 01:06:30 +02:00
Mounir IDRASSI
b9099d01c2
Windows: Fix failure to detect suspension of machine that caused mounted volume not be dismount even if "Entering power saving mode" is checked in Preferences. This fix implements compatibility with Windows 10 Modern Standby and Windows 8.1 Connected Standby power model.
2020-06-28 01:06:22 +02:00
Mounir IDRASSI
b270a453aa
Windows: remove unused code targeting Windows 2000.
2020-06-28 01:06:14 +02:00
Mounir IDRASSI
7cb9b8dfc9
Windows: Update signed driver to version 1.24.17
2020-06-26 19:13:37 +02:00
Thomas De Rocker
a893b29749
Update Language.xml ( #645 )
...
fix typo
2020-06-26 17:23:07 +02:00
Mounir IDRASSI
5fb407cffe
Linux/MacOSX: use standard std::shared_ptr instead of our custom implementation which is kept for compatibility with older compilers. We also introduce compatibility code for old compilers that don't define std::unique_ptr
2020-06-26 01:22:18 +02:00
Mounir IDRASSI
4137c5e15b
Whirlpool: Remove unused "num" variable affectation in WHIRLPOOL_add
2020-06-26 01:22:10 +02:00
Mounir IDRASSI
53070f8bb5
Linux/MacOSX: fix warning reported by static code analysis tool about possible undefined output value in UserPreferences::SetValue and missing initialization of member variables in File constructor
2020-06-26 01:22:03 +02:00
Mounir IDRASSI
9a890ec2fc
Windows: fix warning reported by static code analyzed by adding copy constructor to _TEXT_EDIT_DIALOG_PARAM and = operator to HostDevice
2020-06-26 01:21:54 +02:00
Mounir IDRASSI
7d1724e93b
Crypto: Fix random crash in Streebog in 32-bit, caused by use of aligned SSE2 instructions _mm_load_si128. Now we use _mm_loadu_si128 instead which is not slower than _mm_load_si128 on recent CPUs
2020-06-25 01:32:39 +02:00
Mounir IDRASSI
cb1efdc9ae
Increment version to 1.24-Update7
2020-06-23 16:48:54 +02:00
Mounir IDRASSI
cf449a443e
Windows: Don't allow Hidden volume to have the same password, PIM and keyfiles as Outer volume
2020-06-23 16:48:46 +02:00
Mounir IDRASSI
4a5d1f4f46
Linux/MacOSX: explicitely clear saved password from memory at last step of volume creation wizard
2020-06-23 16:48:39 +02:00
Mounir IDRASSI
05b3cd5cc1
Linux/MacOSX: Use also PIM when comparing Outer and Hidden volumes credentials
2020-06-23 16:48:31 +02:00
Mounir IDRASSI
b4465b80e6
Linux/MacOSX: take into account keyfiles when comparing Outer and Hidden volumes passwords
2020-06-23 16:48:24 +02:00
Mounir IDRASSI
a29c750030
Linux/MacOSX: Don't allow Hidden volume to have the same password as Outer volume
2020-06-23 16:48:17 +02:00
Mounir IDRASSI
bec929ce03
Windows Driver: Use real disk sector size instead of generic 512 bytes value when probing disk real size
2020-06-21 17:42:08 +02:00
Mounir IDRASSI
a4c5f03bee
Linux/MacOSX: Read at least 32 bytes from /dev/random before allowing it to fail gracefully
2020-06-21 17:42:03 +02:00
Mounir IDRASSI
e97114e7a0
Windows: support RAM encryption only if t1ha2 algorithm self test succeeds
2020-06-21 00:27:22 +02:00
Mounir IDRASSI
0121dc0b81
Windows: Fix issue when RAM encryption used, AES selected and AES-NI not supported by CPU that caused the free space of newly created volumes not filled with random data even if "quick format" is not selected by user.
2020-06-21 00:27:15 +02:00
Mounir IDRASSI
d031addc2c
Windows: call VcProtectKeys in benchmark warm-up when RAM encryption is enabled in order to be follow the same execution path as the result of benchmark calculations.
2020-06-21 00:27:08 +02:00
Mounir IDRASSI
4f1de9666a
Linux/MacOSX: Don't always ignore /dev/random failure by making sure that it has returned random bytes successfully at least once during the lifetime of RandomNumberGenerator
2020-06-19 03:31:47 +02:00
Mounir IDRASSI
f765860dfb
Linux/MacOSX: Complete the change of removal of AES-NI detection function done for Windows previously
2020-06-19 03:31:39 +02:00
Mounir IDRASSI
7ab114e0fa
Windows: Fix wrong results in benchmark of encryption algorithms when RAM encryption is enabled
2020-06-19 01:28:14 +02:00
Mounir IDRASSI
0e3f4c40e3
Windows: remove duplicated function to detect AES-NI support in CPU
2020-06-19 01:28:07 +02:00
Mounir IDRASSI
eaf400b088
Windows: Update IDRIX SHA-1 code signing certificate to latest one.
2020-06-12 01:48:17 +02:00
Christopher Bergqvist
0a2c565aa9
Switch from auto_ptr to unique_ptr ( #638 )
2020-06-11 18:02:28 +02:00
Mounir IDRASSI
0127927b73
Windows: Update signed Windows driver to version 1.24.15
2020-03-11 14:01:41 +01:00
Mounir IDRASSI
99305d2239
Windows: Update Microsoft cross certificate for GlobalSign kernel code signing
2020-03-11 14:01:32 +01:00
Mounir IDRASSI
71c830522c
Windows: set correct version 1.24-Update6 in code signing scripts
2020-03-10 20:49:22 +01:00
Mounir IDRASSI
5452728091
Windows: Update URL of GlobalSign timestamp server
2020-03-10 20:38:02 +01:00
Mounir IDRASSI
23b7d417d4
Increment version to 1.24-Update6
2020-03-10 20:37:54 +01:00
Mounir IDRASSI
5afa0815c9
Windows setup: Fix wrong language used in installer if we select a language in the language selection dialog and then select English followed by OK.
2020-03-10 20:20:50 +01:00
Mounir IDRASSI
329d4f1c90
Windows: Fix truncation of PIM label in password dialog
2020-03-10 20:20:42 +01:00
Mounir IDRASSI
df9a075cb6
Update copyright year in credits
2020-03-10 10:33:45 +01:00
Mounir IDRASSI
4b6be1161b
Windows: Add missing libzip file to the build project
2020-03-10 10:33:36 +01:00
Mounir IDRASSI
6bda9d1b35
Set release date of 1.24-Update5 and update release notes
2020-03-10 10:33:26 +01:00
Mounir IDRASSI
5402fa902e
Windows: Add /secureDesktop switch to VeraCrypt Format
2020-03-10 10:33:18 +01:00
Mounir IDRASSI
da370af54b
Windows: Update libzip to 1.6.1
2020-03-10 10:33:01 +01:00
Mounir IDRASSI
7d110798d2
Windows: Fix compilation error caused by previous keyfile commit
2020-03-10 10:32:53 +01:00
Mounir IDRASSI
fa72ac51c4
Windows: Support using token keyfile when creating file container using command line
2020-03-10 10:32:45 +01:00
Mounir IDRASSI
6550030540
Windows: Fix keyfiles path passed as CLI argument and set as default not always cleared from RAM when VeraCrypt exits
2020-03-10 10:32:38 +01:00
Mounir IDRASSI
68b9c9c72d
Windows: Fix text truncation in password dialog with some languages
2020-03-10 10:32:31 +01:00
Mounir IDRASSI
8fa1596e73
Increment version to 1.24-Update5 and update signed Windows drivers.
2020-02-11 23:05:48 +01:00
Mounir IDRASSI
94d3a1919c
Windows: Implement support for processor groups in the driver and fix build issues caused by previous implementation
2020-02-10 02:23:25 +01:00
Mounir IDRASSI
c1d670fd75
Windows: Fix warnings reported by Coverity static code analyzer
2020-02-10 02:23:18 +01:00
Mounir IDRASSI
a7b61ce5e5
Windows: Fix groupbox alignment issue in UI of Fprmat wizard
2020-02-04 15:09:39 +01:00
techvintage
123b187af5
Adding Processor Groups support for more than 64 processors ( #581 )
...
* Adding Processor Groups support for more than 64 processors
* Revert " Adding Processor Groups support for more than 64 processors"
This reverts commit e1d5fe0a55
.
* Adding Processor Groups support for >64 logical processors
2020-01-29 11:10:00 +01:00
Mounir IDRASSI
247a16cb5f
Windows: restore Visual Studio solution and project files to default configuration
2020-01-22 18:30:30 +01:00
Mounir IDRASSI
11aa708076
Windows: use fix for CVE-2019-19501 only when process elevated otherwise it will not add any benefit compared to standard ShellExecute while at the same time potentially causing issue when opening links.
2020-01-22 18:20:35 +01:00
Mounir IDRASSI
3874e9af97
Increment version to 1.24-Update4 and update Release Notes
2020-01-22 18:20:27 +01:00
Mounir IDRASSI
c4893ce034
Linux: correct OpenSUSE build script to indicate that we link against GTK2 and not GTK3
2020-01-22 18:20:18 +01:00
Mounir IDRASSI
be1aee0034
Windows: Fix regression in Expander and Format when RAM encryption is enable that was causing volume headers to be corrupted.
2020-01-22 18:20:11 +01:00
Mounir IDRASSI
55831cad22
Windows: Support notifying WAITFOR.EXE Windows command when VeraCrypt.exe exits if /q was specified in CLI. This done using the new switch "/signalExit" who must have a string parameter that must be the same as the one that will be specified for WAITFOR.EXE command.
2020-01-21 01:46:18 +01:00
Mounir IDRASSI
b6c290e4fd
Windows: Fix failure of Screen Readers (Accessibility support) to reader UI by disabling newly introduced memory protection by default and adding a CLI switch (/protectMemory) to enable it when needed. This fixes issue https://github.com/veracrypt/VeraCrypt/issues/536
2020-01-21 01:46:11 +01:00
Mounir IDRASSI
8fe3eb0136
Windows: don't display mount/dismount examples in help dialog for command line in Format and Expander
2020-01-21 01:46:03 +01:00
Mounir IDRASSI
b0b149db83
Linux/MacOSX: Fix regression that limited the size available for hidden volumes
...
created on disk or partition.
2020-01-20 01:02:54 +01:00
Mounir IDRASSI
f9572ea8f5
Increment version to 1.24-Update3 for Linux and update Release Notes
2019-12-22 16:35:56 +01:00
Mounir IDRASSI
cdbe7854e8
Linux: Modify .deb build scripts to link against statically built wxWidgets on Ubuntu 14.04, 12.04 and Debian 8
2019-12-22 10:10:43 +01:00
Mounir IDRASSI
f8beac6ebd
Linux: Fix building and packaging console-only version to remove dependency on GTK
2019-12-21 02:46:50 +01:00
Gokturk Yuksek
de52f51f5b
Fix the compilation against WxWidgets when NOGUI=1 ( #570 )
...
* Revert "Linux: Fix failure to run VeraCrypt binary built for console mode on headless machines (fix issue https://github.com/veracrypt/VeraCrypt/issues/531 )"
The build failure still exists for system wxGTK compiled with '--disable-gui':
```
In file included from TextUserInterface.cpp:27:
TextUserInterface.h: In member function ‘virtual bool VeraCrypt::TextUserInterface::Initialize(int&, wxChar**)’:
TextUserInterface.h:50:63: error: ‘wxAppBase’ has not been declared
50 | virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); }
```
This reverts commit 737e1f126b
.
* Revert "Linux: fix compilation error when building console-only version of VeraCrypt that is statically linked to wxWidgets"
The build failure still exists for system wxGTK compiled with '--disable-gui':
```
In file included from TextUserInterface.cpp:27:
TextUserInterface.h: In member function ‘virtual bool VeraCrypt::TextUserInterface::Initialize(int&, wxChar**)’:
TextUserInterface.h:50:63: error: ‘wxAppBase’ has not been declared
50 | virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); }
```
This reverts commit 14bee5e6a2
.
* src/Main/Main.make: simplify the WX_CONFIG_LIBS logic
Irrespective of whether we are linking against widgets statically or
dynamically, pull in only 'base' when GUI is disabled, and
'adv,core,base' when GUI is enabled. When GUI is disabled, the C/CXX
flag must include '-DwxUSE_GUI=0' for this to work.
* src/Makefile: pass '-DwxUSE_GUI=0' when NOGUI=1
veracrypt with NOGUI=1 fails to properly link against wxGTK compiled
with '--disable-gui' only using the 'base' library because the wx's
setup.h implicitly defines wxUSE_GUI=1, which then changes the
definition of various structures, requiring symbols from the core
library as well.
For example, wxwidgets include/wx/app.h defines:
#if wxUSE_GUI
class WXDLLIMPEXP_CORE wxAppBase : public wxAppConsole
...
[snip]
...
#else // !GUI
// wxApp is defined in core and we cannot define another one in wxBase,
// so use the preprocessor to allow using wxApp in console programs too
#define wxApp wxAppConsole
#endif // GUI/!GUI
To fix this, pass '-DwxUSE_GUI=0' when compiling veracrypt with
NOGUI=1.
Closes: https://github.com/veracrypt/VeraCrypt/issues/531
2019-12-20 13:39:43 +01:00
Mounir IDRASSI
31611ad315
MacOSX: revert to using wxWidgets 3.1.2 following unexplained crash when using wxWidgets 3.1.3
2019-12-17 01:25:58 +01:00
Mounir IDRASSI
27c2fc06c2
Linux: Fix build error when linking with old wxWidgets version
2019-12-16 15:15:55 +01:00
Mounir IDRASSI
7aecbb225c
Update version information in preparation for 1.24-Update2 release
2019-12-16 00:47:13 +01:00
Mounir IDRASSI
bc69fe9166
Update Format wizard bitmap using submission by Andreas Becker ( https://github.com/veracrypt/VeraCrypt/issues/9#issuecomment-565833478 )
2019-12-16 00:47:04 +01:00
Mounir IDRASSI
826730650c
Windows: make /fastCreateFile switch apply to both UI and command line creation of file containers
2019-12-16 00:46:49 +01:00
Mounir IDRASSI
1e978e69cc
MacOSX: Ensure that the heading bar is always visible when window is moved so that it can still be moved by user using mouse ( https://github.com/veracrypt/VeraCrypt/issues/546 )
2019-12-16 00:46:41 +01:00
Mounir IDRASSI
a81d45df82
MacOSX: Ensure that main window is visible on screen when About is display as a way to workaround for situations where UI is not visible or can't be move (for example, when changing display monitor with a different resolution).
2019-12-16 00:46:34 +01:00
Mounir IDRASSI
a4ed6be38c
MacOSX: fix compilation error caused by missing StringConverter::ToWide method that takes a size_t argument (we cast to uint32)
2019-12-16 00:46:26 +01:00
Mounir IDRASSI
1fd097c666
Windows: check "TrueCrypt Mode" in password dialog when mounting a file container with .tc extension
2019-12-13 00:08:17 +01:00
Mounir IDRASSI
2a93826497
Windows: Fix the checkbox for skipping verification of Rescue Disk not reflecting the value of /noisocheck switch when specified in VeraCrypt Format command line.
2019-12-12 00:13:01 +01:00
Mounir IDRASSI
14bee5e6a2
Linux: fix compilation error when building console-only version of VeraCrypt that is statically linked to wxWidgets
2019-12-11 23:53:47 +01:00
Mounir IDRASSI
8942b3eff3
MacOSX: link against latest wxWidgets version 3.1.3
2019-12-10 11:10:31 +01:00
Mounir IDRASSI
ed8068cbbd
Increment version to 1.24-Update2
2019-12-10 11:10:24 +01:00
Mounir IDRASSI
f9bf666018
Windows: Align volume size field in Format wizard with other controls
2019-12-10 00:51:41 +01:00
Mounir IDRASSI
f9d95ef2c8
Windows: Add switch /FastCreateFile for VeraCrypt Format.exe to speedup 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.
2019-12-10 00:51:34 +01:00
Mounir IDRASSI
5eaa204d83
Windows Driver: Reduce memory usage of IOCTL_DISK_VERIFY handler. Now we reader disk by chunks of at most 64 KiB. Fix https://github.com/veracrypt/VeraCrypt/issues/562 .
2019-12-09 18:59:27 +01:00
Mounir IDRASSI
31c4fbfc12
Fix wrong check on the define CRYPTOPP_BOOL_X64
2019-12-09 18:59:20 +01:00
Mounir IDRASSI
214efac67e
Windows: Add latest 1.24 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix F5 showing previous password after failed authentication attempt. Ensure that even wrong password value are cleared from memory.
2019-12-09 18:59:13 +01:00