summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* don't use "all" in the phony example, because we now have "default"Evan Martin2011-09-061-2/+2
|
* link to github in docsEvan Martin2011-09-061-0/+3
|
* update docs on other build system integration with recent newsEvan Martin2011-09-061-10/+9
|
* make --profile take an argument to use either gmon or google-pprofEvan Martin2011-09-061-3/+7
|
* Merge pull request #94 from qhuo/named-pipeEvan Martin2011-09-041-2/+2
|\ | | | | subprocess-win32.cc: change named pipe names to contain process ID and subprocess object address.
| * subprocess-win32.cc: change named pipe names to contain process ID and ↵Qingning Huo2011-09-041-2/+2
| | | | | | | | subprocess object address.
* | Merge pull request #89 from tfarina/stateEvan Martin2011-09-0313-47/+39
|\ \ | |/ |/| Factor out State struct from ninja_jumble.cc into its header/source files
| * Factor out State struct from ninja_jumble.cc into its header/source files.Thiago Farina2011-09-0313-47/+39
|/ | | | | | This was a TODO in src/ninja_jumble.cc. Now this task is completed. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Merge pull request #92 from pcc/fix-warningEvan Martin2011-09-031-2/+2
|\ | | | | Fix a Clang self-assign warning by casting result to void
| * Fix a Clang self-assign warning by casting result to voidPeter Collingbourne2011-09-011-2/+2
| |
* | Merge pull request #90 from pcc/default-target-statementsEvan Martin2011-09-037-8/+145
|\ \ | |/ |/| Implement default target statements
| * Implement default target statementsPeter Collingbourne2011-08-317-8/+145
|/ | | | | | This introduces a new directive, the default target statement, which may be used to control the list of targets built by default (i.e. if no target is named on the command line).
* ninja_syntax.py: add include and subninjaEvan Martin2011-08-291-0/+6
|
* Merge pull request #87 from tfarina/fix-ninja-compilationEvan Martin2011-08-261-0/+1
|\ | | | | Fix ninja compilation by including a missing disk_interface.h.
| * Fix ninja compilation by including a missing disk_interface.h.Thiago Farina2011-08-251-0/+1
|/ | | | | | | When running ./ninja the compilation fails because test.h uses DiskInterface but doesn't include disk_interface.h to get the declaration. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Merge pull request #86 from tfarina/real-disk-interfaceEvan Martin2011-08-257-78/+90
|\ | | | | Move RealDiskInterface class to disk_interface.h.
| * Move RealDiskInterface class to disk_interface.h.Thiago Farina2011-08-257-78/+90
| | | | | | | | | | | | This is a TODO in src/ninja_jumble.cc Signed-off-by: Thiago Farina <tfarina@chromium.org>
* | semantic change: allow reaching into parent directories in pathsEvan Martin2011-08-246-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-interfaceEvan Martin2011-08-235-60/+102
|\ | | | | Factor out DiskInterface class into its own source/header files.
| * Factor out DiskInterface class into its own source/header files.Thiago Farina2011-08-105-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/masterEvan Martin2011-08-181-2/+2
|\ \ | | | | | | Update configure.py following ninja.py rename
| * | Update configure.py for ninja module renameRichard Larocque2011-08-171-2/+2
|/ /
* | rename ninja module to ninja_syntaxEvan Martin2011-08-162-2/+2
| |
* | add escaping function to python moduleEvan Martin2011-08-161-0/+8
|/
* Merge pull request #80 from tfarina/masterEvan Martin2011-08-101-5/+3
|\ | | | | fix trivial style issue.
| * Fix trivial style issues with Cleaner class.Thiago Farina2011-08-091-5/+3
|/ | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* fix double-indentingEvan Martin2011-07-271-1/+1
|
* ninja.py: fix the new test and pass the testEvan Martin2011-07-272-13/+36
| | | | From a patch from Elazar Leibovich <elazarl@gmail.com>.
* unit test for line-wrapping in ninja.pyEvan Martin2011-07-271-0/+45
| | | | From a patch from Elazar Leibovich <elazarl@gmail.com>.
* don't track line/column until you encounter an error, then re-parseEvan Martin2011-07-262-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 configureEvan Martin2011-07-251-1/+5
|
* don't leak the build_log file descriptor into subprocessesEvan Martin2011-06-301-0/+17
| | | | Closes issue #74.
* clean: don't delete phony targetsEvan Martin2011-06-301-4/+7
| | | | Based on a patch from John Birtley.
* Merge pull request #73 from qhuo/setvbufEvan Martin2011-06-301-0/+2
|\ | | | | Set stdout to line-buffered.
| * Set stdout to line-buffered.Qingning Huo2011-06-281-0/+2
|/
* Merge pull request #71 from jbirtley/masterEvan Martin2011-06-282-6/+7
|\ | | | | Fix for long command lines in Win32
| * Fix for win32 long command lines:U-MATHLETE\John2011-06-262-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 buildsEvan Martin2011-06-251-0/+5
| | | | Patch from John Birtley.
* Merge pull request #69 from Roorback/masterEvan Martin2011-06-252-2/+2
|\ | | | | Path to python interpreter (on FreeBSD)
| * Respect $CXX, fallback to 'g++' in bootstrap.shGrzegorz Blach2011-06-211-1/+1
| |
| * use /usr/bin/env to find python interpreterGrzegorz Blach2011-06-201-1/+1
| |
* | Merge pull request #70 from scottfranklin/masterEvan Martin2011-06-251-0/+21
|\ \ | | | | | | Add tab-completion for zsh.
| * | Adding tab-completion function for zsh.Scott Franklin2011-06-231-0/+21
| |/
* | add docs on variable expansionEvan Martin2011-06-251-2/+34
| |
* | mention python module in the docsEvan Martin2011-06-251-9/+17
|/
* Merge pull request #62 from qhuo/multiple-outputs-fixEvan Martin2011-06-161-1/+19
|\ | | | | Add a test for the multiple outputs fix
| * Add a test for the multiple outputs fixQingning Huo2011-06-141-1/+19
| |
* | Merge pull request #59 from qhuo/multiple-outputs-fixEvan Martin2011-06-142-1/+12
|\ \ | |/ | | Multiple outputs fix: make $out include all outptus
| * src/graph.cc: fix EdgeEnv::LookupVariableQingning Huo2011-06-101-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 LinuxQingning Huo2011-06-101-0/+6
|/