1. 16 Oct, 2014 4 commits
  2. 14 Oct, 2014 1 commit
    • Ben Boeckel's avatar
      Avoid if() quoted auto-dereference · 9bf03363
      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
  3. 02 Oct, 2014 1 commit
  4. 25 Sep, 2014 1 commit
    • Brad King's avatar
      Suppress deprecation warnings for GetVersionEx · 29ffaf43
      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
  5. 19 Sep, 2014 1 commit
    • Sean McBride's avatar
      SystemInformation: Fix clang -Wtautological-pointer-compare warning · 6aa1f800
      Sean McBride authored and Brad King's avatar Brad King committed
      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
  6. 08 Sep, 2014 2 commits
  7. 06 Sep, 2014 1 commit
  8. 11 Aug, 2014 1 commit
  9. 07 Aug, 2014 2 commits
  10. 04 Aug, 2014 1 commit
  11. 30 Jul, 2014 4 commits
  12. 18 Jul, 2014 1 commit
  13. 17 Jul, 2014 1 commit
    • Bob E's avatar
      SystemInformation: No SA_RESTART on QNX · 697b1401
      Bob E authored and Brad King's avatar Brad King committed
      QNX not support SA_RESTART signal:
       /* #define SA_RESTART 0x0040 (not supported yet) */
      Use it in SystemInformation only if it is defined.
      Change-Id: I4a00179fe3f288bb524e002ba37094c73a8a8b08
  14. 10 Jul, 2014 1 commit
  15. 02 Jul, 2014 1 commit
  16. 01 Jul, 2014 1 commit
    • Chuck Atkins's avatar
      SystemTools: Use extended paths on Windows for > 256 length · 8f991ab0
      Chuck Atkins authored and Brad King's avatar Brad King committed
      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
      See also the MSDN article on "Naming Files, Paths, and Namespaces":
      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
  17. 03 Jun, 2014 1 commit
    • Chuck Atkins's avatar
      SystemTools: Refactor test file and directory locations · 97817ce7
      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
  18. 02 Jun, 2014 1 commit
    • Chuck Atkins's avatar
      Directory: Make sure the /* suffix uses correct slashes · e4bba930
      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
  19. 19 May, 2014 1 commit
    • Brad King's avatar
      Process: Workaround child kill trouble on Cygwin · c282e64f
      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
  20. 16 May, 2014 1 commit
  21. 07 May, 2014 12 commits