* AttributeUseage.cs: Should define AttributeUsageAttribute.
[mono.git] / mcs / class / corlib / System / ChangeLog
1 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
2
3         * AttributeUseage.cs: Should define AttributeUsageAttribute.
4
5         * CLSCompliant.cs: Marked with AttributeUsage attribute.
6
7         * Decimal.cs: Fixed CLSCompliant attributes.
8
9         * Type.cs: changed _impl to internal (needs to be accessable by
10         subclasses).
11
12         (TypeHandle): Marked as abstract, implementation removed.
13
14         (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
15         GetMethod): Added stub implementations so NUnit would link against
16         corlib
17
18 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
19
20         * AppDomain.cs: use an internal constructor for AssemblyBuilder.
21
22 2001-11-05  Miguel de Icaza  <miguel@ximian.com>
23
24         * NonSerializedAttribute.cs: Add AttributeUsage rules for this
25         attribute. 
26
27 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
28
29         * String.cs: fix a couple of bugs.
30         * AppDomain.cs: use new AppBuilder constructor.
31         * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
32         NotImplementedException.cs, ObjectDisposedException.cs,
33         UnauthorizedAccessException.cs: add implementation.
34         * OverflowException.cs: fix class name.
35
36 2001-10-28  Jeffrey Stedfast  <fejj@ximian.com>
37
38         * String.cs: Don't use a terminating nil char for our internal
39         array.
40
41 2001-10-27  Miguel de Icaza  <miguel@ximian.com>
42
43         * Delegate.cs (Delegate.CombineImpl): Implement.
44         (Delegate.Combine): Implement.
45
46         * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
47
48         (MulticastDelegate.CombineImpl): This was not as trivial as I
49         thought. 
50
51         * ContextStaticAttribute.cs: Added AttributeUsage to
52         ContextStaticAttribute. 
53
54         * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
55
56 2001-10-15  Martin Weindel <martin.weindel@t-online.de>
57
58         * added Decimal.cs * added DecimalFormatter.cs (internal class
59         used from System.Decimal)
60
61 2001-10-11  Thomas Neidhart <tome@sbox.tugraz.at>
62
63         * Convert.cs: Added methods for Base64 transforming just used the
64           existing System.Security.Cryptography.ToBase64Transform, should
65           be changed to use a stand-alone class, e.g. Base64Encoder
66           
67 2001-10-10  Derek Holden  <dholden@draper.com>
68
69         * IntegerFormatter.cs: Added. Implements ToString for all the
70         integer data types for all the format types.
71
72         * Byte.cs: Using IntegerFormatter for ToString's.
73
74         * SByte.cs: Using IntegerFormatter for ToString's.
75
76         * Int16.cs: Using IntegerFormatter for ToString's.
77
78         * Int32.cs: Using IntegerFormatter for ToString's.
79
80         * Int64.cs: Using IntegerFormatter for ToString's.
81
82         * UInt16.cs: Using IntegerFormatter for ToString's.
83
84         * UInt32.cs: Using IntegerFormatter for ToString's.
85
86         * UInt64.cs: Using IntegerFormatter for ToString's.
87
88 2001-10-07  Miguel de Icaza  <miguel@ximian.com>
89
90         * Exception.cs: Implement bits of serialization.
91
92         * RuntimeFieldHandle.cs: Implement Serialization features.
93
94         * Type.cs: Implement TypeHandle property.
95
96 2001-09-28  Dick Porter  <dick@ximian.com>
97
98         * LocalDataStoreSlot.cs: Implemented
99
100 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
101
102         * String.cs: fix off-by-one error in Trim().
103
104 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
105
106         * Type.cs: added GetType () method.
107
108 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
109
110         * MissingMethodException.cs, MissingMemberException.cs,
111         MemberAccessException.cs: added.
112
113 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
114
115         * String.cs: don't access the string array out of bounds in
116         LastIndexOf.  * Type.cs: fix return type of the Assembly property.
117
118 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
119
120         * String.cs: make Intern and IsIntern internalcalls.
121
122 2001-09-13  Dick Porter  <dick@ximian.com>
123
124         * Type.cs: Added a stub for the IsValueType property.
125
126         * SystemException.cs (System): Added the other constructor, so
127         that System.Threading exceptions can inherit it.
128
129 2001-09-08  Jeffrey Stedfast  <fejj@ximian.com>
130
131         * String.cs (TrimStart): Don't keep looping through the trimchars
132         once we've found a match.
133         (TrimEnd): Same here.
134         (Trim): And finally here.
135
136 2001-09-07  Ravi Pratap  <ravi@ximian.com>
137
138         * Char.cs (IsLetterOrDigit): Implement.
139         (IsLower): Implement, but we need to be Unicode aware.
140         (IsNumber): Implement.
141         (IsPunctuation): Implement.
142         (IsWhiteSpace): Implement.
143         (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
144         (ToLower): Same here.
145
146 2001-09-04  Miguel de Icaza  <miguel@ximian.com>
147
148         * Object.cs: Shortcut, if (a == b) then return true.
149
150 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
151
152         * Delegate.cs: we need a pointer to the method thunk in
153         the delegate object.
154
155 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
156
157         * AsyncCallback.cs, common.src: add AsyncCallback delegate.
158
159 2001-09-06  Jeffrey Stedfast  <fejj@ximian.com>
160
161         * String.cs (System): Don't mix uint and int.
162
163 2001-09-04  Jeffrey Stedfast  <fejj@ximian.com>
164
165         * String.cs (BoyerMoore): Modified to not use pointers and to instead
166         use indexes.
167         (IndexOf): Use BoyerMoore.
168
169 2001-09-02  Miguel de Icaza  <miguel@ximian.com>
170
171         * All over: Use the autogenerated enumerations from the ECMA
172         documentation that Sergey wrote.
173         
174         * PlatformID.cs: Add Unix definition.
175
176         * OperatingSystem.cs: Use Unix instead of Linux here.
177
178         * MarshalByRefObject.cs: Mark class as [Serializable].
179
180 2001-08-28  Dietmar Maurer  <dietmar@ximian.com>
181
182         * Console.cs: impl. (write only)
183         implemented the stdin stuff
184
185         * Int32.cs: impl. real op_Equal
186
187 2001-08-24  Miguel de Icaza  <miguel@ximian.com>
188
189         * (common.src): Removed IAsyncResult as it is not on CVS yet.
190
191         * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
192         as it breaks the build.
193
194 2001-08-23  Michael Lambert <michaellambert@email.com>
195
196         * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData, 
197         added CLSCompliant attribute
198
199         * IAsyncResult.cs: Added
200
201         * common.src: Added IAsyncResult.cs
202
203 2001-08-23  Michael Lambert <michaellambert@email.com>
204
205         * UIntPtr.cs: Added
206
207         * common.src: Added UIntPtr.cs
208
209 2001-08-20  Dietmar Maurer  <dietmar@ximian.com>
210
211         * Attribute.cs: uncomment some code to make it compile again
212
213         * mono.src: removed duplicated Attribute.cs
214
215 2001-08-16  Nick Drochak <ndrochak@gol.com>
216
217         * Attribute.cs: implemented all methods except GetHashCode()
218
219         * common.src: added Attribute.cs so it would compile in
220
221 2001-08-10  Dietmar Maurer  <dietmar@ximian.com>
222
223         * Object.cs: changed MemberWiseClone to MemberwiseClone, and
224         marked it as InternalCall
225         
226         * common.src: removed UriFormatException.cs because the file is
227         not there.
228
229         * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
230         * Char.cs: replaced byte with char
231
232         * Array.cs: make it work with the mono interpreter
233
234 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
235
236         * Version.cs: Make the class sealed
237
238 2001-08-08  Bob Smith  <bob@thestuff.net>
239
240         * Random.cs: Many compile fixes.
241         * Random.cs: I read a bad spec. Class updated to match real spec.
242
243 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
244
245         * IntPtr.cs: Added and Completed implementation.
246
247         * Uri.cs: Add a note.
248
249 2001-08-06  Bob Smith  <bob@thestuff.net>
250
251         * Random.cs: Compile fix. Needs more testing.
252
253 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
254
255         * Uri.cs: Initial Implementation.  Parsing needs to be fixed to take 
256         into account IPv6 addresses, url encoding needs to be implemented, and 
257         various minor methods need to be written, but this is a decent start.
258
259 2001-08-06  Dietmar Maurer  <dietmar@ximian.com>
260
261         * common.src: added Object.cs
262
263         * mono.src: added ValueType.cs
264
265 2001-08-02  Dietmar Maurer  <dietmar@ximian.com>
266
267         * Math.cs: replaced libc with libm
268
269 2001-08-02  Bob Smith  <bob@thestuff.net>
270
271         * Random.cs: Implemented. Needs testing.
272
273 2001-08-02  Miguel de Icaza  <miguel@ximian.com>
274
275         * IServiceProvider.cs, EventHandler.cs: New files.
276
277 2001-08-02  Marcel Narings  <marcel@narings.nl>
278         
279         * DateTime.cs: Cleaned up a bit. Added the Add* family members.
280         Added exceptions. Added IConvertible. Still needs some platform 
281         dependend stuff, the Parse and ToString members
282
283 2001-08-01  Dietmar Maurer  <dietmar@ximian.com>
284
285         * Type.cs (GetTypeFromHandle): added placeholder 
286
287 2001-07-24  Derek Holden  <dholden@draper.com>
288
289         * Boolean.cs: Formatted to code style standard. Added GetTypeCode
290         which is really an IConvertible defined method.
291
292         * Byte.cs: Added a missing Parse method. Put in Parse and ToString
293         behavior, still need to do the main Parse and ToString.
294
295         * Char.cs: Added a bunch of missing ECMA methods. Commented a
296         specification discrepency. Still didn't any unicode stuff, though
297         every IsFoo(char c) method has an IsFoo(string, index)
298         counterpart, added wrappers for those.
299         
300         * Convert.cs: Fixed NaN/Inf checking and double/float
301         rounding. Added ToType for IConvertible classes
302
303         * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
304         IsNaN methods. Changed Inf/NaN internals.
305
306         * IConvertible.cs: Added comments for using
307         Convert.ToType. Changed return values to draft base values.
308
309         * Int16.cs: Added a missing Parse statement. Put in behavior for
310         overloaded ToString and Parse methods.
311
312         * Int32.cs: Added a missing Parse statement. Put in behavior for
313         overloaded ToString and Parse methods.
314
315         * Int64.cs: Added a missing Parse statement. Put in behavior for
316         overloaded ToString and Parse methods.
317         
318         * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
319         methods. Changed Inf/NaN internals.
320
321         * SByte.cs: Added a missing Parse method. Put in Parse and
322         ToString behavior, still need to do the main Parse and ToString.
323
324         * UInt16.cs: Added a missing Parse statement. Put in behavior for
325         overloaded ToString and Parse methods.
326
327         * UInt32.cs: Added a missing Parse statement. Put in behavior for
328         overloaded ToString and Parse methods.
329
330         * UInt64.cs: Added a missing Parse statement. Put in behavior for
331         overloaded ToString and Parse methods.
332         
333 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
334
335         * MulticastDelegate.cs: New File.
336
337         * Delegate.cs: New file.
338
339         * Enum.cs: New file.
340
341         * Attribute.cs: New file.
342
343         * Type.cs: New file.
344
345         * ParamArrayAttribute.cs: New file.
346
347         * RuntimeTypeHandle.cs: New file.
348
349         * MulticastDelegate.cs: Added.
350
351         * DateTime.cs: Added
352
353         * Delegate.cs: Added
354
355 2001-07-18  Michael Lambert <michaellambert@email.com>
356
357         * AttributeTargets.cs: Add.
358
359 2001-07-19  Jeffrey Stedfast  <fejj@ximian.com>
360
361         * Char.cs: Made ToUpper and ToLower public methods.
362
363         * String.cs: Lots and lots of compile fixes - just need to write
364         DateTime.cs and this should build completely now.
365
366 2001-07-19  Bob Smith (bob@thestuff.net)
367
368         * Math.cs: Implemented. 
369
370 2001-07-19  Miguel de Icaza  <miguel@ximian.com>
371
372         * String.cs: Removed tolower and toupper.
373
374         * Char.cs: Moved ToLower and ToUpper from string to here. 
375
376         * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
377         instead of comparing the value to Nan.
378
379 2001-07-19  Duco Fijma (duco@lorentz.xs4all.nl)
380
381         * TimeSpan.cs: New implementation.
382
383 2001-07-18  Scott Sanders <scott@stonecobra.com>
384
385          * UriFormatExcpetion.cs: Add - 85% complete
386
387 2001-07-17  Jeffrey Stedfast  <fejj@ximian.com>
388
389         * String.cs (IndexOf): Slight optimization that allows skipping
390         over a few chars here and there. This isn't as good as using my
391         Boyer-Moore implementation, however, Boyer-Moore is only really
392         good for long strings (I plan on making the code decide which
393         string search algorithm it should use on-the-fly at some point).
394         (LastIndexOf): Fix to work correctly.
395         (BoyerMoore): Took out some unneeded code and fixed an edge-case.
396
397 2001-07-16  Michael Lambert <michaellambert@email.com>
398
399         * EventArgs.cs: Add.
400         
401 2001-07-16  Miguel de Icaza  <miguel@ximian.com>
402
403         * Version.cs: Remove my buggy comment.
404
405 2001-07-15  Sean MacIsaac  <macisaac@ximian.com>
406
407         * String.cs: Spelling error of IComparable, object's
408         MemberwiseClone cannot be overridden.  Made indexer valid for now,
409         but not sure what to do about this in the long run.  Seems to be a
410         couple bugs in csc.exe having to do with multiple pointer defs in
411         the same statement, and returning subclasses of a class in the
412         return type of an interface function implementation.  Also moved
413         operators inside of class definition.
414
415 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
416
417         * String.cs: A tom of compile fixes, although we still don't compile.
418
419         * IConvertible.cs: The To*Int64() methods return *Int64's, not
420         *Int32's. Also, it's ToDateTime() not ToDateType().
421
422 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
423
424         * String.cs: Apparently I needed to at least write stubs for the
425         IConvertible interfaces. *sigh*
426
427 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
428
429         * String.cs: Many logic/other fixes and better usage of the
430         features of c#
431         (tolower): New convenience method to help condense code.
432         (toupper): Another new helper method.
433         (Compare): Use the new helper methods.
434         (ToLower): use tolower().
435         (ToUpper): use toupper().
436         (LastIndexOfAny): Implemented.
437         (BoyerMoore): New private helper method that implements a modified
438         version of the Boyer-Moore search algorithm. Noothing uses it yet
439         as I'm not 100% sure it even works properly with unicode strings
440         not to mention it uses a huge lookup-table :-)
441         (Split): Implemented.
442
443 2001-07-13  Jeffrey Stedfast  <fejj@ximian.com>
444
445         * TODO: Added things that need to be finished in System.String
446
447         * String.cs: New source file implementing the System.String class
448
449 2001-07-12  Sean MacIsaac  <macisaac@ximian.com>
450
451         * TypeCode.cs: UInt64 was UInt63.
452
453         * Object.cs: Fixed a numer of compiler errors.
454
455         * Array.cs: Fixed some compiler errors.
456
457         * IComparable.cs: Fixed some compiler errors.
458
459         * ICloneable.cs: Fixed some compiler errors.
460
461         * IConvertible.cs: Fixed some compiler errors.
462
463         * IFormattable.cs: Fixed a compiler error.
464
465         * IFormatProvider.cs: Fixed a compiler error.
466
467         * IDisposable.cs: Fixed a compiler error.
468
469         * IFormatProvider.cs: Added public accesability type to
470         IFormatProvider.
471
472         * Exception.cs: Added a using statement to remove compile time
473         error.
474
475         * ApplicationException.cs: Removed a ; that was causing a compiler
476         error.
477
478         * Int16.cs: Fixed some compiler errors.
479
480         * Int32.cs: Fixed some compiler errors.
481
482         * Int64.cs: Fixed some compiler errors.
483
484         * SystemException.cs: Fixed a compiler error.
485
486         * UInt16.cs: Fixed some compiler errors.
487
488         * UInt32.cs: Fixed some compiler errors.
489
490         * UInt64.cs: Fixed some compiler errors.
491
492         * Void.cs: Fixed a compiler error.      
493
494 2001-07-12  Joe Shaw  <joe@ximian.com>
495
496         * Array.cs: Fix backwards parameters to Array.SetValue()
497         throughout.
498         (BinarySearch): Fix backward logic surrounding whether to call
499         value.CompareTo or comparer.Compare.
500         (LastIndexOf): Stop being stupid. I am so not used to strongly
501         bounded arrays...
502         (Sort): Implement a quicksort.
503
504 2001-07-11  Joe Shaw  <joe@ximian.com>
505
506         * Array.cs: Change all instances of trying to access an array with
507         the index operator to calls to GetValue and SetValue, and add
508         InternalGetValue and InternalSetValue which are internal calls
509         into the runtime. Ew.
510
511 2001-07-10  Joe Shaw  <joe@ximian.com>
512
513         * Array.cs: Implemented everything but Sort().
514
515 2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>
516
517         * Object.cs (Object::Equals): Object variable name is `o'.
518
519 2001-07-06  Joe Shaw  <joe@ximian.com>
520
521         * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
522         Implement the IComparable and IFormattable interfaces. Fix a typo
523         (publig -> public)
524
525         * ApplicationException.cs, ArgumentException.cs,
526         ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
527         ArtithmeticException.cs, ArrayTypeMismatchException.cs,
528         DivideByZeroException.cs, DuplicateWaitObjectException.cs,
529         ExecutionEngineException.cs, FormatException.cs,
530         IndexOutOfRangeException.cs, InvalidCastException.cs,
531         InvalidOperationException.cs, InvalidProgramException.cs,
532         MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
533         NotSupportedException.cs, NullReferenceException.cs,
534         OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
535         StackOverflowException.cs, SystemException.cs,
536         TypeInitializationException.cs: Added all of the exceptions
537         specified by the language spec. Mmmm... bloat.
538
539 2001-07-06  Miguel de Icaza  <miguel@ximian.com>
540
541         * Int64.cs, Int32.cs: Put.  Parsing and ToString missing.  Should
542         do a generic routine all of these guys use.
543
544         * Int16.cs: identified missing methods.
545
546         * UInt16.cs, UInt32.cs, UInt64.cs: Add.
547
548 2001-06-26  Miguel de Icaza  <miguel@ximian.com>
549
550         * TypeCode.cs: Implement
551
552         * Void.cs: Implement.
553
554         * TODO: Add file to keep track of pending tasks.
555
556         * Object.cs, ValueType.cs: Implement.