summaryrefslogtreecommitdiff
path: root/src/string.cc
AgeCommit message (Collapse)Author
2015-09-24Add Haiku support.Filip SzczepaƄski
2015-09-23Refactor utf8::iterator to be on the safe sideMaxime Coste
utf8::iterator now knows the iterator valid range, and pass it to utf8 functions.
2015-09-20Tweak string unit testsMaxime Coste
2015-09-20Fix unescape implementationMaxime Coste
2015-09-07Avoid wrapping lines with negative max widthMaxime Coste
2015-08-18Smaller sizeof for in place stringsMaxime Coste
2015-08-13More performant escape/unescapeMaxime Coste
2015-07-14Add missing support for Codepoint in formatMaxime Coste
2015-06-22Add support for hex formattingMaxime Coste
2015-06-19Fix wrong exception type in str_to_intMaxime Coste
2015-05-22Move unit test functions in next to the code they are testingMaxime Coste
2015-05-01Add str_to_int_ifp that returns an Optional<int> instead of throwingMaxime Coste
2015-04-22Add format_to allowing formating to an existing bufferMaxime Coste
2015-03-31small code tweak in formatMaxime Coste
2015-03-31number to string conversion avoids memory allocationsMaxime Coste
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