1. 31 Jan, 2018 1 commit
    • Ben Boeckel's avatar
      GetFilenameName: optionally don't search for \ on non-Windows · 6770cb3e
      Ben Boeckel authored
      Non-Windows platforms don't have backslash as a separator, however some
      projects may want to support Windows paths on non-Windows platforms
      (e.g., paths from data files). For those which don't need this, this
      allows the search to be faster since it's searching for a single
  2. 17 Jan, 2018 1 commit
  3. 09 Jan, 2018 3 commits
  4. 03 Jan, 2018 1 commit
  5. 08 Dec, 2017 1 commit
    • Brad King's avatar
      hashtable: Drop when building inside CMake · 9995f700
      Brad King authored
      CMake now builds as C++11 or higher and uses `unordered_{map,set}`
      instead of `hash_{map,set}`.  Skip providing KWSys hashtable to it
      since it uses features deprecated by C++17.
  6. 29 Nov, 2017 1 commit
    • Brad King's avatar
      Configure: Add KWSYS_FALLTHROUGH macro for C++ code · 1b09cf0d
      Brad King authored
      Some C++ compilers now warn when a switch case falls through to another
      case, but compilers vary in how to suppress the warning with an explicit
      fallthrough specifier.  Provide a macro for the specifier.
  7. 06 Nov, 2017 1 commit
  8. 31 Oct, 2017 2 commits
  9. 11 Oct, 2017 1 commit
    • Wouter Klouwen's avatar
      ProcessUNIX: Use monotonic clock in kwsysProcessTimeGetCurrent() for POSIX · 749b7506
      Wouter Klouwen authored
      While a process is running, it is possible for other processes such as
      NTP to alter the system clock in large jumps.
      To make the measurement of how long a process has taken to run
      impervious to such large jumps it is helpful to use a monotonic clock.
      This is a clock that takes an arbitrary starting point that does not
      clock_gettime() is a POSIX method that implements this clock. This is
      not available on all platforms, so this commit adds a check for its
      presence. If the monotonic timer is available, use that in
      kwsysProcessTimeGetCurrent(), otherwise falls back to previous
      non-monotonic behaviour.
  10. 29 Sep, 2017 1 commit
    • Brad King's avatar
      Remove unnecessary testIOS · 41c93d97
      Brad King authored
      This test was meant to cover the `kwsys/ios/*` headers, but they were
      removed in commit 15a16826 (Remove include <kwsys/ios/*> and
      kwsys_ios:: compatibility layer, 2015-08-20).
  11. 01 Sep, 2017 1 commit
  12. 04 Aug, 2017 1 commit
  13. 28 Jun, 2017 1 commit
  14. 26 Jun, 2017 1 commit
    • Chuck Atkins's avatar
      Add an option to split object and interface libs. · 993f0ea4
      Chuck Atkins authored
      Introduce the KWSYS_SPLIT_OBJECTS_FROM_INTERFACE option.  This will
      cause the build to generate a separate interface and object library,
      instead of a static or shared library.  This will enable kwsys to be
      embedded into another library as objects rather than linked as a
      seperate library while still maintaining the propagation of target usage
  15. 28 Apr, 2017 1 commit
  16. 27 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Disable clang-tidy · 2564822b
      Daniel Pfeifer authored
      KWSys has not been updated for `clang-tidy`.
      Until this is done, block use of the tool on our own targets.
      This is useful when KWSys is embedded in the source tree of
      another project that may activate clang-tidy.
  17. 18 Apr, 2017 1 commit
  18. 11 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Disable include-what-you-use · ce5b0d34
      Daniel Pfeifer authored
      KWSys has not been updated for `include-what-you-use`.
      Until this is done, block use of the tool on our own targets.
      This is useful when KWSys is embedded in the source tree of
      another project that may activate iwyu.
  19. 03 Feb, 2017 1 commit
  20. 21 Dec, 2016 1 commit
  21. 02 Dec, 2016 1 commit
  22. 01 Dec, 2016 1 commit
    • Chuck Atkins's avatar
      DynamicLoader: Expand noop implementation to more platforms · d94f92f7
      Chuck Atkins authored
      Rather than just testing for explicit platforms in the dynamic loader,
      i.e. old BlueGene and Cray systems, leverage CMake's platform knowlege
      to determine if shared libraries are supported.
      Change-Id: I6189bcfb6d528cf4c96a40be2b31af981d09dbb2
  23. 21 Nov, 2016 2 commits
  24. 04 Nov, 2016 1 commit
    • Brad King's avatar
      Simplify KWSys per-source license notices · c41c1bc4
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      Replace KWSys per-source copyright/license notice headers with a short
      description of the license and links to `Copyright.txt` and online
      information available from "https://cmake.org/licensing#kwsys".
      Run the `filter-notices.bash` script to perform the replacements mechanically.
      Manually fix up the shebang line in one file.
      Change-Id: I8497f7c868664dcf54a8608ab302ad93c860b334
  25. 09 Sep, 2016 1 commit
    • 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
  26. 19 Jul, 2016 1 commit
    • Dāvis Mosāns's avatar
      FStream: Add MinGW support · 9d1dbd95
      Dāvis Mosāns authored
      std::basic_filebuf::open(const wchar_t *) isn't part of C++ standard
      and it's only present for MSVC but it isn't present in libstdc++ (MinGW)
      so we implement this functionality using GNU libstdc++ stdio_filebuf
      extension and _wfopen function.
      Change-Id: I7df7a1b22ba272db23c8d962cb66ec71a278ef06
  27. 30 Jun, 2016 1 commit
  28. 14 Dec, 2015 1 commit
  29. 09 Dec, 2015 1 commit
  30. 04 Dec, 2015 1 commit
    • Brad King's avatar
      FundamentalType: Drop KWSYS_CAN_CONVERT_UI64_TO_DOUBLE macro · 452b10d5
      Brad King authored
      This was used only for an old VS 6 version that did not support
      conversion of `unsigned __int64` to `double`.  Support for this compiler
      has been dropped from KWSys clients that used the macro.
      Change-Id: Ia61beaa0251fc2b6d77632af3e610c08f64d11eb
  31. 06 Oct, 2015 2 commits
  32. 28 Aug, 2015 4 commits