From 0dab93fe7652dd1f1c656356a62f01d4053bb2ff Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 20 Jan 2004 19:08:34 +0000 Subject: [project @ 2004-01-20 19:08:34 by jmb] Allow toggling of POST support. Add new toolbar icon numbers to riscos/gui.h svn path=/import/netsurf/; revision=490 --- render/html.c | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) (limited to 'render/html.c') diff --git a/render/html.c b/render/html.c index c7cb76ba3..9e447e4ae 100644 --- a/render/html.c +++ b/render/html.c @@ -203,7 +203,10 @@ void html_convert_css_callback(content_msg msg, struct content *css, c->active--; c->data.html.stylesheet_content[i] = fetchcache( error, c->url, html_convert_css_callback, - c, (void*)i, css->width, css->height, true, 0, 0 + c, (void*)i, css->width, css->height, true +#ifdef WITH_POST + , 0, 0 +#endif #ifdef WITH_COOKIES , false #endif @@ -280,7 +283,10 @@ void html_find_stylesheets(struct content *c, xmlNode *head) #endif c->url, html_convert_css_callback, - c, 0, c->width, c->height, true, 0, 0 + c, 0, c->width, c->height, true +#ifdef WITH_POST + , 0, 0 +#endif #ifdef WITH_COOKIES , false #endif @@ -338,7 +344,10 @@ void html_find_stylesheets(struct content *c, xmlNode *head) (i + 1) * sizeof(*c->data.html.stylesheet_content)); c->data.html.stylesheet_content[i] = fetchcache(url, c->url, html_convert_css_callback, c, (void*)i, - c->width, c->height, true, 0, 0 + c->width, c->height, true +#ifdef WITH_POST + , 0, 0 +#endif #ifdef WITH_COOKIES , false #endif @@ -432,7 +441,10 @@ void html_fetch_object(struct content *c, char *url, struct box *box) c->data.html.object[i].content = fetchcache(url, c->url, html_object_callback, c, (void*)i, c->width, c->height, - true, 0, 0 + true +#ifdef WITH_POST + , 0, 0 +#endif #ifdef WITH_COOKIES , false #endif @@ -526,7 +538,10 @@ void html_object_callback(content_msg msg, struct content *object, c->data.html.object[i].url = xstrdup(error); c->data.html.object[i].content = fetchcache( error, c->url, html_object_callback, - c, (void*)i, 0, 0, true, 0, 0 + c, (void*)i, 0, 0, true +#ifdef WITH_POST + , 0, 0 +#endif #ifdef WITH_COOKIES , false #endif @@ -577,7 +592,10 @@ void html_revive(struct content *c, unsigned int width, unsigned int height) c->data.html.object[i].content = fetchcache( c->data.html.object[i].url, c->url, html_object_callback, - c, (void*)i, 0, 0, true, 0, 0 + c, (void*)i, 0, 0, true +#ifdef WITH_POST + , 0, 0 +#endif #ifdef WITH_COOKIES , false #endif -- cgit v1.2.3