summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2020-02-29core: add functions to compute binary/hex hash of dataSébastien Helleu
2020-02-08tests: add tests on ANSI default text/background colorsSébastien Helleu
2020-02-04tests: add eval tests with debug enabledSébastien Helleu
2020-02-03tests: add unit tests on function util_file_get_contentSébastien Helleu
2020-02-02tests: add unit tests on function util_get_time_diffSébastien Helleu
2020-01-27tests: add eval tests with hdata variables of different typesSébastien Helleu
2020-01-27tests: add eval tests on conditions with text after closing parenthesisSébastien Helleu
2020-01-27tests: add eval tests on conditions with leading and trailing spaces (ignored)Sébastien Helleu
2020-01-27tests: add eval tests on "regex not matching" comparisonSébastien Helleu
2020-01-27tests: add eval tests with hdata list name and pointerSébastien Helleu
2020-01-27tests: add eval tests with buffer local variablesSébastien Helleu
2020-01-27tests: add eval tests on options with different typesSébastien Helleu
2020-01-27tests: add eval test with empty value for "date:"Sébastien Helleu
2020-01-27tests: add eval tests with invalid values for "modifier:"Sébastien Helleu
2020-01-27tests: add eval tests with invalid values for "repeat:"Sébastien Helleu
2020-01-27tests: add eval tests with invalid values for "cut:" and "cutscr:"Sébastien Helleu
2020-01-27tests: add eval test with invalid value for "hide:"Sébastien Helleu
2020-01-27tests: add eval test with invalid regex groupSébastien Helleu
2020-01-27tests: add evaluation tests with ternary operator and escape of prefix ("$")Sébastien Helleu
2020-01-27tests: add other calc tests with multiple operatorsSébastien Helleu
The order of operators are different from the initial test, so this increases the code coverage in wee-calc.c.
2020-01-04core: update copyright datesSébastien Helleu
2019-12-18core: fix evaluation of condition with nested "if" (closes #1434)Sébastien Helleu
2019-11-25tests: add unit tests on hash algorithms with salt (issue #635)Sébastien Helleu
2019-10-12core: add reverse of string for screen in evaluation of expressions with ↵Sébastien Helleu
"revscr:"
2019-10-06core: add support of modifiers in evaluation of expressions with ↵Sébastien Helleu
"modifier:name,data,string" (issue #60)
2019-10-01core: add function to convert WeeChat colors to ANSI colors (issue #528)Sébastien Helleu
2019-10-01core: add support of reverse video in ANSI color codesSébastien Helleu
2019-10-01tests: add tests on GUI color functionsSébastien Helleu
2019-10-01core: fix style in CMake filesSébastien Helleu
2019-09-27irc: add "user" in output of irc_message_parse (closes #136)Sébastien Helleu
2019-09-24core: add power operator "**" in calc expressions (issue #997)Sébastien Helleu
2019-09-24core: fix wrong results with the unary minus in calc expressionsSébastien Helleu
2019-09-21core: ignore color codes in ${length:xxx} and ${lengthscr:xxx}Sébastien Helleu
2019-09-21core: add "length:xxx" and "lengthscr:xxx" in evaluation of expressionsSébastien Helleu
2019-09-20core: add calculation of expression in evaluation of expressions with ↵Sébastien Helleu
"calc:..." (issue #997)
2019-09-17Fixed segfault during excessive evaluation.Tobias Stoeckmann
It is possible to trigger a segmentation fault while processing an evaluation of repeating string. On a Linux 64 bit system, enter this (or adjust arguments for 32 bit accordingly): /eval -n ${repeat:1073741824,----} It will overflow an integer calculation because int instead of size_t is used. Proper check of int limitations fixes this issue. I haven't changed this specific piece of code to size_t because it would crash in other parts of the code tree instead. For now, int is a limitating factor when it comes to strings (and should be enough for sane use cases). Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2019-08-20core: add values djb2_32 and sum_32 for option weechat.look.nick_color_hash ↵Sébastien Helleu
(issue #1394)
2019-08-19core: use fixed-width integer for computing hashtable DJB2 key hash (closes ↵Sébastien Helleu
#1394)
2019-08-19core: use fixed-width integer for computing nick hash (issue #1394)Sébastien Helleu
2019-08-10api: add function list_user_data (issue #666)Andrew Potter
2019-08-06tests: add tests on IRC function irc_nick_is_nickSébastien Helleu
2019-08-04irc: fix length of user/nick/host in split of messages (closes #1387)Sébastien Helleu
2019-08-04tests: add missing space after name of functionSébastien Helleu
2019-08-04tests: add unit tests on IRC functions irc_message_split* (issue #1387)Sébastien Helleu
2019-08-04tests: add unit tests on IRC function irc_message_convert_charsetSébastien Helleu
2019-08-03tests: add unit tests on IRC functions irc_message_parse and ↵Sébastien Helleu
irc_message_parse_to_hashtable
2019-08-03tests: add unit tests on IRC function irc_message_replace_varsSébastien Helleu
2019-08-03tests: add unit tests on IRC functions irc_message_get_{nick,address}_from_hostSébastien Helleu
2019-07-10irc: add unit tests on ignore functionsSébastien Helleu
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu