Commit Graph

864 Commits

Author SHA1 Message Date
Bill Hoffman 72f0c21f94 ENH: fix borland bug 2006-04-21 20:13:08 -04:00
Bill Hoffman b2b2e68c37 ENH: performance improvments 2006-04-21 15:15:52 -04:00
Sebastien Barre d5237b30fc ENH: try to bypass Microsoft assert() on isspace, isalpha, etc. 2006-04-18 11:50:39 -04:00
Mathieu Malaterre 688e630f6b COMP: Fix compilation on linux (dlopen/dlclose symbols) 2006-04-17 14:13:39 -04:00
Brad King b8a589bb1d ENH: Improved implementation of FilesDiffer to avoid allocating enough memory for the entire file twice. Instead using a block-at-a-time comparison. 2006-04-13 22:56:32 -04:00
Bill Hoffman cae4e6b37a ENH: add patch for finding applications on OSX 2006-04-13 11:00:52 -04:00
Bill Hoffman 5a2668b326 ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64 2006-03-30 13:49:56 -05:00
Bill Hoffman 388c005ccd ENH: remove test on cygwin since it randomly fails 2006-03-29 13:26:58 -05:00
Sebastien Barre d82c979787 ENH: the arguments to this function were not checked in a robust way 2006-03-21 17:47:11 -05:00
Andy Cedilnik 9dbf4438dc ENH: Add support for relative paths and cleanup 2006-03-21 16:02:47 -05:00
Mathieu Malaterre e9fcafafe5 ENH: Use const char where it should have been. At same time fix Bug#2958 2006-03-17 12:06:41 -05:00
Brad King 437e28e63a COMP: Skip trying to use native auto_ptr implementation and just provide a conforming one. 2006-03-16 17:26:28 -05:00
Brad King 68ad66444b ENH: Adding auto_ptr to KWSys to provide a conforming version everywhere. 2006-03-16 16:04:05 -05:00
Andy Cedilnik 974e9d4667 COMP: Fix problem with namespace 2006-03-16 11:21:01 -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
Mathieu Malaterre b4654c2d3a COMP: Fix warning 2006-03-13 15:57:40 -05:00
Mathieu Malaterre 4f9efe7502 BUG: Fix problem on MacOSX, by disabling part of the test. 2006-03-13 14:39:50 -05:00
Mathieu Malaterre 7f5222d400 ENH: Fix dashboard with coverage 2006-03-13 11:27:12 -05:00
Mathieu Malaterre 7b36bf6cfd ENH: Do not build the library if we are not doing Testing 2006-03-13 10:49:35 -05:00
Mathieu Malaterre 325baa33d2 ENH: Make test usable from command line 2006-03-13 10:27:42 -05:00
Bill Hoffman 83daad3ec2 ENH: remove warning 2006-03-12 10:03:03 -05:00
Bill Hoffman 08bb4d52ba ENH: try to clean up the search for programs 2006-03-11 11:52:57 -05:00
Mathieu Malaterre 6420337317 BUG: Fix for MINGW32 2006-03-11 10:09:33 -05:00
Mathieu Malaterre 46096c08a5 ENH: Add support for LastError on HPUX 2006-03-11 09:59:16 -05:00
Mathieu Malaterre 347efdedd5 ENH: Also look into data segment (consistant with other implementation) 2006-03-11 09:47:41 -05:00
Bill Hoffman d2f7b0c64f ENH: undo last change because it broke the dashboard 2006-03-10 17:37:47 -05:00
Bill Hoffman 7387cb5850 ENH: fix find program to look for .com and .exe correctly and not return files with no extension on windows 2006-03-10 16:52:28 -05:00
Mathieu Malaterre 8e7d92049e ENH: Add documentation on the problem with system wide path for looking up dynamic libraries. STYLE: Fix trailing white spaces 2006-03-10 16:03:26 -05:00
Mathieu Malaterre 87fdcd6eb6 BUG: Need a / for Visual Studio build 2006-03-10 15:42:33 -05:00
Mathieu Malaterre 7763163e4b BUG: Do the proper path 2006-03-10 15:38:35 -05:00
Mathieu Malaterre aaa780d6a1 BUG: Need a trailing slash 2006-03-10 15:12:04 -05:00
Mathieu Malaterre fe66b15da4 BUG: Fix problem with in the path 2006-03-10 15:08:40 -05:00
Mathieu Malaterre c0161e9e57 BUG: Trying to get testDynamicLoader to work on Solaris and SunOS, where current directory is not lookup when doing dlopen 2006-03-10 14:53:42 -05:00
Mathieu Malaterre 509e383aac STYLE: Remove trailing whitespaces 2006-03-10 13:34:41 -05:00
Mathieu Malaterre f90e754100 BUG: Fix DynamicLoader implementation on MacOSX (using old API) 2006-03-10 13:34:03 -05:00
Mathieu Malaterre 5623ef913f ENH: Add trailing whitespace 2006-03-10 13:33:28 -05:00
Mathieu Malaterre 5fe4a9dcef STYLE: Make sure to use the proper cast. 2006-03-10 12:01:29 -05:00
Mathieu Malaterre 97aca504d8 ENH: Make sure that we find the proper symbol and not the one that start with _. STYLE: Remove an old style cast 2006-03-10 11:57:43 -05:00
Mathieu Malaterre 011de35360 ENH: Hopefully have the DynamicLoader to the proper thing. 2006-03-10 11:32:09 -05:00
Mathieu Malaterre d633bac7bc BUG: Make sure to have proper dependencies 2006-03-10 10:28:43 -05:00
Bill Hoffman 9345da20f3 ENH: use CMAKE_DL_LIBS and not dl directly as it does not always exist 2006-03-10 10:26:33 -05:00
Mathieu Malaterre ae7fdcf6a9 COMP: Fix cygwin build 2006-03-10 10:23:48 -05:00
Mathieu Malaterre fe6fc8192c COMP: Fix compilation on MacOSX (common symbols not allowed with MH_DYLIB output format) 2006-03-10 10:19:45 -05:00
Andy Cedilnik 09b34fa796 COMP: Add missing include 2006-03-10 10:07:42 -05:00
Mathieu Malaterre 87efbe2342 BUG: Remove comment 2006-03-09 17:16:20 -05:00
Mathieu Malaterre 69dd8ee7e7 ENH: remove test temporarily 2006-03-09 17:15:54 -05:00
Mathieu Malaterre 20c680e7fc ENH: Still more coverage of the DynamicLoader 2006-03-09 17:08:33 -05:00
Mathieu Malaterre 117c871790 ENH: Add a file to generate the lib 2006-03-09 17:06:55 -05:00
Mathieu Malaterre 9b55f2579a ENH: Improve test coverage 2006-03-09 16:40:34 -05:00
Mathieu Malaterre 7ca1c6d2d8 STYLE: Minor style 2006-03-09 16:40:00 -05:00
Mathieu Malaterre 81922f811a ENH: Carefully turn testing of DynamicLib on 2006-03-09 14:41:21 -05:00
Mathieu Malaterre 1defe94e31 STYLE: Minor style 2006-03-09 14:36:53 -05:00
Mathieu Malaterre 428bc24823 ENH: Adding initial test for DynamicLoader 2006-03-09 14:35:56 -05:00
Brad King bde71e9668 ENH: Enabled process tree killing on AIX. 2006-03-08 13:06:46 -05:00
Brad King 6fb7bac013 ENH: Enabled process tree killing on the SGI. 2006-03-08 12:42:59 -05:00
Brad King 95f86d5d6f ENH: Enabled process tree killing for FreeBSD and Sun. 2006-03-08 12:36:14 -05:00
Brad King 17d79233ff ENH: Enabled process tree killing on HP-UX. 2006-03-08 12:12:37 -05:00
Brad King c31c18bb9c BUG: Do not leak ps FILE when the process starts but reading the header fails. 2006-03-08 11:57:41 -05:00
Brad King a155eacec3 ENH: Added a way to quickly enable manual testing of grandchild killing. 2006-03-08 11:39:34 -05:00
Brad King 3c39accee9 ENH: Added implementation of process tree killing that runs "ps" to traverse the tree. 2006-03-08 11:38:51 -05:00
Mathieu Malaterre d91bd3dbd3 BUG: Including file within a namespace{} is dangerous(unless symbols are within an extern C). Also update documentation about special case for MacOSX 2006-03-08 09:16:54 -05:00
Mathieu Malaterre f4fb2ca779 COMP: Fix compilation on MacOSX 2006-03-06 14:30:46 -05:00
Mathieu Malaterre 12ebc4339a ENH: Compile DynamicLoader 2006-03-06 14:07:50 -05:00
Mathieu Malaterre ffd4bcd02b ENH: Adding kwsys implementation for a DynamicLoader class. Copy from itkDynamicLoader, with patch from cmDynamicLoader 2006-03-06 14:02:55 -05:00
Bill Hoffman eee281c3a6 ENH: add missing cmake depend hacks 2006-03-06 13:43:58 -05:00
Bill Hoffman 3aec2488ff ENH: add missing cmake include 2006-03-06 13:34:33 -05:00
Mathieu Malaterre 73e1d9abd9 COMP: Some STL implementation do not provide clear on std::string 2006-03-06 13:02:13 -05:00
Mathieu Malaterre e34d666fc7 BUG: Need to reset internal structure in case of multiple calls to Load 2006-03-06 11:57:05 -05:00
Mathieu Malaterre 70e6fe3f9b ENH: Redo implementation of itkDirectory to use kwsys (avoid duplicating code). 2006-03-06 10:12:02 -05:00
Bill Hoffman be375b1bcd ENH: fix std in kwsys, has to be kwsys_stl 2006-03-02 21:33:57 -05:00
Bill Hoffman a5825cd11a ENH: check in new find stuff 2006-03-02 13:30:22 -05:00
Brad King b1443931b0 COMP: Fixed warnings for Borland 5.8. 2006-02-28 11:38:02 -05:00
Bill Hoffman d2621064e2 ENH: fix for bug 28618, cmake.exe can not find itself 2006-02-10 12:43:00 -05:00
Andy Cedilnik 30daaa6a3e COMP: Fix problem with STL on HP, and fix reusing the same variable in for loops 2006-02-08 07:17:59 -05:00
Andy Cedilnik 2ed1ca11bc COMP: Fix compile problem on windows and mac 2006-02-07 11:43:17 -05:00
Andy Cedilnik 9740913dd8 COMP: Fix build problem 2006-02-07 10:43:45 -05:00
Andy Cedilnik e5a8e115bc ENH: Move relative path to kwsys 2006-02-07 10:23:17 -05:00
Brad King f71a085f74 ENH: Added kwsys::String class to shorten debugging symbols and error messages involving std::string. 2006-02-07 10:11:40 -05:00
Mathieu Malaterre 4763c14502 ENH: Add some doc for visible class 2006-02-07 09:25:15 -05:00
Ken Martin 1ff49b9789 ENH: by Bill make sure path is unix style 2006-01-23 16:36:13 -05:00
Bill Hoffman 909d9dbd5a ENH: fix for icc 2006-01-17 16:53:56 -05:00
Bill Hoffman 9891260a6d ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
Brad King bdbb7f84bc ENH: Added special test 0 to just run a given command line. 2006-01-05 15:49:34 -05:00
Andy Cedilnik 6e675ce602 COMP: Do not build tests if build testing is off 2006-01-04 08:32:35 -05:00
Brad King 8489a94101 BUG: When more than one command is given and one of them fails to start and the rest are killed, do not forget to reap the killed children. 2005-12-31 12:59:31 -05:00
Bill Hoffman 452925649a ENH: add better support for framework linking 2005-12-26 13:14:19 -05:00
Brad King a0e413ce63 ENH: Improved robustness of sharing parent pipes with children. This ensures that the parent pipe handles are inherited by the children. If a parent pipe handle is invalid a handle to an empty pipe is given to the child to make sure all pipes are defined for the children. 2005-12-20 13:22:22 -05:00
Andy Cedilnik affced3f81 BUG: Return if the file is in any directory not just in first one 2005-12-16 09:03:04 -05:00
Andy Cedilnik ccf5a130ef COMP: for a in range(100): write_on_board(No std in kwsys...) 2005-12-11 00:12:40 -05:00
Andy Cedilnik 5e56c7c201 ENH: Add a method to remove remaining arguments 2005-12-10 12:10:09 -05:00
Andy Cedilnik 5999a81bcd COMP: Fix the exporting so that it can actually be used 2005-12-10 12:09:24 -05:00
Andy Cedilnik 33c891f8d8 ENH: Add another signature to FindProgram that matches more to the one from CMake 2005-12-10 12:08:55 -05:00
Brad King e3876623f6 STYLE: Documented reference to "man select_tut". 2005-11-16 11:39:43 -05:00
Brad King 5dae3d67f4 BUG: Do not close handle obtained from GetModuleHandle which does not increase the reference count of the module. 2005-11-16 11:36:05 -05:00
Andy Cedilnik 4e9d832525 ENH: Change flag to PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION and add help in cmSetTestsPropertiesCommand 2005-11-09 11:07:36 -05:00
Andy Cedilnik a285a90809 COMP: Fix all dashboards 2005-11-09 07:22:28 -05:00
Andy Cedilnik 1de28a762f ENH: Add test for output regular expression 2005-11-08 17:59:58 -05:00
Brad King 946c9a2cc6 ENH: Improved file modification time comparison on Windows to use GetFileAttributesEx instead of CreateFile/GetFileTime/CloseHandle to get file times. This results in a 30% reduction in time to do a build system check. 2005-10-27 13:57:48 -04:00
Bill Hoffman 54f75b05cd ENH: try to get this thing to pass with cmake 2.2.1 2005-10-21 09:49:04 -04:00
Andy Cedilnik bf6b379b11 COMP: More namespace fixes to build on HP 2005-10-19 10:47:19 -04:00
Andy Cedilnik 66e50573c1 COMP: Fix namespace. This way kwsys can be built outside cmake 2005-10-19 08:42:22 -04:00
Andy Cedilnik fdc4795b91 ENH: Push glob to the kwsys 2005-10-18 14:08:55 -04:00
Andy Cedilnik b93359f41d ENH: Add an accessor for the maximum file length 2005-10-12 12:08:49 -04:00
Sebastien Barre 07b45da693 ENH: CMake kills me (so does Cygwin) 2005-10-06 17:16:07 -04:00
Sebastien Barre 6c54adf0ea ENH: avoid the use of GET_TARGET_PROPERTY by testing the CMake executable instead of the test executable 2005-10-05 16:06:45 -04:00
Brad King 01ac3906da BUG: Reverting fundamental type info change until it is fixed on more platforms. It was tested on Linux, SGI, HP, Sun, OSX, Windows with nmake and VS 6, 7, 7.1, 8, Borland Make, and cygwin by hand with spaces in the path and cmake 2.0 and 2.2 before committing but still seems to be failing on some dashboards...strange. 2005-10-05 13:11:34 -04:00
Sebastien Barre 13627538b9 ENH: add kwsys test for DetectFileType 2005-10-04 15:09:00 -04:00
Brad King d937de494a ENH: Converting FundamentalType try-compiles into a single try-run. All the information about the existence, size, and signedness of types can be determined in one program thanks to limits.h. 2005-10-03 14:44:27 -04:00
Andy Cedilnik ba90faca0a COMP: Try to remove warnings 2005-09-22 09:58:03 -04:00
Brad King d134ac9bd3 ENH: Updated to use modern FILE command for writing to output logs instead of WRITE_FILE. 2005-09-21 14:15:14 -04:00
Brad King 393adee4d4 BUG: kwsys_ios namespace should import streambuf also. 2005-09-21 13:42:49 -04:00
Andy Cedilnik 2e50727eca ENH: Make message into status 2005-09-20 10:42:38 -04:00
Andy Cedilnik ec36660ca8 BUG: Remove warning and try to fix memory problem 2005-09-19 16:19:57 -04:00
Andy Cedilnik 5f2343bf91 ENH: Test for both commands 2005-09-19 15:15:11 -04:00
Brad King e2d7c3a4e4 STYLE: Added reference to documentation in CMakeLists.txt. 2005-09-18 17:15:29 -04:00
Brad King e440c6a826 STYLE: Added backward compatibility disclaimer. 2005-09-18 17:08:56 -04:00
Andy Cedilnik 498c2e6dc5 BUG: Fix which argument is which, also, fix the test to be less agressive 2005-09-18 08:17:39 -04:00
Andy Cedilnik 28a9e9a919 ENH: Add testing of GET_TEST_PROPERTY command 2005-09-17 09:53:09 -04:00
Andy Cedilnik 8ee8cd372f BUG: On WIN32, since we are using subkey, set it 2005-09-17 08:50:10 -04:00
Andy Cedilnik ef8212d28b COMP: Remove unused variable 2005-09-16 15:30:57 -04:00
Andy Cedilnik 767057f37f BUG: Fix encoding and add deleting to the test 2005-09-16 13:56:09 -04:00
Andy Cedilnik 9b486bacfc ENH: Modify API a little bit to allow arbitrary length values. Encode certain characters. Rename UNIX registry to FILE registry. More testing 2005-09-16 13:38:25 -04:00
Andy Cedilnik efeffc52ce COMP: Remove problem on borland 2005-09-16 10:09:38 -04:00
Andy Cedilnik 4d1f0fe4ea ENH: Enable registry, add test of SET_TESTS_PROPERTIES, rename tests for dart2 2005-09-16 09:21:05 -04:00
Andy Cedilnik 3548c51e7d COMP: Remove some more warnings 2005-09-16 09:20:28 -04:00
Andy Cedilnik 6d9aee1e22 ENH: Cleanups and expose unix registry on windows (for cygwin etc) 2005-09-16 09:15:52 -04:00
Andy Cedilnik 30b67a8bfe COMP: Win32 fixes 2005-09-16 09:08:40 -04:00
Andy Cedilnik df4f999457 ENH: More handling of unix versus windows registry 2005-09-16 08:38:12 -04:00
Andy Cedilnik 0b30d23085 ENH: Initial import 2005-09-16 08:20:48 -04:00
Brad King 2e004e03ca ENH: Added cygcheck knowledge for --ldd option on Cygwin. Added error message for --ldd option when no tool is available but the option was still requested. 2005-08-31 19:41:53 -04:00
Brad King ca1cd089ae BUG: Fixed dirname in a few cases on windows. Now using KWSYS_SHARED_FORWARD_CONFIG_NAME setting instead of CMAKE_INTDIR directly to give choice to user code. Updated documentation to include @KWSYS_NAMESPACE@_SHARED_FORWARD_CONFIG_NAME, @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_PRINT, and @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_LDD settings. 2005-08-18 16:06:08 -04:00
Brad King 207c39a7ad ENH: Added support for Windows. 2005-08-18 09:23:15 -04:00
Brad King 93efb1cf5b BUG: Automatic pwd/cwd path translation must check that the generated logical-to-physical mapping is correct by using realpath. 2005-08-17 17:04:23 -04:00
Brad King 26d6409f9d ENH: If VTK_LIBRARY_PROPERTIES is set then the properties it lists will be added to VTK library targets with SET_TARGET_PROPERTIES. This will be useful to enable shared library versioning. 2005-08-04 17:12:22 -04:00
Ken Martin db28904467 ENH: change loc of log files 2005-07-29 13:19:44 -04:00
Sebastien Barre 6e4b6ca0d3 ENH: add method to attempt to check if a file is text or binary 2005-07-28 13:21:03 -04:00
Brad King 82a8e9be99 ENH: Added FundamentalType header defining platform-independent fixed size/signedness integer types. 2005-07-26 11:37:30 -04:00
Brad King a5483acc0e ENH: Added TEST_KWSYS_CXX_SAME_LONG_AND___INT64, TEST_KWSYS_CXX_SAME_LONG_LONG_AND___INT64, TEST_KWSYS_CAN_CONVERT_UI64_TO_DOUBLE, and TEST_KWSYS_CHAR_IS_SIGNED. 2005-07-26 11:36:39 -04:00
Brad King b9d472d81d ENH: Moved kwsys_ns and kwsysEXPORT macros to Configure.h in the case of building a kwsys source file. This allows more than one header to be included in a kwsys source file without redefining the macros. 2005-07-26 11:34:57 -04:00
Andy Cedilnik 712e64ebb3 ENH: Rename test 2005-07-20 12:40:11 -04:00
Andy Cedilnik 11359c5ccb ENH: Rename test 2005-07-20 12:02:45 -04:00
Andy Cedilnik 3e020b3dcc COMP: Remove warning on windows 2005-07-13 09:49:01 -04:00
Andy Cedilnik eee2d2b035 BUG: Revert the change to FileIsDirectory. Add FileIsSymlink and treat symlinks as files when removing directory 2005-07-12 13:21:21 -04:00
Andy Cedilnik 219bcf25ba BUG: When removing directory, use lstat instead of stat to make sure that symlinks are treated as files and not as directories 2005-07-12 10:40:14 -04:00
Brad King 931233ee7b COMP: Fixed uninitialized variable. 2005-07-08 09:05:11 -04:00
Brad King 3f14dae716 ENH: Extended test 0 to run the executable twice using the same process object. This tests the reusability of the objects. 2005-07-07 09:06:56 -04:00
Brad King 7e7249cbd1 BUG: Fixed reusability of process object by clearing each pipe's Closed flag when cleaning up. 2005-07-07 09:05:59 -04:00
Brad King 33abddf90c BUG: Do not increment optr by 2 after storing only one character. Also fixed possibility of storing uninitialized characters from the last triplet. 2005-06-30 09:21:00 -04:00
Andy Cedilnik 1b578d3180 ENH: Several improvements with the way things are handled. Also, support multiple submited files 2005-06-23 13:04:18 -04:00
Brad King 553f7a04d0 ENH: Added some smaller primes to allow small hash table sizes and therefore shorter initial construction times. 2005-06-23 10:25:57 -04:00
Brad King 05f5f379a7 BUG: Use sleep(1) instead of usleep(1000000) because some UNIX systems specify that the argument to usleep must be less than 1000000. 2005-06-21 10:33:57 -04:00
Sebastien Barre 490119d2aa ENH: fix test, it has to return a true/false value otherwise it just passes the test, and add test for EscapeChars 2005-06-20 13:49:04 -04:00
Brad King 81c92386ac ENH: Enabling new test 7 of process execution. 2005-06-17 14:13:32 -04:00
Brad King 7aa0492422 ENH: Added polling feature to documentation of WaitForData. 2005-06-17 14:07:17 -04:00
Brad King 5df6d35dc6 BUG: Fixed polling feature of WaitForData. 2005-06-17 14:05:35 -04:00
Brad King 28ffc134a0 ENH: Added test 7 to expose problems with polling by WaitForData. 2005-06-17 13:59:22 -04:00
Brad King 9fd4560ba2 BUG: Fixed polling capability of WaitForData. 2005-06-17 13:57:27 -04:00
Mathieu Malaterre d3239ac68f ENH: Fix Bug #1950, provide a direct access to the input. Minor cleanup (convenience) 2005-06-17 11:46:29 -04:00
Sebastien Barre 7f2c1e434c ENH: add method to escape some chars in a string 2005-06-13 18:03:53 -04:00
Brad King a7fcb07418 COMP: Disable more warnings. 2005-06-09 08:19:16 -04:00
Brad King 65ef62c697 COMP: Fix no-assignment-operator warning and disable typedef-name synonym warning. 2005-06-09 08:18:46 -04:00
Brad King 05bd270109 COMP: Disable useless warnings. 2005-06-09 08:03:45 -04:00
Brad King 943108cadf ENH: C++ configuration should include C configuration. 2005-06-09 08:02:58 -04:00
Brad King c1f64baa4a COMP: Need windows.h even on cygwin to get CreateFile API. 2005-06-09 07:51:49 -04:00
Brad King c7a61b9802 COMP: Fixed conversion warnings. 2005-06-09 07:40:41 -04:00
Andy Cedilnik 6af66e8b20 ENH: Add capability to include files to DartTestfile.txt and add example of that 2005-06-07 09:57:05 -04:00
Bill Lorensen bd74de53f3 COMP: warning. 2005-05-28 08:44:44 -04:00
Sebastien Barre a662af88de ENH: add convenience function to convert Windows command line args into Unix argc/argv. Pulled and cleaned from PV/VV/VJ init code 2005-05-27 22:11:26 -04:00
Brad King 26f82b064c ENH: Removing previous debug code. 2005-05-16 13:42:23 -04:00
Brad King cbf6358068 ENH: Added knowledge of FreeBSD. 2005-05-13 14:45:54 -04:00
Brad King b45071cc60 ENH: Adding debugging code for freebsd. 2005-05-13 14:44:20 -04:00
Brad King 858a5131dc ENH: Removing QNX hack for test 6 now that the problem has been fixed. 2005-05-10 16:41:20 -04:00
Brad King a4aefb4faa BUG: struct timeval uses unsigned types on at least one platform (QNX). Alot of the time logic assumes a signed type. Switch to using a signed representation that is converted to the native representation only for system calls. 2005-05-10 16:36:49 -04:00
Andy Cedilnik da34e811a9 ENH: Add configuration file for kwsys 2005-05-05 10:19:27 -04:00
Brad King 946253c99d ENH: Disabling test 6 on QNX until process killing can be resolved. It will just fail always for now. 2005-05-05 09:45:54 -04:00
Brad King 60c904a58e COMP: Removed unused parameter warning. 2005-05-05 09:09:38 -04:00
Brad King 69cf728623 COMP: Added work-around to avoid warnings about unreferenced inline functions from SGI termios. 2005-05-05 09:08:05 -04:00
Brad King 3336b74c01 COMP: Added initializer to avoid warning. It is not really needed, though. 2005-05-05 09:05:15 -04:00
Andy Cedilnik fe110e2ae0 ENH: Add split that splits on arbitrary separator 2005-05-04 11:37:01 -04:00
Andy Cedilnik 214269f095 ENH: Expose ConvertToUnixOutputPath 2005-05-04 11:12:27 -04:00
Brad King bac564356b COMP: Added pragma directives for SGI compilers to avoid useless warnings. 2005-05-03 14:58:13 -04:00
Brad King 7b7f1db00a COMP: Removed stray semicolon. 2005-05-03 14:53:48 -04:00
Brad King 7ebba61010 COMP: Changed type of regmlen to avoid warnings when other lengths are converted to it. 2005-05-03 14:27:39 -04:00
Brad King 7dcb42de21 ENH: Adding test of running executable with forward slashes on windows. 2005-05-03 10:02:28 -04:00
Brad King 91c254d708 BUG: Extending all timeouts to help out slower machines. 2005-04-28 09:21:03 -04:00
Brad King cc2cd3bc41 BUG: Extending timeout of test 6 from 0.1 seconds to 3 seconds. This should avoid missed signals and intermittent failures. 2005-04-27 10:01:43 -04:00
Andy Cedilnik d381fbfa38 BUG: Looks like std::string changes the result of c_str() call. This fixes potential problems 2005-04-26 11:31:08 -04:00
Brad King 49cb763452 COMP: Removed line continuation characters from #if lines to avoid linefeed problems on cygwin. 2005-04-22 11:57:59 -04:00
Brad King b1e1d9c0fb BUG: Drastically extending test5's timeouts to get it to pass when running on a heavily-loaded machine. 2005-04-22 09:44:59 -04:00
Brad King 8136f69813 COMP: Fixed assignment-in-conditional warning. 2005-04-22 09:22:07 -04:00
Brad King c13fee6ebd COMP: Fixed constant conditional warning. 2005-04-22 09:21:33 -04:00
Brad King fbe5a2e629 COMP: Fixed unused parameter and constant conditional warnings. 2005-04-22 09:21:19 -04:00
Brad King cf8a3a1521 BUG: Fixed hash_allocator_n size computation. 2005-04-21 16:46:39 -04:00
Brad King e079b660c3 ENH: Added include-work-around for hashtable.hxx.in dependency. 2005-04-21 16:46:13 -04:00
Brad King 8567e7d0bc BUG: Do not close stdout/stderr pipes in parent if they are shared. 2005-04-21 16:05:09 -04:00
Brad King 3f224b7558 COMP: Do not do va_list hack if there is no std:: namespace. 2005-04-21 13:56:55 -04:00
Brad King 8ddc8accb3 COMP: Added KWSys try-compiles KWSYS_STL_HAS_ALLOCATOR_TEMPLATE and KWSYS_STL_HAS_ALLOCATOR_OBJECTS. Needed for more old-stl support in the hashtable. 2005-04-21 13:47:43 -04:00
Brad King 104b910aac BUG: Adjusting timeouts for tests 4 and 5 to avoid early killing. 2005-04-20 08:53:45 -04:00
Andy Cedilnik 1e04844de9 COMP: Attempt to fix problem with building on SGI 2005-04-19 18:26:40 -04:00
Brad King c98bd6249a BUG: When killing a child all the pipe read ends should be closed. This will allow a child that is blocking while waiting to write to the pipe to wake up and receive the kill signal properly on cygwin. 2005-04-19 11:52:25 -04:00
Brad King f362d6e2ef BUG: Expanded difference in timeouts between tests 4 and 5 so that 5 does not timeout while waiting for 4 to timeout. This should fix the intermittent failure of test 5 on cygwin. ENH: When a mismatch is reported it now reports what it was as well as what it should have been. 2005-04-19 10:52:32 -04:00
Brad King eebd1fb2dc BUG: For some reason the non-template allocator test compiles on VS6 even though its allocator is a template. Adding ::size_type to be sure it accesses a member of the allocator. 2005-04-15 18:57:15 -04:00
Brad King c290726b8f BUG: Fix iterator traits test to use a real iterator instead of int*. 2005-04-15 18:49:21 -04:00
Brad King 78d1491173 BUG: Cannot use Win32 implementation for cygwin processes because then cygwin paths to executables like /usr/bin/ls are not found. 2005-04-15 16:10:26 -04:00
Brad King bddade9696 COMP: Added KWSYS_CXX_HAS_CSTDDEF try-compile to KWSys to provide kwsys/cstddef header (to get size_t for hash_fun.hxx). 2005-04-15 16:00:44 -04:00
Brad King cc996274f8 COMP: Replaced kwsys_stl with @KWSYS_NAMESPACE@_stl to properly use the configured namespace. 2005-04-15 15:30:28 -04:00
Sebastien Barre ecc142ee33 ENH: move convenience method to get OS name and version from KWApp to KWSys. 2005-04-15 15:18:51 -04:00
Brad King 66095be685 BUG: Added missing variable initialization that was accidentally removed on the previsous commit. 2005-04-15 13:56:23 -04:00
Brad King 370a39ce4b ENH: Changing kwsysProcess implementation on Cygwin to use the Win32 implementation instead of the UNIX implementation. This makes dealing with misbehaving children work better. The KWSys Win32 process implementaion is more robust than the Cygwin implementation (partly because it doesn't have to exactly reproduce the POSIX api). 2005-04-15 13:35:26 -04:00
Brad King 6c68c81475 ENH: Added KWSys try-compiles KWSYS_STL_HAS_ITERATOR_TRAITS, KWSYS_STL_HAS_ITERATOR_CATEGORY, KWSYS_STL_HAS___ITERATOR_CATEGORY, and KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE to get the hash table to compile on old HP and Sun compilers. 2005-04-15 09:54:03 -04:00
Brad King df994e53fe COMP: Replacing _Select1st with a specialized hash_select1st that avoids requiring the stl pair to have first_type defined. The old HP STL does not define first_type and second_type in its pair. 2005-04-15 09:05:05 -04:00
Brad King 7f706ecc98 ENH: Added KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP try-compile to KWSys. Needed to optionally bring hash table comparison operators into the global namespace when argument dependent lookup is not supported. 2005-04-15 08:59:30 -04:00
Brad King d3a69766df COMP: Removed extra variable initializations to avoid Borland warnings. 2005-04-15 08:25:53 -04:00
Brad King 4fe07aa481 COMP: Remove friend templates and always use template friends (possibly with <>). Needed to work-around Sun CC bug. 2005-04-13 23:04:23 -04:00
Brad King caac6c78b4 COMP: Disable MSVC debug symbol truncation warning. 2005-04-13 23:03:26 -04:00
Brad King 21d54eea8d STYLE: Renaming kwsys-hash test to kwsys-testhash for consistency with other tests. 2005-04-13 16:58:30 -04:00
Brad King 79c0487de9 COMP: Removing return value from test6. It is an infinite loop, so the return causes warnings. It will never return anyway. 2005-04-13 16:55:47 -04:00
Brad King 7297496a34 ENH: Removing old test1.c Process execution example. It is fully replaced by testProcess. 2005-04-13 16:47:19 -04:00
Brad King caf54b2093 COMP: Adding work-around for CMake dependency scanning limitation. Any configured header included by KWSYS_HEADER() in a .c or .cxx file in kwsys itself must use this hack to get dependencies. 2005-04-13 16:46:09 -04:00
Brad King 5e02b5ec96 BUG: Only do ~ test if HOME variable is defined. 2005-04-13 16:05:01 -04:00
Brad King 3a7920d461 BUG: Avoid error diagnostic popups on windows for test that crashes on purpose. 2005-04-13 15:57:22 -04:00
Brad King be1084b524 COMP: Added KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT check for non-standard argument to stl allocator<>::max_size method. Needed for kwsys hashtable to compile on Sun CC. 2005-04-13 15:39:03 -04:00
Brad King 551b28d501 BUG: allocator<>::rebind<> test should use kwsys_stl::allocator, not std::allocator. 2005-04-13 15:29:22 -04:00
Brad King 5bebcea6e7 COMP: Fix for Sun CC stl allocator signature of allocate method. 2005-04-13 15:22:32 -04:00
Brad King 81f7bc9cdb BUG: When constructing the bucket vector type the allocator given must have been rebound to _Node* already because GCC 3.4's vector type does not rebind it. 2005-04-13 15:04:39 -04:00
Brad King bf70e83397 BUG: Fix GetFilenameName to not use uninitialized search position in win32 version. 2005-04-13 14:37:30 -04:00
Brad King 772b121a14 BUG: Fixed member template test to not produce a test program that crashes when it runs. 2005-04-13 14:13:05 -04:00
Andy Cedilnik bddcf4ec97 ENH: Speedup improvements 2005-04-13 13:59:48 -04:00
Andy Cedilnik 4a390c174c ENH: Do kwsys testing as part of cmake testing, command line arguments are not experimental and add simple test for systemtools 2005-04-13 13:57:24 -04:00
Bill Hoffman 3778d89cb9 BUG: fix insert for 64 bit 2005-04-13 09:54:37 -04:00
Brad King 743ab3a05f ENH: Adding SGI hash_map and hash_set implementation ported from STL to KWSys. This also adds try-compiles for KWSYS_STL_HAS_ALLOCATOR_REBIND, KWSYS_CXX_HAS_FULL_SPECIALIZATION, KWSYS_CXX_HAS_MEMBER_TEMPLATES, and KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS. 2005-04-13 08:08:54 -04:00
Brad King 1713c3fd19 ENH: Added __HPACC_USING_MULTIPLIES_IN_FUNCTIONAL fix from vtkstd. 2005-04-13 08:05:56 -04:00
Brad King 85f82c2092 COMP: Fixed ambiguous call to insert method of string. 2005-04-12 13:33:58 -04:00
Bill Hoffman 266d5d16df ENH: optimization of cwd and do not leak library handle 2005-04-12 13:25:19 -04:00
Bill Hoffman 5e39c9ca14 BUG: fix GetLongPathName for WindowsNT 2005-04-11 12:20:24 -04:00
Bill Hoffman a5be6b8406 BUG: fix build on mingw 2005-04-08 08:34:22 -04:00
Bill Hoffman 3387db4c05 BUG: if short path or long path fails return the original input 2005-04-07 17:20:33 -04:00
Bill Hoffman be32b258cb ENH: check return value of GetLongPath 2005-04-07 16:58:02 -04:00
Bill Hoffman fadff33791 BUG: fix for bug 1717 incorrect path sent to dart server 2005-04-07 13:03:47 -04:00
Brad King f0b10ad061 ENH: Added proper namespaced version of KWSYS_STL_STRING_ISTREAM_DEFINED, KWSYS_STL_STRING_OSTREAM_DEFINED, and _STL_STRING_NEQ_CHAR_DEFINED macros. 2005-04-06 16:14:29 -04:00
Bill Hoffman 1e6989017d remove cerr stuff 2005-04-06 09:47:07 -04:00
Bill Hoffman d8f75badb4 Fix bug in != stuff 2005-04-06 09:44:09 -04:00
Bill Hoffman 19aff4f3bd COMP: hack fix for old sgi until bootstrap is fixed 2005-04-05 21:10:10 -04:00
Brad King 3bb990dcf1 BUG: Test for stl stirng operator!= for char* needs to know result of KWSYS_STL_HAVE_STD. 2005-03-30 15:27:16 -05:00
Brad King 65f1e3e1d8 ENH: Added operator!= for stl string and char* when the system does not provide one. 2005-03-29 10:10:25 -05:00
Brad King 22f6d68be3 ENH: Added istream and ostream operators for stl string in KWSys when using old streams that do not provide them. 2005-03-29 08:20:08 -05:00
Brad King c7a2c80c17 ENH: SplitPath now supports slashes in both directions in the input path but still produces forward slashes in the root component. 2005-03-29 08:09:47 -05:00
Sebastien Barre 1816011791 ENH: move EstimateFormatLength to kwsys 2005-03-28 17:46:38 -05:00
Brad King ebbe1ffdd9 COMP: Removing stl string io operators change until the CMake bootstrap script can be fixed. 2005-03-26 09:58:05 -05:00
Brad King 098c33c4da ENH: Added istream and ostream operators for stl string when using old streams that do not provide them. 2005-03-26 08:19:36 -05:00
Brad King e0cfb268b6 ENH: Adding SharedForward C header to help create forwarding executables on UNIX systems that configure the shared library runtime search path and then replace themselves with the real executable. This is useful to create binary distributions that work from any extracted location even with shared libraries. 2005-03-25 08:41:57 -05:00
Brad King 4ba14d1278 ENH: Re-implemented CollapseFullPath to not need to change directories. Operation is now fully string based. 2005-03-25 08:09:00 -05:00
Brad King eea7221f31 COMP: Using proper __QNX__ preprocessor test. 2005-03-17 13:06:55 -05:00
Brad King 6b43d78dae COMP: Only include malloc.h on QNX. 2005-03-16 10:49:58 -05:00
Sebastien Barre 74ec81ca3f FIX: that was wrong 2005-03-16 10:15:13 -05:00
Brad King 59ae67558f COMP: Need malloc.h for malloc/free on QNX. 2005-03-16 09:41:26 -05:00
Sebastien Barre a1de574851 ENH: add last two small funcs from vtkString. Done removing deps 2005-03-11 11:48:39 -05:00
Sebastien Barre 213c04563c ENH: update documentation, sort methods into categories 2005-03-11 10:43:31 -05:00
Brad King 0d0cfaea08 COMP: Added missing include of string.h. 2005-03-11 10:07:36 -05:00
Sebastien Barre c8772c286e COMP: fix some warnings 2005-03-11 09:31:58 -05:00
Sebastien Barre effbdf8d8f ENH: remove deps to vtkString by using KWSys (a handful of functions have been moved to KWSys) 2005-03-10 17:49:27 -05:00
Sebastien Barre 2415ff678a ENH: remove deps to vtkString by using KWSys (a handful of functions have been moved to KWSys) 2005-03-10 17:44:58 -05:00
Sebastien Barre 07bdc60045 ENH: remove deps to vtkString by using KWSys (a handful of functions have been moved to KWSys) 2005-03-10 17:34:22 -05:00
Sebastien Barre a79868206e ENH: move function from vtkKWDirectoryUtilities and vtkString to SystemTools 2005-03-10 12:50:17 -05:00
Brad King 5290b40c47 ENH: Added "ostringstream(const kwsys_stl::string& s)" and "void str(const kwsys_stl::string& s)" compatibility methods. 2005-03-03 12:00:43 -05:00
Andy Cedilnik 588653c4e8 COMP: Remove warnings about shadow variables 2005-02-27 17:36:00 -05:00
Bill Hoffman d680e51777 ENH: fix relative paths in xcode 2005-02-24 17:46:49 -05:00
Brad King 495666742b ENH: Added ComparePath method. 2005-02-24 14:47:45 -05: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
Brad King 0fd1c5d809 ENH: Added try-compile KWSYS_STAT_HAS_ST_MTIM. This tests whether struct stat has the extra st_mtim member that has high resolution times. 2005-02-17 10:49:16 -05:00
Andy Cedilnik a8c74a6b57 BUG: On windows allow removing of files that are read-only 2005-02-16 16:03:21 -05:00
Brad King 93384c7763 BUG: Removing debugging code now that the problem has been fixed on the remote dashboard. 2005-02-16 08:56:17 -05:00
Brad King ca205223da BUG: Preserve trailing slash state when translating paths. 2005-02-15 16:03:14 -05:00
Bill Hoffman 3675a6e3a7 ENH: make sure paths do not end in / before adding one 2005-02-15 09:58:58 -05:00
Brad King 23dfc9440a BUG: Adding debugging code to remotely debug a failing dashboard test. 2005-02-15 08:40:34 -05:00
Brad King fc8e5aeebf BUG: Adding debugging code to remotely debug a failing dashboard test. 2005-02-15 08:28:19 -05:00
Andy Cedilnik 39fcca05cf ENH: Implement copy of directory with content 2005-02-11 16:25:07 -05:00
Brad King 23276ca3a2 ENH: Initializing translation map using the PWD environment variable and getcwd functions to automatically translate logical paths involving the current working directory. Also added the JoinPath method to aid users of the SplitPath method. 2005-02-10 14:19:06 -05:00
Brad King 3b008ea03b COMP: std:: -> kwsys_stl:: 2005-02-10 10:35:23 -05:00
Brad King 4bf8aa6293 ENH: Added SystemTools::SplitPath method to split any file path into its basic components. 2005-02-10 10:32:53 -05:00
Jim Miller 52f7a0cce8 BUG: encoding 2 bytes into 4 bytes was accessing a 3rd byte from the source 2005-01-12 10:11:04 -05:00
Andy Cedilnik 320e90ef5a ENH: Add a delay method 2005-01-04 10:55:01 -05:00
Bill Hoffman ec6b579717 BUG: fix for bug 1385, /tmp should not be used on windows 2004-12-02 12:33:44 -05:00
Brad King 920df088ab COMP: Need to choose between <new> and <new.h> based on whether standard headers are available. 2004-12-01 07:28:13 -05:00
Brad King ca2f4aa039 COMP: Disabling old streams warnings when including old headers on MSVC. 2004-12-01 07:24:33 -05:00
Brad King 9bf52f7001 BUG: Need to include header <new> to use placement new syntax. Really this should be fixed by replacing the stream buffer to set a new string instead of reconstructing the object, but this will require quite a bit of work to do portably. 2004-11-30 18:20:31 -05:00
Andy Cedilnik 95f67dca9e COMP: Remove compile warning 2004-11-02 17:11:54 -05:00
Bill Hoffman 160c32e529 BUG: add a test for a single char dir, and fix bug introduced in 1.53, but we still can not handle a space as the start of a directory name 2004-11-01 16:57:05 -05:00
Bill Hoffman bb316a4945 ENH: handle read only directories with configure file destination 2004-10-26 14:33:54 -04:00
Andy Cedilnik 2bad658304 COMP: Attempt to fix warnings on SGI 2004-10-26 08:45:27 -04:00
Andy Cedilnik fc459731db COMP: Remove warning 2004-10-20 12:37:39 -04:00
Andy Cedilnik ddb3dfdf2f ENH: Specify full path to the executable 2004-10-17 22:46:48 -04:00
Andy Cedilnik bc66973061 ENH: Add method to find file in parent directories if it exists 2004-10-17 18:50:49 -04:00
Bill Hoffman 1ed5888d91 BUG: fix split program from args to not get stuck in an infinite loop in some cases 2004-10-11 11:57:35 -04:00
Brad King bc6ae0649b ERR: Replaced std::string with kwsys_stl::string for portability. 2004-10-11 08:02:51 -04:00
Andy Cedilnik b221d046a6 ENH: Add method to retrieve parent directory and for checking if directory is a subdirectory of another directory 2004-10-10 12:14:58 -04:00
Bill Hoffman 7f17646576 BUG: fix realpath problem and unix slashes 2004-10-05 10:59:07 -04:00
Ken Martin 50da032847 COMP: fix some compile issues with insert 2004-10-05 09:25:55 -04:00
Ken Martin 1066af4527 ENH: Mathieus support for path conversions 2004-10-04 12:31:09 -04:00
Brad King 7350756728 ERR: Added missing include of string.h 2004-10-01 11:36:38 -04:00
Brad King f2e46cf172 ENH: Added optional display of output for tests. Avoid printing alot of output for test 6. 2004-09-30 17:42:42 -04:00
Andy Cedilnik 70c973ba10 ERR: Fix Windows build 2004-09-29 13:21:21 -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
Andy Cedilnik 1852a88fa1 ENH: When copy file, if the output file exits, delete it first 2004-09-29 11:18:07 -04:00
Andy Cedilnik fdf589d2da ENH: Allow CMake to use CommandLineArguments without warning 2004-09-29 08:58:45 -04:00
Andy Cedilnik f3cfe48152 ENH: Add lots of comments 2004-09-29 08:34:02 -04:00
Andy Cedilnik 7488e43d69 ENH: Add access to last argument parsed 2004-09-29 07:56:25 -04:00
Andy Cedilnik e96b0b44ca ENH: Add accessor for Argv0 2004-09-28 11:34:29 -04:00
Andy Cedilnik b3481a9675 ERR: Fix memory problem 2004-09-23 15:02:22 -04:00
Andy Cedilnik 4b9386751a STYLE: Only allocate as much space as needed 2004-09-23 11:53:55 -04:00
Andy Cedilnik 4966d102d6 ENH: Make GetRemainingArguments actually work 2004-09-23 11:45:02 -04:00
Andy Cedilnik 2e58daf5be ENH: Add missing include 2004-09-16 12:39:02 -04:00
Andy Cedilnik 6a4071b5d2 ENH: Add method to retrieve the terminal width 2004-09-16 10:58:56 -04:00
Andy Cedilnik d349d6ff18 ENH: a bit more cleanup. The help should really be replaced by something like cmDocumentation 2004-09-16 10:49:09 -04:00
Andy Cedilnik a2c19a4d46 ENH: Condense help string, add support for setting line length and make it work 2004-09-16 10:27:17 -04:00
Andy Cedilnik 1ebc0709f1 ENH: Move callback structure out of the public interface. Also block the warning on Visual Studio Debug 2004-09-15 09:22:34 -04:00
Ken Martin c30e7771ee ERR: Fix borland build 2004-09-14 11:48:34 -04:00
Andy Cedilnik 899be21cde ERR: Add missing include 2004-09-14 11:39:04 -04:00
Andy Cedilnik 73ddc9459f ENH: Use const correctness for arguments 2004-09-14 10:34:10 -04:00
Andy Cedilnik e6c7707022 ERR: More missing ios and includes 2004-09-13 19:06:19 -04:00
Andy Cedilnik 184087cef1 ERR: Fix IOS namespace 2004-09-13 18:57:28 -04:00
Andy Cedilnik c8fa658142 ENH: Move command line argument parsing code to kwsys 2004-09-13 16:15:02 -04:00
Bill Hoffman 8f92e8c069 Fix leaked file and registry descriptors 2004-09-07 16:03:25 -04:00
Ken Martin a5e791ae66 fix warning 2004-09-06 12:49:40 -04:00
Brad King a0f48a0592 ERR: Removed inclusion of fstream header. This file is meant as a compatibility header for iosfwd and therefore should not include any other header. Whatever was fixed by adding the include of fstream here should be fixed by other means. 2004-08-31 08:25:58 -04:00
Bill Hoffman 3e2e0d5d63 BUG: fixes for mingw and CMakesetup with spaces in the source directory 2004-08-30 13:50:00 -04:00
Bill Hoffman 8a70315bb4 BUG: fix for try run failing on some cygwin builds. Allow a driver letter to start a full path on cygwin 2004-08-09 17:42:27 -04:00
Bill Hoffman 2938652cbd ENH: create a server that does not use vtkPVApplication or tcl wrapping. Move several classes from GUI/Client to Servers/Filters. Remove use of PARAVIEW_NEW_SOURCE_ORGANIZATION define. 2004-08-03 10:20:31 -04:00
Andy Cedilnik 6d3ba1ed27 BUG: If source and destination is the same file, then do not copy file always 2004-07-20 11:09:58 -04:00
Brad King b993cd7fba BUG: Fixed off-by-one error in test6 function. 2004-07-13 17:33:23 -04:00
Brad King 0437b776b6 ENH: Added test for runaway output. 2004-07-13 17:27:58 -04:00
Brad King 43225860b6 ENH: Re-arranged handling of the two threads per pipe to improve readability of code. 2004-07-13 16:50:55 -04:00
Brad King a6c9cb9b0d BUG: Fix for read pipe wakeup when child is writing alot of data and may fill the pipe buffer before WriteFile is called. 2004-07-13 16:23:49 -04:00
Brad King 5701282e98 ERR: Fixed missing return warning. Code was not reachable anyway. 2004-07-09 11:49:04 -04:00
Brad King 1d6eecd949 ENH: Added windows implementation of Disown/Detach. 2004-07-07 18:15:20 -04:00
Brad King 55c1c3b33f BUG: Do not disown if process has already been killed or the timeout expired. Also need to call kwsysProcessCleanup to disown. 2004-07-07 17:46:34 -04:00
Brad King ae28d93a72 ENH: Added kwsysProcess_Disown an kwsysProcess_Option_Detach to allow detached processes to be created. Currently implemented only on UNIX. 2004-07-07 17:27:50 -04:00
Brad King 6df06682a5 ERR: Using KWSYSPE_PIPE_BUFFER_SIZE in place of separate bufferSize constant for consistency. 2004-07-07 13:03:56 -04:00
Bill Hoffman bbc9e4a9dc no c++ comments in c 2004-07-04 00:05:04 -04:00
Bill Hoffman 4772d6b649 fix for hp build 2004-07-03 12:00:41 -04:00
Brad King 0ae1970a5e BUG: Need a C-only library for C tests. 2004-07-02 17:39:47 -04:00
Brad King e6145d6878 BUG#392: Implementation of process tree killing for systems with /proc filesystem. 2004-07-02 16:39:29 -04:00
Bill Hoffman 40fbba22a4 ENH: add CMAKE_FILE_PATH, CMAKE_PROGRAM_PATH, CMAKE_LIBRARY_PATH, and search them first, PATH second, and last the paths listed in the FIND call 2004-06-30 11:31:41 -04:00
Bill Hoffman 32ccf38c58 BUG: undo last bug fix because it breaks cmake, rebuild_cache on ParaView gets tons of errors about not being able to create the bin directory 2004-06-07 21:41:53 -04:00
Brad King a2949c204d BUG: Do not create a directory on top of a file. 2004-06-07 13:55:20 -04:00
Brad King 23b81b7469 ERR: Do not add the library if no sources are used. 2004-06-04 14:59:05 -04:00
Bill Hoffman 2936c54cdd ENH: make sure find library does not find directories 2004-06-01 12:19:44 -04:00
Brad King b6fb2fe8f9 BUG: Do not wait for children to exit when killing them. Sometimes they do not really die. 2004-05-13 10:08:09 -04:00
Brad King 6c4ab7ec52 ENH: Adding native windows process tree kill to ProcessWin32.c. This replaces the ProcessWin32Kill.c implementation. 2004-05-10 14:54:22 -04:00
Brad King dd70c8f82d ERR: Avoiding namespace pollution: kw_sys -> kwsys_ns. Also undefining the macro at the correct time. 2004-05-10 13:38:33 -04:00
Brad King 5017fc66e5 ENH: Renaming kwsys macro to kwsys_ns to work around borland preprocessor bug. 2004-05-10 13:15:45 -04:00
Brad King 914a9fb3b4 ERR: Avoiding namespace pollution: kw_sys -> kwsys_ns. Also undefining the macro at the correct time. 2004-05-10 13:10:57 -04:00
Bill Hoffman 568c921673 ENH: remove extra include for compile with mingw 2004-05-10 12:08:01 -04:00
Bill Hoffman 9c0411b4f2 ENH: change to c code so it can be built with mingw 2004-05-10 12:06:24 -04:00
Bill Hoffman 2c4922f558 ENH: remove unused include file so it will build with mingw 2004-05-10 11:04:23 -04:00
Andy Cedilnik 8da9b14cc6 ERR: On Borland preprocessor goes into recursion which adds some weid spaces in the include name. This fixes it 2004-05-07 14:22:48 -04:00
Bill Hoffman 99a1ec6c6d BUG: make sure the correct state is set for expired processes 2004-05-07 12:52:46 -04:00
Brad King db4fd2a15d ENH: Adding process tree killing for Win32 process execution. 2004-05-06 15:34:04 -04:00
Brad King 7de6edc686 ERR: Added units to SetTimeout documentation. 2004-05-06 14:30:00 -04:00
Bill Hoffman 8d41f97ff6 BUG: fix collapse full path to handle a file in the root directory 2004-05-06 10:29:29 -04:00
Bill Hoffman 94f6dfb8a6 ENH: remove warnings 2004-04-30 10:32:45 -04:00
Brad King 5601afe384 ENH: Added automatic adjustment of C++ flags to include -timplicit_local and -no_implicit_include for the Compaq compiler on OSF. 2004-04-29 17:44:52 -04:00
Andy Cedilnik d5763a8c98 BUG: Most of time when asking if file exists, we actually want to read it... Should fix Bug #809 - FIND_INCLUDE should check readability 2004-04-29 13:25:02 -04:00
Andy Cedilnik 161c31bc2b ERR: Verify that getenv returned something before using it 2004-04-22 14:11:25 -04:00
Bill Hoffman d59e06595c BUG: fix for 301 CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH env vars now used in FIND_LIBRARY and FIND_PATH in addtion to and before PATH 2004-04-22 13:24:20 -04:00
Andy Cedilnik 00095676cc BUG: Prevent crash when the current working directory cannot be established 2004-04-21 10:33:07 -04:00
Brad King cb90652dca ENH: Added comment for future work to make forwarding executable always statically linked. 2004-04-01 15:28:18 -05:00
Andy Cedilnik 9e8a45d106 ENH: Always include KWSys header files directory 2004-03-15 14:54:26 -05:00
Brad King aeea4895a5 ERR: SIGSEGV == SIGBUS on BeOS. 2004-03-12 14:43:32 -05:00
Bill Hoffman f7ce654912 ENH: change mingw to use libfoo.dll instead of foo.dll since it can link to them 2004-02-13 10:51:44 -05:00
Brad King 41c8677a95 ERR: Fixed use of _findfirst for MSVC 6. 2004-02-12 13:38:18 -05:00
Ken Martin 012a14de69 fix incorrect signature for findfirst 2004-02-12 11:23:41 -05:00
Bill Hoffman 6223d60085 Fix install test fail on mingw 2004-02-12 09:13:31 -05:00
Andy Cedilnik 729e2a427a BUG: Like cygwin, mingw does not produce .lib file for shared libraries, so search for dll when searching for library 2004-02-12 08:58:51 -05:00
Andy Cedilnik ff6bc56616 ENH: On Cygwin shared libraries have only .dll file no .lib file, so when finding library on cygwin, search also for .dll. Also fix SimpleInstall test on cygwin 2004-02-11 08:28:59 -05:00
Brad King d23636d48b BUG: Corrected detection of exceptional exit code. 2004-01-28 10:59:46 -05:00
Brad King e27ad7eb97 ENH: Added exception string to abnormal termination report. 2004-01-28 10:59:22 -05:00
Bill Hoffman dd7f85a9dc ENH: fix for build on cygwin mingw 2004-01-26 13:32:20 -05:00
Brad King 9651c9d996 ERR: Fixed function prototypes with zero arguments to be C-style. 2004-01-22 14:44:44 -05:00
Andy Cedilnik 9cf5bb4bb0 BUG: If working directory does not exists, exit 2004-01-22 11:16:43 -05:00
Brad King 49bd89fe31 BUG: CopyFileIfDifferent should return success if the files did not differ or if the copy succeeded. It should return failure only if the files were different and the copy failed. 2004-01-22 10:30:01 -05:00
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