Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use a shell script to inline browse.py | Evan Martin | 2011-03-07 | 3 | -15/+35 |
| | | | | | | | | | Relying on the inline-assembly trick was cute but it didn't work on other platforms; relying on xxd will make us depend on xxd being available. Instead, inline browse.py into a header using a shell script. (Making this work required fixing multiple bugs in ninja...) | ||||
* | files that have both implicit and explicit edges should be implicit | Evan Martin | 2011-03-07 | 2 | -11/+27 |
| | | | | | | | This is just deleting some code that was written in anticipation of staying memory-resident; when loading a depfile, we don't need to attempt to update existing entries in the dependency list, we just need to blindly add them. | ||||
* | canonicalize paths loaded from depfiles | Evan Martin | 2011-03-07 | 3 | -1/+151 |
| | | | | | | | | | If a C file #includes "../foo.cc", then gcc will emit paths like "bar/../foo.cc" into the dependency file; canonicalize these when we load the file. Add a test module for testing the graph dirty recomputation directly, without all the build classes around it. | ||||
* | more comments | Evan Martin | 2011-03-06 | 1 | -0/+2 |
| | |||||
* | move VirtualFileSystem into test.* | Evan Martin | 2011-03-06 | 3 | -36/+49 |
| | |||||
* | move test support into test.* | Evan Martin | 2011-03-06 | 4 | -18/+40 |
| | |||||
* | don't rely on /proc for 'browse' mode | Evan Martin | 2011-03-05 | 1 | -16/+38 |
| | | | | | | | | | Instead, pass the script code via stdin. We end up with a zombie (the child process that passes the script code) because we can't ignore SIGCHLD in the parent (the Python code relies on being able to wait for children), but the zombie dies with the outer process. This probably could be avoided by double-forking or other approaches, but it doesn't seem worth the effort. | ||||
* | factor browse out into its own file | Evan Martin | 2011-03-05 | 3 | -31/+81 |
| | |||||
* | chdir into a temp dir before disk tests | Evan Martin | 2011-03-05 | 1 | -0/+5 |
| | |||||
* | limit output width to prevent line-wrapping | Evan Martin | 2011-03-02 | 1 | -0/+12 |
| | |||||
* | linux: simpler way to get number of processors | Evan Martin | 2011-03-01 | 1 | -10/+3 |
| | | | | From a conversation with Anatol Pomazau <anatol@google.com>. | ||||
* | print short name of command before dumping command stdout/stderr | Evan Martin | 2011-03-01 | 1 | -6/+15 |
| | | | | | | Previously we showed the full command line, but with this change we only show the full command line in verbose mode or when the command fails. | ||||
* | drop DumpBacktrace | Evan Martin | 2011-02-28 | 1 | -9/+0 |
| | | | | It wasn't that helpful; simplifies other platforms to just not use it. | ||||
* | get the number of CPUs on FreeBSD and OS X via sysctl() | Evan Martin | 2011-02-28 | 1 | -0/+14 |
| | | | | From a patch from asmodai@in-nomine.org and dmitry@codingrobots.com. | ||||
* | add copyrights | Evan Martin | 2011-02-06 | 26 | -1/+363 |
| | |||||
* | create builddir on start; fixes bootstrap | Evan Martin | 2011-02-06 | 1 | -1/+13 |
| | |||||
* | use -f for input file, matching make | Evan Martin | 2011-02-05 | 1 | -3/+3 |
| | |||||
* | include command name when printing output, add newline | Evan Martin | 2011-02-05 | 1 | -6/+10 |
| | |||||
* | fancier output | Evan Martin | 2011-02-05 | 2 | -15/+58 |
| | |||||
* | cleanup phony testing | Evan Martin | 2011-02-05 | 3 | -3/+8 |
| | |||||
* | use builddir for log file | Evan Martin | 2011-02-04 | 1 | -3/+6 |
| | |||||
* | ignore whitespace in makefiles | Evan Martin | 2011-02-04 | 3 | -4/+22 |
| | |||||
* | refactor parse error messages | Evan Martin | 2011-02-04 | 3 | -14/+16 |
| | |||||
* | include path when printing a makefile parse error | Evan Martin | 2011-02-04 | 2 | -2/+5 |
| | |||||
* | implement parallelism flag | Evan Martin | 2011-02-01 | 1 | -3/+4 |
| | |||||
* | parallelism flag, guess based on cpuinfo | Evan Martin | 2011-02-01 | 2 | -7/+40 |
| | |||||
* | move tools into a flag | Evan Martin | 2011-01-28 | 2 | -22/+20 |
| | |||||
* | move dry run info inside build log | Evan Martin | 2011-01-23 | 2 | -3/+5 |
| | |||||
* | pass config into build log | Evan Martin | 2011-01-23 | 5 | -5/+13 |
| | |||||
* | recompact log files | Evan Martin | 2011-01-23 | 2 | -8/+70 |
| | |||||
* | allow implicit deps | Evan Martin | 2011-01-23 | 4 | -5/+38 |
| | |||||
* | refactor main | Evan Martin | 2011-01-23 | 1 | -59/+67 |
| | |||||
* | call out ctl-c for quitting | Evan Martin | 2011-01-23 | 1 | -1/+1 |
| | |||||
* | add browser mode | Evan Martin | 2011-01-23 | 2 | -1/+171 |
| | |||||
* | Merge branch 'master' of neugierig.org:projects/git/ninja | Evan Martin | 2011-01-20 | 1 | -1/+33 |
|\ | |||||
| * | add mode for querying dependency graph | Evan Martin | 2011-01-19 | 1 | -1/+33 |
| | | |||||
* | | split some of jumble out | Evan Martin | 2011-01-19 | 3 | -68/+75 |
|/ | |||||
* | add an include statement | Evan Martin | 2011-01-15 | 3 | -11/+35 |
| | |||||
* | remove vestigal builddir | Evan Martin | 2011-01-15 | 2 | -3/+0 |
| | |||||
* | remove tempnam | Evan Martin | 2011-01-09 | 1 | -8/+7 |
| | |||||
* | work around an unused variable warning | Evan Martin | 2011-01-08 | 1 | -1/+2 |
| | |||||
* | don't log commands in dry-run mode | Evan Martin | 2011-01-08 | 1 | -1/+1 |
| | |||||
* | record edge timing | Evan Martin | 2011-01-08 | 1 | -13/+14 |
| | |||||
* | remove needless virtuals | Evan Martin | 2011-01-08 | 1 | -3/+3 |
| | |||||
* | don't get stuck on phony edges | Evan Martin | 2011-01-08 | 1 | -0/+3 |
| | |||||
* | don't track timing for phony edges | Evan Martin | 2011-01-08 | 1 | -3/+6 |
| | |||||
* | compute edge timing | Evan Martin | 2011-01-08 | 1 | -8/+28 |
| | |||||
* | remove ResetDirty | Evan Martin | 2011-01-08 | 3 | -22/+4 |
| | |||||
* | work around mktemp warning | Evan Martin | 2011-01-08 | 1 | -2/+1 |
| | |||||
* | move towards virtual fs for build tests | Evan Martin | 2011-01-08 | 1 | -34/+67 |
| |