platform/upstream/ninja.git
13 years agocanonicalize paths with // in them
Evan Martin [Sun, 14 Nov 2010 21:25:44 +0000 (13:25 -0800)]
canonicalize paths with // in them

13 years agoshorten warning
Evan Martin [Sun, 14 Nov 2010 21:10:48 +0000 (13:10 -0800)]
shorten warning

13 years agoallow backslashes through
Evan Martin [Sun, 14 Nov 2010 21:09:47 +0000 (13:09 -0800)]
allow backslashes through

13 years agochrome base_unittests builds
Evan Martin [Sun, 14 Nov 2010 20:59:29 +0000 (12:59 -0800)]
chrome base_unittests builds

13 years agodirty order-only deps shouldn't cause rebuild; no test :(
Evan Martin [Sun, 14 Nov 2010 20:44:54 +0000 (12:44 -0800)]
dirty order-only deps shouldn't cause rebuild; no test :(

13 years agocosmetic changes
Evan Martin [Sun, 14 Nov 2010 20:40:10 +0000 (12:40 -0800)]
cosmetic changes

13 years agoadd "all" target
Evan Martin [Sun, 14 Nov 2010 19:10:28 +0000 (11:10 -0800)]
add "all" target

13 years agonested file-scoped binding environments
Evan Martin [Sun, 14 Nov 2010 19:08:15 +0000 (11:08 -0800)]
nested file-scoped binding environments

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

14 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

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

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

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

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

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

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

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

14 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 :(

14 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

14 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

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

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

14 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

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

14 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

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

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

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

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

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

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

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

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

14 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

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

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

14 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

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

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

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

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