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 |