Sébastien Helleu
268aa631c6
api: add function string_color_code_size (issue #1547 )
2020-08-22 08:55:16 +02:00
Sébastien Helleu
b0ecbdbf1d
core: add bar option "color_bg_inactive" (issue #732 )
2020-06-21 18:59:54 +02:00
Sébastien Helleu
88bef0b1b1
core: rename functions hook_completion_{get_string|list_add} to completion_{get_string|list_add}
...
Old functions are kept for compatibility reasons.
2020-05-08 10:51:30 +02:00
Sébastien Helleu
d1a427b67f
api: return integer in function gui_completion_search (issue #1484 )
2020-04-28 10:46:49 +02:00
Sébastien Helleu
d3020976d5
api: add functions completion_new, completion_search and completion_free (issue #1484 )
2020-04-27 22:15:42 +02:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01: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
80b980b2af
api: add function command_options (issue #928 )
2019-02-28 20:19:18 +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
42be1a74a0
api: add function hook_line
2018-08-12 21:45:00 +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
ab61ddd4ab
scripts: do not allocate memory when converting pointers to strings
2018-04-10 19:33:14 +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
21e63e7958
scripts: add configuration file for each script plugin
2018-01-15 21:57:06 +01:00
Sébastien Helleu
7ee88fb46c
core: fix some styles
2018-01-07 09:11:45 +01:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
515334e53b
python: fix integer arguments in hook_connect() and hook_fd() callbacks
2017-12-04 22:07:38 +01:00
Sébastien Helleu
5aab494dd6
core, plugins: check return code of strftime function
2017-09-23 15:06:28 +02:00
Sébastien Helleu
8bd874a281
python: add/remove some empty lines for readability
2017-09-07 21:40:58 +02:00
Sébastien Helleu
bfef8da84c
api: change type of arguments status/gnutls_rc/sock in hook_connect() callback from string to integer (in scripts)
2017-08-13 10:40:01 +02:00
Sébastien Helleu
5392e3078f
api: send file descriptor as integer instead of string to the callback of hook_fd
2017-08-13 09:29:39 +02:00
Sébastien Helleu
aeeec38d6f
core: fix cast of time_t (to "long long" instead of "long") ( closes #1051 )
2017-08-12 18:36:45 +02:00
Sébastien Helleu
7621939a7a
api: add function hdata_compare
2017-05-30 20:29:17 +02:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
64f05204f9
api: move functions hook_completion* after hook_command
2016-11-27 17:34:15 +01:00
Sébastien Helleu
51c3e0b9ec
api: add support of functions in hook_process
2016-04-23 13:59:20 +02:00
Sébastien Helleu
5244a707cb
api: rename function unhook_all_plugin to unhook_all
2016-03-24 09:17:54 +01:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
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-03-21 18:11:21 +01:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Sébastien Helleu
4716e81d4e
api: add missing function infolist_search_var() in script API (issue #484 )
2015-08-13 20:50:15 +02:00
Sébastien Helleu
7033fdd0cb
api: add missing function hook_completion_get_string() in script API (issue #484 )
2015-08-13 20:45:33 +02:00
Sébastien Helleu
2bd2d74a07
api: add function string_eval_path_home()
2015-06-24 07:54:42 +02:00
Sébastien Helleu
c0a27cf437
scripts: fix name of variables in infolist API functions
2015-03-04 07:40:07 +01:00
Sébastien Helleu
7624ef417d
python: fix value returned in case of error in some functions
...
Affected functions:
- config_option_reset
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- config_is_set_plugin
- buffer_get_string
- buffer_string_replace_local_var
- nicklist_group_get_string
- nicklist_nick_get_string
- command
- hdata_time
2015-03-01 10:06:28 +01:00
Sébastien Helleu
5e886961bd
scripts: fix return code of function bar_set in python/perl/ruby/lua/tcl/guile plugins
2015-03-01 09:57:35 +01:00
Sébastien Helleu
72b8674193
python: fix name of function "bar_update" in case of error
2015-03-01 09:47:47 +01:00
Sébastien Helleu
c853d29e76
scripts: rename macro API_FUNC to API_INIT_FUNC, add macro API_FUNC to declare API functions
2015-02-21 09:49:51 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
1ef3237b6b
api: return value in function command(), remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR
2014-11-22 08:14:29 +01:00
Sébastien Helleu
2b84b771fb
python: remove comment added by mistake
2014-11-07 07:31:58 +01:00
Nils Görs
7aee7d863c
core: update German translations
2014-11-06 21:44:57 +01:00
Sébastien Helleu
cdab55aa05
api: change type of arguments displayed/highlight in hook_print callback from string to integer (in scripts)
2014-05-10 08:26:56 +02:00
Sebastien Helleu
7213fe5826
scripts: fix size used in some snprintf
2014-02-28 11:38:23 +01:00
Sebastien Helleu
0c3835d824
scripts: fix crash when a signal is received with type "int" and NULL pointer in signal_data
2014-02-22 17:10:01 +01:00
Sebastien Helleu
437767c0ca
api: add integer return code for functions hook_{signal|hsignal}_send
2014-02-10 17:42:53 +01:00
Sebastien Helleu
86a99af606
scripts: fix script interpreter used after register during load of script in python/perl/ruby/lua/guile plugins (bug #41345 )
2014-01-25 13:04:25 +01:00