Brad King
0fd5a62d4e
STYLE: Nightly Date Stamp
2007-11-25 00:01:04 -05:00
Brad King
ba3a55ddcc
STYLE: Nightly Date Stamp
2007-11-24 00:01:05 -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
Brad King
73a8240669
STYLE: Nightly Date Stamp
2007-11-23 00:01:02 -05:00
Brad King
83a7d9fb35
STYLE: Nightly Date Stamp
2007-11-22 00:01:02 -05:00
Brad King
553852f990
STYLE: Nightly Date Stamp
2007-11-21 00:01:02 -05:00
Brad King
d5ff71a14e
STYLE: Nightly Date Stamp
2007-11-20 00:01:03 -05:00
Brad King
e9d99f13ec
STYLE: Nightly Date Stamp
2007-11-19 00:01:05 -05:00
Brad King
1dcb7074fe
STYLE: Nightly Date Stamp
2007-11-18 00:01:03 -05:00
Brad King
74ddd467ef
STYLE: Nightly Date Stamp
2007-11-17 00:01:05 -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
0a001f1567
STYLE: Nightly Date Stamp
2007-11-16 00:01:02 -05:00
Brad King
9abbad8171
STYLE: Nightly Date Stamp
2007-11-15 00:01:03 -05:00
Brad King
fe7a472e35
daily version number
2007-11-14 00:01:02 -05:00
Brad King
05f4f0e3e6
daily version number
2007-11-13 00:01:03 -05:00
Brad King
9dec5fbaf1
daily version number
2007-11-12 18:22:40 -05:00
Brad King
121b1db741
ENH: Created better names and a more convenient set of version date stamp macros.
2007-11-12 18:22:22 -05:00
Brad King
f97dddf0ee
BUG: Fixed typo in previous commit.
2007-11-12 17:38:15 -05:00
Brad King
f8a5d485a0
ENH: Adding DateStamp feature to KWSys. This provides a header file giving preprocessor access to a dated version. The 'datestamp' will be updated automatically every day by a script.
2007-11-12 17:34:14 -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
d65adbe260
COMP: Add streamsize and streamoff to kwsys_ios namespace for ancient streams.
2007-11-05 17:44:30 -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
Bill Hoffman
e94473037e
COMP: remove warning on new HPUX compiler
2007-09-20 11:57:25 -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
Bill Hoffman
797db515a0
ENH: fix failing test when valgrind is on
2007-09-19 11:16:57 -04:00
Alexander Neundorf
4ee1ee1bd0
ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt)
...
Alex
2007-09-17 15:55:17 -04:00
Alexander Neundorf
a43976e91d
BUG: if there is no match, don't construct the stl string from a NULL
...
pointer
Alex
2007-08-22 09:25:14 -04:00
Alexander Neundorf
a8128f88b7
BUG: fix segfault if FindFiles() is called without actual match pattern
...
(e.g. FILE(GLOB /usr/include) instead of FILE(GLOB /usr/include/* )
#4620
Alex
2007-08-21 15:30:07 -04:00
Mathieu Malaterre
964719128c
COMP: Directory and Glob have pointer data members
2007-08-16 07:38:47 -04:00
David Cole
f1115a30ee
COMP: Second try getting rid of Microsoft deprecation warnings. This time tested from KWStyle with vs8 to make sure the warnings are really gone. Remove the deprecation defs from CMakeLists and guard the defs in the header so we do not redefine them if they are already defined.
2007-08-15 11:38:13 -04:00
David Cole
bdeb4ad217
COMP: Suppress Microsoft deprecation warnings when building kwsys .c and .cxx files. This way, other projects that include kwsys will not see the warnings in kwsys .c and .cxx files, but they can still see the warnings in their own source files if they want to...
2007-08-15 09:25:58 -04:00
Alexander Neundorf
6c5fb80656
STYLE: fix typo
...
Alex
2007-08-09 09:03:25 -04:00
Mathieu Malaterre
8576d61989
ENH: Remove extra ;
2007-08-08 08:41:07 -04:00
Sean McBride
11604e72c4
COMP: fixed compiler warning in sprintf usage
2007-08-03 15:43:31 -04:00
Alexander Neundorf
d486e7c871
COMP: also build the static dummy loader on Cray Catamount
...
Alex
2007-08-01 10:07:46 -04:00
Alexander Neundorf
220fe4f3ce
COMP: add a dynamic loader for systems which don't support dynamic loading, so this is handled in kwsys and not every project using this has to care for it
...
Alex
2007-07-30 15:52:36 -04:00
Bill Hoffman
4ae802d9c1
ENH: fix resource leak
2007-07-24 10:05:31 -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
Brad King
9dec9a0c3b
COMP: Fix for platforms that do not have siginfo on their signal handlers.
2007-06-27 11:39:16 -04:00
Bill Hoffman
af0b15aff4
ENH: remove some stuff to improve coverage
2007-06-06 11:26:06 -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
07fe611fc6
BUG: Added carrot (^) to characters that need quoting. The solaris shell needs it.
2007-05-18 09:17:36 -04:00
Brad King
5e1dd6fb51
BUG: Some single-character arguments need quoting on windows.
2007-05-17 14:01:02 -04:00
Brad King
cc507411d3
ENH: Added more special unix shell characters that require quoting. Added escaping of % as %% for shells inside mingw32-make.
2007-05-17 10:53:14 -04:00
Brad King
73197eaefa
BUG: Shell escaping needs to write % as %% for VS IDE.
2007-05-16 16:19:18 -04:00
Brad King
01c7db07c3
BUG: Do not send both SIGSTOP and SIGKILL when killing a process. The SIGSTOP seems to be able to block the SIGKILL occasionally. Also the SIGKILL is sufficient since the process table entry will still exist until it is reaped with waitpid.
2007-05-16 13:10:45 -04:00
Brad King
aa4d7847ee
COMP: Fix code-not-reached warnings for SunCC.
2007-05-03 13:03:13 -04:00
Brad King
1ef33c6c04
COMP: Make sure gcc 2.96 sstream header is not used.
2007-04-20 11:53:35 -04:00
Brad King
60d0d429b8
COMP: Added istringstream::clear() method to disambiguate the call from using string::clear or istrstream::clear.
2007-04-20 09:50:46 -04:00
Brad King
a43b3cc801
BUG: Need to clear read failure when string is reset.
2007-04-19 12:56:07 -04:00
Brad King
6984c09310
ENH: Added testing for istringstream and stringstream.
2007-04-19 12:53:13 -04:00
Brad King
94e27c1073
BUG: Fix stream state on successfully reading a string.
2007-04-19 12:44:04 -04:00
Brad King
ded4cb6f8d
COMP: Fixes for Watcom.
2007-04-19 12:12:19 -04:00
Brad King
d5cb9b1a0d
COMP: Skip testAutoPtr and testHashSTL on Watcom. They are hopeless.
2007-04-19 12:11:56 -04:00
Brad King
d75bfedab5
COMP: Need to include header for unlink function.
2007-04-19 12:11:16 -04:00
Brad King
16be80b7b4
ENH: Added support for Watcom compiler. Added TODO comment about calling conventions.
2007-04-19 11:31:55 -04:00
Brad King
28f6b148f6
ENH: Fixed stl string streaming operators for Watcom.
2007-04-19 11:21:35 -04:00
Brad King
688ebad20e
ENH: Added KWSYSPE_DEBUG macro to print debugging trace information. Added TODO comment explaining why process execution can still hang when a grandchild keeps the output pipes open.
2007-04-12 10:56:20 -04:00
Brad King
6d2f08b6e1
ENH: Added MD5 implementation to KWSys.
2007-03-14 15:12:10 -04:00
Brad King
e01cdf2065
ENH: Added kwsys SystemTools::CreateSymlink and SystemTools::ReadSymlink.
2007-03-12 13:50:28 -04:00
Brad King
0e8d822b18
COMP: Fix warning about binding reference-to-non-const to an rvalue on VS6. It does not seem to be doing the proper auto_ptr_ref conversions. Instead use the const_cast work-around on this platform.
2007-03-09 16:58:08 -05:00
Brad King
72b08a80c8
COMP: Fixed unreferenced parameter warning for VS6 with /W4.
2007-03-09 16:27:14 -05:00
Brad King
f3cc908e42
STYLE: Move warning disable pragma into push/pop block.
2007-03-07 16:00:21 -05:00
Brad King
3bd9d67488
BUG: Use angle-brackets to include testSystemTools.h to avoid problems with in-source builds.
2007-03-07 13:52:32 -05:00
Brad King
4148fedbf0
ENH: Enabled support for use_auto_ptr(get_auto_ptr()) syntax on HP compiler.
2007-03-07 09:26:49 -05:00
Ken Martin
12b8643fee
COMP: shut up w4 warning
2007-03-06 10:56:21 -05:00
Brad King
55280c5524
COMP: Disable function call with function return test for HP until it is implemented.
2007-03-03 23:46:42 -05:00
Brad King
091eafefb3
COMP: All kwsys .hxx headers should include Configure.hxx. Re-enabling testAutoPtr.
2007-03-03 15:43:31 -05:00
Brad King
55abd50681
COMP: Disable auto_ptr test for now.
2007-03-03 15:32:00 -05:00
Brad King
8c1f9e1b83
ENH: Implemented auto_ptr_ref in a way that allows conversion of the pointed-to type.
2007-03-03 15:05:52 -05:00
Brad King
ed722cbe61
COMP: Remove one conversion test until it is implemented.
2007-03-03 14:51:36 -05:00
Brad King
3fcec9daa4
ENH: Added test for auto_ptr. Documented aut_ptr template implementation.
2007-03-03 14:48:48 -05:00
Brad King
0edbb68352
ENH: Cleaned up KWSys tests to use test drivers.
2007-03-03 10:47:06 -05:00
Ken Martin
fdbe20cf8b
COMP: fix warnings
2007-03-02 10:48:58 -05:00
Brad King
a0e26986f7
COMP: More workarounds for Borland.
2007-03-01 23:28:17 -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
b1aae98926
BUG: Assignment should always use reset().
2007-02-28 09:36:08 -05:00
Brad King
5ba5c450e6
COMP: Fix for auto_ptr_ref on Borland 5.8.
2007-02-28 09:35:28 -05:00
Brad King
d97ae16bad
COMP: Added line accidentally removed.
2007-02-26 12:08:27 -05:00
Brad King
220989104c
BUG: Fixed implementation of auto_ptr_ref.
2007-02-26 12:06: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
53c72ed6c3
COMP: Disable LFS on AIX.
2007-02-21 13:33:19 -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
Mathieu Malaterre
9c3fb107a8
STYLE: Fix typo
2007-01-27 15:29:41 -05:00
Brad King
52803bc8af
BUG: Added use of KWSYS_INSTALL_COMPONENT_NAME_DEVELOPMENT for header file install rules.
2007-01-26 14:26:44 -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
Brad King
55f5f27cd6
STYLE: Fixed documentation of how to produce forwarding executables for multi-configuration builds with CMAKE_INTDIR.
2007-01-08 15:12:00 -05:00
Utkarsh Ayachit
1ed84c377b
BUG: reverting previous change.
2006-12-21 10:24:33 -05:00
Utkarsh Ayachit
fbfd05a308
BUG: When a "wrong argument" was detected, we call the WrongArgument handler. If the handler returns success, the argument parsing should continue. Currently, it was stopping parsing immediately after the wrong argument was processed, irrespective of the WrongArgument handler status. Fixed that.
2006-12-21 09:52:01 -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
Mathieu Malaterre
b95f198348
COMP: Fix compilation when VS6 is using the new ANSI stdlib
2006-12-18 11:04:25 -05:00
Mathieu Malaterre
df54b22212
COMP: Try to get stringstream emulation working
2006-12-15 10:30:41 -05:00
Brad King
1fe21ae35e
ENH: Adding stringstream compatibility implementation. It is currently identical to ostringstream. Fixed local variable pcount hiding method warning.
2006-12-14 13:18:27 -05:00
Mathieu Malaterre
55af790ebf
BUG: Remove stringstream implementation, this was a wrong interface anyway.
2006-12-14 11:41:51 -05:00
Mathieu Malaterre
db116b94e4
BUG: disable test for now
2006-12-14 11:02:22 -05:00
Mathieu Malaterre
cc73abf7e7
ENH: provide stringstream too. FIX: warning shadow var
2006-12-13 08:52:35 -05:00
Mathieu Malaterre
b9787a965f
BUG: revert yesterday patch. The implementation was correct. The problem was that _WIN32 was forced to be #define on cygwin when included from ITK, which was miss matching the implementation from the declaration. Put extra condition for CYGWIN system
2006-12-09 11:25:25 -05:00
Mathieu Malaterre
458fa7559b
BUG: Make sure to use the Win32 interface (HINSTANCE) for handling shared lib on cygwin and mingw system
2006-12-08 15:52:30 -05:00
Bill Hoffman
6b7bf34341
COMP: remove warning
2006-12-05 09:02:32 -05:00
Bill Hoffman
1513773310
ENH: fix build error on IRIX
2006-12-05 08:39:22 -05:00
Bill Hoffman
3a32cec969
ENH: merge in changes for beos support
2006-12-04 17:26:41 -05:00
Brad King
de8ffcaef4
ENH: Changes based on patch from Ryan C. Gordon to enable process execution on BeOS. There seems to be no way to implement it without polling (or threads).
2006-12-04 14:42:47 -05:00
Mathieu Malaterre
965a1475b6
BUG: Fix problem with loading dylib on Tiger (10.4) x86. We need to be using the dlopen/dlclose instead of the old NSModule
2006-11-29 12:56:28 -05:00
Brad King
54731fa2c8
ENH: Adding support for # escape in Watcom WMake.
2006-10-25 11:23:04 -04:00
Brad King
87dcfb54c4
ENH: Added # character for shell escaping.
2006-10-23 17:20:59 -04: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
Andy Cedilnik
2f713072c7
ENH: Report command line as a measurement and allow user to add custom measurements
2006-10-13 09:30:33 -04:00
David Cole
7d033e5c2b
COMP: Fix or suppress warnings on Borland and Mac dashboards. Definitely fix "may be used uninitialized" warnings.
2006-10-09 10:06:03 -04:00
David Cole
22442fd9e1
STYLE: Make the set of supported STL headers the same in vtkstd and vtksys/stl. (The union of the present values of the two sets.)
2006-10-06 11:13:02 -04:00
Brad King
038c9e27d7
ENH: Adding Shell_Flag_EchoWindows option to setup escapes for arguments to the native echo command in a shell. This special case is needed to avoid adding quotes when passing text to echo in a native windows shell which does no command line parsing at all.
2006-10-04 18:52:24 -04:00
Brad King
40adb2ce03
ENH: Adding tests KWSYS_C_HAS_PTRDIFF_T and KWSYS_C_HAS_SSIZE_T to help ProcessUNIX.c build everywhere without warnings.
2006-10-04 17:27:17 -04:00
Brad King
652d7bc0fb
BUG: Name of C test file ends in .c not .cxx.
2006-10-04 17:08:02 -04:00
Brad King
a48cf7e07b
ENH: Renamed kwsysPlatformCxxTests to kwsysPlatformTests and generalized it for multiple language tests (C and CXX).
2006-10-04 16:56:32 -04:00
Bill Hoffman
5b98b7af78
ENH: check for empty path
2006-10-03 13:35:59 -04:00
Bill Hoffman
9c3b654991
ENH: make sure value is set before using it
2006-10-03 11:55:34 -04:00
Brad King
48ee381e6b
BUG: Need to initialize to not use native pipes.
2006-10-03 10:26:32 -04:00
Brad King
6eef6638a5
ENH: Added Process_SetPipeNative method to allow user code to override the pipes connected to the child pipeline.
2006-10-03 09:10:03 -04:00
Brad King
dd332a00cc
ENH: Re-implemented command line argument shell quoting to support several platforms with one code base.
2006-09-27 13:43:46 -04:00
Brad King
d5d8687d16
BUG: Windows_ShellArgument: need to escape if the string contains one of a set of special characters as well as spaces. Moved test for needing escapes to a separate method kwsysSystemWindowsShellArgumentNeedsEscape.
2006-09-21 14:46:40 -04:00
Brad King
683346fa3d
ENH: Adding 'System' component of C sources to hold system tools written in C. Moved windows shell command line argument escaping code to kwsysSystem_Windows_ShellArgument and kwsysSystem_Windows_ShellArgumentSize.
2006-09-21 11:49:36 -04:00
Brad King
b6e8574ab1
ENH: Added KWSYS_SHARED_FORWARD_OPTION_COMMAND option to allow users to replace the command executed. Extended documentation at top of file.
2006-09-21 10:04:55 -04:00
Brad King
712f3a3da4
COMP: Fix try-compile to fail properly on HP.
2006-08-30 13:59:56 -04:00
Brad King
c500078dcc
ENH: Adding KWSys component IOStream to provide help with broken C++ stream libraries.
2006-08-27 13:17:23 -04:00
Brad King
703c0e32c8
BUG: Need to undefine temporary macros defined at top of file.
2006-08-27 12:35:54 -04:00
Brad King
ff930f75aa
BUG: When a try-run fails to compile create the run result cache entry with a bogus non-zero return value to avoid running the test again.
2006-08-27 11:25:15 -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
e61eac3f05
BUG: Fix location of CMakeOutput.log and CMakeError.log.
2006-08-26 15:17:20 -04:00
Brad King
209a3d4f7b
COMP: Disable _FILE_OFFSET_BITS check until sys/types.h check is enabled.
2006-08-25 16:32:47 -04:00
Brad King
ebf532b106
ENH: Separate the notion of a request for LFS and its availability. Allow user code to block definitions of LFS macros. Added framework to give error if sys/types.h is included before this header when LFS is requested (currently disabled).
2006-08-25 16:07:06 -04:00
Brad King
ffb1a9f80a
ENH: Moved test for large file support into kwsysPlatformCxxTests.cxx with name KWSYS_LFS_WORKS.
2006-08-25 16:00:10 -04:00
Brad King
6c75c03143
ENH: Switching KWSYS_CHAR_IS_SIGNED test to use KWSYS_PLATFORM_CXX_TEST_RUN macro.
2006-08-25 15:53:03 -04:00
Brad King
3e572c936c
ENH: Added KWSYS_PLATFORM_CXX_TEST_RUN macro.
2006-08-25 15:50:45 -04:00
Brad King
6849ae856b
ENH: Globbing patterns should not match a slash inside a filename component.
2006-08-25 12:13:37 -04:00
Brad King
77cf2b85b0
ENH: Added '256color' terminal names. Patch applied from bug#3651.
2006-08-23 09:47:43 -04:00
Andy Cedilnik
22995b56f6
COMP: Support cmake older than 2.4
2006-08-23 08:07:41 -04:00
Andy Cedilnik
b2c06bb0f8
COMP: On some project configure may not copy right away
2006-08-22 15:51:52 -04:00
Andy Cedilnik
6f5dc00682
COMP: Add missing cmake file
2006-08-22 15:48:19 -04:00
Andy Cedilnik
0ec4b84c91
COMP: Add missing cmake file
2006-08-22 15:46:22 -04:00
Andy Cedilnik
d510ef2557
ENH: Support large file systems in kwsys
2006-08-22 15:34:14 -04:00
Brad King
0839e905c6
BUG: Fixed #if test for case-insensitive glob on OSX.
2006-08-21 22:39:03 -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
f1ea7e88dc
ENH: Exposed pattern->regex API. Cleaned up and commented implementation of pattern->regex conversion.
2006-08-21 14:17:58 -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
Glen Lehmann
df3d4cb3c4
BUG: #3563 . Segmentation fault with non initialized input or NULL pointers.
2006-08-01 15:16:19 -04:00
Brad King
8a79d25927
COMP: Added missing headers. This partially addresses bug#3556.
2006-08-01 14:45:32 -04:00
Brad King
9b2b2b5f1b
COMP: Use SA_RESTART only if it is defined for the current platform. This partially addresses bug#3556.
2006-08-01 14:28:03 -04:00
Brad King
ab61137eb1
COMP: Fix and/or disable warnings for Borland 5.6 build.
2006-08-01 11:38:42 -04:00
Ken Martin
4f9fcad327
ENH: better coverage
2006-07-31 13:50:50 -04:00
Ken Martin
9e1f7773e9
BUG: fix some bad code and add a couple more tests
2006-07-28 14:47:37 -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
Brad King
c482ef3bbc
BUG: Mask signals during SystemTools::Delay to avoid interrupted sleep.
2006-07-25 15:18:35 -04:00
Ken Martin
f35c6d461a
COMP: fix compile issue
2006-07-25 14:15:01 -04:00
Ken Martin
b379666b39
BUG: some bug fixes, better docs, and more coverage
2006-07-25 12:08:05 -04:00
Bill Hoffman
3b74388050
ENH: allow for source tree to be in root directory
2006-07-24 11:27:07 -04:00
Brad King
30c746d8c5
BUG: Do not display VT100 escapes inside emacs even if TERM is set to xterm.
2006-07-20 09:35:20 -04:00
Brad King
475c37b6a5
COMP: Fix references to cin, cout, cerr, and clog in case of HP aCC compiler with -mt flag.
2006-07-18 13:02:40 -04:00
Brad King
94bf03319b
BUG: When handing the child stdin pipe a file, allow another process to be writing to the file at the same time. This allows children such as tail -f to function properly.
2006-07-17 13:34:00 -04:00
Andy Cedilnik
1087f80c28
COMP: Only delete once
2006-07-17 09:15:10 -04:00
Andy Cedilnik
22971652e0
COMP: Remove some warnings
2006-07-16 21:11:50 -04:00
Andy Cedilnik
9bc53f6443
ENH: Add a way to get unused arguments and add a test
2006-07-14 15:02:27 -04:00
Andy Cedilnik
71395c78ce
COMP: Remove warning
2006-07-14 13:59:18 -04:00
Andy Cedilnik
784bb60a4e
ENH: It does not really makes sense to have Boolean Argument List
2006-07-14 13:32:34 -04:00
Andy Cedilnik
d2a3ccd505
ENH: Add support for multi-arguments: -f arg1 arg2 arg3 ... and support for lists: -f arg1 -f arg2 -f arg3 ... and for boolean to be stored as strings and doubles
2006-07-14 09:13:23 -04:00
Andy Cedilnik
4f728e93e1
COMP: Remove warnings
2006-07-13 09:27:10 -04:00
Andy Cedilnik
13f88b0a22
COMP: Remove warnings
2006-07-13 09:07:41 -04:00
Andy Cedilnik
821dc7b306
BUG: Fix error conditions
2006-07-12 16:21:18 -04:00
Andy Cedilnik
2e1882389b
COMP: Remove warnings
2006-07-12 09:21:26 -04:00
Brad King
9f4e756d41
ENH: Updated installation options and implementation to use INSTALL command if it is available. This will allow installation component assignment and separate installation of the .dll and .lib on windows.
2006-07-05 10:06:31 -04:00
Berk Geveci
98ffeb0926
ENH: Adding cmake 2.4 style installation. NOTE: These changes will work on a paraview build only. This file has to updated to be general
2006-07-05 08:26:19 -04:00
Karthik Krishnan
7890524cd9
BUG: The operator precedence is [] followed by *. Calling this method was causing out of array index segfaults bounds
2006-06-25 15:18:49 -04:00
Ken Martin
847c3a5849
ENH: add a higher performance method to get the number of files in a directory
2006-06-22 10:35:37 -04:00
Brad King
f26a0302be
COMP: Fix conversion warning.
2006-06-19 09:49:52 -04:00
Brad King
6438bec4c9
ENH: Added Option_Verbatim to run whole command lines directly.
2006-06-15 14:40:42 -04:00
Ken Martin
8e9a6beccc
ENH: centralized locaiton of CMakeFiles setting
2006-06-14 12:28:32 -04:00
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