| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This patch fixes a minor but annoying issue during development
where some tests would leave stale files in the current
directory.
+ Introduce new ScopedFilePath class to perform
remove-on-scope-exit of a given file path.
Fixes #1583
|
| |\ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / /
| |/| | | | | | | | | |
Remove MSVC build from AppVeyor
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
We have GitHub Actions now
|
| |\ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
ninja-build/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 1 to 3
|
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v3)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
| |\ \ \ \ \ \ \ \ \
| | |_|_|_|/ / / / /
| |/| | | | | | | | |
Add Dependabot configuration for GitHub Actions updates
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Add a Dependabot configuration that checks once a week if the GitHub Actions are still using the latest version. If not, it opens a PR to update them.
It will open few PRs, since only major versions are specified (like v3), so only on a major release (like v4) it will update and open a PR. This way it helps actively keep GitHub Actions workflows up to date and secure, while minimizing maintenance burden.
See https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Fix Mingw cross-compilation.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
The previous pull request broke compilation with the Mingw toolchain,
which does not provide <atlcore.h>. Moreover, this massive header
was only used to expand a macro that generates a static volatile
variable under the hood (which is not necessary here).
Replace it with with a simpler and more portable code path to fix
the build.
|
| |\ \ \ \ \ \ \ \ \
| | |/ / / / / / / /
| |/| | | | | | | | |
AddTasking RSP syntax to printCompdb functionality
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \
| | |/ / / / / / / /
| |/| | | | | | | | |
Fix check of filename length
|
| |/ / / / / / / / |
|
| |\ \ \ \ \ \ \ \
| | |_|_|_|/ / / /
| |/| | | | | | | |
Fix browse to work with python 3.11
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Python sources should not contain null bytes, so don't pass the final
string null terminator character to the python interpreter.
Fixes: #2310
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Allow duplicate rule variable usage.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This fixes #1966 by removing the variable name from the
lookups stack once the recursive lookup call has been performed.
Without this, any previously expanded variable could no longer
be referenced in the command, as Ninja would (incorrectly)
complain about a cyclical dependency.
|
| |\ \ \ \ \ \ \ \
| | |/ / / / / / /
| |/| | | | | | | |
CMakeLists: Fix ppoll() feature detection.
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Use check_cxx_symbol_exists() instead of check_symbol_exists()
for the subtle reason explained in the comment added in this
patch.
Change-Id: Id949b8f2c7af39eeef3a848d3bdbc7639432f38a
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
emacs: improve ninja-mode
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We default `ninja-indent-offset` to `2` because Meson and CMake use `1`
and `2` values accordingly, but `1` seems like too little, so use `2`.
The correctness was tested in particular on two `build.ninja` files,
one generated by Meson (1790 lines), and another by CMake (7777
lines). After setting `ninja-indent-offset` to the expected by the
file value and re-indenting whole file the buffer was left unchanged,
i.e. the calculated offset matched the ones already used.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The code previously did not take into account that between the name
and assignment may be any number of space including no space at all.
It was also incorrectly highlighting in a code like
foo = bar = buzz
the `bar` as a variable, even though the `bar = buzz` is just a text
that gets assigned to `foo`, i.e. `bar` is not a variable. Fix that.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Fix formatting for `msvc` tool documentation
|
| | |/ / / / / / / |
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Enable ppoll() usage when available.
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This patch modifies the CMakeLists.txt file to probe for
ppoll() on the target system, and define -DUSE_PPOLL=1 if
it is available.
This can be disabled by setting -DNINJA_FORCE_PSELECT=ON
when invoking CMake.
This matches the default behavior of the configure.py
script (and its `--force-pselect` option). Note that
there is no noticeable performance difference before
build commands are launched, so this
change is very hard to benchmark properly.
Fix for https://github.com/ninja-build/ninja/issues/1821
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* Increment ninjg_log version
* fix test
* remove code for ninjg_log version 4
* line length
* split error messages
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* Clean up Windows workflow, add support for x86
* Sensible naming for artifacts
No suffix for the x64 version, as that was the default already.
* Remove x86 build from Windows workflow
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
CI:macos package with macos 12 for macos >= 10.15
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
when this parameter was added, it was also for the last version
that recently went end of life
|
| |\ \ \ \ \ \ \ \
| | |/ / / / / / /
| |/| | | | | | | |
Fix typos in docs
|
| |/ / / / / / / |
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Remove auto_ptr
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
C++11 is now a hard requirement.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We already did this in some, this converts the rest.
Also chmod +x on write_fake_manifests.py while here.
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Flush output after each line
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The output is not flushed automatically after \n, at least on Windows 10.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Add longPathAware manifest to enable long paths on Windows
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Fixes: #1900
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* Add overridable parameter for name of Python binary
On macOS, python is not an available command any more. python3 is.
* Use option() as requested
* Store variable in different way
|
| |\ \ \ \ \ \ \ \
| | |_|_|_|/ / / /
| |/| | | | | | | |
Handle ERROR_DIRECTORY when calling FindFirstFileExA
|
| | | |_|_|_|_|/
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
If a directory referenced by .ninja_deps has changed to a regular file
since the last build, FindFirstFileExA will return ERROR_DIRECTORY.
Fixes #2159
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Add build job for Windows Arm64
|
| |/ / / / / / / |
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Make ScopedMetric portable, accurate, and efficient
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | |\ \ \ \ \ \ \
| | |/ / / / / / /
| |/| | | | | | | |
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Detect whether VC++ compiler can be found in configure.py
|