Commit graph

15 commits

Author SHA1 Message Date
Damir Jelić
b884536e7e server: Don't use the address in the config for connection establishment.
The address in the config can contain subpaths and it doesn't make sense
for a socket to connect to this address. The net location without the
subpath is now contained in server.address.
2019-02-03 22:56:10 +01:00
Damir Jelić
107a7a606e server: Allow a server address with a subpath. 2019-02-03 10:21:59 +01:00
Denis Kasak
e9e5facc7c Add (disabled) test for unbalanced asterisks at the start of line. 2019-01-27 15:25:43 +01:00
Damir Jelić
b61e9ecbd8 tests: Add more format parsing tests. 2019-01-26 16:48:06 +01:00
Damir Jelić
549a13f204 tests: Add color input line parsing test. 2019-01-25 21:51:49 +01:00
Denis Kasak
e39b6a82b1 Add test for normalization of spaces in inline code. 2019-01-16 16:37:53 +01:00
Damir Jelić
2022151bd0 tests: Add initial buffer tests. 2018-11-07 13:50:55 +01:00
Denis Kasak
fbec1c9f96 Remove stray print. 2018-03-24 14:40:03 +01:00
Denis Kasak
6e9275da7f Fix charrefs.
Forgot to include # when reconstructing charrefs from their "name".
2018-03-24 14:38:00 +01:00
Denis Kasak
42f34f749b Handle combination of strikethrough and other attributes.
Strikethrough has to be done first, before handling any other attribute,
because otherwise it doesn't render correctly.

The following changes were made:

1. When striking due to redaction, we simply strip all the other
   attributes and then do the strikethrough, because this is the only
   practical option.
2. When rendering rich text received from the server, we ensure we
   handle strikethrough first, before any other attribute.
2018-03-23 09:51:58 +01:00
Denis Kasak
c6e34dd0b1 Escape each HTML ref individually. 2018-03-22 20:47:03 +01:00
Denis Kasak
0a868b80bb Add HTML character reference parsing test. 2018-03-19 11:01:24 +01:00
poljar (Damir Jelić)
416e154359 Fix tests for python2. 2018-03-18 23:31:57 +01:00
Denis Kasak
d7485cc746 Always output HTML colors as hex codes. 2018-03-03 12:34:26 +01:00
poljar (Damir Jelić)
fc6a6e9da9 tests: Implement mock weechat module and add some color tests. 2018-03-02 22:59:43 +01:00