Commit Graph

48 Commits

Author SHA1 Message Date
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
953f102f8a Switch to using QAtomicInc instead of "volatile" flags in more places. 2017-04-20 21:55:54 +02:00
f36c83c25e Happy new year 2017! 2017-01-06 23:17:56 +01:00
jbuonagurio
c7a859c64c Added Qt5 support, contributed by John Buonagurio <jbuonagurio@exponent.com>. 2017-01-06 23:10:01 +01:00
751e0f69e0 Removed seed_rand() function. Seeding will now be done automatically, if needed. 2016-12-18 22:38:01 +01:00
1f7d2131e8 Make it possible to set an extra PATH string for the new process, which (will be prepended to PATH environment variable (e.g for loading extra DLL's). 2016-10-02 15:21:58 +02:00
2e22f8ff4b Small improvement in get_real_os_version() function. 2016-05-16 17:05:59 +02:00
cb53f41a01 Improved get_real_os_version() function. Now also detects the real build number. 2016-05-15 23:03:38 +02:00
59aed73bf4 Use RtlGetVersion() to detect the *real* Windows version. 2016-05-13 20:44:23 +02:00
3302895145 Fixed is_library_file() for older Windows versions. 2016-05-08 20:39:23 +02:00
7f1bad6ca1 Added is_library_file() function. 2016-05-08 19:24:09 +02:00
e11b531d86 Happy new year 2016! 2016-02-20 16:30:17 +01:00
d17c45e592 Some code clean-up + removed a debug output. 2015-11-25 20:50:48 +01:00
670d4dc36c Some more code refactoring. 2015-11-23 22:28:52 +01:00
7f5d618eba Some code refactoring: Dynamic loading of DLL functions is now handled at a centralized place. 2015-11-22 21:45:09 +01:00
b82098a29e Fixed possible memory leak. 2015-11-22 18:36:05 +01:00
ae605d9d1e Added function to a file's path from a handle (file descriptor). 2015-11-22 17:33:25 +01:00
b926f98ee7 Added the set_file_time() function. 2015-10-25 16:11:12 +01:00
415d385f86 Fixed MUtils::OS::arguments() function. Regression in 44add70b7c. 2015-10-17 14:01:42 +02:00
44add70b7c Expose the crack_command_line() function. 2015-09-20 14:54:37 +02:00
4f16db6809 Added project/solution files for VS2015 + some build fixes for VS2015. 2015-08-06 20:49:50 +02:00
b1c2ecee3f Added get_file_version() function + workaround to make get_real_os_version() give the correct result on Windows 10+. 2015-06-21 16:37:03 +02:00
636e61c484 Added the Registry class + added ShellNotification function. 2015-05-02 18:52:35 +02:00
f98b28b510 The copy_file() function now accepts an optional callback function. 2015-03-22 21:29:30 +01:00
6c3049c3dc Added functions to disable/re-enable WOW64 filesystem redirection. 2015-03-01 21:57:53 +01:00
b79936a0e6 Added suspend_process() function. 2015-02-08 22:22:23 +01:00
e33d869f59 Fixed Windows 10 detection. It appears that after a series of brain-dead version numbers in Windows 7 (v6.1), Windows 8 (v6.2) and Windows 8.1 (v6.3), we are back to sanity now. 2015-01-25 20:50:21 +01:00
c3b213dcbc Improved handling of command-line arguments: Arguments are now provided in the from of a QMap. Also some improvements to directory clean-up code. 2015-01-04 17:09:12 +01:00
4572f69d33 Added the copy_file() function + some improvements to directory clean-up code. 2015-01-02 23:50:14 +01:00
6fd1b4f721 Don't try to initialize ITaskbarList3 on systems prior to Windows 7. 2014-12-26 00:46:39 +01:00
bc3701305d Moved translation support into MUtilities library + make clean-up of temporary files work again + various minor fixes. 2014-12-20 23:47:06 +01:00
8b3e28a131 Moved JobObject as well as the remaining GUI functions into the MUtilities library. 2014-12-08 22:03:36 +01:00
3ac2f782e3 Added functions to influence the system timer precision. 2014-12-06 22:07:08 +01:00
e3de94a9b1 Removed perfcounter_read() and perfcounter_freq() functions, since we can use QElapsedTimer for this purpose. 2014-12-06 15:57:00 +01:00
937904fb44 Moved some more OS-specific functions into the MUtilities library. 2014-12-04 00:16:05 +01:00
3676070821 Added sleep_ms() and check_debugger() functions + moved various auxiliary macros into the MUtils library. 2014-11-30 21:33:03 +01:00
52b230f2db Moved more functions into MUtils library, especially all the Qt initialization code and some more OS-specific stuff. 2014-11-29 01:22:46 +01:00
cfbf1e0747 Implemented startup and error handling functions. 2014-11-26 02:37:08 +01:00
d42da03bf1 Moved all terminal support functions into MUtilities library. 2014-11-25 22:32:20 +01:00
2df2b2dce6 Added DLLMain() function + changed the fatal_exit() function's parameters from "char*" to "wchar_t*" type. 2014-11-25 18:33:15 +01:00
9537d9005a Moved get_os_version() function into MUtilities library. 2014-11-25 17:34:57 +01:00
2086c3dde6 Improved temp_folder() function + we will now clean-up the TEMP folder on application exit. 2014-11-25 02:17:11 +01:00
570289edb4 Overhaul of the temp_folder() function + use scoped pointers for global objects. 2014-11-24 22:29:00 +01:00
906ecb7ab2 Added version info class. 2014-11-21 20:56:36 +01:00
bfedb5b4b3 Implemented network_status() function + project file update. 2014-11-21 20:11:39 +01:00
b012aa0dbb Implemented the current_date() function. 2014-11-21 19:58:36 +01:00
c10ede3ada Implemented fatal_exit() and exception handler macros. 2014-11-21 19:42:39 +01:00
7ecdb2f57e Implemented known_folder() function. 2014-11-21 18:45:01 +01:00