summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-04-12relay: actually use the client status "waiting_auth" in irc and weechat ↵Sébastien Helleu
protocols (closes #1358) Now the status "waiting_auth" is used and displayed in the relay buffer. When a client connects, there are now 2 messages (except for irc protocol if there's no password required): relay: new client on port 9000: 1/weechat/1.2.3.4 (waiting auth) relay: client 1/weechat/1.2.3.4 authenticated If the authentication fails, the messages are: relay: new client on port 9000: 1/weechat/1.2.3.4 (waiting auth) =!= relay: authentication failed with client 1/weechat/1.2.3.4
2020-04-12relay: add comments in truct t_relay_weechat_dataSébastien Helleu
2020-04-12trigger: evaluate arguments of command when the trigger is created (closes ↵Sébastien Helleu
#1472)
2020-04-08tests: add tests on calc functionsSébastien Helleu
Functions tested: - calc_operator_precedence - calc_pop_value - calc_list_free_cb - calc_operation - calc_operation_stacks
2020-04-07core: fix memory leak in calculation of expression on FreeBSD (closes #1469)Sébastien Helleu
The memory leak was caused by a bug in function setlocale on FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243195 The fix is the following: * Remove the calls to setlocale when formatting the result. * The function snprintf is still called, and then is now locale dependent, for example in French the decimal separator is a comma instead of a dot. * A new function calc_sanitize_decimal_number is introduced to "sanitize" a decimal number: keep only the decimal separator (replace it by a dot) and remove any other separator found. Unit tests are added on these functions: * calc_sanitize_decimal_number * calc_format_result
2020-04-07core: fix resize of a bar when its size is 0 (automatic) (closes #1470)Sébastien Helleu
2020-04-06buflist: evaluate option buflist.look.sort (closes #1465)Sébastien Helleu
The evaluation allows to use different sort for the bar items, for example with such value: ${if:${bar_item.name}==buflist?number:short_name} This sorts by number on the first bar item and by short name on the two other bar items.
2020-04-04python: fix crash when invalid UTF-8 string is in a WeeChat hashtable ↵Sébastien Helleu
converted to a Python dict (closes #1463)
2020-04-02fset: fix help on options fset.format.option1 and fset.format.option2Sébastien Helleu
2020-03-30irc: add missing modifier "irc_color_decode_ansi" in comment on function ↵Sébastien Helleu
irc_color_modifier_cb
2020-03-28irc: move functions irc_protocol_get_message_tags and ↵Sébastien Helleu
irc_protocol_parse_time before protocol callbacks
2020-03-28irc: remove empty linesSébastien Helleu
2020-03-27irc: fix typo in description of message 001Sébastien Helleu
2020-03-27irc: add examples of NOTICE and PRIVMSG messages to channel opsSébastien Helleu
2020-03-23core: fix compiler warnings on CygwinSébastien Helleu
2020-03-22ruby: fix compiler warning on third argument of function ↵Sébastien Helleu
weechat_ruby_hash_foreach_cb
2020-03-21irc: use larger buffer for message in function ↵Sébastien Helleu
irc_message_split_authenticate, just in case
2020-03-21irc: split AUTHENTICATE message in 400-byte chunks (closes #1459)Sébastien Helleu
2020-03-21irc: replace "char *" by "const char *" in arguments of split functionsSébastien Helleu
2020-03-20api: add info "auto_connect" (closes #1453)Sébastien Helleu
2020-03-15irc: set channel modes to NULL instead of "+" when no modes are remainingSébastien Helleu
2020-03-15irc: add another example of MODE messageSébastien Helleu
2020-03-15irc: remove unused variable "modes" from function ↵Sébastien Helleu
irc_bar_item_buffer_name_content
2020-03-12irc: fix variable name in function irc_server_connect when GnuTLS is disabledSébastien Helleu
2020-03-10irc: rename argument in function irc_protocol_is_numeric_commandSébastien Helleu
2020-03-10irc: return 0 in function irc_protocol_is_numeric_command if the command is ↵Sébastien Helleu
NULL or empty
2020-03-09irc: add support of fake servers (no I/O, for testing purposes)Sébastien Helleu
2020-03-08irc: copy temporary server flag in command /server copySébastien Helleu
2020-03-02core: add minimum libgcypt version 1.7.0 for SHA3 algorithms in comment of ↵Sébastien Helleu
function weecrypto_hash
2020-03-02core: fix copyright date in wee-crypto sourcesSébastien Helleu
2020-03-02core: require libgcrypt >= 1.7.0 for SHA3 algorithmsSébastien Helleu
2020-03-02relay: accept hash of password in init command with option "password_hash"Sébastien Helleu
Allowed algorithms are: * PBKDF2 (SHA256 or SHA512, salt, iterations) * SHA256 * SHA512
2020-03-01script: rename variable length_hash to hash_sizeSébastien Helleu
2020-03-01relay: rename variable length_hash to hash_sizeSébastien Helleu
2020-03-01api: add function crypto_hash_pbkdf2Sébastien Helleu
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-03-01core: add function secure_hash_pbkdf2Sébastien Helleu
2020-03-01script: call function string_hash in script_repo_sha512sum_file to compute ↵Sébastien Helleu
SHA512 hash This removes dependency on libgcrypt in script plugin.
2020-03-01relay: call function string_hash_binary in relay_websocket_build_handshake ↵Sébastien Helleu
to compute SHA1 hash This removes dependency on libgcrypt in relay plugin.
2020-02-29core: add support of CRC32 algorithm in hash functionsSébastien Helleu
2020-02-29api: add functions string_hash_binary and string_hashSébastien Helleu
2020-02-29core: call function secure_hash_binary in secure_derive_key to compute ↵Sébastien Helleu
SHA512 hash
2020-02-29core: return 0 in case of invalid parameters received in function ↵Sébastien Helleu
secure_derive_key
2020-02-29core: add functions to compute binary/hex hash of dataSébastien Helleu
2020-02-28php: fix crash when loading script with PHP 7.4 (closes #1452)Sébastien Helleu
2020-02-18script: fix memory leak in read of script repository file if it has invalid ↵Sébastien Helleu
content
2020-02-16script: fix unexpected display of scripts list in buffer with command ↵Sébastien Helleu
/script list -i
2020-02-16script: remove dead assignment of variable length in function ↵Sébastien Helleu
script_action_list_input
2020-02-10irc: use irc_server_prefix_chars_default if server->prefix_chars is NULLSébastien Helleu