Sébastien Helleu
14496c41a3
irc: evaluate content of server option "nicks"
2015-07-10 20:10:22 +02:00
Sébastien Helleu
cc774d099b
irc: do not allow command /query with a channel name ( closes #459 )
2015-07-09 20:35:27 +02:00
Sébastien Helleu
df66b2e6fe
irc: fix type of value returned by function irc_buffer_build_name
2015-07-04 16:36:42 +02:00
Sébastien Helleu
bd850398e8
core: add missing comments before functions when the result must be freed after use
2015-07-04 08:24:53 +02:00
Sébastien Helleu
0ff8d7b543
irc: decode/encode only text in IRC messages and not the headers (bug #29886 , closes #218 , closes #451 )
2015-06-27 17:00:53 +02:00
Sébastien Helleu
7c1b7df2cf
irc: fix crash with commands /allchan, /allpv and /allserv if the executed command closes buffers ( closes #445 )
2015-06-16 20:28:50 +02:00
Sébastien Helleu
5bac79c4f1
irc: do not open auto-joined channels buffers when option "-nojoin" is used in command /connect
...
Even if the option irc.look.buffer_open_before_autojoin is on.
2015-06-15 20:41:49 +02:00
Sébastien Helleu
7c6c450662
core: replace "create" by "add" in messages and docs for IRC servers and proxies
2015-06-04 22:00:10 +02:00
Sébastien Helleu
7a87a426c8
Merge remote-tracking branch 'origin/pr/419'
2015-05-22 20:13:30 +02:00
Sébastien Helleu
e2310a4264
irc: display a warning when the option irc.look.display_away is set to "channel"
2015-05-07 07:07:09 +02:00
Max Teufel
84e55e9fac
irc: avoid warnings for unsupported WHOX messages
...
Fixes #376 . This avoids warnings for WHOX messages that we do not parse/
understand yet. Previously, IRC_PROTOCOL_MIN_ARGS was 5 where it should
have been 4 (which avoids warnings for WHOX commands only requesting one
WHOX type). Changing the behavior to support all different WHOX types
seems like a bad idea to me, as it's quite hard to figure out which
information was requested with the WHOX command.
2015-05-04 18:01:36 +02:00
Sébastien Helleu
71dd64678c
core: add comments after some #endif
2015-04-30 21:15:30 +02:00
Sébastien Helleu
499f36a7cf
irc: optimize search of a nick in nicklist (up to 3x faster)
2015-04-29 21:20:08 +02:00
Sébastien Helleu
ccc6cdace1
irc: fix color of new nick in nick changes messages when option irc.look.color_nicks_in_server_messages is off
2015-04-25 20:38:03 +02:00
Sébastien Helleu
4695b26a57
irc: fix crash when setting an invalid regex with "/list -re" during a /list server response ( closes #412 )
2015-04-25 08:54:48 +02:00
Sébastien Helleu
7ad2744b33
core: sort config options by name in source headers
2015-04-19 10:42:53 +02:00
Sébastien Helleu
1878c56c70
core: sort config options by name in sources
2015-04-19 08:49:30 +02:00
Sébastien Helleu
c9668dde7e
irc: remove compiler warning on isxdigit
2015-04-18 23:16:29 +02:00
Sébastien Helleu
fe9a9fbfce
irc: add support of SHA-256 and SHA-512 algorithms in server option "ssl_fingerprint" ( closes #281 )
2015-04-18 18:52:20 +02:00
Sébastien Helleu
9598bd4919
irc: move some #ifdef HAVE_GNUTLS around functions
2015-04-18 10:17:48 +02:00
Sébastien Helleu
dea8b0bb09
irc: add option "-noswitch" in command /query ( closes #394 )
2015-04-14 07:47:50 +02:00
Sébastien Helleu
55e2f258b7
irc: fix display of PART messages on channels with +a (anonymous flag) ( closes #396 )
...
The purpose of the fix is to display any PART received on a channel,
even if the nick is not found in the channel's nicklist
(when channel is "+a", all PART are received from nick "anonymous").
2015-04-13 07:56:06 +02:00
Sébastien Helleu
9a0d6899f9
irc: fix example using two servers in /help server ( closes #371 )
2015-03-23 22:41:19 +01:00
Sébastien Helleu
8bcf31950e
irc: fix freenode server names used in /help server ( closes #365 )
2015-03-22 08:02:54 +01:00
Sébastien Helleu
770152dea7
irc: remove useless rename of channel buffer on JOIN received with different case ( closes #336 )
...
This bug was introduced by commit 624083f41a .
2015-02-21 08:35:26 +01:00
Max Teufel
1d8e6c10d7
irc: format IRC message 008 (RPL_SNOMASK) ( closes #144 )
2015-02-15 15:32:07 +01:00
Sébastien Helleu
63a9d77339
irc: fix crash in callback of message 354 when the nick is not found in channel
2015-02-10 21:58:47 +01:00
Sébastien Helleu
0d9398d038
irc: fix completion of commands /allchan and /allpv
2015-01-28 07:45:01 +01:00
Sébastien Helleu
6a7f6f5095
irc: send WHOX message only if server supports it
2015-01-25 20:30:35 +01:00
Sébastien Helleu
8ad308a398
irc: add "account-notify" in help of server option "capabilities"
2015-01-25 18:15:32 +01:00
Sébastien Helleu
391d88d296
irc: fix set of variable "pos_account" in callback for message "354"
2015-01-25 17:36:59 +01:00
Sébastien Helleu
b1a1e14832
irc: free account before changing its value
2015-01-25 17:34:22 +01:00
Sébastien Helleu
5559b43518
irc: set away flag to 0 only if channel and nick are found
2015-01-25 17:34:22 +01:00
Sébastien Helleu
4c1e13fd45
irc: force host to NULL after free
2015-01-25 17:34:22 +01:00
Sébastien Helleu
0fade5ccd0
irc: move account callback to keep protocol callbacks sorted alphabetically
2015-01-25 16:02:46 +01:00
Sébastien Helleu
939c7b29c0
irc: shorten code in account callback
2015-01-25 16:00:31 +01:00
Sébastien Helleu
0f1e997090
irc: add "account" in irc_nick_print_log()
2015-01-25 15:25:41 +01:00
Sébastien Helleu
3c885fa80f
irc: add "account" in irc_nick hdata
2015-01-25 15:24:52 +01:00
Sébastien Helleu
fad11a6b93
irc: remove useless save of variables in irc_nick_new() when updating nick
2015-01-25 15:23:39 +01:00
Sébastien Helleu
055d7de721
irc: shorten code to call irc_nick_new() in join callback
2015-01-25 15:17:51 +01:00
Sébastien Helleu
62256251be
irc: change type of "account" parameter to "const char *" in irc_nick_new()
2015-01-25 15:16:55 +01:00
Sébastien Helleu
5886820679
irc: remove compiler warning about unused parameter in irc_channel_remove_account()
2015-01-25 15:13:11 +01:00
Sébastien Helleu
0a75d79e93
irc: fix memory leak on nick account in irc_channel_remove_account()
2015-01-25 15:00:38 +01:00
Max Teufel
eea6b07edc
irc: don't keep valid account names when account-notify is disabled
2015-01-24 14:33:39 +01:00
Max Teufel
f379adffd0
irc: add support for CAP account-notify
2015-01-24 14:09:54 +01:00
Sébastien Helleu
ac8ccba8c8
irc: remove server "freenode" from default config file ( closes #309 )
2015-01-24 13:55:29 +01:00
Sébastien Helleu
1a68242f95
irc: don't close channel buffer on second /part when option irc.look.part_closes_buffer is off ( closes #313 )
2015-01-24 09:37:47 +01:00
Sébastien Helleu
a617cd857a
irc: fix restore of query buffers on /upgrade ( closes #315 )
...
After /upgrade it was not possible to send a message in the query buffer or to
receive messages from this nick.
This commit fixes the search of query buffer when creating the irc channel
(with type "private").
The bug was introduced by commit 9749b65f7e .
2015-01-23 20:02:25 +01:00
Sébastien Helleu
b0117f0d18
core: add gnutls version in #if compiler directives
2015-01-21 07:50:54 +01:00
Sébastien Helleu
b30ad7d7f6
irc: fix compilation of SASL "ecdsa-nist256p-challenge"
...
Gnutls >= 3.0.21 is now required for SASL "ecdsa-nist256p-challenge".
Gnutls >= 3.3.0 is required to display the public key when connecting.
2015-01-21 07:49:20 +01:00