Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use short CONTRIBUTING.md instead of HACKING.md | Jan Niklas Hasse | 2019-11-24 | 3 | -253/+37 |
| | | | | | | | | * Only the most important parts and some new guidelines in CONTRIBUTING.md. * Complete HACKING.md content moved to the GitHub wiki: https://github.com/ninja-build/ninja/wiki * README is now also Markdown formatted. | ||||
* | Rename HACKING.md to CONTRIBUTING.md | Jan Niklas Hasse | 2019-11-24 | 1 | -0/+0 |
| | |||||
* | Merge pull request #1683 from xianglin1006/master | Jan Niklas Hasse | 2019-11-16 | 1 | -2/+2 |
|\ | | | | | Fix minor typo of return value | ||||
| * | Fix minor typo of return value | xianglin1006 | 2019-11-15 | 1 | -2/+2 |
|/ | | | Return value of ManifestParser::ParseEdge shoule be boolean | ||||
* | Merge pull request #1672 from joakim-noah/patch-1 | Jan Niklas Hasse | 2019-11-11 | 1 | -1/+1 |
|\ | | | | | Add Bionic tweak for getloadavg | ||||
| * | Add Bionic tweak for getloadavg | joakim-noah | 2019-11-09 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1665 from SibiSiddharthan/master | Jan Niklas Hasse | 2019-11-02 | 1 | -0/+5 |
|\ | | | | | Fixed compilation by gcc on Windows | ||||
| * | Fixed compilation by gcc on Windows | Sibi | 2019-11-02 | 1 | -0/+5 |
|/ | |||||
* | Merge pull request #1654 from BourgondAries/master | Jan Niklas Hasse | 2019-10-30 | 2 | -0/+10 |
|\ | | | | | Ensure substring indexing never goes negative | ||||
| * | Ensure substring indexing never goes negative | Kevin Robert Stravers | 2019-09-28 | 2 | -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 Hasse | 2019-10-28 | 2 | -8/+5 |
| | | | | | | | | | | | | This reverts commit cfd0bd3007b291df505f8c45083453310142d681. See #1662. | ||||
* | | Travis CI: Remove broken Xcode config | Jan Niklas Hasse | 2019-10-28 | 1 | -2/+0 |
|/ | |||||
* | CMake: Bump required version for object libraries | Jan Niklas Hasse | 2019-09-21 | 1 | -1/+1 |
| | |||||
* | CMake: Let MSVC correctly report __cplusplus | Jan Niklas Hasse | 2019-09-21 | 1 | -1/+1 |
| | |||||
* | Fix crash when using MSVC in debug mode | Jan Niklas Hasse | 2019-09-21 | 1 | -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/onecore | Jan Niklas Hasse | 2019-09-20 | 1 | -1/+1 |
|\ | | | | | Fix test_issue_1418 to pass on 1-core VM | ||||
| * | Fix test_issue_1418 to pass on 1-core VM | Bernhard M. Wiedemann | 2019-09-20 | 1 | -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 Kharlamov | 2019-09-19 | 5 | -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/cmake | Jan Niklas Hasse | 2019-08-30 | 2 | -1/+98 |
|\ | | | | | Add CMake build file as an alternative to configure.py | ||||
| * | Ignore all kinds of build directories | Jan Niklas Hasse | 2019-08-28 | 1 | -1/+1 |
| | | |||||
| * | CMake: Fix Windows build | Jan Niklas Hasse | 2019-08-28 | 1 | -0/+7 |
| | | |||||
| * | CMake: Support building without re2c | Jan Niklas Hasse | 2019-08-28 | 1 | -9/+15 |
| | | |||||
| * | Add CMake build file as an alternative to configure.py | Jan Niklas Hasse | 2019-08-28 | 1 | -0/+84 |
| | | |||||
* | | Merge pull request #1634 from ColinFinck/fix-mingw | Jan Niklas Hasse | 2019-08-28 | 2 | -2/+1 |
|\ \ | |/ |/| | Fix MinGW bootstrap build. | ||||
| * | Fix MinGW bootstrap build by applying the fix in appveyor.yml permanently. | Colin Finck | 2019-08-26 | 2 | -2/+1 |
| | | |||||
* | | Travis CI: Use Python 3 to configure build | Jan Niklas Hasse | 2019-08-19 | 1 | -1/+1 |
|/ | | | Python 2 doesn't support nanosecond timestamps properly (see #1554). | ||||
* | Expand the continuous integration coverage to more platforms / operating ↵ | Michael Jones | 2019-08-13 | 2 | -1/+45 |
| | | | | systems (#1612) | ||||
* | Enable build on IBM i platform (#1630) | ThePrez | 2019-08-09 | 2 | -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-64 | Jan Niklas Hasse | 2019-08-08 | 2 | -4/+2 |
|\ | | | | | Enable ninja to use > 64 CPUs on Windows | ||||
| * | Update WIN32_WINNT from 0x0501 (Windows XP) to 0x0601 (Windows 7) to support ↵ | Jesse McKenna | 2019-07-23 | 1 | -1/+1 |
| | | | | | | | | processor-group Windows API | ||||
| * | Make GetProcessorCount() count processors across all processor groups | Jesse McKenna | 2019-07-12 | 1 | -3/+1 |
| | | |||||
* | | Merge pull request #1513 from nykula/master | Jan Niklas Hasse | 2019-08-06 | 1 | -10/+4 |
|\ \ | | | | | | | Use st_mtim if st_mtime is macro, fix #1510 | ||||
| * | | Use st_mtim if st_mtime is macro, fix #1510 | makepost | 2018-12-24 | 1 | -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/aix | Jan Niklas Hasse | 2019-08-06 | 1 | -0/+9 |
|\ \ \ | | | | | | | | | fix building ninja_test on AIX 6.1 | ||||
| * | | | fix building ninja_test on AIX 6.1 | ky0ko | 2019-08-05 | 1 | -0/+9 |
| | | | | |||||
* | | | | Fix appveyor.yml (#1621) | goshhhy | 2019-08-06 | 1 | -1/+1 |
|/ / / | | | | | | | Add escaping for sed command. Fixes #1611. | ||||
* | | | Merge pull request #1508 from mqudsi/colored_fail | Jan Niklas Hasse | 2019-08-02 | 2 | -2/+8 |
|\ \ \ | | | | | | | | | Emit "FAILED: " in red if terminal supports ANSI color output | ||||
| * | | | Add braces to clarify conditional scope | Mahmoud Al-Qudsi | 2019-02-04 | 1 | -2/+3 |
| | | | | |||||
| * | | | Unset suports_color_ if SetConsoleMode fails on WIN32 | Mahmoud Al-Qudsi | 2018-12-10 | 1 | -1/+3 |
| | | | | |||||
| * | | | Emit "FAILED: " in red if terminal supports ANSI color output | Mahmoud Al-Qudsi | 2018-12-05 | 1 | -1/+4 |
| | | | | |||||
* | | | | compdb: Dump every rule without any arguments, fix #1377 | Jan Niklas Hasse | 2019-08-02 | 1 | -16/+28 |
| | | | | |||||
* | | | | Improve const-correctness in compdb related methods | Jan Niklas Hasse | 2019-08-02 | 3 | -21/+16 |
| |_|/ |/| | | |||||
* | | | Merge pull request #1016 from moroten/docs-empty-rule-uptodate | Jan Niklas Hasse | 2019-07-09 | 1 | -0/+8 |
|\ \ \ | | | | | | | | | Describe how to make a phony rule always up to date | ||||
| * | | | Describe how to make a phony rule always up to date | Fredrik Medley | 2017-08-16 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | A phony rule with no input is always out of date. Describe how to make a rule always up to date. Signed-off-by: Fredrik Medley <fredrik.medley@gmail.com> | ||||
* | | | | Merge pull request #1517 from chagui/1492-add-headers-to-ninja_log | Jan Niklas Hasse | 2019-07-02 | 2 | -5/+8 |
|\ \ \ \ | | | | | | | | | | | #1492 add column headers to .ninja_log | ||||
| * | | | | 1492 add column headers to .ninja_log | Guilhem Charles | 2019-01-13 | 2 | -5/+8 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #1342 from Lekensteyn/depfile-fixes | Jan Niklas Hasse | 2019-06-18 | 3 | -46/+157 |
|\ \ \ \ | | | | | | | | | | | Follow GCC/Clang behavior wrt depfiles | ||||
| * | | | | Follow GCC/Clang behavior wrt depfiles | Peter Wu | 2019-06-08 | 3 | -46/+157 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The option is called "depfile = gcc" and should support depfiles created by GCC. GCC does not escape backslashes and GNU Make does not try to unescape it, so neither should Ninja try to "unescape" it. Only space (' ') and hash sign ('#') are specially treated by GCC/Clang. Note that while tabs are also treated specially by GCC, Clang does not, so do not special case it (why would someone use tabs in a filename?). Support for 2N trailing backslashes in a filename is a bit questionable, but is added to be as consistent as possible with GCC/Clang. See also https://github.com/llvm-mirror/clang/blob/44c160f916a1b080098b17b466b026aa07475ec2/lib/Frontend/DependencyFile.cpp#L316 https://github.com/gcc-mirror/gcc/blob/22a8377023d59cc01ab0a84a1df56d0e1336efa3/libcpp/mkdeps.c#L47 Fixes https://github.com/ninja-build/ninja/issues/1262 | ||||
* | | | | Fix UB "member call on null pointer of type 'DepsLog'", see #1248 | Jan Niklas Hasse | 2019-05-28 | 1 | -1/+1 |
| | | | | |||||
* | | | | Ignore .ccls-cache directory | Jan Niklas Hasse | 2019-05-10 | 1 | -0/+1 |
| | | | |