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

1881 commits

Author SHA1 Message Date
Pete Batard
7d1a3d82cc [syslinux] improve handling of 4.x C32 files
* Download the files from files/syslinux-4.07 on the server
* Save local copy in rufus_files/syslinux-4.07
* Move menu.c32/vesamenu.c32 check to BootCheck()
2014-02-04 20:01:28 +00:00
Pete Batard
d3a0fc9b1d [misc] use "in-place" option when running sed
* Also remove unused "Version" entry
2014-02-03 19:44:52 +00:00
Wayne Ying
152201bf8f [loc] update Chinese (Simplified) translation to 1.0.9 2014-02-01 23:24:30 +00:00
Pete Batard
8db3a26bf7 [misc] optimize for size
* Tests show that it should have much impact on UFD creation speed and helps shave ~15KB with gcc 4.8.x
* Also adjust the version nano so that it matches the number of commits seen by github
* This means there is NO build 399
2014-02-01 00:06:29 +00:00
Pete Batard
f424229e0f [misc] add NTFS compression support
* Only as a cheat mode (Alt-N)
* Also fixes inconsistent MBR partition numbering
* Also update a comment in vhd.c about callback progress (thanks to Erwan)
2014-01-31 02:51:28 +00:00
Кирилл Иванов
189e96762b [loc] update Russian translation 2014-01-30 10:32:56 +00:00
Halamix2
45c678b0c8 [loc] update Polish translation to v1.0.8
* Closes #277
2014-01-28 01:07:51 +00:00
Кирилл Иванов
1b70eec3ea [loc] update Russian translation to v1.0.8 2014-01-28 00:58:40 +00:00
Thilo Langbein
acdba5d035 [loc] update German translation to v1.0.8
* Also fix a typo in Dutch translation
2014-01-28 00:49:06 +00:00
Mehmetali KURAN
e38bf15f23 [loc] update Turkish translation to v1.0.8 2014-01-27 01:33:22 +00:00
ROBERTO
c8aa521a52 [loc] update Italian translation to v1.0.8 2014-01-27 01:25:33 +00:00
Pete Batard
2577337dec [misc] right-to-left and version handling improvements
* Improve right-to-left consistency and handling
* Drop 'v' from version indicators
* Also update version to 1.4.4
* Also fix French translation typos
2014-01-24 20:02:52 +00:00
Pete Batard
8ae158ba22 [loc] add support for right-to-left languages
* Closes #192
2014-01-24 02:46:06 +00:00
Pete Batard
ba9cadd2e6 [core] improve detection for Toshiba UFDs
* For long standing issue #242
2014-01-22 01:44:45 +00:00
Pete Batard
3c2873bbdc [syslinux] fix missing syslinux.cfg creation
* Issue was introduced with 299506056a
* Also improve StrArray definition
2014-01-22 01:28:25 +00:00
Pete Batard
3ae7ec4af5 [core] detect, report and warn when multiple partitions are in use
* Closes #191
* Also fix various minor warnings
2014-01-21 23:09:30 +00:00
Pete Batard
299506056a [syslinux] fix support for recent Syslinux versions
* Detect Syslinux version from isolinux.bin (Closes #272)
* Download required Syslinux v5+ files where needed (Closes #165)
* Also fix an issue where using a Syslinux based ISO didn't switch to ISO mode
* Also alter DownloadFile and ExtractISOFile to return a size
2014-01-21 21:59:09 +00:00
Pete Batard
7e81ec2838 v1.4.3 (build 385) 2014-01-21 10:51:58 +00:00
Pete Batard
d887978192 [core] Fix for Get/SetThreadUILanguage() not being available on XP
* This addresses the issue reported in #274:
  Unable to access kernel32 DLL: [0x0000007F] The specified procedure could not be found.
* Problem was introduced in 897becd290 which was added for #189.
2014-01-21 10:45:49 +00:00
Pete Batard
52076d974d v1.4.2 (build 383) 2014-01-18 22:54:03 +00:00
Pete Batard
3593cced87 [core] fix HP card reader detection 2014-01-18 21:42:47 +00:00
georg1136
ebced16383 [loc] Hungarian translation improvements 2014-01-14 21:05:25 +00:00
Pete Batard
db41c1e63e [core] use custom partition type for old BIOS fix
* We will need that when we fix #191
* Also improve make sys_types.h more comprehensive and fix a small loc issue
2014-01-14 20:10:09 +00:00
Fernando Baptista
945194eebd [loc] additional Portuguese (Portugal) updates 2014-01-12 17:08:00 +00:00
Diogo Novo
8d48ef7113 [loc] update Portuguese (Portugal) translation to v1.0.7 2014-01-12 17:03:52 +00:00
Pete Batard
14fbbfaa2e [efi] zero the MBR when MBR/UEFI is used
* This ensures that an MBR/UEFI UFD can only ever be booted in EFI mode
* Also fix an issue where the same drive was not properly detected ("U:" vs "U:\")
* Also update ReactOS copyright and fix a warning from Cppcheck in parser.c
2014-01-11 00:19:03 +00:00
佚名
642d797ff1 [loc] add Chinese (Simplified) translation
* Closes #198
2014-01-07 23:09:17 +00:00
Pete Batard
ec5ab918cf [core] add UASP support
* Closes #229
2014-01-07 21:21:45 +00:00
Fernando Baptista
bac13ad945 [loc] add Portuguese (Portugal) translation
* Closes #210
2014-01-06 23:35:20 +00:00
Abe Akatsuki
dea4d4e7cd [loc] add Indonesian translation
* Closes #248
2014-01-06 22:44:53 +00:00
Pete Batard
d828500af7 [misc] Fix various issues
* Attempt to remount the drive in case of failure (Closes #270)
* Minor fixes to localization
* Fix errors not being properly reported in DownloadFile()
* Also update ChangeLog.txt for beta
2014-01-05 19:54:19 +00:00
Pete Batard
573ea45640 [core] add support for bare ReactOS boot record installation
* A new "ReactOS" is now available under "Create a bootable disk" when running in advanced mode.
* Using this option will install the ReactOS bootblocks (MBR & FAT PBR) _only_.
  You can then copy freeldr.sys and freeldr.ini to make the drive bootable.
* Also move Rufus MBR installation to ms-sys, and remove mbr.bin resource.
* Also add Rufus MBR detection, remove duplicate records and display MBR type on drive detection
* Also move PBR and MBR analysis calls to drive.c and add a drive.h header
* Also make extraction of embedded loc file more robust
2014-01-05 01:39:41 +00:00
Pete Batard
a0dfb06715 [loc] use the system message font for notifications
* Vista and later use a different system message font than MS Shell Dlg
* For languages such as Chinese, it makes custom notifications look quite
  different from system ones, which is not what we want
* Issue reported by Wayne Ying
2014-01-03 01:57:37 +00:00
Pete Batard
b4e5a148ce [misc] minor improvements to the About dialog
* Bigger dialog, larger font, etc.
* Also fix a MinGW warning in parser.c
2014-01-03 01:26:38 +00:00
Pete Batard
e9e27d7034 [core] add ReactOS support
* Use Syslinux v4 and mboot.c32 to chainload setupldr.sys
* Closes #266
2014-01-02 23:21:30 +00:00
Pete Batard
6e1b50b7a0 [loc] fix various localization issues
* MSG_092 is still being used
* Typo in MSG_245
* Add example in English translation for changing the About->OK button text
* Issues reported by Wayne Ying
* Also update copyright year
2014-01-02 00:20:48 +00:00
Pete Batard
0f02284164 [loc] fix crash when two Rufus applications are running
* Closes #261
* Also remove the need for a separate get_loc_data_file call to
  initialize the en-US messages
* Also fix a possible issue with setLGP
2013-12-28 16:48:02 +00:00
Pete Batard
83a9ec472c [core] fix slowdown when copying ISO files
* This slowdown was introduced in 897becd290 as the use of
  SetThreadUILanguage apparently incurs a massive performance drawback.
* Closes #259
* Also fix a possible issue where the blocking operation message could appear twice
* Also improve the French translation
2013-12-28 01:27:09 +00:00
Pete Batard
92fd7636a7 [loc] fix multiple issues with the ISO progress dialog
* Fix language not being applied when switching locale
* Disable controls when scanning is in progress
* Fix Cancel button staying disabled
* Also fix trailing whitespaces and typo in loc file
* Closes #258
2013-12-27 16:06:59 +00:00
Pete Batard
d5a02c63f1 [loc] fix localization for notification dialog titles
* Also fix double columns from the update dialog
* Issues reported by Wayne Ying
2013-12-25 22:45:29 +00:00
Pete Batard
24e73c5e10 [efi] set UEFI mode when a pure EFI ISO is selected
* Closes #168
* Also fix various VS Code Analysis warnings
2013-12-22 20:48:57 +00:00
Pete Batard
63e1fe3d55 [loc] persits the user-selected locale
* ...since it seems this is what most Rufus users want.
* Also fix a typo in the Malay translation (reported by hyxer)
* Closes #250
2013-12-22 18:28:38 +00:00
Pete Batard
36693d2144 [core] detect memory cards in card readers
* Also remove drives with no media from the list
* Closes #18
2013-12-20 18:32:10 +00:00
Pete Batard
897becd290 [loc] set chkdsk and format output to use English locale
* Also fix percentage not being displayed when using slow format
* Also use GetUserDefaultUILanguage() rather than GetUserDefaultLCID()
  to get the user preferred locale.
* Closes #189
2013-12-20 03:20:07 +00:00
Pete Batard
18c9df18b5 [loc] set log messages to use English locale
* This is done to ensure I can understand logs that are sent to me,
  even when a non English locale is used.
* Closes #188.
2013-12-19 23:56:40 +00:00
Pete Batard
f3cf32f8d8 [loc] use a direct table for the messages
* More efficient and also the first step for addressing #188
2013-12-18 01:20:44 +00:00
Pete Batard
c9d44a5303 [core] HDD vs UFD improvements
* This should address the improperly listed UFDs from #242
2013-12-15 21:58:33 +00:00
Pete Batard
7c35343da7 [loc] add support for Locale registry setting
* Closes #246
* Also bump version
2013-12-15 21:27:25 +00:00
Muhammad Aman
1f5fc8ab33 [loc] add Malay translation 2013-12-13 01:45:23 +00:00
Кирилл Иванов
675c423f75 [loc] update Russian translation 2013-12-11 19:05:20 +00:00
Pete Batard
d2b623fbfa [efi] add NTFS support
* As reported at http://www.eightforums.com/tutorials/15458-uefi-bootable-usb-flash-drive-create-windows-27.html#post309665
  and http://forums.mydigitallife.info/threads/46981-Install-Win8-Windows-8-1-UEFI-With-a-Over-sized%28over-4GB%29-install-wim
  it is actually possible to boot and install an EFI system from an NTFS drive
* Closes #228
2013-12-11 19:00:57 +00:00
Pete Batard
e899fc0e61 [core] fix a conflict with Windows automount drive letter assignation
* Closes #239
2013-12-10 19:30:12 +00:00
Pete Batard
56c6b15feb [core] (re)add a retry when writing ISO files
* Fixes the issue that caused a revert of 0206e2036e
  (in c93798b877). The issue was that an active index
  was being reused and modified, for ISO9660 images, which could wreck havoc when
  writing the data blocks.
* Closes #176 (again)
2013-12-06 23:31:41 +00:00
Pete Batard
34f467a26e [format] only clear the extra 1MB for large FAT32
* Clearing that extra MB can take a long time on slow drives
2013-12-06 23:07:30 +00:00
Pete Batard
77234442f7 v1.4.1 (build 348) 2013-12-05 12:26:21 +00:00
Pete Batard
e0fb91cabb [loc] add a validity check for the loc file (DOS mode, no BOM)
* Closes #238
2013-12-05 12:24:20 +00:00
Pete Batard
c93798b877 [oops] revert write retry as it breaks Syslinux
* This reverts 0206e2036e
* Closes #240
2013-12-05 11:43:49 +00:00
Matej Horvat
858f141d56 [loc] add Slovenian translation
* Closes #214
2013-12-04 22:04:42 +00:00
Pete Batard
abb180c2c4 [core] layout buffer is to small for drives with weird partitioning
* If you have a bunch of extended partitions, 1024 may not be enough
* Issue reported by Bart Zorn
* Also fix a ChangeLog typo
2013-12-03 23:56:43 +00:00
Pete Batard
054035fea8 v1.4.0 - TAKE THREE (build 343) 2013-12-02 21:16:18 +00:00
Pete Batard
c4b2c4815f [loc] reflect the last fix with a version bump 2013-12-02 20:54:54 +00:00
Pete Batard
0b9f20898f v1.4.0 - TAKE TWO (build 341)
* Of course, it's right after the release that you notice
  the BIOS/UEFI/GPT/MBR messages were out of order...
2013-12-02 20:04:56 +00:00
Pete Batard
504c356f4e v1.4.0 (build 340) 2013-12-02 18:54:47 +00:00
Pete Batard
cb3de685ee [misc] fix MinGW and Clang warnings
* Also fix "MSG_176 UNTRANSLATED" for English and Chinese
2013-12-02 18:24:54 +00:00
Kostantinos Margaritis
acac7504f3 [loc] add Greek translation
* Closes #203
* Closes #233
2013-12-01 20:43:37 +00:00
Piotr Halama
8e7ee1c9c1 [loc] add Polish translation
* Closes #208
* Closes #232
2013-12-01 20:06:18 +00:00
Roberto Pino
28d3423c5c [loc] add Dutch translation
* Closes #201
2013-12-01 00:02:08 +00:00
e8939144e7 [loc] add Chinese (Traditional) translation
* Closes #197
2013-11-30 23:47:18 +00:00
Pete Batard
e163ecb9eb [misc] last minute fixes and improvements for v1.4.0
* Fix missing DOS codepages for Asian languages (reported by Kyle)
* Fix wrong label being reported when an USB HDD is present (reported by NaJiyoun)
* Fix potential issue with error message reporting
* Fix ISO button being truncated on high DPI displays
* Improve French and Korean translations
* Improve launch of updated application
2013-11-30 17:39:38 +00:00
José Pineda
7ba9ee6505 [loc] update Spanish translation 2013-11-25 23:04:03 +00:00
Gintaras Venslovas
919e223350 [loc] add Lithuanian translation
* Closes #231
2013-11-25 23:00:23 +00:00
Pete Batard
fc44080110 [misc] improve cheat modes
* Alt-F usage was not reflected on the UI (suggested by José Pineda)
* Alt-L usage was not reflected on the UI
* Also update ChangeLog.txt for BETA 2
2013-11-25 22:34:26 +00:00
NaJiyoun
f49aa8627f [loc] add Korean translation
* Closes #206
2013-11-23 22:56:54 +00:00
Tom Thornhill
a5f98d636f [format] fix large FAT32 format for GPT drives
* Also set FSCTL_ALLOW_EXTENDED_DASD_IO before locking a drive
* Closes #181
2013-11-23 22:55:17 +00:00
Pete Batard
fcf16fed25 [iso] update libcdio to latest
* Also remove MSG_176 from English version
* Also perform additional cleanup and remove a Clang warning
* Closes #224
2013-11-23 22:09:39 +00:00
Pete Batard
f97f60d55a [misc] miscellaneous cleanup
* move Spanish translation to its expected location
* set gitattributes for the loc file
* update license, factorize is_x64(), remove unwanted messages
2013-11-23 00:46:06 +00:00
Gîrlea Alexandru
5deaddaab7 [loc] update Romanian translation to v1.0.3 2013-11-18 21:02:59 +00:00
José Pineda
6224185a0c [loc] add Spanish translation
* Closes #215
2013-11-18 21:02:10 +00:00
Кирилл Иванов
e75f4f3a52 [loc] add Russian translation
* Closes #212
* Also remove exclamation marks for "no new version" message
2013-11-18 20:10:02 +00:00
Thilo Langbein
4bcfa927a4 [loc] update German translation to v1.0.3 2013-11-17 22:45:43 +00:00
georg1136
afa5ed16b0 [loc] update Hungarian translation to v1.0.3 2013-11-17 22:41:33 +00:00
ROBERTO
46e347f472 [loc] update Italian translation to v1.0.3
* Also improve ChangeLog.txt readability
2013-11-17 22:37:08 +00:00
Pete Batard
0206e2036e [core] add a retry when writing ISO files
* Closes #176
* Also fix a crash when displaying an error message (MSG_043 requires a parameter)
* Also display an informative message on interfering security solutions when writing an autorun.inf
* Also revert x64 MSVC target to non-XP so that it can be used for Code Analysis
2013-11-17 22:24:50 +00:00
Mehmetali KURAN
cbec9daaee [loc] update Turkish translation to v1.0.3 2013-11-17 01:44:10 +00:00
Pete Batard
d298c2918b [core] UFD vs HDD improvements
* Fix an issue where the parsed drive_type was from the wrong drive
  and remove the global variable
* Add a size check for the score, as well as a GetDriveSize call
* Also update the French translation to v1.0.3
2013-11-17 01:39:43 +00:00
Pete Batard
5d51610c70 [core] finalize UFD vs HDD detection
* Closes #219
2013-11-15 21:39:40 +00:00
Pete Batard
aa0bf0ee2b [core] add HDD vs UFD detection
* Initial scoring to try to differentiate UFDs from HDDs (#219)
* Also improve GetDriveLetter() and add a global for fixed vs removable
* Also fix a bug with reporting of VID:PID with multiple devices
* Also fix a warning in localization
2013-11-14 01:21:50 +00:00
Pete Batard
803a4bff1c [core] SMART/ATA over USB initial support
* This is meant to be used as part of #219
* Also improve WindowsErrorString() so that it doesn't alter the current errcode
2013-11-13 01:07:32 +00:00
Pete Batard
8d50a8491f [core] retrieve the VID:PID of the USB devices enumerated 2013-11-13 00:14:03 +00:00
Gîrlea Alexandru
9f76b758ad [loc] update Romanian translation to v1.0.2
* Also fix a typo in German translation
2013-11-09 01:16:40 +00:00
GIRLEA Alexandru
806d546193 [loc] add Romanian translation 2013-11-06 00:17:44 +00:00
ROBERTO
b09fbe4f74 [loc] update Italian translation for v1.0.2 2013-11-05 23:39:04 +00:00
georg1136
52272d2662 [loc] updated Hungarian translation for v1.0.2
* Also fix some spelling mistakes in English comments
2013-11-05 23:28:20 +00:00
Thilo Langbein
a64a1bdcdb [loc] update German translation to v1.0.2 2013-11-05 23:18:26 +00:00
Pete Batard
86d5f02a20 [misc] improve Windows version detection
* Also update README.txt
* Closes #220
2013-11-05 02:16:49 +00:00
Mehmetali KURAN
c6da7311b0 [loc] hash functions improvements
* Fix a leak when freeing the hash table (actual size is htab_size+1)
* Use a better hash algorithm
* Use a larger table with a size already set to a prime
2013-11-02 18:45:06 +00:00
Mehmetali KURAN
434bae8954 [loc] Add Turkish translation
* Closes #218
2013-11-01 22:37:25 +00:00
Thilo Langbein
3f2424d371 [loc] Add German translation
# Closes #195
2013-11-01 22:12:11 +00:00
Pete Batard
c544429606 [loc] use a single rufus.loc as translator base
* Remove the need to maintain a new_translation.loc
* Add a sed invocation to remove comments and unwanted stuff
  to generate a final embedded.loc
* Note: sed is only invoked for MinGW.
  MS compilers still embed the unmodified rufus.loc.
* Also fix a small bug when parsing the version.
2013-11-01 21:53:48 +00:00
Pete Batard
c44fa3969d [format] existing volumes with the name "New Volume" should be renamed
* Closes #104
2013-10-31 23:16:44 +00:00
Pete Batard
59496e53c0 [misc] warn about UDF formatting times and 64k MS-DOS
* Closes #149
* Closes #180
2013-10-31 22:59:53 +00:00
Pete Batard
7d2519675c [iso] ignore extra nameless files on some UDF images
* Closes #155
2013-10-30 20:29:55 +00:00
Pete Batard
44cc7ea652 [loc] add [v]ersion command support 2013-10-30 20:28:56 +00:00
ROBERTO
d3a495aa83 [loc] complete Italian translation 2013-10-29 19:43:01 +00:00
Pete Batard
6bba8f646b [loc] fix untranslated messages for "another application in use"
* Issue reported by georg1136
2013-10-29 01:40:00 +00:00
Pete Batard
af12d0f8d7 [loc] fix resizing in height
* Also clarify some translations
2013-10-28 17:34:18 +00:00
georg1136
39c6d4e1a7 [loc] add Hungarian translation 2013-10-28 17:26:07 +00:00
Pete Batard
5354d2f6ca [iso] sanitize invalid FAT & NFTS filenames
* Also fix support for labels containing double quotes
* Closes #135
* Closes #193
2013-10-27 00:05:54 +01:00
Pete Batard
df44b26342 [loc] add language selection menu 2013-10-24 22:59:20 +01:00
Pete Batard
92abacad62 [loc] add a menu.c32 test ISO image 2013-10-22 23:15:13 +01:00
Pete Batard
310ed2fb53 [loc] add an option to force update
* This is meant to be used by translators for testing the UI
* Also fix the positioning and centering of boilerplate on the new version dialog
* French translation improvements
2013-10-22 22:46:59 +01:00
Pete Batard
08799953bf [loc] add MinGW includes for translators
* This is meant to be used with resedit (http://www.resedit.net/) to find out the ID of the UI controls
* Also update names for the language selection menu
2013-10-20 21:36:18 +01:00
ROBERTO
1c98419268 [loc] Improve Italian translation
# Closes #187
2013-10-19 17:10:31 +01:00
Pete Batard
c604bee9ef [loc] misc. fixes
* Use IDCANCEL for license dialog
* Remove Chinese duplicates
* Remove dev debug message
2013-10-19 17:10:06 +01:00
Pete Batard
b19bcdefb9 [loc] fix override of translation commands from separate dialogs
* Hashed string was missing the dialog ID. This means that something like:
    g IDD_DIALOG1
    t IDC_CONTROL "Hello"
    g IDD_DIALOG2
    t IDC_CONTROL "Goodbye"
  would result in "Goodbye" appearing on dialog 1.
2013-10-19 15:48:22 +01:00
Pete Batard
803fe30709 [loc] add Italian translation
* Courtesy of 'bovirus'
2013-10-18 23:27:04 +01:00
Pete Batard
4046861392 [loc] fix dialog command overrides
* Rufus wasn't overwriting the previous localization command
  if an updated one was being provided.
* Add hash functions required for a more efficient lookup
* Also improve some French translations
2013-10-18 23:08:49 +01:00
Pete Batard
4e840a6995 [loc] fix a crash on exit
* Don't free loc_filename if it points to embedded name
* Also fix resizing of main dialog
2013-10-17 20:42:03 +01:00
Pete Batard
ff28e2027c [loc] fix various localization issues
* Fix missing [b]ase for Chinese and French
* Fix infinite loop when [b]ase is not available for default
* Fix resizing of main dialog forces forcing pos to 0,0
2013-10-17 20:12:16 +01:00
Pete Batard
1cdb58462b [loc] misc. fixes and improvements
* Add support for LCID provision to option -l
* Fix French translation
* Fix memory leak for loc_filename
* Don't delete an external 'rufus.loc' file if present
* Use IETF normalized tags
* Add quick instructions and sample for translators in new_translation.loc
* Improve About dialog
2013-10-16 20:45:34 +01:00
Pete Batard
521e8f00f3 [misc] fix editing of resource file with VS2012
* Fix "warning RC4005: '__useHeader': redefinition" that prevents
  opening the RC file in Visual Studio 2012 when XP mode is enabled.
2013-10-16 18:52:20 +01:00
Pete Batard
df06727416 [loc] add localization support
* This is a merge up to commit bd319269aa of the localization branch
* Also fixes Clang warnings
2013-10-15 23:25:54 +01:00
Pete Batard
cf3964c8a3 [iso] upgrade to libcdio latest
* This should fix #179
* Also bump rufus-next to v1.4.0
2013-10-14 00:31:20 +01:00
Pete Batard
3c438db3fd [iso] add smart testing for Rock Ridge over Joliet
* Some ISO9660 images (such as Ubuntu) use both Joliet and Rock Ridge,
  so we have to make a choice which should be preferred.
* Since Rock Ridge allows a greater filename length compared to Joliet,
  we perform our scan pass with Joliet disabled, to find out if RR is
  being used and if a filename longer than 64 chars exist. If that is
  the case, we'll perform the extraction using RR, else we'll use Joliet.
* Also add Alt-J and Alt-K to toggle Joliet/Rock Ridge
* Closes #178
2013-10-14 00:02:32 +01:00
Pete Batard
5b2e4d1721 [ui] prevent flicker on large FAT32 format.c
* Also convert 1.4TB FAT32 autolabel to 1_4TB rather than 14TB and
  use 2 decimal points rather than 1
2013-09-22 03:54:50 +01:00
Pete Batard
2945389edc [core] fix large FAT32 formatting for > 1TB disks
* Closes #159
2013-09-22 03:28:56 +01:00
Pete Batard
55ef384277 [syslinux] Update Syslinux v4 to 4.07 2013-08-14 00:53:28 +01:00
Pete Batard
5f161c91b3 [vs] update VS2012 project settings
* Enable XP mode
* Set VS compilation to C mode, multiprocessor
* Unset culture
2013-07-21 21:30:55 +01:00
Pete Batard
b5143b0d84 [oops] fix MinGW compilation broken with previous commit 2013-07-21 21:13:28 +01:00
Pete Batard
0defc28b09 [wdk] fix _fseeki64 could not be located in msvcrt.dll on XP
* Closes #162
* Also remove unwanted SetThreadLocale() in rufus.c
2013-07-21 20:56:20 +01:00
Pete Batard
b24347d47e [locale] fix multiple issues with DOS localization
* The wrong names were being used for the kbd SYS files
* Also fix a typo and improve fallback
* Closes #160
2013-07-18 00:14:43 +01:00
Pete Batard
e661eff9ae [syslinux] silence a MinGW warning in libfat
* Also fix a typo in ChangeLog.txt
2013-07-18 00:10:29 +01:00
Pete Batard
862365c01a v1.3.4 (build 270) 2013-07-15 19:03:33 +01:00
Pete Batard
4ac182830d [core] add UDF filesystem support
* Only supported on Vista or later
* Also disable exFAT for XP (requires a KB => not worth it)
* Also improve display of partition data for type 0x07
* Also fix and issue where exFAT/UDF would try to modify PBR
* Also logically move and simplify some of the code
* Closes #157
2013-07-09 00:14:29 +01:00
Pete Batard
081f1eefe7 [net] fix and exception with HttpOpenRequest()
* As the MSDN doc says, "Failing to properly terminate the (lplpszAcceptTypes)
  array with a NULL pointer will cause a crash."
* Also switch to HttpSendRequestA() since we have no use for W there.
2013-07-08 21:28:44 +01:00
Pete Batard
bb2949e557 [core] limit large FAT32 to 1 TB
* 1.5 and 2 TB formatting is too flaky for now - remove it
* This limitation can be disabled with Alt-S
* Also fix various smaller issues
2013-07-05 23:58:04 +01:00
Pete Batard
0938c56fdc [syslinux] fix crash when installing syslinux on large drives
* The check for minfatsize seems erroneous, and libfat_open()
  errors weren't checked in syslinux.c anyway
* Closes #156
2013-07-05 22:26:47 +01:00
Pete Batard
d81ca7de24 [core] reinstate the call to DeletePartitions()
* But use IOCTL_DISK_CREATE_DISK and not IOCTL_DISK_DELETE_DRIVE_LAYOUT
* Also improve messaging and increase detection timeout to 15 seconds
2013-07-05 22:20:46 +01:00
Pete Batard
967ad1da33 [core] remove the call to IOCTL_DISK_DELETE_DRIVE_LAYOUT
* As per issue #122, this creates problems when formatting a drive in FAT16
* Also remove an unnecessary backslash in icon.c
2013-07-04 22:51:15 +01:00
Pete Batard
9925cc945d [syslinux] download c32 files in the same directory as the app
* Rufus was downloading c32 files in the last directory browsed, which
  meant that the same file may have had to be downloaded more than once
* Closes #154
2013-07-02 00:45:47 +01:00
Pete Batard
91f2cbafe9 [oops] fix elevation when compiled with VS2012
* Visual Studio requires the settings from the manifest to be duplicated
2013-06-30 03:02:59 +01:00
Pete Batard
e5da529eca [core] force elevation for unprivileged users
* Using "highestAvailable" elevation allows standard users to run Rufus
  without being prompted for elevations, which prevents them from both
  detecting and formatting USB drives
* Since non administrator access is useless, switch to "requireAdministrator"
* Closes #153
* Also fix small issues with saving log and syslinux detection report
2013-06-30 02:32:51 +01:00
Pete Batard
bbab5a148d [ui] log display improvement
* Shift main dialog left in case of overlap
* Fix loss of application focus when displaying the log
* Display Windows version in the log
* Also switch to LZMA for UPX compression
* Closes #148
2013-06-25 23:46:53 +01:00
Pete Batard
6be21bbdbc [core] more drive handling improvements
* Use retries when locking the volume
* Wait for volume availability after partitioning
* Don't halt on errors that can be ignored
* Other small improvements and fixes
* The above should help with addressing #122
2013-06-25 18:39:07 +01:00
Pete Batard
cd5665881c [core] drive handling improvements
* Use IOCTL_DISK_UPDATE_PROPERTIES after partitioning
* Use IOCTL_DISK_DELETE_DRIVE_LAYOUT to invalidate partitions before formatting
* Fix handling of unpartitioned drives
* Increase delay after partitioning
* All of the above should help with the infamous #122
* Also fix display of error messages in ms-sys' file.c as well as stdio.c
* Also add commandline option -f to list fixed drives
2013-06-25 02:55:25 +01:00
Josh Soref
fe3b1eb6f6 [misc] fix spelling mistakes
* Closes #147
2013-06-22 01:15:36 +01:00
Pete Batard
f8c6903d21 [iso] fix support for ISOs with >4GB files
* The creation of UFDs with >4GB files should be allowed for NTFS
* Closes #146
* Also switch MessageBoxA() to UTF8 and update some of the message titles
2013-06-16 22:49:06 +01:00
Pete Batard
163c68d65d [misc] don't list an USB drive if Rufus is running from it
* Suggested by josiasmat
* Closes #143
2013-06-15 22:43:45 +01:00
Pete Batard
1dbaff6897 [syslinux] complete Syslinux v5 support
* Add download and copy of mandatory ldlinux.c32 to target
* With previous patch, this should address all Syslinux v5 related issues
* Closes #142
2013-06-15 17:31:55 +01:00
Pete Batard
df5bce297d [syslinux] initial Syslinux v5 support
* Use .bss and .sys from Syslinux v5.10
* Advanced options allow you to choose between v4 and v5
* Rufus does not currently copy any ldlinux.c32 to the target
2013-06-14 01:55:48 +01:00
Pete Batard
0e1c474ca0 [syslinux] add detection for Syslinux/Isolinux v5.0
* This is not full Syslinux v5.0 support, but only to prevent the (vesa)menu.c32 message from displaying
* Uses the mandatory inclusion of ldlinux.c32 in Isolinux v5.x for the detection
* Part of a fix for #142
2013-06-13 23:46:52 +01:00
Pete Batard
0b64ef1210 [misc] set rufus-next to 1.3.4, update copyright year
* Copyright year in trhe about dialog had not been updated
2013-06-13 23:19:20 +01:00
Pete Batard
b52eb6d81a v1.3.3 (build 250) 2013-06-10 21:57:13 +01:00
Pete Batard
bb1e7c0b2f [misc] use UTF-8 for confirm dialog and fix RC 2013-06-08 01:59:34 +01:00
Pete Batard
e1ff2a5273 [misc] improve messages and dialogs 2013-06-06 23:40:37 +01:00
Pete Batard
b0e131e5e4 [iso] upgrade libcdio track and sector handling
* From latest git version of libcdio
2013-06-04 01:03:56 +01:00
Pete Batard
d3238d7210 [misc] fix MinGW compilation issues 2013-06-04 00:44:49 +01:00
Pete Batard
a17acd1a22 [ui] add fixed disk detection to the advanced options
* Tie unpartitioned drive listing to the fixed disk option
* Also ensure that the log and main dialog windows are the same size
2013-06-03 21:32:22 +01:00
Pete Batard
22808893bc [misc] small enhancements
* Add detection for user cancellation during between atomic format operations
* Clear existing PBR along with MBR/GPT data
* Improve log messages
2013-06-03 19:55:23 +01:00
Pete Batard
26f807530d [iso] fix broken bootmgr detection
* Closes #144
* Also fix broken WDK compilation
2013-05-19 23:02:16 +01:00
Pete Batard
199b9f4869 [misc] fix various minor issues
* Raise the size of vesamenu.c32 threshold, a per #140
* Fix a missing backslash when checking for autorun.inf
* Only set boot flag is requested by the user
2013-05-01 23:43:44 +01:00
Pete Batard
8e9777579b [core] Fix active MBR partition not being set
* Related to issue #128
* Also reported by Owen Yang
2013-04-08 00:14:28 +01:00
Pete Batard
4da36fa321 [core] low level drive handling redesign
* Better split of physical vs logical
* Add handling of unmounted volumes by GUID
* Force large FAT32 cheat mode
* Improve user messages and fix some UI issues
2013-04-08 00:10:58 +01:00
Pete Batard
d56615cd20 [misc] remove duplicate icon set 2013-03-04 22:25:24 +00:00
Pete Batard
63e6c02f02 [core] allow detection and format of "raw" drives
* eg. GPT drives with no partitions were not enumerated by default
* fixed disk mode needs to be enabled for this detection to occur
* also fix the unwanted use of a drive letter in GetDrivePartitionData
* also add a check for going over MAX_DRIVES
* also fix improper separator line in FreeDOS menu due to UTF-8 source
* closes #124
2013-02-10 21:56:21 +00:00
Pete Batard
a16d35698f [misc] various fixes and improvements
* add commandline usage guide
* use -w 150 instead of /W for updated app launch
* fix enabling/disabling of advanced options for UEFI/exFAT
* test for >4GB files for UEFI
* fix warning with freopen
2013-02-04 23:15:11 +00:00
Pete Batard
932df022c5 [cmdline] initial commandline support
* part of issue #111
* add getopt dependency for MS compilers
* enable the provision of an ISO as parameter
* also fixes shadowed sevenzip_path in vhd.c
2013-02-04 01:14:28 +00:00
Pete Batard
d2e7e003c3 [efi] check for 7-zip path in HKLM
* Closes #121
* Also update registry handling
* Issues reported by Ronny Kalusniok
2013-02-02 16:57:46 +00:00
Pete Batard
c51bf5ce45 [misc] set rufus-next to 1.3.3, update copyright
* update copyright year
* switch relevant files to UTF-8 (without signature).
  It's 2013 for crying out loud:  if your file editor or file viewer
  can't handle plain UTF-8, go back to the 1980s!
* also rename autogen.sh to bootstrap.sh
2013-02-02 15:47:56 +00:00
Pete Batard
f1902c0040 [dos] remove the fixed drive letter from system files
* On some systems, the UFD may boot as A:, not C:, in which case
  FreeDOS and WinME DOS will fail to be setup properly
* Fix suggested by Klaus Hohenauer
2013-01-30 23:24:02 +00:00
Pete Batard
4b0196de32 v1.3.2 (build 232) 2013-01-27 21:01:43 +00:00
Pete Batard
0cc39d0222 [efi] add mbr UEFI marker for partition scheme reselection
* without the marker, an UFD created as MBR for UEFI will be seen
  as MBR for BIOS + UEFI. We want Rufus to be able to select the
  settings that were used for the drive creation.
* Also hides #116 under the carpet and fix non RUFUS_DEBUG compilation
2013-01-27 20:56:57 +00:00
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
Pete Batard
c1a8135d30 [misc] more pre 1.1.0 improvements 2012-02-07 23:16:15 +00:00
Pete Batard
5d58b83ed8 [iso] cancellation improvements
* remove threaded cancellation, detect blocking and warn instead
* also add hidden shortcut to disable ISO size check
2012-02-07 16:17:14 +00:00
Pete Batard
d1f41309a9 [misc] increment version to rufus-next
* also fixed ms-config.h
2012-02-07 02:08:47 +00:00
Pete Batard
472db8b592 [iso] bootable NTFS from ISO image [EXPERIMENTAL]
* bootmgr ISOs only
* extraction and ISO support UI improvements
* UTF8 support through CreateFileU
* cancellation on ISO file extraction
* switch to using CreateThread
2012-02-07 02:05:58 +00:00
Pete Batard
22276ccb5a [core] add tactical volume re-mount post format 2012-02-05 19:54:48 +00:00
Pete Batard
d1e4ba278b [ntfs] add bootable NTFS support
* NTFS boot records in ms-sys
* also added debug duplication to PrintMessage
* also fixed controls staying enabled during formatting
2012-02-03 18:19:50 +00:00
Pete Batard
bb0c0ecb1c [core] fixed non detection of USB drives on some platforms
* STORAGE_DEVICE_NUMBER.DeviceNumber is not unique! Optical drives and
  HDDs can have the same number
* Use GetDriveType() to filter unwanted devices
* closes #32
2012-02-02 19:47:08 +00:00
Pete Batard
4eaae9a7f8 [ui] early ISO/NTFS bootable support (doesn't do anything yet)
* enable ISO for ntfs
* enable ISO selection with FileDialog
* also move UI init to its own function
2012-02-02 13:17:43 +00:00
Pete Batard
fd0e6d4b3b [iso] UI ISO support improvements
* add ISO scan and extract progress dialog
* compute sizes and set properties
* allow cancellation
* minor other updates
2012-02-01 14:26:36 +00:00
Pete Batard
013db6a6d8 [msvc] update solution files and add missing config.h 2012-01-31 17:39:54 +00:00
Pete Batard
d5deb33357 [oops] add missing MSVC solution file 2012-01-31 12:53:59 +00:00
Pete Batard
5bd86bc743 [iso] initial ISO image support (EXPERIMENTAL)
* from libcdio: http://www.gnu.org/software/libcdio/
2012-01-31 01:40:22 +00:00
Pete Batard
9d2f9faa70 [sl] add chain.c32 module for embedding
* also minor updates
2012-01-12 18:55:30 +00:00
Pete Batard
b6252a913a [sl] syslinux support (MinGW)
* also fixes memory leak in syslinux.c
* closes #31
2012-01-12 11:05:09 +00:00
Pete Batard
acf7d072b0 [sl] syslinux support (EXPERIMENTAL)
* MS platforms only (*BREAKS* MinGW)
2012-01-12 02:52:40 +00:00
Pete Batard
130afd8294 [msvc] move FreeDOS config option to a header file
* use toplevel ms-config.h for options, rather than duplicate project files
* applies for MSVC and WDK
2012-01-11 11:09:40 +00:00
Pete Batard
e49549d26a [misc] moved binary resources to /res subdirectory 2012-01-11 00:25:15 +00:00
Pete Batard
dc010cc418 [misc] separated ms-sys dependency from application
* set ms-sys to be built as a library
* also removed unused code from badblocks.c
2012-01-11 00:05:16 +00:00
Pete Batard
01d1d74f04 [bb] allow selection of nb passes/patterns
* also removed nd/ro tests as unlikely to be used
2012-01-08 23:41:20 +00:00
Pete Batard
35edfb0218 [freedos] more intuitive menu selection for kb locale
* !MENUCOLOR brings FreeDOS closer to WinME selection menu
2012-01-08 23:39:33 +00:00
Pete Batard
55e6cd8023 [mingw] added --with-freedos to configure
* default is enabled (=> add --without-freedos to disable)
* also update the release process as a result
* also update version to rufus next
* also fixed FreeDOS embedded files lost when RC is edited in Visual Studio
2012-01-06 16:46:27 +00:00
Pete Batard
3187f71933 v1.0.6 (#109)
* removed TODO (duplicates github feature)
* updated copyrights to 2012
* fixed MS only rufus VS2010 solution file
* fixed a Clang warning in SetLGP
2012-01-03 00:50:00 +00:00
Pete Batard
d27e73137d [bb] generate a log report when bad blocks are found
* closes #6
2011-12-30 21:23:13 +00:00
Pete Batard
8db7e1720a [misc] added magic key to delete autorun LGP
* Alt-D can be used to reset autorun policy
* can be useful if app crashed
2011-12-30 17:58:18 +00:00
Pete Batard
cc30e160da [misc] increment version to rufus-next
* also updated FreeDOS components and TODO
2011-12-28 21:21:38 +00:00
Pete Batard
526a125463 [locale] fixed file attributes for FreeDOS locale files
* closes #26
2011-12-25 23:19:02 +00:00
Pete Batard
75e94c1087 [locale] finalized DOS keyboard locale setup
* added FreeDOS support
* closes #3
2011-12-25 22:43:51 +00:00
Pete Batard
7fbee9d6d7 [locale] added FreeDOS locale files 2011-12-25 22:21:49 +00:00
Pete Batard
64949c27e1 [locale] set DOS keyboard locale (experimental)
* sets DOS locale using the same algorithm as MS' diskcopy.dll
* uses CONFIG.SYS menu to allow US vs non US selection
* only applies to WinME/MS-DOS for now (no FreeDOS)
* also renamed msdos.c -> dos.c with minor improvements
* also added missing FreeDOS credits in about dialog
2011-12-21 00:53:31 +00:00
Pete Batard
ae00aa3f59 [ui] updated title for FreeDOS version
* also pre-release cycle version increment
* also update make release script for new naming scheme
2011-12-18 01:15:32 +00:00
Pete Batard
5722300063 v1.0.4 (#100)
* closes #22 (missing CloseHandle for FreeDOS' AUTOEXEC.BAT)
* split rufus and rufus_fd solution files (VS2010)
* error messages small improvements
* since we're on Windows, use .txt extension for README and TODO
2011-12-16 23:24:16 +00:00
Pete Batard
80f12bce4d [freedos] fixes CHS warning and date/time prompt
* create an empty AUTOEXEC.BAT file to avoid date/time prompt
* use a patched version of KERNEL.SYS from 2011.12.16 FreeDOS SVN to avoid CHS warnings
  see freedos/readme.txt for details
* also removed read-only attribute on COMMAND.COM and KERNEL.SYS to allow SYS CONFIG
* also
* closes #19
* closes #20
2011-12-16 17:11:19 +00:00
Pete Batard
6def8f8abe [freedos] finalize rufus and rufus_fd breakdown
* closes #21
2011-12-15 17:05:19 +00:00
Pete Batard
849f61a80f [freedos] separate non FreeDOS and FreeDOS builds into rufus and rufus_fd 2011-12-15 15:53:33 +00:00
Pete Batard
f72b298c03 [freedos] initial FreeDOS support
* closes #2
2011-12-15 00:46:47 +00:00
Pete Batard
ed4297609e [fat] use ms-sys' partition_info source to correct Disk Drive ID
* Disk Drive ID fixup for FAT32 was already available in ms-sys with option -p
* modified code to add FAT16 as well as FAT32 support as well as minor fixes
* reverts previous patch write_fat_32_br() and write_fat_16_br()
2011-12-14 20:48:20 +00:00
Pete Batard
0600005a09 [fat] improve FAT32 boot record setup
* write primary and secondary boot records
* add offset provision for sector write
* improved detection reports for MBR, FAT16 and FAT32
2011-12-13 23:29:09 +00:00
Pete Batard
36fa9cee23 [ui] reorganize format options in their chronological order
* also remove provisions for keyboard shortcuts as they don't work
2011-12-13 17:52:03 +00:00
Pete Batard
5dcd8f4e8f v1.0.3
* fixed issue #16 - crash during format on XP
* fixed issue #17 - non bootable drives when created in XP
* for more info on the problem and fix, see the issues above
2011-12-13 02:10:27 +00:00
Pete Batard
57de1cbe40 [misc] pre 1.0.3 update
* fixed remaining Clang warnings in badblocks.c and configure.ac
* removed beta and updated version to 1.0.3
2011-12-13 02:06:59 +00:00
Pete Batard
d59854ef4f [ui] improve the allowed cluster sizes
* follow what MS/FormatEx actually allow
* closes #15
* also fixed potential empty selection in cluster size dropdown
* also improved Local Group Policy handling
2011-12-12 14:22:40 +00:00
Pete Batard
72485b7568 [misc] disable new drive notification while app is running
* new drive notifications from explorer are annoying
* use Local Group Policy to temporarily disable them
* also fixed missing SetupDiDestroyDeviceInfoList call
2011-12-11 23:38:16 +00:00
Pete Batard
df7a0b1fc3 [format] added volume unmount and improve logic
* acquire a vomume handle and unmount the volume before anything else
* remove the volume access check after partitioning - use a small delay instead
2011-12-11 02:19:38 +00:00
Pete Batard
78ad099bf9 [internal] update app URL as well as scripts 2011-12-09 22:47:44 +00:00
Pete Batard
e78f07cda6 [ui] ui improvements
* fixed DOS selected on init for exFAT and NTFS in certain cases
* improved progress and status reports
* other minor improvements
2011-12-09 12:57:32 +00:00
Pete Batard
17132c35a4 [ui] progress bar improvements
* progress bar now reflects actual completion of process more closely
* dropped the use of UM_FORMAT_PROGRESS and introduced UpdateProgress() instead
* also reduced the number of rw test patterns from 4 to 2
2011-12-09 01:39:13 +00:00
Pete Batard
4ce6a1f0f1 [ui] add a timer on the status bar
* also ensure that the user sees a report in case too many bad blocks were found
* also changed bad blocks threshold to 256
2011-12-08 12:14:21 +00:00
Pete Batard
b006e6a837 [ui] better bad blocks reports
* improved status bar printout (priority messages with timeout)
* report with abort/retry/cancel on bad block detection
* also MinGW warning fixes
2011-12-08 00:22:13 +00:00
Pete Batard
f93a85ab83 [bb] added status report on status bar
* also changed title to add "(Beta)"
2011-12-07 00:28:27 +00:00
Pete Batard
192c3d6cc8 [bb] progress bar and cancellation support 2011-12-06 23:35:55 +00:00
Pete Batard
480986b0ae [format] fixed corruption issue when MBR is garbage
* after a bb check, MBR could become garbage
* when that occurs, Windows might interpret a bad partition table and prevent MBR from being properly written
* force a complete zeroing of the whole MBR before partitioning to fix this
* also added error code for bb
2011-12-06 18:11:38 +00:00
Pete Batard
5c2242beaa [bb] badblocks check improvements & cleanup
* also added credits in about box
2011-12-06 18:08:16 +00:00
Pete Batard
04bf6c6b3d [misc] fix warnings
* MSVC x64 warnings in file.c
* Clang and MinGW warnings in badblocks
* also removed the requirement for
* also added test ID to badblocks call
2011-12-06 14:05:53 +00:00
Pete Batard
e419cf9015 [core] added badblock checks (ALPHA)
* also fixed some issues with read_sectors/write_sectors and dropped bufsize parameters
2011-12-06 02:23:28 +00:00
Pete Batard
d81525d3f4 [misc] added README/TODO
* also renamed Allocation Unit to Cluster
2011-12-05 12:41:55 +00:00
Pete Batard
7726071098 [misc] updated acronym
* Resourceful -> Reliable
* also removed standalone makefile (mkf)
2011-12-05 11:36:02 +00:00
Pete Batard
1d429d939e [msvc] updated paths to reflect source changes
* also updated wdk script
2011-12-05 11:29:31 +00:00
Pete Batard
071cf84cc4 [mingw] update autotools script following path change 2011-12-05 11:19:05 +00:00
Pete Batard
48f9dd47ae [misc] move source files to src/ directory 2011-12-05 10:49:45 +00:00