Go to file
Nat Goodspeed 025329b6a2 Add LLStringUtil::getTokens() overload handling quoted substrings.
We didn't have any tokenizer suitable for scanning something like a bash
command line. We do have a couple hacks, e.g. LLExternalEditor::tokenize() and
LLCommandLineParser::parseCommandLineString(). Both try to work around
boost::tokenizer limitations; but existing boost::tokenizer support just
doesn't address this case. Neither of the above is available as a general
scanner anyway, and parseCommandLineString() fails outright when passed "".
New getTokens() also distinguishes between "drop delimiters" (e.g. space,
return, newline) to be discarded from the token stream, versus "keep
delimiters" (e.g. "+-*/") to be returned as tokens in their own right.
There's an overload that honors escapes and a more efficient one that doesn't;
each has a convenience overload that returns the scanned string vector rather
than requiring a separate declaration.
Tweak and comment older getTokens() implementation.
Add unit tests for both old and new getTokens() implementations.
Break out StringVec and std::ostream << StringVec from
indra/llcommon/tests/listener.h to StringVec.h: that's coming in handy for a
number of different TUT test sources.
2012-02-24 15:06:44 -05:00
doc merge changes for storm-1799 2012-01-23 14:17:21 -05:00
etc
…
indra Add LLStringUtil::getTokens() overload handling quoted substrings. 2012-02-24 15:06:44 -05:00
scripts fix typo in flag for -u option 2011-10-06 16:30:32 -04:00
.hgignore Adding *.diff to ignored files. 2011-10-19 00:35:18 +01:00
.hgtags Added tag 3.2.9-start for changeset 37dd400ad721 2012-02-06 10:00:15 -05:00
BuildParams update build params for oz viewer-trial build 2011-12-19 15:25:39 -05:00
autobuild.xml Update viewer to official builds of http://hg.secondlife.com/3p-apr. 2012-02-11 06:16:39 -05:00
build.sh Re-indent teamcity service messages when scanning build logs to fix incredibuild formatting. 2011-07-20 11:48:57 -07:00