- Sep 23, 2016
-
-
Brad King authored
This compiler extension is not universally supported. Spell out the function name explicitly, and use __LINE__ to get more-specific information. Change-Id: I670d94a85f1ff8112655af62fb710460b3e76f19
-
Brad King authored
Streaming std::endl implies a flush. Change-Id: I770ee8ef989d096192fc9eb2a372eb2110ebe34c
-
Brad King authored
Borland 5.8 warns about initializations that are immediately followed by assignments. Change-Id: I74320629a3112b919b68215ebe74870881b210c5
-
- Sep 20, 2016
-
-
If expected and received characters don't match, output them. Change-Id: I348b531b85e2d09211c8d4c09eba12200d7ead32
-
std::wstring<>::size() returns characters, not bytes. Change-Id: Iced3d7246d022e3eea582dbd880ff2c71a145f5d
-
If FaceName wasn't previously present we need to remove it. Change-Id: I1e463f2b159de15838efe9f504ab5340aa5f2342
-
Change-Id: I3a726be174f9799e85d34243182e80cb35c655b5
-
Split the before-input and after-output cases since the parent must act between them. Change-Id: I14b704ea927c7ce7258d40ac105577a355cdcd13
-
Print more information about each failure. Change-Id: I9c9a0ad628fba6452894eb80251e6fa2bdf1a87f
-
- Sep 14, 2016
-
-
Brad King authored
If only some leading components of the input path exist then convert those and leave the rest unchanged. This way if a file path is constructed using GetActualCaseForPath and created on disk, then a following GetActualCaseForPath on the same now-existing path will return the same value. Change-Id: I6e09a4d411f8bf107312f39d7409ba2d22bf176b CMake-Issue: 16295
-
Brad King authored
Use ComparePath to perform case-insensitive comparison when needed. Change-Id: I901b1a12ab43655ac44eee2b3e18c3f2630d6c18
-
Brad King authored
Undefine any `_WIN32_WINNT` value that may be defined on the compiler command line by clients that are targeting the build at a different version of Windows than the host. We must build for the host APIs in order for the test to be able to configure its console correctly. Since the test binary is not installed it does not matter if it is not built for the client's target Windows version. Change-Id: Ic3e79550713384c45baf25aa624efbcb5d49d0a4
-
- Sep 09, 2016
-
-
Dāvis Mosāns authored
Currently Microsoft's C++ libraries implementation of std::cout/cerr can't output Unicode characters but only ASCII or ANSI if locale is set so we implement and use our own ConsoleBuf which can output Unicode characters to console and it doesn't matter what locale or console's codepage is set. Change-Id: I33053aa229796e84088aa3beb0ebe8bdbebaf3d1
-
- Aug 24, 2016
-
-
Brad King authored
When `GetShortPathNameW` returns a 0 buffer size then we should not call it again. Change-Id: I6529013ec3c792796649c25168f6c67b60ac7238
-
- Aug 03, 2016
-
-
Ben Boeckel authored
This method checks if a path by the given name exists. The problem with FileExists is that it returns `false` even for broken (or self-referential) symlinks which may not be what the user wants. Change-Id: I71b8af6e12a5ae4b1319a3bec83db6c3cef36f90
-
- Aug 02, 2016
-
-
Take changes used by pkgsrc [1]: * SCO OpenServer 5.0.7/3.2's command has 711 permission. [1] http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/cmake/patches/ Change-Id: Ib9fd7611e2c0b3e10a75b2322c002a8cb266ea89
-
Take changes used by pkgsrc [1]. [1] http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/cmake/patches/ Change-Id: I3b035ad1835755548250b67e2a7cbadaaf6a4657
-
Take changes used by pkgsrc [1]: * Add more conditional handling for NetBSD, same as others. * Treat FreeBSD and DragonFly the same way as NetBSD and OpenBSD. [1] http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/cmake/patches/ Change-Id: If94a931dd1609565459eb9891561f341cc990bf0
-
- Aug 01, 2016
-
-
Brad King authored
Remove the last calls to the GetEnv methods with this signature from KWSys itself. Change-Id: I9cdb2b060776a00bb698b396c9b33450237cd0b7
-
- Jul 21, 2016
-
-
James Johnston authored
Otherwise on e.g. MinGW or Embarcadero it would use POSIX functions which works only for ASCII paths. Change-Id: Ib95c79f0bc649e3befb646c6820380ef86108c8a
-
- Jul 19, 2016
-
-
std::basic_filebuf::open(const wchar_t *) isn't part of C++ standard and it's only present for MSVC but it isn't present in libstdc++ (MinGW) so we implement this functionality using GNU libstdc++ stdio_filebuf extension and _wfopen function. Change-Id: I7df7a1b22ba272db23c8d962cb66ec71a278ef06
-
Reduce code duplication. Change-Id: Ic0fcee68286c8e67bcb6fb58cbc7ca71c30f4c36
-
- Jul 18, 2016
-
-
Change-Id: I3cdbcb846a205b211ac0f597e2c1c940dc0b7268
-
- Jul 15, 2016
-
-
Some GetEnv callers only need to know whether an environment variable exists, so provide a direct query for this. Change-Id: Ib754cb122b53a2a7cc4801fc7198cf1d612ef6f4
-
On Windows getenv (and putenv) uses ANSI codepage so it needs to be encoded to internally used encoding (eg. UTF-8). Here we use _wgetenv (and _wputenv) instead and encode that. Change-Id: I8cb91f2386eb0efe3ef0a3132d1603217d710b60
-
- Jul 14, 2016
-
-
Revise code layout to make introduction of wide character APIs cleaner. Change-Id: I22301f07eba1e13b954eb938da3305f269d8b754
-
Change-Id: If7753c828c211998b76a1706ca7fd35fbb4c1f71
-
Brad King authored
When using `putenv("A=")` to approximate removal of `A` from the environment we must not free the buffer afterward because the string is still actually in the environment. Change-Id: I4d2455ca604a2e216123a3d2afafb64ca260d105 Reported-by:
James Johnston <johnstonj.public@codenest.com>
-
Brad King authored
Move `kwsysEnv` storage management into a `kwsysEnvSet` base class. Change-Id: I022a8620e570394bb1871515c8275c969535c693 Inspired-by:
Dāvis Mosāns <davispuh@gmail.com>
-
- Jun 30, 2016
-
-
Brad King authored
This header is no longer used by any KWSys clients. Change-Id: Ia83ed98403c881aa28c9a531111cc1441646b47f
-
- Mar 31, 2016
-
-
Matches the opening of this #ifdef. Change-Id: I044645285faaed0ac96b5f40af027ec07b73d825
-
If the path is a junction, pass if the junction was successfully deleted. Not doing so triggers an INVALID_FILE_HANDLE error when DeleteFileW is called later, not that the path doesn't exist. Change-Id: I8957a0ca0704f7f950faeac90b15e8c61c5f5a90
-
- Mar 29, 2016
-
-
The Debian package checker tool (lintian) detected typos. Change-Id: Ic7896c78d5cbac39287bf5e9c925208e53f3d348
-
- Mar 22, 2016
-
-
Ben Boeckel authored
_WIN32 is the actual define for Windows. WIN32 is a CMake-ism. Change-Id: Iea9f69ab1719325703a3c9a6cacdd6ecf13dbc34
-
- Mar 09, 2016
-
-
Change-Id: I7d588cb060ea17ed4221c55b866cbbebab983e3c
-
- 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
-