Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove -fcolor-diagnostics reference from HACKING | Nico Weber | 2012-08-16 | 1 | -2/+2 |
| | | | | configure.py adds that flag automatically if CXX is set to clang. | ||||
* | convert HACKING to markdown, add MSVC section | Evan Martin | 2012-08-15 | 2 | -76/+113 |
| | |||||
* | if a file is missing in the log, count it as dirty | Scott Graham | 2012-08-15 | 2 | -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.exe | Evan Martin | 2012-08-15 | 3 | -8/+167 |
| | | | | Modify bootstrap etc. to make use of this binary. | ||||
* | pass env block to cl helper | Evan Martin | 2012-08-15 | 3 | -1/+17 |
| | |||||
* | Merge branch 'master' of github.com:martine/ninja | Evan Martin | 2012-08-13 | 11 | -18/+560 |
|\ | |||||
| * | create phony rules for all binaries | Evan Martin | 2012-08-13 | 1 | -5/+3 |
| | | |||||
| * | msvc helper: drop system includes | Evan Martin | 2012-08-12 | 3 | -3/+30 |
| | | | | | | | | | | Drop any #includes that look like they're referencing system headers. This reduces the dependency information considerably. | ||||
| * | includes_normalize: also lowercase cross-drive includes | Evan Martin | 2012-08-12 | 3 | -10/+9 |
| | | | | | | | | It seems to me inconsistent to normalize one but not the other. | ||||
| * | add functions for normalizing win32 include paths | Scott Graham | 2012-08-12 | 4 | -1/+252 |
| | | | | | | | | | | | | | | (Note from Evan: this is landing Scott's code more or less verbatim without a lot of analysis; it could maybe be simplified and reduced, but it's only intended to be used in the MSVC helper so it's fine to be experimental.) | ||||
| * | add .ilk (incremental linker) to .gitignore | Evan Martin | 2012-08-12 | 1 | -0/+1 |
| | | |||||
| * | msvc helper: attempt to filter out when it prints the input filename | Evan Martin | 2012-08-12 | 3 | -0/+47 |
| | | | | | | | | This is a heuristic but it appears to work for the Chrome build. | ||||
| * | add subprocess-spawning to msvc_helper | Evan Martin | 2012-08-12 | 3 | -1/+116 |
| | | | | | | | | | | | | | | | | | | | | Rather than using subprocess.h, reimplement the subprocess code. This allows: 1) using anonymous (instead of named) pipes 2) not using all the completion port craziness 3) printing the output as it happens 4) further variation, like adjusting the environment (in a forthcoming change) without affecting the main subprocess code | ||||
| * | doc some cl.exe flags in the configure script | Evan Martin | 2012-08-12 | 1 | -2/+7 |
| | | |||||
| * | move Win32Fatal into util | Evan Martin | 2012-08-12 | 3 | -8/+7 |
| | | |||||
| * | add a module for working with MSVC (cl.exe) behavior | Evan Martin | 2012-08-12 | 4 | -0/+99 |
| | | | | | | | | This will be needed for performant builds on Windows. | ||||
| * | use correct path separator for --with-gtest source | Evan Martin | 2012-08-12 | 1 | -2/+2 |
| | | |||||
| * | doc that ReadFile reads in text mode on Windows | Evan Martin | 2012-08-12 | 1 | -1/+2 |
| | | |||||
* | | rename -V to --version and clean up --help output | Evan Martin | 2012-08-13 | 1 | -9/+8 |
|/ | |||||
* | fix syntax errors in bootstrap.py | Matthew Woehlke | 2012-08-10 | 1 | -2/+2 |
| | |||||
* | windows: fix integer truncation issues for helper binaries | Evan Martin | 2012-08-10 | 4 | -6/+14 |
| | | | | | Disable the size_t truncation warning. (Note that this leaves on the other truncation-related warnings, like int->char.) | ||||
* | windows: fix size_t<->int conversions in ninja.exe | Evan Martin | 2012-08-10 | 10 | -23/+23 |
| | |||||
* | refactor | Evan Martin | 2012-08-10 | 1 | -4/+3 |
| | |||||
* | add bootstrap option to force 64-bit | Matthew Woehlke | 2012-08-10 | 1 | -2/+10 |
| | |||||
* | windows: ignore pdb files | Evan Martin | 2012-08-10 | 1 | -15/+16 |
| | |||||
* | windows bootstrap: clean up object files | Evan Martin | 2012-08-10 | 1 | -0/+4 |
| | |||||
* | document that \r and \t are disallowed | Evan Martin | 2012-08-10 | 1 | -1/+3 |
| | | | | Finishes #394. | ||||
* | fix windows build | Evan Martin | 2012-08-08 | 1 | -1/+1 |
| | |||||
* | use DiskInterface to create the build directory | Evan Martin | 2012-08-07 | 7 | -34/+31 |
| | | | | | | | | | | Fixes issue #392 (didn't handle creating nested build dirs right). Moves MakeDir out of util.h; all code should go through DiskInterface to simplify testing. Moves ownership of the DiskInterface into the client of the Builder, which also allows removing some code that reached inside the object as well as a minor leak. | ||||
* | Merge pull request #397 from nico/mac105 | Evan Martin | 2012-08-05 | 2 | -3/+5 |
|\ | | | | | Include unistd.h in files that use unlink() on OS X. | ||||
| * | Include unistd.h in files that use unlink() on OS X. | Nico Weber | 2012-08-05 | 2 | -3/+5 |
|/ | | | | | | | | `man unlink` says this is necessary, and according to a report by Claus Klein, omitting them breaks the build on OS X 10.5 with gcc 4.7 (see issue #396). (On Windows, ninja's util.h includes a define for unlink.) | ||||
* | reject tabs (and CRs) in input files more aggressively | Evan Martin | 2012-08-02 | 6 | -41/+57 |
| | |||||
* | Merge branch 'master' of github.com:martine/ninja | Evan Martin | 2012-08-01 | 1 | -3/+3 |
|\ | |||||
| * | Merge pull request #388 from sgraham/fix-hash-map-string-piece | Evan Martin | 2012-08-01 | 1 | -3/+3 |
| |\ | | | | | | | fix hash_map StringPiece comparator | ||||
| | * | fix hash_map StringPiece comparator | Scott Graham | 2012-07-31 | 1 | -3/+3 |
| |/ | |||||
* | | Merge branch 'factor-elide-middle' of git://github.com/polrop/ninja | Evan Martin | 2012-08-01 | 4 | -13/+29 |
|\ \ | |/ |/| | | | | | Conflicts: src/util.cc | ||||
| * | Re-factor elide code and test it. | Nicolas Despres | 2012-07-31 | 4 | -13/+30 |
| | | |||||
* | | use chdir() define from util.h | Evan Martin | 2012-07-28 | 1 | -4/+0 |
| | | |||||
* | | move processor-count code to util.cc | Evan Martin | 2012-07-28 | 3 | -25/+35 |
| | | |||||
* | | note that -l doesn't work on windows | Evan Martin | 2012-07-28 | 2 | -0/+4 |
| | | | | | | | | Filed issue #386 about it too. | ||||
* | | simplify load-average code | Evan Martin | 2012-07-28 | 1 | -15/+3 |
| | | |||||
* | | delete vestigal declarations | Evan Martin | 2012-07-28 | 1 | -7/+0 |
| | | |||||
* | | Merge pull request #385 from nico/nolotsonosx | Evan Martin | 2012-07-28 | 1 | -2/+4 |
|\ \ | | | | | | | Disable SubprocessTest.TestWithLots on OS X. | ||||
| * | | Disable SubprocessTest.TestWithLots on OS X. | Nico Weber | 2012-07-28 | 1 | -2/+4 |
|/ / | | | | | | | It fails on OS X, see issue #384. | ||||
* | | Merge pull request #383 from nico/fix380 | Evan Martin | 2012-07-28 | 9 | -19/+33 |
|\ \ | |/ |/| | Fix issue #380. | ||||
| * | Revert "Make StringPiece data members private." | Nico Weber | 2012-07-28 | 8 | -19/+14 |
| | | | | | | | | | | | | This reverts commit 904c9610fe66c4f4bd63a07d6f057c8603d24394. The commit caused issue #380, this revert fixes it. The revert also makes the test from the previous commit pass. | ||||
| * | Add a regression test for issue #380 (which fails at the moment) | Nico Weber | 2012-07-28 | 1 | -0/+19 |
|/ | |||||
* | Merge pull request #378 from syntheticpp/msvc-fixes | Evan Martin | 2012-07-27 | 3 | -5/+10 |
|\ | | | | | also build with msvc | ||||
| * | also build with msvc | Peter Kümmel | 2012-07-27 | 3 | -5/+10 |
|/ | |||||
* | fix a warning and leak in windows-specific console output code | Evan Martin | 2012-07-27 | 1 | -2/+2 |
| |