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

369 commits

Author SHA1 Message Date
Pete Batard
a10a207790 [syslinux] fallback to embedded on version match if download fails
* Could be useful for current tails user (6.03 based, same as ours)
  who want to create an UFD without downloading files.
* Also improve the buffer overflow check in syslinux/libinstaller/syslxmod.c
2016-03-08 17:28:45 +00:00
Pete Batard
d385a097c0 [misc] make the affinity setup fn more generic and move it to stdfn
* Also align checksum context to 64 bytes (cache line)
2016-03-03 17:24:54 +00:00
Pete Batard
e1c7c9670b [checksum] more load balancing optimizations
* SetChecksumAffinity() now spreads the affinity evenly between cores
* Also increase the read buffer size to help with performance
* At this stage, the only limiting factor regarding performance seems
  to be the speed of the SHA-256 algorithm...
2016-03-01 17:13:37 +00:00
Pete Batard
e6d3653cac [checksum] use multiple threads and double buffering
* Can reduce the duration of checksum computations by about
  1/3rd, if you have quad core CPU or better.
2016-02-29 21:36:28 +00:00
Pete Batard
250d46e401 [core] use GetTickCount64() always where possible
* Damn you XP!!!
* Also some more code cleanup
2016-02-24 16:10:54 +00:00
Pete Batard
3a266d92a7 [misc] improve the reporting of ISO props 2016-02-22 12:51:27 +00:00
Pete Batard
c3f47ada06 [misc] add missing.h header
* Also clean up code
2016-02-20 22:52:32 +00:00
Pete Batard
d3c9afa2fd [ui] improve removal of <8MB devices
* Closes #692
2016-02-19 12:10:17 +00:00
Pete Batard
9ebdecc124 [ui] fix label not being blanked on device removal
* Part of #694
* Also set rufus-next to 2.8
2016-02-17 11:40:10 +00:00
Pete Batard
f88faf1a4f [usb] enable listing of non USB card readers
* Also fix the VID:PID population of USB card readers
* Also improve enumeration debugging
* Also add an unofficial cheat mode to list non USB *REMOVABLE* drives
* Closes #693
2016-02-16 20:43:30 +00:00
Pete Batard
58755c1bc4 [loc] ensure that the log content is displayed LTR
* Part of #694
* This avoids weird interpretation of content from Windows' RTL logic
* Also fix a WDK compilation error
2016-02-15 23:02:02 +00:00
Pete Batard
140236acd6 [loc] display a note in the log when a translation is behind
* Also make sure the messages regarding language pack availability
  are visible to the users in the log
* Also fix a typo in the Malay translation
2016-02-15 12:50:06 +00:00
Pete Batard
8473e9ef56 [misc] disable loading of DLLs from current directory
* This is done to prevent potential DLL sideloading attacks
2016-02-09 12:38:09 +00:00
Pete Batard
0e91b4cf3d [iso] set ISOHybrids to DD mode if we can't support any ISO boot modes
* Closes #689
2016-02-06 23:46:30 +00:00
Pete Batard
e1499c4db0 [misc] fix WDK warnings 2016-02-05 22:24:47 +00:00
Pete Batard
65bbe984fd [loc] remove nagging about lost translators
* All things considered, this was probably more detrimental than helpful
* Reverts 26af32b522
2016-02-05 13:14:22 +00:00
Pete Batard
4474642863 [ui] fix shutdown prevention issues
* Also minor UI improvements for High DPI
* Part of issue #676
2016-02-02 16:14:22 +00:00
SeymourApps
96f421f7d2 [ui] add drag and drop support
* This feature is only available for Vista or later
* Closes #316
* Closes #668
2016-01-15 17:20:45 +00:00
Pete Batard
0fe0086c8f [core] improve WriteFileWithRetry() and move it to stdio.c
* Also fix uprintf() generating an error code if the log window
  is not instantiated yet.
2016-01-15 12:26:31 +00:00
Pete Batard
f2a539a48c [core] add and use WriteFileWithRetry() where possible 2016-01-14 17:43:02 +00:00
Pete Batard
a952221a9b [loc] fix Cyrillic not displaying properly in About dialog
* Issue was introduced in 0f56c2d1ef
* Closes #670
2016-01-11 13:06:33 +00:00
SeymourApps
4b3969e475 [misc] fix ISO label being used on non-bootable format
* Closes #490
* Closes #668
2016-01-10 20:07:35 +00:00
Pete Batard
cc65d0494d [misc] update README.md
* Also update copyright year
2016-01-03 22:53:13 +00:00
Pete Batard
fe3241d092 [core] ensure that drive zeroing is reset on user cancel
* Closes #651
2015-12-11 23:17:12 +00:00
Pete Batard
d048cc108f [core] don't check for other options when zeroing the drive 2015-12-10 13:14:27 +00:00
Pete Batard
77636d948e [core] disable FAT32 option for Windows ISOs in BIOS/CSM mode
* This was inadvertently enabled in Rufus 2.4 (commit 49e5490) and
  is causing all kind of issues, such as #641.
2015-12-05 15:40:35 +00:00
Pete Batard
549bf731a6 [ui] fix UEFI/BIOS mode never being disabled once enabled
* Closes #635
* Also fix minor logic issue and trailing whitespaces
2015-11-05 22:54:38 +00:00
Pete Batard
b66401b355 [core] add a cheat mode to zero the USB device
* Alt-Z to zap!
* Also set rufus-next to 2.6
2015-11-04 13:58:19 +00:00
Pete Batard
36bf6c7036 [loc] fix RTL display for the Info box
* Another issue from #621
* Also add ETO_NUMERICSLOCAL flag
2015-10-22 18:25:40 +01:00
Pete Batard
805d44a5b8 [loc] fix additional right-to-left issues
* Fix mishandling of spaces after period, comma, colon, etc.
* Fix Test/Alpha notifications not displaying properly in RTL mode
* Part of #621
2015-10-22 00:40:59 +01:00
Pete Batard
e1f8b276c8 [loc] fix various RTL issues
* MSG_002 doesn't display in RTL
* Update Policy dialog loses RTL setting after the first paragraph
* Some text displayed in native Windows message boxes is not using RTL
 (even as the Message Box itself will display the rest of the UI elements as RTL)
* Detect if the relevant language pack is installed and use MessageBoxEx to
  display native message box buttons using the selected language.
* All theses issues are part of #621
* Also remove trailing whitespaces
2015-10-18 21:37:58 +01:00
Pete Batard
7b3b96cd9e [pki] add signature check on update downloads - part 2
* Closes #158
2015-10-13 23:29:30 +01:00
Pete Batard
cd911ad738 [pki] add signature check on update downloads - part 1
* This is part of enhancement #158
2015-10-12 22:03:41 +01:00
Pete Batard
af53d11718 [misc] add a cheat mode to not lock the physical drive during partitioning and formatting
* In some circumstances, this *might* help with the infamous #312 issue, though
  I will still recommend to figure out which application is keeping a lock instead
  of trying to cheat...
2015-10-01 22:22:20 +01:00
Pete Batard
ae06a39d2f v2.4 (build 755)
* Also set global scaling factor before the dialog is initialized and
  remove unneeded scaling initialization.
2015-09-27 20:01:38 +01:00
Pete Batard
daf039ee18 [ui] fix an UI scaling issue with high DPI displays for non English languages
* Closes #601
2015-09-24 23:59:10 +01:00
Pete Batard
a9b681976a [ui] enable some settings and cheat modes to be persisted
* Currently, the user settings that are persisted are:
  - Advanced mode (UI)
  - Timestamps preservation (Alt-T)
  - Proper unit Display (Alt-U)
  - USB debug (Alt.)
  - Fake drives detection (Alt-B)
  - Dual UEFI+BIOS for Windows images (Alt-E)
  - Force Large FAT32 formatting (Alt-L)
  - VMWare Disk Detection (Alt-W)
* Settings that are *NOT* persisted include:
  - UDB HDD listing (too dangerous!)
  - NTFS compression (Alt-N)
  - ISO/Joliet/Rock-Ridge (too confusing if not reset)
  - Disabling of size limits (Alt-S)
* Closes #436
2015-09-17 00:20:22 +01:00
Pete Batard
ff9eae4e6d [vhd] fix broken save to VHD cheat mode
* vhd_save wasn't static, which of course created all kind of issues
  when the VHD save thread tried to use it while it was being freed...
* Closes #591
2015-09-04 14:15:22 +01:00
Pete Batard
4788ee25d2 [misc] fix a WDK warning 2015-09-04 13:53:35 +01:00
Pete Batard
49e54904c2 [core] fix population of label and filesystem for ISOHybrid images
* Also fix a misleading error about incompatible file system for pure EFI images (such as Acronis 2016)
* Closes #588
2015-09-02 23:34:20 +01:00
Pete Batard
5024e7f65e [internal] refactor iso_report -> img_report
* Also set rufus-next to 2.4
2015-09-02 23:20:00 +01:00
Pete Batard
87892e24cc [misc] remove unwanted debug statements
* Also clarify ChangeLog
2015-08-29 17:15:39 +01:00
Pete Batard
cc10821361 [iso] disable To Go mode for Windows 10 ESD ISOs
* Microsoft somehow managed to make their ESD WIMs incompatible with their own APIs
  (yes, EVEN the Windows 10 WIM API), so we must filter them out...
2015-08-27 18:22:27 +01:00
Pete Batard
d1eccbd107 [togo] fix bcdboot errors
* Closes #558
2015-08-23 17:03:35 +01:00
Pete Batard
fb09802c0f [ui] prompt users how they want to write ISOHybrid images
* Closes #543
* Also update localization messages and image analysis report
2015-08-22 15:21:48 +01:00
Pete Batard
1106c22acc [ui] fix Alt-I cheat mode
* Also move VHD save into a separate function
* Closes #569
2015-08-14 23:09:45 +01:00
Pete Batard
5004374277 [misc] update to VS2015 and fix VS code analysis issues
* Also update Bled to latest, as well as build scripts
* Note: Considering that Visual Studio 2015 is both freely and legally
  available for anyone who wants to use it to compile Rufus, starting
  with this commit, I will NOT be supporting any other version of Visual
  Studio but 2015.
2015-08-10 23:30:23 +01:00
Pete Batard
b854f70bae [misc] fix MinGW-w64 compilation issues
* Closes #553
2015-08-05 22:36:22 +01:00
Pete Batard
e1f76a5dd1 [core] make check for portable version case insensitive
* Closes #482
2015-08-04 22:31:37 +01:00
Pete Batard
c7c83a16ed [ui] use a toolbar button for the checksum
* Also fix tabbing order for controls
* Also provide the name of the image in the checksum report
2015-07-06 22:23:24 +01:00
Pete Batard
485b016f17 [internal] use DialogIndirect to reduce the number of dialogs in the RC
* Since Microsoft forces our hand, we hack away into our compiled RC
  resources and change dialog attributes on the fly so that:
  - we can switch between LTR & RTL
  - change the font for Windows XP
* Note that the base RC font has been changed to "Segoe UI Symbols"
  so that it looks the same in the editor (at least for English) but
  can accommodate the length required for "MS Shell Dlg"
2015-07-04 18:27:15 +01:00
Pete Batard
91e699d38a [ui] use a hidden button on the status bar to generate the hash
* Also add a tooltip for the language bar
* Also reduce the size of the icon in README.md
2015-07-03 17:23:00 +01:00
Pete Batard
3ccae1d2e2 disable MS-DOS creation for Windows 10 or later
* Microsoft removed the diskcopy.dll that contained the MS-DOS floppy image
  Not a big loss, since we have FreeDOS... ;)
* Closes #545
* Also apply a long overdue refactoring for boot and target types
* Also update the README to add an icon
2015-07-01 21:26:41 +01:00
Pete Batard
14b8ab6a43 [ui] add a status bar button to initiate checksum computation
* Just click the "hash" sign to get a hash
* Also clean up status bar related functions
2015-06-30 23:22:10 +01:00
Pete Batard
c95910e268 [misc] add MD5 and SHA-1 computation for current image
* Uses the Alt-M cheat mode for now
* Closes #475
2015-06-29 23:43:49 +01:00
Pete Batard
477674016e [core] make sure the system disk is never listed
* When using VHD or VMDK drives, it was possible for the system disk to be listed.
* Closes #541
2015-06-27 22:12:30 +01:00
Pete Batard
f04167c51c [core] add enumeration debugging
* Alt-. to toggle
* Also add configure option for test releases
2015-06-26 22:49:32 +01:00
Pete Batard
8b880a7d31 [iso] add timestamp preservation
* Enabled through the Alt-T cheat mode
* Closes #389
2015-06-25 19:48:37 +01:00
Pete Batard
a9ee79bdad [ui] fix accessibility issues for high contrast scheme
* Also make sure we use system colours everywhere, rather than our own
* Closes #535
2015-06-21 17:59:59 +01:00
Pete Batard
517a14ccb1 [cmp] add pkzip decompression support
* Now you can install a Raspbian image without having to decompress it first ;)
2015-06-20 18:40:55 +01:00
Pete Batard
7567ddef07 [ui] fix cursor being displayed within Info field
* Also fix an MSVC code analysis warning in iso.c
* Closes #527
2015-06-17 18:32:19 +01:00
Pete Batard
4c8cd053f0 [misc] fix WDK compilation
* Also ensure that the VHD extension is properly set on proposed dump name
2015-06-08 02:42:02 +01:00
Pete Batard
4f0e8a24a8 [vhd] add cheat mode to save the current device to VHD
* Alt-V = Save to VHD
2015-06-07 22:51:54 +01:00
Pete Batard
0e59b86abc [ui] fix dropdown being populated on ISO selection when no device is present
* Also remove unneeded code in libfat.h
* Also set rufus-next to 2.3
2015-06-06 23:13:39 +01:00
Pete Batard
bf967dc39b v2.2 (build 668)
* Also fix display of some of the buttons on Windows XP
2015-05-31 20:10:26 +01:00
Pete Batard
5e131a7f56 [ui] indicate to the user if UEFI-CSM mode is used
* Also fixes Japanese for UEFI-CSM
* Closes #508
2015-05-24 21:50:50 +01:00
Pete Batard
3edb9d93f7 [misc] don't prevent Windows shutdown if Rufus is running
* Closes #512
2015-05-22 00:01:42 +01:00
Pete Batard
cf391d693d [ui] fix issues with the Info field
* Make the field a tab stop for screen readers
* Ensure the font is consistent
* Clip text so that it doesn't overflow
* Closes #503
2015-05-21 23:51:48 +01:00
Pete Batard
c84075385e [ui] improve application look on high DPI displays
* Fix Quick Format option overlapping boot option dropdown
* Fix vertical spacing between "Create bootable disk" and "Create extended label and icon files"
* Fix vertical spacing of progress bar in non advanced mode
* Align and resize Advanced Options button
* Align and resize Select Image button
* Fix vertical centering of Status text
* Add 64x64px icon so that the About dialog looks better at 200% size
2015-05-15 00:36:42 +01:00
Pete Batard
d593e03c2b [ui] improve accessibility
* Ensure that focus is set back to a button after some operations
* Remove a confusing forced focus on Start after boot type dropdown selection
* Ensure that the Advanced Options and Select Image buttons have a label that
  can be picked up by screen readers such as nvda
* Closes #243
* Closes #499
2015-05-08 23:37:22 +01:00
Quppa
629cfa68ad [ui] fix keyboard accessibility
* The tab and arrow keys can now be used to navigate around the various dialogs.
* This should fix part of #243
* Closes #491
2015-04-19 13:45:20 +01:00
Quppa
3579c770a2 [ui] modernize the language button
* The language button is now a toolbar button with a dropdown arrow.
* Its icon is a globe for Windows XP to Windows 7 and a globe with characters
  on it for Windows 8 and above (same as the icon for the 'Languages' control
  panel).
* Closes #488
2015-04-19 01:52:39 +01:00
Pete Batard
fa5f8702c3 [misc] change default number of bad blocks passes to 1
* Also fix a potential issue if the server adds a charset
  to plain/text data on update check
2015-04-18 23:14:55 +01:00
Pete Batard
7f621b9648 [core] enable the installation of a bare UEFI:NTFS in advanced mode
* Closes #468
* Also prevent drives with UEFI:NTFS from being listed as multi-partitions
* Also add a label for the UEFI:NTFS FAT partition
* Also fix internal chver script
2015-03-18 21:34:28 +00:00
Pete Batard
0f4067f591 [misc] add notification on forced update check when no update is found
* Closes #455
2015-03-09 02:49:11 +00:00
Pete Batard
785150dcb2 [core] fix "Requesting Disk Access" issue with Syslinux/NTFS
* See http://reboot.pro/topic/17902-rufus-v130-has-been-released/?p=190958
* Also fix non continuation of format operation after Syslinux has been downloaded
* Also fix missing Syslinux installation for ReactOS
2015-02-26 00:15:13 +00:00
Pete Batard
d22933636c [core] fix precedence of Syslinux over Grub
* Closes #449
* Also fix Coverity builds
2015-02-25 01:45:47 +00:00
Pete Batard
821a9df1c8 [cmd] add -g option to disable the commandline hogger (rufus.com)
* This can be useful when launching Rufus from the commandline or a batch file with 'start /wait'
* Also fix a crash when specifying an unknown commandline option
* Also fix the commandline usage help
2015-02-22 01:14:00 +00:00
Pete Batard
c53b80ba29 [ui] fix artifacts when toggling To Go mode 2015-02-16 23:05:27 +00:00
Pete Batard
1dc55596d5 [grub] update Grub4DOS to 0.4.6a
* Also fix Grub4DOS and Grub2.0 versioning issues
* Also ensures that operation gets canceled on missing download
* Also fix German translation and remove trailing whitespaces in .loc file
* Also fix inverted display status for VMWare disk detection
2015-02-16 22:29:23 +00:00
Pete Batard
18b267c80a [ui] add compressed format to DD image listing
* Also add a reference to BusyBox/Bled in additional copyrights
2015-02-13 00:37:21 +00:00
Pete Batard
818fa4da88 [misc] pocketful of enhancement and fixes - part 5
* Check compressed DD images for boot capability
* Add DisableLGP setting
* Silence libcdio errors when scanning non ISO images
* Ensure UI displays "No image selected" when relevant
* Also update Bled to latest
2015-02-11 23:22:18 +00:00
Pete Batard
cf7e52e051 [misc] pocketful of enhancement and fixes - part 4
* Fix disappearance of "Start" button when selecting an ISO with
  no target (reported by Sopor)
* Add commented sample ini file
* Add AC_PROG_AR macro in configure.ac
* Update ChangeLog for BETA
2015-02-10 22:45:48 +00:00
Pete Batard
9fef4065b4 [ui] fix Info box display
* Text artifacts were being left due to not filling the background
* Also add Danish to the list of languages for which we lost a translator :(
2015-02-09 13:36:03 +00:00
Pete Batard
1c322aba56 [misc] drop the micro from the version
* Closes #439
2015-02-08 22:59:09 +00:00
Pete Batard
a13351b656 [ui] fix multiple UI issues
* Disable Windows To Go support for Windows 7 and earlier
* Fix placement of the advanced button on high DPI displays
* Reposition the log window for Windows 10
* Use a slightly larger and better scaling font for the info field,
  and also fix the vertical text alignment
2015-02-08 00:38:21 +00:00
Pete Batard
26af32b522 [loc] add random request for translator help where needed
* This will randomly produce a message for users of a translation that
  hasn't been updated in a while requesting help and pointing them to:
  http://rufus.akeo.ie/translate
* Closes #435
* Also fix a WDK compilation issue with strtoll
2015-02-03 23:42:27 +00:00
Pete Batard
7b8c51e425 [ui] fix FS selection when switching between To Go and regular install 2015-02-03 00:28:08 +00:00
Pete Batard
d1d16ce1c5 [ui] fix progress display of network downloads
* Also fix a memory leak with the GRUB download buffer
2015-02-02 21:16:53 +00:00
Pete Batard
b830c040d2 [misc] fix XP compatibility
* MinGW's gcc 4.9.2 seems to implement a broken "%lld" format 64 bit integer is
  followed by more variables and the app executes on XP => use PRI macros
* Also fix partition ID being ignored when using Rufus MBR
* Also fix some global vars shadowing and add other improvements
2015-01-28 23:22:11 +00:00
Pete Batard
17872dc1de [core] add INI file/portable support
* Application will start in portable mode if its name contains a 'p'
  eg. "rufus_portable.exe" or "prufus.exe"
* Closes #264
* Also fix a couple smaller issues
2015-01-25 00:58:06 +00:00
Pete Batard
fdcb17aa7a [misc] pocketful of enhancement and fixes - part 3
* Add Windows To Go tooltips
* Set UEFI:TOGO partition type to EFI System Partition
* Improve apply-image progress report
* Fix MBR analysis for 4k disks
* Do not select Rufus MBR for Windows To Go
2015-01-22 22:31:34 +00:00
Pete Batard
4b76cb2555 [togo] Add Windows To Go support - part 4
* Ignore partitions we don't care about
* Fix issues with AltMountVolume()
* Try to support 4k drives when setting up MS EFI partition
* Zero the start of the MSR partition to prevent leftover detection
* Fix unwanted use of MBR hidden sectors and redundant CloseHandle()
* Fix addon of BIOS compatibility extra partition
* Print apply image progress to info box
2015-01-20 21:54:29 +00:00
Pete Batard
032d4413c8 [togo] Add Windows To Go support - part 2
* Closes #126
* Only supported on Windows 8 or later for now
* Also fix MinGW and WDK compilation issues
2015-01-16 01:53:24 +00:00
Pete Batard
295650a8b4 [togo] Add Windows To Go support - part 1
* Add apply support to WIM image handling
* Requires Windows 8 or later (Windows 7+ for WIM API support but Windows 8+ for ISO mount)
* Also fix an issue for Windows 7 x64 EFI mode
2015-01-15 01:45:10 +00:00
Pete Batard
99c24d6c88 [iso] add ISO mounting capabilities for Windows 8 or later 2015-01-14 00:51:41 +00:00
Pete Batard
3444a48fce [ui] display ToGo radio selection according to ISO content
* Also simplify EFI detection and reporting
2015-01-13 02:11:57 +00:00
Pete Batard
bca23cc676 [loc] add message for dual EFI/BIOS cheat mode
* Also update copyright year for about dialog
2015-01-12 00:53:09 +00:00
Pete Batard
817c026720 [ui] enable ToGo selection through a radio button
* Part of #126
2015-01-12 00:34:09 +00:00
Pete Batard
9e2f85cb9d [misc] pocketful of enhancement and fixes - part 2
* Add a warning for 4K drives
* Also fix a typo in .loc comments
2015-01-08 23:21:08 +00:00