Sébastien Helleu
0aa9f7de64
trigger: add (void) before calls to trigger_callback_execute when the returned value is ignored
2020-05-17 09:48:07 +02:00
Simmo Saan
b14cf0ac3d
trigger: only return trigger's return code when condition evaluates to true
2020-05-17 09:46:10 +02:00
Trygve Aaberge
40b5cf7ab0
Fix /window scroll_beyond_end when buffer has fewer lines than terminal height
2020-05-16 19:56:27 +02:00
Sébastien Helleu
f500c972dd
core: update translations ( closes #1245 , closes #1257 )
2020-05-16 14:40:19 +02:00
Sébastien Helleu
aa86d82796
core: rename info_hashtable "gui_focus_info" to "focus_info" (issue #1257 )
2020-05-16 14:23:18 +02:00
Sébastien Helleu
a3747fefcd
core: move creation of info_hashtable from gui-focus.c to plugin-api-info.c (issue #1257 )
2020-05-16 14:23:09 +02:00
Simmo Saan
a5b851826e
gui: make key optional in gui_focus_to_hashtable
2020-05-16 14:23:09 +02:00
Simmo Saan
3f0c6ac96b
gui: add gui_focus_info hashtable info ( #1245 )
2020-05-16 14:23:09 +02:00
Sébastien Helleu
dba94f0c5d
core: add color in /buffer output for notification level, update translations (issue #1505 )
2020-05-16 13:40:08 +02:00
Trygve Aaberge
d2f49755c7
core: Allow displaying notify level with /buffer notify
2020-05-16 13:35:36 +02:00
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
40a14b4574
core: force buffer property "time_for_each_line" to 0 for buffers with free content ( closes #1485 )
2020-05-14 18:21:42 +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
ec1b381521
core: set default size for input bar to 0 (automatic) (issue #1498 )
2020-05-10 10:43:07 +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
Sébastien Helleu
1c269e9a81
core: don't collapse consecutive newlines in lines displayed before the first buffer is created
2020-05-10 10:29:01 +02:00
Trygve Aaberge
d5e7cb2487
core: Don't remove consecutive newlines when pasting
...
Relates to #1498
2020-05-10 10:07:53 +02:00
Trygve Aaberge
1e2a8c4682
core: Don't collapse consecutive newlines in bar content
...
This allows blank lines to be displayed in the input bar when you input
multiple consecutive newlines.
Relates to #1498
2020-05-10 10:07:53 +02:00
Trygve Aaberge
867e07aa18
core: properly display newlines in input for all buffers
...
Supporting multiple lines in the input bar is useful even for buffers
without input_multiline set, because it enables you to compose multiple
lines at once, even if it is sent as multiple messages. It is
particularly useful when you paste multiple lines and want to edit some
of it before you send the message.
2020-05-10 00:10:38 +02:00
Simmo Saan
517c4c2903
irc: fix realname delimiter color in WHO/WHOX response
2020-05-09 19:31:34 +02:00
Sébastien Helleu
f987e445ec
core: properly display newlines in input when multiline is enabled in buffer (issue #984 , issue #1063 )
2020-05-09 18:23:33 +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
4c050b343d
irc: reuse a buffer with wrong type "channel" when a private message is received ( closes #869 )
2020-05-08 13:27:20 +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
b7765ed960
trigger: fix truncated trigger command with commands /trigger input|output|recreate
2020-05-07 08:19:31 +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
dff1bf6f0f
exec: return NULL immediately if the task id is invalid
2020-05-03 16:33:02 +02:00
Sébastien Helleu
5438f62f74
exec: fix use of same task id for different tasks ( closes #1491 )
2020-05-03 16:07:11 +02:00
Sébastien Helleu
7699c0b757
relay: add "compression" in response to handshake command (weechat protocol)
...
The value can be "zlib" (default in relay) or "off".
2020-05-02 12:45:47 +02:00
Sébastien Helleu
5b4d690ed7
relay: fix slow send of data to clients when SSL is enabled
2020-05-01 18:52:08 +02:00
Quentin Glidic
f697a5b295
fifo: Open the fifo for writing too
...
That will make it survive, avoiding the need to reopen it.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net >
2020-04-28 16:37:39 +02:00
Sébastien Helleu
b6cc42cbf7
relay: add command "completion" in weechat relay protocol ( closes #1484 )
2020-04-28 11:15:30 +02:00
Sébastien Helleu
f2507a68a7
core: remove obsolete comment
...
The completion context can be "GUI_COMPLETION_NULL" if there's no base word
found (for example empty input).
2020-04-28 10:53:49 +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
0f1cee08bf
relay: fix error message for an invalid buffer received in a command (weechat protocol)
2020-04-26 23:41:31 +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
6e18f31cb2
core: translate log message when the signal SIGHUP is received
2020-04-21 22:39:51 +02:00
Sébastien Helleu
100440c8a1
core: restore signal "signal_sighup", and if eaten do not reload configuration
2020-04-21 22:34:42 +02:00
Tom Fitzhenry
de1e61f7cd
core: reload config on SIGHUP
...
fixes https://github.com/weechat/weechat/issues/1476
2020-04-22 01:25:08 +10:00
Sébastien Helleu
60b75f4677
tests: add tests on functions relay_auth_password_hash_algo_search and relay_auth_generate_nonce
2020-04-20 07:16:08 +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
Tom Fitzhenry
18a837c55b
core: log to stdout, if headless
...
Fixes https://github.com/weechat/weechat/issues/1475 .
2020-04-19 11:05:22 +02:00
Sébastien Helleu
0d126c44dd
trigger: do not hide values of options with /set command in cmd_pass trigger
2020-04-18 15:38:45 +02:00
Sébastien Helleu
e130ee7358
core: make GnuTLS a required dependency
2020-04-18 11:34:59 +02:00
Sébastien Helleu
80693dcea9
relay: move variable nonce in relay client structure
2020-04-18 09:30:51 +02:00