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

39 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 3330724574 core: update copyright dates 2016-01-01 11:09:53 +01:00
Simmo Saan 6ef0e5ec1e irc: add separate color option for current topic in channel buffer 2015-07-20 19:02:20 +03:00
Sébastien Helleu a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Sébastien Helleu 6f5f6da0eb irc: add infolist "irc_color_weechat" 2014-11-11 11:17:50 +01:00
Sébastien Helleu 9be4bc07b9 irc: add support for color codes 16-99 in IRC messages (closes #228) (patch from Nei) 2014-11-11 11:16:56 +01:00
Sébastien Helleu 982373f7e9 irc: add option irc.color.item_nick_modes (closes #47) 2014-04-04 09:45:17 +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 d3c85c920c irc: add modifier "irc_color_decode_ansi" 2014-03-15 11:12:49 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu 267eeffa0a irc: add comments about irc color codes in messages 2013-12-04 08:55:02 +01:00
Sebastien Helleu 57cda6a331 irc: remove function irc_color_decode_for_user_entry
Since commits d03eb52d49 and
0c48b7ab8b, the IRC color codes are the
same in input line and messages, so the function
irc_color_decode_for_user_entry is not needed any more.
It was used only to decode colors when completing the command /topic
(with the channel topic).
2013-12-04 07:51:59 +01:00
Sebastien Helleu d03eb52d49 irc: use color code 0x16 (ctrl-V) for reverse video in messages
Other clients are using 0x16, and not 0x12 that was the default in
WeeChat (which was able to decode both 0x12 and 0x16).

Now the 0x12 is not decoded and does not make reverse video any more.
2013-12-01 11:28:32 +01:00
Sebastien Helleu 16cc0b6088 core: make nick prefix/suffix dynamic (move options from irc plugin to core, add logger options) (bug #37531) 2013-04-29 18:30:59 +02:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu 93a77c39ba irc: use tag "prefix_nick_ccc" (where "ccc" is color of nick) in messages displayed
This new tag is used by WeeChat to hide/replace same prefix (option weechat.look.prefix_same_nick).
2012-04-03 21:24:24 +02: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 25e1e6e23d core: add colors for inactive windows and lines (in merged buffers)
New boolean options to control use of inactive colors:
- weechat.look.color_inactive_message
- weechat.look.color_inactive_prefix
- weechat.look.color_inactive_prefix_buffer
- weechat.look.color_inactive_time

New "inactive" color options:
- weechat.color.chat_inactive_line
- weechat.color.chat_inactive_window
- weechat.color.chat_prefix_buffer_inactive_line
2011-09-22 11:09:16 +02:00
Sebastien Helleu 43a53a87aa irc: add new options irc.color.topic_old and irc.color.topic_new 2011-04-28 14:27:31 +02:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 26e98da4cb Add new options irc.color.nick_prefix and irc.color.nick_suffix 2010-10-13 08:41:03 +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 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 acbfb55ef5 Add new options irc.look.display_host_join/join_local/quit and irc.color.reason_quit 2010-06-08 16:51:57 +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 1836b40a4a Move option irc.color.item_buffer_name_ssl to core (new name: weechat.color.status_name_ssl) 2010-05-01 12:26:59 +02:00
Sebastien Helleu 9cbcc24d4c Add new option irc.color.item_buffer_name_ssl (task #10339) 2010-04-20 22:19:43 +02:00
Sebastien Helleu 2801b8437c Reformat multi-line comments 2010-03-19 23:33:14 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu a745409e22 Add new IRC modifiers: irc_color_decode/irc_color_encode, add IRC color support in xfer DCC chat (bug #25974) 2009-03-23 13:58:42 +01:00
Sebastien Helleu 2115f3f675 Update copyright dates 2009-01-03 10:06:53 +01: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 bbde23dec6 IRC colors reintroduced 2008-04-30 18:18:14 +02: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 495e6bd5df Many changes in IRC plugin and plugins API 2007-12-07 13:12:46 +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