summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.c
AgeCommit message (Collapse)Author
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-08-22api: add function string_hex_dump()Sébastien Helleu
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-06-24api: add function string_eval_path_home()Sébastien Helleu
2015-01-15core: add priority in plugins to initialize them in orderSébastien Helleu
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer, irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-01core: update copyright datesSébastien Helleu
2014-05-24api: add argument "flags" in function hdata_new_listSébastien Helleu
2014-02-21Merge branch 'trigger'Sebastien Helleu
2014-02-13api: add function string_convert_escaped_charsSebastien Helleu
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-02-09api: add function string_split_shellSebastien Helleu
2014-02-09api: add function hashtable_dupSebastien Helleu
2014-02-09trigger: add trigger pluginSebastien Helleu
2014-01-22api: add function "infolist_search_var"Sebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-11-09core: rename option weechat.look.set_title to weechat.look.window_title ↵Sebastien Helleu
(evaluated string)
2013-07-27api: add new function strlen_screenSebastien Helleu
2013-04-21api: add new function hdata_searchSebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu
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-11-02core: add command /eval, use expression in conditions for bars, add function ↵Sebastien Helleu
"string_eval_expression" in plugin API
2012-09-04core: add signals for plugins loaded/unloadedSebastien Helleu
2012-08-27api: allow update for some variables of hdata, add new functions ↵Sebastien Helleu
hdata_update and hdata_set
2012-08-04api: add new function util_version_numberSebastien Helleu
2012-08-02core: update description of plugins and translate them in output of /pluginSebastien Helleu
2012-07-20core: add support of arrays in hdata variablesSebastien Helleu
2012-07-09core: add function "hook_set" in plugin API, add "subplugin" in hooks (set ↵Peter Boström
by script plugins), display subplugin in /help on commands (task #12049)
2012-01-22core: add support of flags in regular expressions and highlight options, add ↵Sebastien Helleu
irc options to customize/disable default nick highlight (task #11128) New functions in C plugin API: - string_regex_flags - string_regcomp New irc options: - irc.look.highlight_server - irc.look.highlight_channel - irc.look.highlight_pv Regex flags are supported in following options/commands: - option weechat.look.highlight - option weechat.look.highlight_regex - options irc.look.highlight_{server|channel|pv} - option relay.network.allowed_ips - core command /filter - irc command /list - irc command /ignore - rmodifier command /rmodifier
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-12-19core: add type "hashtable" for hdata, new api functions: hdata_hashtable and ↵Sebastien Helleu
hashtable_map_string
2011-12-17api: add new function hdata_check_pointerSebastien Helleu
2011-12-06api: add new function nicklist_get_next_itemSebastien Helleu
2011-11-25core: add type char for hdata and function hdata_char in plugin/script APISebastien Helleu
2011-11-15core: allow list for option weechat.plugin.extension (makes weechat.conf ↵Sebastien Helleu
portable accross Un*x and Windows) (task #11479)
2011-11-12api: add new functions strcasecmp_range and strncasecmp_rangeSebastien Helleu
2011-10-29core: add optional arguments for command /plugin load/reload/autoloadSebastien Helleu
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-08-20core: add functions "key_bind" and "key_unbind" in plugin APISebastien Helleu
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-06-29core: add missing include of stddef.h in plugin.cSebastien Helleu
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: 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-13core: use buffer pointer instead of window in input functions, add new ↵Sebastien Helleu
function window_search_with_buffer in plugin API
2011-03-11Add function "buffer_match_list" in plugin APISebastien Helleu
2011-01-02Add function "hashtable_set_pointer" in plugin APISebastien Helleu