Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Expose more details in FileReader::ReadFile signature | Brad King | 2016-02-03 | 1 | -3/+12 |
| | | | | | | Return a status so callers can distinguish a missing file from an empty file. This allows our VirtualFileSystem test infrastructure to report as missing any file for which it has no entry. | ||||
* | Factor a `FileReader` base class out of `DiskInterface` | Brad King | 2016-02-03 | 1 | -6/+10 |
| | | | | | Some clients will need only the ability to read files, so provide this as a more narrow interface than the full disk interface. | ||||
* | Let Stat() have an err outparam instead of writing to stderr. | Nico Weber | 2015-03-31 | 1 | -7/+4 |
| | | | | | | | | | Also check for Stat() failure in a few more places. This way, ninja doesn't print two "ninja: error: " lines if stat() fails during a build. It also makes it easier to keep the stat tests quiet. Every caller of Stat() needs to explicitly log the error string if that's desired. | ||||
* | make Stat() a const method | Nico Weber | 2014-06-19 | 1 | -3/+3 |
| | |||||
* | simplify statcache code more | Nico Weber | 2014-06-16 | 1 | -3/+2 |
| | |||||
* | make bool exist everywhere, for simpler calling code | Nico Weber | 2014-06-15 | 1 | -1/+1 |
| | |||||
* | add some statcache tests | Nico Weber | 2014-06-15 | 1 | -1/+3 |
| | |||||
* | Free cache memory once it's no longer used. | Nico Weber | 2014-06-15 | 1 | -1/+5 |
| | | | | | Doesn't slow down empty build times measurably, and saves some memory on non-empty builds. | ||||
* | comment | Nico Weber | 2014-06-15 | 1 | -1/+7 |
| | |||||
* | make win-only | Nico Weber | 2014-06-15 | 1 | -0/+2 |
| | |||||
* | Add a stat cache. Demo-quality, and disabled atm. | Nico Weber | 2014-06-15 | 1 | -1/+8 |
| | |||||
* | make DiskInterfaceTest.StatBadPath quiet | Evan Martin | 2013-04-19 | 1 | -0/+4 |
| | | | | | | Add a flag to temporarily suppress error output. Fixes issue #281. | ||||
* | Put & operator with the type rather than the variable name. | Thiago Farina | 2012-04-28 | 1 | -2/+2 |
| | | | | Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | Fix tabs, typos | PetrWolf | 2012-02-14 | 1 | -3/+3 |
| | |||||
* | Response files | unknown | 2012-02-09 | 1 | -0/+5 |
| | |||||
* | convert all time_t to a new TimeStamp type | Evan Martin | 2012-01-05 | 1 | -9/+12 |
| | |||||
* | Move RealDiskInterface class to disk_interface.h. | Thiago Farina | 2011-08-25 | 1 | -0/+9 |
| | | | | | | This is a TODO in src/ninja_jumble.cc Signed-off-by: Thiago Farina <tfarina@chromium.org> | ||||
* | Factor out DiskInterface class into its own source/header files. | Thiago Farina | 2011-08-10 | 1 | -0/+49 |
This is a TODO in src/ninja_jumble.cc Signed-off-by: Thiago Farina <tfarina@chromium.org> |