Skip to content
Snippets Groups Projects
  1. Jul 10, 2014
  2. Jul 02, 2014
  3. Jul 01, 2014
    • 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
      "\\?\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
      8f991ab0
  4. Jun 03, 2014
    • 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
      97817ce7
  5. Jun 02, 2014
    • 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
      e4bba930
  6. May 19, 2014
    • 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
      c282e64f
  7. May 16, 2014
  8. May 07, 2014
  9. May 05, 2014
  10. Apr 14, 2014
    • Brad King's avatar
      hashtable: Poison operator= on internal node type · 1979c02d
      Brad King authored
      Declare a private _Hashtable_node<_Val>::operator= without
      implementation to ensure no code tries to assign nodes.
      The hash_map uses "pair<const _Key,_Tp>" as the value type
      so the const key cannot be assigned.
      
      Change-Id: If772e1588c9504df450c18eb0d36dc024db9f2da
      1979c02d
  11. Apr 07, 2014
  12. Apr 05, 2014
  13. Apr 02, 2014
  14. Apr 01, 2014
  15. Mar 19, 2014
  16. Mar 12, 2014
  17. Mar 11, 2014
    • Brad King's avatar
      Set policy CMP0025 to NEW within KWSys · 88c5a768
      Brad King authored
      KWSys does not depend on the Apple Clang compiler id being "Clang" so
      set the policy to NEW explicitly to avoid the warning and get the NEW
      behavior.
      
      Change-Id: I884a82876ced444753a28eec1a2a26cc8c07cdef
      88c5a768
  18. Mar 06, 2014
Loading