summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docs for ninja_required_versionEvan Martin2013-02-161-0/+44
| | | | (And some extra docs for top-level variables in general.)
* add syntax for checking versionsEvan Martin2013-02-165-10/+102
|
* Merge pull request #498 from pck/cygwinEvan Martin2013-02-091-1/+1
|\ | | | | util.cc: Reusing windows workaround for cygwin.
| * 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
* mark pools as experimental in the docsEvan Martin2013-02-011-0/+4
|
* add a release checklist so I won't forget steps in the futureEvan Martin2013-02-011-0/+9
|
* Merge pull request #485 from petrh/fedora-rpmbuildEvan Martin2013-01-271-3/+5
|\ | | | | RPM spec file fixed to work properly on recent Fedora releases
| * Removed re2c build dependency from RPM spec filePetr Hosek2013-01-211-1/+1
| |
| * Use correct Fedora versioning schemePetr Hosek2013-01-151-4/+4
| |
| * RPM spec file should use correct versioning scheme and list all build ↵Petr Hosek2013-01-141-1/+3
| | | | | | | | dependencies
* | Merge pull request #489 from sgraham/err-message-depfileEvan Martin2013-01-241-1/+3
|\ \ | | | | | | more verbose error (including path) when depfile fails to load
| * | more verbose error (including path) when depfile fails to loadScott Graham2013-01-241-1/+3
|/ /
* | Merge pull request #484 from TheOneRing/fix_mingwEvan Martin2013-01-171-0/+1
|\ \ | |/ |/| if windows and not msvc, set platform to mingw
| * if windows and not msvc, set platform to mingwPatrick von Reth2013-01-121-0/+1
|/
* Merge pull request #479 from nico/testfixEvan Martin2013-01-031-3/+6
|\ | | | | ManifestParser constructor accesses its first argument, don't pass NULL
| * 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.
* always set GTEST_HAS_RTTI=0 in all testing codeEvan Martin2012-12-301-8/+6
|
* 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-292-23/+0
| | | | | I had already broken this earlier, but the refactor of variable handling broke it completely.
* update docs to clarify scoping rulesEvan Martin2012-12-291-17/+35
|
* 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-2913-28/+56
|
* fix all "class" -> "struct"Evan Martin2012-12-295-11/+9
|
* add a TODO from a pull requestEvan Martin2012-12-291-0/+1
|
* Merge pull request #455 from azuk/masterEvan Martin2012-12-291-5/+8
|\ | | | | Make a native Windows build possible when using Cygwin Python.
| * Add --windows option to bootstrap.pyHannu Koivisto2012-11-091-5/+8
| | | | | | | | Makes it possible to make a native Windows build when using Cygwin Python.
* | 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
| | |
* | | ninja_syntax.py: don't add trailing space when build has no inputsEvan Martin2012-12-291-3/+2
| | | | | | | | | | | | Seen in Ninja's configure.py where it creates an "rpmbuild" command.
* | | fix test build under clang/system gtestEvan Martin2012-12-291-4/+8
| | | | | | | | | | | | | | | | | | Tests always need GTEST_HAS_RTTI=0 set, but the code was only setting it in the --with-gtest branch. Instead always use the test-specific cflags when compiling test code.
* | | 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
| | |
* | | Merge pull request #474 from yannicklm/masterEvan Martin2012-12-212-0/+9
|\ \ \ | | | | | | | | NINJA_STATUS: add support of `%p` for percentage
| * | | NINJA_STATUS: add support of `%p` for percentageyannicklm2012-12-142-0/+9
| | | |
* | | | Merge pull request #475 from nico/vimEvan Martin2012-12-211-2/+2
|\ \ \ \ | |/ / / |/| | | Update version number in ninja.vim after recent changes.
| * | | Update version number in ninja.vim after recent changes.Nico Weber2012-12-151-2/+2
|/ / /
* | | Merge pull request #471 from riannucci/fix_vim_syntaxEvan Martin2012-12-141-1/+7
|\ \ \ | | | | | | | | Fix vim syntax
| * | | Add missing rspfile and rspfile_contentRobert Iannucci2012-12-141-1/+1
| | | |
| * | | Add ninja.vim syntax for poolRobert Iannucci2012-12-141-1/+7
| | | |
* | | | Merge pull request #472 from riannucci/add_python_pool_syntaxEvan Martin2012-12-141-1/+8
|\ \ \ \ | | | | | | | | | | Add python ninja_syntax.py support for pool
| * | | | Add python ninja_syntax.py support for poolRobert Iannucci2012-12-141-1/+8
| |/ / /
* | | | Merge pull request #473 from riannucci/fix_emacsEvan Martin2012-12-141-1/+2
|\ \ \ \ | |/ / / |/| | | Fix emacs ninja-mode
| * | | Add missing default keywordRobert Iannucci2012-12-141-1/+1
| | | |
| * | | Add poolRobert Iannucci2012-12-141-1/+2
|/ / /
* | | Merge pull request #461 from riannucci/global_sectionEvan Martin2012-12-1316-202/+634
|\ \ \ | |/ / |/| | 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
| | |