- Feb 20, 2018
-
-
6e190d9a Fix include directory usage requirement for build tree Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !88
-
Brad King authored
The include directory usage requirement for the build tree was added by commit 993f0ea4 (Add an option to split object and interface libs, 2017-06-19) and preserved by commit b61faf89 (Fix install rules and usage requirements for interface+object libs, 2017-06-28). However, its value should be that of `KWSYS_HEADER_ROOT` rather than just its default.
-
- Feb 01, 2018
-
-
318550c7 CheckCollapsePath: add more test cases 71a6de42 CollapseFullPath: refactor the overloads to share implementations 68807138 CollapseFullPath: prefer .empty() to .length() == 0 55d1d6ab CollapseFullPath: reserve space for components 3b46b7c0 ConvertToUnixSlashes: bail early on empty paths 5dd87350 ConvertToUnixSlashes: remove pos1 342d69a4 ConvertToUnixSlashes: short-circuit on hasDoubleSlash 22b189b0 ConvertToUnixSlashes: remove escaped space logic ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !86
-
- Jan 31, 2018
-
-
-
-
-
The number of input components is a good hint for the number of output components.
-
-
Instead of using two pointers to iterate through the string, iterate using just one.
-
Checking the bool is faster than checking characters, so perform it first.
-
The function only works on paths which are already properly escaped.
-
Non-Windows platforms don't have backslash as a separator, however some projects may want to support Windows paths on non-Windows platforms (e.g., paths from data files). For those which don't need this, this allows the search to be faster since it's searching for a single character.
-
This avoids a `strlen` call at least.
-
All callers of this function use temporary storage for the input. Instead of copying strings, move them.
-
- Jan 23, 2018
-
-
c6829e4d Fixed a few comments, mostly regarding base 2 vs base 10 sizes Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !85
-
- Jan 19, 2018
-
-
Sean McBride authored
-
20c458d0 Set CMP0022 policy to new to provide link interface definitions Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !84
-
- Jan 17, 2018
-
-
Sankhesh Jhaveri authored
-
- Jan 10, 2018
-
-
4ca97fc6 SystemTools: Disable getpwnam for static linux builds Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !80
-
3e807fd6 cmake: specify source file extensions Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !82
-
38855ca1 Set CMP0042 explicitly with CMake 3.0 and above Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !81
-
- Jan 09, 2018
-
-
Ben Boeckel authored
-
Brad King authored
Some host projects no longer set `CMAKE_MACOSX_RPATH` explicitly due to requiring CMake 3.0 or above, and now see CMP0042 warnings. Set the policy explicitly in KWSys to avoid the warnings. Host projects can still set `CMAKE_MACOSX_RPATH` to `0` to get the old behavior. Suggested-by:
Ken Martin <ken.martin@kitware.com>
-
Chuck Atkins authored
On Linux, getpwnam requires a dynamic glibc at runtime so it can't really be used in a "fully static" build and will cause an excessive number of linker warnings pertaining to such.
-
4b67f965 Remove superfluous double whitespace in appropriate places Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Hans Johnson <hans.j.johnson@gmail.com> Merge-request: !79
-
- Jan 08, 2018
-
-
7d7f3b2d Configure: Add KWSYS_NULLPTR macro for C++ code Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !78
-
- Jan 03, 2018
-
-
luz.paz authored
+ fix documentation of method name + fix some source comment typos
-
- Dec 21, 2017
-
-
When building with C++11 or greater, use the `nullptr` keyword.
-
- 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.
-