Commit Graph

675 Commits

Author SHA1 Message Date
Mathieu Malaterre b95f198348 COMP: Fix compilation when VS6 is using the new ANSI stdlib 2006-12-18 11:04:25 -05:00
Mathieu Malaterre df54b22212 COMP: Try to get stringstream emulation working 2006-12-15 10:30:41 -05:00
Brad King 1fe21ae35e ENH: Adding stringstream compatibility implementation. It is currently identical to ostringstream. Fixed local variable pcount hiding method warning. 2006-12-14 13:18:27 -05:00
Mathieu Malaterre 55af790ebf BUG: Remove stringstream implementation, this was a wrong interface anyway. 2006-12-14 11:41:51 -05:00
Mathieu Malaterre db116b94e4 BUG: disable test for now 2006-12-14 11:02:22 -05:00
Mathieu Malaterre cc73abf7e7 ENH: provide stringstream too. FIX: warning shadow var 2006-12-13 08:52:35 -05:00
Mathieu Malaterre b9787a965f BUG: revert yesterday patch. The implementation was correct. The problem was that _WIN32 was forced to be #define on cygwin when included from ITK, which was miss matching the implementation from the declaration. Put extra condition for CYGWIN system 2006-12-09 11:25:25 -05:00
Mathieu Malaterre 458fa7559b BUG: Make sure to use the Win32 interface (HINSTANCE) for handling shared lib on cygwin and mingw system 2006-12-08 15:52:30 -05:00
Bill Hoffman 6b7bf34341 COMP: remove warning 2006-12-05 09:02:32 -05:00
Bill Hoffman 1513773310 ENH: fix build error on IRIX 2006-12-05 08:39:22 -05:00
Bill Hoffman 3a32cec969 ENH: merge in changes for beos support 2006-12-04 17:26:41 -05:00
Brad King de8ffcaef4 ENH: Changes based on patch from Ryan C. Gordon to enable process execution on BeOS. There seems to be no way to implement it without polling (or threads). 2006-12-04 14:42:47 -05:00
Mathieu Malaterre 965a1475b6 BUG: Fix problem with loading dylib on Tiger (10.4) x86. We need to be using the dlopen/dlclose instead of the old NSModule 2006-11-29 12:56:28 -05:00
Brad King 54731fa2c8 ENH: Adding support for # escape in Watcom WMake. 2006-10-25 11:23:04 -04:00
Brad King 87dcfb54c4 ENH: Added # character for shell escaping. 2006-10-23 17:20:59 -04:00
David Cole e9fb6cd51a BUG: Correct the SystemReportDebugHook function. It should not call exit. It gets called multiple times at shutdown in a memory leak reporting scenario... This is the source of the long standing KWWidgetsTour debug build dashboard failure. 2006-10-18 23:27:33 -04:00
Andy Cedilnik 2f713072c7 ENH: Report command line as a measurement and allow user to add custom measurements 2006-10-13 09:30:33 -04:00
David Cole 7d033e5c2b COMP: Fix or suppress warnings on Borland and Mac dashboards. Definitely fix "may be used uninitialized" warnings. 2006-10-09 10:06:03 -04:00
David Cole 22442fd9e1 STYLE: Make the set of supported STL headers the same in vtkstd and vtksys/stl. (The union of the present values of the two sets.) 2006-10-06 11:13:02 -04:00
Brad King 038c9e27d7 ENH: Adding Shell_Flag_EchoWindows option to setup escapes for arguments to the native echo command in a shell. This special case is needed to avoid adding quotes when passing text to echo in a native windows shell which does no command line parsing at all. 2006-10-04 18:52:24 -04:00
Brad King 40adb2ce03 ENH: Adding tests KWSYS_C_HAS_PTRDIFF_T and KWSYS_C_HAS_SSIZE_T to help ProcessUNIX.c build everywhere without warnings. 2006-10-04 17:27:17 -04:00
Brad King 652d7bc0fb BUG: Name of C test file ends in .c not .cxx. 2006-10-04 17:08:02 -04:00
Brad King a48cf7e07b ENH: Renamed kwsysPlatformCxxTests to kwsysPlatformTests and generalized it for multiple language tests (C and CXX). 2006-10-04 16:56:32 -04:00
Bill Hoffman 5b98b7af78 ENH: check for empty path 2006-10-03 13:35:59 -04:00
Bill Hoffman 9c3b654991 ENH: make sure value is set before using it 2006-10-03 11:55:34 -04:00
Brad King 48ee381e6b BUG: Need to initialize to not use native pipes. 2006-10-03 10:26:32 -04:00
Brad King 6eef6638a5 ENH: Added Process_SetPipeNative method to allow user code to override the pipes connected to the child pipeline. 2006-10-03 09:10:03 -04:00
Brad King dd332a00cc ENH: Re-implemented command line argument shell quoting to support several platforms with one code base. 2006-09-27 13:43:46 -04:00
Brad King d5d8687d16 BUG: Windows_ShellArgument: need to escape if the string contains one of a set of special characters as well as spaces. Moved test for needing escapes to a separate method kwsysSystemWindowsShellArgumentNeedsEscape. 2006-09-21 14:46:40 -04:00
Brad King 683346fa3d ENH: Adding 'System' component of C sources to hold system tools written in C. Moved windows shell command line argument escaping code to kwsysSystem_Windows_ShellArgument and kwsysSystem_Windows_ShellArgumentSize. 2006-09-21 11:49:36 -04:00
Brad King b6e8574ab1 ENH: Added KWSYS_SHARED_FORWARD_OPTION_COMMAND option to allow users to replace the command executed. Extended documentation at top of file. 2006-09-21 10:04:55 -04:00
Brad King 712f3a3da4 COMP: Fix try-compile to fail properly on HP. 2006-08-30 13:59:56 -04:00
Brad King c500078dcc ENH: Adding KWSys component IOStream to provide help with broken C++ stream libraries. 2006-08-27 13:17:23 -04:00
Brad King 703c0e32c8 BUG: Need to undefine temporary macros defined at top of file. 2006-08-27 12:35:54 -04:00
Brad King ff930f75aa BUG: When a try-run fails to compile create the run result cache entry with a bogus non-zero return value to avoid running the test again. 2006-08-27 11:25:15 -04:00
Brad King dc0c5d082b BUG: GetLineFromStream should remove carriage return characters to make sure newlines do not get duplicates. 2006-08-26 16:14:26 -04:00
Brad King e61eac3f05 BUG: Fix location of CMakeOutput.log and CMakeError.log. 2006-08-26 15:17:20 -04:00
Brad King 209a3d4f7b COMP: Disable _FILE_OFFSET_BITS check until sys/types.h check is enabled. 2006-08-25 16:32:47 -04:00
Brad King ebf532b106 ENH: Separate the notion of a request for LFS and its availability. Allow user code to block definitions of LFS macros. Added framework to give error if sys/types.h is included before this header when LFS is requested (currently disabled). 2006-08-25 16:07:06 -04:00
Brad King ffb1a9f80a ENH: Moved test for large file support into kwsysPlatformCxxTests.cxx with name KWSYS_LFS_WORKS. 2006-08-25 16:00:10 -04:00
Brad King 6c75c03143 ENH: Switching KWSYS_CHAR_IS_SIGNED test to use KWSYS_PLATFORM_CXX_TEST_RUN macro. 2006-08-25 15:53:03 -04:00
Brad King 3e572c936c ENH: Added KWSYS_PLATFORM_CXX_TEST_RUN macro. 2006-08-25 15:50:45 -04:00
Brad King 6849ae856b ENH: Globbing patterns should not match a slash inside a filename component. 2006-08-25 12:13:37 -04:00
Brad King 77cf2b85b0 ENH: Added '256color' terminal names. Patch applied from bug#3651. 2006-08-23 09:47:43 -04:00
Andy Cedilnik 22995b56f6 COMP: Support cmake older than 2.4 2006-08-23 08:07:41 -04:00
Andy Cedilnik b2c06bb0f8 COMP: On some project configure may not copy right away 2006-08-22 15:51:52 -04:00
Andy Cedilnik 6f5dc00682 COMP: Add missing cmake file 2006-08-22 15:48:19 -04:00
Andy Cedilnik 0ec4b84c91 COMP: Add missing cmake file 2006-08-22 15:46:22 -04:00
Andy Cedilnik d510ef2557 ENH: Support large file systems in kwsys 2006-08-22 15:34:14 -04:00
Brad King 0839e905c6 BUG: Fixed #if test for case-insensitive glob on OSX. 2006-08-21 22:39:03 -04:00
Brad King c58777ec47 BUG: FileIsDirectory should work when the name contains a trailing slash. 2006-08-21 17:34:40 -04:00
Brad King f1ea7e88dc ENH: Exposed pattern->regex API. Cleaned up and commented implementation of pattern->regex conversion. 2006-08-21 14:17:58 -04:00
Brad King 3a44f2a47e ENH: Added JoinPath overload that accepts an iterator range. 2006-08-17 12:02:18 -04:00
Bill Hoffman 71af96aad1 ENH: still escape () but do not escape 2006-08-14 09:50:52 -04:00
Ken Martin 7de2d93d1a ENH: fix for AddKeepPath not calling realpath 2006-08-11 10:54:35 -04:00
Bill Hoffman fd56f7247a ENH: escape ( and ) in unix paths 2006-08-11 09:56:39 -04:00
David Cole 76d05cd5fa BUG: strlen logic was backwards resulting in function body never actually executing... when called with valid strings, it was always doing nothing and returning false... now it works as expected. 2006-08-10 15:17:53 -04:00
Glen Lehmann df3d4cb3c4 BUG: #3563. Segmentation fault with non initialized input or NULL pointers. 2006-08-01 15:16:19 -04:00
Brad King 8a79d25927 COMP: Added missing headers. This partially addresses bug#3556. 2006-08-01 14:45:32 -04:00
Brad King 9b2b2b5f1b COMP: Use SA_RESTART only if it is defined for the current platform. This partially addresses bug#3556. 2006-08-01 14:28:03 -04:00
Brad King ab61137eb1 COMP: Fix and/or disable warnings for Borland 5.6 build. 2006-08-01 11:38:42 -04:00
Ken Martin 4f9fcad327 ENH: better coverage 2006-07-31 13:50:50 -04:00
Ken Martin 9e1f7773e9 BUG: fix some bad code and add a couple more tests 2006-07-28 14:47:37 -04:00
Brad King 0b196d1aef BUG: Do not block signals during sleep. Leave that up to the application. 2006-07-27 11:27:28 -04:00
Brad King c482ef3bbc BUG: Mask signals during SystemTools::Delay to avoid interrupted sleep. 2006-07-25 15:18:35 -04:00
Ken Martin f35c6d461a COMP: fix compile issue 2006-07-25 14:15:01 -04:00
Ken Martin b379666b39 BUG: some bug fixes, better docs, and more coverage 2006-07-25 12:08:05 -04:00
Bill Hoffman 3b74388050 ENH: allow for source tree to be in root directory 2006-07-24 11:27:07 -04:00
Brad King 30c746d8c5 BUG: Do not display VT100 escapes inside emacs even if TERM is set to xterm. 2006-07-20 09:35:20 -04:00
Brad King 475c37b6a5 COMP: Fix references to cin, cout, cerr, and clog in case of HP aCC compiler with -mt flag. 2006-07-18 13:02:40 -04:00
Brad King 94bf03319b BUG: When handing the child stdin pipe a file, allow another process to be writing to the file at the same time. This allows children such as tail -f to function properly. 2006-07-17 13:34:00 -04:00
Andy Cedilnik 1087f80c28 COMP: Only delete once 2006-07-17 09:15:10 -04:00
Andy Cedilnik 22971652e0 COMP: Remove some warnings 2006-07-16 21:11:50 -04:00
Andy Cedilnik 9bc53f6443 ENH: Add a way to get unused arguments and add a test 2006-07-14 15:02:27 -04:00
Andy Cedilnik 71395c78ce COMP: Remove warning 2006-07-14 13:59:18 -04:00
Andy Cedilnik 784bb60a4e ENH: It does not really makes sense to have Boolean Argument List 2006-07-14 13:32:34 -04:00
Andy Cedilnik d2a3ccd505 ENH: Add support for multi-arguments: -f arg1 arg2 arg3 ... and support for lists: -f arg1 -f arg2 -f arg3 ... and for boolean to be stored as strings and doubles 2006-07-14 09:13:23 -04:00
Andy Cedilnik 4f728e93e1 COMP: Remove warnings 2006-07-13 09:27:10 -04:00
Andy Cedilnik 13f88b0a22 COMP: Remove warnings 2006-07-13 09:07:41 -04:00
Andy Cedilnik 821dc7b306 BUG: Fix error conditions 2006-07-12 16:21:18 -04:00
Andy Cedilnik 2e1882389b COMP: Remove warnings 2006-07-12 09:21:26 -04:00
Brad King 9f4e756d41 ENH: Updated installation options and implementation to use INSTALL command if it is available. This will allow installation component assignment and separate installation of the .dll and .lib on windows. 2006-07-05 10:06:31 -04:00
Berk Geveci 98ffeb0926 ENH: Adding cmake 2.4 style installation. NOTE: These changes will work on a paraview build only. This file has to updated to be general 2006-07-05 08:26:19 -04:00
Karthik Krishnan 7890524cd9 BUG: The operator precedence is [] followed by *. Calling this method was causing out of array index segfaults bounds 2006-06-25 15:18:49 -04:00
Ken Martin 847c3a5849 ENH: add a higher performance method to get the number of files in a directory 2006-06-22 10:35:37 -04:00
Brad King f26a0302be COMP: Fix conversion warning. 2006-06-19 09:49:52 -04:00
Brad King 6438bec4c9 ENH: Added Option_Verbatim to run whole command lines directly. 2006-06-15 14:40:42 -04:00
Ken Martin 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
Brad King 7ebe4702db ENH: Added rxvt-unicode and cygwin terminals for color support. 2006-06-05 11:22:18 -04:00
Andy Cedilnik 69bd53be41 ENH: Handle 'screen' terminal. Thank you Thomas Z. 2006-06-03 18:43:57 -04:00
Brad King 9b74e597be BUG: Do not leak global table of processes. 2006-05-24 10:13:18 -04:00
Brad King 35334d01cd ENH: Re-enabling SIGCHLD handling implementation with a fix for Cygwin. 2006-05-23 11:48:15 -04:00
Brad King 29b75dda97 BUG: Reverting previous change until it can be fixed on Cygwin. 2006-05-22 15:11:42 -04:00
Brad King da285df242 ENH: Added test 8 to test grandchildren running after children exit. 2006-05-21 10:28:14 -04:00
Brad King 58e8bfb849 BUG: Fixed deadlock condition when grandchildren are running after the children exit. 2006-05-21 10:27:13 -04:00
Brad King 0d594a4538 ENH: Implemented handling of SIGCHLD to detect the termination of immediate children. This allows grandchildren to remain running after the children exit. 2006-05-21 10:26:28 -04:00
Brad King 3dd70af5a0 ENH: Enabling process tree killing on Cygwin. 2006-05-20 18:50:27 -04:00
Bill Hoffman 1d8043cb4f ENH: search for program without extensions 2006-05-08 14:18:09 -04:00
Brad King 523d9ebeed ENH: Added always/if-different option to CopyADirectory. Added CopyAFile with the same interface. 2006-05-05 10:29:27 -04:00
Bill Hoffman 4c93b9a158 ENH: put the fix back in with abort 2006-04-27 17:52:45 -04:00