1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00
Commit Graph

54 Commits

Author SHA1 Message Date
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 101fa2cab8 irc: fix channel forwarding (closes #643)
The problem happens when the option
irc.look.buffer_open_before_{autojoin|join} is on.
2016-01-06 07:17:44 +01:00
Sébastien Helleu 3330724574 core: update copyright dates 2016-01-01 11:09:53 +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 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 a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Sébastien Helleu 624083f41a irc: open channel buffers before the JOIN is received from server (autojoin and manual joins) (closes #216)
New options:
- irc.look.buffer_open_before_autojoin
- irc.look.buffer_open_before_join
2014-12-14 20:23:45 +01:00
Sébastien Helleu 013165209a irc: remove IRC color codes from buffer title in channels (closes #237) 2014-10-31 07:48:46 +01:00
Sébastien Helleu 37ad9e3684 irc: add option irc.look.join_auto_add_chantype (closes #65) 2014-05-06 21:25:31 +02:00
Sebastien Helleu 9b380a935b core: fix use of reserved C identifiers in headers (closes #31) 2014-03-19 10:39:13 +01:00
Sebastien Helleu f285fdafa0 irc: add value "353" in option irc.look.display_join_message
So now the values mean:
- 353: names on channel
- 366: names count (before this commit it meant 353 + 366)
2014-01-28 18:31:03 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu 5ce1a3e867 irc: fix groups in channel nicklist when reconnecting to a server that supports more nick prefixes than the previously connected server 2013-11-07 20:52:47 +01:00
Sebastien Helleu cf8a125ef2 irc: fix duplicate nick completion when someone rejoins the channel with same nick but a different case (bug #38841) 2013-04-28 13:34:44 +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 149c77decd core: fix typos in many comments and some strings 2013-03-17 12:55:20 +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 f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01: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 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 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 c8b2a6a084 core: add "hdata" (direct access to WeeChat/plugin data) 2011-06-13 12:32:27 +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 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 dcdba08f8a Update comments after #endif in C headers 2010-06-25 15:03:39 +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 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 bd1b6c1794 Add option irc.look.item_nick_prefix, rename some IRC options for bar items 2010-02-06 12:14:45 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu 265fa492d5 Add option "autorejoin_delay" for servers (task #8771), fix autorejoin on channels with key 2009-12-16 15:18:00 +01:00
Sebastien Helleu 018973370d Add IRC option to use same nick color in channel and private (on by default) (task #9870) 2009-11-19 14:48:36 +01:00
Sebastien Helleu 5650f035dd Fix problem with read marker when manually switching to other buffer with some commands like /query 2009-01-30 12:46:44 +01:00
Sebastien Helleu 18a62f1dac Add Jabber plugin (alpha version, many Jabber features are missing)
This commit introduces Jabber/XMPP protocol for WeeChat. It uses iksemel lib.
Please note many major Jabber features are missing:
- roster management (add/remove/.. buddies),
- MUC,
- transports.
It is possible to define servers (with /jabber), connect to them (with
/jconnect), disconnect (/jdisconnect) and chat with buddies (with /jchat).
2009-01-15 15:29:05 +01:00
Sebastien Helleu 88aa905ee3 Remove unused functions and prototypes 2009-01-04 01:05:33 +01:00
Sebastien Helleu 2115f3f675 Update copyright dates 2009-01-03 10:06:53 +01:00
Sebastien Helleu adb1fe0747 Improve nick completion: complete first by nicks that highlight me, before nicks speaking without highlight 2008-12-17 15:44:10 +01:00
Sebastien Helleu 8724fc18af Use of const for some functions returning "char *" 2008-11-15 22:35:12 +01:00
Sebastien Helleu b712ed09d7 Add smart join/part/quit message filter in IRC plugin, add names for filters 2008-10-25 19:13:43 +02:00
Sebastien Helleu 0839b359f9 Add new hooks (info and infolist), IRC plugin now return infos and infolists 2008-08-30 00:25:56 +02:00
Sebastien Helleu b76d7e4a5c Reintroduce /upgrade command, working only with core and IRC plugin today
Command will be improved in near future and other plugins like xfer
will be modified to manage upgrade process.
2008-08-19 23:22:52 +02:00
Sebastien Helleu 1c1f966aba Remove old notify code in irc plugin (done by notify plugin) 2008-06-17 16:22:30 +02:00
Sebastien Helleu 3a53257032 Add "const" keyword for some "char *" function arguments (core and plugins API) 2008-06-03 10:56:51 +02:00
Sebastien Helleu ede921cc4d Remove old dcc code, unused now 2008-05-20 17:29:44 +02:00
Sebastien Helleu 6d37f185c0 Fix crash after closing channels/pv (internal channel structure was not deleted) (bug #23178) 2008-05-06 17:39:44 +02:00
Sebastien Helleu e3b52115c7 Update of year in some copyrights 2008-01-02 12:47:09 +01:00
Sebastien Helleu 9222a7b109 Added group support for nicklist, fixed some bugs in plugins API and IRC plugin
Added group support for nicklist (with subgroups).
Partial changes in IRC protocol functions (new arguments with argv and argv_eol).
Fixed some bugs:
- nicklist in plugins API
- problem in main loop with select() when SIGWINCH is received (terminal resize)
- bug in string explode function
- bug in infobar countdown.
2008-01-01 18:22:26 +01:00