Commit Graph

1077 Commits

Author SHA1 Message Date
Mounir IDRASSI
409c0f79be Windows: allow drag-n-drop of files and receiving Explorer restart message when VeraCrypt running as elevated process. 2016-04-08 23:53:42 +02:00
Mounir IDRASSI
09b22c175b Windows Setup: Add missing Apache files used by the installer 2016-04-08 23:53:36 +02:00
David Foerster
af327b49aa Use wx-provided wrapper around *getenv() 2016-04-01 08:29:17 +02:00
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
8580464e51 Language XML files: correct some entries to match English version 2016-03-17 14:09:51 +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
6452fb3693 Language files: update French XML file with exFAT references. 2016-02-20 02:05:43 +01:00
Mounir IDRASSI
348a45132b Language files: Update German translation for PIM shortcut and exFAT references. 2016-02-20 02:05:41 +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
2724d7880d Language XML files: update Russian XML file by Dmitry Yerokhin. 2016-02-16 23:21:42 +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
229bd668f4 Merge pull request #44 from makomi/master
Language files: Update German translation
2016-02-03 00:53:44 +01:00
Matthias Kolja Miehl
13a0473cf9 Language files: Update German translation 2016-02-02 20:10:25 +00:00
Mounir IDRASSI
49d61632f9 Language Files: update polish translation 2016-02-02 01:02:16 +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
2c0776e987 Language XML files: update XML files with newly added field 2016-01-31 23:30:36 +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