Commit Graph

303 Commits

Author SHA1 Message Date
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
370c5e65f1 Updated project file. 2014-11-30 22:16:31 +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
f71d33693d Generate and compile the required MOC file. 2014-11-21 20:16:51 +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
4128a25057 UpdateChecker: Made 'currentBuildNo' a const member variable. 2014-11-21 19:51:21 +01:00
92e36b7e6b Implemented the init_process() function. 2014-11-21 19:46:45 +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
9f22ae6385 Implemented temp_folder() function. 2014-11-21 18:15:09 +01:00