Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mark msvc-helper as experimental | Evan Martin | 2012-09-13 | 1 | -1/+1 |
| | |||||
* | windows: merge msvc-helper into ninja.exe itself | Evan Martin | 2012-09-13 | 1 | -0/+17 |
| | | | | | | Now "ninja -t msvc ..." passes the "..." to the msvc helper main. This drastically simplifies bootstrap and makes ninja a single binary again. | ||||
* | drop special case for msvc bucket count | Evan Martin | 2012-09-07 | 1 | -6/+1 |
| | | | | | Calling bucket_count() works locally with MSVC. I wonder if some other change in the code fixed this. | ||||
* | allow tools to specify when they run (before/after build.ninja load) | Evan Martin | 2012-09-06 | 1 | -34/+52 |
| | | | | | This will be necessary to inline msvc-helper as well as so -t graph can get depfiles. | ||||
* | factor out metrics dump from ninja main | Evan Martin | 2012-09-05 | 1 | -14/+18 |
| | |||||
* | factor out build log load from main | Evan Martin | 2012-09-05 | 1 | -28/+37 |
| | |||||
* | rearrange tool-picking logic | Evan Martin | 2012-09-05 | 1 | -18/+37 |
| | | | | Now "ninja -t list" works from any directory. | ||||
* | reduce indent | Evan Martin | 2012-09-04 | 1 | -39/+38 |
| | |||||
* | move BuildConfig out of globals | Evan Martin | 2012-09-04 | 1 | -14/+15 |
| | |||||
* | remove DiskInterface from globals | Evan Martin | 2012-09-04 | 1 | -5/+4 |
| | |||||
* | move BuildLog to DependencyScan | Evan Martin | 2012-09-04 | 1 | -3/+3 |
| | | | | | | | The build log is needed in computing whether an edge is dirty, so I think it belongs here. (It's a bit weird that Builder needs to reach into it to record completed commands, maybe it will become cleaner with more thought.) | ||||
* | pass Builder as arg to build-running functions | Evan Martin | 2012-09-04 | 1 | -15/+15 |
| | | | | Reducing use of globals. | ||||
* | remove config from BuildLog, rename members | Evan Martin | 2012-09-02 | 1 | -4/+5 |
| | |||||
* | make it more explicit that a bad build log causes us to rebuild | Evan Martin | 2012-08-17 | 1 | -0/+5 |
| | | | | | (Committing this on top of b56fe80 since they're related, but I may end up reverting both.) | ||||
* | 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 |
| |