Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make StringPiece data members private. | Thiago Farina | 2012-06-30 | 8 | -14/+19 |
| | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | Merge pull request #350 from maximuska/proposed/improve-dump-edge-node | Evan Martin | 2012-06-29 | 2 | -6/+27 |
|\ | | | | | Improving Edge::Dump, introducing Node::Dump | ||||
| * | Improving Edge::Dump, introducing Node::Dump | Maxim Kalaev | 2012-06-28 | 2 | -6/+27 |
|/ | | | | | | | - Edge::Dump could crash if called while inputs_ is being extended - Node::Dump prints Node attributes, in-edge and lists of out-edges - Dump functions now accept "prefix" parameter, printed along with the object for easier orientation. For example, edge->Dump("Re-reading deps files"). | ||||
* | switch build log to print hashes as hex | Evan Martin | 2012-06-19 | 2 | -2/+3 |
| | | | | | | Nico convinced me that it's safe to do this without revving the build log format: the old decimal values will still parse as hex (just as different numbers) and cause a superfluous rebuild. | ||||
* | add copyright header | Evan Martin | 2012-06-19 | 1 | -0/+14 |
| | |||||
* | add new binaries to gitignore | Evan Martin | 2012-06-19 | 1 | -0/+3 |
| | |||||
* | drop support of log formats < 4 | Evan Martin | 2012-06-18 | 2 | -23/+21 |
| | | | | | Log format 4 was introduced in January. There's been plenty of time to migrate. | ||||
* | use PRIu64 for printing 64-bit in, %d for printing int | Evan Martin | 2012-06-18 | 2 | -2/+23 |
| | | | | Fixes a warning. | ||||
* | make canon_perftest build, add license | Evan Martin | 2012-06-18 | 1 | -0/+17 |
| | |||||
* | Merge pull request #338 from syntheticpp/empty-log-file | Evan Martin | 2012-06-18 | 1 | -3/+7 |
|\ | | | | | no recompacting needed when log file is empty | ||||
| * | no recompacting needed when log file is empty | Peter Kuemmel | 2012-06-18 | 1 | -3/+7 |
|/ | |||||
* | Merge pull request #316 from tfarina/struct | Evan Martin | 2012-06-17 | 2 | -5/+6 |
|\ | | | | | No need to write 'struct' before type name when declaraing variables in ... | ||||
| * | No need to write 'struct' before type name when declaraing variables in C++. | Thiago Farina | 2012-05-23 | 2 | -5/+6 |
| | | | | | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | fix quoting thinko | Evan Martin | 2012-06-16 | 1 | -1/+1 |
| | | |||||
* | | rearrange shell quoting in configure.py | Evan Martin | 2012-06-16 | 1 | -3/+12 |
| | | |||||
* | | Merge pull request #333 from jonforums/no-main-multi-defs | Evan Martin | 2012-06-16 | 1 | -0/+2 |
|\ \ | | | | | | | Prevent multiple definition link error | ||||
| * | | Prevent multiple definition link error | Jon | 2012-06-16 | 1 | -0/+2 |
|/ / | | | | | | | Globbed inclusion of `src/hash_collision_bench.cc` cause link errors | ||||
* | | Merge pull request #331 from sgraham/add-in_newline | Evan Martin | 2012-06-15 | 3 | -8/+32 |
|\ \ | | | | | | | Add $in_newline | ||||
| * | | improve test | Scott Graham | 2012-06-15 | 1 | -8/+7 |
| | | | |||||
| * | | add $in_newline | Scott Graham | 2012-06-15 | 3 | -8/+33 |
| | | | |||||
* | | | Merge pull request #330 from sgraham/win32-hash-build | Evan Martin | 2012-06-15 | 1 | -0/+1 |
|\ \ \ | |/ / | | | | fix windows build | ||||
| * | | fix windows build | Scott Graham | 2012-06-15 | 1 | -0/+1 |
|/ / | |||||
* | | Merge pull request #329 from nico/hash2 | Evan Martin | 2012-06-15 | 10 | -28/+135 |
|\ \ | | | | | | | Only store command hashes in the build log. | ||||
| * | | Add a hash collision benchmark. | Nico Weber | 2012-06-15 | 2 | -11/+53 |
| | | | |||||
| * | | Only store command hashes in the build log. | Nico Weber | 2012-06-15 | 8 | -17/+82 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | .build_log load time 350ms -> 17ms, filesize 197MB -> 1.6MB on Mac. On Windows, it's 500ms -> 20ms. Makes the build log a lot less useful for scripts, but there could be a tool for use cases that need log information. A prototype of such a tool is in https://github.com/nico/ninja/commit/1b243d311 The hash function is 64bit murmurhash2. Assuming that that different commands get the same hash only by chance, it's is very unlikely for two different commands to hash to the same value with a 64bit hash. | ||||
* | | Merge pull request #328 from nico/canonperf | Evan Martin | 2012-06-15 | 2 | -1/+43 |
|\ \ | | | | | | | add canon_perftest | ||||
| * | | add canon_perftest | Nico Weber | 2012-06-03 | 2 | -1/+43 |
| | | | |||||
* | | | allow '(' and ')' in depfile paths | Evan Martin | 2012-06-12 | 3 | -7/+22 |
| | | | | | | | | | | | | Fixes issue #327. | ||||
* | | | add a note to HACKING about how to get gtest | Evan Martin | 2012-06-12 | 1 | -0/+8 |
| | | | |||||
* | | | fix a typo in a test name | Evan Martin | 2012-06-12 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #325 from luvit/fix-path-magic | Evan Martin | 2012-06-12 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | bootstrap: fix path magic on windows | ||||
| * | | | bootstrap: fix path magic on windows | Brandon Philips | 2012-06-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | It was reported that argv[0] doesn't get set on windows. Some research showed that using abspath(__filename__) should accomplish this. | ||||
* | | | | Merge pull request #323 from luvit/bootstrap-from-cwd | Evan Martin | 2012-06-10 | 1 | -0/+2 |
|\ \ \ \ | |/ / / | | | | | bootstrap: chdir to bootstrap's directory | ||||
| * | | | bootstrap: chdir to bootstrap's directory | Brandon Philips | 2012-06-10 | 1 | -0/+2 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | When integrating ninja into luvit I naively tried calling: ./tools/ninja/bootstrap.py This broke because bootstrap expects you to be in the ninja directory when you call it. This patch makes it possible to run bootstrap.py like above and have it work. | ||||
* | | | Merge pull request #306 from nico/winunbreakconf | Evan Martin | 2012-06-07 | 1 | -3/+4 |
|\ \ \ | | | | | | | | | Strip leading whitespace from commands on Windows. | ||||
| * | | | Fix configure.py on windows, which does not permit a leading space. | Nico Weber | 2012-06-05 | 1 | -3/+4 |
|/ / / | |||||
* | | | Merge pull request #311 from nico/cleanups | Evan Martin | 2012-06-04 | 2 | -4/+4 |
|\ \ \ | |/ / |/| | | Cleanups | ||||
| * | | Minor spelling fixes in manual. | Nico Weber | 2012-05-13 | 1 | -3/+3 |
| | | | |||||
| * | | comment fix | Nico Weber | 2012-05-13 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #321 from nico/diff | Evan Martin | 2012-06-02 | 1 | -9/+1 |
|\ \ \ | | | | | | | | | Fix a bug that caused total_time to always be -1. | ||||
| * | | | Remove code that was never executed. | Nico Weber | 2012-06-02 | 1 | -9/+1 |
|/ / / | | | | | | | | | | | | | total_time was always -1, because it computed a pointer difference, not a time difference (should've been |*end_time - *start_time|). | ||||
* | | | Merge pull request #320 from nico/cleanup | Evan Martin | 2012-06-02 | 2 | -4/+0 |
|\ \ \ | | | | | | | | | Remove unused variable last_update_millis_. | ||||
| * | | | Remove unused variable last_update_millis_. | Nico Weber | 2012-06-01 | 2 | -4/+0 |
| | |/ | |/| | |||||
* | | | Merge pull request #319 from nico/vimp | Evan Martin | 2012-06-02 | 1 | -4/+4 |
|\ \ \ | | | | | | | | | Make `:set spell` only check spelling in comments. Patch from Thilo Six ... | ||||
| * | | | Make `:set spell` only check spelling in comments. Patch from Thilo Six ↵ | Nico Weber | 2012-06-01 | 1 | -4/+4 |
| |/ / | | | | | | | | | | <T.Six@gmx.de>! | ||||
* | | | Merge pull request #318 from jsternberg/master | Evan Martin | 2012-06-01 | 5 | -1/+20 |
|\ \ \ | |/ / |/| | | Missing/unused header files | ||||
| * | | Missing header file for "getenv". | Jonathan Sternberg | 2012-05-31 | 1 | -0/+1 |
| | | | |||||
| * | | Removing unused sys/termios.h header. | Jonathan Sternberg | 2012-05-30 | 1 | -1/+0 |
| | | | |||||
| * | | Header guards were missing from some header files. | Jonathan Sternberg | 2012-05-30 | 4 | -0/+19 |
|/ / | |||||
* | | Merge pull request #314 from ehird/master | Evan Martin | 2012-05-23 | 1 | -4/+3 |
|\ \ | | | | | | | Use subprocess.call for Python 2.4 compatibility |