1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00
Commit graph

1163 commits

Author SHA1 Message Date
Pete Batard
ed1b3fd72e [iso] reload label after formatting
* The Windows APIs may further modify the label compared to our proposed
  version (e.g. remove trailing spaces), and we need an exact label for
  the Syslinux/GRUB config file update.
* This issue was reported against Springdale Linux, where the isolinux.cfg
  label was patched using 'SPRINGDALE\x20' instead of 'SPRINGDALE'
* Closes #784
* Also ensure that we don't replace NULL buffers in msapi_utf8.h and add
  GetVolumeInformationU()
2016-06-26 22:24:16 +02:00
Na Jiyoun
60517f1e50 [loc] update Korean translation to latest 2016-06-25 11:35:43 +02:00
Pete Batard
4f3e27b089 [syslinux] try to match version detection with the config directory 2016-06-19 23:33:00 +02:00
Pete Batard
d3f7e1c1aa [grub] limit GRUB2 support to BIOS/x86
* EFI should take care of itself and this will avoid benign warnings
  such as the ones produces by the latest Ubuntu
2016-06-17 16:14:54 +02:00
Pete Batard
d85a4e4307 [efi] ensure that the UEFI:NTFS partition is properly sized 2016-06-16 18:29:15 +02:00
Pete Batard
e76f60a3e8 [misc] use the more univerasal _mm_alloc() instead of _aligned_malloc()
* Also ensure that our buffers are aligned
* Also remove the use of static buffers in ms-sys
2016-06-10 12:42:43 +01:00
Pete Batard
3fdf622933 [syslinux] fix Syslinux installation for some media
* Some disk devices, such as O2Micro PCI-E SD card readers, return ERROR_INVALID_PARAMETER
  when attempting to use ReadFile() on a volume against a non 8-byte aligned buffer.
* This patch ensures that the Syslinux buffers for sector patching are 16-byte aligned.
* HUGE THANKS to 424778940z, for the numerous testing that allowed to troubleshoot this issue.
* Closes #767
2016-06-09 17:49:58 +01:00
Pete Batard
c0393aec08 [misc] add a few more missing calloc checks
* Also use the relevant macro in msapi_utf8.h
2016-06-08 16:32:31 +01:00
Pete Batard
a10ea1498b [misc] add more check for malloc() errors
* Closes #772
* With thanks to @elfring
2016-06-07 19:47:01 +01:00
Pete Batard
f1f620411c [syslinux] use SetFilePointerEx and other improvements 2016-06-06 19:39:53 +01:00
Pete Batard
f31a90bba2 [enum] add support for O2Micro PCI-E card readers
* Part of #767
2016-06-06 00:36:56 +01:00
Pete Batard
66534640a4 [enum] use Unicode when retrieving the device friendly name
* This should fix the improper display of some localized strings such as
  "Microsoft Virtual Disk"
2016-06-05 20:21:16 +01:00
Pete Batard
de386329e4 [clang] fix breakage when opening ISO9660 images
* Even in MS compatibility mode, clang needs to be told how to pack structs
* Also fix a compilation warning with Link Time Code Generation
2016-06-04 22:09:25 +01:00
Pete Batard
3b0c4e8083 add Clang/C2 support for Visual Studio (EXPERIMENTAL)
* When I say EXPERIMENTAL, I mean it!!
* Currently, opening an ISO9660 image fails with 'Could not access directory'
2016-06-04 18:57:55 +01:00
Pete Batard
f0b13361be [msvc] harmonize compilation options 2016-06-04 17:50:16 +01:00
Pete Batard
39d6b90447 [misc] fixes for Clang/C2 compilation support 2016-06-04 17:13:50 +01:00
Pete Batard
2e530d5ce7 [dev] add exception for Intenso Speed Line flash drives
* This flash drive seems to declare itself as FIXED which resulted in a +1 score
2016-06-03 11:21:25 +01:00
Pete Batard
07497fc231 [misc] fix the use of invalid "%luX" formatter
* "%luX" is invalid as "X" already means unsigned hexadecimal so there's no need for "u"
2016-06-02 21:20:29 +01:00
Pete Batard
c2fc113f8a [loc] update Simplified Chinese translation to latest
* Also fix an issue with the translation for MSG_031
* Thanks go to choleraehyq for spotting the issue and 424778940z for providing the new translations
* Closes #766
2016-05-31 23:21:00 +01:00
Pete Batard
bbafd128c1 [net] fix https downloads
* Closes #712
2016-05-31 16:35:48 +01:00
Pete Batard
2495f2d444 [misc] fix a new set of MinGW warnings 2016-05-30 17:49:32 +01:00
Pete Batard
b9da0cf057 [ui] fix missing partition scheme tooltip after selecting an ISO
* Tooltips can only be manipulated from the same thread as the one that created their parent
* Also increase the SetLGP() timeout as this seems to be problematic
* Closes #764
2016-05-30 17:32:49 +01:00
Pete Batard
bf679271b8 [misc] prevent application launch if running non elevated
* Since, despite what Microsoft states, having 'requireAdministrator' in a manifest STILL isn't
  enough to prevent an app from launching as non elevated for some weird account configurations...
* Closes #757
2016-05-26 21:47:01 +01:00
Pete Batard
790aacd49a [core] add SHA-256 validation DB for downloadable content
* Downloadable content will now be indicating, in the log, whether it can be trusted with ✓ (validated) or ✗ (caution)
* Of course this validation only applies for files we know of, i.e. the downloadable content that existed at the time the DB was
  created. So, if Syslinux 8.x gets released tomorrow and we put it on our server, you'll get an ✗ regardless of its integrity.
* Closes #758
2016-05-25 12:20:20 +01:00
Pete Batard
04d6ac0cdd [checksum] add an individual checksum function call
* Part of #758
* Also define checksum types and fix a missing change in smart.c
2016-05-24 13:21:23 +01:00
Pete Batard
a41bca3183 [checksum] fix wrong checksums for content that isn't a multiple of 64 bytes
* Leading odd-sized chunks needs to be tested *before* updating the bytecount
* Closes #761
2016-05-24 11:48:10 +01:00
Pete Batard
81673ade26 [core] clean up the RUFUS_DRIVE_INFO struct
* Remove the duplication of DISK_GEOMETRY to keep only the variables we actually use
* Also set rufus-next to 2.10
2016-05-23 12:19:43 +01:00
Pete Batard
258a4f7ca0 [core] work around a Windows bug that may render a disk inaccessible on cleanup
* The root of the issue is that Windows IOCTL_DISK_CREATE_DISK does not properly
  zero all of the MBR/GPT/PBR structure with PARTITION_STYLE_RAW (which is what
  diskpart uses to clean a disk), and leaves plenty of partition artefacts behind.
* This means that, when an image with complex partitioning has been applied, such
  as Chromium/ChromeOS, you may end up with a drive that can not be repartitioned
  or reformatted in Windows (and this is completely independent of whether Rufus
  was used to perform these operations - For instance you will get the same issue
  if you use Win32DiskImager and diskpart + clean).
* The only option left for users then is to reset/repartition their drives in Linux
  or some other OS, as Windows' VDS becomes incapacitated to handle the drive, as
  the problem persists independently of reset/re-plug/Windows platform being used.
* To work around this, we ensure that we zero the MBR/GPT/PBR sectors BEFORE calling
  IOCTL_DISK_CREATE_DISK.
* Also move zeroing of the drive before partition reset.
* Closes #759
2016-05-21 16:34:34 +01:00
Pete Batard
935679dd85 [misc] silence a couple Coverity warnings
* We're not doing crypto here, so using rand() is fine...
2016-05-18 10:35:50 +01:00
Pete Batard
e177144258 v2.9 (build 934) 2016-05-17 10:46:18 +01:00
Nikolaos Margaritis
83147e5158 [loc] update Greek translation to latest 2016-05-17 09:57:35 +01:00
Ivan Strugar
b4e93d3652 [loc] update Serbian translation to latest 2016-05-17 09:55:07 +01:00
thanhtai2009
27f4a92be2 [loc] update Vietnamese translation to latest 2016-05-17 09:53:01 +01:00
Pete Batard
39c4b51069 [loc] fix a typo in the French translation 2016-05-16 20:46:51 +01:00
Roberto Pino
6762e6febb [loc] update Dutch translation to latest 2016-05-16 20:33:38 +01:00
Martin Kubánik
807ef70879 [loc] update Slovak translation to latest 2016-05-16 20:12:36 +01:00
Pete Batard
1a24e5bbd7 [syslinux] fix a typo that reintroduced a possible crash
* a10a207790 reintroduced the crash that was fixed in ad68ccfac9
  due to the missing semicolon.
* Also fix a minor output message issue
* Closes #752
2016-05-16 16:33:53 +01:00
Viszokai György
0abd745a87 [loc] update Hungarian translation to latest 2016-05-16 15:29:29 +01:00
Dario Komar
fc6b3be052 [loc] update Croatian translation to latest 2016-05-16 15:28:03 +01:00
Richard Kahl
25f03ff407 [loc] update Czech translation to latest 2016-05-16 12:25:10 +01:00
Krasimir Newenow
eb07933939 [loc] update Bulgarian translation to latest 2016-05-13 10:43:33 +01:00
Tiryoh
cb9c1d05a3 [loc] update Japanese translation to latest
* Closes #755
2016-05-13 10:41:13 +01:00
Matej Horvat
2c3745f459 [loc] update Slovenian translation to latest 2016-05-12 13:11:26 +01:00
Piotr Halama
0bfce8655e [loc] update Polish translation to latest 2016-05-12 13:05:06 +01:00
Gintaras Venslovas
a05d0a5ac2 [loc] update Lithuanian translation to latest 2016-05-12 13:03:55 +01:00
Jan-Erik Drangevåg
387ae477cb [loc] update Norwegian translation to latest 2016-05-11 11:31:49 +01:00
Arif Budiman
ddd019f2e6 [loc] update Indonesian translation to latest 2016-05-10 19:42:21 +01:00
Elvin Məlikov
e44c35613a [loc] update Azerbaijani translation to latest 2016-05-10 19:41:10 +01:00
Sippapas Wangsri
1747df09d9 [loc] additional Thai translation updates 2016-05-10 11:59:37 +01:00
Roberto Boriotti
bf73a6c451 [loc] update Italian translation to latest 2016-05-10 11:51:45 +01:00