Another Random.cs compile fix.
[mono.git] / mcs / class / corlib / System / ChangeLog
1 2001-08-08  Bob Smith  <bob@thestuff.net>
2
3         * Random.cs: Many compile fixes.
4
5 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
6
7         * IntPtr.cs: Added and Completed implementation.
8
9         * Uri.cs: Add a note.
10
11 2001-08-06  Bob Smith  <bob@thestuff.net>
12
13         * Random.cs: Compile fix. Needs more testing.
14
15 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
16
17         * Uri.cs: Initial Implementation.  Parsing needs to be fixed to take 
18         into account IPv6 addresses, url encoding needs to be implemented, and 
19         various minor methods need to be written, but this is a decent start.
20
21 2001-08-06  Dietmar Maurer  <dietmar@ximian.com>
22
23         * common.src: added Object.cs
24
25         * mono.src: added ValueType.cs
26
27 2001-08-02  Dietmar Maurer  <dietmar@ximian.com>
28
29         * Math.cs: replaced libc with libm
30
31 2001-08-02  Bob Smith  <bob@thestuff.net>
32
33         * Random.cs: Implemented. Needs testing.
34
35 2001-08-02  Miguel de Icaza  <miguel@ximian.com>
36
37         * IServiceProvider.cs, EventHandler.cs: New files.
38
39 2001-08-02  Marcel Narings  <marcel@narings.nl>
40         
41         * DateTime.cs: Cleaned up a bit. Added the Add* family members.
42         Added exceptions. Added IConvertible. Still needs some platform 
43         dependend stuff, the Parse and ToString members
44
45 2001-08-01  Dietmar Maurer  <dietmar@ximian.com>
46
47         * Type.cs (GetTypeFromHandle): added placeholder 
48
49 2001-07-24  Derek Holden  <dholden@draper.com>
50
51         * Boolean.cs: Formatted to code style standard. Added GetTypeCode
52         which is really an IConvertible defined method.
53
54         * Byte.cs: Added a missing Parse method. Put in Parse and ToString
55         behavior, still need to do the main Parse and ToString.
56
57         * Char.cs: Added a bunch of missing ECMA methods. Commented a
58         specification discrepency. Still didn't any unicode stuff, though
59         every IsFoo(char c) method has an IsFoo(string, index)
60         counterpart, added wrappers for those.
61         
62         * Convert.cs: Fixed NaN/Inf checking and double/float
63         rounding. Added ToType for IConvertible classes
64
65         * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
66         IsNaN methods. Changed Inf/NaN internals.
67
68         * IConvertible.cs: Added comments for using
69         Convert.ToType. Changed return values to draft base values.
70
71         * Int16.cs: Added a missing Parse statement. Put in behavior for
72         overloaded ToString and Parse methods.
73
74         * Int32.cs: Added a missing Parse statement. Put in behavior for
75         overloaded ToString and Parse methods.
76
77         * Int64.cs: Added a missing Parse statement. Put in behavior for
78         overloaded ToString and Parse methods.
79         
80         * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
81         methods. Changed Inf/NaN internals.
82
83         * SByte.cs: Added a missing Parse method. Put in Parse and
84         ToString behavior, still need to do the main Parse and ToString.
85
86         * UInt16.cs: Added a missing Parse statement. Put in behavior for
87         overloaded ToString and Parse methods.
88
89         * UInt32.cs: Added a missing Parse statement. Put in behavior for
90         overloaded ToString and Parse methods.
91
92         * UInt64.cs: Added a missing Parse statement. Put in behavior for
93         overloaded ToString and Parse methods.
94         
95 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
96
97         * MulticastDelegate.cs: New File.
98
99         * Delegate.cs: New file.
100
101         * Enum.cs: New file.
102
103         * Attribute.cs: New file.
104
105         * Type.cs: New file.
106
107         * ParamArrayAttribute.cs: New file.
108
109         * RuntimeTypeHandle.cs: New file.
110
111         * MulticastDelegate.cs: Added.
112
113         * DateTime.cs: Added
114
115         * Delegate.cs: Added
116
117 2001-07-18  Michael Lambert <michaellambert@email.com>
118
119         * AttributeTargets.cs: Add.
120
121 2001-07-19  Jeffrey Stedfast  <fejj@ximian.com>
122
123         * Char.cs: Made ToUpper and ToLower public methods.
124
125         * String.cs: Lots and lots of compile fixes - just need to write
126         DateTime.cs and this should build completely now.
127
128 2001-07-19  Bob Smith (bob@thestuff.net)
129
130         * Math.cs: Implemented. 
131
132 2001-07-19  Miguel de Icaza  <miguel@ximian.com>
133
134         * String.cs: Removed tolower and toupper.
135
136         * Char.cs: Moved ToLower and ToUpper from string to here. 
137
138         * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
139         instead of comparing the value to Nan.
140
141 2001-07-19  Duco Fijma (duco@lorentz.xs4all.nl)
142
143         * TimeSpan.cs: New implementation.
144
145 2001-07-18  Scott Sanders <scott@stonecobra.com>
146
147          * UriFormatExcpetion.cs: Add - 85% complete
148
149 2001-07-17  Jeffrey Stedfast  <fejj@ximian.com>
150
151         * String.cs (IndexOf): Slight optimization that allows skipping
152         over a few chars here and there. This isn't as good as using my
153         Boyer-Moore implementation, however, Boyer-Moore is only really
154         good for long strings (I plan on making the code decide which
155         string search algorithm it should use on-the-fly at some point).
156         (LastIndexOf): Fix to work correctly.
157         (BoyerMoore): Took out some unneeded code and fixed an edge-case.
158
159 2001-07-16  Michael Lambert <michaellambert@email.com>
160
161         * EventArgs.cs: Add.
162         
163 2001-07-16  Miguel de Icaza  <miguel@ximian.com>
164
165         * Version.cs: Remove my buggy comment.
166
167 2001-07-15  Sean MacIsaac  <macisaac@ximian.com>
168
169         * String.cs: Spelling error of IComparable, object's
170         MemberwiseClone cannot be overridden.  Made indexer valid for now,
171         but not sure what to do about this in the long run.  Seems to be a
172         couple bugs in csc.exe having to do with multiple pointer defs in
173         the same statement, and returning subclasses of a class in the
174         return type of an interface function implementation.  Also moved
175         operators inside of class definition.
176
177 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
178
179         * String.cs: A tom of compile fixes, although we still don't compile.
180
181         * IConvertible.cs: The To*Int64() methods return *Int64's, not
182         *Int32's. Also, it's ToDateTime() not ToDateType().
183
184 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
185
186         * String.cs: Apparently I needed to at least write stubs for the
187         IConvertible interfaces. *sigh*
188
189 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
190
191         * String.cs: Many logic/other fixes and better usage of the
192         features of c#
193         (tolower): New convenience method to help condense code.
194         (toupper): Another new helper method.
195         (Compare): Use the new helper methods.
196         (ToLower): use tolower().
197         (ToUpper): use toupper().
198         (LastIndexOfAny): Implemented.
199         (BoyerMoore): New private helper method that implements a modified
200         version of the Boyer-Moore search algorithm. Noothing uses it yet
201         as I'm not 100% sure it even works properly with unicode strings
202         not to mention it uses a huge lookup-table :-)
203         (Split): Implemented.
204
205 2001-07-13  Jeffrey Stedfast  <fejj@ximian.com>
206
207         * TODO: Added things that need to be finished in System.String
208
209         * String.cs: New source file implementing the System.String class
210
211 2001-07-12  Sean MacIsaac  <macisaac@ximian.com>
212
213         * TypeCode.cs: UInt64 was UInt63.
214
215         * Object.cs: Fixed a numer of compiler errors.
216
217         * Array.cs: Fixed some compiler errors.
218
219         * IComparable.cs: Fixed some compiler errors.
220
221         * ICloneable.cs: Fixed some compiler errors.
222
223         * IConvertible.cs: Fixed some compiler errors.
224
225         * IFormattable.cs: Fixed a compiler error.
226
227         * IFormatProvider.cs: Fixed a compiler error.
228
229         * IDisposable.cs: Fixed a compiler error.
230
231         * IFormatProvider.cs: Added public accesability type to
232         IFormatProvider.
233
234         * Exception.cs: Added a using statement to remove compile time
235         error.
236
237         * ApplicationException.cs: Removed a ; that was causing a compiler
238         error.
239
240         * Int16.cs: Fixed some compiler errors.
241
242         * Int32.cs: Fixed some compiler errors.
243
244         * Int64.cs: Fixed some compiler errors.
245
246         * SystemException.cs: Fixed a compiler error.
247
248         * UInt16.cs: Fixed some compiler errors.
249
250         * UInt32.cs: Fixed some compiler errors.
251
252         * UInt64.cs: Fixed some compiler errors.
253
254         * Void.cs: Fixed a compiler error.      
255
256 2001-07-12  Joe Shaw  <joe@ximian.com>
257
258         * Array.cs: Fix backwards parameters to Array.SetValue()
259         throughout.
260         (BinarySearch): Fix backward logic surrounding whether to call
261         value.CompareTo or comparer.Compare.
262         (LastIndexOf): Stop being stupid. I am so not used to strongly
263         bounded arrays...
264         (Sort): Implement a quicksort.
265
266 2001-07-11  Joe Shaw  <joe@ximian.com>
267
268         * Array.cs: Change all instances of trying to access an array with
269         the index operator to calls to GetValue and SetValue, and add
270         InternalGetValue and InternalSetValue which are internal calls
271         into the runtime. Ew.
272
273 2001-07-10  Joe Shaw  <joe@ximian.com>
274
275         * Array.cs: Implemented everything but Sort().
276
277 2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>
278
279         * Object.cs (Object::Equals): Object variable name is `o'.
280
281 2001-07-06  Joe Shaw  <joe@ximian.com>
282
283         * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
284         Implement the IComparable and IFormattable interfaces. Fix a typo
285         (publig -> public)
286
287         * ApplicationException.cs, ArgumentException.cs,
288         ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
289         ArtithmeticException.cs, ArrayTypeMismatchException.cs,
290         DivideByZeroException.cs, DuplicateWaitObjectException.cs,
291         ExecutionEngineException.cs, FormatException.cs,
292         IndexOutOfRangeException.cs, InvalidCastException.cs,
293         InvalidOperationException.cs, InvalidProgramException.cs,
294         MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
295         NotSupportedException.cs, NullReferenceException.cs,
296         OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
297         StackOverflowException.cs, SystemException.cs,
298         TypeInitializationException.cs: Added all of the exceptions
299         specified by the language spec. Mmmm... bloat.
300
301 2001-07-06  Miguel de Icaza  <miguel@ximian.com>
302
303         * Int64.cs, Int32.cs: Put.  Parsing and ToString missing.  Should
304         do a generic routine all of these guys use.
305
306         * Int16.cs: identified missing methods.
307
308         * UInt16.cs, UInt32.cs, UInt64.cs: Add.
309
310 2001-06-26  Miguel de Icaza  <miguel@ximian.com>
311
312         * TypeCode.cs: Implement
313
314         * Void.cs: Implement.
315
316         * TODO: Add file to keep track of pending tasks.
317
318         * Object.cs, ValueType.cs: Implement.
319