Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added %e to manual.asciidoc, fixed brace style. | Avinash Baliga | 2013-03-11 | 1 | -2/+1 |
| | |||||
* | Made %e purely a number. | Avinash Baliga | 2013-03-04 | 1 | -1/+1 |
| | |||||
* | NINJA_STATUS now takes %e for elapsed time. | Avinash Baliga | 2013-03-04 | 2 | -0/+9 |
| | |||||
* | Merge pull request #507 from ikarienator/master | Evan Martin | 2013-02-24 | 1 | -1/+2 |
|\ | | | | | Browse command does not parse URL correctly | ||||
| * | Browse command does not parse URL correctly | Bei Zhang | 2013-02-24 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #502 from tfarina/rm-unused-fun | Evan Martin | 2013-02-24 | 1 | -3/+1 |
|\ \ | |/ |/| | Removed unused UnitsWaiting() function from State class. | ||||
| * | Removed unused UnitsWaiting() function from State class. | Thiago Farina | 2013-02-19 | 1 | -3/+1 |
| | | | | | | | | | | | | | | This function was added at 307f0bbd("and some basic implementation"), but nobody calls it anymore. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | Fix wrong usage of std::string::find | Peter Kümmel | 2013-02-21 | 1 | -1/+2 |
|/ | |||||
* | say where the default value for -j comes from | Evan Martin | 2013-02-16 | 1 | -1/+1 |
| | | | | This is a FAQ. | ||||
* | depfile helper: check errors on writing .d files | Scott Graham | 2013-02-16 | 1 | -11/+26 |
| | | | | Closes #492 and #493. | ||||
* | add syntax for checking versions | Evan Martin | 2013-02-16 | 4 | -9/+100 |
| | |||||
* | util.cc: Reusing windows workaround for cygwin. | Paul Kunysch | 2013-02-09 | 1 | -1/+1 |
| | | | | | | This fixes: src/util.cc: In function 'double GetLoadAverage()': src/util.cc:337:28: error: 'getloadavg' was not declared in this scope | ||||
* | more verbose error (including path) when depfile fails to load | Scott Graham | 2013-01-24 | 1 | -1/+3 |
| | |||||
* | ManifestParser constructor accesses its first argument, don't pass NULL | Nico Weber | 2013-01-03 | 1 | -3/+6 |
| | | | | | | | | | | | The constructor does env_ = &state->bindings_; so env_ is effectively set to offsetof(ManifestParser, bindings_). This will blow up if env_ gets dereferenced -- this doesn't seem to happen in these tests, but it's less confusing with this patch. Also, passing &state is consistent with the rest of this test. | ||||
* | fix build on non-Linux glibc systems | Pino Toscano | 2012-12-29 | 1 | -2/+2 |
| | | | | | | | | | | | | ninja-build does not build on non-Linux archs, such as GNU/kFreeBSD and GNU/Hurd. The problem is that the GetProcessorCount() implementation for these architectures is the sysconf() one, but <unistd.h> has not been included, causing sysconf() and _SC_NPROCESSORS_ONLN to not be declared. Another solution (which is the one I chose) is to make use of the "linux" implementation which uses get_nprocs(), which is a GNU extension and thus available for anything using GNU libc. | ||||
* | 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. | ||||
* | rearrange handling of builtin bindings to make rules simpler | Evan Martin | 2012-12-29 | 12 | -154/+183 |
| | | | | | Now, a 'build' block can override any special binding like 'command' or 'description' if it needs to. | ||||
* | wrap some overlong lines | Evan Martin | 2012-12-29 | 12 | -27/+53 |
| | |||||
* | fix all "class" -> "struct" | Evan Martin | 2012-12-29 | 5 | -11/+9 |
| | |||||
* | Merge pull request #467 from ppuryear/browse-error | Evan Martin | 2012-12-29 | 1 | -5/+6 |
|\ | | | | | browse: Read ninja's error text from stderr. | ||||
| * | browse: Read ninja's error text from stderr. | Philip Puryear | 2012-12-08 | 1 | -5/+6 |
| | | |||||
* | | wrap test in anon namespace | Evan Martin | 2012-12-28 | 1 | -0/+4 |
| | | |||||
* | | correctly open /dev/null in subprocesses | Evan Martin | 2012-12-21 | 2 | -1/+16 |
| | | | | | | | | Fixes issue #468. | ||||
* | | update a comment | Evan Martin | 2012-12-21 | 1 | -6/+3 |
| | | |||||
* | | NINJA_STATUS: add support of `%p` for percentage | yannicklm | 2012-12-14 | 1 | -0/+8 |
| | | |||||
* | | Merge pull request #461 from riannucci/global_section | Evan Martin | 2012-12-13 | 15 | -202/+581 |
|\ \ | |/ |/| | Resource pools for ninja | ||||
| * | Remove unnecessary parameter from ShouldDelayEdge | Robert Iannucci | 2012-11-30 | 2 | -2/+2 |
| | | |||||
| * | Rename isValid | Robert Iannucci | 2012-11-30 | 1 | -1/+1 |
| | | |||||
| * | Fix formatting | Robert Iannucci | 2012-11-30 | 4 | -13/+13 |
| | | |||||
| * | Improve comments for src/state.h | Robert Iannucci | 2012-11-30 | 1 | -3/+12 |
| | | |||||
| * | Doc improvements | Robert Iannucci | 2012-11-30 | 1 | -0/+8 |
| | | |||||
| * | Make Edge->pool() a pointer like it should have been | Robert Iannucci | 2012-11-30 | 2 | -8/+8 |
| | | |||||
| * | Revert "Dump state for debugging" | Robert Iannucci | 2012-11-10 | 1 | -4/+0 |
| | | | | | | | | This reverts commit 9b196dc806e57cefd88bbbacd12286447dbf9ad9. | ||||
| * | Uninitialized variable! There is always one... | Robert Iannucci | 2012-11-10 | 1 | -1/+1 |
| | | |||||
| * | Dump state for debugging | Robert Iannucci | 2012-11-10 | 1 | -0/+4 |
| | | |||||
| * | Make edge dump pool name, and skip default pool | Robert Iannucci | 2012-11-10 | 2 | -1/+10 |
| | | |||||
| * | cover the nulled pool case | Robert Iannucci | 2012-11-10 | 1 | -19/+20 |
| | | |||||
| * | Add some tests! | Robert Iannucci | 2012-11-10 | 1 | -3/+129 |
| | | |||||
| * | begin rationalizing platform for both parsers | Robert Iannucci | 2012-11-10 | 1 | -7/+5 |
| | | |||||
| * | block parse method done | Robert Iannucci | 2012-11-10 | 6 | -185/+277 |
| | | |||||
| * | all building and tests passing | Robert Iannucci | 2012-11-09 | 2 | -2/+2 |
| | | |||||
| * | Dump pools with State | Robert Iannucci | 2012-11-09 | 3 | -6/+26 |
| | | |||||
| * | Fix a bug... now chrome build works O_O | Robert Iannucci | 2012-11-09 | 1 | -1/+1 |
| | | |||||
| * | and some basic implementation | Robert Iannucci | 2012-11-09 | 4 | -15/+46 |
| | | |||||
| * | stub out an api and de-constify Pool | Robert Iannucci | 2012-11-09 | 6 | -17/+63 |
| | | |||||
| * | Const ref FTW | Robert Iannucci | 2012-11-09 | 1 | -1/+1 |
| | | |||||
| * | Pull graph.cc too | Robert Iannucci | 2012-11-09 | 1 | -1/+2 |
| | | |||||
| * | Pull out base changes to state | Robert Iannucci | 2012-11-09 | 2 | -2/+40 |
| | | |||||
* | | 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 |