Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix a warning and leak in windows-specific console output code | Evan Martin | 2012-07-27 | 1 | -2/+2 |
| | |||||
* | Merge pull request #351 from syntheticpp/rate | Evan Martin | 2012-07-27 | 1 | -1/+27 |
|\ | | | | | print edges per second | ||||
| * | print edges per second | Peter Kuemmel | 2012-07-15 | 1 | -1/+27 |
| | | | | | | | | | | | | | | | | | | | | | | prints the rate of finished edges per second to the console, for instance with NINJA_STATUS="[%s/%t %o(%c)/s] ": [132/1922 16.1(14)/s] 16.1 is the average for all processed files (here 132 since start) 14 is the average of the last n files while n is the number specifies by -j (or its default) | ||||
* | | windows: use WriteConsoleOutput instead of printf to avoid moving cursor | Scott Graham | 2012-07-19 | 1 | -6/+20 |
|/ | |||||
* | Efficiently check for emptiness | Pierre Schweitzer | 2012-07-14 | 1 | -1/+1 |
| | |||||
* | Merge pull request #313 from wolfp/restat_missing_input | Evan Martin | 2012-07-03 | 1 | -7/+1 |
|\ | | | | | Do not reset restat_mtime if an input is missing | ||||
| * | Do not reset restat_mtime if an input is missing (issue #295) | wolfp | 2012-06-27 | 1 | -7/+1 |
| | | |||||
* | | Remove code that was never executed. | Nico Weber | 2012-06-02 | 1 | -9/+1 |
| | | | | | | | | | | total_time was always -1, because it computed a pointer difference, not a time difference (should've been |*end_time - *start_time|). | ||||
* | | Merge pull request #320 from nico/cleanup | Evan Martin | 2012-06-02 | 1 | -2/+0 |
|\ \ | | | | | | | Remove unused variable last_update_millis_. | ||||
| * | | Remove unused variable last_update_millis_. | Nico Weber | 2012-06-01 | 1 | -2/+0 |
| |/ | |||||
* | | Missing header file for "getenv". | Jonathan Sternberg | 2012-05-31 | 1 | -0/+1 |
| | | |||||
* | | Removing unused sys/termios.h header. | Jonathan Sternberg | 2012-05-30 | 1 | -1/+0 |
|/ | |||||
* | views: Mark single-argument constructors as explicit. | Thiago Farina | 2012-05-06 | 1 | -1/+1 |
| | | | | | | | | This was reported by cpplint as: python ~/depot_tools/cpplint.py 2>&1 | grep -v "Done processing" | grep explicit Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | Merge pull request #274 from polrop/max_load_average | Evan Martin | 2012-04-28 | 1 | -1/+3 |
|\ | | | | | Max load average | ||||
| * | Add -l N option to limit the load average. | Nicolas Despres | 2012-04-19 | 1 | -1/+3 |
| | | | | | | | | | | | | | | This is similar to GNU make -l/--load-average option. It limits the number of job started if the load average exceed the given value. It can be very useful when running ninja on a continuous integration server where we want to use parallelism as much as possible without overloading the server. | ||||
| * | Remove trailing white spaces. | Nicolas Despres | 2012-04-19 | 1 | -6/+6 |
| | | |||||
* | | reduce custom ninja status patch in minor ways | Evan Martin | 2012-04-26 | 1 | -82/+49 |
| | | | | | | | | | | Elsewhere in the code I avoid sstream and manual buffer management, so switch this code to behave similarly. Sorry for being OCD. | ||||
* | | Merge branch 'custom_ninja_status' of git://github.com/polrop/ninja | Evan Martin | 2012-04-26 | 1 | -43/+98 |
|\ \ | |||||
| * | | Refactor and test progress status formatting. | Nicolas Despres | 2012-04-24 | 1 | -68/+46 |
| | | | |||||
| * | | Introduce NINJA_STATUS env var for customization. | Nicolas Despres | 2012-04-24 | 1 | -2/+79 |
| | | | | | | | | | | | | | | | | | | Some people may want to display different relevant information about the progress of the build. Also it can be usefull to debug jobs allocation. | ||||
| * | | Remove trailing white spaces. | Nicolas Despres | 2012-04-24 | 1 | -6/+6 |
| |/ | |||||
* | | Merge pull request #269 from sgraham/explain | Evan Martin | 2012-04-26 | 1 | -1/+1 |
|\ \ | | | | | | | add support for -d explain to help debug why rules are running | ||||
| * | | add support for -d explain to help debug why rules are running | Scott Graham | 2012-04-13 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #228 from pcc/lazily-create-commandrunner | Evan Martin | 2012-04-26 | 1 | -4/+8 |
|\ \ | |/ |/| | Lazily create the CommandRunner in Builder::Build | ||||
| * | Lazily create the CommandRunner in Builder::Build | Peter Collingbourne | 2012-02-27 | 1 | -4/+8 |
| | | | | | | | | | | This allows the user to interrupt the build (i.e. using Ctrl-C) while the build plan is being computed. | ||||
* | | Include unistd.h where needed | Ben Boeckel | 2012-03-28 | 1 | -0/+1 |
| | | |||||
* | | Be more selective about deleting output files when interrupted | Peter Collingbourne | 2012-03-01 | 1 | -3/+18 |
| | | | | | | | | | | | | | | Specifically, only delete if the file was modified or if the rule uses a depfile. Fixes issue #226. | ||||
* | | [win32] Overprint the previous line if we're attached to a console | Scott Graham | 2012-02-27 | 1 | -5/+38 |
|/ | |||||
* | Merge pull request #217 from PetrWolf/master | Evan Martin | 2012-02-23 | 1 | -2/+13 |
|\ | | | | | Response files | ||||
| * | Response files | unknown | 2012-02-09 | 1 | -2/+13 |
| | | |||||
* | | fix depfile_ access | Thiago Farina | 2012-02-16 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #176 from pcc/exit-cleanup | Evan Martin | 2012-02-14 | 1 | -37/+92 |
|\ \ | |/ |/| | Implement cleanup-on-interrupt | ||||
| * | If a command fails, wait for all running commands to terminate before we do | Peter Collingbourne | 2012-02-04 | 1 | -14/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if a command fails, the fate of the other child processes running in parallel was inadequately controlled. On POSIX platforms, the processes were orphaned. Normally they would run to completion, but were liable to being killed by a SIGPIPE. On Windows, the child processes would terminate with the parent. The cleanup-on-interrupt patch caused the SubprocessSet and Builder destructors to clean up after themselves by killing any running child processes and deleting their output files, making the behaviour more predictable and consistent across platforms. If the build is interrupted by the user, this is correct behaviour. But in the case where the build is stopped by a failed command, this would be inconsistent with user expectations. In the latter case, we now let any remaining child processes run to completion before leaving the main loop in Builder::Build. | ||||
| * | Implement cleanup-on-interrupt | Peter Collingbourne | 2012-02-04 | 1 | -17/+59 |
| | | | | | | | | | | | | | | | | 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. | ||||
| * | Clean up how the build line is managed at the end of the build | Peter Collingbourne | 2012-02-04 | 1 | -6/+20 |
| | | |||||
* | | compute command twice only in case of an error | Peter Kuemmel | 2012-02-04 | 1 | -3/+2 |
|/ | |||||
* | windows: use _WIN32 define everywhere | Evan Martin | 2012-01-22 | 1 | -2/+2 |
| | | | | Rather than mixing use of WIN32 and _WIN32. | ||||
* | Strip ansi escape sequences from subcommand output when not writing to a ↵ | Nico Weber | 2012-01-19 | 1 | -2/+20 |
| | | | | smart terminal. | ||||
* | Add a test that dry run shows all commands that could be run (none | Frances Buontempo | 2012-01-16 | 1 | -1/+1 |
| | | | | cleaned) and a fix for this | ||||
* | adjust restat behavior around missing outputs | Evan Martin | 2012-01-05 | 1 | -8/+7 |
| | | | | | | | If a restat rule claims to write an output but doesn't, consider it "no change" (in the restat sense) if the output didn't exist beforehand. I.e. if the output didn't exist before and the output doesn't exist after, we don't need to run dependent rules. | ||||
* | windows: don't use \e in string | Evan Martin | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | convert all time_t to a new TimeStamp type | Evan Martin | 2012-01-05 | 1 | -5/+5 |
| | |||||
* | Fix the TODO in Rule class. | Thiago Farina | 2011-12-24 | 1 | -1/+1 |
| | | | | | | Move various data members to private section and provide accessors for them. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | make Rule::generator_ and restat_ private | Evan Martin | 2011-12-07 | 1 | -1/+1 |
| | |||||
* | make Node::out_edges_ private | Evan Martin | 2011-12-07 | 1 | -4/+4 |
| | |||||
* | make Node::in_edge_ private | Evan Martin | 2011-12-07 | 1 | -3/+2 |
| | |||||
* | make Node::dirty_ private | Evan Martin | 2011-12-07 | 1 | -4/+4 |
| | |||||
* | merge FileStat into Node | Evan Martin | 2011-12-07 | 1 | -11/+11 |
| | | | | | | The two were always one-to-one anyway. I started adding accessors to FileStat and then realized most users wanted them on Node and that forwarding them through was silly. | ||||
* | refactor to remove Node::ready() | Evan Martin | 2011-12-07 | 1 | -4/+2 |
| | |||||
* | add and use getter for Edge::rule_ | Evan Martin | 2011-12-07 | 1 | -2/+2 |
| |