summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-01-18 14:48:53 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-01-18 14:49:15 +0100
commitcecaa137cdb212298de1b09d4eac70d1d133b383 (patch)
treef08806936f2d634f95f4ae953234fb84262ed279
parent940e8472e5d6f101522ce6c940fb3b2356c50239 (diff)
Add release 3.2.0
-rw-r--r--index.html2
-rw-r--r--release/3.2.0/index.html164
-rw-r--r--release/3.2.0/link-menu.pngbin0 -> 260718 bytes
-rw-r--r--release/3.2.0/wiki-math.pngbin0 -> 164781 bytes
-rw-r--r--release/index.html9
l---------release/latest1
-rw-r--r--style.css6
7 files changed, 174 insertions, 8 deletions
diff --git a/index.html b/index.html
index 8b69aaf..5c43d9a 100644
--- a/index.html
+++ b/index.html
@@ -94,7 +94,7 @@ table { margin: 1.5em; }
<a href="dillo.org.html">no longer under control</a> of Dillo developers.
</p>
<h2>Download</h2>
- <p>Download the <a href="release/3.1.1">latest release 3.1.1</a>
+ <p>Download the <a href="release/3.2.0">latest release 3.2.0</a>
and follow the <code>README.md</code>
instructions to build Dillo. You can also clone the latest changes
directly from the
diff --git a/release/3.2.0/index.html b/release/3.2.0/index.html
new file mode 100644
index 0000000..4521fb5
--- /dev/null
+++ b/release/3.2.0/index.html
@@ -0,0 +1,164 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>Dillo release 3.2.0</title>
+ <link rel="icon" type="image/png" href="/img/favicon.png">
+ <link rel="stylesheet" href="/style.css">
+ </head>
+<body>
+<div class="main">
+<h1>Dillo release 3.2.0</h1>
+<span class="date">Released on 2025-01-18</span>
+<nav>
+<a href="/">Home</a> /
+<a href="/release">Release</a> /
+<a href="/release/3.2.0">3.2.0</a>
+</nav>
+
+
+<h2>Summary of changes</h2>
+
+<p>The 3.2.0 release contains several new features, configuration options and bug
+fixes.
+
+<p>We added SVG support for <b>math formulas</b> and other simple SVG images by
+patching the <a href="https://github.com/memononen/nanosvg">nanosvg library</a>.
+This is specially relevant for Wikipedia math articles <sup><a href="#fn1">1</a></sup>.
+
+<figure>
+<a href="wiki-math.png">
+ <img alt="A comparison of the old wikipedia page where formulas are not
+ rendered vs the new release where the formulas are shown
+ properly"src="wiki-math.png"></a>
+</figure>
+
+We also added optional support for WebP images via
+<a href="https://chromium.googlesource.com/webm/libwebp">libwebp</a>.
+You can use the new option <code>ignore_image_formats</code> to
+ignore image formats that you may not trust (libwebp had
+<a href="https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=libwebp">some
+ CVEs recently</a>).
+
+<p>A new <b>scrollbar page navigation mode</b> was introduced to help read
+websites as if they are books, reducing the usage of the mouse wheel. To enable
+it, set the option <code>scrollbar_page_mode</code> to <code>YES</code>.
+Clicking anywhere on the vertical scrollbar with the left mouse button will
+scroll the view one page down. With the right mouse button, one page up. You can
+also configure how much overlap from the previous page is shown in the next one
+with the new option <code>scroll_page_overlap</code>.
+
+<p>The vertical scrollbar can now be placed on the <b>left side</b> of the page
+with the option <code>scrollbar_on_left</code>. While this may be strange at
+first, I find it more pleasant as it keeps it next to the beginning of the
+text where I'm usually already looking while reading.
+
+<p>A new option <code>link_action</code> allows users to define <b>custom
+commands to open new URLs</b>. These appear on the link menu when
+right clicking an hyperlink. You can define multiple options to create multiple
+entries.
+
+<figure>
+<a href="link-menu.png">
+ <img width=50% src="link-menu.png" alt="A link menu showing several entries
+ for a youtube link, with MPV player being shown while Open in MPV is
+ selected in the menu"></a>
+</figure>
+
+
+<p>Websites can now be <b>zoomed</b> by using the shortcuts <code>Ctrl +</code>
+to make text bigger and <code>Ctrl -</code> to make it smaller, <code>Ctrl
+0</code> to reset the normal size. Set the default zoom level with the
+<code>zoom_factor</code> option.
+
+<p>The SIGUSR1 signal now causes the current page to be reloaded. This is useful
+to implement a <b>live view</b> while editing a web page. Here is a simple way
+to do it with the <a href="http://eradman.com/entrproject/">entr(1)</a> tool:
+<pre><code>$ ls index.html | entr killall -USR1 dillo</code></pre>
+
+<h2>Download</h2>
+
+<p>
+To download the 3.2.0 release, get it from the
+<a href="https://github.com/dillo-browser/dillo/releases/tag/v3.2.0">GitHub
+release page</a> or directly from the links below:
+<ul>
+ <li><a href="https://github.com/dillo-browser/dillo/releases/download/v3.2.0/dillo-3.2.0.tar.bz2">dillo-3.2.0.tar.bz2 (1.1M)</a>
+ (<a href="https://github.com/dillo-browser/dillo/releases/download/v3.2.0/dillo-3.2.0.tar.bz2.asc">signature</a>)</li>
+ <li><a href="https://github.com/dillo-browser/dillo/releases/download/v3.2.0/dillo-3.2.0.tar.gz">dillo-3.2.0.tar.gz (1.3M)</a>
+ (<a href="https://github.com/dillo-browser/dillo/releases/download/v3.2.0/dillo-3.2.0.tar.gz.asc">signature</a>)</li>
+ <li><a href="https://github.com/dillo-browser/dillo/releases/download/v3.2.0/dillo-3.2.0.zip">dillo-3.2.0.zip (1.5M)</a>
+ (<a href="https://github.com/dillo-browser/dillo/releases/download/v3.2.0/dillo-3.2.0.zip.asc">signature</a>)</li>
+</ul>
+
+<h2>Detailed changes</h2>
+<p>This is the list of changes from the ChangeLog of this release:
+
+<ul>
+ <li>Patches by Alex, Rodrigo Arias Mallo:
+ <ul>
+ <li>Add <code>new_tab_page</code> option to open a custom new tab
+ page.</li>
+ </ul>
+ </li>
+ <li>Patches by Rodrigo Arias Mallo
+ <ul>
+<li>Ignore empty page title for tab labels.
+<li>Fix segfault when clicking the "Done" button in downloads dialog.</li>
+<li>Add zoom support using Ctrl +/-/0 and the "zoom_factor" option.</li>
+<li>Fix wrong redirect by meta refresh without URL.</li>
+<li>Display JSON as plain text.</li>
+<li>Add line number anchors in HTML source view.</li>
+<li>Make Dillo strictly C99, C++11 and POSIX-2001 compliant, without depending on
+ GNU extensions.</li>
+<li>Perform an emergency stop of the layout engine loop after 1000 iterations to
+ prevent a hang.</li>
+<li>Fix use-after-free on errors in TLS connection.</li>
+<li>Add scrollbar_page_mode option to easily scroll full pages with the
+ mouse.</li>
+<li>Control the page overlap with the scroll_page_overlap option.</li>
+<li>Set focus_new_tab=NO and show_quit_dialog=NO by default.</li>
+<li>Fix GET requests over HTTPS via a proxy.</li>
+<li>Improve image resize logic to always try to preserve the aspect ratio.</li>
+<li>Reload current page on SIGUSR1 signal</li>
+<li>Print library versions and enabled features with dillo -v.</li>
+<li>Allow image formats to be ignored with the "ignore_image_formats"
+ option.</li>
+<li>Add the "link_action" option to define custom menu entries to open links
+ with external programs or scripts.</li>
+<li>Add support for line fragments in plain text files
+ (file://foo/bar.txt#L42).</li>
+ </ul>
+ </li>
+ <li>Patches by dogma, Rodrigo Arias Mallo:
+ <ul>
+ <li>Add primitive support for SVG using the nanosvg.h library.</li>
+ <li>Add support for ch, rem, vw, vh, vmin and vmax CSS units.</li>
+ <li>Allow placing the scrollbar on the left side.</li>
+ <li>Add support for WebP images.</li>
+ </ul>
+ </li>
+ <li>Patches by Xavier Del Campo Romero, Rodrigo Arias Mallo:
+ <ul>
+ <li>Avoid expensive search for multipart/form-data boundaries.</li>
+ </ul>
+ </li>
+</ul>
+
+<section>
+<p>
+<hr>
+<ol>
+ <li id="fn1">
+ <p>Wikipedia still displays the MathML text of sites, to hide it add these
+ lines to your <code>~/.dillo/style.css</code> file:</p>
+ <pre>
+/* Remove mathml from Wikipedia; it will be shown as SVG formulas */
+.mwe-math-mathml-display, .mwe-math-mathml-inline { display: none !important; }
+ </pre>
+</ol>
+</section>
+</div>
+
+</body>
+</html>
diff --git a/release/3.2.0/link-menu.png b/release/3.2.0/link-menu.png
new file mode 100644
index 0000000..3bbcf48
--- /dev/null
+++ b/release/3.2.0/link-menu.png
Binary files differ
diff --git a/release/3.2.0/wiki-math.png b/release/3.2.0/wiki-math.png
new file mode 100644
index 0000000..0107bb1
--- /dev/null
+++ b/release/3.2.0/wiki-math.png
Binary files differ
diff --git a/release/index.html b/release/index.html
index d3a48f6..0cfccdc 100644
--- a/release/index.html
+++ b/release/index.html
@@ -2,14 +2,14 @@
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Dillo release 3.1.0</title>
+ <title>Dillo releases</title>
<link rel="icon" type="image/png" href="/img/favicon.png">
<link rel="stylesheet" href="/style.css">
</head>
<body>
<div class="main">
<h1>Dillo releases</h1>
- <span class="date">Updated on 2024-06-08</span>
+ <span class="date">Updated on 2025-01-18</span>
<nav>
<a href="/">Home</a> /
<a href="/release">Release</a>
@@ -19,9 +19,8 @@
<p>
Here is the list of Dillo releases:
<ul>
- <li><a href="3.1.1">Version 3.1.1</a> released on 2024-06-08
- (<a href="latest">latest</a>).
- </li>
+ <li><a href="3.2.0">Version 3.2.0</a> released on 2025-01-18 (latest).</li>
+ <li><a href="3.1.1">Version 3.1.1</a> released on 2024-06-08.</li>
<li><a href="3.1.0">Version 3.1.0</a> released on 2024-05-04.</li>
<li><a
href="https://github.com/dillo-browser/dillo/releases/tag/v3.0.5">Version
diff --git a/release/latest b/release/latest
deleted file mode 120000
index 50e47c8..0000000
--- a/release/latest
+++ /dev/null
@@ -1 +0,0 @@
-3.1.1 \ No newline at end of file
diff --git a/style.css b/style.css
index ca83c4b..78a688e 100644
--- a/style.css
+++ b/style.css
@@ -14,10 +14,14 @@ h1 {
}
img {
border: 0;
- width: 100%;
+ max-width: 100%;
margin-top: 1em;
margin-bottom: 1em;
}
+figure {
+ text-align: center;
+ margin: 1em;
+}
.date {
font-style: italic;
float: right;