Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-27 | tests: add eval tests with invalid values for "repeat:" | Sébastien Helleu | |
2020-01-27 | tests: add eval tests with invalid values for "cut:" and "cutscr:" | Sébastien Helleu | |
2020-01-27 | tests: add eval test with invalid value for "hide:" | Sébastien Helleu | |
2020-01-27 | tests: add eval test with invalid regex group | Sébastien Helleu | |
2020-01-27 | tests: add evaluation tests with ternary operator and escape of prefix ("$") | Sébastien Helleu | |
2020-01-27 | tests: add other calc tests with multiple operators | Sébastien Helleu | |
The order of operators are different from the initial test, so this increases the code coverage in wee-calc.c. | |||
2020-01-04 | core: update copyright dates | Sébastien Helleu | |
2019-12-18 | core: fix evaluation of condition with nested "if" (closes #1434) | Sébastien Helleu | |
2019-11-25 | tests: add unit tests on hash algorithms with salt (issue #635) | Sébastien Helleu | |
2019-10-12 | core: add reverse of string for screen in evaluation of expressions with ↵ | Sébastien Helleu | |
"revscr:" | |||
2019-10-06 | core: add support of modifiers in evaluation of expressions with ↵ | Sébastien Helleu | |
"modifier:name,data,string" (issue #60) | |||
2019-10-01 | core: add function to convert WeeChat colors to ANSI colors (issue #528) | Sébastien Helleu | |
2019-10-01 | core: add support of reverse video in ANSI color codes | Sébastien Helleu | |
2019-10-01 | tests: add tests on GUI color functions | Sébastien Helleu | |
2019-09-27 | irc: add "user" in output of irc_message_parse (closes #136) | Sébastien Helleu | |
2019-09-24 | core: add power operator "**" in calc expressions (issue #997) | Sébastien Helleu | |
2019-09-24 | core: fix wrong results with the unary minus in calc expressions | Sébastien Helleu | |
2019-09-21 | core: ignore color codes in ${length:xxx} and ${lengthscr:xxx} | Sébastien Helleu | |
2019-09-21 | core: add "length:xxx" and "lengthscr:xxx" in evaluation of expressions | Sébastien Helleu | |
2019-09-20 | core: add calculation of expression in evaluation of expressions with ↵ | Sébastien Helleu | |
"calc:..." (issue #997) | |||
2019-09-17 | Fixed 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-20 | core: add values djb2_32 and sum_32 for option weechat.look.nick_color_hash ↵ | Sébastien Helleu | |
(issue #1394) | |||
2019-08-19 | core: use fixed-width integer for computing hashtable DJB2 key hash (closes ↵ | Sébastien Helleu | |
#1394) | |||
2019-08-19 | core: use fixed-width integer for computing nick hash (issue #1394) | Sébastien Helleu | |
2019-08-10 | api: add function list_user_data (issue #666) | Andrew Potter | |
2019-08-06 | tests: add tests on IRC function irc_nick_is_nick | Sébastien Helleu | |
2019-08-04 | irc: fix length of user/nick/host in split of messages (closes #1387) | Sébastien Helleu | |
2019-08-04 | tests: add missing space after name of function | Sébastien Helleu | |
2019-08-04 | tests: add unit tests on IRC functions irc_message_split* (issue #1387) | Sébastien Helleu | |
2019-08-04 | tests: add unit tests on IRC function irc_message_convert_charset | Sébastien Helleu | |
2019-08-03 | tests: add unit tests on IRC functions irc_message_parse and ↵ | Sébastien Helleu | |
irc_message_parse_to_hashtable | |||
2019-08-03 | tests: add unit tests on IRC function irc_message_replace_vars | Sébastien Helleu | |
2019-08-03 | tests: add unit tests on IRC functions irc_message_get_{nick,address}_from_host | Sébastien Helleu | |
2019-07-10 | irc: add unit tests on ignore functions | Sébastien Helleu | |
2019-06-15 | api: add argument "strip_items" in function string_split | Sébastien Helleu | |
2019-06-15 | core: check that string pointer is not NULL in function "string_shared_get" | Sébastien Helleu | |
2019-05-10 | irc: fix parsing of MODE command when there are colons after the first mode ↵ | Sébastien Helleu | |
argument (closes #1296) | |||
2019-04-01 | tests: add test with multiple wildcards in call to function string_match | Sébastien Helleu | |
2019-04-01 | tests: add tests on function util_signal_search | Sébastien Helleu | |
2019-04-01 | tests: add tests on util_timeval functions | Sébastien Helleu | |
2019-04-01 | tests: add tests on function util_parse_delay with unit "ms" (milliseconds) | Sébastien Helleu | |
2019-03-29 | core: move parsing of /wait delay in a separate function, with unit tests | Sébastien Helleu | |
2019-03-10 | core: replace argument "keep_eol" by "flags" in function string_split ↵ | Sébastien Helleu | |
(closes #1322) | |||
2019-03-09 | core: add value -1 for keep_eol in function string_strip (issue #1322) | Sébastien Helleu | |
The value -1 means it's a standard split, but empty items are kept, and separators are not removed at beginning/end of string. | |||
2019-02-27 | api: add function string_match_list | Sébastien Helleu | |
2019-02-19 | spell: rename "aspell" plugin to "spell" (issue #1299) | Sébastien Helleu | |
The following things have been renamed: - file aspell.conf -> spell.conf - options aspell.* -> spell.* - bar item aspell_dict -> spell_dict - bar item and local variable aspell_suggest -> spell_suggest - info aspell_dict -> spell_dict | |||
2019-01-26 | tests: fix evaluation tests on FreeBSD | Sébastien Helleu | |
The following special sequences are not supported in regular expressions on FreeBSD: - "\w": replaced with "[a-zA-Z0-9_]" - "\S": replaced with "[^ ]" (it should be "[^ \t\n\r\f\v]", but in practice only spaces could be a problem when we use this sequence). | |||
2019-01-26 | tests: fix UTF-8 tests on FreeBSD | Sébastien Helleu | |
Tests for size on screen are made on U+2EE9 (CJK Radical Simplified Yellow) instead of U+24B62 (CJK Unified Ideograph-24B62) which returns a length of 1 on FreeBSD and 2 on Linux. | |||
2019-01-20 | tests: add missing include of stdio.h | Sébastien Helleu | |
2019-01-20 | tests: add tests on IRC color functions | Sébastien Helleu | |
Functions tested: - irc_color_decode - irc_color_encode - irc_color_decode_ansi |