summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2019-11-10Haiku: link libnetwork, not libpthread.Jerome Duval
2019-11-08irc: set option irc.look.display_pv_warning_address to off by default (issue ↵Sébastien Helleu
#892) This is because the bitlbee server causes the warning to be displayed when it is not expected (the address of remote nick changes multiple times on login).
2019-11-03irc: fix typo and examples in /help serverSébastien Helleu
2019-11-03irc: set raw filter to "*" if local variable "filter" was not set after ↵Sébastien Helleu
/upgrade on raw buffer
2019-11-03irc: restore irc raw filter after /upgrade (issue #1000)Sébastien Helleu
2019-11-03irc: add filters on raw buffer (closes #1000)Sébastien Helleu
2019-10-30fset: add comment on filter by evaluated expressionSébastien Helleu
2019-10-30fset: fix filter variable used to match filter stringSébastien Helleu
2019-10-23plugins: sort options added in configuration sectionsSébastien Helleu
2019-10-23core: optimize search of options in configuration sectionsSébastien Helleu
Since options are sorted in sections, it is faster to search from the last option to the first one. For configuration files with many options in a single section (like plugins.conf), the load of configuration file is about 2 to 3x faster.
2019-10-14core: fix scrolling up in bare mode when switched to bare mode at the top of ↵Sébastien Helleu
the buffer (closes #899, issue #978)
2019-10-12python: send "bytes" instead of "str" to callbacks in Python 3 when the ↵Sébastien Helleu
string is not UTF-8 valid (issue #1220, closes #1389)
2019-10-12core: add reverse of string for screen in evaluation of expressions with ↵Sébastien Helleu
"revscr:"
2019-10-11irc: add option irc.look.display_pv_warning_address (closes #892)Sébastien Helleu
If the address of remote nick changes in a private buffer, a warning is displayed.