summaryrefslogtreecommitdiff
path: root/src/string.hh
AgeCommit message (Collapse)Author
2016-06-19Add a String::resize methodMaxime Coste
2016-04-27Make use of strongly typed number to size_t conversionMaxime Coste
2016-02-13Do not allow / in highlighter names as it is used for hierachiesMaxime Coste
/ are replaced with <slash> in the highlighter names. Fixes #553
2016-02-10Use a custom SSO aware string backendMaxime Coste
2016-02-05More string usage cleanupMaxime Coste
2016-02-04String usage cleanupsMaxime Coste
2015-11-25Add a static const String::ms_empty empty stringMaxime Coste
2015-11-11Remove unneeded conversionMaxime Coste
2015-09-24Add Haiku support.Filip Szczepański
2015-09-19Add simple markup support to generate display lines from stringsMaxime Coste
The syntax is simply {face} to enable the given face, use \{ to escape a {, and \\ to escape a \.
2015-08-18Smaller sizeof for in place stringsMaxime Coste
2015-07-14Add missing support for Codepoint in formatMaxime Coste
2015-06-22Add support for hex formattingMaxime Coste
2015-06-01Port more code to use the format function instead of adhoc string concatMaxime Coste
2015-05-29Return a String in Backtrace::descMaxime Coste
2015-05-26Retreat ! go back to C++11 only codeMaxime Coste
This reverts commit b42de850314e7d76f873ddc7d64c5f7d2a30eb00.
2015-05-25Migrate code to c++14Maxime 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-04-07Always optimize StringView::strlen (recursive due to constexpr)Maxime Coste
2015-03-31number to string conversion avoids memory allocationsMaxime Coste
2015-03-30Add a format function for printf like formattingMaxime Coste
2015-03-30Always go through StringView to compare stringsMaxime Coste
That avoids creating temporary String needlessly
2015-03-30Fix wrong implicit conversions from int/Codepoint to StringViewMaxime Coste
2015-03-12Fix compilation on clangMaxime Coste
2015-03-11String tweaksMaxime 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-17simplify echo code, avoid trailing spacesMaxime Coste
2015-01-13Add size_t and float to_string overload, and _sv UDLMaxime Coste
2015-01-09Track String memory allocationsMaxime Coste
2014-12-28Add a join function for joining strings using a specific charMaxime Coste
2014-12-23Remove trailing blank linesMaxime 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-09Force inline StringView::{begin,end}Maxime Coste
2014-12-08More string cleanupsMaxime Coste
2014-12-08cleanup in string.hhMaxime Coste
2014-11-20Change wrap_lines to return StringViews, move it to string.ccMaxime Coste
2014-11-17Import std::begin/std::end so that container utils work correctly with non ↵Maxime Coste
std containers
2014-11-12Cleanup includesMaxime 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-17Always inline a few more methodsMaxime Coste
2014-08-11Add an operator[](CharCount) to String and StringViewMaxime Coste
2014-08-03Use more StringView in string helper functionsMaxime Coste
2014-05-11String::substr now returns a StringViewMaxime Coste
2014-04-30Fix clang compilationMaxime Coste