Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5042 → Rev 5043

/contrib/network/netsurf/netsurf/render/html.c
287,10 → 287,14
/* convert dom tree to box tree */
LOG(("DOM to box (%p)", c));
content_set_status(&c->base, messages_get("Processing"));
/* LOG(("After content_set_status")); */
msg_data.explicit_status_text = NULL;
content_broadcast(&c->base, CONTENT_MSG_STATUS, msg_data);
/* LOG(("After content_broadcast")); */
 
exc = dom_document_get_document_element(c->document, (void *) &html);
/* LOG(("After get_document_element")); */
 
if ((exc != DOM_NO_ERR) || (html == NULL)) {
LOG(("error retrieving html element from dom"));
content_broadcast_errorcode(&c->base, NSERROR_DOM);
299,6 → 303,8
}
 
error = dom_to_box(html, c, html_box_convert_done);
/* LOG(("After dom_to_box")); */
 
if (error != NSERROR_OK) {
dom_node_unref(html);
html_destroy_objects(c);
1460,6 → 1466,7
case CONTENT_MSG_DONE:
LOG(("done stylesheet slot %d '%s'", i,
nsurl_access(hlcache_handle_get_url(css))));
LOG(("Decrementing parent"));
parent->base.active--;
LOG(("%d fetches active", parent->base.active));
break;
1494,8 → 1501,13
}
 
if (parent->base.active == 0)
{
/* LOG(("parent->base.active == 0")); */
html_finish_conversion(parent);
}
 
/* LOG(("Returning NSERROR_OK from html_redraw")); */
 
return NSERROR_OK;
}
 
/contrib/network/netsurf/netsurf/render/html.h
28,8 → 28,7
#include <stdbool.h>
 
#include <dom/dom.h>
#include <bindings/hubbub/parser.h>
 
#include <libdom/bindings/hubbub/parser.h>
#include "content/content_type.h"
#include "css/css.h"
#include "desktop/mouse.h"
/contrib/network/netsurf/netsurf/render/make.render
21,5 → 21,5
 
 
OUTFILE = TEST.o
CFLAGS += -I ../include/ -I ../ -I../../ -I./ -I/home/sourcerer/kos_src/newenginek/kolibri/include
CFLAGS += -I ../include/ -I ../ -I../../ -I./ -I/home/sourcerer/kos_src/newenginek/kolibri/include -I ../../libdom/include/ -I ../../libwapcaplet/include/ -I ../../libcss/include/ -I ../../libhubbub/include/ -I ../../libparserutils/include/
include $(MENUETDEV)/makefiles/Makefile_for_o_lib