OSDN Git Service

mutilities/MUtilities.git
7 years agoBump version. v1.07
LoRd_MuldeR [Wed, 14 Dec 2016 14:03:52 +0000 (15:03 +0100)]
Bump version.

7 years agoUpdated Wget parameters for latest Wget version.
LoRd_MuldeR [Sat, 22 Oct 2016 13:10:58 +0000 (15:10 +0200)]
Updated Wget parameters for latest Wget version.

7 years agoSome improvements to init_process() function.
LoRd_MuldeR [Sun, 2 Oct 2016 15:32:40 +0000 (17:32 +0200)]
Some improvements to init_process() function.

7 years agoMake it possible to set an extra PATH string for the new process, which (will be...
LoRd_MuldeR [Sun, 2 Oct 2016 13:21:58 +0000 (15:21 +0200)]
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).

7 years agoAdded support for Visual Studio 2015 with Update-3.
LoRd_MuldeR [Sat, 17 Sep 2016 18:36:05 +0000 (20:36 +0200)]
Added support for Visual Studio 2015 with Update-3.

7 years agoFixed a few more instances of "LameXP" being hardcoded into MUtilities library.
LoRd_MuldeR [Mon, 18 Jul 2016 12:01:48 +0000 (14:01 +0200)]
Fixed a few more instances of "LameXP" being hardcoded into MUtilities library.

7 years agoSome improvements to clean_file_path() function.
LoRd_MuldeR [Sun, 17 Jul 2016 18:32:44 +0000 (20:32 +0200)]
Some improvements to clean_file_path() function.

7 years agoDisable telemetry with VC14.
LoRd_MuldeR [Sat, 11 Jun 2016 18:29:47 +0000 (20:29 +0200)]
Disable telemetry with VC14.

7 years agoSmall improvement in get_real_os_version() function.
LoRd_MuldeR [Mon, 16 May 2016 15:05:59 +0000 (17:05 +0200)]
Small improvement in get_real_os_version() function.

7 years agoImproved get_real_os_version() function. Now also detects the real build number.
LoRd_MuldeR [Sun, 15 May 2016 21:03:38 +0000 (23:03 +0200)]
Improved get_real_os_version() function. Now also detects the real build number.

7 years agoFixed getExecutableName() function.
LoRd_MuldeR [Sun, 15 May 2016 21:02:32 +0000 (23:02 +0200)]
Fixed getExecutableName() function.

7 years agoUse RtlGetVersion() to detect the *real* Windows version.
LoRd_MuldeR [Fri, 13 May 2016 18:44:23 +0000 (20:44 +0200)]
Use RtlGetVersion() to detect the *real* Windows version.

7 years agoFixed is_library_file() for older Windows versions.
LoRd_MuldeR [Sun, 8 May 2016 18:39:23 +0000 (20:39 +0200)]
Fixed is_library_file() for older Windows versions.

7 years agoAdded is_library_file() function.
LoRd_MuldeR [Sun, 8 May 2016 17:24:09 +0000 (19:24 +0200)]
Added is_library_file() function.

7 years agoLimit number of connection attempts.
LoRd_MuldeR [Sat, 23 Apr 2016 16:36:19 +0000 (18:36 +0200)]
Limit number of connection attempts.

7 years agoRevamped updater thread: Got rid of some old cruft + now using NC for connectivity...
LoRd_MuldeR [Sat, 23 Apr 2016 11:25:01 +0000 (13:25 +0200)]
Revamped updater thread: Got rid of some old cruft + now using NC for connectivity test (way faster than Wget).

8 years agoUpdated README file.
LoRd_MuldeR [Sat, 16 Apr 2016 12:28:32 +0000 (14:28 +0200)]
Updated README file.

8 years agoUpdated README file.
LoRd_MuldeR [Sat, 16 Apr 2016 12:25:52 +0000 (14:25 +0200)]
Updated README file.

8 years agoAdded support for Visual Studio 2015 with Update-2.
LoRd_MuldeR [Thu, 7 Apr 2016 18:52:07 +0000 (20:52 +0200)]
Added support for Visual Studio 2015 with Update-2.

8 years agoRegistry functions: Optionally allow caller to force 32-bit registry view or 64-bit...
LoRd_MuldeR [Fri, 11 Mar 2016 18:11:18 +0000 (19:11 +0100)]
Registry functions: Optionally allow caller to force 32-bit registry view or 64-bit registry view. Default behavior should be unchanged.

8 years agoMore accurate way to check whether AVX OS-support is enabled.
LoRd_MuldeR [Sat, 20 Feb 2016 16:41:15 +0000 (17:41 +0100)]
More accurate way to check whether AVX OS-support is enabled.

8 years agoHappy new year 2016!
LoRd_MuldeR [Sat, 20 Feb 2016 15:30:17 +0000 (16:30 +0100)]
Happy new year 2016!

8 years agoCPUFeatures: Added AVX detection.
LoRd_MuldeR [Sat, 20 Feb 2016 15:26:56 +0000 (16:26 +0100)]
CPUFeatures: Added AVX detection.

8 years agoFixed compilation with VS2010 and VS2013.
LoRd_MuldeR [Sat, 19 Dec 2015 18:06:40 +0000 (19:06 +0100)]
Fixed compilation with VS2010 and VS2013.

8 years agoBump version. v1.06
LoRd_MuldeR [Sat, 12 Dec 2015 14:08:23 +0000 (15:08 +0100)]
Bump version.

8 years agoAdded support for Visual Studio 2015 with Update-1.
LoRd_MuldeR [Wed, 9 Dec 2015 19:33:11 +0000 (20:33 +0100)]
Added support for Visual Studio 2015 with Update-1.

8 years agoSome code clean-up + removed a debug output.
LoRd_MuldeR [Wed, 25 Nov 2015 19:50:48 +0000 (20:50 +0100)]
Some code clean-up + removed a debug output.

8 years agoSome more code refactoring.
LoRd_MuldeR [Mon, 23 Nov 2015 21:28:52 +0000 (22:28 +0100)]
Some more code refactoring.

8 years agoSome code refactoring: Dynamic loading of DLL functions is now handled at a centraliz...
LoRd_MuldeR [Sun, 22 Nov 2015 20:45:09 +0000 (21:45 +0100)]
Some code refactoring: Dynamic loading of DLL functions is now handled at a centralized place.

8 years agoFixed possible memory leak.
LoRd_MuldeR [Sun, 22 Nov 2015 17:36:05 +0000 (18:36 +0100)]
Fixed possible memory leak.

8 years agoAdded function to a file's path from a handle (file descriptor).
LoRd_MuldeR [Sun, 22 Nov 2015 16:33:25 +0000 (17:33 +0100)]
Added function to a file's path from a handle (file descriptor).

8 years agoAdded the set_file_time() function.
LoRd_MuldeR [Sun, 25 Oct 2015 15:11:12 +0000 (16:11 +0100)]
Added the set_file_time() function.

8 years agoRemoved project/solution files for VS2012.
LoRd_MuldeR [Sat, 24 Oct 2015 11:48:36 +0000 (13:48 +0200)]
Removed project/solution files for VS2012.

8 years agoBump version. v1.05
LoRd_MuldeR [Fri, 23 Oct 2015 19:04:55 +0000 (21:04 +0200)]
Bump version.

8 years agoUpdated project/solution file for VS2012.
LoRd_MuldeR [Fri, 23 Oct 2015 19:00:46 +0000 (21:00 +0200)]
Updated project/solution file for VS2012.

8 years agoAdded one more mirror.
LoRd_MuldeR [Tue, 20 Oct 2015 18:53:35 +0000 (20:53 +0200)]
Added one more mirror.

8 years agoSimplified the qt_registry_cleanup() function.
LoRd_MuldeR [Sun, 18 Oct 2015 19:43:23 +0000 (21:43 +0200)]
Simplified the qt_registry_cleanup() function.

8 years agoSome improvements to reg_key_delete() function.
LoRd_MuldeR [Sun, 18 Oct 2015 17:13:40 +0000 (19:13 +0200)]
Some improvements to reg_key_delete() function.

8 years agoAdded one more mirror.
LoRd_MuldeR [Sun, 18 Oct 2015 16:07:04 +0000 (18:07 +0200)]
Added one more mirror.

8 years agoAdded the qt_registry_cleanup() function. Will be called via atexit() on application...
LoRd_MuldeR [Sun, 18 Oct 2015 14:09:25 +0000 (16:09 +0200)]
Added the qt_registry_cleanup() function. Will be called via atexit() on application shutdown.

8 years agoFixed MUtils::OS::arguments() function. Regression in 44add70b7ca0c549f442981501b7143...
LoRd_MuldeR [Sat, 17 Oct 2015 12:01:42 +0000 (14:01 +0200)]
Fixed MUtils::OS::arguments() function. Regression in 44add70b7ca0c549f442981501b71439d4372aaf.

8 years agoSilenced some DEBUG outputs + updated list of mirrors.
LoRd_MuldeR [Sun, 11 Oct 2015 15:35:09 +0000 (17:35 +0200)]
Silenced some DEBUG outputs + updated list of mirrors.

8 years agoExpose the crack_command_line() function.
LoRd_MuldeR [Sun, 20 Sep 2015 12:54:37 +0000 (14:54 +0200)]
Expose the crack_command_line() function.

8 years agoMake signature validation work, when keyring file is not located in the same director...
LoRd_MuldeR [Mon, 31 Aug 2015 20:56:39 +0000 (22:56 +0200)]
Make signature validation work, when keyring file is not located in the same directory as the file to be validated.

8 years agoUpdated project/Solution file for VS2010.
LoRd_MuldeR [Sun, 30 Aug 2015 12:33:17 +0000 (14:33 +0200)]
Updated project/Solution file for VS2010.

8 years agoMake the update checker fetch new signature (".sig2") file.
LoRd_MuldeR [Mon, 24 Aug 2015 20:49:45 +0000 (22:49 +0200)]
Make the update checker fetch new signature (".sig2") file.

8 years agoUpdated list of known hosts.
LoRd_MuldeR [Mon, 24 Aug 2015 19:49:15 +0000 (21:49 +0200)]
Updated list of known hosts.

8 years agoUpdateChecker: Parse and forward the new "DownloadChecksum" entry from update info...
LoRd_MuldeR [Sun, 16 Aug 2015 14:27:43 +0000 (16:27 +0200)]
UpdateChecker: Parse and forward the new "DownloadChecksum" entry from update info file.

8 years agoRemoved some obsolete/broken mirror sites from the list.
LoRd_MuldeR [Sat, 15 Aug 2015 16:03:58 +0000 (18:03 +0200)]
Removed some obsolete/broken mirror sites from the list.

8 years agoSmall synchronization fix.
LoRd_MuldeR [Sun, 9 Aug 2015 19:34:31 +0000 (21:34 +0200)]
Small synchronization fix.

8 years agoYet another method to initialize the terminal. Tested to work with VS2013 *and* VS2015.
LoRd_MuldeR [Sun, 9 Aug 2015 19:21:05 +0000 (21:21 +0200)]
Yet another method to initialize the terminal. Tested to work with VS2013 *and* VS2015.

8 years agoIn Terminal code: Skip the "stdio" layer altogether. It appears that, starting with...
LoRd_MuldeR [Sun, 9 Aug 2015 16:15:51 +0000 (18:15 +0200)]
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...

8 years agoChanged the terminal initialization code, to make it work with VS2015.
LoRd_MuldeR [Fri, 7 Aug 2015 08:15:54 +0000 (10:15 +0200)]
Changed the terminal initialization code, to make it work with VS2015.

8 years agoUpdated solution file for VS2015.
LoRd_MuldeR [Thu, 6 Aug 2015 18:55:56 +0000 (20:55 +0200)]
Updated solution file for VS2015.

8 years agoAdded project/solution files for VS2015 + some build fixes for VS2015.
LoRd_MuldeR [Thu, 6 Aug 2015 18:49:50 +0000 (20:49 +0200)]
Added project/solution files for VS2015 + some build fixes for VS2015.

8 years agoAdded reg_key_exists() function.
LoRd_MuldeR [Sun, 26 Jul 2015 13:11:17 +0000 (15:11 +0200)]
Added reg_key_exists() function.

8 years agoSome improvements to registry code.
LoRd_MuldeR [Sun, 26 Jul 2015 12:22:55 +0000 (14:22 +0200)]
Some improvements to registry code.

8 years agoAdded support for Visual Studio 2013 with Update 5.
LoRd_MuldeR [Fri, 24 Jul 2015 20:35:53 +0000 (22:35 +0200)]
Added support for Visual Studio 2013 with Update 5.

8 years agoSome improvements to clean_file_name() and clean_file_path() functions.
LoRd_MuldeR [Fri, 10 Jul 2015 20:15:45 +0000 (22:15 +0200)]
Some improvements to clean_file_name() and clean_file_path() functions.

8 years agoAdded get_file_version() function + workaround to make get_real_os_version() give...
LoRd_MuldeR [Sun, 21 Jun 2015 14:37:03 +0000 (16:37 +0200)]
Added get_file_version() function + workaround to make get_real_os_version() give the correct result on Windows 10+.

8 years agoUpdated list of known hosts.
LoRd_MuldeR [Sun, 21 Jun 2015 14:35:58 +0000 (16:35 +0200)]
Updated list of known hosts.

8 years agoAdded enum_values() function to the Registry name-space.
LoRd_MuldeR [Sun, 3 May 2015 19:36:46 +0000 (21:36 +0200)]
Added enum_values() function to the Registry name-space.

8 years agoVarious improvements to the Regsitry class.
LoRd_MuldeR [Sun, 3 May 2015 16:17:54 +0000 (18:17 +0200)]
Various improvements to the Regsitry class.

8 years agoFixed a memory leak + fixed check condition.
LoRd_MuldeR [Sat, 2 May 2015 18:52:10 +0000 (20:52 +0200)]
Fixed a memory leak + fixed check condition.

8 years agoAdded the Registry class + added ShellNotification function.
LoRd_MuldeR [Sat, 2 May 2015 16:52:35 +0000 (18:52 +0200)]
Added the Registry class + added ShellNotification function.

9 years agoBump version. v1.02
LoRd_MuldeR [Sun, 5 Apr 2015 16:22:25 +0000 (18:22 +0200)]
Bump version.

9 years agoMake Qt library path point to proper sub-dir in "Prerequisites" directory.
LoRd_MuldeR [Sun, 5 Apr 2015 14:02:04 +0000 (16:02 +0200)]
Make Qt library path point to proper sub-dir in "Prerequisites" directory.

9 years agoRemoved one obsolete host name.
LoRd_MuldeR [Sun, 5 Apr 2015 13:15:52 +0000 (15:15 +0200)]
Removed one obsolete host name.

9 years agoUpdated list of mirrors.
LoRd_MuldeR [Mon, 30 Mar 2015 21:40:13 +0000 (23:40 +0200)]
Updated list of mirrors.

9 years agoAdded project/solution files for Visual Studio 2010.
LoRd_MuldeR [Mon, 30 Mar 2015 19:27:07 +0000 (21:27 +0200)]
Added project/solution files for Visual Studio 2010.

9 years agoAdded project/solution files for Visual Studio 2012.
LoRd_MuldeR [Sun, 29 Mar 2015 17:31:11 +0000 (19:31 +0200)]
Added project/solution files for Visual Studio 2012.

9 years agoThe copy_file() function now accepts an optional callback function.
LoRd_MuldeR [Sun, 22 Mar 2015 20:29:30 +0000 (21:29 +0100)]
The copy_file() function now accepts an optional callback function.

9 years agoAdded function to compute parity.
LoRd_MuldeR [Sat, 21 Mar 2015 20:28:26 +0000 (21:28 +0100)]
Added function to compute parity.

9 years agoAdded functions to disable/re-enable WOW64 filesystem redirection.
LoRd_MuldeR [Sun, 1 Mar 2015 20:57:53 +0000 (21:57 +0100)]
Added functions to disable/re-enable WOW64 filesystem redirection.

9 years agoUpdated mirror list.
LoRd_MuldeR [Thu, 26 Feb 2015 20:42:39 +0000 (21:42 +0100)]
Updated mirror list.

9 years agoUpdated mirror list.
LoRd_MuldeR [Sun, 22 Feb 2015 19:26:13 +0000 (20:26 +0100)]
Updated mirror list.

9 years agoAdded suspend_process() function.
LoRd_MuldeR [Sun, 8 Feb 2015 21:22:23 +0000 (22:22 +0100)]
Added suspend_process() function.

9 years agoAdded the BLAKE2 hash algorithm.
LoRd_MuldeR [Sun, 1 Feb 2015 20:03:28 +0000 (21:03 +0100)]
Added the BLAKE2 hash algorithm.

9 years agoIPCChannel: Trim parameter strings before sending.
LoRd_MuldeR [Sun, 1 Feb 2015 15:34:39 +0000 (16:34 +0100)]
IPCChannel: Trim parameter strings before sending.

9 years agoUpdated IPCChannel class to pass a variable number of parameter strings per message...
LoRd_MuldeR [Sun, 1 Feb 2015 14:07:06 +0000 (15:07 +0100)]
Updated IPCChannel class to pass a variable number of parameter strings per message (instead of just one).

9 years agoFixed Windows 10 detection. It appears that after a series of brain-dead version...
LoRd_MuldeR [Sun, 25 Jan 2015 19:50:21 +0000 (20:50 +0100)]
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.

9 years agoHappy new year 2015 !!!
LoRd_MuldeR [Sun, 25 Jan 2015 19:48:23 +0000 (20:48 +0100)]
Happy new year 2015 !!!

9 years agoUpdated the remove_directory() function to clear the directory attributes before...
LoRd_MuldeR [Mon, 5 Jan 2015 20:42:20 +0000 (21:42 +0100)]
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.

9 years agoChange current directory to root directory *before* trying to clean up the TEMP folde...
LoRd_MuldeR [Sun, 4 Jan 2015 18:44:25 +0000 (19:44 +0100)]
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.

9 years agoImproved handling of command-line arguments: Arguments are now provided in the from...
LoRd_MuldeR [Sun, 4 Jan 2015 16:09:12 +0000 (17:09 +0100)]
Improved handling of command-line arguments: Arguments are now provided in the from of a QMap. Also some improvements to directory clean-up code.

9 years agoAdded the copy_file() function + some improvements to directory clean-up code.
LoRd_MuldeR [Fri, 2 Jan 2015 22:50:14 +0000 (23:50 +0100)]
Added the copy_file() function + some improvements to directory clean-up code.

9 years agoImplemented static resource initialization.
LoRd_MuldeR [Thu, 1 Jan 2015 20:34:24 +0000 (21:34 +0100)]
Implemented static resource initialization.

9 years agoAdded Qt static plugin initialization.
LoRd_MuldeR [Thu, 1 Jan 2015 20:02:51 +0000 (21:02 +0100)]
Added Qt static plugin initialization.

9 years agoUpdated list of "known hosts" for internet connectivity checks.
LoRd_MuldeR [Sun, 28 Dec 2014 23:32:09 +0000 (00:32 +0100)]
Updated list of "known hosts" for internet connectivity checks.

9 years agoDon't try to initialize ITaskbarList3 on systems prior to Windows 7.
LoRd_MuldeR [Thu, 25 Dec 2014 23:46:39 +0000 (00:46 +0100)]
Don't try to initialize ITaskbarList3 on systems prior to Windows 7.

9 years agoAdded helper function for parsing regular expressions.
LoRd_MuldeR [Wed, 24 Dec 2014 23:49:29 +0000 (00:49 +0100)]
Added helper function for parsing regular expressions.

9 years agoUpdated the README file.
LoRd_MuldeR [Mon, 22 Dec 2014 02:49:52 +0000 (03:49 +0100)]
Updated the README file.

9 years agoRefactored the terminal initialization code. Also, we will now properly shut down...
LoRd_MuldeR [Sun, 21 Dec 2014 16:19:04 +0000 (17:19 +0100)]
Refactored the terminal initialization code. Also, we will now properly shut down the terminal at the end.

9 years agoMoved translation support into MUtilities library + make clean-up of temporary files...
LoRd_MuldeR [Sat, 20 Dec 2014 22:47:06 +0000 (23:47 +0100)]
Moved translation support into MUtilities library + make clean-up of temporary files work again + various minor fixes.

9 years agoRe-enabled 'async' mode for play_sound_file() function + fixed possible handle leak...
LoRd_MuldeR [Sat, 20 Dec 2014 12:40:53 +0000 (13:40 +0100)]
Re-enabled 'async' mode for play_sound_file() function + fixed possible handle leak in setOverlayIcon() function.

9 years agoMoved available_codepages() function into MUtilities library.
LoRd_MuldeR [Fri, 19 Dec 2014 22:50:58 +0000 (23:50 +0100)]
Moved available_codepages() function into MUtilities library.

9 years agoMoved Taskbar progress into MUtilities library.
LoRd_MuldeR [Thu, 18 Dec 2014 21:51:24 +0000 (22:51 +0100)]
Moved Taskbar progress into MUtilities library.

9 years agoSome code refactoring.
LoRd_MuldeR [Mon, 15 Dec 2014 20:08:31 +0000 (21:08 +0100)]
Some code refactoring.

9 years agoIPC status fields will be protected by an Adler-32 checksum too.
LoRd_MuldeR [Sun, 14 Dec 2014 19:52:58 +0000 (20:52 +0100)]
IPC status fields will be protected by an Adler-32 checksum too.

9 years agoVarious improvements to the IPCChannel class. Messages are now protected by Adler32...
LoRd_MuldeR [Sun, 14 Dec 2014 18:36:40 +0000 (19:36 +0100)]
Various improvements to the IPCChannel class. Messages are now protected by Adler32 checksums.