summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fix version number so that we actually call ourselves v1.2.0Evan Martin2013-04-052-5/+1
|
* version 1.2.0Evan Martin2013-04-0524-261/+553
|\
| * Dollar signs in depfiles are escaped as "$$", not "\$".Nico Weber2013-04-023-32/+54
| | | | | | | | | | | | | | See http://llvm.org/PR15642. I checked that gcc does produce depfiles containing "$$" for files with "$" signs in their name (and as of r178540, so does clang). I also checked that .d files that escape dollar signs with "\$" are not read correctly by make.
| * allow paths with '!' in depfilesEvan Martin2013-03-303-31/+21
| | | | | | | | | | See funny paths in https://github.com/google/libcxx/tree/master/test/iterators/stream.iterators/istreambuf.iterator/
| * Add spell checking for debug flags.Nico Weber2013-03-271-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 #521 from riannucci/ignore_duplicate_edges_in_shcedule_workEvan Martin2013-03-264-7/+99
| |\ | | | | | | Fix duplicate edge Pool crash in the minimally invasive way
| | * Add regression testRobert Iannucci2013-03-231-0/+74
| | |
| | * Fix debug build on linux (type strictness).Robert Iannucci2013-03-232-3/+4
| | |
| | * Fix Pool to use a set internallyRobert Iannucci2013-03-182-7/+18
| | |
| | * Fix duplicate edge Pool crash in the minimally invasive wayRobert Iannucci2013-03-181-0/+6
| | |
| * | Posix symbols are not enabled by default for MSVCPeter Kümmel2013-03-141-0/+2
| | |
| * | Merge pull request #513 from fifoforlifo/masterEvan Martin2013-03-112-0/+8
| |\ \ | | |/ | |/| Adding elapsed time (%e) to NINJA_STATUS.
| | * 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 #512 from pcc/compilation-databaseEvan Martin2013-03-101-0/+45
| |\ \ | | | | | | | | Add compdb tool
| | * | Add compdb toolPeter Collingbourne2013-03-101-0/+45
| | |/ | | | | | | | | | | | | This tool helps convert Ninja build files to a compilation database of the form used by Clang tooling.
| * | Bring in declaration of atoiDave Abrahams2013-03-081-0/+1
| |/ | | | | ./bootstrap.py fails on some platforms without this include
| * 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.
* | version 1.1.0v1.1.0Evan Martin2012-12-2934-464/+1041
|\ \ | |/
| * 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
| | |