Sébastien Helleu
255e46eaef
guile: return integer (0/1) instead of boolean in API functions
2017-10-03 21:16:11 +02:00
Sébastien Helleu
682979bb90
guile: fix return value of static strings
2017-10-02 19:20:26 +02:00
Sébastien Helleu
ddb661cd80
aspell: display "?" if lang is NULL in /aspell listdict
...
The lang should never be NULL anyway (this fixes a compiler warning).
2017-09-28 01:36:10 +02:00
Sébastien Helleu
1eefbf6ba5
php: use PHP_VERSION_ID instead of PHP_MAJOR_VERSION and PHP_MINOR_VERSION
2017-09-28 00:51:15 +02:00
Sébastien Helleu
b2d6d08c9e
php: add comments with PHP version
2017-09-28 00:43:06 +02:00
Sébastien Helleu
7483c2a311
php: fix condition on PHP version to support future PHP versions (>= 8.0)
2017-09-28 00:28:32 +02:00
Sébastien Helleu
3c727cc04c
Merge pull request #1069 from adsr/master
...
php: use find_library to find libphp7.so
2017-09-28 00:21:25 +02:00
Sébastien Helleu
01cc63aa45
core: initialize variables attrs and pair before calling wattr_get
...
This fixes a compiler warning, in some cases wattr_get may not initialize the
variables.
2017-09-25 20:12:31 +02:00
Sébastien Helleu
5aab494dd6
core, plugins: check return code of strftime function
2017-09-23 15:06:28 +02:00
Sébastien Helleu
e4cc90f4b4
logger: call strftime before replacing buffer local variables
2017-09-23 15:04:21 +02:00
Sébastien Helleu
5f7b62f835
php: fix crash in API function string_eval_path_home
2017-09-21 21:01:29 +02:00
Adam Saponara
fd287abe1b
php: fix compiler warning for PHP >=7.1
2017-09-17 17:13:45 -04:00
Sébastien Helleu
4d75b5b145
php: fix crash in API function string_eval_expression
2017-09-17 17:36:56 +02:00
Sébastien Helleu
24bef50ab2
php: fix function plugin_get_name
2017-09-10 20:51:42 +02:00
Sébastien Helleu
e5acc39770
php: fix arguments of hook_command callback
2017-09-09 15:09:34 +02:00
Sébastien Helleu
1851f6472f
php: rename print functions
...
Rename:
- printf to print
- printf_date_tags to print_date_tags
- printf_y to print_y
- log_printf to log_print
2017-09-07 21:50:20 +02:00
Sébastien Helleu
8bd874a281
python: add/remove some empty lines for readability
2017-09-07 21:40:58 +02:00
Sébastien Helleu
36a9cffa39
php: check that script is registered in API functions, add macros to return values
2017-09-07 21:33:23 +02:00
Sébastien Helleu
e10307a3c2
api: check script pointer in scripting API functions
2017-09-07 21:30:36 +02:00
Sébastien Helleu
2a04ae0d65
php: rename API callback functions
2017-09-06 20:58:15 +02:00
Sébastien Helleu
48c9fbec35
php: add missing functions current_buffer and current_window
2017-09-06 20:07:26 +02:00
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