aboutsummaryrefslogtreecommitdiff
path: root/strutil.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add --color_warnings to make warnings/errors like clangDan Willemsen2017-02-221-0/+7
| | | | | | | | | | This adds new (WARN|KATI_WARN|ERROR)_LOC log macro variants that take a location as the first argument, and will prefix that location information to the warning/error lines. When --color_warnings is enabled, it reformats them to have a standard warning:/error: infix, and adds colors in order to match the warnings/errors produced by clang.
* Fix some possible performance issues found by clang-tidyDan Willemsen2016-11-011-1/+1
| | | | | No obvious time differences when building AOSP, but these all seem like reasonable changes.
* Fix unused parameter warning for !SSE4.2Dan Willemsen2016-09-191-1/+1
| | | | Change-Id: I7099c92120dde0d985bc9d19fe0b2573027e5d79
* [C++] Remove code only for non-SSE environmentShinichiro Hamaji2016-06-301-51/+0
| | | | Now SkipUntil works both with and without SSE.
* [C++] Do not use STTNI when string length is <16Shinichiro Hamaji2016-06-301-15/+31
|
* [C++] Fix strutil_test for non-SSE buildShinichiro Hamaji2016-06-301-1/+3
|
* [C++] Honor string length in FindEndOfLineShinichiro Hamaji2016-02-291-0/+4
| | | | | When the character after the string is a backslash, FindOfLine returned a wrong length.
* [C++] Finish FindEndOfLine at NULL characeterShinichiro Hamaji2016-02-291-2/+4
|
* [C++] Fix comment_in_command.mkShinichiro Hamaji2016-02-221-3/+3
| | | | Newline characters were escaped for some reason.
* [C++] EscapeShell in SSE4.2Shinichiro Hamaji2016-02-221-0/+27
|
* [C++] Handle multi-word SHELL in $(shell)Shinichiro Hamaji2016-02-181-0/+30
|
* [C++] Use SSE 4.2 in FindEndOfLineShinichiro Hamaji2016-02-171-0/+25
|
* [C++] Skip the first isSpace in WordScannerShinichiro Hamaji2016-02-121-3/+3
|
* [C++] Optimize WordScanner with SSE4.2Shinichiro Hamaji2016-02-031-0/+31
| | | | | before: 0.668325s after: 0.260734s
* [C++] Make WordScanner faster by not using isspaceShinichiro Hamaji2016-02-021-6/+10
| | | | | | | | It seems this makes strutil_bench much faster probably due to the cost of function calls: before: 1.178698s after: 0.668325s
* [C++] Fix NormalizePath("../../foo")Shinichiro Hamaji2015-10-131-0/+6
|
* [C++] Correct the implementation of $*Shinichiro Hamaji2015-09-111-0/+7
|
* [C++] Fix newlines in $(info/warning/error)Dan Willemsen2015-08-251-0/+21
| | | | Change-Id: Ia20a1ef563a6871ed843b9388fe27e87b8bd7020
* [C++] Improve NormalizePathShinichiro Hamaji2015-08-111-7/+17
| | | | | So now NormalizePath("../foo") will be "../foo" and "/../foo" will be "/foo".
* [C++] Re-run commands only when certain directories are updatedShinichiro Hamaji2015-08-061-0/+11
|
* [C++] Re-generate ninja file when a file is added/removedShinichiro Hamaji2015-08-041-0/+31
| | | | | | | | | With this change, we store the results of file list related commands in .kati_stamp. If one of them has been changed, we re-generate ninja file. Currently, this check is slow. We need to check the timestamp of directories first like what we are doing for $(wildcard).
* [C++] Fix err_semicolon_in_output.mkShinichiro Hamaji2015-07-051-0/+6
|
* [C++] Remove STRING_PIECE macroShinichiro Hamaji2015-07-031-3/+3
|
* [C++] Introduce FindEmulator to speed up find commandShinichiro Hamaji2015-07-011-20/+23
|
* [C++] Introduce SymbolShinichiro Hamaji2015-06-291-27/+0
|
* Fix $(dir /foo) for both C++ and GoShinichiro Hamaji2015-06-291-1/+1
|
* [C++] Fix abspathShinichiro Hamaji2015-06-291-5/+9
|
* Trim leading ./ when kati includes a fileShinichiro Hamaji2015-06-291-0/+6
|
* [C++] Fix backslash_before_empty_line.mkShinichiro Hamaji2015-06-261-0/+1
|
* [C++] Fix multiline_recipe.mkShinichiro Hamaji2015-06-251-0/+18
|
* [C++] Fix NoLineBreakShinichiro Hamaji2015-06-251-2/+2
|
* go gettable for github.com/google/katiFumitoshi Ukai2015-06-251-0/+2
|
* Add Apache license header to recently added filesShinichiro Hamaji2015-06-231-0/+14
|
* [C++] Improve handling of linebreaks and backslashesShinichiro Hamaji2015-06-221-4/+19
|
* [C++] Parse all kinds of rulesShinichiro Hamaji2015-06-221-1/+0
|
* [C++] Refactor pattern functions in strutilShinichiro Hamaji2015-06-191-21/+27
|
* [C++] Fix assign_in_parens.mkShinichiro Hamaji2015-06-191-2/+4
|
* [C++] Introduce FindOutsideParenShinichiro Hamaji2015-06-191-0/+38
|
* [C++] Introduce ScopedTerminatorShinichiro Hamaji2015-06-181-0/+9
|
* [C++] Implement abspathShinichiro Hamaji2015-06-181-0/+51
|
* [C++] Implement dir, notdir, suffix, and basenameShinichiro Hamaji2015-06-181-0/+32
|
* [C++] Implement sortShinichiro Hamaji2015-06-181-0/+5
|
* [C++] Implement findstring, filter, and filter-outShinichiro Hamaji2015-06-181-0/+7
|
* [C++] Replace StripXXXSpaces by TrimXXXSpaceShinichiro Hamaji2015-06-181-0/+18
|
* [C++] Implement defineShinichiro Hamaji2015-06-181-0/+12
|
* [C++] Fix WordWriter::MaybeAddWhitespaceShinichiro Hamaji2015-06-181-1/+1
|
* [C++] Implement subst and stripShinichiro Hamaji2015-06-181-1/+5
|
* [C++] Fix patsubst.mkShinichiro Hamaji2015-06-181-0/+14
|
* [C++] Fix suffix_subst_pat.mkShinichiro Hamaji2015-06-181-1/+1
|
* [C++] Fix strutil implementationsShinichiro Hamaji2015-06-181-4/+6
|