1. 20 Aug, 2019 1 commit
  2. 18 Aug, 2019 2 commits
  3. 17 Aug, 2019 1 commit
  4. 10 Aug, 2019 1 commit
    • Sebastian Holtermann's avatar
      cmStringAlgorithms: Add cmStrToLong and cmStrToULong · 935fbe0b
      Sebastian Holtermann authored
      This adds the following functions to cmStringAlgorithms:
      - `cmStrToLong`: moved from `cmSystemTools::StringToLong`
      - `cmStrToULong`: moved from `cmSystemTools::StringToULong`
      
      Overloads of the given functions for `std::string` are added as well.
      935fbe0b
  5. 09 Aug, 2019 1 commit
  6. 08 Aug, 2019 1 commit
    • Kasper Laudrup's avatar
      Retry removing directories on Windows · 6bc77966
      Kasper Laudrup authored
      On Windows removing a directory can fail if other processes have a
      handle to it. This has been "solved" with a retry hack when moving
      directories, so use the same hack when removing directories.
      6bc77966
  7. 06 Aug, 2019 4 commits
  8. 29 Jul, 2019 1 commit
  9. 25 Jul, 2019 1 commit
  10. 24 Jul, 2019 1 commit
    • Sebastian Holtermann's avatar
      cmMakefile: Let AddDefinition accept a value as cm::string_view · e91bfe44
      Sebastian Holtermann authored
      This changes `cmMakefile::AddDefinition` to take a `cm::string_view` as value
      argument instead of a `const char *`.
      
      Benefits are:
      - `std::string` can be passed to `cmMakefile::AddDefinition` directly without
        the `c_str()` plus string length recomputation fallback.
      - Lengths of literals passed to `cmMakefile::AddDefinition` can be computed at
        compile time.
      
      In various sources uses of `cmMakefile::AddDefinition` are adapted to avoid
      `std::string::c_str` calls and the `std::string` is passed directly.
      Uses of `cmMakefile::AddDefinition`, where a `nullptr` `const char*` might
      be passed to `cmMakefile::AddDefinition` are extended with `nullptr` checks.
      e91bfe44
  11. 14 Jul, 2019 1 commit
  12. 10 Jul, 2019 1 commit
    • Brad King's avatar
      IWYU: Fix handling of <memory> standard header · 71fbebd1
      Brad King authored
      An old workaround for `std::allocator_traits<>::value_type` lints from
      IWYU on `std::vector<>` usage breaks IWYU's handling of `<memory>`.
      Convert the workaround to use the same approach we already use for a
      workaround of `std::__decay_and_strip<>::::__type` lints.  Then update
      the `<memory>` inclusions to follow the now-correct IWYU lints.
      71fbebd1
  13. 10 Jun, 2019 1 commit
  14. 23 May, 2019 1 commit
  15. 22 May, 2019 1 commit
  16. 21 May, 2019 1 commit
    • Brad King's avatar
      file: Change REMOVE to ignore empty names · a1eb0356
      Brad King authored
      Previously code like
      
          file(REMOVE_RECURSE "${accidentally_missing_variable}")
      
      treated the empty string as a relative path with respect to the
      current directory and removed its contents.  Change this behavior
      to ignore the empty string with a warning instead.
      
      Normally such behavior changes are done with a policy, but in this case
      such code is likely a real bug in project code that can delete data.
      
      Fixes: #19274
      a1eb0356
  17. 19 May, 2019 1 commit
  18. 04 Apr, 2019 1 commit
  19. 13 Mar, 2019 1 commit
  20. 26 Feb, 2019 1 commit
  21. 21 Feb, 2019 1 commit
  22. 15 Feb, 2019 2 commits
  23. 11 Feb, 2019 2 commits
  24. 07 Feb, 2019 1 commit
  25. 06 Feb, 2019 1 commit
  26. 29 Jan, 2019 1 commit
  27. 25 Jan, 2019 2 commits
  28. 24 Jan, 2019 1 commit
  29. 22 Jan, 2019 1 commit
  30. 21 Jan, 2019 1 commit
  31. 16 Jan, 2019 3 commits