| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
e48796b KWSys: Fix SystemTools environment memory handling (#13156)
b10c5cb CTest: Simplify environment save/restore
|
| |
| |
| |
| |
| |
| |
| |
| | |
Replace use of AppendEnv/RestoreEnv pairs with instances of
SaveRestoreEnvironment. Simplify the signature of AppendEnv and use it
in place of similar loops elsewhere. Move the RestoreEnv implementation
inside the SaveRestoreEnvironment destructor which is the only place
left that calls it.
|
|\ \
| |/
|/|
| |
| | |
a90d478 [OSX] Fixed undefined symbol when linking CMakeLib into shared library
|
| | |
|
|\ \
| |/ |
|
| |\
| | |
| | |
| | |
| | | |
131eed6 cmake-gui: Improve interrupt granularity to fix bug 12649.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of enabling interrupt only when a progress or message callback is called, add a new callback specifically for
interrupt. This new callback is called from GetFatalErrorOccured() so cmake-gui can immediately report interrupt status
instead of calling queuing a call to cmSystemTools::SetFatalErrorOccured() and waiting for the progress or message
callback to be called to process that queued call.
|
|/ / |
|
|/
|
|
| |
The offset argument type depends on the libarchive version.
|
|
|
|
|
|
| |
Define an abstract API around the backend hash algorithm. Expose
ifstream errors to HashFile callers. Always try opening the file.
Succeed only if the end of file is reached without error.
|
|
|
|
|
| |
Several compilers warn about this case even when an extra layer of
parenthesis surrounds the assignment. Make the condition explicit.
|
|
|
|
|
| |
OUTPUT_NORMAL does no processing of the output streams, it just passes
them through the same streams as they were received on.
|
|
|
|
|
| |
No behaviour change, this prepares for adding a flag to skip the merging
of output streams.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
f09ba0f Fix style errors added by parent and grandparent
eeeeca1 XCode: Support target folders on XCode.
59ed84e Xcode: Support multiple level nesting of XCode folders (#10039)
d0a403f CMake: Move tokenize to cmSystemTools
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
0e591ed Fix type conversion warning
9c3a0b9 We will actually compress memcheck output if the server supports it.
8024c53 Dynamic analysis test output should not be compressed.
|
| |/
| |
| |
| |
| | |
This change won't be functional until the next release of CDash due to the
version comparison.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cdc2b41 Fix CompileCommandOutput test build on Windows
7039d1f Fix CompileCommandOutput test for Make tools not supporting spaces
4268e3d run_compile_commands: Cast istream::get() result to char
c45c60b run_compile_commands: Avoid extra stl vector conversion
7c5be51 run_compile_commands: Avoid shadow in std::map<>::at workaround
169bb05 Provide std::map<>::at for use in run_compile_commands
4e2185c Make std::map usage more portable in language=>flags/defines maps
a7e7a04 Fix run_compile_commands build on Apple GCC 3.3
c9174c0 Fix signed/unsigned comparison in EscapeJSON
8346a28 Only offer the compile command output feature on unix systems
0e6b05f Adds a test for the compile command line output.
5674844 make compile command output optional
fe07b05 implement cxx command output
65c0c24 cache flags and defines
3f064ef refactor flags and defines
|
| |/
| |
| |
| |
| |
| |
| | |
The Sun compiler does not provide the proper vector constructor to
initialize it from an iterator pair of a non-matching type. Extend the
ParseUnixCommandLine API to provide a vector of the proper type so no
conversion is needed.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use static_cast to avoid warnings like
conversion to ‘unsigned int’ from ‘__time_t’ may alter its value
conversion to ‘unsigned int’ from ‘__suseconds_t’ may alter its value
We do not care if the value is truncated because we are looking for just
32 bits anyway.
|
| | |
|
|/
|
|
|
|
| |
The naive time(0) seed is unique only within one second. Instead try to
read a real source of entropy and otherwise fall back to a combination
of the process id and high-resolution time.
|
|\
| |
| |
| |
| |
| | |
9d21281 Fix line-too-long style errors
86025d3 file(DOWNLOAD): Fix error message formatting
|
| | |
|
|/
|
|
|
| |
Conversion to libarchive changed the behavior of
cmake -E tar xzf. This commit fixes that oversight.
|
| |
|
|
|
|
|
|
| |
The last remaining call to this method exists only for compatibility.
Remove the method and put its implementation inline in place of the last
call.
|
|
|
|
|
|
|
| |
This will be needed to use cmArchiveWrire in cmCPackArchiveGenerator
with the same feature set as before. Note that adding zip
support to libarchive-wrapper would also makes it easy to add
a new -E zip command to cmake commands.
|
|
|
|
|
|
| |
Use libarchive through class cmArchiveWrite to implement the method
cmSystemTools::CreateTar. The class includes entries for directories by
automatically traversing the tree on disk.
|
|
|
|
|
| |
When CMAKE_USE_SYSTEM_LIBARCHIVE is on we must include the system
libarchive headers to match the library that will be linked.
|
|
|
|
|
| |
These were revealed by GCC's -Wconversion option. Fix types where it is
easy to do so. Cast in cases we know the integer will not be truncated.
|
|
|
|
|
| |
These were revealed by GCC's -Wconversion option. Fix types where it is
easy to do so. Cast in cases we know the integer will not be truncated.
|
|
|
|
|
| |
Windows filesystems sometimes lock files temporarily. Try removing the
CPack temp install folder multiple times before giving up.
|
|
|
|
|
|
|
| |
Since commit "Switch to using libarchive from libtar" (2009-10-30) the
the implementation of "tar xz" has printed all paths from the tarball as
a single line with no separator. This fixes the logic to extract
silently as expected.
|
|
|
|
| |
valgrind memory leaks.
|
|
|
|
| |
cmCTestScriptHandler::RunConfigurationScript. This will help prevent problems like we are currently experiencing (regarding CMake continuous dashboards only running once each day because the HOME environment variable is modified indirectly by a command in a called script, but affects the environment in the calling script).
|
| |
|
| |
|
| |
|
|
|
|
| |
used for better communication with CDash.
|
|
|
|
| |
forward compatibility for both tools. Note that this changeset effectively makes the default to disable output compression. Now, to enable output compression, the CDASH_CTEST_VERSION must be explicity set to >= 1.6. Automated detection of the CDash version is the next step.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|