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

491 commits

Author SHA1 Message Date
Pete Batard
b39cb627de [core] prevent detection of non Microsoft virtual disk
* Some people complained that Stablebit Drivepool devices were being listed
2014-08-09 23:48:53 +01:00
Pete Batard
45714cf5fb [ui] UI fixes and improvements
* Fix missing DD-Image option when no drive is present
* Prevent formatting of a drive when using an image residing on same drive
* Fix ignored bootable checkbox when using a DD-Image
* Fix wrong title for error messages (due to too many concurrent loc messages)
2014-08-09 00:10:12 +01:00
Pete Batard
79a871be63 [core] improve handling of DD images and formatting task order
* Add logic to mount/remount a DD image if it contains a partition we can handle
* Clear GPT structures before copying DD image in case it doesn't overwrites them
* Add a call to refresh the drive layout after copying a DD image
* Move the unlocking of logical drive further down. This may help with the
  infamous "device in use by another process" error.
2014-08-07 01:45:46 +01:00
Pete Batard
f6ab32c95d [misc] fix a crash when scanning a DD image with no UFD plugged in
* Also set the block size to 512 when scanning MBR and PBR
* Closes #352
2014-08-06 23:17:20 +01:00
Pete Batard
0fceb38433 [syslinux] fix tails breakage and add support for fine grained versions
* With that obscene an amount of pre-releases of 6.03 (seriously, how
  many more YEARS pre-release of the same version do you actually need?),
  of course the syslinux people have managed to break the last remnants
  of compatibility they had between a single major version, so we are now
  forced to provide a smorgasbord of pre-release and out of band syslinux
  binaries on our server, and make sure we detect and handle incompatible
  syslinux versions clientside...
  For instance, even after fixing the EFI vs isolinux issue, we find
  that tails 1.1 is incompatible with 'pre19'. But it also uses its own
  '20131220' extended identifier, instead of 'pre1', its closest
  relative. So we have to multiply files and symbolic links to try to
  keep everybody happy.
  Talk about a MAJOR LETDOWN from the syslinux project...
* Closes #363
2014-08-06 01:52:36 +01:00
Pete Batard
60c66ef813 [misc] fix division by zero if the sector size is misreported
* It looks like some disks may report a sector size of zero
* Hopefully, this will address #352 (but some report about the
  detected sector size from people observing the crash would be nice)
2014-08-03 19:34:01 +01:00
Pete Batard
270ad743ab [misc] fix detection of OCZ drives
* Reported by Chevy
* Also set Rufus next to 1.4.10
2014-08-03 19:27:18 +01:00
Pete Batard
201843dbf3 v1.4.9 (build 506)
* Fix listing of drives on Windows XP and Windows Vista (Could not allocate Device ID list)
* Closes #343
2014-06-08 18:03:03 +01:00
Pete Batard
8007fc0915 v1.4.8 (build 505)
* Also fix a couple coverity warnings
2014-06-03 22:42:42 +01:00
Pete Batard
8da527e16e [misc] minor pre-release fixes
* mention KolibriOS in the license
* duprintf usage improvements
2014-06-03 22:16:40 +01:00
Chateaubriand Vieira Moura
b9b630a84c [loc] update Portuguese Brazilian translation to v1.0.12
* Also fix more typos in the Portuguese Standard translation
2014-06-03 19:06:51 +01:00
Kostantinos Margaritis
78f2b91bb5 [loc] update Greek translation to v1.0.12 2014-06-03 00:57:47 +01:00
Pete Batard
3ca0858541 [loc] update both Portuguese translations
* Use b "pt-PT" for Brazilian Portuguese
* Also fix case and typos in Standard Portuguese
2014-06-02 16:01:24 +01:00
Muhammad Aman
740b399414 [loc] update Malay translation to v1.0.12 2014-06-02 14:45:04 +01:00
Na Jiyoun
f05b37412b [loc] update Korean translation to v1.0.12 2014-06-02 02:20:25 +01:00
Chateaubriand Vieira Moura
8202977066 [loc] add Portuguese Brazilian translation
* Closes #209
2014-06-02 02:07:40 +01:00
Pete Batard
8b9c180404 [core] re-add the VID:PID lookup fallback using the Device ID string
* The call for the node connection information will fail for device such as Mp3 media players
* In that case, we can still obtain the VID:PID from the Device ID
* Also improve mutex release for commandline hogger
2014-06-02 00:51:35 +01:00
Pete Batard
d5bb6bfe6f [core] fix wrong detection of Buffalo, Lacie, Samsung, Toshiba and Verbatim drives as HDDs
* Remove the ill-advised (and problematic) table lookup microoptimization
* Also display score when running in debug mode
2014-06-02 00:45:54 +01:00
Roberto Pino
c3eaaf86a3 [loc] update Dutch translation to v1.0.12 2014-06-01 23:39:00 +01:00
Sopor
5076f753c8 [loc] update Swedish translation to v1.0.12 2014-06-01 20:35:10 +01:00
Simone
ba8d1b9624 [loc] correct Italian translation
* Closes #339
2014-06-01 19:47:33 +01:00
martinco78
d612fcc77f [loc] update Slovak translation to v1.0.12 2014-05-29 22:22:22 +01:00
Gintaras Venslovas
5c3e1e3178 [loc] update Lithuanian translation to v1.0.12 2014-05-28 22:07:05 +01:00
Pete Batard
ae08fe3ac2 [misc] fix an issue with Far Manager
* Closes #161
* Also fix a couple warnings from MinGW and VS
2014-05-27 02:02:50 +01:00
Riku Brander
70d2784165 [loc] update Finnish translation to v1.0.12 2014-05-26 00:27:06 +01:00
Krasimir Newenow
7bf6301da2 [loc] update Bulgarian translation to v1.0.12 2014-05-26 00:24:07 +01:00
Dario Komar
689866021b [loc] update Croatian translation to v1.0.12 2014-05-26 00:22:38 +01:00
Wayne Ying
98fe4724e2 [loc] update Chinese Simplified translation to v1.0.12 2014-05-26 00:18:39 +01:00
770021ab03 [loc] update Chinese Traditional translation to v1.0.12 2014-05-26 00:12:39 +01:00
Pete Batard
04bd5116a7 [vhd] add backup to uncompressed VHD image
* Part of #321
* NOTE: This feature will be enabled after the 1.4.8 release
2014-05-23 01:03:01 +01:00
Pete Batard
1e121d2025 [misc] simplify the declaration of extensions for FileDialog()
* Also update the Changelog
2014-05-22 22:46:36 +01:00
Jens Hansen
abae44f198 [loc] add Danish translation
* Closes #200
2014-05-22 02:10:44 +01:00
Piotr Halama
82148c9b4b [loc] update Polish translation to v1.0.12 2014-05-22 01:55:40 +01:00
Pete Batard
bfa1656488 [core] Add VHD source image support
* As part of #321
* Also improve FileDialog so that it can support multiple extensions
* Also fix a typo in rufus.loc
2014-05-22 01:52:25 +01:00
Aldis Tutins
36d226e101 [loc] update Latvian translation to v1.0.12 2014-05-20 20:10:31 +01:00
Matej Horvat
565552a03e [loc] update Slovene translation to v1.0.12 2014-05-20 20:06:54 +01:00
Thilo Langbein
12c4a1c29b [loc] update German translation to v1.0.12 2014-05-20 20:02:27 +01:00
Chantella Jackson
b3aa56a704 [loc] update Japanese translation to v1.0.12 2014-05-20 20:00:18 +01:00
Кирилл Иванов
c804e0922e [loc] update Russian translation to v1.0.12 2014-05-20 19:57:45 +01:00
Roberto Boriotti
f8178c49a0 [loc] update Italian translation to v1.0.12 2014-05-20 19:54:28 +01:00
Gîrlea Alexandru
5ff9dba85f [loc] update Romanian translation to v1.0.12 2014-05-20 19:44:46 +01:00
MehmetAli Kuran
b2eb76a057 [loc] update Turkish translation to v1.0.12 2014-05-20 19:31:23 +01:00
Pete Batard
c0d3f8e57c [core] fix VHD support
* Also fix various typos
2014-05-20 19:28:46 +01:00
Pete Batard
9df63b3b2a [loc] update translation base to v1.0.12
* Also change UM_ISO_ constants to the more generic UM_PROGRESS_
2014-05-19 23:25:00 +01:00
Pete Batard
420bb1d0d8 [core] clean up and simplify USB port & speed detection
* Also fix non-present devices being enumerated
* Also add a message in the log when an USB 3.0 device is detected operating at lower speed
2014-05-19 01:16:11 +01:00
Pete Batard
c85670f7b7 [core] report detected USB device speed
* Yes, it takes about all of the changes below, to basically add 3 extra characters in the log...
  That's Microsoft Windows for you, baby!
* Closes #314
2014-05-18 00:37:01 +01:00
Aldis Tutins
4026083da8 [loc] update Latvian translation 2014-05-16 00:00:23 +01:00
عمر الصمد
4b352fd8a4 [loc] add Arabic translation
* Closes #196
2014-05-15 23:57:43 +01:00
Pete Batard
34dd36d7c2 [loc] fix various RTL issues
* Tooltips were not properly displaying
* When displaying human readable size, the order for the size and suffix was wrong
* First character of "0x##" in the BIOS ID would not display as zero on an Arabic machine
2014-05-15 23:53:39 +01:00
Pete Batard
b6bc17b7f4 [core] add KolibriOS support
* Closes #331
2014-05-15 21:17:12 +01:00
Aldis Tutins
ffc9a4e80a [loc] add Latvian translation 2014-05-13 22:38:36 +01:00
Pete Batard
7a3fb515ea [misc] more DLL handling improvements
* also set rufus-next to 1.4.8
2014-05-13 00:50:44 +01:00
Pete Batard
266599e6fd [misc] fix various Coverity issues
* update DLL load/unload
* fix resources not being freed and potentially unsafe calls
* add extra checks
2014-05-10 22:20:22 +01:00
Pete Batard
9aa308213d [core] fix UEFI bootable DD images
* A DD image may have a zeroed MBR, yet be bootable through UEFI
* Also improve AnalyzePBR()
* Closes #320
2014-05-09 21:57:27 +01:00
Roberto Pino
6390aa3968 [loc] fix additional issues with Dutch translation 2014-04-29 01:00:28 +01:00
Roberto Pino
15a40b2eb9 [loc] update Dutch translation to v1.0.11 2014-04-25 01:56:07 +01:00
Dario Komar
a5f7e3177b [loc] Add Croatian translation
* Closes #237
2014-04-24 12:50:08 +01:00
ROBERTO
5e39c9c71f [loc] small improvements to Italian translation 2014-04-24 00:19:22 +01:00
Pete Batard
daa7a6effd v1.4.7 (build 455) 2014-04-22 12:28:41 +01:00
Pete Batard
7ae21ddf50 [misc] fix listing of VHD drives when they have been partitioned
* Also harmonize some of our text output
2014-04-16 22:08:22 +01:00
Pete Batard
f78eb4de99 [misc] fix FAT32 cluster boundaries and add cheat mode to force DD
* Closes #310
* Alt-I can now be used to disable ISO support. This is meant to be
  used for dual ISO/DD images so that DD (disk image) mode will be used
* Also issue a message in the log to indicate whether slow or quick format is used
* Also change the cheat mode keys for force update and proper unit to C and U
2014-04-13 16:13:59 +01:00
Sopor
1c8f57a4e7 [loc] add Swedish translation
* Closes #216
2014-04-12 23:45:49 +01:00
Pete Batard
4cc3d77123 [misc] fix human readable sizes
* byte sizes were ignored, and rounding tolerance was a bit too high
2014-04-10 22:01:48 +01:00
martinco78
4f513e85fd [loc] add Slovak translation
* Also fix duplicate in the German translation
* Closes #213
2014-04-09 20:18:45 +01:00
Chantella Jackson
e501c0d56b [loc] Add Japanese translation
* Closes #205
2014-04-04 18:22:00 +01:00
Pete Batard
3462ae1062 [misc] set default size for ReFS and fix multiple other issues
* ReFS only applies for drives that are larger than 512MB
* Also fix error handling and messages in format.c
* Also add Alt-Q cheat mode for proper size units, and improve human readable size output
2014-04-02 22:47:35 +01:00
Scott
0def2bacef [core] fix VHD detection for Windows 7
* Windows 8 or later uses "Microsoft Virtual Disk" whereas Windows 7
  uses "Msft Virtual Disk SCSI Disk Device", so we just search for a
  "Virtual Disk" substring.
* Closes #306
2014-03-29 18:30:20 +00:00
Scott
3f0d9d108f [core] add VHD target support
* Adds Microsoft VHD/VHDX mounted image support
* Also fix an issue where some devices would not be detected due to CM_Get_Device_ID_List_Size() returning a list size larger than actually required
* Closes #305
* Closes #139
2014-03-29 01:58:25 +00:00
Pete Batard
b343d9b86d [misc] fix issues with unpartitioned drives and bad blocks reports
* Listing an unpartitioned could result in all controls besides
  drive selection dropdown being blank
* The bad blocks report was not displaying the right values
* Also update version to Rufus next
2014-03-29 01:57:19 +00:00
Pete Batard
027d0d7c3a [core] add ReFS formatting support
* Windows 8.1 or later and fixed disks ONLY
2014-03-29 00:22:54 +00:00
Pete Batard
5519212dd3 [core] improve drive geometry detection
* Try IOCTL_DISK_GET_DRIVE_GEOMETRY_EX if IOCTL_DISK_GET_DRIVE_GEOMETRY fails in Large Fat32 code
* Report actual IOCTL errors
* Use a larger buffer for geometry
* Also add (guessed) FCC_DEVICE_NOT_READY handling to FormatEx
2014-03-29 00:17:41 +00:00
Muhammad Aman
28c1bd6688 [loc] update Malay translation to v1.0.10
* Also fix a small typo in the Polish translation
2014-03-28 23:47:44 +00:00
Gintaras Venslovas
5e7830e961 [loc] update Lithuanian translation to v1.0.10 2014-03-20 23:17:54 +00:00
Pete Batard
00646b4b21 v1.4.6 (build 440) 2014-03-17 21:19:53 +00:00
Pete Batard
77d9e919d2 [ui] ensure the default download directory for updates is the current app dir
* Closes #299
* Also fix update save dialog not retrieving the path when compiled for Vista or later
2014-03-17 20:42:10 +00:00
Pete Batard
54b7fdcddc [ui] don't remove the checkboxes when formatting
* Previous patch was creating an issue when creating an XP bootable drive for instance
* Also use our IsChecked() macro rather than IsDlgButtonChecked()
2014-03-15 14:14:10 +00:00
Pete Batard
8ffd87e77a [ui] improve checkboxes handling
* Closes #294
2014-03-14 23:13:04 +00:00
Pete Batard
ac9ddca792 [net] fix an exception in DownloadFile()
* As per the MSDN, HttpOpenRequest's 6th parameter should be a NULL
  terminated list
2014-03-14 23:08:49 +00:00
Pete Batard
5c2d7aa21e [syslinux] fix vesamenu.c32 errors
* Closes #298
2014-03-13 22:13:46 +00:00
Pete Batard
6ff666bafb [iso] fix unwanted 'Unsupported NM flag settings' messages
* Closes #297
2014-03-13 22:02:49 +00:00
Кирилл Иванов
c060ef81d0 [loc] minor updates to Russian translation 2014-03-13 21:44:34 +00:00
Krasimir Nevenov
91315fa64b [loc] Add Bulgarian translation
* Closes #295
2014-03-10 22:45:42 +00:00
Pete Batard
19b94a9352 [misc] set Rufus next to v1.4.6 2014-03-10 22:43:54 +00:00
Pete Batard
94ce19d11f [ui] display size in the dropdown entry
* Also remove the "(Default)" from the FS selected, in the log messages
2014-03-01 00:09:40 +00:00
Pete Batard
9927cc2619 [loc] restore Arabic template, for rtl translators
* Was erroneously removed in the previous commit
2014-02-27 21:53:53 +00:00
Pete Batard
24392b2fb6 v1.4.5 [TAKE TWO] (build 428)
* Fix a missing CloseHandle
* Closes #293
2014-02-27 21:40:12 +00:00
Pete Batard
ff37b4e6df v1.4.5 (build 427)
* Also, all things considered I'm gonna use a dash for the version separator
2014-02-27 19:59:10 +00:00
Pete Batard
8c1dd2ca91 [core] fix detection of fixed drives
* Thanks to MS' shortsightedness, neither of IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
  or IOCTL_STORAGE_GET_DEVICE_NUMBER alone are enough to retrieve a disk number:
  IOCTL_STORAGE_GET_DEVICE_NUMBER doesn't work for LVM drives and
  IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS doesn't work for USB fixed drives, so we
  must use both. Isn't it great?
* Closes #292
2014-02-27 19:53:53 +00:00
Pete Batard
07d5a61f2a v1.4.4 (build 425)
* Also ensure that the format prompt is being closed after bad blocks check is cancelled
2014-02-26 19:31:07 +00:00
Pete Batard
11917179b9 [core] fix drives not being detected when LVM is in use
* Also use IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS to retrieve the disk number
  as IOCTL_STORAGE_GET_DEVICE_NUMBER will fail for LVM
* Closes #290
2014-02-25 19:13:49 +00:00
Kostantinos Margaritis
1af5cc0e41 [loc] update Greek translation to v1.0.10 2014-02-24 19:05:26 +00:00
70e773f7b2 loc: update Chinese Traditional translation to v1.0.10 2014-02-24 18:49:52 +00:00
Riku Brander
7f26aa3836 [loc] add Finnish translation
* Closes #202
2014-02-22 00:50:28 +00:00
Pete Batard
8ffe7700d0 [misc] ensure that we can work with future Windows versions
* Don't set the version to unsupported unless it's guaranteed to be older than XP
* Also add support for Windows 8.2 / 2012R3
2014-02-22 00:34:52 +00:00
Pete Batard
e530065099 [misc] fix WDK fseek errors
* Closes #241
* Also update the ChangeLog
2014-02-21 18:42:28 +00:00
Na Jiyoun
31d11c6c1f [loc] update Korean translation to v1.0.10 2014-02-21 00:03:52 +00:00
Matej Horvat
56329b8343 [loc] update Solvene translation to v1.0.10 2014-02-18 00:22:39 +00:00
Pete Batard
ced2589c4d [iso] libcdio is temperamental when it comes to NULL pointers
* Fixes a crash when opening the latest gparted and probably other ISOs
2014-02-18 00:05:00 +00:00
Pete Batard
b83b087b52 [misc] factorize SizeToHumanReadable() and ensure log sizes are in English
* Also use an allocated buffer for DD operations
2014-02-17 23:15:09 +00:00
Кирилл Иванов
5ad2ac0d47 [loc] update Russian translation to v1.0.10 2014-02-17 22:10:36 +00:00