[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 06:31:49 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 332b1bad98a4f9353bd36036fcfea8c7afab0929
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Aug 16 07:48:10 2002 +0000

            * kjs/reference_list.h: Added file I forgot to check in last time.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1838 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 9a5ac53..ce70a87 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-16  Maciej Stachowiak  <mjs at apple.com>
+
+        * kjs/reference_list.h: Added file I forgot to check in last time.
+
 2002-08-15  Maciej Stachowiak  <mjs at apple.com>
 
 	Phase 1 of optimization to stop allocating references through the
diff --git a/JavaScriptCore/ChangeLog-2002-12-03 b/JavaScriptCore/ChangeLog-2002-12-03
index 9a5ac53..ce70a87 100644
--- a/JavaScriptCore/ChangeLog-2002-12-03
+++ b/JavaScriptCore/ChangeLog-2002-12-03
@@ -1,3 +1,7 @@
+2002-08-16  Maciej Stachowiak  <mjs at apple.com>
+
+        * kjs/reference_list.h: Added file I forgot to check in last time.
+
 2002-08-15  Maciej Stachowiak  <mjs at apple.com>
 
 	Phase 1 of optimization to stop allocating references through the
diff --git a/JavaScriptCore/ChangeLog-2003-10-25 b/JavaScriptCore/ChangeLog-2003-10-25
index 9a5ac53..ce70a87 100644
--- a/JavaScriptCore/ChangeLog-2003-10-25
+++ b/JavaScriptCore/ChangeLog-2003-10-25
@@ -1,3 +1,7 @@
+2002-08-16  Maciej Stachowiak  <mjs at apple.com>
+
+        * kjs/reference_list.h: Added file I forgot to check in last time.
+
 2002-08-15  Maciej Stachowiak  <mjs at apple.com>
 
 	Phase 1 of optimization to stop allocating references through the
diff --git a/JavaScriptCore/kjs/reference_list.h b/JavaScriptCore/kjs/reference_list.h
new file mode 100644
index 0000000..ce5bf74
--- /dev/null
+++ b/JavaScriptCore/kjs/reference_list.h
@@ -0,0 +1,55 @@
+// -*- c-basic-offset: 2 -*-
+/*
+ *  This file is part of the KDE libraries
+ *  Copyright (C) 1999-2001 Harri Porten (porten at kde.org)
+ *  Copyright (C) 2001 Peter Kelly (pmk at post.com)
+ *
+ *  This library is free software; you can redistribute it and/or
+ *  modify it under the terms of the GNU Library General Public
+ *  License as published by the Free Software Foundation; either
+ *  version 2 of the License, or (at your option) any later version.
+ *
+ *  This library is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *  Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Library General Public License
+ *  along with this library; see the file COPYING.LIB.  If not, write to
+ *  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ *  Boston, MA 02111-1307, USA.
+ *
+ */
+
+#ifndef _KJS_REFERENCE_LIST_H_
+#define _KJS_REFERENCE_LIST_H_
+
+#include <types.h>
+
+namespace KJS {
+
+
+class ReferenceListIterator : private ListIterator {
+  friend class ReferenceList;
+ public:
+
+  bool operator!=(const ReferenceListIterator &it) const { return this->ListIterator::operator!=(it); }
+  ReferenceImp* operator->() const { return (ReferenceImp *)ListIterator::operator->(); }
+  Reference operator++(int i) { return Reference((ReferenceImp *)ListIterator::operator++(i).imp()); }
+
+ private:
+  ReferenceListIterator(const ListIterator& it) : ListIterator(it) { }
+};
+
+class ReferenceList : private List {
+ public:
+  void ReferenceList::append(const Reference& val) { List::append(val); }
+
+  ReferenceListIterator begin() const { return List::begin(); }
+  ReferenceListIterator end() const { return List::end(); }
+
+}; 
+
+}
+
+#endif

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list