Commit Graph

396 Commits

Author SHA1 Message Date
Bill Hoffman c190756e24 ENH: fix warning 2007-09-17 11:17:38 -04:00
Bill Hoffman 66a094a9eb ENH: opps 2007-09-11 12:23:59 -04:00
Bill Hoffman f262298bb0 ENH: fix 2 ctest issues, do not use the build type of ctest to look for config types, do not inherit pipes in child procs for ctest so it can kill them 2007-09-11 11:21:36 -04:00
Alexander Neundorf f13c3eef83 COMP: patch from Mathieu: fix warning about unused variables in bootstrap
mode

Alex
2007-08-14 10:27:34 -04:00
Bill Hoffman c693a23a7d ENH: use gnu tar for cygwin 2007-07-30 22:51:21 -04:00
Alexander Neundorf e69958c3cf BUG: fix bootstrapping, md5sum disabled in bootstrapping mode
Alex
2007-07-16 15:10:40 -04:00
Alexander Neundorf 5bb94ce166 ENH: apply patch from Mathieu, add argument -E md5sum to compute md5sums of
files, compatible to md5sum output

Alex
2007-07-16 10:54:32 -04:00
Brad King 9bfe711ef1 BUG: Fix ExpandListArgument when the string ends in a backslash. 2007-05-17 11:27:46 -04:00
Brad King e01cdf2065 ENH: Added kwsys SystemTools::CreateSymlink and SystemTools::ReadSymlink. 2007-03-12 13:50:28 -04:00
Brad King 91c2b84a92 ENH: Added ConvertToOutputSlashes method to convert slashes with the same policy as ConvertToOutputPath but without escaping. 2007-03-08 11:49:26 -05:00
Brad King d37577d9e0 STYLE: Removing unused methods ConvertToShellPath and EscapeForUnixShell. 2007-03-08 09:48:17 -05:00
Bill Hoffman 5647e6e254 ENH: fix parens in the path with spaces in the path 2007-02-21 21:24:17 -05:00
Brad King d37abb6b5d ENH: Added EscapeWindowsShellArgument and ParseWindowsCommandLine methods to cmSystemTools. 2007-02-01 11:45:37 -05:00
Brad King 0fcccb151f ENH: Changes from Ryan C. Gordon to fix old process execution on BeOS. 2006-12-14 10:03:25 -05:00
Bill Hoffman c2308e796f COMP: fix line length style error 2006-12-05 09:14:32 -05:00
Bill Hoffman 3a32cec969 ENH: merge in changes for beos support 2006-12-04 17:26:41 -05:00
Brad King f91b3c1daa ENH: Add options to build with system utility libraries. Organize inclusion of third party libraries into a single header per library. This addresses bug#3653. 2006-10-19 15:00:10 -04:00
Andy Cedilnik a9c0929d39 COMP: Handle both ansi and non-ansi C 2006-07-26 11:46:22 -04:00
Ken Martin daa37f1163 STYLE: fix line length 2006-05-12 13:53:21 -04:00
Ken Martin d81ebf0c23 ENH: added support for -SP scripts in new processes 2006-04-04 13:04:28 -04:00
Andy Cedilnik b507f8f0d1 ENH: Simplify the test 2006-03-17 16:14:04 -05:00
Andy Cedilnik b20cb78049 ENH: Handle missing unsetenv and add check for environ 2006-03-17 15:46:20 -05:00
Bill Hoffman ca8d1bc99b ENH: make cmake compile 2006-03-17 15:33:21 -05:00
Andy Cedilnik 733a0e787e COMP: Fix windows 2006-03-17 12:31:35 -05:00
Andy Cedilnik 0addc75520 COMP: Handle windows with hack for now 2006-03-17 12:24:37 -05:00
Andy Cedilnik d5631f370b ENH: Add a method to remove environment variables 2006-03-17 11:44:07 -05:00
Andy Cedilnik fe1fda6431 ENH: Use vector of plain strings and add cmake -E command for getting environment 2006-03-17 11:14:14 -05:00
Andy Cedilnik f44fedd3e9 ENH: Add access for all environment variables 2006-03-17 10:58:37 -05:00
Andy Cedilnik f483e48d2a ENH: Cleanup DynamicLoader so that the symbols have more consistent names, start using dynamic loader from kwsys in CMake 2006-03-16 11:01:05 -05:00
Bill Hoffman 89e5fc63fe STYLE: fix line lengths 2006-03-10 13:54:57 -05:00
Andy Cedilnik ff50bb9f77 BUG: Even more VS8 issues 2006-03-01 13:05:57 -05:00
Brad King f2cf7e9197 ENH: Enable capture of output from VCExpress.exe and devenv.exe. 2006-02-15 10:22:55 -05:00
Brad King db0681d2f6 ENH: Adding option to return empty arguments when expanding a list. 2006-02-09 19:03:27 -05:00
Andy Cedilnik e5a8e115bc ENH: Move relative path to kwsys 2006-02-07 10:23:17 -05:00
Andy Cedilnik 1e6bc6e5ee COMP: Remove warnings on HP-UX 2006-01-03 08:39:24 -05:00
Andy Cedilnik 8477aa59e5 ENH: Merge from cpack branch 2006-01-01 23:31:17 -05:00
Andy Cedilnik 6534e66e61 COMP: Fix warning on sun 2005-12-30 16:28:30 -05:00
Andy Cedilnik 00371678d3 COMP: Remove sun warning 2005-12-30 15:32:20 -05:00
Andy Cedilnik bb618a7db5 ENH: Cleanup the file handler stuf so that now any file descriptor type can be used 2005-12-30 14:51:15 -05:00
Andy Cedilnik 7b02221059 COMP: Remove unused variable 2005-12-30 14:31:13 -05:00
Andy Cedilnik 6d0f0e0acb COMP: Fix support for gzip on non-32 bit platforms 2005-12-30 14:22:46 -05:00
Andy Cedilnik 081625c610 COMP: Use mangle names 2005-12-30 12:58:33 -05:00
Andy Cedilnik abe4fd77fc ENH: Make the syntax more line tar 2005-12-29 12:19:13 -05:00
Andy Cedilnik d1180fc4e1 ENH: Add untaring support 2005-12-29 10:43:12 -05:00
Andy Cedilnik 2fcd41323b COMP: Fix complex test and fix bootstrap 2005-12-28 17:02:16 -05:00
Andy Cedilnik 0ef674b906 COMP: Add missing include 2005-12-28 16:53:46 -05:00
Andy Cedilnik 7a49a0ce4a BUG: Return proper values 2005-12-28 16:44:32 -05:00
Andy Cedilnik fdc844ecdb ENH: Add method to create tar 2005-12-28 16:30:55 -05:00
Bill Hoffman 452925649a ENH: add better support for framework linking 2005-12-26 13:14:19 -05:00
Brad King 0df3c162fb BUG: Do not dereference an end iterator. 2005-11-17 15:44:43 -05:00
Brad King 1c96fa4a41 BUG: RunSingleCommand should translate NULL characters in the output to valid text. This should fix the missing-output problem caused by NULL-characters in VS build output. 2005-08-17 17:39:59 -04:00
Brad King bac564356b COMP: Added pragma directives for SGI compilers to avoid useless warnings. 2005-05-03 14:58:13 -04:00
Andy Cedilnik c09f6172a4 ENH: Improve performance by using vector of char instead of string 2005-04-13 16:25:55 -04:00
Brad King e2ec4a1845 ENH: Adding kwsys::SystemTools::FileTimeCompare method to compare file modification times with the highest resolution possible on the file system. 2005-02-17 11:28:13 -05:00
Andy Cedilnik ad5115d00f ENH: Add support for single ' 2005-02-17 10:51:18 -05:00
Brad King 1c663cf41c BUG: Fix to avoid relative path with ..s all the way to the root. 2004-12-09 16:14:46 -05:00
Bill Hoffman ef07a8565e COMP: remove an unused variable warning 2004-10-25 13:40:17 -04:00
Bill Hoffman 626be7884a FIX: go back to not trying to handle spaces in the path for run single command and comment it so that people know to call the right thing 2004-10-25 13:16:05 -04:00
Bill Hoffman 7ed631311c FIX: fix RunSingleCommand to work with spaces in the path, and with an already quoted command 2004-10-25 11:59:50 -04:00
Bill Hoffman 9f98481a65 undo last check in as it breaks borland with spaces some how 2004-10-22 21:03:56 -04:00
Bill Hoffman 040f776885 FIX: fix the problem where a target is a single character and nmake gets confused and add a test for it 2004-10-22 17:00:00 -04:00
Bill Hoffman e9b6e65cbd BUG: if the paths share nothing then just return the remote path with no .. 2004-10-19 13:02:42 -04:00
Bill Hoffman 89d35bc8fb ENH: better comments and variable names 2004-10-18 13:19:43 -04:00
Brad King b4176dcab9 ENH: Added FileTimeCompare method to compare file modification times. Currently the resolution is limited to one second. 2004-10-15 09:23:14 -04:00
Bill Hoffman ef8385744b BUG: allow split string to know if it is separating a path 2004-10-14 11:46:30 -04:00
Bill Hoffman 78e8f12b86 BUG: fix and comment relative path funciton 2004-10-13 11:37:55 -04:00
Andy Cedilnik 3fc7dc5e70 ENH: Move permissions code to kwsys so that copyfile can use it. Fixes Bug #1133 - cmake -E copy file dir sets the wrong permissions on the destination directory 2004-09-29 12:20:52 -04:00
Bill Hoffman 2a1bbabb6b ENH: minor fortran fixes 2004-08-11 16:37:56 -04:00
Bill Hoffman 9655299f08 ENH: initial fortran support 2004-08-06 14:51:41 -04:00
Brad King 40a5bad916 ENH: Made RunSingleCommand take a double as its timeout length. 2004-07-02 16:27:46 -04:00
Bill Hoffman 2705b1bf73 BUG: fix spaces in path on mingw, and change EXEC_PROGRAM to return false when it does not run, also do not convert the directory to an output path for EXEC_PROGRAM as this is done by the process execution, and doing it twice may cause trouble on some shells. 2004-06-23 16:34:38 -04:00
Bill Hoffman f1842f9137 BUG: fix spaces in path with mingw and custom commands 2004-06-22 17:23:28 -04:00
Bill Hoffman f49e76899c ENH: speed up for NOTFOUND 2004-05-21 11:52:07 -04:00
Bill Hoffman 35cacf367b BUG: back out change due to broken dashboard 2004-05-20 21:27:37 -04:00
Bill Hoffman 66288b115e ENH: remove regex use where strcmp is faster 2004-05-20 17:33:58 -04:00
Andy Cedilnik 61f602d668 BUG: If the line ends without new-line character, Split should still return something 2004-04-20 18:28:23 -04:00
Andy Cedilnik 6ab87555ea ERR: Fix crash. We should check output before appending to it 2004-02-24 18:48:44 -05:00
Andy Cedilnik c6c1f70012 ENH: Put Process execution errors in output and honor verbosity 2004-02-24 10:04:02 -05:00
Bill Hoffman 6b6971a2c2 BUG: fix FMM 2004-01-27 14:51:18 -05:00
Andy Cedilnik 09421a261c ENH: Preserve permissions when copying files 2004-01-26 15:50:38 -05:00
Andy Cedilnik 900ad59867 ERR: Fix build problems on Visual Studio 6 2004-01-26 15:03:09 -05:00
Andy Cedilnik 7527fbccc2 ENH: Add code for setting and getting permissions 2004-01-26 14:55:57 -05:00
Andy Cedilnik 0217af3b58 ENH: Improve calling of RunSingle command and fix compile error 2004-01-26 14:41:29 -05:00
Bill Hoffman 1d958cad60 ENH: forgot return value 2004-01-26 14:00:22 -05:00
Bill Hoffman 222e9a2876 BUG: fix put/get env problems 2004-01-26 13:32:46 -05:00
Brad King f86424414f BUG: ::Stdout method should flush cout after writing data. 2004-01-21 15:55:47 -05:00
Bill Hoffman 1690c45626 ENH: dont do relative paths when nothing is relative 2004-01-20 14:35:25 -05:00
Brad King 79a1734269 ENH: Added more error state checks to RunSingleCommand. 2004-01-15 08:50:37 -05:00
Bill Hoffman 2c2291bbe0 ENH: add new feature to ctest so that it can cmake, build and run a test executable 2004-01-07 11:24:22 -05:00
Brad King bcd4f87414 BUG: Do not call cmsysProcess_GetErrorString unless GetState returns State_Error. 2003-12-30 10:26:18 -05:00
Andy Cedilnik 32accc1607 BUG: For consistency, use cmStdString. Also, there was a bug in SplitString which make it lose the first character. 2003-12-26 15:00:27 -05:00
Bill Hoffman 0bdb092a01 ENH: add relative paths to visual studio 6 and 7 project files 2003-12-22 16:21:27 -05:00
Bill Hoffman eb9fc21543 ENH: add support for relative paths in makefiles 2003-12-22 12:24:26 -05:00
Andy Cedilnik 5b232ded15 ENH: Add initial memory check support which works for Valgrind 2003-12-15 17:26:00 -05:00
Brad King ec78910bac BUG: Reimplemented ExpandListArguments to properly handle escaped backslashes that occur right before semicolons. This is important for lists of paths ending in backslashes on windows. 2003-12-08 18:05:29 -05:00
Ken Martin 06092a31fd bug fix to escaped semicolons in arguments 2003-12-08 16:10:48 -05:00
Brad King ed853b5d70 ENH: Removed pipe selection argument from WaitForData method in kwsysProcess. This greatly simplifies its use. 2003-12-05 11:53:17 -05:00
Brad King 8876adcd81 ERR: Fixed unused parameter warnings. 2003-11-26 16:11:43 -05:00
Brad King 9a58ac6649 ENH: Added CreateSymlink method. 2003-11-26 14:52:12 -05:00
Brad King 945fcb581d BUG: Do not use std::string to accumulate output. Use std::vector instead. This is much better at memory management. 2003-11-26 11:41:57 -05:00