Alexander Karzhenkov
6f1ebacd39
Some cleanup related to "Invalid characters..." on mount issue. ( #453 )
...
* Revert previous commit
* Fix "Invalid characters..." issue by not using "foreach" macro
The "foreach" macro creates a copy of the container.
This copy is destroyed immediately after the iteration is completed.
C-strings pointers passed to the local array were invalidated
with destroying of "std::string"s contained in the copy.
2019-06-06 11:41:42 +02:00
Mounir IDRASSI
431aae0201
FreeBSD/MacOSX: fix for missing <sys/sysmacros.h> header
2018-04-04 23:47:02 +02:00
Gokturk Yuksek
80fed6f7f7
Platform/Unix: include <sys/sysmacros.h> for major/minor macros ( #303 )
...
Starting with glibc 2.26, macros "major" and "minor" are only
available from <sys/sysmacros.h> [0]. The build fails with the
following without including this header:
Unix/FilesystemPath.cpp:84:49: error: ‘major’ was not declared in this scope
Unix/FilesystemPath.cpp:84:113: error: ‘minor’ was not declared in this scope
[0] https://sourceware.org/ml/libc-alpha/2017-02/msg00079.html
2018-04-04 22:37:33 +02:00
Mounir IDRASSI
c2a3a00516
Linux: fix compilation error with older versions of gcc (e.g. 4.x)
2017-12-09 15:11:48 +01:00
gv5470
49f9516c9e
Linux: autodetect host drive name using sysfs ( closes #233 )
2017-11-28 19:03:07 +01:00
Mounir IDRASSI
0ebc26e125
Update IDRIX copyright year
2017-06-23 22:15:59 +02:00
Mounir IDRASSI
57ce7aab7b
Use properly aligned memory in code using Streebog hash implementation that uses SSE.
2016-10-17 18:40:19 +02:00
David Foerster
11716ed2da
Remove trailing whitespace
2016-05-10 22:18:34 +02:00
David Foerster
fc37cc4a02
Normalize all line terminators
2016-05-10 20:20:14 +02: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
bda7a1d0bd
Copyright: update dates to include 2016.
2016-01-20 00:53:24 +01:00
Mounir IDRASSI
efa436974d
Linux/MacOSX: Implement Unicode passwords suppport. Make validation of parameters in GUI more robust.
2015-11-30 13:58:19 +01:00
Mounir IDRASSI
041024fbb9
Update license information to reflect the use of a dual license Apache 2.0 and TrueCrypt 3.0.
2015-08-06 00:04:25 +02:00
Mounir IDRASSI
9913af3a8e
Linux/MacOSX: first dynamic mode implementation
2015-06-24 15:33:16 +02:00
Mounir IDRASSI
c178e325b8
Linux/MacOSX: Implement TrueCrypt conversion and loading support. Correct many GTK issues linked to multi-threaded origine of events by implementing an automatic mechanism for handling such requests in the main thread.
2014-12-30 17:06:20 +01:00
Mounir IDRASSI
41a22ca4e7
Change namespace from TrueCrypt to VeraCrypt. Rename method from Resources Resources::GetTrueCryptIcon to Resources::GetVeraCryptIcon.
2014-11-08 23:20:14 +01:00
Mounir IDRASSI
be4ca4bac6
Replace TrueCrypt from Linux/MacOSX mount point names
2014-11-08 23:19:24 +01:00
Mounir IDRASSI
edc9f36322
Replace TrueCrypt references in added sources and resources by VeraCrypt ones.
2014-11-08 23:19:03 +01:00
Mounir IDRASSI
7ffce028d0
Add TrueCrypt 7.1a MacOSX/Linux specific source files.
2014-11-08 23:18:59 +01:00
Mounir IDRASSI
c606f0866c
Add original TrueCrypt 7.1a sources
2014-11-08 23:18:07 +01:00