[CalendarServer-changes] [3894] CalendarServer/branches/exarkun/update-twisted-3816

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 19 11:53:24 PDT 2009


Revision: 3894
          http://trac.macosforge.org/projects/calendarserver/changeset/3894
Author:   exarkun at twistedmatrix.com
Date:     2009-03-19 11:53:21 -0700 (Thu, 19 Mar 2009)
Log Message:
-----------
Migrated to Twisted

Modified Paths:
--------------
    CalendarServer/branches/exarkun/update-twisted-3816/run

Removed Paths:
-------------
    CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.element.__init__.patch
    CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.element.extensions.patch
    CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.test.test_xml.patch

Deleted: CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.element.__init__.patch
===================================================================
--- CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.element.__init__.patch	2009-03-19 16:38:57 UTC (rev 3893)
+++ CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.element.__init__.patch	2009-03-19 18:53:21 UTC (rev 3894)
@@ -1,10 +0,0 @@
-Index: twisted/web2/dav/element/__init__.py
-===================================================================
---- twisted/web2/dav/element/__init__.py	(revision 26343)
-+++ twisted/web2/dav/element/__init__.py	(working copy)
-@@ -36,4 +36,5 @@
-     "rfc3253",
-     "rfc3744",
-     "rfc4331",
-+    "extensions",
- ]

Deleted: CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.element.extensions.patch
===================================================================
--- CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.element.extensions.patch	2009-03-19 16:38:57 UTC (rev 3893)
+++ CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.element.extensions.patch	2009-03-19 18:53:21 UTC (rev 3894)
@@ -1,44 +0,0 @@
-Index: twisted/web2/dav/element/extensions.py
-===================================================================
---- twisted/web2/dav/element/extensions.py	(revision 0)
-+++ twisted/web2/dav/element/extensions.py	(revision 0)
-@@ -0,0 +1,39 @@
-+##
-+# Copyright (c) 2005 Apple Computer, Inc. All rights reserved.
-+#
-+# Permission is hereby granted, free of charge, to any person obtaining a copy
-+# of this software and associated documentation files (the "Software"), to deal
-+# in the Software without restriction, including without limitation the rights
-+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-+# copies of the Software, and to permit persons to whom the Software is
-+# furnished to do so, subject to the following conditions:
-+# 
-+# The above copyright notice and this permission notice shall be included in all
-+# copies or substantial portions of the Software.
-+# 
-+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-+# SOFTWARE.
-+#
-+##
-+
-+from twisted.web2.dav.element.base import *
-+
-+##
-+# draft-sanchez-webdav-current-principal
-+##
-+
-+class CurrentUserPrincipal(WebDAVElement):
-+    """
-+    Current principal information
-+    """
-+
-+    name = "current-user-principal"
-+    allowed_children = {
-+        (dav_namespace, "href" )                : (0, 1),
-+        (dav_namespace, "unauthenticated" )     : (0, 1),
-+    }

Deleted: CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.test.test_xml.patch
===================================================================
--- CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.test.test_xml.patch	2009-03-19 16:38:57 UTC (rev 3893)
+++ CalendarServer/branches/exarkun/update-twisted-3816/lib-patches/Twisted/twisted.web2.dav.test.test_xml.patch	2009-03-19 18:53:21 UTC (rev 3894)
@@ -1,88 +0,0 @@
-Index: twisted/web2/dav/test/test_xml.py
-===================================================================
---- twisted/web2/dav/test/test_xml.py	(revision 0)
-+++ twisted/web2/dav/test/test_xml.py	(revision 0)
-@@ -0,0 +1,83 @@
-+##
-+# Copyright (c) 2005 Apple Computer, Inc. All rights reserved.
-+#
-+# Permission is hereby granted, free of charge, to any person obtaining a copy
-+# of this software and associated documentation files (the "Software"), to deal
-+# in the Software without restriction, including without limitation the rights
-+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-+# copies of the Software, and to permit persons to whom the Software is
-+# furnished to do so, subject to the following conditions:
-+# 
-+# The above copyright notice and this permission notice shall be included in all
-+# copies or substantial portions of the Software.
-+# 
-+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-+# SOFTWARE.
-+##
-+
-+from twisted.trial import unittest
-+from twisted.web2.dav import davxml
-+
-+class XML(unittest.TestCase):
-+    """
-+    XML tests.
-+    """
-+    def test_parse(self):
-+        """
-+        Simple parsing
-+        """
-+        doc = davxml.WebDAVDocument.fromString(
-+            """<?xml version="1.0" encoding="utf-8" ?>"""
-+            """<D:multistatus xmlns:D="DAV:">"""
-+            """  <D:response>"""
-+            """    <D:href>http://webdav.sb.aol.com/webdav/secret</D:href>"""
-+            """    <D:status>HTTP/1.1 403 Forbidden</D:status>"""
-+            """  </D:response>"""
-+            """</D:multistatus>"""
-+        )
-+        self.assertEquals(
-+            doc,
-+            davxml.WebDAVDocument(
-+                davxml.MultiStatus(
-+                    davxml.Response(
-+                        davxml.HRef("http://webdav.sb.aol.com/webdav/secret"),
-+                        davxml.Status("HTTP/1.1 403 Forbidden"),
-+                    )
-+                )
-+            )
-+        )
-+
-+    def test_serialize_unserialize(self):
-+        """
-+        Serialization and unserialization results in equivalent document.
-+        """
-+        doc = davxml.WebDAVDocument(
-+            davxml.MultiStatus(
-+                davxml.Response(
-+                    davxml.HRef("http://webdav.sb.aol.com/webdav/secret"),
-+                    davxml.Status("HTTP/1.1 403 Forbidden"),
-+                )
-+            )
-+        )
-+        self.assertEquals(doc, davxml.WebDAVDocument.fromString(doc.toxml()))
-+
-+    def test_unknownElement(self):
-+        """
-+        Serialization and unserialization of unknown element.
-+        """
-+        doc = davxml.WebDAVDocument.fromString(
-+            """<?xml version="1.0" encoding="utf-8" ?>"""
-+            """<T:foo xmlns:T="http://twistedmatrix.com/"/>"""
-+        )
-+
-+        foo = davxml.WebDAVUnknownElement()
-+        foo.namespace = "http://twistedmatrix.com/"
-+        foo.name = "foo"
-+
-+        self.assertEquals(doc, davxml.WebDAVDocument(foo))
-+        self.assertEquals(doc, davxml.WebDAVDocument.fromString(doc.toxml()))

Modified: CalendarServer/branches/exarkun/update-twisted-3816/run
===================================================================
--- CalendarServer/branches/exarkun/update-twisted-3816/run	2009-03-19 16:38:57 UTC (rev 3893)
+++ CalendarServer/branches/exarkun/update-twisted-3816/run	2009-03-19 18:53:21 UTC (rev 3894)
@@ -636,7 +636,7 @@
     ;;
 esac;
 svn_uri="${proto}://svn.twistedmatrix.com/svn/Twisted/branches/dav-take-two-3081-3";
-svn_get "Twisted" "${twisted}" "${svn_uri}" 26427;
+svn_get "Twisted" "${twisted}" "${svn_uri}" 26434;
 
 # No py_build step, since we tend to do edit Twisted, we want the sources in
 # PYTHONPATH, not a build directory.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090319/48613a59/attachment-0001.html>


More information about the calendarserver-changes mailing list