Commit Graph

280 Commits

Author SHA1 Message Date
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
Andy Cedilnik d21532cd02 ENH: Ok, no more argument needed for script mode 2003-10-29 19:49:50 -05:00
Bill Hoffman a413160fec ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32 2003-08-21 16:22:23 -04:00
Andy Cedilnik d0c039e9a4 ENH: Fix hidden console for ctest 2003-08-12 17:18:16 -04:00
Ken Martin 072db6ad70 removed redundent includes 2003-08-10 18:30:54 -04:00
Andy Cedilnik 028f5aa2c7 ENH: Abstract parsing of arguments so that I can use it in other places 2003-08-07 19:00:53 -04:00
Brad King 999810bc52 ENH: Hide windows for processes run by RunSingleCommand. 2003-08-06 13:48:14 -04:00
Andy Cedilnik 867f88a93f ENH: Improve paths on windows 2003-08-04 11:48:18 -04:00
Andy Cedilnik 4515c33d32 ENH: Fix escaping on windows 2003-08-04 07:55:40 -04:00
Andy Cedilnik d86d2fdf12 ENH: Fix argument parsing on UNIX with spaces 2003-08-04 07:12:42 -04:00
Andy Cedilnik 8a31793c89 ENH: Add back the kwsysProcess RunCommand, now is in parallel 2003-08-03 22:32:15 -04:00
Brad King a6fd6a0bae ENH: Added escape support for ( and ). 2003-07-09 17:25:24 -04:00
Brad King 40c156dead ENH: Added support for # characters inside quoted arguments and for escaping # in a non-quoted argument. Improved parsing speed by not compiling regular expressions on blank lines. 2003-07-09 17:17:34 -04:00
Brad King cbb1de923a BUG: Parsing of arguments from string by RunCommand before passing to Process execution does not work with backslashes in path names. Until this is fixed, we cannot use Process execution from kwsys. 2003-07-07 18:27:57 -04:00
Brad King 7479303e01 ENH: Using new Process SetWorkingDirectory method instead of manually implementing it. 2003-07-07 09:16:36 -04:00
Brad King ccc629702c ENH: Using kwsys Process implementation to implement RunCommand. 2003-07-07 08:41:28 -04:00
Brad King 45e508f530 ERR: Renamed superclass typedef from SystemTools to Superclass to avoid conflict across platforms. 2003-06-24 10:16:28 -04:00