Commit Graph

637 Commits

Author SHA1 Message Date
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
Bill Hoffman dc304cfdec ENH: remove code that does not compile, on windows cwd must exist 2006-04-27 17:46:10 -04:00
Mark Richardson 2b5d8e84c9 COMP: Fixing the the build for windows. 2006-04-27 16:02:52 -04:00
Bill Hoffman 4e586c822f ENH: remove warning 2006-04-27 15:48:05 -04:00
Bill Hoffman 6c6eebac20 ENH: handle running from a directory that has been deleted 2006-04-27 15:26:53 -04:00
Brad King dbd70091f1 BUG: IsSubDirectory should use ComparePath to do platform-independent path comparison. 2006-04-25 09:54:07 -04:00
Bill Hoffman 456f01e35b ENH: fix build on AIX 2006-04-25 08:33:51 -04:00
Brad King b9e03e0a1c ENH: Enabling build/test of Terminal code now that it has been manually tested on several platforms. 2006-04-24 12:15:09 -04:00
Brad King b3d2055feb COMP: Added missing include of string.h for strcmp. 2006-04-22 20:32:01 -04:00
Brad King f3368e7c98 BUG: Fixed bug in check for vt100 assumption. 2006-04-22 20:26:20 -04:00
Brad King 415b16aab9 BUG: Fixed uninitialized variable when not building with windows console support. 2006-04-22 20:25:37 -04:00
Brad King 071e26712c ENH: Adding 'Terminal' component to hold support routines for dealing with interactive terminals. Currently only a cfprintf function is provided to print color messages. 2006-04-22 20:20:12 -04:00
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