summaryrefslogtreecommitdiff
path: root/src/gmrequest.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-07-24 21:05:02 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-07-24 21:05:02 +0300
commite32fd4e7796d6e7c5a4803e45bc230378ec4dd0b (patch)
tree5232331654a977cf4ad1bf06eedc2f8752db6c32 /src/gmrequest.c
parent0f0b4250ca460d58edb61cc0dd509ba1980c3272 (diff)
Font update; ANSI color escapes; fixed URL update
Newer version of the Fira fonts, and added a separate UI font (Source Sans Pro). The text renderer checks for the 4-bit ANSI color escapes for the setting the foreground color. InputWidget supports paste from clipboard. The navbar updates the current URL when the page has been loaded.
Diffstat (limited to 'src/gmrequest.c')
-rw-r--r--src/gmrequest.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gmrequest.c b/src/gmrequest.c
index 2bda65e9..ce53abee 100644
--- a/src/gmrequest.c
+++ b/src/gmrequest.c
@@ -58,9 +58,9 @@ void deinit_GmRequest(iGmRequest *d) {
58 iDisconnectObject(TlsRequest, d->req, finished, d); 58 iDisconnectObject(TlsRequest, d->req, finished, d);
59 cancel_TlsRequest(d->req); 59 cancel_TlsRequest(d->req);
60 d->state = finished_GmRequestState; 60 d->state = finished_GmRequestState;
61 iRelease(d->req);
62 d->req = NULL;
63 } 61 }
62 iRelease(d->req);
63 d->req = NULL;
64 } 64 }
65 unlock_Mutex(&d->mutex); 65 unlock_Mutex(&d->mutex);
66 delete_Audience(d->finished); 66 delete_Audience(d->finished);
@@ -237,4 +237,8 @@ const iBlock *body_GmRequest(const iGmRequest *d) {
237 return body; 237 return body;
238} 238}
239 239
240const iString *url_GmRequest(const iGmRequest *d) {
241 return &d->url;
242}
243
240iDefineClass(GmRequest) 244iDefineClass(GmRequest)