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

209 commits

Author SHA1 Message Date
Pete Batard
09b7314f98 [efi] improve partition scheme details and tooltips
* Also fix automated filesystem selection when switching schemes around
2013-01-27 01:40:09 +00:00
Pete Batard
647d9f18ad [misc] refactoring and cleanup - part 2
* add GetResource() function call to handle resource loading and
  revert 98ff7a931a
* add separate BootCheck() call
* better handling of passes tooltip
* remove superfluous backslashes
* fix standalone EFI support
* add GPL v3 license file and update README.txt
2013-01-25 01:56:28 +00:00
Pete Batard
bba1772940 [misc] refactoring and cleanup - part 1
* add stdfn.c and move the relevant standard calls there
* move most of GetDriveInfo() to drive.c
* rename IDC_DOS/hDos to IDC_BOOT/hBoot
2013-01-24 21:30:11 +00:00
Pete Batard
c8acf1b84a [misc] cleanup and refactoring + fix WIM 7z minor issue
* remove hardcoded path from WimExtractFile_7z
* move some drive related functions to drive.c
* cleanup
2013-01-22 02:40:43 +00:00
Pete Batard
8ff8b41273 [misc] set rufus-next to 1.3.2
* Also fixed a couple Clang, MSVC Analyzer and MinGW64 warnings
2013-01-20 23:34:13 +00:00
Pete Batard
0196de6f4d [efi] add Windows 7 EFI support for XP and Vista
* Requires 7-Zip for WIM extraction as wimgapi.dll is not available
* Also add more comprehensive choice between MBR/GPT and BIOS/UEFI
2013-01-20 22:46:11 +00:00
Pete Batard
84e4aecfcd [efi] add support for Windows 7 UEFI boot
* Add WIM file handling in vhd.c to extract bootx64.efi
* x64 only, since Microsoft does not provide Win7 x86 EFI support
2013-01-19 04:04:54 +00:00
Pete Batard
997c0a0f28 [gpt] add support for GPT partitioning and EFI boot
* Contains the bulk of the code required to address #11
* Tested with Windows 8 Pro x64 (en-gb_windows_8_x64_dvd_915412.iso)
  and Arch Linux (archlinux-2013.01.04-dual.iso) against an UEFI 2.1 BIOS
* Also fixes missing status report beta versions check
2013-01-18 01:39:24 +00:00
Pete Batard
6b8833bcfb [syslinux] work on duplicated copies of ldlinux.sys and ldlinux.bss
* If not, a VS2012 compiled Rufus will crash, as it doesn't allow
  working directly on embedded resources
* Closes #118
* Also update ChangeLog for previous patch
2013-01-13 22:16:10 +00:00
Pete Batard
97576d79cb [iso] re-fix support for Arch Linux
* Can't these guys just use Joliet like everyone else?
* Closes #90 (again!)
2013-01-13 00:41:21 +00:00
Pete Batard
325c383f92 v1.3.1 (build 220)
* Closes #115
2013-01-09 23:49:22 +00:00
Pete Batard
0b53ddd8b3 [ui] indicate the partition scheme created by Rufus
* This is in anticipation of GPT support (#11)
2013-01-09 23:39:31 +00:00
Pete Batard
24b66bf9bb [ui] tell the user if we're using Large FAT32 2013-01-09 23:24:31 +00:00
Pete Batard
0329404bf8 [iso] revert b184 ("relax ISO-9660 compliance")
* This was issue #90 and commit 261834e31f
* Unfortunately, the ArchLinux workaround breaks Windows XP installation
  so ArchLinux ISOs will have to fix their ISO9660 compliance themselves...
2013-01-09 22:45:45 +00:00
Pete Batard
c4cb9d03c1 [misc] fix VS2012 Code Analysis warnings
* Only for files that aren't part of external dependencies
* Also update copyright date
2013-01-09 21:54:28 +00:00
Pete Batard
ae43dfd721 [misc] switch to VS2012 2013-01-07 01:50:51 +00:00
Pete Batard
3f79a61802 v1.3.0 (build 214)
* Closes #114 (UpdateProgress(6): error negative percentage sent for negative slot value)
2012-12-16 23:08:56 +00:00
Pete Batard
d01749004c [ui] disable initial update policy prompt if executable is called "rufus.exe" 2012-12-16 22:42:30 +00:00
Pete Batard
303f35d5f1 [ui] improve check for updates
* Update policy
* Better status report
* Better UI handling
2012-12-16 00:29:37 +00:00
Pete Batard
13a6b6b751 [iso] add support for VMWare ESXi 5.1
* Closes #98
* Also closes #113
* Also improves on the ISO analysis report
2012-12-15 03:27:14 +00:00
Pete Batard
638f7876c4 [format] set read-only checkdisk error as benign
* Closes #106
2012-12-13 23:50:23 +00:00
Pete Batard
2784a5d1d7 [misc] add the Rufus icon set
* So that I no longer have to hunt them around
2012-12-12 22:58:47 +00:00
Pete Batard
e8d4ca9785 [ui] disable "Check Now" on initial settings dialog 2012-12-09 21:17:17 +00:00
Pete Batard
5a53cb3b9c [updates] add "Check Now" button
* Also reword update policy and adjust timings
* Also fix ISO extraction window title
2012-12-09 20:36:29 +00:00
Pete Batard
bdbc9ed9c0 [misc] set rufus-next to 1.3.0 and fixed #103
* Closes #103
2012-12-09 19:37:56 +00:00
Pete Batard
2d53ea10ac [net] Check for application update (part 8)
* Closes #102
* Add beta channel check
* Add version and min platform checks
* Also fixes update settings not reflecting the registry
2012-12-07 00:54:40 +00:00
Pete Batard
b315805fa4 [ui] Almost there: Check for application update (part 7)
* Add an abort during download
* Add automated launching of the new version
* Make DownloadFile() more generic with regards to progress indicators
2012-12-06 01:40:44 +00:00
Pete Batard
25e999ded9 [ui] Why, it's the check for application update (part 6)
* Use TortoiseGit inspired notification and download dialog
2012-12-05 01:53:10 +00:00
Pete Batard
4251e78fcd [net] Check for application update (part 5)
* Add dialog for new release notification
* Do not check for updates during format or ISO ops
* Add RTF support for parser and security improvements
* Also improve init and exit of progress dialog
2012-12-04 02:09:41 +00:00
Pete Batard
eed0b78ff0 [net] Check for application update (part 4)
* Also improve Windows version check
2012-12-02 03:50:08 +00:00
Pete Batard
8506e47fd3 [misc] fix Clang warnings 2012-11-30 00:18:28 +00:00
Pete Batard
f1929d7014 [ui] factorize code and remove unused one
* Merge Notification and Question
* Remove bold and url related workarounds
* also switch some files to UTF-8
2012-11-29 23:14:36 +00:00
Pete Batard
454010c27c [ui] use richedit for about dialog and other improvements
* Add template for updates policy and settings
2012-11-29 02:59:52 +00:00
Christophe Fergeau
249d3e16fb [iso] fix possible crash when accessing root UDF files
* See http://lists.gnu.org/archive/html/libcdio-devel/2012-11/msg00013.html
  and http://cgit.freedesktop.org/~teuf/cdio/commit/?id=6c0251d145e44b7cdfeb9767c615646fb8f51320
2012-11-25 23:06:29 +00:00
Pete Batard
c8276a5fe8 [misc] Update RC file and switch to UTF-16
* It was about time!
* Also allows the copyright sign to display properly.
2012-11-23 00:29:18 +00:00
Pete Batard
8572387647 [net] Check for application update (part 3)
* Also add Alt-R cheat mode to delete app registry keys
* Also update sign script to use Win8 WDK
2012-11-22 01:52:33 +00:00
Pete Batard
ad0226a394 [misc] set rufus-next to 1.2.1
* Also update signing script to reflect new Akeo certificate
  NB: If you value your time, do *NOT* purchase certs from Comodo!!!
2012-11-13 01:33:38 +00:00
Pete Batard
b3ed23647f [net] Check for application update (part 2)
* factorized token parser and added update file parsing
2012-11-12 01:53:34 +00:00
Pete Batard
bc01064678 [ui] enable automatic hyperlinks in the copyrights section
* Use a RichEdit control with EM_AUTOURLDETECT
2012-11-08 20:36:48 +00:00
Pete Batard
05d7b757e6 [net] Check for application update (part 1)
* Switched from WinHTTP to WinInet and removed net.h
* Added support for registry operations
2012-11-08 01:20:48 +00:00
Pete Batard
66b1f8006e [ui] fix bootlist and label issues
* Fixes only MS-DOS option being proposed when no drive is present
* Fixes only MS-DOS available when an empty card reader is detected first
* Fixes loss of user input label when switching between boot options
  NB: ISO label is forced over user input as distros such as Arch Linux
  want to see a specific label for the USB
* Closes #95
* Closes #96
2012-11-04 21:39:25 +00:00
Pete Batard
bf98a552da [iso] update libcdio to v0.90 2012-11-04 01:33:54 +00:00
Pete Batard
2a3b95a11a [ms-sys] ms-sys cleanup 2012-11-04 00:46:15 +00:00
Pete Batard
a352ad019d [sl] update to syslinux 4.06
* Also fixes MSVC 64 bit warnings in format.c and iso.c
2012-11-04 00:29:24 +00:00
Pete Batard
22800bb8a5 [format] add large FAT32 support
* Based on fat32format from Ridgecrop Consultants Ltd:
  http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm
* Initial implementation by Tom Ehlert of DriveSnapshot:
  http://www.drivesnapshot.de/en/index.htm
* Closes #101
2012-11-03 17:40:33 +00:00
Pete Batard
8dc5429d9f [misc] various small improvements
* Less scary message from bad blocks
* Better error report for read/write_sectors
* Fix a WDK warning
2012-11-03 17:22:28 +00:00
Pete Batard
261834e31f [iso] relax ISO-9660 compliance
* Due to Arch Linux (archlinux-2012.08.04-dual.iso) - See #90
* It is still possible that this patch will have unwanted effect
  for ISO-9660 compliant images...
2012-08-16 01:55:08 +01:00
Pete Batard
5cbba034e4 v1.2.0 (build 183) 2012-06-04 19:09:21 +01:00
Pete Batard
f77803cc78 [ui] adjust for high DPI
* also remove TaskbarList message on Vista and earlier
2012-06-04 17:35:32 +01:00
Pete Batard
5e448f9523 [ui] ensure Rufus MBR is selected for bootmgr
* Also ensure that the log is always displayed in the background of the progress dialog
2012-05-31 13:05:12 +01:00
Pete Batard
94851dec7d [misc] fix a potential WinPE 1.0 bug and improve ISO labels
* WinPE 1.x patch used rdisk(!) instead of rdisk(1)
* Remove trailing spaces on ISO labels
* Remove unnecessary comment during format
2012-05-31 00:49:28 +01:00
Pete Batard
fd55a4ef0f [ui] add log window
* Closes #85
2012-05-31 00:32:25 +01:00
Pete Batard
372b89ba3a [misc] address various TODOs and improve UI
* display comprehensive partition information
* improve tooltips
* remove TODOs that are no longer relevant
2012-05-29 17:47:24 +01:00
Pete Batard
af80c80917 [mingw] fix MinGW-w64 compilation
* newer versions of MinGW-w64 have shuffled off_t definitions - fix that
2012-05-25 18:40:30 +01:00
Pete Batard
032864021c [ui] misc. UI improvements 2012-05-25 17:54:06 +01:00
Pete Batard
dbe6af78d9 [ui] provide tooltips for all options
* Closes #84
2012-05-22 12:30:22 +01:00
Pete Batard
4a74c9de38 [ui] improve tooltip handling
* only reference the HANDLE of the control the tooltip is associated with
2012-05-21 11:11:42 +01:00
Pete Batard
3fde2a5472 [ui] add a reference to DebugView on error messages
* Closes #83
* Also fix MinGW warning of 'array subscript out of bounds' due
  to previous commit
2012-05-18 19:33:34 +01:00
Pete Batard
8c47bac10e [ui] add option to create extra hidden partition
* Closes #77
2012-05-18 18:41:28 +01:00
Pete Batard
aea60183cc [sl] remove chain.c32
* also fix a WDK build issue
2012-05-18 00:54:39 +01:00
Pete Batard
bf2cb0bd88 [ui] add advanced mode
* Adds "bare" Syslinux, Rufus MBR and disabling of fake USB detection options
2012-05-17 22:56:19 +01:00
Pete Batard
cbff178717 [ui] fix disabled checkbox with empty card readers
* closes #79
2012-05-16 15:32:06 +01:00
Pete Batard
2b87a37789 [misc] fix extraction of non Joliet ISO9660 files
* Closes #82
2012-05-16 12:18:48 +01:00
Pete Batard
39fe803963 [internal] remove grep dependency in git pre-commit hook 2012-05-16 12:17:07 +01:00
Pete Batard
937dde6bff [misc] v1.1.6 -> v1.1.7 bugfix patch
* closes #78
2012-04-06 16:22:25 +01:00
Pete Batard
bb76f1f636 [ui] report ISO progress in main/icon progressbar
* Also improve granularity for ISO progress
* Also fixes an issue with badblocks report
2012-03-29 20:27:53 +01:00
Pete Batard
8d2fd913b0 [ui] Display progress on the Windows 7 taskbar icon
* Also updates dialog progress handling
* Closes #72
2012-03-29 18:16:06 +01:00
Pete Batard
98ff7a931a [x64] fix access violation when patching DLL data
* Closes #24
2012-03-28 20:45:49 +01:00
Pete Batard
51fb4e339f [freedos] Embed FreeDOS always in a single version of rufus.c
* also bump version to rufus-next
* also change build prefix from '#' to 'b' in tags
2012-03-28 19:50:21 +01:00
Pete Batard
b397889ab6 v1.1.6 (#161)
* Add cheat mode for MBR selection (Alt-M)
* fix NTFS default for WinPE
* fix Clang warnings
2012-03-27 23:31:58 +01:00
Pete Batard
db76e396fd [pe] Improve PE and add Windows 2003 support
* Use \i386 always through SetupSourceDevice in txtsetup.sif
  and prevent deletion of install directory
* Removed setupdd.sy_ patch. Now, none of the files in \i386 are modified
* Better /minint detection for MBR setup
* Also fixed an issue where mbr.bin resources would not be included
2012-03-27 20:31:15 +01:00
Pete Batard
04a20922d5 [xp] Add rdisk() masquerading
* Also add MBR support from resource file
* Also fix an issue with WDK
2012-03-25 22:56:56 +01:00
Pete Batard
d87f069963 [mbr] various fixes and improvements
* Adds USB masquerading according to disk ID in USB part table
* Adds debug feature
* Closes #74 - was due to flags not being properly saved/restored
* Closes #71
* Fixes reentrant INT_13h for some platforms (eg. IBM t43p reenters
  INT_13h to issue an SCSI passthrough, AH=0x50)
* Embed MBR as a resource rather than an ms-sys header
2012-03-25 21:35:38 +01:00
Pete Batard
7874f5ea5d [mbr] added USB selection MBR support in Rufus
* added mbr_rufus.h to ms-sys, and MBR selection to UI
* also simplified int 13 override, fixing potential breakage on concurrent ints
2012-03-21 01:59:03 +00:00
Pete Batard
1b7f88eb99 [mbr] add LBA sector readout, as required by some BIOSes
* I'm looking at you, Dell Optiplex!
* also fix boot in case no secondary bootable drive exists
* also adds a readme
2012-03-20 20:31:54 +00:00
Pete Batard
0f57ed1684 [mbr] "Press any key to boot from USB..."
* Adds an MBR to prompt the use about USB or HDD boot
* If USB boot is not selected, an INT13h override is added to
  make the second bootable drive think it is first (0x81 -> 0x80)
* USB drive BIOS index is left unmodified
2012-03-20 02:56:34 +00:00
Pete Batard
4bd017ff07 [pe] initial WinPE support (BartPE, XP install disc)
* also switched MBR to Win7 one
* also switched version to rufus-next
2012-03-16 18:30:44 +00:00
Pete Batard
c07832b090 v1.1.5 (#153)
* remove testing delay and comment in net.c
2012-03-12 00:20:03 +00:00
Pete Batard
7426573dc1 [iso] add download & replace of obsolete vesamenu.c32
* adds http/https download capabilities
* closes #46
2012-03-11 01:55:25 +00:00
Pete Batard
e0f209a128 [misc] Misc. fixes
* Addresses issue #66 (insert media notification with empty card readers)
* Addresses issue #67 (devices without FriendlyName aren't listed)
* Addresses issue #68 (WinPE/AIK images don't boot)
* Also updates version to rufus-next
2012-03-09 01:38:52 +00:00
Pete Batard
7ee5b35551 v1.1.4 (#150)
* closes #49
* closes #60
* closes #64
* should address #59
* set default doe ISOs with bot bootmgr and isolinux to syslinux
* other improvements
2012-03-03 23:12:48 +00:00
Pete Batard
a9c47a4922 [bb] fix bad blocks check for 64 bit
* 32 bit bad blocks check is too limited for large drives
  and result in erroneous computations
* 32 bit also means that 2TB would be absolute limit, which
  may be too low in case for USB HDD checks
* This fix makes bad blocks check and related calls 64 bit compliant
* also improve on bad block reports
2012-03-03 22:59:58 +00:00
Pete Batard
3721b0a570 [misc] improved label and config handling
* add readout and display of extended autorun.inf label if available
* use improved isolinux config parsing
* also fix an issue that could leave drive unmounted on forced removal
* also add Alt-F cheatmode to toggle detection of fixed USB disks
2012-03-01 19:19:12 +00:00
Pete Batard
1fce90dc7c [freedos] update FreeDOS resources to latest version
* also update version to rufus-next
2012-02-27 17:17:50 +00:00
Pete Batard
044398833b v1.1.3 (#146)
* adds check for 'fake' USB drives in bad blocks
2012-02-24 19:44:24 +00:00
Pete Batard
b03065b1f5 [ntfs] fix creation of Windows 7 bootable USB from XP
* When using Win7 installation ISOs, XP would return the error:
  [0x00000456] The media in the drive may have changed
* This seems to be due to unmounting of the drive before writing
  the PBR
* Also, our ms-sys/NTFS code wasn't identifying NTFS properly on XP
2012-02-24 18:51:33 +00:00
Pete Batard
352a796eff [core] only allow removable drives to be listed
* Our detection code, which is based on the HPUSBFW utility, allows fixed
  drives such as USB HDDs to be listed
* Since Rufus lacks extra precautions for fixed disks, this may result in
  people mistakenly formatting and HDD instead of a flash drive
* Until we have added HDD specific features (support for repartitioning or
  existing partitions, >32GB FAT32, etc.) we prefer playing it safe by
  not listing fixed disks.
* We will re-enable fixed disks when we feel enough safeties are in place
* Also fix an issue where ISO selection could crash if Rufus
  was compiled for Vista and later and update version to rufus-next
2012-02-24 18:46:55 +00:00
Pete Batard
e0e974603c v1.1.2 (#143)
* Closes #37
* Closes #38
* Closes #39
* Closes #42 (from previous commits)
* Closes #44 (from previous commits)
2012-02-22 00:24:12 +00:00
Pete Batard
7e7c75169c [ui] enable setting of icon and extended label
* Creates an UTF-16 autoconf.inf with label, as well as autoconf.ico
* also fixed extended labels not displaying - closes #48
* also bumped version to rufus-next
* also factorized iso props analysis
* additional fixes
2012-02-21 19:46:28 +00:00
Pete Batard
f5939d18ab [iso] Syslinux support improvements
* Allow the use of vanilla Syslinux by creating a /syslinux.cfg
  that references isolinux.cfg
* Fix #40 and #42
* Workaround for #44 by search and replace of ISO label in .cfg
* ISO9660 Joliet fixes
2012-02-21 00:08:31 +00:00
Pete Batard
3e51ed7160 [syslinux] reverted Syslinux resources to vanilla 4.0.5
* also added the full usb.ico from PC Unleashed for future reference
2012-02-20 22:44:34 +00:00
Pete Batard
8e091fdc04 v1.1.1 (#139)
* Also make SysLinux non-optional
2012-02-17 00:26:30 +00:00
Pete Batard
ce499c95d7 [ui] remember last selected device
* Closes #35
* Also update syslinux resources
2012-02-16 23:43:03 +00:00
Pete Batard
a851d66e7c [iso] libcdio Joliet and UDF fixes
* Fix for broken UDF access with MSVC on some images
  (eg. Arch Linux)
* Fix for broken Joliet access on ISO9660 images and
  proper Joliet support in iso.c
2012-02-16 20:44:16 +00:00
Pete Batard
c79bfa0cb4 [ui] misc. UI improvements
* improved ISO selection
* set default FS according to ISO boot method
* fix exFAT selection
2012-02-16 11:37:59 +00:00
Pete Batard
3cd83869c4 [iso] fixes for Joliet and > 4GB ISO9660 images
* scan would fail on lowercase vs mixed case dir name comparison
  due to Joliet (eg. using Slackware 13.37 ISO)
* extraction would fail for 4 GB ISO9660 ISOs
* also fixes cases issue when checking for isolinux/bootmgr
* also don't restrict NTFS labels
2012-02-15 21:55:41 +00:00
Pete Batard
f4ed6e4650 [misc] fix broken DOS, fix invalid labels and UI improvements
* DOS creation was broken due to missing unlock + close
* added label validation to prevent errors
* added ellipsis to status bar
* also bumped version to rufus next and fixed f/non-f
2012-02-15 00:52:40 +00:00
Pete Batard
e17de3312f [iso] Set drive label according to the one from ISO
* required for Linux distros such as Arch Linux
* also added udf_get_logical_volume_id to libcdio and other fixes
* also prevents overwrite of ldlinux.sys from ISO
* closes #36
2012-02-14 20:52:39 +00:00
Pete Batard
36be65ed23 [iso] add support for isolinux/syslinux ISO images
* use a modified syslinux that can use isolinux config files
* update syslinux to git version
* remove embedding of chain.c32 for the time being
2012-02-14 01:23:42 +00:00
Pete Batard
7753c017d6 v1.1.0 (#131)
* first release with ISO support (bootmgr ISO only)
* fix ISO9660 extraction and error reports
2012-02-08 00:26:37 +00:00