1973 Commits

Author SHA1 Message Date
Sébastien Helleu
1d357533b9 core: add bar items with nicklist groups and nicks/groups (closes #1506)
The bar item "buffer_nicklist_count" is now the number of displayed nicks
only (not groups).

New bar items:

- "buffer_nicklist_count_groups": number of groups displayed
- "buffer_nicklist_count_all": number of nicks and groups displayed
2020-05-16 11:27:41 +02:00
Sébastien Helleu
4f4f32b9ed relay: increase default limits for IRC backlog options
Default value is changed for the following options:

* relay.irc.backlog_max_minutes: from 1440 to 0 (unlimited)
* relay.irc.backlog_max_number: from 256 to 1024
2020-05-12 18:56:40 +02:00
Sébastien Helleu
b2d1f37782 core: add default key alt-enter to insert a newline (issue #1498) 2020-05-10 10:39:57 +02:00
Trygve Aaberge
63714855d3 core: add an option for multiline input in a buffer (closes #984)
This allows the input callback function for a buffer to receive multiple
lines at once, instead of the message being split on newline before
being sent to the callback. It adds a new flag, input_multiline, to
control this. This flag defaults to 0 which is the current behavior.
2020-05-09 18:07:36 +02:00
Sébastien Helleu
3505324096 api: use buffer pointer in argument "modifier_data" sent to weechat_print modifier callback (closes #42) 2020-05-09 10:08:18 +02:00
Sébastien Helleu
88bef0b1b1 core: rename functions hook_completion_{get_string|list_add} to completion_{get_string|list_add}
Old functions are kept for compatibility reasons.
2020-05-08 10:51:30 +02:00
Sébastien Helleu
b1c3a29ac7 core: add include comparison operators in evaluation of expressions
New comparison operators:

- "==*": is matching mask, case sensitive (wildcard "*" is allowed)
- "!!*": is NOT matching mask, case sensitive (wildcard "*" is allowed)
- "==-": is included, case sensitive
- "!!-": is NOT included, case sensitive
- "=-": is included, case insensitive
- "!-": is NOT included, case insensitive
2020-05-05 20:43:45 +02:00
Sébastien Helleu
6e3ffab2ef doc: remove extra separator lines in auto-generated files 2020-05-03 14:12:21 +02:00
Sébastien Helleu
505a91c600 doc: merge 53 autogen files into 11 files, move them to includes directory 2020-05-03 14:05:18 +02:00
Sébastien Helleu
6c93d1d711 doc: move files cmdline_options.xx.adoc and man.xx.adoc into "includes" directory 2020-05-02 15:13:13 +02:00
Sébastien Helleu
2ff18a8d46 doc: merge files man_*.xx.adoc into a single file man.xx.adoc 2020-05-02 14:48:10 +02:00
Sébastien Helleu
9e8cdd5e40 doc: merge files cmdline_options_debug.xx.adoc into cmdline_options.xx.adoc 2020-05-02 14:18:43 +02:00
Sébastien Helleu
d1a427b67f api: return integer in function gui_completion_search (issue #1484) 2020-04-28 10:46:49 +02:00
Sébastien Helleu
2bd8e91b54 api: add hdata "completion_word" (issue #1484) 2020-04-27 22:18:03 +02:00
Sébastien Helleu
d3020976d5 api: add functions completion_new, completion_search and completion_free (issue #1484) 2020-04-27 22:15:42 +02:00
Sébastien Helleu
fbb188d323 doc: protect monospace text with plus characters (plugin API reference) 2020-04-25 00:27:33 +02:00
Sébastien Helleu
bac0af7494 doc: protect monospace text with plus characters (FAQ) 2020-04-25 00:20:09 +02:00
Sébastien Helleu
e12925dc58 doc: protect monospace text with plus characters (scripting guide) 2020-04-25 00:12:51 +02:00
Sébastien Helleu
01eedd4565 doc: protect monospace text with plus characters (user's guide) 2020-04-24 23:53:13 +02:00
Sébastien Helleu
442f6a3bff doc: fix markup error in function hdata_update (plugin API reference) 2020-04-24 22:49:34 +02:00
Sébastien Helleu
33ea747040 core: add default key alt-shift-N to toggle nicklist bar 2020-04-24 22:45:07 +02:00
Sébastien Helleu
0abd0292da buflist: add default key alt-shift-B to toggle buflist 2020-04-24 22:44:13 +02:00
Sébastien Helleu
916c22a3d0 buflist: add options enable/disable/toggle in command /buflist 2020-04-24 22:39:44 +02:00
Sébastien Helleu
0b994d718d core: add command line option "--stdout" in weechat-headless binary (closes #1475, closes #1477) 2020-04-19 11:28:39 +02:00
Sébastien Helleu
862cf34ba7 doc: fix asciidoctor options in autotools build 2020-04-18 21:52:50 +02:00
Sébastien Helleu
350227419e doc: fix table sizes on small screens 2020-04-18 20:38:52 +02:00
Sébastien Helleu
b847a052c8 doc: update default trigger cmd_pass in user's guide 2020-04-18 15:43:38 +02:00
Sébastien Helleu
5394ca6e10 doc: update auto-generated files with relay options 2020-04-18 11:35:27 +02:00
Sébastien Helleu
e130ee7358 core: make GnuTLS a required dependency 2020-04-18 11:34:59 +02:00
Sébastien Helleu
9fa3609c85 relay: add command "handshake" in weechat relay protocol and nonce to prevent replay attacks (closes #1474)
This introduces a new command called "handshake" in the weechat relay protocol.
It should be sent by the client before the "init" command, to negotiate the way
to authenticate with a password.

3 new options are added:

* relay.network.auth_password
* relay.network.hash_iterations
* relay.network.nonce_size
2020-04-14 21:38:12 +02:00
Sébastien Helleu
b947512c9a relay: add option relay.network.auth_timeout 2020-04-12 19:36:12 +02:00
Eli Schwartz
683464626d cmake: rename internal variable SHAREDIR to DATAROOTDIR
This is how other build systems (e.g. autotools) see the variable, and
cmake's own GNUInstallDirs defines the same. It more clearly describes
what this setting does vs. the ambiguous "sharedir".
2020-04-12 10:16:41 +02:00
Sébastien Helleu
8bdd540df7 trigger: evaluate arguments of command when the trigger is created (closes #1472) 2020-04-12 09:30:56 +02:00
Sébastien Helleu
fdd39c6b97 buflist: evaluate option buflist.look.sort (closes #1465)
The evaluation allows to use different sort for the bar items, for example with
such value:

    ${if:${bar_item.name}==buflist?number:short_name}

This sorts by number on the first bar item and by short name on the two other
bar items.
2020-04-06 20:49:17 +02:00
Sébastien Helleu
2f8fd4c0ef fset: fix help on options fset.format.option1 and fset.format.option2 2020-04-02 20:38:37 +02:00
Sébastien Helleu
e6723bb5a8 doc: add question about configuration for a small terminal size in FAQ 2020-03-22 19:23:37 +01:00
Sébastien Helleu
c29b45a0f2 api: add info "auto_connect" (closes #1453) 2020-03-20 20:42:05 +01:00
Sébastien Helleu
c05cb595dc doc: add note about call to "free" on result of info_get (plugin API reference) 2020-03-20 07:08:14 +01:00
Sébastien Helleu
8a5046f0a1 irc: add support of fake servers (no I/O, for testing purposes) 2020-03-09 21:09:55 +01:00
Sébastien Helleu
2d7829b2d5 core: require libgcrypt >= 1.7.0 for SHA3 algorithms 2020-03-02 21:49:30 +01:00
Sébastien Helleu
3157d1f06e api: add function crypto_hash_pbkdf2 2020-03-01 23:14:55 +01:00
Sébastien Helleu
9a6a27ef58 core: move crypto functions to wee-crypto.c, rename API function string_hash to crypto_hash 2020-03-01 21:24:27 +01:00
Sébastien Helleu
c4ef3d6c2e core: merge functions string_hash_binary and string_hash into a single function string_hash 2020-03-01 16:41:28 +01:00
Sébastien Helleu
3472793d24 script: call function string_hash in script_repo_sha512sum_file to compute SHA512 hash
This removes dependency on libgcrypt in script plugin.
2020-03-01 09:08:48 +01:00
Sébastien Helleu
7449bc8827 core: add support of CRC32 algorithm in hash functions 2020-02-29 21:12:13 +01:00
Sébastien Helleu
410a5b341f api: add functions string_hash_binary and string_hash 2020-02-29 21:02:42 +01:00
Sébastien Helleu
4cb0e2dc55 doc: update auto-generated files 2020-02-15 07:39:41 +01:00
Sébastien Helleu
7fde75797c doc: remove reference to obsolete script shell.py in FAQ 2020-02-08 21:59:14 +01:00
Sébastien Helleu
40e8e928cd doc: add question about timezone in FAQ 2020-02-08 21:59:14 +01:00
Sébastien Helleu
b8d7af54e3 doc: add keys and actions on fset and script buffers in user's guide 2020-02-06 21:17:54 +01:00