- Dec 15, 2017
-
-
9f6cd407 SystemTools: Fix removing of soft links to directories on Windows. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !77
-
- Dec 14, 2017
-
-
Volo Zyko authored
-
- Dec 12, 2017
-
-
8e029751 SystemTools: Fix IsSubDirectory for subdirs of drive root Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !74
-
- Dec 09, 2017
-
-
Gregor Jasny authored
-
- Dec 08, 2017
-
-
9995f700 hashtable: Drop when building inside CMake Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !76
-
Brad King authored
CMake now builds as C++11 or higher and uses `unordered_{map,set}` instead of `hash_{map,set}`. Skip providing KWSys hashtable to it since it uses features deprecated by C++17.
-
- Dec 07, 2017
-
-
09724ac8 hashtable: Avoid use of std::unary_function Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !75
-
- Dec 06, 2017
-
-
Brad King authored
It is removed by C++17. It only defines some typedef members for derived functionals. We don't use those, so just drop it.
-
- Dec 05, 2017
-
-
e9557f37 RegularExpression: Fix regression in 'find' method Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !73
-
cff58f07 RegularExpression: New RegularExpressionMatch class bbc94ba8 RegularExpression: Remove unused code 64f80068 RegularExpression: Make find() reentrant (thread safe) 4d1e8738 RegularExpression: Make compile() reentrant (thread safe) Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !72
-
- Dec 04, 2017
-
-
Sebastian Holtermann authored
The new RegularExpressionMatch allows to keep multiple match results of a RegularExpression. The startp and endp pointers of RegularExpression are replaced by an instance of RegularExpressionMatch. There also is new thread safe version of RegularExpression::find() which allows multiple threads to concurrently use the same RegularExpression on different input strings with independent RegularExpressionMatch results.
-
Sebastian Holtermann authored
-
Sebastian Holtermann authored
RegularExpression::find() used to use shared global variables for every instance. This moves the variables into a private class on the stack instead.
-
Sebastian Holtermann authored
RegularExpression::compile() used to use shared global variables for every instance. This moves the variables into a private class on the stack instead.
-
- Dec 01, 2017
-
-
7b6fa277 ConsoleBuf: Add explicit switch case fallthrough markup Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !71
-
- Nov 30, 2017
-
-
Brad King authored
Fix `-Wimplicit-fallthrough` warnings.
-
1b09cf0d Configure: Add KWSYS_FALLTHROUGH macro for C++ code Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !69
-
- Nov 29, 2017
-
-
Brad King authored
Some C++ compilers now warn when a switch case falls through to another case, but compilers vary in how to suppress the warning with an explicit fallthrough specifier. Provide a macro for the specifier.
-
- Nov 09, 2017
-
-
e9d2b696 SystemTools: Cache only existing path names in GetActualCaseForPath Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !68
-
Non-existent names may be created later with a different case.
-
- Nov 07, 2017
-
-
bfdbfe9b Avoid requiring CMake 3.4 string(APPEND) Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !67
-
- Nov 06, 2017
-
-
Brad King authored
The `string(APPEND)` command was introduced by CMake 3.4, but we still support older versions.
-
9a1d5901 Fix trivial typos in text Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !66
-
- Nov 03, 2017
-
- Nov 02, 2017
-
-
8e428c18 Process: Add function to kill process (and children) with pid Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !65
-
- Nov 01, 2017
-
-
Bryon Bean authored
-
9e0b4d1a SystemTools: set default MakeDirectory permissions mode Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !63
-
90886a99 Process: Fix tests under ubsan 7a4cca11 Process: Refactor test compile flag addition Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !64
-
- Oct 31, 2017
-
-
Brad King authored
UBsan causes our test crash to abort instead. Switch the test to explicitly abort when sanitizers are in use.
-
Brad King authored
-
Domen Vrankar authored
MakeDirectory can create an entire directory structure so it's convenient that we can set the default directory permissions for directories that did not exist beforehand.
-
- Oct 17, 2017
-
-
b4507c9c Remove dead code from Configure.h.in Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !62
-
- Oct 16, 2017
-
-
Remove code that gives the preprocessor trouble when `_FILE_OFFSET_BITS` is not defined, e.g. on 32-bit machines. It was behind `#if 0` anyway.
-
- Oct 12, 2017
-
-
88d4dd4b CommandLineArguments: use std::string in GenerateHelp() Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !60
-
8717ac15 DynamicLoader: use std::string instead of strcpy() + strcat() Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !59
-
749b7506 ProcessUNIX: Use monotonic clock in kwsysProcessTimeGetCurrent() for POSIX Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !57
-
- Oct 11, 2017
-
-
Rolf Eike Beer authored
-
Rolf Eike Beer authored
-
Wouter Klouwen authored
While a process is running, it is possible for other processes such as NTP to alter the system clock in large jumps. To make the measurement of how long a process has taken to run impervious to such large jumps it is helpful to use a monotonic clock. This is a clock that takes an arbitrary starting point that does not change. clock_gettime() is a POSIX method that implements this clock. This is not available on all platforms, so this commit adds a check for its presence. If the monotonic timer is available, use that in kwsysProcessTimeGetCurrent(), otherwise falls back to previous non-monotonic behaviour.
-