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

1204 commits

Author SHA1 Message Date
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