summaryrefslogtreecommitdiff
path: root/src/core/wee-string.c
AgeCommit message (Collapse)Author
2017-04-02api: fix memory leak in function string_dyn_free()Sébastien Helleu
Bug was introduced by commit af138840b3484e106d247c4a6a18a28e8225f5bb.
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-03-25core: check that pointers received in arguments are not NULL in "free" functionsSébastien Helleu
Functions: - hdata_free - infolist_var_free - infolist_item_free - infolist_free - string_shared_free - gui_window_objects_free - gui_color_free - gui_completion_free - gui_filter_free - gui_history_buffer_free - gui_hotlist_free - gui_key_free - gui_lines_free - gui_line_tags_free - gui_line_free - gui_window_tree_free - gui_window_scroll_free
2017-01-01core: update copyright datesSébastien Helleu
2016-10-20api: fix string_expand_home SIGSEGV when HOME environment variable unsetSimmo Saan
2016-10-02api: fix return of function string_match() when there are multiple masks in ↵Sébastien Helleu
the string (issue #812) Some tests are added as well to test the multiple masks in the string.
2016-07-09core: rename function string_iconv_fprintf to string_fprintfSébastien Helleu
2016-05-08core: fix the hardcoded separator in string_split_commandWojciech Kwolek
2016-02-18core: fix typo in a commentSébastien Helleu
2016-01-31core: fix typo in a commentSébastien Helleu
2016-01-24doc: add an example in function string_split (plugin API reference)Sébastien Helleu
2016-01-23core: fix number of arguments returned by string_splitSébastien Helleu
When keep_eol is 2 and separators are found at the end of string, the function returned argc + 1 instead of argc.
2016-01-01core: update copyright datesSébastien Helleu
2015-12-31core: fix execution of empty command nameSébastien Helleu
The strings "/" and "/ " are not considered as valid commands any more.
2015-08-24api: fix handle of invalid escape in function string_convert_escaped_chars()Sébastien Helleu
And a new test is now checking that "\" returns "".
2015-08-22api: add function string_hex_dump()Sébastien Helleu
2015-08-18api: add argument "length" in function utf8_is_valid()Sébastien Helleu
2015-07-04api: fix type of value returned by functions utf8_prev_char, utf8_next_char ↵Sébastien Helleu
and utf8_add_offset
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
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-30core: add comments after some #endifSé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-10-12core: remove extra spaces in a commentSébastien Helleu
2014-09-28core: check that data is not NULL in function string_iconv_fprintfSébastien Helleu
2014-08-13core: make argument "errors" optional in function string_replace_with_callbackSébastien Helleu
2014-08-11core: callback_free_key shouldn't point to already free'd valueAndrew Potter
2014-08-11core: check that callback is not NULL in function string_replace_with_callbackSébastien Helleu
2014-08-08core: check that regex is not NULL in function string_replace_regexSébastien Helleu
2014-08-07core: fix example in comment of function string_replace_regexSébastien Helleu
2014-08-02core: fix result of hash function (in hashtables) on 32-bit systemsSébastien Helleu
2014-08-02api: fix function string_decode_base64Sébastien Helleu
The result of function was sometimes wrong, for example base64 decoding of "YWJj" was returning "ab" instead of "abc".
2014-08-02api: fix function string_format_size on 32-bit systemsSébastien Helleu
2014-07-30core: check that from/to arguments are not NULL in base16/64 functionsSébastien Helleu
2014-07-28core: check that string is not NULL in function string_input_for_bufferSébastien Helleu
2014-07-27core: check that string is not NULL in function string_iconvSébastien Helleu
2014-07-25core: fix compilation warning on GNU/Hurd about unsigned long numbersSébastien Helleu
2014-07-25core: add comments in translations for file size unitsSébastien Helleu
2014-07-25core: add terabyte unit for size displayedSébastien Helleu
2014-07-05core: return only -1, 0 or 1 in string comparison functionsSébastien Helleu
2014-07-05core: check that regex is not NULL in function string_regcompSébastien Helleu
2014-07-05core: check that regex is not NULL in function string_regex_flagsSébastien Helleu
2014-07-05core: add note about result that must be freed in function string_mask_to_regexSébastien Helleu
2014-07-05core: check that "chars" argument is not NULL in function string_stripSébastien Helleu
2014-07-05core: check that string is not NULL in function string_convert_escaped_charsSébastien Helleu