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
9bad3f44db
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
2017-08-10 20:05:16 +02:00
Sébastien Helleu
6532c9a538
fset: fix priority of plugin (load it after all other plugins)
...
This fixes a refresh problem of options after /upgrade in fset buffer.
2017-07-08 14:46:33 +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
a56fec820b
python: fix cppcheck error on variable "python2_bin" ( closes #486 )
...
This fixes only a wrong error report from cppcheck, there was no problem
in code with the variable "python2_bin".
2015-08-13 20:51:51 +02: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
71dd64678c
core: add comments after some #endif
2015-04-30 21:15:30 +02:00
Sébastien Helleu
e95f853303
scripts: reset current script pointer when load of script fails in python/perl/ruby/lua/tcl plugins
2015-03-07 09:35:29 +01: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
79afeb2111
python: fix restore of old interpreter when a function is not found in the script
2015-03-01 09:12:02 +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
c1a5a76d08
scripts: reformat some code to make it more readable
2015-02-21 09:16:25 +01:00
Sébastien Helleu
8f11de6863
scripts: improve comments on functions that convert hashtables
2015-02-21 09:12:44 +01:00
Sébastien Helleu
cf5501f69c
core: add priority in plugins to initialize them in order
...
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer,
irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-15 07:40:38 +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
3ec3fb4e8d
python: fix read of return value for callbacks returning an integer in Python 2.x ( closes #125 )
2014-07-12 14:51:39 +02: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
Sébastien Helleu
7618fdd240
core: use lower case for CMake keywords
2014-04-12 18:00:27 +02:00
Sebastien Helleu
9b380a935b
core: fix use of reserved C identifiers in headers ( closes #31 )
2014-03-19 10:39:13 +01: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
18fd85de7d
python: return WEECHAT_RC_ERROR in command /python if arguments are wrong/missing
2014-02-21 13:37:17 +01:00
Sebastien Helleu
5ac3d538b8
python: fix interpreter used after unload of a script
2014-02-17 21:56:21 +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
Sebastien Helleu
48837c35bc
api: add stdin options in functions hook_process_hashtable and hook_set (task #10847 , task #13031 )
...
The function hook_set has been added in script API.
2014-01-11 09:12:04 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
02fc4053c9
python: fix load of scripts with python >= 3.3
2013-11-28 19:46:36 +01:00
Sebastien Helleu
717eaae496
scripts: use #ifdef to check if versions are defined in signal "debug_libs"
2013-11-18 14:32:13 +01:00
Sebastien Helleu
3b53a3a8be
core: remove "v" before versions displayed by /debug libs
2013-11-18 07:46:14 +01:00
Sebastien Helleu
b63ac8a0f1
scripts: display lib version on signal "debug_libs"
2013-11-17 20:51:54 +01:00
Sebastien Helleu
b5f6874f2c
core: move the "-no-undefined" from LDFLAGS in configure.ac to Makefile.am in plugins
...
This "-no-undefined" was causing an error when detecting "ld" lib on Cygwin.
2013-10-05 20:17:18 +02:00
Sebastien Helleu
eac1ca929b
core: add syntax "@buffer:item" in bar items to force the buffer used when displaying the bar item (task #12717 )
2013-08-19 21:22:10 +02:00
Sebastien Helleu
dc878c5b69
api: add argument "options" in function string_eval_expression, add option "-c" for command /eval (to evaluate a condition)
2013-08-04 08:56:56 +02:00
Sebastien Helleu
6be17ac263
api: add new function strlen_screen
2013-07-27 18:21:50 +02:00
Sebastien Helleu
94b9104d14
core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.am
2013-07-20 09:07:05 +02:00