1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 05:16:38 +02:00
Commit Graph

40 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 99ff5813d9 irc: add a constant with list of supported CTCPs for completion in command /ctcp 2016-01-17 08:36:00 +01:00
Sébastien Helleu 3330724574 core: update copyright dates 2016-01-01 11:09:53 +01:00
Sébastien Helleu 995eb1f004 irc: add "cap-notify" in list of supported capabilities (/help cap) 2015-10-18 19:19:03 +02:00
Sébastien Helleu 350938181b irc: add command /cap (closes #8) 2015-08-24 10:02:38 +02:00
Sébastien Helleu a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Sébastien Helleu 3accbd639f irc: automatically add current channel in command /samode (closes #241) 2014-10-26 19:24:52 +01: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 f535aad9fc irc: use same return code and message in all commands when arguments are wrong/missing 2014-02-21 13:10:05 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu 5cfeb2f2bc irc: add option "-noswitch" for command /join (task #12275) 2012-10-09 21:33:09 +02:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu 6b9a1d7376 irc: use low priority for MODE sent automatically by WeeChat (when joining channel) 2012-01-06 14:05:21 +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
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01: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 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu 8d58b81d83 Add buffer merging feature, with /buffer merge/unmerge (task #7404) 2009-06-10 12:40:05 +02:00
Sebastien Helleu 2dc13ebd21 Add new command /version, add count of /upgrade, fix bugs with command exec
New (core) command /version displays version, and number of upgrades done with
first start date (if # /upgrade > 0).
The number of upgrades is displayed at startup (if > 0).
2009-03-21 16:09:18 +01:00
Sebastien Helleu 8ffd58b4a8 Make channel optional in IRC command /mode (bug #25735) 2009-03-02 11:21:30 +01:00
Sebastien Helleu 371bf4b401 Fix crash with IRC commands msg/notice/query/quote when executed with too few arguments (bug #25739) 2009-03-01 22:32:13 +01:00
Sebastien Helleu a796188fc8 Display explicit message when irc command must be executed on irc buffer or connected server 2009-02-26 10:31:13 +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 8dde2dee85 Do not set unread marker on IRC server and channels when reconnecting to IRC server if self nick is away 2009-01-05 11:19:00 +01:00
Sebastien Helleu 2115f3f675 Update copyright dates 2009-01-03 10:06:53 +01:00
Sebastien Helleu 0fd3f8b6eb Option irc.look.one_server_buffer reintroduced (all IRC servers in one buffer) 2008-09-24 18:59:24 +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 184700e597 New "close callback" for buffers, use of this callback in IRC plugin to leave channel or disconnect from server when buffer is closed 2008-02-01 18:56:12 +01:00
Sebastien Helleu e3b52115c7 Update of year in some copyrights 2008-01-02 12:47:09 +01:00
Sebastien Helleu dba084f3d6 New backlog option in logger plugin, added variable names in .h files, replaced "void *" pointers by structures 2007-12-17 17:07:08 +01:00
Sebastien Helleu 061b0e5c58 Many changes in IRC plugin, added IRC specific completions 2007-12-11 17:34:31 +01:00
Sebastien Helleu 43c49926d4 Changes in IRC plugin 2007-12-10 21:14:20 +01:00
Sebastien Helleu 4993b2f661 Renamed constants for return codes in plugins 2007-12-10 18:42:07 +01:00
Sebastien Helleu 256557f900 Many changes in IRC plugin 2007-12-10 17:18:40 +01:00
Sebastien Helleu 8b3980f508 Changes in IRC plugin to use new API 2007-12-09 11:47:34 +01:00
Sebastien Helleu 495e6bd5df Many changes in IRC plugin and plugins API 2007-12-07 13:12:46 +01:00
Sebastien Helleu 7cc78f4172 Added buffer argument in command hooks, code cleanup in IRC plugin 2007-11-25 00:17:43 +01:00
Sebastien Helleu 652a6fa47e Added/renamed some files, many changes in IRC sources for running as plugin (still under development) 2007-10-31 18:22:38 +01:00