Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | v1.5.3v1.5.3 | Nico Weber | 2014-11-24 | 40 | -473/+1277 |
|\ | |||||
| * | mark this 1.5.3.git | Nico Weber | 2014-11-24 | 1 | -1/+1 |
| | | |||||
| * | drop NINJA_BOOTSTRAP define | Evan Martin | 2014-11-18 | 2 | -4/+3 |
| | | |||||
| * | Make sure configure.py and ninja.cc always agree on if -t browse is included. | Nico Weber | 2014-11-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | No behavior change on most platforms. On solaris, -t browse was compiled in in ninja.cc but browse.cc wasn't compiled in, which probably means that building on Solaris didn't work. It might be better now. This also makes browse.cc automatically not included in bootstrap builds; previously this was done manually through the NINJA_BOOTSTRAP check. | ||||
| * | Merge pull request #850 from sgraham/ocd | Nico Weber | 2014-11-12 | 3 | -19/+22 |
| |\ | | | | | | | whitespace/comment/wrap fixes, no intended functionality change | ||||
| | * | whitespace/comment/wrap fixes, no intended functionality change | Scott Graham | 2014-11-12 | 3 | -19/+22 |
| | | | |||||
| * | | set *err when too many components in CanonicalizePath | Scott Graham | 2014-11-12 | 2 | -1/+7 |
| |/ | |||||
| * | 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 |
| | |/ | |||||
| * | | Use strchr in \ conversion in CanonicalizePath on Windows | Scott Graham | 2014-10-30 | 1 | -3/+2 |
| | | | |||||
| * | | CanonicalizePath handles \ on Windows | Scott Graham | 2014-10-30 | 8 | -273/+429 |
| | | | |||||
| * | | Update line_printer.cc | ppbrown | 2014-10-27 | 1 | -0/+1 |
| |/ | | | | | Include POSIX termios.h | ||||
| * | 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. | ||||
| * | 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. | ||||
| * | fix warning | Nico Weber | 2014-09-18 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #812 from nico/ninjatest | Nico Weber | 2014-09-18 | 13 | -67/+221 |
| |\ | | | | | | | 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 | 13 | -71/+150 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | Provide an error message on malformed lets. Fixes #807. | Nico Weber | 2014-09-04 | 2 | -1/+10 |
| |/ | |||||
| * | add some parens to silence a gcc warning | Evan Martin | 2014-08-04 | 1 | -1/+1 |
| | | |||||
| * | Remove extra info from Usage() | kwesolowski | 2014-07-26 | 1 | -3/+0 |
| | | | | | | | | As now behavior is similar on on platforms, this can probably be removed | ||||
| * | Changed implementation to provide load from 0 to ProcessorCount | kwesolowski | 2014-07-26 | 1 | -4/+6 |
| | | | | | | | | This makes this implementation more consisten with POSIX load avarage. | ||||
| * | Fixed naming convention in GetLoadAverage support functions. | kwesolowski | 2014-07-26 | 1 | -25/+25 |
| | | |||||
| * | Improved load calculation | kwesolowski | 2014-07-25 | 1 | -9/+20 |
| | | | | | | | | | | | | | | Added code to gracefully handle: 1. Call to CalculateProcessorLoad with not incremented ticks (fast calls to GetSystemTimes can result same results), 2. Smooth/filter load estimation for consecutive calls. | ||||
| * | Small usage info fix for windows | kwesolowski | 2014-07-25 | 1 | -1/+1 |
| | | |||||
| * | Fixes for windows CalculateProcessorLoad | kwesolowski | 2014-07-25 | 1 | -1/+4 |
| | | | | | | | | | | - Fixed bad logic condition, - Added comment to clarify | ||||
| * | Fixed/improved -l N documentation For windows | kwesolowski | 2014-07-25 | 1 | -1/+1 |
| | | | | | | | | | | On windows "system load" is not so obvious term, added line explaining N argument in -l N | ||||
| * | Prepared load (-l N) support for windows. | kwesolowski | 2014-07-25 | 1 | -3/+44 |
| | | | | | | | | | | Inspired by: http://stackoverflow.com/questions/23143693/retrieving-cpu-load-percent-total-in-windows-with-c | ||||
| * | Merge pull request #755 from zmodem/working_dir_vs_msvc_tool | Nico Weber | 2014-06-29 | 1 | -8/+9 |
| |\ | | | | | | | Process the -C option before running RUN_AFTER_FLAGS tools. | ||||
| | * | Process the -C option before running RUN_AFTER_FLAGS tools. | Hans Wennborg | 2014-05-03 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings the flag more inline with its description: "change to DIR before doing anything else". The use case is to make it possible to use -C together with -t msvc. When debugging Windows builds, it's handy to be able to copy-paste the commands from "ninja -v" and make them run in the correct directory by adding this flag. |