OSDN Git Service

mutilities/MUtilities.git
7 years agoSome more documentation updates.
LoRd_MuldeR [Mon, 19 Dec 2016 19:58:42 +0000 (20:58 +0100)]
Some more documentation updates.

7 years agoSmall documentation fix.
LoRd_MuldeR [Mon, 19 Dec 2016 16:57:29 +0000 (17:57 +0100)]
Small documentation fix.

7 years agoFixed some typos + moved "main" page to a separate .dox file.
LoRd_MuldeR [Mon, 19 Dec 2016 16:46:05 +0000 (17:46 +0100)]
Fixed some typos + moved "main" page to a separate .dox file.

7 years agoSome documentation updates.
LoRd_MuldeR [Mon, 19 Dec 2016 16:09:58 +0000 (17:09 +0100)]
Some documentation updates.

7 years agoRe-generated the Doxyfile.
LoRd_MuldeR [Mon, 19 Dec 2016 16:09:25 +0000 (17:09 +0100)]
Re-generated the Doxyfile.

7 years agoDocumentation updates.
LoRd_MuldeR [Mon, 19 Dec 2016 01:43:38 +0000 (02:43 +0100)]
Documentation updates.

7 years agoSome documentation updates.
LoRd_MuldeR [Mon, 19 Dec 2016 00:57:41 +0000 (01:57 +0100)]
Some documentation updates.

7 years agoRemoved some debug outputs.
LoRd_MuldeR [Mon, 19 Dec 2016 00:56:59 +0000 (01:56 +0100)]
Removed some debug outputs.

7 years agoFixed a typo.
LoRd_MuldeR [Sun, 18 Dec 2016 21:48:17 +0000 (22:48 +0100)]
Fixed a typo.

7 years agoFixed a typo.
LoRd_MuldeR [Sun, 18 Dec 2016 21:44:17 +0000 (22:44 +0100)]
Fixed a typo.

7 years agoAdded API documentation, created by Doxygen.
LoRd_MuldeR [Sun, 18 Dec 2016 21:40:29 +0000 (22:40 +0100)]
Added API documentation, created by Doxygen.

7 years agoSimplified next_random() tests.
LoRd_MuldeR [Sun, 18 Dec 2016 21:38:35 +0000 (22:38 +0100)]
Simplified next_random() tests.

7 years agoRemoved seed_rand() function. Seeding will now be done automatically, if needed.
LoRd_MuldeR [Sun, 18 Dec 2016 21:38:01 +0000 (22:38 +0100)]
Removed seed_rand() function. Seeding will now be done automatically, if needed.

7 years agoAdded test cases for natural_string_sort() and regexp_parse_uint32() functions.
LoRd_MuldeR [Sun, 18 Dec 2016 00:05:25 +0000 (01:05 +0100)]
Added test cases for natural_string_sort() and regexp_parse_uint32() functions.

7 years agoDon't error out when code is compiled by "Intellisense".
LoRd_MuldeR [Sat, 17 Dec 2016 16:23:28 +0000 (17:23 +0100)]
Don't error out when code is compiled by "Intellisense".

7 years agoSome code refactoring + added tests for remove_file() and remove_directory() functions.
LoRd_MuldeR [Sat, 17 Dec 2016 16:22:34 +0000 (17:22 +0100)]
Some code refactoring + added tests for remove_file() and remove_directory() functions.

7 years agoAdded test cases for clean_file_path() and parity() functions.
LoRd_MuldeR [Fri, 16 Dec 2016 18:24:41 +0000 (19:24 +0100)]
Added test cases for clean_file_path() and parity() functions.

7 years agoRenamed functions for consistency.
LoRd_MuldeR [Fri, 16 Dec 2016 18:23:35 +0000 (19:23 +0100)]
Renamed functions for consistency.

7 years agoFixed compilation for "Release" and "Debug" configuration.
LoRd_MuldeR [Thu, 15 Dec 2016 22:11:20 +0000 (23:11 +0100)]
Fixed compilation for "Release" and "Debug" configuration.

7 years agoclean_file_name() function: Deal with reserved file names (e.g. "NUL" or "CON").
LoRd_MuldeR [Thu, 15 Dec 2016 21:42:50 +0000 (22:42 +0100)]
clean_file_name() function: Deal with reserved file names (e.g. "NUL" or "CON").

7 years agoAdded test cases for clean_file_name() function.
LoRd_MuldeR [Thu, 15 Dec 2016 21:42:22 +0000 (22:42 +0100)]
Added test cases for clean_file_name() function.

7 years agoAdded test for trim_left() and trim_right() functions.
LoRd_MuldeR [Thu, 15 Dec 2016 15:01:44 +0000 (16:01 +0100)]
Added test for trim_left() and trim_right() functions.

7 years agoAdded Test project for MUtilities.
LoRd_MuldeR [Thu, 15 Dec 2016 14:17:45 +0000 (15:17 +0100)]
Added Test project for MUtilities.

7 years agoAdded string trimming functions that trim only the left/right side.
LoRd_MuldeR [Thu, 15 Dec 2016 14:16:49 +0000 (15:16 +0100)]
Added string trimming functions that trim only the left/right side.

7 years agoRevamped clean_file_name() function. Do NOT trim *leading* spaces from file name...
LoRd_MuldeR [Wed, 14 Dec 2016 23:26:37 +0000 (00:26 +0100)]
Revamped clean_file_name() function. Do NOT trim *leading* spaces from file name, as this is allowed (though ugly).

7 years agoAdded function to generate unique file name, using an increasing counter.
LoRd_MuldeR [Wed, 14 Dec 2016 14:04:23 +0000 (15:04 +0100)]
Added function to generate unique file name, using an increasing counter.

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.

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

8 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.