Commit Graph

886 Commits

Author SHA1 Message Date
Pete Batard cbf1a60365 v2.8 (build 886) 2016-03-22 16:03:18 +00:00
Pete Batard 3fe6894f8b [misc] increase SetLGP thread wait delay
* Someone running Rufus in a VirtualBox environment, where their CPU
  was also seeing 100% usage, reported getting the following message:
  "SetLGP: Killing stuck thread!"
2016-03-17 21:56:36 +00:00
Na Jiyoun b1c5545205 [loc] update Korean translation to latest 2016-03-17 21:48:37 +00:00
Pete Batard 03a97ee261 [misc] improve genericity of registry functions
* Ensure that we can also handle non app specific keys
2016-03-14 13:41:20 +00:00
Pete Batard b82462bb7d [ui] improve progress bar refresh
* Closes #699
2016-03-10 16:13:16 +00:00
Pete Batard a10a207790 [syslinux] fallback to embedded on version match if download fails
* Could be useful for current tails user (6.03 based, same as ours)
  who want to create an UFD without downloading files.
* Also improve the buffer overflow check in syslinux/libinstaller/syslxmod.c
2016-03-08 17:28:45 +00:00
Pete Batard 1cc7fca4c5 [ui] disable BIOS boot when MBR for UEFI is selected in dual UEFI/BIOS mode
* Closes #708
2016-03-07 16:15:18 +00:00
Pete Batard 5afffd1018 [checksum] additional cleanup and optimization
* Use the commonly used function names for SHA-256 (Sigma, etc.)
* Use the same xxx_write for all, and avoid unwarranted memcpy
* Remove the bitcount
* Use nested ROR() speedup
2016-03-05 21:20:09 +00:00
Pete Batard 71520baf31 [core] factorize the img/zero disk writing code
* Also fix a WDK warning
2016-03-04 16:34:50 +00:00
Pete Batard d385a097c0 [misc] make the affinity setup fn more generic and move it to stdfn
* Also align checksum context to 64 bytes (cache line)
2016-03-03 17:24:54 +00:00
Pete Batard 0313e5ca54 [checksum] additional cleanup 2016-03-03 14:58:49 +00:00
Pete Batard 00ffbae61f [checksum] switch to 7-zip's SHA-256 algorithm
* That's more like it! When compiled in 64-bit we get about the same speed as 7-zip
  (slower when 32-bit, but shhh, or people will ask for a 64-bit version of Rufus...)
* Looks like what was holding us back was the sha256_write() from Brad Conte's
* Also fix WDK compilation and harmonize the BE->LE conversions
2016-03-02 18:51:43 +00:00
Pete Batard 07114edc6f [checksum] more cleanup and optimization
* Why... can't I stop... trying to optimize... this thing?!?
2016-03-02 13:40:37 +00:00
Pete Batard b89beceedf [grub] update GRUB to 2.02~beta3 2016-03-02 11:00:27 +00:00
Pete Batard e1c7c9670b [checksum] more load balancing optimizations
* SetChecksumAffinity() now spreads the affinity evenly between cores
* Also increase the read buffer size to help with performance
* At this stage, the only limiting factor regarding performance seems
  to be the speed of the SHA-256 algorithm...
2016-03-01 17:13:37 +00:00
Pete Batard e6d3653cac [checksum] use multiple threads and double buffering
* Can reduce the duration of checksum computations by about
  1/3rd, if you have quad core CPU or better.
2016-02-29 21:36:28 +00:00
Pete Batard bab3453f4d [checksum] factorize common algorithm elements 2016-02-27 22:51:43 +00:00
Pete Batard b9caf8b605 [core] fix computation of FAT size for Large FAT32
* Ridgecropt's GetFATSizeSectors() computation was incorrect
  and resulted in data sectors being "wasted" (unaddressable)
* See: http://www.syslinux.org/archives/2016-February/024850.html
* Also revert the minfatsize check of Syslinux, since it no longer fails.
2016-02-26 13:26:34 +00:00
Pete Batard ade5639c00 [misc] more headers cleanup 2016-02-25 18:21:31 +00:00
Pete Batard 250d46e401 [core] use GetTickCount64() always where possible
* Damn you XP!!!
* Also some more code cleanup
2016-02-24 16:10:54 +00:00
Pete Batard d20eb9262b [misc] fix MinGW compilation
* Makefile was missing from previous patch
2016-02-24 14:35:51 +00:00
Pete Batard db0880e534 [syslinux] update Syslinux to better align with its official source
* This means disabling some warnings and removing explicit casts, but so be it...
* Also fix the minfatsize check for Large FAT32
2016-02-23 20:52:06 +00:00
Pete Batard 0e65b1c920 [ui] fix flickering of Status and Info fields
* Closes #634
2016-02-23 11:21:36 +00:00
Pete Batard 3a266d92a7 [misc] improve the reporting of ISO props 2016-02-22 12:51:27 +00:00
Pete Batard 64828934e0 [usb] fix processing of sibling device instances
* Issue introduced in f88faf1a4f
* Closes #696
2016-02-21 19:58:48 +00:00
Pete Batard c3f47ada06 [misc] add missing.h header
* Also clean up code
2016-02-20 22:52:32 +00:00
Pete Batard d3c9afa2fd [ui] improve removal of <8MB devices
* Closes #692
2016-02-19 12:10:17 +00:00
Pete Batard 9ebdecc124 [ui] fix label not being blanked on device removal
* Part of #694
* Also set rufus-next to 2.8
2016-02-17 11:40:10 +00:00
Pete Batard f88faf1a4f [usb] enable listing of non USB card readers
* Also fix the VID:PID population of USB card readers
* Also improve enumeration debugging
* Also add an unofficial cheat mode to list non USB *REMOVABLE* drives
* Closes #693
2016-02-16 20:43:30 +00:00
Pete Batard 58755c1bc4 [loc] ensure that the log content is displayed LTR
* Part of #694
* This avoids weird interpretation of content from Windows' RTL logic
* Also fix a WDK compilation error
2016-02-15 23:02:02 +00:00
Pete Batard 140236acd6 [loc] display a note in the log when a translation is behind
* Also make sure the messages regarding language pack availability
  are visible to the users in the log
* Also fix a typo in the Malay translation
2016-02-15 12:50:06 +00:00
Pete Batard 5e8a459828 v2.7 (build 855) 2016-02-14 21:20:47 +00:00
VGPlayer b288ec118b [loc] update Malay translation
* Note: This translation is still missing completion for
  MSG_096, MSG_098, MSG_116, MSG_196, MSG_198 and MSG_199
  hence v1.0.18
2016-02-14 21:18:07 +00:00
Pete Batard 8473e9ef56 [misc] disable loading of DLLs from current directory
* This is done to prevent potential DLL sideloading attacks
2016-02-09 12:38:09 +00:00
Pete Batard e7f9ec6f0b [net] fix OS version in user agent string 2016-02-08 18:55:52 +00:00
Tiryoh b91dfd8048 [loc] update Japanese translation to latest
* Closes #674
2016-02-08 00:17:47 +00:00
Pete Batard 0e91b4cf3d [iso] set ISOHybrids to DD mode if we can't support any ISO boot modes
* Closes #689
2016-02-06 23:46:30 +00:00
Arif Budiman f66b789071 [loc] update Indonesian translation to latest 2016-02-06 16:17:39 +00:00
Pete Batard e1499c4db0 [misc] fix WDK warnings 2016-02-05 22:24:47 +00:00
Pete Batard 9de7d0db84 [grub] update Grub4DOS to latest
* NB: While the MBR itself didn't change, the Grub4DOS files  were also
  updated on the server. See http://rufus.akeo.ie/files/grub4dos-0.4.5c/
  and http://rufus.akeo.ie/files/grub4dos-0.4.6a/
* Closes #676
2016-02-05 17:19:57 +00:00
Pete Batard 65bbe984fd [loc] remove nagging about lost translators
* All things considered, this was probably more detrimental than helpful
* Reverts 26af32b522
2016-02-05 13:14:22 +00:00
Margaritis Nikolaos 8bb20f3d7c [loc] update Greek localisation to latest
* Closes #688
2016-02-05 13:02:46 +00:00
Pete Batard 1809ac933a [core] update UEFI:NTFS to latest
* Also update signing script
2016-02-05 10:29:14 +00:00
Pete Batard 9814a638a3 [pki] add both SHA-1 and SHA-256 digital signatures
* "[Grumble] Stupid Microsoft... [Grumble] Couldn't push updated PKI algorithms
   to Windows platforms... [Grumble] Even if their lives depended on it..."
2016-02-03 23:29:34 +00:00
Pete Batard 92cb7d68fa [misc] add support for a 'test' release channel
* This gets enabled only for TEST builds
* Also flesh out the sample rufus.ini
2016-02-03 17:41:27 +00:00
Pete Batard 4474642863 [ui] fix shutdown prevention issues
* Also minor UI improvements for High DPI
* Part of issue #676
2016-02-02 16:14:22 +00:00
Pete Batard 23aa486161 [ui] adaptive height resizing of SHA-256 checksum control 2016-01-31 20:17:08 +00:00
Pete Batard 1f2b73dfac [vhd] fix an issue when extracting WIM with 7z
* 7z has a quirk in that one MUST specify the image index
  when a WIM has multiple images, but the same index MUST
  be omitted if there is only one.
* Because of this, Windows 7 Enterprise images reported a
  (nonfatal) extraction error when trying 7z.
* Closes #680
* Also fix a typo in registry.h
2016-01-26 18:00:20 +00:00
marvelade 3b8b7fb7be [loc] update Dutch translation to latest 2016-01-20 12:45:52 +00:00
Dario Komar 53cc0038d5 [loc] update Croatian translation to latest 2016-01-20 00:40:50 +00:00