dotgnu-pnet-commits
[Top][All Lists]
Advanced

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

[dotgnu-pnet-commits] pnetlib ChangeLog runtime/System/Environment.cs...


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnetlib ChangeLog runtime/System/Environment.cs...
Date: Sun, 01 Feb 2009 15:41:04 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnetlib
Changes by:     Klaus Treichel <ktreichel>      09/02/01 15:41:03

Modified files:
        .              : ChangeLog 
        runtime/System : Environment.cs PlatformID.cs 
Added files:
        runtime/System : AppDomainInitializer.cs 
                         AppDomainManagerInitializationOptions.cs 
                         Base64FormattingOptions.cs Comparison_1.cs 
                         EnvironmentVariableTarget.cs EventHandler_1.cs 
                         GCNotificationStatus.cs MidpointRounding.cs 
                         StringSplitOptions.cs 
        System         : UriComponents.cs UriFormat.cs UriIdnScope.cs 
                         UriKind.cs 
Removed files:
        runtime/System : Comparision_1.cs 

Log message:
        Add more 2.x stuff.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnetlib/ChangeLog?cvsroot=dotgnu-pnet&r1=1.2551&r2=1.2552
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Environment.cs?cvsroot=dotgnu-pnet&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/PlatformID.cs?cvsroot=dotgnu-pnet&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/AppDomainInitializer.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/AppDomainManagerInitializationOptions.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Base64FormattingOptions.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Comparison_1.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/EnvironmentVariableTarget.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/EventHandler_1.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/GCNotificationStatus.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/MidpointRounding.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/StringSplitOptions.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Comparision_1.cs?cvsroot=dotgnu-pnet&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/UriComponents.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/UriFormat.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/UriIdnScope.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/UriKind.cs?cvsroot=dotgnu-pnet&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.2551
retrieving revision 1.2552
diff -u -b -r1.2551 -r1.2552
--- ChangeLog   1 Feb 2009 10:16:39 -0000       1.2551
+++ ChangeLog   1 Feb 2009 15:41:01 -0000       1.2552
@@ -1,14 +1,36 @@
 2009-02-01  Klaus Treichel  <address@hidden>
 
-       * runtime/System/Globalization/CharUnicodeInfo.cs: Change coditional
+       * runtime/System/Globalization/CharUnicodeInfo.cs: Change conditional
        compilation from CONFIG_FRAMEWORK_1_2 to CONFIG_FRAMEWORK_2_0.
 
        * 
runtime/System/Security/Cryptography/X509Certificates/X509Certificate.cs:
        Fix build with compact profile (without CONFIG_SERIALIZATION).
 
+       * runtime/System/Comparision_1.cs: Move to 
runtime/System/Comparison_1.cs
+       and rename class accordingly.
+
+       * runtime/Syst3m/Environment.cs: Change conditional compilation from
+       CONFIG_FRAMEWORK_1_2 to CONFIG_FRAMEWORK_2_0 and add MyDocuments to
+       the SpecialFolder enumeration.
+
+       * runtime/System/PlatformID.cs: Add new 2.0 members to the enumeration.
+       Change Unix to 4 to be in sync with the 2.0 declaration.
+
        * runtime/System/Globalization/CalendarAlgorithmType.cs,
        runtime/System/Globalization/DigitShapes.cs,
-       runtime/System/Text/NormalizationForm.cs: Add some 2.0 enumerations.
+       runtime/System/Text/NormalizationForm.cs,
+       runtime/System/AppDomainInitializer.cs,
+       runtime/System/AppDomainManagerInitializationOptions.cs,
+       runtime/System/Base64FormattingOptions.cs,
+       runtime/System/EnvironmentVariableTarget.cs,
+       runtime/System/GCNotificationStatus.cs,
+       runtime/System/MidpointRounding.cs,
+       runtime/System/StringSplitOptions.cs,
+       System/UriComponents.cs, System/UriFormat.cs, System/UriIdnScope.cs,
+       System/UriKind.cs: Add some 2.0 enumerations.
+
+       * runtime/System/EventHandler_1.cs: Add the generic version of the
+       EventHandler class.
 
 2009-01-28  Heiko Weiss <address@hidden>
 

Index: runtime/System/Environment.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Environment.cs,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- runtime/System/Environment.cs       2 Jan 2004 07:50:25 -0000       1.18
+++ runtime/System/Environment.cs       1 Feb 2009 15:41:02 -0000       1.19
@@ -2,6 +2,7 @@
  * Environment.cs - Implementation of the "System.Environment" class.
  *
  * Copyright (C) 2001, 2002, 2003  Southern Storm Software, Pty Ltd.
+ * Copyright (C) 2009  Free Software Foundation Inc.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -253,7 +254,7 @@
                                }
                        }
 
-#if CONFIG_FRAMEWORK_1_2
+#if CONFIG_FRAMEWORK_2_0
 
        // Get the number of processors in this machine.
        public static int ProcessorCount
@@ -264,7 +265,7 @@
                                }
                        }
 
-#endif // CONFIG_FRAMEWORK_1_2
+#endif // CONFIG_FRAMEWORK_2_0
 
        // Expand environment variable references in a string.
        public static String ExpandEnvironmentVariables(String name)
@@ -321,6 +322,9 @@
                Desktop               = 0x00,
                Programs              = 0x02,
                Personal              = 0x05,
+#if CONFIG_FRAMEWORK_2_0
+               MyDocuments           = 0x05,
+#endif // !CONFIG_FRAMEWORK_2_0
                Favorites             = 0x06,
                Startup               = 0x07,
                Recent                = 0x08,

Index: runtime/System/PlatformID.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/PlatformID.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- runtime/System/PlatformID.cs        23 Apr 2003 05:39:48 -0000      1.4
+++ runtime/System/PlatformID.cs        1 Feb 2009 15:41:03 -0000       1.5
@@ -2,6 +2,7 @@
  * PlatformID.cs - Implementation of the "System.PlatformID" class.
  *
  * Copyright (C) 2001, 2002  Southern Storm Software, Pty Ltd.
+ * Copyright (C) 2009  Free Software Foundation Inc.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -22,14 +23,23 @@
 {
 
 #if !ECMA_COMPAT
+#if CONFIG_FRAMEWORK_2_0
+using System.Runtime.InteropServices;
 
+[ComVisible(true)]
+#endif // CONFIG_FRAMEWORK_2_0
+[Serializable]
 public enum PlatformID
 {
        Win32S       = 0,
        Win32Windows = 1,
        Win32NT      = 2,
        WinCE        = 3,
-       Unix         = 128
+       Unix         = 4,
+#if CONFIG_FRAMEWORK_2_0
+       Xbox             = 5,
+       MacOSX           = 6
+#endif
 
 }; // enum PlatformID
 

Index: runtime/System/AppDomainInitializer.cs
===================================================================
RCS file: runtime/System/AppDomainInitializer.cs
diff -N runtime/System/AppDomainInitializer.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/AppDomainInitializer.cs      1 Feb 2009 15:41:02 -0000       
1.1
@@ -0,0 +1,35 @@
+/*
+ * AppDomainInitializer.cs - Implementation of the
+ *                                                     
"System.AppDomainInitializer" delegate.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+using System.Runtime.InteropServices;
+
+[Serializable]
+[ComVisible(true)]
+public delegate void AppDomainInitializer(String[] args);
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System

Index: runtime/System/AppDomainManagerInitializationOptions.cs
===================================================================
RCS file: runtime/System/AppDomainManagerInitializationOptions.cs
diff -N runtime/System/AppDomainManagerInitializationOptions.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/AppDomainManagerInitializationOptions.cs     1 Feb 2009 
15:41:02 -0000       1.1
@@ -0,0 +1,41 @@
+/*
+ * AppDomainManagerInitializationOptions.cs - Implementation of the
+ *                                     
"System.AppDomainManagerInitializationOptions" enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+using System.Runtime.InteropServices;
+
+[ComVisible(true)]
+[Flags]
+public enum AppDomainManagerInitializationOptions
+{
+
+       None                            = 0,
+       RegisterWithHost        = 1
+
+}; // enum AppDomainManagerInitializationOptions
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System

Index: runtime/System/Base64FormattingOptions.cs
===================================================================
RCS file: runtime/System/Base64FormattingOptions.cs
diff -N runtime/System/Base64FormattingOptions.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Base64FormattingOptions.cs   1 Feb 2009 15:41:02 -0000       
1.1
@@ -0,0 +1,38 @@
+/*
+ * Base64FormattingOptions.cs - Implementation of the
+ *                                                             
"System.Base64FormattingOptions" enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+[Flags]
+public enum Base64FormattingOptions
+{
+
+       None                            = 0,
+       InsertLineBreaks        = 1
+
+}; // enum Base64FormattingOptions
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System

Index: runtime/System/Comparison_1.cs
===================================================================
RCS file: runtime/System/Comparison_1.cs
diff -N runtime/System/Comparison_1.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Comparison_1.cs      1 Feb 2009 15:41:02 -0000       1.1
@@ -0,0 +1,30 @@
+/*
+ * Comparison_1.cs - Implementation of the "System.Comparison<T>" delegate.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if CONFIG_FRAMEWORK_2_0
+
+public delegate void Comparison<T>(T x, T y);
+
+#endif // CONFIG_FRAMEWORK_2_0
+
+}; // namespace System

Index: runtime/System/EnvironmentVariableTarget.cs
===================================================================
RCS file: runtime/System/EnvironmentVariableTarget.cs
diff -N runtime/System/EnvironmentVariableTarget.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/EnvironmentVariableTarget.cs 1 Feb 2009 15:41:02 -0000       
1.1
@@ -0,0 +1,41 @@
+/*
+ * EnvironmentVariableTarget.cs - Implementation of the
+ *                                                             
"System.EnvironmentVariableTarget" enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+using System.Runtime.InteropServices;
+
+[ComVisible(true)]
+public enum EnvironmentVariableTarget
+{
+
+       Process = 0,
+       User    = 1,
+       Machine = 2
+
+}; // enum EnvironmentVariableTarget
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System

Index: runtime/System/EventHandler_1.cs
===================================================================
RCS file: runtime/System/EventHandler_1.cs
diff -N runtime/System/EventHandler_1.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/EventHandler_1.cs    1 Feb 2009 15:41:02 -0000       1.1
@@ -0,0 +1,33 @@
+/*
+ * EventHandler_1.cs - Implementation of the
+ *                                                      "System.EventHandler" 
generic delegate.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+[Serializable]
+public delegate void EventHandler<TEventArgs>(Object sender, TEventArgs args)
+                                                       where TEventArgs : 
EventArgs;
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+}; // namespace System

Index: runtime/System/GCNotificationStatus.cs
===================================================================
RCS file: runtime/System/GCNotificationStatus.cs
diff -N runtime/System/GCNotificationStatus.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/GCNotificationStatus.cs      1 Feb 2009 15:41:02 -0000       
1.1
@@ -0,0 +1,40 @@
+/*
+ * GCNotificationStatus.cs - Implementation of the 
+ *                                                     
"System.GCNotificationStatus" enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+[Serializable]
+public enum GCNotificationStatus
+{
+       Succeeded               = 0,
+       Failed                  = 1,
+       Canceled                = 2,
+       Timeout                 = 3,
+       NotApplicable   = 4
+
+}; // enum GCNotificationStatus
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+}; // namespace System

Index: runtime/System/MidpointRounding.cs
===================================================================
RCS file: runtime/System/MidpointRounding.cs
diff -N runtime/System/MidpointRounding.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/MidpointRounding.cs  1 Feb 2009 15:41:02 -0000       1.1
@@ -0,0 +1,39 @@
+/*
+ * MidpointRounding.cs - Implementation of the 
+ *                                                     
"System.MidpointRounding" enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+using System.Runtime.InteropServices;
+
+[ComVisible(true)]
+public enum MidpointRounding
+{
+       ToEven                  = 0,
+       AwayFromZero    = 1
+
+}; // enum MidpointRounding
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System

Index: runtime/System/StringSplitOptions.cs
===================================================================
RCS file: runtime/System/StringSplitOptions.cs
diff -N runtime/System/StringSplitOptions.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/StringSplitOptions.cs        1 Feb 2009 15:41:03 -0000       
1.1
@@ -0,0 +1,41 @@
+/*
+ * StringSplitOptions.cs - Implementation of the
+ *                                                             
"System.StringSplitOptions" enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+using System.Runtime.InteropServices;
+
+[ComVisible(false)]
+[Flags]
+public enum StringSplitOptions
+{
+
+       None                            = 0,
+       RemoveEmptyEntries      = 1
+
+}; // enum StringSplitOptions
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System

Index: System/UriComponents.cs
===================================================================
RCS file: System/UriComponents.cs
diff -N System/UriComponents.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/UriComponents.cs     1 Feb 2009 15:41:03 -0000       1.1
@@ -0,0 +1,53 @@
+/*
+ * UriComponents.cs - Implementation of the
+ *                                                             
"System.UriComponents" enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+[Flags]
+public enum UriComponents
+{
+
+       Scheme                                  = 0x01,
+       UserInfo                                = 0x02,
+       Host                                    = 0x04,
+       Port                                    = 0x08,
+       SchemeAndServer                 = Scheme | Host | Port,
+       Path                                    = 0x10,
+       Query                                   = 0x20,
+       PathAndQuery                    = Path | Query,
+       HttpRequestUrl                  = Scheme | Host | Port | Path | Query,
+       Fragment                                = 0x40,
+       AbsoluteUri                             = Scheme | UserInfo | Host | 
Port | Path | Query |
+                                                         Fragment,
+       StrongPort                              = 0x80,
+       HostAndPort                             = StrongPort | Host,
+       StrongAuthority                 = StrongPort | Host | UserInfo,
+       KeepDelimiter                   = 0x40000000,
+       SerializationInfoString = 0x80000000
+
+}; // enum UriComponents
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+}; // namespace System

Index: System/UriFormat.cs
===================================================================
RCS file: System/UriFormat.cs
diff -N System/UriFormat.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/UriFormat.cs 1 Feb 2009 15:41:03 -0000       1.1
@@ -0,0 +1,38 @@
+/*
+ * UriFormat.cs - Implementation of the
+ *                                                             
"System.UriFormat" enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+public enum UriFormat
+{
+
+       UriEscaped              = 1,
+       Unescaped               = 2,
+       SafeUnescaped   = 3
+
+}; // enum UriFormat
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+}; // namespace System

Index: System/UriIdnScope.cs
===================================================================
RCS file: System/UriIdnScope.cs
diff -N System/UriIdnScope.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/UriIdnScope.cs       1 Feb 2009 15:41:03 -0000       1.1
@@ -0,0 +1,38 @@
+/*
+ * UriIdnScope.cs - Implementation of the
+ *                                                             
"System.UriIdnScope" enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+public enum UriIdnScope
+{
+
+       None                            = 0,
+       AllExceptIntranet       = 1,
+       All                                     = 2
+
+}; // enum UriIdnScope
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+}; // namespace System

Index: System/UriKind.cs
===================================================================
RCS file: System/UriKind.cs
diff -N System/UriKind.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/UriKind.cs   1 Feb 2009 15:41:03 -0000       1.1
@@ -0,0 +1,38 @@
+/*
+ * UriKind.cs - Implementation of the
+ *                                                             
"System.UriKind" enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+public enum UriKind
+{
+
+       RelativeOrAbsolute      = 0,
+       Absolute                        = 1,
+       Relative                        = 2
+
+}; // enum UriKind
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0
+
+}; // namespace System

Index: runtime/System/Comparision_1.cs
===================================================================
RCS file: runtime/System/Comparision_1.cs
diff -N runtime/System/Comparision_1.cs
--- runtime/System/Comparision_1.cs     3 Oct 2008 09:39:28 -0000       1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,30 +0,0 @@
-/*
- * Comparision_1.cs - Implementation of the "System.Comparision<T>" delegate.
- *
- * Copyright (C) 2007, 2008  Southern Storm Software, Pty Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- */
-
-namespace System
-{
-
-#if CONFIG_FRAMEWORK_2_0
-
-public delegate void Comparision<T>(T x, T y);
-
-#endif // CONFIG_FRAMEWORK_2_0
-
-}; // namespace System




reply via email to

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