Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | semantic change: allow reaching into parent directories in paths | Evan Martin | 2011-08-24 | 6 | -104/+76 |
| | | | | | | | | | | | This allows generating build files in a subdirectory of your source tree. - Change CanonicalizePath to accept this. - CanonicalizePath no longer has an error condition, so change it to a void function. I profiled the result against Chrome and it might be ~100ms slower, but that might just be Chrome's size working against me. In any case I think there are lower-hanging performance fruit elsewhere. | ||||
* | Merge pull request #82 from tfarina/disk-interface | Evan Martin | 2011-08-23 | 5 | -60/+102 |
|\ | | | | | Factor out DiskInterface class into its own source/header files. | ||||
| * | Factor out DiskInterface class into its own source/header files. | Thiago Farina | 2011-08-10 | 5 | -60/+102 |
| | | | | | | | | | | | | This is a TODO in src/ninja_jumble.cc Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | Merge pull request #83 from rlarocque2/master | Evan Martin | 2011-08-18 | 1 | -2/+2 |
|\ \ | | | | | | | Update configure.py following ninja.py rename | ||||
| * | | Update configure.py for ninja module rename | Richard Larocque | 2011-08-17 | 1 | -2/+2 |
|/ / | |||||
* | | rename ninja module to ninja_syntax | Evan Martin | 2011-08-16 | 2 | -2/+2 |
| | | |||||
* | | add escaping function to python module | Evan Martin | 2011-08-16 | 1 | -0/+8 |
|/ | |||||
* | Merge pull request #80 from tfarina/master | Evan Martin | 2011-08-10 | 1 | -5/+3 |
|\ | | | | | fix trivial style issue. | ||||
| * | Fix trivial style issues with Cleaner class. | Thiago Farina | 2011-08-09 | 1 | -5/+3 |
|/ | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | fix double-indenting | Evan Martin | 2011-07-27 | 1 | -1/+1 |
| | |||||
* | ninja.py: fix the new test and pass the test | Evan Martin | 2011-07-27 | 2 | -13/+36 |
| | | | | From a patch from Elazar Leibovich <elazarl@gmail.com>. | ||||
* | unit test for line-wrapping in ninja.py | Evan Martin | 2011-07-27 | 1 | -0/+45 |
| | | | | From a patch from Elazar Leibovich <elazarl@gmail.com>. | ||||
* | don't track line/column until you encounter an error, then re-parse | Evan Martin | 2011-07-26 | 2 | -40/+31 |
| | | | | | | This speeds up the common case (where you don't need a line number) at the small expense of the uncommon case (for error messages, you do need a line number). And it's less code. | ||||
* | add a --debug option to configure | Evan Martin | 2011-07-25 | 1 | -1/+5 |
| | |||||
* | don't leak the build_log file descriptor into subprocesses | Evan Martin | 2011-06-30 | 1 | -0/+17 |
| | | | | Closes issue #74. | ||||
* | clean: don't delete phony targets | Evan Martin | 2011-06-30 | 1 | -4/+7 |
| | | | | Based on a patch from John Birtley. | ||||
* | Merge pull request #73 from qhuo/setvbuf | Evan Martin | 2011-06-30 | 1 | -0/+2 |
|\ | | | | | Set stdout to line-buffered. | ||||
| * | Set stdout to line-buffered. | Qingning Huo | 2011-06-28 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #71 from jbirtley/master | Evan Martin | 2011-06-28 | 2 | -6/+7 |
|\ | | | | | Fix for long command lines in Win32 | ||||
| * | Fix for win32 long command lines: | U-MATHLETE\John | 2011-06-26 | 2 | -6/+7 |
|/ | | | | | | - remove 'cmd /c' prepend from SubProcess::Start() - fix the subprocess tests to prepend 'cmd /c' explicitly | ||||
* | Fix for 'pipe has ended' errors on Win32 distributed builds | Evan Martin | 2011-06-25 | 1 | -0/+5 |
| | | | | Patch from John Birtley. | ||||
* | Merge pull request #69 from Roorback/master | Evan Martin | 2011-06-25 | 2 | -2/+2 |
|\ | | | | | Path to python interpreter (on FreeBSD) | ||||
| * | Respect $CXX, fallback to 'g++' in bootstrap.sh | Grzegorz Blach | 2011-06-21 | 1 | -1/+1 |
| | | |||||
| * | use /usr/bin/env to find python interpreter | Grzegorz Blach | 2011-06-20 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #70 from scottfranklin/master | Evan Martin | 2011-06-25 | 1 | -0/+21 |
|\ \ | | | | | | | Add tab-completion for zsh. | ||||
| * | | Adding tab-completion function for zsh. | Scott Franklin | 2011-06-23 | 1 | -0/+21 |
| |/ | |||||
* | | add docs on variable expansion | Evan Martin | 2011-06-25 | 1 | -2/+34 |
| | | |||||
* | | mention python module in the docs | Evan Martin | 2011-06-25 | 1 | -9/+17 |
|/ | |||||
* | Merge pull request #62 from qhuo/multiple-outputs-fix | Evan Martin | 2011-06-16 | 1 | -1/+19 |
|\ | | | | | Add a test for the multiple outputs fix | ||||
| * | Add a test for the multiple outputs fix | Qingning Huo | 2011-06-14 | 1 | -1/+19 |
| | | |||||
* | | Merge pull request #59 from qhuo/multiple-outputs-fix | Evan Martin | 2011-06-14 | 2 | -1/+12 |
|\ \ | |/ | | | Multiple outputs fix: make $out include all outptus | ||||
| * | src/graph.cc: fix EdgeEnv::LookupVariable | Qingning Huo | 2011-06-10 | 1 | -1/+6 |
| | | | | | | | | | | Make it return the correct value for "out" when there are multiple outputs. It used to return only the first target file. | ||||
| * | build_log_test.cc: add 3 #include for stat(2) on Linux | Qingning Huo | 2011-06-10 | 1 | -0/+6 |
|/ | |||||
* | remove +x bit from source | Evan Martin | 2011-06-03 | 7 | -0/+0 |
| | |||||
* | On Windows, ninja didn't create needed paths first | Philip Craig | 2011-06-02 | 2 | -4/+20 |
| | | | | | | | | | | | | | Now it does. Still works as it should on linux too. The canonical example that now works on Windows is: builddir = build rule copy command = copy $in $out build $builddir\fred\test.out: copy test.in | ||||
* | Merge branch 'master' of github.com:martine/ninja | Evan Martin | 2011-05-31 | 6 | -22/+28 |
|\ | |||||
| * | Merge pull request #51 from philipcraig/master | Evan Martin | 2011-05-29 | 2 | -22/+10 |
| |\ | | | | | | | mingw ninja_test links and passes. (as do linux and native VS2010) | ||||
| | * | mingw ninja_test links and passes. (as do linux and native VS2010) | Philip Craig | 2011-05-29 | 2 | -22/+10 |
| |/ | | | | | | | | | | | Use chsize instead of truncate for mingw compatibility SubprocessTest uses DoWork to force Subprocesses to execute Drop GoodCommandStdOut test as it is tested in SetWithSingle | ||||
| * | Merge pull request #50 from philipcraig/master | Evan Martin | 2011-05-28 | 5 | -2/+20 |
| |\ | | | | | | | Fixes to let native builds on Visual Studio 2010 build, pass tests | ||||
| | * | Tests now build on a native Windows build (tested with VS2010) | Philip Craig | 2011-05-28 | 5 | -2/+20 |
| |/ | | | | | | | | | All tests except SubProcess pass on a native Windows build Tests continue not to build on a platform=mingw build | ||||
* | | ninja: Split StatCache struct into its own header file. | Thiago Farina | 2011-05-31 | 5 | -37/+79 |
| | | | | | | | | | | | | Note: This is a TODO in ninja_jumble.cc. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | use 0 for NULL in test to silence gcc 4.5 warning | Evan Martin | 2011-05-27 | 1 | -1/+1 |
|/ | |||||
* | expand $$ as $ | Evan Martin | 2011-05-27 | 4 | -1/+26 |
| | |||||
* | switch to $ as the line continuation char | Evan Martin | 2011-05-27 | 5 | -25/+46 |
| | | | | | This means that backslashes are passed through without interpretation, allowing us to support Windows paths without worrying about escaping. | ||||
* | perftest: print summary info at end | Evan Martin | 2011-05-27 | 2 | -1/+21 |
| | |||||
* | add --profile configure flag | Evan Martin | 2011-05-25 | 1 | -0/+5 |
| | |||||
* | add more test coverage for makefile parsing | Evan Martin | 2011-05-25 | 1 | -0/+13 |
| | |||||
* | add a test program for evaluating depfile parse speed | Evan Martin | 2011-05-25 | 2 | -0/+64 |
| | |||||
* | move GetTimeMillis to util | Evan Martin | 2011-05-24 | 3 | -15/+24 |
| | |||||
* | move ReadFile into util | Evan Martin | 2011-05-24 | 4 | -24/+27 |
| |