11595 Commits

Author SHA1 Message Date
Brad King
60478de3e5 KWSys: Process tree kill for Solaris 2010-06-11 10:15:19 -04:00
KWSys Robot
6ce85691eb KWSys Nightly Date Stamp 2010-06-11 00:01:32 -04:00
Brad King
f20d091a2c Tru64: Place cmOStringStream vtable uniquely (#10541)
GCC places the vtable in the object implementing the first non-pure,
non-inline virtual method.  Since the symbol is not weak on Tru64, make
the location unique by putting the destructor in a single object file.
2010-06-10 15:22:40 -04:00
Zach Mullen
d0d1cdd71b Mock checksum failure output for old CDash versions 2010-06-10 15:02:24 -04:00
Zach Mullen
af5ef0c969 Testing for CTest checksum 2010-06-10 12:25:49 -04:00
Brad King
3f92947524 KWSys: Configure DynamicLoader library prefix/suffix
The DynamicLoader::LibPrefix and DynamicLoader::LibExtension methods
previously hard-coded the module name components for each platform.  Set
them from the CMAKE_SHARED_MODULE_PREFIX and CMAKE_SHARED_MODULE_SUFFIX
CMake variables instead.  This ensures consistency in a program that
uses these methods to construct the file names for its own modules.
2010-06-10 09:26:32 -04:00
KWSys Robot
c452d5b646 KWSys Nightly Date Stamp 2010-06-10 00:01:03 -04:00
Brad King
beabb3319e Document scope of source file properties
Also remove out-dated list of source file properties from the
set_source_files_properties command.
2010-06-09 13:18:42 -04:00
KWSys Robot
86de1d6504 KWSys Nightly Date Stamp 2010-06-09 00:01:09 -04:00
Brad King
c3781efb28 ctest_update: Support Git upstream branch rewrites
Use 'git fetch' followed by 'git reset' to update the source tree.  This
is better than 'git pull' because it can handle a rewritten upstream
branch and does not leave local modifications.  After fetch, parse
FETCH_HEAD to find the merge head that 'git pull' would choose to track
the upstream branch.  Then reset to the selected head.

In the normal fast-forward case the behavior remains unchanged.
However, now local modifications and commits will be erased, and
upstream rewrites are handled smoothly.  This ensures that the upstream
branch is tested as expected.
2010-06-08 16:50:17 -04:00
Brad King
2eae651acc ctest_update: Support custom Git update command
Define CTest configuration variable CTEST_GIT_UPDATE_CUSTOM to set a
custom command line for updating Git-managed source trees.
2010-06-08 16:12:28 -04:00
KWSys Robot
ddf0de132b KWSys Nightly Date Stamp 2010-06-08 00:01:03 -04:00
Brad King
6cf1ccd632 Merge branch 'per-config-link-flags' 2010-06-07 14:36:28 -04:00
Brad King
608406bf55 Merge branch 'ctest-update-git-submodule' 2010-06-07 14:34:28 -04:00
Brad King
6f96e32bfd Merge branch 'cpack-remove-temp-dir' 2010-06-07 14:33:38 -04:00
Brad King
efffb7b979 Merge branch 'file-write-umask' 2010-06-07 14:30:33 -04:00
Brad King
0d07e4379e Merge branch 'improve-file-download'
Conflicts:
	Modules/ExternalProject.cmake
2010-06-07 14:26:24 -04:00
Brad King
a03e85f13c Merge branch 'add-git-to-ExternalProject'
Conflicts:
	Modules/ExternalProject.cmake
2010-06-07 14:23:45 -04:00
Brad King
cbd0fa3013 Merge branch 'php-coverage' 2010-06-07 14:19:56 -04:00
Brad King
378c33480e Merge branch 'qtdialog' 2010-06-07 14:19:14 -04:00
Brad King
6068651cf7 Merge branch 'CTestScheduler' 2010-06-07 14:18:30 -04:00
KWSys Robot
2847d86c68 KWSys Nightly Date Stamp 2010-06-07 00:01:04 -04:00
KWSys Robot
c06dae9e67 KWSys Nightly Date Stamp 2010-06-06 00:01:03 -04:00
Zach Mullen
86e81b53c1 CTest should resubmit in the checksum failed case 2010-06-05 10:36:23 -04:00
KWSys Robot
dc6ed8ee8c KWSys Nightly Date Stamp 2010-06-05 00:01:03 -04:00
Brad King
d0a1b9efd0 Fix ctest_update log prefix for git submodule update
Commit 67277bac (Teach ctest_update about Git submodules, 2010-05-04)
accidentally logged "git submodule update" with the prefixes "pull-out"
and "pull-err".  Fix it to use "submodule-out" and "submodule-err"
instead.
2010-06-04 17:01:23 -04:00
Brad King
ac17dc4a43 KWSys: Remove "copyPermissions" parameters
The CopyFileIfDifferent, CopyFileAlways, CopyAFile and CopyADirectory
methods should always copy permissions.  The special cases in which a
caller would pass copyPermissions=false should be handled at the call
site.  The parameter needlessly complicates the interface and semantics
of these methods.
2010-06-04 16:02:00 -04:00
Brad King
b180bad2c6 Merge branch 'file-time-permissions' 2010-06-04 15:53:48 -04:00
Brad King
fdb5f78705 CPack: Try harder to remove temporary dir (#10793)
Windows filesystems sometimes lock files temporarily.  Try removing the
CPack temp install folder multiple times before giving up.
2010-06-04 14:32:08 -04:00
David Cole
ef491f7821 Allow redirects: set CURLOPT_FOLLOWLOCATION to 1
Enable file(DOWNLOAD ...) to follow redirects. Thanks to
Michael Wild for requesting the addition and providing
the majority of the patch.
2010-06-04 13:38:07 -04:00
KWSys Robot
5f4ac98bc5 KWSys Nightly Date Stamp 2010-06-04 00:01:03 -04:00
Zach Mullen
d6b71078da Fix subscript out of range crash 2010-06-03 13:52:48 -04:00
David Cole
d093abef7e Fix failing ExternalProject test on Borland dashboards.
If there is a .bat or .cmd file used as a custom command
then the Borland Makefiles generator (specifically) requires
using the "call " syntax before the name of the .bat or .cmd
file. This fix applies to all Makefile based generators where
WindowsShell is true.
2010-06-03 13:43:39 -04:00
Zach Mullen
082c87e528 Cross-platform fixes for checksum/retry code 2010-06-03 13:27:26 -04:00
Brad King
c15ed3294c KWSys: Avoid stat in CopyFileAlways (#10790)
On Windows 7 the file size reported by 'stat' on a new file sometimes
reports zero even though the real size is correct.  This causes our
CopyFileAlways method to falsely detect copy failure.  Work around the
problem by trusting the state of ofstream after writing the file.
2010-06-03 12:46:11 -04:00
Brad King
b8a1319c35 Avoid use of CopyAFile "copyPermissions" parameter
Commit 0fafdb7e (Do not copy permissions of files when making the copy
in an install rule, 2008-12-18) added special behavior to KWSys file
copy methods for this special case.  Use a local solution to avoid use
of the special behavior so it can be removed later.
2010-06-03 11:57:02 -04:00
Brad King
cae85c9f65 Borland: No S_IWGRP is available 2010-06-03 11:18:39 -04:00
Brad King
85cbdaade2 Really trust umask in file(WRITE) command (#10789, #10126)
Commit 8d0161c8 (Trust umask for file permissions, 2010-01-12) taught
these commands to set permissions to 0666 explicitly.  The intention was
to let the open() call inside ofstream handle permsisions so that umask
would be honored.  Now we set permissions only when we need to preserve
those on an existing file.  New files will be created with umask-based
permissions.
2010-06-03 10:50:30 -04:00
Zach Mullen
e525649a4e Checksums on CTest submit files, and retry timed out submissions. 2010-06-03 10:34:34 -04:00
KWSys Robot
3ac3dea6f0 KWSys Nightly Date Stamp 2010-06-03 00:01:02 -04:00
KWSys Robot
eaee8a2cb1 KWSys Nightly Date Stamp 2010-06-02 00:01:04 -04:00
KWSys Robot
7f619608d5 KWSys Nightly Date Stamp 2010-06-01 00:01:05 -04:00
KWSys Robot
b9e5faf618 KWSys Nightly Date Stamp 2010-05-31 00:01:07 -04:00
KWSys Robot
f034094e90 KWSys Nightly Date Stamp 2010-05-30 00:01:11 -04:00
KWSys Robot
6e8aa44327 KWSys Nightly Date Stamp 2010-05-29 00:01:04 -04:00
Brad King
5c49aa0c86 Xcode: Archives use STATIC_LIBRARY_FLAGS, not LINK_FLAGS
The LINK_FLAGS property is defined only for targets that really link.
These include executables and shared libraries.  For static libraries we
define the STATIC_LIBRARY_FLAGS property.  Teach the Xcode generator to
make this distinction.
2010-05-28 13:23:31 -04:00
Brad King
fe971d97ca Add STATIC_LIBRARY_FLAGS_<CONFIG> property (#10768)
This is a per-configuration version of STATIC_LIBRARY_FLAGS.
2010-05-28 11:09:10 -04:00
Brad King
159606c366 Implement LINK_FLAGS_<CONFIG> in VS 10 generator
Add support for the per-config LINK_FLAGS property in VS 10.  This was
simply missing.
2010-05-28 11:01:40 -04:00
Brad King
7458d465dd Fix LINK_FLAGS_<CONFIG> in VS 6 generator
Add the flags to the link step, not the compile step!
2010-05-28 10:22:19 -04:00
KWSys Robot
e6efd9ac0a KWSys Nightly Date Stamp 2010-05-28 00:01:03 -04:00