- Dec 09, 2015
-
-
Brad King authored
This header is no longer used by any KWSys clients. Change-Id: Ifca2c6aec5d4b3068774d8398719376d61706d53
-
- Dec 04, 2015
-
-
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
-
- Oct 06, 2015
-
-
Brad King authored
Teach the Touch and FileTimeCompare methods to use the `st_mtimespec` member of `struct stat` on OS X. Change-Id: Ib7dcca41eee571af23509536fe4768a68d98a81a
-
Brad King authored
Do not expose our platform introspection result publicly. Change-Id: I9929f31293adcb628b32d9d7f11b120c44046354
-
- Aug 28, 2015
-
-
Brad King authored
Change-Id: Ie06816e1a2a0537c23fb646985a8017087dcf702
-
Brad King authored
Change-Id: I0da93a55af243fe798b9dd5bda4ee30c1bc3fcf9
-
Brad King authored
Drop the KWSYS_STL_HAS_* checks needed only for hashtable compatibility with old STL versions. Change-Id: I164a40669881439f5853a72c60ab2065498a69c0
-
Brad King authored
Drop "kwsys/stl/*" and "kwsys_stl::" and use the standard headers and namespace instead. Drop the now-unused KWSYS_STL_HAVE_STD check. Change-Id: I6105fd32cd8f0e487e03f58927976e824a53f0d8
-
Brad King authored
Remove the KWSYS_STL_STRING_HAVE_{ISTREAM,OSTREAM,NEQ_CHAR} checks and drop their uses. Change-Id: I1e95dbbd724a7e08db67f71533da381b9d943f53
-
Brad King authored
Remove the checks for KWSYS_IOS_USE_ANSI and KWSYS_IOS_HAVE_STD and uses of the results. Change-Id: I67d756a70a08636175a9d131c6b3e27a3f74b175
-
Brad King authored
Change-Id: I930fdf45832e09b01b653a21ed0be159bebbf45d
-
Brad King authored
Change-Id: Icdc68acbac4b393ff753598dff331ac22df68b73
-
Brad King authored
Use the standard headers and namespace instead. We no longer support compilers without them. Change-Id: Iafb19d28462e9302df06eecc8ae42b48a9577a21
-
- Aug 24, 2015
-
-
James Johnston authored
This is necessary to satisfy a warning in Modules/Platform/CYGWIN.cmake. Change-Id: If5b5a661d3b82f4f3542ed34e96e4ccff4cbce8d
-
- Aug 21, 2015
-
-
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
-
- Aug 07, 2015
-
-
Apply KWSYS_PROPERTIES_C to our C-only library, not the main library. Change-Id: I550196e6c6bdf613abfa7c7a19ec0b36d7f09553
-
- Jul 15, 2015
-
-
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
-
- Jun 03, 2015
-
-
Implement on platforms with getloadavg() available. Also implement on Windows using an approach like that described here: http://stackoverflow.com/questions/23143693/retrieving-cpu-load-percent-total-in-windows-with-c Co-Author: Betsy McPhail <betsy.mcphail@kitware.com> Co-Author: Brad King <brad.king@kitware.com> Change-Id: I5c50b964a05ece97e88f246df532ed6881bf2dce
-
- May 18, 2015
-
-
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
-
- Nov 12, 2014
-
-
Change-Id: Icf6dac5ff42987673e4c06bf69e7482fff83f6ea
-
- Oct 31, 2014
-
-
Brad King authored
Change-Id: I8e9efb7db5056b86692cd83a3ba9240778fc63de
-
- Oct 14, 2014
-
-
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
-
- Jun 03, 2014
-
-
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
-
- Apr 05, 2014
-
-
Rolf Eike Beer authored
Change-Id: I5261ad19e3702e646576d70395625ac47adc942e
-
- Mar 11, 2014
-
-
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
-
- Mar 06, 2014
-
-
Brad King authored
IBM XL complains: 1500-010: (W) WARNING in test6: Infinite loop. Program may not stop. Tell it to ignore this because the test does it intentionally. Change-Id: Ic99ed35067e8ddecea289fffe20d5e119029fa0f
-
- Jan 24, 2014
-
-
Hide this implementation detail by default. Change-Id: I436d76681c88459de470d5eec019acfc354d427e
-
- Jan 04, 2014
-
-
Clinton Stimpson authored
Compile flags -DUNICODE and -D_UNICODE are added. This means that using ANSI or wide apis must be explicit. Change-Id: Ia0fa72f563e1ee8591f6ca3c02b060abcb801a7c
-
- Dec 21, 2013
-
-
Clinton Stimpson authored
Also adding a test for this and future improvements to the module. Change-Id: I54c33129291c9df2fee4bf5dd52360251f6be540
-
- Nov 19, 2013
-
-
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
-
- Oct 31, 2013
-
-
Clinton Stimpson authored
Change-Id: Icb357202c5591819b9f44b4e4f1376e7c4f7b7b3
-
Clinton Stimpson authored
Uses wide APIs on Windows for fstream. Change-Id: I159da88196027665b520895a0c5aa881f7e4b125
-
Clinton Stimpson authored
The 8 bit encoding is UTF-8. Change-Id: If54262c09777effcbffac30481405e56c6605dd7
-
- Aug 02, 2013
-
-
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
-
- May 31, 2013
-
-
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
-
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
-
- Jan 12, 2013
-
-
Rolf Eike Beer authored
Change-Id: Idba42c70b312a524430780471013b0e2dd245529
-
- Jan 11, 2013
-
-
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
-
- Jan 09, 2013
-
-
Rolf Eike Beer authored
Change-Id: I9ec994e96c895196491dccba7d867cdfe6321a61
-
- Jan 02, 2013
-
-
Rolf Eike Beer authored
Change-Id: Ib480a8295d817f84219a747744b84b148a3d8d9a
-