- Nov 03, 2024
-
-
Brad King authored
CMake used this to preserve symlinks through realpath operations, but its presence caused some undesired side effects. Those realpath operations are being replaced with a hand-written alternative that explicitly preserves symlinks when possible and does not have the side effects. Therefore we no longer need the path translation map. Issue: cmake/cmake#16228
-
- Oct 25, 2021
-
-
Sean McBride authored
-
- Sep 17, 2019
-
-
- Find/replace of KWSYS_NULLPTR with nullptr - Find/replace of NULL with nullptr - Manually fixed -Wzero-as-null-pointer-constant warnings - Careful review to fix some comments, string output, etc.
-
- Apr 17, 2019
-
-
When determining full paths, CMake would treat the as-called path for the source and build directories as real paths even if they were symlinks. This causes problems when determining the relative path between the source and build directories when they are symlinks. Take the following setup as an example: /mnt/src/project/ src/ build/ -> /mnt/builds/project/build With the translation map and /mnt/src/project/build/ as the build directory, CMake would use ../src as the relative path to the source tree from the build tree rather than ../../../src/project/src and lookups using ../src would fail. If the build directory were instead used *as* /mnt/builds/project/build, everything would work just fine. This patch makes the core logic which does this logic optional so that it can be experimented with in CMake itself.
-
- May 31, 2018
-
-
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
-
- Dec 21, 2017
-
-
When building with C++11 or greater, use the `nullptr` keyword.
-
- 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 04, 2016
-
-
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Change-Id: Ie3aedc03bfe5c3999d4a077fafb8c6f3bbffc5c5
-
Brad King authored
Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace KWSys per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing#kwsys". Run the `filter-notices.bash` script to perform the replacements mechanically. Manually fix up the shebang line in one file. Change-Id: I8497f7c868664dcf54a8608ab302ad93c860b334
-
- Jul 19, 2016
-
-
std::basic_filebuf::open(const wchar_t *) isn't part of C++ standard and it's only present for MSVC but it isn't present in libstdc++ (MinGW) so we implement this functionality using GNU libstdc++ stdio_filebuf extension and _wfopen function. Change-Id: I7df7a1b22ba272db23c8d962cb66ec71a278ef06
-
- Oct 06, 2015
-
-
Brad King authored
Do not expose our platform introspection result publicly. Change-Id: I9929f31293adcb628b32d9d7f11b120c44046354
-
- Aug 28, 2015
-
-
Brad King authored
Change-Id: Ie06816e1a2a0537c23fb646985a8017087dcf702
-
Brad King authored
Change-Id: I0da93a55af243fe798b9dd5bda4ee30c1bc3fcf9
-
Brad King authored
Drop the KWSYS_STL_HAS_* checks needed only for hashtable compatibility with old STL versions. Change-Id: I164a40669881439f5853a72c60ab2065498a69c0
-
Brad King authored
Drop "kwsys/stl/*" and "kwsys_stl::" and use the standard headers and namespace instead. Drop the now-unused KWSYS_STL_HAVE_STD check. Change-Id: I6105fd32cd8f0e487e03f58927976e824a53f0d8
-
Brad King authored
Remove the KWSYS_STL_STRING_HAVE_{ISTREAM,OSTREAM,NEQ_CHAR} checks and drop their uses. Change-Id: I1e95dbbd724a7e08db67f71533da381b9d943f53
-
Brad King authored
Remove the checks for KWSYS_IOS_USE_ANSI and KWSYS_IOS_HAVE_STD and uses of the results. Change-Id: I67d756a70a08636175a9d131c6b3e27a3f74b175
-
Brad King authored
Change-Id: I930fdf45832e09b01b653a21ed0be159bebbf45d
-
Brad King authored
Change-Id: Icdc68acbac4b393ff753598dff331ac22df68b73
-
Brad King authored
Use the standard headers and namespace instead. We no longer support compilers without them. Change-Id: Iafb19d28462e9302df06eecc8ae42b48a9577a21
-
- Oct 31, 2013
-
-
Clinton Stimpson authored
The 8 bit encoding is UTF-8. Change-Id: If54262c09777effcbffac30481405e56c6605dd7
-
- Jun 29, 2010
-
-
Brad King authored
Define KWSYS_DO_NOT_CLEAN_PUTENV only for the implementation. It does not need to be configured in the interface of "Configure.hxx".
-
- Sep 28, 2009
-
-
Brad King authored
This converts the KWSys license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the KWSys copyright to cover the full development time range.
-
- Sep 22, 2009
-
-
Bill Hoffman authored
-
Bill Hoffman authored
-
Bill Hoffman authored
Put a flag in that will stop system tools from deleting system environment memory on exit, as it can cause gcov to crash the programs.
-
- Aug 31, 2009
-
-
Brad King authored
The 'binary' openmode does not exist on all compilers. We define macro <kwsys>_ios_binary, where <kwsys> is the KWSys namespace, to refer to std::ios::binary if it exists and 0 otherwise. Sample usage: kwsys_ios::ifstream fin(fn, kwsys_ios::ios::in | kwsys_ios_binary);
-
- Apr 14, 2009
-
-
Brad King authored
All KWSys C symbol names begin with the KWSYS_NAMESPACE defined at configuration time. For ease of editing we write canonical names with the prefix 'kwsys' and use macros to map them to the configured prefix at preprocessing time. In the case of standalone KWSys, the prefix is 'kwsys', so the macros were previously defined to their own names. We now skip defining the macros in the identity case so that the final symbol names are never themselves macros. This will allow the symbols to be further transformed behind the scenes to help linkers in special cases on some platforms.
-
- Jun 09, 2005
-
-
Brad King authored
-
- Apr 21, 2005
-
-
Brad King authored
COMP: Added KWSys try-compiles KWSYS_STL_HAS_ALLOCATOR_TEMPLATE and KWSYS_STL_HAS_ALLOCATOR_OBJECTS. Needed for more old-stl support in the hashtable.
-
- Apr 15, 2005
-
-
Brad King authored
COMP: Added KWSYS_CXX_HAS_CSTDDEF try-compile to KWSys to provide kwsys/cstddef header (to get size_t for hash_fun.hxx).
-
Brad King authored
ENH: Added KWSys try-compiles KWSYS_STL_HAS_ITERATOR_TRAITS, KWSYS_STL_HAS_ITERATOR_CATEGORY, KWSYS_STL_HAS___ITERATOR_CATEGORY, and KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE to get the hash table to compile on old HP and Sun compilers.
-
Brad King authored
ENH: Added KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP try-compile to KWSys. Needed to optionally bring hash table comparison operators into the global namespace when argument dependent lookup is not supported.
-
- Apr 13, 2005
-
-
Brad King authored
COMP: Added KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT check for non-standard argument to stl allocator<>::max_size method. Needed for kwsys hashtable to compile on Sun CC.
-
Andy Cedilnik authored
ENH: Do kwsys testing as part of cmake testing, command line arguments are not experimental and add simple test for systemtools
-
Brad King authored
ENH: Adding SGI hash_map and hash_set implementation ported from STL to KWSys. This also adds try-compiles for KWSYS_STL_HAS_ALLOCATOR_REBIND, KWSYS_CXX_HAS_FULL_SPECIALIZATION, KWSYS_CXX_HAS_MEMBER_TEMPLATES, and KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS.
-
- Mar 29, 2005
- Mar 26, 2005