summaryrefslogtreecommitdiff
path: root/src/plugins/php
AgeCommit message (Collapse)Author
2024-05-26php: fix return value of function hdata_longlongSébastien Helleu
2024-04-26plugins: remove check of NULL pointers before calling ↵Sébastien Helleu
weechat_hashtable_free() (issue #865)
2024-04-25php: remove check of NULL pointers before calling free() (issue #865)Sébastien Helleu
2024-03-12api: add function "hdata_longlong" (issue #2081)Sébastien Helleu
2024-03-05plugins: move scripting API constants to plugin-script.cSébastien Helleu
2024-03-05api: add functions config_{boolean|integer|string|color|enum}_inherited in ↵Sébastien Helleu
scripting API
2024-03-05api: add functions config_option_get_string and config_option_get_pointer in ↵Sébastien Helleu
scripting API
2024-02-25php: remove constants that must not be visible in scriptsSébastien Helleu
2024-01-01core: update copyright datesSébastien Helleu
2023-12-26core: store microseconds in buffer lines (closes #649)Sébastien Helleu
2023-12-15core: fix crash on plugin reload when using musl libs (closes #2052)Sébastien Helleu
2023-12-14core: fix styleSébastien Helleu
2023-09-22script: fix removal of script in system directory while trying to install a ↵Sébastien Helleu
script (closes #2019)
2023-09-16scripts: add function hook_url in scripting APISébastien Helleu
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-05-13core: add quotes around paths in CMake files (closes #29)Sébastien Helleu
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-08core: remove build with autotoolsSébastien Helleu
CMake is now the only way to build WeeChat.
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-10-15api: do not expect any return value in callbacks change/delete of ↵Sébastien Helleu
config_new_option (scripting API)
2022-09-29php: add missing arginfo_weechat_string_parse_size in legacy arginfoSébastien Helleu
2022-09-27api: add function string_parse_sizeSébastien Helleu
2022-08-02php: fix function hdata_compareSébastien Helleu
2022-08-01scripts: fix issue with long interval in function hook_timerSébastien Helleu
Affected plugins: python, ruby, lua, tcl, guile, javascript, php.
2022-06-30php: fix compilation warning about unused argumentsSébastien Helleu
2022-06-30php: Deprecate `forget_*` functions in PHP 8+Adam Saponara
These functions don't work with PHP 8+ and also don't seem to be necessary anymore when reloading scripts.
2022-06-30php: Add stubs and generate arginfo for PHP APIAdam Saponara
This was preventing the PHP plugin from working if PHP was compiled with `--enable-debug`. With this patch, `--enable-debug` builds of PHP should work.
2022-06-30php: Adjust API for PHP 8.2Adam Saponara
2022-03-13api: add function buffer_new_props (closes #1759)Sébastien Helleu
2022-03-12scripts: allow null values in config_new_optionTrygve Aaberge
The plugin API function config_new_option accepts null as the default_value and/or value however the scripting APIs (except for lua) didn't allow sending null as a parameter value, so it was impossible to use it this way. This allows sending a null value for these parameters. Lua already supported sending in nil for these parameters and it works as expected, so nothing is changed for this plugin. For Guile you can now send in #nil, for JavaScript null or undefined, for Perl undef, for PHP NULL, for Python None, for Ruby nil and for Tcl $::weechat::WEECHAT_NULL. In all of these languages except Tcl this is the special value indicating a missing value. However Tcl only has one type, string, so it doesn't have a null value. Therefore I created a constant with the value `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF` which is used instead. This is very unlikely to appear unintentionally. Using the unicode code point \uFFFF was suggested on https://wiki.tcl-lang.org/page/null. I tested this with these scripts: https://gist.github.com/trygveaa/f91977dde5d2876d502bf55fbf9b50cc
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-11-06api: add parameters pointers, extra_vars and options in function hdata_searchSébastien Helleu
2021-10-02plugins: use a different plugin priority for each scripting languageSébastien Helleu
2021-09-19php: add missing header files in autotools buildSé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