- Mar 08, 2016
-
-
Change-Id: If1ef48369feca8bfd0a3831146fae6688f934b0c
-
- Mar 07, 2016
-
-
Sean McBride authored
Change-Id: Id2f7882d16bf05cfd50983b4fb660fec1d12b5b4
-
Sean McBride authored
Change-Id: I0c1db70531f1ef3823146fcefc2a8f8ee67f8f2a
-
Sean McBride authored
Change-Id: I8bd634ecc1bdc035492c145d3a66478dee56bb06
-
- Feb 22, 2016
-
-
Recompute `TimeoutTime` after `Timeout` changes so that one may modify the timeout of a process after it has started running by calling the normal `kwsysProcess_SetTimeout` method. Change-Id: I460a02d0d3c5f107b844abb56e39f5c844e7e3fb
-
- Feb 19, 2016
-
-
Junction points can exist in directories which may be manipulated within CMake. The problem is that junction points are currently completely unsupported within CMake. Since junctions need special API calls to manipulate, DeleteFileW does not work and instead DeviceIoControl must be used. Token privilege API calls must also be used to be able to actually open the junction points. Change-Id: I3e4ff3b7a600146ac3574d2b17890eef07d06496
-
- Feb 10, 2016
-
-
Change-Id: I694df81c1c62bd538ef02cb2846b6932870dbefe
-
- Feb 08, 2016
-
-
Update sources using KWSYS_HEADER to make the corresponding ".in" includes consistent. Change-Id: I9414edf93928386ffc38e0fd885edd0b7ddb2886
-
- Jan 11, 2016
-
-
James Johnston authored
As described in the issues below, Embarcadero compilers emit a spurious warning when including windows.h, if compiling with the C (not C++) language. http://qc.embarcadero.com/wc/qcmain.aspx?d=104595 [BCC32 Warning] winnt.h(14966)... http://qc.embarcadero.com/wc/qcmain.aspx?d=127681 Annoying warnings upon inclusion of <windows.h> in .C source file Change-Id: Ie8014edea7e8bbdd76f4555ec2d6cd6d90490032
-
Brad King authored
Use the GetShortPathNameW return value to allocate a buffer of the required size. The previous assumption that the "short" path will always require less space than the original path is incorrect. CMake-Issue: 15892 Inspired-by:
Jan van Dorsten <dorsten@boehme-weihs.de> Change-Id: I5845752710560b3e71a2f5eaf334dd676f5b3a9d
-
Use a `std::string` instead of `new char`. Change-Id: I88afe09990c6dd881c813df963ccd0031dcea301
-
- Jan 08, 2016
-
-
Robert Maynard authored
The ICC frontend on OSX is clang, and therefore the "__clang__" define exists, but it doesn't support the clang diagnostic pragma syntax. Change-Id: I6947bd22c77af8066b85a6b00be7cf6019e7d06e
-
- Jan 07, 2016
-
-
When peeking in a file for a byte order mark, if the file is short enough to reach end-of-file, clear the istream flags. CMake-Issue: 15890 Change-Id: I1fa3a1b94b47ad46b568b00b7b82b5380cbfcb21
-
- Dec 14, 2015
-
-
Brad King authored
This header is no longer used by any KWSys clients. Change-Id: I9362a7053b2f24f6bacf2bbe89dbfceeaabe70ae
-
- 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
-
- Dec 03, 2015
-
-
Rolf Eike Beer authored
FileIsDirectory() will return false if the given path does not exist, so the call to FileExists() is redundant. Change-Id: I46b3dde9150d6f24a436c4d2f9dd6e2d21c57638
-
Rolf Eike Beer authored
SystemTools::FileExists() can already check this case. These instances were forgotten in commit 0adafb51 (SystemTools: use FindProgram() overload that checks for directory). The summary says "FindProgram()", but it meant to be "FileExists()". Change-Id: I5ef2919d915fffe3a70e3f47d0c49e18951e66eb
-
Rolf Eike Beer authored
Neither this variable nor the original one are modified before the copy gets later overwritten, so just use the original variable to entirely avoid needless copy operations. Change-Id: I67438e774d68c797e77dc4f4a2b50bbad131a9da
-
Rolf Eike Beer authored
This vector will only be filled in an #ifdef, so put the only user of it outside that first #ifdef into an according one. This means Un*x platforms do not need to carry that dead code around anymore. Change-Id: Ia5071c36ed253e7cea63ccfa516add61799877f6
-
- Dec 02, 2015
-
-
Rolf Eike Beer authored
Change-Id: I59c150ef46c87bea36bab2822ebd0643aa7b7c2b
-
Rolf Eike Beer authored
Change-Id: I45efddc1638965d17f0207cdf900a44aef8bf0e8
-
- Dec 01, 2015
-
-
The list of possible extensions is only filled inside an #ifdef, so the whole usage of this list can be moved into that #ifdef's, too. The loop can be completely avoided if it's already known that the list will not be filled at all. Change-Id: I89a87115babf68f9bf99d4ad523cb0851c252cd9
-
This converts all constructs like FileExists(f) && !SystemTools::FileIsDirectory(f) to FileExists(f, true) which behaves the same. Change-Id: Iadb26fb792db032a396bc54c58f7b902c5e054b2
-
Microseconds range from 0 to 999999, so 1000000 is an overflow which should be processed as well. Change-Id: I59873504987d6aa416e87aa7f5cd208983217ace
-
- Nov 30, 2015
-
-
The NIOS2 CPU is little-endian. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Ley Foon Tan <lftan@altera.com> Cc: Thomas Chou <thomas@wytron.com.tw> Cc: Walter Goossens <waltergoossens@home.nl> Change-Id: Ifd1bc890b2fb74168b934641c70800a029f7f0b8
-
- Oct 16, 2015
-
-
See http://bixense.com/clicolors/ for documentation of this convention. This is useful e.g. for build servers or IDE outputs. Change-Id: I648edb4e09deda12a33328a7248dd3daf920be38
-
- 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
Construct the access time component-wise at runtime rather than in an initializer list. Change-Id: I0cdcb341b2b9e49506ebe6363729b4a662e38307
-
Brad King authored
Do not expose our platform introspection result publicly. Change-Id: I9929f31293adcb628b32d9d7f11b120c44046354
-
Change-Id: I1375f56aacc561714d2cb0095478a763079ee657
-
- Oct 02, 2015
-
-
Brad King authored
Include the <shellapi.h> header to get CommandLineToArgvW even when <windows.h> does not include it due to WIN32_LEAN_AND_MEAN. Change-Id: If42241621c30b76c7b49cd64e044a19403f9da09
-
- Sep 28, 2015
-
-
The GetPath method appends paths to an output vector and also converts paths to forward slashes. However, the method should not modify entries in the output vector that existed prior to the call. Fix it to only fix slashes in the entries it added to the vector. Also add a test case covering this behavior. Change-Id: Ie098c3eddbe63ed59f0d393aa6c43ea6c395011d
-
- Sep 25, 2015
-
-
Teach these functions to copy directories as directories instead of files. Create the destination directory and set permissions, but do not recurse into the directory structure because these functions are meant for individual filesystem entries. Change-Id: I20fae2e159f86285c02c3fd894609e2e51cafdac
-
- Sep 17, 2015
-
-
Ben Boeckel authored
Change-Id: I3cc74292e44eb13e8d7c278b67d7270119e2ae4f
-
- Sep 11, 2015
-
-
Change-Id: I552e0840b5c84187b67a781621c09b485d3e6048
-
We pass a OSVERSIONINFOEXA structure so call GetVersionExA explicitly to avoid ever calling GetVersionExW with a structure of the wrong size by mistake. Change-Id: I892ae0497ef3ca4b38cd2c1c1870d165b0bd8713
-
- 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
-