Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
baf8f635ff
core: fix style in CMake files
2019-10-01 18:31:41 +02:00
Ryan Farley
8df3ad3d26
cmake: allow custom libdir ( fix #1341 )
...
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR
is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR
used to be set).
2019-04-25 16:53:55 -05:00
Sébastien Helleu
3d95217745
api: return allocated string in hook_info callback and function info_get
2019-04-13 08:42:45 +02:00
Sébastien Helleu
2612adf899
core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options
...
This option is OFF by default and should be enabled only for tests, to measure
test coverage.
2019-03-24 09:38:43 +01:00
Sébastien Helleu
c4bf528b4e
php: remove value for first #define in headers
2019-03-19 20:33:16 +01:00
Sébastien Helleu
80b980b2af
api: add function command_options (issue #928 )
2019-02-28 20:19:18 +01:00
Sébastien Helleu
64043d5a6c
php: fix memory leak in functions using hashtable parameters
...
Functions fixed in PHP plugin:
- string_eval_expression
- string_eval_path_home
- key_bind
- hook_process_hashtable
- hook_hsignal_send
- info_get_hashtable
- hdata_update
2019-02-27 07:51:02 +01:00
Sébastien Helleu
c2859096cb
api: add function string_match_list
2019-02-27 07:46:22 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
796859b873
core: fix copyright dates
2018-09-01 08:13:12 +02:00
Sébastien Helleu
42be1a74a0
api: add function hook_line
2018-08-12 21:45:00 +02:00
Sébastien Helleu
4aeed262f8
php: add comments about C compiler happiness
2018-05-17 22:04:19 +02:00
Sébastien Helleu
8b876bd668
scripts: remove double return in info eval callback functions not yet implemented
2018-05-17 22:02:10 +02:00
Sébastien Helleu
f3a31f609a
php: ensure vbuffer is not NULL before using it
2018-05-17 21:59:20 +02:00
Sébastien Helleu
9265acf879
scripts: fix memory leak in hook_info callback
2018-04-13 19:55:20 +02:00
Sébastien Helleu
41d63511b4
scripts: fix return value of hook_infolist callback (pointer instead of string)
2018-04-12 00:12:20 +02:00
Sébastien Helleu
3467d6eb43
scripts: return long integer instead of string in function infolist_time
2018-04-10 21:26:15 +02:00
Sébastien Helleu
4001ed956f
php: return long instead of int in function hdata_time
2018-04-10 19:34:43 +02:00
Sébastien Helleu
9d83cefdbf
php: fix return code of functions config_write_option and config_write_line
2018-04-10 19:34:31 +02:00
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
8fbbe8b0d5
scripts: add option "eval_keep_context" in script plugins
2018-01-15 22:00:15 +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
eb0560812b
scripts: add missing initialization of plugin pointer to NULL
2018-01-14 21:47:18 +01:00
Sébastien Helleu
7ee88fb46c
core: fix some styles
2018-01-07 09:11:45 +01:00
Sébastien Helleu
9876a8d0a7
core: update translations (issue #128 )
2018-01-06 14:07:57 +01:00
Sébastien Helleu
bab307bf1b
php: fix compiler warning (issue #128 )
2018-01-06 14:07:55 +01:00
Sébastien Helleu
414959a474
scripts: add "eval" option in script commands and info "xxx_eval" (issue #128 )
...
For now this works only in python, perl, ruby and guile.
2018-01-06 14:07:35 +01:00
Sébastien Helleu
c4626bc08a
scripts: add option "version" in script commands ( closes #1075 )
2017-12-23 20:35:30 +01:00
Sébastien Helleu
19c36cddc7
build: fix PHP library used to compile PHP plugin ( closes #1078 )
...
This was causing a dependency missing in debian packaging.
2017-10-14 11:10:34 +02:00
Sébastien Helleu
157dc811a4
php: add comments
2017-10-03 21:34:35 +02:00
Sébastien Helleu
0cc44cd986
php: add messages during script loading/unloading
2017-10-03 21:34:20 +02:00
Sébastien Helleu
31dd886390
php: set php_quiet to 1 during plugin end
2017-10-03 21:33:30 +02:00
Sébastien Helleu
33b23c8a74
php: set php_quiet to 1 during plugin initialization
2017-10-03 21:32:02 +02:00
Sébastien Helleu
8dc4f1dd28
php: set php_quiet to 1 when loading/reloading/unloading a script with option "-q"
2017-10-03 21:30:58 +02:00
Sébastien Helleu
1eefbf6ba5
php: use PHP_VERSION_ID instead of PHP_MAJOR_VERSION and PHP_MINOR_VERSION
2017-09-28 00:51:15 +02:00
Sébastien Helleu
b2d6d08c9e
php: add comments with PHP version
2017-09-28 00:43:06 +02:00
Sébastien Helleu
7483c2a311
php: fix condition on PHP version to support future PHP versions (>= 8.0)
2017-09-28 00:28:32 +02:00
Sébastien Helleu
3c727cc04c
Merge pull request #1069 from adsr/master
...
php: use find_library to find libphp7.so
2017-09-28 00:21:25 +02:00
Sébastien Helleu
5f7b62f835
php: fix crash in API function string_eval_path_home
2017-09-21 21:01:29 +02:00
Adam Saponara
fd287abe1b
php: fix compiler warning for PHP >=7.1
2017-09-17 17:13:45 -04: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