- Oct 31, 2014
-
-
Brad King authored
Change-Id: I8e9efb7db5056b86692cd83a3ba9240778fc63de
-
- Oct 16, 2014
-
-
Ben Boeckel authored
Change-Id: Ic681ae0bb027505d3dd957aed3d14b3c21c0f7c0
-
Ben Boeckel authored
Change-Id: Ia432795be0db4593c9a7588ead75ce8f542dcda1
-
Ben Boeckel authored
Change-Id: Ifec06aff9970ef57dcac44cfec8dbb5bdf5f23da
-
Ben Boeckel authored
Change-Id: I38069a6a6a98074178ac638e95df3dd77e1a0ade
-
Ben Boeckel authored
Change-Id: I10443509ce843233599ea2a4e9d02ff4d0a7dc3e
-
Ben Boeckel authored
Change-Id: I34695e8d23fe8d5160a15922c68726a3f8e3f10b
-
Ben Boeckel authored
Change-Id: I5f0adcf5dc6013b7f643c99ec233ac76c622c4ac
-
Ben Boeckel authored
Change-Id: I39dd9c093d04744ffcbf4d331e7e1e0cecbb677d
-
Ben Boeckel authored
Change-Id: I6524b8fb3325832ae6f2a5f14069b1be93ee4d7c
-
Ben Boeckel authored
Change-Id: Ie6769cd4f5afe6c21fac2de157ea5a767ed7bb1f
-
- Oct 14, 2014
-
-
Ben Boeckel authored
When testing CMAKE_C_COMPILER_ID values, do not explicitly dereference or quote the variable. We want if() to auto-dereference the variable and not its value. While at it, use STREQUAL instead of MATCHES. Change-Id: I7098fb6474500605b0fe78d764dd2d8afe385f50
-
- Oct 02, 2014
-
-
Clinton Stimpson authored
Change-Id: Idff1d1f1a00f0bf96edb3239df91f879ce6bfe61
-
- Sep 25, 2014
-
-
Brad King authored
Visual Studio 12 (2013) deprecated GetVersionEx: warning C4996: 'GetVersionExW': was declared deprecated in favor of either "versionhelpers.h" or VerifyVersionInfo, neither of which exist in some of the older compilers we support. Rather than try to port conditionally to VerifyVersionInfo, simply suppress the warning for now. Change-Id: I85a6547c7dc25a104d4fe9b4034efdc5cea215ef
-
- Sep 19, 2014
-
-
warning: comparison of array 'unameInfo.release' not equal to a null pointer is always true [-Wtautological-pointer-compare] if( unameInfo.release!=0 && strlen(unameInfo.release)>=3 ) ~~~~~~~~~~^~~~~~~ ~ Indeed an array declared as 'char foo[x]' can never be NULL. Removed check against null. Change-Id: I0352ad50049d926e78b9ecc796493e898b1bfdb7
-
- Sep 08, 2014
-
-
Clinton Stimpson authored
If a passed in filename includes '*' or '?', do not match it with a different file name. Change-Id: I6cfde43a043132ec876e92fad0bef9245a10fa5f
-
Brad King authored
Replace old hacks of the form 'if("${VAR}" MATCHES "^${VAR}$")' with the much simpler 'if(NOT DEFINED ${VAR})'. Change-Id: Ie0e2fc5ceb85156221abe8938dfdd148b3862742
-
- Sep 06, 2014
-
-
Clinton Stimpson authored
This fixes bug #12065, #14462 and #14765. Change-Id: I80c6506767d8b1c7ab2607800458ae3064909b3f
-
- Aug 11, 2014
-
-
Change-Id: I7f90ddd8421408deef58a03ca0aec215f693344a
-
- Aug 07, 2014
-
-
Brad King authored
In ProcessUNIX.c, testProcess.c, and testCommandLineArguments1.cxx, add assert() calls to tell Clang scan-build that we do not expect certain pointers to be NULL. Change-Id: I4a2b035cf58198606b4698c9d0e2048a66f15fd0
-
Brad King authored
This method is no longer used. The CommandLineToArgvW function could be used instead on Windows anyway. Change-Id: I46d9197c80a5ab1515686890f396b1cd631943cf
-
- Aug 04, 2014
-
- Jul 30, 2014
-
-
Ben Boeckel authored
Windows required non-NULL anyways (via strlen) where *nix checked it after passing it to opendir; just assume non-NULL everywhere and take a string where possible. Change-Id: I85c6dc71dd11be58ba61e269c4b40b009924d967
-
Ben Boeckel authored
Everything is one character anyways, remove the level of indirection. Change-Id: I26a59acc4778b93ed68de098e5640c7835d5ee43
-
Ben Boeckel authored
Change-Id: I7cd88d0d5c36dc5b66998ff92ad42291a3bea498
-
Ben Boeckel authored
Change-Id: I782ed6400f0e0fc855b6245a68597dfeda36ba11
-
- Jul 18, 2014
-
-
Change-Id: I23a27b25bf7a2f8f8785c575e1e595f785f9db98
-
- Jul 17, 2014
-
- Jul 10, 2014
-
-
Change-Id: I6dd8143e0098fab018c0005f8b37db06734fd2c9
-
- Jul 02, 2014
-
-
Clinton Stimpson authored
SystemTools::ModifiedTime() and SystemTools::CreationTime() are fixed to work with unicode. Change-Id: Iaf137340cf2e235d46a79a49621c11890b85ab84
-
- Jul 01, 2014
-
-
Many Windows filesystem calls (but not all) have a MAX_PATH limitation of 260 characters (drive letter, colon, backslash, 256 char path, null). This is especially problematic for interacting with large highly nested build trees (the boost C++ libraries, for example). This limitation can be overcome by using extended length paths instead. By converting local filesystem and network paths to extended length paths before passing them to the underlying APIs the maximum path length can be as large as 32767 characters. The new ConvertToWindowsExtendedPath function will convert "E:/a.txt" to "\\?\E:\a.txt" and "\\Foo\a.txt" to "\\?\UNC\Foo\a.txt". See also the MSDN article on "Naming Files, Paths, and Namespaces": http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx This also adds a hidden CMake option, KWSYS_TEST_SYSTEMTOOLS_LONG_PATHS, which, when set to TRUE, will enable the extended length path tests. This is off by default since if something does go awry, the resulting leftovers could be difficult to delete manually. Change-Id: Ib7ac1f657241ed389169678d1c078c0d836f1c7b
-
- Jun 03, 2014
-
-
Chuck Atkins authored
The full path for files used by SystemTools tests were preconfigured in a generated header file by CMake variables. This begins to get unwieldy and clutters the CMake files once more variables and files get added. In preperation for more file and directory tests being added, the preconfigured variables are now just the source and binary directories for which all tests can base themselves off of. Change-Id: Iae9e11592a3c040ce2e9cc90dbd1ccedfc3129ea
-
- Jun 02, 2014
-
-
Chuck Atkins authored
When applying the /* wildcard suffix to a directory, make sure the direction of the slash getting appended is consistent with the other slashes in the path, i.e. /foo/bar and /foo/bar/ become /foo/bar/* and similarly \foo\bar and \foo\bar\ become \foo\bar\*. Change-Id: I44fcf7e97be65923a37aaed615ba5f4012756893
-
- May 19, 2014
-
-
Brad King authored
When we kill a child we send SIGSTOP first so that we can traverse its child processes recursively. On unwinding the recursion we then send SIGKILL. Current Cygwin has trouble when both signals are sent in quick succession by the parent process. Add a usleep(1) after sending the first signal to give up our time slice and give Cygwin a chance to process the first signal before sending the second. Change-Id: I75ab55cf969a0ea6104a9798c761c0ba1fcd1dbc
-
- May 16, 2014
-
-
Brad King authored
The cygwin_conv_to_win32_path function is deprecated in favor of cygwin_conv_path. Use the latter. Change-Id: I416c3b3360cd5085ed51dd60375c7e0b3b9ca1cb
-
- May 07, 2014
-
-
Change-Id: I51d3522ff01c360542c5f3c25bec9ce56307b809
-
Change-Id: I50bab3aa8ea1d95dce5220d92aaad90916bf33da
-
Change-Id: Ia355093ee73937ecb276a42bac2b837e3fe496b5
-
Change-Id: Ieb7479b6cde5edebe0b6b4ec132d8dd7b413d039
-
Change-Id: Ic80a61bd1bb23f46b2b1875e672a4dc4f93cc7ce
-