summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* GitHub Actions: Switch to MSVC's subdirectoryjhasse-patch-1Jan Niklas Hasse2020-06-151-1/+1
|
* GitHub Actions: PowerShell requires \ instead of /Jan Niklas Hasse2020-06-151-1/+1
|
* GitHub Actions: Run ninja_test directly (Windows)Jan Niklas Hasse2020-06-151-1/+1
|
* [clang-tidy] check empty instead of size (#1784)Rosen Penev2020-06-044-4/+4
| | | | | Found with readability-container-size-empty Signed-off-by: Rosen Penev <rosenp@gmail.com>
* [clang-tidy] remove pointless c_str() (#1785)Rosen Penev2020-06-041-1/+1
| | | | | Found with readability-redundant-string-cstr Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Add missing Apache license header, fix #1781Jan Niklas Hasse2020-05-251-0/+14
|
* bugfix: Process escaped colon in GCC depfiles. (#1774)zero91782020-05-203-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 parameterJan Niklas Hasse2020-05-181-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 directlyJan Niklas Hasse2020-05-141-1/+1
|
* Merge pull request #1769 from scivision/pytest_winJan Niklas Hasse2020-04-301-0/+1
|\ | | | | test: skip non-Windows tests if on Windows
| * test: skip non-Windows tests if on WindowsMichael Hirsch, Ph.D2020-04-271-0/+1
|/
* Add output test for 'no work to do.'Jan Niklas Hasse2020-04-241-0/+3
|
* Merge pull request #1765 from past-due/macos_deployment_target_1Jan Niklas Hasse2020-04-181-0/+2
|\ | | | | macOS workflow: specify the minimum version of macOS supported
| * Add MACOSX_DEPLOYMENT_TARGET to macos workflowpast-due2020-04-171-0/+2
|/
* Merge pull request #1763 from nomadbyte/masterJan Niklas Hasse2020-04-151-1/+1
|\ | | | | Null terminate the out2 string passed as filter2 to log.Restat
| * Null terminate the out2 string passed as filter2 to log.Restatyydevelop2020-04-141-1/+1
|/
* Turn CONTRIBUTING.md into a linkJan Niklas Hasse2020-04-061-1/+2
|
* Merge pull request #1748 from scivision/optsJan Niklas Hasse2020-04-061-1/+12
|\ | | | | enable Intel, IBM XL, and PGI compilers without header/source changes
| * only apply optional flags when compiler worksMichael Hirsch, Ph.D2020-04-061-1/+12
|/
* Merge pull request #1637 from beevik/windows-create-process-fixJan Niklas Hasse2020-03-261-5/+13
|\ | | | | Improve error messages when ninja commands fail on Windows.
| * Improve error messages when ninja commands fail on Windows.Brett Vickers2019-08-271-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/readmeJan Niklas Hasse2020-03-232-2/+2
|\ \ | | | | | | Replace references to README with README.md
| * | Replace references to README with README.mdMike Gilbert2020-03-202-2/+2
|/ / | | | | | | | | The README file was renamed to README.md in commit a37da20ae74c81703b1c811182fc154d95ed46fe.
* | Merge pull request #1742 from scivision/cmakeJan Niklas Hasse2020-03-031-4/+2
|\ \ | | | | | | CMake: modernize
| * | cmake: append instead of set(x ...)Michael Hirsch, Ph.D2020-02-201-2/+2
| | |
| * | cmake: remove redundant cmake_policy()Michael Hirsch, Ph.D2020-02-201-2/+0
|/ / | | | | | | | | cmake_minimum_required(VERSION 3.15) implicitly sets to NEW all policies from CMP0094 and older
* | Merge pull request #1744 from scivision/htmlescJan Niklas Hasse2020-02-201-2/+5
|\ \ | | | | | | browse.py: use html.escape for python3
| * | browse.py: use html.escape for python3Michael Hirsch, Ph.D2020-02-191-2/+5
| | | | | | | | | | | | | | | fixes #1741 fixes #1736
* | | Merge pull request #1745 from scivision/ciupdateJan Niklas Hasse2020-02-203-19/+27
|\ \ \ | |/ / |/| | CI: update CMake use
| * | ci: use latest checkout actionMichael Hirsch, Ph.D2020-02-193-3/+3
| | |
| * | ci: use contemporary CMake commands and use latest CMakeMichael Hirsch, Ph.D2020-02-193-16/+24
|/ /
* | Merge pull request #1737 from rezso/patch-1Jan Niklas Hasse2020-02-101-0/+2
|\ \ | | | | | | Add install target to CMake build
| * | Add install target to CMake buildrezso2020-02-081-0/+2
|/ /
* | Merge pull request #1734 from xlotlu/patch-1Jan Niklas Hasse2020-02-071-1/+1
|\ \ | | | | | | fix typo
| * | fix typoIonuț Ciocîrlan2020-02-071-1/+1
|/ /
* | Drop deprecated bootstrap.pyJan Niklas Hasse2020-02-051-23/+0
| |
* | clang-format: Do not derive pointer binding from fileJan Niklas Hasse2020-02-051-0/+1
| | | | | | | | See https://github.com/ninja-build/ninja/pull/1438#issuecomment-483353542
* | Merge pull request #1726 from mathstuf/manual-manifest-referenceJan Niklas Hasse2020-01-301-1/+1
|\ \ | | | | | | manual: remove "manifest" reference from the manual
| * | manual: remove "manifest" reference from the manualBen Boeckel2020-01-291-1/+1
|/ / | | | | | | Nothing else describes what a "manifest" is in user-facing docs.
* | mark this 1.10.0.gitJan Niklas Hasse2020-01-271-1/+1
| |
* | Merge pull request #1624 from bungeman/patch-1Jan Niklas Hasse2020-01-191-2/+2
|\ \ | | | | | | Recommend MD over MMD for header dependencies.
| * | Recommend MD over MMD for header dependencies.bungeman2019-08-061-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 #1716Jan Niklas Hasse2020-01-181-0/+3
| | |
* | | Merge pull request #1719 from jhasse/cmake-static-msvcJan Niklas Hasse2020-01-183-22/+58
|\ \ \ | | | | | | | | CMake: Use static MSVC runtime, fixes #1692
| * | | GitHub Actions: Split Windows and macOS workflowsJan Niklas Hasse2020-01-182-21/+55
| | | | | | | | | | | | | | | | | | | | Somehow `$(find ./build -name ninja -or -name ninja.exe)` stopped working on Windows.
| * | | CMake: Use static MSVC runtime, fixes #1692Jan Niklas Hasse2020-01-171-1/+3
| | | |
* | | | restat: No need for loading build.ninjaJan Niklas Hasse2020-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | This results in a huge speed up for large builds (e.g. Chromium). See #1718.
* | | | restat: Accept list of outputs to restat (none means all)Jan Niklas Hasse2020-01-164-8/+43
| | | | | | | | | | | | | | | | | | | | This will become handy when the generator only wants to restat the build.ninja entry in the log. See #1718.
* | | | Merge pull request #1616 from jhasse/contributing-mdJan Niklas Hasse2020-01-165-274/+85
|\ \ \ \ | |/ / / |/| | | Use short CONTRIBUTING.md instead of HACKING.md
| * | | Add basic build instructions to the READMEJan Niklas Hasse2019-11-241-4/+31
| | | |