summaryrefslogtreecommitdiffstats
path: root/src/util_test.cc
Commit message (Expand)AuthorAgeFilesLines
* util: Remove unnecessary CanonicalizePath error handlingBrad King2021-06-041-79/+69
* Add 'using namespace std;' to all cc files to prepare for removing it from he...Michael Jones2020-09-301-0/+2
* Ensure substring indexing never goes negativeKevin Robert Stravers2019-09-281-0/+4
* Add unit test for #1491Jan Niklas Hasse2018-11-131-0/+2
* Remove path component limit from input of CanonicalizePath in windowsTakuto Ikuta2017-08-301-5/+25
* Use uint64_t for slash_bits consistentlyDaniel Weber2016-09-011-2/+1
* Allow more path componentsDaniel Weber2016-08-221-15/+23
* Canonicalize "." to "."Colin Cross2015-12-161-16/+16
* Merge pull request #850 from sgraham/ocdNico Weber2014-11-121-2/+2
|\
| * whitespace/comment/wrap fixes, no intended functionality changeScott Graham2014-11-121-2/+2
* | set *err when too many components in CanonicalizePathScott Graham2014-11-121-0/+4
|/
* properly guard against slash_bits overflowScott Graham2014-11-121-0/+28
* fix CanonicalizePath going past StringPiece length + testScott Graham2014-11-101-0/+10
* fix order of args to CanonicalizePathScott Graham2014-11-091-19/+19
* remove CanonicalizePath overloads, test for toplevel behaviourScott Graham2014-11-091-2/+12
* fix multiple sequential slashesScott Graham2014-11-081-0/+15
* track back->forward conversions in a bitmaskScott Graham2014-11-081-0/+72
* CanonicalizePath handles \ on WindowsScott Graham2014-10-301-0/+66
* Allow + in filenames without escapingNico Weber2014-05-301-2/+2
* Don’t unnecessarily escape backslashes in Win32 pathsNicholas Hutchinson2014-01-081-0/+8
* More robust escaping of $in, $out pathsNicholas Hutchinson2014-01-061-0/+23
* drop std:: qualifiers on more stl datatypesEvan Martin2013-04-181-1/+1
* Merge pull request #401 from syntheticpp/win-network-pathEvan Martin2012-08-171-0/+16
|\
| * on windows a network path starts with two backslashesPeter Kuemmel2012-08-171-0/+16
* | windows: fix integer truncation issues for helper binariesEvan Martin2012-08-101-3/+3
|/
* Re-factor elide code and test it.Nicolas Despres2012-07-311-0/+11
* Speed up CanonicalizePath() 6.8% (322ms -> 300ms for chrome empty build).Nico Weber2012-05-041-0/+26
* Add a test for empty path in CanonicalizePath().Nicolas Despres2012-02-201-0/+3
* don't crash when CanonicalizePath removes all path componentsEvan Martin2012-02-041-0/+17
* Strip ansi escape sequences from subcommand output when not writing to a smar...Nico Weber2012-01-191-0/+17
* make CanonicalizePath report an error on empty pathEvan Martin2011-10-061-12/+19
* semantic change: allow reaching into parent directories in pathsEvan Martin2011-08-241-25/+30
* don't mangle absolute paths in the canonicalizerEvan Martin2011-05-171-0/+8
* handle foo//bar in CanonicalizePathEvan Martin2011-04-221-0/+5
* Move CanonicalizePath into util.h so it can be shared by the other modules.Thiago Farina2011-04-151-0/+50