Witold Filipczyk
9175f8ed39
Terminate slave browsers with libev(ent).
2017-11-18 15:16:22 +01:00
Witold Filipczyk
d5261654f4
libev or libevent in About dialog.
2017-11-17 17:33:51 +01:00
Witold Filipczyk
21d36fcbd1
Add --with-libev, because libev is smaller.
...
When both --with-libev and --with-libevent are used, libev takes
precedence.
2017-11-17 16:34:03 +01:00
Witold Filipczyk
f52e3187e3
Add command line option -no-libevent
2017-11-16 18:23:47 +01:00
Witold Filipczyk
4c4717b82a
Repeat gnutls_handshake until success
...
It's blocking, but better than SSL errors.
2017-11-15 01:01:36 +01:00
Witold Filipczyk
91beac7ee3
gnutls_certificate_set_x509_system_trust
...
If this function is available and gnutls is used,
and connection.ssl.trusted_ca_file is "",
gnutls_certificate_set_x509_system_trust is called
to load certificates.
2017-11-14 16:02:22 +01:00
Witold Filipczyk
0266633025
Fix issue with one char documents. Patch by Felix Janda
2017-11-14 09:54:05 +01:00
Witold Filipczyk
b6fd548049
threads might be NULL for --lookup
2017-11-13 14:44:24 +01:00
Witold Filipczyk
3b6ff1d22f
Introduced --with-libevent based on links code
...
I don't know how to deal with select's exception fds in libevent,
so some functions may not work properly.
2017-11-12 13:41:31 +01:00
Witold Filipczyk
050f304161
poll and EINTRLOOP - added fragment from links
2017-11-11 21:37:08 +01:00
Witold Filipczyk
8c39acc277
Info about brotli.
2017-11-11 16:31:32 +01:00
Witold Filipczyk
f86be65971
Retry only for https protocol
2017-07-23 19:50:15 +02:00
Witold Filipczyk
affcebbab1
Add to blacklist only valid uri
2017-07-23 19:15:10 +02:00
Witold Filipczyk
a6799737f5
Forgot about possible memleak
2017-07-23 19:09:13 +02:00
Witold Filipczyk
442f4936dc
Use blacklist to skip verification of certificates
2017-07-23 18:59:05 +02:00
Witold Filipczyk
f43f5714e8
Let users retry connection in case of error. Especially SSL error.
...
Also verify ssl certificates by default.
It has some weak points, for example in load_uri not always data
is a session.
2017-07-23 14:33:40 +02:00
Witold Filipczyk
b1d1e4a15b
Fixes related to brotli. Errors occured on https://www.thetrendspotter.net/
2017-07-02 15:20:03 +02:00
Witold Filipczyk
3e436b8869
brotli code updated
2017-07-01 22:38:06 +02:00
Witold Filipczyk
f3ab69bb13
Color trailing spaces with color of last non-space cell
2017-06-13 22:39:53 +02:00
Witold Filipczyk
c610fcf334
Off by one, also 200 instead of 30
2017-06-13 17:07:23 +02:00
Marco Migliori
5e31308da0
text direction mark
2017-05-16 20:57:25 +02:00
Marco Migliori
a75e8dd35c
new -remote command: reload()
2017-05-16 20:55:33 +02:00
Marco Migliori
f1fb95835a
display lua hooks errors
2017-05-16 20:54:56 +02:00
Witold Filipczyk
54ebe365b7
Compilation fix for OpenSSL-1.1
2017-03-06 17:39:36 +01:00
Arjen Stolk
e957e60d5c
mailcap: prevent segfault on test entry with %s
...
When a mailcap entry with a testcommand containing %s is encountered, it is ignored. The
entry was freed, but not set to NULL, leading to a segfault later on.
2016-12-28 14:22:01 +01:00
Witold Filipczyk
6d78cf1c23
Set encoding
2016-12-13 17:43:56 +01:00
Witold Filipczyk
6777006d73
Code reuse
2016-12-13 10:37:27 +01:00
Witold Filipczyk
5a217e37df
Empty text node is '\n'
2016-12-11 21:18:14 +01:00
Witold Filipczyk
06fb11baee
Experimental html source highlight using libdom
2016-12-11 16:52:44 +01:00
Witold Filipczyk
2fc9b0bf5a
Better handling of content-disposition (line without semicolon)
...
This time it was copied from links2.
2016-08-21 22:02:46 +02:00
Witold Filipczyk
ab63ee8f82
Revert "Fix saving files from speccy.pl archives"
...
This reverts commit 29d85fdb3b
.
2016-08-21 18:22:33 +02:00
Witold Filipczyk
29d85fdb3b
Fix saving files from speccy.pl archives
2016-05-28 17:58:17 +02:00
Pete Deas
e9152c8772
gopher: ensure slash after entity type in links
...
This prevents links with null selectors being interpreted as pointing to
a (likely non-existent) file gopher://server/1
An example of a page with such links: gopher://gopher.floodgap.com/1/new
2016-04-30 10:45:42 +02:00
Witold Filipczyk
38c12d9dfc
Compilation fix
2016-04-24 17:36:20 +02:00
Witold Filipczyk
3212ee4e54
C++ comaptibility
2016-04-24 17:23:58 +02:00
Witold Filipczyk
257422f28c
Reorganisation of code to make C++ happy
2016-04-20 22:21:31 +02:00
Witold Filipczyk
da15322705
Cast to (const char *) in strrchr calls
2016-04-20 21:03:27 +02:00
Witold Filipczyk
2e7a7a5ca3
Compilation fixes for C++
2016-04-20 20:57:09 +02:00
Witold Filipczyk
96e65c105f
Explicit cast in strstr for C++
2016-04-20 20:46:33 +02:00
Witold Filipczyk
5b2efc8976
Compilation fix for C++
2016-04-20 20:33:32 +02:00
Witold Filipczyk
1b06539694
Explicit cast to (const char *) in strcasestr for C++
2016-04-20 20:11:08 +02:00
Witold Filipczyk
52d6f37c8e
Explicit cast to (const char *) for strchr function (C++)
2016-04-20 19:43:37 +02:00
Witold Filipczyk
89387e3679
Compilation fix (C++)
2016-04-20 19:41:12 +02:00
Witold Filipczyk
8cf00fa61c
delete -> delete_ for C++ compatibility
2016-04-20 18:57:32 +02:00
Witold Filipczyk
67673f5fe5
new -> new_ for C++ compatibility
2016-04-20 18:42:22 +02:00
Witold Filipczyk
f4981bb553
class -> class_ for C++ compatibility
2016-04-20 18:18:27 +02:00
Witold Filipczyk
2e721e051a
template -> template_ for C++ compatibility
2016-04-20 18:05:00 +02:00
Fabienne Ducroquet
13f3da8416
Improve isolated combining characters handling
...
If there are isolated combining characters, e.g. at the beginning of a paragraph
or table cell:
– if it’s not the first screen column, combine them with whatever character is
printed to their left;
– otherwise, add a no-break space as the base character.
Previously, such combining characters were combined with the last letter
displayed, i.e. the last letter of the previous paragraph or cell.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2016-04-12 21:59:50 +02:00
Fabienne Ducroquet
a43ec1075c
Display combining characters at the end of the current string in set_hline
...
without waiting for the next non zero width character. This way combining
characters at the end of the document are displayed.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2016-04-12 21:58:54 +02:00
Fabienne Ducroquet
c1140f54c4
Compute correct number of cells with CONFIG_COMBINE
...
Otherwise, there are unnecessary spaces at the end of lines in tables containing
combining characters.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2016-04-12 21:41:53 +02:00