Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add 'using namespace std;' to all cc files to prepare for removing it from ↵ | Michael Jones | 2020-09-30 | 1 | -0/+2 |
| | | | | header files | ||||
* | Improve error messages when ninja commands fail on Windows. | Brett Vickers | 2019-08-28 | 1 | -5/+13 |
| | | | | | | | | When a call to the Win32 API CreateProcessA fails, ninja now outputs the exact command string that caused it to fail. It also detects when the command contained leading whitespace and outputs a hint that lets the user know why the command failed. | ||||
* | subprocess-win32: add hint on ERROR_INVALID_PARAMETER | Ben Boeckel | 2018-11-09 | 1 | -0/+4 |
| | | | | | This is generally associated with the command line being too long. Give a hint to this case in the error message. | ||||
* | Fix building on Windows in UNICODE mode | Gergely Nagy | 2017-10-31 | 1 | -5/+6 |
| | |||||
* | Remove unnecessary `std::` | Tetsuo Kiso | 2016-01-10 | 1 | -1/+1 |
| | |||||
* | win console wip: Fix comments based on review feedback. | Nico Weber | 2014-05-18 | 1 | -1/+1 |
| | |||||
* | win console wip: resolve FIXME | Nico Weber | 2014-05-14 | 1 | -1/+1 |
| | |||||
* | win console wip: ctrl-c should reach commands running in console pools | Nico Weber | 2014-05-13 | 1 | -1/+4 |
| | |||||
* | wip for console pool on windows | Nico Weber | 2014-05-13 | 1 | -9/+15 |
| | |||||
* | Introduce the "console" pool | Peter Collingbourne | 2014-02-03 | 1 | -1/+4 |
| | | | | | | | This is a pre-defined pool with a depth of 1. It has the special property that any task in the pool has direct access to the console. This can be useful for interactive tasks or long-running tasks which produce status updates on the console (such as test suites). | ||||
* | wrap some overlong lines | Evan Martin | 2012-12-29 | 1 | -2/+5 |
| | |||||
* | move Win32Fatal into util | Evan Martin | 2012-08-12 | 1 | -8/+0 |
| | |||||
* | windows: fix printf format for process id | Evan Martin | 2012-07-27 | 1 | -1/+1 |
| | |||||
* | wrap at 80 columns | Evan Martin | 2012-07-27 | 1 | -2/+5 |
| | |||||
* | pass subprocesses handle to nul device rather than null handle | Scott Graham | 2012-05-09 | 1 | -5/+16 |
| | |||||
* | Put & operator with the type rather than the variable name. | Thiago Farina | 2012-04-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | Merge pull request #176 from pcc/exit-cleanup | Evan Martin | 2012-02-14 | 1 | -8/+55 |
|\ | | | | | Implement cleanup-on-interrupt | ||||
| * | Implement cleanup-on-interrupt | Peter Collingbourne | 2012-02-04 | 1 | -8/+55 |
| | | | | | | | | | | | | | | | | This causes us to clean up by deleting any output files belonging to currently-running commands before we quit if we are interrupted (either by Ctrl-C or by a command failing). Fixes issue #110. | ||||
* | | Avoid using undefined value in Subprocess::OnPipeReady() | Qingning Huo | 2012-02-04 | 1 | -2/+3 |
|/ | |||||
* | Mark CreateProcess "program not found" failure as non-fatal | Qingning Huo | 2012-01-20 | 1 | -2/+20 |
| | |||||
* | factor out windows perror equivalent | Evan Martin | 2011-12-20 | 1 | -15/+1 |
| | |||||
* | windows: clear process launch structs before using them | Evan Martin | 2011-12-02 | 1 | -0/+2 |
| | |||||
* | Remove warning triggered by -Wextra on MinGW. | Nicolas Despres | 2011-11-19 | 1 | -1/+1 |
| | |||||
* | Use more portable way to get the current process ID. | Nicolas Despres | 2011-11-19 | 1 | -2/+1 |
| | | | | | | | GetProcessId() is available only since Windows XP. Since MinGW define WINVER to 0x0400 which is Windows 2000 I think, we have a compilation error. Using GetCurrentProcessId() instead of GetProcessId(GetCurrentProcess()) fix this issue. | ||||
* | This is C++, there is no need to write 'struct' before the type when ↵ | Thiago Farina | 2011-09-10 | 1 | -1/+1 |
| | | | | | | declaring a variable. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | subprocess-win32.cc: change named pipe names to contain process ID and ↵ | Qingning Huo | 2011-09-04 | 1 | -2/+2 |
| | | | | subprocess object address. | ||||
* | Fix for win32 long command lines: | U-MATHLETE\John | 2011-06-26 | 1 | -2/+3 |
| | | | | | | - remove 'cmd /c' prepend from SubProcess::Start() - fix the subprocess tests to prepend 'cmd /c' explicitly | ||||
* | Fix for 'pipe has ended' errors on Win32 distributed builds | Evan Martin | 2011-06-25 | 1 | -0/+5 |
| | | | | Patch from John Birtley. | ||||
* | windows: remove extra print | Evan Martin | 2011-05-08 | 1 | -1/+0 |
| | |||||
* | windows: pass subprocess tests | Evan Martin | 2011-05-08 | 1 | -2/+4 |
| | |||||
* | windows: subprocess implementation for Windows | Evan Martin | 2011-05-06 | 1 | -0/+211 |
Heavily based on a patch from Sergey Nenakhov <nenakhov.sergey@gmail.com>. |