summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-05-16buflist, irc, xfer: do not translate "cleartext" in buffer local variable ↵Sébastien Helleu
"tls_version" (issue #1622) The text "cleartext" is translated for display only: directly with gettext in IRC plugin and with "${translate:${tls_version}}" in the buflist evaluated format.
2021-05-16api: add translated string in evaluation of expressions with "translate:xxx" ↵Sébastien Helleu
(issue #1622)
2021-05-16core: update translations (issue #1622)Sébastien Helleu
2021-05-16irc, buflist: add bar item "tls_version" with options for colors, add ↵Andrew Potter
buflist format "${format_tls_version}" (issue #1622)
2021-05-14core: add generator and Python stub file for WeeChat API (issue #1377)Sébastien Helleu
2021-05-12core: improve options to load GnuTLS system/user CAs (closes #972)Sébastien Helleu
Changes: * new option: weechat.network.gnutls_ca_system * option weechat.network.gnutls_ca_file renamed to weechat.network.gnutls_ca_user * reload certificates when options are changed * remove build option CA_FILE
2021-05-11core: update translations (issue #1285)Sébastien Helleu
2021-05-11fifo: add PID in default FIFO pipe filename (issue #1285)Sébastien Helleu
This is to prevent two WeeChat using the same runtime directory to use the same FIFO pipe.
2021-05-11doc: add XDG directories support in docs (issue #1285)Sébastien Helleu
2021-05-11xfer: remove "%h" from /help xfer.file.upload_path (issue #1285)Sébastien Helleu
2021-05-11xfer: change default value of option xfer.file.download_path to ↵Sébastien Helleu
"${weechat_data_dir}/xfer" (issue #1285)
2021-05-11script: change default value of option script.scripts.path to ↵Sébastien Helleu
"${weechat_cache_dir}/script" (issue #1285)
2021-05-11relay: change default value of option relay.network.ssl_cert_key to ↵Sébastien Helleu
"${weechat_config_dir}/ssl/relay.pem" (issue #1285)
2021-05-11relay: remove "%h" from help on UNIX socket path option (issue #1285)Sébastien Helleu
2021-05-11relay: remove "%h" from /help relay (issue #1285)Sébastien Helleu
2021-05-11logger: change default value of option logger.file.path to ↵Sébastien Helleu
"${weechat_data_dir}/logs" (issue #1285)
2021-05-11fifo: change default value of option fifo.file.path to ↵Sébastien Helleu
"${weechat_runtime_dir}/weechat_fifo" (issue #1285)
2021-05-11core: change default value of option weechat.plugin.path to ↵Sébastien Helleu
"${weechat_data_dir}/plugins" (issue #1285)
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-05-11logger: remove unused variable weechat_dir (issue #1285)Sébastien Helleu
2021-05-11core: set WeeChat home to empty string by default in CMake and autotools ↵Sébastien Helleu
(issue #1285)
2021-05-11relay: evaluate option relay.network.ssl_cert_key (issue #1285)Sébastien Helleu
2021-05-11irc: evaluate options irc.server_default.ssl_cert and ↵Sébastien Helleu
irc.server.xxx.ssl_cert (issue #1285)
2021-05-11irc: evaluate options irc.server_default.sasl_key and ↵Sébastien Helleu
irc.server.xxx.sasl_key (issue #1285)
2021-05-11core: evaluate option weechat.plugin.path (issue #1285)Sébastien Helleu
2021-05-11core: evaluate option weechat.network.gnutls_ca_file (issue #1285)Sébastien Helleu
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