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
cfd221014c
api: add argument "bytes" in function string_dyn_concat
2020-08-23 23:27:57 +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
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
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
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
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
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
Simmo Saan
517c4c2903
irc: fix realname delimiter color in WHO/WHOX response
2020-05-09 19:31:34 +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
e130ee7358
core: make GnuTLS a required dependency
2020-04-18 11:34:59 +02:00
Sébastien Helleu
4481b93d35
irc: add missing modifier "irc_color_decode_ansi" in comment on function irc_color_modifier_cb
2020-03-30 07:31:11 +02:00
Sébastien Helleu
03ffd396a4
irc: move functions irc_protocol_get_message_tags and irc_protocol_parse_time before protocol callbacks
2020-03-28 13:39:48 +01:00
Sébastien Helleu
2efad93220
irc: remove empty lines
2020-03-28 10:36:10 +01:00
Sébastien Helleu
349251feb1
irc: fix typo in description of message 001
2020-03-27 22:51:15 +01:00
Sébastien Helleu
0834286843
irc: add examples of NOTICE and PRIVMSG messages to channel ops
2020-03-27 22:50:52 +01:00
Sébastien Helleu
c14d5ba004
irc: use larger buffer for message in function irc_message_split_authenticate, just in case
2020-03-21 14:31:53 +01:00
Sébastien Helleu
4480c7b7cc
irc: split AUTHENTICATE message in 400-byte chunks ( closes #1459 )
2020-03-21 14:28:53 +01:00
Sébastien Helleu
bf42a1ebc5
irc: replace "char *" by "const char *" in arguments of split functions
2020-03-21 14:27:47 +01:00
Sébastien Helleu
c29b45a0f2
api: add info "auto_connect" ( closes #1453 )
2020-03-20 20:42:05 +01:00
Sébastien Helleu
e3ffe8c785
irc: set channel modes to NULL instead of "+" when no modes are remaining
2020-03-15 07:19:16 +01:00
Sébastien Helleu
4033c55fa2
irc: add another example of MODE message
2020-03-15 07:19:16 +01:00
Sébastien Helleu
00913de02f
irc: remove unused variable "modes" from function irc_bar_item_buffer_name_content
2020-03-15 07:19:16 +01:00
Sébastien Helleu
ba70173a2e
irc: fix variable name in function irc_server_connect when GnuTLS is disabled
2020-03-12 07:35:04 +01:00
Sébastien Helleu
5f94636b91
irc: rename argument in function irc_protocol_is_numeric_command
2020-03-10 19:19:38 +01:00
Sébastien Helleu
2fe27584ff
irc: return 0 in function irc_protocol_is_numeric_command if the command is NULL or empty
2020-03-10 19:15:59 +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
3590302183
irc: copy temporary server flag in command /server copy
2020-03-08 13:56:30 +01:00
Sébastien Helleu
230f648584
irc: use irc_server_prefix_chars_default if server->prefix_chars is NULL
2020-02-10 21:18:47 +01:00
Sébastien Helleu
9904cb6d2e
irc: fix crash when receiving a malformed message 352 (who)
...
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-10 07:37:11 +01:00
Sébastien Helleu
40ccacb433
irc: fix crash when a new message 005 is received with longer nick prefixes
...
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-09 20:04:45 +01:00
Sébastien Helleu
6f4f147d8e
irc: fix crash when receiving a malformed message 324 (channel mode)
...
Thanks to Stuart Nevans Locke for reporting the issue.
2020-02-08 20:24:50 +01:00
Sébastien Helleu
2769989751
irc: remove nested switches in function irc_color_decode_ansi_cb
2020-02-07 21:29:46 +01:00
Sébastien Helleu
60f2734184
irc: use dynamic string in function irc_color_encode
2020-02-05 21:51:11 +01:00
Sébastien Helleu
5b902eb804
irc: replace realloc by dynamic string in function irc_color_decode
2020-02-05 21:50:39 +01:00
Sébastien Helleu
4e2718d234
irc: add nick changes in the hotlist (except self nick change)
2020-02-01 23:02:55 +01:00
Sébastien Helleu
4f9c4fecd3
irc: case-insensitive comparison on incoming CTCP command, force upper case on CTCP replies ( closes #1439 )
2020-01-11 11:02:41 +01:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
bb62485aa9
irc: fix memory leak when the channel topic is changed
2019-12-15 07:27:45 +01:00
Simmo Saan
c487965e8b
irc: add GnuTLS >= 3.1.0 requirement to ssl_password option help (issue #115 )
2019-12-13 21:18:22 +01:00
Simmo Saan
139a7053e4
irc: fix compilation with GnuTLS < 3.1.0 (issue #115 )
...
Due to this ssl_password will be partially unused with GnuTLS < 3.1.0.
In that case an encrypted SSL client cert import will simply fail.
2019-12-13 21:18:22 +01:00