summaryrefslogtreecommitdiff
path: root/src/string.hh
AgeCommit message (Collapse)Author
2014-04-28Add an expand_tabs string utility functionMaxime Coste
2014-04-21remove unused memoryview<char> String::dataMaxime Coste
2014-04-21Add a zstr() method to StringView that returns a zero terminated string holderMaxime Coste
2014-04-20Fix StringView::substr when passed a negative lengthMaxime Coste
2014-04-18Add StringView class for non owning stringMaxime Coste
2014-04-18Remove unimplemented String::replace methodMaxime Coste
2014-04-08Minor formatting fixes (very long lines)Maxime Coste
2014-01-09Style changes, replace typedefs with usingsMaxime Coste
2013-11-14indent cleanup, correct erroneous 3 spaces indentMaxime Coste
2013-09-23add subsequence_match(str, subseq) utility functionMaxime Coste
2013-09-23Add prefix_match function and use it instead of adhoc codeMaxime Coste
2013-07-24string escaping support functionsMaxime Coste
the split function now takes an additional escape parameter and does not split on separators that have the escaper before it. An utility escape function that adds escape before separators is also added.
2013-06-19do not use std::{to_string,stoi} as they cause problems with cygwinMaxime Coste
2013-05-17revive str_to_int so that the good exception type is thrown on errorMaxime Coste
2013-05-13Use more std::* for string handlingMaxime Coste
2013-04-12remove String::replace, use boost::regex_replace directlyMaxime Coste
2013-04-09sort includes directivesMaxime Coste
2013-04-02fix String::String(Codepoint, CharCount)Maxime Coste
2013-03-29Add support for tuple Options, implement LineAndFlag using thatMaxime Coste
2013-03-29String: inherit from std::string rather than using it as a backendMaxime Coste
2013-02-27utf8::dump uses a copy of the output iterator instead of a referenceMaxime Coste
2013-02-27string: remove unneeded headersMaxime Coste
2013-02-27String: add rbegin/rend methodsMaxime Coste
2013-02-26Add a String(Codepoint, CharCount) constructorMaxime Coste
2013-02-25String: use a CharCount instead of a size_t in String(char, CharCount)Maxime Coste
2013-01-17replace char: fix unicode handlingMaxime Coste
2012-11-23small code tweakMaxime Coste
2012-11-23String: add non const front() and back() methodsMaxime Coste
2012-10-16add a _str user defined literal to create StringMaxime Coste
2012-10-11use ByteCount instead of CharCount when we are really counting bytesMaxime Coste
(that is most of the time when we are not concerned with displaying)
2012-10-09add a unicode.hh header for Codepoint related functions, ↵Maxime Coste
s/utf8::Codepoint/Codepoint/
2012-10-08get rid of CharacterMaxime Coste
2012-10-01String and BufferIterator value_type goes back to plain charMaxime Coste
2012-09-30extract is_alpha to string.hhMaxime Coste
2012-08-29Fix escaped whitespace handling in command managerMaxime Coste
2012-08-29remove regex.hh, define Regex directly in string.hhMaxime Coste
2012-08-23use a strongly typed int CharCount for character countsMaxime Coste
2012-06-27Tweak String class, and cleanup usagesMaxime Coste
remove String::clear, add operator=(String&&) add str_to_int(const String&) to replace atoi.
2012-05-30correctly implement std::hash<String>Maxime Coste
2012-05-29Add some string helpers and unit testsMaxime Coste
functions int_to_str(int) and split(const String&, Character), plus corresponding unit tests
2012-04-14Implement our own String class in preparation to encoding support.Maxime Coste
2012-04-14replace std::string references with StringMaxime Coste