Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plumb DepsLog load through Builder | Evan Martin | 2013-04-08 | 1 | -2/+3 |
| | |||||
* | load deps log at startup | Evan Martin | 2013-04-08 | 1 | -0/+35 |
| | |||||
* | factor out creation of build directory | Evan Martin | 2013-04-08 | 1 | -16/+21 |
| | |||||
* | Add spell checking for debug flags. | Nico Weber | 2013-03-27 | 1 | -1/+8 |
| | | | | | | | | | | I just used `ninja -d stat` and it took me a bit to realize that I missed the trailing 's'. While here, move the message printing from printf() to Error(). This makes the output consistent with other error outputs: The messages are now prefixed with "ninja: error: " instead of just "ninja: " and they go to stderr instead of stdout. | ||||
* | Merge pull request #512 from pcc/compilation-database | Evan Martin | 2013-03-10 | 1 | -0/+45 |
|\ | | | | | Add compdb tool | ||||
| * | Add compdb tool | Peter Collingbourne | 2013-03-10 | 1 | -0/+45 |
| | | | | | | | | | | This tool helps convert Ninja build files to a compilation database of the form used by Clang tooling. | ||||
* | | Bring in declaration of atoi | Dave Abrahams | 2013-03-08 | 1 | -0/+1 |
|/ | | | ./bootstrap.py fails on some platforms without this include | ||||
* | say where the default value for -j comes from | Evan Martin | 2013-02-16 | 1 | -1/+1 |
| | | | | This is a FAQ. | ||||
* | add syntax for checking versions | Evan Martin | 2013-02-16 | 1 | -6/+3 |
| | |||||
* | drop the "rules" tool completely | Evan Martin | 2012-12-29 | 1 | -19/+0 |
| | | | | | I had already broken this earlier, but the refactor of variable handling broke it completely. | ||||
* | Fix clang warning. | Thiago Farina | 2012-11-27 | 1 | -1/+1 |
| | | | | | | | | | | | The return type of CollectTarget() is Node, so we should return NULL in the failure case instead of false. src/ninja.cc:188:16: warning: initialization of pointer of type 'Node *' to null from a constant boolean expression [-Wbool-conversion] return false; ^~~~~ Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | Merge pull request #459 from maximuska/proposed/refactor-collect-targets | Evan Martin | 2012-11-12 | 1 | -49/+51 |
|\ | | | | | refactoring: decompose CollectTargetsFromArgs | ||||
| * | refactoring: decompose CollectTargetsFromArgs | Maxim Kalaev | 2012-11-09 | 1 | -49/+51 |
| | | |||||
* | | Merge pull request #443 from tfarina/disk-interface-alloc | Evan Martin | 2012-11-12 | 1 | -1/+1 |
|\ \ | | | | | | | Allocate disk_interface near where it's needed. | ||||
| * | | Allocate disk_interface near where it's needed. | Thiago Farina | 2012-10-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | This avoids allocating disk_interface unnecessarily. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | | Merge pull request #458 from rgeary1/minor | Evan Martin | 2012-11-09 | 1 | -0/+3 |
|\ \ \ | |_|/ |/| | | Minor improvements to ninja : Different exit code if user presses Ctrl-C, add eclipse to .gitignore, Improve an error message | ||||
| * | | Exit status = 2 if user presses ctrl-c | Richard Geary | 2012-11-09 | 1 | -0/+3 |
| | | | | | | | | | | | | Change-Id: I7be958e18eb2e434e78afb6e03b332281a651957 | ||||
* | | | Add missing 'virtual' annotation to ReadFile() override. | Thiago Farina | 2012-10-17 | 1 | -1/+1 |
| |/ |/| | | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | Don't say -h is invalid whereas it is supported. | Nicolas Despres | 2012-09-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | getopt_long(3) was reporting "ninja: invalid option -- h" when "ninja -h" was called. Regression most probably introduced by 5fdb12ed5cec4e1c853c64026142d088ff5519e1 | ||||
* | | Give MinGW builds MSVC build helper superpowers | Jon | 2012-09-20 | 1 | -2/+2 |
| | | | | | | | | | | | | Note: _WIN32 is used instead of WIN32 to enable builds with MSVC IDE, Windows SDK non-IDE command line tools, and mingw/mingw-w64 based toolchains | ||||
* | | Clean up getopt_long call. | Nico Weber | 2012-09-14 | 1 | -12/+12 |
|/ | | | | | | Remove now-unimplemented 'V' from getopt_long. Remove 'h', since it's included in the long options. Order switch cases in the same order as in the getopt_long argument. | ||||
* | 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> |