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
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
6c4b574945
script: fix state of script plugins when list of scripts has not been downloaded
...
The problem happened when doing "/script load script.py" if the scripts list
has not been downloaded (with "/script update"): WeeChat displays that python
plugin is not loaded (which is wrong).
2015-03-18 07:25:26 +01: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
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
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
9e8a6d1e20
script: rename callback for infolist "script_script"
2014-12-01 07:50:11 +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
786999b4a3
script: add option script.scripts.url_force_https ( closes #253 )
2014-11-15 18:28:34 +01:00
Sébastien Helleu
067f310be6
script: fix crash on "/script update" if a script detail is displayed in buffer ( closes #177 )
2014-08-22 20:48:51 +02:00
Sébastien Helleu
733eb99b17
script: fix potential crash in case of malloc error
2014-08-10 15:50:08 +02:00
Sébastien Helleu
dff20632ff
script: fix display of curl errors
2014-07-14 16:05:43 +02:00
Sébastien Helleu
494d046594
core: remove "www" in weechat.org URLs
2014-07-01 21:27:29 +02:00
Sébastien Helleu
7aaf3be15b
api: add argument "flags" in function hdata_new_list
2014-05-24 18:03:14 +02:00
Sébastien Helleu
34723d2acc
api: allow wildcard "*" inside the mask in function string_match
2014-04-12 23:07:06 +02:00
Sébastien Helleu
7618fdd240
core: use lower case for CMake keywords
2014-04-12 18:00:27 +02:00
Sébastien Helleu
84faeb26f9
script: add commas in title of script buffer
2014-04-02 19:55:47 +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
e84eaafe8e
script: set option script.scripts.cache_expire to 1440 by default
2014-03-17 12:59:46 +01:00
Sebastien Helleu
d920f87455
core: fix some compilation problems on SmartOS
2014-03-16 17:46:56 +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
6339c15c6d
script: remove dead assignments in functions script_action_{unload|reload}
2014-02-22 13:57:28 +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
437767c0ca
api: add integer return code for functions hook_{signal|hsignal}_send
2014-02-10 17:42:53 +01:00
Sebastien Helleu
f3d614460b
core: fix typos in translations and docs
2014-01-29 22:37:33 +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
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
757cbcb999
script: load plugin even if options can not be read in script.conf (with warnings)
2013-11-09 10:26:22 +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
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
8bff3225fd
script: fix uninitialized pointer in detailed view of a script
2013-08-01 16:18:44 +02:00
Sebastien Helleu
4c2cffbd31
script: add info about things defined by script in the detailed view of script (/script show)
2013-07-28 16:17:27 +02:00
Sebastien Helleu
94b9104d14
core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.am
2013-07-20 09:07:05 +02:00
Sebastien Helleu
fa9f787e14
core: sort config options by name in sources
2013-07-11 22:31:33 +02:00
Sebastien Helleu
345be1ec5e
script: add key alt+A in /help script (thanks ArZa)
2013-05-03 22:26:19 +02:00
Sebastien Helleu
4b1d87640c
script: do not search by license and author in /script search (thanks to Nils Görs)
2013-04-27 09:01:42 +02:00
Sebastien Helleu
cf2ad51f62
script: create "script" directory on each action (just in case it has been removed) (bug #38472 )
2013-03-17 18:32:04 +01:00
Sebastien Helleu
149c77decd
core: fix typos in many comments and some strings
2013-03-17 12:55:20 +01: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
62ff697772
script: remove unneeded test on ZLIB_FOUND in CMakeLists.txt (zlib is mandatory)
2013-02-12 12:50:32 +01:00
Sebastien Helleu
25eaec3864
core: use size of 32 for hashtables (instead of 4, 8 or 16)
...
A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).
2013-01-26 19:26:43 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
302b0f2f65
script: add missing close of file in case of error when computing MD5 checksum of a file
2012-12-25 17:00:58 +01:00