summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* scoping workaround for gcc on WindowsEvan Martin2012-09-071-1/+1
| | | | From https://github.com/martine/ninja/issues/410.
* include termios for solarisAlex Caudill2012-09-071-0/+4
|
* add solaris platform definitionsAlex Caudill2012-09-071-2/+4
|
* disable a new warning that popped up on WindowsEvan Martin2012-09-071-0/+2
| | | | | This pattern is safe as long as you're careful; we don't use it very much.
* add GetProcessorCount() implementation for SolarisAlex Caudill2012-09-071-0/+9
|
* drop special case for msvc bucket countEvan Martin2012-09-071-6/+1
| | | | | Calling bucket_count() works locally with MSVC. I wonder if some other change in the code fixed this.
* Merge pull request #408 from nico/fixEvan Martin2012-09-061-0/+2
|\ | | | | Make sure no stale test file exists before running build log tests.
| * Make sure no stale test file exists before running build log tests.Nico Weber2012-09-011-0/+2
| |
* | allow tools to specify when they run (before/after build.ninja load)Evan Martin2012-09-061-34/+52
| | | | | | | | | | This will be necessary to inline msvc-helper as well as so -t graph can get depfiles.
* | factor out metrics dump from ninja mainEvan Martin2012-09-051-14/+18
| |
* | factor out build log load from mainEvan Martin2012-09-051-28/+37
| |
* | rearrange tool-picking logicEvan Martin2012-09-051-18/+37
| | | | | | | | Now "ninja -t list" works from any directory.
* | show all in graphEvan Martin2012-09-041-1/+1
| |
* | reduce indentEvan Martin2012-09-041-39/+38
| |
* | move BuildConfig out of globalsEvan Martin2012-09-041-14/+15
| |
* | remove DiskInterface from globalsEvan Martin2012-09-041-5/+4
| |
* | remove unfortunate header dependencyEvan Martin2012-09-041-1/+0
| | | | | | | | This was temporarily added, and now it can be removed.
* | clarify setterEvan Martin2012-09-042-5/+10
| |
* | move BuildLog to DependencyScanEvan Martin2012-09-049-22/+32
| | | | | | | | | | | | | | The build log is needed in computing whether an edge is dirty, so I think it belongs here. (It's a bit weird that Builder needs to reach into it to record completed commands, maybe it will become cleaner with more thought.)
* | fix --debug for glibc pedantic modeEvan Martin2012-09-041-0/+1
| |
* | pass Builder as arg to build-running functionsEvan Martin2012-09-041-15/+15
| | | | | | | | Reducing use of globals.
* | remove config from BuildLog, rename membersEvan Martin2012-09-024-30/+24
| |
* | remove a redundant arg to RecomputeOutputDirtyEvan Martin2012-09-023-24/+19
| |
* | split out dirty recomputation logic from Edge classEvan Martin2012-09-026-88/+117
|/ | | | | | | | | | Rather than passing States and DiskInterfaces through all the calls, put the necessary ambient information in a new DependencyScan object and move the code accordingly. Note: I didn't move the source location of the functions to preserve history, though this does result in a sort of weird order for the functions in graph.cc.
* Merge pull request #407 from maximuska/proposed/dirty-on-missing-depfileEvan Martin2012-08-302-3/+34
|\ | | | | safer build: consider target dirty if depfile is missing
| * safer build: consider target dirty if depfile is missingMaxim Kalaev2012-08-302-3/+34
|/
* Merge pull request #403 from nico/everylineweighsyoudownEvan Martin2012-08-281-2/+0
|\ | | | | Remove unused macro NINJA_UNUSED_ARG.
| * Remove unused macro NINJA_UNUSED_ARG.Nico Weber2012-08-281-2/+0
|/
* point to HACKING.md in READMEEvan Martin2012-08-241-0/+1
|
* drop DepfileParserTest.Tilde, as it's covered by .SpecialCharsEvan Martin2012-08-241-13/+0
| | | | | The SpecialChars test covers a bunch of different special characters, including tilde.
* link directly to gtest zipEvan Martin2012-08-241-1/+3
|
* update old test to cover newer rule attributesEvan Martin2012-08-241-1/+4
|
* add test that checks attributes on rulesEvan Martin2012-08-241-0/+11
|
* windows: pass /Zi to gtest compile as wellEvan Martin2012-08-241-1/+1
|
* remove crlfs from .gitignoreEvan Martin2012-08-241-17/+17
| | | | These were introduced by a change of mine on Windows, whoops.
* fix test broken in 697350dEvan Martin2012-08-171-2/+10
| | | | That's what I get for making last-second adjustments before checking in!
* make it more explicit that a bad build log causes us to rebuildEvan Martin2012-08-173-4/+12
| | | | | (Committing this on top of b56fe80 since they're related, but I may end up reverting both.)
* Merge pull request #401 from syntheticpp/win-network-pathEvan Martin2012-08-172-0/+27
|\ | | | | on windows a network path starts with two backslashes
| * on windows a network path starts with two backslashesPeter Kuemmel2012-08-172-0/+27
| |
* | drop HACKING from doxygenEvan Martin2012-08-161-1/+1
| | | | | | | | | | I tried just fixing the code to pull in HACKING.md but it didn't show up in the doxygen output; it's maybe too long to include anyway.
* | use 4 space tabs in configure.py, warn on re2c missingEvan Martin2012-08-161-13/+14
| |
* | many updates for HACKING.mdEvan Martin2012-08-161-26/+78
| | | | | | | | In particular, describe a policy for good patches.
* | Merge pull request #400 from nico/dynre2cEvan Martin2012-08-161-6/+16
|\ \ | | | | | | Only write re2c rules if a re2c binary is found in the PATH.
| * | Only write re2c rules if a re2c binary is found in the PATH.Nico Weber2012-08-161-6/+16
| | |
* | | Merge pull request #399 from nico/hacklessEvan Martin2012-08-161-2/+2
|\ \ \ | |/ / |/| | Remove -fcolor-diagnostics reference from HACKING
| * | Remove -fcolor-diagnostics reference from HACKINGNico Weber2012-08-161-2/+2
|/ / | | | | | | configure.py adds that flag automatically if CXX is set to clang.
* | convert HACKING to markdown, add MSVC sectionEvan Martin2012-08-152-76/+113
| |
* | if a file is missing in the log, count it as dirtyScott Graham2012-08-152-6/+63
| | | | | | | | | | | | | | This could cause overbuilding (if the log is missing an entry and the right file is already in place) but is otherwise necessary for correctness (if a file is already in place but we don't have a log entry for it).
* | add a helper binary for wrapping cl.exeEvan Martin2012-08-153-8/+167
| | | | | | | | Modify bootstrap etc. to make use of this binary.
* | pass env block to cl helperEvan Martin2012-08-153-1/+17
| |