Commit Graph

2276 Commits

Author SHA1 Message Date
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
Mounir IDRASSI
3239e5d83e
Documentation: Update bank account details for USD donations 2023-11-03 17:53:25 +01:00
MayanTigger
a3682bf0a9
02Nov23-Update Language.es.xml (#1241)
I'm not sure of the changes will remain, two times of I have to re do the translations.
Please confirm of the translations are "as it should be".
2023-11-03 17:30:41 +01:00
Mounir IDRASSI
5a8fcd3037
Documentation: Mention default PIM values when no PIM is specified 2023-10-31 09:16:05 +01:00
Jertzukka
91b47deb0e
Linux: Focus PIM field when selected (#1239)
Sets focus to VolumePimTextCtrl initially when the checkbox is clicked.
2023-10-31 00:08:41 +01:00
TigerxWood
fa6c77423d
Update Language.ro.xml (#1237) 2023-10-29 10:01:13 +01:00
Mounir IDRASSI
1514d77d5e
Documentation: Update supported macOSX versions to remove Big Sur and add Sonoma 2023-10-23 08:52:08 +02:00
风之暇想
7ba24d10d1
Update Language.zh-cn.xml (#1233)
* Update Language.zh-cn.xml

修改字体为简体中文系统的默认字体:微软雅黑(Microsoft YaHei)

* Update Language.zh-cn.xml

修改字体大小
2023-10-17 09:16:49 +02:00
Mounir IDRASSI
5e0aec534f
Windows: fallback to absolute positioning if relative positioning fails
This can serve as workaround if a disk rejects relative positioning for
some reason.
2023-10-13 23:55:19 +02:00
Mounir IDRASSI
4cfb4b03a7
Increment version to 1.26.9 2023-10-11 23:59:02 +02:00
Mounir IDRASSI
bfd1abcabb
Windows: Don't close Setup when exiting VeraCrypt process through system tray Exit menu 2023-10-11 22:09:09 +02:00
Mounir IDRASSI
06b3095e20
Increment version to 1.26.8 2023-10-10 23:15:18 +02:00
Mounir IDRASSI
92acca91f2
Translations: Fix missing "uk" lang key in some Ukrainian translations 2023-10-10 23:13:08 +02:00
Mounir IDRASSI
a47f67bcc1
Windows: Fix writing wrong EFI configuration options to registry 2023-10-10 10:35:50 +02:00
udev2045
b6ca123ade
Update Language.uk.xml (#1230)
Spelling corrections have been made and English translations have been added. Checked lines 1 through 400.
2023-10-10 00:08:16 +02:00
Mounir IDRASSI
95bc7d55fe
HTML Documentation: Update Russian translation by Dmitry Yerokhin 2023-10-09 00:24:23 +02:00
Mounir IDRASSI
35135cd1fb
Windows: Fix expansion of volumes on devices with sector size!=512 (by skl0n6) 2023-10-08 15:56:42 +02:00
kovalev0
847abb23f0
Fix warnings and throwing an exception instead of ignoring the error (#1229)
* EMVCard.cpp: ArrayToHexWideString: prohibit conversion of a string constant

../Common/EMVCard.cpp: In function 'std::wstring VeraCrypt::ArrayToHexWideString(con
st unsigned char*, size_t)':
../Common/EMVCard.cpp:28:43: warning: ISO C++ forbids converting a string constant
to 'wchar_t*' [-Wwrite-strings]
   28 |                 static wchar_t* hexChar = L"0123456789ABCDEF";
      |                                           ^~~~~~~~~~~~~~~~~~~

Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>

* EMVCard.cpp: ArrayToHexWideString: fix of the comparison of different types

../Common/EMVCard.cpp: In function 'std::wstring VeraCrypt::ArrayToHexWideString(con
st unsigned char*, size_t)':
../Common/EMVCard.cpp:32:43: warning: comparison of integer expressions of different
 signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   32 |                         for (int i = 0; i < cbData; i++)
      |                                         ~~^~~~~~~~

Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>

* SecurityTokenKeyfilesDialog.cpp: removed initialization of an unused variable

Forms/SecurityTokenKeyfilesDialog.cpp:58:24: warning: unused variable 'i' [-Wunused-
variable]
   58 |                 size_t i = 0;
      |                        ^

Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>

* Core/Unix: throwing an exception instead of ignoring the error

Fixes: 5a6b445f ("fix warnings and UB (#1164)")
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>

---------

Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
Co-authored-by: Vasiliy Kovalev <kovalev@altlinux.org>
2023-10-08 15:36:15 +02:00
Mounir IDRASSI
c91e5792ef
Windows: Modified implementation for Secure Desktop handling to overcome Windows 11 issues
We use only alphanumeric characters for the name in addition to the '_' character
We ensure the random desktop name doesn't already exist
We create the random desktop on the Secure Desktop thread and we look over SwitchDesktop until it works.
We call SetThreadDesktop (hOriginalDesk) in main thread once we finish
2023-10-08 01:55:07 +02:00
Mounir IDRASSI
22ac25dde7
Harmonize copyright date and statements across various files 2023-10-06 00:13:28 +02:00
Mounir IDRASSI
42857b4930
Update various copyright dates 2023-10-05 09:07:35 +02:00
sardanap
01b49a2017
fix for corrupted icons (#1226) 2023-10-05 00:08:07 +02:00
Mounir IDRASSI
af5d91387e
Translations: update Russian translation file and documentation by Dmitry Yerokhin. 2023-10-03 00:19:11 +02:00
Mounir IDRASSI
d6964b38d3
Documentation: Fix wrong version and URL of Language Pack file. 2023-10-03 00:18:07 +02:00
Mounir IDRASSI
bd843ffa05
Linux: Fix compilation error on some 32-bit machines. 2023-10-02 18:02:33 +02:00
Jertzukka
5b5af85dbf
Fix Finnish language pack parsing issue (#1222) 2023-10-02 15:43:49 +02:00
TigerxWood
34407f4b31
Update Language.ro.xml (#1221) 2023-10-02 09:54:25 +02:00
Mounir IDRASSI
8f8c871ae3
Fix typo in Release Notes 2023-10-02 09:16:26 +02:00
Mounir IDRASSI
9d36f15bfc
MacOS: Fix Blake2s SSE 4.1 not being built
For now, we set GCC_GTEQ_430 to 1 to each OS. Later we will always
suppose that gcc is newer than 4.3 and remove this logic.
2023-10-01 18:52:55 +02:00
Mounir IDRASSI
8eb232a4a3
MacOS: set minimum target to OSX 12. Fix About menu not working.
The modification to Forms.cpp is temporary until we find a better
approach
2023-10-01 18:51:20 +02:00