summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* drop std:: qualifiers on more stl datatypesEvan Martin2013-04-187-10/+10
| | | | We "using namespace std" anywhere we need a std::string or a std::vector.
* Merge pull request #548 from sgraham/laconic-with-repeatNico Weber2013-04-181-4/+17
|\ | | | | reset count in LaconicPrinter for when using --gtest_repeat
| * also print iteration for gtest_repeat=-1Scott Graham2013-04-181-4/+12
| |
| * reset count in LaconicPrinter for when using --gtest_repeatScott Graham2013-04-171-0/+5
| |
* | fix --profile=pprof on newer ubuntusEvan Martin2013-04-181-1/+2
|/ | | | The --as-needed default for ld would drop -lprofiler.
* Merge pull request #547 from nico/vim_cpoNico Weber2013-04-161-2/+8
|\ | | | | Note that version 1.3 of the vim syntax file has been sent upstream.
| * Note that version 1.3 of the vim syntax file has been sent upstream.Nico Weber2013-04-161-2/+8
|/ | | | | | | Also fix an issue noticed by Bram during integration: Make sure to set "cpo" correctly. This matches other vim syntax files and is required to make sure that the backslash continuation works with all .vimrc files (see `:help line-continuation`).
* Merge pull request #541 from sgraham/fix-vs2012Evan Martin2013-04-132-3/+4
|\ | | | | try again on vs2012 build fixes
| * try again on vs2012 build fixesScott Graham2013-04-112-3/+4
| |
* | bootstrap: make --windows usable for cl.exe-on-wineEvan Martin2013-04-111-11/+13
| |
* | add HACKING note on cl.exe-via-wineEvan Martin2013-04-111-0/+6
| |
* | windows: always extract dependencies, even on compile failureEvan Martin2013-04-111-5/+7
| | | | | | | | We always want to filter /showIncludes output.
* | fix testEvan Martin2013-04-111-14/+14
| | | | | | | | | | I intentionally changed the semantics of the code that affected this test, but didn't update the test. Oops.
* | windows build fixEvan Martin2013-04-111-1/+2
|/ | | | How did this ever work?
* build ninja itself in deps modeEvan Martin2013-04-101-1/+1
| | | | Hopefully will help flush out bugs.
* always use output timestamp for depsEvan Martin2013-04-102-17/+3
| | | | | | | | Using the timestamp of the .d file was wrong. It can be written at a different time than the output, and it is immediately deleted after parsing; only the output remains for subsequent timestamp comparison purposes, so always use the output's timestamp. (This is how the code worked on Windows already.)
* include mtimes in deplog explainEvan Martin2013-04-101-1/+2
|
* slightly smaller subsectionsEvan Martin2013-04-101-0/+3
|
* move pool docs down under "more details"Evan Martin2013-04-101-56/+55
| | | | | | The earlier section is a tutorial-style overview. The latter section is for side features like phony rules and header dependencies. Pools fit in with the latter.
* more minor manual touchupsEvan Martin2013-04-101-5/+5
|
* make unittest match module nameEvan Martin2013-04-101-0/+0
|
* mention mtimesEvan Martin2013-04-101-2/+3
|
* monospace flagsEvan Martin2013-04-101-2/+3
|
* more windows doc updatesEvan Martin2013-04-101-4/+11
|
* update some windows references in the docsEvan Martin2013-04-091-30/+11
| | | | Drop the timing info, it's too variable to commit to a manual.
* bigger manualEvan Martin2013-04-091-4/+7
|
* Merge pull request #539 from nico/typoNico Weber2013-04-091-1/+1
|\ | | | | fix typo in comment
| * fix typo in commentNico Weber2013-04-091-1/+1
| |
* | Merge pull request #537 from yannicklm/masterEvan Martin2013-04-091-2/+2
|\ \ | |/ |/| ninja.vim: add deps as keyword
| * ninja.vim: add deps as keywordyannicklm2013-04-091-2/+2
|/ | | | new in ninja 1.3
* Merge pull request #535 from sgraham/fix-windows-depslogEvan Martin2013-04-097-14/+17
|\ | | | | fix windows build after depslog
| * fix testScott Graham2013-04-092-5/+1
| |
| * add ifdef around console_Scott Graham2013-04-091-0/+2
| |
| * fix windows build after depslogScott Graham2013-04-095-9/+14
| |
* | Merge pull request #534 from nico/invalid_logEvan Martin2013-04-092-9/+31
|\ \ | |/ |/| On invalid depslog header, restart build instead of showing an error.
| * On invalid depslog header, restart build instead of showing an error.Nico Weber2013-04-092-9/+31
| | | | | | | | Also add tests for invalid headers.
* | document depsEvan Martin2013-04-091-16/+83
|/
* Merge branch 'dep-pipeless'Evan Martin2013-04-0923-381/+1423
|\ | | | | | | | | This merges a new mechanism for tracking "depfile" dependencies that is faster on all platforms but dramatically so on Windows.
| * add a straightforward deps log test, fix the other oneEvan Martin2013-04-093-17/+100
| | | | | | | | | | | | The first test I wrote was wrong; write a simpler test that exercises the "no failures" code paths, then fix the second test and the bugs it exposed.
| * Write the depslog version in binary instead of text.Nico Weber2013-04-091-5/+12
| | | | | | | | | | | | This way, it doubles as a byte-order marker. The header is now exactly one line in a hex editor, and it's still relatively easy to look at the version in a text editor.
| * Make deps=gcc without depfile an error.Nico Weber2013-04-092-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | When I first played with depslog, I accidentally removed the depfile attribute on my cc edges, which had the effect of ninja silently ignoring all depfiles. Instead, let ninja complain about edges that have deps set to gcc and depfile set to nothing. This is done at edge build time, instead of at mainfest load time, because adding this check to ParseEdge() regressed empty build time for target 'chrome' by 30ms. The check is only useful for generator authors, regular users should never see this.
| * add a test for the "deps out of date" caseEvan Martin2013-04-097-7/+120
| | | | | | | | It touched the various remaining XXXes in the code, hooray.
| * add a test verifying build failure on bad depsEvan Martin2013-04-081-0/+17
| |
| * make it an error for now to have multiple outputs with depslogEvan Martin2013-04-083-1/+21
| |
| * only write deps log if edge is in deps log modeEvan Martin2013-04-081-11/+9
| |
| * use logged deps mtime in dirty calculationEvan Martin2013-04-083-9/+21
| | | | | | | | | | | | | | | | The idea here is that it's possible for a build to complete (writing its output) but then for Ninja to get interrupted before writing out the updated dependency information. In that case the mtime stored in the deps log (if any) will match the previous output, and we'll know we need to rebuild the output just to get the deps updated.
| * don't call .front() on an empty vectorEvan Martin2013-04-081-1/+2
| | | | | | | | Fixes a gcc debug-mode assertion.
| * hook up depslog writing into build processEvan Martin2013-04-083-97/+134
| |
| * rename "special" to "deps"Evan Martin2013-04-083-8/+8
| |
| * missing headerEvan Martin2013-04-081-0/+1
| |