- Nov 20, 2009
-
-
Brad King authored
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.
-
Brad King authored
We set CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in KWSys's CMakeLists.txt file to enable simpler endif() syntax for CMake 2.4.
-
- Nov 18, 2009
-
-
David Cole authored
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.
-
- Nov 16, 2009
-
-
Bill Hoffman authored
-
Luis Ibanez authored
were changed from "unsigned long" to "size_t" to solve warnings about 64 bits to 32 bits truncations.
-
- Nov 15, 2009
-
-
Luis Ibanez authored
truncate 64 bits types into 32 bits types.
-
- Oct 19, 2009
-
-
Alexander Neundorf authored
Alex
-
- Oct 16, 2009
-
-
David Cole authored
Better fix for crash on Windows. This time it will even work on Linux, too. That GetLineFromStream method while loop sure is fussy.
-
David Cole authored
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...
-
- Oct 09, 2009
-
-
Zach authored
-
- Oct 08, 2009
-
-
Zach authored
-
- Oct 06, 2009
- Sep 30, 2009
-
-
David Cole authored
Fix warnings in CMake source code. Suppress warnings in Lexer and Parser files that are 'too hard' to fix.
-
- 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