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

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

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Text ASCIIEncoding.cs,


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Text ASCIIEncoding.cs, 1.6, 1.7 DefaultEncoding.cs, 1.3, 1.4 Encoding.cs, 1.17, 1.18 UTF7Encoding.cs, 1.6, 1.7 UTF8Encoding.cs, 1.9, 1.10 UnicodeEncoding.cs, 1.10, 1.11 ByteEncoding.cs, 1.1, NONE
Date: Tue, 12 Aug 2003 20:40:39 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Text
In directory subversions:/tmp/cvs-serv31756/runtime/System/Text

Modified Files:
        ASCIIEncoding.cs DefaultEncoding.cs Encoding.cs 
        UTF7Encoding.cs UTF8Encoding.cs UnicodeEncoding.cs 
Removed Files:
        ByteEncoding.cs 
Log Message:


Hide some Encoding properties that are needed, but shouldn't
be part of the public API.


Index: ASCIIEncoding.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Text/ASCIIEncoding.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ASCIIEncoding.cs    23 Apr 2003 22:23:00 -0000      1.6
--- ASCIIEncoding.cs    13 Aug 2003 00:40:37 -0000      1.7
***************
*** 305,309 ****
  
        // Get the mail body name for this encoding.
!       public override String BodyName
                        {
                                get
--- 305,309 ----
  
        // Get the mail body name for this encoding.
!       internal override String InternalBodyName
                        {
                                get
***************
*** 314,318 ****
  
        // Get the human-readable name for this encoding.
!       public override String EncodingName
                        {
                                get
--- 314,318 ----
  
        // Get the human-readable name for this encoding.
!       internal override String InternalEncodingName
                        {
                                get
***************
*** 323,327 ****
  
        // Get the mail agent header name for this encoding.
!       public override String HeaderName
                        {
                                get
--- 323,327 ----
  
        // Get the mail agent header name for this encoding.
!       internal override String InternalHeaderName
                        {
                                get
***************
*** 332,336 ****
  
        // Determine if this encoding can be displayed in a mail/news agent.
!       public override bool IsMailNewsDisplay
                        {
                                get
--- 332,336 ----
  
        // Determine if this encoding can be displayed in a mail/news agent.
!       internal override bool InternalIsMailNewsDisplay
                        {
                                get
***************
*** 341,345 ****
  
        // Determine if this encoding can be saved from a mail/news agent.
!       public override bool IsMailNewsSave
                        {
                                get
--- 341,345 ----
  
        // Determine if this encoding can be saved from a mail/news agent.
!       internal override bool InternalIsMailNewsSave
                        {
                                get
***************
*** 350,354 ****
  
        // Get the IANA-preferred Web name for this encoding.
!       public override String WebName
                        {
                                get
--- 350,354 ----
  
        // Get the IANA-preferred Web name for this encoding.
!       internal override String InternalWebName
                        {
                                get

Index: DefaultEncoding.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Text/DefaultEncoding.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** DefaultEncoding.cs  14 Apr 2002 11:28:44 -0000      1.3
--- DefaultEncoding.cs  13 Aug 2003 00:40:37 -0000      1.4
***************
*** 297,301 ****
        // Get the default code page number.  Zero if unknown.
        [MethodImpl(MethodImplOptions.InternalCall)]
!       extern internal static int InternalCodePage();
  
  }; // class DefaultEncoding
--- 297,301 ----
        // Get the default code page number.  Zero if unknown.
        [MethodImpl(MethodImplOptions.InternalCall)]
!       extern new internal static int InternalCodePage();
  
  }; // class DefaultEncoding

Index: Encoding.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Text/Encoding.cs,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** Encoding.cs 16 Apr 2003 03:17:55 -0000      1.17
--- Encoding.cs 13 Aug 2003 00:40:37 -0000      1.18
***************
*** 543,547 ****
                                get
                                {
!                                       return null;
                                }
                        }
--- 543,547 ----
                                get
                                {
!                                       return InternalBodyName;
                                }
                        }
***************
*** 552,556 ****
                                get
                                {
!                                       return codePage;
                                }
                        }
--- 552,556 ----
                                get
                                {
!                                       return InternalCodePage;
                                }
                        }
***************
*** 561,565 ****
                                get
                                {
!                                       return null;
                                }
                        }
--- 561,565 ----
                                get
                                {
!                                       return InternalEncodingName;
                                }
                        }
***************
*** 570,574 ****
                                get
                                {
!                                       return null;
                                }
                        }
--- 570,574 ----
                                get
                                {
!                                       return InternalHeaderName;
                                }
                        }
***************
*** 579,583 ****
                                get
                                {
!                                       return false;
                                }
                        }
--- 579,583 ----
                                get
                                {
!                                       return InternalIsBrowserDisplay;
                                }
                        }
***************
*** 588,592 ****
                                get
                                {
!                                       return false;
                                }
                        }
--- 588,592 ----
                                get
                                {
!                                       return InternalIsBrowserSave;
                                }
                        }
***************
*** 597,601 ****
                                get
                                {
!                                       return false;
                                }
                        }
--- 597,601 ----
                                get
                                {
!                                       return InternalIsMailNewsDisplay;
                                }
                        }
***************
*** 606,610 ****
                                get
                                {
!                                       return false;
                                }
                        }
--- 606,610 ----
                                get
                                {
!                                       return InternalIsMailNewsSave;
                                }
                        }
***************
*** 615,619 ****
                                get
                                {
!                                       return null;
                                }
                        }
--- 615,619 ----
                                get
                                {
!                                       return InternalWebName;
                                }
                        }
***************
*** 621,624 ****
--- 621,714 ----
        // Get the Windows code page represented by this object.
        public virtual int WindowsCodePage
+                       {
+                               get
+                               {
+                                       return InternalWindowsCodePage;
+                               }
+                       }
+ 
+       // Get the mail body name for this encoding.
+       internal virtual String InternalBodyName
+                       {
+                               get
+                               {
+                                       return null;
+                               }
+                       }
+ 
+       // Get the code page represented by this object.
+       internal virtual int InternalCodePage
+                       {
+                               get
+                               {
+                                       return codePage;
+                               }
+                       }
+ 
+       // Get the human-readable name for this encoding.
+       internal virtual String InternalEncodingName
+                       {
+                               get
+                               {
+                                       return null;
+                               }
+                       }
+ 
+       // Get the mail agent header name for this encoding.
+       internal virtual String InternalHeaderName
+                       {
+                               get
+                               {
+                                       return null;
+                               }
+                       }
+ 
+       // Determine if this encoding can be displayed in a Web browser.
+       internal virtual bool InternalIsBrowserDisplay
+                       {
+                               get
+                               {
+                                       return false;
+                               }
+                       }
+ 
+       // Determine if this encoding can be saved from a Web browser.
+       internal virtual bool InternalIsBrowserSave
+                       {
+                               get
+                               {
+                                       return false;
+                               }
+                       }
+ 
+       // Determine if this encoding can be displayed in a mail/news agent.
+       internal virtual bool InternalIsMailNewsDisplay
+                       {
+                               get
+                               {
+                                       return false;
+                               }
+                       }
+ 
+       // Determine if this encoding can be saved from a mail/news agent.
+       internal virtual bool InternalIsMailNewsSave
+                       {
+                               get
+                               {
+                                       return false;
+                               }
+                       }
+ 
+       // Get the IANA-preferred Web name for this encoding.
+       internal virtual String InternalWebName
+                       {
+                               get
+                               {
+                                       return null;
+                               }
+                       }
+ 
+       // Get the Windows code page represented by this object.
+       internal virtual int InternalWindowsCodePage
                        {
                                get

Index: UTF7Encoding.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Text/UTF7Encoding.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** UTF7Encoding.cs     24 Aug 2002 22:39:59 -0000      1.6
--- UTF7Encoding.cs     13 Aug 2003 00:40:37 -0000      1.7
***************
*** 672,676 ****
  
        // Get the mail body name for this encoding.
!       public override String BodyName
                        {
                                get
--- 672,676 ----
  
        // Get the mail body name for this encoding.
!       internal override String InternalBodyName
                        {
                                get
***************
*** 681,685 ****
  
        // Get the human-readable name for this encoding.
!       public override String EncodingName
                        {
                                get
--- 681,685 ----
  
        // Get the human-readable name for this encoding.
!       internal override String InternalEncodingName
                        {
                                get
***************
*** 690,694 ****
  
        // Get the mail agent header name for this encoding.
!       public override String HeaderName
                        {
                                get
--- 690,694 ----
  
        // Get the mail agent header name for this encoding.
!       internal override String InternalHeaderName
                        {
                                get
***************
*** 699,703 ****
  
        // Determine if this encoding can be displayed in a mail/news agent.
!       public override bool IsMailNewsDisplay
                        {
                                get
--- 699,703 ----
  
        // Determine if this encoding can be displayed in a mail/news agent.
!       internal override bool InternalIsMailNewsDisplay
                        {
                                get
***************
*** 708,712 ****
  
        // Determine if this encoding can be saved from a mail/news agent.
!       public override bool IsMailNewsSave
                        {
                                get
--- 708,712 ----
  
        // Determine if this encoding can be saved from a mail/news agent.
!       internal override bool InternalIsMailNewsSave
                        {
                                get
***************
*** 717,721 ****
  
        // Get the IANA-preferred Web name for this encoding.
!       public override String WebName
                        {
                                get
--- 717,721 ----
  
        // Get the IANA-preferred Web name for this encoding.
!       internal override String InternalWebName
                        {
                                get
***************
*** 726,730 ****
  
        // Get the Windows code page represented by this object.
!       public override int WindowsCodePage
                        {
                                get
--- 726,730 ----
  
        // Get the Windows code page represented by this object.
!       internal override int InternalWindowsCodePage
                        {
                                get

Index: UTF8Encoding.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Text/UTF8Encoding.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** UTF8Encoding.cs     29 Mar 2003 23:47:06 -0000      1.9
--- UTF8Encoding.cs     13 Aug 2003 00:40:37 -0000      1.10
***************
*** 860,864 ****
  
        // Get the mail body name for this encoding.
!       public override String BodyName
                        {
                                get
--- 860,864 ----
  
        // Get the mail body name for this encoding.
!       internal override String InternalBodyName
                        {
                                get
***************
*** 869,873 ****
  
        // Get the human-readable name for this encoding.
!       public override String EncodingName
                        {
                                get
--- 869,873 ----
  
        // Get the human-readable name for this encoding.
!       internal override String InternalEncodingName
                        {
                                get
***************
*** 878,882 ****
  
        // Get the mail agent header name for this encoding.
!       public override String HeaderName
                        {
                                get
--- 878,882 ----
  
        // Get the mail agent header name for this encoding.
!       internal override String InternalHeaderName
                        {
                                get
***************
*** 887,891 ****
  
        // Determine if this encoding can be displayed in a Web browser.
!       public override bool IsBrowserDisplay
                        {
                                get
--- 887,891 ----
  
        // Determine if this encoding can be displayed in a Web browser.
!       internal override bool InternalIsBrowserDisplay
                        {
                                get
***************
*** 896,900 ****
  
        // Determine if this encoding can be saved from a Web browser.
!       public override bool IsBrowserSave
                        {
                                get
--- 896,900 ----
  
        // Determine if this encoding can be saved from a Web browser.
!       internal override bool InternalIsBrowserSave
                        {
                                get
***************
*** 905,909 ****
  
        // Determine if this encoding can be displayed in a mail/news agent.
!       public override bool IsMailNewsDisplay
                        {
                                get
--- 905,909 ----
  
        // Determine if this encoding can be displayed in a mail/news agent.
!       internal override bool InternalIsMailNewsDisplay
                        {
                                get
***************
*** 914,918 ****
  
        // Determine if this encoding can be saved from a mail/news agent.
!       public override bool IsMailNewsSave
                        {
                                get
--- 914,918 ----
  
        // Determine if this encoding can be saved from a mail/news agent.
!       internal override bool InternalIsMailNewsSave
                        {
                                get
***************
*** 923,927 ****
  
        // Get the IANA-preferred Web name for this encoding.
!       public override String WebName
                        {
                                get
--- 923,927 ----
  
        // Get the IANA-preferred Web name for this encoding.
!       internal override String InternalWebName
                        {
                                get
***************
*** 932,936 ****
  
        // Get the Windows code page represented by this object.
!       public override int WindowsCodePage
                        {
                                get
--- 932,936 ----
  
        // Get the Windows code page represented by this object.
!       internal override int InternalWindowsCodePage
                        {
                                get

Index: UnicodeEncoding.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Text/UnicodeEncoding.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** UnicodeEncoding.cs  29 Mar 2003 23:47:06 -0000      1.10
--- UnicodeEncoding.cs  13 Aug 2003 00:40:37 -0000      1.11
***************
*** 397,401 ****
  
        // Get the mail body name for this encoding.
!       public override String BodyName
                        {
                                get
--- 397,401 ----
  
        // Get the mail body name for this encoding.
!       internal override String InternalBodyName
                        {
                                get
***************
*** 413,417 ****
  
        // Get the human-readable name for this encoding.
!       public override String EncodingName
                        {
                                get
--- 413,417 ----
  
        // Get the human-readable name for this encoding.
!       internal override String InternalEncodingName
                        {
                                get
***************
*** 429,433 ****
  
        // Get the mail agent header name for this encoding.
!       public override String HeaderName
                        {
                                get
--- 429,433 ----
  
        // Get the mail agent header name for this encoding.
!       internal override String InternalHeaderName
                        {
                                get
***************
*** 445,449 ****
  
        // Determine if this encoding can be saved from a Web browser.
!       public override bool IsBrowserSave
                        {
                                get
--- 445,449 ----
  
        // Determine if this encoding can be saved from a Web browser.
!       internal override bool InternalIsBrowserSave
                        {
                                get
***************
*** 454,458 ****
  
        // Get the IANA-preferred Web name for this encoding.
!       public override String WebName
                        {
                                get
--- 454,458 ----
  
        // Get the IANA-preferred Web name for this encoding.
!       internal override String InternalWebName
                        {
                                get
***************
*** 470,474 ****
  
        // Get the Windows code page represented by this object.
!       public override int WindowsCodePage
                        {
                                get
--- 470,474 ----
  
        // Get the Windows code page represented by this object.
!       internal override int InternalWindowsCodePage
                        {
                                get

--- ByteEncoding.cs DELETED ---





reply via email to

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