Sébastien Helleu
2682fb450d
lua: fix macros used to return values
2018-07-13 21:25:51 +02:00
Sébastien Helleu
bf48efffec
relay: fix compiler warnings on calls to snprintf
2018-07-13 21:25:07 +02:00
Sébastien Helleu
a205886d7a
core: fix compiler warnings on calls to snprintf
2018-07-13 21:24:40 +02:00
Sébastien Helleu
de1ade02c3
python: fix crash when loading a script with Python >= 3.7 ( closes #1219 )
2018-07-12 19:27:37 +02:00
Sébastien Helleu
5b3f2ad466
irc: add nick, host and log tags in message displayed in private buffer when the nick comes back on the server ( closes #1221 )
2018-07-11 07:36:11 +02:00
Sébastien Helleu
7bd8fb4686
buflist: fix crash when setting the option buflist.look.signals_refresh with a list of signals
2018-07-10 20:30:10 +02:00
Sébastien Helleu
14a929341e
fset: fix memory leak when switching the format with ctrl-X
2018-07-08 14:48:06 +02:00
Sébastien Helleu
c17ab6aa00
fset: fix truncation of option values when the length is greater than 4096 ( closes #1218 )
2018-07-08 14:46:19 +02:00
Sébastien Helleu
5decae145f
relay: fix socket creation for relay server on OpenBSD ( closes #1213 )
...
The socket option IPV6_V6ONLY is not needed on OpenBSD and must not be set (it
is read-only).
2018-07-01 15:39:34 +02:00
Sébastien Helleu
6292896021
irc: add channel color in message 354 with missing parameters (issue #1212 )
2018-06-24 09:46:29 +02:00
Sébastien Helleu
db690fbf91
irc: do not display message 354 with missing parameters if there's an automatic check of WHOX on the channel (issue #1212 )
2018-06-24 08:29:10 +02:00
Sébastien Helleu
a5962cf7f5
irc: display message 354 (WHOX) received with missing parameters ( closes #1212 )
2018-06-23 22:17:18 +02:00
Sébastien Helleu
261cbdae0d
core: change default value of option weechat.look.hotlist_add_conditions ( closes #1206 )
...
Now if there are at least one relay client connected via weechat protocol,
the buffer is always added to the hotlist.
2018-06-14 22:22:06 +02:00
Sébastien Helleu
744ded04bd
relay: add filtering on protocol in info "relay_client_count" (issue #1206 )
2018-06-14 21:57:27 +02:00
Sébastien Helleu
da507ca85f
core: add key alt+"-" in /help filter
2018-06-14 21:44:34 +02:00
Sébastien Helleu
641180caf1
Merge remote-tracking branch 'origin/pr/1196'
2018-06-13 22:19:15 +02:00
Sébastien Helleu
dc12f6bef0
fset: fix crash when applying filters after closing the fset buffer ( closes #1204 )
2018-06-11 23:03:02 +02:00
Sébastien Helleu
1abf4040f1
core: add reverse of string in evaluation of expressions with "rev:" ( closes #1200 )
2018-06-02 16:01:14 +02:00
Sébastien Helleu
ba19fa9963
core: count number of chars instead of bytes for suffix in function string_cut
2018-06-02 15:18:29 +02:00
Sébastien Helleu
39a291bc53
core: return NULL in function string_cut if string is NULL
2018-06-02 15:14:21 +02:00
Sébastien Helleu
53fedfe4e6
trigger: hide password in display of command "/msg nickserv set password", support the option "-server xxx"
2018-05-31 22:51:23 +02:00
Sébastien Helleu
1587674e9b
trigger: hide password in command "/msg nickserv set password"
2018-05-31 21:14:57 +02:00
Sébastien Helleu
4592c9438f
core: send buffer pointer (when possible) in signal "hotlist_changed" ( closes #1133 )
...
When a buffer is added or updated in the hotlist, the buffer pointer is sent.
When the hotlist is cleared or resorted, the buffer pointer is NULL.
2018-05-31 20:25:10 +02:00
Sébastien Helleu
2026545aaa
core: fix delete of previous/next word (keys Ctrl+w and Alt+d) ( closes #1195 )
2018-05-22 22:26:00 +02:00
Simon Arlott
9aaea09b02
core: unhook TLS handshake fd before calling connect callback
...
When there are multiple addresses for a server and a TLS handshake failure
occurs, the next server in the list will connect and then timeout without
performing any TLS handshake.
This is because irc_server_close_connection closes server->sock so the next
pipe to be created reuses that fd, but the hook for the handshake fd still
exists when the next connection attempt is started.
The hook for network_connect_child_read_cb is never added because a hook
for the reused fd number still exists.
Resolve this by removing the handshake hook before calling the connect
callback.
2018-05-22 12:27:41 +01:00
Sébastien Helleu
530f73ec71
irc: update ircv3 URLs in comments
2018-05-21 15:48:59 +02:00
Sébastien Helleu
9f25d7d347
core: use function string_split to split list items
2018-05-21 10:24:57 +02:00
Sébastien Helleu
e4a69406ba
core: uncomment CURL option PROXY_SSL_CIPHER_LIST
2018-05-21 10:24:57 +02:00
Joseph Kichline
2542250a21
core: handle lists in hook_process_hashtable for urls ( closes #219 )
2018-05-21 10:24:57 +02:00
Sébastien Helleu
37d870092b
irc: display an error if memory can not be allocated in chghost callback
2018-05-21 08:47:19 +02:00
Sébastien Helleu
c0cb3a6178
Merge remote-tracking branch 'origin/pr/640'
2018-05-21 08:05:04 +02:00
Sébastien Helleu
7b15ffdb71
irc: add space before capability only if the string is not empty
2018-05-20 22:44:09 +02:00
Sébastien Helleu
fe66886398
irc: add missing space between capabilities in display of supported/enabled capabilities
2018-05-20 22:33:58 +02:00
Sébastien Helleu
3c29f92e9b
Merge remote-tracking branch 'origin/pr/639'
2018-05-20 22:22:20 +02:00
Sébastien Helleu
6b8f45f3bb
irc: replace calls to sprintf by snprintf
2018-05-20 21:41:17 +02:00
Sébastien Helleu
eb3eb4fdf3
irc: use dynamic string functions to display supported/enabled capabilities
2018-05-20 21:19:00 +02:00
Sébastien Helleu
a6e175f3e9
irc: add missing "cap_extended_join" in comment
2018-05-20 17:29:01 +02:00
Sébastien Helleu
c8da268df1
irc: fix code style
2018-05-20 17:29:01 +02:00
Sébastien Helleu
108004be95
irc: do a case-sensitive comparison of CAP command
2018-05-20 16:29:36 +02:00
Sébastien Helleu
a3193320a9
core: remove unneeded comment
2018-05-20 16:25:43 +02:00
Sébastien Helleu
8a929c8668
core: fix code style in function hashtable_add_from_infolist
2018-05-20 16:25:43 +02:00
Sébastien Helleu
ef1ed1535c
core: return an error if the infolist has no pointer to current item in function hashtable_add_from_infolist
2018-05-20 16:19:26 +02:00
Sébastien Helleu
6356646c25
irc: replace version x.y.z by 2.2 in comment
2018-05-20 15:25:57 +02:00
Sébastien Helleu
afb1d03053
Merge remote-tracking branch 'origin/pr/623' into irc-3.2-cap
2018-05-20 15:21:07 +02:00
Sébastien Helleu
0f8485f54e
buflist: add example of format for two bar items using a ternary operator in /help buflist.format.buffer
2018-05-19 14:47:59 +02:00
Sébastien Helleu
60254ff48d
irc: display current nick on connected servers in output of /server list|listfull ( closes #1193 )
2018-05-19 09:07:08 +02:00
Sébastien Helleu
762e1e6b1e
irc: remove unneeded check on variable pos
2018-05-19 08:15:00 +02:00
Sébastien Helleu
eb8043f2b4
relay: remove unneeded check on variable irc_argv
...
The variable "irc_argv" is always set if irc_argc > 0.
2018-05-19 08:14:56 +02:00
Sébastien Helleu
5756892203
exec: fix minimal length of unquoted string
2018-05-19 08:14:52 +02:00
Sébastien Helleu
4b784a631c
core: remove unneeded test on variable argv
2018-05-19 08:14:52 +02:00