- Sep 28, 2009
-
-
Brad King authored
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.
-
Brad King authored
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.
-
- Sep 25, 2009
-
-
Brad King authored
We replace the test text in the kwsys.testEncode test to avoid the word 'Copyright'. This simplifies grep results for Copyright verification.
-
- Sep 24, 2009
-
-
Brad King authored
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.
-
- Sep 23, 2009
-
-
Brad King authored
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.
-
- Sep 22, 2009
-
-
Bill Hoffman authored
-
Bill Hoffman authored
-
Bill Hoffman authored
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.
-
Brad King authored
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.
-
- Sep 14, 2009
-
-
Bill Hoffman authored
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.
-
- Sep 03, 2009
-
-
Brad King authored
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.
-
- Aug 31, 2009
-
-
Brad King authored
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);
-
- Aug 06, 2009
-
-
Dave Partyka authored
-
- Jul 27, 2009
-
-
Brad King authored
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.
-
- Jul 26, 2009
-
-
Dave Partyka authored
ENH: try and see if using string.append instead of += will make valgrind not complaing that JoinPath is leaking.
-
- Jul 24, 2009
-
-
Mathieu Malaterre authored
-
- Jul 13, 2009
-
-
Brad King authored
This fixes KWSys's unix-style command-line parsing to interpret backslash escapes inside single-quoted strings.
-
Brad King authored
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.
-
- Jul 09, 2009
-
-
Brad King authored
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.
-
- Jul 08, 2009
-
-
David Cole authored
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.)
-
David Cole authored
-
Brad King authored
This uses size_t where necessary to avoid size_t/int conversion warnings.
-
Brad King authored
This adds const-ness and casts where necessary to avoid pointer conversion warnings.
-
- Jun 25, 2009
-
-
Bill Hoffman authored
-
- Jun 22, 2009
- Jun 12, 2009
-
-
Brad King authored
This helps avoid fixing VMS-specific code for non-VMS compilers where it isn't needed anyway.
-
Francois Bertel authored
COMP:Fixed warning with gcc 4.3.3: passing argument 1 of kwsysProcessSetVMSFeature discards qualifiers from pointer target type.
-
Brad King authored
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.
-
- Jun 11, 2009
-
-
Bill Hoffman authored
-
- Jun 10, 2009
-
-
Brad King authored
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.
-
Brad King authored
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.
-
Brad King authored
This avoids use of an uninitialized value in the KWSys ProcessUNIX polling implementation when no timeout is given.
-
Brad King authored
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.
-
- Jun 09, 2009
-
-
Bill Hoffman authored
-
Bill Hoffman authored
-
- Jun 05, 2009
-
-
Dave Partyka authored
-
Bill Hoffman authored
-
Bill Hoffman authored
-
- May 20, 2009
-
-
Bill Hoffman authored
-