Skip to content
Snippets Groups Projects
  1. Dec 09, 2015
  2. Dec 04, 2015
    • 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
      452b10d5
  3. Oct 06, 2015
  4. Aug 28, 2015
  5. Aug 24, 2015
  6. Aug 21, 2015
    • Brad King's avatar
      Pass C++ standard flags to SunPro in standalone build · c8e5d1b2
      Brad King authored
      Pass flags to the SunPro compiler to improve the level of C++ standard
      support beyond the default.  Do this only in a standalone build so that
      host projects can set flags for us.
      
      Change-Id: Ic9a84debfa939caf00b7ad99887793e885c35371
      c8e5d1b2
  7. Aug 07, 2015
  8. Jul 15, 2015
    • James Johnston's avatar
      Process: Added test cases for testing Ctrl+C and process groups. · 906c2cae
      James Johnston authored and Brad King's avatar Brad King committed
      Two new tests were added to testProcess:
       * Test 9 is constructed of the root test process, a child process,
         and a grandchild process.  The grandchild ignores all Ctrl+C signals
         and then sleeps.  The child runs the grandchild normally.  The root
         process runs the child in a new process group, sends it a Ctrl+C
         signal, and then lets the process expire to prove that the child was
         blocked waiting for the uninterruptable grandchild to die.
       * Test 10 is constructed of the root test process, a child process,
         and a grandchild process.  The grandchild sleeps and processes
         signals normally.  The child runs the grandchild in a new process
         group.  The root process runs the child in a new process group as
         well, sends it a Ctrl+C, and then verifies that: (1) the child does
         indeed terminate with an interrupt signal, (2) the child did not
         expire, proving that it retransmitted the signal to the sleeping
         grandchild before waiting for the grandchild to terminate.
      
      Change-Id: Iba5bee546a82eb61a41d4194341e9382a00279d4
      906c2cae
  9. Jun 03, 2015
  10. May 18, 2015
    • Matt McCormick's avatar
      cmake: Set CMP0056 to NEW · 9a6b7c3f
      Matt McCormick authored
      When Android is compiled with "-static" in CMAKE_EXE_LINKER_FLAGS, only the
      shared version of libc has utimensat.  By setting CMP0056 to NEW,
      CMAKE_EXE_LINKER_FLAGS is passed to the try_compile in KWSYS_PLATFORM_CXX_TEST
      so KWSYS_CXX_HAS_UTIMENSAT gets the correct result.
      
      Change-Id: Ia5ff7abaafb92e043927b57c5f2858259195235f
      9a6b7c3f
  11. Nov 12, 2014
  12. Oct 31, 2014
  13. Oct 14, 2014
    • 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
      9bf03363
  14. 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
  15. Apr 05, 2014
  16. 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
  17. Mar 06, 2014
  18. Jan 24, 2014
  19. Jan 04, 2014
  20. Dec 21, 2013
  21. Nov 19, 2013
    • Clinton Stimpson's avatar
      Encoding: Default to ANSI code page on Windows · 2b0c683d
      Clinton Stimpson authored and Brad King's avatar Brad King committed
      Create a KWSYS_ENCODING_DEFAULT_CODEPAGE setting that can be used
      by parent projects to configure the default code page.  Default
      to CP_ACP (ANSI Code Page) so that our narrow->wide conversions
      used to access wide Windows APIs are equivalent to direct use of
      the narrow Windows APIs.
      
      Change-Id: I02ce362dbdc6127f42b7af7e620e46b7829cbc64
      2b0c683d
  22. Oct 31, 2013
  23. Aug 02, 2013
    • Burlen Loring's avatar
      SystemInformation : Better stack trace · 1d882d4c
      Burlen Loring authored
      Add supprt for C++ name demangling during call stack
      introspection. This will be enabled at compile time
      if the required system libraries,header files, and
      compiler features are detected. Add a method so that
      the stack trace may be obtained on demand not just
      from within the stack trace signal handler.
      
      Change-Id: Ie829f4b24ab331e39b97f54e63564df70f129b7e
      1d882d4c
  24. May 31, 2013
    • Brad King's avatar
      SystemTools: Touch with better than 1s resolution if possible · dccf7725
      Brad King authored
      On Windows use CreateFile (with FILE_FLAG_BACKUP_SEMANTICS so it works
      for directories), GetSystemTimeAsFileTime, and SetFileTime to touch.  On
      other platforms prefer utimensat, then utimes, then utime.
      
      Change-Id: Ie85fe3766661803e66f39975a147cd6f7320ea59
      CMake-Issue: 14020
      dccf7725
    • Brad King's avatar
      SystemTools: Use COMPILE_DEFINITIONS to pass platform tests · e3370418
      Brad King authored
      Replace use of COMPILE_FLAGS with COMPILE_DEFINITIONS for the
      SystemTools.cxx source file property and spell out each definition on
      its own line.
      
      Change-Id: I213326b25fc7510107b78a8e233a3198862d9309
      e3370418
  25. Jan 12, 2013
  26. Jan 11, 2013
    • Rolf Eike Beer's avatar
      SystemInformation: query memory size with sysconf() on Solaris · 342c0ad2
      Rolf Eike Beer authored
      The manpage suggests this is available since Solaris 2.3, which is from
      1993. No need to spawn a process then for this information. As an extra
      bonus we get information about the available physical memory for free,
      which was missing before. On 32 bit processes we will still fall back
      to the old method as the values returned by a 32 bit process on a 64
      bit host are limited to 4 GiB.
      
      Rename QuerySolarisInfo() to QuerySolarisProcessor() as that is now what
      this function is about.
      
      Change-Id: I76fe77a7d746d92d1752119f2c2703652c575339
      342c0ad2
  27. Jan 09, 2013
  28. Jan 02, 2013
Loading