platform/upstream/ninja.git
12 years agoPut & operator with the type rather than the variable name.
Thiago Farina [Sat, 28 Apr 2012 18:21:37 +0000 (15:21 -0300)]
Put & operator with the type rather than the variable name.

Signed-off-by: Thiago Farina <tfarina@chromium.org>
12 years agodoc encoding support
Evan Martin [Thu, 26 Apr 2012 04:55:32 +0000 (21:55 -0700)]
doc encoding support

12 years agoallow UTF-8 in rule descriptions
Evan Martin [Thu, 26 Apr 2012 04:52:07 +0000 (21:52 -0700)]
allow UTF-8 in rule descriptions

The lexer already mostly allowed this, except that chars >127 were
being interpreted as negative indexes into the lexer table.

12 years agoMerge pull request #278 from tychoish/master
Evan Martin [Thu, 26 Apr 2012 04:22:21 +0000 (21:22 -0700)]
Merge pull request #278 from tychoish/master

Minor Documentation Tweak

12 years agoreduce custom ninja status patch in minor ways
Evan Martin [Thu, 26 Apr 2012 03:30:35 +0000 (20:30 -0700)]
reduce custom ninja status patch in minor ways

Elsewhere in the code I avoid sstream and manual buffer management,
so switch this code to behave similarly.  Sorry for being OCD.

12 years agoMerge branch 'custom_ninja_status' of git://github.com/polrop/ninja
Evan Martin [Thu, 26 Apr 2012 03:23:26 +0000 (20:23 -0700)]
Merge branch 'custom_ninja_status' of git://github.com/polrop/ninja

12 years agoMerge pull request #272 from nico/statstweak
Evan Martin [Thu, 26 Apr 2012 03:21:26 +0000 (20:21 -0700)]
Merge pull request #272 from nico/statstweak

Switch the order of total and avg columns in -d stats output.

12 years agoMerge pull request #269 from sgraham/explain
Evan Martin [Thu, 26 Apr 2012 03:18:42 +0000 (20:18 -0700)]
Merge pull request #269 from sgraham/explain

add support for -d explain to help debug why rules are running

12 years agoMerge pull request #228 from pcc/lazily-create-commandrunner
Evan Martin [Thu, 26 Apr 2012 03:15:19 +0000 (20:15 -0700)]
Merge pull request #228 from pcc/lazily-create-commandrunner

Lazily create the CommandRunner in Builder::Build

12 years agoMerge branch 'dont-clean-phony' of git://github.com/pcc/ninja
Evan Martin [Thu, 26 Apr 2012 03:13:10 +0000 (20:13 -0700)]
Merge branch 'dont-clean-phony' of git://github.com/pcc/ninja

Conflicts:
src/clean.cc

12 years agoMerge pull request #207 from iwadon/fix-configure.py-windows
Evan Martin [Thu, 26 Apr 2012 03:06:59 +0000 (20:06 -0700)]
Merge pull request #207 from iwadon/fix-configure.py-windows

Fix configure.py for unpacked gtest on Windows platform.

12 years agoRefactor and test progress status formatting.
Nicolas Despres [Tue, 24 Apr 2012 09:09:28 +0000 (11:09 +0200)]
Refactor and test progress status formatting.

12 years agoIntroduce NINJA_STATUS env var for customization.
Nicolas Despres [Thu, 19 Apr 2012 12:26:33 +0000 (14:26 +0200)]
Introduce NINJA_STATUS env var for customization.

Some people may want to display different relevant information about
the progress of the build.  Also it can be usefull to debug jobs
allocation.

12 years agoRemove trailing white spaces.
Nicolas Despres [Thu, 19 Apr 2012 13:13:50 +0000 (15:13 +0200)]
Remove trailing white spaces.

12 years agodocs: clarifying that there can be only one command per rule
tycho garen [Tue, 24 Apr 2012 02:26:35 +0000 (22:26 -0400)]
docs: clarifying that there can be only one command per rule

12 years agoSwitch the order of total and avg columns in -d stats output.
Nico Weber [Tue, 17 Apr 2012 17:07:06 +0000 (10:07 -0700)]
Switch the order of total and avg columns in -d stats output.

12 years agoadd support for -d explain to help debug why rules are running
Scott Graham [Fri, 13 Apr 2012 23:55:37 +0000 (16:55 -0700)]
add support for -d explain to help debug why rules are running

12 years agoMerge pull request #252 from qhuo/remove-depfile-when-cleaning
Evan Martin [Wed, 11 Apr 2012 00:07:42 +0000 (17:07 -0700)]
Merge pull request #252 from qhuo/remove-depfile-when-cleaning

Remove depfiles when running "ninja -t clean <target>" or "ninja -t clean -r <rule>"

12 years agoMerge pull request #265 from mathstuf/dev/verbose-bootstrap
Evan Martin [Tue, 10 Apr 2012 23:25:02 +0000 (16:25 -0700)]
Merge pull request #265 from mathstuf/dev/verbose-bootstrap

Allow the bootstrap to be verbose

12 years agoMerge pull request #253 from qhuo/include-io.h
Evan Martin [Tue, 10 Apr 2012 23:23:45 +0000 (16:23 -0700)]
Merge pull request #253 from qhuo/include-io.h

Fix windows build (add #include <io.h>)

12 years agoMake |log_| variable private to BuildLog.
Evan Martin [Thu, 5 Apr 2012 00:26:50 +0000 (17:26 -0700)]
Make |log_| variable private to BuildLog.

This fix the TODO in build_log.h file.

Signed-off-by: Thiago Farina <tfarina@chromium.org>
12 years agoMerge pull request #263 from mathstuf/dev/gcc-470-build-fixes
Evan Martin [Thu, 5 Apr 2012 00:23:07 +0000 (17:23 -0700)]
Merge pull request #263 from mathstuf/dev/gcc-470-build-fixes

Include unistd.h where needed

12 years agoMerge pull request #260 from sgraham/rspfile_syntax
Evan Martin [Thu, 5 Apr 2012 00:21:08 +0000 (17:21 -0700)]
Merge pull request #260 from sgraham/rspfile_syntax

add rspfile and rspfile_content to ninja_syntax

12 years agoMerge pull request #259 from usovalx/distcc_depfile_fix
Evan Martin [Thu, 5 Apr 2012 00:14:30 +0000 (17:14 -0700)]
Merge pull request #259 from usovalx/distcc_depfile_fix

Explicitly specify target name for gcc depfiles

12 years agoMerge pull request #256 from iwadon/fix-sign-compare
Evan Martin [Thu, 5 Apr 2012 00:13:33 +0000 (17:13 -0700)]
Merge pull request #256 from iwadon/fix-sign-compare

fix warning: "comparison between signed and unsigned integer expressions"

12 years agoMerge pull request #257 from PetrWolf/53598255
Evan Martin [Thu, 5 Apr 2012 00:13:19 +0000 (17:13 -0700)]
Merge pull request #257 from PetrWolf/53598255

Add NOMINMAX macro to fix a compilation error on Win32

12 years agoAllow the bootstrap to be verbose
Ben Boeckel [Fri, 30 Mar 2012 23:28:37 +0000 (19:28 -0400)]
Allow the bootstrap to be verbose

12 years agoInclude unistd.h where needed
Ben Boeckel [Wed, 28 Mar 2012 23:18:09 +0000 (19:18 -0400)]
Include unistd.h where needed

12 years agoadd rspfile and rspfile_content to ninja_syntax
Scott Graham [Tue, 27 Mar 2012 00:36:43 +0000 (17:36 -0700)]
add rspfile and rspfile_content to ninja_syntax

12 years agoExplicitly specify target name for gcc depfiles
Oleksandr Usov [Fri, 23 Mar 2012 15:40:04 +0000 (15:40 +0000)]
Explicitly specify target name for gcc depfiles

12 years agoMerge pull request #251 from polrop/depfile-parser-accept-tilde
Evan Martin [Sun, 18 Mar 2012 23:49:31 +0000 (16:49 -0700)]
Merge pull request #251 from polrop/depfile-parser-accept-tilde

Depfile parser accept tilde.

12 years agofix warning: "comparison between signed and unsigned integer expressions"
Hiroyuki Iwatsuki [Fri, 16 Mar 2012 13:41:39 +0000 (22:41 +0900)]
fix warning: "comparison between signed and unsigned integer expressions"

12 years agoAdd NOMINMAX macro to fix a compilation error on Win32
Petr Wolf [Fri, 16 Mar 2012 12:59:28 +0000 (13:59 +0100)]
Add NOMINMAX macro to fix a compilation error on Win32

12 years agoFix windows build (add #include <io.h>)
Qingning Huo [Thu, 15 Mar 2012 21:48:29 +0000 (21:48 +0000)]
Fix windows build (add #include <io.h>)

12 years agoRemove depfiles when running when running "ninja -t clean <target>"
Qingning Huo [Wed, 14 Mar 2012 21:11:31 +0000 (21:11 +0000)]
Remove depfiles when running when running "ninja -t clean <target>"
or "ninja -t clean -r <rule>"

12 years agoDepfile parser accept tilde.
Nicolas Despres [Wed, 14 Mar 2012 19:33:32 +0000 (20:33 +0100)]
Depfile parser accept tilde.

12 years agoMerge pull request #250 from qhuo/SetCloseOnExec-for-Windows
Evan Martin [Tue, 13 Mar 2012 23:37:53 +0000 (16:37 -0700)]
Merge pull request #250 from qhuo/SetCloseOnExec-for-Windows

Add a Windows version of SetCloseOnExec()

12 years agoMerge pull request #249 from qhuo/StatBadPath-Win7
Evan Martin [Tue, 13 Mar 2012 23:31:39 +0000 (16:31 -0700)]
Merge pull request #249 from qhuo/StatBadPath-Win7

Fix StatBadPath for Windows 7

12 years agoAdd a Windows version of SetCloseOnExec()
Qingning Huo [Tue, 13 Mar 2012 23:28:44 +0000 (23:28 +0000)]
Add a Windows version of SetCloseOnExec()

12 years agoFix StatBadPath for Windows 7
Qingning Huo [Tue, 13 Mar 2012 23:20:12 +0000 (23:20 +0000)]
Fix StatBadPath for Windows 7

The StatBadPath test expects both Windows and Linux to reject a
path name with 512 characters. However, it seems that such path
is actually acceptable to Windows 7. The change constructs a
different path name that is invalid on Windows.

12 years agoMerge pull request #246 from HeisSpiter/master
Evan Martin [Tue, 13 Mar 2012 22:12:57 +0000 (15:12 -0700)]
Merge pull request #246 from HeisSpiter/master

Fix resources leaks

12 years agoFix resources leaks
Pierre Schweitzer [Tue, 13 Mar 2012 10:25:42 +0000 (11:25 +0100)]
Fix resources leaks

12 years agoMerge pull request #245 from usovalx/unify_depfile_targets
Evan Martin [Tue, 13 Mar 2012 06:28:18 +0000 (23:28 -0700)]
Merge pull request #245 from usovalx/unify_depfile_targets

Issue #241 - handle depfiles generated by older versions of GCC

12 years agoIssue #241 - handle depfiles generated by older versions of GCC
Oleksandr Usov [Mon, 12 Mar 2012 19:14:07 +0000 (19:14 +0000)]
Issue #241 - handle depfiles generated by older versions of GCC

Older versions of GCC would produce broken depfiles when -MT or -MQ is used
    gcc43 -MT foo.o -MMD -MF foo.o.d -o foo.o -c foo.c
will result in the following depfile
    foo.o foo.o: <dependencies>

Parse multiple outputs unifying duplicates and correctly report errors if
they are different.

12 years agoMerge pull request #235 from fischman/ppoll
Evan Martin [Thu, 8 Mar 2012 07:04:02 +0000 (23:04 -0800)]
Merge pull request #235 from fischman/ppoll

pselect->ppoll on linux to raise the process limit roof

12 years agoMerge pull request #239 from pcc/enotdir
Evan Martin [Thu, 8 Mar 2012 07:03:50 +0000 (23:03 -0800)]
Merge pull request #239 from pcc/enotdir

Treat paths of the form "existing-file/something" as non-existent

12 years agoTreat paths of the form "existing-file/something" as non-existent
Peter Collingbourne [Mon, 5 Mar 2012 01:45:04 +0000 (01:45 +0000)]
Treat paths of the form "existing-file/something" as non-existent

Some people like to construct phony target names by appending a
"/something" suffix to an existing target "foo".  But if "foo" is an
existing file, stat will report ENOTDIR for this path, causing ninja
to spew errors.  Fix this by treating ENOTDIR in the same way as we
do ENOENT -- as a non-existent path.

12 years agodrop rtti via -fno-rtti; we don't use it
Evan Martin [Tue, 6 Mar 2012 21:42:47 +0000 (13:42 -0800)]
drop rtti via -fno-rtti; we don't use it

12 years agomake urtle fit on 24-line terminal
Evan Martin [Tue, 6 Mar 2012 18:19:12 +0000 (10:19 -0800)]
make urtle fit on 24-line terminal

12 years agoadjust rspfile docs to properly render
Evan Martin [Tue, 6 Mar 2012 18:15:19 +0000 (10:15 -0800)]
adjust rspfile docs to properly render

12 years agoMerge pull request #238 from pcc/outputs-ready-no-inputs
Evan Martin [Mon, 5 Mar 2012 16:03:11 +0000 (08:03 -0800)]
Merge pull request #238 from pcc/outputs-ready-no-inputs

Mark a phony target with no inputs as outputs-ready

12 years agoMerge pull request #237 from pcc/ninja-clean-hint
Evan Martin [Mon, 5 Mar 2012 16:02:05 +0000 (08:02 -0800)]
Merge pull request #237 from pcc/ninja-clean-hint

Give a useful hint if the user runs "ninja clean" and there is no "clean...

12 years agoMark a phony target with no inputs as outputs-ready
Peter Collingbourne [Mon, 5 Mar 2012 01:35:44 +0000 (01:35 +0000)]
Mark a phony target with no inputs as outputs-ready

Even if such a target is dirty (i.e. the file does not exist), it
has nothing to do, which makes it safe to mark as outputs-ready.
Without this change, ninja will print no output when rebuilding the
target (or an order-only dependency thereof), instead of reporting
it has "no work to do".

12 years agoGive a useful hint if the user runs "ninja clean" and there is no "clean" target
Peter Collingbourne [Mon, 5 Mar 2012 01:22:21 +0000 (01:22 +0000)]
Give a useful hint if the user runs "ninja clean" and there is no "clean" target

12 years agoaddressed pcc comments
Ami Fischman [Sun, 4 Mar 2012 03:58:09 +0000 (19:58 -0800)]
addressed pcc comments

12 years agopselect->ppoll on linux to raise the process limit roof
Ami Fischman [Sun, 4 Mar 2012 01:42:39 +0000 (17:42 -0800)]
pselect->ppoll on linux to raise the process limit roof

12 years agoMerge pull request #231 from pcc/exit-cleanup-modified
Evan Martin [Fri, 2 Mar 2012 05:22:18 +0000 (21:22 -0800)]
Merge pull request #231 from pcc/exit-cleanup-modified

Be more selective about deleting output files when interrupted

12 years agoadd an "urtle" tool
Evan Martin [Thu, 1 Mar 2012 20:07:40 +0000 (12:07 -0800)]
add an "urtle" tool

12 years agoBe more selective about deleting output files when interrupted
Peter Collingbourne [Tue, 28 Feb 2012 02:14:03 +0000 (02:14 +0000)]
Be more selective about deleting output files when interrupted

Specifically, only delete if the file was modified or if the rule uses
a depfile.

Fixes issue #226.

12 years agoDon't delete phony targets when cleaning a specified target
Peter Collingbourne [Sun, 26 Feb 2012 22:32:48 +0000 (22:32 +0000)]
Don't delete phony targets when cleaning a specified target

Also, modify Cleaner::CleanAll to use Edge::is_phony.

12 years agoMerge pull request #229 from sgraham/overprint
Evan Martin [Tue, 28 Feb 2012 16:07:32 +0000 (08:07 -0800)]
Merge pull request #229 from sgraham/overprint

[win32] Overprint the previous line if we're attached to a console

12 years ago[win32] Overprint the previous line if we're attached to a console
Scott Graham [Mon, 27 Feb 2012 03:13:12 +0000 (19:13 -0800)]
[win32] Overprint the previous line if we're attached to a console

12 years agoLazily create the CommandRunner in Builder::Build
Peter Collingbourne [Mon, 27 Feb 2012 00:35:03 +0000 (00:35 +0000)]
Lazily create the CommandRunner in Builder::Build

This allows the user to interrupt the build (i.e. using Ctrl-C)
while the build plan is being computed.

12 years agofix some public/private errors in rspfile patch
Evan Martin [Thu, 23 Feb 2012 00:21:46 +0000 (16:21 -0800)]
fix some public/private errors in rspfile patch

12 years agoMerge pull request #217 from PetrWolf/master
Evan Martin [Thu, 23 Feb 2012 00:19:39 +0000 (16:19 -0800)]
Merge pull request #217 from PetrWolf/master

Response files

12 years agoMerge pull request #218 from tfarina/fix-graph-todo
Evan Martin [Wed, 22 Feb 2012 23:52:45 +0000 (15:52 -0800)]
Merge pull request #218 from tfarina/fix-graph-todo

Fix the TODO in graph.h.

12 years agoMerge pull request #223 from pcc/restat-clean-manifest
Evan Martin [Wed, 22 Feb 2012 20:59:14 +0000 (12:59 -0800)]
Merge pull request #223 from pcc/restat-clean-manifest

Do not reload the manifest if a restat cleans it while being rebuilt

12 years agoDo not reload the manifest if a restat cleans it while being rebuilt
Peter Collingbourne [Mon, 20 Feb 2012 21:20:45 +0000 (21:20 +0000)]
Do not reload the manifest if a restat cleans it while being rebuilt

12 years agoMerge pull request #222 from polrop/test-bug-fix-62e9139740
Evan Martin [Mon, 20 Feb 2012 04:01:15 +0000 (20:01 -0800)]
Merge pull request #222 from polrop/test-bug-fix-62e9139740

Add a test for empty path in CanonicalizePath().

12 years agoAdd a test for empty path in CanonicalizePath().
Nicolas Despres [Sun, 5 Feb 2012 12:28:56 +0000 (13:28 +0100)]
Add a test for empty path in CanonicalizePath().

This test covers bug fix introduced by 62e9139740.  However,
reverting this patch does not trigger a test failure.  Maybe, I am
not testing on the right platform (Linux).  Anyway, in all cases
I think this test deserves to be added.

12 years agofix depfile_ access
Thiago Farina [Thu, 16 Feb 2012 11:06:14 +0000 (09:06 -0200)]
fix depfile_ access

12 years agoFix the TODO in graph.h.
Thiago Farina [Sun, 12 Feb 2012 18:25:38 +0000 (16:25 -0200)]
Fix the TODO in graph.h.

Signed-off-by: Thiago Farina <tfarina@chromium.org>
12 years agoMerge branch 'master' of github.com:PetrWolf/ninja
PetrWolf [Tue, 14 Feb 2012 17:33:04 +0000 (18:33 +0100)]
Merge branch 'master' of github.com:PetrWolf/ninja

12 years agoFix tabs, typos
PetrWolf [Tue, 14 Feb 2012 17:30:14 +0000 (18:30 +0100)]
Fix tabs, typos

12 years agoMerge pull request #176 from pcc/exit-cleanup
Evan Martin [Tue, 14 Feb 2012 00:55:16 +0000 (16:55 -0800)]
Merge pull request #176 from pcc/exit-cleanup

Implement cleanup-on-interrupt

12 years agographviz: don't draw edges multiple times
Evan Martin [Tue, 14 Feb 2012 00:18:46 +0000 (16:18 -0800)]
graphviz: don't draw edges multiple times

From a patch from Ian Godin <iangodin@gmail.com>.

12 years agoMade graph horizontal (better for filenames)
Ian Godin [Sat, 11 Feb 2012 17:20:42 +0000 (09:20 -0800)]
Made graph horizontal (better for filenames)

12 years agoAdd comments, remove unwanted whitespace change
Petr Wolf [Fri, 10 Feb 2012 09:31:25 +0000 (10:31 +0100)]
Add comments, remove unwanted whitespace change

12 years agoResponse files
unknown [Thu, 9 Feb 2012 21:23:35 +0000 (22:23 +0100)]
Response files

12 years agoFixes the build on OpenIndiana
Clint Moore [Tue, 7 Feb 2012 10:00:20 +0000 (02:00 -0800)]
Fixes the build on OpenIndiana

12 years agoMerge pull request #214 from qhuo/onpipeready-fix
Evan Martin [Sat, 4 Feb 2012 22:23:31 +0000 (14:23 -0800)]
Merge pull request #214 from qhuo/onpipeready-fix

Avoid using undefined value in Subprocess::OnPipeReady()

12 years agoMerge pull request #213 from syntheticpp/evaluate-only-once
Evan Martin [Sat, 4 Feb 2012 22:21:15 +0000 (14:21 -0800)]
Merge pull request #213 from syntheticpp/evaluate-only-once

Evaluate command only once

12 years agodon't crash when CanonicalizePath removes all path components
Evan Martin [Sat, 4 Feb 2012 22:14:04 +0000 (14:14 -0800)]
don't crash when CanonicalizePath removes all path components

From a patch from Peter Kuemmel <syntheticpp@gmx.net>.

12 years agoIf a command fails, wait for all running commands to terminate before we do
Peter Collingbourne [Thu, 1 Dec 2011 20:55:18 +0000 (20:55 +0000)]
If a command fails, wait for all running commands to terminate before we do

Previously, if a command fails, the fate of the other child processes
running in parallel was inadequately controlled.  On POSIX platforms,
the processes were orphaned.  Normally they would run to completion,
but were liable to being killed by a SIGPIPE.  On Windows, the child
processes would terminate with the parent.  The cleanup-on-interrupt
patch caused the SubprocessSet and Builder destructors to clean
up after themselves by killing any running child processes and
deleting their output files, making the behaviour more predictable
and consistent across platforms.

If the build is interrupted by the user, this is correct behaviour.
But in the case where the build is stopped by a failed command, this
would be inconsistent with user expectations.  In the latter case,
we now let any remaining child processes run to completion before
leaving the main loop in Builder::Build.

12 years agoImplement cleanup-on-interrupt
Peter Collingbourne [Sun, 13 Nov 2011 05:49:16 +0000 (05:49 +0000)]
Implement cleanup-on-interrupt

This causes us to clean up by deleting any output files belonging
to currently-running commands before we quit if we are interrupted
(either by Ctrl-C or by a command failing).

Fixes issue #110.

12 years agoClean up how the build line is managed at the end of the build
Peter Collingbourne [Fri, 9 Dec 2011 15:26:38 +0000 (17:26 +0200)]
Clean up how the build line is managed at the end of the build

12 years agoAvoid using undefined value in Subprocess::OnPipeReady()
Qingning Huo [Sat, 4 Feb 2012 20:30:01 +0000 (20:30 +0000)]
Avoid using undefined value in Subprocess::OnPipeReady()

12 years agocompute command twice only in case of an error
Peter Kuemmel [Sat, 4 Feb 2012 20:04:34 +0000 (21:04 +0100)]
compute command twice only in case of an error

12 years agoMerge pull request #211 from okuoku/msvc-build-c4819
Evan Martin [Sat, 4 Feb 2012 05:24:11 +0000 (21:24 -0800)]
Merge pull request #211 from okuoku/msvc-build-c4819

windows: Disable warning C4819

12 years agowindows: Disable warning C4819
okuoku [Fri, 3 Feb 2012 13:26:58 +0000 (22:26 +0900)]
windows: Disable warning C4819

warning C4819: The file contains a character that cannot be represented
in the current code page.

12 years agoMerge pull request #199 from qhuo/create-process
Evan Martin [Sun, 29 Jan 2012 16:48:13 +0000 (08:48 -0800)]
Merge pull request #199 from qhuo/create-process

Mark CreateProcess "program not found" failure as non-fatal

12 years agoMerge pull request #210 from syntheticpp/colon-escape
Evan Martin [Sun, 29 Jan 2012 16:46:52 +0000 (08:46 -0800)]
Merge pull request #210 from syntheticpp/colon-escape

add colon escaping

12 years agoparse $:
Peter Kuemmel [Sun, 29 Jan 2012 13:26:24 +0000 (14:26 +0100)]
parse $:

'$:' is a valid string now, it expands to ':'
update error messages and show a hint when something went wrong.

12 years agoadd colon escaping
Peter Kuemmel [Sun, 29 Jan 2012 11:28:52 +0000 (12:28 +0100)]
add colon escaping

Needed for Windows drive names.

For instance configure with gtest:

    python configure.py --with-gtest=c$:\gtest-1.6.0

12 years agoMerge pull request #209 from scottfranklin/python3_compat
Evan Martin [Sun, 29 Jan 2012 00:39:34 +0000 (16:39 -0800)]
Merge pull request #209 from scottfranklin/python3_compat

Maintain python3 compatibility for ninja_syntax.py

12 years agoExplicitly turn input/output lists into list objects.
Scott Franklin [Sat, 28 Jan 2012 20:15:47 +0000 (15:15 -0500)]
Explicitly turn input/output lists into list objects.

Python 3 does not support map.append/extend.

12 years agoMerge pull request #208 from okuoku/cygwin-build
Evan Martin [Thu, 26 Jan 2012 05:47:35 +0000 (21:47 -0800)]
Merge pull request #208 from okuoku/cygwin-build

Fix cygwin build by including stdio.h here

12 years agoAdd a test, NoSuchCommand.
Qingning Huo [Wed, 25 Jan 2012 21:28:57 +0000 (21:28 +0000)]
Add a test, NoSuchCommand.

12 years agoFix cygwin build by including stdio.h here
okuoku [Wed, 25 Jan 2012 16:31:03 +0000 (01:31 +0900)]
Fix cygwin build by including stdio.h here

12 years agoJust add /nologo to gtest_cflags, instead of use cflags + gtest_cflags
Hiroyuki Iwatsuki [Wed, 25 Jan 2012 08:43:26 +0000 (17:43 +0900)]
Just add /nologo to gtest_cflags, instead of use cflags + gtest_cflags