2002-09-06 Miguel de Icaza <miguel@ximian.com>
[mono.git] / mcs / class / corlib / System.Text / ChangeLog
1 2002-09-06  Miguel de Icaza  <miguel@ximian.com>
2
3         * Encoding.cs (UTF8, Unicode): Create with a preamble, that is
4         what the Microsoft version does.
5
6         (UnixConsoleEncoding): New internal method, used to get the
7         encoding, in the future, this should pull the locale, map to
8         charset and then code page. 
9
10 Wed Sep 4 14:01:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
11
12         * Encoding.cs: use icall to get default codepage.
13         * DefaultEncoding.cs: remove useless class.
14
15 Mon Aug 26 16:44:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
16
17         * *.cs: change to conform to mono coding style.
18
19 2002-08-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
20
21         * ASCIIEncoding.cs:
22         * Decoder.cs:
23         * Encoder.cs:
24         * Encoding.cs:
25         * UTF7Encoding.cs:
26         * UTF8Encoding.cs:
27         * UnicodeEncoding.cs: added Serializable attribute.
28
29 2002-08-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
30
31         * StringBuilder.cs: improved performace by using String.InternalCopyTo
32         instead of using ToCharArray all over the place (more that 50% of
33         speed improvement when using Append).
34
35 Wed Aug 21 20:02:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
36
37         * *.cs: imported the code donated by Rhys Weatherley
38         <rweather@southern-storm.com.au>.
39
40 2002-08-18  Dick Porter  <dick@ximian.com>
41
42         * Encoding.cs: Make GetString() return a useful representation of
43         the bytes, rather than "System.Char[]"
44
45 2002-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
46
47         * StringBuilder.cs: added IndexerName to indexer.
48
49 2002-08-01  Jason Diamond <jason@injektilo.org>
50
51         * Encoding.cs: Use GetByteCount instead of GetMaxByteCount when
52         converting chars to bytes.
53
54 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
55
56         * StringBuilder.cs: updated comments. MaxCapacity always returns
57         Int32.MaxValue.
58
59 2002-06-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
60
61         * StringBuilder.cs: implemented AppendFormat methods using
62         String.Format. Thanks Paolo!
63
64         This makes xsp generate correct C# output in linux :-). I still need
65         to do more testing, though.
66
67 Mon Jun 3 12:58:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
68
69         * ASCIIEncoding.cs: fixed handling of 0 bytecount.
70
71 2002-05-19  Martin Baulig  <martin@gnome.org>
72
73         * Encoder.cs (IConvEncoder.GetByteCount, IConvEncoder.GetBytes):
74         Added exception handling.
75
76         * Decoder.cs (IConvDecoder.GetCharCount, IConvDecoder.GetChars):
77         Added exception handling.
78
79 2002/04/02  Nick Drochak <ndrochak@gol.com>
80
81         * StringBuilder.cs (Append): Removed obsolete overload.
82
83 2002-03-21  Mike Kestner  <mkestner@speakeasy.net>
84
85         * ASCIIEncoding.cs : Fix off by one error in Get(Char|Byte)Count.
86
87 Thu Mar 21 17:38:19 CET 2002 Paolo Molaro <lupus@ximian.com>
88
89         * StringBuilder.cs: no need to intern the string returned by ToString().
90
91 2002-03-17  Mike Kestner  <mkestner@speakeasy.net>
92
93         * ASCIIEncoding.cs: Implement all the overridden methods. No longer
94           dependent on iconv icalls.
95         * Encoding.cs: Fix count bugs in GetBytes and GetChars. Add virtual
96           to GetBytes.
97
98 Wed Mar 13 00:26:29 CET 2002 Paolo Molaro <lupus@ximian.com>
99
100         * StringBuilder.cs: make ToString() return a interned string, this
101         seems to be required to make switch on string work.
102
103 Fri Mar 8 17:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>
104
105         * StringBuilder.cs: make Append(char) do the smart thing.
106
107 2002-01-05  Ravi Pratap  <ravi@ximian.com>
108
109         * ASCIIEncoding.cs, Encoding.cs, UTF7Encoding.cs, 
110         UnicodeEncoding.cs: MonoTODO attribute marking.
111
112         * StringBuilder.cs : Ditto.
113         
114 Wed Nov 14 17:05:22 CET 2001 Paolo Molaro <lupus@ximian.com>
115
116         * Encoding.cs: renamed some fields.
117         * StringBuilder.cs: CLSCompliant updates.
118
119 2001-10-29  Nick Drochak  <ndrochak@gol.com>
120
121         * StringBuilder.cs: Throw exceptions when constructor paramter(s) are
122                 invalid. Just like MS does (as best as I can tell).
123
124         Tests for these exceptions are now added to the unit tests as well.
125
126 2001-10-25  Nick Drochak  <ndrochak@gol.com>
127
128         * StringBuilder.cs: Throw exception if they try to make a StringBuilder
129                 whose capacity is greater than the MaxCapacity.
130
131         I added some tests for the constructors and the above exception. More
132         coming soon.
133
134 2001-10-23  Nick Drochak  <ndrochak@gol.com>
135
136         * StringBuilder.cs: Refactored constructor code into just one
137         constructor. All the other construtors call it. Also supplied missing
138         constructors so the class has all those in the spec.
139
140         Added the MaxCapacity property as well, however this needs to be 
141         completed to return a value is related to the available system memory.
142
143 2001-10-07  Miguel de Icaza  <miguel@ximian.com>
144
145         * Encoding.cs, UTF8Encoding.cs, UTF7Encoding.cs, ASCIIEncoding.cs,
146         UnicodeEncoding.cs: Corrected API.
147
148         * UTF8Encoding.cs: Checked in changes from Rafael.
149
150 2001-08-28  Dietmar Maurer  <dietmar@ximian.com>
151
152         * UTF8Encoding.cs: impl. clumsy GetBytes
153
154 2001-07-16  Marcin Szczepanski <marcins@zipworld.com.au>
155
156         * StringBuilder.cs (Text): Fixed.
157
158         * StringBuilderTest.cs: Implement Test suite.
159
160 2001-07-12  Marcin Szczepanski <marcins@zipworld.com.au>
161
162         * StringBuilder.cs: Implemented.
163
164         The only methods left unimplemented are the AppendFormat( ... )
165         ones just because it's probably better to wait until some of the
166         Format related classes are implemented.  I've put that as a TODO
167         comment at the top and created the methods with a "nop" body.
168
169 2001-06-26  Sean MacIsaac  <macisaac@ximian.com>
170
171         * UnicodeEncoding.cs: Members added so that a clean compile is
172         possible.
173
174         * ASCIIEncoding.cs: Members added so that a clean compile is
175         possible.
176
177         * UTF7Encoding.cs: Members added so that a clean compile is
178         possible.
179
180         * UTF8Encoding.cs: Members added so that a clean compile is
181         possible.
182
183         * Encoding.cs: All public members included.  Most members
184         unimplemented.