Gitweb links:

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

The branch, master has been updated
       via  e1b37918e8f6a54d708720c6925e2ef27c0e8119 (commit)
      from  7716143240429371e8f357ddc44d15d343759ae1 (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/commitdiff/e1b37918e8f6a54d708720c6925e2ef27c0e8119
commit e1b37918e8f6a54d708720c6925e2ef27c0e8119
Author: John-Mark Bell <[email protected]>
Commit: John-Mark Bell <[email protected]>

    Reflect change to hubbub parser binding API.

diff --git a/render/html.c b/render/html.c
index 8526ca0..3ee85b4 100644
--- a/render/html.c
+++ b/render/html.c
@@ -335,10 +335,10 @@ html_create_html_data(html_content *c, const 
http_parameter *params)
        c->parser = dom_hubbub_parser_create(c->encoding, 
                                             true, 
                                             nsoption_bool(enable_javascript),
-                                            &c->document,
                                             NULL, 
                                             html_process_script, 
-                                            c);
+                                            c,
+                                            &c->document);
        if ((c->parser == NULL) && (c->encoding != NULL)) {
                /* Ok, we don't support the declared encoding. Bailing out
                 * isn't exactly user-friendly, so fall back to autodetect */
@@ -348,12 +348,10 @@ html_create_html_data(html_content *c, const 
http_parameter *params)
                c->parser = dom_hubbub_parser_create(c->encoding, 
                                                     true, 
                                                     
nsoption_bool(enable_javascript), 
-                                                    &c->document,
                                                     NULL, 
                                                     html_process_script, 
-                                                    c);
-
-
+                                                    c,
+                                                    &c->document);
        }
 
        if (c->parser == NULL) {
@@ -451,10 +449,10 @@ html_process_encoding_change(struct content *c,
        html->parser = dom_hubbub_parser_create(html->encoding, 
                                                true, 
                                                
nsoption_bool(enable_javascript), 
-                                               &html->document,
                                                NULL, 
                                                html_process_script, 
-                                               html);
+                                               html,
+                                               &html->document);
        if (html->parser == NULL) {
                /* Ok, we don't support the declared encoding. Bailing out
                 * isn't exactly user-friendly, so fall back to Windows-1252 */
@@ -471,11 +469,10 @@ html_process_encoding_change(struct content *c,
                html->parser = dom_hubbub_parser_create(html->encoding, 
                                                        true, 
                                                        
nsoption_bool(enable_javascript), 
-                                                       &html->document,
-
                                                        NULL, 
                                                        html_process_script, 
-                                                       html);
+                                                       html,
+                                                       &html->document);
 
                if (html->parser == NULL) {
                        union content_msg_data msg_data;


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

Summary of changes:
 render/html.c |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/render/html.c b/render/html.c
index 8526ca0..3ee85b4 100644
--- a/render/html.c
+++ b/render/html.c
@@ -335,10 +335,10 @@ html_create_html_data(html_content *c, const 
http_parameter *params)
        c->parser = dom_hubbub_parser_create(c->encoding, 
                                             true, 
                                             nsoption_bool(enable_javascript),
-                                            &c->document,
                                             NULL, 
                                             html_process_script, 
-                                            c);
+                                            c,
+                                            &c->document);
        if ((c->parser == NULL) && (c->encoding != NULL)) {
                /* Ok, we don't support the declared encoding. Bailing out
                 * isn't exactly user-friendly, so fall back to autodetect */
@@ -348,12 +348,10 @@ html_create_html_data(html_content *c, const 
http_parameter *params)
                c->parser = dom_hubbub_parser_create(c->encoding, 
                                                     true, 
                                                     
nsoption_bool(enable_javascript), 
-                                                    &c->document,
                                                     NULL, 
                                                     html_process_script, 
-                                                    c);
-
-
+                                                    c,
+                                                    &c->document);
        }
 
        if (c->parser == NULL) {
@@ -451,10 +449,10 @@ html_process_encoding_change(struct content *c,
        html->parser = dom_hubbub_parser_create(html->encoding, 
                                                true, 
                                                
nsoption_bool(enable_javascript), 
-                                               &html->document,
                                                NULL, 
                                                html_process_script, 
-                                               html);
+                                               html,
+                                               &html->document);
        if (html->parser == NULL) {
                /* Ok, we don't support the declared encoding. Bailing out
                 * isn't exactly user-friendly, so fall back to Windows-1252 */
@@ -471,11 +469,10 @@ html_process_encoding_change(struct content *c,
                html->parser = dom_hubbub_parser_create(html->encoding, 
                                                        true, 
                                                        
nsoption_bool(enable_javascript), 
-                                                       &html->document,
-
                                                        NULL, 
                                                        html_process_script, 
-                                                       html);
+                                                       html,
+                                                       &html->document);
 
                if (html->parser == NULL) {
                        union content_msg_data msg_data;


-- 
NetSurf Browser

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

Reply via email to