summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2021-06-23core: fix use of uninitialized hash when call to weecrypto_hmac failsSébastien Helleu
2021-06-22core: fix function string_match with joker in the string if multiple words ↵Sébastien Helleu
matched in input string Before fix: string_match("script.color.text_description", "*script*color*", 0) => 0 After fix: string_match("script.color.text_description", "*script*color*", 0) => 1
2021-06-17core: add option "certs" in command /debugSébastien Helleu
2021-06-16core: fix build on macOS (closes #1662)Sébastien Helleu
2021-06-01api: add function crypto_hmac (issue #1628)Sébastien Helleu
2021-05-29core, irc, script: fix typosSébastien Helleu
2021-05-25core: replace freenode by libera in command examplesSébastien Helleu
2021-05-25core, buflist, irc, relay: replace freenode by libera in commentsSébastien Helleu
2021-05-22core: split signal command before evaluating it (issue #1643)Sébastien Helleu
2021-05-22core: split startup command before evaluating it (issue #1643)Sébastien Helleu
2021-05-21core: fix tests when NLS is disabledSébastien Helleu
2021-05-21core: fix build error if ENABLE_NLS is OFFGiuseppe Bilotta
wee-eval.c calls gettext directly, but gettext is not a function if ENABLE_NLS is off. Fix by defining a gettext macro (that expands to its first argument) if NLS support is disabled.
2021-05-16core: set server name when connecting to server with TLS (SNI extension) ↵Sébastien Helleu
only if it's not an IPV4/IPv6 (closes #1635)
2021-05-16api: add translated string in evaluation of expressions with "translate:xxx" ↵Sébastien Helleu
(issue #1622)
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-11doc: add XDG directories support in docs (issue #1285)Sébastien Helleu
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-11core: set WeeChat home to empty string by default in CMake and autotools ↵Sébastien Helleu
(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-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-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-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-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-07core: add missing include of sys/time.h in C headersSébastien Helleu
2021-02-25core: add info_hashtable "secured_data"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-01-02core: update copyright datesSébastien Helleu
2021-01-02core: move debug_id assignation in macro EVAL_DEBUG_MSGSébastien Helleu
2021-01-01doc: add note about call to "regfree" after call to "string_regcomp" (plugin ↵Sébastien Helleu
API reference)
2021-01-01core: add indentation and colors in /eval debug outputSébastien Helleu
2020-12-31core: display more verbose debug with two "-d" in command /evalSébastien Helleu
Now a single -d in command /eval shows less debug messages than previous versions. To get the same debug messages than previous versions, two -d must be used.
2020-12-30core: fix typo in commentSébastien Helleu
2020-12-25core: do not remove quotes in arguments of command /eval (closes #1601)Sébastien Helleu
Now, /eval -n -c "a" == "a" returns True instead of False. When quotes were removed, the condition evaluated was: a" == "a (which is False).
2020-12-19core: add options "setvar" and "delvar" in command /buffer, rename option ↵Sébastien Helleu
"localvar" to "listvar" The option "localvar" (introduced long time ago, in WeeChat 0.3.0) is still recognized by WeeChat, to stay compatible with any extension/script calling it (or referencing it in the documentation). It is deprecated and will be removed in a future release.
2020-12-18core: remove unneeded return of WEECHAT_RC_OK in filter commandSébastien Helleu
2020-12-18core: add option "recreate" in command /filterSébastien Helleu