summaryrefslogtreecommitdiffstats
path: root/src/util.cc
Commit message (Expand)AuthorAgeFilesLines
* Changed implementation to provide load from 0 to ProcessorCountkwesolowski2014-07-261-4/+6
* Fixed naming convention in GetLoadAverage support functions.kwesolowski2014-07-261-25/+25
* Improved load calculationkwesolowski2014-07-251-9/+20
* Fixes for windows CalculateProcessorLoadkwesolowski2014-07-251-1/+4
* Prepared load (-l N) support for windows.kwesolowski2014-07-251-3/+44
* Allow + in filenames without escapingNico Weber2014-05-301-0/+1
* Don’t unnecessarily escape backslashes in Win32 pathsNicholas Hutchinson2014-01-081-1/+0
* More robust escaping of $in, $out pathsNicholas Hutchinson2014-01-061-0/+104
* Simplify implementation of GetProcessorCount().Benedikt Meurer2013-09-011-22/+2
* Don't use va_start() with reference parameters, it's undefined behavior.Nico Weber2013-05-241-1/+4
* minor formatting changeNico Weber2013-05-011-3/+2
* added missing windows includePatrick von Reth2013-04-301-0/+1
* Fix Windows build more.Nico Weber2013-04-291-1/+1
* Introduce a Truncate() function that works on POSIX and Windows.Nico Weber2013-04-291-0/+20
* util.cc: Reusing windows workaround for cygwin.Paul Kunysch2013-02-091-1/+1
* fix build on non-Linux glibc systemsPino Toscano2012-12-291-2/+2
* Improved error message with more informationRichard Geary2012-11-091-1/+1
* add GetProcessorCount() implementation for SolarisAlex Caudill2012-09-071-0/+9
* Merge pull request #401 from syntheticpp/win-network-pathEvan Martin2012-08-171-0/+11
|\
| * on windows a network path starts with two backslashesPeter Kuemmel2012-08-171-0/+11
* | move Win32Fatal into utilEvan Martin2012-08-121-0/+4
* | windows: fix size_t<->int conversions in ninja.exeEvan Martin2012-08-101-3/+3
|/
* use DiskInterface to create the build directoryEvan Martin2012-08-071-12/+0
* Merge branch 'factor-elide-middle' of git://github.com/polrop/ninjaEvan Martin2012-08-011-0/+12
|\
| * Re-factor elide code and test it.Nicolas Despres2012-07-311-0/+13
* | move processor-count code to util.ccEvan Martin2012-07-281-0/+30
* | note that -l doesn't work on windowsEvan Martin2012-07-281-0/+1
* | simplify load-average codeEvan Martin2012-07-281-15/+3
|/
* rearrange minidump patch to match ninja code styleEvan Martin2012-07-271-79/+0
* Merge branch 'set_terminate' of git://github.com/gmoudry/ninja into minidumpEvan Martin2012-07-271-0/+79
|\
| * Changed #ifdef _WIN32 to #ifdef _MSC_VER to make sure that MinGW compiles hap...Jiri Moudry2012-04-261-2/+2
| * Improve handling of fatal errors on Windows, support creation of minidumpsJiri Moudry2012-03-281-0/+78
* | Merge pull request #351 from syntheticpp/rateEvan Martin2012-07-271-10/+0
|\ \
| * | print edges per secondPeter Kuemmel2012-07-151-10/+0
* | | Use lowercase consistently.Thiago Farina2012-07-201-3/+3
|/ /
* | First check for string end, then dereference. (5ms more expensive, heh.)Nico Weber2012-05-041-2/+2
* | Don't walk path components twice. Speeds up CanonicalizePath() 115ms (285ms -...Nico Weber2012-05-041-6/+2
* | Reorder a few lines, no functionality (or perf) change.Nico Weber2012-05-041-5/+4
* | Skip single '/' characters earlier in the loop. 300ms -> 285ms.Nico Weber2012-05-041-8/+11
* | Speed up CanonicalizePath() 6.8% (322ms -> 300ms for chrome empty build).Nico Weber2012-05-041-8/+9
* | Add -l N option to limit the load average.Nicolas Despres2012-04-191-0/+29
* | Fix windows build (add #include <io.h>)Qingning Huo2012-03-151-0/+1
|/
* Add a Windows version of SetCloseOnExec()Qingning Huo2012-03-131-3/+4
* don't crash when CanonicalizePath removes all path componentsEvan Martin2012-02-041-0/+5
* check access to first element of string: string could be emptyPeter Kuemmel2012-01-231-1/+4
* windows: use _WIN32 define everywhereEvan Martin2012-01-221-2/+2
* Strip ansi escape sequences from subcommand output when not writing to a smar...Nico Weber2012-01-191-0/+28
* remove string copy while loading depfilesEvan Martin2012-01-091-0/+1
* split canonicalizeEvan Martin2012-01-091-5/+12
* track canonicalize metricEvan Martin2012-01-061-0/+2