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

1447 commits

Author SHA1 Message Date
Robert McQueen
234b0a3fde [ms-sys] fix for detecting windows MBRs with localised messages
* Windows MBRs contain localised strings which mean the bytes between the
  executable code and the disk signature / partition table can change depending
  on locale. This patch adds lengths to reflect the offsets which are the same
  for every locale, and only compares these lengths when detecting existing
  Windows MBRs.
2016-09-21 17:37:16 +01:00
Daniel Peukert
c4b9ec4a62 [loc] fix two strings in the Czech translation
* Closes #827
2016-09-12 09:42:20 +01:00
Pete Batard
b3c76b1f61 v2.11 (build 995) 2016-09-08 17:33:41 +01:00
Pete Batard
aa4baab194 [core] add a workaround for >1TB HDDs that mistakenly report short writes
* It appears that 1.5TB and 2TB HDDs, accessed trough some Seagate ow WD USB ↔ SATA
  controllers, can report that 0 bytes were written on WriteFile(), even though all
  the data was effectively written. 1TB HDDs, accessed through the same controller,
  do not report this issue. So add a workaround for that.
* Also see #787
2016-09-06 18:31:30 +01:00
Pete Batard
8ca644de5a [core] fix sanitizing of exFAT labels
* Closes #818
2016-08-31 13:01:39 +01:00
Pete Batard
08566fa127 [core] add half workaround for an XP issue
* This is not a complete workaround, but it will do for
  until we drop support for XP altogether.
* Closes #810
2016-08-31 12:21:10 +01:00
Pete Batard
9872cad1e8 [appveyor] remove unneeded project duplication for MinGW 2016-08-30 12:10:08 +01:00
Pete Batard
cc758f58a0 [ui] fix UI font for XP users
* DIE, XP, DIE!!!!
* Closes #820
2016-08-29 18:17:43 +01:00
Pete Batard
5d3be6ca51 [misc] add a cheat mode to disable file indexing after format
* New cheat mode is Alt-Q, and gets preserved between sessions
* Only for file systems that support it (NTFS, UDF and ReFS)
2016-08-27 18:06:06 +01:00
Pete Batard
d9a928f5bc [core] fix handling of BFD drives
* A BFD (Big Floppy Disk) is a disk that isn't actually partitioned,
  but where the first data sector starts at sector 0
* Closes #814
2016-08-21 14:06:15 +02:00
Pete Batard
2b0cc9349f [misc] fix a couple code analysis warnings 2016-08-20 10:15:48 +02:00
Pete Batard
ce6ded2111 [iso] add label update workaround for ArchLinux derivatives 2016-08-14 15:45:29 +02:00
pluto00987
ce8fbd9934 [misc] align ms-sys source with upstream
* This adds the (currently unused) fat32pe boot records
* Closes #801
2016-08-11 17:05:39 +02:00
Pete Batard
6d3b1c856f [iso] prevent usage of FAT32 for WinPE4 ISOs
* This is part of #801
2016-08-10 18:59:35 +02:00
Pete Batard
ab44cde7ac [misc] don't download BIOS-related files if selected target isn't BIOS
* Part of #799
* Also set rufus-next to 2.11
2016-08-08 13:46:50 +02:00
Pete Batard
e7578bc12d [syslinux] support ISOs that use boot.bin instead of isolinux.bin
* Such as WebConverger (webc-35.1.iso)
* Also fix non installation of Syslinux if Alt-E (dual UEFI/BIOS) is set
* Also update README and AppVeyor script
2016-08-07 18:41:47 +02:00
Pete Batard
19536ddd1a [appveyor] this versioning sure isn't intuitive... 2016-08-06 19:04:34 +02:00
Pete Batard
b808b67769 [appveyor] match AppVeyor version with git tag or SHA-1
* Also add a GPLv3 badge
2016-08-06 19:01:05 +02:00
Pete Batard
6a4cc1acb5 [appveyor] fix AppVeyor script
* This should build for all of the VS2015 targets as well as MinGW32 + MinGW-w64
2016-08-06 00:00:08 +02:00
Pete Batard
1e9aa1e646 [appveyor] try without an explicit SDK setup call for x86_64 2016-08-05 21:11:32 +02:00
Pete Batard
3c0c1b7e9a [misc] and now we try for fix AppVeyor... 2016-08-05 18:01:46 +02:00
Pete Batard
a1f433b1b4 [misc] add AppVeyor CI support 2016-08-05 17:30:49 +02:00
Pete Batard
09482d53fe [iso] fix a libcdio log message 2016-07-31 18:23:50 +02:00
Pete Batard
b204065f88 [clang] use the July Clang/C2 framework VS2015 update 2016-07-21 15:58:11 +01:00
Pete Batard
b32c7149eb v2.10 (build 973)
* Also fix an indentation warning from gcc 6.1
2016-07-20 10:51:08 +01:00
Pete Batard
dcb0d561d5 [uefi] update UEFI:NTFS and add support for compressed NTFS partitions
* UEFI:NTFS now uses the latest efifs drivers, with NTFS compression supported
* Because the executables are now compiled with Clang, we can also revert to a 256KB partition
2016-07-18 13:25:49 +01:00
Pete Batard
56eb635879 [internal] use smart card keys for code signing
* Also fix a Coverity warning
2016-07-15 13:32:22 +01:00
Pete Batard
cee50bd189 [grub] update Grub4DOS 0.4.6a to latest
* Also update Changelog
2016-07-10 21:51:46 +01:00
Pete Batard
9dd06e93bc [ui] improve Windows format prompt autoclose
* Closes #794
* Also reorder some messages (so that RUFUS_TEST comes first)
* Also update issue template
2016-07-09 16:20:58 +01:00
Pete Batard
cebfa4cc7a [ui] delay hotplug event when the user has pressed Start
* Closes #793
* Also update issue template
2016-07-08 12:09:46 +01:00
Pete Batard
91eec034b1 [core] try not to clear MBR/GPT sectors higher than the lowest partition
* This ensures that a drive can be reformatted without error after writing
  an image such as super_grub2_disk_x86_64_efi_2.02s4.iso
2016-07-07 18:13:01 +01:00
Pete Batard
2f88286dc1 [misc] update issue template 2016-07-06 11:25:38 +01:00
Pete Batard
473e7467e8 [misc] add issue template 2016-07-05 16:18:09 +01:00
Pete Batard
a207d967a5 [uefi] add support for EBC boot loader
* Closes #791
2016-07-04 13:16:04 +01:00
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