summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename parsers.* to manifest_parser.*Thiago Farina2012-07-099-14/+14
| | | | | | So it matches with the class name in there. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Merge pull request #313 from wolfp/restat_missing_inputEvan Martin2012-07-032-7/+55
|\ | | | | Do not reset restat_mtime if an input is missing
| * Add a test for missing input files in restat ruleswolfp2012-06-271-0/+54
| |
| * Do not reset restat_mtime if an input is missing (issue #295)wolfp2012-06-271-7/+1
| |
* | Merge pull request #350 from maximuska/proposed/improve-dump-edge-nodeEvan Martin2012-06-292-6/+27
|\ \ | | | | | | Improving Edge::Dump, introducing Node::Dump
| * | Improving Edge::Dump, introducing Node::DumpMaxim Kalaev2012-06-282-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 hexEvan Martin2012-06-192-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 headerEvan Martin2012-06-191-0/+14
| |
* | add new binaries to gitignoreEvan Martin2012-06-191-0/+3
| |
* | drop support of log formats < 4Evan Martin2012-06-182-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 intEvan Martin2012-06-182-2/+23
| | | | | | | | Fixes a warning.
* | make canon_perftest build, add licenseEvan Martin2012-06-181-0/+17
| |
* | Merge pull request #338 from syntheticpp/empty-log-fileEvan Martin2012-06-181-3/+7
|\ \ | | | | | | no recompacting needed when log file is empty
| * | no recompacting needed when log file is emptyPeter Kuemmel2012-06-181-3/+7
|/ /
* | Merge pull request #316 from tfarina/structEvan Martin2012-06-172-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 Farina2012-05-232-5/+6
| | | | | | | | | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* | | fix quoting thinkoEvan Martin2012-06-161-1/+1
| | |
* | | rearrange shell quoting in configure.pyEvan Martin2012-06-161-3/+12
| | |
* | | Merge pull request #333 from jonforums/no-main-multi-defsEvan Martin2012-06-161-0/+2
|\ \ \ | | | | | | | | Prevent multiple definition link error
| * | | Prevent multiple definition link errorJon2012-06-161-0/+2
|/ / / | | | | | | | | | Globbed inclusion of `src/hash_collision_bench.cc` cause link errors
* | | Merge pull request #331 from sgraham/add-in_newlineEvan Martin2012-06-153-8/+32
|\ \ \ | | | | | | | | Add $in_newline
| * | | improve testScott Graham2012-06-151-8/+7
| | | |
| * | | add $in_newlineScott Graham2012-06-153-8/+33
| | | |
* | | | Merge pull request #330 from sgraham/win32-hash-buildEvan Martin2012-06-151-0/+1
|\ \ \ \ | |/ / / | | | | fix windows build
| * | | fix windows buildScott Graham2012-06-151-0/+1
|/ / /
* | | Merge pull request #329 from nico/hash2Evan Martin2012-06-1510-28/+135
|\ \ \ | | | | | | | | Only store command hashes in the build log.
| * | | Add a hash collision benchmark.Nico Weber2012-06-152-11/+53
| | | |
| * | | Only store command hashes in the build log.Nico Weber2012-06-158-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/canonperfEvan Martin2012-06-152-1/+43
|\ \ \ | | | | | | | | add canon_perftest
| * | | add canon_perftestNico Weber2012-06-032-1/+43
| | | |
* | | | allow '(' and ')' in depfile pathsEvan Martin2012-06-123-7/+22
| | | | | | | | | | | | | | | | Fixes issue #327.
* | | | add a note to HACKING about how to get gtestEvan Martin2012-06-121-0/+8
| | | |
* | | | fix a typo in a test nameEvan Martin2012-06-121-1/+1
| | | |
* | | | Merge pull request #325 from luvit/fix-path-magicEvan Martin2012-06-121-1/+1
|\ \ \ \ | | | | | | | | | | bootstrap: fix path magic on windows
| * | | | bootstrap: fix path magic on windowsBrandon Philips2012-06-111-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-cwdEvan Martin2012-06-101-0/+2
|\ \ \ \ \ | |/ / / / | | | | | bootstrap: chdir to bootstrap's directory
| * | | | bootstrap: chdir to bootstrap's directoryBrandon Philips2012-06-101-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/winunbreakconfEvan Martin2012-06-071-3/+4
|\ \ \ \ | | | | | | | | | | Strip leading whitespace from commands on Windows.
| * | | | Fix configure.py on windows, which does not permit a leading space.Nico Weber2012-06-051-3/+4
|/ / / /
* | | | Merge pull request #311 from nico/cleanupsEvan Martin2012-06-042-4/+4
|\ \ \ \ | |/ / / |/| | | Cleanups
| * | | Minor spelling fixes in manual.Nico Weber2012-05-131-3/+3
| | | |
| * | | comment fixNico Weber2012-05-131-1/+1
| | | |
* | | | Merge pull request #321 from nico/diffEvan Martin2012-06-021-9/+1
|\ \ \ \ | | | | | | | | | | Fix a bug that caused total_time to always be -1.
| * | | | Remove code that was never executed.Nico Weber2012-06-021-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/cleanupEvan Martin2012-06-022-4/+0
|\ \ \ \ | | | | | | | | | | Remove unused variable last_update_millis_.
| * | | | Remove unused variable last_update_millis_.Nico Weber2012-06-012-4/+0
| | |/ / | |/| |
* | | | Merge pull request #319 from nico/vimpEvan Martin2012-06-021-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 Weber2012-06-011-4/+4
| |/ / / | | | | | | | | | | | | <T.Six@gmx.de>!
* | | | Merge pull request #318 from jsternberg/masterEvan Martin2012-06-015-1/+20
|\ \ \ \ | |/ / / |/| | | Missing/unused header files
| * | | Missing header file for "getenv".Jonathan Sternberg2012-05-311-0/+1
| | | |