Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +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
c35c941298
script: add option script.scripts.download_timeout
2015-08-24 13:26:59 +02:00
Sébastien Helleu
fddd7d53a7
script: call function string_eval_path_home() to evaluate scripts path
2015-06-26 07:41:47 +02:00
Sébastien Helleu
07cbc3bd2e
script: rename option script.scripts.dir to script.scripts.path (issue #388 )
2015-06-21 07:40:18 +02:00
Sébastien Helleu
292830b5bf
script: evaluate content of option script.scripts.dir (issue #388 )
2015-06-19 21:12:47 +02:00
Sébastien Helleu
80ccb335a4
script: add note about HTTPS in /help script.scripts.url
2015-03-10 22:05:04 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
786999b4a3
script: add option script.scripts.url_force_https ( closes #253 )
2014-11-15 18:28:34 +01:00
Sébastien Helleu
494d046594
core: remove "www" in weechat.org URLs
2014-07-01 21:27:29 +02:00
Sebastien Helleu
e84eaafe8e
script: set option script.scripts.cache_expire to 1440 by default
2014-03-17 12:59:46 +01:00
Sebastien Helleu
f3d614460b
core: fix typos in translations and docs
2014-01-29 22:37:33 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
f1a346c21a
core: replace darkgray color as default value of options
...
New default value is now used for these options:
- weechat.color.chat_inactive_buffer: "default"
- weechat.color.chat_inactive_window: "default"
- weechat.color.chat_nick_offline: "default"
- weechat.color.chat_nick_offline_highlight_bg: "blue"
- weechat.color.chat_prefix_buffer_inactive_buffer: "default"
- irc.color.topic_old: "default"
- logger.color.backlog_end: "default"
- logger.color.backlog_line: "default"
- script.color.text_delimiters: "default"
2013-12-23 08:35:19 +01:00
Sebastien Helleu
fa9f787e14
core: sort config options by name in sources
2013-07-11 22:31:33 +02:00
Sebastien Helleu
f27f91467a
script: fix typo in /help script.scripts.autoload
2013-03-10 08:56:12 +01:00
Sebastien Helleu
b60aec975b
script: add control of autoload (enable/disable/toggle) (task #12393 )
...
New option script.scripts.autoload, new options autoload/noautoload/toggleautoload
for command /script, new action "A" (meta-A) on script buffer (toggle autoload).
2013-02-25 08:46:41 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +01:00
Sebastien Helleu
7756be5fea
script: display error when installing/removing/loading script if plugin for language is not loaded
2012-09-04 12:57:26 +02:00
Sebastien Helleu
80e740b72f
script: add diff between current script and version in repository
...
New options:
- script.look.diff_command
- script.look.diff_color
Key alt-d has been changed to alt-v on script buffer (view script).
Key alt-d is now used on detail of script to jump to diff (if diff is displayed).
2012-08-30 08:50:22 +02:00
Sebastien Helleu
df7b14e41c
script: add option "script.look.display_source" (display source code with detail of script, enabled by default)
2012-08-28 16:11:51 +02:00
Sebastien Helleu
129f32ce8e
script: add option script.look.quiet_actions (no messages when installing/removing/loading/unloading scripts on script buffer)
2012-08-21 18:57:49 +02:00
Sebastien Helleu
fbbfcf95dd
script: add key alt+L to reload script, allow input on script buffer for actions on script, add option script.look.use_keys
2012-08-18 11:53:01 +02:00
Sebastien Helleu
e211cdad54
script: add option script.look.translate_description
2012-08-16 12:32:41 +02:00
Sebastien Helleu
6a6f45e043
script: add status "a" (autoloaded) for scripts
2012-08-15 09:25:42 +02:00
Sebastien Helleu
a99d136018
core: add new plugin "script" (scripts manager, replacing scripts weeget.py and script.pl)
2012-08-14 18:29:32 +02:00