summaryrefslogtreecommitdiffstats
path: root/src/util.cc
Commit message (Expand)AuthorAgeFilesLines
* Fix ReadFile() handle leak on read error on Windows.David 'Digit' Turner2022-02-181-1/+2
* Optimize ninja -d statsBruce Dawson2021-07-261-3/+0
* Merge pull request #1979 from bradking/simplify-CanonicalizePathJan Niklas Hasse2021-06-101-9/+4
|\
| * util: Remove unnecessary CanonicalizePath error handlingBrad King2021-06-041-9/+4
* | Put Info output back on stdout instead of stderrJan Niklas Hasse2021-06-101-3/+3
|/
* Merge pull request #1899 from colincross/status_for_serializeJan Niklas Hasse2021-02-221-4/+25
|\
| * Put builder output through status interfaceColin Cross2021-02-051-4/+25
* | Add Haiku support.Augustin Cavalier2021-01-281-0/+4
* | Merge pull request #1674 from cameron314/bugfix/core-countJan Niklas Hasse2021-01-011-0/+29
|\ \ | |/ |/|
| * Added preprocessor if to clarify processor count workaround code is only need...Cameron2020-12-311-1/+2
| * Tweaks following code reviewCameron2020-06-101-4/+3
| * Style changes following code reviewCameron Desrochers2019-11-201-4/+8
| * Removed unnecessary #ifdef following code reviewCameron Desrochers2019-11-131-2/+1
| * Use symbolic constant as suggested in code reviewCameron2019-11-131-1/+1
| * Fixed processor count detection on Windows when multiple processor groups (i....Cameron Desrochers2019-11-121-0/+26
* | Add FreeBSD support to GetProcessorCountMateusz Guzik2020-11-301-1/+12
* | Add 'using namespace std;' to all cc files to prepare for removing it from he...Michael Jones2020-09-301-0/+2
|/
* Add Bionic tweak for getloadavgjoakim-noah2019-11-091-1/+1
* Ensure substring indexing never goes negativeKevin Robert Stravers2019-09-281-0/+6
* Enable build on IBM i platform (#1630)ThePrez2019-08-091-1/+5
* Make GetProcessorCount() count processors across all processor groupsJesse McKenna2019-07-121-3/+1
* Take CPU set limitations into account when calculating processor countJan Niklas Hasse2019-02-261-0/+9
* Merge pull request #1474 from mathstuf/win32-invalid-parameter-helpJan Niklas Hasse2018-11-161-2/+6
|\
| * Win32Fatal: support a "hint" for the errorBen Boeckel2018-11-091-2/+6
* | Merge pull request #1196 from danw/ReadFile_optJan Niklas Hasse2018-11-141-1/+11
|\ \
| * | Optimize ReadFile allocationsDan Willemsen2016-11-071-1/+11
* | | util: don't add ellipses width when deciding if they're necessaryBen Boeckel2018-11-091-1/+1
| |/ |/|
* | Add NINJA_FALLTHROUGH macroStefan Becker2018-04-111-1/+1
* | Fix building on Windows in UNICODE modeGergely Nagy2017-10-311-7/+2
* | Remove path component limit from input of CanonicalizePath in windowsTakuto Ikuta2017-08-301-54/+25
* | Fix for reviewTakuto Ikuta2017-05-091-1/+1
* | Merge pull request #1181 from DanielWeber/issue-1161Nico Weber2017-01-241-9/+9
|\ \
| * | Allow more path componentsDaniel Weber2016-08-221-9/+9
| |/
* | Fix build with uclibcPawel Hajdan, Jr2017-01-021-0/+7
|/
* Canonicalize "." to "."Colin Cross2015-12-161-2/+2
* Implement GetLoadAverage on AIX using libperfstatMike Seplowitz2015-08-191-0/+12
* Run more than 34 processes on Win32 if we have 32+ cores.Rui Ueyama2015-04-171-1/+1
* Merge pull request #835 from rainlabs-eu/fix-cygwin-compatibilityNico Weber2014-12-041-1/+4
|\
| * Fixed cygwin compatibility (issue #806)kwesolowski2014-10-251-1/+4
* | Merge pull request #850 from sgraham/ocdNico Weber2014-11-121-16/+19
|\ \
| * | whitespace/comment/wrap fixes, no intended functionality changeScott Graham2014-11-121-16/+19
* | | set *err when too many components in CanonicalizePathScott Graham2014-11-121-1/+3
|/ /
* | properly guard against slash_bits overflowScott Graham2014-11-121-2/+5
* | fix not respecting lengthScott Graham2014-11-111-14/+18
* | fix CanonicalizePath going past StringPiece length + testScott Graham2014-11-101-0/+2
* | initialize slash_bits on non-winScott Graham2014-11-101-0/+2
* | non-win compilationScott Graham2014-11-091-0/+10
* | fix order of args to CanonicalizePathScott Graham2014-11-091-4/+4
* | remove CanonicalizePath overloads, test for toplevel behaviourScott Graham2014-11-091-10/+0
* | fix multiple sequential slashesScott Graham2014-11-081-1/+1