Commit Graph

157 Commits

Author SHA1 Message Date
6185f67786 Fixed getExecutableName() function. 2016-05-15 23:02:32 +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
1087c599e8 Limit number of connection attempts. 2016-04-23 18:36:19 +02:00
a6f6264917 Revamped updater thread: Got rid of some old cruft + now using NC for connectivity test (way faster than Wget). 2016-04-23 13:25:01 +02:00
819a3106b3 Registry functions: Optionally allow caller to force 32-bit registry view or 64-bit registry view. Default behavior should be unchanged. 2016-03-11 19:11:18 +01:00
52c0c777f5 More accurate way to check whether AVX OS-support is enabled. 2016-02-20 17:41:15 +01:00
e11b531d86 Happy new year 2016! 2016-02-20 16:30:17 +01:00
3ec3580ba4 CPUFeatures: Added AVX detection. 2016-02-20 16:26:56 +01:00
59c60a9a8d Bump version. 2015-12-12 15:08:23 +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
612a3c0290 Bump version. 2015-10-23 21:04:55 +02:00
d64aff1dcd Added one more mirror. 2015-10-20 20:53:35 +02:00
a562c9750c Simplified the qt_registry_cleanup() function. 2015-10-18 21:43:23 +02:00
bd9519b60b Some improvements to reg_key_delete() function. 2015-10-18 19:13:40 +02:00
9038b60650 Added one more mirror. 2015-10-18 18:07:04 +02:00
d4153ce243 Added the qt_registry_cleanup() function. Will be called via atexit() on application shutdown. 2015-10-18 16:09:25 +02:00
415d385f86 Fixed MUtils::OS::arguments() function. Regression in 44add70b7c. 2015-10-17 14:01:42 +02:00
17b91bf297 Silenced some DEBUG outputs + updated list of mirrors. 2015-10-11 17:35:09 +02:00
44add70b7c Expose the crack_command_line() function. 2015-09-20 14:54:37 +02:00
4c8df65031 Make signature validation work, when keyring file is not located in the same directory as the file to be validated. 2015-08-31 22:56:39 +02:00
96f54a170e Make the update checker fetch new signature (".sig2") file. 2015-08-24 22:49:45 +02:00
cdd7be0409 Updated list of known hosts. 2015-08-24 21:49:15 +02:00
2eac767ad2 UpdateChecker: Parse and forward the new "DownloadChecksum" entry from update info file. 2015-08-16 16:27:43 +02:00
4bc32e75c6 Removed some obsolete/broken mirror sites from the list. 2015-08-15 18:03:58 +02:00
5068bf06eb Small synchronization fix. 2015-08-09 21:34:31 +02:00
a05dcbfe80 Yet another method to initialize the terminal. Tested to work with VS2013 *and* VS2015. 2015-08-09 21:21:05 +02:00
fee09d0982 In Terminal code: Skip the "stdio" layer altogether. It appears that, starting with VS2015, it is no longer possible to connect stdout/stderr to a terminal allocated via AllocConsole() in a way that doesn't mess up UTF-8 strings before they arrive at the terminal. So we have to write to the terminal directly via Win32 API from now on... 2015-08-09 18:15:51 +02:00
ea12214b1b Changed the terminal initialization code, to make it work with VS2015. 2015-08-07 10:15:54 +02:00
4f16db6809 Added project/solution files for VS2015 + some build fixes for VS2015. 2015-08-06 20:49:50 +02:00
6417c49b83 Added reg_key_exists() function. 2015-07-26 15:11:17 +02:00
034e8f94f4 Some improvements to registry code. 2015-07-26 14:22:55 +02:00
4f114738e2 Some improvements to clean_file_name() and clean_file_path() functions. 2015-07-10 22:15:45 +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
2722678293 Updated list of known hosts. 2015-06-21 16:35:58 +02:00
2e385f8b27 Added enum_values() function to the Registry name-space. 2015-05-03 21:36:46 +02:00
78fa3cf146 Various improvements to the Regsitry class. 2015-05-03 18:17:54 +02:00
0bad6355d0 Fixed a memory leak + fixed check condition. 2015-05-02 20:52:10 +02:00
636e61c484 Added the Registry class + added ShellNotification function. 2015-05-02 18:52:35 +02:00
0ade062edf Bump version. 2015-04-05 18:22:25 +02:00
09db698ace Removed one obsolete host name. 2015-04-05 15:15:52 +02:00
1eacf19adf Updated list of mirrors. 2015-03-30 23:40:13 +02:00
f98b28b510 The copy_file() function now accepts an optional callback function. 2015-03-22 21:29:30 +01:00
dfc1cc97cc Added function to compute parity. 2015-03-21 21:28:26 +01:00
6c3049c3dc Added functions to disable/re-enable WOW64 filesystem redirection. 2015-03-01 21:57:53 +01:00
25877bc3b8 Updated mirror list. 2015-02-26 21:42:39 +01:00
dd0194bf7f Updated mirror list. 2015-02-22 20:26:13 +01:00
b79936a0e6 Added suspend_process() function. 2015-02-08 22:22:23 +01:00
02be92208f Added the BLAKE2 hash algorithm. 2015-02-01 21:03:28 +01:00
e581028182 IPCChannel: Trim parameter strings before sending. 2015-02-01 16:34:39 +01:00
4091eccf9b Updated IPCChannel class to pass a variable number of parameter strings per message (instead of just one). 2015-02-01 15:07:06 +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
efc4219c5b Happy new year 2015 !!! 2015-01-25 20:48:23 +01:00
2f66f6b662 Updated the remove_directory() function to clear the directory attributes before trying to delete the directory. It turns out that, on the Windows platform, directories *can* be read-only - despite the fact that the Windows Explorer can NOT set (or clear) the "read-only" flag for directories and despite the fact that Windows Explorer seems to totally ignore the "read-only" fag when it has been set somehow. 2015-01-05 21:42:20 +01:00
c3a7afa509 Change current directory to root directory *before* trying to clean up the TEMP folder. This avoids the TEMP directory from being removed, because it is the current directory. 2015-01-04 19:44:25 +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
b58347f7eb Implemented static resource initialization. 2015-01-01 21:34:24 +01:00
22e2b599da Added Qt static plugin initialization. 2015-01-01 21:02:51 +01:00
29756a3035 Updated list of "known hosts" for internet connectivity checks. 2014-12-29 00:32:09 +01:00
6fd1b4f721 Don't try to initialize ITaskbarList3 on systems prior to Windows 7. 2014-12-26 00:46:39 +01:00
d35ed2eb1b Added helper function for parsing regular expressions. 2014-12-25 00:49:29 +01:00
9a5a81e031 Updated the README file. 2014-12-22 03:49:52 +01:00
1c175c651b Refactored the terminal initialization code. Also, we will now properly shut down the terminal at the end. 2014-12-21 17:19:04 +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
00013f50f0 Re-enabled 'async' mode for play_sound_file() function + fixed possible handle leak in setOverlayIcon() function. 2014-12-20 13:40:53 +01:00
77219cf7d4 Moved available_codepages() function into MUtilities library. 2014-12-19 23:50:58 +01:00
a90d30c71e Moved Taskbar progress into MUtilities library. 2014-12-18 22:51:24 +01:00
cef4994b34 Some code refactoring. 2014-12-15 21:08:31 +01:00
bf8ce486d5 IPC status fields will be protected by an Adler-32 checksum too. 2014-12-14 20:52:58 +01:00
4385a2dfd9 Various improvements to the IPCChannel class. Messages are now protected by Adler32 checksums. 2014-12-14 19:36:40 +01:00
563cc1c185 Moved all IPC functions into the MUtilities libraries. 2014-12-13 23:21:13 +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
73521c7f98 Moved all the Sound-specific functions into MUtilities library. 2014-12-05 21:07:06 +01:00
37d89e834d Moved set_window_icon() function into MUtilities function. 2014-12-04 23:03:05 +01:00
937904fb44 Moved some more OS-specific functions into the MUtilities library. 2014-12-04 00:16:05 +01:00
49975fd4bb Moved code to set up the console icon into the MUtilities library. Also added the required icon resource to the MUtilities library. 2014-12-03 22:21:53 +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
4d41d882da Fixed a possible stack overflow in decode_date_str() function + set debugger flags when creating DEBUG build. 2014-11-30 20:29:41 +01:00
a0707809f5 Moved Natural String Sort functions into MUtils library. 2014-11-30 18:46:56 +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
3da8126f25 Moved the CPU detection code into the MUtils library. 2014-11-25 03:16:45 +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
6b3f9fef73 Added KeccakHash (aka SHA-3) class + make sure that "public" functions and classes are actually exported from the DLL. 2014-11-24 19:35:32 +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