Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename -V to --version and clean up --help output | Evan Martin | 2012-08-13 | 1 | -9/+8 |
| | |||||
* | fix windows build | Evan Martin | 2012-08-08 | 1 | -1/+1 |
| | |||||
* | use DiskInterface to create the build directory | Evan Martin | 2012-08-07 | 1 | -8/+11 |
| | | | | | | | | | | Fixes issue #392 (didn't handle creating nested build dirs right). Moves MakeDir out of util.h; all code should go through DiskInterface to simplify testing. Moves ownership of the DiskInterface into the client of the Builder, which also allows removing some code that reached inside the object as well as a minor leak. | ||||
* | use chdir() define from util.h | Evan Martin | 2012-07-28 | 1 | -4/+0 |
| | |||||
* | move processor-count code to util.cc | Evan Martin | 2012-07-28 | 1 | -25/+1 |
| | |||||
* | note that -l doesn't work on windows | Evan Martin | 2012-07-28 | 1 | -0/+3 |
| | | | | Filed issue #386 about it too. | ||||
* | also build with msvc | Peter Kümmel | 2012-07-27 | 1 | -1/+5 |
| | |||||
* | rearrange minidump patch to match ninja code style | Evan Martin | 2012-07-27 | 1 | -34/+45 |
| | |||||
* | Merge branch 'set_terminate' of git://github.com/gmoudry/ninja into minidump | Evan Martin | 2012-07-27 | 1 | -0/+35 |
|\ | | | | | | | | | | | | | (This likely doesn't compile, just getting all the history in place.) Conflicts: src/util.cc | ||||
| * | Changed #ifdef _WIN32 to #ifdef _MSC_VER to make sure that MinGW compiles ↵ | Jiri Moudry | 2012-04-26 | 1 | -1/+1 |
| | | | | | | | | happily | ||||
| * | Improve handling of fatal errors on Windows, support creation of minidumps | Jiri Moudry | 2012-03-28 | 1 | -0/+35 |
| | | |||||
* | | Don't print 'Entering directory' when running tools. | Nico Weber | 2012-07-25 | 1 | -1/+4 |
| | | |||||
* | | Rename parsers.* to manifest_parser.* | Thiago Farina | 2012-07-09 | 1 | -1/+1 |
| | | | | | | | | | | | | So it matches with the class name in there. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | include version number | Evan Martin | 2012-05-08 | 1 | -2/+10 |
| | | |||||
* | | No need to convert log_path to c-string. Two places. | Thiago Farina | 2012-05-06 | 1 | -4/+3 |
| | | | | | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | Merge pull request #274 from polrop/max_load_average | Evan Martin | 2012-04-28 | 1 | -2/+11 |
|\ \ | | | | | | | Max load average | ||||
| * | | Add -l N option to limit the load average. | Nicolas Despres | 2012-04-19 | 1 | -2/+11 |
| | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | suggest ninja -h when someone runs 'ninja help' | Evan Martin | 2012-04-26 | 1 | -0/+2 |
| | | | |||||
* | | | add support for -d explain to help debug why rules are running | Scott Graham | 2012-04-13 | 1 | -2/+7 |
|/ / | |||||
* | | Include unistd.h where needed | Ben Boeckel | 2012-03-28 | 1 | -0/+1 |
|/ | |||||
* | make urtle fit on 24-line terminal | Evan Martin | 2012-03-06 | 1 | -1/+1 |
| | |||||
* | Give a useful hint if the user runs "ninja clean" and there is no "clean" target | Peter Collingbourne | 2012-03-05 | 1 | -3/+7 |
| | |||||
* | add an "urtle" tool | Evan Martin | 2012-03-01 | 1 | -0/+28 |
| | |||||
* | Do not reload the manifest if a restat cleans it while being rebuilt | Peter Collingbourne | 2012-02-21 | 1 | -1/+6 |
| | |||||
* | If a command fails, wait for all running commands to terminate before we do | Peter Collingbourne | 2012-02-04 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | rearrange query/browse output to be more sensible | Evan Martin | 2012-01-24 | 1 | -18/+22 |
| | |||||
* | only msvc needs these workarounds | Peter Kuemmel | 2012-01-22 | 1 | -1/+1 |
| | |||||
* | windows: use _WIN32 define everywhere | Evan Martin | 2012-01-22 | 1 | -5/+5 |
| | | | | Rather than mixing use of WIN32 and _WIN32. | ||||
* | windows: hash_map bucket count has different getter | Frances Buontempo | 2012-01-11 | 1 | -1/+6 |
| | |||||
* | include main hash load in -d stats output | Evan Martin | 2012-01-09 | 1 | -1/+8 |
| | |||||
* | add a '-d stats' flag for detailed timings | Evan Martin | 2012-01-05 | 1 | -3/+28 |
| | | | | | | 1) Add a system for recording detailed timing info of functions. 2) Add a -d flag for requesting debug info at runtime, with the above as the first user. | ||||
* | factor out the main builder call | Evan Martin | 2012-01-05 | 1 | -30/+36 |
| | |||||
* | ninja.cc: Clear the rules/variables/state when reloading build.ninja | Evan Jones | 2012-01-05 | 1 | -20/+32 |
| | | | | | This error was introduced in commit 4f6f015b. Previously, the reload goto label created a new State. This now does the same, manually. | ||||
* | make Lexer::Error not emit trailing newline | Evan Martin | 2012-01-05 | 1 | -4/+1 |
| | | | | | Now it's consistent with other errors. Fixes part of issue #187. | ||||
* | allow spellcheck to be used with a vector of strings | Evan Martin | 2012-01-04 | 1 | -3/+4 |
| | |||||
* | refactor tool list into a table | Evan Martin | 2012-01-04 | 1 | -102/+111 |
| | |||||
* | don't attempt to build browse.* in bootstrap mode | Evan Martin | 2012-01-04 | 1 | -1/+1 |
| | |||||
* | switch the core ninja parser to use re2c for the lexer | Evan Martin | 2011-12-29 | 1 | -3/+9 |
| | | | | | | | | | - Delete the old "Tokenizer" code. - Write separate tests for the lexer distinct from the parser. - Switch the parser to use the new code. - New lexer error output has file:line numbers so e.g. Emacs can jump your editor to the syntax error. - The EvalEnv ($-interpolation) code is now part of the lexer as well. | ||||
* | remove huge indent from tools list | Evan Martin | 2011-12-27 | 1 | -8/+8 |
| | |||||
* | Fix the TODO in Rule class. | Thiago Farina | 2011-12-24 | 1 | -2/+2 |
| | | | | | | Move various data members to private section and provide accessors for them. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | print 'entering directory' when -C is used | Evan Martin | 2011-12-15 | 1 | -0/+4 |
| | | | | | | This allows Emacs to track what directory you're in. Patch from Ami Fischman <fischman@chromium.org>. | ||||
* | Fix 'list' tool. | Nicolas Despres | 2011-12-09 | 1 | -1/+1 |
| | |||||
* | make Rule::name_ private | Evan Martin | 2011-12-07 | 1 | -5/+5 |
| | |||||
* | make Node::out_edges_ private | Evan Martin | 2011-12-07 | 1 | -4/+4 |
| | |||||
* | make Node::in_edge_ private | Evan Martin | 2011-12-07 | 1 | -10/+10 |
| | |||||
* | merge FileStat into Node | Evan Martin | 2011-12-07 | 1 | -8/+8 |
| | | | | | | 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. | ||||
* | add help output to clean tool | Evan Martin | 2011-12-05 | 1 | -10/+16 |
| | |||||
* | also spell-check the 'clean' tool; abort on misspelling | Evan Martin | 2011-12-05 | 1 | -2/+3 |
| | |||||
* | split out tool list into a separate subcommand | Evan Martin | 2011-12-05 | 1 | -14/+27 |
| | | | | | Fits the -h output on one screen again, and allows more whitespace in both the -h output and the tool list. | ||||
* | disable the 'unused parameter' warning | Evan Martin | 2011-12-05 | 1 | -1/+1 |
| | | | | It was firing too often, and hadn't uncovered any bugs. |