aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-08-11Escape CSS % in printf formatRodrigo Arias Mallo
The % symbol causes a printf format for %; which fails in musl, causing the loop in dStr_vprintfa() to continue expading the buffer. Fixes: https://github.com/dillo-browser/dillo/issues/429
2025-08-08Search for fltk-config1.3 before fltk-configRodrigo Arias Mallo
Arch Linux has changed the default FLTK version to 1.4 and the fltk-config program for 1.3 is renamed to fltk-config1.3. See: https://gitlab.archlinux.org/archlinux/packaging/packages/fltk1.3/-/raw/e04fd1461dc0b6919cacfeee80a432893a4acd69/fltk1.3-1.3.11-integration.patch
2025-08-04Middle click in Home or Book opens in new tabRodrigo Arias Mallo
Open the Home page or the Bookmarks in a new tab if the button is pressed with middle-click, following the same behavior for hyperlinks.
2025-08-04Focus the N-th tab with Alt-<number>Rodrigo Arias Mallo
Allows jumping directly to a given tab. It encourages a low number of tabs opened, otherwise it will exceed the 1 to 10 range.
2025-08-02Handle OpAbort from DPI CCC server sideRodrigo Arias Mallo
When loading http://elpis.ws and then the issue 10, several images are requested via the data: URL which in turn causes many calls to the DPI datauri plugin, and it seems some may fail. When the DPI server fails to reply, an OpAbort is received by the CCC, but is ignored when it comes from the server side. This leaves the connection entry stale, and when navigating backwards, an attempt to read a free chunk of memory causes a crash. Instead of ignoring the OpAbort, we handle it as if the CCC had received an OpEnd event, which propagates the received operation to the chain and then removes the connection.
2025-07-26Add NetBSD default path for CA certificate bundleRodrigo Arias Mallo
In NetBSD the default CA certificate bundle for OpenSSL is located at /etc/openssl/certs/ca-certificates.crt, so we include it in the default search list so it works out of the box. See: https://man.netbsd.org/certctl.8#FILES See: https://wiki.netbsd.org/certctl-transition/
2025-07-12Document developer options in configure helpRodrigo Arias Mallo
Make sure that users or package maintainers don't accidentally enable developer options designed to be run by developers only.
2025-07-12Separate developer options in configure summaryRodrigo Arias Mallo
Those options are not designed to be used by users or package maintainers, so let's make it more clear by moving them in another group.
2025-07-11Report if IPv6 support is enabled with the -v flagRodrigo Arias Mallo
The IPv6 support is stored in the config.h header file, instead of being passed with the -D flag, so it is easier to read from version.cc.
2025-07-11Detect IPv6 support by defaultRodrigo Arias Mallo
To avoid the autodetection and force it to be enabled or disabled use --enable-ipv6 or --disable-ipv6 respectively. Fixes: https://github.com/dillo-browser/dillo/issues/167
2025-07-07Fix text-alignCameron Paul
Inline elements are now aligned based on the text-align value of their containing element instead of their own text-align value. Block level elements are no longer affected by the text-align property. Fixes: https://github.com/dillo-browser/dillo/issues/410
2025-07-07Expand text-align-center test with more test casesCameron Paul
2025-07-02Don't change CFLAGS or LDFLAGS for custom Mbed TLSRodrigo Arias Mallo
Adding the extra flags to search Mbed TLS in CFLAGS and LDFLAGS directly inhibits AC_PROG_CC from injecting the usual -O2 and -g flags. Instead, we add them to MBEDTLS_* set of variables which are only used to locate Mbed TLS. Then we pass them to the Makefile via AC_SUBSTAC_SUBST(). We also move the LIBSSL_* flags to be early on the order of dillo_LDADD, so that extra -L flags which can be injected from fltk-config or other programs, don't accidentally point to /usr/lib or a similar location where it could race with another installation of Mbed TLS. This mechanism won't work for cases in which Mbed TLS has libraries installed in a location other than the default search path, but works for Arch Linux and Gentoo because the symlink them to the default search path, even if they are installed in a different location.
2025-07-02Add options to search custom MbedTLS installationsAzamat H. Hackimov
Some Linux distributions (like Gentoo or Arch) allows to install MbedTLS 2.x and 3.x branches simultaneously. This change helps to find custom MbedTLS locations. Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
2025-06-30Run dpidc stop only if dpid is runningNomarian
2025-06-29Fix webp and brotli status variable in configureRodrigo Arias Mallo
We are interested in webp_ok and brotli_ok which indicates if we can use webp or brotli. Even if the user specifies --enable-webp setting enable_webp to yes, if it is not found it won't be available.
2025-06-29Fix compare output in HTML test driverRodrigo Arias Mallo
Newer versions output two numbers instead of just one, so we pick the first number: ++ compare -metric AE b-div.html_wdir/{html.png,ref.png,diff.png} + diffcount='0 (0)' + '[' '0 (0)' = 0 ']' + echo FAIL FAIL
2025-06-29Set test wait time to 1 second but allow overrideRodrigo Arias Mallo
Use the environment variable DILLO_TEST_WAIT_TIME to lower the default time to wait since dillo window appears and when we take the screenshot to compare the rendering output.
2025-06-29Add extra sleep after window appears in HTML testsCameron Paul
2025-06-29Poll for dillo window during HTML testsCameron Paul
2025-06-16Add HTML test for text-align: centerCameron Paul
See: https://github.com/dillo-browser/dillo/issues/410
2025-06-16Add multiple floats HTML testCameron Paul
See: https://github.com/dillo-browser/dillo/issues/406
2025-06-16Add margin rounding HTML testCameron Paul
See: https://github.com/dillo-browser/dillo/issues/407
2025-05-20Make Ctrl+A select input textRodrigo Arias Mallo
The Emacs shortcut was overriding the FLTK behavior of selecting all input text. Fixes: https://github.com/dillo-browser/dillo/issues/400
2025-05-18Only parse Content-Disposition for root URLsRodrigo Arias Mallo
A server may return the Content-Disposition in elements of a page like images, which would otherwise trigger several "save as" dialogs. Fixes: https://github.com/dillo-browser/dillo/issues/398
2025-05-10Don't use assert to check if realloc() failedRodrigo Arias Mallo
Avoid using assert as when building with NDEBUG defined they become a no-operation so the realloc is never done. Always perform the check and exit accordingly.
2025-05-08Add Marginalia and Wiby search enginesRodrigo Arias Mallo
2025-05-08Make Ctrl+C copy selection into clipboardRodrigo Arias Mallo
Follows the behavior of so many other programs by copying the current text selection into the clipboard with Ctrl+C. Selecting text continues to copy it into the primary selection. Fixes: https://github.com/dillo-browser/dillo/issues/228
2025-05-07Copy links to clipboard selection tooRodrigo Arias Mallo
Selecting text in the page copies only to the primary selection. Copying links via the context menu now places the URL both in the primary and clipboard selections so it can also be pasted with Ctrl+V. See: https://github.com/dillo-browser/dillo/issues/228
2025-05-04Drop Google Search as it now requires JavaScriptRodrigo Arias Mallo
See: https://github.com/dillo-browser/dillo/issues/338
2025-05-02Print brotli version with -vRodrigo Arias Mallo
2025-05-01Add Content-Disposition support to ChangeLogRodrigo Arias Mallo
2025-05-01Allow whitespaces before separatorRodrigo Arias Mallo
2025-05-01Use simpler algorithm to remove bad charactersRodrigo Arias Mallo
This one requires a copy of the string, but it is easier to follow.
2025-05-01Simplify algorithm to parse filenameRodrigo Arias Mallo
Instead of keeping a escaped flag, we simply check again both the previous and current character for non-backlash and quote. As the filename can be empty if we don't get a maching quote, we stop there.
2025-05-01Flatten the conditionals so it is easier to readRodrigo Arias Mallo
2025-05-01Free memory before erasing the pointerRodrigo Arias Mallo
2025-05-01Make all pointers mandatory (not NULL)Rodrigo Arias Mallo
2025-05-01Move a_Misc_parse_content_disposition() to misc.hRodrigo Arias Mallo
For now it allows building the unit test without linking problems. A more long-term solution is to split the code into separate modules that can be tested more easily.
2025-05-01Offer download if content disposition isn't recognizedCameron Paul
2025-05-01Re-enable failing tests and fix themCameron Paul
2025-05-01Fix disposition test linking and add more test casesCameron Paul
2025-05-01Add content disposition unit testRodrigo Arias Mallo
2025-05-01Fix off by one error with quoted filenamesCameron Paul
2025-05-01Handle quoted content dispositions and escape special filesystem charactersCameron Paul
2025-05-01Support for Content-Disposition filenameCameron Paul
2025-04-30Middle-click on back or forward opens in new tabAlex
Reviewed-by: Rodrigo Arias Mallo <rodarima@gmail.com> See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/thread/XXD2NXCGQLZLJ3V57NCPU3327DAEFKAN/
2025-04-27Control + left click opens link in new tabRodrigo Arias Mallo
Small laptops and netbooks that lack a proper 3 button touchpad make it difficult to open a new tab. Using the control modifier makes is easier to open links in new tabs. It also allows mixing it with the shift modifier to control the focus.
2025-04-27Add about:keys to show keyboard shortcutsRodrigo Arias Mallo
Fixes: https://github.com/dillo-browser/dillo/issues/66
2025-04-21Remove Ubuntu 20.04 from the CI pipelineRodrigo Arias Mallo
It is deprecated and got removed. See: https://github.com/actions/runner-images/issues/11101