1. 28 Aug, 2015 4 commits
  2. 24 Aug, 2015 1 commit
  3. 21 Aug, 2015 1 commit
    • 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
  4. 07 Aug, 2015 1 commit
  5. 15 Jul, 2015 1 commit
    • James Johnston's avatar
      Process: Added test cases for testing Ctrl+C and process groups. · 906c2cae
      James Johnston authored
      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
  6. 03 Jun, 2015 1 commit
  7. 18 May, 2015 1 commit
    • 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
  8. 12 Nov, 2014 1 commit
  9. 31 Oct, 2014 1 commit
  10. 14 Oct, 2014 1 commit
    • 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
  11. 03 Jun, 2014 1 commit
    • 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
  12. 05 Apr, 2014 1 commit
  13. 11 Mar, 2014 1 commit
    • 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
  14. 06 Mar, 2014 1 commit
  15. 24 Jan, 2014 1 commit
  16. 04 Jan, 2014 1 commit
  17. 21 Dec, 2013 1 commit
  18. 19 Nov, 2013 1 commit
    • Clinton Stimpson's avatar
      Encoding: Default to ANSI code page on Windows · 2b0c683d
      Clinton Stimpson authored
      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
  19. 31 Oct, 2013 3 commits
  20. 02 Aug, 2013 1 commit
    • 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
  21. 31 May, 2013 2 commits
    • 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
  22. 12 Jan, 2013 1 commit
  23. 11 Jan, 2013 1 commit
    • 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
  24. 09 Jan, 2013 1 commit
  25. 02 Jan, 2013 1 commit
  26. 14 Dec, 2012 1 commit
    • Brad King's avatar
      Remove KWSys Registry · 01e15c22
      Brad King authored
      The Registry class is not used by any other part of KWSys or by any of
      the major dependent projects (CMake, ITK, VTK, ParaView, etc.).  Remove
      it from KWSys proper.  It can be kept in a specific dependent if
      necessary.
      
      Change-Id: I82c0ae2f6a354e9fc5b267faf8fbbeaf9e99a75e
      01e15c22
  27. 14 Nov, 2012 1 commit
    • Brad King's avatar
      Process: Remove support for Windows 98 · fea37696
      Brad King authored
      We no longer support Windows 98.  Remove Win9x-specific code and
      supporting infrastructure.  This simplifies the implementation in several
      places.
      
      Change-Id: Ic3062a81e5880b649feeedf397bf846400f12526
      fea37696
  28. 09 Oct, 2012 1 commit
    • Burlen Loring's avatar
      SystemInformation: support for resource limits · 6072e63b
      Burlen Loring authored
      Add methods to report host memory total, host memory available,
      process memory available, host memory used, and process memory
      used. In this context memory is unavailable if there are resource
      limits in place that would prevent its use. Such resource limits
      assumed to be applied on a per host basis both to cooperatively
      operating process groups, such as mpi programms running in parallel,
      and to individual processes. When reporting host memory available
      consult an application specified environment variable. When reporting
      process memory available consult unix resource rlimits and an
      application specified environment variable. The environmant variables
      provide a means of communicating resource limits that are being
      applied in a non-standard way.
      
      Change-Id: Ifb3b0fdaab8db0ab87140fa2dcafad3c51e2d874
      6072e63b
  29. 01 Oct, 2012 1 commit
  30. 29 Sep, 2012 2 commits
  31. 27 Sep, 2012 2 commits
  32. 17 Sep, 2012 1 commit
    • Brad King's avatar
      Disable warnings about MS deprecation of C library · a49c2417
      Brad King authored
      Define macros
      
       _CRT_NONSTDC_NO_DEPRECATE
       _CRT_SECURE_NO_DEPRECATE
       _CRT_SECURE_NO_WARNINGS
       _SCL_SECURE_NO_DEPRECATE
      
      for all translation units in KWSys.  Drop definitions from Configure.h
      that are now redundant.
      
      Change-Id: I326a1edb6c5a8ab977ecd2370eed6fcdf4775208
      a49c2417