Author: spouliot
Date: 2007-06-01 16:56:50 -0400 (Fri, 01 Jun 2007)
New Revision: 78456

Added:
   trunk/olive/class/System.Silverlight/
   trunk/olive/class/System.Silverlight/Assembly/
   trunk/olive/class/System.Silverlight/Assembly/AssemblyInfo.cs
   trunk/olive/class/System.Silverlight/ChangeLog
   trunk/olive/class/System.Silverlight/Makefile
   trunk/olive/class/System.Silverlight/System.Silverlight.dll.sources
   trunk/olive/class/System.Silverlight/System.Windows.Browser/
   
trunk/olive/class/System.Silverlight/System.Windows.Browser/BrowserInformation.cs
   trunk/olive/class/System.Silverlight/System.Windows.Browser/ChangeLog
   trunk/olive/class/System.Silverlight/System.Windows.Browser/HtmlObject.cs
   trunk/olive/class/System.Silverlight/System.Windows.Browser/HtmlPage.cs
   
trunk/olive/class/System.Silverlight/System.Windows.Browser/ScriptableObject.cs
Log:
In System.Windows.Browser:
2007-06-01  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * BrowserInformation.cs: New.
        * HtmlObject.cs: New. Incomplete.
        * HtmlPage.cs: New. Incomplete.
        * ScriptableObject.cs: New. Incomplete.
In .:
2007-06-01  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * Makefile: New.
        * System.Silverlight.dll.sources: New.


Added: trunk/olive/class/System.Silverlight/Assembly/AssemblyInfo.cs
===================================================================
--- trunk/olive/class/System.Silverlight/Assembly/AssemblyInfo.cs       
2007-06-01 20:21:50 UTC (rev 78455)
+++ trunk/olive/class/System.Silverlight/Assembly/AssemblyInfo.cs       
2007-06-01 20:56:50 UTC (rev 78456)
@@ -0,0 +1,20 @@
+//
+// AssemblyInfo.cs
+//
+// Author:
+//   Iain McCoy ([EMAIL PROTECTED])
+//   Andreas Nahr ([EMAIL PROTECTED])
+//
+// (C) 2003 Ximian, Inc.  http://www.ximian.com
+// (C) 2004 Novell (http://www.novell.com)
+//
+// this file based on mcs/class/Mono.Data.SqlClient/Assembly/AssemblyInfo.cs
+
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyVersion ("1.0.0.0")]
+
+[assembly: AssemblyDelaySign (true)]
+[assembly: AssemblyKeyFile ("../msfinal3.pub")]

Added: trunk/olive/class/System.Silverlight/ChangeLog
===================================================================
--- trunk/olive/class/System.Silverlight/ChangeLog      2007-06-01 20:21:50 UTC 
(rev 78455)
+++ trunk/olive/class/System.Silverlight/ChangeLog      2007-06-01 20:56:50 UTC 
(rev 78456)
@@ -0,0 +1,4 @@
+2007-06-01  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * Makefile: New.
+       * System.Silverlight.dll.sources: New.

Added: trunk/olive/class/System.Silverlight/Makefile
===================================================================
--- trunk/olive/class/System.Silverlight/Makefile       2007-06-01 20:21:50 UTC 
(rev 78455)
+++ trunk/olive/class/System.Silverlight/Makefile       2007-06-01 20:56:50 UTC 
(rev 78456)
@@ -0,0 +1,8 @@
+thisdir = class/System.Silverlight
+include ../../build/rules.make
+
+LIBRARY = System.Silverlight.dll
+
+LIB_MCS_FLAGS = -r:System
+
+include ../../build/library.make

Added: trunk/olive/class/System.Silverlight/System.Silverlight.dll.sources
===================================================================
--- trunk/olive/class/System.Silverlight/System.Silverlight.dll.sources 
2007-06-01 20:21:50 UTC (rev 78455)
+++ trunk/olive/class/System.Silverlight/System.Silverlight.dll.sources 
2007-06-01 20:56:50 UTC (rev 78456)
@@ -0,0 +1,7 @@
+Assembly/AssemblyInfo.cs
+../../build/common/Consts.cs
+../../build/common/MonoTODOAttribute.cs
+System.Windows.Browser/BrowserInformation.cs
+System.Windows.Browser/HtmlObject.cs
+System.Windows.Browser/HtmlPage.cs
+System.Windows.Browser/ScriptableObject.cs

Added: 
trunk/olive/class/System.Silverlight/System.Windows.Browser/BrowserInformation.cs
===================================================================
--- 
trunk/olive/class/System.Silverlight/System.Windows.Browser/BrowserInformation.cs
   2007-06-01 20:21:50 UTC (rev 78455)
+++ 
trunk/olive/class/System.Silverlight/System.Windows.Browser/BrowserInformation.cs
   2007-06-01 20:56:50 UTC (rev 78456)
@@ -0,0 +1,68 @@
+//
+// System.Windows.Browser.BrowserInformation class
+//
+// Authors:
+//     Sebastien Pouliot  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// 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.
+//
+
+namespace System.Windows.Browser {
+
+       public sealed class BrowserInformation {
+
+               private string name;
+               private string version;
+               private string platform;
+               private string user_agent;
+               private bool cookie_enabled;
+
+               public BrowserInformation (string name, string version, string 
platform, string userAgent, bool cookieEnabled)
+               {
+                       this.name = name;
+                       this.version = version;
+                       this.platform = platform;
+                       this.user_agent = userAgent;
+                       this.cookie_enabled = cookieEnabled;
+               }
+
+               public string BrowserVersion {
+                       get { return version; }
+               }
+
+               public bool CookieEnabled {
+                       get { return cookie_enabled; }
+               }
+
+               public string Name {
+                       get { return name; }
+               }
+
+               public string Platform {
+                       get { return platform; }
+               }
+
+               public string UserAgent {
+                       get { return user_agent; }
+               }
+       }
+}

Added: trunk/olive/class/System.Silverlight/System.Windows.Browser/ChangeLog
===================================================================
--- trunk/olive/class/System.Silverlight/System.Windows.Browser/ChangeLog       
2007-06-01 20:21:50 UTC (rev 78455)
+++ trunk/olive/class/System.Silverlight/System.Windows.Browser/ChangeLog       
2007-06-01 20:56:50 UTC (rev 78456)
@@ -0,0 +1,6 @@
+2007-06-01  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * BrowserInformation.cs: New.
+       * HtmlObject.cs: New. Incomplete.
+       * HtmlPage.cs: New. Incomplete.
+       * ScriptableObject.cs: New. Incomplete.

Added: trunk/olive/class/System.Silverlight/System.Windows.Browser/HtmlObject.cs
===================================================================
--- trunk/olive/class/System.Silverlight/System.Windows.Browser/HtmlObject.cs   
2007-06-01 20:21:50 UTC (rev 78455)
+++ trunk/olive/class/System.Silverlight/System.Windows.Browser/HtmlObject.cs   
2007-06-01 20:56:50 UTC (rev 78456)
@@ -0,0 +1,62 @@
+//
+// System.Windows.Browser.HtmlObject class
+//
+// Authors:
+//     Sebastien Pouliot  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// 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.
+//
+
+namespace System.Windows.Browser {
+
+       public abstract class HtmlObject : ScriptableObject {
+
+               protected HtmlObject ()
+               {
+               }
+
+               [MonoTODO]
+               public bool AttachEvent (string eventName, EventHandler handler)
+               {
+                       throw new NotImplementedException ();
+               }
+/*
+               [MonoTODO]
+               public bool AttachEvent (string eventName, 
EventHandler<HtmlEventArgs> handler)
+               {
+                       throw new NotImplementedException ();
+               }
+*/
+               [MonoTODO]
+               public void DetachEvent (string eventName, EventHandler handler)
+               {
+                       throw new NotImplementedException ();
+               }
+/*
+               [MonoTODO]
+               public void DetachEvent (string eventName, 
EventHandler<HtmlEventArgs> handler)
+               {
+                       throw new NotImplementedException ();
+               }
+*/
+       }
+}

Added: trunk/olive/class/System.Silverlight/System.Windows.Browser/HtmlPage.cs
===================================================================
--- trunk/olive/class/System.Silverlight/System.Windows.Browser/HtmlPage.cs     
2007-06-01 20:21:50 UTC (rev 78455)
+++ trunk/olive/class/System.Silverlight/System.Windows.Browser/HtmlPage.cs     
2007-06-01 20:56:50 UTC (rev 78456)
@@ -0,0 +1,107 @@
+//
+// System.Windows.Browser.HtmlPage class
+//
+// Authors:
+//     Sebastien Pouliot  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// 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.
+//
+
+using System.Collections.Generic;
+
+namespace System.Windows.Browser {
+
+       public class HtmlPage : HtmlObject {
+
+               private static BrowserInformation browser_info;
+
+               public HtmlPage ()
+               {
+               }
+
+               public static BrowserInformation BrowserInformation {
+                       get { return browser_info; }
+               }
+
+               public static string Cookies {
+                       get { return null; }
+                       set { ; }
+               }
+
+               public static string CurrentBookmark {
+                       get { return null; }
+                       set { ; }
+               }
+/*
+               public static HtmlDocument Document {
+                       get { return null; }
+               }
+*/
+               public static Uri DocumentUri {
+                       get { return null; }
+               }
+
+               public static IDictionary<string,string> QueryString {
+                       get { return null; }
+               }
+
+               public static HtmlObject Window {
+                       get { return null; }
+               }
+
+               [MonoTODO]
+               public static void Navigate (string navigateToUri)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public static ScriptableObject Navigate (string navigateToUri, 
string target)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public static ScriptableObject Navigate (string navigateToUri, 
string target, string targetFeatures)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public static void NavigateToBookmark (string bookmark)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public static void Submit ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public static void Submit (string formId)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}

Added: 
trunk/olive/class/System.Silverlight/System.Windows.Browser/ScriptableObject.cs
===================================================================
--- 
trunk/olive/class/System.Silverlight/System.Windows.Browser/ScriptableObject.cs 
    2007-06-01 20:21:50 UTC (rev 78455)
+++ 
trunk/olive/class/System.Silverlight/System.Windows.Browser/ScriptableObject.cs 
    2007-06-01 20:56:50 UTC (rev 78456)
@@ -0,0 +1,56 @@
+//
+// System.Windows.Browser.ScriptableObject class
+//
+// Authors:
+//     Sebastien Pouliot  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// 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.
+//
+
+namespace System.Windows.Browser {
+
+       public class ScriptableObject : IDisposable {
+
+               public ScriptableObject ()
+               {
+               }
+
+               protected virtual void Dispose ()
+               {
+               }
+
+               void IDisposable.Dispose ()
+               {
+               }
+
+               [MonoTODO]
+               public virtual void SetProperty (string name, object value)
+               {
+               }
+
+               [MonoTODO]
+               public T GetProperty<T>(string name)
+               {
+                       throw new NotImplementedException ();
+               }
+       }
+}

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to