Commit Graph

2405 Commits

Author SHA1 Message Date
Mounir IDRASSI
455a4f2176
Avoid conflict with C++17 features std::byte by using uint8 type instead of byte 2024-06-12 12:30:04 +02:00
Jertzukka
bf9f3ec4f0
Avoid assert by verifying installed languages exist (#1354)
wxDir::GetAllFiles will throw an assert when opening the preferences dialog
if for some reason the user has not installed VeraCrypt properly and is
missing the intended folder. This patch adds a check to ensure the folder
first exists before querying its files.
2024-06-03 23:10:53 +02:00
Jertzukka
ea7489b93b
FreeBSD: Support automatic detection and mounting of ext2/3/4, exFAT, NTFS filesystems (#1350) 2024-06-03 15:57:46 +02:00
Jertzukka
bd1e772657
FreeBSD: Fix privilege escalation prompts not showing up (#1349)
The behaviour of `wc -l` is different on FreeBSD, in which the stdout
result is padded by spaces in the beginning, which causes that the
result[0] is not actually the value we care about. This patch adds
a translate removing all whitespace from the output.
2024-06-03 08:09:54 +02:00
Mounir IDRASSI
6ac3b02a24 Linux: enhancements to build_cmake_deb.sh script. Use wxWidgets 3.2.5 2024-05-21 00:34:17 +02:00
Mounir IDRASSI
01d414c3fe Linux: Update dependencies for debian packages on Ubuntu 24.04 and Debian 13
packages were renamed and we linked statically against wxWidgets in GUI mode because of a bug in wxWidegts that was solved in 3.2.5 (https://github.com/wxWidgets/wxWidgets/issues/24081)
2024-05-21 00:32:31 +02:00
Jertzukka
114624b3a5
Prepare for changes in wxWidgets 3.3 (#1343)
* Move from deprecated wxScopedPtr to std::unique_ptr
wxScopedPtr was included previously through some header hierarchy which as of 3.3 is
no longer the case causing it to break. But instead of including a header for a deprecated
function explicitly, just move to std::unique_ptr as recommended by upstream.

* Convert to explicit conversions from wxString
As of 35c35c235e
wxWidgets defaults to STL classes, which has a side-effect that
some implicit conversions break. This patch converts those conversions
to explicit in anticipation of wxWidgets 3.3 release.
2024-05-18 03:46:39 +02:00
Jertzukka
55c3a8dc58
Fix incorrect max hidden volume size for file containers on CLI (#1338)
Currently the maximum hidden volume size for file containers is
limited by available free space on the device the file container
resides on, which we do not care about. This commit changes so
that only Normal volumes get their `maxVolumeSize` limited by
`AvailableDiskSpace`. Also the --size=max parameter is restricted
from hidden volume creation as there is no way to determine a good
size as we do not mount the outer volume through the CLI process
flow to determine available free space on the outer volume.
2024-05-08 19:00:09 +02:00
Mounir IDRASSI
e96f3035d9
Windows: Enhance memory protection mechanism by preventing process owner from granting permissions to itself. 2024-05-08 17:31:57 +02:00
Mounir IDRASSI
6d37bd662e
Update Korean translations (By Kangjun Heo, 0x00000FF@github) 2024-04-19 09:25:12 +02:00
Daniel Dias Rodrigues
da56ba89d2
Updated translation: pt-br. (#1306)
* Updated translation: pt-br.

* Translation pt-br fixes: MIP to PIM, period etc.

* Translation pt-br: IDT_FILE_SYS, plural form.
2024-04-11 21:23:43 +02:00
Mounir IDRASSI
5679f4fcae
Spanish translation file: fix minor punctuation error (double period) 2024-04-10 23:58:07 +02:00
RoboSchmied
c446773823
Fix: 7 typos (#1324)
Signed-off-by: RoboSchmied <github@roboschmie.de>
2024-04-10 23:50:05 +02:00
pji2918
bd4566fe1f
Update Korean Translation (#1291)
* Update Korean Translation

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix minor typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

---------

Signed-off-by: pji2918 <son77391@gmail.com>
2024-04-10 23:36:05 +02:00
风之暇想
8711b3c5a9
Update Language.zh-cn.xml (#1315)
* Update Language.zh-cn.xml

修正错误

* Update Language.zh-cn.xml
2024-04-10 19:36:40 +02:00
DLL125
ecf1047019
update zlib + copyright (#1302) 2024-04-10 18:47:29 +02:00
MayanTigger
ce2a254c51
07Feb23-Update Language.es.xml (#1301) 2024-04-10 18:24:09 +02:00
Jertzukka
f846a808d1
Correct exceptions to match the correct language strings (#1299)
Fixes the order of the language strings to match the correct
exceptions.
2024-04-10 17:58:37 +02:00
Jertzukka
dc8d8ce404
Unix CLI: Don't initially re-ask PIM if it was already specified (#1288)
We don't need to reset PIM in PasswordException as it is immediately
fell back to if PIM is specified in text mode, but password is not.
This causes an exception that resets the PIM when it shouldn't.
2024-04-10 10:44:01 +02:00
Jonatan
afc6215074
Update Swedish translation (#1287)
* Update Swedish translation

Fix typos

* Fix typo

Fix typo

* Update Swedish translation

* Revert last change
2024-04-10 10:42:45 +02:00
Mounir IDRASSI
6e28375060
Translations: Update Spanish translation 2023-12-16 00:51:36 +01:00
Mounir IDRASSI
34664e338d
Spanish Translation: fix typos and enhancements 2023-12-15 00:46:39 +01:00
MayanTigger
add8ef71b1
Update Language.es-22Nov23.xml (#1261)
Hello:
I think of there were a regression of the fields already translated. 
Now translated 
1441, 1443 up to 1451

Have a great day!
2023-12-15 00:39:11 +01:00
Jonatan
fd156affd5
Update Swedish translation (#1278) 2023-12-15 00:29:40 +01:00
nkh0472
a576f4bb52
Update Language.zh-cn.xml (#1259) 2023-12-11 09:30:53 +01:00
Jonatan
9aa217462e
Update Swedish translation (#1270)
* Update Language.sv.xml

* Fix typo

* Fix typo

* Fix typo
2023-12-11 09:17:09 +01:00
Patriccollu
4d4b04cb7b
Update Corsican translation on 2023-11 (#1258) 2023-12-11 09:12:17 +01:00
Mr-Update
e8bf081340
Update Language.de.xml (#1262) 2023-12-11 09:11:35 +01:00
Jertzukka
801c3ab966
Linux: Allows GUI to launch in a Wayland-only environment (#1264)
Currently we check whether the system has DISPLAY environment variable
set, which is the case in a system that uses X11 natively or XWayland.
This variable is not set in a system with only Wayland, so we need to
also check whether WAYLAND_DISPLAY is set.

Fixes: #184
2023-12-11 09:11:07 +01:00
Jertzukka
87a9508fdd
macOS: Use correct Disk Utility location when "check filesystem" is ran (#1273) 2023-12-11 09:07:37 +01:00
Jertzukka
ff93a6021f
macOS: Fix near zero width PIM input box and simplify wxTextValidator logic (#1274)
* macOS: Fix issue where PIM box has no width in Wizard
VolumePimTextCtrl has a problem with width on macOS which
we can fix by adjusting the proportions of the elements
inside the PimSizer, which seems like a better solution than
using a forced minimum size in pixels.

Adjacent, simplifies the validator logic for digits in PIM field.

Fixes #1219
2023-12-11 09:06:33 +01:00
Mounir IDRASSI
1a21ea8d73
Linux/MacOSX: put entries at line start and use tabs instead of spaces 2023-11-19 16:44:48 +01:00
Mounir IDRASSI
65a5bf914e
MacOSX: update version field in pkg project files 2023-11-19 16:04:04 +01:00
Mounir IDRASSI
c5a725bc60
Continue update Bitcoin donation address and its QR code 2023-11-19 14:23:05 +01:00
Mounir IDRASSI
fbca8496db
New Bitcoin donation address since current one is affected by Randstorm vulnerability 2023-11-19 13:03:20 +01:00
Matthaiks
f784987287
Update Polish translation (#1255) 2023-11-19 12:12:38 +01:00
Mounir IDRASSI
5a4dcc3cb6
Translations: Add back new strings to the Turkish language file. 2023-11-19 09:54:56 +01:00
Kaya Zeren
873c0b6d98
Turkish translation 1.26.10 update (#1254)
Fully reviewed and heavily updated. 
Copy paste Google Translations replaced by real person translations.
Translation consistency improved all around.
Transifex (Localization Lab Project) has older VeraCrypt resource file and needs updated latest version to use advanced translation platform features.
2023-11-19 09:37:37 +01:00
Mounir IDRASSI
36ed58345c
Revert changes to Language.tr.xml to allow merging Github translation PR 2023-11-19 09:29:03 +01:00
Jertzukka
6a1780864c
Linux/FreeBSD/macOS: Implement language selection settings (#1253)
* Implement Language selection into settings
Initial commit to create a new tab in PreferencesNotebook for
Language selection. By default, if nothing is chosen, it uses the
current behaviour of using the language from system environment
variables. If another language is chosen from the settings, it is
saved into the Configuration.xml and this is used instead.

* Fix SetStringSelection() assert issue on macOS

* Add header include to fix build

* Add current language pack, authors and way to use literal strings

* Translations also for FreeBSD

* Minimal GTK3 WX build on FreeBSD requires wxGraphicsContext

* Get Preferences properly instead of workaround function

* Use WrapSizer instead of BoxSizer for author line
This forces long author lists to be put on a new line, reducing
the need to increase window width.

* Update Finnish translation

* Borrow translation from IDM_LANGUAGE where it makes sense

* Remove colon and thus unneeded function

* Simplify Language tab layout

* Reintroduce macOS specific fixes to Forms.cpp

* cleanup
2023-11-19 00:31:40 +01:00
lealem47
9247ce1bb9
wolfCrypt as crypto backend for VeraCrypt (#1227)
* wolfCrypt as crypto backend for VeraCrypt

* Refactor to use EncryptionModeWolfCryptXTS class
2023-11-13 00:51:31 +01:00
Mounir IDRASSI
458be85f84
Translations: update Russian translation file and documentation by Dmitry Yerokhin. 2023-11-13 00:26:02 +01:00
Mounir IDRASSI
48141ef697
Remove unneeded redundant OS name in Release Notes 2023-11-09 22:37:31 +01:00
Mounir IDRASSI
e9492f1c06
Update MBR bootloader to 1.26.10 version 2023-11-09 00:13:30 +01:00
Mounir IDRASSI
7e7d776338
Increment version to 1.26.10. Update signed Windows drivers. 2023-11-09 00:09:00 +01:00
Mounir IDRASSI
1688779bc3
Windows: Fix failure to format some disks (e.g. VHDX) caused by partition offset not 4K aligned
Now we set offset to 1MB which is a typical values used for MBR disks.
We also use a more standard way to calculate legacy number of cylinders
2023-11-08 22:43:18 +01:00
Jertzukka
e70aa13c5b
Linux: Fix generic installation script on Konsole in Wayland (#1244)
The x11 aliases such as --title are only available in the Qt application
if the XDG_SESSION_TYPE is x11. Instead of using an alias, we can use
--qwindowtitle directly.
2023-11-08 09:20:47 +01:00
Mounir IDRASSI
3f0e0b8cdd
Documentation: Remove Flattr as donation platform since it is shutting down 2023-11-05 18:40:54 +01:00
Mounir IDRASSI
64bfd03414
Documentation: Mention that TRIM is not supported on macOS 2023-11-05 18:25:23 +01:00
Mounir IDRASSI
09833e0942
Documentation: Add more information about TRIM behavior in VeraCrypt 2023-11-05 18:06:20 +01:00