summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Added %e to manual.asciidoc, fixed brace style.Avinash Baliga2013-03-111-2/+1
|
* Made %e purely a number.Avinash Baliga2013-03-041-1/+1
|
* NINJA_STATUS now takes %e for elapsed time.Avinash Baliga2013-03-042-0/+9
|
* Merge pull request #507 from ikarienator/masterEvan Martin2013-02-241-1/+2
|\ | | | | Browse command does not parse URL correctly
| * Browse command does not parse URL correctlyBei Zhang2013-02-241-1/+2
| |
* | Merge pull request #502 from tfarina/rm-unused-funEvan Martin2013-02-241-3/+1
|\ \ | |/ |/| Removed unused UnitsWaiting() function from State class.
| * Removed unused UnitsWaiting() function from State class.Thiago Farina2013-02-191-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::findPeter Kümmel2013-02-211-1/+2
|/
* say where the default value for -j comes fromEvan Martin2013-02-161-1/+1
| | | | This is a FAQ.
* depfile helper: check errors on writing .d filesScott Graham2013-02-161-11/+26
| | | | Closes #492 and #493.
* add syntax for checking versionsEvan Martin2013-02-164-9/+100
|
* util.cc: Reusing windows workaround for cygwin.Paul Kunysch2013-02-091-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 loadScott Graham2013-01-241-1/+3
|
* ManifestParser constructor accesses its first argument, don't pass NULLNico Weber2013-01-031-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 systemsPino Toscano2012-12-291-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 completelyEvan Martin2012-12-291-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 simplerEvan Martin2012-12-2912-154/+183
| | | | | Now, a 'build' block can override any special binding like 'command' or 'description' if it needs to.
* wrap some overlong linesEvan Martin2012-12-2912-27/+53
|
* fix all "class" -> "struct"Evan Martin2012-12-295-11/+9
|
* Merge pull request #467 from ppuryear/browse-errorEvan Martin2012-12-291-5/+6
|\ | | | | browse: Read ninja's error text from stderr.
| * browse: Read ninja's error text from stderr.Philip Puryear2012-12-081-5/+6
| |
* | wrap test in anon namespaceEvan Martin2012-12-281-0/+4
| |
* | correctly open /dev/null in subprocessesEvan Martin2012-12-212-1/+16
| | | | | | | | Fixes issue #468.
* | update a commentEvan Martin2012-12-211-6/+3
| |
* | NINJA_STATUS: add support of `%p` for percentageyannicklm2012-12-141-0/+8
| |
* | Merge pull request #461 from riannucci/global_sectionEvan Martin2012-12-1315-202/+581
|\ \ | |/ |/| Resource pools for ninja
| * Remove unnecessary parameter from ShouldDelayEdgeRobert Iannucci2012-11-302-2/+2
| |
| * Rename isValidRobert Iannucci2012-11-301-1/+1
| |
| * Fix formattingRobert Iannucci2012-11-304-13/+13
| |
| * Improve comments for src/state.hRobert Iannucci2012-11-301-3/+12
| |
| * Doc improvementsRobert Iannucci2012-11-301-0/+8
| |
| * Make Edge->pool() a pointer like it should have beenRobert Iannucci2012-11-302-8/+8
| |
| * Revert "Dump state for debugging"Robert Iannucci2012-11-101-4/+0
| | | | | | | | This reverts commit 9b196dc806e57cefd88bbbacd12286447dbf9ad9.
| * Uninitialized variable! There is always one...Robert Iannucci2012-11-101-1/+1
| |
| * Dump state for debuggingRobert Iannucci2012-11-101-0/+4
| |
| * Make edge dump pool name, and skip default poolRobert Iannucci2012-11-102-1/+10
| |
| * cover the nulled pool caseRobert Iannucci2012-11-101-19/+20
| |
| * Add some tests!Robert Iannucci2012-11-101-3/+129
| |
| * begin rationalizing platform for both parsersRobert Iannucci2012-11-101-7/+5
| |
| * block parse method doneRobert Iannucci2012-11-106-185/+277
| |
| * all building and tests passingRobert Iannucci2012-11-092-2/+2
| |
| * Dump pools with StateRobert Iannucci2012-11-093-6/+26
| |
| * Fix a bug... now chrome build works O_ORobert Iannucci2012-11-091-1/+1
| |
| * and some basic implementationRobert Iannucci2012-11-094-15/+46
| |
| * stub out an api and de-constify PoolRobert Iannucci2012-11-096-17/+63
| |
| * Const ref FTWRobert Iannucci2012-11-091-1/+1
| |
| * Pull graph.cc tooRobert Iannucci2012-11-091-1/+2
| |
| * Pull out base changes to stateRobert Iannucci2012-11-092-2/+40
| |
* | Fix clang warning.Thiago Farina2012-11-271-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-targetsEvan Martin2012-11-121-49/+51
|\ \ | | | | | | refactoring: decompose CollectTargetsFromArgs