Commit Graph

381 Commits

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