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

1664 commits

Author SHA1 Message Date
Pete Batard
8b18d8ce1d
[core] add CycleDevice and VDS layout refresh
* Also fix some minor issues
2019-05-23 13:09:25 +01:00
Miloš ljubičić
bf59239c39
[loc] update Serbian translation to latest 2019-05-21 23:55:52 +01:00
Suttirak
ee3dc74c1d
[loc] update Thai translation to latest 2019-05-15 13:46:01 +01:00
Pete Batard
2607dfabc1
[loc] fix truncation of notification messages 2019-05-15 13:42:33 +01:00
Pete Batard
2ff6da49f0
[extfs] add standalone ext2/ext3 formatting
* Only enabled when Advanced format options are shown
* Also enable reading of extfs volume label
* Also improve GRUB lookup fallback
* Also fix possible truncation when sanitizing labels
* Also write a zeroed MBR when non-bootable is selected
2019-05-03 23:51:05 +01:00
Pete Batard
a696e041e1
[misc] fix MinGW compilation
* Updated header was missing from previous commit
2019-05-02 16:03:15 +01:00
Pete Batard
5ae6e4f494
[ext2fs] improve error reporting
* Also clean up VDS error messages
2019-05-02 15:41:42 +01:00
Pete Batard
5f9e65707f
[core] partitioning improvements
* Improve report and make sure we zero leftovers from the start of a partition
* Also add VDS error codes
* Also fix Coverity warnings
2019-04-27 16:04:47 +01:00
Pete Batard
1c39a80d72
[core] partial overhaul of the partitioning and formatting facilities
* Add VDS formatting support (through an Alt-V cheat mode)
* Add partition index support
* Improve(?) Windows To Go support by following Microsoft recommended partition order
* Code refactoring & cleanup
2019-04-25 18:58:55 +01:00
Pete Batard
4b38483a68
[ext2fs] improve persistence partition creation's progress report
* Closes #691
2019-04-19 13:24:20 +01:00
Pete Batard
d93ae1e598
[core] fix 2.x → 3.x regression that removed NTFS for Grub4DOS
* Also update file hash DB
2019-04-18 12:53:12 +01:00
Pete Batard
0a3600f9ff
[ext2fs] add registry setting to specify which ext fs version we should use
* Also improve log progress report
* Also move ext formatting to before we format the main partition
2019-04-17 20:34:39 +01:00
Pete Batard
0ad3f8c1d3
[ext2fs] integrate ext3 formatting into UI operations
* Add display of persistence controls on relevant images
* Add progress on ext3 formatting and improve error reporting
* Also improve MountVolume() and fix some Coverity warnings
2019-04-16 20:44:13 +01:00
Pete Batard
ccf0f1bf3c
[ext2fs] add journal support for ext3 formatting
* Also clean up code, handle errors and fix issues
2019-04-15 17:04:39 +01:00
Mohamad Ikhwan bin Kori
ddda1561ae
[loc] update Malay translation to latest 2019-04-14 15:22:09 +01:00
Pete Batard
5159b1eb87
[ext2fs] fix Coverity warnings 2019-04-13 17:17:23 +01:00
Pete Batard
9610e3a63b
[misc] refactor some global variables' names so we can reinstate -Wshadow
* Also remove no longer used _coverity.cmd and update .gitignore
2019-04-13 15:29:27 +01:00
Pete Batard
cec443ef61
[ext2fs] update to latest e2fsprogs
* e2fsprogs commit [cecc2bc78b39ddcd34a819a4d7e7cd30897958cb]
* Also add LGPLv2 license text
2019-04-13 14:52:29 +01:00
Pete Batard
cda716c1ff
[ext2fs] initial ext2fs support 2019-04-12 21:32:40 +01:00
Pete Batard
f4d70345af
[loc] update MSG_068 and MSG_100
* Closes #1281
2019-04-11 14:24:18 +01:00
Pete Batard
38d82612cd
[core] fix a memory leak when search for process is interrupted 2019-04-10 12:17:47 +01:00
Pete Batard
d4a663991b
[core] report write errors more explicitly
* Also issue a port cycle on ERROR_NOT_READY
* Also run a check for conflicting processes during write retries
2019-04-09 21:37:08 +01:00
alex f
b7ab196a97
[loc] update Greek translation to latest 2019-04-08 16:37:08 +01:00
Pete Batard
06b33f94e4
[core] alter the drive letter we use when Windows has already remounted it
* Our code should be flexible enough to do just that and this will also
  alleviate requiring end users to retry an operation.
2019-04-08 16:29:17 +01:00
Neoheresy
7a04f52f6c
[loc] fix 2 typos in Polish translation 2019-04-06 14:22:43 +01:00
Pete Batard
1ca4c7acb4
[loc] fix typos in French translation
* Closes #1296
* Also add .github to the list of ignored AppVeyor directories
2019-04-06 12:23:57 +01:00
Pete Batard
bd099b9cca
[internal] add auto-locking of closed issues after 90 days of inactivity 2019-04-06 12:08:51 +01:00
Uk-Jin Jang
ce8f025820
[loc] update Korean translation to latest 2019-04-06 11:37:28 +01:00
Pete Batard
5dbf537dfb
[core] add listing exception for Apple SD card readers
* Also fix a Coverity warning
2019-04-05 22:02:36 +01:00
Pete Batard
f02fbe3acc
[core] add full extraction support for efi.img
* Also, Solus distro maintainers, I hate you!
2019-04-04 19:12:48 +01:00
Pete Batard
dd9f9ce1e9
[process] fix retrieval of full process commandline for MinGW32
* NtWow64QueryInformationProcess64() fails because sizeof(PVOID64) happens to be 4 instead of 8 in MinGW32 (WTF?!?) and
  therefore sizeof(pbi) is set to 44 instead of 48, resulting in NTSTATUS code 0xC0000004: STATUS_INFO_LENGTH_MISMATCH...
  => Use an ULONGLONG instead and don't rely on MinGW32's improper definitions.
* Also fix an issue whereas, when we find multiple conflicting processes, the first one's path is duplicated to all others...
2019-04-02 12:31:41 +01:00
Pete Batard
2a1c57c750
[ui] disable button and add a countdown when launching update
* Also disable Launch button while we do so
* Also add new <Ctrl>-<Alt>-<Y> cheat mode
* Also terminate update thread before exiting if running
* Also set version to rufus-next
2019-04-01 16:38:27 +01:00
marcellogianola
f5fb5586c6
[loc] update Italian translation
* Closes #1294
2019-03-31 22:17:52 +01:00
Sasa Vujanic
30f940308a
[loc] update Croatian translation to latest 2019-03-31 22:07:40 +01:00
Кристиан Дочев
1926270833
[loc] update Bulgarian translation to latest 2019-03-30 00:50:39 +00:00
Mehmetali Kuran
3d3ba56be6
[loc] update Turkish translation
* Closes #1293
2019-03-29 16:20:01 +00:00
Jakub Zieciak
032937886e
[loc] update Polish translation to latest 2019-03-29 00:09:51 +00:00
Jakub Zieciak
0ee592bf76
[loc] update Norwegian translation to latest 2019-03-28 23:59:32 +00:00
Gintaras Venslovas
de30f2c4e6
[loc] update Lithuanian translation to latest 2019-03-28 23:45:24 +00:00
Pete Batard
be4ea5652d
v3.5 (build 1497) 2019-03-28 12:10:08 +00:00
Pete Batard
661ba7b64c
[core] fix Win7 EFI boot file extraction when dual BIOS+UEFI is in use
* Closes #1292
* Also add "RISD" (Ricoh IDE SD Card reader) to list of card readers (#551)
* Also make running Fido script read-only
2019-03-27 12:21:41 +00:00
anni deer
1ecc771cbd
[loc] update Danish translation to latest 2019-03-26 23:58:43 +00:00
Pete Batard
727b4e1733
[misc] improve Appx creation workflow
* Automatically build each arch and fix a missing variable
2019-03-26 17:26:01 +00:00
Zia Azimi
0e6fb967b3
[loc] update Persian translation to latest 2019-03-26 12:14:20 +00:00
Matej Horvat
912f44c44f
[loc] update Slovenian translation to latest 2019-03-25 19:58:29 +00:00
Tiryoh
519c268aed
[loc] additional Japanese translation updates 2019-03-25 16:16:57 +00:00
Viszokai György
09e82623b0
[loc] update Hungarian translation to latest 2019-03-25 14:13:46 +00:00
Tiryoh
ee7accedf1
[loc] update Japanese translation to latest 2019-03-25 13:56:45 +00:00
Pete Batard
4271e42b50
[fido] download an LZMA compressed version of the script
* Since we have compression available through Bled we might as well use it
* Also validate that the download URL comes from https://github.com/pbatard/Fido
* Also prevent the check for update from running while we are downloading ISOs
2019-03-23 13:59:20 +00:00
MaKK
7ad3b31be9
[loc] update Spanish translation to latest 2019-03-21 17:46:58 +00:00
Aldis Tutins
e65f432b34
[loc] update Latvian translation to latest 2019-03-21 15:32:14 +00:00
Thilo Langbein
3b654d7a46
[loc] fix a small typo in German translation 2019-03-21 15:23:04 +00:00
Thilo Langbein
6967032082
[loc] update German translation to latest 2019-03-21 09:27:56 +00:00
Arif Budiman
eb0fdf58b0
[loc] update Indonesian translation to latest 2019-03-20 17:18:32 +00:00
Martin Kubánik
9fda478e0c
[loc] update Slovak translation to latest 2019-03-20 13:35:47 +00:00
Pete Batard
3aecbf371b
[net] fix display of download filesize for RTL languages
* Closes #1279
2019-03-20 13:28:42 +00:00
Mehmetali Kuran
eac0ea942a
[loc] update Turkish translation to latest 2019-03-19 13:10:09 +00:00
Roberto Boriotti
48f5ccab00
[loc] update Italian translation to latest 2019-03-19 13:05:26 +00:00
Riku Brander
6b74ab7132
[loc] update Finnish translation to latest 2019-03-19 12:58:04 +00:00
Pete Batard
82bb497c1b
[fido] add a log notice to explain why ISO downloads are disabled
* Also fix an issue where Rufus doesn't report an error if 'fmifs.dll' can't be found (#1284)
* Also improve GitHub issue template to mention that Ctrl-L can also be used to access the log
2019-03-19 12:04:29 +00:00
Jiawei Wang
77027b40ec
[loc] update Simplified Chinese translation to latest 2019-03-18 12:30:59 +00:00
Костянтин Сергійович
923aa071a4
[loc] update Ukrainian translation to latest 2019-03-18 12:19:42 +00:00
Richard Kahl
6665be18cc
[loc] update Czech translation to latest 2019-03-16 18:54:03 +00:00
Pete Batard
28c1d6eb31
[core] display a notice about Legacy in the protective MBR for GPT
* This should help Windows users who create a GPT/UEFI drive and try to use it in BIOS/Legacy
* Also make sure that we take into account the split space for both "SELECT" and "DOWNLOAD"
2019-03-16 13:12:08 +00:00
Cao Bach
789373ed59
[loc] update Vietnamese translation to latest 2019-03-16 12:28:28 +00:00
Tiago Rinaldi
7b4db95f2f
[loc] update Brazilian Portuguese translation to latest 2019-03-16 12:22:54 +00:00
Pete Batard
efd6d9f345
[misc] fix Coverity warnings
* What would be nicer was if half these Coverity issues weren't false positives...
* Also update Readme and fix progress bar colour not being reset after error
2019-03-15 11:00:13 +00:00
Itiel
6252636aff
[loc] update Hebrew translation 2019-03-15 10:43:20 +00:00
Pete Batard
9cc9d3fefe
[misc] update the Changelog
* Also fix a warning about uninitialized variable
2019-03-14 23:16:31 +00:00
Gîrlea Alexandru
5c4324f827
[loc] update Romanian translation to latest 2019-03-14 20:34:22 +00:00
Pete Batard
25a4666911
[ui] fix fs selection and remove prompt for GRUB/Syslinux downloads in GPT mode
* FS selection might default to NTFS instead of FAT32 after having selected a Linux ISO if
  no drive was plugged in when the ISO was selected and then a drive was plugged using NTFS.
* Also display Fido's exist code
* Closes #1255
2019-03-14 18:53:08 +00:00
Feras Mohammed
38d906deed
[loc] update Arabic translation to latest 2019-03-14 16:09:47 +00:00
Кирилл Иванов
d844601ed4
[loc] update Russian translation to latest 2019-03-14 13:06:23 +00:00
Thomas De Rocker
2e5ff00c0c
[loc] update Dutch translation to latest 2019-03-14 13:01:28 +00:00
Chocobo1
bbd33265aa
[loc] update Chinese Traditional translation to latest
* Closes #1280
2019-03-14 12:59:16 +00:00
Sopor
e32a029eb8
[loc] update Swedish translation to latest 2019-03-14 12:53:02 +00:00
Dinis Medeiros
5b3966a489
[loc] update Portuguese (Standard) translation to latest 2019-03-14 12:32:17 +00:00
Itiel
b043e5023e
[loc] update Hebrew translation to latest 2019-03-14 12:24:06 +00:00
Pete Batard
924c6b1a79
[loc] fix alert hook handling when switching language
* Because the localized title/button text lookup was only executed once
  on startup, it wouldn't apply to the new language on relaunch. Fix that.
2019-03-13 17:01:26 +00:00
Pete Batard
7e21f8a60c
[misc] add /utf-8 to MSVC compiler options
* Closes #1277
2019-03-12 20:15:57 +00:00
Pete Batard
0c368b4e69
[loc] finalize translations for 3.5
* Also update for latest Fido and simplify SetLGP
2019-03-12 19:53:25 +00:00
Pete Batard
688ccfad66
[pollock] remove call to ValidateDownload()
* It is seeing 403 errors from GitHub even though the download works
2019-03-12 13:46:09 +00:00
Pete Batard
65f886141b
[fido] improve UI handling
* Center dialog on open
* Close dialog on main application exit
* Display ISO short name & size on status bar during download
* Display ISO download progress on taskbar
* Also fix improper detection of EAGET Mass Storage USB Device as HDD
2019-03-07 16:29:43 +00:00
Pete Batard
9d1a2bc25e
[net] fix session variables not being cleared in ResolveRedirect()
* Also set default network timeouts to 3500ms
* Also add '-Sta' option when running Fido so that at at least the UI can display on Windows 7
2019-03-05 16:25:14 +00:00
Pete Batard
db68bcd7f9
[fido] use Rufus existing alert handler to close Fido's cookie prompts
* Addresses pbatard/Fido#1 while being much more effective than an all-script solution
2019-03-05 12:41:10 +00:00
Pete Batard
8823c0cf9c
[net] always download latest release of Fido
* Also clean up/factorize some of the net code
2019-03-04 19:14:54 +00:00
Pete Batard
2a77763dc3
[net] add ISO selection after successful download
* Also use UM_TIMER_START message to start timed operations
2019-03-04 11:57:33 +00:00
Pete Batard
e073fb47b0
[net] add Windows retail ISO downloads
* This is accomplished through Fido (https://github.com/pbatard/Fido), a *SIGNED*
  PowerShell script, that is downloaded from GitHub and that resides in memory for
  the duration of a session.
* The reason we use a downloaded PS script, rather than an embedded on, is because:
  - Microsoft have regularly been changing the deal with regards to how retail ISOs
    can be downloaded, and not for the better, so we can't simply embed a static
    means of downloading ISOs and expect that to work forever.
  - By using an external script, we can immediately respond to whatever new means of
    *ANNOYING* their legitimate users Microsoft will come up with next, as well as
    make sure that, the minute a new retail version of Windows becomes available, it
    also becomes available for download in Rufus.
* Note that if you are concerned about downloading a remote PS script that is being
  run at the same level as an elevated application, you should understand that:
  - Only scripts downloaded from GitHub, from an account that is protected with 2FA,
    are allowed to run (i.e. someone would first have to steal a *physical* 2FA key
    to be in a position to upload a malicious script).
  - On top of this, only scripts that are signed with a separate private key (RSA +
    AES-256), that is itself also protected with a strong unique password which only
    a single person knows (and must manually enter each time they want to make a new
    version of the script available for download), are allowed to run.
  The above means that there's about as much chance for someone to manage to upload
  a malicious script on the GitHub servers, that Rufus would allow to run, as there
  is for someone to upload a malicious version of Rufus itself.
  Still, if you are paranoid and have concerns that, even as you can validate from
  its source that Rufus does not attempt to execute any remote script unless a user
  actively selected and clicked the DOWNLOAD button, you can also completely disable
  the remote script download feature, if you just set the update check to disabled
  (which, by the way, Rufus *EXPLICITLY* asks you to choose whether you want to
  enable or not, the very first time you run the application).
* Also remove _unlinkU() which duplicates what DeleteFileU() already does.
2019-03-02 23:34:32 +00:00
Pete Batard
c5513447c9
[misc] update project to use latest default VS2017 SDK
* Also add missing control in localization_data.h
2019-02-27 18:47:15 +00:00
Pete Batard
595f74f70c
[loc] fix human readable size display for RTL languages
* Closes #1254
2019-02-14 19:34:05 +01:00
Pete Batard
555397403a
[ui] fix quickformat option being ignored when unchecked 2019-02-11 16:10:27 +01:00
Pete Batard
078aaf7714
[net] disable BETA version check for anything but x86_32 2019-02-05 17:49:27 +00:00
Pete Batard
5247ffa6ab
[core] add a notice about MBR and >2TB partitions
* Also fix Boot Options not displaying when no drive is plugged in advanced mode
2019-02-01 12:35:09 +00:00
Pete Batard
f98c243eb8
[iso] fix crash when opening Windows ISOs
* Closes #1268
* Issue was introduced in 521034da99 and has
  to do with VS2017's handling of static strings in RELEASE mode.
  Fix is to use a static char array instead.
* Also fix MinGw build warnings and increase process search timeout
2019-01-31 13:50:03 +00:00
Pete Batard
326ae54f45
[togo] add a notice about WppRecorder.sys BSOD with 1809 ISOs
* Also improve detection of build number
2019-01-30 17:15:25 +00:00
Pete Batard
081d7b3a0b
[misc] remove the need for endpoint duplication in RunCommand() 2019-01-30 00:21:50 +00:00
Pete Batard
336e24c8c7
[loc] drop GetMuiString() and use formal loc data instead
* Relying on system MUIs was too brittle and provides us with no guarantee
  that the translated messages we need will actually be there.
* Also fix space before question mark in French translation.
2019-01-09 15:53:44 +00:00
Radosław Serba
78d0cb892e
[loc] fix typos in the Polish translation
* Closes #1260
2019-01-09 11:39:12 +00:00
Arif Budiman
d135b62183
[loc] update Indonesian translation to 3.2 2019-01-08 22:10:26 +00:00
Pete Batard
521034da99
[togo] add newer install.wim + install.esd support
* With no thanks whatsoever to Microsoft for *NOT* documenting that you need
  to pass flag 0x2000000 to WIMCreateFile() if you want to avoid an open error.
  One has to wonder if Microsoft isn't deliberately adding *BULLSHIT FLAGS*
  that only they know of, to hinder competing third-party tools...
2019-01-08 18:30:07 +00:00
Pete Batard
befe2606cf
[misc] use %S to print wchar_t strings where possible
* Also fix some Coverity warnings
2019-01-03 12:29:28 +00:00
Pete Batard
5309dc88e2
[process] report the full commandline for blocking processes
* This can be useful to find which Service instance an 'svchost.exe'
  is attached to.
2019-01-02 16:36:34 +00:00
Pete Batard
7b2edbfd6f
[process] also report the PID of conflicting processes
* Also update copyright year
2019-01-02 12:24:34 +00:00
Pete Batard
e7b5a5526f
[loc] update localization script 2018-12-17 17:22:15 +00:00
Sopor
082fa78c40
[loc] fix a typo in Swedish translation 2018-12-17 16:59:29 +00:00
Pete Batard
f94d2f479f
[core] fix abort if we can't display the "drive in use" message
* Also display the current MUI on startup and set version to rufus-next
2018-12-14 18:19:33 +00:00
Pete Batard
52dd78ea34
v3.4 (build 1430) 2018-12-05 16:13:15 +00:00
Pete Batard
4cd308a1c0
[core] don't analyse boot records of deleted partition
* Also revert a472e96e87 as this is creating
  unwanted detection issues as per #1239. We'll try to devise a better way
  to avoid intempestive refreshes later on.
2018-11-28 11:12:54 +00:00
Pete Batard
c0526b3e8b
[core] invoke VDS to delete all partitions before format/write 2018-11-28 10:50:00 +00:00
Pete Batard
7745edbb92
[misc] use COBJMACROS for COM calls 2018-11-27 11:59:19 +00:00
Pete Batard
f8592959bd
[misc] update components for 3.4 BETA 2018-11-22 15:34:21 +00:00
Pete Batard
04a5793ee7
[misc] use compilation flag to undefine NDEBUG for assert 2018-11-21 17:45:18 +00:00
Pete Batard
15806de646
[ui] display a notice about Secure Boot when UEFI:NTFS is applied 2018-11-20 12:33:12 +00:00
Charles Stevens
2ba62fa891
[misc] fix application closing when terminating console, when -g is used
* Closes #1243
* Closes #1244
2018-11-12 12:58:19 +00:00
Pete Batard
08019ea67c
[iso] fix non detection of some EFI based images
* efi.img was not always being properly process (e.g. proxmox-ve_5.2-1.iso)
* Note that this doesn't mean that the ISO will properly boot, just that we will
  now properly detect and install the EFI bootloaders that reside within the .img
2018-11-01 19:18:57 +00:00
Pete Batard
c2ba8fc0d2 [ui] fix UI elements that don't match commandline parameters 2018-10-30 16:14:07 +00:00
Charles Stevens
865678b4b7 [misc] add file system selection to commandline options
* Closes #1236
2018-10-30 12:53:14 +00:00
Pete Batard
c2c2249207 [internal] fix AppVeyor builds 2018-10-27 16:45:56 +01:00
Pete Batard
d90676542b [misc] report executable arch in the log
* Also update VS2017 solution to use 10.0.17134 SDK
* Also update README
2018-10-27 14:22:09 +01:00
Pete Batard
2727f437fd [app] Create full multi-arch app store package
* Package now includes x86_32, x86_64, ARM and ARM64
2018-10-26 14:05:43 +01:00
Pete Batard
92b66e02eb [vs2017] revert to using x86/x64 for x86 output directories
* Instead of x86_32 and x86_64.
* This should aid with our appxbundle creation and if Microsoft want to
  be wholly incorrect in their arch designations, who am I to judge?...
2018-10-26 12:54:20 +01:00
Pete Batard
1bcdf8249c [efi] update uefi-ntfs to use gnu-efi based NTFS drivers
* This is done to address #1213
* Also update badges on README page and SDK versions used by the scripts
2018-10-24 20:14:15 +01:00
Pete Batard
fd08cf4745 [ui] fix file system being reset when switching languages
* Also add a <Ctrl>-<L> cheat mode to toggle the log window
2018-10-23 22:35:39 +01:00
Pete Batard
7757cab3c5 [ui] fix possible truncation of short image path
* Closes #1233
* Also fix MinGW builds due to missing PROCESSOR_ARCHITECTURE_ARM64 define
2018-10-22 22:28:20 +01:00
Pete Batard
6109d91c38 [net] add automated update support for ARM/ARM64 2018-10-22 17:42:40 +01:00
dmex
e3fb899f12 [misc] add elevation for .appx
* Note: this only works if you have Windows 10 with 1809 update installed
2018-10-22 12:31:03 +01:00
ImgBotApp
555d628f2c [imgbot] optimize images
* Closes #1231
* Total -- 9.05kb -> 8.33kb (8.01%)
- /res/icons/lang-32.png -- 2.35kb -> 2.04kb (13.25%)
- /res/icons/info-24.png -- 1.17kb -> 1.07kb (9.08%)
- /res/icons/info-32.png -- 1.54kb -> 1.41kb (8.38%)
- /res/icons/hash-32.png -- 1.96kb -> 1.80kb (7.93%)
- /res/icons/hash-24.png -- 1.34kb -> 1.33kb (1.31%)
- /res/icons/info-16.png -- 0.69kb -> 0.68kb (0.85%)
2018-10-19 15:59:32 +01:00
Pete Batard
6d7a938058 [internal] update hooks to remove automated tagging
* Also update AppVeyor builds wrt the above
2018-10-19 14:36:48 +01:00
Pete Batard
bc6e23ec11 [net] drop the requirement for text/plain MIME on the .ver files
* This should fix the update check when picking off the .ver off github
* Also update non working links
* Closes #1229
2018-10-16 21:51:40 +01:00
Pete Batard
e587997f4e [ui] fix an issue where target system could appear blank for UEFI:NTFS
* Also fix a regression introduced in 790b188b3d
2018-10-08 19:00:24 +02:00
Pete Batard
846857a549 [ui] use Downloads as initial image directory rather than My Documents
* With thanks to win32diskimager for figuring that one out
2018-10-06 14:21:13 +02:00
Pete Batard
19d9bdbed0 [ui] fix missing description of some buttons for screen readers
* Closes #1215
2018-10-05 10:55:00 +02:00
Pete Batard
b8c0e7b095 [dev] add exception for Prolific SD/TF Card Reader
* Closes #1221
2018-10-04 12:24:08 +02:00
Pete Batard
790b188b3d [ui] fix disabling of Quick Format checkbox
* Closes #1211
* Also fix MBR analysis report displayed each time the user changes boot selection
2018-10-03 19:14:40 +02:00
Pete Batard
204908f8e0 [misc] enable MinGW reproducible builds
* -Wl,--no-insert-timestamp seems to do the trick
* Also set rufus-next to 3.4
2018-09-24 23:42:04 +01:00
marcellogianola
1116e941f8 [loc] fix typos in Italian translation
* Closes #1212
2018-09-21 13:57:27 +01:00
Pete Batard
1b63e59ee2 v3.3
* Also be more lenient about erasing the backup GPT
2018-09-17 12:09:54 +01:00
Pete Batard
97315a238d [togo] fix bcdboot invocation for ISOs that aren't dual BIOS and UEFI
* Closes #1111
2018-09-14 14:10:40 +01:00
Pete Batard
2d99601a5f [core] fix a regression when scanning uncompressed bootable DD images
* Closes #1206
2018-09-13 11:49:51 +01:00
Pete Batard
2d99bbcd41 v3.2 (build 1397) 2018-09-11 16:05:30 +01:00
SIPPAPAS WANGSRI
8c9caba165 [loc] update Thai translation to latest 2018-09-10 00:51:58 +01:00
Pete Batard
e52a5206ba [ui] fix FAT32 sometimes becoming available for ISOs with >4GB files
* FAT32 would become available and selected as default FS when
  selecting a Windows ISO with a >4GB file and then clicking
  "Show advanced drive properties".
2018-09-07 14:11:25 +01:00
Dinis Medeiros
45680fb0e4 [loc] update Portuguese Standard translation to latest 2018-09-05 11:16:52 +01:00
Pete Batard
93ebbf7dea [loc] small fix for Dutch translation
* Dutch localized Windows uses kB rather than KB, so we do too
2018-09-05 11:12:13 +01:00
Nikos Margaritis
5b4764aff3 [loc] update Greek translation to latest 2018-09-04 16:21:36 +01:00
Pete Batard
ed82c82d46 [misc] update ChangeLog for 3.2 BETA 2018-09-04 12:33:58 +01:00
Roberto Boriotti
b358316fbf [loc] small update to Italian translation 2018-09-04 12:33:07 +01:00
Pete Batard
6275c5b724 fix MinGW-w64 warnings 2018-09-03 13:41:29 +01:00
Pete Batard
a472e96e87 [misc] prevent unwanted device refreshes 2018-09-03 13:04:05 +01:00
Gintaras Venslovas
3459d89f09 [loc] update Lithuanian translation to latest 2018-09-03 11:57:40 +01:00
Thomas De Rocker
5170ca88f2 [loc] update Dutch translation 2018-08-29 16:42:56 +01:00
MaKK
f1e332a810 [loc] update Spanish translation to latest 2018-08-26 23:48:33 +01:00
Tiryoh
11cd32a026 [loc] update Japanese translation to latest 2018-08-26 19:47:23 +01:00
Константин В
897ef2bd2c [loc] update Ukrainian translation to latest 2018-08-26 19:42:38 +01:00
anni deer
16b292cf4d [loc] update Danish translation to latest 2018-08-26 11:36:59 +01:00
Thomas De Rocker
f5606aaab2 [loc] update Dutch translation to latest 2018-08-23 10:26:48 +01:00
caobach
50667be68e [loc] update Vietnamese translation to latest 2018-08-22 17:42:00 +01:00
Muhammad Ikmal
31630d3ec8 [loc] update Malay translation to latest 2018-08-21 12:39:52 +01:00
Pete Batard
619dd9862b [misc] use GetWindowLongPtr/SetWindowLongPtr everywhere
* Also remove WS_EX_RIGHT style from IDC_PERSISTENCE_SIZE since we apply it manually
2018-08-20 09:46:23 +01:00
Pete Batard
efcdbe30e5 [pki] clear buffer on invalid signature
* Avoid keeping potentially nasty stuff in memory for too long...
2018-08-20 08:12:28 +01:00
Riku Brander
8920d5222d [loc] update Finnish translation to latest 2018-08-20 08:02:17 +01:00
Ahmad Zahiruddin Azaman
1ff3b8ebf7 [loc] update Malay translation
* Some more work is still needed, but this should be a good start to complete it.
2018-08-18 18:15:24 +01:00
Na Jiyoun
b77bd6f72b [loc] update Korean translation to latest 2018-08-18 18:06:59 +01:00
Zia Azimi
7389372aa7 [loc] update Persian translation to latest 2018-08-18 17:48:31 +01:00
Pete Batard
c832814af0 [ui] small fixes for RTL languages 2018-08-18 17:38:23 +01:00
Кирилл Иванов
0adbbd6f97 [loc] update Russian translation to latest 2018-08-16 17:02:49 +01:00
Pete Batard
e8745339e4 [ui] fix multiple persistence slider issues
* Range not being set when plugging a drive
* Set position to zero when no drive is selected
* Make sure the restored position can not be greater than the max
2018-08-14 23:05:52 +01:00
Aleksandar Predić
e591868555 [loc] update Serbian translation to latest 2018-08-11 20:39:07 +01:00
Kaloyan Nikolov
2d2a5a5597 [loc] update Bulgarian translation to latest 2018-08-07 20:43:48 +01:00
Jiawei Wang
e5bf18d456 [loc] update Simplified Chinese translation to latest 2018-08-06 23:51:45 +01:00
Piotr Halama
a530dbd86b [loc] update Polish translation to latest 2018-08-02 18:24:46 +01:00
Pete Batard
71578459d7 [loc] fix spaces before full stops
* Also: "Asserts, it's not just for debug any more!"
2018-07-31 20:47:24 +01:00
Mehmetali KURAN
d5f9c568ad [loc] update Turkish translation to latest 2018-07-31 11:39:43 +01:00
Martin Kubánik
adeb7fe4c0 [loc] update Slovak translation to latest 2018-07-28 12:11:16 +01:00
Pete Batard
ff2548b559 [internal] align msapi_utf8.h to the one we use for libwdi 2018-07-28 11:59:44 +01:00
Pete Batard
038e835886 [loc] punctuation improvements & harmonization 2018-07-26 11:49:25 +01:00
Richard Kahl
6fb4e51f9b [loc] update Czech translation to latest 2018-07-26 11:30:39 +01:00
Itiel
0cdbd2d119 [loc] update Hebrew translation to latest 2018-07-25 22:59:29 +01:00
Pete Batard
275493c3f5 [net] add additional error messages
* Also update 7-zip URL
2018-07-24 14:07:08 +01:00
Tiago Rinaldi
3b8b16cd23 [loc] update Portuguese Brazilian translation to latest
* Closes #1184
2018-07-23 11:08:58 +01:00
Aldis Tutins
36661bfb74 [loc] update Latvian translation to latest 2018-07-22 15:08:39 +01:00
Thilo Langbein
2beec7608c [loc] update German translation to latest 2018-07-22 00:22:44 +01:00
Chocobo1
bfa4f54fe4 [loc] update Traditional Chinese translation to latest
* Closes #1182
2018-07-21 18:20:42 +01:00
Roberto Boriotti
9ed49ada3a [loc] update Italian translation to latest 2018-07-21 18:15:41 +01:00
Gîrlea Alexandru
a6a2c09b4e [loc] update Romanian translation to latest 2018-07-21 16:14:58 +01:00
Feras n
9491cf2af6 [loc] update Arabic translation to latest 2018-07-21 16:11:39 +01:00
Pete Batard
91a18be258 [pollock] update maintainer mode
* Also add maintenance script
2018-07-21 15:55:32 +01:00
Pete Batard
4483a6b17d [internal] update appveyor rule to actually ignore res/ recursively
* As per https://github.com/appveyor/ci/issues/838, 'res/*' means
  all files within directory, non-recursive, whereas we want 'res/'
  for all files within directory, recursive.
2018-07-21 13:56:37 +01:00
Sopor Spr
4d18c8bbbf [loc] update Swedish translation to latest 2018-07-21 13:30:41 +01:00
Pete Batard
5d3631f9ee [pollock] fix inability of Windows 7 to handle github SSL
* Also increase the console width if needed
2018-07-21 13:03:05 +01:00
Pete Batard
f18b3fec1b [loc] use better terminology for NAND types 2018-07-20 21:06:39 +01:00
Pete Batard
bb00983ad8 [pollock] small fixes & improvements
* Make sure translations that are the same as English are removed in the .po
* Automate digital signature
* Add a more distinguishable icon
* Also update French translation
2018-07-20 14:59:39 +01:00
Pete Batard
6b584d420a [loc] update French translation to latest 2018-07-18 17:41:06 +01:00
Pete Batard
1612064c66 [loc] finalize new translations for 3.2
* Also fix a MinGW warning
2018-07-18 16:59:35 +01:00
Pete Batard
1004a6e066 [ui] update persistence size controls
* Also refactor ToggleImageOptions()
2018-07-18 12:22:37 +01:00
Pete Batard
0fa19d7019 [internal] reorganize localization resources 2018-07-16 16:38:40 +01:00
Pete Batard
704fd9dd22 [pollock] finalize application 2018-07-16 15:35:40 +01:00
Pete Batard
59aab9b61d [core] refactor fast-zeroing code and fix warnings
* Fox coverity and MinGW warnings
2018-07-15 12:27:21 +01:00
Pete Batard
f9275e4780 [loc] update the processing of version numbers
* Now only use major.minor for version references
* Drop the use of LOC_FRAMEWORK_VERSION. We'll use custom handling if we ever need a framework change.
* Also update/fix some of the UI elements for persistent partition
* Also reposition the language selection menu when we don't have a large number of them
2018-07-15 01:05:05 +01:00
Pete Batard
1014b8008d [pollock] fix a sequential download issue
* Apparently you need to close the request/response as the Garbage Collection
  will not do that for you. High level language my ass!
2018-07-15 00:20:13 +01:00
Pete Batard
d9d0feadb6 [pollock] add automatic PO generation and update detection
* Also use Rufus application version in .loc
2018-07-14 23:40:21 +01:00
Pete Batard
af9cca5fb3 [pollock] add rufus.loc download and menu selection
* Also handle duplicate messages in .pot/.po
2018-07-13 01:39:13 +01:00
Pete Batard
092ea937c6 [pollock] add comment preservation
* Also fix last lang message not being properly processed
* Also update loc file comments in preparation for the new framework
* Also update Rufus version data
2018-07-11 18:02:03 +01:00
Pete Batard
5ac9ee68af [loc] add .po ↔ .loc conversion utility
* Alos update .loc to remove unnecessary \n
2018-07-10 21:01:46 +01:00
René van der Zee
77bf5c8a49 [core] add alternate cheat mode for fast zeroing
* Ctrl-Alt-Z can now be used to zero a drive, while skipping blocks that are detected empty
* Depending on your hardware, as well as the existing drive content, this strategy can greatly
  speed up zeroing operations, especially if the flash memory's read speed is much higher than
  its write speed.
* Closes #1174
2018-07-06 13:29:20 +01:00
Pete Batard
a394b9731a [ui] add positioning, resizing & filling of the persistence controls
* Also add a test ISO to display these controls
* The intent is to use the next round of translation to get these new UI elements localized,
  as any translation work takes _months_, and it is a precondition to start working on #691.
* Also fix new issues with image options when switching language
2018-07-06 11:23:57 +01:00
Pete Batard
05f8400451 [misc] reorganize UI function calls into their own source
* Also fix ARM/ARM64 broken compilation due to missing __popcnt()
2018-07-06 05:46:36 +01:00
Pete Batard
a34cb1194e [ui] initial work for the display of a persistence option
* This doesn't mean we'll get persistence support any time soon, but any UI work
  on this needs to be carried out *MONTHS* in advance because of the translators.
2018-07-06 00:40:52 +01:00
Pete Batard
5602494690 [ui] fix application exit when cancelling the ISO scan 2018-07-04 22:50:26 +01:00
Pete Batard
c12640b547 [ui] fix progress not being displayed for syslinux/grub downloads
* Also make download of .sig files a bit less verbose
2018-07-03 22:54:06 +01:00
Pete Batard
7c142fadbc [net] improve handling of invalid signatures
* Also make bPromptOnError an actual parameter to the download function calls
* Also prefer the use of assert() to custom assertion messages
2018-06-30 22:45:15 +01:00
Pete Batard
fdfc9ff82d [pki] add RSA-2048 signature validation for all server downloads
* Closes #1172
* Also fix a MinGW warning in badblocks.c
2018-06-29 18:19:05 +01:00
Pete Batard
2d262df8f3 [bb] bad blocks check improvement
* Use a default block size of 128 KB (can speed up read operations)
* Reorganise patterns to suit different types of NAND cells (SLC, MLC and TLC)
* Only run fake drive test on first pass
* Also update rufus-next to 3.2
2018-06-28 16:25:13 +01:00
Mattiwatti
d4a4506b16 [iso] improve write performance during ISO extraction
* Now preallocate the file size for each extracted file, to help the target
  filesystem avoid fragmentation issues and thus increase writing speed.
* Closes #1170
2018-06-25 15:51:55 +01:00
Mattiwatti
dbc92e3adc [core] add support for Windows XP x64 and Server 2003 x64 ISOs
* Closes #1167
2018-06-25 15:51:19 +01:00
Pete Batard
16cddefff9 [internal] improve AppVeyor build handling
* Also fix some typos
2018-06-24 14:01:57 +01:00
Pete Batard
faebe1040f v3.1 (build 1320)
* Also update GitHub issue template for 3.0 UI
* Also increase size of the ESP to 300MB, for Windows To Go drives using GPT (See #979)
2018-06-19 12:00:28 +01:00
Pete Batard
e4b7b9cfd6 [internal] update AppVeyor build script and add Coverity support
* Also only apply a git tag if on the master branch
2018-06-18 17:37:59 +01:00
Pete Batard
9afd1d05dd [misc] silence an unwarranted coverity warning 2018-06-15 16:50:37 +01:00
Pete Batard
5ab67c03d6 [core] improve write retry handling
* Add a proper delay before retrying a write operation and increase retry count to 4
* Add retries when clearing boot records or when zeroing a drive
* Also improve log output from USB device reset
2018-06-13 19:23:24 +01:00
Pete Batard
3ba7c9eab0 [grub] update grub4dos to latest and update db entry for grub 2.03
* Also improve PowerShell invocation for Controlled Folder Access detection
2018-06-12 16:01:14 +01:00
Pete Batard
e36fdb6736 [core] add detection and warning about Controller Access Folder 2018-06-11 14:02:23 +01:00
Pete Batard
8238de67e1 [ui] fix more potential notification message truncation
* Some Thai UTF-8 notification messages went over the buffer size limit we used for vsnprintf()
* Also, revert part of 645184f11e and use LRE+PDF marks instead:
  Don't handle in the code what is better handled in the loc file.
2018-06-08 16:29:41 +01:00
Pete Batard
d6e6f46029 [ui] fix notification dialog messages being truncated
* We now auto resize the height of the Notification dialog according to the
  number of lines of the message.
* Also harmonize local RECT variable names according to what we do elsewhere.
2018-06-08 13:02:39 +01:00
Pete Batard
645184f11e [ui] fix some unwanted display of LTR or RTL strings
* Some English messages could appear RTL in the log
* Folder paths with RTL strings could appear scrambled in the UI
2018-06-07 22:30:53 +01:00
Pete Batard
4ad249338f [loc] fix whitespace issues 2018-06-07 17:34:16 +01:00
Pete Batard
60e21ed910 [ui] fix an issue where 2 dialogs could exist onscreen when switching languages 2018-06-06 23:15:41 +01:00
Pete Batard
fca4e2d59b [ui] fix Windows To Go option unconditional display when switching languages
* Also update version to rufus-next
2018-06-05 15:47:48 +01:00
Pete Batard
e1d864f755 [misc] work around Microsoft's broken SetDllDirectory()
* *THIS* is what you need to do to replace Microsoft's broken SetDllDirectory("")
  implementation and mitigate DLL sideloading from local directories.
* Also fix some comment typos
2018-06-05 13:02:28 +01:00
Pete Batard
b80f7c0785 [iso] update libcdio to latest
* Also clean up some of the code in iso.c
2018-06-04 12:20:14 +01:00
Pete Batard
b274388f95 [iso] fix file extraction for GRUB/Grub4DOS based ISOs
* We were switching the global boot type variable to something other than BT_IMAGE,
  which prevented ISO extraction whenever a GRUB secondary boot record was written.
* Closes #1145
2018-06-04 12:12:24 +01:00
marcellogianola
0b4146af56 [loc] fix another typo in the Italian translation
* Closes #1140
2018-05-29 16:45:08 +01:00
Pete Batard
dd1bf3b998 [core] fix unable to format as FAT32 for RTL languages
* This is a "stealth" update for the 3.0 release
* The issue was that we are picking the UTF16 file system name from
  the dropdown, and where we use the "(Default)" suffixed version,
  it now has an RLE at the beginning which we must skip.
* This prevented RTL languages from being able to format a drive as FAT32...
2018-05-29 12:57:26 +01:00
Pete Batard
98ada80b1b v3.0 (build 1303)
* Fix a 64-bit compilation warning
* Fix appx generation
2018-05-29 11:19:21 +01:00
marcellogianola
c3b79a06b7 [loc] fix a typo in the Italian translation
* Closes #1139
2018-05-28 09:53:32 +01:00
Gintaras Venslovas
3d53884332 [loc] update Lithuanian translation to latest
* Also revert unwanted previous translation changes
2018-05-28 09:49:42 +01:00
Pete Batard
add0e156df [iso] better fix for processing of openSUSE Leap ISOs
* From the discussion on the libcdio mailing list, and simplified
  since the only archs we support are little-endian.
2018-05-27 21:46:34 +01:00
Margaritis Nikolaos
6451a090f3 [loc] update Greek translation to latest
* Closes #1138
2018-05-27 21:31:27 +01:00
Pete Batard
31d1b396c7 [iso] fix processing of openSUSE Leap ISOs
* Looks like the openSUSE people are abusing the ISO9660 file system,
  and libcdio should be a bit more relaxed about it.
  So we alter libcdio to be more chill...
* Also relax the annoying 'from_733: broken byte order' messages
* Closes #1136
2018-05-26 14:40:52 +01:00
Matej Horvat
c43c49eb17 [loc] update Slovenian translation to latest 2018-05-25 23:21:17 +01:00
Na Jiyoun
dbe2e664ac [loc] minor update to Korean translation 2018-05-25 10:36:18 +01:00
anni deer
7172da4c05 [loc] update Danish translation to latest 2018-05-25 02:02:02 +01:00
Itiel
6d754c595e [loc] update and overhaul Hebrew translation 2018-05-23 22:02:27 +01:00
Pete Batard
d1d6e0f8b4 [ui] improve centering of the toolbar icons
* Microsoft, how I loathe thee!!!
2018-05-22 17:14:31 +01:00
Pete Batard
f48dec11c3 [ui] fix display of RTL text in progress bar
* Another case of if you really want RTL, you have to tell Windows that you don't want it...
* Also fix the URL for Super Grub disk in .loc file
2018-05-21 10:51:12 +01:00
Na Jiyoun
645bc2bf88 [loc] update Korean translation to latest 2018-05-21 10:40:23 +01:00
Viszokai György
68938c472c [loc] update Hungarian translation to latest 2018-05-19 17:42:57 +01:00
Константин В
7ac28a0b34 [loc] update Ukrainian translation to latest 2018-05-19 17:28:45 +01:00
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