Commit Graph

1568 Commits

Author SHA1 Message Date
Brad King 7c05c7bd89 STYLE: Nightly Date Stamp 2009-07-03 00:01:04 -04:00
Brad King 767b82a6c8 STYLE: Nightly Date Stamp 2009-07-02 00:01:09 -04:00
Brad King 57e4ca3709 STYLE: Nightly Date Stamp 2009-07-01 00:01:06 -04:00
Brad King fa3b66fcd2 STYLE: Nightly Date Stamp 2009-06-30 00:01:02 -04:00
Brad King d78ef9a6cd STYLE: Nightly Date Stamp 2009-06-29 00:01:02 -04:00
Brad King ee7bcee8e8 STYLE: Nightly Date Stamp 2009-06-28 00:01:01 -04:00
Brad King 6f2aab1b8e STYLE: Nightly Date Stamp 2009-06-27 00:01:03 -04:00
Brad King a385364f78 STYLE: Nightly Date Stamp 2009-06-26 00:01:06 -04:00
Bill Hoffman 7491f52992 ENH: first pass at VS 10, can bootstrap CMake, but many tests still fail 2009-06-25 16:41:57 -04:00
Brad King e61b49b71f STYLE: Nightly Date Stamp 2009-06-25 00:01:04 -04:00
Brad King 340b175852 STYLE: Nightly Date Stamp 2009-06-24 00:01:04 -04:00
Brad King 13f519f747 STYLE: Nightly Date Stamp 2009-06-23 00:01:04 -04:00
Brad King d3679610c6 COMP: Quiet aggressive Borland warnings in KWSys
This disables Borland warning 8027 while compiling KWSys source files.
It provides no useful information.
2009-06-22 14:19:22 -04:00
Brad King d445275ed0 COMP: Remove useless variable assignment
This removes an assignment whose result is never used, thus quieting a
warning from Borland.
2009-06-22 14:19:17 -04:00
Brad King d05a2baf6c STYLE: Nightly Date Stamp 2009-06-22 00:01:03 -04:00
Brad King aa75ccefbe STYLE: Nightly Date Stamp 2009-06-21 00:01:03 -04:00
Brad King 18da042859 STYLE: Nightly Date Stamp 2009-06-20 00:01:02 -04:00
Brad King 1beb41a898 STYLE: Nightly Date Stamp 2009-06-19 00:01:37 -04:00
Brad King 3437b1342f STYLE: Nightly Date Stamp 2009-06-18 00:01:04 -04:00
Brad King f61f8e5383 STYLE: Nightly Date Stamp 2009-06-17 00:01:03 -04:00
Brad King 0f490cf025 STYLE: Nightly Date Stamp 2009-06-16 00:01:04 -04:00
Brad King d30923d631 STYLE: Nightly Date Stamp 2009-06-15 00:01:05 -04:00
Brad King 8cade78bea STYLE: Nightly Date Stamp 2009-06-14 00:01:01 -04:00
Brad King 70f6f173bd STYLE: Nightly Date Stamp 2009-06-13 00:01:04 -04:00
Brad King 219626a2be COMP: Do not compile VMS-specific code on non-VMS
This helps avoid fixing VMS-specific code for non-VMS compilers where it
isn't needed anyway.
2009-06-12 15:44:50 -04:00
Francois Bertel 17daa9398a COMP:Fixed warning with gcc 4.3.3: passing argument 1 of kwsysProcessSetVMSFeature discards qualifiers from pointer target type. 2009-06-12 13:33:35 -04:00
Brad King 74c385e702 COMP: Avoid double-initialization in KWSys String
The KWSys String implementation of strcasecmp initialized 'result'
immediately before assigning to it.  Borland produces a warning in this
case, so this commit removes the extra initialization.
2009-06-12 10:46:16 -04:00
Brad King 7e03edf1df STYLE: Nightly Date Stamp 2009-06-12 00:01:02 -04:00
Bill Hoffman 8446a48054 ENH: use .exe on vms 2009-06-11 15:25:48 -04:00
Brad King 60bfa0ad3f STYLE: Nightly Date Stamp 2009-06-11 00:01:03 -04:00
Brad King fc537f05ba ENH: Teach KWSys SystemTools about VMS paths
This teaches ConvertToUnixSlashes to convert VMS paths into posix-style
paths.  We also set the DECC$FILENAME_UNIX_ONLY feature so the process
always sees posix-style paths on disk.
2009-06-10 13:02:48 -04:00
Brad King 312ca9670f ENH: Teach KWSys Process basic VMS support
This achieves basic process execution on OpenVMS.  We use work-arounds
for different fork()/exec() behavior and a lack of select().

VMS emulates fork/exec using setjmp/longjmp to evaluate the child and
parent return cases from fork.  Therefore both must be invoked from the
same function.

Since select() works only for sockets we use the BeOS-style polling
implementation.  However, non-blocking reads on empty pipes cannot be
distinguished easily from the last read on a closed pipe.  Therefore we
identify end of data by an empty read after the child terminates.
2009-06-10 11:48:34 -04:00
Brad King 1eec4fe6ad BUG: Fix non-select process impl without timeout
This avoids use of an uninitialized value in the KWSys ProcessUNIX
polling implementation when no timeout is given.
2009-06-10 11:46:21 -04:00
Brad King 776e21d1c7 COMP: Avoid String.c inclusion by Compaq templates
The Compaq compiler (on VMS) includes 'String.c' in source files that
use the stl string while looking for template definitions.  This was the
true cause of double-inclusion of the 'kwsysPrivate.h' header.  We work
around the problem by conditionally compiling the entire source file on
a condition only true when really building the source.
2009-06-10 11:46:06 -04:00
Brad King 7a839be972 STYLE: Nightly Date Stamp 2009-06-10 00:01:34 -04:00
Bill Hoffman 89b431e8ac STYLE: suppress warnings for borland 2009-06-09 15:44:46 -04:00
Bill Hoffman b81f09e341 STYLE: suppress warnings for borland 2009-06-09 15:18:51 -04:00
Brad King 0dc49a840e STYLE: Nightly Date Stamp 2009-06-09 00:01:08 -04:00
Brad King fc025061ca STYLE: Nightly Date Stamp 2009-06-08 00:01:02 -04:00
Brad King 4c6945630c STYLE: Nightly Date Stamp 2009-06-07 00:01:03 -04:00
Brad King 43cd8555cc STYLE: Nightly Date Stamp 2009-06-06 00:01:02 -04:00
Dave Partyka cbc1938ee3 COMP: Hopefully fix hashmap on VS6, Thanks Brad K! 2009-06-05 14:59:47 -04:00
Bill Hoffman 0de79d4b2d ENH: fix warning on borland 2009-06-05 13:17:01 -04:00
Bill Hoffman fdff8eb300 ENH: move PutEnv to SystemTools 2009-06-05 12:01:30 -04:00
Brad King d5f8020391 STYLE: Nightly Date Stamp 2009-06-05 00:01:04 -04:00
Brad King 36288f41b5 STYLE: Nightly Date Stamp 2009-06-04 00:01:03 -04:00
Brad King 1d3320f126 STYLE: Nightly Date Stamp 2009-06-03 00:01:04 -04:00
Brad King a8893fd64a STYLE: Nightly Date Stamp 2009-06-02 00:01:10 -04:00
Brad King 0067c3eb80 STYLE: Nightly Date Stamp 2009-06-01 00:01:02 -04:00
Brad King a193331016 STYLE: Nightly Date Stamp 2009-05-31 00:01:07 -04:00
Brad King 3f6aa94161 STYLE: Nightly Date Stamp 2009-05-30 00:01:02 -04:00
Brad King 2222148ce1 STYLE: Nightly Date Stamp 2009-05-29 00:01:03 -04:00
Brad King 6fcaaf46c4 STYLE: Nightly Date Stamp 2009-05-28 00:01:02 -04:00
Brad King b745f4457e STYLE: Nightly Date Stamp 2009-05-27 00:01:06 -04:00
Brad King 143bbaa2a9 STYLE: Nightly Date Stamp 2009-05-26 00:01:07 -04:00
Brad King 23f918d303 STYLE: Nightly Date Stamp 2009-05-25 00:01:07 -04:00
Brad King f56890f0dc STYLE: Nightly Date Stamp 2009-05-24 00:01:32 -04:00
Brad King 378aeaad58 STYLE: Nightly Date Stamp 2009-05-23 00:01:06 -04:00
Brad King 8f9b3c49ed STYLE: Nightly Date Stamp 2009-05-22 00:01:03 -04:00
Brad King 814858de7b STYLE: Nightly Date Stamp 2009-05-21 00:01:18 -04:00
Bill Hoffman 5634ca02f4 ENH: make this work for older versions of OSX 2009-05-20 09:50:20 -04:00
Brad King da21a4c4fb STYLE: Nightly Date Stamp 2009-05-20 00:01:08 -04:00
Bill Hoffman bb7230cc96 ENH: revert back because it does not build on older macs for now 2009-05-19 21:50:19 -04:00
Bill Hoffman 46a20bbd4c ENH: remove warning 2009-05-19 16:56:47 -04:00
Bill Hoffman 4220e7c62c ENH: make this build on other machines besides the mac 2009-05-19 16:46:24 -04:00
Bill Hoffman ee3d395fde ENH: fix system info for mac 2009-05-19 16:35:57 -04:00
Bill Hoffman d3d33a3549 ENH: fix system info for mac 2009-05-19 16:35:13 -04:00
Brad King 831ca4f57c STYLE: Nightly Date Stamp 2009-05-19 00:01:14 -04:00
Brad King a40bca5398 STYLE: Nightly Date Stamp 2009-05-18 00:01:08 -04:00
Brad King 1eaa47dc16 STYLE: Nightly Date Stamp 2009-05-17 00:01:02 -04:00
Brad King 97d2606fc1 STYLE: Nightly Date Stamp 2009-05-16 00:01:02 -04:00
Brad King 6d357676d9 STYLE: Nightly Date Stamp 2009-05-15 00:01:03 -04:00
Brad King 248bdadd94 STYLE: Simplify and document VMS workarounds
The kwsysPrivate header double-inclusion check hits a false positive on
VMS for an undetermined reason.  This simplifies the workaround and
documents it.
2009-05-14 09:27:02 -04:00
Brad King 317b3a0ef8 STYLE: Remove trailing whitespace 2009-05-14 09:26:47 -04:00
Brad King 66a92954ee STYLE: Nightly Date Stamp 2009-05-14 00:01:04 -04:00
Brad King cecfce23a5 BUG: Fix removal of read-only directories
Read-only directories must be given write permission before we can
remove files and subdirectories from them.
2009-05-13 10:30:33 -04:00
Brad King 39c7fc97f0 STYLE: Nightly Date Stamp 2009-05-13 00:01:07 -04:00
Brad King b3269b089c STYLE: Nightly Date Stamp 2009-05-12 00:01:09 -04:00
Brad King 80c66c05e7 STYLE: Nightly Date Stamp 2009-05-11 00:01:05 -04:00
Brad King f114e68f7a STYLE: Nightly Date Stamp 2009-05-10 00:01:17 -04:00
Brad King 9a3c5338fb STYLE: Nightly Date Stamp 2009-05-09 00:01:06 -04:00
Brad King 55e91d3e46 STYLE: Nightly Date Stamp 2009-05-08 00:01:02 -04:00
Brad King 028c52841a STYLE: Nightly Date Stamp 2009-05-07 00:01:13 -04:00
Brad King c2cb8a213c STYLE: Nightly Date Stamp 2009-05-06 00:01:05 -04:00
Brad King e9f2c6f7d7 STYLE: Nightly Date Stamp 2009-05-05 00:01:03 -04:00
Brad King 1ce218afd3 STYLE: Nightly Date Stamp 2009-05-04 00:01:03 -04:00
Brad King 783a6cadc8 STYLE: Nightly Date Stamp 2009-05-03 00:01:03 -04:00
Brad King d8b1717492 STYLE: Nightly Date Stamp 2009-05-02 00:01:04 -04:00
Brad King 5f7ea11f97 STYLE: Nightly Date Stamp 2009-05-01 00:01:02 -04:00
Brad King 7159bacdd9 STYLE: Nightly Date Stamp 2009-04-30 00:01:10 -04:00
Brad King 77f85db5d7 STYLE: Nightly Date Stamp 2009-04-29 00:01:04 -04:00
Brad King 9384790d04 STYLE: Nightly Date Stamp 2009-04-28 00:01:03 -04:00
Brad King e128583cb4 STYLE: Nightly Date Stamp 2009-04-27 00:01:02 -04:00
Brad King 861cd084f3 STYLE: Nightly Date Stamp 2009-04-26 00:01:03 -04:00
Brad King 79fb689e2e STYLE: Nightly Date Stamp 2009-04-25 00:01:05 -04:00
Brad King 70b2f59c3f STYLE: Nightly Date Stamp 2009-04-24 00:01:04 -04:00
Bill Hoffman 7fc99c94d4 ENH: check in almost building VMS stuff with VMSBuild directory since the bootstrap script will not work on VMS 2009-04-23 11:09:47 -04:00
Brad King f353df7ffc STYLE: Nightly Date Stamp 2009-04-23 00:01:05 -04:00
Brad King b1005a0e5e STYLE: Nightly Date Stamp 2009-04-22 00:01:11 -04:00
Alexander Neundorf ce6849f057 ENH: also recognize rxvt-256color as a color terminal (#8913, patch from Deewiant)
Alex
2009-04-21 18:23:02 -04:00
Brad King 714d2fc04b ENH: Remove obscure method from KWSys SystemTools
This removes SystemTools::FileExistsInParentDirectories from KWSys since
it is a special-purpose method that is not generally useful.
2009-04-21 11:36:59 -04:00
Brad King 7bb8678fc6 STYLE: Nightly Date Stamp 2009-04-21 00:01:06 -04:00
Brad King 20f4fdee33 BUG: Fix SystemTools::IsSubDirectory on bad input
When SystemTools::GetParentDirectory was fixed to never remove the root
path component from a full path we violated an assumption made by
IsSubDirectory that eventually GetParentDirectory returns an empty
string.  This led to an infinite loop if the potential parent directory
is empty, so we explicitly avoid that case.
2009-04-20 08:42:05 -04:00
Brad King 102697e5d0 STYLE: Nightly Date Stamp 2009-04-20 00:01:09 -04:00
Brad King 289ce0b80a STYLE: Nightly Date Stamp 2009-04-19 00:01:03 -04:00
Brad King 7929462a39 STYLE: Nightly Date Stamp 2009-04-18 00:01:14 -04:00
Brad King 3e0db72aaa STYLE: Nightly Date Stamp 2009-04-17 00:01:04 -04:00
Brad King 0d5b456c29 STYLE: Nightly Date Stamp 2009-04-16 00:01:10 -04:00
Brad King 3824f54c17 BUG: Replace brittle GetParentDirectory impl
The previous change to this method broke cases where the input path does
not exist.  The SystemTools::GetParentDirectory method is redundant with
the more robust SystemTools::GetFilenamePath.  This replaces its
implementation to just call GetFilenamePath.
2009-04-15 13:03:33 -04:00
Yumin Yuan f3035ff78d BUG: SystemTools::GetParentDirectory() will crash if "/" is passed in as argement. Valid check is added to make sure the input argment exists, and if "/" is passed in, empty string will be returned. 2009-04-15 10:45:29 -04:00
Brad King 6218a1a786 STYLE: Nightly Date Stamp 2009-04-15 00:01:09 -04:00
Brad King 19d11e2a1f ENH: Skip KWSys name maros in case of identity
All KWSys C symbol names begin with the KWSYS_NAMESPACE defined at
configuration time.  For ease of editing we write canonical names with
the prefix 'kwsys' and use macros to map them to the configured prefix
at preprocessing time.  In the case of standalone KWSys, the prefix is
'kwsys', so the macros were previously defined to their own names.

We now skip defining the macros in the identity case so that the final
symbol names are never themselves macros.  This will allow the symbols
to be further transformed behind the scenes to help linkers in special
cases on some platforms.
2009-04-14 09:35:56 -04:00
Brad King 286a136adb STYLE: Nightly Date Stamp 2009-04-14 00:01:04 -04:00
Brad King 172d07fca9 STYLE: Nightly Date Stamp 2009-04-13 00:01:15 -04:00
Brad King 9a884dd3f4 STYLE: Nightly Date Stamp 2009-04-12 00:01:04 -04:00
Brad King c723625f6a STYLE: Nightly Date Stamp 2009-04-11 00:01:04 -04:00
Brad King 3c0e239346 STYLE: Nightly Date Stamp 2009-04-10 00:01:09 -04:00
Brad King dfd95e100d STYLE: Nightly Date Stamp 2009-04-09 00:01:02 -04:00
Brad King d72743928e STYLE: Nightly Date Stamp 2009-04-08 00:01:05 -04:00
Brad King 36e9a6ed81 STYLE: Nightly Date Stamp 2009-04-07 00:01:06 -04:00
Brad King ae284cc5c8 BUG: Fix parsing of linux 2.6 /proc/meminfo format
Previously KWSys SystemInformation parsed this file assuming a strict
order and set of fields, but the order is not reliable.  This
generalizes the implementation to support any order and extra fields.
2009-04-06 14:55:54 -04:00
Mathieu Malaterre c9949f97a7 BUG: comment out faulty seekp which make kwsys::*stringstream fails on platform with no std::*stringstream implementation 2009-04-06 03:39:42 -04:00
Brad King 7855f988d4 STYLE: Nightly Date Stamp 2009-04-06 00:01:08 -04:00
Mathieu Malaterre 1ab71112c2 ENH: hopefully seekp is the call making kwsys::stringstream behaves oddly on sunos 2009-04-05 06:55:52 -04:00
Brad King 434bd99dc7 STYLE: Nightly Date Stamp 2009-04-05 00:01:12 -04:00
Brad King 4a8d3019cd STYLE: Nightly Date Stamp 2009-04-04 00:01:08 -04:00
Brad King 17ea632e93 STYLE: Nightly Date Stamp 2009-04-03 00:01:04 -04:00
Mathieu Malaterre 31c4a269b0 ENH: trying to reproduce issue on sunos 2009-04-02 06:12:53 -04:00
Brad King fd7656f7c3 STYLE: Nightly Date Stamp 2009-04-02 00:01:04 -04:00
Brad King 475e1d78cb STYLE: Nightly Date Stamp 2009-04-01 00:01:08 -04:00
Brad King 6f4554982d STYLE: Nightly Date Stamp 2009-03-31 00:01:04 -04:00
Mathieu Malaterre 3a34b35dec COMP: missing string.h header for strlen. 2009-03-30 08:27:44 -04:00
Mathieu Malaterre 318bfab8c1 ENH: remote debugging of sunos 2009-03-30 04:10:37 -04:00
Brad King 1bd0b15145 STYLE: Nightly Date Stamp 2009-03-30 00:01:04 -04:00
Brad King 3489950746 STYLE: Nightly Date Stamp 2009-03-29 00:01:05 -04:00
Brad King 7e8ad26e5a STYLE: Nightly Date Stamp 2009-03-28 00:01:04 -04:00
Brad King 27598a53c9 STYLE: Nightly Date Stamp 2009-03-27 00:01:05 -04:00
Brad King 9b41f200ad STYLE: Nightly Date Stamp 2009-03-26 00:01:07 -04:00
Brad King 5efdefbc27 STYLE: Nightly Date Stamp 2009-03-25 00:01:06 -04:00
Brad King db4390ea7c STYLE: Nightly Date Stamp 2009-03-24 00:01:03 -04:00
Brad King 10a91d8467 STYLE: Nightly Date Stamp 2009-03-23 00:01:35 -04:00
Brad King acabe5debb STYLE: Nightly Date Stamp 2009-03-22 00:01:04 -04:00
Brad King 8f5a4c431c STYLE: Nightly Date Stamp 2009-03-21 00:01:03 -04:00
Brad King 1ce28d1db8 STYLE: Nightly Date Stamp 2009-03-20 00:01:05 -04:00
Francois Bertel ad4a2fd697 COMP:Fixed warnings with gcc 4.3.2. 2009-03-19 22:48:05 -04:00
Francois Bertel 1a13469a26 COMP:Try to fix error on HP. 2009-03-19 11:48:50 -04:00
Francois Bertel c8f9ee6b74 COMP:try to fix error on qnx-V3.3.5-gcc_ntox86. 2009-03-19 10:03:36 -04:00
Francois Bertel a638a2f8a0 COMP:Fixed warnings. 2009-03-19 09:20:40 -04:00
Francois Bertel 675b76d931 COMP:Fixed VS 64-bit warning C4267 line 432 of RegularExpression.cxx 2009-03-19 09:09:33 -04:00
Brad King b74c0a03e5 STYLE: Nightly Date Stamp 2009-03-19 00:01:07 -04:00