Age | Commit message (Collapse) | Author |
|
Make more clear that it is not needed for normal use and will slow down
the browser.
|
|
Fixes: https://bugs.gentoo.org/933361
|
|
The libpng library may emit warnings when decoding a PNG image, which
are non-fatal. So far we were handling them as errors and stopping the
decoding process, which prevents Dillo from decoding some images. In
particular, images that emit the warning:
> iCCP: known incorrect sRGB profile
Fixes: https://github.com/dillo-browser/dillo/issues/179
Authored-by: dogma
|
|
When a positive non-zero value is returned from SSL_read or SSL_write,
there is data read or written, so there is no need to check for errors.
Only in the case the return value is 0 or negative.
|
|
It may be returned when the server closes the connection, see:
https://www.openssl.org/docs/manmaster/man3/SSL_get_error.html
We simply handle it as if there was no error and return zero bytes read.
Fixes: https://github.com/dillo-browser/dillo/issues/175
|
|
|
|
As we run the driver with "set -e", it will stop on the first failure.
The compare(1) command from magick exits with non-zero when the inputs
are not equal:
> The compare program returns 2 on error, 0 if the images are similar,
> or a value between 0 and 1 if they are not similar.
So, to prevent it from interrupting the cleanup steps after the
comparison, we make it always success.
|
|
In order to leave a clean build directory by distclean, all generated
files must be removed. The environment variable DILLO_TEST_LEAVE_FILES
can be set to leave the generated test results, which aids debugging
when tests fail.
|
|
As we are now copying the contents of the render/ and manual/
directories under test/html, any remaining files from a previous build
will be included. To prevent errors from a previous `make check`
command, we make the check and distcheck in different build directories.
|
|
This will enable tests to be easily run by downstream distributions from
the tarball release.
|
|
Ensure the tarball can run the HTML when the configure flag
--enable-html-tests is set.
|
|
Cygwin doesn't seem to support detached threads used by the threaded DNS
resolver at the same time the dynamic OpenSSL library is used. As a
workaround we suggest disabling the threaded DNS (will use the same
thread) if building with OpenSSL on Cygwin.
Fixes: https://github.com/dillo-browser/dillo/issues/172
|
|
It would be nice if X509_ALGOR could be made opaque at some point.
There is a somewhat clumsy accessor X509_ALGOR_get0() that allows
obtaining the ASN1_OBJECT sitting inside an X509_ALGOR. Use this
instead.
|
|
|
|
In Mbed TLS 3.6.0 there is support for TLSv1.3 but it requires
special handling, so for now we disable it.
See: https://gitlab.alpinelinux.org/alpine/aports/-/commit/4dc36afaa81a4d73758b29fa77981d07dbae0080.patch
Fixes: https://github.com/dillo-browser/dillo/issues/158
|
|
Fixes: https://github.com/dillo-browser/dillo/issues/160
|
|
Dillo is now packaged (bottled) in Homebrew as seen here -
https://github.com/Homebrew/homebrew-core/blob/master/Formula/d/dillo.rb
|
|
|
|
On macOS, Homebrew will install OpenSSL to different locations depending
on which architecture you're on (Intel or ARM). It also doesn't put the
headers and library files in the default search path for gcc.
This added instruction in the doc/install.md aligns with a similar
instruction for BSD and is architecture and OpenSSL version agnostic
(because it just asks Homebrew to tell us what the prefix is).
pkg-config could easily work across platforms or the lookup could be
configured to test for homebrew, but I didn't want to make a much bigger
change to the autoconf script.
|
|
|
|
|
|
The old manual page is no longer needed as we have the latest manual
rendered in the new website.
|
|
It is always shown, even when messages are turned of by "show_msg=NO",
as the preferences are not available to dw. For now we disable it
permanently by using the _MSG() macro.
Reported-by: Kevin Koster <dillo@ombertech.com>
See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/PPNR5FTO3YFDVAQCM4SDNVAF22JEV22W/
|
|
When using "git describe" the resulting length of the version is too
long for the header. As we only need to store the version somewhere in
the manual, we place it at the end of the first paragraph.
|
|
Implement an option to force all http urls to be upgraded to HTTPS,
similar to HTTPS-Only Mode in Firefox.
A http_force_https preference variable is provided as well as a menu
bar item to toggle this mode.
See: https://support.mozilla.org/en-US/kb/https-only-prefs
|
|
Partially reverts commit f5a0b6030c2001e5a0fcacf8139afa800643eb47.
Fixes the rendering test table-missing-width-in-one-column.
Fixes: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/H7JEBC2HYNJ6FUPQM7ILBP7I5FLU33IZ/
|
|
It is currently failing, as the unbounded column is taking all the
space.
Reported-by: Kevin Koster <dillo@ombertech.com>
Link: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/H7JEBC2HYNJ6FUPQM7ILBP7I5FLU33IZ/
Link: https://www.mail-archive.com/dillo-dev@mailman3.com/msg00020.html
|
|
Fixes: https://github.com/dillo-browser/dillo/issues/136
|
|
|
|
Fixes: https://github.com/dillo-browser/dillo/issues/141
|
|
The file plugin was not able to detect XHTML documents from files with
the .xhtml extension if there are comments before the doctype line.
Before falling back to reading the content, we directly specify the
media type to HTML based on the extension alone.
The basic content type detection algorithm is too simple and will
continue to fail when comments are placed before the doctype line.
Reported-by: Kevin Koster <dillo@ombertech.com>
See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/HBKXGO7EGCHWOQ6BM55A4LZQKT437UID/
|
|
When a <meta> tag reports the "text/xhtml" content, we were correcting
it to the type guessed in TypeDet. However, the current
implementation to guess XHTML and HTML pages fails if the doctype is not
at the start of the document, falling back to text/plain.
A more robust solution is to set the TypeNorm to
"application/xhtml+xml", which can be handled by a_Mime_get_viewer() as
an HTML-like document.
Reported-by: Kevin Koster <dillo@ombertech.com>
See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/thread/7GJ4AAMFFPEHOIYEOH4NHVMSXMJDFYXG/
|
|
See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/5DGCSCREF2SMOADHBHJVCB33BMYDSBHG/
|
|
See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/5DGCSCREF2SMOADHBHJVCB33BMYDSBHG/
|
|
The URW Chancery L font is not likely to be installed, so by default we
use the same as for serif and sans, DejaVu.
Fixes: https://github.com/dillo-browser/dillo/issues/138
|
|
Reported-by: dogma
|
|
|
|
Fixes: https://github.com/dillo-browser/dillo/issues/130
|
|
The libgif library is not needed as Dillo already has builtin GIF
support.
Fixes: https://github.com/dillo-browser/dillo/issues/128
Reported-by: dogma
|
|
Adds the scroll_switches_tabs_reverse option in dillorc to allows
reversing the direction of tab switching based on the movement of the
mouse wheel.
See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/thread/F2EF4NHF3CBMJ3XZII2TFIE6MSXEE5AD/
Fixes: https://github.com/dillo-browser/dillo/issues/122
Reviewed-by: Rodrigo Arias Mallo <rodarima@gmail.com>
|
|
The recommended way of building Dillo is to use a out-of-tree build, so
it can be removed and leave the source directory clean.
Fixes: https://github.com/dillo-browser/dillo/issues/125
|
|
|
|
The function SSL_get_peer_certificate() is deprecated in 3.0.0, but
still defined as a compatibility macro.
Fixes: https://github.com/dillo-browser/dillo/issues/118
|
|
Fixes: https://github.com/dillo-browser/dillo/issues/117
|
|
Reported-by: dogma, monkeybusiness
|
|
A lot of sections were updated and extended to cover the usage of the
browser from the perspective of a new user. Other missing content was
added, specially to describe the configuration files and the format they
use.
Fixes: https://github.com/dillo-browser/dillo/issues/73
|
|
|
|
|
|
Reported-by: dogma
Fixes: https://github.com/dillo-browser/dillo/issues/112
|
|
The W3C validator is now protected under a CloudFlare JavaScript
challenge. However, it can be bypassed by opening directly the link
after the redirection. It doesn't work if an HTML 5 page is loaded, as
that would redirect to the Nu validator which will attempt to run the
challenge again.
So the current solution is to use the "legacy" W3C validator for HTML
4.01 or older documents and the W3C Nu validator for HTML 5 documents
only. Users would need to choose which one to use manually (at least for
now).
The WDG validator at https://www.htmlhelp.org/tools/validator/ is gone,
the server reports "Server unable to read htaccess file, denying access
to be safe", so it has been removed.
Fixes: https://github.com/dillo-browser/dillo/issues/113
|