1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +02:00
Commit Graph

60 Commits

Author SHA1 Message Date
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
Max Teufel e00d7f2bfd irc: track realnames using extended-join and WHO 2015-03-07 15:46:02 +01:00
Sébastien Helleu 62256251be irc: change type of "account" parameter to "const char *" in irc_nick_new() 2015-01-25 15:16:55 +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 b1caceb6e5 irc: add argument "server_message" in function irc_nick_color_for_msg 2014-11-01 11:40:21 +01:00
Sébastien Helleu d6d57635bd irc: fix comment 2014-06-03 07:32:24 +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 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu 1aeeecb82d irc: add option irc.look.ban_mask_default (bug #26571) 2013-12-07 22:02:05 +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 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 f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01: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
Sebastien Helleu 1c1ef05451 irc: use computed nick color in many messages instead of option weechat.color.chat_nick 2012-03-12 19:26:26 +01:00
Sebastien Helleu fe3bdb5f52 irc: compute hash to find nick color for nick in server message when nick is not in nicklist 2012-03-06 18:03:03 +01:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +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 80312dd56a irc: replace options irc.color.nick_prefix_{op|halfop|voice|user} by a single option irc.color.nick_prefixes (task #10888) 2011-03-23 18:29:24 +01:00
Sebastien Helleu be9b4e5910 Refresh nicks colors in nicklist when changing option weechat.color.chat_nick_colors 2011-02-24 12:15:05 +01:00
Sebastien Helleu 4eb2546082 Add new option irc.look.color_nicks_in_nicklist 2011-02-23 16:45:43 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 2ee9f7b0fc Replace the 10 nick color options and number of nick colors by a single option "weechat.color.chat_nick_colors" (comma separated list of colors) 2010-12-20 15:08:30 +01:00
Sebastien Helleu 3248833125 Search nicklist group without leading digits in irc plugin 2010-11-10 12:11:56 +01:00
Sebastien Helleu fcc209a8bf Add new option irc.look.nick_color_force 2010-10-29 23:25:05 +02: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 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 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 de49e31965 Add IRC info "irc_nick_color_name" to get color name of a nick 2010-06-15 14:13:59 +02:00
Sebastien Helleu ff0a798634 Move options weechat.color.nicklist_prefix to irc plugin
Options renamed or removed:
- weechat.color.nicklist_prefix1 renamed to irc.color.nick_prefix_op
- weechat.color.nicklist_prefix2 renamed to irc.color.nick_prefix_halfop
- weechat.color.nicklist_prefix3 renamed to irc.color.nick_prefix_voice
- weechat.color.nicklist_prefix4 renamed to irc.color.nick_prefix_user
- weechat.color.nicklist_prefix5 removed
2010-06-04 12:35:25 +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 7bb9892e86 Add IRC command /wallchops, fix bug with display of notice for ops (task #10021, bug #29932) 2010-05-23 10:01:38 +02:00
Sebastien Helleu e59bbbb40a Add "irc_is_nick" for function info_get to check if a string is a valid IRC nick name (patch #7133) 2010-03-25 10:39:07 +01: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 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 33e733cb0a Fix nicklist sort with IRC nicks (chan owner and admin first in list) 2009-01-31 23:03:54 +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 2115f3f675 Update copyright dates 2009-01-03 10:06:53 +01:00
Sebastien Helleu 64fdbb0776 Fix option weechat.look.color_nicks_number, value is now immediately applied on nicks by IRC plugin 2008-11-24 09:21:25 +01:00
Sebastien Helleu 8724fc18af Use of const for some functions returning "char *" 2008-11-15 22:35:12 +01:00
Sebastien Helleu f126daa896 Fix option irc.network.away_check 2008-10-26 20:00:50 +01: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 3a53257032 Add "const" keyword for some "char *" function arguments (core and plugins API) 2008-06-03 10:56:51 +02:00
Sebastien Helleu 170192936c Fixed bug with print_y in script API 2008-04-19 12:01:15 +02:00