summaryrefslogtreecommitdiff
path: root/src/string.cc
AgeCommit message (Collapse)Author
2015-03-30Use custom implementation rather the sscanf in str_to_intMaxime Coste
2015-03-30Add a format function for printf like formattingMaxime Coste
2015-03-30Fix wrong implicit conversions from int/Codepoint to StringViewMaxime Coste
2015-03-14Allocate some data in advance in string algorithmMaxime Coste
2015-03-12Use correct %zu format string rather than castMaxime Coste
2015-03-11fix warning on 32 bit compilationMaxime Coste
2015-03-10Refactor String, use a common StringOps interface, hide std::stringMaxime Coste
2015-02-19Add docstrings to highlighters, displayed by addhl helpMaxime Coste
2015-02-10Replace some <cstring> function usage with c++ algorithmsMaxime Coste
2015-01-13Add size_t and float to_string overload, and _sv UDLMaxime Coste
2015-01-09Track String memory allocationsMaxime Coste
2015-01-08Add missing includeMaxime Coste
2014-12-23Move containers utils to containers.hh and add filtered/transformed utilsMaxime Coste
2014-12-16Rework hashing, use a more extensible framework similar to n3876 proposalMaxime Coste
std::hash specialization is a pain to work with, stop using that, and just specialize a 'size_t hash_value(const T&)' free function.
2014-12-08cleanup in string.hhMaxime Coste
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