platform/upstream/ninja.git
13 years agodon't get stuck on phony edges
Evan Martin [Sat, 8 Jan 2011 23:15:55 +0000 (15:15 -0800)]
don't get stuck on phony edges

13 years agodon't track timing for phony edges
Evan Martin [Sat, 8 Jan 2011 23:15:44 +0000 (15:15 -0800)]
don't track timing for phony edges

13 years agocompute edge timing
Evan Martin [Sat, 8 Jan 2011 23:13:07 +0000 (15:13 -0800)]
compute edge timing

13 years agotodo update
Evan Martin [Sat, 8 Jan 2011 22:46:54 +0000 (14:46 -0800)]
todo update

13 years agoremove ResetDirty
Evan Martin [Sat, 8 Jan 2011 22:43:35 +0000 (14:43 -0800)]
remove ResetDirty

13 years agowork around mktemp warning
Evan Martin [Sat, 8 Jan 2011 19:38:58 +0000 (11:38 -0800)]
work around mktemp warning

13 years agomove towards virtual fs for build tests
Evan Martin [Sat, 8 Jan 2011 19:36:53 +0000 (11:36 -0800)]
move towards virtual fs for build tests

13 years agoremove bottom-up dirtying
Evan Martin [Sat, 8 Jan 2011 19:17:50 +0000 (11:17 -0800)]
remove bottom-up dirtying

13 years agosplit out graph into its own header
Evan Martin [Sat, 8 Jan 2011 17:44:15 +0000 (09:44 -0800)]
split out graph into its own header

13 years agomissing implicit deps are ok
Evan Martin [Sat, 8 Jan 2011 01:22:17 +0000 (17:22 -0800)]
missing implicit deps are ok

This was a very subtle bug, and the difficulty of writing a test for
it makes me think I've gone about the testing infrastructure the wrong
way.  I intend to follow this by fixing up the way tests work.

13 years agocatch ourselves when we're stuck
Evan Martin [Sat, 8 Jan 2011 00:35:47 +0000 (16:35 -0800)]
catch ourselves when we're stuck

13 years agodon't crash in tests where we don't use a log file
Evan Martin [Sat, 8 Jan 2011 00:32:38 +0000 (16:32 -0800)]
don't crash in tests where we don't use a log file

13 years agobuild log entries can be over 64kb(!)
Evan Martin [Fri, 7 Jan 2011 23:20:22 +0000 (15:20 -0800)]
build log entries can be over 64kb(!)

13 years agohide log file
Evan Martin [Fri, 7 Jan 2011 22:01:25 +0000 (14:01 -0800)]
hide log file

13 years agorebuild when command lines change
Evan Martin [Fri, 7 Jan 2011 22:00:21 +0000 (14:00 -0800)]
rebuild when command lines change

13 years agostate holds build log, not config
Evan Martin [Fri, 7 Jan 2011 21:58:28 +0000 (13:58 -0800)]
state holds build log, not config

13 years agolater entry in build log should overwrite earlier one
Evan Martin [Fri, 7 Jan 2011 21:54:52 +0000 (13:54 -0800)]
later entry in build log should overwrite earlier one

13 years agoreread previous log on startup
Evan Martin [Fri, 7 Jan 2011 19:51:24 +0000 (11:51 -0800)]
reread previous log on startup

13 years agodisable deprecation warnings in bootstrap
Evan Martin [Sun, 26 Dec 2010 20:49:35 +0000 (12:49 -0800)]
disable deprecation warnings in bootstrap

13 years agomove buildlog to main driver
Evan Martin [Sun, 26 Dec 2010 20:46:59 +0000 (12:46 -0800)]
move buildlog to main driver

13 years agohook up build log
Evan Martin [Sun, 26 Dec 2010 20:31:12 +0000 (12:31 -0800)]
hook up build log

13 years agorename BuildStatusLog
Evan Martin [Thu, 23 Dec 2010 19:25:18 +0000 (11:25 -0800)]
rename BuildStatusLog

13 years agoadd a class for logging builds (commands + timing)
Evan Martin [Thu, 16 Dec 2010 19:52:24 +0000 (11:52 -0800)]
add a class for logging builds (commands + timing)

13 years agodoc updates
Evan Martin [Wed, 22 Dec 2010 07:09:46 +0000 (23:09 -0800)]
doc updates

13 years agoaggressively eval variables in build blocks
Evan Martin [Tue, 21 Dec 2010 00:13:34 +0000 (16:13 -0800)]
aggressively eval variables in build blocks

13 years agoimmediately evaluate variables in top-level bindings
Evan Martin [Mon, 20 Dec 2010 00:19:34 +0000 (16:19 -0800)]
immediately evaluate variables in top-level bindings

13 years agomore gyp updates
Evan Martin [Tue, 21 Dec 2010 00:01:47 +0000 (16:01 -0800)]
more gyp updates

13 years agoMerge branch 'master' of neugierig.org:projects/git/ninja
Evan Martin [Mon, 20 Dec 2010 19:12:21 +0000 (11:12 -0800)]
Merge branch 'master' of neugierig.org:projects/git/ninja

Conflicts:
src/parsers.cc
src/parsers_test.cc

13 years agofix plan edge count computation
Evan Martin [Mon, 20 Dec 2010 00:42:28 +0000 (16:42 -0800)]
fix plan edge count computation

13 years agoinitialize pointer
Evan Martin [Mon, 20 Dec 2010 00:35:28 +0000 (16:35 -0800)]
initialize pointer

13 years agoupdate gyp patch post-builddir-removal
Evan Martin [Mon, 20 Dec 2010 00:04:58 +0000 (16:04 -0800)]
update gyp patch post-builddir-removal

13 years agorestore gyp root hack
Evan Martin [Mon, 20 Dec 2010 00:03:55 +0000 (16:03 -0800)]
restore gyp root hack

13 years agoallow one-letter variable names
Evan Martin [Sun, 19 Dec 2010 23:22:22 +0000 (15:22 -0800)]
allow one-letter variable names

13 years agodisable c++ deprecation warnings
Evan Martin [Sun, 19 Dec 2010 23:19:54 +0000 (15:19 -0800)]
disable c++ deprecation warnings

13 years agoMerge remote branch 'origin/master'
Evan Martin [Sun, 19 Dec 2010 23:03:23 +0000 (15:03 -0800)]
Merge remote branch 'origin/master'

13 years agoremove special builddir
Evan Martin [Sun, 19 Dec 2010 23:02:22 +0000 (15:02 -0800)]
remove special builddir

13 years agoremove @ from build.ninja
Evan Martin [Sun, 19 Dec 2010 22:56:29 +0000 (14:56 -0800)]
remove @ from build.ninja

13 years agoexpand variables in build paths
Evan Martin [Sun, 19 Dec 2010 22:53:38 +0000 (14:53 -0800)]
expand variables in build paths

13 years agosuppress hash_map deprecation warning
Evan Martin [Fri, 17 Dec 2010 23:36:49 +0000 (15:36 -0800)]
suppress hash_map deprecation warning

13 years agohack: don't eat @ within arguments
Evan Martin [Fri, 17 Dec 2010 23:36:16 +0000 (15:36 -0800)]
hack: don't eat @ within arguments

13 years agosimplify token representation, speeding up parse
Evan Martin [Fri, 17 Dec 2010 23:21:13 +0000 (15:21 -0800)]
simplify token representation, speeding up parse

13 years agouse hash_map for paths; much faster builds
Evan Martin [Fri, 17 Dec 2010 23:00:47 +0000 (15:00 -0800)]
use hash_map for paths; much faster builds

13 years agomore gyp work
Evan Martin [Fri, 17 Dec 2010 22:07:48 +0000 (14:07 -0800)]
more gyp work

13 years agodoc updates
Evan Martin [Thu, 16 Dec 2010 19:56:43 +0000 (11:56 -0800)]
doc updates

13 years agoverbosity tristate
Evan Martin [Tue, 14 Dec 2010 16:37:48 +0000 (08:37 -0800)]
verbosity tristate

13 years agouse separate config object
Evan Martin [Mon, 13 Dec 2010 20:16:55 +0000 (12:16 -0800)]
use separate config object

13 years agodry run flag
Evan Martin [Mon, 13 Dec 2010 16:36:57 +0000 (08:36 -0800)]
dry run flag

13 years agotodo updates
Evan Martin [Mon, 13 Dec 2010 16:30:38 +0000 (08:30 -0800)]
todo updates

13 years agotodo updates
Evan Martin [Mon, 13 Dec 2010 16:26:33 +0000 (08:26 -0800)]
todo updates

13 years agofix bootstrap
Evan Martin [Tue, 7 Dec 2010 17:21:32 +0000 (09:21 -0800)]
fix bootstrap

13 years agogyp update
Evan Martin [Tue, 7 Dec 2010 17:21:23 +0000 (09:21 -0800)]
gyp update

13 years agoverbose mode
Evan Martin [Tue, 7 Dec 2010 03:37:26 +0000 (19:37 -0800)]
verbose mode

13 years agofactor out build logging
Evan Martin [Mon, 6 Dec 2010 17:52:39 +0000 (09:52 -0800)]
factor out build logging

13 years agocheck off todo item
Evan Martin [Mon, 6 Dec 2010 17:34:43 +0000 (09:34 -0800)]
check off todo item

13 years agorename docs
Evan Martin [Sun, 5 Dec 2010 00:14:48 +0000 (16:14 -0800)]
rename docs

13 years agouse "all" rule in graph
Evan Martin [Sun, 5 Dec 2010 00:11:41 +0000 (16:11 -0800)]
use "all" rule in graph

13 years agomove src into subdir
Evan Martin [Sun, 5 Dec 2010 00:09:50 +0000 (16:09 -0800)]
move src into subdir

13 years agodon't fail on missing implicit deps
Evan Martin [Sat, 4 Dec 2010 23:15:39 +0000 (15:15 -0800)]
don't fail on missing implicit deps

13 years agoshow referencing node in 'file missing' message
Evan Martin [Sat, 4 Dec 2010 23:06:27 +0000 (15:06 -0800)]
show referencing node in 'file missing' message

13 years agoquick hack to show progress; needs fleshing out
Evan Martin [Sat, 4 Dec 2010 22:54:26 +0000 (14:54 -0800)]
quick hack to show progress; needs fleshing out

13 years agoemacs mode
Evan Martin [Sat, 4 Dec 2010 20:41:38 +0000 (12:41 -0800)]
emacs mode

13 years agoupdate, builds test_shell_tests
Evan Martin [Sat, 4 Dec 2010 03:55:48 +0000 (19:55 -0800)]
update, builds test_shell_tests

13 years agocleanup cycle checking
Evan Martin [Sat, 4 Dec 2010 03:01:18 +0000 (19:01 -0800)]
cleanup cycle checking

13 years agodetect dependency cycles
Evan Martin [Thu, 2 Dec 2010 16:31:51 +0000 (08:31 -0800)]
detect dependency cycles

13 years agoup concurrency
Evan Martin [Thu, 2 Dec 2010 16:31:39 +0000 (08:31 -0800)]
up concurrency

13 years agodon't leak fds
Evan Martin [Wed, 1 Dec 2010 20:37:32 +0000 (12:37 -0800)]
don't leak fds

13 years agobetter file descriptor hygiene
Evan Martin [Wed, 1 Dec 2010 17:58:23 +0000 (09:58 -0800)]
better file descriptor hygiene

Chrome build running flex got hung in a fd write.
Started cleaning up this code to make it easier to analyze,
found that doing so fixed the build anyway.

13 years agotodo update
Evan Martin [Wed, 1 Dec 2010 00:48:16 +0000 (16:48 -0800)]
todo update

13 years agogyp: solink line
Evan Martin [Wed, 1 Dec 2010 00:32:28 +0000 (16:32 -0800)]
gyp: solink line

13 years agoprint descriptions if available
Evan Martin [Wed, 1 Dec 2010 00:32:16 +0000 (16:32 -0800)]
print descriptions if available

13 years agoupdate gyp patch, now builds net_unittests
Evan Martin [Wed, 1 Dec 2010 00:19:32 +0000 (16:19 -0800)]
update gyp patch, now builds net_unittests

13 years agodon't wait for subprocs when none running
Evan Martin [Wed, 1 Dec 2010 00:19:02 +0000 (16:19 -0800)]
don't wait for subprocs when none running

13 years agorefactor process exit
Evan Martin [Tue, 30 Nov 2010 19:01:39 +0000 (11:01 -0800)]
refactor process exit

13 years agobump parallelism
Evan Martin [Tue, 30 Nov 2010 18:51:25 +0000 (10:51 -0800)]
bump parallelism

13 years agomore err removal
Evan Martin [Tue, 30 Nov 2010 18:50:21 +0000 (10:50 -0800)]
more err removal

13 years agomore err removal
Evan Martin [Tue, 30 Nov 2010 18:47:13 +0000 (10:47 -0800)]
more err removal

13 years agouse Fatal() more
Evan Martin [Tue, 30 Nov 2010 18:41:35 +0000 (10:41 -0800)]
use Fatal() more

13 years agoadd backtracer
Evan Martin [Tue, 30 Nov 2010 18:38:52 +0000 (10:38 -0800)]
add backtracer

13 years agosimplify output
Evan Martin [Tue, 30 Nov 2010 18:02:00 +0000 (10:02 -0800)]
simplify output

13 years agobuild in parallel
Evan Martin [Tue, 30 Nov 2010 17:56:17 +0000 (09:56 -0800)]
build in parallel

13 years agouse async runner serially
Evan Martin [Mon, 29 Nov 2010 04:12:59 +0000 (20:12 -0800)]
use async runner serially

13 years agoremove finished subprocs from running set
Evan Martin [Mon, 29 Nov 2010 04:05:11 +0000 (20:05 -0800)]
remove finished subprocs from running set

13 years agosave subproc errors
Evan Martin [Mon, 29 Nov 2010 03:54:03 +0000 (19:54 -0800)]
save subproc errors

13 years agoupdate bootstrap
Evan Martin [Mon, 29 Nov 2010 03:21:21 +0000 (19:21 -0800)]
update bootstrap

13 years agoupdate gitignore
Evan Martin [Mon, 29 Nov 2010 03:18:43 +0000 (19:18 -0800)]
update gitignore

13 years agohacking notes
Evan Martin [Mon, 29 Nov 2010 03:18:02 +0000 (19:18 -0800)]
hacking notes

13 years agofix phony rules depending on other phony rules
Evan Martin [Mon, 29 Nov 2010 03:12:03 +0000 (19:12 -0800)]
fix phony rules depending on other phony rules

13 years agoswitch to asciidoc
Evan Martin [Mon, 29 Nov 2010 03:09:27 +0000 (19:09 -0800)]
switch to asciidoc

13 years agoadd comments
Evan Martin [Mon, 29 Nov 2010 01:46:38 +0000 (17:46 -0800)]
add comments

13 years agosubprocess code into new file
Evan Martin [Mon, 29 Nov 2010 01:36:49 +0000 (17:36 -0800)]
subprocess code into new file

13 years agorefactor
Evan Martin [Mon, 29 Nov 2010 01:27:30 +0000 (17:27 -0800)]
refactor

13 years agobuilder starting to use async runner
Evan Martin [Mon, 29 Nov 2010 00:57:12 +0000 (16:57 -0800)]
builder starting to use async runner

13 years agostart making commands async
Evan Martin [Mon, 29 Nov 2010 00:48:55 +0000 (16:48 -0800)]
start making commands async

13 years agoqueue of completed subprocesses
Evan Martin [Mon, 29 Nov 2010 00:33:47 +0000 (16:33 -0800)]
queue of completed subprocesses

13 years agorefactor test code
Evan Martin [Mon, 29 Nov 2010 00:26:58 +0000 (16:26 -0800)]
refactor test code

13 years agorefactor out state test helper
Evan Martin [Mon, 29 Nov 2010 00:23:08 +0000 (16:23 -0800)]
refactor out state test helper

13 years agodon't create dirs for phony rules
Evan Martin [Sun, 28 Nov 2010 23:36:31 +0000 (15:36 -0800)]
don't create dirs for phony rules

13 years agotest for multiple subprocesses
Evan Martin [Sun, 28 Nov 2010 23:35:25 +0000 (15:35 -0800)]
test for multiple subprocesses

13 years agosketch of subprocess manager
Evan Martin [Sun, 28 Nov 2010 23:30:04 +0000 (15:30 -0800)]
sketch of subprocess manager

13 years agotest covering missing command
Evan Martin [Tue, 23 Nov 2010 07:36:53 +0000 (23:36 -0800)]
test covering missing command