summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* when building with cwd = source root, use relative pathsconfigureEvan Martin2015-11-171-1/+6
| | | | | | | | The pull request that introduced building from a directory other than the source dir, https://github.com/ninja-build/ninja/pull/979, made it so all source paths are effectively absolute paths. This change restores the old behavior in the case when you are building in the source. See the comments there.
* rename the build-file variable $sourcedir to $rootEvan Martin2015-11-171-6/+6
| | | | | Confusingly, $sourcedir is the path to the root of the repository, *not* the path to the src/ directory.
* put warning flags togetherEvan Martin2015-11-171-1/+1
|
* Merge pull request #1052 from ninja-build/docsNico Weber2015-11-175-10/+47
|\ | | | | Minor doc fixes
| * drop a [horizontal] definition tableEvan Martin2015-11-171-1/+0
| | | | | | | | The two columns of the table run together, making it hard to read.
| * improve docs generation, including PDF outputEvan Martin2015-11-174-7/+45
| | | | | | | | | | | | - Fix the manual build rules (missing the .xsl as an input). - Add a README describing how the docs build works. - Add rules that generate PDF, just 'cause we can.
| * provide a better title for the manualEvan Martin2015-11-171-2/+2
|/ | | | In particular, this helps web search engines index it.
* Merge pull request #1047 from pykello/masterNico Weber2015-11-111-3/+2
|\ | | | | Speed-up bash target auto-complete.
| * Speed-up bash target auto-complete.Hadi Moshayedi2015-10-311-3/+2
| | | | | | | | | | | | | | | | These speed-ups include: * Let compgen do the command substitution. Similar to https://lists.gnu.org/archive/html/bug-bash/2012-03/msg00115.html * Use "cut" instead of "awk" for separating fields.
* | Merge pull request #1046 from zed0/masterNico Weber2015-11-111-2/+1
|\ \ | | | | | | Speed up zsh target completion
| * | Speed up zsh target completionBen Falconer2015-10-301-2/+1
| |/
* | Merge pull request #1007 from mikesep/aixEvan Martin2015-11-119-16/+71
|\ \ | | | | | | Support for AIX
| * | Separate bootstrapped build from final buildMike Seplowitz2015-10-222-10/+24
| | | | | | | | | | | | AIX does not support rebuilding ninja in-place from the bootstrapped ninja.
| * | Fix getopt for AIXMike Seplowitz2015-08-195-0/+12
| | | | | | | | | | | | | | | | | | | | | 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-192-0/+15
| | |
| * | 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.
| * | Start AIX portMike Seplowitz2015-08-191-2/+11
| | |
| * | 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-111-2/+3
|\ \ \ | | | | | | | | Print status when edge finishes on dumb terminals
| * | | Print status when edge finishes on dumb terminalsColin Cross2015-07-301-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-113-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-113-31/+38
|\ \ \ \ \ | | | | | | | | | | | | Allow paths with international characters in depfiles
| * \ \ \ \ Merge remote-tracking branch 'upstream/master'Demetri Obenour2014-05-3115-71/+135
| |\ \ \ \ \
| * | | | | | 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
| | | | | | |
* | | | | | | Try to fix #685Nico Weber2015-11-111-1/+1
| | | | | | |
* | | | | | | drop more references to github/martineEvan Martin2015-11-113-6/+5
| | | | | | |
* | | | | | | Update link to point to ninja-build.orgNico Weber2015-11-111-1/+1
| | | | | | |
* | | | | | | Merge pull request #1049 from nico/update-linksNico Weber2015-11-117-13/+13
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Make links point to org page
| * | | | | | | Make links point to org pageNico Weber2015-11-117-13/+13
|/ / / / / / /
* | | | | | | test commitNico Weber2015-11-111-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge pull request #1015 from moroten/docs-relpathNico Weber2015-10-211-0/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | Describe why to use relative paths
| * | | | | | Describe why to use relative pathsFredrik Medley2015-09-031-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ninja does resolve relative paths and file system links in paths. Therefore, such paths pointing to the same file will not match and may lead to an invalid dependency graph. Signed-off-by: Fredrik Medley <fredrik.medley@gmail.com>
* | | | | | | Merge pull request #1040 from peter1000/patch-1Nico Weber2015-10-211-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fixes typo
| * | | | | | | Fixes typopeter10002015-10-191-1/+1
| | |_|_|/ / / | |/| | | | |
* | | | | | | Merge pull request #1029 from nicolasdespres/fix-doc-typoNico Weber2015-10-211-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Fix typo.
| * | | | | | 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 pull request #1018 from nico/spellNico Weber2015-09-071-18/+20
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Merge LLVM r242069, make spell checking allocate less memory.
| * | | | | Merge LLVM r242069, make spell checking allocate less memory.Nico Weber2015-09-071-18/+20
|/ / / / /
* | | | | Merge pull request #1009 from sgraham/fix-null.oNico Weber2015-08-261-1/+2
|\ \ \ \ \ | |_|_|_|/ |/| | | | Don't output null.o during configure
| * | | | Don't output null.o during configureScott Graham2015-08-261-1/+2
|/ / / /
* | | | Merge pull request #1003 from sgraham/2015-compileNico Weber2015-08-103-4/+4
|\ \ \ \ | | | | | | | | | | Fix compile on VS2015
| * | | | Remove accidental changesScott Graham2015-08-092-1105/+1105
| | | | |
| * | | | Some mucking with std:: for set_terminate and terminate_handlerScott Graham2015-08-094-1109/+1108
| | | | |
| * | | | Set _HAS_EXCEPTIONS=0 on MSVCScott Graham2015-08-091-0/+1
|/ / / /
* | | | Merge pull request #998 from LindleyF/stdc-format-macrosNico Weber2015-08-021-0/+2
|\ \ \ \ | |_|_|/ |/| | | Make sure not to re-define __STDC_FORMAT_MACROS.
| * | | Make sure not to re-define __STDC_FORMAT_MACROS.Lindley French2015-07-301-0/+2
|/ / /