Sébastien Helleu
cfc491f7d1
core: remove unneeded initialization of variable "highlight"
2018-08-15 16:11:27 +02:00
Sébastien Helleu
eb64c8d65c
irc: add missing initialization of variable "chghost"
2018-08-15 16:02:43 +02:00
Sébastien Helleu
cb8b60028b
trigger: fix /help trigger
2018-08-15 12:35:42 +02:00
Sébastien Helleu
8c47ca6926
core: add comments in function to print a line
2018-08-15 12:17:42 +02:00
Sébastien Helleu
7b0cced319
core: fix destruction of line prefix in weechat_print modifier
2018-08-15 12:16:52 +02:00
Sébastien Helleu
8e939b089d
core: fix comparison of strings in weechat_print modifier
2018-08-15 12:16:06 +02:00
Sébastien Helleu
2f2263afa6
trigger: add missing initialization of variable "tags" in hook line callback
2018-08-15 11:59:26 +02:00
Sébastien Helleu
6d061a9ac0
api: fix memory leak in function string_split
2018-08-15 09:42:43 +02:00
Sébastien Helleu
aff752c50b
trigger: fix memory leak in hook_line trigger callback
2018-08-15 09:33:25 +02:00
Sébastien Helleu
bb8ac59c32
core: fix memory leak when removing a line hook
2018-08-15 09:32:56 +02:00
Sébastien Helleu
66d11b7e46
trigger: add missing values for line trigger
2018-08-15 09:02:58 +02:00
Sébastien Helleu
3bdab1c538
core: fix type of variables "buffer_name" and "buffer_type" sent to the hook_line callback
2018-08-14 14:51:18 +02:00
Sébastien Helleu
49c3e62106
core: split wee-hook.c into multiple sources
2018-08-14 07:15:39 +02:00
Sébastien Helleu
42be1a74a0
api: add function hook_line
2018-08-12 21:45:00 +02:00
Sébastien Helleu
12a6f74ec0
core: fix check of tags in lines
...
All changes:
- fix check of tags in lines: check lines without tags, fix check of tags with
negation ("!tag")
- add string functions string_split_tags and string_free_split_tags
- add tests on function gui_line_match_tags
2018-08-12 20:30:13 +02:00
Sébastien Helleu
a14973816b
Merge pull request #1225 from weechatter/partial_completion
...
gui: fix uncleared completion item (#1162 )
2018-07-27 07:51:36 +02:00
Sébastien Helleu
7d7ca34a41
core: allow partial buffer name in command /buffer close ( closes #1226 )
2018-07-27 07:48:02 +02:00
Sébastien Helleu
b7d6be5936
scripts: fix duplicated lines in output of script eval (python, perl, ruby, lua and guile)
...
When there was a call to a hook callback during the eval, the output buffer was
cleared too late, and displayed multiple times in the buffer.
This commit clears the buffer even before we display it (this display can
trigger a hook callback).
2018-07-25 20:19:26 +02:00
Nils Görs
b934e874d0
gui: fix uncleared completion item ( #1162 )
2018-07-21 12:50:39 +02:00
Sébastien Helleu
df27a3b76a
core: send signal "key_pressed" for mouse code only if the string is UTF-8 valid ( closes #1220 )
2018-07-15 15:09:31 +02:00
Jos Ahrens
62ad65ef45
core: improve instructions to report the crash
2018-07-15 14:09:34 +02:00
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