Sébastien Helleu
03f4afe65e
Revert "core: add extra compiler options to check overflow of destination buffer and output truncation"
...
This reverts commit 4ff4a64209f63cf2a048f7941168336da58727ab.
These compiler flags are not supported on old compiler version, for example on
Debian Stretch/Jessie and Ubuntu Xenial (16.04).
2020-11-29 11:05:38 +01:00
Tim Gates
08db4407ed
docs: fix simple typo, confiuration -> configuration
...
There is a small typo in src/core/weechat.c.
Should read `configuration` rather than `confiuration`.
2020-11-28 09:46:23 +01:00
Sébastien Helleu
4ff4a64209
core: add extra compiler options to check overflow of destination buffer and output truncation
2020-11-28 09:43:57 +01:00
Sébastien Helleu
21aef706cd
core: allocate dynamic string size for colors
2020-11-23 21:25:41 +01:00
Sébastien Helleu
345bdddf62
script: increase buffer size in function script_buffer_detail_label
...
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 15:00:19 +01:00
Sébastien Helleu
d1cad18f01
core: increase buffer size in function plugin_api_info_uptime_cb
...
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 14:59:06 +01:00
Sébastien Helleu
a8dd0e1337
core: increase buffer size in function gui_bar_item_time_cb
...
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 14:56:55 +01:00
Sébastien Helleu
070eb3f7b0
core: increase buffer size in HTTP proxy connection
...
In case of long address/username/password, the HTTP CONNECT message could be
truncated.
2020-11-21 21:13:13 +01:00
Sébastien Helleu
194f8b5b74
core: increase command buffer size in /color command
...
In case of long alias name, the command to set color alias could be truncated.
2020-11-21 21:13:05 +01:00
Sébastien Helleu
ee24fac586
spell: fix crash with IRC color codes in command line ( closes #1589 )
2020-11-20 21:50:05 +01:00
Sébastien Helleu
a2266e4e3f
core: add missing cast to unsigned char on first argument to function isdigit
2020-11-19 22:20:48 +01:00
Sébastien Helleu
214f4f66d9
doc: update German auto-generated file
2020-11-18 22:58:32 +01:00
Nils Görs
14e66962c8
core: update German translations
2020-11-18 09:44:17 +01:00
Sébastien Helleu
5cbda03fca
core: fix and normalize error messages
2020-11-17 21:54:24 +01:00
Sébastien Helleu
21eadc9488
core: display an error when the buffer is not found with command /command -buffer
2020-11-17 13:43:20 +01:00
Sébastien Helleu
6fda5a7e5f
core: remove option to open a blank issue
2020-11-16 22:58:17 +01:00
Sébastien Helleu
b9c8569422
trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings ( closes #1580 )
...
${tg_trigger_name} is replaced by the trigger name in these command strings:
- description
- arguments
- description of arguments
- completion
2020-11-14 09:32:24 +01:00
Sébastien Helleu
b626df72fb
core: add evaluation of conditions in evaluation of expressions with "eval_cond:" ( closes #1582 )
2020-11-14 09:28:46 +01:00
Sébastien Helleu
eb90a73fe8
spell: fix refresh of bar item "spell_suggest" when the input becomes empty ( closes #1586 )
...
When the input is empty, length of string is zero: when sending zero to
function weechat_string_dyn_alloc, the function returns NULL and therefore we
return immediately instead of handling the empty input, which is a valid value.
The regression was introduced by the use of dynamic strings, commit:
299f74bfef9e0d239ad141a4df3b2dcf11a4c0da
2020-11-13 21:30:06 +01:00
Sébastien Helleu
4065d32e68
Version 3.1-dev
2020-11-11 09:30:24 +01:00
Sébastien Helleu
72936fd3be
Version 3.0
v3.0
2020-11-11 08:46:53 +01:00
Sébastien Helleu
3da91d702e
debian: update changelog
2020-11-10 18:32:26 +01:00
Sébastien Helleu
43d9b3a723
Version 3.0-rc1
v3.0-rc1
2020-11-01 10:09:17 +01:00
Nils Görs
5beb5d7052
doc: update German documentation
2020-10-30 12:55:53 +01:00
Sébastien Helleu
0ff08e54f5
trigger: add variable "tg_argc" in data set by command trigger ( closes #1576 )
2020-10-21 19:10:37 +02:00
Sébastien Helleu
30e48336f4
irc: remove SASL timeout message displayed by error after successful SASL authentication ( closes #1515 )
...
The SASL timer is removed immediately when the SASL authentication is
successful or has failed.
2020-10-18 09:35:04 +02:00
Sébastien Helleu
2807a8374b
doc: update German auto-generated file
2020-10-16 21:15:43 +02:00
Nils Görs
da934d9818
core: update German translations
2020-10-16 16:38:50 +02:00
Sébastien Helleu
939b16230c
script: allow command /script list when option script.scripts.download_enabled is set to off ( closes #1574 )
2020-10-15 20:38:43 +02:00
Trygve Aaberge
c3707bb6e1
doc: Update hotlist example to match hotlist_prefix
...
hotlist_prefix defaults to "H: ", so the example should show the same to
make it easier to understand what it is.
2020-10-15 13:46:27 +02:00
Sébastien Helleu
fa46a2fe2d
exec: add option "-oerr" to send stderr to buffer (now disabled by default) ( closes #1566 )
2020-10-11 16:33:50 +02:00
Sébastien Helleu
4d696d7cc8
exec: add missing option "-oc" in /help exec
2020-10-11 15:55:40 +02:00
Sébastien Helleu
c8f2ebcea3
core: add terminal and terminal multiplexer in GitHub issue template
2020-10-11 08:52:54 +02:00
Sébastien Helleu
72fdd689a2
core: update ChangeLog (issue #1567 )
2020-10-10 13:36:26 +02:00
Sébastien Helleu
2384dbe193
trigger: add a function to set variables common to all triggers (issue #1567 )
2020-10-10 13:32:36 +02:00
Sébastien Helleu
fd72226a71
doc: translate tg_trigger_name variable under triggers (issue #1567 )
2020-10-10 13:22:49 +02:00
Simmo Saan
765d2dd277
doc: add tg_trigger_name variable under triggers (issue #1567 )
2020-10-10 10:13:42 +03:00
Simmo Saan
8c87b7a1f0
trigger: add tg_trigger_name variable to all triggers ( closes #1567 )
2020-10-10 10:13:42 +03:00
Sébastien Helleu
07565a4aa6
doc: update German auto-generated file
2020-10-07 20:32:51 +02:00
Nils Görs
79f71a0e1a
core: update German translations
2020-10-05 12:22:21 +02:00
Sébastien Helleu
c016e7ea87
core: use apt-get option --no-install-recommends instead of modifying config file /etc/apt/apt.conf
2020-10-04 19:11:39 +02:00
Sébastien Helleu
bb82dbc0ec
tests: add missing braces around if/else in macro WEE_NICK_STRDUP_FOR_COLOR (issue #1565 )
2020-10-04 08:53:08 +02:00
Sébastien Helleu
f8403c76db
api: add optional list of colors in infos "nick_color" and "nick_color_name" ( closes #1565 )
2020-10-04 08:46:36 +02:00
Sébastien Helleu
657e659c42
core: add argument "num_colors" in function gui_nick_hash_color, add tests on nick functions (issue #1565 )
...
Functions tested:
- gui_nick_hash_djb2_64
- gui_nick_hash_djb2_32
- gui_nick_hash_sum_64
- gui_nick_hash_sum_32
- gui_nick_get_forced_color
- gui_nick_strdup_for_color
- gui_nick_find_color
- gui_nick_find_color_name
2020-10-04 08:46:25 +02:00
Sébastien Helleu
1c5e5824e7
tests: run callback when resetting options in tests
2020-10-03 14:40:59 +02:00
Sébastien Helleu
b32f561f77
irc: fix again typo in English plural form of "normal"
2020-09-12 18:49:42 +02:00
Sébastien Helleu
1745b78b57
irc: fix typo in English plural form of "normal" (normals -> normal)
2020-09-12 18:08:13 +02:00
Sébastien Helleu
7ce5dce8f9
doc: update German auto-generated file
2020-09-12 17:22:19 +02:00
Nils Görs
8544d9ef0b
core: update German translations
2020-09-08 13:15:31 +02:00
Sébastien Helleu
3c987f3a1c
script: add option script.scripts.download_enabled ( closes #1548 )
2020-09-06 19:15:15 +02:00