KWSys Robot
729ee803d6
KWSys Nightly Date Stamp
2009-12-30 23:52:48 -05:00
KWSys Robot
978de74d6e
KWSys Nightly Date Stamp
2009-12-29 23:53:04 -05:00
KWSys Robot
5ce7e35960
KWSys Nightly Date Stamp
2009-12-28 23:52:55 -05:00
KWSys Robot
9e96d80b24
KWSys Nightly Date Stamp
2009-12-27 23:53:18 -05:00
KWSys Robot
2dc2b13e86
KWSys Nightly Date Stamp
2009-12-26 23:53:12 -05:00
KWSys Robot
7d67773d9b
KWSys Nightly Date Stamp
2009-12-25 23:53:22 -05:00
KWSys Robot
685b305c7e
KWSys Nightly Date Stamp
2009-12-24 23:53:19 -05:00
KWSys Robot
5da839a759
KWSys Nightly Date Stamp
2009-12-23 23:53:25 -05:00
KWSys Robot
cab08a19ff
KWSys Nightly Date Stamp
2009-12-22 23:53:30 -05:00
KWSys Robot
e44bed50de
KWSys Nightly Date Stamp
2009-12-21 23:53:38 -05:00
KWSys Robot
24ba4d7e01
KWSys Nightly Date Stamp
2009-12-20 23:53:43 -05:00
KWSys Robot
043ab8d754
KWSys Nightly Date Stamp
2009-12-19 23:53:53 -05:00
KWSys Robot
31cf7f91d2
KWSys Nightly Date Stamp
2009-12-18 23:53:59 -05:00
KWSys Robot
449b9aea23
KWSys Nightly Date Stamp
2009-12-17 23:54:11 -05:00
KWSys Robot
019e6db332
KWSys Nightly Date Stamp
2009-12-16 23:54:25 -05:00
Brad King
56fe170043
KWSys: Improve SharedForward platform table
...
The SharedForward header contains a preprocessor table mapping from
platform to equivalents for ldd and LD_LIBRARY_PATH. This commit fixes
the table preprocessor directives to guarantee at most one platform.
This generalizes the commit "Fix compilation of VTK on debian/sparc".
2009-12-16 14:25:46 -05:00
KWSys Robot
e800604f34
KWSys Nightly Date Stamp
2009-12-15 23:54:16 -05:00
Brad King
357096d35a
KWSys: Build tests after libraries
...
The TestSharedForward executable and TestDynload module do not actually
link to a KWSys library, but it is nice to build them after the
libraries just like all other test binaries.
This also works around a universal binary bug in Xcode 2.x. It forgets
to create the output directory for the executable before linking it. We
avoid the problem by putting the library in the directory first.
2009-12-15 14:15:27 -05:00
KWSys Robot
6adeb340f2
KWSys Nightly Date Stamp
2009-12-14 23:54:21 -05:00
KWSys Robot
f7171e2b76
KWSys Nightly Date Stamp
2009-12-13 23:54:25 -05:00
KWSys Robot
36b9e0b984
KWSys Nightly Date Stamp
2009-12-12 23:54:35 -05:00
KWSys Robot
f73c7b106e
KWSys Nightly Date Stamp
2009-12-11 23:54:39 -05:00
David Cole
146cb98cb0
Add fallback for detecting CPU speed from Windows registry on builds where USE_ASM_INSTRUCTIONS gets defined to 0. (Win64 builds.) Clean up methods to return false when not implemented or when they fail to detect the things they're supposed to detect. This file still needs a lot more work to have a fully working implementation on Win64 builds. Committing it now because it's slightly better than it was, and there is a need for the CPU speed detection code in projects that depend on kwsys. Will file a bug shortly to request that the missing implementations get filled in...
2009-12-11 13:08:29 -05:00
KWSys Robot
be12a1ae8f
KWSys Nightly Date Stamp
2009-12-10 23:54:42 -05:00
KWSys Robot
a082702d84
KWSys Nightly Date Stamp
2009-12-09 23:54:50 -05:00
KWSys Robot
02a8eee3aa
KWSys Nightly Date Stamp
2009-12-08 23:54:59 -05:00
Brad King
15316c12f5
KWSys: Remove default exe output path
...
KWSys should not set variables outside its namespace. It can honor the
EXECUTABLE_OUTPUT_PATH set by a host project, but tere is no need for it
to set a default in the host project cache.
2009-12-08 11:27:22 -05:00
KWSys Robot
dd1a0c0562
KWSys Nightly Date Stamp
2009-12-07 23:55:03 -05:00
KWSys Robot
80b2c30d56
KWSys Nightly Date Stamp
2009-12-06 23:55:09 -05:00
KWSys Robot
bc4be86a9d
KWSys Nightly Date Stamp
2009-12-05 23:55:13 -05:00
KWSys Robot
0570b3c794
KWSys Nightly Date Stamp
2009-12-04 23:55:18 -05:00
KWSys Robot
d2f1dac136
KWSys Nightly Date Stamp
2009-12-03 23:55:24 -05:00
KWSys Robot
5b0f15f509
KWSys Nightly Date Stamp
2009-12-02 23:55:34 -05:00
KWSys Robot
cdc9ef3b5a
KWSys Nightly Date Stamp
2009-12-01 23:55:35 -05:00
Brad King
1a5f209e62
KWSys: List processes with "ps -ef" on OpenSolaris
...
In order to kill process trees we need to list all processes to find
those whose parent we are killing. We implement process listing on
OpenSolaris by using "ps -ef" and parsing the resulting format:
UID PID PPID C STIME TTY TIME CMD
%*s %d %d %*[^\n]\n
2009-12-01 08:37:14 -05:00
Brad King
be36c14bea
KWSys: Use "ps -Af" for process list on QNX
...
In order to kill process trees we need to list all processes to find
those whose parent we are killing. We implement process listing on QNX
using "ps -Af" and parsing the resulting format:
UID PID PPID C STIME TTY TIME CMD
%*d %d %d %*[^\n]\n
2009-12-01 08:10:22 -05:00
KWSys Robot
afef52454e
KWSys Nightly Date Stamp
2009-11-30 23:55:43 -05:00
Brad King
2aaa967715
KWSys: Fix process tree kill on 64-bit Windows
...
We enumerate processes to identify those whose parent is being killed so
that we can recursively kill the children. Enumeration uses the
Process32(First|Next) windows API functions, which accept PROCESSENTRY32
objects to be filled. This commit corrects the declaration of the entry
structure to account for its size on 64-bit Windows.
2009-11-30 16:30:19 -05:00
Brad King
b21f1eaeae
KWSys: Restore SIGSTOP/SIGKILL to end process tree
...
On UNIX systems we kill a tree of processes by performing a DFS walk of
the tree. We send SIGSTOP to each process encountered, recursively
handle its children, and then send SIGKILL.
We once used the above approach in the past, but it was removed by the
commit "Do not send both SIGSTOP and SIGKILL when killing a process".
The commit was meant to work-around an OS X 10.3 bug in which the child
would not always honor SIGKILL after SIGSTOP. At the time we wrongly
assumed that the process tree remains intact after SIGKILL and before
the child is reaped. In fact the grandchildren may be re-parented to
ppid=1 even before the child is reaped, which causes the DFS walk to
miss them.
2009-11-30 13:14:02 -05:00
KWSys Robot
997f20b93b
KWSys Nightly Date Stamp
2009-11-29 23:55:49 -05:00
KWSys Robot
b936065084
KWSys Nightly Date Stamp
2009-11-28 23:55:57 -05:00
KWSys Robot
d93bd3ac42
KWSys Nightly Date Stamp
2009-11-27 23:56:03 -05:00
KWSys Robot
8e7a630ff6
KWSys Nightly Date Stamp
2009-11-26 23:56:07 -05:00
KWSys Robot
e802130fe2
KWSys Nightly Date Stamp
2009-11-25 23:56:11 -05:00
KWSys Robot
f81a3dfff2
KWSys Nightly Date Stamp
2009-11-24 23:56:18 -05:00
Zach Mullen
254d267e36
Mac has gettimeofday defined, but cmsys wasn't aware of that, so it was falling back to using time() which only provides second resolution. Fixed to allow usec res.
2009-11-24 14:10:05 -05:00
Brad King
a03f801f7f
Suppress Intel float-equality test warnings
...
We suppress Intel warning 1572 because the cases where we do equality
tests are valid. Since this project does not do numerical computations
we need not worry about real instances against which this warning
protects.
2009-11-24 08:57:06 -05:00
KWSys Robot
24106f8600
KWSys Nightly Date Stamp
2009-11-23 23:56:25 -05:00
Brad King
574902fef2
KWSys: Work-around llvm-gcc-4.2 optimizer bug
...
Under -O3 optimization this compiler breaks our testProcess.c source file.
We force -O0 for the file to avoid the problem.
2009-11-23 15:31:29 -05:00
KWSys Robot
62acb921f3
KWSys Nightly Date Stamp
2009-11-22 23:56:29 -05:00
KWSys Robot
892accffba
KWSys Nightly Date Stamp
2009-11-21 23:56:35 -05:00
KWSys Robot
d06ec80d0c
KWSys Nightly Date Stamp
2009-11-20 23:56:43 -05:00
Brad King
9ec851bc90
KWSys: Set CMP0003 to NEW
...
The commit "Enable loose loop constructs in KWSys" set the minimum
required CMake version to 2.4.5. This regressed the setting of CMP0003,
so we restore it in this commit.
2009-11-20 12:04:08 -05:00
Brad King
bbbdf54a35
Fix KWSys FundamentalType for Universal Binaries
...
The FundamentalType header needs to know type sizes at preprocessing
time. This commit teaches it to avoid using CHECK_TYPE_SIZE because the
macro does not work for types whose size varies across architectuers in
Mac OS X universal binaries. Fortunately the Mac compilers provide just
enough information to detect the needed type sizes during preprocessing.
We now use preprocessor macros instead of configuration tests whenever
they are available. As a side effect this reduces the number of
try-compiles needed with GCC.
See issue #9913 .
2009-11-20 08:38:18 -05:00
Brad King
1136b97647
Create KWSYS_PLATFORM_INFO_TEST macro
...
This macro helps KWSys perform try-compile tests that extract 'INFO'
strings out of compiled binaries. It works for CMake 2.6 and above.
On CMake 2.4 it always returns an empty list of information values,
so this should be used only as an optimization until 2.6 is required.
2009-11-20 08:37:56 -05:00
Brad King
2d80c9e31a
Check for 'long long' without computing size
...
In KWSys IOStream we need to detect whether 'long long' exists but we do
not need its size. We avoid using CHECK_TYPE_SIZE because it does not
work for types whose size varies across architectuers in Mac OS X
universal binaries. See issue #9913 .
2009-11-20 08:37:33 -05:00
Brad King
2a789187fc
Enable loose loop constructs in KWSys
...
We set CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in KWSys's CMakeLists.txt file
to enable simpler endif() syntax for CMake 2.4.
2009-11-20 08:37:10 -05:00
KWSys Robot
c6f13b97ea
KWSys Nightly Date Stamp
2009-11-19 23:56:47 -05:00
KWSys Robot
59334dc8a4
KWSys Nightly Date Stamp
2009-11-18 23:56:53 -05:00
David Cole
ba21622048
Fix bogus calls to GetMemoryStatus and GetMemoryStatusEx: need to set the dwLength member of the struct prior to calling. Otherwise it's just a garbage value from the stack. Also, pay attention to return value of GetMemoryStatusEx: if it indicates failure then just return 0 without using any of the other data the call returns.
2009-11-18 11:22:38 -05:00
KWSys Robot
77fddc1f65
KWSys Nightly Date Stamp
2009-11-17 23:57:01 -05:00
KWSys Robot
a52ebca54c
KWSys Nightly Date Stamp
2009-11-16 23:57:05 -05:00
Bill Hoffman
b1fe517688
Try to fix missing size_t on qnx
2009-11-16 17:03:59 -05:00
Luis Ibanez
69fdf711fe
COMP: Fixing return type of the Get methods associated with variables that
...
were changed from "unsigned long" to "size_t" to solve warnings about
64 bits to 32 bits truncations.
2009-11-16 12:43:44 -05:00
KWSys Robot
8ec9935099
KWSys Nightly Date Stamp
2009-11-15 23:57:13 -05:00
Luis Ibanez
7f601830a2
COMP: Fixing type declarations and type conversions that could potentially
...
truncate 64 bits types into 32 bits types.
2009-11-15 15:57:06 -05:00
KWSys Robot
bc303427bf
KWSys Nightly Date Stamp
2009-11-14 23:57:18 -05:00
KWSys Robot
57865607f4
KWSys Nightly Date Stamp
2009-11-13 23:57:24 -05:00
KWSys Robot
e28636ba61
KWSys Nightly Date Stamp
2009-11-12 23:57:29 -05:00
KWSys Robot
0a5b247761
KWSys Nightly Date Stamp
2009-11-11 23:57:35 -05:00
KWSys Robot
218bd8553a
KWSys Nightly Date Stamp
2009-11-10 23:57:40 -05:00
KWSys Robot
f5b7f95c45
KWSys Nightly Date Stamp
2009-11-09 23:57:55 -05:00
KWSys Robot
36197f45ca
KWSys Nightly Date Stamp
2009-11-08 23:57:52 -05:00
KWSys Robot
3c17c4117f
KWSys Nightly Date Stamp
2009-11-07 23:58:00 -05:00
KWSys Robot
a7ba04a8cc
KWSys Nightly Date Stamp
2009-11-06 23:58:04 -05:00
KWSys Robot
723453d4aa
KWSys Nightly Date Stamp
2009-11-05 23:58:10 -05:00
KWSys Robot
0cdc1e979e
KWSys Nightly Date Stamp
2009-11-04 23:58:17 -05:00
KWSys Robot
f87bdbf328
KWSys Nightly Date Stamp
2009-11-03 23:58:33 -05:00
KWSys Robot
1b1d954f7e
KWSys Nightly Date Stamp
2009-11-02 23:58:29 -05:00
KWSys Robot
66fdf2038c
KWSys Nightly Date Stamp
2009-11-01 23:58:34 -05:00
KWSys Robot
e2d9595ae9
KWSys Nightly Date Stamp
2009-10-31 23:58:41 -04:00
KWSys Robot
b7e25ab3e0
KWSys Nightly Date Stamp
2009-10-30 23:58:46 -04:00
KWSys Robot
4e26159ec2
KWSys Nightly Date Stamp
2009-10-29 23:58:53 -04:00
KWSys Robot
45d0e96694
KWSys Nightly Date Stamp
2009-10-28 23:59:01 -04:00
KWSys Robot
e97fc32a63
KWSys Nightly Date Stamp
2009-10-27 23:59:07 -04:00
KWSys Robot
92caf34733
KWSys Nightly Date Stamp
2009-10-26 23:59:12 -04:00
KWSys Robot
3d8784cd52
KWSys Nightly Date Stamp
2009-10-25 23:59:16 -04:00
KWSys Robot
609d27e4fa
KWSys Nightly Date Stamp
2009-10-24 23:59:27 -04:00
KWSys Robot
f5545899ae
KWSys Nightly Date Stamp
2009-10-23 23:59:33 -04:00
KWSys Robot
11d85a5748
KWSys Nightly Date Stamp
2009-10-22 23:59:35 -04:00
KWSys Robot
7b5ae0d282
KWSys Nightly Date Stamp
2009-10-21 23:59:41 -04:00
KWSys Robot
7130628312
KWSys Nightly Date Stamp
2009-10-20 23:59:52 -04:00
KWSys Robot
c6a4dce3f4
KWSys Nightly Date Stamp
2009-10-19 23:59:53 -04:00
Alexander Neundorf
5e2851f855
fix two more icpc warnings, ok by Brad (float compared for equality, unused variable)
...
Alex
2009-10-19 12:57:36 -04:00
KWSys Robot
b3b2943662
KWSys Nightly Date Stamp
2009-10-18 23:59:58 -04:00
KWSys Robot
95a25ad8c4
KWSys Nightly Date Stamp
2009-10-18 00:00:07 -04:00
KWSys Robot
772253ecc6
KWSys Nightly Date Stamp
2009-10-17 00:00:11 -04:00
David Cole
847918b38f
Better fix for crash on Windows. This time it will even work on Linux, too. That GetLineFromStream method while loop sure is fussy.
2009-10-16 13:23:52 -04:00
David Cole
9578bfc0ef
Fix crash on Windows. If input stream is no good, do not try to read a line from it. Return false and an empty line instead...
2009-10-16 11:43:05 -04:00
KWSys Robot
023889cb2c
KWSys Nightly Date Stamp
2009-10-16 00:01:00 -04:00
KWSys Robot
b5f63c6b7d
KWSys Nightly Date Stamp
2009-10-15 00:00:27 -04:00
KWSys Robot
85b2f936d6
KWSys Nightly Date Stamp
2009-10-14 00:00:28 -04:00
KWSys Robot
e0230d7bef
KWSys Nightly Date Stamp
2009-10-13 00:00:35 -04:00
KWSys Robot
300dcd45a0
KWSys Nightly Date Stamp
2009-10-12 00:00:39 -04:00
KWSys Robot
7eee2f0062
KWSys Nightly Date Stamp
2009-10-11 00:00:45 -04:00
KWSys Robot
a450048fd5
KWSys Nightly Date Stamp
2009-10-10 00:00:52 -04:00
Zach Mullen
8fe2738096
Added OS Platform (cpu architecture) detection support to windows systems
2009-10-09 11:10:06 -04:00
KWSys Robot
a59e01795d
KWSys Nightly Date Stamp
2009-10-09 00:00:57 -04:00
Zach Mullen
2af045dfc5
Trimmed off the newline from sw_vers output on mac, it could cause xml parsing errors if left in
2009-10-08 10:56:55 -04:00
KWSys Robot
f3a0fba75e
KWSys Nightly Date Stamp
2009-10-08 00:01:02 -04:00
KWSys Robot
d542cc01cb
KWSys Nightly Date Stamp
2009-10-07 00:01:07 -04:00
Zach Mullen
80533948b2
Fix bus error on mac. Was a result of not having null termination of arg list to sw_vers calls.
2009-10-06 14:55:48 -04:00
Zach Mullen
444e581860
Added better OS information for Mac OS X
2009-10-06 11:46:16 -04:00
KWSys Robot
6b14c1d273
KWSys Nightly Date Stamp
2009-10-06 00:01:05 -04:00
KWSys Robot
b783fbd04c
KWSys Nightly Date Stamp
2009-10-05 00:01:03 -04:00
KWSys Robot
eddfb095f9
KWSys Nightly Date Stamp
2009-10-04 00:01:06 -04:00
KWSys Robot
b1686031e4
KWSys Nightly Date Stamp
2009-10-03 00:01:03 -04:00
KWSys Robot
2e78b58d79
KWSys Nightly Date Stamp
2009-10-02 00:01:09 -04:00
KWSys Robot
3810911f56
KWSys Nightly Date Stamp
2009-10-01 00:01:11 -04:00
David Cole
a9dcc7fd47
Fix warnings in CMake source code. Suppress warnings in Lexer and Parser files that are 'too hard' to fix.
2009-09-30 11:41:34 -04:00
KWSys Robot
27c04be03a
KWSys Nightly Date Stamp
2009-09-30 00:01:27 -04:00
KWSys Robot
defd8b87e1
KWSys Nightly Date Stamp
2009-09-29 00:01:07 -04:00
Brad King
de955e4b6d
Convert KWSys to OSI-approved BSD License
...
This converts the KWSys license to a pure 3-clause OSI-approved BSD
License. We drop the previous license clause requiring modified
versions to be plainly marked. We also update the KWSys copyright to
cover the full development time range.
2009-09-28 11:37:35 -04:00
Brad King
832f0a88f0
Install KWSys Copyright.txt as documentation
...
This commit adds KWSys configuration option KWSYS_INSTALL_DOC_DIR to
specify the directory for installation of documentation. We use it to
put the KWSys Copyright.txt file at the location
${KWSYS_INSTALL_DOC_DIR}/${KWSYS_NAMESPACE}/Copyright.txt
in the project installation tree. This helps containing projects meet
the license requirement to distribute the copyright and license with
binary forms.
2009-09-28 11:36:54 -04:00
KWSys Robot
f73c769dd6
KWSys Nightly Date Stamp
2009-09-28 00:01:04 -04:00
KWSys Robot
babd4c6da8
KWSys Nightly Date Stamp
2009-09-27 00:01:04 -04:00
KWSys Robot
680c780b22
KWSys Nightly Date Stamp
2009-09-26 00:01:04 -04:00
Brad King
9027506b10
Avoid word 'Copyright' in KWSys MD5 encode test
...
We replace the test text in the kwsys.testEncode test to avoid the word
'Copyright'. This simplifies grep results for Copyright verification.
2009-09-25 11:19:39 -04:00
KWSys Robot
35c8e2e35e
KWSys Nightly Date Stamp
2009-09-25 00:01:08 -04:00
Brad King
f10929ae7c
Restore KWSys SystemTools _WIN32 state on cygwin
...
The commit "Fix KWSys SystemTools build on cygwin with -mwin32" tried to
restore the state of the _WIN32 definition that was broken by the commit
"Optimize KWSys SystemTools::FileExists on Windows". It did so for the
case of building with -mwin32 on cygwin, but since including <windows.h>
defines _WIN32, it failed for the case of not using -mwin32.
This commit restores the state of _WIN32 in all cases by undefining it
after including <windows.h> if it was not defined beforehand.
2009-09-24 08:10:46 -04:00
KWSys Robot
d6ffe2d512
KWSys Nightly Date Stamp
2009-09-24 00:01:04 -04:00
Brad King
4e121af95e
Fix KWSys SystemTools build on cygwin with -mwin32
...
Commit "Optimize KWSys SystemTools::FileExists on Windows" accidentally
added "#undef _WIN32" when including <windows.h> on cygwin, which breaks
builds using the -mwin32 flag. This commit removes that line and fixes
the real error it was intended to avoid.
2009-09-23 10:45:00 -04:00
KWSys Robot
07a473d5f5
KWSys Nightly Date Stamp
2009-09-23 00:01:07 -04:00
Bill Hoffman
fe57e7252f
Can not use cmakedefine in kwsys because bootstrap of cmake does not support it.
2009-09-22 15:59:26 -04:00
Bill Hoffman
472966ed5f
Can not use cmakedefine in kwsys because bootstrap of cmake does not support it.
2009-09-22 15:58:13 -04:00
Bill Hoffman
e7601ca600
Put a flag in that will stop system tools from deleting system environment memory on exit, as it can cause gcov to crash the programs.
2009-09-22 14:56:33 -04:00
Brad King
9b6c3d0782
Optimize KWSys SystemTools::FileExists on Windows
...
We optimize this method by using the GetFileAttributesExA native Windows
API to check for file existence when possible. For real Windows builds
we always use it. For Cygwin we use cygwin_conv_to_win32_path to get a
native Windows path if possible and otherwise fall back to 'access'.
Cygwin-to-Windows path conversion and cache by Wojciech Migda.
See issue #8826 .
2009-09-22 13:02:20 -04:00
KWSys Robot
ca29998943
KWSys Nightly Date Stamp
2009-09-22 00:01:03 -04:00
KWSys Robot
004f9931a9
KWSys Nightly Date Stamp
2009-09-21 00:01:04 -04:00
KWSys Robot
2396ff9889
KWSys Nightly Date Stamp
2009-09-20 00:01:18 -04:00
KWSys Robot
5ea5ca3c88
KWSys Nightly Date Stamp
2009-09-19 00:01:41 -04:00
KWSys Robot
b872d09ea2
KWSys Nightly Date Stamp
2009-09-18 00:01:06 -04:00
KWSys Robot
ab64fba44f
KWSys Nightly Date Stamp
2009-09-17 00:01:03 -04:00
KWSys Robot
2c8e929a70
KWSys Nightly Date Stamp
2009-09-16 00:01:21 -04:00
KWSys Robot
842098defc
KWSys Nightly Date Stamp
2009-09-15 00:01:03 -04:00
Bill Hoffman
c83591e818
Fix for Bug #9190 , -U did not work on case insensitive file systems because of call to glob convert to regex that expected to work with files.
2009-09-14 13:45:40 -04:00
KWSys Robot
c32ad6ce32
KWSys Nightly Date Stamp
2009-09-14 00:01:10 -04:00
KWSys Robot
ab3d48a008
KWSys Nightly Date Stamp
2009-09-13 00:01:03 -04:00
KWSys Robot
054be74f8d
KWSys Nightly Date Stamp
2009-09-12 00:01:03 -04:00
KWSys Robot
e0df0495e5
KWSys Nightly Date Stamp
2009-09-11 00:01:04 -04:00
KWSys Robot
55e4ac5ad1
KWSys Nightly Date Stamp
2009-09-10 00:01:03 -04:00
KWSys Robot
4678c619ce
KWSys Nightly Date Stamp
2009-09-09 00:01:05 -04:00
KWSys Robot
5252ef4862
KWSys Nightly Date Stamp
2009-09-08 00:01:04 -04:00
KWSys Robot
f143dc2af2
KWSys Nightly Date Stamp
2009-09-07 00:01:04 -04:00
KWSys Robot
c858146872
KWSys Nightly Date Stamp
2009-09-06 00:01:06 -04:00
KWSys Robot
7959d76755
KWSys Nightly Date Stamp
2009-09-05 00:01:06 -04:00
KWSys Robot
85463b9955
KWSys Nightly Date Stamp
2009-09-04 00:01:06 -04:00
Brad King
cd147f0f71
COMP: Silence useless Borland inlining warning
...
KWSys tries not to force anything on source files that include its
headers, but Borland warning 8027 leaves us no choice when we want to
have inline function definitions. This commit disables the warning for
the RegularExpression header and any file that includes it.
2009-09-03 11:10:06 -04:00
KWSys Robot
3ba3f9e917
KWSys Nightly Date Stamp
2009-09-03 00:01:12 -04:00
KWSys Robot
99144383cf
KWSys Nightly Date Stamp
2009-09-02 00:01:08 -04:00
KWSys Robot
1d772a2b4f
KWSys Nightly Date Stamp
2009-09-01 00:01:14 -04:00
Brad King
207aab6acf
Define kwsys_ios_binary macro for std::ios::binary
...
The 'binary' openmode does not exist on all compilers. We define macro
<kwsys>_ios_binary, where <kwsys> is the KWSys namespace, to refer to
std::ios::binary if it exists and 0 otherwise. Sample usage:
kwsys_ios::ifstream fin(fn, kwsys_ios::ios::in | kwsys_ios_binary);
2009-08-31 13:00:55 -04:00
KWSys Robot
bf830eea5e
KWSys Nightly Date Stamp
2009-08-31 00:01:07 -04:00
KWSys Robot
3941546ba3
KWSys Nightly Date Stamp
2009-08-30 00:01:02 -04:00
KWSys Robot
82f95381f9
KWSys Nightly Date Stamp
2009-08-29 00:01:02 -04:00
KWSys Robot
00ca781088
KWSys Nightly Date Stamp
2009-08-28 00:01:04 -04:00
KWSys Robot
fdc0d9777c
KWSys Nightly Date Stamp
2009-08-27 00:01:06 -04:00
KWSys Robot
ef54a8b7b7
KWSys Nightly Date Stamp
2009-08-26 00:01:03 -04:00
KWSys Robot
c8f87419f8
KWSys Nightly Date Stamp
2009-08-25 00:01:07 -04:00
KWSys Robot
40ddd53543
KWSys Nightly Date Stamp
2009-08-24 00:01:03 -04:00
KWSys Robot
88b47fe855
KWSys Nightly Date Stamp
2009-08-23 00:01:04 -04:00
KWSys Robot
96b71fe566
KWSys Nightly Date Stamp
2009-08-22 00:01:03 -04:00
KWSys Robot
8f84ec9ad7
KWSys Nightly Date Stamp
2009-08-21 00:01:03 -04:00
KWSys Robot
4c77eb5e38
KWSys Nightly Date Stamp
2009-08-20 00:01:04 -04:00
KWSys Robot
d8ecd02a7a
KWSys Nightly Date Stamp
2009-08-19 00:01:04 -04:00
KWSys Robot
154a35c7bc
KWSys Nightly Date Stamp
2009-08-18 00:01:06 -04:00
KWSys Robot
5137cc4a05
KWSys Nightly Date Stamp
2009-08-17 00:01:04 -04:00
KWSys Robot
47796c5cb9
KWSys Nightly Date Stamp
2009-08-16 00:01:06 -04:00
KWSys Robot
890fd2a17d
KWSys Nightly Date Stamp
2009-08-15 00:01:03 -04:00
KWSys Robot
c538a726b2
KWSys Nightly Date Stamp
2009-08-14 00:01:10 -04:00
KWSys Robot
2f8f4fae55
KWSys Nightly Date Stamp
2009-08-13 00:01:03 -04:00
KWSys Robot
29f50a1f7d
KWSys Nightly Date Stamp
2009-08-12 00:01:04 -04:00
KWSys Robot
6e3c6a1a80
KWSys Nightly Date Stamp
2009-08-11 00:01:04 -04:00
KWSys Robot
cf6634fe2a
KWSys Nightly Date Stamp
2009-08-10 00:01:05 -04:00
KWSys Robot
ecf4f13acb
KWSys Nightly Date Stamp
2009-08-09 00:01:02 -04:00
KWSys Robot
55d10489a0
KWSys Nightly Date Stamp
2009-08-08 00:01:04 -04:00
KWSys Robot
2eb438c020
KWSys Nightly Date Stamp
2009-08-07 00:01:02 -04:00
Dave Partyka
9e7a3d7ece
COMP: attempt to fix more 'hidden by' warnings.
2009-08-06 19:01:13 -04:00
KWSys Robot
deb0db9af8
KWSys Nightly Date Stamp
2009-08-06 00:01:03 -04:00
KWSys Robot
b592154bfd
KWSys Nightly Date Stamp
2009-08-05 00:01:06 -04:00
KWSys Robot
346a5b2d46
KWSys Nightly Date Stamp
2009-08-04 00:01:03 -04:00
KWSys Robot
8049b50398
KWSys Nightly Date Stamp
2009-08-03 00:01:04 -04:00
KWSys Robot
a166e1baec
KWSys Nightly Date Stamp
2009-08-02 00:01:05 -04:00
KWSys Robot
196cc7ec95
KWSys Nightly Date Stamp
2009-08-01 00:01:07 -04:00
KWSys Robot
8783f8d078
KWSys Nightly Date Stamp
2009-07-31 00:01:03 -04:00
KWSys Robot
ace4d5d31d
STYLE: Nightly Date Stamp
2009-07-30 00:01:05 -04:00
KWSys Robot
797f91bc0b
STYLE: Nightly Date Stamp
2009-07-29 00:01:03 -04:00
KWSys Robot
87c3e1662c
STYLE: Nightly Date Stamp
2009-07-28 00:01:06 -04:00
Brad King
cf1225b9af
BUG: Enable large files only if <cstdio> works
...
Some AIX/gcc version combinations the <cstdio> header breaks when large
file support is enabled. See this GCC issue for details:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366
We work around the problem by enhancing the configuration check for
large file support to include <cstdio> when available. This will cause
LFS to be disabled when the above problem occurs.
2009-07-27 16:45:15 -04:00
KWSys Robot
4c0a142d3d
STYLE: Nightly Date Stamp
2009-07-27 00:01:07 -04:00
Dave Partyka
1d158cffca
ENH: try and see if using string.append instead of += will make valgrind not complaing that JoinPath is leaking.
2009-07-26 01:01:05 -04:00
KWSys Robot
de83a83b8c
STYLE: Nightly Date Stamp
2009-07-26 00:01:04 -04:00
KWSys Robot
d0a2ff5d6e
STYLE: Nightly Date Stamp
2009-07-25 00:01:04 -04:00
Mathieu Malaterre
961f9f583f
COMP: Fix compilation of VTK on debian/sparc (sparc is a CPU not an OS)
2009-07-24 12:15:41 -04:00
KWSys Robot
2ec179dec8
STYLE: Nightly Date Stamp
2009-07-24 00:01:04 -04:00
KWSys Robot
f5ce03ed59
STYLE: Nightly Date Stamp
2009-07-23 00:01:06 -04:00
KWSys Robot
7328a38480
STYLE: Nightly Date Stamp
2009-07-22 00:01:03 -04:00
KWSys Robot
0303589fd8
STYLE: Nightly Date Stamp
2009-07-21 00:01:04 -04:00
KWSys Robot
1b0b6b56e4
STYLE: Nightly Date Stamp
2009-07-20 00:01:04 -04:00
KWSys Robot
7f0a5700a6
STYLE: Nightly Date Stamp
2009-07-19 00:01:04 -04:00
KWSys Robot
cff19fc2dc
STYLE: Nightly Date Stamp
2009-07-18 00:01:04 -04:00
KWSys Robot
1be805609c
STYLE: Nightly Date Stamp
2009-07-17 00:01:05 -04:00
KWSys Robot
611c120ad6
STYLE: Nightly Date Stamp
2009-07-16 00:01:04 -04:00
KWSys Robot
ae9bff8e20
STYLE: Nightly Date Stamp
2009-07-15 00:01:02 -04:00
KWSys Robot
4d2dd55b9c
STYLE: Nightly Date Stamp
2009-07-14 00:01:10 -04:00
Brad King
b3e8fd3e9b
BUG: Parse escapes in single-quoted unix arguments
...
This fixes KWSys's unix-style command-line parsing to interpret
backslash escapes inside single-quoted strings.
2009-07-13 17:35:08 -04:00
Brad King
18e639d48a
ENH: Provide unix-sytle command line parsing
...
Add System_Parse_CommandForUnix to the KWSys System interface as a
utility to parse a unix-style command line. Move the existing
implementation out of ProcessUNIX. Add a flags argument reserved for
future use in providing additional behavior.
2009-07-13 16:22:14 -04:00
KWSys Robot
44eeda9a04
STYLE: Nightly Date Stamp
2009-07-13 00:01:04 -04:00
KWSys Robot
2a750cacd6
STYLE: Nightly Date Stamp
2009-07-12 00:01:03 -04:00
KWSys Robot
2e22b70aa2
STYLE: Nightly Date Stamp
2009-07-11 00:01:04 -04:00
Brad King
3199db4794
STYLE: Nightly Date Stamp
2009-07-10 00:01:06 -04:00
Brad King
5692fa2ecb
COMP: More KWSys SharedForward pointer const-ness
...
This adds another cast to avoid pointer conversion warnings.
Unfortunately C does not recognize implicit conversions that add
cv-qualifiers as well as C++ does.
2009-07-09 14:15:35 -04:00
Brad King
d2e94dfc63
STYLE: Nightly Date Stamp
2009-07-09 00:01:04 -04:00
David Cole
02c9633433
COMP: Eliminate "conversion may change sign of result" warnings by using size_t where appropriate. (Missed one warning with last commit: add a cast to md5_word_t.)
2009-07-08 16:18:19 -04:00
David Cole
80d32d96f3
COMP: Eliminate "conversion may change sign of result" warnings by using size_t where appropriate.
2009-07-08 16:15:21 -04:00
Brad King
6028f3a4c7
COMP: Fix KWSys SharedForward sign conversion
...
This uses size_t where necessary to avoid size_t/int conversion
warnings.
2009-07-08 15:09:16 -04:00
Brad King
4c0bbe3828
COMP: Fix KWSys SharedForward pointer const-ness
...
This adds const-ness and casts where necessary to avoid pointer
conversion warnings.
2009-07-08 15:09:10 -04:00
Brad King
bb9c0af7cc
STYLE: Nightly Date Stamp
2009-07-08 00:01:05 -04:00
Brad King
6ec20cc3f9
STYLE: Nightly Date Stamp
2009-07-07 00:01:06 -04:00
Brad King
2b85fcdd7d
STYLE: Nightly Date Stamp
2009-07-06 00:01:04 -04:00
Brad King
43c8dbb8d1
STYLE: Nightly Date Stamp
2009-07-05 00:01:03 -04:00
Brad King
d870df5502
STYLE: Nightly Date Stamp
2009-07-04 00:01:03 -04:00
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