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
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
3f9c46468c
irc: add option "sort" in command /autojoin
2022-03-11 19:31:56 +01:00
Sébastien Helleu
aadd0772fe
irc: update translations
2022-03-10 21:26:26 +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
Ivan Pešić
e4f93a7f30
doc: Update Serbian documentation
2022-02-22 19:03:51 +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
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
e0db08c782
debian: change dependency libargon2-0-dev to libargon2-dev (debian bug #1005703 )
2022-02-19 10:18:38 +01:00
Sébastien Helleu
a2bb57bf82
doc/api: add missing type for argument "count" in Python prototype of function ngettext
2022-02-14 07:25:22 +01:00
Ivan Pešić
d7c8b16c4f
doc: Update Serbian documentation
2022-02-08 13:22:24 +01:00
Sébastien Helleu
ec86c33789
doc/user: add supported C++ compilers in dependencies
2022-02-01 20:33:17 +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
bf3241208b
doc/api: fix type of parameter "date" in script prototype of function prnt_date_tags
2022-01-30 11:01:17 +01:00
Sébastien Helleu
083662cb34
tests: add tests on GUI chat functions
...
Functions tested:
- gui_chat_utf_char_valid
- gui_chat_char_size_screen
- gui_chat_strlen
- gui_chat_strlen_screen
- gui_chat_string_add_offset
- gui_chat_string_add_offset_screen
- gui_chat_string_real_pos
- gui_chat_string_pos
- gui_chat_get_word_info
- gui_chat_printf_date_tags_internal
- gui_chat_printf_date_tags
- gui_chat_printf_y
2022-01-29 10:24:21 +01:00
Sébastien Helleu
bf9cf3875f
doc/dev: update format of commit messages for docs
2022-01-29 10:12:32 +01:00
Sébastien Helleu
fc2f564950
doc: update auto-generated files with options
2022-01-28 09:36:03 +01:00
Sébastien Helleu
05eb897771
doc/api: merge examples and results in same column (function string_eval_expression)
2022-01-27 21:15:34 +01:00
Sébastien Helleu
113f93e5db
doc/api: add column "Min WeeChat" in string_eval_expression tables
2022-01-27 20:01:46 +01:00
Sébastien Helleu
5172f20217
doc: update Serbian auto-generated file
2022-01-21 22:33:35 +01:00
Ivan Pešić
ab7c4c0147
doc: Update Serbian translation
2022-01-21 14:49:50 +01:00
Nils Görs
28fc2e7cbf
doc: update German documentation
2022-01-18 08:51:55 +01:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
ab12d384ea
doc: add example of hook_process with a script function (scripting guide)
2022-01-16 10:16:27 +01:00
Sébastien Helleu
c775242a4c
doc: remove useless comparison with empty string in Python examples (plugin API reference)
2022-01-16 10:15:55 +01:00
Sébastien Helleu
f8915129bf
core: rename argument "length" to "bytes" in function string_strndup
2022-01-14 21:41:25 +01:00
Nils Görs
0e57d01076
doc: update German documentation
2022-01-12 12:37:00 +01:00
Sébastien Helleu
286338f627
doc: add missing macro WEECHAT_PLUGIN_AUTHOR (plugin API reference)
2022-01-08 17:05:51 +01:00
Sébastien Helleu
08e0d3912a
doc: add note about chars replaced in IRC tag key/value (user's guide)
2021-12-30 21:49:51 +01:00
Sébastien Helleu
532d46bb93
trigger: add variables ${tg_tag_irc_xxx} containing IRC message tags (issue #1680 )
2021-12-30 21:22:37 +01:00
Sébastien Helleu
ee96b9b867
doc: change pygments pre-processor color from red to green/cyan
2021-12-28 23:34:38 +01:00
Sébastien Helleu
1c022d3bda
doc: move section "Fset" in "Configuration" (user's guide)
2021-12-28 22:22:14 +01:00
Sébastien Helleu
df0506dbdf
doc: update German auto-generated file
2021-12-28 13:34:15 +01:00
Sébastien Helleu
c8a8680d60
relay: improve help on option relay.network.compression
2021-12-25 10:44:00 +01:00
Sébastien Helleu
af067f18e2
doc: update auto-generated files with options
2021-12-25 10:31:44 +01:00
Sébastien Helleu
454c0acbcf
doc: fix color of preformatted text in docs
2021-12-25 10:30:18 +01:00
Sébastien Helleu
498194f6fc
relay: add zstd compression in weechat protocol
...
Option relay.network.compression_level is renamed to relay.network.compression
and is now a percentage between 0 (no compression) to 100 (best compression,
slowest).
Compression is now disabled by default in weechat protocol and must be enabled
via the `handshake` command (option `compression` has been removed from `init`
command).
2021-12-24 16:45:57 +01:00
Nils Görs
20e219a2c9
doc: update German documentation
2021-12-20 10:23:22 +01:00
Sébastien Helleu
5bb56e0f57
doc: mention IRC server buffer in default key binding ctrl-x (user's guide)
2021-12-18 13:41:09 +01:00
Krzysztof Korościk
2376b6aa5e
doc: update polish translation
2021-12-17 23:28:35 +01:00
Nils Görs
5a24ffd951
doc: update German documentation
2021-12-17 09:19:32 +01:00