summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| | | |
| * | | Use short CONTRIBUTING.md instead of HACKING.mdJan Niklas Hasse2019-11-243-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.mdJan Niklas Hasse2019-11-241-0/+0
| | | |
* | | | Merge pull request #1712 from jhasse/centos-7Jan Niklas Hasse2020-01-092-10/+56
|\ \ \ \ | | | | | | | | | | GitHub Actions: Use CentOS 7 for Linux, fix #1533
| * | | | GitHub Actions: Use CentOS 7 for Linux, fix #1533Jan Niklas Hasse2019-12-202-10/+56
| | | | |
* | | | | Merge pull request #1717 from crondog/buildperftestsJan Niklas Hasse2020-01-081-0/+12
|\ \ \ \ \ | | | | | | | | | | | | Build performance tests with CMake. Fixes #1708
| * | | | | Build performance tests with CMake. Fixes #1708crondog2020-01-081-0/+12
|/ / / / / | | | | | | | | | | | | | | | They are only built and not run with CTest
* | | | | Merge pull request #1432 from ikifof/clean_dead_outputsJan Niklas Hasse2020-01-054-0/+108
|\ \ \ \ \ | | | | | | | | | | | | Adding a tool to remove dead outputs.
| * \ \ \ \ Merge branch 'master' into clean_dead_outputsJan Niklas Hasse2020-01-0433-324/+1148
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #1534 from mathstuf/remove-depslog-restrictionJan Niklas Hasse2020-01-0410-141/+378
|\ \ \ \ \ \ | | | | | | | | | | | | | | manifest_parser: remove multi-output depslog restriction
| * | | | | | depfile_parser_test: test buggy -MP behaviorBen Boeckel2019-11-203-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures the current behavior of rejecting this case due to `x` being reused as an input.
| * | | | | | depfile_parser: remove restriction on multiple outputsBen Boeckel2019-11-2010-138/+344
| | | | | | |
| * | | | | | build: add to deps log for each edge outputBen Boeckel2019-11-201-7/+9
| | | | | | |
* | | | | | | Merge pull request #1685 from jhasse/restatJan Niklas Hasse2020-01-049-24/+205
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add restat tool which recalculates all mtimes in the build log
| * | | | | | | Add a short documentation for restat toolJan Niklas Hasse2019-12-231-0/+3
| | | | | | | |
| * | | | | | | Ignore nonexistent .ninja_log/.ninja_deps for restat and recompactJan Niklas Hasse2019-12-238-26/+71
| | | | | | | |
| * | | | | | | Add restat tool which recalculates all mtimes in the build logJan Niklas Hasse2019-12-234-0/+133
| | | | | | | |
* | | | | | | | Fix logic-error in IsPathDead, see #1432Jan Niklas Hasse2019-12-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The conditional `(!n || !n->in_edge()) && ` was moved up. It now needs to be inversed because there's a `return false;`. See https://github.com/ninja-build/ninja/commit/3beebde51a2089ecb01820f1428efe0263deaeea#diff-78294872cbf9d32f4f972288561fa718R146 and https://github.com/ninja-build/ninja/pull/1432#discussion_r321827528
* | | | | | | | Fix error handling for getcwdAndreas Kempf2019-12-271-2/+4
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting from the Linux man page for errno, "The value in errno is significant only when the return value of the call indicated an error (i.e., -1 from most system calls; -1 or NULL from most library functions); a function that succeeds is allowed to change errno. The value of errno is never set to zero by any system call or library function." Successful calls to getcwd are allowed to set errno causing the compilation database not to be written. Spurious failures of this nature were observed on AIX. Adjust the error handling for getcwd so that errno is only checked if the call returned NULL.
* | | | | | | Run output test in temporary directoryJan Niklas Hasse2019-12-231-4/+7
| | | | | | |