Sebastien Helleu
40d8e61118
irc: fix uninitialized key_type in struct gnutls_retr2_st (for gnutls >= 2.11.0)
...
This was causing connection problem with following messages:
irc: TLS handshake failed
irc: error: Insufficient credentials for that request.
2011-10-15 15:50:40 +02:00
Sebastien Helleu
f843f904bc
core: fix bugs with calls to realloc
2011-08-28 15:25:30 +02:00
Sebastien Helleu
47ac88b3f5
core: replace deprecated gnutls function "gnutls_certificate_client_set_retrieve_function" by new function "gnutls_certificate_set_retrieve_function" (gnutls >= 2.11.0)
2011-08-26 18:01:33 +02:00
Sebastien Helleu
5e6e3de553
irc: return "count" in hashtable built by irc_server_sendf
2011-08-26 13:37:59 +02:00
Sebastien Helleu
4853a530b6
irc: improve split of privmsg, add split of some other messages (bug #29879 ), add new info_hashtable "irc_message_split", split irc messages in relay plugin
...
List of new features/bugs fixed:
- improve split of privmsg: keep CTCP in split
- add split of messages: ison, join, notice, wallops, 005, 353
- add new info_hashtable "irc_message_split" (for plugins/scripts)
- in relay plugin: split irc messages sent to clients of irc proxy
2011-08-26 10:31:37 +02:00
Sebastien Helleu
4df0edbe34
irc: fix short name of server buffer after command /server rename
2011-08-17 13:10:54 +02:00
Sebastien Helleu
5073cd3476
core: add buffer property "short_name_is_set", return name if short name is not set (in buffer infolist or property)
2011-08-14 16:04:12 +02:00
Sebastien Helleu
2c20426577
irc: set short name on buffers only if it was not set by another plugin/script
2011-08-14 13:20:47 +02:00
Sebastien Helleu
d27c459c1d
core: fix bugs with automatic layout (bug #26110 ), add support of merged buffers in layout (task #10893 )
2011-08-05 13:18:03 +02:00
Sebastien Helleu
47822ce80e
irc: fix crash when command "/buffer close" is used in a server command to close server buffer during connection (bug #33763 )
2011-07-13 18:28:29 +02:00
Sebastien Helleu
19bc95b961
core: many improvements on hdata
...
New features:
- add optional hdata name for variables in hdata
- add plugin API functions: hdata_get_var_hdata
- use hashtable to store hdata (created by WeeChat and plugins)
- free hdata and infolists created by plugin on plugin unload
- free all hdata on exit
- add "free" option to command /debug hdata
- remove hdata for hooks
2011-06-26 18:15:42 +02:00
Sebastien Helleu
c8b2a6a084
core: add "hdata" (direct access to WeeChat/plugin data)
2011-06-13 12:32:27 +02:00
Sebastien Helleu
f393d0a3d2
irc: add option "ssl_priorities" in servers (task #10106 , debian #624055 )
2011-04-28 12:29:56 +02:00
Sebastien Helleu
f002c8e7de
irc: add modifier "irc_in2_xxx" (called after charset decoding)
2011-04-26 18:19:27 +02:00
Sebastien Helleu
377024835a
irc: fix memory leak when copying or renaming server
2011-04-15 10:41:18 +02:00
Sebastien Helleu
2c2ebea3fd
irc: do not rejoin channels where /part has been issued before reconnection to server (bug #33029 )
2011-04-11 16:39:39 +02:00
Sebastien Helleu
8597f14bf6
irc: update short name of server buffer when server is renamed
2011-04-10 17:44:37 +02:00
Sebastien Helleu
b7b2cc8bd7
irc: fix local variable "away" on server buffer (set/delete it each time away is set or removed on server)
2011-03-23 16:11:23 +01:00
Sebastien Helleu
ea65e4d50f
Add new option irc.look.buffer_switch_autojoin, rename option irc.look.buffer_auto_switch_on_join to irc.look.buffer_switch_join (task #10506 )
2011-03-16 18:38:41 +01:00
Gu1ll4um3r0m41n
c265cad1c9
Fix verification of SSL certificates by calling gnutls verify callback (patch #7459 )
2011-03-02 15:20:36 +01:00
Sebastien Helleu
fcfe854441
Fix memory leak in flush of irc message queue
2011-01-02 15:28:20 +01:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
987044405b
Fix bug with charset decoding on IRC private buffers (decoding was made for local nick instead of remote nick) (bug #31890 )
2010-12-15 17:57:43 +01:00
Sebastien Helleu
c2fda185d8
Move some functions from irc-server.c and irc-protocol.c to irc-message.c
2010-11-21 13:06:37 +01:00
Sebastien Helleu
525b8fb87a
Fix dcc chat buffer name in xfer plugin (use irc server in name) (bug #29925 )
2010-11-12 17:59:02 +01:00
Sebastien Helleu
fc91093065
Fix bug with priority (low/high) for irc messages (all messages were sent with low priority)
2010-11-12 17:28:10 +01:00
Sebastien Helleu
045c936e4d
Fix color of buffer name in status bar after /upgrade for IRC servers connected with SSL
2010-11-12 10:18:44 +01:00
Sebastien Helleu
9ea73fda4b
Fix bug with /upgrade on ssl servers with prefix modes and chars
...
The value of isupport, prefix_modes and prefix_chars in irc server are now
removed on connection, not on disconnection.
2010-11-10 12:21:18 +01:00
Sebastien Helleu
fed54c196e
Update buffer local variables when irc server is renamed
2010-11-08 20:16:45 +01:00
Sebastien Helleu
e001c05710
Add IRC command /notify, new options for notify and infolist "irc_notify" (task #5441 )
...
This commit provides:
- new IRC command /notify
- new options: irc.look.notify_tags_ison, irc.look.notify_tags_whois,
irc.network.notify_check_ison, irc.network.notify_check_whois
- new option "notify" in servers (but should not be changed, only /notify
command should be used)
- infolist "irc_notify" to get notify list (by server or for all servers).
2010-11-06 11:38:48 +01:00
Sebastien Helleu
ac6b299e8b
Remove dead assignments
2010-10-31 18:23:16 +01:00
Sebastien Helleu
90f06b348e
Improve IRC nick prefixes, all modes (even unknown) are used with PREFIX value from message 005
2010-10-28 18:52:18 +02:00
Sebastien Helleu
ff79164350
Use IRC command arguments instead of full message for IRC redirection (when searching "string" in message)
2010-10-25 14:20:28 +02:00
Sebastien Helleu
868df21122
Add IRC command redirection (task #6703 )
2010-10-23 09:54:31 +02:00
Sebastien Helleu
b114d88687
Move some IRC options from network section to server section (task #10664 , task #10668 )
...
Options moved: connection_timeout, anti_flood_prio_high, anti_flood_prio_low,
away_check, away_check_max_nicks, default_msg_part, default_msg_quit.
2010-10-09 16:53:06 +02:00
Sebastien Helleu
6e89c47bf1
Switch to next server address when IRC error is received after TCP connection but before message 001 (bug #30884 )
2010-10-08 18:31:17 +02:00
Sebastien Helleu
36736564ab
Fix crash/bug when option "addresses" for an IRC server is unset or changed when WeeChat is connected to this server (bug #31268 )
2010-10-07 13:15:49 +02:00
Sebastien Helleu
e2a078a0b9
Reset infolist item cursor in callbacks for signals sending infolist pointer
2010-09-27 17:33:22 +02:00
Sebastien Helleu
d2d60d4711
Beta version of IRC proxy feature in Relay plugin
...
Major changes in Relay plugin:
- IRC proxy feature (beta),
- raw buffer.
Changes in IRC plugin:
- add tags for messages sent to servers,
- add signal "irc_input_send" to simulate text/command on an IRC buffer,
- add prefix in infolist "irc_nick".
2010-09-17 14:47:36 +02:00
Sebastien Helleu
5d0ad1f631
Do not send WHO on channel joined (to check away nicks) if option irc.network.away_check is set to 0
2010-09-12 10:42:29 +02:00
Sebastien Helleu
712623547f
Add new functions in plugin API (hashtable_get_string, hook_info_hashtable, info_get_hashtable), add IRC info_hashtable "irc_parse_message"
...
Note: tcl >= 8.5 is now required (for tcl plugin).
2010-08-27 15:59:06 +02:00
Sebastien Helleu
b7dfda9d4d
Fix bug in IRC parser when no argument is received after command, no callback was called, and message was silently ignored (bug #30640 )
2010-08-03 17:59:12 +02:00
Sebastien Helleu
95c5ca9a96
Fix import of certificates created by openssl >= 1.0.0 (bug #30316 )
2010-07-25 12:54:26 +02:00
Sebastien Helleu
558ca510f7
Fix display of local SSL certificate when it is sent to IRC server
2010-07-06 13:36:23 +02:00
Sebastien Helleu
aefa40836b
Improve irc lag indicator: two colors (counting and finished), update item even when pong has not been received, lag_min_show is now in milliseconds
2010-07-06 12:17:30 +02:00
Sebastien Helleu
6562d676fe
Update licenses and copyrights, add missing author names in sources
2010-06-22 19:46:28 +02:00
Sebastien Helleu
e7d1485c5a
Use empty real name by default in IRC config, instead of reading real name in /etc/passwd (bug #30111 )
2010-06-11 11:47:28 +02:00
Sebastien Helleu
4a61dc9633
Fix bug with command-line option "irc://" (bug #29990 ), new format for port and channels
2010-06-02 15:17:54 +02:00
Sebastien Helleu
b36ed39388
Fix bug with nick prefix '*' (chan founder) on some IRC servers (bug #29890 )
2010-05-29 09:18:19 +02:00
Sebastien Helleu
64d7fa7e51
Fix bug with option irc.network.lag_check when value is 0 (zero)
2010-05-23 12:18:45 +02:00