summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* and some basic implementationRobert Iannucci2012-11-094-15/+46
|
* stub out an api and de-constify PoolRobert Iannucci2012-11-096-17/+63
|
* Const ref FTWRobert Iannucci2012-11-091-1/+1
|
* Pull graph.cc tooRobert Iannucci2012-11-091-1/+2
|
* Pull out base changes to stateRobert Iannucci2012-11-092-2/+40
|
* refactor repeated code in cleanerEvan Martin2012-10-312-14/+18
|
* delete some obsolete TODOsEvan Martin2012-10-311-2/+1
|
* trailing whitespaceEvan Martin2012-10-311-1/+1
|
* browse.py: Don't truncate error message if ninja -t query fails.Philip Puryear2012-10-261-10/+15
| | | | Signed-off-by: Philip Puryear <philippuryear@gmail.com>
* browse.py: Fix truncation with an unknown target.Philip Puryear2012-10-261-1/+3
| | | | Signed-off-by: Philip Puryear <philippuryear@gmail.com>
* browse.py: Python 3 support.Philip Puryear2012-10-261-29/+34
| | | | Signed-off-by: Philip Puryear <philippuryear@gmail.com>
* mingw helper: drop unused -r flagEvan Martin2012-10-231-6/+1
|
* fix whitespaceEvan Martin2012-10-231-14/+14
|
* Merge pull request #441 from tfarina/missing-virtualEvan Martin2012-10-172-6/+3
|\ | | | | Add missing 'virtual' annotation to ReadFile() override.
| * Add missing 'virtual' annotation to ReadFile() override.Thiago Farina2012-10-172-6/+3
| | | | | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* | Merge pull request #448 from maximuska/proposed/buildlog-mini-refactor2Evan Martin2012-10-173-5/+36
|\ \ | | | | | | Proposed/buildlog mini refactor2
| * | build log: fixing parameter namesMaxim Kalaev2012-10-151-6/+6
| | |
| * | build log: mini-refactoring to use constructors to initialize entriesMaxim Kalaev2012-10-122-4/+14
| | |
| * | build log: moving HashCommand() calculation out of targets loopMaxim Kalaev2012-10-121-1/+2
| | |
| * | build log: Adding test for multiple target edgesMaxim Kalaev2012-10-121-0/+20
| | |
* | | build metrics: StartEdge and EndEdgeMaxim Kalaev2012-10-121-0/+2
|/ / | | | | | | | | | | | | Total build time is also relevant. The costs of StartEdge and EndEdge turned out to be quite surprising. Especially if multiple targets are specified on edges. (I've tried declaring depfiles targets explicitly)
* | Merge pull request #439 from wolfp/metric-recompactEvan Martin2012-10-041-0/+1
|\ \ | | | | | | Add metric for log recompacting
| * | Add metric for log recompactingPetr Wolf2012-10-041-0/+1
| | |
* | | Improve the efficiency of -t cleanPetr Wolf2012-10-042-1/+12
|/ / | | | | | | | | Prevent each node from being examined for cleaning multiple times, if it is used in several other nodes
* | Fix two spelling errorsMartin Olsson2012-10-031-1/+1
|/
* Merge pull request #436 from tfarina/dry-run-unnamed-namespaceEvan Martin2012-10-021-24/+39
|\ | | | | Move DryRunCommandRunner into a unnamed namespace.
| * Move DryRunCommandRunner into a unnamed namespace.Thiago Farina2012-10-021-24/+39
| | | | | | | | | | | | No functional change. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* | Don't say -h is invalid whereas it is supported.Nicolas Despres2012-09-271-1/+1
|/ | | | | | | getopt_long(3) was reporting "ninja: invalid option -- h" when "ninja -h" was called. Regression most probably introduced by 5fdb12ed5cec4e1c853c64026142d088ff5519e1
* Merge pull request #427 from jonforums/jf/mingw-n-msvcEvan Martin2012-09-213-2/+4
|\ | | | | fix mingw build fail - redux
| * Always include stdio.hJon2012-09-202-8/+2
| |
| * Give MinGW builds MSVC build helper superpowersJon2012-09-203-2/+10
| | | | | | | | | | | | Note: _WIN32 is used instead of WIN32 to enable builds with MSVC IDE, Windows SDK non-IDE command line tools, and mingw/mingw-w64 based toolchains
* | less random commentScott Graham2012-09-201-1/+1
| |
* | review fixesScott Graham2012-09-201-10/+9
| |
* | fix spaces in headers for -t msvcScott Graham2012-09-204-2/+42
|/
* Merge pull request #419 from syntheticpp/rate-buffer-sizeEvan Martin2012-09-182-18/+15
|\ | | | | Buffer size passed to snprintf is wrong in rate code
| * Fix subtile buffer size errorPeter Kümmel2012-09-181-4/+4
| | | | | | | | | | The deduced type was char* with size 4 and not char[32] with size 32. This removes strange output characters on Windows.
| * build with msvc2012Peter Kümmel2012-09-181-1/+1
| |
| * remove some code duplicationPeter Kümmel2012-09-182-18/+15
| |
* | don't emit duplicate headers for msvc helperScott Graham2012-09-174-6/+30
|/
* Merge pull request #416 from nico/slideEvan Martin2012-09-143-38/+53
|\ | | | | Change rate measurement code.
| * Change rate measurement code.Nico Weber2012-09-143-38/+53
| | | | | | | | | | | | | | | | | | | | | | For %o, remove a superfluous + 0.5: snprintf("%f") rounds already. Remove some unnecessary code. For %c, fix a TODO to add a sliding window and update after every completed edge. Else, with -j50 and several files that take 3s to compile each, this number would only update every 150s. Also give the number one decimal place so that this can measure steps slower than 1s.
* | Clean up getopt_long call.Nico Weber2012-09-141-12/+12
|/ | | | | | Remove now-unimplemented 'V' from getopt_long. Remove 'h', since it's included in the long options. Order switch cases in the same order as in the getopt_long argument.
* mark msvc-helper as experimentalEvan Martin2012-09-131-1/+1
|
* windows: merge msvc-helper into ninja.exe itselfEvan Martin2012-09-132-5/+22
| | | | | | Now "ninja -t msvc ..." passes the "..." to the msvc helper main. This drastically simplifies bootstrap and makes ninja a single binary again.
* 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 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
| |