summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2021-09-20core: add creation of user variables in evaluated expressions with ↵Sébastien Helleu
${define:name,value}
2021-09-06api: add split of string and shell arguments in evaluation of expressionsSébastien Helleu
Split of string: ${split:number,separators,flags,xxx} Split of shell arguments: ${split_shell:number,xxx}
2021-09-03irc: fix send of empty JOIN when connecting to a server with only parted ↵Sébastien Helleu
channels (closes #1638)
2021-08-29api: add "${re:repl_index}" to get the index of replacement in function ↵Sébastien Helleu
string_eval_expression
2021-08-08irc: save CLIENTTAGDENY from message 005 in server, do not send typing ↵Sébastien Helleu
messages if "typing" client tag is denied
2021-08-06core: fix decoding of attributes in basic ANSI colors (closes #1678)Sébastien Helleu
2021-08-03irc: fix SASL authentication when AUTHENTICATE message is received with a ↵Sébastien Helleu
server name (closes #1679)
2021-08-03api: add random integer number in evaluation of expressions with ↵Sébastien Helleu
"random:min,max"
2021-07-04tests: add tests on typing plugin functionsSébastien Helleu
2021-07-04typing: add typing pluginSébastien Helleu
2021-07-03api: add function file_copy (issue #1667)Sébastien Helleu
2021-06-26api: remember insertion order in hashtablesSébastien Helleu
2021-06-24irc: add support of capability "message-tags" (closes #1654)Sébastien Helleu
2021-06-24irc: add keys/values with tags in output of irc_message_parse_to_hashtable ↵Sébastien Helleu
(issue #1654) Key is "tag_xxx" (where "xxx" is the name of tag) and value is the unescaped tag value.
2021-06-24irc: add support of TAGMSG messages (issue #1654)Sébastien Helleu
2021-06-24irc: escape/unescape IRC message tags values (issue #1654)Sébastien Helleu
Spec: https://ircv3.net/specs/extensions/message-tags#escaping-values
2021-06-22core: fix function string_match with joker in the string if multiple words ↵Sébastien Helleu
matched in input string Before fix: string_match("script.color.text_description", "*script*color*", 0) => 0 After fix: string_match("script.color.text_description", "*script*color*", 0) => 1
2021-06-21tests: fix modifier name in commentSébastien Helleu
2021-06-19irc: enable all capabilities by default (supported by both server and ↵Sébastien Helleu
WeeChat) (closes #320) Capabilities can be excluded with the format: "*,!account-*,!extended-join".
2021-06-16tests: fix tests on signal_search_numberSébastien Helleu
2021-06-15irc: add command /setname, add support of message and capability "setname" ↵Sébastien Helleu
(closes #1653)
2021-06-15irc: add support of FAIL/WARN/NOTE messages (issue #1653)Sébastien Helleu
Spec: https://ircv3.net/specs/extensions/standard-replies
2021-06-01api: add function crypto_hmac (issue #1628)Sébastien Helleu
2021-06-01tests: add test of base64 encode/decode with NUL char in stringSébastien Helleu
2021-05-25tests: replace freenode by libera in testsSébastien Helleu
2021-05-16tests: remove dependency on French locale in eval testsSébastien Helleu
2021-05-16tests: add missing include of locale.h in eval testsSébastien Helleu
2021-05-16tests: remove commented includesSébastien Helleu
2021-05-16core: set server name when connecting to server with TLS (SNI extension) ↵Sébastien Helleu
only if it's not an IPV4/IPv6 (closes #1635)
2021-05-16tests: add tests on translation in evaluated expressionsSébastien Helleu
2021-05-11core: split WeeChat home in 4 directories, use XDG directories by default ↵Sébastien Helleu
(issue #1285) The 4 directories (which can be the same): - config: configuration files, certificates - data: log/upgrade files, local plugins, scripts, xfer files - cache: script repository, scripts downloaded (temporary location) - runtime: FIFO pipe, relay UNIX sockets
2021-05-11core: move home directory functions from weechat.c to wee-dir.c (issue #1285)Sébastien Helleu
2021-05-11core: move directory/file functions from wee-util.c to wee-dir.c (issue #1285)Sébastien Helleu
2021-04-11tests: fix if/else blocks in trigger testsSébastien Helleu
2021-04-11trigger: add tests on main trigger functionsSébastien Helleu
2021-04-04core: evaluate left/right part of comparison after split on the comparison ↵Sébastien Helleu
operator in ${if:xxx} (closes #1627) To force evaluation of the expression before doing the comparison (less safe), the "${eval_cond:xxx}" can be used. With the old behavior we had: >> ${if:a==b} == [0] >> ${if:${raw:a==b}} == [0] >> ${if:${eval_cond:${raw:a==b}}} == [0] And with the new behavior, we have: >> ${if:a==b} == [0] >> ${if:${raw:a==b}} == [1] >> ${if:${eval_cond:${raw:a==b}}} == [0]
2021-03-19tests: disable pylint error useless-object-inheritanceSébastien Helleu
2021-03-17api: add support of pointer names in function string_eval_expression (direct ↵Sébastien Helleu
and in hdata) These two formats are now supported, if "pointer_name" is present in the "pointers" hashtable: * "${pointer_name}": value of pointer (example: "0x1234abcd") * ${buffer[pointer_name].full_name}: use of a pointer name instead of pointer value or list name
2021-03-17tests: use macros UINT32_C and UINT64_C for integer constants of type ↵Sébastien Helleu
uint32_t and uint64_t This fixes the following compiler warnings: "integer constant is so large that it is unsigned".
2021-03-16core: add options to customize commands on system signals, quit by default ↵Sébastien Helleu
on SIGHUP when not running headless (closes #1595) New options to customize behavior on signals received, with the default behavior: - weechat.signal.sighup: quit in normal mode, reload config in headless - weechat.signal.sigquit: quit - weechat.signal.sigterm: quit - weechat.signal.sigusr1: no command executed by default - weechat.signal.sigusr2: no command executed by default The signals SIGUSR1 and SIGUSR2 are introduced by this commit, so it's now possible to run commands when they are received. The SIGHUP signal makes now WeeChat quit, it was the behavior before version 2.9 of WeeChat (see commit de1e61f7cd50cbd1a99777fe6611642a51abf5f6).
2021-02-05core: add raw string in evaluation of expressions with "raw:xxx" (closes #1611)Sébastien Helleu
2021-02-03irc: add info "irc_is_message_ignored"Sébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2021-01-01core: add indentation and colors in /eval debug outputSébastien Helleu
2020-12-31core: display more verbose debug with two "-d" in command /evalSébastien Helleu
Now a single -d in command /eval shows less debug messages than previous versions. To get the same debug messages than previous versions, two -d must be used.
2020-12-25core: do not remove quotes in arguments of command /eval (closes #1601)Sébastien Helleu
Now, /eval -n -c "a" == "a" returns True instead of False. When quotes were removed, the condition evaluated was: a" == "a (which is False).
2020-11-14core: add evaluation of conditions in evaluation of expressions with ↵Sébastien Helleu
"eval_cond:" (closes #1582)
2020-10-04tests: add missing braces around if/else in macro WEE_NICK_STRDUP_FOR_COLOR ↵Sébastien Helleu
(issue #1565)
2020-10-04api: add optional list of colors in infos "nick_color" and "nick_color_name" ↵Sébastien Helleu
(closes #1565)
2020-10-04core: add argument "num_colors" in function gui_nick_hash_color, add tests ↵Sébastien Helleu
on nick functions (issue #1565) Functions tested: - gui_nick_hash_djb2_64 - gui_nick_hash_djb2_32 - gui_nick_hash_sum_64 - gui_nick_hash_sum_32 - gui_nick_get_forced_color - gui_nick_strdup_for_color - gui_nick_find_color - gui_nick_find_color_name