David Foerster
7d7c09e718
Use XDG_CONFIG_HOME to determine the path of the configuration
...
Adhere to XDG Desktop Specification and use the environment variable
XDG_CONFIG_HOME to determine location of configuration files on *all*
platforms. If it is unset or empty resort to platform-specific defaults.
On Windows and OS X, `wxStandardPaths` provides correct defaults (equal
to the previous hard-coded paths) but on Linux and other Unices
`~/.config/appinfo` would be better than `~/.appinfo`. This means we
treat those platforms as a special case. It also means that we may need
to fall back to the legacy location if it exists but the new location
doesn't.
2016-03-31 12:36:21 +02:00
David Foerster
39eae0e4c3
Remove some trailing whitespace
2016-03-31 12:24:41 +02:00
Mounir IDRASSI
dc1593d60f
Windows: reduce CPU usage by caching WNetGetConnection calls result for 2 seconds.
2016-03-24 01:36:12 +01:00
Mounir IDRASSI
1e204da223
Windows: Don't use the foreground setting code if the window is already foreground
2016-03-24 01:36:08 +01:00
Mounir IDRASSI
ece26c7481
Windows: Implement passing smart card PIN as command line argument (/tokenpin switch) when explicitly mounting a volume.
2016-03-24 01:36:03 +01:00
Mounir IDRASSI
6738cba617
Windows: Better alignment for Group Boxes in favorites management dialog
2016-03-20 01:26:32 +01:00
Axel Köllhofer
1290e7836f
Linux/MacOSX: Fix build error when using strict wxWidgets library that doesn't allow implicit conversions.
2016-03-20 01:26:28 +01:00
Mounir IDRASSI
646679da4d
Linux: Completely fix gcc-5 "Invalid characters encountered" issue on mount. It was caused by an issue of gcc-5 STL implementation that is causing char* pointers retrieved from std::string using c_str method to become invalid in the child of a child process (after two fork calls). The workaround is to first copy the std:string values in the child before calling the second fork.
2016-03-18 16:27:29 +01:00
Mounir IDRASSI
fd26f49958
Linux: fix mount failure with "Invalid characters encountered" error when building using gcc-5 by disabling the new C++ ABI. For this to work, wxWidgets static library must be built and used by VeraCrypt by specifying WXSTATIC=1 in make command line.
2016-03-17 14:09:59 +01:00
Mounir IDRASSI
8bfc7f1caa
Windows: Correctly disable/enable the "Display PIM" checkbox in the favorites configuration dialog
2016-03-17 14:09:55 +01:00
Mounir IDRASSI
fffb3bde7a
Linux: fix compilation error
2016-02-22 07:57:03 +01:00
Mounir IDRASSI
facfda73eb
Linux: fix mount issue on Fedora 23 by forcing the creation of a default loop device.
2016-02-22 00:34:36 +01:00
Mounir IDRASSI
50f85b4512
Windows bootloader: try to fix boot issues on some machines by increasing required memory by 1 KiB
2016-02-22 00:34:33 +01:00
Mounir IDRASSI
e175adcd46
Windows: correct static inline declaration to solve Windows compilation error
2016-02-22 00:34:30 +01:00
Mounir IDRASSI
0c0ea60b77
Linux & MacOSX: better implementation for TC_THROW_FATAL_EXCEPTION to use __builtin_trap when available.
2016-02-21 10:59:16 +01:00
Mounir IDRASSI
87df2fd2fc
Crypto: update Whirlpool implementation using latest code from Crypto++.
2016-02-21 10:59:13 +01:00
Mounir IDRASSI
faf00ca1e0
MacOSX: Correctly detect newer versions of OSXFuse
2016-02-21 10:59:11 +01:00
Mounir IDRASSI
b331668c06
Windows:Correct explanatory text in VeraCrypt Expander to reader "Mount" instead of "Start".
2016-02-20 02:05:48 +01:00
Mounir IDRASSI
8e8e273e11
Windows: Correctly remove driver file veracrypt.sys during uninstall on Windows 64-bit. Implement deleting locked files after machine reboot.
2016-02-20 02:05:45 +01:00
Mounir IDRASSI
3c87c095c3
Windows: use buffer with known maximum length as input to FakeDosNameForDevice
2016-02-16 23:21:45 +01:00
Mounir IDRASSI
26e2d22d62
MacOSX: increment bundle version to 1.17.22
2016-02-14 10:29:58 +01:00
Mounir IDRASSI
a144e2167d
MacOSX: increment installer version to 1.17.
2016-02-14 09:15:13 +01:00
Mounir IDRASSI
2b4003cc81
Increment version to 1.17. Update user guide PDF file.
2016-02-14 09:03:13 +01:00
Mounir IDRASSI
1f87e64127
Windows: handle rare case where size of disk can't be retrieved using IOCTL_DISK_GET_PARTITION_INFO_EX. use IOCTL_DISK_GET_DRIVE_GEOMETRY in such case and add workaround to display correctly partitions in dialog even if disk size is not available.
2016-02-13 22:14:40 +01:00
Mounir IDRASSI
d7d4c98775
Windows: Add colors (Red, Yellow, Green) to the collected randomness indicator depending on how much entropy was gathered. Code re-factoring.
2016-02-12 00:04:31 +01:00
Mounir IDRASSI
89d238bb32
Window: fix regression that caused only a single keyfile to be taken into account.
2016-02-12 00:04:28 +01:00
Mounir IDRASSI
7fee9a04c4
Windows: Avoid updating configuration after opening keyfile file dialog when /quit switch used without preferences parameter.
2016-02-12 00:04:25 +01:00
Mounir IDRASSI
39fb2edc25
Linux/MacOSX: add progress bar for mouse collected entropy in GUI of volume creation wizard. Add mutex protection in event handler for shared counter variable
2016-02-09 00:52:28 +01:00
Mounir IDRASSI
0863924483
Linux/MacOSX: add progress bar for mouse collected entropy in GUI for keyfile generator and for random poll enrichment
2016-02-08 01:39:50 +01:00
Mounir IDRASSI
8e2793085e
Windows: Continuation of fix for wrong update of configuration XML file.
2016-02-08 01:39:47 +01:00
Mounir IDRASSI
8518d55834
Windows Driver: if saving volume header fails, don't mark operation as successful so that it will be retried later.
2016-02-07 02:39:45 +01:00
Mounir IDRASSI
ae7ec4802a
Windows:Fix various issues and warnings reported by static code analysis tool Coverity.
2016-02-07 02:39:43 +01:00
Mounir IDRASSI
4a7a9f4dd2
Windows: Don't try to mount using cached passwords if password and/or keyfile are specified in the command line.
2016-02-02 00:47:15 +01:00
Mounir IDRASSI
ce8a9becdf
Windows:Center the text of the random pool displayed in the keyfile generator dialog.
2016-02-01 00:13:55 +01:00
Mounir IDRASSI
5aec655b8b
Windows: solve bootloader compilation error
2016-01-31 23:42:11 +01:00
Mounir IDRASSI
203c7aa015
Windows: Fix link issue in Debug configuration for Setup project.
2016-01-31 23:30:32 +01:00
Mounir IDRASSI
fe234e08ee
Windows: Fix buffer overrun issue introduce by the Unicode rewrite.
2016-01-31 23:30:29 +01:00
Mounir IDRASSI
77885de85e
Windows: Implement GUI indicator for entropy collected from mouse movements.
2016-01-31 23:30:27 +01:00
Mounir IDRASSI
b407512248
MacOSX: Support creation exFAT volumes on OSX using the built-in command newfs_exfat
2016-01-30 00:48:20 +01:00
Mounir IDRASSI
926721d54e
Windows Bootloader: Always hide password/PIM values with '*' after ENTER is hit, even if F5 was pressed to display password/PIM.
2016-01-29 00:50:27 +01:00
Mounir IDRASSI
1ca60754b2
Language XML file: correct errors in some English texts.
2016-01-28 00:30:40 +01:00
Mounir IDRASSI
f63e34e0f9
Language XML files: update with new fields. Reoder node so that new additions are at the bottom. This makes it easier for Crowdin.com import.
2016-01-27 01:13:51 +01:00
Mounir IDRASSI
dcb8390bb2
Windows/Linux: Implement exFAT support.
2016-01-27 01:13:46 +01:00
Mounir IDRASSI
9f5b5445d7
Linux/MacOSX: Update command line help text to reflect that we can now specify in filesystem when creating a new volume.
2016-01-26 01:47:29 +01:00
Mounir IDRASSI
d53b48bdf0
Linux/MacOSX: fix issue creating volumes using command line with a filesystem other than FAT.
2016-01-26 01:29:45 +01:00
Mounir IDRASSI
84ee7076d9
Linux/MacOSX: remove unecessary XML resource string replacement of %hs, not needed since Unicode rewrite.
2016-01-25 01:46:37 +01:00
Mounir IDRASSI
5a555deb74
Linux/MacOSX: fix wrong AskYesNo method parameters use caused by mistake in parenthesis use.
2016-01-25 01:46:34 +01:00
Mounir IDRASSI
b8a2e808c6
MacOSX: Add PIM value validity checks to workaround wxWidget bug that makes wxTextValidator useless when applied to a text control with password attribute ( http://trac.wxwidgets.org/ticket/17185 ).
2016-01-25 01:46:32 +01:00
Mounir IDRASSI
e9d3ba0b11
Linux/MacOSX: update --size entry in command line help text.
2016-01-24 02:58:50 +01:00
Mounir IDRASSI
c86697f51b
Linux/MacOSX: Support K/M/G/T suffixes for --size switch to indicate unit to use for size value (KiloByte, MegaByte, GigaByte and TeraByte respectively)
2016-01-24 02:41:49 +01:00