Pete Batard
65ac40e750
[ui] preserve Windows To Go setting when changing boot selection
2018-04-13 12:17:09 +02: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
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
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
903ac993f2
[misc] remove no longer needed XP workarounds
2017-11-13 14:30:25 +00:00
Pete Batard
9c8cb59253
v2.18 (build 1213)
2017-11-07 13:24:17 +00:00
Pete Batard
6a45a678b3
[ui] ensure that the same drive is re-selected on device refresh
2017-10-23 17:09:18 +01: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
44c9cb0b82
[iso] add support for ISO9660 multiextent files
...
* Closes #1007
2017-09-14 17:36:54 +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
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
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
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
c82842ce2a
[core] add Super Floppy Disk support
2017-08-12 15:12:00 +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
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
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
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
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
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
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
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
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
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
Pete Batard
92d046e663
[ui] produce a sound and flash taskbar icon on success/error
...
* Closes #973
2017-07-04 14:51:25 +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
54ee68f6fc
[pki] have GetSignatureName() use the current binary on NULL parameter
2017-06-15 17:25:13 +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
3b4b742772
[wintogo] add an error popup if we can't select the version
2017-05-02 00:38:40 +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
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
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
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
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
e2481efcd9
[pki] application security improvements
...
* Also clean up registry variables and add IsRegistryNode() call
2017-04-12 20:40:43 +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
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
Pete Batard
21ce17302d
[misc] fix coverity and VS analysis warnings
2017-03-08 21:22:24 +01: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
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
4373f0c452
[ui] fix notification sound when closing using X
...
* Closes #893
2017-01-30 17:52:37 +00:00
Pete Batard
8aeaa4d645
[grub] add fallback to same major version
2017-01-06 16:15:31 +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
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