diff --git a/res/rufus.ini b/res/rufus.ini index 39e621f4..69f886a3 100644 --- a/res/rufus.ini +++ b/res/rufus.ini @@ -15,9 +15,26 @@ LastUpdateCheck = 13068056756 UpdateCheckInterval = 86400 ; Whether the check for updates should also include new BETA releases CheckForBetas = 1 -; Use this to increases the log verbosity, for the update checks -VerboseUpdateCheck = 0 +; Use this to increase the log verbosity for the updates check (0-2) +; VerboseUpdateCheck = 2 ; If you are paranoid about apps writing to the registry, you can uncomment the ; following. It will disable the Local Group Policy calls that Rufus issues, to ; temporarily prevent the *annoying* notices Windows issues about new drives. -; DisableLGP = 1 \ No newline at end of file +; DisableLGP = 1 + +; Start with the 'Advanced Options' panel displayed +; AdvancedMode = 1 +; Have Rufus to preserve timestamps when copying files (Alt-T) +; PreserveTimestamps = 1 +; Disable the whole Kibi/Gibi nonsense (Alt-U) +; UseProperSizeUnits = 1 +; Display extended information duringh USB enumeration (Alt-.) +; EnableUsbDebug = 1 +; Don't perform a fake drive test during bad blocks check (Alt-B) +; DisableFakeDrivesCheck = 1 +; Allow the creation of dual UEFI+BIOS bootable drives for Windows (Alt-E) +; EnableWindowsDualUefiBiosMode = 1 +; Also use RidgeCrop's Large FAT32 format algorithm when formatting smaller drives (Alt-L) +; ForceLargeFat32Formatting = 1 +; Enable listing of VMWare's VMDK drives when used in a virtual machine (Alt-W) +; EnableVmdkDetection = 1 diff --git a/src/net.c b/src/net.c index a3d272a8..958b4210 100644 --- a/src/net.c +++ b/src/net.c @@ -1,7 +1,7 @@ /* * Rufus: The Reliable USB Formatting Utility * Networking functionality (web file download, check for update, etc.) - * Copyright © 2012-2015 Pete Batard + * Copyright © 2012-2016 Pete Batard * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -80,7 +80,7 @@ static BOOL force_update_check = FALSE; /* * FormatMessage does not handle internet errors - * http://support.microsoft.com/kb/193625 + * https://msdn.microsoft.com/en-us/library/windows/desktop/aa385465.aspx */ const char* WinInetErrorString(void) { @@ -429,9 +429,9 @@ static DWORD WINAPI CheckForUpdatesThread(LPVOID param) BOOL releases_only, found_new_version = FALSE; int status = 0; const char* server_url = RUFUS_URL "/"; - int i, j, k, verbose = 0, verpos[4]; + int i, j, k, max_channel, verbose = 0, verpos[4]; static const char* archname[] = {"win_x86", "win_x64"}; - static const char* channel[] = {"release", "beta"}; // release channel + static const char* channel[] = {"release", "beta", "test"}; // release channel const char* accept_types[] = {"*/*\0", NULL}; DWORD dwFlags, dwSize, dwDownloaded, dwTotalSize, dwStatus; char* buf = NULL; @@ -504,7 +504,13 @@ static DWORD WINAPI CheckForUpdatesThread(LPVOID param) status++; // 2 releases_only = !ReadSettingBool(SETTING_INCLUDE_BETAS); - for (k=0; (k<(releases_only?1:(int)ARRAYSIZE(channel))) && (!found_new_version); k++) { + // Test releases get their own distribution channel (and also force beta checks) +#if defined(TEST) + max_channel = (int)ARRAYSIZE(channel); +#else + max_channel = releases_only ? 1 : (int)ARRAYSIZE(channel) - 1; +#endif + for (k=0; (k___.ver" diff --git a/src/rufus.rc b/src/rufus.rc index 8b7afbc2..bdcaed5c 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 242, 376 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Rufus 2.7.841" +CAPTION "Rufus 2.7.842" FONT 8, "Segoe UI Symbol", 400, 0, 0x0 BEGIN LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8 @@ -320,8 +320,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,7,841,0 - PRODUCTVERSION 2,7,841,0 + FILEVERSION 2,7,842,0 + PRODUCTVERSION 2,7,842,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -338,13 +338,13 @@ BEGIN BEGIN VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "2.7.841" + VALUE "FileVersion", "2.7.842" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2016 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "OriginalFilename", "rufus.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "2.7.841" + VALUE "ProductVersion", "2.7.842" END END BLOCK "VarFileInfo" diff --git a/src/settings.h b/src/settings.h index afcef81a..bb65ff1f 100644 --- a/src/settings.h +++ b/src/settings.h @@ -1,7 +1,7 @@ /* * Rufus: The Reliable USB Formatting Utility * Settings access, through either registry or INI file - * Copyright © 2015 Pete Batard + * Copyright © 2015-2016 Pete Batard * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ extern char* ini_file; /* * List of setting names used by this application */ -#define SETTING_VERBOSE_UPDATES "VerboseUpdateCheck" +#define SETTING_VERBOSE_UPDATES "VerboseUpdateCheck" #define SETTING_LAST_UPDATE "LastUpdateCheck" #define SETTING_UPDATE_INTERVAL "UpdateCheckInterval" #define SETTING_INCLUDE_BETAS "CheckForBetas"