Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build fix | Evan Martin | 2011-12-30 | 1 | -0/+2 |
| | |||||
* | switch the core ninja parser to use re2c for the lexer | Evan Martin | 2011-12-29 | 15 | -771/+1510 |
| | | | | | | | | | - Delete the old "Tokenizer" code. - Write separate tests for the lexer distinct from the parser. - Switch the parser to use the new code. - New lexer error output has file:line numbers so e.g. Emacs can jump your editor to the syntax error. - The EvalEnv ($-interpolation) code is now part of the lexer as well. | ||||
* | minor re2c cleanups | Evan Martin | 2011-12-29 | 2 | -7/+6 |
| | |||||
* | handle nuls more carefully in re2c rules | Evan Martin | 2011-12-29 | 2 | -23/+34 |
| | | | | | | | | | | - '.' in re2c matches anything except \n, which means it matches \000. Be more careful about which characters we match. - The fallback rule [^] reads ahead another character, which means it can read past the trailing \000. Add a separate rule to match it specifically. This was found by Valgrind. | ||||
* | add script for measuring build performance | Evan Martin | 2011-12-29 | 2 | -4/+60 |
| | |||||
* | ninja_syntax: add restat attribute to rules | Evan Martin | 2011-12-28 | 1 | -1/+3 |
| | | | | Patch from Ami Fischman <fischman@chromium.org>. | ||||
* | add bash completion based on zsh completion | Evan Martin | 2011-12-28 | 1 | -0/+25 |
| | |||||
* | move some docs to home page | Evan Martin | 2011-12-28 | 1 | -50/+10 |
| | |||||
* | link to blog post in docs | Evan Martin | 2011-12-28 | 1 | -5/+6 |
| | |||||
* | add an "all" target to build all binaries | Evan Martin | 2011-12-28 | 1 | -5/+14 |
| | |||||
* | fix parser_perftest after depfile change | Evan Martin | 2011-12-28 | 1 | -1/+1 |
| | |||||
* | de-escape backslashes in depfiles while parsing | Evan Martin | 2011-12-28 | 4 | -119/+198 |
| | |||||
* | add (failing) test involving spaces in depfiles | Evan Martin | 2011-12-27 | 1 | -0/+13 |
| | |||||
* | switch DepfileParser to take a string* to make memory clearer | Evan Martin | 2011-12-27 | 5 | -30/+40 |
| | | | | Add some comments as well. | ||||
* | fix depfile regex to not match empty strings | Evan Martin | 2011-12-27 | 2 | -13/+12 |
| | | | | From a patch from Allan Odgaard <github@simplit.com>. | ||||
* | adapt parser_perftest to new depfile class | Evan Martin | 2011-12-27 | 2 | -2/+5 |
| | |||||
* | remove huge indent from tools list | Evan Martin | 2011-12-27 | 1 | -8/+8 |
| | |||||
* | rearrange the new bootstrap.py | Evan Martin | 2011-12-27 | 1 | -16/+20 |
| | | | | (e.g. remove tabs) | ||||
* | Merge branch 'master' of git://github.com/ehird/ninja | Evan Martin | 2011-12-27 | 7 | -60/+83 |
|\ | |||||
| * | Rewrite the bootstrap script in Python | Elliott Hird | 2011-12-15 | 5 | -57/+76 |
| | | | | | | | | | | | | | | This allows trouble-free builds on platforms with non-standard Python executable names. As a bonus, it passes the arguments received on to configure.py, so you don't have to reconfigure to build in a non-standard manner. | ||||
| * | Support non-standard Python executable names | Elliott Hird | 2011-12-14 | 2 | -3/+7 |
| | | | | | | | | Closes #154. | ||||
* | | Merge pull request #166 from tfarina/fix-commit | Evan Martin | 2011-12-26 | 3 | -3/+4 |
|\ \ | | | | | | | Follow up fix to commit 32bf74f (Fix the TODO in Rule class.) | ||||
| * | | Follow up fix to commit 32bf74f (Fix the TODO in Rule class.) | Thiago Farina | 2011-12-24 | 3 | -3/+4 |
|/ / | | | | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | Merge pull request #164 from tfarina/rule-private-members | Evan Martin | 2011-12-24 | 5 | -21/+23 |
|\ \ | | | | | | | Fix the TODO in Rule class. | ||||
| * | | Fix the TODO in Rule class. | Thiago Farina | 2011-12-24 | 5 | -21/+23 |
|/ / | | | | | | | | | | | Move various data members to private section and provide accessors for them. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | windows: handle ERROR_PATH_NOT_FOUND | Evan Martin | 2011-12-23 | 2 | -6/+8 |
| | | | | | | | | From Frances <frances.buontempo@gmail.com>. | ||||
* | | Merge pull request #163 from jsternberg/master | Evan Martin | 2011-12-23 | 1 | -1/+1 |
|\ \ | | | | | | | a fix for issue #162 | ||||
| * | | Matching the depfile_parser.in.cc file to properly generate the ↵ | Jonathan Sternberg | 2011-12-23 | 1 | -1/+1 |
|/ / | | | | | | | depfile_parser.cc file that's in version control. | ||||
* | | Merge pull request #161 from nico/fix | Evan Martin | 2011-12-22 | 2 | -30/+75 |
|\ \ | | | | | | | Let ninja_syntax handle escaped spaces correctly. | ||||
| * | | Let ninja_syntax handle escaped spaces correctly. | Nico Weber | 2011-12-22 | 2 | -30/+75 |
|/ / | | | | | | | | | | | Revert the main loop changes made in 2e7ab7514207ea7faad40faedf3fc9d72b3adf7a, and add just a few lines to the original main loop to make '$ ' escaping work. Add several new tests, and make the existing tests pass again. | ||||
* | | revert part of c33b198 to fix build of ninja_test | Evan Martin | 2011-12-22 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #160 from tfarina/upper-case-error | Evan Martin | 2011-12-20 | 1 | -1/+1 |
|\ \ | | | | | | | Capitalize "error" to match with the other utility functions. | ||||
| * | | Capitalize "error" to match with the other utility functions. | Thiago Farina | 2011-12-20 | 1 | -1/+1 |
|/ / | | | | | | | | | | | | | Fatal and Warning functions already output their strings capitalized, we were just missing the Error function. So capitalize it now. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | Merge pull request #159 from tfarina/protect-build-log-vars | Evan Martin | 2011-12-20 | 2 | -3/+8 |
|\ \ | | | | | | | Protect BuildLog data member variables by making them private. | ||||
| * | | Protect BuildLog data member variables by making them private. | Thiago Farina | 2011-12-20 | 2 | -3/+8 |
|/ / | | | | | | | | | | | | | | | | | They are not accessed outside of BuildLog and there is even a SetConfig function to set the |config_| variable. So better to make them private to BuildLog now while nobody is using it outside. Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | Merge pull request #158 from tfarina/alphabetize | Evan Martin | 2011-12-20 | 1 | -3/+12 |
|\ \ | | | | | | | Put the list of core source files in alphabetical order. | ||||
| * | | Put the list of core source files in alphabetical order. | Thiago Farina | 2011-12-20 | 1 | -3/+12 |
|/ / | | | | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | | windows: use GetFileAttributesEx instead of stat | Evan Martin | 2011-12-20 | 2 | -8/+34 |
| | | | | | | | | | | | | | | | | | | From a Hacker News comment: "Recent finding, that sped up our systems from 15->3sec on 300,000+ files filestamp check was to move from _stat to GetFileAttributesEx." I do recall reading that calls to stat() on Windows were one of the potential reasons Subversion is so slow on Windows... | ||||
* | | gitignore exe files | Evan Martin | 2011-12-20 | 1 | -0/+1 |
| | | |||||
* | | factor out windows perror equivalent | Evan Martin | 2011-12-20 | 3 | -15/+25 |
| | | |||||
* | | inline gtest to simplify windows build | Evan Martin | 2011-12-20 | 2 | -22/+25 |
| | | |||||
* | | fix bad merge | Evan Martin | 2011-12-20 | 1 | -3/+3 |
| | | |||||
* | | fix mingw cross-compile | Evan Martin | 2011-12-20 | 2 | -5/+9 |
| | | |||||
* | | rearrange manual to centralize quoting rules | Evan Martin | 2011-12-20 | 1 | -29/+46 |
| | | |||||
* | | remove weird accidental double-return | Evan Martin | 2011-12-20 | 1 | -1/+0 |
| | | | | | | | | Surprised this isn't a compiler warning. | ||||
* | | Merge pull request #146 from nornagon/escape-spaces | Evan Martin | 2011-12-20 | 5 | -13/+79 |
|\ \ | | | | | | | Escape spaces | ||||
| * | | Update ninja_syntax.py and tests to reflect '$ ' syntax. | Jeremy Apthorp | 2011-11-29 | 2 | -13/+60 |
| | | | |||||
| * | | Add tests for escaping spaces with '$ '. | Jeremy Apthorp | 2011-11-28 | 1 | -0/+13 |
| | | | |||||
| * | | Allow '$ ' to escape spaces in identifiers. | Jeremy Apthorp | 2011-11-21 | 2 | -0/+6 |
| | | | |||||
* | | | adjust depfile test now that parsing is more lax | Evan Martin | 2011-12-19 | 1 | -2/+3 |
| | | |