summaryrefslogtreecommitdiff
path: root/src/core/wee-string.h
AgeCommit message (Collapse)Author
2021-01-02core: update copyright datesSébastien Helleu
2020-08-23api: add argument "bytes" in function string_dyn_concatSébastien Helleu
2020-05-21core: move functions string_base_encode and string_base_decode from ↵Sébastien Helleu
plugin-api.c to wee-string.c
2020-03-01core: move crypto functions to wee-crypto.c, rename API function string_hash ↵Sébastien Helleu
to crypto_hash
2020-03-01core: merge functions string_hash_binary and string_hash into a single ↵Sébastien Helleu
function string_hash
2020-02-29api: add functions string_hash_binary and string_hashSébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-10-12core: add reverse of string for screen in evaluation of expressions with ↵Sébastien Helleu
"revscr:"
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-02-27api: add function string_match_listSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-04api: add functions string_base_{encode,decode}, remove functions ↵Sébastien Helleu
string_{encode,decode}_base64
2018-11-02api: return integer in function string_encode_base16Sébastien Helleu
2018-11-02api: return integer in function string_encode_base64Sébastien Helleu
2018-11-02core: add support of TOTP generation/validation (Time-based One-Time Password)Sébastien Helleu
2018-10-09core: add repeat of string in evaluation of expressions with ↵Sébastien Helleu
"repeat:count,string" (closes #958)
2018-08-12core: fix check of tags in linesSébastien Helleu
All changes: - fix check of tags in lines: check lines without tags, fix check of tags with negation ("!tag") - add string functions string_split_tags and string_free_split_tags - add tests on function gui_line_match_tags
2018-06-02core: add reverse of string in evaluation of expressions with "rev:" (closes ↵Sébastien Helleu
#1200)
2018-01-05core: update copyright datesSébastien Helleu
2017-11-04core: add missing includes of stdio.hSébastien Helleu
2017-08-10core: remove value for first #define in headers, add "PLUGIN" in plugin headersSébastien Helleu
2017-04-24core: add a way to count the suffix length in max chars displayed in cut of ↵Sébastien Helleu
string ("cut:" and "cutscr:") (closes #963) The format to use is one of: - ${cut:+max,suffix,string} - ${cutscr:+max,suffix,string} With the "+" before max, WeeChat ensures there are at most "max" chars in output, including the length of suffix string.
2017-04-01api: return pointer to string in function string_dyn_free() if argument ↵Sébastien Helleu
"free_string" is 0
2017-03-27core: add cut of string with max chars displayed in evaluation of expressionsSébastien Helleu
The syntax is: ${cutscr:max,suffix,string}. The string is cut after max chars displayed on screen. If the string is cut, the optional suffix is added after.
2017-03-25core: add cut of string in evaluation of expressionsSébastien Helleu
The syntax is: ${cut:max,suffix,string}. The string is cut after max chars. If the string is cut, the optional suffix is added after.
2017-03-25core: add ternary operator (condition) in evaluation of expressionsSébastien Helleu
2017-03-25api: add dynamic string functions (string_dyn_*)Sébastien Helleu
New functions: - string_dyn_alloc - string_dyn_copy - string_dyn_concat - string_dyn_free
2017-01-01core: update copyright datesSébastien Helleu
2016-07-09core: rename function string_iconv_fprintf to string_fprintfSébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-08-22api: add function string_hex_dump()Sébastien Helleu
2015-07-03api: fix type of value returned by function strcasestrSébastien Helleu
2015-06-24api: add function string_eval_path_home()Sébastien Helleu
2015-04-11core: add options weechat.look.word_chars_{highlight|input} (closes #55, ↵Sébastien Helleu
task #9459)
2015-01-01core: update copyright datesSébastien Helleu
2014-07-29tests: add tests of function string_is_word_charSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-13api: add callback in function string_replace_regexSebastien Helleu
2014-02-09core: improve the string_replace_regex function (add reference char, change ↵Sebastien Helleu
syntax for match refs) The reference char is now an argument for the function. The references are now $0 .. $99 and $+ was added (last match, with highest number). The syntax to replace a match with one char is now: $.cN or $.c+ (for example: "$.*3").
2014-02-09core: replace "regex_t *" by "void *" in string functions (fix ruby ↵Sebastien Helleu
compilation error with autotools)
2014-02-09core: add argument "num_items" in function string_split_shellSebastien Helleu
2014-02-09trigger: add trigger pluginSebastien Helleu
2014-01-19core: add command /printSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-08-10core: add support of shared strings in split of strings (add functions ↵Sebastien Helleu
string_split_shared and string_free_split_shared)
2013-08-10core: add shared strings to reduce memory usageSebastien Helleu
Shared strings are stored in a hashtable with pointer for keys (values are not used). The key has a reference count + the string. The initial reference count is set to 1 and is incremented each time the same string is asked. When removing a shared string, the reference count is decremented. If it becomes 0, then the shared string is removed from the hashtable (and then the string is really destroyed).
2013-07-27core: add secured data with optional encryption in file sec.confSebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu