Skip to content
Snippets Groups Projects
  1. Sep 20, 2016
  2. Sep 14, 2016
    • Brad King's avatar
      SystemTools: Teach GetActualCaseForPath to convert as much as possible · c4049689
      Brad King authored
      If only some leading components of the input path exist then convert
      those and leave the rest unchanged.  This way if a file path is
      constructed using GetActualCaseForPath and created on disk, then a
      following GetActualCaseForPath on the same now-existing path will return
      the same value.
      
      Change-Id: I6e09a4d411f8bf107312f39d7409ba2d22bf176b
      CMake-Issue: 16295
      c4049689
    • Brad King's avatar
      SystemTools: Fix path comparison in test case · 0504dcaf
      Brad King authored
      Use ComparePath to perform case-insensitive comparison when needed.
      
      Change-Id: I901b1a12ab43655ac44eee2b3e18c3f2630d6c18
      0504dcaf
    • Brad King's avatar
      ConsoleBuf: Always compile test source for host Windows version · e736efa1
      Brad King authored
      Undefine any `_WIN32_WINNT` value that may be defined on the compiler
      command line by clients that are targeting the build at a different
      version of Windows than the host.  We must build for the host APIs in
      order for the test to be able to configure its console correctly.  Since
      the test binary is not installed it does not matter if it is not built
      for the client's target Windows version.
      
      Change-Id: Ic3e79550713384c45baf25aa624efbcb5d49d0a4
      e736efa1
  3. Sep 09, 2016
    • Dāvis Mosāns's avatar
      ConsoleBuf: Use a custom std::streambuf for console output on Windows · 669e3a06
      Dāvis Mosāns authored
      Currently Microsoft's C++ libraries implementation of std::cout/cerr
      can't output Unicode characters but only ASCII or ANSI if locale is set
      so we implement and use our own ConsoleBuf which can output Unicode
      characters to console and it doesn't matter what locale or console's
      codepage is set.
      
      Change-Id: I33053aa229796e84088aa3beb0ebe8bdbebaf3d1
      669e3a06
  4. Aug 24, 2016
  5. Aug 03, 2016
    • Ben Boeckel's avatar
      SystemTools: add a PathExists method · 6d23dd7e
      Ben Boeckel authored
      This method checks if a path by the given name exists. The problem with
      FileExists is that it returns `false` even for broken (or
      self-referential) symlinks which may not be what the user wants.
      
      Change-Id: I71b8af6e12a5ae4b1319a3bec83db6c3cef36f90
      6d23dd7e
  6. Aug 02, 2016
  7. Aug 01, 2016
  8. Jul 21, 2016
  9. Jul 19, 2016
  10. Jul 18, 2016
  11. Jul 15, 2016
  12. Jul 14, 2016
  13. Jun 30, 2016
  14. Mar 31, 2016
  15. Mar 29, 2016
  16. Mar 22, 2016
  17. Mar 09, 2016
  18. Mar 08, 2016
  19. Mar 07, 2016
  20. Feb 22, 2016
  21. Feb 19, 2016
    • Ben Boeckel's avatar
      SystemTools: support deleting junction points · de83c4d4
      Ben Boeckel authored and Brad King's avatar Brad King committed
      Junction points can exist in directories which may be manipulated within
      CMake. The problem is that junction points are currently completely
      unsupported within CMake. Since junctions need special API calls to
      manipulate, DeleteFileW does not work and instead DeviceIoControl must
      be used. Token privilege API calls must also be used to be able to
      actually open the junction points.
      
      Change-Id: I3e4ff3b7a600146ac3574d2b17890eef07d06496
      de83c4d4
  22. Feb 10, 2016
  23. Feb 08, 2016
  24. Jan 11, 2016
  25. Jan 08, 2016
Loading