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

59 Commits

Author SHA1 Message Date
Sébastien Helleu 705d86e684 core: update copyright dates 2017-01-01 11:32:04 +01:00
Sébastien Helleu 377fad22db irc: add tag "self_msg" on self messages (closes #840) 2016-11-26 13:58:16 +01:00
Sébastien Helleu 20c86db0d8 api: remove functions printf_date() and printf_tags() 2016-06-18 08:49:35 +02: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 a4d1dfa8f4 relay: do not execute any command received from an irc relay client (closes #699) 2016-03-05 10:59:37 +01:00
Sébastien Helleu 3330724574 core: update copyright dates 2016-01-01 11:09:53 +01:00
Sébastien Helleu a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Sébastien Helleu de067ff6a0 irc: reformat some code to make it more readable 2014-11-01 17:59:02 +01:00
Sébastien Helleu c1cce9f1c3 irc: add tag with host ("host_xxx") in IRC messages displayed 2014-04-12 13:22:27 +02:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu e0281a40f0 irc: fix uncontrolled format string when sending unknown irc commands (if option irc.network.send_unknown_commands is on) 2013-05-18 22:36:24 +02:00
Sebastien Helleu 8b17cbb16c irc: fix display of CTCP messages that contain bold attribute (bug #38895) 2013-05-06 15:07:24 +02:00
Sebastien Helleu faccb87a10 irc: fix display of actions (/me) when they are received from a relay client (in channel and private buffers) (bug #38027) 2013-01-06 12:25:34 +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 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 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 dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu 4853a530b6 irc: improve split of privmsg, add split of some other messages (bug #29879), add new info_hashtable "irc_message_split", split irc messages in relay plugin
List of new features/bugs fixed:
- improve split of privmsg: keep CTCP in split
- add split of messages: ison, join, notice, wallops, 005, 353
- add new info_hashtable "irc_message_split" (for plugins/scripts)
- in relay plugin: split irc messages sent to clients of irc proxy
2011-08-26 10:31:37 +02:00
Sebastien Helleu cd73fac2f8 irc: use tag "notify_none" for self messages 2011-04-24 08:24:28 +02:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 1a61495166 Set tag "notify_message" for messages sent to IRC channels 2010-11-12 09:21:43 +01:00
Sebastien Helleu 2378e4c2db Remove test on pointer which can't be NULL 2010-10-31 18:21:10 +01:00
Sebastien Helleu 073dff330d Fix use of flags for irc_server_sendf in signal irc_input_send 2010-10-19 21:19:42 +02:00
Sebastien Helleu 8d6c5e9e4c Add tag "nick_xxx" in IRC messages 2010-10-10 17:39:15 +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 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +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 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu 2801b8437c Reformat multi-line comments 2010-03-19 23:33:14 +01:00
Sebastien Helleu bc3fa9fd4c Move /away command from irc plugin to core 2010-03-19 19:28:19 +01:00
Sebastien Helleu 0543b0ccc7 Add new option weechat.look.command_chars, add functions string_is_command_char and string_input_for_buffer in plugin and script API 2010-03-02 17:34:49 +01:00
Sebastien Helleu 94764208e4 Allow input "q" to close IRC raw buffer 2010-02-20 16:54:58 +01:00
Sebastien Helleu 2eb82a08b1 Add new IRC output queue for messages with low priority (like automatic CTCP replies), high priority is given to user messages or commands 2010-01-17 15:56:28 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu 671087e26a Add anti-flood for extra IRC commands like msg/notice/query/quote and some other 2009-04-24 11:45:31 +02:00
Sebastien Helleu 624c6d09c0 Fix option irc.network.send_unknown_commands: allow unknown commands on irc server buffers (bug #25557) 2009-02-24 15:25:58 +01:00
Sebastien Helleu 2115f3f675 Update copyright dates 2009-01-03 10:06:53 +01:00
Sebastien Helleu da748fc653 Reintroduce option "irc.network.send_unknown_commands", save extra data for buffers with /upgrade (title, input data, text search) 2008-11-15 16:33:31 +01:00
Sebastien Helleu f74fd05da7 Disable highlight for IRC messages from local nick 2008-11-10 22:41:32 +01:00
Sebastien Helleu 6f442bbfc1 Add new features to logger plugin (command /logger, log level, level by buffer, mask by buffer, ..), fix some bugs
New features:
- new command /logger
- log level, to log only some messages, according to importance (task #8592)
- level by buffer: custom level for some buffers (or group of buffers)
- log filename mask by buffer (or group of buffers)
- marker line is added after display of backlog
- add "delete" callback for config file sections
- add "mkdir_parents" function to plugin API
- remove old log options in IRC plugin

Bug fix:
- marker line is set only when user switches buffer (not when a plugin force
  switch, like IRC plugin does when opening server or channel buffer)
- backlog fixed (sometimes lines were not properly displayed)
2008-10-30 17:18:28 +01:00
Sebastien Helleu c572e393e7 Remove "category" for buffers (keep only name). 2008-09-18 18:44:03 +02:00
Sebastien Helleu 9de580a85b Fix missing self nick display with /msg command 2008-08-21 10:53:12 +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 bbde23dec6 IRC colors reintroduced 2008-04-30 18:18:14 +02:00
Sebastien Helleu d975629686 Improved /set command, added /unset command, new name for config files (*.conf) 2008-04-11 18:36:06 +02:00