aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-07Ensure the same number of tags for CSS and HTMLRodrigo Arias Mallo
The Tags array can be modified without changing the "ntags" number in the CSS side. To prevent errors, an static assert ensures the same number is used in both sides, which is known at compilation time. Fixes: https://github.com/dillo-browser/dillo/issues/184
2024-06-02Clarify --enable-rtfl option descriptionRodrigo Arias Mallo
Make more clear that it is not needed for normal use and will slow down the browser.
2024-06-02Remove undefined floatRef debug line in RTFLRodrigo Arias Mallo
Fixes: https://bugs.gentoo.org/933361
2024-06-01Handle PNG warnings as non-fatalRodrigo Arias Mallo
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
2024-06-01Don't call SSL_get_error() with pending dataRodrigo Arias Mallo
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.
2024-06-01Handle SSL_ERROR_ZERO_RETURN in OpenSSLRodrigo Arias Mallo
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
2024-06-01Update ChangeLog for HTML tests in tarballRodrigo Arias Mallo
2024-06-01Ensure the compare command can fail safelyRodrigo Arias Mallo
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.
2024-06-01Remove test directories for distcleanRodrigo Arias Mallo
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.
2024-06-01Perform distcheck in another build treeRodrigo Arias Mallo
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.
2024-06-01Add HTML tests to EXTRA_DISTMatt Jolly
This will enable tests to be easily run by downstream distributions from the tarball release.
2024-06-01Run make distcheck with HTML tests enabled in CIRodrigo Arias Mallo
Ensure the tarball can run the HTML when the configure flag --enable-html-tests is set.
2024-05-20Add workaround for OpenSSL in CygwinRodrigo Arias Mallo
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
2024-05-18Avoid reaching into X509_ALGORTheo Buehler
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.
2024-05-12Add Alpine to CIRodrigo Arias Mallo
2024-05-12Disable TLSv1.3 in MbedTLS 3.6.0 for nowRodrigo Arias Mallo
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
2024-05-08Add release date for 3.1.0 in ChangeLogRodrigo Arias Mallo
Fixes: https://github.com/dillo-browser/dillo/issues/160
2024-05-08Update macOS dillo install instructionsMichael Yin
Dillo is now packaged (bottled) in Homebrew as seen here - https://github.com/Homebrew/homebrew-core/blob/master/Formula/d/dillo.rb
2024-05-06Convert some old files from iso8859-1 to utf-8 encodingArtem Polishchuk
2024-05-05Update macOS install instructionsMike Yin
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.
2024-05-05Add link to Mobilized Dillo forkRodrigo Arias Mallo
2024-05-04Release version 3.1.0v3.1.0Rodrigo Arias Mallo
2024-05-04Update online manual URLRodrigo Arias Mallo
The old manual page is no longer needed as we have the latest manual rendered in the new website.
2024-05-03Disable "Layout::resizeIdle calls" messageRodrigo Arias Mallo
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/
2024-04-29Move version to first paragraph of the manualRodrigo Arias Mallo
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.
2024-04-29Add force https modeMark Walker
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
2024-04-28Allow relative width td attributes in tablesRodrigo Arias Mallo
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/
2024-04-28Add HTML test for missing width in one columnRodrigo Arias Mallo
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
2024-04-28Add version to user manualRodrigo Arias Mallo
Fixes: https://github.com/dillo-browser/dillo/issues/136
2024-04-28Add Dillo version to about:splash pageRodrigo Arias Mallo
2024-04-27Add desktop file and iconsRodrigo Arias Mallo
Fixes: https://github.com/dillo-browser/dillo/issues/141
2024-04-26Recognize *.xhtml documents as HTML tooRodrigo Arias Mallo
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/
2024-04-26Improve quirk for text/xhtml content typeRodrigo Arias Mallo
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/
2024-04-25Clarify page scrolling documentationKevin Koster
See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/5DGCSCREF2SMOADHBHJVCB33BMYDSBHG/
2024-04-25Improve description of scroll_step optionKevin Koster
See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/5DGCSCREF2SMOADHBHJVCB33BMYDSBHG/
2024-04-20Use DejaVu Sans for cursive by defaultRodrigo Arias Mallo
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
2024-04-12Use uppercase "Dillo" for wget user agentRodrigo Arias Mallo
Reported-by: dogma
2024-04-11Release version 3.1.0-rc1v3.1.0-rc1Rodrigo Arias Mallo
2024-04-11Use the current version in wget user agentRodrigo Arias Mallo
Fixes: https://github.com/dillo-browser/dillo/issues/130
2024-04-10Remove libgif dependency from docsRodrigo Arias Mallo
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
2024-04-09Control the direction of tab scrollingAlex
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>
2024-04-08Use build out of treeRodrigo Arias Mallo
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
2024-04-08Add Debian packages to install instructionsRodrigo Arias Mallo
2024-04-05Use SSL_get1_peer_certificate() in OpenSSL 3Rodrigo Arias Mallo
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
2024-04-04Fix HTML5 errors and warningsRodrigo Arias Mallo
Fixes: https://github.com/dillo-browser/dillo/issues/117
2024-04-04Fix manual typos and clarify some partsRodrigo Arias Mallo
Reported-by: dogma, monkeybusiness
2024-04-01Improve Dillo user manualRodrigo Arias Mallo
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
2024-04-01Add bookmarks changes to ChangeLogRodrigo Arias Mallo
2024-04-01Use 14px font size for bookmarksRodrigo Arias Mallo
2024-04-01Remove unused table CSS rule in bookmarksRodrigo Arias Mallo
Reported-by: dogma Fixes: https://github.com/dillo-browser/dillo/issues/112