2454 Commits

Author SHA1 Message Date
Sébastien Helleu
269576eea2 core: move directory/file functions from wee-util.c to wee-dir.c (issue #1285) 2021-05-11 21:06:29 +02:00
Sébastien Helleu
e95fdc3a0a core: display a warning when the file with certificate authorities is not found (option weechat.network.gnutls_ca_file) 2021-05-04 20:37:15 +02:00
Nils Görs
950c2bb898 core: update German translations 2021-04-13 11:44:40 +02:00
Sébastien Helleu
6b62456119 Revert "core: add option "-save" in command /upgrade (closes #1630)"
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-13 00:11:11 +02:00
Sébastien Helleu
1df1903d23 core: add option "-save" in command /upgrade (closes #1630) 2021-04-12 20:48:32 +02:00
Sébastien Helleu
5d30e0faac doc: mark info "python2_bin" as deprecated since version 2.6 (plugin API reference) 2021-04-11 09:31:49 +02:00
Nils Görs
efd5a8bd14 core: update German translations 2021-03-29 09:22:07 +02:00
Sébastien Helleu
4f606ceb64 buflist: improve help on option buflist.look.sort 2021-03-21 09:34:40 +01:00
Nils Görs
a715403d60 core: update German translations 2021-03-20 06:36:19 +01:00
Sébastien Helleu
8ee7d46605 api: add support of pointer names in function string_eval_expression (direct 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-17 21:57:16 +01:00
Nils Görs
84d9de798a core: update German translations 2021-03-17 14:16:16 +01:00
Sébastien Helleu
0dc7fbcb0c core: add options to customize commands on system signals, quit by default 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-16 18:47:31 +01:00
Sébastien Helleu
bb41de8c02 api: add info "weechat_daemon" 2021-03-14 14:11:06 +01:00
Sébastien Helleu
a02a2fbaae doc: use full path /usr/bin/pass in example for option sec.crypt.passphrase_command 2021-03-14 13:38:50 +01:00
Krzysztof Korościk
4fd3c5e1d6 po: updated polish translation 2021-03-06 18:10:42 +01:00
Sébastien Helleu
ca4d7b37c6 core: fix pt_BR translations 2021-03-05 20:51:43 +01:00
Érico Rolim
23a3096e1d core: update pt_BR translations. 2021-03-05 20:50:50 +01:00
Nils Görs
2a31544242 core: update German translations 2021-02-26 14:02:42 +01:00
Sébastien Helleu
3d587ad37d core: add info_hashtable "secured_data" 2021-02-25 19:06:47 +01:00
Nils Görs
69af1ac0ae core: update German translations 2021-02-10 08:10:06 +01:00
Sébastien Helleu
630fe0581f buflist: add option buflist.look.use_items to speed up display of buflist (closes #1613) 2021-02-09 20:34:56 +01:00
Nils Görs
8a6a135b45 core: update German translations 2021-02-08 13:41:59 +01:00
Sébastien Helleu
47112a113e core: update help on option sec.crypt.passphrase_command, update translations 2021-02-08 13:12:54 +01:00
Sébastien Helleu
d08e9aed1c core: update translations 2021-02-07 11:00:12 +01:00
Sébastien Helleu
f1c681c832 core: replace option sec.crypt.passphrase_file by 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-06 16:07:14 +01:00
Sébastien Helleu
a93e598c35 core: add raw string in evaluation of expressions with "raw:xxx" (closes #1611) 2021-02-05 20:07:16 +01:00
Nils Görs
64fe602aae core: update German translations 2021-02-05 10:56:49 +01:00
Sébastien Helleu
a34959a619 irc: add info "irc_is_message_ignored" 2021-02-03 18:30:32 +01:00
Nils Görs
a250a50ca5 core: update German translations 2021-01-31 10:32:26 +01:00
Nils Görs
8bdc58f32d core: update German translations 2021-01-31 09:32:26 +01:00
Sébastien Helleu
ba892ee5a0 core: update translations 2021-01-30 09:55:02 +01:00
Krzysztof Korościk
1c3cb4364d po: updated polish translation 2021-01-15 21:35:27 +01:00
Nils Görs
84b02c1296 core: update German translations 2021-01-05 09:15:43 +01:00
Sébastien Helleu
efc7a588d6 core: update copyright dates 2021-01-02 21:34:16 +01:00
Sébastien Helleu
df4b9170f1 irc: remove obsolete comment on translation 2021-01-02 15:22:02 +01:00
Sébastien Helleu
b8acaf8a14 irc: fix ambiguity on translation of word "server"
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.
2021-01-02 15:18:26 +01:00
Nils Görs
565837f75a core: update German translations 2021-01-01 11:21:57 +01:00
Sébastien Helleu
2ad3da03a2 core: display more verbose debug with two "-d" in command /eval
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-31 20:37:43 +01:00
Krzysztof Korościk
05a9a7904c po: updated polish translation 2020-12-27 19:05:51 +01:00
Nils Görs
18f9ba3c0c core: update German translations 2020-12-21 13:07:23 +01:00
Sébastien Helleu
7e2396ade8 core: add options "setvar" and "delvar" in command /buffer, rename option "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-19 20:59:38 +01:00
Sébastien Helleu
dc5277fe89 core: add option "recreate" in command /filter 2020-12-18 20:28:16 +01:00
Nils Görs
5e17f0039b core: update German translations 2020-12-17 11:05:15 +01:00
Sébastien Helleu
13e4af7b46 script: add status of scripts in output of command /script list in /help script 2020-12-15 20:41:13 +01:00
Nils Görs
14e66962c8 core: update German translations 2020-11-18 09:44:17 +01:00
Sébastien Helleu
5cbda03fca core: fix and normalize error messages 2020-11-17 21:54:24 +01:00
Sébastien Helleu
b9c8569422 trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings (closes #1580)
${tg_trigger_name} is replaced by the trigger name in these command strings:

- description
- arguments
- description of arguments
- completion
2020-11-14 09:32:24 +01:00
Sébastien Helleu
b626df72fb core: add evaluation of conditions in evaluation of expressions with "eval_cond:" (closes #1582) 2020-11-14 09:28:46 +01:00
Nils Görs
da934d9818 core: update German translations 2020-10-16 16:38:50 +02:00
Sébastien Helleu
fa46a2fe2d exec: add option "-oerr" to send stderr to buffer (now disabled by default) (closes #1566) 2020-10-11 16:33:50 +02:00