| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
To start up faster.
|
|\
| |
| | |
use the default font size for manual headings
|
| |
| |
| |
| |
| |
| | |
The third-level subsection headings were almost indistinguishable
from the second-level ones. Fix this by just using the default
styling.
|
|\ \
| | |
| | | |
add a section to the manual discussion the command= variable
|
| |/
| |
| |
| |
| | |
This includes a mention of using cmd /c on Windows.
This would have helped on issue #1070 for example.
|
|\ \
| | |
| | | |
Teach zsh to complete intermediary targets.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Bash completion script uses "-t targets all" to list the target which
is faster than "-t targets" and reports intermediary targets
(see the manual entry for the 'targets' tool).
See commit fc135c45.
|
|\ \
| | |
| | | |
Do not attempt to rebuild infinitely in dry-run mode.
|
|/ / |
|
|\ \
| | |
| | | |
Fix wrapping file paths in Writer.comment
|
| | |
| | |
| | |
| | |
| | |
| | | |
As pointed out by nico, we should unconditionally disable breaking of
long words in comments. It is unlikely long words that are in comments
should be split (like pathnames).
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Long file names, especially with hyphens will get incorrectly wrapped by
the comment method. Pass has_path=True to prevent this type of wrapping.
This is mainly so that longer path names can show up in comments on
their on line without breaking them up.
|
|\ \ \
| | | |
| | | | |
make use of Bindings typedef
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Looks like we declared this typedef but never used it.
It seems we just forgot to use it so this patch makes uses of it now.
Otherwise we could just delete it.
|
|\ \ \ \
| | | | |
| | | | | |
Fix typo
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
add "msvc_deps_prefix" to Rule::IsReservedBinding()
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
fixes the error about an unexpected variable for a rule that
declares the msvc_deps_prefix. The manual suggests that this
should work since Ninja 1.5
(https://ninja-build.org/manual.html#ref_rule).
Closes #1043
|
| | | |
|
|\ \ \
| | | |
| | | | |
Minor tweaks to the configure script
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |\ \ \ \ \ |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|