Sébastien Helleu
116f533e0d
doc: update German auto-generated files
2022-03-13 14:07:56 +01:00
Sébastien Helleu
c943d3507f
python: add function buffer_new_props in Python stub file
2022-03-13 14:07:22 +01:00
Sébastien Helleu
869279e9b6
tests: add tests on function gui_buffer_match_list
2022-03-13 14:03:23 +01:00
Sébastien Helleu
947ca33c14
tests: add tests on function gui_buffer_valid
2022-03-13 14:03:14 +01:00
Sébastien Helleu
44ec7e8cfa
tests: add tests on functions gui_buffer_search_type and gui_buffer_search_notify
2022-03-13 13:49:18 +01: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
e5e3a9d2da
api: add function buffer_new_props ( closes #1759 )
2022-03-13 10:35:29 +01:00
Sébastien Helleu
fbbed9fbf7
core: add function gui_buffer_new_props (issue #1759 )
...
This function allows to create a buffer and set properties via a hashtable,
before the signal "buffer_opened" is sent.
2022-03-13 10:35:29 +01:00
Sébastien Helleu
310b4dd2a0
tests: close xfer buffer after receiving some files
2022-03-13 10:34:56 +01:00
Sébastien Helleu
55f1655064
dev/scripting: fix typo
2022-03-12 20:50:25 +01:00
Sébastien Helleu
55aa40e087
doc/dev: add file test-irc-tag.cpp
2022-03-12 16:47:14 +01:00
Sébastien Helleu
68f395d433
doc/dev: add file irc-typing.c
2022-03-12 16:41:52 +01:00
Sébastien Helleu
22a36665e3
doc/dev: add file test-logger-backlog.cpp
2022-03-12 16:38:58 +01:00
Sébastien Helleu
65e08ffe07
core: update ChangeLog (issue #1761 )
2022-03-12 16:11:08 +01:00
Sébastien Helleu
8781187771
doc/scripting: translate note about Tcl constant $::weechat::WEECHAT_NULL
2022-03-12 16:08:19 +01:00
Trygve Aaberge
197a7a01e4
scripts: allow null values in config_new_option
...
The plugin API function config_new_option accepts null as the
default_value and/or value however the scripting APIs (except for lua)
didn't allow sending null as a parameter value, so it was impossible to
use it this way. This allows sending a null value for these parameters.
Lua already supported sending in nil for these parameters and it works
as expected, so nothing is changed for this plugin.
For Guile you can now send in #nil, for JavaScript null or undefined,
for Perl undef, for PHP NULL, for Python None, for Ruby nil and for Tcl
$::weechat::WEECHAT_NULL.
In all of these languages except Tcl this is the special value
indicating a missing value. However Tcl only has one type, string, so it
doesn't have a null value. Therefore I created a constant with the value
`\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF` which is used
instead. This is very unlikely to appear unintentionally. Using the
unicode code point \uFFFF was suggested on
https://wiki.tcl-lang.org/page/null .
I tested this with these scripts:
https://gist.github.com/trygveaa/f91977dde5d2876d502bf55fbf9b50cc
2022-03-12 16:00:38 +01:00
Sébastien Helleu
47e71a1bbd
tests: close buffers of channels created for tests on irc_join_save_channels_to_autojoin
2022-03-12 15:20:45 +01:00
Emir SARI
3a4a9459e7
Update Turkish translations
2022-03-12 10:36:12 +01:00
Nils Görs
cd6b83470e
core: update German translations
2022-03-11 20:39:51 +01:00
Sébastien Helleu
3f9c46468c
irc: add option "sort" in command /autojoin
2022-03-11 19:31:56 +01:00
Sébastien Helleu
9a286c65c6
tests: add missing include of string.h
2022-03-10 21:37:13 +01:00
Sébastien Helleu
aadd0772fe
irc: update translations
2022-03-10 21:26:26 +01:00
Sébastien Helleu
bb03e18425
irc: display only one message in /autojoin command output
2022-03-10 21:12:46 +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
74ba21a8c4
tests: add tests on verbose argument of irc join functions
2022-03-10 21:12:46 +01:00
Sébastien Helleu
02bdf854bc
irc: fix add of same channel with and without key in the array list
2022-03-10 21:12:46 +01:00
Sébastien Helleu
8c66070136
irc: rename server option "autojoin_record" to "autojoin_dynamic"
2022-03-10 21:12:46 +01:00
Sébastien Helleu
9cfdb4a324
irc: add command /autojoin
2022-03-10 21:12:46 +01:00
Sébastien Helleu
c1e65e8edd
irc: add server option "autojoin_record"
2022-03-10 21:12:46 +01:00
Sébastien Helleu
f81a0dc4d9
doc: fix syntax highlighting in Serbian docs
2022-03-07 21:46:33 +01:00
Sébastien Helleu
d06f1e8486
guile: remove disabling of guile gmp allocator with Guile ≥ 3.0.8
...
This fixes the compilation warning:
weechat-guile.c: In function ‘weechat_plugin_init’:
weechat-guile.c:1270:5: warning: ‘scm_install_gmp_memory_functions’ is deprecated [-Wdeprecated-declarations]
2022-03-06 16:42:54 +01:00
Sébastien Helleu
ffb6cc3208
tests: add tests on function irc_server_valid
2022-03-05 20:53:01 +01:00
Sébastien Helleu
dc779b5179
tests: add tests on functions irc_server_search and irc_server_casesearch
2022-03-04 21:44:46 +01:00
Sébastien Helleu
7228262591
irc: fix display of message 901 (you are now logged out) ( closes #1758 )
2022-02-28 22:12:22 +01:00
Ivan Pešić
e4f93a7f30
doc: Update Serbian documentation
2022-02-22 19:03:51 +01:00
Sébastien Helleu
fd27faf899
tests: add tests on function logger_backlog_display_line
2022-02-21 20:17:01 +01:00
Sébastien Helleu
7486ea6dc1
logger: split function logger_backlog into two functions
2022-02-21 20:16:43 +01:00
Sébastien Helleu
9e9e252ff3
doc/relay: fix columns sizes in tables
2022-02-21 18:27:22 +01:00
Sébastien Helleu
db368b5824
doc/scripting: fix column size in tables
2022-02-21 18:26:39 +01:00
Sébastien Helleu
214e3cb1c2
doc/user: fix style in tables
2022-02-21 18:26:11 +01:00
Nils Görs
b4a14ef1dd
doc: update German documentation
2022-02-21 08:58:00 +01:00
Sébastien Helleu
40ff9beb10
doc/dev: add table with list of components for git commit message
2022-02-20 17:31:25 +01:00
Trygve Aaberge
d359e8135e
doc/api: Add missing parameter to python prototype for config_new_section
2022-02-20 16:49:04 +01:00
Sébastien Helleu
8700e0bb36
scripts: auto-load scripts with supported extensions only ( closes #1698 )
2022-02-20 16:29:31 +01:00
Sébastien Helleu
601bd7e0b8
doc/user: update dependencies using versions from Debian Bullseye
2022-02-20 16:12:21 +01:00
Sébastien Helleu
d3a9ce29fc
doc/user: add missing dependency on ruby-pygments.rb to build doc
2022-02-20 09:09:54 +01:00
Sébastien Helleu
f39c6a58d0
irc: replace calls to strndup by weechat_strndup
2022-02-19 16:34:36 +01:00
Sébastien Helleu
4068dc8da5
core: replace calls to strndup by string_strndup
2022-02-19 16:34:19 +01:00
Sébastien Helleu
7051c0fc2b
tests: add tests on function string_strndup
2022-02-19 16:33:49 +01:00
Sébastien Helleu
7f8e5b892d
core: call strdup in string_strndup if bytes equals strlen of string
2022-02-19 16:32:59 +01:00