Commit Graph

151 Commits

Author SHA1 Message Date
280815ff49 Some improvements to Lazy<T> class. Ensures that initializer is *not* called more than once. 2018-12-08 15:17:33 +01:00
305ac09077 Small optimization in Lazy<T> class. 2018-12-07 14:14:26 +01:00
82c81f5c42 Added support for Visual Studio 2017.9 (v15.9.2). 2018-11-26 20:51:40 +01:00
03dda73165 Some improvements to minimum OS version check. 2018-10-27 20:11:51 +02:00
e96e437a1d Added support for Visual Studio 2017.8 (v15.8.8). 2018-10-24 22:55:32 +02:00
a61fc10602 Added an overload of next_rand_u32() that generates a random number in [0,N) range. 2018-10-20 21:05:39 +02:00
3b63946c96 refactored update info parsing code (again). 2018-10-19 00:22:01 +02:00
a2e57f2d45 Improved progress indicator + refactored update info parsing code. 2018-10-18 22:26:01 +02:00
21b35870bd Some code refactoring in UpdateChecker class. 2018-10-17 21:26:47 +02:00
961f92b7e2 Various improvements and code refactoring in UpdateChecker class. 2018-10-16 23:18:00 +02:00
ba7fa5aea5 Updated the UpdateChecker class to use cURL instead of Wget. 2018-10-15 23:26:36 +02:00
d4146475d9 Added new function null_device(), which returns the name of the NULL device (e.g. "/dev/null" or "NUL") for the current platform. 2018-10-15 23:22:55 +02:00
ce24bd2d05 Added an optional parameter to init_process() function, which allows for passing custom environment variables. 2018-10-15 23:21:56 +02:00
6e737fa464 Added support for Visual Studio 2017.8 (v15.8.5). 2018-09-25 21:02:33 +02:00
6c7371b941 Some improvements to Windows version detection + require Vista with SP-2 for DLL build. 2018-08-20 18:49:22 +02:00
f513a18271 Added support for Visual Studio 2017.7 (v15.8.1). 2018-08-20 18:44:39 +02:00
e192387be4 Added support for Visual Studio 2017.7 (v15.7.5). 2018-07-13 20:12:38 +02:00
dece385274 Added support for Visual Studio 2017.7 (v15.7.4). 2018-07-06 16:43:34 +02:00
7be6f3161e Added support for Visual Studio 2017.7 (v15.7.3). 2018-06-03 15:37:22 +02:00
31a4fe3b87 Added support for Visual Studio 2017.7 (v15.7.0). 2018-05-10 18:04:02 +02:00
da57804590 Added new overloads of make_temp_file() and make_unqiue_file() that take a QDir as parameter. 2018-04-30 13:55:44 +02:00
2c95becf74 Added support for Visual Studio 2017.6 (v15.6.7). 2018-04-28 14:46:28 +02:00
a9f2eeb3be Some improvements to Lazy<T> class. 2018-04-15 15:12:13 +02:00
5673c6f14a Some improvements to Lazy<T> class. 2018-04-15 02:20:09 +02:00
562911dbff Lazy<T> class: Destroy the wrapped T object when the Lazy<T> instance gets destroyed. 2018-04-15 01:27:07 +02:00
9867e7ea4c Added support for Visual Studio 2017.6 (v15.6.6). 2018-04-13 18:55:55 +02:00
17dbb10810 Documentation was updated. 2018-04-02 18:34:29 +02:00
de57843e3a Added new function break_fp(). 2018-04-01 15:41:16 +02:00
d16ef6fcb2 Added support for Visual Studio 2017.6 (v15.6). 2018-03-09 23:24:21 +01:00
4671aadcea Fixed compilation with latest VS2017. 2018-02-06 22:09:32 +01:00
5101e777b2 Happy new year 2018! 2018-01-17 21:04:46 +01:00
e5c3d13d86 Fixed detection of VC 2017.5 after recent VC update. 2017-12-15 20:13:49 +01:00
96eaf7ddcc Added regexp_parse_int32() functions and new regexp_parse_uint32() overloads. 2017-12-11 01:06:28 +01:00
8adbc8a212 Added support for VS2017 version 15.5.0. 2017-12-06 01:04:04 +01:00
4d2aaa304f Refactored list of update mirrors into a separate file. 2017-11-26 15:22:37 +01:00
3b6051393d Changed Lazy<T> to take a lambda-function in its constructor. This avoids the need for sub-classing. 2017-11-04 21:10:32 +01:00
e3f5f0a801 Delete initializer, if it could not be stored. 2017-11-04 19:08:49 +01:00
cea3834ddf Added the Lazy<T> class, for "lazy" initialization. 2017-11-04 18:43:02 +01:00
46098e69a3 Added function to detect the type of a drive, including detecting of "fast seeking" devices (e.g. SSD). 2017-10-13 17:25:25 +02:00
987685f080 Added support for VS2017 version 15.3.4. 2017-09-15 20:37:09 +02:00
d5a84818c0 Added support for new VS2017 version. 2017-08-19 19:34:46 +02:00
2e958ece6a Added project/solution files for VS2017. 2017-08-15 19:57:13 +02:00
094d203774 Updated list of known hosts. 2017-05-11 21:38:17 +02:00
74daec4d22 Switch to using QAtomicInc instead of "volatile" flags in more places. 2017-04-19 23:51:17 +02:00
35e9484834 Some code refactoring. 2017-04-18 21:03:38 +02:00
b91185f41e Added option for creating "pretty" file names to clean_file_name_make_pretty() function. 2017-04-09 19:09:16 +02:00
5fe443cb1e UpdateChecker: Use MCat tool instead of NC for connectivity test, which adds IPv6 support and even is a bit faster. 2017-04-07 20:43:33 +02:00
f3a762cfba Update checker: Try first couple of mirrors in "quick" mode (reduced connection timeout), then revert to default behavior + various improvements. 2017-03-29 21:39:05 +02:00
5620cdda3a Some code clean-up + make it possible to cancel UpdateChecker thread. 2017-03-28 21:13:14 +02:00
888241627f Some improvements to connectivity check: Start with small timeout and increase the timeout successively. Prevents "slow" hosts early in the list from slowing down the whole connectivity check. 2017-03-27 23:38:43 +02:00