summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-05-08core: Use mallinfo2() when availableAndrew Potter
mallinfo() is deprecated in glibc 2.33
2021-05-04core: display a warning when the file with certificate authorities is not ↵Sébastien Helleu
found (option weechat.network.gnutls_ca_file)
2021-04-26xfer: make file transfer fail when option xfer.file.auto_rename is off and ↵Sébastien Helleu
file already exists (closes #1633)
2021-04-13Revert "core: add option "-save" in command /upgrade (closes #1630)"Sébastien Helleu
This reverts commit 1df1903d230c4f8dbd0876b8bbc3454aa1af389c. This is not so easy to implement: it requires saving state of plugins, and plugins like irc can not save the connected state (except in a real upgrade case where the sockets are still valid after exec of the new binary).
2021-04-12core: add option "-save" in command /upgrade (closes #1630)Sébastien Helleu
2021-04-11doc: mark info "python2_bin" as deprecated since version 2.6 (plugin API ↵Sébastien Helleu
reference)
2021-04-10irc: remove unused variable ptr_address and dead codeSébastien Helleu
2021-04-10irc: remove dead assignment on variable pos_messageSébastien Helleu
2021-04-10trigger: remove useless testSébastien Helleu
2021-04-09trigger: check that option is not NULL in function trigger_search_with_optionSébastien Helleu
2021-04-08trigger: fix description of function trigger_name_validSébastien Helleu
2021-04-08trigger: check that trigger is not NULL in functions trigger_rename and ↵Sébastien Helleu
trigger_copy
2021-04-06trigger: add variables "${tg_shell_argc}" and "${tg_shell_argvN}" in command ↵Sébastien Helleu
trigger evaluated strings (closes #1624)
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-21buflist: improve help on option buflist.look.sortSébastien Helleu
2021-03-21buflist: Fix wrong pointers being used in hdata_compareTrygve Aaberge
This used pointer1 and pointer2 which are pointers to the buffers, but it should use ptr_hotlist1 and ptr_hotlist1 which are pointers to the hotlists it is trying to compare.
2021-03-20core: Prevent switching to start of visited buffers when jumping to nextTrygve Aaberge
If you run /input jump_next_visited_buffer right after switching to a buffer, weechat changes to the first buffer in the visited buffers list. That is, it wraps around and goes to the buffer you visited the longest ago. This patch fixes that. The reason it happens is that when you switch to a buffer (normally, i.e. in another way than using jump_previously_visited_buffer/ jump_next_visited_buffer) gui_buffers_visited_index is set to -1 (in gui_buffer_visited_add). This makes gui_buffer_visited_get_index_next return 0 because it returns gui_buffers_visited_index + 1, which makes gui_input_jump_next_visited_buffer jump to the first buffer in the list of visited buffers. Fixes #1591
2021-03-18core: add pointer name in description of function eval_replace_vars_cbSé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-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-03-14api: add info "weechat_daemon"Sébastien Helleu
2021-03-14doc: use full path /usr/bin/pass in example for option ↵Sébastien Helleu
sec.crypt.passphrase_command
2021-03-14core: mention /fset command in header comment of configuration filesSébastien Helleu
2021-03-14fset: add fset bar on configuration reload (issue #1618)Sébastien Helleu
2021-03-14buflist: always add buflist bar when plugin is loaded, hide bar by default ↵Sébastien Helleu
if buflist is disabled (issue #1618)
2021-03-14buflist: add buflist bar on configuration reload (issue #1618)Sébastien Helleu
2021-03-07core: add missing include of sys/time.h in C headersSébastien Helleu
2021-03-07core: fix compilation of tests on FreeBSDSébastien Helleu
2021-02-28core: fix quoted line in cursor mode (closes #1602)Sébastien Helleu
Regression was introduced in version 2.7 by commit 93d2dbf3e1ef30e676a6edd56ab2b9bd2ddd70d9.
2021-02-27irc: add bar item "irc_nick_prefix"Sébastien Helleu
2021-02-27irc: fix separator between nick and host in bar item "irc_nick_host"Sébastien Helleu
Use "!" instead of "@" to separate nick from host, like it is done in IRC protocol. The nick and host is now displayed as "nick!user@host" instead of "nick@user@host".
2021-02-27fset: fix description of function fset_bar_item_fset_cbSébastien Helleu
2021-02-25core: add info_hashtable "secured_data"Sébastien Helleu
2021-02-09buflist: add option buflist.look.use_items to speed up display of buflist ↵Sébastien Helleu
(closes #1613)
2021-02-08core: fix wrong size of the new window after vertical split (closes #1612)Sébastien Helleu
2021-02-08core: update help on option sec.crypt.passphrase_command, update translationsSébastien Helleu
2021-02-07core: add options weechat.look.hotlist_update_on_buffer_switch and ↵Kevin Pulo
weechat.look.read_marker_update_on_buffer_switch Both default to "on" (no change to previous behavior). If hotlist_update_on_buffer_switch is "off", then when switching away from a buffer, the hotlist is not cleared. If read_marker_update_on_buffer_switch is "off", then when switching away from a buffer, the read marker is not set to the end of the buffer. This allows users to choose to have fully manual control over when hotlist counts and buffer read markers are reset. Fixes #992.
2021-02-06core: replace option sec.crypt.passphrase_file by ↵Sébastien Helleu
sec.crypt.passphrase_command (closes #141) The command is used to read the passphrase on startup, for example using your favorite password manager. Note: only the passphrase is read from the program, the secured data is still stored encrypted in sec.conf and handled by WeeChat itself.
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-30irc: add function irc_server_get_chantypesSébastien Helleu
2021-01-30irc: use server option "default_chantypes" as fallback in function ↵Sébastien Helleu
irc_nick_is_nick
2021-01-30irc: use server option "default_chantypes" as fallback when automatically ↵Sébastien Helleu
adding channel type on join
2021-01-30irc: improve help on server option "default_chantypes"Sébastien Helleu
2021-01-30irc: fix name of option "default_chantypes" in list of server optionsSébastien Helleu
2021-01-30irc: simplify code in function irc_channel_is_channelSébastien Helleu
2021-01-30irc: make default chantypes configurableMatti Virkkunen
2021-01-02core: update copyright datesSébastien Helleu
2021-01-02irc: remove obsolete comment on translationSébastien Helleu
2021-01-02irc: fix ambiguity on translation of word "server"Sébastien Helleu
This fixes the following warning: /usr/bin/xgettext: warning: msgid 'server' is used without plural and with plural. ./src/plugins/irc/irc-bar-item.c:136: Here is the occurrence without plural. ./src/plugins/irc/irc.c:154: Here is the occurrence with plural. Workaround: If the msgid is a sentence, change the wording of the sentence; otherwise, use contexts for disambiguation.