summaryrefslogtreecommitdiff
path: root/src/string.cc
AgeCommit message (Collapse)Author
2014-11-20Improve line wrapping behaviourMaxime Coste
2014-11-20Improve wrap_lines behaviour, split on punctiation as wellMaxime Coste
2014-11-20Change wrap_lines to return StringViews, move it to string.ccMaxime Coste
2014-11-04Support single char StringViewMaxime Coste
remove single char escape function overload, add unescape function
2014-10-19Add a split function that does not take an escape and returns StringViewsMaxime Coste
When an escape character is not present, split can just return sub strings of the parameter, so we can avoid duplicating the original string data.
2014-10-13Refactor regex uses, do not reference boost except in regex.hhMaxime Coste
2014-10-01Add support for interned stringsMaxime Coste
Use interned strings for Modification contents and word database. Interned strings are guaranteed not to move in memory and are reference counted.
2014-08-03Use more StringView in string helper functionsMaxime Coste
2014-06-24Rename utf8::utf8_iterator to utf8::iteratorMaxime Coste
2014-04-28Add an expand_tabs string utility functionMaxime Coste
2014-04-18Add StringView class for non owning stringMaxime 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-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
2012-10-01String and BufferIterator value_type goes back to plain charMaxime Coste
2012-08-29Fix escaped whitespace handling in command managerMaxime 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-29Add some string helpers and unit testsMaxime Coste
functions int_to_str(int) and split(const String&, Character), plus corresponding unit tests