Sébastien Helleu
1a34f87163
core: do not automatically add a space when completing "nick:" at the beginning of command line
...
The space can be added in option weechat.completion.nick_completer
(this is now the default value of the option):
/set weechat.completion.nick_completer ": "
2019-01-26 14:54:57 +01:00
Sébastien Helleu
4d9fd4c4aa
core: fix compilation of empty regular expression (not allowed on FreeBSD)
2019-01-26 10:21:39 +01:00
Sébastien Helleu
73a4901fe1
tests: fix evaluation tests on FreeBSD
...
The following special sequences are not supported in regular expressions on
FreeBSD:
- "\w": replaced with "[a-zA-Z0-9_]"
- "\S": replaced with "[^ ]" (it should be "[^ \t\n\r\f\v]", but in practice
only spaces could be a problem when we use this sequence).
2019-01-26 10:00:47 +01:00
Sébastien Helleu
507dfec781
tests: fix UTF-8 tests on FreeBSD
...
Tests for size on screen are made on U+2EE9 (CJK Radical Simplified Yellow)
instead of U+24B62 (CJK Unified Ideograph-24B62) which returns a length of 1 on
FreeBSD and 2 on Linux.
2019-01-26 09:57:30 +01:00
Sébastien Helleu
fec7d38e3d
irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence
2019-01-20 15:07:21 +01:00
Sébastien Helleu
85ee15d4e2
irc: fix encoding of italic attribute when colors are removed
2019-01-20 15:04:52 +01:00
Sébastien Helleu
e847068a3c
buflist: add default keys ctrl-F1/F2 to scroll up/down one page in buflist (same action as F1/F2)
2019-01-20 01:29:33 +01:00
Sébastien Helleu
9d6ebeda0d
core: add default keys ctrl-F11/F12 to scroll up/down one page in nicklist (same action as F11/F12)
2019-01-20 01:29:28 +01:00
Sébastien Helleu
09a124c226
buflist: add alternate key codes for F1/F2 and alt-F1/alt-F2 (compatibility with terminals)
2019-01-20 01:09:26 +01:00
Sébastien Helleu
1b26d0608f
core: update ChangeLog
2019-01-13 14:48:16 +01:00
Sébastien Helleu
8009094717
irc: fix parsing of "time" message tag on FreeBSD (issue #1289 )
2019-01-11 22:40:06 +01:00
Sébastien Helleu
c96e2f3593
tests: add tests on function irc_config_check_autojoin
2019-01-11 22:27:28 +01:00
Sébastien Helleu
d26380a9bb
core: replace "Mac OS X" and "OS X" by "macOS" (issue #1272 )
2018-11-18 11:04:29 +01:00
Sébastien Helleu
916d99ad40
exec: add option exec.command.shell to customize the shell used with /exec -sh
2018-11-17 11:39:28 +01:00
Sébastien Helleu
85d7c9b6c5
core: add command line option "-t" (or "--temp-dir") to create a temporary WeeChat home (deleted on exit)
2018-11-17 10:36:58 +01:00
Sébastien Helleu
34fd37fa50
core: fix forced highlight on messages sent to other buffers ( closes #1277 )
...
The C compiler flag "-fsigned--char" is used to force "char" data type to be
always signed (which is what WeeChat expects).
On ARM systems, char is unsigned by default, which is causing problems when
WeeChat stores -1 in the notify_level (type: char).
2018-11-14 22:23:34 +01:00
Sébastien Helleu
de8d640958
relay: add support of close frame in websocket connection ( closes #1281 )
2018-11-12 20:43:48 +01:00
Sébastien Helleu
594917bff4
core: add fix of memory leak in ChangeLog
2018-11-08 08:42:00 +01:00
Sébastien Helleu
6cdcebed8c
buflist: add variable ${number2}, always set with the indented buffer number
2018-11-05 22:21:03 +01:00
Sébastien Helleu
738535e7f6
relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol
2018-11-04 14:50:53 +01:00
Sébastien Helleu
ed3f281ba9
api: add functions string_base_{encode,decode}, remove functions string_{encode,decode}_base64
2018-11-04 14:49:11 +01:00
Sébastien Helleu
8848b0e22a
api: return integer in function string_encode_base64
2018-11-02 14:09:23 +01:00
Sébastien Helleu
d0ea801724
core: add support of TOTP generation/validation (Time-based One-Time Password)
2018-11-02 14:06:14 +01:00
Sébastien Helleu
3f067f2065
buflist: fix warning displayed when script buffers.pl is loaded ( closes #1274 )
2018-10-27 08:52:20 +02:00
Sébastien Helleu
6620f40efa
Version 2.3
2018-10-21 11:12:41 +02:00
Sébastien Helleu
e7cb025e68
php: add detection of PHP 7.3
2018-10-16 23:02:13 +02:00
Sébastien Helleu
f17cee75dc
core: update ChangeLog (issue #1267 )
2018-10-14 21:03:56 +02:00
Sébastien Helleu
8da3458f4c
core: add repeat of string in evaluation of expressions with "repeat:count,string" ( closes #958 )
2018-10-09 21:12:02 +02:00
Sébastien Helleu
82697714e1
core: fix evaluation of nested ternary operators ( closes #1263 )
2018-10-08 22:51:08 +02:00
Sébastien Helleu
e6e46bcae6
core: update ChangeLog (issue #1259 )
2018-10-06 07:13:23 +02:00
Sébastien Helleu
e28cb00106
relay: add real IP in client description ( closes #1256 )
2018-09-30 09:59:45 +02:00
Sébastien Helleu
93b5e60441
irc: display a warning when the value of option irc.server.xxx.autojoin is set to an invalid value
2018-09-20 20:32:47 +02:00
Sébastien Helleu
65f1c82a87
core: allow multiple arguments in command /buffer close
2018-09-18 21:27:44 +02:00
Sébastien Helleu
fcf7469d76
core: allow multiple options "-r" ("--run-command") in command line arguments ( closes #1248 )
2018-09-06 21:52:02 +02:00
Sébastien Helleu
6bf0dfddd6
core: fix evaluation of condition when the left operand is an empty string
2018-08-18 15:30:16 +02:00
Sébastien Helleu
466dbbe75b
core: add option "-P" (or "--plugins") to customize the plugins to load at startup
...
If given, the option replaces the option weechat.plugin.autoload.
2018-08-17 19:44:41 +02:00
Sébastien Helleu
85681772f0
core: add "line" trigger in ChangeLog
2018-08-17 08:48:09 +02:00
Sébastien Helleu
9105c3ba1f
trigger: allow creation of temporary variables with the regex
2018-08-16 22:47:47 +02:00
Sébastien Helleu
1a0087a7d7
core: fix string evaluation with regex replacement when the string is empty
2018-08-16 22:45:42 +02:00
Sébastien Helleu
ca90f28beb
tests: add tests on modifier hook
2018-08-16 18:27:04 +02:00
Sébastien Helleu
6d061a9ac0
api: fix memory leak in function string_split
2018-08-15 09:42:43 +02:00
Sébastien Helleu
42be1a74a0
api: add function hook_line
2018-08-12 21:45:00 +02:00
Sébastien Helleu
12a6f74ec0
core: fix check of tags in lines
...
All changes:
- fix check of tags in lines: check lines without tags, fix check of tags with
negation ("!tag")
- add string functions string_split_tags and string_free_split_tags
- add tests on function gui_line_match_tags
2018-08-12 20:30:13 +02:00
Sébastien Helleu
9fb8ca649e
core: update ChangeLog (issue #1162 )
2018-07-27 07:53:17 +02:00
Sébastien Helleu
7d7ca34a41
core: allow partial buffer name in command /buffer close ( closes #1226 )
2018-07-27 07:48:02 +02:00
Sébastien Helleu
b7d6be5936
scripts: fix duplicated lines in output of script eval (python, perl, ruby, lua and guile)
...
When there was a call to a hook callback during the eval, the output buffer was
cleared too late, and displayed multiple times in the buffer.
This commit clears the buffer even before we display it (this display can
trigger a hook callback).
2018-07-25 20:19:26 +02:00
Sébastien Helleu
df27a3b76a
core: send signal "key_pressed" for mouse code only if the string is UTF-8 valid ( closes #1220 )
2018-07-15 15:09:31 +02:00
Sébastien Helleu
c47916ac8e
Version 2.2
2018-07-14 12:35:10 +02:00
Sébastien Helleu
2682fb450d
lua: fix macros used to return values
2018-07-13 21:25:51 +02:00
Sébastien Helleu
de1ade02c3
python: fix crash when loading a script with Python >= 3.7 ( closes #1219 )
2018-07-12 19:27:37 +02:00