Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/519f0294205389dbf809fd2de206dcf21187bcfc
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/519f0294205389dbf809fd2de206dcf21187bcfc
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/519f0294205389dbf809fd2de206dcf21187bcfc

The branch, master has been updated
       via  519f0294205389dbf809fd2de206dcf21187bcfc (commit)
      from  148639b70c3831693c08bb00d5ef372d59088840 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=519f0294205389dbf809fd2de206dcf21187bcfc
commit 519f0294205389dbf809fd2de206dcf21187bcfc
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    dukky: Clean up the logging levels a little
    
    Signed-off-by: Daniel Silverstone <[email protected]>

diff --git a/content/handlers/javascript/duktape/dukky.c 
b/content/handlers/javascript/duktape/dukky.c
index d3adc0b..152b080 100644
--- a/content/handlers/javascript/duktape/dukky.c
+++ b/content/handlers/javascript/duktape/dukky.c
@@ -654,6 +654,7 @@ bool js_exec(jscontext *ctx, const char *txt, size_t txtlen)
        assert(ctx);
        if (txt == NULL || txtlen == 0) return false;
        duk_set_top(CTX, 0);
+       NSLOG(dukky, DEEPDEBUG, "%zd bytes: %s", txtlen, txt);
 
        (void) nsu_getmonotonic_ms(&ctx->exec_start_time);
        duk_push_string(CTX, "?unknown source?");
@@ -678,12 +679,12 @@ handle_error:
        } else {
 #define GETTER(what)                                           \
                if (duk_has_prop_string(CTX, 0, what)) {        \
-                       NSLOG(dukky, DEBUG, "Fetching " what); \
+                       NSLOG(dukky, DEEPDEBUG, "Fetching " what); \
                        duk_dup(CTX, 0);                        \
                        if (duk_safe_call(CTX, dukky_safe_get, (void *)what, 1, 
1) != DUK_EXEC_SUCCESS) { \
                                NSLOG(dukky, DEBUG, "Error fetching " what ": 
%s", duk_safe_to_string(CTX, -1)); \
                        } else { \
-                               NSLOG(dukky, DEBUG, "Success fetching " what);  
\
+                               NSLOG(dukky, DEEPDEBUG, "Success fetching " 
what);      \
                        }                                               \
                } else {                                                \
                        NSLOG(dukky, DEBUG, "Faking " what);            \


-----------------------------------------------------------------------

Summary of changes:
 content/handlers/javascript/duktape/dukky.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/content/handlers/javascript/duktape/dukky.c 
b/content/handlers/javascript/duktape/dukky.c
index d3adc0b..152b080 100644
--- a/content/handlers/javascript/duktape/dukky.c
+++ b/content/handlers/javascript/duktape/dukky.c
@@ -654,6 +654,7 @@ bool js_exec(jscontext *ctx, const char *txt, size_t txtlen)
        assert(ctx);
        if (txt == NULL || txtlen == 0) return false;
        duk_set_top(CTX, 0);
+       NSLOG(dukky, DEEPDEBUG, "%zd bytes: %s", txtlen, txt);
 
        (void) nsu_getmonotonic_ms(&ctx->exec_start_time);
        duk_push_string(CTX, "?unknown source?");
@@ -678,12 +679,12 @@ handle_error:
        } else {
 #define GETTER(what)                                           \
                if (duk_has_prop_string(CTX, 0, what)) {        \
-                       NSLOG(dukky, DEBUG, "Fetching " what); \
+                       NSLOG(dukky, DEEPDEBUG, "Fetching " what); \
                        duk_dup(CTX, 0);                        \
                        if (duk_safe_call(CTX, dukky_safe_get, (void *)what, 1, 
1) != DUK_EXEC_SUCCESS) { \
                                NSLOG(dukky, DEBUG, "Error fetching " what ": 
%s", duk_safe_to_string(CTX, -1)); \
                        } else { \
-                               NSLOG(dukky, DEBUG, "Success fetching " what);  
\
+                               NSLOG(dukky, DEEPDEBUG, "Success fetching " 
what);      \
                        }                                               \
                } else {                                                \
                        NSLOG(dukky, DEBUG, "Faking " what);            \


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to