Lagrange [work/v1.17]

Updating the navbar URL when opening tabs

=> c1e42c0796e92287e0e33220a1101e27b645a795

diff --git a/res/about/version.gmi b/res/about/version.gmi
index 3536a4eb..0d62c507 100644
--- a/res/about/version.gmi
+++ b/res/about/version.gmi
@@ -7,6 +7,8 @@
 # Release notes
 
 ## 1.0.2
+* Fixed URL input field showing the wrong URL when opening tabs in the background.
+* Fixed trusting a renewed server certificate when multiple tabs are open.
 * Fixed opening sidebar feed entries in new/background tab with modifier keys.
 * Fixed editing identity notes. The entered new notes were not being applied.
 * Server certificate domain name check accepts a matching CN even when SAN doesn't match.
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index d944a11e..5b0b3d63 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1669,7 +1669,7 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd)
         updateVisible_DocumentWidget_(d);
         updateSideIconBuf_DocumentWidget_(d);
         updateOutline_DocumentWidget_(d);
-        postCommandf_App("document.changed url:%s", cstr_String(d->mod.url));
+        postCommandf_App("document.changed doc:%p url:%s", d, cstr_String(d->mod.url));
         /* Check for a pending goto. */
         if (!isEmpty_String(&d->pendingGotoHeading)) {
             scrollToHeading_DocumentWidget_(d, cstr_String(&d->pendingGotoHeading));
@@ -3242,7 +3242,7 @@ void setUrlFromCache_DocumentWidget(iDocumentWidget *d, const iString *url, iBoo
         }
     }
     else {
-        postCommandf_App("document.changed url:%s", cstr_String(d->mod.url));
+        postCommandf_App("document.changed doc:%p url:%s", d, cstr_String(d->mod.url));
     }
 }
 
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.17/cdiff/c1e42c0796e92287e0e33220a1101e27b645a795
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
51.010839 milliseconds
Gemini-to-HTML Time
0.207808 milliseconds

This content has been proxied by September (ba2dc).