| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Previously the browse server would bind to "", which is translated to
0.0.0.0 (all interfaces), and then the hostname as retrieved by
socket.gethostname() was presented to the user.
The hostname is now "localhost" by default and is configurable, so the
original behavior is achieved with `ninja -t browse -a ""`.
|
|
|
|
|
|
| |
Ninja query or error output may contain characters that need to be
escaped when being inserted into HTML. Replace &, ", <, and > with
their & equivalent.
|
|
|
|
|
| |
Pass the value of -f to the browse python script so it can be passed
back to ninja -t query.
|
|
|
|
|
|
|
| |
Add --port option to override the default port (8000).
Add --no-browser option to avoid opening a web browser (useful over
SSH).
Make the target name optional, using "all" if omitted.
|
| |
|
| |
|
|
|
|
| |
Change-Id: Ic4be6527151a7ff68afab62e61951071ad5694b7
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Philip Puryear <philippuryear@gmail.com>
|
|
|
|
| |
Signed-off-by: Philip Puryear <philippuryear@gmail.com>
|
|
|
|
| |
Signed-off-by: Philip Puryear <philippuryear@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
This reverts commit 38ab41f45ff818b437942b753328a0168914fc86, reversing
changes made to 819d6347b424f583d651b86dd1280605ddb23b88.
Platforms that don't have /usr/bin/python pointing to python2 are broken.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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...)
|
| |
|
| |
|
| |
|
|
|