Simmo Saan
08da7c6586
irc: implement capability upgrading fully
2017-06-17 20:10:45 +03:00
Simmo Saan
453434644a
irc: add hashtables to keep track of all capabilities
2017-06-17 19:31:33 +03:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
This pointer is the first argument received by callbacks, and the
existing argument "data" is now automatically freed by WeeChat when the
object containing the callback is removed.
With this new pointer, the linked list of callbacks in scripts has been
removed. This will improve speed of scripts (using a lot of hooks),
reduce memory used by scripts and reduce time to unload scripts.
Following functions are affected in the C API:
* exec_on_files
* config_new
* config_new_section
* config_new_option
* hook_command
* hook_command_run
* hook_timer
* hook_fd
* hook_process
* hook_process_hashtable
* hook_connect
* hook_print
* hook_signal
* hook_hsignal
* hook_config
* hook_completion
* hook_modifier
* hook_info
* hook_info_hashtable
* hook_infolist
* hook_hdata
* hook_focus
* unhook_all_plugin
* buffer_new
* bar_item_new
* upgrade_new
* upgrade_read
2016-03-21 18:11:21 +01:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Sébastien Helleu
ad45fd775d
Merge remote-tracking branch 'origin/pr/351'
2015-12-20 10:13:29 +01:00
Sébastien Helleu
9366873222
irc: remove blank line at the end of file
2015-08-25 07:14:42 +02:00
Sébastien Helleu
5aa93fdbb7
irc: fix update of lag item when the server lag changes
2015-08-05 20:51:12 +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
Max Teufel
e00d7f2bfd
irc: track realnames using extended-join and WHO
2015-03-07 15:46:02 +01:00
Max Teufel
f379adffd0
irc: add support for CAP account-notify
2015-01-24 14:09:54 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
001ea53f9d
core: fix crash on "weechat --upgrade" if no .upgrade files are found
2014-04-12 21:45:27 +02:00
Sébastien Helleu
2a9bd75eee
core: close .upgrade files before deleting them after /upgrade
2014-04-03 14:23:31 +02:00
Sébastien Helleu
474541b857
irc: add support of "away-notify" capability ( closes #12 )
2014-03-30 16:16:13 +02:00
Sebastien Helleu
3acdcee0d9
irc: use MONITOR instead of ISON for /notify when it is available on server (task #11477 ) (patch from Nils Görs)
2014-01-23 11:31:57 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
bfd8c6918c
irc: add support of UHNAMES (capability "userhost-in-names") (task #9353 )
2013-04-23 21:23:07 +02:00
Sebastien Helleu
a08603c24c
irc: add option irc.look.display_join_message (task #10895 )
2013-03-24 13:02:26 +01:00
Sebastien Helleu
bc079b007d
irc: unmask smart filtered join if nick speaks in channel some minutes after the join, new option irc.look.smart_filter_join_unmask (task #12405 )
...
The nick changes are tracked and will be unmasked with the join.
Events triggering the unmask of join are: a message (can be CTCP), a notice or
an update of topic.
2013-02-17 13:27:36 +01:00
Sebastien Helleu
c1bc23b052
irc: fix memory leak in purge of hashtables with joins (it was done only for the first server in the list)
2013-02-16 10:00:28 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +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
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
Sebastien Helleu
00a9028f42
irc: set callback "nickcmp" in channel buffers
2012-06-14 20:07:06 +02:00
Sebastien Helleu
21b87c428c
irc: update channel modes by using chanmodes from message 005 (do not send extra command "MODES" to server), fix parsing of modes (bug #36215 )
2012-05-15 12:48:50 +02:00
Sebastien Helleu
d4184f78c5
irc: do not send command "MODE #channel" on manual /names (do it only when names are received on join of channel) (bug #35930 )
2012-03-22 16:02:25 +01:00
Sebastien Helleu
73476cc0f8
irc: fix redirection of message when message is queued for sending on server
2012-03-12 11:55:35 +01:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
4cde51a27f
irc: use redirection to get channel modes after update of modes on channel, display output of /mode #channel
2012-01-06 11:24:01 +01:00
Sebastien Helleu
a35364524a
irc: add optional server in info "irc_is_channel" (before channel name) (bug #35124 ), add optional server in info_hashtable "irc_message_parse"
2011-12-25 23:00:18 +01:00
Sebastien Helleu
7610b9b00c
irc: add missing restore of variables in server upgrade (nick_max_length, casemapping)
2011-12-20 12:19:46 +01:00
Sebastien Helleu
e3b7c8fdb7
irc: add case insensitive string comparison based on casemapping of server (rfc1459, strict-rfc1459, ascii) (bug #34239 )
2011-11-12 10:56:52 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
55aa584a2b
plugins: fix memory leaks when setting buffer callbacks after /upgrade (plugins: irc, relay, xfer, scripts)
2011-04-15 10:40:23 +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
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +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
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
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
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
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
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
2dee40dd1a
Add isupport value in IRC servers (content of IRC message 005), with new infos: irc_server_isupport and irc_server_isupport_value
2010-05-22 10:51:43 +02:00
Sebastien Helleu
6253e3ac37
Add optional message in IRC private buffer when nick is back on server after a /quit
...
New option: "irc.look.display_pv_back" (default value is "on").
Option "irc.look.show_away_once" has been renamed to "irc.look.display_pv_away_once".
2010-05-21 18:19:02 +02:00
Sebastien Helleu
87d29b1987
Add new options irc.network.autoreconnect_delay_growing and irc.network.autoreconnect_delay_max (task #10338 )
2010-04-21 23:24:05 +02:00
Sebastien Helleu
31bfcf96c7
Reformat and add comments for description of C sources
2010-04-08 18:15:00 +02:00