Commit Graph

222 Commits

Author SHA1 Message Date
Brad King 9198a92af9 COMP: Fix VS6 and old HP build. This source does not have the #define for hack. 2008-01-21 08:01:04 -05:00
Brad King ce2b20361a BUG: Fix previous commit to not access empty strings out of bounds. 2008-01-20 19:29:12 -05:00
Brad King c7b844ba3e BUG: Make sure search paths never have double-slashes. Leading with two slashes (//) on cygwin looks like a network path and delays while waiting for a non-existent machine. 2008-01-20 17:24:46 -05:00
Brad King 615ce67ad4 COMP: Fix build on borland. 2008-01-12 09:52:50 -05:00
Brad King a6d32b96ed ENH: Add SystemTools::SplitPathRootComponent and re-implement SplitPath to use it. Add better treatment of user home directory paths. 2008-01-11 08:33:48 -05:00
Bill Hoffman a5e76555bf BUG: fix for bug 6136 make sure includes are not directories 2007-12-14 20:31:27 -05:00
Philippe Pebay 836e595fcc BUG: fixed an incomplete regexp 2007-12-06 16:43:11 -05:00
Brad King cc80c4e285 COMP: Remove reference to vtksys. The unmangled kwsys name should be used in this source. 2007-12-05 13:13:53 -05:00
Philippe Pebay f18ae2234c ENH: added two functions for URL parsing:
1. an "abridged" version that separates protocol from dataglom in
        an expression with the form protocol://dataglom
     2. a "full" version that parses protocol, username, password,
        hostname, port, and path in a standard URL (all of these variables
        are optional, except for protocol and hostname).
2007-12-05 12:24:27 -05:00
Bill Hoffman 39c164cb83 ENH: remove warning 2007-12-04 17:00:44 -05:00
Bill Hoffman 5050706ae3 ENH: add a touch -E command to cmake 2007-12-04 16:03:19 -05:00
Alexander Neundorf e3c84cf5a6 ENH: add support for the Syllable OS (http://www.syllable.org)
major issues:
-access() doesn't return false for an empty string (#ifdefed in cmake)
-dlopen() doesn't return 0 on failure (#ifdefed in cmake and fixed now in Syllable)
-the kwsys and Bootstrap tests fail with timeout due to the fact that I'm doing all that in qemu, which is quite slow
-RPATH is now supported, so without modifying the test adapting DLL_PATH in Syllable is required for the tests to succeed
-the Plugin test fails with an undefined reference to example_exe_function() in example_mod_1, it seems this isn't supported under Syllable

Alex
2007-11-23 20:45:49 -05:00
David Cole 867de7fc67 ENH: Add ability to call Visual Studio macros from CMake. Add a CMake Visual Studio macro to reload a solution file automatically if CMake makes changes to .sln files or .vcproj files. Add code to call the macro automatically for any running Visual Studio instances with the .sln file open at the end of the Visual Studio Generate call. Only call the macro if some .sln or .vcproj file changed during Generate. Also, add handling for REG_EXPAND_SZ type to SystemTools::ReadRegistryValue - returned string has environment variable references expanded. 2007-11-16 07:01:58 -05:00
Brad King 8b9dcc9e1a COMP: Fix warning when gcount stream method does not really return std::streamsize. 2007-11-07 08:59:29 -05:00
Brad King f410f8578e COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697. 2007-11-05 14:34:36 -05:00
Sean McBride 0b4c9cb86c STYLE: fixed misspellings of Mac OS X 2007-10-26 12:13:01 -04:00
Brad King c4ffd00711 BUG: Fix bug#5590. When converting a relative path between two full paths on different windows drive letters do not create a ../../d:/foo/bar path and just return the full path to the destination. 2007-10-25 13:29:47 -04:00
Bill Hoffman 22fca8aa12 BUG: fix for bug 0005767 hang for replace string with empty 2007-10-12 09:58:17 -04:00
Sebastien Barre 4e54f93501 ENH: bad bug bad 2007-10-09 15:20:30 -04:00
Bill Hoffman e0899bcaf2 ENH: speed up actual path name by cache on windows 2007-10-02 15:48:21 -04:00
Alexander Neundorf f2bb57684f COMP: TIOCGWINSZ and struct winsize also doesn't exist on Cray Catamount
Alex
2007-09-20 09:36:30 -04:00
Alexander Neundorf 6b45ec0326 COMP: make SystemTools.cxx build on Cray Xt3
Alex
2007-09-20 09:30:41 -04:00
Alexander Neundorf dddbad259c PERF: micro optimization: the (*pos1) && (*pos1=='/') were redundant, and
hasDoubleSlash is false in most cases, so in most cases 3 comparisons were
done, now only one

Alex
2007-07-23 09:06:48 -04:00
Bill Hoffman 80de27ace5 ENH: fix case problem with drive letters and cmake vs CMakeSetup build.make changing 2007-06-06 10:44:20 -04:00
Brad King e01cdf2065 ENH: Added kwsys SystemTools::CreateSymlink and SystemTools::ReadSymlink. 2007-03-12 13:50:28 -04:00
Ken Martin fdbe20cf8b COMP: fix warnings 2007-03-02 10:48:58 -05:00
Ken Martin 508ddaf929 COMP: fix warning 2007-03-01 14:52:26 -05:00
Ken Martin ae3ef64307 ENH: added a limit to the getline method 2007-03-01 14:30:42 -05:00
Brad King 2a64bb4774 BUG: Fix bug#4482. 2007-02-22 15:27:56 -05:00
Bill Hoffman 2d6e914b2d COMP: remove warning 2007-02-22 09:48:19 -05:00
Bill Hoffman 5647e6e254 ENH: fix parens in the path with spaces in the path 2007-02-21 21:24:17 -05:00
Brad King 293f24763f STYLE: Removed one more stray comment. 2007-02-01 14:45:08 -05:00
Ken Martin 2da51e0f69 STYLE: removed code accidently checked in 2007-02-01 14:43:09 -05:00
Ken Martin 3dd4a53d97 BUG: fix for bug number 3320 2007-02-01 14:11:06 -05:00
Bill Hoffman b32f3b4131 ENH: allow copy if different from a file to a directory to work 2007-01-30 11:32:33 -05:00
Clinton Stimpson e264771122 ENH: Add support for "~otheruser/" 2007-01-16 14:37:33 -05:00
Clinton Stimpson 50489ff6ff ENH: Handle "~" in SplitPath. 2007-01-12 16:47:23 -05:00
Utkarsh Ayachit fa69ba942e BUG: FileIsDirectory would remove the trailing '/' even when the path is indeed the root i.e. '/'. Hence the test would be incorrect for root directory. Fixed that. 2006-12-18 11:30:09 -05:00
Bill Hoffman 3a32cec969 ENH: merge in changes for beos support 2006-12-04 17:26:41 -05:00
David Cole e9fb6cd51a BUG: Correct the SystemReportDebugHook function. It should not call exit. It gets called multiple times at shutdown in a memory leak reporting scenario... This is the source of the long standing KWWidgetsTour debug build dashboard failure. 2006-10-18 23:27:33 -04:00
Bill Hoffman 5b98b7af78 ENH: check for empty path 2006-10-03 13:35:59 -04:00
Brad King dc0c5d082b BUG: GetLineFromStream should remove carriage return characters to make sure newlines do not get duplicates. 2006-08-26 16:14:26 -04:00
Brad King c58777ec47 BUG: FileIsDirectory should work when the name contains a trailing slash. 2006-08-21 17:34:40 -04:00
Brad King 3a44f2a47e ENH: Added JoinPath overload that accepts an iterator range. 2006-08-17 12:02:18 -04:00
Bill Hoffman 71af96aad1 ENH: still escape () but do not escape 2006-08-14 09:50:52 -04:00
Ken Martin 7de2d93d1a ENH: fix for AddKeepPath not calling realpath 2006-08-11 10:54:35 -04:00
Bill Hoffman fd56f7247a ENH: escape ( and ) in unix paths 2006-08-11 09:56:39 -04:00
David Cole 76d05cd5fa BUG: strlen logic was backwards resulting in function body never actually executing... when called with valid strings, it was always doing nothing and returning false... now it works as expected. 2006-08-10 15:17:53 -04:00
Brad King ab61137eb1 COMP: Fix and/or disable warnings for Borland 5.6 build. 2006-08-01 11:38:42 -04:00
Brad King 0b196d1aef BUG: Do not block signals during sleep. Leave that up to the application. 2006-07-27 11:27:28 -04:00