Gitweb links: ...log http://git.netsurf-browser.org/netsurf.git/shortlog/87be4e7a1771753f5b64550510684098559b7146 ...commit http://git.netsurf-browser.org/netsurf.git/commit/87be4e7a1771753f5b64550510684098559b7146 ...tree http://git.netsurf-browser.org/netsurf.git/tree/87be4e7a1771753f5b64550510684098559b7146
The branch, master has been updated via 87be4e7a1771753f5b64550510684098559b7146 (commit) via c42039c546d20c8734318eed04da3a478bfe0cac (commit) via 9ee92823e2a3890e526faf8956916c6fd987958a (commit) via 78385629c3c6ad95b76ae494d8d9e683dc239216 (commit) from 12bba5a1cc36c8c8b32c0714173bd81bd32e8cb8 (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=87be4e7a1771753f5b64550510684098559b7146 commit 87be4e7a1771753f5b64550510684098559b7146 Author: Daniel Silverstone <dsilv...@digital-scurf.org> Commit: Daniel Silverstone <dsilv...@digital-scurf.org> Log when we finalise window objects Signed-off-by: Daniel Silverstone <dsilv...@digital-scurf.org> diff --git a/content/handlers/javascript/duktape/Window.bnd b/content/handlers/javascript/duktape/Window.bnd index f71ebd6..3aed299 100644 --- a/content/handlers/javascript/duktape/Window.bnd +++ b/content/handlers/javascript/duktape/Window.bnd @@ -198,6 +198,7 @@ init Window(struct browser_window *win, struct html_content *htmlc) fini Window() %{ + NSLOG(dukky, DEEPDEBUG, "Shutting down Window %p", priv->win); /* Cheaply iterate the schedule ring, cancelling any pending callbacks */ while (priv->schedule_ring != NULL) { window_remove_callback_by_handle(ctx, priv, priv->schedule_ring->handle); commitdiff http://git.netsurf-browser.org/netsurf.git/commit/?id=c42039c546d20c8734318eed04da3a478bfe0cac commit c42039c546d20c8734318eed04da3a478bfe0cac Author: Daniel Silverstone <dsilv...@digital-scurf.org> Commit: Daniel Silverstone <dsilv...@digital-scurf.org> Use generics for makeListProxy properly Signed-off-by: Daniel Silverstone <dsilv...@digital-scurf.org> diff --git a/content/handlers/javascript/duktape/Node.bnd b/content/handlers/javascript/duktape/Node.bnd index ce9125d..98fb5dd 100644 --- a/content/handlers/javascript/duktape/Node.bnd +++ b/content/handlers/javascript/duktape/Node.bnd @@ -11,7 +11,7 @@ class Node { private dom_node *node; prologue %{ -#define LIST_PROXY_MAGIC MAGIC(LIST_PROXY) + %}; }; @@ -120,7 +120,7 @@ getter Node::childNodes() duk_pop(ctx); exc = dom_node_get_child_nodes(priv->node, &nlist); if (exc != DOM_NO_ERR) return 0; - duk_get_global_string(ctx, LIST_PROXY_MAGIC); + dukky_push_generics(ctx, "makeListProxy"); duk_push_pointer(ctx, nlist); if (dukky_create_object(ctx, PROTO_NAME(NODELIST), 1) != DUK_EXEC_SUCCESS) { dom_nodelist_unref(nlist); commitdiff http://git.netsurf-browser.org/netsurf.git/commit/?id=9ee92823e2a3890e526faf8956916c6fd987958a commit 9ee92823e2a3890e526faf8956916c6fd987958a Author: Daniel Silverstone <dsilv...@digital-scurf.org> Commit: Daniel Silverstone <dsilv...@digital-scurf.org> Use generics for makeListProxy properly Signed-off-by: Daniel Silverstone <dsilv...@digital-scurf.org> diff --git a/content/handlers/javascript/duktape/Element.bnd b/content/handlers/javascript/duktape/Element.bnd index 5e36a50..33fc086 100644 --- a/content/handlers/javascript/duktape/Element.bnd +++ b/content/handlers/javascript/duktape/Element.bnd @@ -11,7 +11,6 @@ class Element { prologue %{ #include <utils/corestrings.h> -#define LIST_PROXY_MAGIC MAGIC(LIST_PROXY) %}; }; @@ -206,7 +205,7 @@ method Element::getElementsByTagName () dom_string_unref(tagname); if (exc != DOM_NO_ERR) return 0; - duk_get_global_string(ctx, LIST_PROXY_MAGIC); + dukky_push_generics(ctx, "makeListProxy"); duk_push_pointer(ctx, nlist); dukky_create_object(ctx, PROTO_NAME(NODELIST), 1); commitdiff http://git.netsurf-browser.org/netsurf.git/commit/?id=78385629c3c6ad95b76ae494d8d9e683dc239216 commit 78385629c3c6ad95b76ae494d8d9e683dc239216 Author: Daniel Silverstone <dsilv...@digital-scurf.org> Commit: Daniel Silverstone <dsilv...@digital-scurf.org> Remove unnecessary generics magic Signed-off-by: Daniel Silverstone <dsilv...@digital-scurf.org> diff --git a/content/handlers/javascript/duktape/Document.bnd b/content/handlers/javascript/duktape/Document.bnd index 9c63a61..0246fdf 100644 --- a/content/handlers/javascript/duktape/Document.bnd +++ b/content/handlers/javascript/duktape/Document.bnd @@ -18,7 +18,6 @@ prologue Document() #include "content/urldb.h" #define HANDLER_MAGIC MAGIC(HANDLER_MAP) -#define GENERICS_MAGIC MAGIC(GENERICS_TABLE) %} ----------------------------------------------------------------------- Summary of changes: content/handlers/javascript/duktape/Document.bnd | 1 - content/handlers/javascript/duktape/Element.bnd | 3 +-- content/handlers/javascript/duktape/Node.bnd | 4 ++-- content/handlers/javascript/duktape/Window.bnd | 1 + 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/content/handlers/javascript/duktape/Document.bnd b/content/handlers/javascript/duktape/Document.bnd index 9c63a61..0246fdf 100644 --- a/content/handlers/javascript/duktape/Document.bnd +++ b/content/handlers/javascript/duktape/Document.bnd @@ -18,7 +18,6 @@ prologue Document() #include "content/urldb.h" #define HANDLER_MAGIC MAGIC(HANDLER_MAP) -#define GENERICS_MAGIC MAGIC(GENERICS_TABLE) %} diff --git a/content/handlers/javascript/duktape/Element.bnd b/content/handlers/javascript/duktape/Element.bnd index 5e36a50..33fc086 100644 --- a/content/handlers/javascript/duktape/Element.bnd +++ b/content/handlers/javascript/duktape/Element.bnd @@ -11,7 +11,6 @@ class Element { prologue %{ #include <utils/corestrings.h> -#define LIST_PROXY_MAGIC MAGIC(LIST_PROXY) %}; }; @@ -206,7 +205,7 @@ method Element::getElementsByTagName () dom_string_unref(tagname); if (exc != DOM_NO_ERR) return 0; - duk_get_global_string(ctx, LIST_PROXY_MAGIC); + dukky_push_generics(ctx, "makeListProxy"); duk_push_pointer(ctx, nlist); dukky_create_object(ctx, PROTO_NAME(NODELIST), 1); diff --git a/content/handlers/javascript/duktape/Node.bnd b/content/handlers/javascript/duktape/Node.bnd index ce9125d..98fb5dd 100644 --- a/content/handlers/javascript/duktape/Node.bnd +++ b/content/handlers/javascript/duktape/Node.bnd @@ -11,7 +11,7 @@ class Node { private dom_node *node; prologue %{ -#define LIST_PROXY_MAGIC MAGIC(LIST_PROXY) + %}; }; @@ -120,7 +120,7 @@ getter Node::childNodes() duk_pop(ctx); exc = dom_node_get_child_nodes(priv->node, &nlist); if (exc != DOM_NO_ERR) return 0; - duk_get_global_string(ctx, LIST_PROXY_MAGIC); + dukky_push_generics(ctx, "makeListProxy"); duk_push_pointer(ctx, nlist); if (dukky_create_object(ctx, PROTO_NAME(NODELIST), 1) != DUK_EXEC_SUCCESS) { dom_nodelist_unref(nlist); diff --git a/content/handlers/javascript/duktape/Window.bnd b/content/handlers/javascript/duktape/Window.bnd index f71ebd6..3aed299 100644 --- a/content/handlers/javascript/duktape/Window.bnd +++ b/content/handlers/javascript/duktape/Window.bnd @@ -198,6 +198,7 @@ init Window(struct browser_window *win, struct html_content *htmlc) fini Window() %{ + NSLOG(dukky, DEEPDEBUG, "Shutting down Window %p", priv->win); /* Cheaply iterate the schedule ring, cancelling any pending callbacks */ while (priv->schedule_ring != NULL) { window_remove_callback_by_handle(ctx, priv, priv->schedule_ring->handle); -- NetSurf Browser _______________________________________________ netsurf-commits mailing list netsurf-commits@netsurf-browser.org http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org