summaryrefslogtreecommitdiff
path: root/src/plugins/php/weechat-php.c
AgeCommit message (Collapse)Author
2023-09-09scripts: add functions config_enum and config_enum_default in scripting API ↵Sébastien Helleu
(issue #1973)
2023-05-30core: send all command line parameters not beginning with a dash to all ↵Sébastien Helleu
plugins, add info "auto_load_scripts" This fixes an issue with IRC URL given on command line when it starts with `ircs://` or `irc6://`: the server is not created at all (only `irc://` works fine).
2023-03-16core: add configuration version, add API function config_set_versionSébastien Helleu
2023-01-28core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872)Sébastien Helleu
2023-01-28core, plugins: check that string parameters are not NULL in search functions ↵Sébastien Helleu
(issue #1872)
2023-01-28core, plugins: make info, info_hashtable and infolist case sensitive (issue ↵Sébastien Helleu
#1872)
2023-01-28core, plugins: make commands, hook command_run, completions and aliases case ↵Sébastien Helleu
sensitive (issue #1872)
2023-01-28plugins: set priority in calls to weechat_config_new (issue #1872)Sébastien Helleu
2023-01-08php: remove warnings on variables "argc" and "ret_i" that might be clobbered ↵Sébastien Helleu
by longjmp or vfork
2023-01-03plugins: change priority of scripting pluginsSébastien Helleu
Use a step of 10 between each scripting plugin priority.
2023-01-01core: update copyright datesSébastien Helleu
2022-12-11scripts: Send null values to config section callbacksTrygve Aaberge
The callback_read and callback_create_option functions in the scripting APIs always get the value as a string, never as null. This means that if the value is null, there is no way for the script to distinguish this from an empty string for string options. This makes it impossible to properly make options with fallback values, like the irc server and server_default options, as far as I can see. All the scripting languages except Tcl use that language's equivalent for null. For JavaScript which has both null and undefined, null is used. For Tcl, the magic null string defined in commit 197a7a01e is used and the documentation is updated to describe that. I tested this with these scripts: https://gist.github.com/trygveaa/2d49c609addf9773d2ed16e15d1e3447 You can load all of those scripts and see the result with this command (assuming you have the scripts in the current directory): weechat -t -r "/filter add script * * script; /script load $(echo script_config.*)"
2022-09-27api: add function string_parse_sizeSébastien Helleu
2022-06-30php: Adjust API for PHP 8.2Adam Saponara
2022-03-13api: add function buffer_new_props (closes #1759)Sébastien Helleu
2022-02-20scripts: auto-load scripts with supported extensions only (closes #1698)Sébastien Helleu
2022-01-30core: add support of date and tags in messages displayed in buffers with ↵Sébastien Helleu
free content, add function printf_y_date_tags (closes #1746)
2022-01-17core: update copyright datesSébastien Helleu
2021-10-02plugins: use a different plugin priority for each scripting languageSébastien Helleu
2021-08-08php: add ifdef for zend_file_handle.filenameAdam Saponara
2021-08-08php: fix PHP 8+ buildAdam Saponara
2021-08-08php: add detection of PHP 8.0, fix compilation errorsSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-08-22api: add function string_color_code_size (issue #1547)Sébastien Helleu
2020-05-08core: rename functions hook_completion_{get_string|list_add} to ↵Sébastien Helleu
completion_{get_string|list_add} Old functions are kept for compatibility reasons.
2020-04-27api: add functions completion_new, completion_search and completion_free ↵Sébastien Helleu
(issue #1484)
2020-02-28php: fix crash when loading script with PHP 7.4 (closes #1452)Sébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-02-28api: add function command_options (issue #928)Sébastien Helleu
2019-02-27api: add function string_match_listSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-09-01core: fix copyright datesSébastien Helleu
2018-08-12api: add function hook_lineSébastien Helleu
2018-05-17php: add comments about C compiler happinessSébastien Helleu
2018-05-17scripts: remove double return in info eval callback functions not yet ↵Sébastien Helleu
implemented
2018-05-17php: ensure vbuffer is not NULL before using itSébastien Helleu
2018-04-13scripts: fix memory leak in hook_info callbackSébastien Helleu
2018-04-12scripts: fix return value of hook_infolist callback (pointer instead of string)Sébastien Helleu
2018-04-10scripts: do not allocate memory when converting pointers to stringsSébastien Helleu
2018-04-07api: add function string_format_size in scripting APISébastien Helleu
2018-01-25php: add OpenSSL licensing in copyrightSébastien Helleu
2018-01-15scripts: add option "eval_keep_context" in script pluginsSébastien Helleu
2018-01-15scripts: add configuration file for each script pluginSébastien Helleu
2018-01-14scripts: add missing initialization of plugin pointer to NULLSébastien Helleu
2018-01-07core: fix some stylesSébastien Helleu
2018-01-06core: update translations (issue #128)Sébastien Helleu
2018-01-06php: fix compiler warning (issue #128)Sébastien Helleu
2018-01-06scripts: add "eval" option in script commands and info "xxx_eval" (issue #128)Sébastien Helleu
For now this works only in python, perl, ruby and guile.