aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-01-11Replace dReturn_val_if_fail() by a simple if()Rodrigo Arias Mallo
The macro hides a return path and makes it more difficult to read the condition as it is negated.
2024-01-11Report OpenSSL and mbedTLS versionsRodrigo Arias Mallo
2024-01-09Update references to website and repositoryRodrigo Arias Mallo
The website is now at https://dillo-browser.github.io/ and the repository at https://github.com/dillo-browser/dillo.
2023-12-30Fix indentation typo in src/Makefile.amRodrigo Arias Mallo
2023-12-30Fix declaration after case statementRodrigo Arias Mallo
2023-12-30Fix EVP_PKEY_get_id() for OpenSSL 1.1Rodrigo Arias Mallo
Before OpenSSL 3.0, the EVP_PKEY_get_id() was named EVP_PKEY_id().
2023-12-30Use TLS_client_method() for SSL_CTX_new()Rodrigo Arias Mallo
The SSLv23_client_method() function is deprecated: https://www.openssl.org/docs/man3.2/man3/SSLv23_client_method.html
2023-12-30Add support for OpenSSL, mbedTLS 2 and mbedTLS 3Rodrigo Arias Mallo
Brings the previous OpenSSL implementation into src/IO/tls_openssl.c. Now, the TLS functions have the implementation name as prefix, like a_Tls_openssl_connect(). The generic interface at IO/tls.h hides the implementation which is selected at configure time. The appropriate functions of that implementation are called from IO/tls.c to IO/tls_<impl>.c. In this way, support for more TLS libraries can easily be added. In the case of mbedTLS, there are some incompatible changes from version 2 to 3, so we use some ifdefs to fix the differences.
2023-12-30Move mbedTLS implementation to tls_mbedtls.cRodrigo Arias Mallo
2023-12-20Add scroll_step optionRodrigo Arias Mallo
When using the mouse wheel to scroll a page, the default scroll step was causing a very slow scrolling speed. The new option "scroll_step" allows the user to define how many pixels the page is moved in every step of the mouse wheel. The default is increased to 100 pixels per step.
2023-12-17Fix DuckDuckGo search linksRodrigo Arias Mallo
The DuckDuckGo service that redirects the links from the search page is returning a broken page for non-javascript browsers. They have a meta refresh tag in the body, instead of in the head. Adding the kd=-1 argument causes the DuckDuckGo search results to point directly to the target page avoiding the redirection. Based on this patch: https://salsa.debian.org/debian/dillo/-/commit/ffbd4fc0e6cf94b3947d02766224c0e80344a017 Thanks: liftof+dbug@gmail.com Thanks: Axel Beckert <abe@debian.org> Bug-Debian: https://bugs.debian/org/924357
2023-12-11Add support for thead, tbody and tfootwalley
2023-06-02Define a_Tls_connect too when no SSL is usedwalley
2019-07-29Recognize Doxygen pages as htmlRodrigo
Doxygen introduces a extra header line with a comment which is now captured.
2018-10-05add --disable-xembed configure optionJohannes Hofmann
Add option to disable XEmbed support. This can be useful to avoid compilation issues on non-X11 systems.
2017-09-15fix compile time X11 detection with fltk-1.3.4+Johannes Hofmann
This should fix "-x <window id>" when dillo is compiled with fltk-1.3.4. Reported-by: Arthur Huillet
2016-07-13Bug meter message.Jorge Arellano Cid
2016-07-12cppcheck: ignored return value.Jorge Arellano Cid
It wasn't necessary! ;)
2016-07-09rm IO flags, as they are never usedcorvid
2016-07-09freeing http socket, close FD that's being connectedcorvid
2016-07-07MBEDTLS_SSL_SESSION_TICKETS_DISABLEDcorvid
2016-07-07some status messages when using proxycorvid
2016-07-07a little renaming in tlscorvid
The handshake stuff should be named handshake. What should you call initialize/setup plus handshake, then? I don't know, but 'connect' for now, anyway.
2016-07-07try all IP addrs when connect()ingcorvid
as mentioned in the previous commit msg
2016-07-07complete connect() before moving on to TLS handshake or sending querycorvid
Johannes reported that mbed TLS didn't like the connect() to be ongoing still when the tls handshake was started on osx or dragonfly. For an earlier version of the fix (which failed), it was basically free to iterate through the IP address list upon connect() failure, so that was implemented, and now I'm artificially breaking this patch into two pieces to commit that separately.
2016-07-06Fix a flag in Cache_entry_inject(). Now the splash page is shown as finished.Jorge Arellano Cid
2016-07-06MSG clarificationcorvid
You can trust an intermediate certificate in a chain, so let's be careful with words here. It would of course be better to tell the user which certificate was trusted in that case, but my understanding is that I would have to go through each certificate in the chain and try to match it against all of the trusted certificates, like mbed tls's verification code does in the first place. This would involve a lot of digging around in mbed tls's structures and using resources...
2016-07-06rm code that has no effectcorvid
Until late 2007, it set a variable showing that ipv6 was working.
2016-07-06MSGcorvid
2016-07-04mergecorvid
2016-07-04recognize obsolete hash algorithms when complaining about...obsolete hash ↵corvid
algorithms
2016-07-04in some TLS MSGs, don't show port if it's the defaultcorvid
2016-07-03Fixed a couple of compiler warnings for IO.cJorge Arellano Cid
2016-07-03workaround for mbed TLS 2.3.0 include problemcorvid
reported by Nick Warne http://lists.dillo.org/pipermail/dillo-dev/2016-July/010941.html checking mbedtls/ssl.h usability... no checking mbedtls/ssl.h presence... yes configure: WARNING: mbedtls/ssl.h: present but cannot be compiled configure: WARNING: mbedtls/ssl.h: check for missing prerequisite headers? configure: WARNING: mbedtls/ssl.h: see the Autoconf documentation configure: WARNING: mbedtls/ssl.h: section "Present But Cannot Be Compiled" configure: WARNING: mbedtls/ssl.h: proceeding with the compiler's result checking for mbedtls/ssl.h... no configure: WARNING: *** mbed TLS 2 not found. Disabling SSL/HTTPS/TLS support. ***
2016-07-03trim tld listcorvid
2016-07-03clean up host:port usage, particularly with ipv6corvid
2016-07-03quiet MSGcorvid
2016-07-03use mbed TLScorvid
2016-07-03status msgcorvid
2016-07-02Attribute 'float' defines a floating Textblock even if 'display' is 'inline'.Sebastian Geerken
2016-06-28hsts_preload update (mostly to update location of mozilla's source file)corvid
2016-06-26have prefs parser syntax error print line numbercorvid
2016-06-24Changed a bug meter message for clarity.Jorge Arellano Cid
2016-06-24Temporary fix for links in HTML5.Jorge Arellano Cid
Avoid closing the <A> element until HTML5 rules are in place for the parser.
2016-06-21Removed the w3c_plus_heuristics dillorc option.Jorge Arellano Cid
No longer necessary since the new nesting-cleanup design.
2016-06-21Remove TagLevel from the TagInfo structure.Jorge Arellano Cid
No longer necessary after the redesign of the parser's cleanup process for tag nesting.
2016-06-21Make the Tags array in html.cc a "static const".Jorge Arellano Cid
This needed moving around some functions, nothing else. FWIW, we had it declared extern because that's C++ way to declare a forward variable, the side effect of it being extern linkage.
2016-06-21New design for the nesting-cleanup process within the parser.Jorge Arellano Cid
* Forbidden nesting now is handled by cleanup_at_open. (it previously used an ad-hoc function hooked into the process) Much safer and versatile now. [1],[2],[4] * Heuristical cleanup at close is no longer used. cleanup_at_close is now based on block/inline element/container semantics, and also cosiders special nesting rules expressed in the DTD for HTML-4.01. Note: this design is easy to tailor for HTML5. [2] * Bug reporting changed and is now is more centralized in cleanup_to_idx. * The bug meter gives more accurate and concise messages. [4] * Page rendering improved as now the cleanup process strives to produce a correct tree out of Tag Soup, before feeding it to Dw. [4] * Better handling/recovery from Tag Soup (even in the worst cases). [5] * The w3c_plus_heuristics=FALSE mode was removed (not necessary anymore) * Elements with optional close also follow Firefox de facto rules. * Special case logic is now isolated in helper functions. A few examples: [1] http://dillo.org/test/cross-nesting-simple.html [2] http://slashdot.org/ [3] http://apod.nasa.gov/apod/ap160604.html [4] http://www.mypetchicken.com:80/catalog/Day-Old-Baby-Chicks/Olive-Eggers-p1478.aspx [5] http://dillo.org/test/sd3.html
2016-06-21Remove the "block element" flag from the TagInfo structure.Jorge Arellano Cid
It was redundant with the "inline element" flag. i.e. "block element" = ~"inline element"
2016-06-18Fix <button> size (treat as inline).Sebastian Geerken