summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.c
AgeCommit message (Collapse)Author
2017-07-05core: search WEECHAT_EXTRA_LIBDIR for plugins (closes #971, issue #979)Linus Heckemann
In addition to searching the statically configured WEECHAT_LIBDIR (weechat's installation directory) for plugins, search the path given in the environment variable WEECHAT_EXTRA_LIBDIR. This makes departing from the FHS standard while keeping the plugins packaged separately easier. This change was made specifically with the Nix package manager in mind, but can easily be used by others.
2017-07-04core: add arguments in function plugin_auto_load to load plugins only from ↵Sébastien Helleu
custom path or lib dir
2017-07-04api: add argument "recurse_subdirs" in function exec_on_files()Sébastien Helleu
2017-06-17core: add hashtable_add_from_infolist to APISimmo Saan
2017-06-10core, plugins: fix conditions to insert elements in linked listsSébastien Helleu
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-05-30api: add function hdata_compareSébastien Helleu
2017-05-30api: add function config_option_get_string in plugin APISébastien Helleu
2017-03-25api: add arraylist functionsSébastien Helleu
New functions: - arraylist_new - arraylist_size - arraylist_get - arraylist_search - arraylist_insert - arraylist_add - arraylist_remove - arraylist_clear - arraylist_free
2017-03-25api: add dynamic string functions (string_dyn_*)Sébastien Helleu
New functions: - string_dyn_alloc - string_dyn_copy - string_dyn_concat - string_dyn_free
2017-01-01core: update copyright datesSébastien Helleu
2016-03-24api: rename function unhook_all_plugin to unhook_allSébastien Helleu
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