1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-23 03:16:37 +02:00
Commit Graph

40 Commits

Author SHA1 Message Date
Sébastien Helleu 939b16230c script: allow command /script list when option script.scripts.download_enabled is set to off (closes #1574) 2020-10-15 20:38:43 +02:00
Sébastien Helleu feb6258910 core: update copyright dates 2020-01-04 10:41:26 +01:00
Sébastien Helleu 85f6c5eeda script: add options "-ol" and "-il" in command /script, display "No scripts loaded" if no scripts are loaded 2019-09-19 21:20:55 +02:00
Sébastien Helleu 7e0da4b68a script: add missing input actions "A" and "v" in /help script 2019-01-20 20:13:54 +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 03456722ef core: fix typo: scripts manager -> script manager 2018-01-29 21:04:27 +01:00
Sébastien Helleu ed4837b2f6 core: update copyright dates 2018-01-05 00:54:18 +01:00
Sébastien Helleu 586d2a0745 script: add support of PHP scripts 2017-09-03 15:34:30 +02:00
Sébastien Helleu 71965ddbae script: replace scripts iset.pl and buffers.pl by go.py and urlserver.py in examples 2017-07-22 12:57:30 +02:00
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 e6e8f34b4a script: update help on /script search 2015-12-10 07:06:21 +01:00
Sébastien Helleu e734914380 script: add completion with languages and extensions, support search by language/extension in /script search 2015-12-09 07:40:16 +01:00
Sébastien Helleu 2a494227b4 script: fix comment 2015-12-02 19:35:16 +01:00
Sébastien Helleu 145191dbc5 javascript: add new plugin to run javascript scripts in WeeChat
This plugin was originally written by Koka El Kiwi
(repository: https://github.com/KokaKiwi/weechat-js-plugin).

This plugin uses Google V8 engine to execute JS scripts.
2015-03-07 16:52:09 +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
Sebastien Helleu f62472e377 script: fix scroll on script buffer in the detailed view of script (closes #6) 2014-03-07 17:50:18 +01:00
Sebastien Helleu a3253378b7 script: return WEECHAT_RC_ERROR in command /script if arguments are wrong/missing 2014-02-21 13:38:46 +01:00
Sebastien Helleu 8fc7515322 core: reformat hook_command arguments 2014-01-18 20:33:19 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu 345be1ec5e script: add key alt+A in /help script (thanks ArZa) 2013-05-03 22:26:19 +02: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 c08cacd3c0 script: do not open script buffer when unknown arguments are given to command /script 2012-12-21 21:59:05 +01:00
Sebastien Helleu e667b606a9 script: fix scroll with mouse when window with script buffer is not the current window (do not force a switch to script buffer in current window) 2012-12-19 09:02:14 +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 09f80c20d6 script: add options -o and -i for /script list 2012-08-21 21:42:34 +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 2944adc954 script: add focus info for mouse on script buffer, add two default mouse bindings: left button = select line, right button = install/remove script 2012-08-20 13:36:29 +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 13b1d64aa1 script: add option "search" for command /script (completion with script tags) 2012-08-18 09:01:26 +02:00
Sebastien Helleu 2485831d4a script: add option "reload" for command /script, fix completion of /script, add examples in /help script 2012-08-17 09:55:02 +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