Sébastien Helleu
e7b6e8c60f
api: restrict number to integer in function string_parse_size
2022-09-27 15:50:43 +02:00
Sébastien Helleu
4d74a89cfc
api: add function string_parse_size
2022-09-27 15:50:43 +02:00
Sébastien Helleu
fe892460ba
tests: fix pylint errors
2022-08-03 21:51:51 +02:00
Sébastien Helleu
6b28cc001f
tests: fix _ast_num in script generator
2022-08-02 23:52:31 +02:00
Sébastien Helleu
23707a12ea
tests: fix scripting API tests with Python 3.8
2022-08-02 21:35:33 +02:00
Sébastien Helleu
a7364d055b
tests: disable pylint errors in testapi.py
2022-08-02 21:21:07 +02:00
Sébastien Helleu
4d4a6f99f9
tests: add tests on hdata functions (scripting API)
2022-08-02 21:11:45 +02:00
Sébastien Helleu
a4c73b9ae7
tests: fix assignment in tcl script generator
2022-08-02 20:55:59 +02:00
Sébastien Helleu
3bc0453cae
tests: fix assignment in perl script generator
2022-08-02 20:55:36 +02:00
Sébastien Helleu
2ed281af02
tests: use double quotes instead of simple quotes in ruby script generator
...
This allows to use escaped chars in strings.
2022-08-02 20:54:35 +02:00
Sébastien Helleu
05abbac297
tests: add subscript in script generator
2022-08-02 20:52:40 +02:00
Sébastien Helleu
237c37e719
tests: fix unary op in script generator
2022-08-02 20:51:40 +02:00
Sébastien Helleu
bcb8647aa4
scripts: fix issue with long interval in function hook_timer
...
Affected plugins: python, ruby, lua, tcl, guile, javascript, php.
2022-08-01 22:18:38 +02:00
Sébastien Helleu
b1404b0277
scripts: fix issue with year ≥ 2038 in functions print_date_tags and print_y_date_tags
...
Affected plugins: python, lua, tcl, guile, javascript.
2022-08-01 21:03:44 +02:00
Sébastien Helleu
1514570ff0
scripts: fix issue with year ≥ 2038 in function infolist_new_var_time
...
Affected plugins: python, lua, tcl, guile, javascript.
2022-08-01 20:32:09 +02:00
Sébastien Helleu
d2c2f9e6cd
tests: fix run of Guile test script
2022-08-01 20:02:35 +02:00
Sébastien Helleu
4629b17173
tests: add tests on functions gui_buffer_new and gui_buffer_new_props
2022-03-13 13:29:50 +01:00
Sébastien Helleu
5d809df6ed
tests: move include of tests/tests.h outside of extern "C"
2022-03-10 21:12:46 +01:00
Sébastien Helleu
9259442dbf
core: add support of date and tags in messages displayed in buffers with free content, add function printf_y_date_tags ( closes #1746 )
2022-01-30 11:41:06 +01:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
2da2172593
api: add parameters pointers, extra_vars and options in function hdata_search
2021-11-06 15:59:18 +01:00
Sébastien Helleu
1206e9e5c3
tests: fix typo in comment
2021-10-14 20:38:16 +02:00
Sébastien Helleu
0f9640a5f3
core: split WeeChat home in 4 directories, use XDG directories by default (issue #1285 )
...
The 4 directories (which can be the same):
- config: configuration files, certificates
- data: log/upgrade files, local plugins, scripts, xfer files
- cache: script repository, scripts downloaded (temporary location)
- runtime: FIFO pipe, relay UNIX sockets
2021-05-11 21:06:34 +02:00
Sébastien Helleu
611ea27edc
tests: disable pylint error useless-object-inheritance
2021-03-19 09:14:59 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
579af1b265
tests: fix compilation with CppUTest ≥ 4.0
...
MemoryLeakWarningPlugin::turnOnNewDeleteOverloads is replaced by
MemoryLeakWarningPlugin::turnOnThreadSafeNewDeleteOverloads, which is available
in both CppUTest 3.x and 4.0.
2020-08-29 10:18:50 +02:00
Sébastien Helleu
268aa631c6
api: add function string_color_code_size (issue #1547 )
2020-08-22 08:55:16 +02:00
Sébastien Helleu
62ccee9505
tests: run tests on plugins only if the plugins are enabled and compiled
2020-05-17 15:29:06 +02:00
Sébastien Helleu
88bef0b1b1
core: rename functions hook_completion_{get_string|list_add} to completion_{get_string|list_add}
...
Old functions are kept for compatibility reasons.
2020-05-08 10:51:30 +02:00
Sébastien Helleu
2b05b64cc1
tests: fix pylint errors
2020-05-03 20:22:21 +02:00
Sébastien Helleu
9545d37ab0
tests: add tests on IRC protocol functions and some callbacks
...
Functions tested:
* irc_protocol_is_numeric_command
* irc_protocol_log_level_for_command
* irc_protocol_tags
* irc_protocol_nick_address
* irc_protocol_cb_account
* irc_protocol_cb_away
* irc_protocol_cb_001
* irc_protocol_cb_005
2020-03-11 20:53:49 +01:00
Sébastien Helleu
c6757f642f
tests: fix generation of test scripts with Python 3.8
2020-03-02 21:39:27 +01:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
c713a0e475
tests: fix scripting API tests on 32-bit arch
...
The problem is that on 32-bit arch (like GNU/Hurd), the number 42000000000000
is converted to 42000000000000L in Python, which is causing troubles in other
languages like Perl.
The fix is to use a smaller number. Such large size for function
string_format_size is tested in the C++ test suite anyway.
2019-03-25 00:18:55 +01:00
Sébastien Helleu
80b980b2af
api: add function command_options (issue #928 )
2019-02-28 20:19:18 +01:00
Sébastien Helleu
c2859096cb
api: add function string_match_list
2019-02-27 07:46:22 +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
796859b873
core: fix copyright dates
2018-09-01 08:13:12 +02:00
Sébastien Helleu
e0cecefb0f
tests: fix compiler warnings on calls to snprintf
2018-07-13 22:35:39 +02:00
Sébastien Helleu
c1dee726d5
tests: turn off memory leak detection only when testing javascript API
2018-04-13 20:57:34 +02:00
Sébastien Helleu
3c97a1abae
tests: fix typo in language name
2018-04-13 20:53:34 +02:00
Sébastien Helleu
cc06b95ba7
tests: add tests on infolists
2018-04-12 19:47:42 +02:00
Sébastien Helleu
5ae557fa52
tests: fix AST return in TCL
2018-04-11 23:20:12 +02:00
Sébastien Helleu
b2344fe5d6
tests: fix AST return in PHP
2018-04-11 23:10:46 +02:00
Sébastien Helleu
cb4348df61
tests: fix AST return in Perl
2018-04-11 23:02:02 +02:00
Sébastien Helleu
6de98179bc
api: add function string_format_size in scripting API
2018-04-07 13:20:58 +02:00
Sébastien Helleu
b8c6a5a2e1
tests: add tests on command/completion hooks scripting API functions
2017-10-28 13:12:00 +02:00
Sébastien Helleu
09f3edc2e6
tests: add tests on prefix and color scripting API functions
2017-10-27 01:12:35 +02:00
Sébastien Helleu
0fd1913ae8
tests: add tests on key_bind and key_unbind scripting API functions
2017-10-24 23:33:52 +02:00