summaryrefslogtreecommitdiffstats
path: root/src/browse.cc
Commit message (Collapse)AuthorAgeFilesLines
* Search for generated headers relative to build dir.Jason Haslam2015-06-221-1/+1
|
* Revert "Bootstrap out of source"Nico Weber2015-06-221-1/+1
|
* Search for generated headers relative to build dir.Jason Haslam2015-05-261-1/+1
|
* Support non-standard Python executable namesElliott Hird2011-12-141-1/+1
| | | | Closes #154.
* disable the 'unused parameter' warningEvan Martin2011-12-051-1/+1
| | | | It was firing too often, and hadn't uncovered any bugs.
* Revert "Merge pull request #143 from cipriancraciun/patches/python2"Evan Martin2011-11-251-1/+1
| | | | | | | This reverts commit 38ab41f45ff818b437942b753328a0168914fc86, reversing changes made to 819d6347b424f583d651b86dd1280605ddb23b88. Platforms that don't have /usr/bin/python pointing to python2 are broken.
* Renamed `python` to `python2`.Ciprian Dorin, Craciun2011-11-221-1/+1
|
* Add -Wextra warning flag.Nicolas Despres2011-11-191-1/+1
| | | | | | | Fix triggered warnings: - unused parameter - type qualifiers ignored on function return type - missing initializer for member
* Factor out State struct from ninja_jumble.cc into its header/source files.Thiago Farina2011-09-031-1/+1
| | | | | | This was a TODO in src/ninja_jumble.cc. Now this task is completed. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* make browse work for all ninja pathsEvan Martin2011-05-131-2/+3
| | | | | | | Pass the path to the ninja binary in to the Python script. Confusingly, in some places the variables were already in place to do this, but they were accidentally used for something else entirely.
* Prefix perror(3) messages with program name.Nicolas Despres2011-04-261-5/+5
| | | | | | It make it easier while debugging to know who is reporting the error: Ninja itself or one of the command called by Ninja during the build process or one of the generator which called Ninja.
* use a shell script to inline browse.pyEvan Martin2011-03-071-14/+3
| | | | | | | | | 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...)
* don't rely on /proc for 'browse' modeEvan Martin2011-03-051-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 fileEvan Martin2011-03-051-0/+53