summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2020-02-10irc: fix crash when receiving a malformed message 352 (who)Sébastien Helleu
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-09irc: fix crash when a new message 005 is received with longer nick prefixesSébastien Helleu
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-09core: fix unlikely memory leak in completionSébastien Helleu
2020-02-08irc: fix crash when receiving a malformed message 324 (channel mode)Sébastien Helleu
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-07irc: remove nested switches in function irc_color_decode_ansi_cbSébastien Helleu
2020-02-05irc: use dynamic string in function irc_color_encodeSébastien Helleu
2020-02-05irc: replace realloc by dynamic string in function irc_color_decodeSébastien Helleu
2020-02-02core: rename function util_get_uptime to util_get_time_diffSébastien Helleu
The two times must be sent as parameters, which makes the function not specific to uptime. It is now easier to test the function in unit tests.
2020-02-01irc: add nick changes in the hotlist (except self nick change)Sébastien Helleu
2020-01-30Fix the build with guile-3.0.0.orbea
v2: Update configure.ac too. Signed-off-by: orbea <orbea@riseup.net>
2020-01-25logger: fix crash when disabling logging on a buffer (closes #1444)Sébastien Helleu
Crash happens if the log file was deleted before disabling logging and if the option logger.file.info_lines is on.
2020-01-20core: flush stdout/stderr before forking in hook_process function (closes #1441)Sébastien Helleu
2020-01-12core: reset variable "old_full_name" after send of signal "buffer_renamed" ↵Sébastien Helleu
(issue #1428)
2020-01-12relay: update buffers synchronization when buffers are renamed (closes #1428)Sébastien Helleu
2020-01-12core: add variable "old_full_name" in buffer, set before the buffer is ↵Sébastien Helleu
renamed (issue #1428)
2020-01-11irc: case-insensitive comparison on incoming CTCP command, force upper case ↵Sébastien Helleu
on CTCP replies (closes #1439)
2020-01-04xfer: send signal "xfer_ended" after the received file has been renamed ↵Sébastien Helleu
(closes #1438)
2020-01-04core: update copyright datesSébastien Helleu
2019-12-26buflist: add pointer "window" in bar item evaluationSébastien Helleu
2019-12-21relay: reject client with weechat protocol if password or totp is received ↵Sébastien Helleu
in init command but not set in WeeChat (closes #1435)
2019-12-18core: fix evaluation of condition with nested "if" (closes #1434)Sébastien Helleu
2019-12-18core: add debug option "-d" in command /eval (issue #1434)Sébastien Helleu
2019-12-18core: add missing variable "proxy" in function hook_connect_print_logSébastien Helleu
2019-12-15irc: fix memory leak when the channel topic is changedSébastien Helleu
2019-12-13api: add info "weechat_headless"Matthew Horan
2019-12-13irc: add GnuTLS >= 3.1.0 requirement to ssl_password option help (issue #115)Simmo Saan
2019-12-13irc: fix compilation with GnuTLS < 3.1.0 (issue #115)Simmo Saan
Due to this ssl_password will be partially unused with GnuTLS < 3.1.0. In that case an encrypted SSL client cert import will simply fail.
2019-11-25core: move each hash algorithm in a separate function (issue #635)Sébastien Helleu
2019-11-25core: add more info in /help weechat.look.nick_color_hash_salt (issue #635)Sébastien Helleu
2019-11-25core: remove allocation of string when salt is used (issue #635)Sébastien Helleu
2019-11-25core: add option weechat.look.nick_color_hash_salt to allow for reshuffling ↵Simmo Saan
of colors (issue #635)
2019-11-21irc: do not automatically open a channel with name "0" (closes #1429)Sébastien Helleu
"0" is a special channel name which causes a client to leave all the channels it is presently on. Note that when option irc.look.buffer_open_before_join is on, WeeChat may still open channel buffers with an invalid channel name like "1". The server should reply something like that, displayed on the server buffer: 1: No such channel
2019-11-17core: set buffer name, short name and title only if the value has changedSébastien Helleu
This fix reduces the number of messages "_buffer_title_changed" sent to the weechat relay clients in IRC private buffers (this message was sent for every new message received in the private buffer).
2019-11-15irc: mention /filter command in /help irc.look.smart_filterSébastien Helleu
2019-11-12python: use more idiomatic cmake pkg-config linkingEli Schwartz
cmake documentation is absolutely atrocious, and I don't know why they mention all the wrong things to use, and the cargo cult of successfully writing a cmake build definition (copy-pasting what works from other projects) also uses all the wrong things. But it turns out it is possible to correctly link a PkgConfig target despite all that, at least, *iff* you use cmake >= 3.13. I've chosen option 2, which is to vendor in cmake >= 3.13's FindPkgConfig module in the previous commit. Using IMPORTED_TARGET GLOBAL in a pkg-config check will result in a proper linker target being created. For comparison, this is like using meson's dependency() target, except meson forces you to do this by default. The result is that the build system's internal representation of how to link something, is used instead of manually passing build flags defined in variables. This is an important distinction to make, because cmake does not have a list datatype, and instead turns lists into strings separated by ';' which are indistinguishable from, like, strings which contain ';' characters. When you pass the resulting list-which-isn't-really-a-list to link an executable/library, you either need to preprocess the variable to replace ';' with ' ' (just in case there are multiple elements) or use cmake functions which magically know to do this themselves -- or at least, I assume there are cmake functions that correctly handle so-called "lists", or there would be no need for "lists" to exist. The IMPORTED_TARGET will define a bunch of INTERFACE_* properties which do seem to do exactly this. The resulting build definition should actually, correctly, link python, thereby fixing #1398 in a better way.