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

1566 commits

Author SHA1 Message Date
Pete Batard
c7cd7e4a71 [misc] update log messages to reflect the new UI
* Also fix a typo in the English translation base
2018-05-19 13:01:35 +01:00
Martin Kubánik
213728a922 [loc] update Slovak translation to latest 2018-05-18 22:43:34 +01:00
Pete Batard
c3aaa0c252 [loc] fix various RTL localization issues
With thanks to Itiel

* Fix a potential buffer overflow in lmprintf for RTL languages
* Automatically apply RLE/PDF to all RTL messages, and remove the RLE/PDFs from the .loc
* Fix Windows messing up of multiline RTL tooltips (The trick is, if you want actually
  want RTL, you need to *disable* RTL... Sure, Microsoft, that makes a lot of sense?!?)
* Also properly scale the length of the multiline tooltips according to the zoom factor
* Closes #1132
2018-05-18 00:55:35 +01:00
Pete Batard
34ee2f6382 [ui] Move the save and hash tooltips to the toolbar parent
* Also fix a .loc typo
2018-05-17 15:05:09 +01:00
Pete Batard
0d0ad389ce [ui] avoid intempestive log tooltip display and fix partition type preservation
* Because of Windows' poor handling of toolbar buttons' tooltips, an unwanted
  tooltip could be displayed onscreen after closing the log.
* Also fix an issue when Rufus would reset the partition type to GPT after a
  user created an MBR flash drive (e.g. after creating a Windows bootable USB).
2018-05-16 12:56:31 +01:00
marcellogianola
b6809679f9 [loc] fix a typo in Italian translation
* Closes #1134
2018-05-15 10:25:02 +01:00
Pete Batard
4a8c5be9c5 [misc] fix coverity warnings in drive.c
* Also apply minor fixes to rufus.loc and _set_git_hooks.sh
2018-05-15 10:23:45 +01:00
marcellogianola
6513b5e0b4 [loc] update Italian translation
* Closes #1131
2018-05-14 13:38:23 +01:00
Arif Budiman
c84ff4d121 [loc] update Indonesian translation to latest 2018-05-13 10:53:53 +01:00
Pete Batard
be2f7342f7 [net] force a disk flush after downloading a file
* Also add a retry in PKI's GetSignatureName()
* This should help with getting a "The downloaded executable is
  missing a digital signature" message when launching an update.
* Closes #1130
2018-05-13 10:36:23 +01:00
Pete Batard
1f6e09720a [loc] remove unused MSG_199/MSG_200 2018-05-12 11:43:20 +01:00
Pete Batard
63555cd04d [internal] add auto detection of 'git commit --amend'
* Finally!
* Also improve UPX compression
2018-05-12 11:39:05 +01:00
Pete Batard
9815a18009 [ui] fix tabbing order for the new UI design
* Accessibility *IS* a thankless job...
2018-05-11 17:35:48 +01:00
Pete Batard
40b0d9e0d2 [ui] minor cosmetic improvements 2018-05-11 09:29:14 +01:00
Feras n
70a06c7901 [loc] update Arabic translation to latest 2018-05-10 12:08:51 +01:00
Pete Batard
db6a5bb749 [loc] fix tooltip justification for RTL languages
* Left alignment was used instead of right
* Also improve device tooltip display
2018-05-10 12:07:21 +01:00
Pete Batard
070e28aa5a [ui] fix display of icons for RTL languages
* Ensure that the 'Save', 'Hash' and 'World' icons are not mirrored for RTL
* Also call DestroyIcon() where required and clean up code
2018-05-10 10:51:31 +01:00
MaKK
c709d3c030 [loc] update Spanish translation to latest 2018-05-09 18:39:04 +01:00
Pete Batard
13e7b0226d [ui] improve log window positioning
* Now seriously what the $%^& is wrong with Microsoft?!?
2018-05-09 15:55:30 +01:00
Pete Batard
cdacc6f342 [ui] fix whole screen refresh and progress bar issues
* Whole screen was being refreshed when calling InvalidateRect() in ResizeMoveCtrl()
* Progress bar bounding rectangle could be erased at 0.0%
* No progress was displayed when writing ISOHybrid images in DD mode
* Also fix an issue when write error would not display the error string
2018-05-08 20:28:23 +01:00
Pete Batard
39cb35e20c [core] improve UEFI:NTFS detection
* Check the label for MBR partitions to avoid false positives (such as with Debian live)
2018-05-08 15:25:53 +01:00
Roberto Pino
4c37b413f9 [loc] update Dutch translation to latest 2018-05-08 00:49:59 +01:00
Pete Batard
8cd59d7e6d [loc] fix missing messages for Portuguese and Russian translation 2018-05-07 12:59:24 +01:00
Pete Batard
8453c8c44f [ui] try to reselect the last file system explicitly set
* Also remove an duplicate internal call to IDC_FILE_SYSTEM
* Also fix the hash button mention in the Japanese translation
2018-05-06 22:31:42 +01:00
Tiryoh
8aeaa5e3b9 [loc] update Japanese translation 2018-05-02 23:38:56 +01:00
Pete Batard
303978de64 [ui] fix vertical alignment of status bar messages
* Also fix ugly icon scaling at 125%
2018-05-01 23:11:19 +01:00
Pete Batard
de7dde05c4 [ui] use fluent 2-colour scheme PNG icons
* Also switch save and hash to toolbar buttons
* Also fix centering of icons on toolbars
2018-05-01 18:10:48 +01:00
Pete Batard
935c6fff23 [ui] fix a typo and try to preserve user selected partition type
* partition type and target type were mixed up on pressing 'Start'
2018-04-27 16:31:03 +01:00
Pete Batard
91c950dba9 [uefi] add ARM64 support to UEFI:NTFS
* Also update EfiFs NTFS drivers to latest, including compression support
2018-04-26 12:53:02 +01:00
Pete Batard
28cfa5a94e [ui] preserve Windows To Go dropdown when switching language
* Also fix incorrect version number from German translation
2018-04-23 17:41:05 +01:00
Piotr Halama
0ae39f2ba3 [loc] add a rufus.loc validation script and fix multiple issues 2018-04-23 15:57:50 +01:00
Piotr Halama
0eb41e4efb [loc] update Polish translation to latest 2018-04-23 14:05:18 +01:00
Aldis Tutins
befc9d9b88 [loc] update Latvian translation to latest 2018-04-23 10:42:46 +01:00
Pete Batard
7221dee4d1 [core] disable file indexing by default
* File indexing is too much of an annoyance on removable drives anyway
  and this should help with perf and access issues
* Alt-Q cheat mode is now changed to re-enable file indexing
* Also fix a rogue 'else' in the code
2018-04-19 16:02:07 +01:00
Seyed Zia Azimi
2c7e7030a3 [loc] update Persian translation to latest
* Closes #1113
2018-04-19 12:54:10 +01:00
Dario Komar
6e0caea1ac [loc] update Croatian translation to latest 2018-04-19 12:45:44 +01:00
Pete Batard
5c57703c70 [ui] add marquee progress bar mode
* Also fix x86_64 warnings
2018-04-19 12:25:11 +01:00
Pete Batard
42c158917c [ui] fix quick format not always being disabled for Large FAT32
* Also remove no longer needed 'progress_in_use' variable
2018-04-17 09:22:27 +02:00
Tiryoh
3b8ef8d308 [loc] update Japanese translation to latest 2018-04-16 21:16:41 +02:00
Pete Batard
2f2a8c6d44 [internal] Switch timestamp server since Comodo are useless
* Comodo demonstrating yet again their substandard grasp of security matters...
2018-04-16 17:28:48 +02:00
Pete Batard
7fef3c6434 [ui] use our own custom bar with text
* Needed because native Windows produces obnoxious tearing on redrawing.
* Also rename global partition scheme variable back to 'pt'
* Also fix major and minor version numbers in the .rc
2018-04-16 17:05:23 +02:00
Tiago Rinaldi
2fbe7be870 [loc] update Brazilian Portuguese translation to latest
* Closes #1110
2018-04-14 00:46:19 +02:00
Pete Batard
65ac40e750 [ui] preserve Windows To Go setting when changing boot selection 2018-04-13 12:17:09 +02:00
marcellogianola
977aabbf2c [loc] apply minor fixes to the Italian translation
* Closes #1101
2018-04-12 14:46:59 +02:00
Riku Brander
99cfa84a5d [loc] update Finnish translation to latest 2018-04-12 14:41:05 +02:00
Roberto Boriotti
64c6f1e57f [loc] update Italian translation to latest 2018-04-12 14:36:07 +02:00
Mehmetali Kuran
d13f94a8c8 [loc] update Turkish translation to latest 2018-04-03 13:51:38 +01:00
Jan-Erik Drangevåg
dcdae34b40 [loc] update Norwegian translation to latest 2018-04-02 15:07:08 +01:00
Sippapas Wangsri
3919e2a132 [loc] update Thai translation to latest 2018-04-02 14:58:01 +01:00
Pete Batard
9545123711 [core] eliminate querying of floppy drives during enumeration 2018-04-02 14:57:39 +01:00
Pete Batard
efe7ccb43c [ui] fix an issue where the advanced toolbars may not display
* Super-strange behaviour, that happens on Windows 7, at low zoom
  factors, only when compiled with MSVC (MinGW is fine) and only
  when the advanced options are set to be displayed on startup...
* Looks like TB_GETIDEALSIZE is screwy - Thanks a lot Microsoft!
2018-03-30 15:52:44 +01:00
Pete Batard
bbfdd23316 [iso] make support for EFI .img files more generic
* This improves support for void Linux as per
  https://www.reddit.com/r/linuxmasterrace/comments/7hqfpj/void_linux_iso_flagged_as_nonuefi_by_rufus/dqu09sk/
2018-03-29 22:29:44 +01:00
Thilo Langbein
78a6190365 [loc] update German translation to latest 2018-03-29 15:37:29 +01:00
Dinis Medeiros
b905d999ef [loc] update Portuguese (Standard) translation to latest 2018-03-28 13:50:07 +01:00
Richard Kahl
e89d107a43 [loc] update Czech translation to latest 2018-03-28 12:08:04 +01:00
Кирилл Иванов
f5478fce41 [loc] update Russian translation to latest 2018-03-28 12:03:17 +01:00
Chocobo1
9eb9cf4a93 [loc] update Traditional Chinese translation to latest
* Closes #1100
2018-03-28 11:46:00 +01:00
Jiawei Wang
a83d4318b8 [loc] update Simplified Chinese translation to latest
* Closes #1099
2018-03-28 11:40:50 +01:00
Pete Batard
74bacf7b4e [loc] fix some issues in Malay translation 2018-03-28 10:22:42 +01:00
Sopor
bdf69234c1 [loc] update Swedish translation to latest 2018-03-27 22:23:59 +01:00
Girlea Alex
f14755a503 [loc] update Romanian translation to latest 2018-03-27 22:17:47 +01:00
Elvin Melikov
a425ef0334 [loc] update Azerbaijani translation to latest 2018-03-27 22:04:32 +01:00
Pete Batard
e6d8f25bf1 [net] switch to SSL and use https://rufus.ie as our main domain 2018-03-27 22:03:51 +01:00
Pete Batard
fbe47c1abd [loc] finalize translation changes for 3.0
* Also add truncated ISO test image to our repo
* Also don't trigger portable version detection for ALPHA
2018-03-27 13:23:11 +01:00
Pete Batard
1dbbe69a4b [ui] improve partition scheme default selection
* Also rename our variable to PartitionStyle/ps for clarity
2018-03-26 19:06:55 +01:00
Pete Batard
61f46f7cdc [loc] more translation updates for 3.0 2018-03-24 13:47:56 +00:00
Pete Batard
a44518355f [ui] UI redesign
* Better guide the user through the flow of operations
* Also follow a concept design by Fahad Al-Riyami
* Closes #117
2018-03-22 23:14:21 +00:00
Pete Batard
95db209b04 [usb] fix default listing for Elecom card reader
* Closes #1083
2018-02-14 20:35:11 +00:00
ryo-a
3717171725 [loc] improve Japanese Translation
* Closes #1075
2017-12-24 16:11:50 +01:00
Tiago
c3355ee8ac [loc] update Brazilian Portuguese translation
* Closes #1067
2017-12-06 19:19:21 +00:00
Thorbjørn Bruarøy
bfc8cb0240 [loc] update Norwegian translation
* Closes #1063
2017-12-06 13:11:17 +00:00
Pete Batard
8dfb760cf2 [misc] set Windows SDK to 10.0.16299 2017-11-20 11:39:53 +00:00
Pete Batard
7c5238f23b [misc] fix SDK path 2017-11-17 18:28:44 +01:00
Pete Batard
903ac993f2 [misc] remove no longer needed XP workarounds 2017-11-13 14:30:25 +00:00
Pete Batard
c5f4e5a2ee [misc] drop Clang support and move VS2017 project files to .vs 2017-11-11 15:41:04 +00:00
Pete Batard
9c8cb59253 v2.18 (build 1213) 2017-11-07 13:24:17 +00:00
Pete Batard
9b5cd92029 [arm] add Visual Studio ARM64 compilation support
* Windows 10 ARM users *WILL* be able to run Rufus natively
  the very same day they got their new device!
2017-11-03 18:04:33 +00:00
Pete Batard
9cd04be529 [grub] update grub4dos to latest and add db entry for grub 2.03 2017-11-02 12:49:05 +00:00
Pete Batard
79a03637d6 update ChangeLog for BETA release 2017-11-01 13:22:51 +00:00
Pete Batard
63eb747cde [iso] make the lookup for updatable .cfg file more generic
* For ESET and other ISOs, such as Arch derivatives
* Closes #1013
2017-11-01 12:30:29 +00:00
ip_gpu
fa94abcc8e [misc] fix a potential resource leak
* IsFontAvailable() could exit without releasing its 'hDC' handle resulting in a resource leak
* Fix V773 from PSV-Studio
* Closes #1050
2017-10-28 19:01:49 +01:00
Pete Batard
6a45a678b3 [ui] ensure that the same drive is re-selected on device refresh 2017-10-23 17:09:18 +01:00
embar-
1af0e16e91 [loc] update Lithuanian translation
* Closes #1034
2017-10-13 16:38:57 +01:00
Will Thompson
88631806da [cmp] propagate decompression errors from bled
* If, for example, you have a truncated gz-compressed file and try to
  write it to disk, bled_uncompress_with_handles() will return an error.
  Previously, this was not reported back to the user.
* Closes #1040
2017-10-13 10:48:37 +01:00
Pete Batard
293440b2e9 [pki] fix a minor initialization issue 2017-10-13 10:47:26 +01:00
jzeferino
7f82dbf0fc [loc] fix some Portuguese (Portugal) translation
* Closes #1032
2017-10-03 14:08:03 +02:00
Andrea Wood
bb311f0042 [loc] update Danish translation to latest 2017-09-28 19:10:14 +02:00
Pete Batard
8286a0f63a [core] add a cheat mode to reset the current USB device (cycle port)
* Will not work on Vista, Windows 7 or Server 2008
* Also update Windows version info
2017-09-15 13:56:01 +01:00
Pete Batard
13ba3e75b3 [misc] fix VS2017 code analysis warnings
* Also set rufus-next to 2.18
2017-09-14 19:06:04 +01:00
Pete Batard
44c9cb0b82 [iso] add support for ISO9660 multiextent files
* Closes #1007
2017-09-14 17:36:54 +01:00
Pete Batard
14d2a629c9 v2.17 (build 1198) 2017-09-12 10:48:10 +01:00
Pete Batard
92c05556d1 [iso] add a warning for unsupported multi-extent ISO-9660 files
* This is related to issue #1007, which libcdio still needs to fix.
2017-09-11 19:06:51 +01:00
Pete Batard
e3fbfb30d3 [pki] add country code validation on signature check
* Also validate against the CN rather than the simple name, and require an exact match
2017-09-11 12:13:47 +01:00
Roberto Pino
f89f97d4ab [loc] update Dutch translation to latest 2017-09-09 00:17:50 +01:00
Pete Batard
c22b378f9a [misc] display image and disk size in the log
* Also fix 2 Coverity warnings
* Also remove unneeded LFs in drive.c
2017-09-08 15:38:30 +01:00
Pete Batard
4a213c3ba0 [core] allow the use of A: and B: as drive letters and fix in-use detection for Z:
* Closes #1016
* Also expand support for Arch Linux derivatives Syslinux config files
2017-09-06 14:00:31 +01:00
Pete Batard
9464ae94a4 [pki] more ASN.1 parser improvements 2017-09-05 22:21:34 +01:00
Pete Batard
94e4c0905b [pki] improve ASN.1 parser
* Enable search from OIDs expressed as strings and ignore non UNIVERSAL classes
2017-09-04 14:32:56 +01:00
Pete Batard
a73e695ba4 [pki] timestamp validation improvements
* Add timestamp processing for nested signature and check for anomalous differences
* Also prevent attack scenarios that may attempt to leverage multiple nested signatures or countersigners
* Simplify code by using CryptDecodeObjectEx/WinVerifyTrustEx and improve timestamp reporting
2017-09-03 13:54:07 +01:00
Pete Batard
c74d7bce1f [misc] update ChangeLog for BETA 2017-09-02 16:06:41 +01:00
Pete Batard
35da381a11 [pki] check timestamp chronology during update validation
* Done to address the second "vulnerability" proposed in #1009, independently
  of the protocol used.
2017-09-02 15:27:56 +01:00
Pete Batard
c3c39f7f8a [pki] fix https://www.kb.cert.org/vuls/id/403768
* This commit effectively fixes https://www.kb.cert.org/vuls/id/403768 (CVE-2017-13083) as
  it is described per its revision 11, which is the latest revision at the time of this commit,
  by disabling Windows prompts, enacted during signature validation, that allow the user to
  bypass the intended signature verification checks.
* It needs to be pointed out that the vulnerability ("allow(ing) the use of a self-signed
  certificate"), which relies on the end-user actively ignoring a Windows prompt that tells
  them that the update failed the signature validation whilst also advising against running it,
  is being fully addressed, even as the update protocol remains HTTP.
* It also need to be pointed out that the extended delay (48 hours) between the time the
  vulnerability was reported and the moment it is fixed in our codebase has to do with
  the fact that the reporter chose to deviate from standard security practices by not
  disclosing the details of the vulnerability with us, be it publicly or privately,
  before creating the cert.org report. The only advance notification we received was a
  generic note about the use of HTTP vs HTTPS, which, as have established, is not
  immediately relevant to addressing the reported vulnerability.
* Closes #1009
* Note: The other vulnerability scenario described towards the end of #1009, which
  doesn't have to do with the "lack of CA checking", will be addressed separately.
2017-08-31 12:19:11 +01:00
Pete Batard
fe3004d17f [misc] use UTF-8 compatible _unlinkU() when deleting files 2017-08-30 11:24:47 +01:00
Ino-Bagaric
bf09842fd2 [misc] remove duplicate definition
* Closes #1011
2017-08-29 11:57:01 +01:00
Pete Batard
36cadcfcca [pki] improve error handling
* FormatMessage() does not handle PKI errors
* Also fix an issue with non-official version detection when the language is not English
2017-08-27 15:07:35 +01:00
Pete Batard
868eea5069 [loc] fix Spanish translation 2017-08-26 11:32:40 +01:00
Pete Batard
8b094e840b [net] use http instead of https for downloads
* Since 2.17 will be the last version to support XP, and the native XP SSL
  implementation is too old to access our downloads though https.
2017-08-17 13:33:20 +01:00
Feras n
9de244c10e [loc] update Arabic translation to latest 2017-08-16 16:39:20 +01:00
Pete Batard
58a38145b7 [misc] finally, set .editorconfig to use UTF-8 *without* BOM
* The new VS2017 15.3 appears to have fixed this annoying bug at long last:
  https://developercommunity.visualstudio.com/content/problem/22922/editorconfig-support-interprets-charset-utf-8-as-u.html
2017-08-14 21:40:56 +01:00
Pete Batard
5348591729 [core] add support for more non-USB card readers
* Closes #998
2017-08-13 21:03:01 +01:00
Pete Batard
c82842ce2a [core] add Super Floppy Disk support 2017-08-12 15:12:00 +01:00
Pete Batard
65f5ccd28b [ui] fix log no longer automatically scrolling to the last line
* Introduced in 369a392af0 because, of course when Microsoft has a
  call that goes (###, param1, param2) they define a macro for it that goes (param2, param1)...
2017-08-11 11:47:27 +01:00
Pete Batard
3a150ddeda [core] add support for more non-USB card readers
* Closes #994
2017-08-11 11:43:37 +01:00
Pete Batard
90dc847e24 [misc] add static_strcat & static_strcpy and use static_ calls wherever possible
* Also set Rufus next to 2.17 and fix a warning
2017-08-10 19:43:52 +01:00
Pete Batard
5d371088cb [iso] add EFI boot support from 'efi.img' FAT images
* Required to support Debian Live 9.1 in ISO mode
* Note that this only works if the efi.img boot files do not require
  additional content besides the one extracted from the ISO.
2017-08-09 16:27:11 +01:00
Na Jiyoun
3d33493c6f [loc] update Korean translation to latest 2017-08-07 18:11:04 +01:00
Pete Batard
eb5087d504 [togo] fix a typo in index selection and add support for nonofficial ISOs
* Closes #991
2017-08-02 18:59:45 +01:00
Jeroen Sack
65fd9770cb [misc] fix typo in Changelog
* Closes #990
2017-07-31 12:31:26 +01:00
Pete Batard
925837e4d3 v2.16 (build 1170) 2017-07-31 10:55:41 +01:00
Zia Azimi
9740e94876 [loc] update Persian translation to latest 2017-07-29 17:40:10 +01:00
Pete Batard
d620d8848d [loc] fix RTL display of ISO truncation notification
* Also don't use MessageBoxU where unneeded
2017-07-29 17:34:11 +01:00
Nikolaos Margaritis
d7d6caebe1 [loc] update Greek translation to latest 2017-07-29 15:45:55 +01:00
Martin Kubánik
e68df21a16 [loc] update Slovak translation to latest 2017-07-29 15:42:32 +01:00
Krasimir Newenow
6db159be9e [loc] update Bulgarian translation to latest 2017-07-28 15:33:23 +01:00
Matej Horvat
0887368988 [loc] update Slovenian translation to latest 2017-07-28 13:10:51 +01:00
Arif Budiman
a96a615a66 [loc] update Indonesian translation to latest 2017-07-28 13:08:15 +01:00
Gintaras Venslovas
1baf1b7d1a [loc] update Lithuanian translation to latest 2017-07-26 11:48:56 +01:00
Pete Batard
bb00e220ac [ui] more info field fixes
* Prevent text selection and try to force a redraw, to ensure the text is centered on update
* Also update the libcdio 'AL' workaround
2017-07-26 11:47:02 +01:00
Pete Batard
0a3c04379b [misc] fix Coverity warnings 2017-07-25 12:19:50 +01:00
Ivan Strugar
3622b441ed [loc] update Serbian translation to latest 2017-07-25 00:19:35 +01:00
Tiago Rinaldi
32b8b5b232 [loc] update Portuguese (Brazilian) translation to latest
* Closes #981
2017-07-24 17:34:44 +01:00
Pete Batard
93c2d7851e [ui] fix info box when downloading Syslinux/GRUB files
* Don't duplicate the PrintInfo() from DownloadFile()
* Make sure caret is disabled and displayed text will not appear selected
* Also update MSG_085 and remove unneeded MSG_240
2017-07-24 17:20:17 +01:00
Pete Batard
7ef65b551a [misc] yay, more XP fixes...
* Since I half expect 2.16 to be the last version of Rufus to support Windows XP
2017-07-24 16:29:09 +01:00
Noam Sarusi
811f3cc1bc [loc] update Hebrew translation to latest 2017-07-24 12:11:13 +01:00
Константин В
2b3f1be78c [loc] update Ukrainian translation to latest 2017-07-24 11:57:30 +01:00
Tiryoh
4fe6ffb9d4 [loc] update Japanese translation to latest 2017-07-24 11:52:42 +01:00
Dario Komar
7a929b36b4 [loc] update Croatian translation to latest 2017-07-24 11:49:59 +01:00
Pete Batard
369a392af0 [process] improve the search for conflicting processes check
* Add a WaitForSingleObjectWithMessages() call so that we can process Windows messages
  while waiting on events (prevents lockup while issuing log messages)
* Limit the total duration of CheckDriveAccess() to 2 seconds
* Allow for user cancellation
* Also update code to use the Edit_####() predefined macros for Edit controls instead of EM_### messages
2017-07-24 11:36:06 +01:00
Riku Brander
5e609f022f [loc] update Finnish translation to latest 2017-07-22 19:12:11 +01:00
Pete Batard
d5babb5e72 [ui] disable controls prior to format checks
* Also send Unicode strings to the debug output facility, since Windows 10
  *FINALLY* added Unicode processing support there...
2017-07-22 15:17:24 +01:00
Pete Batard
39e418fbe9 [iso] add work around for ISOs that use nonstandard Rock Ridge extensions
* Looking at you Kali Linux!
* Also silence the annoying 'from_733: broken byte order' warning
2017-07-21 13:11:44 +01:00
Elvin Məlikov
f1aeb63267 [loc] update Azerbaijani translation to latest 2017-07-20 17:49:20 +01:00
Pete Batard
4617ba786d [process] add a timeout for the process search
* The process search appears to be blocking on some platform, and we
  also don't want users to have to wait too long on format startup
* Also update the update check for Windows XP SSL errors
2017-07-20 17:43:38 +01:00
Sippapas Wangsri
5c3437f6de [loc] update Thai translation to latest 2017-07-19 16:57:52 +01:00
Pete Batard
9f8f5517fe [loc] update Vietnamese translation to latest 2017-07-19 13:50:35 +01:00
Chocobo1
0137de5c3a [loc] update Chinese Traditional translation to latest
* Closes #985
2017-07-19 13:45:09 +01:00
Pete Batard
e34f5ac528 [process] fix executable paths on Windows 7 or earlier 2017-07-18 17:10:15 +01:00
Gîrlea Alexandru
476ef267d2 [loc] update Romanian translation to latest 2017-07-18 15:39:29 +01:00
Mehmetali Kuran
980dc53d37 [loc] update Turkish translation to latest 2017-07-18 13:01:09 +01:00
Pete Batard
77e40d1373 [syslinux] remove unwanted 'isolinux.tmp' on error
* Also use a global 'temp_dir' variable and fix a small issue with Swedish translation
2017-07-18 12:57:22 +01:00
Thilo Langbein
ae6fa7af39 [loc] update German translation to latest 2017-07-18 12:16:22 +01:00
Piotr Halama
90761165de [loc] update Polish translation to latest 2017-07-18 12:12:45 +01:00
Aldis Tutins
09538a2456 [loc] update Latvian translation to latest 2017-07-18 12:09:56 +01:00
Jan-Erik Drangevåg
172ba1e795 [loc] update Norwegian translation to latest 2017-07-18 12:06:59 +01:00
Richard Kahl
b556c4dece [loc] update Czech translation 2017-07-18 12:03:17 +01:00
Jiawei Wang
b4800cd206 [loc] update Chinese Simplified translation to latest
* Closes #982
2017-07-18 11:56:15 +01:00
Sopor
a4cf6aea8f [loc] update Swedish translation to latest 2017-07-18 11:50:39 +01:00
Dinis Medeiros
ca9cdaf14b [loc] update Portuguese (Standard) translation to latest 2017-07-17 22:10:29 +01:00
Roberto Boriotti
bb828fda2b [loc] update Italian translation to latest 2017-07-17 22:07:21 +01:00
MaKK
6d8da601c7 [loc] update Spanish translation to latest 2017-07-17 17:40:17 +01:00
Pete Batard
f01043feda [misc] fix minor MinGW warnings
* Also update localization to version 1.0.22
2017-07-17 17:18:18 +01:00
Pete Batard
b4a2c06a2e [ui] ask user if they want proceed when conflicting processes are found
* Rufus now checks for processes with handles opened on the drives/volumes before
  starting the format operation and asks the user if they want to continue.
* This mimics Windows' behaviour when formatting drives, and actually uses the
  same message as the one from shell32.dll.mui.
* Closes #773
2017-07-16 22:42:19 +01:00
Pete Batard
bed889718e [core] attempt to continue if the only conflicting handles we found are for read-only
* Also clean-up the process code and update for rufus-next
2017-07-13 21:53:44 +01:00
Pete Batard
a528bb3d83 [ui] report process(es) that are preventing access on error
* Also revert loc file changes that were introduced in f53b22a077
2017-07-11 17:50:38 +01:00
Pete Batard
c00557900b [misc] drop WDK compilation support 2017-07-10 13:10:23 +01:00
marcellogianola
86c530ac50 [loc] Fix typos in Italian translation
* Closes #975
2017-07-05 15:29:24 +01:00
Pete Batard
92d046e663 [ui] produce a sound and flash taskbar icon on success/error
* Closes #973
2017-07-04 14:51:25 +01:00
Tiago Rinaldi
bfecb9e29f [loc] Update Portuguese (Brazilian) translation
* Closes #974
2017-06-29 11:31:52 +01:00
Pete Batard
150be52479 [iso] notify if the file size on disk is smaller than expected ISO size
* Closes #963
* Also fix a potential issue with Notification()
2017-06-24 17:23:06 +01:00
Pete Batard
390c134b7a [togo] be more verbose about the files being applied 2017-06-20 14:10:22 +01:00
Pete Batard
54ee68f6fc [pki] have GetSignatureName() use the current binary on NULL parameter 2017-06-15 17:25:13 +01:00
Pete Batard
92d8ac26b0 v2.15 (build 1117) 2017-05-16 12:37:46 +01:00
Pete Batard
9e2d0239e6 [grub] update Grub4DOS to latest
* Also update AppVeyor build script
2017-05-15 12:45:03 +01:00
Pete Batard
23d71ae0f1 [arm] add ARM compilation support (MSVC)
* Yay!
* Also remove unneeded stdint.h/stdbool.h/inttypes.h
2017-05-15 12:04:03 +01:00
Pete Batard
32b5987387 [misc] finally make the Appx taskbar icon transparent
* It's wasn't an underscore but a dot!
2017-05-14 14:42:58 +01:00
Pete Batard
09181454dd [misc] try to make that darn Appx taskbar icon transparent
* Still doesn't work though :(
* Also some minor .sln and _pre-commit.sh improvements
2017-05-14 13:23:45 +01:00
Pete Batard
3d1b3bac40 [misc] update project files to VS2017 2017-05-12 12:08:17 +01:00
Pete Batard
a4b19ddf1a [misc] move appx generation to Makefile 2017-05-09 10:54:13 +01:00
Pete Batard
7ec8db5602 [process] check for volumes open with executable access rights
* This allows us to properly identify an open command prompt as a blocking process
* Also, since FSCTL_LOCK_VOLUME is slow, switch to using an actual timeout
2017-05-08 16:58:26 +01:00
Pete Batard
f53b22a077 [ui] tell users to check the log on access errors
* Also make sure to have big fat WARNING there if we detect conflicting processes
2017-05-05 23:32:01 +01:00
Pete Batard
e52947f300 [grub] update GRUB to 2.02 release
* Just update the headers really, since all the core.img
  from 2.02~rc1 upwards have been binary identical.
* Also fix a potential small issue in process.c
2017-05-05 19:21:53 +01:00
dmex
302f108d79 [process] add a more efficient method to search for processes
* As suggested in #773
* Don't switch to using this method though, as it requires a handle to the disk or volume
  to be obtained, and we use the process search in case there is an issue doing so.
2017-05-05 18:09:38 +01:00
Pete Batard
867177c5cd [misc] expand lock cheat mode to also apply to write sharing
* Also improve log messages
2017-05-03 14:48:24 +01:00
Pete Batard
ea940114ee [process] enable SE_DEBUG_PRIVILEGE so we can enumerate Windows Services
* Closes #948
* Also set COINIT_DISABLE_OLE1DDE on init as advised by Microsoft
2017-05-02 14:07:41 +01:00
Pete Batard
23390bf911 [core] relax the FILE_SHARE_WRITE rules during enumeration
* Should allow enumeration of drives, that other process have open
  with RW access, back again (looking at you, Paragon!!!)
2017-05-02 00:56:07 +01:00
Pete Batard
3b4b742772 [wintogo] add an error popup if we can't select the version 2017-05-02 00:38:40 +01:00
Pete Batard
9950f5c088 [misc] enable DEP (Data Execution Prevention) on MinGW
* Also fix minor warnings
2017-05-01 23:55:58 +01:00
Pete Batard
7b37208820 [process] print access rights
* Also clean up the code
2017-05-01 19:50:47 +01:00
Pete Batard
7b86943266 [ui] don't report an error on chkdsk failure 2017-05-01 16:40:14 +01:00
Pete Batard
30137de7cb [iso] improve handling of image size
* Don't use the projected size where the actual image size should be used
* Also fix an issue with the projected size computation
2017-05-01 16:22:34 +01:00
Pete Batard
0c76dbf075 [process] restrict search to handles that have R or W access
* Also fix loop overflow
2017-04-30 21:59:18 +01:00
Pete Batard
d1927ac1ef [core] handle search improvements
* Fix memory leaks due to not releasing the heap
* Also speed up lookups by not reopening the same process twice in a row
* Also make the usb_debug variable global so we can use uuprintf everywhere
2017-04-29 17:14:16 +01:00
Pete Batard
fec0813073 [misc] fix MSVC builds 2017-04-27 23:27:19 +01:00
Pete Batard
d5f6ddb653 [core] list potentially blocking processes on disk access error
* Using functionality from Process Hacker:
  https://github.com/processhacker2/processhacker2/
* Part of the #773 enhancement
* Also fix minor MinGW and WDK warnings
2017-04-27 23:06:42 +01:00
Konrad Becker
27bc4cb02b [loc] fixed two German spelling errors
* One missing and one surplus character.
2017-04-26 00:07:58 +01:00
Pete Batard
55b7d5c2da [misc] code cleanup
* Also fix WDK compilation issues
2017-04-25 20:25:50 +01:00
Pete Batard
afec69c428 [ui] improve logging data
* Display the selected locate as well as LGP info in the log
* Also fix some potential Coverity warnings
2017-04-25 14:32:19 +01:00
Pete Batard
3924d2847d [misc] add build data for Windows Apps Store
* Rather useless, since elevated apps are neither accepted by Microsoft nor
  will they run by default when sideloaded. But, hey, I can has apps!
* Also update sign and sed scripts
2017-04-20 12:59:46 +01:00
Pete Batard
aec2736245 [togo] improve Windows To Go support for Windows 10 Creators Update
* Enable the use of GPT on REMOVABLE drives, if the host is Windows 10 CU
* Don't display the message about REMOVABLE boot, if the target is Windows 10 CU
2017-04-19 11:30:24 +01:00
Pete Batard
fff4465b1d [core] improve Unicode support
* Microsoft's version of _wgetenv() is *BROKEN*!
* Also set rufus-next to 2.15
2017-04-19 11:16:20 +01:00
Pete Batard
e2481efcd9 [pki] application security improvements
* Also clean up registry variables and add IsRegistryNode() call
2017-04-12 20:40:43 +01:00
Pete Batard
caa9b06426 [core] work around Windows 10 CU potentially selecting the UEFI:NTFS partition for formatting
* Should only happen with Windows 10 Creator Update (1703)
* Closes #931
* Also silence the flow of bcdboot benign errors on WinToGo creation (unless USB Debug is enabled)
* Also ensure WaitForLogical() will not actually spends 15 seconds max before giving up
2017-04-11 22:15:05 +01:00
Pete Batard
42e8d714e8 v2.14 (build 1086) 2017-04-10 11:20:08 +01:00
Pete Batard
854620d0ba [core] relax the rule for exclusive write access
* If we can't get a write handle for more than 5 seconds, retry with FILE_SHARE_WRITE
* This is a partial revert of 2f81e4f177, in order to address #924.
2017-04-09 21:08:34 +01:00
Pete Batard
2417ea7409 [misc] update Rufus URLs to https
* Also set rufus-next to 2.14
2017-04-09 21:00:02 +01:00
Pete Batard
477ff95f93 [core] display device paths in GetHandle()
* Also reorder bLockDrive and bWriteAccess parameters
2017-04-08 21:58:10 +01:00
Pete Batard
eb57d116cc [misc] update Visual Studio references in README 2017-04-06 13:44:41 +01:00
Pete Batard
4670cfaf35 v2.13 (build 1081) 2017-04-06 11:50:31 +01:00
Pete Batard
cbd31af448 [grub] update GRUB to 2.02~rc2 2017-04-05 11:12:58 +01:00
Pete Batard
be1bdb7c85 [misc] miscellaneous cleanup
* Also add CreateWindowExU() method
* Also add the 'DisableFileIndexing' to the ini template
2017-04-04 17:26:45 +01:00
Pete Batard
da7a5bb30d [iso] revert overzealous filename sanitization
* slash and backslash must be kept, as we are sanitizing paths
2017-04-02 14:51:37 +01:00
Pete Batard
e33b4589b6 [misc] small improvements for 2.13 release 2017-04-01 17:32:15 +01:00
Pete Batard
abce1a2aa0 [ui] prefer GPT if the user switched to it before ISO selection
* This should help with the myriad of people not noticing that
  this setting was reset after selecting an ISO.
2017-03-30 12:07:49 +01:00
Mayuso
893a2e63d7 [loc] more Spanish translation fixes
* Closes #915
2017-03-17 15:03:31 +01:00
Darío Hereñú
1c5ff3dd7c [loc] fix Spanish translation
* Closes #914
2017-03-16 21:20:59 +01:00
Pete Batard
ee67019129 [misc] add .editorconfig
* Also update getopt project file to remove missing file
2017-03-14 18:44:14 +01:00
Sopor
5f679edf4d [loc] update Swedish translation 2017-03-13 11:32:19 +01:00
Pete Batard
edcfd43ed5 [misc] fix multiple VS Code Analysis warnings 2017-03-10 19:07:48 +01:00
Pete Batard
97b4e623cd [iso] update libcdio to latest
* Also update .gitignore for VS2017 files
2017-03-09 15:34:37 +01:00
Pete Batard
8a491e9877 [misc] update Clang solution for VS2017 2017-03-09 12:37:53 +01:00
Pete Batard
a51d17742b [internal] update coverity script 2017-03-09 12:10:47 +01:00
Pete Batard
21ce17302d [misc] fix coverity and VS analysis warnings 2017-03-08 21:22:24 +01:00
Pete Batard
c021b7bfd8 [core] fix Microsoft's inconsistent casing for device IDs
* Microsoft inconsistently lists similar Device IDs with either upper or
  lower case values. e.g. USB\VID_1908&PID_0226\5&23CE17BD&0&3 vs.
  USB\VID_1908&PID_0226\5&23ce17bd&0&3
* Of course this creates issues when using a case sensitive hash table...
* We now convert all Device IDs to uppercase before hashing them.
2017-02-20 12:26:06 +00:00
Wang JiaWei
659f2fae34 [loc] update Simplified Chinese translation to latest
* Also fix a typo
* Closes #905
2017-02-17 11:54:15 +00:00
Pete Batard
136fd7a37e [syslinux] fix non release of the volume handle with NTFS
* Closes #904
2017-02-17 11:05:49 +00:00
Pete Batard
2f81e4f177 [core] avoid the use of FILE_SHARE_WRITE
* Not having FILE_SHARE_WRITE on a disk or volume handle helps
  prevent spurious accesses from the OS or other apps while we
  are repartitioning/refomatting.
2017-02-16 14:13:30 +00:00
Na Jiyoun
c877284d2a [loc] update Korean translation to latest 2017-02-15 12:16:02 +00:00
Pete Batard
1e7299afa2 [misc] set rufus-next to 2.13 2017-02-15 12:14:32 +00:00
Pete Batard
c72aa7be0a [core] don't clean up partition data before writing a disk image
* This workaround seems to be needed for the upcoming Windows 10 rs2_release (see #883)
* Also some minor fixes
* Closes #883
2017-02-14 12:44:25 +00:00
Pete Batard
f7b839c596 [ui] fix restore when a dialogbox is displayed while the main window is minimized
* Closes #896
2017-02-06 12:08:11 +00:00
Pete Batard
54004f7f6c [enum] fix default listing for Toshiba TransMemory UFDs 2017-01-31 11:37:25 +00:00
Pete Batard
4373f0c452 [ui] fix notification sound when closing using X
* Closes #893
2017-01-30 17:52:37 +00:00
Tiryoh
e7148c97b5 [loc] update Japanese translation to latest 2017-01-28 23:53:10 +00:00
Ivan Strugar
a970e572d2 [loc] update Serbian (Latin) translation to latest 2017-01-27 21:47:48 +00:00
Pete Batard
b1ce0cfeeb v2.12 (build 1054) 2017-01-27 20:40:40 +00:00
Gintaras Venslovas
1ee61d5fe5 [loc] update Lithuanian translation to latest 2017-01-27 15:46:16 +00:00
Nikolaos Margaritis
0ed4e7947a [loc] update Greek translation to latest 2017-01-27 13:51:03 +00:00
Piotr Halama
d722ad6dda [loc] update Polish translation to latest 2017-01-27 13:47:07 +00:00
Aldis Tutins
a75133cbd1 [loc] update Latvian translation to latest 2017-01-27 10:57:39 +00:00
MaKK
b72de29b5e [loc] fix a typo in the Spanish translation 2017-01-27 10:55:13 +00:00
Roberto Pino
f8e39471fb [loc] update Dutch translation to latest 2017-01-26 12:14:10 +00:00
MaKK
933193ded9 [loc] update Spanish translation to latest 2017-01-25 18:20:02 +00:00
Dario Komar
064fffa6f6 [loc] update Croatian translation 2017-01-24 22:31:47 +00:00
Matej Horvat
269bc569a9 [loc] update Slovenian translation to latest 2017-01-24 18:49:06 +00:00
Кирилл Иванов
90f564cc53 [loc] update Russian translation to latest 2017-01-23 11:20:17 +00:00
Krasimir Newenow
9f05d5d1e6 [loc] update Bulgarian translation to latest
* Also remove trailing whitespaces
2017-01-21 16:25:07 +00:00
Elvin Məlikov
789b8caf51 [loc] update Azerbaijani translation to latest 2017-01-20 10:42:56 +00:00
Gîrlea Alexandru
eb0890de08 [loc] update Romanian translation to latest 2017-01-19 20:07:47 +00:00
Riku Brander
ccdc1f2115 [loc] update Finish translation to latest 2017-01-19 15:43:13 +00:00
Sippapas Wangsri
43b260b617 [loc] update Thai translation to latest
* Also fix a small typo in Hebrew translation (with thanks to pinim)
2017-01-19 15:42:24 +00:00
Константин В
4dc7653a57 [loc] update Ukrainian translation to latest 2017-01-18 19:28:19 +00:00
Martin Kubánik
8df177f561 [loc] update Slovak translation to latest 2017-01-18 19:26:16 +00:00
Pete Batard
db234442e3 [ui] improve selection dialog when there exist more than 6 options
* Closes #891
2017-01-18 13:48:44 +00:00
thanhtai2009
371b1b4d94 [loc] update Vietnamese translation to latest 2017-01-18 13:09:32 +00:00
Zia Azimi
e1e7d88d38 [loc] update Persian translation to latest 2017-01-17 23:56:39 +00:00
Sopor
59cb5f227c [loc] update Swedish translation to latest 2017-01-17 15:52:31 +00:00
Noam Sarusi
7a00adcf5d [loc] update Hebrew translation to latest
* Closes #890
2017-01-17 15:46:12 +00:00
Chocobo1
34b3feb3a8 [loc] update Traditional Chinese translation to latest
* Closes #889
2017-01-17 13:12:35 +00:00
Jan-Erik Drangevåg
3db181c202 [loc] update Norwegian translation to latest 2017-01-17 12:29:14 +00:00
Mehmetali Kuran
d1e6457269 [loc] update Turkish translation to latest 2017-01-17 12:27:18 +00:00
Thilo Langbein
1e3549df9a [loc] update German translation to latest 2017-01-17 12:25:20 +00:00
Dinis Medeiros
c5527f0784 [loc] update Portuguese (Standard) translation to latest 2017-01-17 12:20:24 +00:00
Roberto Boriotti
d4756303ce [loc] update Italian translation to latest 2017-01-17 12:18:21 +00:00
Richard Kahl
06f7602c8a [loc] update Czech translation 2017-01-17 12:13:47 +00:00
Tiago Rinaldi
1757481f2e [loc] update Portuguese Brazilian translation to latest 2017-01-17 12:07:40 +00:00
Pete Batard
9f1f164aff [dev] adjust score for Alcor based UFDs
* Closes #888
2017-01-17 12:04:18 +00:00
Pete Batard
0d45bae5e5 [loc] commit latest localization updates 2017-01-16 18:02:22 +00:00
Pete Batard
8626ca949e [grub] update Grub4DOS to latest
* Also update the SHA256 DB
2017-01-13 11:12:57 +00:00
Pete Batard
ee453b0088 [dos] update FreeDOS
* Also capitalize some files to match the FreeDOS archives.
2017-01-13 11:10:52 +00:00
Pete Batard
fd093127d2 [enum] add workaround for the lousy ASMedia USB 3.0 stack
* This occurs on Windows 7 with the ASMedia proprietary USB 3.0
  controller drivers.
2017-01-12 11:47:28 +00:00
Pete Batard
e62ab37e38 [bled] improve error reporting
* Also make the use of a FIXED drive more noticeable in the log
2017-01-11 01:12:00 +00:00
Pete Batard
8aeaa4d645 [grub] add fallback to same major version 2017-01-06 16:15:31 +00:00
Pete Batard
08b6ce38c2 [core] fix a potential Could not get Disk Extents message
* Reported in #880
2017-01-05 15:42:24 +00:00
Pete Batard
5170706695 [misc] fix coverity warnings 2017-01-04 18:07:58 +00:00
Pete Batard
d7e977e1f1 [core] enable FAT32 for Windows install when dual UEFI+BIOS is enabled 2017-01-03 16:56:30 +00:00
Pete Batard
5b544c6a4a [misc] update copyright year 2017-01-01 15:30:03 +00:00
Tiago Rinaldi
0cb8aff561 [loc] fix typos in Portuguese Brazilian translation
# Closes #879
2017-01-01 15:24:00 +00:00
Pete Batard
d783573178 [syslinux] enable NTFS selection for Syslinux 6.x or later
* Tested with latest Arch, Debian and Ubuntu
2016-12-15 16:28:00 +00:00
Pete Batard
f4ebe1b6c2 [togo] prompt user to select a version before formatting 2016-12-15 12:04:19 +00:00
Pete Batard
104b33a7ba [core] remove 'MBR for BIOS' option for pure UEFI images
* Closes #832
* Also refactor image property macros
2016-12-14 23:27:41 +00:00
Pete Batard
7d302d340f [togo] enable selection of Windows version
* Closes #847
* Also set rufus-next to 2.12
2016-12-13 14:26:27 +00:00
Pete Batard
5113be0a39 [iso] add dumping of ISOs from optical media (Alt-O) 2016-12-06 11:47:19 +00:00
פלוני אלמוני
abead192d3 [loc] complete Hebrew translation
* Closes #204
2016-12-05 11:21:46 +00:00
Noam Sarusi
18607a623b [loc] add Hebrew translation (incomplete) 2016-12-05 11:04:58 +00:00
Pete Batard
4891500f40 [loc] fix license display for RTL languages 2016-12-05 10:52:37 +00:00
Pete Batard
8128d34e35 [bb] fix rand() initialization
* What do you know, srand() is thread-local...
2016-11-29 11:02:02 +00:00
Pete Batard
cbf01071ab [misc] add an indication in the log for portable mode
* Closes #854
2016-11-14 11:29:54 +00:00
Adrian Perez de Castro
03e01f2a19 [misc] Linux cross compilation fixes
* Closes #850
2016-11-11 11:58:05 +00:00
Pete Batard
73b39c1fb4 [internal] update issue template 2016-11-11 10:59:18 +00:00
Martin Schiel
e427800895 [loc] fix a typo in German translation 2016-11-04 11:30:09 +01:00
Aldis Tutins
098dff5b74 [loc] update Latvian translation 2016-10-03 11:41:44 +01:00
Robert McQueen
234b0a3fde [ms-sys] fix for detecting windows MBRs with localised messages
* Windows MBRs contain localised strings which mean the bytes between the
  executable code and the disk signature / partition table can change depending
  on locale. This patch adds lengths to reflect the offsets which are the same
  for every locale, and only compares these lengths when detecting existing
  Windows MBRs.
2016-09-21 17:37:16 +01:00
Daniel Peukert
c4b9ec4a62 [loc] fix two strings in the Czech translation
* Closes #827
2016-09-12 09:42:20 +01:00
Pete Batard
b3c76b1f61 v2.11 (build 995) 2016-09-08 17:33:41 +01:00
Pete Batard
aa4baab194 [core] add a workaround for >1TB HDDs that mistakenly report short writes
* It appears that 1.5TB and 2TB HDDs, accessed trough some Seagate ow WD USB ↔ SATA
  controllers, can report that 0 bytes were written on WriteFile(), even though all
  the data was effectively written. 1TB HDDs, accessed through the same controller,
  do not report this issue. So add a workaround for that.
* Also see #787
2016-09-06 18:31:30 +01:00
Pete Batard
8ca644de5a [core] fix sanitizing of exFAT labels
* Closes #818
2016-08-31 13:01:39 +01:00
Pete Batard
08566fa127 [core] add half workaround for an XP issue
* This is not a complete workaround, but it will do for
  until we drop support for XP altogether.
* Closes #810
2016-08-31 12:21:10 +01:00
Pete Batard
9872cad1e8 [appveyor] remove unneeded project duplication for MinGW 2016-08-30 12:10:08 +01:00
Pete Batard
cc758f58a0 [ui] fix UI font for XP users
* DIE, XP, DIE!!!!
* Closes #820
2016-08-29 18:17:43 +01:00
Pete Batard
5d3be6ca51 [misc] add a cheat mode to disable file indexing after format
* New cheat mode is Alt-Q, and gets preserved between sessions
* Only for file systems that support it (NTFS, UDF and ReFS)
2016-08-27 18:06:06 +01:00
Pete Batard
d9a928f5bc [core] fix handling of BFD drives
* A BFD (Big Floppy Disk) is a disk that isn't actually partitioned,
  but where the first data sector starts at sector 0
* Closes #814
2016-08-21 14:06:15 +02:00
Pete Batard
2b0cc9349f [misc] fix a couple code analysis warnings 2016-08-20 10:15:48 +02:00
Pete Batard
ce6ded2111 [iso] add label update workaround for ArchLinux derivatives 2016-08-14 15:45:29 +02:00
pluto00987
ce8fbd9934 [misc] align ms-sys source with upstream
* This adds the (currently unused) fat32pe boot records
* Closes #801
2016-08-11 17:05:39 +02:00
Pete Batard
6d3b1c856f [iso] prevent usage of FAT32 for WinPE4 ISOs
* This is part of #801
2016-08-10 18:59:35 +02:00
Pete Batard
ab44cde7ac [misc] don't download BIOS-related files if selected target isn't BIOS
* Part of #799
* Also set rufus-next to 2.11
2016-08-08 13:46:50 +02:00
Pete Batard
e7578bc12d [syslinux] support ISOs that use boot.bin instead of isolinux.bin
* Such as WebConverger (webc-35.1.iso)
* Also fix non installation of Syslinux if Alt-E (dual UEFI/BIOS) is set
* Also update README and AppVeyor script
2016-08-07 18:41:47 +02:00
Pete Batard
19536ddd1a [appveyor] this versioning sure isn't intuitive... 2016-08-06 19:04:34 +02:00
Pete Batard
b808b67769 [appveyor] match AppVeyor version with git tag or SHA-1
* Also add a GPLv3 badge
2016-08-06 19:01:05 +02:00
Pete Batard
6a4cc1acb5 [appveyor] fix AppVeyor script
* This should build for all of the VS2015 targets as well as MinGW32 + MinGW-w64
2016-08-06 00:00:08 +02:00
Pete Batard
1e9aa1e646 [appveyor] try without an explicit SDK setup call for x86_64 2016-08-05 21:11:32 +02:00
Pete Batard
3c0c1b7e9a [misc] and now we try for fix AppVeyor... 2016-08-05 18:01:46 +02:00
Pete Batard
a1f433b1b4 [misc] add AppVeyor CI support 2016-08-05 17:30:49 +02:00
Pete Batard
09482d53fe [iso] fix a libcdio log message 2016-07-31 18:23:50 +02:00
Pete Batard
b204065f88 [clang] use the July Clang/C2 framework VS2015 update 2016-07-21 15:58:11 +01:00
Pete Batard
b32c7149eb v2.10 (build 973)
* Also fix an indentation warning from gcc 6.1
2016-07-20 10:51:08 +01:00
Pete Batard
dcb0d561d5 [uefi] update UEFI:NTFS and add support for compressed NTFS partitions
* UEFI:NTFS now uses the latest efifs drivers, with NTFS compression supported
* Because the executables are now compiled with Clang, we can also revert to a 256KB partition
2016-07-18 13:25:49 +01:00
Pete Batard
56eb635879 [internal] use smart card keys for code signing
* Also fix a Coverity warning
2016-07-15 13:32:22 +01:00
Pete Batard
cee50bd189 [grub] update Grub4DOS 0.4.6a to latest
* Also update Changelog
2016-07-10 21:51:46 +01:00
Pete Batard
9dd06e93bc [ui] improve Windows format prompt autoclose
* Closes #794
* Also reorder some messages (so that RUFUS_TEST comes first)
* Also update issue template
2016-07-09 16:20:58 +01:00
Pete Batard
cebfa4cc7a [ui] delay hotplug event when the user has pressed Start
* Closes #793
* Also update issue template
2016-07-08 12:09:46 +01:00
Pete Batard
91eec034b1 [core] try not to clear MBR/GPT sectors higher than the lowest partition
* This ensures that a drive can be reformatted without error after writing
  an image such as super_grub2_disk_x86_64_efi_2.02s4.iso
2016-07-07 18:13:01 +01:00
Pete Batard
2f88286dc1 [misc] update issue template 2016-07-06 11:25:38 +01:00
Pete Batard
473e7467e8 [misc] add issue template 2016-07-05 16:18:09 +01:00
Pete Batard
a207d967a5 [uefi] add support for EBC boot loader
* Closes #791
2016-07-04 13:16:04 +01:00
Pete Batard
ed1b3fd72e [iso] reload label after formatting
* The Windows APIs may further modify the label compared to our proposed
  version (e.g. remove trailing spaces), and we need an exact label for
  the Syslinux/GRUB config file update.
* This issue was reported against Springdale Linux, where the isolinux.cfg
  label was patched using 'SPRINGDALE\x20' instead of 'SPRINGDALE'
* Closes #784
* Also ensure that we don't replace NULL buffers in msapi_utf8.h and add
  GetVolumeInformationU()
2016-06-26 22:24:16 +02:00
Na Jiyoun
60517f1e50 [loc] update Korean translation to latest 2016-06-25 11:35:43 +02:00
Pete Batard
4f3e27b089 [syslinux] try to match version detection with the config directory 2016-06-19 23:33:00 +02:00
Pete Batard
d3f7e1c1aa [grub] limit GRUB2 support to BIOS/x86
* EFI should take care of itself and this will avoid benign warnings
  such as the ones produces by the latest Ubuntu
2016-06-17 16:14:54 +02:00
Pete Batard
d85a4e4307 [efi] ensure that the UEFI:NTFS partition is properly sized 2016-06-16 18:29:15 +02:00
Pete Batard
e76f60a3e8 [misc] use the more univerasal _mm_alloc() instead of _aligned_malloc()
* Also ensure that our buffers are aligned
* Also remove the use of static buffers in ms-sys
2016-06-10 12:42:43 +01:00
Pete Batard
3fdf622933 [syslinux] fix Syslinux installation for some media
* Some disk devices, such as O2Micro PCI-E SD card readers, return ERROR_INVALID_PARAMETER
  when attempting to use ReadFile() on a volume against a non 8-byte aligned buffer.
* This patch ensures that the Syslinux buffers for sector patching are 16-byte aligned.
* HUGE THANKS to 424778940z, for the numerous testing that allowed to troubleshoot this issue.
* Closes #767
2016-06-09 17:49:58 +01:00
Pete Batard
c0393aec08 [misc] add a few more missing calloc checks
* Also use the relevant macro in msapi_utf8.h
2016-06-08 16:32:31 +01:00
Pete Batard
a10ea1498b [misc] add more check for malloc() errors
* Closes #772
* With thanks to @elfring
2016-06-07 19:47:01 +01:00
Pete Batard
f1f620411c [syslinux] use SetFilePointerEx and other improvements 2016-06-06 19:39:53 +01:00
Pete Batard
f31a90bba2 [enum] add support for O2Micro PCI-E card readers
* Part of #767
2016-06-06 00:36:56 +01:00
Pete Batard
66534640a4 [enum] use Unicode when retrieving the device friendly name
* This should fix the improper display of some localized strings such as
  "Microsoft Virtual Disk"
2016-06-05 20:21:16 +01:00
Pete Batard
de386329e4 [clang] fix breakage when opening ISO9660 images
* Even in MS compatibility mode, clang needs to be told how to pack structs
* Also fix a compilation warning with Link Time Code Generation
2016-06-04 22:09:25 +01:00
Pete Batard
3b0c4e8083 add Clang/C2 support for Visual Studio (EXPERIMENTAL)
* When I say EXPERIMENTAL, I mean it!!
* Currently, opening an ISO9660 image fails with 'Could not access directory'
2016-06-04 18:57:55 +01:00
Pete Batard
f0b13361be [msvc] harmonize compilation options 2016-06-04 17:50:16 +01:00
Pete Batard
39d6b90447 [misc] fixes for Clang/C2 compilation support 2016-06-04 17:13:50 +01:00
Pete Batard
2e530d5ce7 [dev] add exception for Intenso Speed Line flash drives
* This flash drive seems to declare itself as FIXED which resulted in a +1 score
2016-06-03 11:21:25 +01:00
Pete Batard
07497fc231 [misc] fix the use of invalid "%luX" formatter
* "%luX" is invalid as "X" already means unsigned hexadecimal so there's no need for "u"
2016-06-02 21:20:29 +01:00
Pete Batard
c2fc113f8a [loc] update Simplified Chinese translation to latest
* Also fix an issue with the translation for MSG_031
* Thanks go to choleraehyq for spotting the issue and 424778940z for providing the new translations
* Closes #766
2016-05-31 23:21:00 +01:00
Pete Batard
bbafd128c1 [net] fix https downloads
* Closes #712
2016-05-31 16:35:48 +01:00
Pete Batard
2495f2d444 [misc] fix a new set of MinGW warnings 2016-05-30 17:49:32 +01:00
Pete Batard
b9da0cf057 [ui] fix missing partition scheme tooltip after selecting an ISO
* Tooltips can only be manipulated from the same thread as the one that created their parent
* Also increase the SetLGP() timeout as this seems to be problematic
* Closes #764
2016-05-30 17:32:49 +01:00
Pete Batard
bf679271b8 [misc] prevent application launch if running non elevated
* Since, despite what Microsoft states, having 'requireAdministrator' in a manifest STILL isn't
  enough to prevent an app from launching as non elevated for some weird account configurations...
* Closes #757
2016-05-26 21:47:01 +01:00
Pete Batard
790aacd49a [core] add SHA-256 validation DB for downloadable content
* Downloadable content will now be indicating, in the log, whether it can be trusted with ✓ (validated) or ✗ (caution)
* Of course this validation only applies for files we know of, i.e. the downloadable content that existed at the time the DB was
  created. So, if Syslinux 8.x gets released tomorrow and we put it on our server, you'll get an ✗ regardless of its integrity.
* Closes #758
2016-05-25 12:20:20 +01:00
Pete Batard
04d6ac0cdd [checksum] add an individual checksum function call
* Part of #758
* Also define checksum types and fix a missing change in smart.c
2016-05-24 13:21:23 +01:00
Pete Batard
a41bca3183 [checksum] fix wrong checksums for content that isn't a multiple of 64 bytes
* Leading odd-sized chunks needs to be tested *before* updating the bytecount
* Closes #761
2016-05-24 11:48:10 +01:00
Pete Batard
81673ade26 [core] clean up the RUFUS_DRIVE_INFO struct
* Remove the duplication of DISK_GEOMETRY to keep only the variables we actually use
* Also set rufus-next to 2.10
2016-05-23 12:19:43 +01:00
Pete Batard
258a4f7ca0 [core] work around a Windows bug that may render a disk inaccessible on cleanup
* The root of the issue is that Windows IOCTL_DISK_CREATE_DISK does not properly
  zero all of the MBR/GPT/PBR structure with PARTITION_STYLE_RAW (which is what
  diskpart uses to clean a disk), and leaves plenty of partition artefacts behind.
* This means that, when an image with complex partitioning has been applied, such
  as Chromium/ChromeOS, you may end up with a drive that can not be repartitioned
  or reformatted in Windows (and this is completely independent of whether Rufus
  was used to perform these operations - For instance you will get the same issue
  if you use Win32DiskImager and diskpart + clean).
* The only option left for users then is to reset/repartition their drives in Linux
  or some other OS, as Windows' VDS becomes incapacitated to handle the drive, as
  the problem persists independently of reset/re-plug/Windows platform being used.
* To work around this, we ensure that we zero the MBR/GPT/PBR sectors BEFORE calling
  IOCTL_DISK_CREATE_DISK.
* Also move zeroing of the drive before partition reset.
* Closes #759
2016-05-21 16:34:34 +01:00
Pete Batard
935679dd85 [misc] silence a couple Coverity warnings
* We're not doing crypto here, so using rand() is fine...
2016-05-18 10:35:50 +01:00
Pete Batard
e177144258 v2.9 (build 934) 2016-05-17 10:46:18 +01:00
Nikolaos Margaritis
83147e5158 [loc] update Greek translation to latest 2016-05-17 09:57:35 +01:00
Ivan Strugar
b4e93d3652 [loc] update Serbian translation to latest 2016-05-17 09:55:07 +01:00
thanhtai2009
27f4a92be2 [loc] update Vietnamese translation to latest 2016-05-17 09:53:01 +01:00
Pete Batard
39c4b51069 [loc] fix a typo in the French translation 2016-05-16 20:46:51 +01:00
Roberto Pino
6762e6febb [loc] update Dutch translation to latest 2016-05-16 20:33:38 +01:00
Martin Kubánik
807ef70879 [loc] update Slovak translation to latest 2016-05-16 20:12:36 +01:00
Pete Batard
1a24e5bbd7 [syslinux] fix a typo that reintroduced a possible crash
* a10a207790 reintroduced the crash that was fixed in ad68ccfac9
  due to the missing semicolon.
* Also fix a minor output message issue
* Closes #752
2016-05-16 16:33:53 +01:00
Viszokai György
0abd745a87 [loc] update Hungarian translation to latest 2016-05-16 15:29:29 +01:00
Dario Komar
fc6b3be052 [loc] update Croatian translation to latest 2016-05-16 15:28:03 +01:00
Richard Kahl
25f03ff407 [loc] update Czech translation to latest 2016-05-16 12:25:10 +01:00
Krasimir Newenow
eb07933939 [loc] update Bulgarian translation to latest 2016-05-13 10:43:33 +01:00
Tiryoh
cb9c1d05a3 [loc] update Japanese translation to latest
* Closes #755
2016-05-13 10:41:13 +01:00
Matej Horvat
2c3745f459 [loc] update Slovenian translation to latest 2016-05-12 13:11:26 +01:00
Piotr Halama
0bfce8655e [loc] update Polish translation to latest 2016-05-12 13:05:06 +01:00
Gintaras Venslovas
a05d0a5ac2 [loc] update Lithuanian translation to latest 2016-05-12 13:03:55 +01:00
Jan-Erik Drangevåg
387ae477cb [loc] update Norwegian translation to latest 2016-05-11 11:31:49 +01:00
Arif Budiman
ddd019f2e6 [loc] update Indonesian translation to latest 2016-05-10 19:42:21 +01:00
Elvin Məlikov
e44c35613a [loc] update Azerbaijani translation to latest 2016-05-10 19:41:10 +01:00
Sippapas Wangsri
1747df09d9 [loc] additional Thai translation updates 2016-05-10 11:59:37 +01:00
Roberto Boriotti
bf73a6c451 [loc] update Italian translation to latest 2016-05-10 11:51:45 +01:00
Zia Azimi
16690df5cb [loc] update Persian translation to latest 2016-05-10 11:49:55 +01:00
Sippapas Wangsri
7d5d95efbf [loc] update Thai translation to latest 2016-05-10 11:45:29 +01:00
Chocobo1
dc1b8bd94d [loc] update Chinese (Traditional) translation to latest
* Closes #751
2016-05-10 11:42:11 +01:00
Кирилл Иванов
7c2088fee6 [loc] update Russian translation to latest 2016-05-10 11:40:04 +01:00
Sopor
e34d2ab126 [loc] update Swedish translation to latest 2016-05-10 11:38:27 +01:00
Dinis Medeiros
0915370cc8 [loc] update Portuguese (Standard) translation to latest 2016-05-10 11:36:48 +01:00
Pete Batard
55b01502ff [misc] update ChangeLog 2016-05-10 11:34:18 +01:00
Thilo Langbein
e1cd763dd2 [loc] update German translation to latest 2016-05-10 11:31:50 +01:00
Riku Brander
2ecaed9d1d [loc] update Finnish translation to latest 2016-05-10 11:29:57 +01:00
Aldis Tutins
5fd158d50b [loc] update Latvian translation to latest 2016-05-10 11:26:45 +01:00
Константин В
887ce483e8 [loc] update Ukrainian translation to latest 2016-05-10 11:24:31 +01:00
MaKK
7387d891f1 [loc] update Spanish translation to latest 2016-05-10 11:18:33 +01:00
Tiago Rinaldi
3227e2e5d1 [loc] update Brazilian Portuguese translation to latest 2016-05-10 10:51:02 +01:00
Pete Batard
f08afb4492 [loc] add missing MSG_286 to translation ChangeLog
* Also fix some spacing issues with French translation
2016-05-09 17:40:28 +01:00
Gîrlea Alexandru
2aac772974 [loc] update Romanian translation to latest 2016-05-09 17:33:22 +01:00
Tmp341
d79264846e [loc] update Turkish translation to latest
* Added and translated two lines. But i don't know, whether or not Turkish localization is 100% synchronized with English.
* Closes #750
2016-05-09 17:24:53 +01:00
Pete Batard
f65dbb11c0 [loc] add new message for listing of non-USB removable drives
* Also increase status display timeout for cheat modes
2016-05-09 13:40:54 +01:00
Pete Batard
8bd9055d6c [misc] add a retry on commandline hogger deletion
* Trying to delete the hogger could result in access denied on first attempt,
  which would leave a rufus.com behind
* Part of #714
2016-05-02 12:06:38 +01:00
Pete Batard
b6c0dd1b23 [core] fix a typo in exFAT cluster selection for >32GB drives
* Closes #745
2016-05-02 11:11:22 +01:00
Pete Batard
d7c4cb088f [core] update UEFI:NTFS to latest
* Should fix the long-standing HP firmware compatibility as per #615, #549 and others
* See 22370067f5 for details
2016-04-28 22:40:16 +02:00
Pete Batard
d4c518a4ae [misc] update UEFI:NTFS partition detection 2016-04-28 11:06:32 +02:00
Pete Batard
43d9ac046b [core] don't list non-USB removable devices by default
* Unless specifically requested with Ctrl-Alt-H
* Closes #727
* Also rename usb.c to dev.c, since we may be listing more than USB devices
2016-04-26 14:57:07 +02:00
Pete Batard
fc5d64618a update UEFI:NTFS to latest
* This introduces ARM boot support
* Also set rufus-next to 2.9 and add ARM64 UEFI detection
2016-04-24 14:19:19 +02:00
VGPlayer
99046919a5 [loc] update Malay translation to latest 2016-04-24 11:28:28 +02:00
Pete Batard
0d310d1c6b [misc] fix Coverity warnings 2016-03-25 16:38:01 +00:00