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

18 Commits

Author SHA1 Message Date
Sébastien Helleu ab61ddd4ab scripts: do not allocate memory when converting pointers to strings 2018-04-10 19:33:14 +02:00
Sébastien Helleu c3d1c9734b php: fix memory leak in 72 functions returning allocated strings
Fixed functions:

- iconv_to_internal
- iconv_from_internal
- string_mask_to_regex
- string_format_size
- string_remove_color
- string_eval_expression
- string_eval_path_home
- list_new
- list_add
- list_search
- list_casesearch
- list_get
- list_next
- list_prev
- config_new
- config_new_section
- config_search_section
- config_new_option
- config_search_option
- config_get
- hook_command
- hook_completion
- hook_command_run
- hook_timer
- hook_fd
- hook_process
- hook_process_hashtable
- hook_connect
- hook_print
- hook_signal
- hook_hsignal
- hook_config
- hook_modifier
- hook_modifier_exec
- hook_info
- hook_info_hashtable
- hook_infolist
- hook_focus
- buffer_new
- buffer_search
- buffer_search_main
- current_buffer
- buffer_get_pointer
- buffer_string_replace_local_var
- current_window
- window_search_with_buffer
- window_get_pointer
- nicklist_add_group
- nicklist_search_group
- nicklist_add_nick
- nicklist_search_nick
- nicklist_group_get_pointer
- nicklist_nick_get_pointer
- bar_item_search
- bar_item_new
- bar_search
- bar_new
- infolist_new
- infolist_new_item
- infolist_new_var_integer
- infolist_new_var_string
- infolist_new_var_pointer
- infolist_new_var_time
- infolist_search_var
- infolist_get
- infolist_pointer
- hdata_get
- hdata_get_list
- hdata_move
- hdata_search
- hdata_pointer
- upgrade_new
2018-04-07 21:52:49 +02:00
Sébastien Helleu 6de98179bc api: add function string_format_size in scripting API 2018-04-07 13:20:58 +02:00
Sébastien Helleu db448a3e94 php: add OpenSSL licensing in copyright 2018-01-25 22:31:51 +01:00
Sébastien Helleu 21e63e7958 scripts: add configuration file for each script plugin 2018-01-15 21:57:06 +01:00
Sébastien Helleu 5f7b62f835 php: fix crash in API function string_eval_path_home 2017-09-21 21:01:29 +02:00
Sébastien Helleu 4d75b5b145 php: fix crash in API function string_eval_expression 2017-09-17 17:36:56 +02:00
Sébastien Helleu 24bef50ab2 php: fix function plugin_get_name 2017-09-10 20:51:42 +02:00
Sébastien Helleu e5acc39770 php: fix arguments of hook_command callback 2017-09-09 15:09:34 +02:00
Sébastien Helleu 1851f6472f php: rename print functions
Rename:
- printf to print
- printf_date_tags to print_date_tags
- printf_y to print_y
- log_printf to log_print
2017-09-07 21:50:20 +02:00
Sébastien Helleu 36a9cffa39 php: check that script is registered in API functions, add macros to return values 2017-09-07 21:33:23 +02:00
Sébastien Helleu 2a04ae0d65 php: rename API callback functions 2017-09-06 20:58:15 +02:00
Sébastien Helleu 48c9fbec35 php: add missing functions current_buffer and current_window 2017-09-06 20:07:26 +02:00
Sébastien Helleu 5bec71f891 php: move macro API_FUNC_INIT, aggregate declaration of variables 2017-09-06 00:26:17 +02:00
Sébastien Helleu 28811c7ebd php: sort functions by topic, remove unused API functions, fix compiler warning
Functions removed (not in scripting API):

- weechat_string_replace
- weechat_hdata_get_var
- weechat_hdata_get_var_type
2017-09-04 21:08:49 +02:00
Sébastien Helleu 43624c6d70 php: add comments in code 2017-09-03 15:34:30 +02:00
Sébastien Helleu baa1d5fbc9 php: add function "hdata_compare" 2017-09-03 15:34:29 +02:00
Adam Saponara d032ee2159 php: new php plugin
This plugin requires PHP >= 7.0.
2017-09-03 15:33:16 +02:00