mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[misc] fix listing of VHD drives when they have been partitioned
* Also harmonize some of our text output
This commit is contained in:
parent
f78eb4de99
commit
7ae21ddf50
3 changed files with 22 additions and 10 deletions
|
@ -1,3 +1,15 @@
|
||||||
|
o Version 1.4.7 (2014.04.??)
|
||||||
|
Add VHD support as a target, courtesy of Scott
|
||||||
|
Add ReFS support (only for Windows 8.1 or later and only for fixed drives)
|
||||||
|
Add a cheat mode to force the use of DD image writing for dual ISOs
|
||||||
|
Add Japanese translation, courtesy of Chantella Jackson
|
||||||
|
Add Slovak translation, courtesy of martinco78
|
||||||
|
Add Swedish translation, courtesy of Sopor
|
||||||
|
Improve the display of filesizes when copying content
|
||||||
|
Fix FAT32 cluster transitions
|
||||||
|
Fix unpartitioned drives not always being listed
|
||||||
|
Fix bad blocks report
|
||||||
|
|
||||||
o Version 1.4.6 (2014.03.17)
|
o Version 1.4.6 (2014.03.17)
|
||||||
Display USB size in the dropdown list
|
Display USB size in the dropdown list
|
||||||
Add Bulgarian translation, courtesy of Krasimir Nevenov
|
Add Bulgarian translation, courtesy of Krasimir Nevenov
|
||||||
|
|
|
@ -815,7 +815,7 @@ static BOOL GetUSBDevices(DWORD devnum)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GetDriveLabel(drive_index, drive_letters, &label)) {
|
if (GetDriveLabel(drive_index, drive_letters, &label)) {
|
||||||
if ((!enable_HDDs) && ((score = IsHDD(drive_index, vid, pid, buffer)) > 0)) {
|
if ((!enable_HDDs) && (!is_VHD) && ((score = IsHDD(drive_index, vid, pid, buffer)) > 0)) {
|
||||||
uprintf("Device eliminated because it was detected as an USB Hard Drive (score %d > 0)\n", score);
|
uprintf("Device eliminated because it was detected as an USB Hard Drive (score %d > 0)\n", score);
|
||||||
uprintf("If this device is not an USB Hard Drive, please e-mail the author of this application\n");
|
uprintf("If this device is not an USB Hard Drive, please e-mail the author of this application\n");
|
||||||
uprintf("NOTE: You can enable the listing of USB Hard Drives in 'Advanced Options' (after clicking the white triangle)");
|
uprintf("NOTE: You can enable the listing of USB Hard Drives in 'Advanced Options' (after clicking the white triangle)");
|
||||||
|
@ -1240,7 +1240,7 @@ DWORD WINAPI ISOScanThread(LPVOID param)
|
||||||
safe_sprintf(isolinux_str, sizeof(isolinux_str), "Yes (%s)", iso_report.sl_version_str);
|
safe_sprintf(isolinux_str, sizeof(isolinux_str), "Yes (%s)", iso_report.sl_version_str);
|
||||||
}
|
}
|
||||||
uprintf("ISO label: '%s'\r\n Size: %lld bytes\r\n Has a >64 chars filename: %s\r\n Has Symlinks: %s\r\n Has a >4GB file: %s\r\n"
|
uprintf("ISO label: '%s'\r\n Size: %lld bytes\r\n Has a >64 chars filename: %s\r\n Has Symlinks: %s\r\n Has a >4GB file: %s\r\n"
|
||||||
" ReactOS: %s\r\n Uses EFI: %s%s\r\n Uses Bootmgr: %s\r\n Uses WinPE: %s%s\r\n Uses isolinux: %s\r\n",
|
" Uses ReactOS: %s\r\n Uses EFI: %s%s\r\n Uses Bootmgr: %s\r\n Uses WinPE: %s%s\r\n Uses isolinux: %s\r\n",
|
||||||
iso_report.label, iso_report.projected_size, iso_report.has_long_filename?"Yes":"No", iso_report.has_symlinks?"Yes":"No",
|
iso_report.label, iso_report.projected_size, iso_report.has_long_filename?"Yes":"No", iso_report.has_symlinks?"Yes":"No",
|
||||||
iso_report.has_4GB_file?"Yes":"No", IS_REACTOS(iso_report)?"Yes":"No", (iso_report.has_efi || iso_report.has_win7_efi)?"Yes":"No",
|
iso_report.has_4GB_file?"Yes":"No", IS_REACTOS(iso_report)?"Yes":"No", (iso_report.has_efi || iso_report.has_win7_efi)?"Yes":"No",
|
||||||
(iso_report.has_win7_efi && (!iso_report.has_efi))?" (win7_x64)":"", iso_report.has_bootmgr?"Yes":"No",
|
(iso_report.has_win7_efi && (!iso_report.has_efi))?" (win7_x64)":"", iso_report.has_bootmgr?"Yes":"No",
|
||||||
|
@ -2557,7 +2557,7 @@ relaunch:
|
||||||
// DD-mode when writing the data.
|
// DD-mode when writing the data.
|
||||||
if ((msg.message == WM_SYSKEYDOWN) && (msg.wParam == 'I')) {
|
if ((msg.message == WM_SYSKEYDOWN) && (msg.wParam == 'I')) {
|
||||||
enable_iso = !enable_iso;
|
enable_iso = !enable_iso;
|
||||||
PrintStatus2000("ISO support:", enable_iso);
|
PrintStatus2000("ISO support", enable_iso);
|
||||||
if (iso_path != NULL) {
|
if (iso_path != NULL) {
|
||||||
iso_provided = TRUE;
|
iso_provided = TRUE;
|
||||||
PostMessage(hDlg, WM_COMMAND, IDC_SELECT_ISO, 0);
|
PostMessage(hDlg, WM_COMMAND, IDC_SELECT_ISO, 0);
|
||||||
|
@ -2611,7 +2611,7 @@ relaunch:
|
||||||
// Alt-U => Use PROPER size units, instead of this whole Kibi/Gibi nonsense
|
// Alt-U => Use PROPER size units, instead of this whole Kibi/Gibi nonsense
|
||||||
if ((msg.message == WM_SYSKEYDOWN) && (msg.wParam == 'U')) {
|
if ((msg.message == WM_SYSKEYDOWN) && (msg.wParam == 'U')) {
|
||||||
use_fake_units = !use_fake_units;
|
use_fake_units = !use_fake_units;
|
||||||
PrintStatus2000("Use PROPER size units:", !use_fake_units);
|
PrintStatus2000("Use PROPER size units", !use_fake_units);
|
||||||
GetUSBDevices(0);
|
GetUSBDevices(0);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
12
src/rufus.rc
12
src/rufus.rc
|
@ -32,7 +32,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||||
|
|
||||||
IDD_DIALOG DIALOGEX 12, 12, 206, 329
|
IDD_DIALOG DIALOGEX 12, 12, 206, 329
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Rufus 1.4.7.453"
|
CAPTION "Rufus 1.4.7.454"
|
||||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||||
BEGIN
|
BEGIN
|
||||||
DEFPUSHBUTTON "Start",IDC_START,94,291,50,14
|
DEFPUSHBUTTON "Start",IDC_START,94,291,50,14
|
||||||
|
@ -165,7 +165,7 @@ END
|
||||||
RTL_IDD_DIALOG DIALOGEX 12, 12, 206, 329
|
RTL_IDD_DIALOG DIALOGEX 12, 12, 206, 329
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
EXSTYLE WS_EX_RTLREADING | WS_EX_APPWINDOW | WS_EX_LAYOUTRTL
|
EXSTYLE WS_EX_RTLREADING | WS_EX_APPWINDOW | WS_EX_LAYOUTRTL
|
||||||
CAPTION "Rufus 1.4.7.453"
|
CAPTION "Rufus 1.4.7.454"
|
||||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||||
BEGIN
|
BEGIN
|
||||||
DEFPUSHBUTTON "Start",IDC_START,94,291,50,14
|
DEFPUSHBUTTON "Start",IDC_START,94,291,50,14
|
||||||
|
@ -427,8 +427,8 @@ END
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 1,4,7,453
|
FILEVERSION 1,4,7,454
|
||||||
PRODUCTVERSION 1,4,7,453
|
PRODUCTVERSION 1,4,7,454
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -445,13 +445,13 @@ BEGIN
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
|
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
|
||||||
VALUE "FileDescription", "Rufus"
|
VALUE "FileDescription", "Rufus"
|
||||||
VALUE "FileVersion", "1.4.7.453"
|
VALUE "FileVersion", "1.4.7.454"
|
||||||
VALUE "InternalName", "Rufus"
|
VALUE "InternalName", "Rufus"
|
||||||
VALUE "LegalCopyright", "© 2011-2014 Pete Batard (GPL v3)"
|
VALUE "LegalCopyright", "© 2011-2014 Pete Batard (GPL v3)"
|
||||||
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
|
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
|
||||||
VALUE "OriginalFilename", "rufus.exe"
|
VALUE "OriginalFilename", "rufus.exe"
|
||||||
VALUE "ProductName", "Rufus"
|
VALUE "ProductName", "Rufus"
|
||||||
VALUE "ProductVersion", "1.4.7.453"
|
VALUE "ProductVersion", "1.4.7.454"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|
Loading…
Reference in a new issue