Commit Graph

183 Commits

Author SHA1 Message Date
Andy Cedilnik d609e037b9 BUG: Fix valgrind error. If working directory is not set do not do chdir 2004-01-21 13:38:09 -05:00
Brad King 9878c9ea34 ERR: Fixed unused argument warning. 2004-01-19 09:30:44 -05:00
Brad King 5ba4fd9e8a ERR: Must include Dart module after PROJECT command. 2004-01-19 09:30:09 -05:00
Brad King f2714ab435 ENH: Added Dart testing configuration. 2004-01-17 12:47:11 -05:00
Brad King 740505bb63 ENH: Added a recursive process execution test. 2004-01-17 12:46:56 -05:00
Bill Hoffman a9beaa40e8 BUG: try to get access to work on borland 2004-01-12 16:16:46 -05:00
Bill Hoffman e5bcc9244b ENH: use access over stat for performance 2004-01-12 13:53:46 -05:00
Andy Cedilnik b4bf41434c ENH: Only look for executable until found 2004-01-12 13:30:57 -05:00
Brad King e365b64ff6 ENH: Removing empty source file now that makefile dependencies should have updated. 2004-01-06 16:56:13 -05:00
Brad King fca398f961 ERR: Removed use of FILE command and using WRITE_FILE instead. We would still like CMake 1.6 to be able to build CMake CVS, and kwsys is used. 2004-01-05 11:02:38 -05:00
Brad King c14915697c ENH: Renamed KWSYS_IOS_HAVE_* macros to KWSYS_IOS_USE_* to be more readable in the C++ sources. 2003-12-30 17:15:51 -05:00
Brad King 1c8f885f9d ENH: Added GetExceptionString method to provide an error description when GetState returns Exception. 2003-12-30 16:23:16 -05:00
Brad King f48941f261 BUG: CollapseFullPath was calling SplitProgramPath before changing the working directory to in_base. 2003-12-30 13:38:32 -05:00
Brad King 242f4f2fc8 ERR: Removed ftime ambiguity created by poor C++ standard headers provided by Borland 5.5. 2003-12-29 13:14:26 -05:00
Ken Moreland 06bf73f9c3 Fixed a problem where ifstream was not the same as kwsys_ios::ifstream on
MSVC 6.0.
2003-12-24 10:07:42 -05:00
Brad King 032d1d8652 ENH: Merging changes from KWSys-IOS-bp to KWSys-IOS-b2t-1-mp to main tree. This introduces separate kwsys_ios and kwsys_stl macros needed to support all platforms. 2003-12-23 11:03:33 -05:00
Brad King 92bcdb8d66 ERR: std -> kwsys_std. 2003-12-17 08:30:07 -05:00
Brad King 802601b606 ENH: Added SetPipeShared method to allow stdout and stderr pipes to be shared with the parent process. 2003-12-16 17:20:01 -05:00
Brad King 8ca149d34f ENH: Added GetEnv method. 2003-12-16 15:55:18 -05:00
Brad King 40ea4b6761 ENH: Updated copyright. 2003-12-16 15:38:36 -05:00
Brad King e70aa1b3a2 ERR: SystemTools now depends on Directory. 2003-12-16 15:37:24 -05:00
Ken Martin cd5ec5ee1b is there any chance thiswill work on all platforms hmmm added removeAdirectory 2003-12-16 14:26:19 -05:00
Brad King ce8a34907a ENH: Updated copyright. 2003-12-15 16:30:46 -05:00
Brad King c9e9e8d121 STYLE: Fixed typo on comment. 2003-12-14 13:48:18 -05:00
Brad King 5dcbef7dfe ENH: Using CreateFile with FILE_FLAG_DELETE_ON_CLOSE to automatically delete the Win9x forwarding executable even if the parent process crashes. 2003-12-14 13:47:39 -05:00
Brad King 8da78710bc ENH: Added KWSYS_NAMESPACE_STRING macro. 2003-12-14 13:44:20 -05:00
Brad King 31d72f961b BUG: Fixed dllimport. 2003-12-14 13:03:44 -05:00
Brad King d3f1410be3 ERR: Added include of sys/stat.h for open functions mode bits. 2003-12-13 14:19:45 -05:00
Brad King 1f40a4205b ENH: Added SetPipeFile method to allow the process pipeline stdin, stdout, and stderr to be redirected from/to files. 2003-12-13 14:13:54 -05:00
Brad King dc96992e56 ENH: Code is now robust to New method returning NULL. 2003-12-13 10:36:22 -05:00
Brad King 4d68d005bc BUG: File comparison on windows must test the volume serial number as well as the file index. 2003-12-09 11:44:53 -05:00
Brad King 380ee8ca36 STYLE: Removed trailing whitespace. 2003-12-08 11:35:34 -05:00
Brad King b777b8656e ENH: Cleaned up pipe numbering. 2003-12-07 14:09:58 -05:00
Brad King bcfd5ce161 ERR: Need to include Configure.hxx to get kwsys_std definition. 2003-12-05 14:51:27 -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 97b469537b STYLE: Removed trailing whitespace. 2003-12-05 11:37:28 -05:00
Brad King 9ce4e23715 BUG: Process startup-info struct dwFlags were being set incorrectly due to a change in statement order. 2003-12-05 11:19:43 -05:00
Brad King ddd3190387 ERR: Added missing static storage class specifier for kwsysProcessCreate. 2003-12-04 13:56:00 -05:00
Brad King cee49e74cf ERR: Some platforms define stdin, stdout, and stderr as macros. Renaming these symbols to StdIn, StdOut, and StdErr. 2003-12-03 13:37:21 -05:00
Brad King ad8bc4b1a4 ENH: Merged changes from KWSys-MultiProcess-bp to KWSys-MultiProcess-b2t-1-mp to main tree. This introduces support for process pipelines. 2003-12-03 09:20:05 -05:00
Brad King 9ec524def6 STYLE: Removed trailing whitespace. 2003-11-28 09:48:42 -05:00
Brad King 37bbb27bfa ERR: Removed extra variable assignments. 2003-11-04 09:00:18 -05:00
Brad King 8f8cc16ea3 BUG: Removed CloseHandle in case of error in DuplicateHandle. According to documentation, DuplicateHandle will close the source handle regardless of error condition. 2003-11-04 08:56:12 -05:00
Bill Hoffman 96e8cd82c7 ENH: put the system path after the paths specified on to the FIND command 2003-10-09 15:52:29 -04:00
Bill Hoffman e15ebb6255 ENH: remove /tmp_mnt in collapse full path 2003-09-18 11:05:01 -04: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
Bill Hoffman 3935711e01 ENH: remove warning and unneeded cast 2003-08-17 12:24:06 -04:00
Brad King beda09a96b ENH: Made error message consistent between win9x and non-win9x version of error reporting. 2003-08-13 18:08:07 -04:00
Brad King ef603d12f9 ENH: Treating SIGBUS as a fault by default. 2003-08-13 14:21:39 -04:00
Andy Cedilnik 4bad15e4b2 ENH: Cast into apropriate type to remove warning 2003-08-07 15:39:07 -04:00
Brad King 7b9663e5e8 Fixed indentation 2003-08-06 13:41:34 -04:00
Brad King 07865fd113 BUG: Need to provide stdin to child processes. 2003-08-06 09:27:56 -04:00
Brad King 59d886d0f4 ENH: Added show/hide window support. 2003-08-05 15:10:33 -04:00
Brad King 27289e3267 ENH: Added SetOption/GetOption methods for platform-specific options. 2003-08-05 14:27:47 -04:00
Brad King 878b5792b9 BUG: Can't close stdin. 2003-08-05 13:53:30 -04:00
Brad King e99e9baca4 BUG: Added missing zero-initialization of struct sigaction. 2003-08-05 11:34:39 -04:00
Brad King 5ffb75bc6c BUG: GetErrorString should return ErrorMessage buffer, not the pipe buffer. 2003-08-05 09:07:54 -04:00
Brad King dda94a9693 ERR: Generated source files need access to kwsysPrivate.h. Just copy it to the build tree. 2003-07-10 14:46:48 -04:00
Brad King d715fba1cb ENH: Added use of KWSYS_HEADER macro in c and cxx files to include kwsys headers through their configured namespace. 2003-07-10 14:32:30 -04:00
Brad King 36880845b6 ERR: Using strncpy instead of snprintf for portability. 2003-07-09 16:18:14 -04:00
Andy Cedilnik 6566ba20ac ENH: Fix example 2003-07-08 09:21:45 -04:00
Brad King b85f000e26 ERR: Removed useless set. 2003-07-07 22:41:46 -04:00
Andy Cedilnik 197368d9e7 ENH: Add optional argument to GetLineFromStream which can let the caller know whether there was a new line character at the end of the line that was just read 2003-07-07 17:45:51 -04:00
Brad King 78edd51671 ENH: Made call to FormatMessage more robust. 2003-07-07 09:38:14 -04:00
Brad King b5fec4a3c8 ENH: Implemented SetWorkingDirectory method. 2003-07-07 09:12:34 -04:00
Brad King 2b8bfb3b5d ENH: Implemented SetWorkingDirectory method on Windows. 2003-07-07 09:10:08 -04:00
Andy Cedilnik 125b795637 ENH: Start working on Working Directory support 2003-07-07 08:36:40 -04:00
Brad King 179abe7ffe ENH: Using GetTempPath instead of TEMP environment variable to get a location to write the Win9x forwarding executable. 2003-07-06 20:40:51 -04:00
Brad King 33566642a0 BUG: Argument parsers do not always remove double quotes from around an argument that has no spaces. 2003-07-03 18:33:53 -04:00
Brad King edcaaabe99 BUG: Install target for standard header wrappers must point at the std subdirectory in the installation. 2003-07-03 07:58:07 -04:00
Brad King f24a0f17ea ERR: Added cast to remove warning. We know the length of the string will not be beyond 2^31. 2003-07-02 08:35:30 -04:00
Brad King cee10ceebd ERR: Added casts to remove type conversion warnings. Pointer differences can be 64-bit, but unsigned long is 32-bit on many platforms. We know we are not traversing more data than can be handled by an unsigned long, though, because the length argument is an unsigned long. 2003-07-01 13:32:28 -04:00
Brad King 6b1770932e ERR: Should use %p to pass HANDLE values on a command line, not %d. 2003-07-01 13:27:42 -04:00
Brad King 84b6583fca ERR: Removed unreachable code. 2003-07-01 13:27:22 -04:00
Brad King 83aa7b6b0b ERR: Reduced requirements on preprocessor for export macro due to limitations of Mac preprocessor. The preprocessor can be fixed by using -no-cpp-precomp, but we don't want to require that option for every source file that includes our headers. 2003-07-01 11:40:34 -04:00
Brad King 11de69901e ERR: Added explicit cast from size_t to int. We know that the data will not be out of range. 2003-07-01 08:54:42 -04:00
Andy Cedilnik 1f5defbdcf ERR: Remove warnings on Windows 2003-06-30 10:44:35 -04:00
Brad King ef76ed76f8 ENH: Added DLL support. 2003-06-30 10:30:38 -04:00
Brad King 6eb6225e2a Removing old file. 2003-06-30 10:07:11 -04:00
Brad King d24b9feaf3 ENH: Updated comments for doxygen. 2003-06-30 08:49:09 -04:00
Brad King f590483a0b BUG: Should define KWSYS_IN_BASE64_C, not KWSYS_IN_PROCESS_C. 2003-06-30 08:48:53 -04:00
Brad King a519a99114 ENH: Using FOREACH to shorten enabling of C components. 2003-06-30 08:48:31 -04:00
Andy Cedilnik 0f1af706b5 ENH: Initial import of Base64 2003-06-29 21:42:48 -04:00
Brad King 7456fc360e ENH: Updated documentation to describe enabling of classes. 2003-06-26 13:39:35 -04:00
Brad King a778cd0f3d ERR: Fixed use of non-constant initializer. 2003-06-25 09:32:38 -04:00
Brad King 915972ff44 ERR: Fixed conversion warning. 2003-06-25 08:29:44 -04:00
Bill Lorensen 78ecb7f33f ERR: portability. 2003-06-24 21:37:02 -04:00
Ken Martin 7f34d64b0a compiler fix 2003-06-24 16:35:59 -04:00
Ken Martin e315bff47b performance improvements 2003-06-24 15:23:34 -04:00
Brad King 51eb9596bc ERR: std->kwsys_std. 2003-06-24 09:02:46 -04:00
Brad King b2368399d9 ERR: Fixed documentation to read RegularExpression instead of cmRegularExpression. 2003-06-23 14:05:23 -04:00
Brad King 26d638c5d5 ENH: Removed cmake-specific functions. 2003-06-23 08:56:22 -04:00
Brad King be1fd8bfb5 BUG: Need include regular expression to match all files. 2003-06-23 08:56:03 -04:00
Brad King 653cb84f66 ENH: Changed configuration of header directory to specify it without the namespace. 2003-06-20 14:10:28 -04:00
Brad King c21ad62987 ENH: Added full configuration of namespace even for Configure.hxx macro definitions. 2003-06-19 18:57:11 -04:00
Brad King f72483c66a Tool to dump macros for redefining C header namespaces. 2003-06-18 17:28:22 -04:00
Brad King 322f906638 ENH: Added test for Process implementation. 2003-06-18 17:27:36 -04:00
Brad King 30f4c011b0 BUG: Must return Exception status correctly. 2003-06-18 17:27:10 -04:00
Brad King 5b6920ed16 Removed Exception_Abort because there is no windows version. Also made ExitValue consistent with windows when a signal kills the process. 2003-06-18 17:19:44 -04:00
Brad King f5bbacaa5c Removed Exception_Abort because there is no windows version. Also removed stray typedef keywords. 2003-06-18 17:19:16 -04:00