summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #785 from nico/unusedNico Weber2014-06-251-1/+5
|\ | | | | Fix -Wunused-result warning for chdir on linux.
| * Fix -Wunused-result warning for chdir on linux.Nico Weber2014-06-251-1/+5
| |
* | do not delete files from the logs that still exist on diskNico Weber2014-06-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | This is to keep the possibility of maybe having a tool that deletes old files in the future, or for having a tool which exposes this information to generators so they can do that. See https://github.com/martine/ninja/pull/697#issuecomment-37140762 and the discussion on #762. Idea from @maximuska!
* | make Stat() a const methodNico Weber2014-06-195-11/+11
|/
* use local definition of FindExInfoBasic for earlier sdksScott Graham2014-06-191-1/+4
|
* suppress warning on win8.1 sdkScott Graham2014-06-161-0/+3
|
* simplify statcache code moreNico Weber2014-06-162-18/+8
|
* only use FindExInfoBasic on win7+Nico Weber2014-06-161-2/+13
|
* s/hFind/find_handle/Nico Weber2014-06-151-5/+5
|
* add missing _WIN32 checksNico Weber2014-06-151-0/+2
|
* make bool exist everywhere, for simpler calling codeNico Weber2014-06-152-3/+1
|
* add some statcache testsNico Weber2014-06-154-8/+43
|
* Free cache memory once it's no longer used.Nico Weber2014-06-153-8/+23
| | | | | Doesn't slow down empty build times measurably, and saves some memory on non-empty builds.
* error checkingNico Weber2014-06-151-8/+11
|
* on by defaultNico Weber2014-06-152-5/+5
|
* commentNico Weber2014-06-151-1/+7
|
* make win-onlyNico Weber2014-06-152-0/+6
|
* simplify more, move behind flagNico Weber2014-06-154-7/+18
|
* more minor cleanupsNico Weber2014-06-151-10/+6
|
* more minor cleanupsNico Weber2014-06-151-20/+7
|
* minor cleanupsNico Weber2014-06-151-56/+40
|
* Turn on stat cache. Empty builds of chrome on my laptop 4s -> 1.3s (!)Nico Weber2014-06-151-1/+1
|
* Add a stat cache. Demo-quality, and disabled atm.Nico Weber2014-06-153-20/+114
|
* spellcheck "keeprsp" in -d optionsNico Weber2014-06-151-1/+1
|
* Allow + in filenames without escapingNico Weber2014-05-302-2/+3
| | | | | | Due to #690, file.c++ used to be escaped. + seems as safe as -, so allow it to not be escaped, to keep compile command lines with a fairly common extension slightly cleaner.
* Make "depfile=$out.d" work if $out contains escaped characters, rspfile too.Nico Weber2014-05-216-30/+94
| | | | | | | | | | | | | | Fixes #730. This has always been broken, but due to #690 more paths are now escaped (e.g. paths containing + characters, like file.c++). Also see discussion in #689. The approach is to give EdgeEnv an enum deciding on whether or not to escape file names, and provide functions that evaluate depfile and rspfile with that set that to kNoEscape. (depfile=$out.d doesn't make sense on edges with multiple outputs.) This should be relatively safe, as $in and $out can't be used on edges, only on rules (#687).
* CleanTest cleanups:Nico Weber2014-05-211-6/+2
| | | | | * $in only makes sense on rules, not edges (see issue #687) * Remove unneccesary clear() line at end of test
* Merge pull request #764 from nico/winconsoleNico Weber2014-05-185-22/+25
|\ | | | | Implement pool=console support on Windows.
| * win console wip: Fix comments based on review feedback.Nico Weber2014-05-182-2/+2
| |
| * win console wip: resolve FIXMENico Weber2014-05-142-1/+2
| |
| * win console wip: ctrl-c should reach commands running in console poolsNico Weber2014-05-131-1/+4
| |
| * win console wip: enable testNico Weber2014-05-131-4/+2
| |
| * wip for console pool on windowsNico Weber2014-05-134-17/+18
| |
* | Allow paths with '{' '}' in depfilesMaxim Kalaev2014-05-073-6/+10
| |
* | compdb: check that inputs is not emptyBen Boeckel2014-05-051-0/+2
| |
* | Accept \r\n line endings in depfiles.Nico Weber2014-05-013-8/+21
|/ | | | Fixes #752.
* Make manifest_parser_perftest build on Windows.Nico Weber2014-04-271-1/+3
|
* Merge pull request #714 from pcc/console-poolNico Weber2014-04-1713-43/+196
|\ | | | | Introduce the "console" pool
| * Introduce the "console" poolPeter Collingbourne2014-02-0313-43/+196
| | | | | | | | | | | | | | This is a pre-defined pool with a depth of 1. It has the special property that any task in the pool has direct access to the console. This can be useful for interactive tasks or long-running tasks which produce status updates on the console (such as test suites).
* | Merge pull request #715 from nico/lazyenvNico Weber2014-04-171-4/+5
|\ \ | | | | | | Allocate per-edge BindingEnvs lazily.
| * | Allocate per-edge BindingEnvs lazily.Nico Weber2014-02-111-4/+5
| |/ | | | | | | | | | | | | In chrome, only 2000 of 22000 build edges have bindings. A BindingEnv is 64 bytes, so allocating these only when needed saves a bit over 1 MB of memory. Since env chains are shorter for lookups, builds also become a tiny bit faster.
* | Manifest perftest: Try to make it build on Linux.Nico Weber2014-04-171-0/+1
| |
* | Manifest perftest: Pull manifest parsing into own function.Nico Weber2014-04-171-17/+20
| |
* | Manifest perftest: Also measure command evaluation time.Nico Weber2014-04-171-5/+31
| |
* | Add a simple manifest parsing perftest.Nico Weber2014-04-171-0/+82
| |
* | Rename parser_perftest to depfile_parser_perftest.Nico Weber2014-04-161-0/+0
| |
* | CLParser shouldn't read stderrScott Graham2014-04-142-1/+8
| |
* | Merge pull request #699 from mostynb/avoid_useless_mkdir_failureNico Weber2014-04-071-0/+3
|\ \ | | | | | | don't Fail if trying to mkdir when the dir already exists
| * | don't Fail if trying to mkdir when the dir already existsMostyn Bramley-Moore2014-01-071-0/+3
| | |
* | | Support both slashes on Windows when making output dirsScott Graham2014-04-032-6/+20
| |/ |/|