Commit Graph

442 Commits

Author SHA1 Message Date
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