Sebastien Helleu
eb11921f16
irc: add missing RFC 2813 in header
2013-02-10 15:57:38 +01:00
Sebastien Helleu
ad60321843
irc: fix typo in comment
2013-01-31 08:57:09 +01:00
Sebastien Helleu
25eaec3864
core: use size of 32 for hashtables (instead of 4, 8 or 16)
...
A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).
2013-01-26 19:26:43 +01:00
Sebastien Helleu
05390016c0
irc: add color in output of /names when result is on server buffer (channel not joined) (bug #38070 )
2013-01-25 19:05:23 +01:00
Sebastien Helleu
faccb87a10
irc: fix display of actions (/me) when they are received from a relay client (in channel and private buffers) (bug #38027 )
2013-01-06 12:25:34 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
e557239a4c
irc: remove unneeded check of nick pointer (can not be NULL there)
2012-12-25 16:58:58 +01:00
Sebastien Helleu
45d5034ea0
irc: fix memory leak when updating modes of channel
2012-12-25 16:58:18 +01:00
Sebastien Helleu
2e48874ce0
irc: add tags "irc_nick1_xxx" and "irc_nick2_yyy" in message displayed for command "NICK"
2012-12-24 16:23:01 +01:00
Sebastien Helleu
2597bafe36
irc: fix crash when splitting a message with tags
2012-12-24 15:40:50 +01:00
Sebastien Helleu
d37184e450
irc: return git version in CTCP VERSION and FINGER by default, add "$git" and "$versiongit" in format of CTCP replies
2012-12-16 23:11:02 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +01:00
Sebastien Helleu
641de51bdb
api: allow creation of structure with hdata_update (allowed for hdata "history")
2012-12-08 23:54:07 +01:00
Nils Görs
d224594194
irc: read local variable "autorejoin" in buffer to override server option "autorejoin" (task #12256 )
2012-12-05 19:39:50 +01:00
Nils Görs
dd99a1cf2c
irc: add option "-auto" for command /connect (task #9340 )
2012-12-05 18:32:30 +01:00
Sebastien Helleu
37a3001dc7
xfer: display remote IP address for DCC chat/file (task #12289 ) (patch from Nils Görs)
2012-11-27 22:45:22 +01:00
Sebastien Helleu
215109e1a5
irc: fix compilation on FreeBSD: replace call to tzset by gmtime/localtime
2012-11-25 11:01:20 +01:00
Sebastien Helleu
46a3d95aab
irc: read timestamp or ISO 8601 date format in tag "time" (capability "server-time")
2012-11-24 09:43:50 +01:00
Sebastien Helleu
53b8cdfef3
irc: add support of tags in messages, add support of "server-time" capability (task #12255 )
...
For a server called "znc" in WeeChat, following command will enable the
"server-time" capability:
/set irc.server.znc.capabilities "znc.in/server-time"
2012-11-23 21:31:22 +01:00
Sebastien Helleu
f1d6f2c40a
irc: fix crash on /upgrade (free channels before server data when a server is destroyed) (bug #37736 )
2012-11-14 20:18:10 +01:00
Sebastien Helleu
bb09670757
irc: add comments in function irc_color_decode
2012-11-14 20:16:12 +01:00
Sebastien Helleu
9453e81baa
irc: fix crash when decoding IRC colors in strings (bug #37704 )
2012-11-09 18:10:42 +01:00
Nils Görs
bae9215e9e
irc: fix refresh of bar item "away" after command /away or /disconnect
2012-11-05 20:17:21 +01:00
Sebastien Helleu
c848cb42d8
irc: fix display bug in output of /quiet or /mode #channel +q (wrong nick displayed)
2012-11-03 09:59:48 +01:00
Nils Görs
8e5d313885
irc: add command /quiet, fix display of messages 728/729 (quiet list, end of quiet list) (task #12278 )
2012-11-02 18:15:24 +01:00
Nils Görs
b1005fc23e
irc: add option irc.network.alternate_nick to disable dynamic nick generation when all nicks are already in use on server (task #12281 )
2012-11-02 17:51:12 +01:00
Sebastien Helleu
7002c44622
irc: fix compilation when gnutls is disabled (bug #37639 )
2012-11-02 09:58:12 +01:00
Sebastien Helleu
9037c0fe4c
irc: add option irc.network.whois_double_nick to double nick in command /whois
2012-10-20 18:03:08 +02:00
Nils Görs
7ee9e58d1b
irc: send whois on self nick when /whois is done without argument on a channel (task #12273 )
2012-10-20 17:19:55 +02:00
Sebastien Helleu
ed506558e8
core: add option "-quit" for command /upgrade (save session and quit without restarting WeeChat, for delayed restoration)
2012-10-18 20:59:56 +02:00
Sebastien Helleu
43c01f76a2
irc: remove local variable "away" in server/channels buffers after server disconnection (bug #37582 )
2012-10-16 19:25:36 +02:00
Sebastien Helleu
452229cf32
irc: fix cancel of auto-reconnection to server with /disconnect
...
This bug was introduced by commit 5931eed85d
2012-10-14 11:17:54 +02:00
Simon Arlott
248aa8d73a
api: connect with IPv6 by default in hook_connect (with fallback to IPv4), shuffle list of hosts for a same address (task #11205 )
2012-10-14 10:59:00 +02:00
Sebastien Helleu
5cfeb2f2bc
irc: add option "-noswitch" for command /join (task #12275 )
2012-10-09 21:33:09 +02:00
Sebastien Helleu
aa6b886386
irc: fix crash when message 352 has too few arguments (bug #37513 )
2012-10-06 19:05:13 +02:00
Sebastien Helleu
5931eed85d
irc: remove unneeded server disconnect when server buffer is closed and server is already disconnected
...
This commit fixes a problem with the script autoconnect.py: the script hooks
signal "irc_server_disconnected", and this signal was sent 2 times for each
server on /quit: one time when servers are disconnected, and one time when
servers are destroyed (because buffer is closed, and then server disconnected
again). The script forces save of irc.conf on each disconnection, so some
servers were lost in irc.conf, when some servers have already been destroyed.
2012-10-06 16:07:53 +02:00
Peter Boström
a80635c8b2
irc: fix rejoin of channels with a key, ignore value "*" sent by server for key (bug #24131 )
2012-09-18 18:08:21 +02:00
Sebastien Helleu
a83007d118
core: fix link with gcrypt lib in cmake (use var $GCRYPT_LDFLAGS instead of "gcrypt") (bug #37373 )
2012-09-17 16:01:05 +02:00
Sebastien Helleu
f346704d32
irc: fix SASL mechanism "external" (bug #37274 ) (patch from phlux)
2012-09-16 14:26:50 +02:00
Sebastien Helleu
09c274be28
irc: fix parsing of message 346 when no nick/time are given (bug #37266 )
2012-09-04 13:25:43 +02:00
Simon Arlott
36356521a1
irc: switch to next address after a timeout when connecting to server (bug #37216 )
2012-09-03 11:01:26 +02:00
Simon Arlott
055116f2b7
irc: fix bug when changing server option "addresses" with less addresses (bug #37215 )
2012-09-03 10:26:45 +02:00
Sebastien Helleu
606be401cc
irc: add network prefix in some irc/gnutls messages
2012-09-03 09:43:38 +02:00
Sebastien Helleu
df80aa5fc9
api: allow update for some variables of hdata, add new functions hdata_update and hdata_set
2012-08-27 09:47:46 +02:00
Sebastien Helleu
4a3756e753
irc: add network prefix in irc (dis)connection messages
2012-08-23 22:12:50 +02:00
Sebastien Helleu
2c0b860d62
irc: keep trailing spaces in IRC messages only for some commands (if message ends with text from user)
2012-08-23 08:03:04 +02:00
Sebastien Helleu
7f3d7e5f29
irc: generate alternate nicks dynamically when all nicks are already in use (task #12209 )
2012-08-22 19:28:19 +02:00
Sebastien Helleu
9310737d5d
irc: fix split of received IRC message: keep spaces at the end of message
2012-08-22 15:50:26 +02:00
Sebastien Helleu
a4e15e8ef4
irc: move options weechat.look.nickmode{_empty} to irc.look.nick_mode{_empty}, add nick mode for action messages (patch from Nils Görs)
...
The option irc.look.nick_mode has a new type: integer with values:
none/prefix/action/both (default is "prefix", which is old behaviour).
2012-08-20 18:25:23 +02:00