summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
Commit message (Collapse)AuthorAgeFilesLines
* KWSys Nightly Date StampKWSys Robot2009-12-161-1/+1
|
* KWSys: Build tests after librariesBrad King2009-12-151-0/+2
| | | | | | | | | | The TestSharedForward executable and TestDynload module do not actually link to a KWSys library, but it is nice to build them after the libraries just like all other test binaries. This also works around a universal binary bug in Xcode 2.x. It forgets to create the output directory for the executable before linking it. We avoid the problem by putting the library in the directory first.
* KWSys Nightly Date StampKWSys Robot2009-12-151-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-141-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-131-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-121-1/+1
|
* Add fallback for detecting CPU speed from Windows registry on builds where ↵David Cole2009-12-111-80/+221
| | | | USE_ASM_INSTRUCTIONS gets defined to 0. (Win64 builds.) Clean up methods to return false when not implemented or when they fail to detect the things they're supposed to detect. This file still needs a lot more work to have a fully working implementation on Win64 builds. Committing it now because it's slightly better than it was, and there is a need for the CPU speed detection code in projects that depend on kwsys. Will file a bug shortly to request that the missing implementations get filled in...
* KWSys Nightly Date StampKWSys Robot2009-12-111-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-101-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-091-1/+1
|
* KWSys: Remove default exe output pathBrad King2009-12-081-7/+0
| | | | | | KWSys should not set variables outside its namespace. It can honor the EXECUTABLE_OUTPUT_PATH set by a host project, but tere is no need for it to set a default in the host project cache.
* KWSys Nightly Date StampKWSys Robot2009-12-081-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-071-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-061-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-051-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-041-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-031-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-021-1/+1
|
* KWSys: List processes with "ps -ef" on OpenSolarisBrad King2009-12-011-1/+2
| | | | | | | | | In order to kill process trees we need to list all processes to find those whose parent we are killing. We implement process listing on OpenSolaris by using "ps -ef" and parsing the resulting format: UID PID PPID C STIME TTY TIME CMD %*s %d %d %*[^\n]\n
* KWSys: Use "ps -Af" for process list on QNXBrad King2009-12-011-0/+3
| | | | | | | | | In order to kill process trees we need to list all processes to find those whose parent we are killing. We implement process listing on QNX using "ps -Af" and parsing the resulting format: UID PID PPID C STIME TTY TIME CMD %*d %d %d %*[^\n]\n
* KWSys Nightly Date StampKWSys Robot2009-12-011-2/+2
|
* KWSys: Fix process tree kill on 64-bit WindowsBrad King2009-11-301-1/+6
| | | | | | | | We enumerate processes to identify those whose parent is being killed so that we can recursively kill the children. Enumeration uses the Process32(First|Next) windows API functions, which accept PROCESSENTRY32 objects to be filled. This commit corrects the declaration of the entry structure to account for its size on 64-bit Windows.
* KWSys: Restore SIGSTOP/SIGKILL to end process treeBrad King2009-11-301-7/+15
| | | | | | | | | | | | | | | On UNIX systems we kill a tree of processes by performing a DFS walk of the tree. We send SIGSTOP to each process encountered, recursively handle its children, and then send SIGKILL. We once used the above approach in the past, but it was removed by the commit "Do not send both SIGSTOP and SIGKILL when killing a process". The commit was meant to work-around an OS X 10.3 bug in which the child would not always honor SIGKILL after SIGSTOP. At the time we wrongly assumed that the process tree remains intact after SIGKILL and before the child is reaped. In fact the grandchildren may be re-parented to ppid=1 even before the child is reaped, which causes the DFS walk to miss them.
* KWSys Nightly Date StampKWSys Robot2009-11-301-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-291-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-281-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-271-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-261-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-251-1/+1
|
* Mac has gettimeofday defined, but cmsys wasn't aware of that, so it was ↵Zach Mullen2009-11-241-1/+1
| | | | falling back to using time() which only provides second resolution. Fixed to allow usec res.
* Suppress Intel float-equality test warningsBrad King2009-11-241-0/+3
| | | | | | | We suppress Intel warning 1572 because the cases where we do equality tests are valid. Since this project does not do numerical computations we need not worry about real instances against which this warning protects.
* KWSys Nightly Date StampKWSys Robot2009-11-241-1/+1
|
* KWSys: Work-around llvm-gcc-4.2 optimizer bugBrad King2009-11-231-0/+5
| | | | | Under -O3 optimization this compiler breaks our testProcess.c source file. We force -O0 for the file to avoid the problem.
* KWSys Nightly Date StampKWSys Robot2009-11-231-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-221-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-211-1/+1
|
* KWSys: Set CMP0003 to NEWBrad King2009-11-201-5/+3
| | | | | | The commit "Enable loose loop constructs in KWSys" set the minimum required CMake version to 2.4.5. This regressed the setting of CMP0003, so we restore it in this commit.
* Fix KWSys FundamentalType for Universal BinariesBrad King2009-11-203-19/+92
| | | | | | | | | | | | | | The FundamentalType header needs to know type sizes at preprocessing time. This commit teaches it to avoid using CHECK_TYPE_SIZE because the macro does not work for types whose size varies across architectuers in Mac OS X universal binaries. Fortunately the Mac compilers provide just enough information to detect the needed type sizes during preprocessing. We now use preprocessor macros instead of configuration tests whenever they are available. As a side effect this reduces the number of try-compiles needed with GCC. See issue #9913.
* Create KWSYS_PLATFORM_INFO_TEST macroBrad King2009-11-201-0/+52
| | | | | | | This macro helps KWSys perform try-compile tests that extract 'INFO' strings out of compiled binaries. It works for CMake 2.6 and above. On CMake 2.4 it always returns an empty list of information values, so this should be used only as an optimization until 2.6 is required.
* Check for 'long long' without computing sizeBrad King2009-11-202-4/+14
| | | | | | | In KWSys IOStream we need to detect whether 'long long' exists but we do not need its size. We avoid using CHECK_TYPE_SIZE because it does not work for types whose size varies across architectuers in Mac OS X universal binaries. See issue #9913.
* Enable loose loop constructs in KWSysBrad King2009-11-201-1/+5
| | | | | We set CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in KWSys's CMakeLists.txt file to enable simpler endif() syntax for CMake 2.4.
* KWSys Nightly Date StampKWSys Robot2009-11-201-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-191-1/+1
|
* Fix bogus calls to GetMemoryStatus and GetMemoryStatusEx: need to set the ↵David Cole2009-11-181-1/+6
| | | | dwLength member of the struct prior to calling. Otherwise it's just a garbage value from the stack. Also, pay attention to return value of GetMemoryStatusEx: if it indicates failure then just return 0 without using any of the other data the call returns.
* KWSys Nightly Date StampKWSys Robot2009-11-181-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-11-171-1/+1
|
* Try to fix missing size_t on qnxBill Hoffman2009-11-161-0/+1
|
* COMP: Fixing return type of the Get methods associated with variables thatLuis Ibanez2009-11-162-16/+16
| | | | | were changed from "unsigned long" to "size_t" to solve warnings about 64 bits to 32 bits truncations.
* KWSys Nightly Date StampKWSys Robot2009-11-161-1/+1
|
* COMP: Fixing type declarations and type conversions that could potentiallyLuis Ibanez2009-11-151-12/+12
| | | | truncate 64 bits types into 32 bits types.