Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | Merge pull request #848 from sgraham/canon-maintain | Nico Weber | 2014-11-12 | 20 | -99/+501 | |
|\ \ \ \ \ | | | | | | | | | | | | | Maintain bitvector of original slashes from manifest when canonicalizing | |||||
| * | | | | | properly guard against slash_bits overflow | Scott Graham | 2014-11-12 | 2 | -2/+33 | |
| | | | | | | ||||||
| * | | | | | fix not respecting length | Scott Graham | 2014-11-11 | 1 | -14/+18 | |
| | | | | | | ||||||
| * | | | | | no need to save slash_bits, add comment | Scott Graham | 2014-11-11 | 1 | -9/+9 | |
| | | | | | | ||||||
| * | | | | | save slash_bits in depslog | Scott Graham | 2014-11-11 | 1 | -9/+8 | |
| | | | | | | ||||||
| * | | | | | no need to Decanonicalize on non-Windows | Scott Graham | 2014-11-11 | 1 | -0/+2 | |
| | | | | | | ||||||
| * | | | | | fix CanonicalizePath going past StringPiece length + test | Scott Graham | 2014-11-10 | 2 | -0/+12 | |
| | | | | | | ||||||
| * | | | | | initialize slash_bits on non-win | Scott Graham | 2014-11-10 | 1 | -0/+2 | |
| | | | | | | ||||||
| * | | | | | make all GetNode explicit, add DepsLog canonicalize test | Scott Graham | 2014-11-10 | 11 | -67/+135 | |
| | | | | | | ||||||
| * | | | | | non-win compilation | Scott Graham | 2014-11-09 | 1 | -0/+10 | |
| | | | | | | ||||||
| * | | | | | improve test | Scott Graham | 2014-11-09 | 1 | -7/+10 | |
| | | | | | | ||||||
| * | | | | | assert no slashes in default GetNode | Scott Graham | 2014-11-09 | 1 | -0/+3 | |
| | | | | | | ||||||
| * | | | | | fix order of args to CanonicalizePath | Scott Graham | 2014-11-09 | 9 | -38/+38 | |
| | | | | | | ||||||
| * | | | | | remove CanonicalizePath overloads, test for toplevel behaviour | Scott Graham | 2014-11-09 | 10 | -25/+64 | |
| | | | | | | ||||||
| * | | | | | path decanonicalization when building command | Scott Graham | 2014-11-08 | 4 | -4/+39 | |
| | | | | | | ||||||
| * | | | | | fix multiple sequential slashes | Scott Graham | 2014-11-08 | 3 | -3/+18 | |
| | | | | | | ||||||
| * | | | | | wip on adding tests at higher level, some not right | Scott Graham | 2014-11-08 | 6 | -15/+76 | |
| | | | | | | ||||||
| * | | | | | track back->forward conversions in a bitmask | Scott Graham | 2014-11-08 | 3 | -6/+124 | |
|/ / / / / | ||||||
* | | | | | Merge pull request #822 from tzik/throttle | Nico Weber | 2014-11-03 | 1 | -1/+3 | |
|\ \ \ \ \ | | | | | | | | | | | | | Throttle the number of pending commands by the parallelism configuration | |||||
| * | | | | | Throttle the number of pending commands by the parallelism configuration | tzik | 2014-09-22 | 1 | -1/+3 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #825 from Rapptz/master | Nico Weber | 2014-11-01 | 1 | -0/+4 | |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | Suppress warnings from building with MinGW | |||||
| * | | | | | Fix unknown pragma warnings | Danny | 2014-09-28 | 1 | -0/+4 | |
| | |/ / / | |/| | | | ||||||
* | | | | | Merge pull request #841 from sgraham/strchr | Nico Weber | 2014-10-31 | 1 | -3/+2 | |
|\ \ \ \ \ | | | | | | | | | | | | | Use strchr in \ conversion in CanonicalizePath on Windows | |||||
| * | | | | | Use strchr in \ conversion in CanonicalizePath on Windows | Scott Graham | 2014-10-30 | 1 | -3/+2 | |
|/ / / / / | ||||||
* | | | | | Merge pull request #840 from sgraham/canon-win-squashed | Nico Weber | 2014-10-30 | 10 | -277/+431 | |
|\ \ \ \ \ | | | | | | | | | | | | | CanonicalizePath handles \ on Windows | |||||
| * | | | | | CanonicalizePath handles \ on Windows | Scott Graham | 2014-10-30 | 10 | -277/+431 | |
|/ / / / / | ||||||
* | | | | | Merge pull request #837 from ppbrown/master | Nico Weber | 2014-10-27 | 1 | -0/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | Update line_printer.cc with termios.h | |||||
| * | | | | | Update line_printer.cc | ppbrown | 2014-10-27 | 1 | -0/+1 | |
|/ / / / / | | | | | | | | | | | Include POSIX termios.h | |||||
* | | | | | Merge pull request #834 from frasercrmck/master | Nico Weber | 2014-10-26 | 1 | -1/+8 | |
|\ \ \ \ \ | |/ / / / |/| | | | | Add zsh completion for targets in conjunction with -C | |||||
| * | | | | Add zsh completion for targets in conjunction with -C | Fraser Cormack | 2014-10-24 | 1 | -1/+8 | |
|/ / / / | | | | | | | | | | | | | | | | | zsh can now list completions for targets in the directory specified by the -C option | |||||
* | | | | Merge pull request #823 from nico/conf | Nico Weber | 2014-09-19 | 1 | -1/+3 | |
|\ \ \ \ | |/ / / |/| | | | Make auto-reconfiguring work if CFLAGS contains more than one flag. | |||||
| * | | | Make auto-reconfiguring work if CFLAGS contains more than one flag. | Nico Weber | 2014-09-19 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using an open-source clang on OS X, one has to pass an isysroot flag so that it can find system headers (stdio.h), like so: CXX=path/to/clang++ CFLAGS="-isysroot $(xcrun -show-sdk-path)" ./configure.py Previously, configure.py wouldn't quote envvars containing spaces, so it'd rerun this as CXX=path/to/clang++ CFLAGS=-isysroot /sysroot/path ./configure.py which would then die because /sysroot/path wasn't excecutable. | |||||
* | | | | Merge pull request #820 from nico/ohceedee | Nico Weber | 2014-09-19 | 6 | -4/+13 | |
|\ \ \ \ | |/ / / | | | | | Don't print "Recompacting..." message from tests. | |||||
| * | | | Don't print "Recompacting..." message from tests. | Nico Weber | 2014-09-19 | 6 | -4/+13 | |
|/ / / | | | | | | | | | | Now tests don't print anything. Non-test behavior is unchanged. | |||||
* | | | Merge pull request #819 from nico/win | Nico Weber | 2014-09-18 | 6 | -12/+17 | |
|\ \ \ | | | | | | | | | Fix building tests on Windows again. | |||||
| * | | | Fix building tests on Windows again. | Nico Weber | 2014-09-18 | 6 | -12/+17 | |
|/ / / | | | | | | | | | | | | | | | | | | | Turns out gtest was pulling in sys/stat.h, and we were using stat() through that in tests. This doesn't work with old MSVCs, so we should probably replace that with RealDiskInterface in a follow-up. | |||||
* | | | Merge pull request #818 from nico/lesstest | Nico Weber | 2014-09-18 | 2 | -22/+0 | |
|\ \ \ | | | | | | | | | remove more things not needed without gtest | |||||
| * | | | remove more things not needed without gtest | Nico Weber | 2014-09-18 | 2 | -22/+0 | |
|/ / / | ||||||
* | | | Merge pull request #817 from nico/warn | Nico Weber | 2014-09-18 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | fix warning | |||||
| * | | | fix warning | Nico Weber | 2014-09-18 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge pull request #815 from sgraham/gtest-tidy | Nico Weber | 2014-09-18 | 1 | -2/+1 | |
|\ \ \ \ | |/ / / |/| | | | Don't need to install and configure with gtest any more | |||||
| * | | | Don't need to install and configure with gtest any more | Scott Graham | 2014-09-18 | 1 | -2/+1 | |
|/ / / | ||||||
* | | | Merge pull request #812 from nico/ninjatest | Nico Weber | 2014-09-18 | 14 | -95/+224 | |
|\ \ \ | |/ / |/| | | Use a small, standalone testing framework for ninja instead of googletest. | |||||
| * | | Don't support ? and : for --gtest-filter, a bit simpler. | Nico Weber | 2014-09-18 | 1 | -23/+11 | |
| | | | | | | | | | | | | Let me know if you use these! | |||||
| * | | Add support for --gtest_filter. The bots need it, and it is a useful flag. | Nico Weber | 2014-09-18 | 2 | -12/+99 | |
| | | | ||||||
| * | | Use a small, standalone testing framework instead of googletest. | Nico Weber | 2014-09-18 | 14 | -99/+153 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ninja currently uses googletest for testing. That makes building ninja_test somewhat annoying since it requires that one passes --with-gtest PATH to configure. It turns out just implementing the bits of googletest that ninja uses needs about the same amount of code than making the --with-gtest flag in configure.py work and making googletest print test results in a way we want (!) In addition to making configuration simpler, this also makes compiling tests much faster: On my system, touching src/build_test.cc (the slowest file to build in ninja) and rebuilding ninja_tests is twice as fast than without this patch. Building all is noticeably faster too: 5.6s with this patch, 9.1s without this patch (38% faster). The most noticeable things missing: EXPECT_* and ASSERT_* don't support streaming notes to them with operator<<, and for failing tests the lhs and rhs are not printed. That's so that this header does not have to include sstream, which slows down building ninja_test almost 20%. If this turns out to be annoying, we can maybe add it. | |||||
* | | | Merge pull request #808 from nico/bettererror | Nico Weber | 2014-09-04 | 2 | -1/+10 | |
|\ \ \ | |/ / |/| | | Provide an error message on malformed lets. Fixes #807. | |||||
| * | | Provide an error message on malformed lets. Fixes #807. | Nico Weber | 2014-09-04 | 2 | -1/+10 | |
|/ / | ||||||
* | | Merge pull request #803 from martine/arch | Nico Weber | 2014-08-05 | 1 | -0/+6 | |
|\ \ | | | | | | | amend HACKING.md with instructions for Arch Linux | |||||
| * | | amend HACKING.md with instructions for Arch Linux | Evan Martin | 2014-08-04 | 1 | -0/+6 | |
| | | |