summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1062 from tfarina/bindings-typedefEvan Martin2015-12-062-3/+3
|\ | | | | make use of Bindings typedef
| * make use of Bindings typedefThiago Farina2015-12-042-3/+3
| | | | | | | | | | | | | | Looks like we declared this typedef but never used it. It seems we just forgot to use it so this patch makes uses of it now. Otherwise we could just delete it.
* | add "msvc_deps_prefix" to Rule::IsReservedBinding()Niklas Rosenstein2015-12-061-1/+2
|/ | | | | | | | | fixes the error about an unexpected variable for a rule that declares the msvc_deps_prefix. The manual suggests that this should work since Ninja 1.5 (https://ninja-build.org/manual.html#ref_rule). Closes #1043
* Merge pull request #1007 from mikesep/aixEvan Martin2015-11-127-4/+31
|\ | | | | Support for AIX
| * Fix getopt for AIXMike Seplowitz2015-08-194-0/+10
| | | | | | | | | | | | | | AIX supplies getopt but not getopt_long. We can't use the embedded getopt implementation, since the constness of its arguments doesn't match the AIX system routine.
| * Implement GetLoadAverage on AIX using libperfstatMike Seplowitz2015-08-191-0/+12
| |
| * Fix AIX compilation error related to printf macrosMike Seplowitz2015-08-191-3/+8
| | | | | | | | | | On AIX, inttypes.h gets indirectly included by build_log.h. It's easiest just to ask for the printf format macros right away.
| * Strip tabs from od's outputMike Seplowitz2015-08-191-1/+1
| | | | | | | | /bin/od on Solaris and AIX both generate tabs.
* | Merge pull request #999 from colincross/dumbstatusNico Weber2015-11-121-2/+3
|\ \ | | | | | | Print status when edge finishes on dumb terminals
| * | Print status when edge finishes on dumb terminalsColin Cross2015-07-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On smart terminals ninja prints the status line both before and after running a command, reusing the same line if possible. On a dumb terminal that doesn't support reusing the line, it only prints the status before starting the command, but prints the output of the command when the command finishes, by which point other commands may have started and printed their status line. This makes it impossible to determine what command produced a line of output. Modify BuildEdgeStarted to only print the status line if the command is going to lock the console, or if ninja is running on a smart terminal. Modify BuildEdgeFinished to always print the status line unless the command locked the console, in which case the status was already printed and no other command can have printed any lines. The end result will be dumb terminal output that much more closely matches smart terminal output. One disadvantage is that dumb terminals won't show anything when starting a command, making it harder to tell what commands are currently running, but I expect most interactive uses of ninja will use a smart terminal.
* | | Merge pull request #964 from nicolasdespres/sighupNico Weber2015-11-123-1/+36
|\ \ \ | | | | | | | | Cleanup build on SIGHUP.
| * | | Cleanup build on SIGHUP.Nicolas Despres2015-09-203-1/+36
| | | | | | | | | | | | | | | | | | | | SIGHUP is sent when the connection hang up (i.e. when the terminal window is closed or the ssh connection is closed).
* | | | Merge pull request #763 from drbo/masterNico Weber2015-11-123-31/+38
|\ \ \ \ | | | | | | | | | | Allow paths with international characters in depfiles
| * \ \ \ Merge remote-tracking branch 'upstream/master'Demetri Obenour2014-05-3112-60/+124
| |\ \ \ \
| * | | | | Added test of international character supportDemetri Obenour2014-05-082-29/+36
| | | | | |
| * | | | | Added support for international characters in makefile dependency namesDemetri Obenour2014-05-081-2/+2
| | | | | |
* | | | | | Make links point to org pageNico Weber2015-11-114-8/+8
| | | | | |
* | | | | | Fix typo.Nicolas Despres2015-09-241-1/+1
| |_|/ / / |/| | | |
* | | | | Merge pull request #1014 from moroten/optimize-stringpieceNico Weber2015-09-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Optimize StringPiece hash map
| * | | | | Optimize StringPiece hash mapFredrik Medley2015-09-031-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Replace strncmp with memcmp to improve performance. Signed-off-by: Fredrik Medley <fredrik.medley@gmail.com>
* | | | | Merge LLVM r242069, make spell checking allocate less memory.Nico Weber2015-09-071-18/+20
|/ / / /
* | | | Remove accidental changesScott Graham2015-08-102-1105/+1105
| | | |
* | | | Some mucking with std:: for set_terminate and terminate_handlerScott Graham2015-08-104-1109/+1108
| | | |
* | | | Make sure not to re-define __STDC_FORMAT_MACROS.Lindley French2015-07-311-0/+2
| |_|/ |/| |
* | | Correct order of ASSERT_EQ argumentsMike Seplowitz2015-07-301-2/+2
| | | | | | | | | | | | The correct order is ASSERT_EQ(expected, actual).
* | | Merge pull request #988 from nico/slashesNico Weber2015-07-103-7/+13
|\ \ \ | | | | | | | | win: print right slashes in 'unknown target' message
| * | | win: print right slashes in 'unknown target' messageNico Weber2015-07-103-7/+13
| | | |
* | | | Merge pull request #973 from sgraham/canonicalize-fixNico Weber2015-07-058-63/+149
|\ \ \ \ | | | | | | | | | | Fix crash in attempting to canonicalize paths longer than _MAX_PATH
| * | | | don't alias input/output in ExtractDeps (i.e. actually works now)Scott Graham2015-06-183-3/+8
| | | | |
| * | | | propagate include normalization failure to caller insteadScott Graham2015-06-185-25/+30
| | | | |
| * | | | Error+exit -> FatalScott Graham2015-06-181-2/+1
| | | | |
| * | | | don't abort()Scott Graham2015-06-091-3/+3
| | | | |
| * | | | push error to caller and abort on failureScott Graham2015-06-094-47/+73
| | | | |
| * | | | Fix crash in attempting to canonicalize paths longer than _MAX_PATHScott Graham2015-06-082-1/+52
| | | | |
* | | | | Merge pull request #979 from stinb/bootstrap-out-of-sourceNico Weber2015-07-051-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Bootstrap out of source
| * | | | | Search for generated headers relative to build dir.Jason Haslam2015-06-221-1/+1
| | |/ / / | |/| | |
* | | | | mark this 1.6.0.gitNico Weber2015-06-291-1/+1
|/ / / /
* | | | Revert "Bootstrap out of source"Nico Weber2015-06-221-1/+1
| | | |
* | | | Merge pull request #971 from stinb/bootstrap-out-of-sourceNico Weber2015-06-181-1/+1
|\ \ \ \ | | | | | | | | | | Bootstrap out of source
| * | | | Search for generated headers relative to build dir.Jason Haslam2015-05-261-1/+1
| |/ / /
* | | | Merge pull request #970 from nico/explainNico Weber2015-06-181-1/+7
|\ \ \ \ | | | | | | | | | | Add a missing EXPLAIN() call.
| * | | | Add a missing EXPLAIN() call.Nico Weber2015-05-151-1/+7
| |/ / /
* | | | Add missing member initializer in Edge constructorBrad King2015-06-161-1/+2
|/ / / | | | | | | | | | | | | | | | In commit v1.1.0^2~15^2~20 (stub out an api and de-constify Pool, 2012-10-03) the Edge "pool_" member was added as a raw pointer but the initializer was accidentally left out of the constructor. Add it now.
* | | Fix typo in comment.Nico Weber2015-05-021-1/+1
| | |
* | | Merge pull request #962 from sgraham/pool-use-fixNico Weber2015-04-294-21/+43
|\ \ \ | | | | | | | | Fix pool use count going unbalanced
| * | | simplify & inlineScott Graham2015-04-272-18/+8
| | | |
| * | | avoid calling ResumeDelayedJobs insteadScott Graham2015-04-243-10/+8
| | | |
| * | | add commentScott Graham2015-04-241-0/+3
| | | |
| * | | Fix pool use count going unbalancedScott Graham2015-04-233-9/+40
| | | |
* | | | Forward interruption signal to child processes.Nicolas Despres2015-04-242-29/+34
| | | |