Sébastien Helleu
1745b78b57
irc: fix typo in English plural form of "normal" (normals -> normal)
2020-09-12 18:08:13 +02:00
Sébastien Helleu
3c987f3a1c
script: add option script.scripts.download_enabled ( closes #1548 )
2020-09-06 19:15:15 +02:00
Sébastien Helleu
9ccf62979f
script: do not automatically download list of scripts on startup if the file is too old ( closes #1548 )
...
The repository file is downloaded anyway if too old on any /script action.
2020-09-02 19:22:56 +02:00
Sébastien Helleu
54b7c88553
spell: also skip IRC color attributes codes when checking words in input (issue #1547 )
2020-08-28 18:32:50 +02:00
Sébastien Helleu
aac14f28dd
irc: add comments in functions irc_color_decode and irc_color_encode
2020-08-25 19:37:47 +02:00
Sébastien Helleu
e25c364790
spell: skip IRC color codes when checking words in input ( closes #1547 )
2020-08-25 19:37:42 +02:00
Sébastien Helleu
299f74bfef
spell: use dynamic string functions to return modified string
2020-08-24 22:12:45 +02:00
Sébastien Helleu
cfd221014c
api: add argument "bytes" in function string_dyn_concat
2020-08-23 23:27:57 +02:00
Sébastien Helleu
b459dab84b
spell: properly skip WeeChat color codes when checking words in input ( closes #1547 )
2020-08-22 08:56:21 +02:00
Sébastien Helleu
268aa631c6
api: add function string_color_code_size (issue #1547 )
2020-08-22 08:55:16 +02:00
Sébastien Helleu
7dd5abd625
fset: fix refresh of option values in fset buffer (issue #1553 )
2020-08-20 20:31:07 +02:00
Sébastien Helleu
d53fb92a30
irc: replace calls to malloc by calloc
...
After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
2020-08-17 20:06:17 +02:00
Sébastien Helleu
1054cdf1e9
fset: add option fset.look.auto_refresh ( closes #1553 )
2020-08-09 10:56:03 +02:00
Sébastien Helleu
0cc5df6649
irc: send all channels in a single JOIN command when reconnecting to the server ( closes #1551 )
2020-08-05 20:05:36 +02:00
Sébastien Helleu
7412f5815c
trigger: fix recursive calls to triggers using regex ( closes #1546 )
2020-07-31 20:50:33 +02:00
Simmo Saan
b69e47d0a2
irc: add pointer "irc_nick" in hashtable sent to hook focus callback ( closes #1535 )
2020-07-21 08:18:43 +02:00
Sébastien Helleu
84e30438d4
irc: allow to send text on buffers with commands /allchan, /allpv and /allserv
2020-07-20 22:39:28 +02:00
Sébastien Helleu
ee3a4a1fc0
irc: evaluate command executed by commands /allchan, /allpv and /allserv ( closes #1536 )
...
The extra variables are now replaced (in addition to `$server`, `$channel` and
`$nick`):
- `${irc_server.xxx}`: variable xxx in server
- `${irc_channel.xxx}`: variable xxx in channel
2020-07-20 22:20:22 +02:00
Sébastien Helleu
e0e905ca7f
trigger: check that tag "notify_none" is not present in message to run command of default trigger beep (issue #1529 )
2020-07-20 21:08:59 +02:00
Marco Sirabella
ab7104e34c
Add $weechat_sharedir/python for global python package import
...
Related: #1461
Some scripts (eg weechat-matrix) ship directories that need to be
imported from the script.
Rather than globally installing the python packages to python's
`site-packages` the directories can be installed alongside the script in
`WEECHAT_SHAREDIR/python`.
This change adds that directory to the `$PYTHONPATH` to import
successfully.
2020-07-07 20:26:17 +02:00
Sébastien Helleu
acfb5a7638
relay: add missing field "notify_level" in message "_buffer_line_added" (issue #1529 )
2020-06-26 08:03:15 +02:00
Sébastien Helleu
b0ecbdbf1d
core: add bar option "color_bg_inactive" (issue #732 )
2020-06-21 18:59:54 +02:00
Sébastien Helleu
5b151d1639
irc: check that the first nick char is not a prefix char or chantype in function irc_nick_is_nick
2020-06-21 10:22:37 +02:00
Sébastien Helleu
4a42cda3a5
irc: change default chantypes from "#&+!" to "#&"
...
The default chantypes was conflicting with
irc_server_prefix_chars_default ("@+").
2020-06-21 10:22:04 +02:00
Sébastien Helleu
12051a506d
irc: add support of UTF8MAPPING, add support of optional server in info "irc_is_nick" ( closes #1528 )
2020-06-20 17:28:28 +02:00
Sébastien Helleu
2a60a25443
irc: return NULL in info "irc_is_channel" if arguments is NULL or empty string
2020-06-20 10:04:40 +02:00
Sébastien Helleu
eba9c31da0
irc: fix display of ACCOUNT message when the account name is ":*" ( closes #1526 )
2020-06-15 23:03:58 +02:00
Sébastien Helleu
d0ae0fea49
irc: skip semicolon before account name in ACCOUNT message
2020-06-15 07:12:06 +02:00
Sébastien Helleu
99a324b76f
buflist: add "window" pointer in bar item evaluation only if it's not NULL (if bar type is "window")
2020-06-10 20:39:07 +02:00
Sébastien Helleu
08a00739f2
guile: fix compiler warning (issue #1514 )
2020-06-07 11:07:48 +02:00
Joram Schrijver
297a140bea
guile: fix memory leak in output port
2020-06-07 11:07:03 +02:00
Joram Schrijver
cb5d90dcc7
guile: re-enable "/guile eval" (issue #1098 )
...
With the output port now properly implemented for Guile >= 2.2, this
command works again.
2020-06-07 11:07:03 +02:00
Joram Schrijver
cac45aab46
guile: fix printing of output to buffer (issue #1098 )
...
The support for Guile 2.2 did not implement the custom port correctly,
and did not configure it to be the default output port. This caused
output from Guile to be printed straight to the TTY, breaking the
WeeChat interface.
Note that the port is unbuffered, so that code like
(display "test")
immediately results in output, without an explicit call to force-output.
2020-06-07 11:07:03 +02:00
Sébastien Helleu
196a4e28aa
irc: fix add of ignore with flags in regex, display full ignore mask in list of ignores ( closes #1518 )
2020-06-04 08:05:57 +02:00
Max Teufel
0027c23b7e
irc: display account messages in buffers
2020-06-03 07:59:04 +02:00
Sébastien Helleu
1994d5641d
core: move functions string_base_encode and string_base_decode from plugin-api.c to wee-string.c
2020-05-21 00:02:24 +02:00
Sébastien Helleu
4a67c4a1ab
irc: do not remove spaces at the end of users messages received ( closes #1513 )
...
The regression was introduced in version 2.5 by commit
2b70d71aa1 .
2020-05-19 20:12:27 +02:00
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
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
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
Simmo Saan
517c4c2903
irc: fix realname delimiter color in WHO/WHOX response
2020-05-09 19:31:34 +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
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