Commit Graph

198 Commits

Author SHA1 Message Date
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 509e383aac STYLE: Remove trailing whitespaces 2006-03-10 13:34:41 -05:00
Mathieu Malaterre 5623ef913f ENH: Add trailing whitespace 2006-03-10 13:33:28 -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
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
Ken Martin 1ff49b9789 ENH: by Bill make sure path is unix style 2006-01-23 16:36:13 -05:00
Bill Hoffman 9891260a6d ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
Bill Hoffman 452925649a ENH: add better support for framework linking 2005-12-26 13:14:19 -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 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 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
Andy Cedilnik b93359f41d ENH: Add an accessor for the maximum file length 2005-10-12 12:08:49 -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
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
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
Sebastien Barre 7f2c1e434c ENH: add method to escape some chars in a string 2005-06-13 18:03:53 -04:00
Brad King c1f64baa4a COMP: Need windows.h even on cygwin to get CreateFile API. 2005-06-09 07:51:49 -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 69cf728623 COMP: Added work-around to avoid warnings about unreferenced inline functions from SGI termios. 2005-05-05 09:08:05 -04:00
Andy Cedilnik fe110e2ae0 ENH: Add split that splits on arbitrary separator 2005-05-04 11:37:01 -04:00
Brad King bac564356b COMP: Added pragma directives for SGI compilers to avoid useless warnings. 2005-05-03 14:58:13 -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 8136f69813 COMP: Fixed assignment-in-conditional warning. 2005-04-22 09:22:07 -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 d3a69766df COMP: Removed extra variable initializations to avoid Borland warnings. 2005-04-15 08:25:53 -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 bf70e83397 BUG: Fix GetFilenameName to not use uninitialized search position in win32 version. 2005-04-13 14:37:30 -04:00
Andy Cedilnik bddcf4ec97 ENH: Speedup improvements 2005-04-13 13:59:48 -04:00
Bill Hoffman 3778d89cb9 BUG: fix insert for 64 bit 2005-04-13 09:54:37 -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
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 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 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
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
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
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
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 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
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 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
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
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
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