summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build.cc: constify BuildStatusKonstantin Kharlamov2019-11-202-4/+4
| | | | Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
* build.cc: constify a map in BuildStatusKonstantin Kharlamov2019-11-201-1/+1
| | | | | | Modifying a key in C++ associative containers is UB. Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
* graph.cc: constify DependencyScanKonstantin Kharlamov2019-11-202-3/+3
| | | | Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
* build.cc: constify a few Plan functionsKonstantin Kharlamov2019-11-202-13/+13
| | | | Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
* build.cc: constify a map key in RealCommandRunnerKonstantin Kharlamov2019-11-201-3/+3
| | | | | | Modifying a key in C++ associative containers is UB. Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
* Merge pull request #1681 from nightlark/release-ninja-binariesJan Niklas Hasse2019-11-191-0/+72
|\ | | | | Add GitHub Actions workflow for building release binaries
| * Trigger test run for release builds on PRsRyan Mast2019-11-161-0/+1
| |
| * Fix yaml lint (whitespace) errors in release actionRyan Mast2019-11-151-6/+6
| |
| * Strip unnecessary info from the Linux binaryRyan Mast2019-10-311-0/+4
| |
| * Upload ninja binary to published releasesRyan Mast2019-10-311-3/+15
| |
| * Add GitHub Action workflow to build ninja using CMakeRyan Mast2019-10-311-0/+55
| |
* | Merge pull request #1680 from jonesmz/patch-1Jan Niklas Hasse2019-11-162-2/+2
|\ \ | | | | | | Fix invalid preprocessor #if
| * | Update graph_test.ccMichael Jones2019-11-141-1/+1
| | |
| * | Fix invalid preprocessor #ifMichael Jones2019-11-141-1/+1
| | |
* | | Merge pull request #1683 from xianglin1006/masterJan Niklas Hasse2019-11-161-2/+2
|\ \ \ | |/ / |/| | Fix minor typo of return value
| * | Fix minor typo of return valuexianglin10062019-11-151-2/+2
|/ / | | | | Return value of ManifestParser::ParseEdge shoule be boolean
* | Merge pull request #1672 from joakim-noah/patch-1Jan Niklas Hasse2019-11-111-1/+1
|\ \ | | | | | | Add Bionic tweak for getloadavg
| * | Add Bionic tweak for getloadavgjoakim-noah2019-11-091-1/+1
|/ /
* | Merge pull request #1665 from SibiSiddharthan/masterJan Niklas Hasse2019-11-021-0/+5
|\ \ | |/ |/| Fixed compilation by gcc on Windows
| * Fixed compilation by gcc on WindowsSibi2019-11-021-0/+5
|/
* Merge pull request #1654 from BourgondAries/masterJan Niklas Hasse2019-10-302-0/+10
|\ | | | | Ensure substring indexing never goes negative
| * Ensure substring indexing never goes negativeKevin Robert Stravers2019-09-282-0/+10
| | | | | | | | | | | | With widths lower than 4, the ElideMiddle function would crash because its substring access would wrap around and attempt to access the max size_t value. This patch fixes that.
* | Revert "1492 add column headers to .ninja_log"Jan Niklas Hasse2019-10-282-8/+5
| | | | | | | | | | | | This reverts commit cfd0bd3007b291df505f8c45083453310142d681. See #1662.
* | Travis CI: Remove broken Xcode configJan Niklas Hasse2019-10-281-2/+0
|/
* CMake: Bump required version for object librariesJan Niklas Hasse2019-09-211-1/+1
|
* CMake: Let MSVC correctly report __cplusplusJan Niklas Hasse2019-09-211-1/+1
|
* Fix crash when using MSVC in debug modeJan Niklas Hasse2019-09-211-0/+4
| | | | | Accessing inputs_[0] when it's empty results in an assert when running in debug. Avoid it by using data() if available.
* Merge pull request #1651 from bmwiedemann/onecoreJan Niklas Hasse2019-09-201-1/+1
|\ | | | | Fix test_issue_1418 to pass on 1-core VM
| * Fix test_issue_1418 to pass on 1-core VMBernhard M. Wiedemann2019-09-201-1/+1
|/ | | | | the previous assert would fail because on a 1-core VM, the 3 outputs were produced sequentially from top to bottom
* Small constifications (#1647)Konstantin Kharlamov2019-09-195-15/+15
| | | | | | | * build: constify EdgeWanted() * build: constify a bit of CommandRunner * graph: constify functions of struct Edge Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
* Merge pull request #1563 from jhasse/cmakeJan Niklas Hasse2019-08-302-1/+98
|\ | | | | Add CMake build file as an alternative to configure.py
| * Ignore all kinds of build directoriesJan Niklas Hasse2019-08-281-1/+1
| |
| * CMake: Fix Windows buildJan Niklas Hasse2019-08-281-0/+7
| |
| * CMake: Support building without re2cJan Niklas Hasse2019-08-281-9/+15
| |
| * Add CMake build file as an alternative to configure.pyJan Niklas Hasse2019-08-281-0/+84
| |
* | Merge pull request #1634 from ColinFinck/fix-mingwJan Niklas Hasse2019-08-282-2/+1
|\ \ | |/ |/| Fix MinGW bootstrap build.
| * Fix MinGW bootstrap build by applying the fix in appveyor.yml permanently.Colin Finck2019-08-262-2/+1
| |
* | Travis CI: Use Python 3 to configure buildJan Niklas Hasse2019-08-191-1/+1
|/ | | Python 2 doesn't support nanosecond timestamps properly (see #1554).
* Expand the continuous integration coverage to more platforms / operating ↵Michael Jones2019-08-132-1/+45
| | | | systems (#1612)
* Enable build on IBM i platform (#1630)ThePrez2019-08-092-2/+11
| | | | * No perfstat for IBM i (OS400) AIX variant * Allow for future IBM i to identify as 'os400'
* Merge pull request #1604 from jessemckenna/correct-cpu-count-over-64Jan Niklas Hasse2019-08-082-4/+2
|\ | | | | Enable ninja to use > 64 CPUs on Windows
| * Update WIN32_WINNT from 0x0501 (Windows XP) to 0x0601 (Windows 7) to support ↵Jesse McKenna2019-07-231-1/+1
| | | | | | | | processor-group Windows API
| * Make GetProcessorCount() count processors across all processor groupsJesse McKenna2019-07-121-3/+1
| |
* | Merge pull request #1513 from nykula/masterJan Niklas Hasse2019-08-061-10/+4
|\ \ | | | | | | Use st_mtim if st_mtime is macro, fix #1510
| * | Use st_mtim if st_mtime is macro, fix #1510makepost2018-12-241-10/+4
| | | | | | | | | | | | | | | In POSIX.1-2008, sys_stat has a st_mtim member and a st_mtime backward compatibility macro. Should help avoid hardcoding platform detection.
* | | Merge pull request #1622 from goshhhy/aixJan Niklas Hasse2019-08-061-0/+9
|\ \ \ | | | | | | | | fix building ninja_test on AIX 6.1
| * | | fix building ninja_test on AIX 6.1ky0ko2019-08-051-0/+9
| | | |
* | | | Fix appveyor.yml (#1621)goshhhy2019-08-061-1/+1
|/ / / | | | | | | Add escaping for sed command. Fixes #1611.
* | | Merge pull request #1508 from mqudsi/colored_failJan Niklas Hasse2019-08-022-2/+8
|\ \ \ | | | | | | | | Emit "FAILED: " in red if terminal supports ANSI color output
| * | | Add braces to clarify conditional scopeMahmoud Al-Qudsi2019-02-041-2/+3
| | | |