platform/upstream/ninja.git
13 years agodemote a fatal to a warning
Evan Martin [Sun, 14 Nov 2010 18:37:44 +0000 (10:37 -0800)]
demote a fatal to a warning

13 years agoupdate gyp to use $root and phony
Evan Martin [Sun, 14 Nov 2010 02:19:29 +0000 (18:19 -0800)]
update gyp to use $root and phony

13 years agoadd a special "phony" rule
Evan Martin [Sun, 14 Nov 2010 02:13:00 +0000 (18:13 -0800)]
add a special "phony" rule

13 years agomake Rule* const
Evan Martin [Sun, 14 Nov 2010 02:05:46 +0000 (18:05 -0800)]
make Rule* const

13 years agoadd note about $root to docs
Evan Martin [Sun, 14 Nov 2010 01:55:29 +0000 (17:55 -0800)]
add note about $root to docs

13 years agoprovide $root from getcwd
Evan Martin [Sun, 14 Nov 2010 01:54:42 +0000 (17:54 -0800)]
provide $root from getcwd

13 years agohack in special $root for builddir
Evan Martin [Sun, 14 Nov 2010 01:50:46 +0000 (17:50 -0800)]
hack in special $root for builddir

13 years agoupdate snapshot of current gyp work
Evan Martin [Sun, 14 Nov 2010 01:21:03 +0000 (17:21 -0800)]
update snapshot of current gyp work

13 years agofix extra outputs; no tests but lots of comments
Evan Martin [Sun, 14 Nov 2010 01:20:15 +0000 (17:20 -0800)]
fix extra outputs; no tests but lots of comments

13 years agoclang safe
Evan Martin [Sun, 14 Nov 2010 01:17:32 +0000 (17:17 -0800)]
clang safe

13 years agocast to int
Evan Martin [Sun, 14 Nov 2010 01:14:08 +0000 (17:14 -0800)]
cast to int

13 years agofix refactor regression, add test
Evan Martin [Sun, 14 Nov 2010 01:13:42 +0000 (17:13 -0800)]
fix refactor regression, add test

13 years agodump plan on error
Evan Martin [Sun, 14 Nov 2010 00:57:36 +0000 (16:57 -0800)]
dump plan on error

13 years agorearrange planning; now tests pass
Evan Martin [Fri, 12 Nov 2010 22:59:02 +0000 (14:59 -0800)]
rearrange planning; now tests pass

13 years agoadd two tests, one failing that exhibits problem
Evan Martin [Fri, 12 Nov 2010 17:29:31 +0000 (09:29 -0800)]
add two tests, one failing that exhibits problem

13 years agotest that runs simple plan
Evan Martin [Thu, 11 Nov 2010 07:05:22 +0000 (23:05 -0800)]
test that runs simple plan

13 years agoremove State* from Plan
Evan Martin [Thu, 11 Nov 2010 06:47:52 +0000 (22:47 -0800)]
remove State* from Plan

13 years agohack in dotted lines in graph for order-only deps
Evan Martin [Wed, 10 Nov 2010 23:12:23 +0000 (15:12 -0800)]
hack in dotted lines in graph for order-only deps

13 years agoadd diagnostic before assert
Evan Martin [Wed, 10 Nov 2010 16:39:21 +0000 (08:39 -0800)]
add diagnostic before assert

13 years agomore graph fiddling
Evan Martin [Tue, 9 Nov 2010 09:39:40 +0000 (01:39 -0800)]
more graph fiddling

13 years agograph display touchups
Evan Martin [Tue, 9 Nov 2010 09:22:33 +0000 (01:22 -0800)]
graph display touchups

13 years agoadd simple graphing
Evan Martin [Tue, 9 Nov 2010 09:15:36 +0000 (01:15 -0800)]
add simple graphing

13 years agorelax assert, print error instead
Evan Martin [Tue, 9 Nov 2010 08:16:40 +0000 (00:16 -0800)]
relax assert, print error instead

13 years agopass gyptest-action
Evan Martin [Sun, 7 Nov 2010 22:55:29 +0000 (14:55 -0800)]
pass gyptest-action

13 years agohandle paths with double slash
Evan Martin [Sun, 7 Nov 2010 22:53:19 +0000 (14:53 -0800)]
handle paths with double slash

13 years agofix inverted order-only dep logic; why didn't tests catch this :(
Evan Martin [Sun, 7 Nov 2010 22:43:54 +0000 (14:43 -0800)]
fix inverted order-only dep logic; why didn't tests catch this :(

13 years agocheck in work in progress gyp patch
Evan Martin [Sun, 7 Nov 2010 04:39:38 +0000 (21:39 -0700)]
check in work in progress gyp patch

13 years agocheck in build.ninja, since we're using it
Evan Martin [Sun, 7 Nov 2010 04:38:53 +0000 (21:38 -0700)]
check in build.ninja, since we're using it

13 years agohack in order only deps
Evan Martin [Sun, 7 Nov 2010 04:37:35 +0000 (21:37 -0700)]
hack in order only deps

13 years agoparse order-only dep syntax
Evan Martin [Sun, 7 Nov 2010 03:58:46 +0000 (20:58 -0700)]
parse order-only dep syntax

13 years agosketch out order only deps mess
Evan Martin [Sun, 7 Nov 2010 03:42:33 +0000 (20:42 -0700)]
sketch out order only deps mess

13 years agoanother idea
Evan Martin [Sun, 7 Nov 2010 03:22:41 +0000 (20:22 -0700)]
another idea

13 years agoremote todo item, it sorta works
Evan Martin [Sun, 7 Nov 2010 03:19:46 +0000 (20:19 -0700)]
remote todo item, it sorta works

13 years agosubninjas should inherit builddir
Evan Martin [Sun, 7 Nov 2010 03:10:49 +0000 (20:10 -0700)]
subninjas should inherit builddir

13 years agotest default builddir is empty
Evan Martin [Sun, 7 Nov 2010 03:10:34 +0000 (20:10 -0700)]
test default builddir is empty

13 years agotranslate @ in variable definitions
Evan Martin [Sun, 7 Nov 2010 02:53:57 +0000 (19:53 -0700)]
translate @ in variable definitions

13 years agomore docs
Evan Martin [Sun, 7 Nov 2010 01:35:11 +0000 (18:35 -0700)]
more docs

13 years agobootstrap script
Evan Martin [Sun, 7 Nov 2010 01:20:07 +0000 (18:20 -0700)]
bootstrap script

13 years agobetter bootstrap idea
Evan Martin [Sun, 7 Nov 2010 01:11:42 +0000 (18:11 -0700)]
better bootstrap idea

13 years agomake all vars start with $
Evan Martin [Mon, 1 Nov 2010 01:08:05 +0000 (18:08 -0700)]
make all vars start with $

13 years agoreport variable parse errors
Evan Martin [Mon, 1 Nov 2010 01:04:06 +0000 (18:04 -0700)]
report variable parse errors

13 years agouse success exit code when nothing to build
Evan Martin [Sun, 31 Oct 2010 01:29:54 +0000 (18:29 -0700)]
use success exit code when nothing to build

13 years agorefactor file reading
Evan Martin [Sat, 30 Oct 2010 20:13:06 +0000 (13:13 -0700)]
refactor file reading

13 years agoparse subfile; pass subninja test
Evan Martin [Sat, 30 Oct 2010 20:04:29 +0000 (13:04 -0700)]
parse subfile; pass subninja test

13 years agouse new interface for loading subfiles
Evan Martin [Sat, 30 Oct 2010 20:01:44 +0000 (13:01 -0700)]
use new interface for loading subfiles

13 years agopass disk interface to parser
Evan Martin [Sat, 30 Oct 2010 19:51:05 +0000 (12:51 -0700)]
pass disk interface to parser

13 years agofailing test for loading subninja
Evan Martin [Sat, 30 Oct 2010 19:49:23 +0000 (12:49 -0700)]
failing test for loading subninja

13 years agomake DiskInterface pure virtual
Evan Martin [Sat, 30 Oct 2010 19:43:23 +0000 (12:43 -0700)]
make DiskInterface pure virtual

13 years agoexit code was backwards
Evan Martin [Sat, 30 Oct 2010 19:42:51 +0000 (12:42 -0700)]
exit code was backwards

13 years agouse a fixture for parser tests
Evan Martin [Sat, 30 Oct 2010 19:36:21 +0000 (12:36 -0700)]
use a fixture for parser tests

13 years agotodo update
Evan Martin [Sat, 30 Oct 2010 05:45:48 +0000 (22:45 -0700)]
todo update

13 years agoextra print
Evan Martin [Sat, 30 Oct 2010 05:37:07 +0000 (22:37 -0700)]
extra print

13 years agofactor tests into files
Evan Martin [Sat, 30 Oct 2010 05:01:17 +0000 (22:01 -0700)]
factor tests into files

13 years agofactor into multiple files
Evan Martin [Sat, 30 Oct 2010 04:55:12 +0000 (21:55 -0700)]
factor into multiple files

13 years agotest actual disk interaction code, too
Evan Martin [Sat, 30 Oct 2010 04:23:05 +0000 (21:23 -0700)]
test actual disk interaction code, too

13 years agotrack implicit deps separately so they don't add to command line
Evan Martin [Thu, 28 Oct 2010 16:40:54 +0000 (09:40 -0700)]
track implicit deps separately so they don't add to command line

13 years agopass depfile errors up
Evan Martin [Wed, 27 Oct 2010 04:43:43 +0000 (21:43 -0700)]
pass depfile errors up

13 years agoloading depfiles
Evan Martin [Wed, 27 Oct 2010 04:38:45 +0000 (21:38 -0700)]
loading depfiles

13 years agopass State to RecomputeDirty
Evan Martin [Tue, 26 Oct 2010 16:03:58 +0000 (09:03 -0700)]
pass State to RecomputeDirty

13 years agobasic untested depfile loader
Evan Martin [Tue, 26 Oct 2010 04:30:20 +0000 (21:30 -0700)]
basic untested depfile loader

13 years agorefactor
Evan Martin [Tue, 26 Oct 2010 04:17:16 +0000 (21:17 -0700)]
refactor

13 years agobasic makefile parser
Evan Martin [Sun, 24 Oct 2010 20:42:58 +0000 (13:42 -0700)]
basic makefile parser

13 years agorename parser to tokenizer
Evan Martin [Sun, 24 Oct 2010 20:28:41 +0000 (13:28 -0700)]
rename parser to tokenizer

13 years agoload depfile into rule
Evan Martin [Sun, 24 Oct 2010 20:26:31 +0000 (13:26 -0700)]
load depfile into rule

13 years agorefactor rule creation
Evan Martin [Sun, 24 Oct 2010 19:48:09 +0000 (12:48 -0700)]
refactor rule creation

13 years agosupport comments
Evan Martin [Sun, 24 Oct 2010 19:29:26 +0000 (12:29 -0700)]
support comments

13 years agohandle unexpected tokens
Evan Martin [Sun, 24 Oct 2010 19:25:03 +0000 (12:25 -0700)]
handle unexpected tokens

13 years agorequire command= line in rule
Evan Martin [Sun, 24 Oct 2010 18:55:25 +0000 (11:55 -0700)]
require command= line in rule

13 years agoremove command keyword, convert to variable binding
Evan Martin [Sun, 24 Oct 2010 18:51:20 +0000 (11:51 -0700)]
remove command keyword, convert to variable binding

13 years agosyntax change, part 1: commands are indented
Evan Martin [Sun, 24 Oct 2010 16:02:52 +0000 (09:02 -0700)]
syntax change, part 1: commands are indented

13 years agorewrite parser to tokenize
Evan Martin [Sun, 24 Oct 2010 05:14:23 +0000 (22:14 -0700)]
rewrite parser to tokenize

13 years agofirst pass at docs
Evan Martin [Sun, 24 Oct 2010 03:58:21 +0000 (20:58 -0700)]
first pass at docs

13 years agoautomatically create build directories
Evan Martin [Sun, 24 Oct 2010 02:57:36 +0000 (19:57 -0700)]
automatically create build directories

13 years agorename StatHelper to DiskInterface
Evan Martin [Sun, 24 Oct 2010 02:32:00 +0000 (19:32 -0700)]
rename StatHelper to DiskInterface

13 years agobuilddir
Evan Martin [Sun, 24 Oct 2010 02:28:42 +0000 (19:28 -0700)]
builddir

13 years agomore todo
Evan Martin [Sun, 24 Oct 2010 00:32:19 +0000 (17:32 -0700)]
more todo

13 years agoremove extra printout
Evan Martin [Sun, 24 Oct 2010 00:30:55 +0000 (17:30 -0700)]
remove extra printout

13 years agotodo file
Evan Martin [Sat, 23 Oct 2010 23:40:22 +0000 (16:40 -0700)]
todo file

13 years agogitignore .o files
Evan Martin [Sat, 23 Oct 2010 21:16:37 +0000 (14:16 -0700)]
gitignore .o files

13 years agoconsider file existence for dirtiness
Evan Martin [Sat, 23 Oct 2010 21:15:35 +0000 (14:15 -0700)]
consider file existence for dirtiness

13 years agofix main driver to new api
Evan Martin [Sat, 23 Oct 2010 20:23:34 +0000 (13:23 -0700)]
fix main driver to new api

13 years agofail on unknown targets
Evan Martin [Sat, 23 Oct 2010 20:21:59 +0000 (13:21 -0700)]
fail on unknown targets

13 years agoallow file nodes to be dirty, representing missing file
Evan Martin [Sat, 23 Oct 2010 20:10:16 +0000 (13:10 -0700)]
allow file nodes to be dirty, representing missing file

13 years agoallow underscores in variable names
Evan Martin [Fri, 22 Oct 2010 16:58:42 +0000 (09:58 -0700)]
allow underscores in variable names

13 years agodon't crash on missing rules
Evan Martin [Fri, 22 Oct 2010 16:53:49 +0000 (09:53 -0700)]
don't crash on missing rules

13 years agocontinuations in parsetoken too
Evan Martin [Fri, 22 Oct 2010 16:48:35 +0000 (09:48 -0700)]
continuations in parsetoken too

13 years agosupport continuation lines
Evan Martin [Fri, 22 Oct 2010 16:28:22 +0000 (09:28 -0700)]
support continuation lines

13 years agodrop let from syntax; rely on = instead
Evan Martin [Fri, 22 Oct 2010 03:17:49 +0000 (20:17 -0700)]
drop let from syntax; rely on = instead

13 years agogetopt for input file
Evan Martin [Thu, 21 Oct 2010 15:16:07 +0000 (08:16 -0700)]
getopt for input file

13 years agoadd one more dirty check
Evan Martin [Thu, 21 Oct 2010 05:59:40 +0000 (22:59 -0700)]
add one more dirty check

13 years agoattempt to flush out a bug with a test, fail
Evan Martin [Thu, 21 Oct 2010 05:51:37 +0000 (22:51 -0700)]
attempt to flush out a bug with a test, fail

13 years agoimprove stat cache dump
Evan Martin [Thu, 21 Oct 2010 04:49:31 +0000 (21:49 -0700)]
improve stat cache dump

13 years agosync ninja to new apis
Evan Martin [Thu, 21 Oct 2010 04:45:29 +0000 (21:45 -0700)]
sync ninja to new apis

13 years agomore stat tests
Evan Martin [Thu, 21 Oct 2010 04:34:48 +0000 (21:34 -0700)]
more stat tests

13 years agofirst stat test
Evan Martin [Thu, 21 Oct 2010 04:29:16 +0000 (21:29 -0700)]
first stat test

13 years agomore refactoring
Evan Martin [Thu, 21 Oct 2010 04:18:01 +0000 (21:18 -0700)]
more refactoring

13 years agorefactor tests that load input file
Evan Martin [Thu, 21 Oct 2010 04:13:50 +0000 (21:13 -0700)]
refactor tests that load input file

13 years agochain test works
Evan Martin [Thu, 21 Oct 2010 03:48:51 +0000 (20:48 -0700)]
chain test works

13 years agoetags
Evan Martin [Thu, 21 Oct 2010 03:48:35 +0000 (20:48 -0700)]
etags

13 years agosketch out how recursive stats should work
Evan Martin [Thu, 21 Oct 2010 03:40:58 +0000 (20:40 -0700)]
sketch out how recursive stats should work