summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | fix broken link in hacking.mdBrendan McCarthy2017-01-111-1/+1
|/ / /
* | | Merge pull request #1220 from phajdan/masterNico Weber2017-01-081-0/+7
|\ \ \ | | | | | | | | Fix build with uclibc
| * | | Fix build with uclibcPawel Hajdan, Jr2017-01-021-0/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | Resolves #985 This is based on musl implementation, http://git.musl-libc.org/cgit/musl/commit/?id=20cbd607759038dca57f84ef7e7b5d44a3088574 (thanks to jbergstroem@ for reference)
* | | Merge pull request #1213 from nico/copyingNico Weber2016-12-061-1/+1
|\ \ \ | | | | | | | | replace copyright placeholder, fixes #1212
| * | | replace copyright placeholder, fixes #1212Nico Weber2016-12-061-1/+1
|/ / /
* | | Merge pull request #1206 from nico/versioninfoNico Weber2016-11-081-12/+7
|\ \ \ | | | | | | | | windows: replace deprecated GetVersionEx with recommended replacement
| * | | windows: replace deprecated GetVersionEx with recommended replacementNico Weber2016-11-081-12/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | The recommended replacement VerifyVersionInfo should work with the same SDKs that GetVersionEx worked with (while the wrappers in VersionHelpers.h require a recent SDK). This patch should not change behavior, and it's not supposed to increase build requirements. If this makes things harder to build, please let me know.
* | | Merge pull request #1205 from nico/clangclformatNico Weber2016-11-081-1/+1
|\ \ \ | | | | | | | | fix a clang-cl -Wformat warning
| * | | fix a clang-cl -Wformat warningNico Weber2016-11-081-1/+1
| | | |
* | | | Merge pull request #1204 from nico/vernumNico Weber2016-11-081-2/+3
|\ \ \ \ | | | | | | | | | | fix RELEASING wrt manual.asciidoc process
| * | | | fix RELEASING wrt manual.asciidoc processNico Weber2016-11-081-2/+3
|/ / / /
* | | | Merge pull request #1194 from ilor/depfile-empty-pathNico Weber2016-11-081-1/+3
|\ \ \ \ | | | | | | | | | | Improve error message when a depfile contains a bad path
| * | | | Improve error message when a depfile contains a bad pathTomasz Ĺšniatowski2016-10-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Debugging "ninja: error: empty path" is not fun, so make the error message mention the depfile name.
* | | | | Merge pull request #1182 from moosotc/masterNico Weber2016-11-081-2/+3
|\ \ \ \ \ | | | | | | | | | | | | Use POSIX_SPAWN_USEVFORK if available
| * | | | | Use POSIX_SPAWN_USEVFORK if availablemalc2016-08-261-2/+3
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Existing comments were alluding to it's usage and it makes building ninja itself go a litle bit faster (i.e. taking less wall clock time). FWIW FreeBSD even uses vfork by default c.f. https://www.freebsd.org/cgi/man.cgi?query=posix_spawn
* | | | | Merge pull request #1203 from nico/reldocNico Weber2016-11-071-6/+6
|\ \ \ \ \ | | | | | | | | | | | | Update RELEASING -- manual.asciidoc no longer has a version number
| * | | | | Update RELEASING -- manual.asciidoc no longer has a version numberNico Weber2016-11-071-6/+6
|/ / / / /
* | | | | Merge pull request #1201 from nico/singlecommandNico Weber2016-11-071-5/+35
|\ \ \ \ \ | | | | | | | | | | | | teach -t commands to optionally print only the final command
| * | | | | teach -t commands to optionally print only the final commandNico Weber2016-11-061-5/+35
| | | | | |
* | | | | | mark this 1.7.2.gitNico Weber2016-11-071-1/+1
| | | | | |
* | | | | | Merge pull request #1202 from nico/ppollbsdNico Weber2016-11-073-10/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | Only run SubprocessTest.SetWithLots on FreeBSD when ppoll() exists.
| * | | | | | Only run SubprocessTest.SetWithLots on FreeBSD when ppoll() exists.Nico Weber2016-11-073-10/+9
|/ / / / / / | | | | | | | | | | | | | | | | | | Should fix #1189 after #1185.
* | | | | | Merge pull request #1198 from jamesr/fix_write_fake_manifestsNico Weber2016-11-071-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix syntax error in misc/write_fake_manifests.py
| * | | | | | Fix syntax error in misc/write_fake_manifests.pyJames Robinson2016-10-251-2/+2
| | |_|/ / / | |/| | | | | | | | | | | | | | | | This is used by manifest_parser_perftest
* | | | | | Merge pull request #1192 from sgraham/tidy-snprintfNico Weber2016-11-062-7/+9
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Tidy up rate snprintf'ing helper
| * | | | | Tidy up rate snprintf'ing helperScott Graham2016-10-072-7/+9
|/ / / / /
* | | | | Merge pull request #1109 from fbenkstein/enhance_write_fake_manifestNico Weber2016-09-221-18/+71
|\ \ \ \ \ | | | | | | | | | | | | enhance write_fake_manifest.py
| * | | | | enhance write_fake_manifest.pyFrank Benkstein2016-06-231-18/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an option to write_fake_manifest.py to generate sources expected by the manifest. Also slightly adapt command lines to the called commands. Together these changes mean that generated manifest can actually be executed successfully on Linux and OSX. Also add command line options to to change the number of targets being generated and the seed for the random number generator. Example usage: # create build directory in fake/build, sources in fake/src $ python misc/write_fake_manifest.py -s ../src fake/build # execute build in fake/build $ ninja -C fake/build
* | | | | | Merge pull request #1185 from gahr/freebsd-ppollNico Weber2016-09-202-1/+8
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | FreeBSD supports ppoll(2)
| * | | | | Disable ppoll(2) on FreeBSD < 10.2Pietro Cerutti2016-09-201-0/+7
| | | | | |
| * | | | | FreeBSD supports ppoll(2)Pietro Cerutti2016-09-151-1/+1
|/ / / / /
* | | | | Merge pull request #1174 from gkistanova/not-initialized-elapsed-fixNico Weber2016-08-013-5/+17
|\ \ \ \ \ | |/ / / / |/| | | | Fix for not properly initialized elapsed time.
| * | | | Fixed not initialized elapsed time.gkistanova2016-07-142-5/+9
| | | | |
| * | | | Regression test for not initialized elapsed time bug.gkistanova2016-07-141-0/+8
|/ / / /
* | | | Merge pull request #1164 from nicolasdespres/const_rootnodesNico Weber2016-06-112-6/+7
|\ \ \ \ | | | | | | | | | | Constify State::RootNodes().
| * | | | Constify State::RootNodes().Nicolas Despres2016-06-092-6/+7
|/ / / /
* | | | Merge pull request #1157 from colincross/browseNico Weber2016-05-301-6/+10
|\ \ \ \ | | | | | | | | | | Escape ninja output inserted into HTML
| * | | | Escape ninja output inserted into HTMLColin Cross2016-05-271-6/+10
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Ninja query or error output may contain characters that need to be escaped when being inserted into HTML. Replace &, ", <, and > with their & equivalent.
* | | | Merge pull request #1159 from nicolasdespres/no-explicit-outputsNico Weber2016-05-273-9/+45
|\ \ \ \ | |/ / / |/| | | Parser accepts no explicit outputs.
| * | | Parser accepts no explicit outputs.Nicolas Despres2016-05-253-9/+45
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a class of commands that take an output directory where they create their output files. Among them are cp(1), tar(1) to name a few. These commands have one or more implicit outputs but no explicit output. With this patch, Ninja's parser accepts build edge with an empty list of explicit outputs.
* | | Merge pull request #1150 from KiYugadgeter/python3_measureNico Weber2016-05-041-5/+7
|\ \ \ | | | | | | | | Make misc/measure.py compatible with python3
| * | | Make misc/measure.py compatible with python3KiYugadgeter2016-05-041-5/+7
|/ / /
* | | Merge pull request #1147 from colincross/elapsed_statusNico Weber2016-04-293-15/+31
|\ \ \ | | | | | | | | Fix NINJA_STATUS %e and %r on dumb terminals
| * | | Fix NINJA_STATUS %r on dumb terminalsColin Cross2016-04-293-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR #999 made dumb terminals only output when edges finish. PrintStatus is called after finished_edges_ is incremented, which means the calculation for running edges will always return 1 less than the real number of running processes. This happens on smart terminals too, but ninja will immediately print the status for the next edge with starting_edges_ incremented, so the incorrect value is never visible. Pass a boolean specifying whether the status is being printed on an edge finishing, and if so count the edge that just finished as being running.
| * | | Fix NINJA_STATUS %e on dumb terminalsColin Cross2016-04-281-4/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR #999 made dumb terminals only output when edges finish. BuildStatus::overall_rate_ stopwatch is only initialized to the current time when PrintStatus is called with finished_edges_ == 0, but on a dumb terminal it will be called for the first time when finished_edge_ = 1, which results in very long elapsed times: NINJA_STATUS="[%r processes, %f/%t @ %o/s : %es ] " [0 processes, 2/2 @ 0.0/s : 1461869902.367s ] Reset the stopwatches in BuildEdgeFinished before finshed_edges_ is incremented instead.
* | | mark this 1.7.1.gitNico Weber2016-04-281-1/+1
| | |
* | | Merge pull request #1144 from nico/statustweaksNico Weber2016-04-281-1/+1
|\ \ \ | | | | | | | | Update %p to use finished edges after #1143.
| * | | Update %p to use finished edges after #1143.Nico Weber2016-04-281-1/+1
|/ / /
* | | Merge pull request #1143 from colincross/statusNico Weber2016-04-282-2/+2
|\ \ \ | |/ / |/| | Change default NINJA_STATUS to [%f/%t]
| * | Change default NINJA_STATUS to [%f/%t]Colin Cross2016-04-282-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR #999 changed the status line to be printed when edges finish on dumb teerminals, but the default status message includes the number of started edges, resulting in sequential status lines with identical edge counts. Change the default status to show the number of finished edges, which will keep the count incrementing on every line. This will slightly change the output on smart terminals. Previously a build that was just starting would show a count equal to the number of concurrent jobs, and a build waiting for the final jobs to finish would show a count equal to the total number of edges. Now a starting build will show 0, and build waiting for the final jobs will show a count less than the total number of edges by the number of remaining jobs. Fixes: #1142