[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

mjs mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:14:03 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit ec2578caf1532a7bb41e8e0ae7efbfef49aaeb94
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Dec 12 09:14:35 2002 +0000

    Added missing reviewer.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3013 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 2fa117e..14f3b31 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,6 +1,6 @@
 2002-12-11  Maciej Stachowiak  <mjs at apple.com>
 
-        Reviewed by NOBODY (OOPS!).
+        Reviewed by Don.
 
 	- Add kjsprint global function in Development build for ease of	debugging.
 	- Print uncaught JavaScript exceptions to the console in Development.
diff --git a/JavaScriptCore/ChangeLog-2003-10-25 b/JavaScriptCore/ChangeLog-2003-10-25
index 2fa117e..14f3b31 100644
--- a/JavaScriptCore/ChangeLog-2003-10-25
+++ b/JavaScriptCore/ChangeLog-2003-10-25
@@ -1,6 +1,6 @@
 2002-12-11  Maciej Stachowiak  <mjs at apple.com>
 
-        Reviewed by NOBODY (OOPS!).
+        Reviewed by Don.
 
 	- Add kjsprint global function in Development build for ease of	debugging.
 	- Print uncaught JavaScript exceptions to the console in Development.
diff --git a/JavaScriptCore/kjs/array_instance.h b/JavaScriptCore/kjs/array_instance.h
index d2b06a9..db6e38d 100644
--- a/JavaScriptCore/kjs/array_instance.h
+++ b/JavaScriptCore/kjs/array_instance.h
@@ -40,6 +40,7 @@ namespace KJS {
     virtual bool hasProperty(ExecState *exec, unsigned propertyName) const;
     virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName);
     virtual bool deleteProperty(ExecState *exec, unsigned propertyName);
+    virtual ReferenceList propList(ExecState *exec, bool recursive);
 
     virtual void mark();
 
diff --git a/JavaScriptCore/kjs/array_object.cpp b/JavaScriptCore/kjs/array_object.cpp
index f264f10..37c95a8 100644
--- a/JavaScriptCore/kjs/array_object.cpp
+++ b/JavaScriptCore/kjs/array_object.cpp
@@ -196,6 +196,18 @@ bool ArrayInstanceImp::deleteProperty(ExecState *exec, unsigned index)
   return ObjectImp::deleteProperty(exec, Identifier::from(index));
 }
 
+ReferenceList ArrayInstanceImp::propList(ExecState *exec, bool recursive)
+{
+  ReferenceList properties = ObjectImp::propList(exec,recursive);
+  for (unsigned i = 0; i < storageLength; ++i) {
+    if (storage[i]) {
+      properties.append(Reference(this, Identifier::from(i);
+    }
+  }
+  return properties;
+}
+
+
 void ArrayInstanceImp::resizeStorage(unsigned newLength)
 {
     if (newLength < storageLength) {
diff --git a/JavaScriptCore/kjs/array_object.h b/JavaScriptCore/kjs/array_object.h
index 04aa870..4353d01 100644
--- a/JavaScriptCore/kjs/array_object.h
+++ b/JavaScriptCore/kjs/array_object.h
@@ -59,7 +59,6 @@ namespace KJS {
     virtual Object construct(ExecState *exec, const List &args);
     virtual bool implementsCall() const;
     virtual Value call(ExecState *exec, Object &thisObj, const List &args);
-
   };
 
 }; // namespace
diff --git a/JavaScriptCore/kjs/object.h b/JavaScriptCore/kjs/object.h
index 427caa1..ba0b042 100644
--- a/JavaScriptCore/kjs/object.h
+++ b/JavaScriptCore/kjs/object.h
@@ -572,7 +572,7 @@ namespace KJS {
     const ScopeChain &scope() const { return _scope; }
     void setScope(const ScopeChain &s) { _scope = s; }
 
-    ReferenceList propList(ExecState *exec, bool recursive = true);
+    virtual ReferenceList propList(ExecState *exec, bool recursive = true);
 
     Value internalValue() const;
     void setInternalValue(const Value &v);

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list