summaryrefslogtreecommitdiff
path: root/src/plugins/weechat-plugin.h
AgeCommit message (Collapse)Author
2017-05-30api: add function hdata_compareSébastien Helleu
2017-05-30api: add function config_option_get_string in plugin APISébastien Helleu
2017-04-01api: return pointer to string in function string_dyn_free() if argument ↵Sébastien Helleu
"free_string" is 0
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-13tests: fix compilation of tests on FreeBSD 11Sébastien Helleu
Some includes were missing in .h files, and the tests must be linked with intl and execinfo on FreeBSD.
2017-01-01core: update copyright datesSébastien Helleu
2016-06-18api: remove functions printf_date() and printf_tags()Sébastien Helleu
2016-04-23api: add support of functions in hook_processSé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-08-18api: add argument "length" in function utf8_is_valid()Sébastien Helleu
2015-07-04api: fix type of value returned by function util_get_time_stringSébastien Helleu
2015-07-04api: fix type of value returned by functions utf8_prev_char, utf8_next_char ↵Sébastien Helleu
and utf8_add_offset
2015-07-03api: fix type of value returned by function strcasestrSébastien Helleu
2015-06-24api: add function string_eval_path_home()Sébastien Helleu
2015-04-30core: add comments after some #endifSé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-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-20core: fix compilation of plugin API functions (macros) when compiler ↵Sébastien Helleu
optimizations are enabled (closes #200)
2014-08-29api: use microseconds instead of milliseconds in functions util_timeval_diff ↵Sébastien Helleu
and util_timeval_add
2014-08-02core: fix result of hash function (in hashtables) on 32-bit systemsSébastien Helleu
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-05-24api: add argument "flags" in function hdata_new_listSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-13api: add callback in function string_replace_regexSebastien Helleu
2014-03-11exec: update plugin API versionSebastien Helleu
2014-03-04rmodifier: remove plugin (replaced by trigger)Sebastien 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-09core: improve the string_replace_regex function (add reference char, change ↵Sebastien Helleu
syntax for match refs) The reference char is now an argument for the function. The references are now $0 .. $99 and $+ was added (last match, with highest number). The syntax to replace a match with one char is now: $.cN or $.c+ (for example: "$.*3").
2014-02-09core: replace "regex_t *" by "void *" in string functions (fix ruby ↵Sebastien Helleu
compilation error with autotools)
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-09xfer: add support of IPv6 for DCC chat/file (patch #7992)Andrew Potter
2014-01-05core: fix crash with hdata_update on shared strings, add hdata type ↵Sebastien Helleu
"shared_string" (bug #41104)
2014-01-01core: update copyright datesSebastien Helleu
2013-11-09api: add support for C++ pluginsstfn
2013-08-19core: add syntax "@buffer:item" in bar items to force the buffer used when ↵Sebastien Helleu
displaying the bar item (task #12717)
2013-08-10core: change type of hashtable key hash to unsigned long, return item ↵Sebastien Helleu
pointer in functions hashtable_set(_with_size) The key hash has been changed from unsigned int to unsigned long, and now the callback can return any value (not only between 0 and size-1), the modulo is computed after the call to the callback by the hashtable functions. Functions hashtable_set and hashtable_set_with_size were returning 1 if OK, 0 if error. Now they return pointer to hashtable item, or NULL if error.
2013-08-04api: add argument "options" in function string_eval_expression, add option ↵Sebastien Helleu
"-c" for command /eval (to evaluate a condition)
2013-07-27api: add new function strlen_screenSebastien Helleu
2013-04-21api: add new function hdata_searchSebastien Helleu
2013-03-25script: fix compilation on GNU/Hurd (patch #7977) (thanks to Andrew Potter)Sebastien Helleu
PATH_MAX is now defined in weechat-plugin.h (if not defined, for example on GNU/Hurd), so that all plugins can use it.