| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The pull request that introduced building from a directory other
than the source dir, https://github.com/ninja-build/ninja/pull/979,
made it so all source paths are effectively absolute paths. This
change restores the old behavior in the case when you are building
in the source. See the comments there.
|
|
|
|
|
| |
Confusingly, $sourcedir is the path to the root of the repository,
*not* the path to the src/ directory.
|
| |
|
|\
| |
| | |
Minor doc fixes
|
| |
| |
| |
| | |
The two columns of the table run together, making it hard to read.
|
| |
| |
| |
| |
| |
| | |
- Fix the manual build rules (missing the .xsl as an input).
- Add a README describing how the docs build works.
- Add rules that generate PDF, just 'cause we can.
|
|/
|
|
| |
In particular, this helps web search engines index it.
|
|\
| |
| | |
Speed-up bash target auto-complete.
|
| |
| |
| |
| |
| |
| |
| |
| | |
These speed-ups include:
* Let compgen do the command substitution. Similar to
https://lists.gnu.org/archive/html/bug-bash/2012-03/msg00115.html
* Use "cut" instead of "awk" for separating fields.
|
|\ \
| | |
| | | |
Speed up zsh target completion
|
| |/ |
|
|\ \
| | |
| | | |
Support for AIX
|
| | |
| | |
| | |
| | | |
AIX does not support rebuilding ninja in-place from the bootstrapped ninja.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
AIX supplies getopt but not getopt_long.
We can't use the embedded getopt implementation, since the constness of its
arguments doesn't match the AIX system routine.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
On AIX, inttypes.h gets indirectly included by build_log.h.
It's easiest just to ask for the printf format macros right away.
|
| | | |
|
| | |
| | |
| | |
| | | |
/bin/od on Solaris and AIX both generate tabs.
|
|\ \ \
| | | |
| | | | |
Print status when edge finishes on dumb terminals
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On smart terminals ninja prints the status line both before
and after running a command, reusing the same line if possible.
On a dumb terminal that doesn't support reusing the line, it
only prints the status before starting the command, but prints
the output of the command when the command finishes, by which
point other commands may have started and printed their status
line. This makes it impossible to determine what command
produced a line of output.
Modify BuildEdgeStarted to only print the status line if the
command is going to lock the console, or if ninja is running
on a smart terminal. Modify BuildEdgeFinished to always
print the status line unless the command locked the console,
in which case the status was already printed and no other
command can have printed any lines.
The end result will be dumb terminal output that much more
closely matches smart terminal output. One disadvantage is
that dumb terminals won't show anything when starting a
command, making it harder to tell what commands are currently
running, but I expect most interactive uses of ninja will use
a smart terminal.
|
|\ \ \ \
| | | | |
| | | | | |
Cleanup build on SIGHUP.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
SIGHUP is sent when the connection hang up (i.e. when the terminal
window is closed or the ssh connection is closed).
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Allow paths with international characters in depfiles
|
| |\ \ \ \ \ |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Make links point to org page
|
|/ / / / / / / |
|
| |_|_|_|_|/
|/| | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Describe why to use relative paths
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Ninja does resolve relative paths and file system links in paths.
Therefore, such paths pointing to the same file will not match and may
lead to an invalid dependency graph.
Signed-off-by: Fredrik Medley <fredrik.medley@gmail.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fixes typo
|
| | |_|_|/ / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Fix typo.
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Optimize StringPiece hash map
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Replace strncmp with memcmp to improve performance.
Signed-off-by: Fredrik Medley <fredrik.medley@gmail.com>
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Merge LLVM r242069, make spell checking allocate less memory.
|
|/ / / / / |
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
Don't output null.o during configure
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Fix compile on VS2015
|
| | | | | |
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| |_|_|/
|/| | | |
Make sure not to re-define __STDC_FORMAT_MACROS.
|
|/ / / |
|