gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. 360d6ba0ad265bdaee5e


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 360d6ba0ad265bdaee5ec11b10273628b9d6fd2c
Date: Sat, 16 Oct 2010 07:11:13 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  360d6ba0ad265bdaee5ec11b10273628b9d6fd2c (commit)
      from  7f8164a20f92325febc0e3644d1c3baf2e1c0b0e (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=360d6ba0ad265bdaee5ec11b10273628b9d6fd2c


commit 360d6ba0ad265bdaee5ec11b10273628b9d6fd2c
Author: Sandro Santilli <address@hidden>
Date:   Sat Oct 16 09:11:06 2010 +0200

    Reorder XMLNode and XML properties to match the ordering in pp (toward 
fixup of the ExternalInterface test

diff --git a/libcore/asobj/XMLNode_as.cpp b/libcore/asobj/XMLNode_as.cpp
index f40ed91..7289d5f 100644
--- a/libcore/asobj/XMLNode_as.cpp
+++ b/libcore/asobj/XMLNode_as.cpp
@@ -533,26 +533,25 @@ attachXMLNodeInterface(as_object& o)
     const int protectedFlags = 0;
 
     // Just the protected flag:
-    o.init_property("nodeValue", &xmlnode_nodeValue, 
-            &xmlnode_nodeValue, protectedFlags);
-    o.init_property("nodeName", &xmlnode_nodeName, 
-            &xmlnode_nodeName, protectedFlags);
 
+    o.init_readonly_property("attributes", &xmlnode_attributes, 
protectedFlags);
+    o.init_readonly_property("childNodes", &xmlnode_childNodes, 
protectedFlags);
     o.init_readonly_property("firstChild", &xmlnode_firstChild, 
protectedFlags);
     o.init_readonly_property("lastChild", &xmlnode_lastChild, protectedFlags);
-    o.init_readonly_property("localName", &xmlnode_localName, protectedFlags);
-    o.init_readonly_property("namespaceURI", 
-            &xmlnode_namespaceURI, protectedFlags);
     o.init_readonly_property("nextSibling", 
             &xmlnode_nextSibling, protectedFlags);
-    o.init_readonly_property("prefix", &xmlnode_prefix, protectedFlags);
-    o.init_readonly_property("previousSibling", 
-            &xmlnode_previousSibling, protectedFlags);
+    o.init_property("nodeName", &xmlnode_nodeName, 
+            &xmlnode_nodeName, protectedFlags);
     o.init_readonly_property("nodeType", &xmlnode_nodeType, protectedFlags);
-    o.init_readonly_property("attributes", &xmlnode_attributes, 
protectedFlags);
-    o.init_readonly_property("childNodes", &xmlnode_childNodes, 
protectedFlags);
+    o.init_property("nodeValue", &xmlnode_nodeValue, 
+            &xmlnode_nodeValue, protectedFlags);
     o.init_readonly_property("parentNode", &xmlnode_parentNode, 
protectedFlags);
-
+    o.init_readonly_property("previousSibling", 
+            &xmlnode_previousSibling, protectedFlags);
+    o.init_readonly_property("prefix", &xmlnode_prefix, protectedFlags);
+    o.init_readonly_property("localName", &xmlnode_localName, protectedFlags);
+    o.init_readonly_property("namespaceURI", 
+            &xmlnode_namespaceURI, protectedFlags);
 }
 
 
diff --git a/libcore/asobj/XML_as.cpp b/libcore/asobj/XML_as.cpp
index 4e8b769..d6a0a3f 100644
--- a/libcore/asobj/XML_as.cpp
+++ b/libcore/asobj/XML_as.cpp
@@ -575,14 +575,14 @@ attachXMLProperties(as_object& o)
     as_object* proto = o.get_prototype();
     if (!proto) return;
     const int flags = 0;
-    proto->init_member("ignoreWhite", false, flags);
     proto->init_member("contentType", "application/x-www-form-urlencoded",
             flags);
-    proto->init_property("xmlDecl", &xml_xmlDecl, &xml_xmlDecl, flags);
     proto->init_property("docTypeDecl", &xml_docTypeDecl, &xml_docTypeDecl,
             flags);
+    proto->init_member("ignoreWhite", false, flags);
     proto->init_property("loaded", xml_loaded, xml_loaded);
-    proto->init_property("status", xml_status, xml_status);
+    proto->init_property("status", xml_status, xml_status, flags);
+    proto->init_property("xmlDecl", &xml_xmlDecl, &xml_xmlDecl, flags);
 
 }
 

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

Summary of changes:
 libcore/asobj/XMLNode_as.cpp |   25 ++++++++++++-------------
 libcore/asobj/XML_as.cpp     |    6 +++---
 2 files changed, 15 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]