platform/upstream/ninja.git
14 years agoexit code was backwards
Evan Martin [Sat, 30 Oct 2010 19:42:51 +0000 (12:42 -0700)]
exit code was backwards

14 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

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

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

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

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

14 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

14 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

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

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

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

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

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

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

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

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

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

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

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

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

14 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

14 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

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

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

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

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

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

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

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

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

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

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

14 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

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

14 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

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

14 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

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

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

14 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

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

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

14 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

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

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

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

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

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

14 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

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

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

14 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

14 years agodependency inject stat() calls
Evan Martin [Wed, 20 Oct 2010 07:08:08 +0000 (00:08 -0700)]
dependency inject stat() calls

14 years agocheck in failing chain test
Evan Martin [Wed, 20 Oct 2010 07:03:09 +0000 (00:03 -0700)]
check in failing chain test

14 years agosplit out another file
Evan Martin [Wed, 20 Oct 2010 06:52:17 +0000 (23:52 -0700)]
split out another file

14 years agosome more error tests
Evan Martin [Wed, 20 Oct 2010 06:48:59 +0000 (23:48 -0700)]
some more error tests

14 years agorefactor parser, better error messages
Evan Martin [Wed, 20 Oct 2010 05:29:39 +0000 (22:29 -0700)]
refactor parser, better error messages

14 years agobasic let statement
Evan Martin [Wed, 20 Oct 2010 03:48:30 +0000 (20:48 -0700)]
basic let statement

14 years agosuccessfully build ourselves
Evan Martin [Wed, 20 Oct 2010 03:15:05 +0000 (20:15 -0700)]
successfully build ourselves

14 years agorecompute dirtiness from stats
Evan Martin [Mon, 18 Oct 2010 19:24:01 +0000 (12:24 -0700)]
recompute dirtiness from stats

14 years agoinitial sketch of stat rescan
Evan Martin [Mon, 18 Oct 2010 18:58:03 +0000 (11:58 -0700)]
initial sketch of stat rescan

14 years agowip simplistic shell implementation
Evan Martin [Mon, 18 Oct 2010 06:34:15 +0000 (23:34 -0700)]
wip simplistic shell implementation

14 years agomore test
Evan Martin [Mon, 18 Oct 2010 06:16:05 +0000 (23:16 -0700)]
more test

14 years agomulti-level build works
Evan Martin [Mon, 18 Oct 2010 02:13:07 +0000 (19:13 -0700)]
multi-level build works

14 years agoonly nodes with inputs can be dirty
Evan Martin [Mon, 18 Oct 2010 01:15:14 +0000 (18:15 -0700)]
only nodes with inputs can be dirty

14 years agowip nonworking test
Evan Martin [Sun, 17 Oct 2010 21:37:00 +0000 (14:37 -0700)]
wip nonworking test

14 years agorefactor, more tests
Evan Martin [Sun, 17 Oct 2010 17:12:46 +0000 (10:12 -0700)]
refactor, more tests

14 years agousing fixture
Evan Martin [Sun, 17 Oct 2010 17:09:14 +0000 (10:09 -0700)]
using fixture

14 years agodrop gmock, better test factoring
Evan Martin [Sun, 17 Oct 2010 17:06:51 +0000 (10:06 -0700)]
drop gmock, better test factoring

14 years agobasic gmock test
Evan Martin [Sun, 17 Oct 2010 05:17:37 +0000 (22:17 -0700)]
basic gmock test

14 years agosplit parser into separate file
Evan Martin [Sat, 16 Oct 2010 18:05:58 +0000 (11:05 -0700)]
split parser into separate file

14 years agorearrange
Evan Martin [Sat, 16 Oct 2010 18:00:51 +0000 (11:00 -0700)]
rearrange

14 years agosupport more filename chars
Evan Martin [Sat, 16 Oct 2010 17:16:30 +0000 (10:16 -0700)]
support more filename chars

14 years agoparse build line
Evan Martin [Sat, 16 Oct 2010 08:23:43 +0000 (01:23 -0700)]
parse build line

14 years agoline number
Evan Martin [Sat, 16 Oct 2010 08:02:12 +0000 (01:02 -0700)]
line number

14 years agoparse multiple rules
Evan Martin [Sat, 16 Oct 2010 01:14:28 +0000 (18:14 -0700)]
parse multiple rules

14 years agoskip trailing whitespace
Evan Martin [Sat, 16 Oct 2010 01:12:03 +0000 (18:12 -0700)]
skip trailing whitespace

14 years agoadd basic manifest parser
Evan Martin [Sat, 16 Oct 2010 01:08:10 +0000 (18:08 -0700)]
add basic manifest parser

14 years agomore test
Evan Martin [Fri, 15 Oct 2010 07:16:22 +0000 (00:16 -0700)]
more test

14 years agoevaluator generates proper command
Evan Martin [Fri, 15 Oct 2010 07:15:42 +0000 (00:15 -0700)]
evaluator generates proper command

14 years agobasic string evaluator
Evan Martin [Fri, 15 Oct 2010 07:10:49 +0000 (00:10 -0700)]
basic string evaluator

14 years agofailing command generate test
Evan Martin [Fri, 15 Oct 2010 06:45:57 +0000 (23:45 -0700)]
failing command generate test

14 years agobasic plan
Evan Martin [Fri, 15 Oct 2010 06:40:26 +0000 (23:40 -0700)]
basic plan

14 years agofix header dep
Evan Martin [Fri, 15 Oct 2010 06:40:01 +0000 (23:40 -0700)]
fix header dep

14 years agoinitialize ptr
Evan Martin [Fri, 15 Oct 2010 06:39:50 +0000 (23:39 -0700)]
initialize ptr

14 years agotrack in/out edges differently
Evan Martin [Fri, 15 Oct 2010 06:22:53 +0000 (23:22 -0700)]
track in/out edges differently

14 years agoonly build test for now
Evan Martin [Fri, 15 Oct 2010 06:21:55 +0000 (23:21 -0700)]
only build test for now

14 years agobasic dirtying
Evan Martin [Fri, 15 Oct 2010 06:01:22 +0000 (23:01 -0700)]
basic dirtying

14 years agoimport
Evan Martin [Fri, 15 Oct 2010 05:14:06 +0000 (22:14 -0700)]
import