Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typos | Dimitris Apostolou | 2020-07-07 | 3 | -5/+5 |
| | |||||
* | Merge pull request #1804 from ninja-build/nico-patch-2 | Nico Weber | 2020-06-21 | 1 | -1/+6 |
|\ | | | | | Include sys/select.h in subprocess-posix.cc | ||||
| * | Include sys/select.h in subprocess-posix.cc | Nico Weber | 2020-06-21 | 1 | -1/+6 |
| | | | | | | | | | | pselect() is in sys/select.h in "newer" (2001) versions of posix, so add an include for it. While here, only include poll.h if USE_PPOLL is defined. | ||||
* | | Merge pull request #1803 from ninja-build/nico-patch-1 | Nico Weber | 2020-06-21 | 1 | -0/+2 |
|\ \ | |/ |/| | Include unistd.h in disk_interface.cc | ||||
| * | Include unistd.h in disk_interface.cc | Nico Weber | 2020-06-21 | 1 | -0/+2 |
|/ | | | | stat() needs unistd.h in addition to sys/stat.h and sys/types.h per POSIX. At least one (hobby) OS does need unistd.h, so add an include for it. | ||||
* | GitHub Actions: Switch to MSVC's subdirectory | Jan Niklas Hasse | 2020-06-15 | 1 | -1/+1 |
| | |||||
* | GitHub Actions: PowerShell requires \ instead of / | Jan Niklas Hasse | 2020-06-15 | 1 | -1/+1 |
| | |||||
* | GitHub Actions: Run ninja_test directly (Windows) | Jan Niklas Hasse | 2020-06-15 | 1 | -1/+1 |
| | |||||
* | [clang-tidy] check empty instead of size (#1784) | Rosen Penev | 2020-06-04 | 4 | -4/+4 |
| | | | | | Found with readability-container-size-empty Signed-off-by: Rosen Penev <rosenp@gmail.com> | ||||
* | [clang-tidy] remove pointless c_str() (#1785) | Rosen Penev | 2020-06-04 | 1 | -1/+1 |
| | | | | | Found with readability-redundant-string-cstr Signed-off-by: Rosen Penev <rosenp@gmail.com> | ||||
* | Add missing Apache license header, fix #1781 | Jan Niklas Hasse | 2020-05-25 | 1 | -0/+14 |
| | |||||
* | bugfix: Process escaped colon in GCC depfiles. (#1774) | zero9178 | 2020-05-20 | 3 | -24/+121 |
| | | | | | | | | | | | | | | | | | | | | | * Added ability to parse escaped colons in GCC Dep files enabling ninja to parse dep files of GCC 10 on Windows * Added generated depfile_parser.cc * Addressed formatting * Added extra tests with real world examples of paths produced by both GCC 10 and Clang and GCC pre 10. Adjusted one test so it doesn't fail * Adjusted regular expression to not match \: if the character following the : is either EOF or whitespace * Fixed typo in regex (should be 0x20 for space not 0xa) * Changed regular expression form using lookahead to instead matching a separate expression. This was needed as re2c pre version 1.17 is broken when using lookaheads. Also added tests for \: followed by whitespace * Addressed formatting * Forgot a missing std:: * Fixed formatting for spaces after , as well as respecting column width | ||||
* | MinGW now has _mktemp_s, use overload with size parameter | Jan Niklas Hasse | 2020-05-18 | 1 | -11/+2 |
| | | | | | | | | | MSVC also used the custom implementation, since the function isn't a macro and therefore #ifndef _mktemp_s didn't work as intended. | ||||
* | GitHub Actions: Run ninja_test directly | Jan Niklas Hasse | 2020-05-14 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1769 from scivision/pytest_win | Jan Niklas Hasse | 2020-04-30 | 1 | -0/+1 |
|\ | | | | | test: skip non-Windows tests if on Windows | ||||
| * | test: skip non-Windows tests if on Windows | Michael Hirsch, Ph.D | 2020-04-27 | 1 | -0/+1 |
|/ | |||||
* | Add output test for 'no work to do.' | Jan Niklas Hasse | 2020-04-24 | 1 | -0/+3 |
| | |||||
* | Merge pull request #1765 from past-due/macos_deployment_target_1 | Jan Niklas Hasse | 2020-04-18 | 1 | -0/+2 |
|\ | | | | | macOS workflow: specify the minimum version of macOS supported | ||||
| * | Add MACOSX_DEPLOYMENT_TARGET to macos workflow | past-due | 2020-04-18 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #1763 from nomadbyte/master | Jan Niklas Hasse | 2020-04-15 | 1 | -1/+1 |
|\ | | | | | Null terminate the out2 string passed as filter2 to log.Restat | ||||
| * | Null terminate the out2 string passed as filter2 to log.Restat | yydevelop | 2020-04-15 | 1 | -1/+1 |
|/ | |||||
* | Turn CONTRIBUTING.md into a link | Jan Niklas Hasse | 2020-04-06 | 1 | -1/+2 |
| | |||||
* | Merge pull request #1748 from scivision/opts | Jan Niklas Hasse | 2020-04-06 | 1 | -1/+12 |
|\ | | | | | enable Intel, IBM XL, and PGI compilers without header/source changes | ||||
| * | only apply optional flags when compiler works | Michael Hirsch, Ph.D | 2020-04-06 | 1 | -1/+12 |
|/ | |||||
* | Merge pull request #1637 from beevik/windows-create-process-fix | Jan Niklas Hasse | 2020-03-26 | 1 | -5/+13 |
|\ | | | | | Improve error messages when ninja commands fail on Windows. | ||||
| * | Improve error messages when ninja commands fail on Windows. | Brett Vickers | 2019-08-28 | 1 | -5/+13 |
| | | | | | | | | | | | | | | | | When a call to the Win32 API CreateProcessA fails, ninja now outputs the exact command string that caused it to fail. It also detects when the command contained leading whitespace and outputs a hint that lets the user know why the command failed. | ||||
* | | Merge pull request #1756 from floppym/readme | Jan Niklas Hasse | 2020-03-23 | 2 | -2/+2 |
|\ \ | | | | | | | Replace references to README with README.md | ||||
| * | | Replace references to README with README.md | Mike Gilbert | 2020-03-20 | 2 | -2/+2 |
|/ / | | | | | | | | | The README file was renamed to README.md in commit a37da20ae74c81703b1c811182fc154d95ed46fe. | ||||
* | | Merge pull request #1742 from scivision/cmake | Jan Niklas Hasse | 2020-03-03 | 1 | -4/+2 |
|\ \ | | | | | | | CMake: modernize | ||||
| * | | cmake: append instead of set(x ...) | Michael Hirsch, Ph.D | 2020-02-21 | 1 | -2/+2 |
| | | | |||||
| * | | cmake: remove redundant cmake_policy() | Michael Hirsch, Ph.D | 2020-02-21 | 1 | -2/+0 |
|/ / | | | | | | | | | cmake_minimum_required(VERSION 3.15) implicitly sets to NEW all policies from CMP0094 and older | ||||
* | | Merge pull request #1744 from scivision/htmlesc | Jan Niklas Hasse | 2020-02-20 | 1 | -2/+5 |
|\ \ | | | | | | | browse.py: use html.escape for python3 | ||||
| * | | browse.py: use html.escape for python3 | Michael Hirsch, Ph.D | 2020-02-19 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | fixes #1741 fixes #1736 | ||||
* | | | Merge pull request #1745 from scivision/ciupdate | Jan Niklas Hasse | 2020-02-20 | 3 | -19/+27 |
|\ \ \ | |/ / |/| | | CI: update CMake use | ||||
| * | | ci: use latest checkout action | Michael Hirsch, Ph.D | 2020-02-19 | 3 | -3/+3 |
| | | | |||||
| * | | ci: use contemporary CMake commands and use latest CMake | Michael Hirsch, Ph.D | 2020-02-19 | 3 | -16/+24 |
|/ / | |||||
* | | Merge pull request #1737 from rezso/patch-1 | Jan Niklas Hasse | 2020-02-10 | 1 | -0/+2 |
|\ \ | | | | | | | Add install target to CMake build | ||||
| * | | Add install target to CMake build | rezso | 2020-02-08 | 1 | -0/+2 |
|/ / | |||||
* | | Merge pull request #1734 from xlotlu/patch-1 | Jan Niklas Hasse | 2020-02-07 | 1 | -1/+1 |
|\ \ | | | | | | | fix typo | ||||
| * | | fix typo | Ionuț Ciocîrlan | 2020-02-07 | 1 | -1/+1 |
|/ / | |||||
* | | Drop deprecated bootstrap.py | Jan Niklas Hasse | 2020-02-05 | 1 | -23/+0 |
| | | |||||
* | | clang-format: Do not derive pointer binding from file | Jan Niklas Hasse | 2020-02-05 | 1 | -0/+1 |
| | | | | | | | | See https://github.com/ninja-build/ninja/pull/1438#issuecomment-483353542 | ||||
* | | Merge pull request #1726 from mathstuf/manual-manifest-reference | Jan Niklas Hasse | 2020-01-30 | 1 | -1/+1 |
|\ \ | | | | | | | manual: remove "manifest" reference from the manual | ||||
| * | | manual: remove "manifest" reference from the manual | Ben Boeckel | 2020-01-29 | 1 | -1/+1 |
|/ / | | | | | | | Nothing else describes what a "manifest" is in user-facing docs. | ||||
* | | mark this 1.10.0.git | Jan Niklas Hasse | 2020-01-27 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1624 from bungeman/patch-1 | Jan Niklas Hasse | 2020-01-19 | 1 | -2/+2 |
|\ \ | | | | | | | Recommend MD over MMD for header dependencies. | ||||
| * | | Recommend MD over MMD for header dependencies. | bungeman | 2019-08-06 | 1 | -2/+2 |
| | | | | | | | | | The MMD flag will silently omit includes found through pointy brackets or system include paths. This can lead to issues not only when system headers change, but any paths included through the isystem flag. Because the isystem flag implicitly turns off warnings as errors it has often come to be used as a "not my code" flag used with local third party dependencies which may be frequently updated or changed for debugging. As a result, it is far safer to default to MD (which includes all include dependencies) in this example. | ||||
* | | | Add short doc for cleandead tool, fix #1716 | Jan Niklas Hasse | 2020-01-18 | 1 | -0/+3 |
| | | | |||||
* | | | Merge pull request #1719 from jhasse/cmake-static-msvc | Jan Niklas Hasse | 2020-01-18 | 3 | -22/+58 |
|\ \ \ | | | | | | | | | CMake: Use static MSVC runtime, fixes #1692 | ||||
| * | | | GitHub Actions: Split Windows and macOS workflows | Jan Niklas Hasse | 2020-01-17 | 2 | -21/+55 |
| | | | | | | | | | | | | | | | | | | | | Somehow `$(find ./build -name ninja -or -name ninja.exe)` stopped working on Windows. |