mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-10 21:12:01 +03:00
[project @ 2005-12-11 21:54:30 by bursa]
Disable some log messages. svn path=/import/netsurf/; revision=1896
This commit is contained in:
parent
22efec6d8f
commit
666cdaf8dd
@ -501,7 +501,6 @@ bool content_process_data(struct content *c, const char *data,
|
|||||||
assert(c);
|
assert(c);
|
||||||
assert(c->type < HANDLER_MAP_COUNT);
|
assert(c->type < HANDLER_MAP_COUNT);
|
||||||
assert(c->status == CONTENT_STATUS_LOADING);
|
assert(c->status == CONTENT_STATUS_LOADING);
|
||||||
LOG(("content %s, size %u", c->url, size));
|
|
||||||
|
|
||||||
if ((c->source_size + size) > c->source_allocated) {
|
if ((c->source_size + size) > c->source_allocated) {
|
||||||
extra_space = (c->source_size + size) / 4;
|
extra_space = (c->source_size + size) / 4;
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
#ifdef riscos
|
#ifdef riscos
|
||||||
#include "netsurf/riscos/gui.h"
|
#include "netsurf/riscos/gui.h"
|
||||||
#endif
|
#endif
|
||||||
|
#define NDEBUG
|
||||||
#include "netsurf/utils/log.h"
|
#include "netsurf/utils/log.h"
|
||||||
#include "netsurf/utils/messages.h"
|
#include "netsurf/utils/messages.h"
|
||||||
#include "netsurf/utils/url.h"
|
#include "netsurf/utils/url.h"
|
||||||
|
@ -234,8 +234,6 @@ void fetchcache_callback(fetch_msg msg, void *p, const char *data,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
type = content_lookup(mime_type);
|
type = content_lookup(mime_type);
|
||||||
LOG(("FETCH_TYPE, type %u", c->download ?
|
|
||||||
CONTENT_OTHER : type));
|
|
||||||
res = content_set_type(c,
|
res = content_set_type(c,
|
||||||
c->download ? CONTENT_OTHER : type,
|
c->download ? CONTENT_OTHER : type,
|
||||||
mime_type, params);
|
mime_type, params);
|
||||||
@ -262,7 +260,6 @@ void fetchcache_callback(fetch_msg msg, void *p, const char *data,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case FETCH_DATA:
|
case FETCH_DATA:
|
||||||
LOG(("FETCH_DATA"));
|
|
||||||
/* if (c->total_size)
|
/* if (c->total_size)
|
||||||
content_set_status(c,
|
content_set_status(c,
|
||||||
messages_get("RecPercent"),
|
messages_get("RecPercent"),
|
||||||
@ -285,7 +282,6 @@ void fetchcache_callback(fetch_msg msg, void *p, const char *data,
|
|||||||
if (url_content)
|
if (url_content)
|
||||||
url_content->requests++;
|
url_content->requests++;
|
||||||
|
|
||||||
LOG(("FETCH_FINISHED"));
|
|
||||||
c->fetch = 0;
|
c->fetch = 0;
|
||||||
content_set_status(c, messages_get("Converting"),
|
content_set_status(c, messages_get("Converting"),
|
||||||
c->source_size);
|
c->source_size);
|
||||||
@ -308,7 +304,6 @@ void fetchcache_callback(fetch_msg msg, void *p, const char *data,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case FETCH_REDIRECT:
|
case FETCH_REDIRECT:
|
||||||
LOG(("FETCH_REDIRECT, '%s'", data));
|
|
||||||
c->fetch = 0;
|
c->fetch = 0;
|
||||||
/* redirect URLs must be absolute by HTTP/1.1, but many sites send
|
/* redirect URLs must be absolute by HTTP/1.1, but many sites send
|
||||||
* relative ones: treat them as relative to requested URL */
|
* relative ones: treat them as relative to requested URL */
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
#include "netsurf/css/css.h"
|
#include "netsurf/css/css.h"
|
||||||
#include "netsurf/render/box.h"
|
#include "netsurf/render/box.h"
|
||||||
#include "netsurf/render/table.h"
|
#include "netsurf/render/table.h"
|
||||||
|
#define NDEBUG
|
||||||
#include "netsurf/utils/log.h"
|
#include "netsurf/utils/log.h"
|
||||||
#include "netsurf/utils/talloc.h"
|
#include "netsurf/utils/talloc.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user