platform/upstream/ninja.git
13 years agoget the number of CPUs on FreeBSD and OS X via sysctl()
Evan Martin [Mon, 28 Feb 2011 19:47:46 +0000 (11:47 -0800)]
get the number of CPUs on FreeBSD and OS X via sysctl()

From a patch from asmodai@in-nomine.org and dmitry@codingrobots.com.

13 years agobootstrap.sh: FreeBSD support
asmodai [Mon, 28 Feb 2011 19:44:33 +0000 (11:44 -0800)]
bootstrap.sh: FreeBSD support

13 years agodoc phony actions
Evan Martin [Fri, 11 Feb 2011 16:36:44 +0000 (08:36 -0800)]
doc phony actions

13 years agocheck off todo
Evan Martin [Thu, 10 Feb 2011 18:58:29 +0000 (10:58 -0800)]
check off todo

13 years agoFix various typos.
Ralph Giles [Mon, 7 Feb 2011 05:42:58 +0000 (21:42 -0800)]
Fix various typos.

13 years agoMerge branch 'master' of https://github.com/geophree/ninja
Evan Martin [Tue, 8 Feb 2011 18:34:52 +0000 (10:34 -0800)]
Merge branch 'master' of https://github.com/geophree/ninja

13 years agoMerge branch 'master' of neugierig.org:projects/git/ninja
Evan Martin [Tue, 8 Feb 2011 18:24:12 +0000 (10:24 -0800)]
Merge branch 'master' of neugierig.org:projects/git/ninja

13 years agoquick-fix gyp.patch for chrome change
Evan Martin [Tue, 8 Feb 2011 18:23:33 +0000 (10:23 -0800)]
quick-fix gyp.patch for chrome change

13 years agoMerge branch 'master' of https://github.com/martine/ninja
Evan Martin [Mon, 7 Feb 2011 19:15:29 +0000 (11:15 -0800)]
Merge branch 'master' of https://github.com/martine/ninja

13 years agoFix a typo in the manual.
Jeff Hanke [Sun, 6 Feb 2011 21:50:52 +0000 (13:50 -0800)]
Fix a typo in the manual.

13 years agoadd copyrights
Evan Martin [Sun, 6 Feb 2011 19:02:57 +0000 (11:02 -0800)]
add copyrights

13 years agoclean up bootstrap
Evan Martin [Sun, 6 Feb 2011 17:20:07 +0000 (09:20 -0800)]
clean up bootstrap

13 years agocreate builddir on start; fixes bootstrap
Evan Martin [Sun, 6 Feb 2011 17:12:39 +0000 (09:12 -0800)]
create builddir on start; fixes bootstrap

13 years agouse -f for input file, matching make
Evan Martin [Sat, 5 Feb 2011 19:38:36 +0000 (11:38 -0800)]
use -f for input file, matching make

13 years agocheck in demo file
Evan Martin [Sat, 5 Feb 2011 19:37:26 +0000 (11:37 -0800)]
check in demo file

13 years agocheck off todo item
Evan Martin [Sat, 5 Feb 2011 19:34:56 +0000 (11:34 -0800)]
check off todo item

13 years agoinclude command name when printing output, add newline
Evan Martin [Sat, 5 Feb 2011 19:32:40 +0000 (11:32 -0800)]
include command name when printing output, add newline

13 years agofancier output
Evan Martin [Sat, 5 Feb 2011 19:29:04 +0000 (11:29 -0800)]
fancier output

13 years agocleanup phony testing
Evan Martin [Sat, 5 Feb 2011 19:04:47 +0000 (11:04 -0800)]
cleanup phony testing

13 years agomore todo
Evan Martin [Fri, 4 Feb 2011 17:25:44 +0000 (09:25 -0800)]
more todo

13 years agoadd -k flag to todo
Evan Martin [Fri, 4 Feb 2011 05:37:57 +0000 (21:37 -0800)]
add -k flag to todo

13 years agouse builddir for log file
Evan Martin [Fri, 4 Feb 2011 05:36:01 +0000 (21:36 -0800)]
use builddir for log file

13 years agomore todo
Evan Martin [Fri, 4 Feb 2011 05:23:17 +0000 (21:23 -0800)]
more todo

13 years agoignore whitespace in makefiles
Evan Martin [Fri, 4 Feb 2011 00:55:25 +0000 (16:55 -0800)]
ignore whitespace in makefiles

13 years agorefactor parse error messages
Evan Martin [Fri, 4 Feb 2011 00:51:51 +0000 (16:51 -0800)]
refactor parse error messages

13 years agoinclude path when printing a makefile parse error
Evan Martin [Fri, 4 Feb 2011 00:44:30 +0000 (16:44 -0800)]
include path when printing a makefile parse error

13 years agoMerge branch 'master' of neugierig.org:projects/git/ninja
Evan Martin [Thu, 3 Feb 2011 18:40:42 +0000 (10:40 -0800)]
Merge branch 'master' of neugierig.org:projects/git/ninja

13 years agogyp updates
Evan Martin [Thu, 3 Feb 2011 18:40:32 +0000 (10:40 -0800)]
gyp updates

13 years agoadd idea to todo
Evan Martin [Tue, 1 Feb 2011 22:09:42 +0000 (14:09 -0800)]
add idea to todo

13 years agomore todo
Evan Martin [Tue, 1 Feb 2011 18:29:14 +0000 (10:29 -0800)]
more todo

13 years agoimplement parallelism flag
Evan Martin [Tue, 1 Feb 2011 18:18:16 +0000 (10:18 -0800)]
implement parallelism flag

13 years agoparallelism flag, guess based on cpuinfo
Evan Martin [Tue, 1 Feb 2011 18:14:43 +0000 (10:14 -0800)]
parallelism flag, guess based on cpuinfo

13 years agoupdate gyp patch
Evan Martin [Mon, 31 Jan 2011 19:43:19 +0000 (11:43 -0800)]
update gyp patch

13 years agomore docs
Evan Martin [Mon, 31 Jan 2011 17:29:32 +0000 (09:29 -0800)]
more docs

13 years agomention the tools in the docs
Evan Martin [Mon, 31 Jan 2011 17:20:40 +0000 (09:20 -0800)]
mention the tools in the docs

13 years agomove tools into a flag
Evan Martin [Fri, 28 Jan 2011 17:50:58 +0000 (09:50 -0800)]
move tools into a flag

13 years agominor doc updates
Evan Martin [Fri, 28 Jan 2011 17:40:44 +0000 (09:40 -0800)]
minor doc updates

13 years agodoc updates
Evan Martin [Thu, 27 Jan 2011 23:32:01 +0000 (15:32 -0800)]
doc updates

13 years agomore speed claims
Evan Martin [Wed, 26 Jan 2011 18:08:54 +0000 (10:08 -0800)]
more speed claims

13 years agoremove introductory comments from build file
Evan Martin [Wed, 26 Jan 2011 18:05:20 +0000 (10:05 -0800)]
remove introductory comments from build file

It's not intended to be human-friendly, so don't pretend.

13 years agodoc updates
Evan Martin [Wed, 26 Jan 2011 18:02:48 +0000 (10:02 -0800)]
doc updates

13 years agomark browse.py as an implicit dep
Evan Martin [Mon, 24 Jan 2011 18:15:22 +0000 (10:15 -0800)]
mark browse.py as an implicit dep

13 years agomove dry run info inside build log
Evan Martin [Sun, 23 Jan 2011 20:00:55 +0000 (12:00 -0800)]
move dry run info inside build log

13 years agopass config into build log
Evan Martin [Sun, 23 Jan 2011 19:58:01 +0000 (11:58 -0800)]
pass config into build log

13 years agorecompact log files
Evan Martin [Sun, 23 Jan 2011 19:28:38 +0000 (11:28 -0800)]
recompact log files

13 years agodoc updates
Evan Martin [Sun, 23 Jan 2011 05:58:37 +0000 (21:58 -0800)]
doc updates

13 years agoallow implicit deps
Evan Martin [Sun, 23 Jan 2011 04:51:52 +0000 (20:51 -0800)]
allow implicit deps

13 years agofancier elisp, handle "include"
Evan Martin [Sun, 23 Jan 2011 03:05:26 +0000 (19:05 -0800)]
fancier elisp, handle "include"

13 years agotodo updates
Evan Martin [Sun, 23 Jan 2011 02:55:46 +0000 (18:55 -0800)]
todo updates

13 years agorefactor main
Evan Martin [Sun, 23 Jan 2011 00:56:39 +0000 (16:56 -0800)]
refactor main

13 years agocall out ctl-c for quitting
Evan Martin [Sun, 23 Jan 2011 00:39:54 +0000 (16:39 -0800)]
call out ctl-c for quitting

13 years agoadd browser mode
Evan Martin [Sun, 23 Jan 2011 00:39:06 +0000 (16:39 -0800)]
add browser mode

13 years agoadd idea
Evan Martin [Sat, 22 Jan 2011 22:33:41 +0000 (14:33 -0800)]
add idea

13 years agoignore generated manual html
Evan Martin [Thu, 20 Jan 2011 18:47:48 +0000 (10:47 -0800)]
ignore generated manual html

13 years agoignore genned config file
Evan Martin [Thu, 20 Jan 2011 18:47:23 +0000 (10:47 -0800)]
ignore genned config file

13 years agoMerge branch 'master' of neugierig.org:projects/git/ninja
Evan Martin [Thu, 20 Jan 2011 17:00:48 +0000 (09:00 -0800)]
Merge branch 'master' of neugierig.org:projects/git/ninja

13 years agosplit some of jumble out
Evan Martin [Wed, 19 Jan 2011 05:12:13 +0000 (21:12 -0800)]
split some of jumble out

13 years agodon't strip debug info in debug mode
Evan Martin [Wed, 19 Jan 2011 03:32:31 +0000 (19:32 -0800)]
don't strip debug info in debug mode

13 years agoadd hacking note
Evan Martin [Wed, 19 Jan 2011 03:28:35 +0000 (19:28 -0800)]
add hacking note

13 years agoadd mode for querying dependency graph
Evan Martin [Wed, 19 Jan 2011 00:44:58 +0000 (16:44 -0800)]
add mode for querying dependency graph

13 years agomore work on gyp tests, slow going :(
Evan Martin [Sat, 15 Jan 2011 03:21:54 +0000 (19:21 -0800)]
more work on gyp tests, slow going :(

13 years agouse config file for build-time options; default to opt
Evan Martin [Sat, 15 Jan 2011 01:21:25 +0000 (17:21 -0800)]
use config file for build-time options; default to opt

13 years agoadd an include statement
Evan Martin [Sat, 15 Jan 2011 01:11:56 +0000 (17:11 -0800)]
add an include statement

13 years agoremove vestigal builddir
Evan Martin [Sat, 15 Jan 2011 01:03:54 +0000 (17:03 -0800)]
remove vestigal builddir

13 years agodoc updates
Evan Martin [Fri, 14 Jan 2011 23:41:05 +0000 (15:41 -0800)]
doc updates

13 years agocheck off todo
Evan Martin [Sun, 9 Jan 2011 18:24:48 +0000 (10:24 -0800)]
check off todo

13 years agoremove tempnam
Evan Martin [Sun, 9 Jan 2011 18:23:21 +0000 (10:23 -0800)]
remove tempnam

13 years agowork around an unused variable warning
Evan Martin [Sat, 8 Jan 2011 23:51:05 +0000 (15:51 -0800)]
work around an unused variable warning

13 years agobuild file cleanups
Evan Martin [Sat, 8 Jan 2011 23:45:56 +0000 (15:45 -0800)]
build file cleanups

13 years agoimproved emacs mode
Evan Martin [Sat, 8 Jan 2011 23:42:29 +0000 (15:42 -0800)]
improved emacs mode

13 years agotweak build flags
Evan Martin [Sat, 8 Jan 2011 23:28:12 +0000 (15:28 -0800)]
tweak build flags

13 years agodon't log commands in dry-run mode
Evan Martin [Sat, 8 Jan 2011 23:22:11 +0000 (15:22 -0800)]
don't log commands in dry-run mode

13 years agorecord edge timing
Evan Martin [Sat, 8 Jan 2011 23:20:25 +0000 (15:20 -0800)]
record edge timing

13 years agoremove needless virtuals
Evan Martin [Sat, 8 Jan 2011 23:17:33 +0000 (15:17 -0800)]
remove needless virtuals

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