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

50 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
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
Sebastien Helleu 0bfbe8ef40 irc: add decoding of bright ANSI colors (90-97, 100-107) 2014-03-15 12:09:51 +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 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 0c48b7ab8b irc: use color code 0x1F (ctrl-_) for underlined text in input line (same code as messages) (bug #40756) 2013-12-01 18:34:40 +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 b32ccca390 irc: check that string is not NULL in functions irc_color_{decode,decode_for_user_entry,encode} 2013-12-01 09:50:53 +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 bb09670757 irc: add comments in function irc_color_decode 2012-11-14 20:16:12 +01:00
Sebastien Helleu 9453e81baa irc: fix crash when decoding IRC colors in strings (bug #37704) 2012-11-09 18:10:42 +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 8e5288ba27 irc: add option irc.color.mirc_remap to remap mirc colors in messages to WeeChat colors 2011-11-05 11:40:22 +01:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu ac7c27949b core: add color attribute "|" and value "resetcolor" for function weechat_color in plugin API (bug #34550) 2011-10-15 13:54:53 +02:00
Sebastien Helleu a6873b725f irc: fix bug with comma in irc color code: do not strip comma if it is not followed by a digit (bug #33662) 2011-06-28 13:38:55 +02:00
Sebastien Helleu 0a69df6c2c Add color "gray", fix white background (use white instead of gray) 2011-02-05 13:12:41 +01:00
Sebastien Helleu cc6bb607e0 Test return value of calls to sscanf function 2011-01-21 19:30:08 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu ec2b1e2895 Fix bug with modifier "irc_color_encode" 2009-04-16 12:05:56 +02: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 55cbd9a76f Fix bugs with color in IRC topics 2009-03-19 18:38:11 +01:00
Sebastien Helleu cefb8a50f2 Replace WeeChat color codes by "?" in incoming IRC messages (bug #25862) 2009-03-18 18:03:47 +01:00
Sebastien Helleu 997434ef8b Fix bug with text attribute in IRC messages: toggle attribute instead of always forcing it to on (bug #25770) 2009-03-07 00:18:19 +01:00
Sebastien Helleu c683673047 Fix bug in irc color decoding: reset color if color code is not followed by a color number 2009-02-07 18:49:46 +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 a8b12f2597 Add IRC bar items (buffer name, lag indicator), use bar items from plugins with callback to core items if not found 2008-09-21 19:32:41 +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 bbde23dec6 IRC colors reintroduced 2008-04-30 18:18:14 +02:00
Sebastien Helleu ad199b41ae Fixed display bug with /me command (IRC plugin) 2008-04-03 15:18:59 +02:00
Sebastien Helleu 57323fa71e Removed sizeof(char) and useless type casts from void* to another pointer type (patch from Leonid Evdokimov) 2008-03-23 23:00:04 +01:00
Sebastien Helleu d9a4bdf629 Check plugin version when loading it, to prevent crash when loading old plugins 2008-03-23 11:41:09 +01:00
Sebastien Helleu 28e811c09c Use of sizeof(char) in all malloc/realloc for strings 2008-02-02 21:12:16 +01:00
Sebastien Helleu 9f2fc59569 Partial migration of Perl plugin to new API 2008-01-09 18:26:17 +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 8b3980f508 Changes in IRC plugin to use new API 2007-12-09 11:47:34 +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