Sébastien Helleu
5bec71f891
php: move macro API_FUNC_INIT, aggregate declaration of variables
2017-09-06 00:26:17 +02:00
Sébastien Helleu
a1a3822d89
php: remove empty line
2017-09-04 21:10:19 +02:00
Sébastien Helleu
28811c7ebd
php: sort functions by topic, remove unused API functions, fix compiler warning
...
Functions removed (not in scripting API):
- weechat_string_replace
- weechat_hdata_get_var
- weechat_hdata_get_var_type
2017-09-04 21:08:49 +02:00
Sébastien Helleu
43624c6d70
php: add comments in code
2017-09-03 15:34:30 +02:00
Sébastien Helleu
586d2a0745
script: add support of PHP scripts
2017-09-03 15:34:30 +02:00
Sébastien Helleu
baa1d5fbc9
php: add function "hdata_compare"
2017-09-03 15:34:29 +02:00
Sébastien Helleu
6a45c5e243
php: add "PLUGIN" in headers
2017-09-03 15:34:26 +02:00
Adam Saponara
d032ee2159
php: new php plugin
...
This plugin requires PHP >= 7.0.
2017-09-03 15:33:16 +02:00
Sébastien Helleu
8c046d9be9
buflist: remove recursive evaluation of extra variables ( closes #1060 )
2017-09-02 14:00:20 +02:00
Sébastien Helleu
2deea7f53e
core: add note about wildcard in /help set
2017-09-01 21:04:25 +02:00
Sébastien Helleu
6d46daed6c
doc: add non-breaking spaces in French messages
2017-08-25 07:45:34 +02:00
Sébastien Helleu
de9f771674
irc: fix CTCP PING reply when the option irc.ctcp.ping is set to non-empty value
2017-08-23 23:11:11 +02:00
Sébastien Helleu
a9c6964617
core: add note about bar item "input_paste" in /help weechat.look.paste_max_lines ( closes #1054 )
2017-08-21 07:48:42 +02:00
Sébastien Helleu
db0bdc2ac6
core: add flag "input_get_empty" in buffer
...
The default value is 0 (legacy behavior).
When it is set to 1, an empty input (just by pressing Return with nothing in
input) is sent to the input callback, which receives an empty string.
2017-08-21 07:41:28 +02:00
Sébastien Helleu
2ab40e02e6
Revert "irc: do not use away color for nicks in nicklist if option irc.look.color_nicks_in_nicklist is on"
...
This reverts commit 0c86e742c5 .
2017-08-19 12:47:01 +02:00
Sébastien Helleu
0c86e742c5
irc: do not use away color for nicks in nicklist if option irc.look.color_nicks_in_nicklist is on
2017-08-19 11:24:36 +02:00
Sébastien Helleu
835c94db4b
core: add signals "buffer_filters_enabled" and "buffer_filters_disabled"
2017-08-18 22:10:17 +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
f19507ff6a
alias: add infolist "alias_default" (list of default aliases)
2017-08-12 18:37:45 +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
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
c58716809c
core: remove unneeded argument in call to string_fprintf
2017-08-10 19:55:29 +02:00
Sébastien Helleu
ef019b6ecd
api: add cast of time_t to long in info "uptime"
...
This fixes a compiler warning on OpenBSD.
2017-07-23 16:39:13 +02:00
Sébastien Helleu
cf51849ac5
relay: fix send of "PART" command in backlog (irc protocol)
2017-07-23 16:13:00 +02:00
Sébastien Helleu
b95da03f3a
relay: end capability negociation if CAP REQ is received without arguments (issue #1040 )
...
This fixes a bug with clients like Atomic which are sending "CAP REQ :".
2017-07-23 15:47:06 +02:00
Sébastien Helleu
70839c732e
relay: fix initialization of irc_argv_eol, free variable after use (issue #1040 )
2017-07-23 14:22:12 +02:00
Sébastien Helleu
a58d3fac4c
relay: fix parsing of CAP command without arguments in irc protocol, send ACK only if all capabilities received are OK and NAK otherwise ( closes #1040 )
2017-07-23 13:58:45 +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
33e5991791
core: replace /iset by /fset in welcome message
2017-07-22 12:45:39 +02:00
Sébastien Helleu
97e06675a5
script: add local variable "filter" in the script buffer ( closes #1037 )
2017-07-11 18:27:01 +02:00
Sébastien Helleu
d24fb8458b
fset: call function fset_buffer_set_localvar_filter when the fset buffer is opened
2017-07-11 18:18:36 +02:00
Sébastien Helleu
fdc7425321
fset: fix note about leading spaces in /help fset ( closes #1035 )
2017-07-09 15:52:15 +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
f1cd765e1a
core: call the config hook when options are renamed
2017-07-08 14:45:14 +02:00
Sébastien Helleu
8fdd6164ef
core: call the config hook when options are removed
2017-07-08 14:44:28 +02:00
Sébastien Helleu
d01a3298b3
fset: fix comment
2017-07-07 08:36:11 +02:00
Sébastien Helleu
cd44bd83cd
fset: do not catch /set command if it's issued on the fset buffer
2017-07-07 08:00:19 +02:00
Sébastien Helleu
94cd1b037f
core: add constant WEECHAT_EXTRA_LIBDIR
2017-07-05 19:56:41 +02:00
Linus Heckemann
d6c1d02eca
core: search WEECHAT_EXTRA_LIBDIR for plugins ( closes #971 , issue #979 )
...
In addition to searching the statically configured WEECHAT_LIBDIR
(weechat's installation directory) for plugins, search the path
given in the environment variable WEECHAT_EXTRA_LIBDIR. This makes
departing from the FHS standard while keeping the plugins packaged
separately easier. This change was made specifically with the Nix
package manager in mind, but can easily be used by others.
2017-07-05 19:52:48 +02:00
Sébastien Helleu
b276d0621c
core: add arguments in function plugin_auto_load to load plugins only from custom path or lib dir
2017-07-04 22:14:44 +02:00
Sébastien Helleu
f70c2e521e
core: use PATH_MAX for size of variable with complete filename in exec_on_files
2017-07-04 22:14:44 +02:00
Sébastien Helleu
ff448b9096
api: add argument "recurse_subdirs" in function exec_on_files()
2017-07-04 22:01:14 +02:00
Sébastien Helleu
5848d06e65
fset: fix crash in dump of options
2017-07-02 12:58:21 +02:00
Sébastien Helleu
448112f3e6
fset: hook signal "debug_dump"
2017-07-02 12:58:12 +02:00
Sébastien Helleu
093032bc8d
fset: always use a timer to refresh buffer when options are changed
2017-07-02 12:51:09 +02:00
Sébastien Helleu
4ce0d2af6d
fset: remove useless check/set of fset_buffer_selected_line
...
This is already done in the function fset_option_get_options.
2017-07-02 12:48:55 +02:00
Sébastien Helleu
860330a6bf
fset: add braces around else statement
2017-07-02 09:49:34 +02:00
Sébastien Helleu
79d44d87a3
fset: do not reset selected line after options are added/removed
2017-07-02 09:42:08 +02:00
Sébastien Helleu
b67c7a4b29
buflist: add option buflist.look.add_newline ( closes #1027 )
2017-07-01 16:07:43 +02:00