summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-api.c
AgeCommit message (Collapse)Author
2017-01-01core: update copyright datesSébastien Helleu
2016-12-31api: add info "uptime" (WeeChat uptime)Sébastien Helleu
2016-11-20api: add info "pid" (WeeChat PID) (issue #850)Sébastien Helleu
2016-04-05core: move nick coloring from irc plugin to core (closes #262)Sébastien Helleu
Options moved from irc.conf to weechat.conf: * "irc.look.nick_color_force" moved to "weechat.look.nick_color_force" * "irc.look.nick_color_hash" moved to "weechat.look.nick_color_hash" * "irc.look.nick_color_stop_chars" moved to "weechat.look.nick_color_stop_chars" New info (for API function "info_get"): * "nick_color" (replaces "irc_nick_color") * "nick_color_name" (replaced "irc_nick_color_name") Info "irc_nick_color" and "irc_nick_color_name" are now deprecated. And a bug has been fixed in nick coloring: stop chars are removed before looking at a forced color.
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
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-01-01core: update copyright datesSébastien Helleu
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-01-01core: update copyright datesSébastien Helleu
2014-12-05core: split info/infolist callbacksSébastien Helleu
2014-11-22api: return value in function command(), remove WeeChat error after command ↵Sébastien Helleu
callback if return code is WEECHAT_RC_ERROR
2014-09-01core: optimize completion by using arraylistsSébastien Helleu
With arraylist (vs weelist), the completion is about 50x faster. It is visible on "/help [+tab]".
2014-06-10core: fix potential memory leak with infolists not freed in plugins (debian ↵Sébastien Helleu
#751108) The memory leak should not happen if infolists are properly freed by plugins, and it happened only on unload of plugins (or exit).
2014-04-12api: allow wildcard "*" inside the mask in function string_matchSébastien Helleu
2014-03-15core: update translationsSebastien Helleu
2014-03-15core: add modifier and infos to decode ANSI colorsSebastien Helleu
New modifier: - color_decode_ansi: convert ANSI colors to WeeChat colors (or remove colors). New infos: - color_ansi_regex: regex used to parse ANSI colors in a string - color_term2rgb: convert a terminal color (0-255) to RGB - color_rgb2term: convert a RGB color to terminal color (0-255)
2014-01-01core: update copyright datesSebastien Helleu
2013-12-01core: add missing access to hdata "buffer_visited"Sebastien Helleu
2013-11-09core: add infos "term_width" and "term_height"Sebastien Helleu
2013-07-28api: use pointer for infolist "hook" to return only one hookSebastien Helleu
2013-06-08core: add "proxy" infolist and hdataSebastien Helleu
2013-05-14core: add infolist "layout" and hdata "layout", "layout_buffer" and ↵Sebastien Helleu
"layout_window" (thanks to Nils Görs)
2013-01-01core: update copyright datesSebastien Helleu
2012-12-16core: add git version in build, display it in "weechat-curses --help" and ↵Sebastien Helleu
/version
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-12-08api: allow creation of structure with hdata_update (allowed for hdata "history")Sebastien Helleu
2012-08-16api: add info "locale" for info_get (locale used to translate messages)Sebastien Helleu
2012-07-21core: add hdata "hotlist"Sebastien Helleu
2012-01-16core: add URL transfer (using libcurl), add function hook_process_hashtable ↵Sebastien Helleu
in plugin API, add support of URL in hook_process/hook_process_hashtable (task #10247)
2012-01-08core: update copyright datesSebastien Helleu
2011-11-21core: add "full_name" in buffer structureSebastien Helleu
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-09-22core: remove compilation warnings about unused return values of functionsSebastien Helleu
2011-08-08core: use arguments for infolist "window" to return only one window by numberSebastien Helleu
2011-08-05core: save and restore layout for buffers and windows on /upgradeSebastien Helleu
2011-08-01core: add info about position where mouse button is released in hook_focus ↵Sebastien Helleu
(for mouse gestures)
2011-07-26core: add mouse support (task #5435), free cursor movement, hook_focus, fix ↵Sebastien Helleu
bugs with key "^" (bug #32072, bug #21381), fix bugs with bar windows, completion and /buffer New features and bugs fixed: - mouse support: new command /mouse, new option weechat.look.mouse, new key context "mouse" - free movement of cursor: new command /cursor, new key context "cursor" - new hook_focus (used by cursor and mouse) - info "cursor_mode" - bugs fixed with key "^" - allow plugin name in /buffer name - fix bugs with bar windows: do not create bar windows for hidden bars - fix completion bug when two words for completion are equal but with different case - automatic scroll direction in /bar scroll (x/y is now optional)
2011-07-10core: allow empty argument for infolist "key" (return context "default")Sebastien Helleu
2011-07-05core: add context "search" for keys (to define keys used during search in ↵Sebastien Helleu
buffer with ctrl+"r")
2011-06-26core: many improvements on hdataSebastien Helleu
New features: - add optional hdata name for variables in hdata - add plugin API functions: hdata_get_var_hdata - use hashtable to store hdata (created by WeeChat and plugins) - free hdata and infolists created by plugin on plugin unload - free all hdata on exit - add "free" option to command /debug hdata - remove hdata for hooks
2011-06-13core: update description for some hdataSebastien Helleu
2011-06-13core: add "hdata" (direct access to WeeChat/plugin data)Sebastien Helleu
2011-04-26api: add new function config_set_desc_plugin (task #10925)Sebastien Helleu
2011-04-19core: allow command mask for infolist_get on command hooksSebastien Helleu
2011-02-25Add optional command name for infolist_get on command hooksSebastien Helleu
2011-01-01Update copyright datesSebastien Helleu
2010-12-26Add info "weechat_upgrading", signal "upgrade_ended", display duration of ↵Sebastien Helleu
upgrade
2010-06-22Update licenses and copyrights, add missing author names in sourcesSebastien Helleu
2010-04-18Replace "joker" by "wildcard"Sebastien Helleu
2010-04-08Reformat and add comments for description of C sourcesSebastien Helleu