| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This happens often enough and the error message is quite unhelpful.
Mention this error explicitly in the documentation.
|
|\
| |
| | |
Verify GetFullPathName return value
|
|/
|
|
|
|
|
| |
GetFullPathName previously failed silently on long path names resulting
in uninitialized path result.
Signed-off-by: Fredrik Medley <fredrik.medley@autoliv.com>
|
| |
|
|\
| |
| | |
Fix parsing some special chars in depfiles (take 2)
|
| |
| |
| |
| |
| |
| | |
This allows paths with "[", "]" and "%" to appear in depfiles.
Previously, only "[" would be handled properly.
Fixes #1227.
|
| | |
|
|/
|
| |
Fixes #1411.
|
|\
| |
| | |
Query terminal width from STDOUT_FILENO
|
| |
| |
| |
| |
| | |
Rather than 0 (stdin). So it will work even if ninja's stdin isn't connected to
the terminal for whatever reason.
|
| | |
|
|\ \
| | |
| | | |
Two fixes for NetBSD
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Port to AIX platform
|
| | |/
| |/|
| | |
| | | |
Taking care of printf format specifiers and large files using compiler macros in configure.py
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 52c1d0c8f8545231581c4d51cb0a85f50564c415.
Fixes #1418.
|
| | |
| | |
| | |
| | | |
First test checks for #1214.
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix wrong description of script installation
|
| |/ /
| | |
| | | |
The described way of installation makes zsh fail with `_arguments:comparguments:325: can only be called from completion function`. Per [zsh documentation](https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org#telling-zsh-which-function-to-use-for-completing-a-command) the correct way is to use `$fpath`.
|
|\ \ \
| | | |
| | | | |
Flush stdout after printing "Cleaning..." message
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This should clarify that the instructions are for Visual Studio.
It also opens the possibility for others to write similar sections for using gcc/clang in Windows.
|
|\ \ \ \
| | | | |
| | | | | |
Fix testcase failure in docker environment
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In our docker environment, the normal user does not have a name.
This results in the `whoami` command to fail which expects a name to print
Replace `whoami` with `id -u`, which print print the numeric id
I have no name!@7427761b8f4c:/tmp/d$ whoami
whoami: cannot find name for user ID 1000
I have no name!@7427761b8f4c:/tmp/d$ id
uid=1000 gid=0(root) groups=0(root)
Signed-off-by: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
|
|\ \ \ \
| | | | |
| | | | | |
Fix compilation on FreeBSD 11.2 (use st_mtim.tv_nsec)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
./src/disk_interface.cc: In member function 'virtual TimeStamp RealDiskInterface::Stat(const string&, std::__cxx11::string*) const':
./src/disk_interface.cc:216:51: error: 'struct stat' has no member named 'st_mtimensec'; did you mean 'st_mtim'?
return (int64_t)st.st_mtime * 1000000000LL + st.st_mtimensec;
^~~~~~~~~~~~
st_mtim
|
|\ \ \ \ \
| | | | | |
| | | | | | |
posix_spawn_* calls don't set errno, use the return value.
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Fix simple typo in HACKING.md
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Silence GCC -Wimplicit-fallthrough warnings
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Borrow macro implementation from OpenSSL code.
Add the macro after each fallthrough switch case to indicate our
intention to the compiler. This silences GCC -Wimplicit-fallthrough
warnings, which is implied by GCC 7.x -Wextra.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Misc typo fixes by https://github.com/codespell-project/codespell/
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Revert "Fix stat when subdirectory is a file"
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
This reverts commit 6c864097ef11da366fb4070e6ab9f34d6a293766
and fixes the broken Appveyor builds on GitHub.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Improve location of error messages around identifiers.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Lexer::ReadIdent() now sets last_token_ before returning, like
Lexer::ReadEvalString() does. So all "expected identifiers" and things
that call ReadIdent (pool parser, rule parser, let parser, code parsing
the rule name after a : in a build line) now point the "^ near here" at
what was there instead of the previous last_token
According to manifest_parser_perftest, this is perf-neutral.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add appveyor.yml for build & test on windows
|
| |/ / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Honor CXXFLAGS in configure.py
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
update ninja.vim version after bff884d55
|
|/ / / / |
|