2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / corlib / System / ChangeLog
1 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
4         been set. Just return null as MS. Fixes bug #58120.
5
6 2004-05-14  Marek Safar  <marek.safar@seznam.cz>
7
8         * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
9           Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
10           Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
11           String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
12           useless [CLSCompliant (false)]
13
14
15 2004-05-13  Sebastien Pouliot  <sebastien@ximian.com>
16
17         * __ComObject.cs: To please corcompare (no implementation).
18
19 2004-05-13  Zoltan Varga  <vargaz@freemail.hu>
20
21         * Environment.cs: Bump corlib version.
22
23 2004-05-13  Sebastien Pouliot  <sebastien@ximian.com>
24
25         * Environement.cs: Removed two security attributes for CurrentDirectory
26         that weren't documented (and anyway we don't support them).
27
28 2004-05-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
29
30         * Char.cs: Fix exceptions
31
32 2004-05-11  Lluis Sanchez Gual  <lluis@ximian.com>
33
34         * MissingMemberException.cs: Fix in serialization constructor.
35
36 2004-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
37
38         * Environment.cs: GetGacPath return value is resolved at runtime on
39         windows.
40
41 2004-05-07  Sebastien Pouliot  <sebastien@ximian.com>
42  
43         * Convert.cs: ToBase64CharArray method was depending on a bug in 
44         S.S.C.ToBase64Transform class to work. Added an internal method to 
45         provide the same functionality (multiple block processing).
46
47 2004-05-06  Jackson Harper  <jackson@ximian.com>
48
49         * Environment.cs: Make $HOME the personal directory.
50
51 2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>
52  
53         * Convert.cs: ToBase64String method was depending on a bug in 
54         S.S.C.ToBase64Transform class to work. Added an internal method to 
55         provide the same functionality (multiple block processing).
56
57 2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>
58  
59         * Environment.cs: Completed OSVersion property.
60         * Version.cs: Added internal CreateFromString() to "try" to build the
61         best version number form the specified string.
62  
63 2004-05-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
64
65         * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
66           Fixes several potential bugs and makes things way faster.
67
68 2004-05-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
69
70         * TimeSpan.cs: Formatting changes
71
72 2004-04-29 Ben Maurer  <bmaurer@users.sourceforge.net>
73
74         * Activator.cs: change _flags to a const.
75         * IntegerFormatter.cs: make tables readonly.
76         * Convert.cs: tables readonly
77         * DateTime.cs: ditto.
78         * IntPtr.cs: avoid a cctor.
79
80 2004-04-29  Jackson Harper  <jackson@ximian.com>
81
82         * MonoType.cs: 
83         * Type.cs: NET_2_0 now instead of 1_2. 
84         
85 2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
86
87         * Environment.cs: implemented GetLogicalDrives.
88
89 2004-04-28  Miguel de Icaza  <miguel@ximian.com>
90
91         * Applied patch from Atsushi Enomoto that allows Synchronized
92         writers to have a `dont close' flag, this fixes 52094
93
94 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
95
96         * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
97         return the method if it is private (it did until now because of a
98         bug). Make sure it works as it worked before the fix.
99         * Type.cs: Implemented FilterAttribute delegate.
100
101 2004-04-28  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
102
103         * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
104
105 2004-04-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
106
107         * IntegerFormatter.cs: Made functions internal (needed by other patches)
108
109 2004-04-27  Lluis Sanchez Gual  <lluis@ximian.com>
110
111         * DateTime.cs: TODO cleaning.
112         * Delegate.cs: GetObjectData should be virtual.
113         * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
114           30 methods almost identical.
115         * MulticastDelegate.cs: Implemented GetObjectData.
116         
117 2004-04-26  Jackson Harper  <jackson@ximian.com>
118
119         * Environment.cs: Things going bump in the night.
120
121 2004-04-25  Miguel de Icaza  <miguel@ximian.com>
122
123         * Convert.cs (toBase64Transform): Make private.
124
125 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
126
127         * Convert.cs:
128         * Decimal.cs:
129         * DecimalFormatter.cs:
130         * FloatingPointFormatter.cs: Call invariant Char functions
131         * Guid.cs: Call invariant Char and String functions
132         * String.cs: Call invariant Char functions
133
134 2004-04-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
135
136         * String.cs: Refactored the Invariant ToXXX into its own internal methods
137           so they are directly callable within corlib (can prevent early
138           construction of CultureInfo, InvariantCulture and related classes)
139
140 2004-04-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
141
142         * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
143         * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
144
145 2004-04-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
146
147         * String.cs: Check for null values
148
149 2004-04-23  Peter Bartok <pbartok@novell.com>
150
151         * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
152           will do a better fix in the future, but this way apps can at least use it.
153
154 2004-04-23  Sebastien Pouliot  <sebastien@ximian.com>
155
156         * Environment.cs: Better support for GetFolderPath (same results as MS 
157           on Windows).
158
159 2004-04-22  Lluis Sanchez Gual  <lluis@ximian.com>
160
161         * Activator.cs: Removed TODOs for finished methods.
162         * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
163           must be relative to the current directory, not the temp directory.
164           Implemented DynamicBase.
165         * Convert.cs: No need to create a ToBase64Transform instance at every call
166           to ToBase64CharArray.
167         * DateTime.cs: Implemented missing methods FromFileTimeUtc and 
168           ToFileTimeUtc.
169         * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
170         * Delegate.cs: Removed class TODO.
171         * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
172           methods.
173         * Type.cs: Removed TODOs for things already implemented.
174         
175 2004-04-21  Lluis Sanchez Gual  <lluis@ximian.com>
176
177         * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
178         * MulticastDelegate.cs: Removed unused code.
179
180 2004-04-19  Lluis Sanchez Gual  <lluis@ximian.com>
181
182         * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
183         * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
184         * BadImageFormatException.cs: TODO reformat.
185         * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
186         * DelegateSerializationHolder.cs: Made class internal.
187         * Enum.cs: Removed TODO for localization, since this is something that has
188           to be done for all classes.
189         * Environment.cs: Removed TODO.
190         * Exception.cs: Changed ToString to use StringBuilder.
191         * MonoDummy.cs: Made class internal.
192         * UnitySerializationHolder.cs: Added support for modules.
193
194 2004-04-16  David Sheldon <dave-mono@earth.li>
195
196         * DecimalFormatter.cs: Don't append a decimal point after the
197           end of a number. ((decimal)1).ToString("P0") should be "100 %", not
198           "100. %"
199
200 2004-04-09  Miguel de Icaza  <miguel@ximian.com>
201
202         * OutOfMemoryException.cs: Removed the call to Locale.GetText from
203           this.
204
205 2004-04-10  Gert Driesen (drieseng@users.sourceforge.net)
206
207         * MonoDummy.cs: added MonoTODO to make sure we remove this class
208           when its no longer needed
209
210 2004-04-09  David Sheldon <dave-mono@earth.li>
211
212         * Convert.cs: Allow + signs in strings for ToInt32, and
213           - if it is base 10.
214
215 2004-04-08  Atsushi Enomoto  <atsushi@ximian.com>
216
217         * Nullable.cs : usingdecl should also be conditional.
218
219 2004-04-07  Martin Baulig  <martin@ximian.com>
220
221         * Nullable.cs: New file.
222
223 2004-04-07  Martin Baulig  <martin@ximian.com>
224
225         * Type.cs (Type.GetGenericArguments): Make this abstract.
226
227 2004-04-07  Jackson Harper  <jackson@ximian.com>
228
229         * Environment.cs: Increase corlib version number.
230         
231 2004-04-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
232
233         * Environment.cs:
234         (ExpandEnvironmentVariables): on windows, env. vars. are case
235         insensitive.
236
237 2004-04-06  Sebastien Pouliot  <sebastien@ximian.com>
238
239         * AppDomain.cs: Added static to [ThreadStatic] _principal field. 
240         Removed [ThreadStatic] for _principalPolicy (not required).
241
242 2004-04-06  Miguel de Icaza  <miguel@ximian.com>
243
244         * Guid.cs: Flag as Sequential.
245
246 2004-04-02  Dick Porter  <dick@ximian.com>
247
248         * String.cs: More sanity checks in Replace().  Fixes bug 55822.
249
250 2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>
251
252         * Environment.cs: Implement ExpandEnvironmentVariables static method.
253         Now call the runtime to get the username (fix #56144).
254
255 2004-04-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
256
257         * MonoType.cs: AssemblyQualifiedName now displays culture, version...
258         Fixes bug #56341.
259
260 2004-03-29  Miguel de Icaza  <miguel@ximian.com>
261
262         * Console.cs: If we fail to open stdin/stdout/stderr, create
263         readers with a NullStream.  This can happen if our caller does not
264         setup stdin/stoud/stderr file handles.  #56158 exposed this, but
265         it will happen elsewhere.
266
267 2004-03-29  Lluis Sanchez Gual <lluis@ximian.com>
268
269         * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
270         and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
271         * Guid.cs: Added support for guid strings in the "N" and "P" formats in
272           the constructor. This fixes bug #54019.
273
274 2004-03-23  Lluis Sanchez Gual <lluis@ximian.com>
275
276         * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
277           internal variables to structures that are moved around methods.
278           Factorized some common formatting code into FormatNumberInternal.
279           
280 2004-03-23  Dick Porter  <dick@ximian.com>
281
282         * DateTime.cs: Allow any character for DateSeparator when parsing,
283         except TimeSeparator, a digit or a letter.  Fixes bug 54047.  Also
284         deleted the previous fix for 54721, because this covers it too.
285         
286 2004-03-23  Dick Porter  <dick@ximian.com>
287
288         * DateTime.cs: Check the date string for too many digits when
289         parsing.  Fixes bugs 53023 and 53025.
290
291 2004-03-22  Dick Porter  <dick@ximian.com>
292
293         * String.cs: Use the provider when converting strings to other
294         types.
295
296         * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
297         formats.  Fixes bug 54721.
298
299 2004-03-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
300
301         * Console.cs: Styled, optimized calls
302         * CrossAppDomainDelegate.cs: Small header fix
303         * Buffer.cs: Style, improve errors
304         * BitConverter.cs: Style, improve errors, remove obsolete comment
305         * Attribute.cs: Style, improve errors, small fix
306         * Array.cs: Style, improve errors, small fix, added TODOs
307         * Activator.cs: Style, localized errors, added error checks
308         * Byte.cs: Style, localized errors, fixed wrong exception parameters
309         * Char.cs: Style
310         * Boolean.cs: Style
311         * AppDomainSetup.cs: Style
312         * AppDomain.cs: Style, implemented two methods (redirect)
313
314 2004-03-21  Jackson Harper  <jackson@ximian.com>
315
316         * FloatingPointFormatter.cs: Set precision from number format info
317         when it is not specified. This fixes bug #54983.
318         
319 2004-03-18  Nick Drochak <ndrochak@ieee.org>
320
321         * Math.cs: Use IsNaN() method not "x == NaN".
322
323 2004-03-16  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
324
325         * EntryPointNotFoundException.cs
326         * DuplicateWaitObjectException.cs
327         * DllNotFoundException.cs
328         * DivideByZeroException.cs
329         * ContextMarshalException.cs
330         * CannotUnloadAppDomainException.cs
331         * BadImageFormatException.cs
332         * ArrayTypeMismatchException.cs
333         * ArithmeticException.cs
334         * ArgumentOutOfRangeException.cs
335         * ArgumentNullException.cs
336         * ArgumentException.cs
337         * ApplicationException.cs
338         * AppDomainUnloadedException.cs: Added missing HResult overrides
339
340         * BadImageFormatException.cs: Improved/ Fixed implementation
341
342 2004-03-15  Sebastien Pouliot  <sebastien@ximian.com>
343
344         * Random.cs: Corrected random value when Next is called with a 
345         negative value. Testing indictae that our results aren't exactly the 
346         same as MS, we have a +/- 1 (probably rounding errors due to 
347         different implementation).
348
349 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
350
351         * Environment.cs: updated corlib version.
352
353 2004-03-15  Lluis Sanchez Gual <lluis@ximian.com>
354
355         * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
356           SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
357           field "value" to "m_value", so it is interoperable with MS.NET when 
358           serializing and deserializing data. Based on the patch from Daniel
359           Keep.
360
361 2004-03-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
362
363         * TypeInitializationException.cs
364         * SystemException.cs
365         * StackOverflowException.cs
366         * RankException.cs
367         * OverflowExceptionException.cs
368         * OutOfMemoryException.cs
369         * NullReferenceException.cs
370         * NotSupportedException.cs
371         * NotFiniteNumberException.cs
372         * InvalidOperationException.cs
373         * InvalidCastException.cs
374         * IndexOutOfRangeException.cs
375         * FormatException.cs
376         * ExecutionEngineException.cs: improved parameter names
377
378 2004-03-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
379
380         * Enum.cs
381         * EntryPointNotFoundException.cs
382         * DuplicateWaitObjectException.cs
383         * DoubleFormatter.cs
384         * DllNotFoundException.cs
385         * DivideByZeroException.cs
386         * DelegateSerializationHolder.cs
387         * Delegate.cs
388         * DBNull.cs
389         * ContextStaticAttribute.cs
390         * ContextMarshalException.cs
391         * ContextBoundObject.cs
392         * CLSCompliantAttribute.cs
393         * CharEnumerator.cs
394         * CannotUnloadAppDomainException.cs
395         * BadImageFormatException.cs
396         * AttributeUsageAttribute.cs
397         * AttributeTargets.cs
398         * AsyncCallback.cs
399         * AssemblyLoadEventHandler.cs
400         * AssemblyLoadEventArgs.cs
401         * ArrayTypeMismatchException.cs
402         * ArithmeticException.cs
403         * ArgumentOutOfRangeException.cs
404         * ArgumentNullException.cs
405         * ArgumentException.cs
406         * ArgIterator.cs
407         * ApplicationException.cs
408         * AppDomainUnloadedException.cs
409         * AppDomain.cs: Mono styled, fixed exceptions/ locales
410           removed excess usings
411
412 2004-03-10  Sebastien Pouliot  <sebastien@ximian.com>
413
414         * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
415         spaces) which fixed #54939. Changed the way that the length is 
416         validated (multiple of 4) because the ignored characters must not be
417         included in the count.
418
419 2004-03-10  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
420
421         * String.cs: Monostyled
422
423 2004-03-09  Jackson Harper  <jackson@ximian.com>
424
425         * Char.cs: Only use a byte for numeric data.
426         
427 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
428
429         * TypedReference.cs: Added missing Attributes
430         * ParamArrayAttribute.cs: Small style fix
431         * OperatingSystem.cs: Added .Net 1.1 member
432
433 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
434
435         * FieldAccessException.cs
436         * FormatException.cs
437         * InvalidCastException.cs
438         * InvalidOperationException.cs
439         * MemberAccessException.cs
440         * MethodAccessException.cs
441         * MissingFieldException.cs: Locale strings
442         * MissingMemberException.cs: Locale strings
443         * MissingMethodException.cs: Locale strings
444         * NotFiniteNumberException.cs
445         * NotImplementedException.cs
446         * NotSupportedException.cs
447         * NullReferenceException.cs
448         * ObjectDisposedException.cs
449         * OutOfMemoryException.cs
450         * OverflowExceptionException.cs
451         * PlatformNotSupportedException.cs
452         * RankException.cs: Added missing HResult overrides
453
454 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
455
456         * RuntimeTypeHandle.cs
457         * RuntimeMethodHandle.cs
458         * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
459
460 2004-03-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
461
462         * EventArgs.cs
463         * Exception.cs
464         * ExecutionEngineException.cs
465         * FieldAccessException.cs
466         * FormatException.cs
467         * GC.cs
468         * Guid.cs
469         * IndexOutOfRangeException.cs
470         * IntPtr.cs
471         * InvalidCastException.cs
472         * InvalidOperationException.cs
473         * InvalidProgramException.cs
474         * IServiceProvider.cs
475         * LoaderOptimization.cs
476         * LoaderOptimizationAttribute.cs
477         * MarshalByRefObject.cs
478         * Math.cs
479         * MemberAccessException.cs
480         * MethodAccessException.cs
481         * MissingFieldException.cs
482         * MissingMemberException.cs
483         * MissingMethodException.cs
484         * MultiCastDelegate.cs
485         * MulticastNotSupportedException.cs
486         * NonSerializedAttribute.cs
487         * NotFiniteNumberException.cs
488         * NotImplementedException.cs
489         * NotSupportedException.cs
490         * NullReferenceException.cs
491         * ObjectDisposedException.cs
492         * ObsoleteAttribute.cs
493         * OperatingSystem.cs
494         * OutOfMemoryException.cs
495         * OverflowExceptionException.cs
496         * PlatformID.cs
497         * PlatformNotSupportedException.cs
498         * Random.cs
499         * RankException.cs
500         * ResolveEventArgs.cs
501         * ResolveEventHandler.cs
502         * RuntimeFieldHandle.cs
503         * RuntimeMethodHandle.cs
504         * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
505           removed excess usings
506
507 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
508
509         * SystemException.cs: Exceptions set the HResult
510         * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
511         * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
512
513 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
514
515         * TypedReference.cs
516         * TypeLoadException.cs
517         * TypeInitializationException.cs
518         * TypeCode.cs
519         * TimeZone.cs
520         * ThreadStaticAttribute.cs
521         * SystemException.cs
522         * STAThreadAttribute.cs
523         * StackOverflowException.cs
524         * SingleFormatter.cs
525         * Single.cs
526         * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
527           removed excess usings
528
529 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
530
531         * UnauthorizedAccessException.cs: Exceptions set the HResult
532         * UInt64.cs: Implemented two missing methods
533         * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
534         * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
535
536 2004-03-08  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
537
538         * WeakReference.cs
539         * Void.cs
540         * Version.cs
541         * ValueType.cs
542         * UnitySerializationHolder.cs
543         * UnhandledExceptionEventHandler.cs
544         * UnauthorizedAccessException.cs
545         * UIntPtr.cs
546         * UInt64.cs
547         * UInt32.cs
548         * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
549
550 2004-03-04  Lluis Sanchez Gual <lluis@ximian.com>
551
552         * Environment.cs: Bump corlib version.
553
554 2004-03-04  Jackson Harper  <jackson@ximian.com>
555
556         * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
557         
558 2004-02-27  Lluis Sanchez Gual <lluis@ximian.com>
559
560         * String.cs: Concat() fixed crash when one of the arguments is an object
561           whose ToString() method returns null.
562         * TypeLoadException.cs: Added some serialization fiels, needed for
563           compatibility with MS.NET.
564
565 2004-02-23 Ben Maurer  <bmaurer@users.sourceforge.net>
566
567         * String.cs (Equals): Speed up this method by avoiding Array
568          Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
569
570         This gives between 0x (for 1 char) and >2x (for large strings)
571         factor of improvement.
572
573         A big thanks to Miguel, who suggested the integer compares.
574
575 2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
576
577         * MonoType.cs: use the binder in GetPropertyImpl.
578
579 2004-02-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
580
581         * Math.cs: MonoStyled, replaced space with tabs,
582           speedup of some methods by avoiding method calls
583
584 2004-02-18  Atsushi Enomoto  <atsushi@ximian.com>
585
586         * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
587           (Moved from InternalCall to Managed code).
588
589 2004-02-17  Martin Baulig  <martin@ximian.com>
590
591         * MonoType.cs (GetConstructors): Renamed the interncall to
592         GetConstructors_internal(), made it internal and added a `Type
593         reflected_type' argument to it.
594         (GetEvents, GetFields): Likewise.
595         (GetMethodsByName): Added `Type reflected_type' argument.
596         (GetPropertiesByName): Likewise.
597
598 2004-02-16  Jackson Harper  <jackson@ximian.com>
599
600         * FloatingPointFormater.cs: Allow precision to be up to the number
601         of decimals without rounding.
602         
603 2004-02-14  Zoltan Varga  <vargaz@freemail.hu>
604
605         * Delegate.cs (Equals): Do not compare method_ptr, since it might
606         point to a trampoline.
607
608 2004-02-12  Jackson Harper  <jackson@ximian.com>
609
610         * AppDomainSetup.cs: If relative paths are used they should be
611         rooted in the temp directory.
612         
613 2004-02-11  Marek Safar  <marek.safar@seznam.cz>
614
615         * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
616
617 2004-02-10  Zoltan Varga  <vargaz@freemail.hu>
618
619         * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
620         avoid an assert in the runtime.
621
622 2004-02-08  Duncan Mak  <duncan@ximian.com>
623
624         * Convert.cs (ToType): Always let a Convert.ChangeType call
625         succeed if the source object is already of the destination type.
626
627         Patch by Ian MacLean (ianm@activestate.com).
628
629 2004-02-05  Sebastien Pouliot  <sebastien@ximian.com>
630
631         * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
632
633 2004-02-02  Zoltan Varga  <vargaz@freemail.hu>
634
635         * Environment.cs: Bump corlib version.
636
637 2004-02-02  Sebastien Pouliot  <sebastien@ximian.ca>
638
639         * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
640         fix bug #53461.
641
642 2004-01-27  Sebastien Pouliot  <spouliot@videotron.ca>
643
644         * Exception.cs: Changed ToString to remove the \n when no stack trace
645         is present (which fixed a unit test for SecurityException). Changed
646         all \n to Environment.NewLine.
647
648 2004-01-27  Lluis Sanchez Gual <lluis@ximian.com>
649
650         * ContextBoundObject.cs: Removed TODO.
651
652 2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
653
654         * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
655         (double), which might round up.
656
657 2004-01-19  Jackson Harper <jackson@ximian.com>
658
659         * FloatingPointFormatter.cs: Use the default decimal digits count
660         if they are not specified. This fixes bug #52927.
661         
662 2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
663
664         * Environment.cs: Bump version number.
665
666 2004-01-19  Lluis Sanchez Gual  <lluis@ximian.com>
667
668         * Type.cs: Added internal call for IsInstanceOfType. The old implementation
669         uses IsAssignableFrom(o.GetType()), which is not always valid for 
670         transparent proxies (because GetType will not return the type of the remote
671         object if its assembly is not present).
672
673 2004-01-18  David Sheldon <dave-mono@earth.li>
674
675   * FloatingPointFormatter.cs: Skip the decimal point if we have an 
676     integer mantassa. So: 1E+15, rather than 1.E+15.
677
678 2004-01-18  David Sheldon <dave-mono@earth.li>
679
680         * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1, 
681         even though docs say it should be an ArgumentNull. Two test cases now
682   pass. See also nickd's commit of 2003-12-24.
683
684 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
685
686         * Environment.cs: increased corlib version.
687
688 2004-01-14  Lluis Sanchez Gual <lluis@ximian.com>
689
690         * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
691         be reused because they could be modified. This fixes bug #52655.
692
693 2004-01-12  Patrik Torstensson
694
695         * Environment.cs: Bump corlib version number due to new StringBuilder
696         
697         * String.cs: New internal method to support the new StringBuilder that
698         uses the string as a buffer (until ToString is called)
699
700 2004-01-12  Zoltan Varga  <vargaz@freemail.hu>
701
702         * Environment.cs: Bump corlib version number for real this time.
703         
704         * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
705         the runtime, so it can take into account the Culture etc.
706
707         * Environment.cs: Bump corlib version number.
708         
709 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
710
711         * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
712         new parameter with the method name and a boolean for ignoring case.
713         Removed some string comparisons no longer needed.
714
715 2004-01-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
716
717         * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
718         new parameter with the property name and a boolean for ignoring case.
719         Fixes bug #52753.
720
721 2004-01-11  David Sheldon <dave-mono@earth.li>
722
723         * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
724         bug 52274.
725
726 2004-01-10  Zoltan Varga  <vargaz@freemail.hu>
727
728         * AppDomain.cs: Keep track of type resolve and assembly resolve 
729         events in progress to prevent infinite recursion.
730
731 2004-01-06  Miguel de Icaza  <miguel@ximian.com>
732
733         * Console.cs: Test for UTF-8 being present anywhere on the
734         string, also do ToUpper instead of ToLower, which will work even
735         around the ICU bug with different locales (#52065), and addresses #52101
736
737 2004-01-05  Zoltan Varga  <vargaz@freemail.hu>
738
739         * Environment.cs: Bump version.
740
741 2003-12-24 Ben Maurer  <bmaurer@users.sourceforge.net>
742
743         * Type.cs (IsNotPublic): One would normally assume that
744         IsNotPublic == !IsPublic, but this is not the case (note to MS,
745         make better names ;-). Fixes #52547, `Type.IsNotPublic not 
746         correct for Nested types'
747
748 2003-12-24  Nick Drochak  <ndrochak@ieee.org>
749
750         * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1, 
751         even though docs say it should be an ArgumentNull. Sent email to MS
752         about this "bug".
753
754 2003-12-23  Lluis Sanchez Gual  <lluis@ximian.com>
755
756         * Exception.cs: Several changes to make it compatible with MS.NET (needed
757         for remoting interoperability): set a default value for hresult, added 
758         initialization of class_name, serialization field RemoteStackTrace must
759         be RemoteStackTraceString, added ser. field ExceptionMethod.
760
761         * IndexOutOfRangeException.cs: Added serialization constructor.
762
763 2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>
764
765         * Int32 (Parse):
766           Int64 (Parse): Fix overflow checking for AllowHexSpecifier
767
768 2003-12-20  Zoltan Varga  <vargaz@freemail.hu>
769
770         * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
771         user supplied no parameter info, but not when the user supplied an
772         empty parameter list. This fixes IKVM.
773
774         * Environment.cs: Bump corlib version.
775
776 2003-12-19  Dick Porter  <dick@ximian.com>
777
778         * String.cs: Added Compare shortcut for length==0.
779
780 2003-12-17  Zoltan Varga  <vargaz@freemail.hu>
781
782         * Environment.cs: Bump corlib version.
783
784 2003-12-17  Dick Porter  <dick@ximian.com>
785
786         * String.cs: Fix StartsWith and EndsWith when the argument is the
787         empty string.  Fixes bug 52283.
788
789 2003-12-16  Zoltan Varga  <vargaz@freemail.hu>
790
791         * Environment.cs (HasShutdownStarted): Implement.
792
793 2003-12-15  Zoltan Varga  <vargaz@freemail.hu>
794
795         * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
796         
797         * Environment.cs: Bump version number.
798
799 2003-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
800
801         * DateTime.cs: don't bail out with that year out of range error on
802         stuff like "MM/dd/yyyy HH:MM:ss".
803
804 2003-12-13  Zoltan Varga  <vargaz@freemail.hu>
805
806         * Environment.cs: Make it a const instead.
807         
808         * Environment.cs: Make version field static.
809
810 2003-12-10  Zoltan Varga  <vargaz@freemail.hu>
811
812         * Type.cs: Make DefaultBindingFlags protected.
813
814         * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
815         Add new GacPath property + its associated icall.
816
817 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
818
819         * DateTime.cs : Bugs fixed (41845, 51422)
820         * MonoType.cs : Exception message changed 
821
822 2003-12-08  Martin Baulig  <martin@ximian.com>
823
824         * Type.cs (MakeByRefType): New public method.
825
826 2003-12-08  Zoltan Varga  <vargaz@freemail.hu>
827
828         * Environment.cs: Add a version number for the corlib-runtime interface
829         to make it easier to diagnose problems resulting from a mismatch 
830         between the two.
831
832 2003-12-08  Patrik Torstensson   <p@rxc.se>
833
834         * Type.cs (GetMethod): Check type arguments within array
835         * MonoType.cs (GetMethodImpl): Handle methods with a new slot
836         (same signature but different classes (derived level)
837
838 2003-12-07  Zoltan Varga  <vargaz@freemail.hu>
839
840         * Type.cs (MakeArrayType): Add argument checking.
841
842 2003-12-06  Dick Porter  <dick@ximian.com>
843
844         * String.cs: Don't use CompareInfo for non-culture-sensitive
845         IndexOf and LastIndexOf methods.
846
847 2003-12-06  Ravindra  <rkumar@novell.com>
848
849         * DateTime.cs: Made Parse(string, IFormatProvider) method to
850         use second argument. Fixed bug #51464.
851
852 2003-12-04  Martin Baulig  <martin@ximian.com>
853
854         * Type.cs (Type.MakeArrayType): New public method.
855
856 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
857
858         * Buffer.cs:
859         (BlockCopy): make the exception thrown helpful.
860
861 2003-12-03  Dick Porter  <dick@ximian.com>
862
863         * String.cs: Calling Replace on an empty string returns itself.
864
865 2003-12-03  Zoltan Varga  <vargaz@freemail.hu>
866
867         * MonoType.cs: Get rid of get_type_info, use a separate icall for
868         each property instead.
869
870 2003-12-02  Dick Porter  <dick@ximian.com>
871
872         * Decimal.cs: Fix NumberFormatInfo lookup.  Patch by
873         Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
874
875 2003-12-01  Dick Porter  <dick@ximian.com>
876
877         * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
878         Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
879
880 2003-11-28  Dick Porter  <dick@ximian.com>
881
882         * Type.cs: 
883         * MonoType.cs: 
884         * Enum.cs: 
885         * Boolean.cs: Do string compares with the Invariant culture.
886
887 2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>
888
889         * Array.cs: make the enumerator ICloneable
890
891 2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>
892
893         * Decimal.cs (ToXXX): Call Convert.ToXXX.
894
895 2003-11-26  Zoltan Varga  <vargaz@freemail.hu>
896
897         * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev). 
898         Implement Load(byte[]) methods.
899
900         * BadImageFormatException.cs: Fix ToString.
901
902 2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
903
904         * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
905         GetConstructor, as done by MS.
906
907 2003-11-19  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
908
909         * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
910
911 2003-11-18  Lluis Sanchez Gual  <lluis@ximian.com>
912
913         * TypeInitializationException.cs: Added missing serialization constructor.
914
915 2003-11-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
916
917         * AppDomainSetup.cs: Don't add an extra '/' at the end of 
918         ApplicationBase. The tests pass now with mono.
919
920 2003-11-18  Zoltan Varga  <vargaz@freemail.hu>
921
922         * ValueType.cs: New optimized implementation for Equals and GetHashCode.
923
924 2003-11-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
925
926         * Environment.cs: use Directory in CurrentDirectory property.
927         We were not throwing any exception when setting the directory to an
928         invalid path.
929
930 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
931
932         * Array.cs:
933         * Delegate.cs: implemented 1.1 stuff.
934
935         * Enum.cs:
936         * IntPtr.cs: removed extra attribute.
937         * PlatformID.cs: added WinCE.
938
939 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
940
941         * ValueType.cs:
942         (Equals): compare the fields of structs too.
943         (GetHashCode): combine the hash code of all the fields.
944         Fixes bug #50901 (will remove the icall in a couple of days).
945
946 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
947
948         * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
949
950 2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
951
952         * DateTime.cs: handle century when we try to parse 4-digit years and
953         only 2 digits are present. Fixes bug #49394.
954
955 2003-11-13  Miguel de Icaza  <miguel@ximian.com>
956
957         * Console.cs: On utf-8 consoles, use unmarked output.
958
959 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
960
961         * IAppDomainSetup.cs:
962         * _AppDomain.cs: 
963         * Object.cs:
964         * Type.cs: Added missing attribute
965
966 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
967
968         * Environment.cs: Added internal method for getting the path to 
969         machine.config.
970         
971 2003-11-12 Jackson Harper <jackson@ximian.com>
972
973         * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
974         enum. This fixes the SWF build.
975         
976 2003-11-12  Miguel de Icaza  <miguel@ximian.com>
977
978         * PlatformID.cs: Remove Unix platform, we cant expose constants
979         that are not in the framework.
980
981         * OperatingSystem.cs: Adjust for the breakage.
982
983         * RuntimeMethodHandle.cs: Fix signature.
984
985         * Double.cs: Fix signature of TryParse.
986
987         * String.cs (Concat (object, object, object, object)): Add missing method.
988
989         * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
990         in the .NET Framework.
991
992         * Enum.cs: Hide constructor.  
993
994         Fix ToUint16 to be explicitly implemented.
995
996         * Console.cs: Add couple of extra missing methods (Write and
997         WriteLine overloaded)
998
999 2003-11-11  Miguel de Icaza  <miguel@ximian.com>
1000
1001         * AppDomain.cs, Activator.cs: New unimplmented entry points from
1002         1.1 (Com activation related).
1003         
1004         * Exception.cs: Formatting.
1005         
1006         * IServiceProvider.cs: Add ComVisible (true).
1007
1008         * AppDomainSetup.cs: Add a couple more properties from .NET 1.1 
1009
1010 2003-11-03  Lluis Sanchez Gual <lluis@ximian.com>
1011
1012         * AppDomain.cs: Added some null checks in Load methods. This fixes bug
1013           #50356.
1014
1015 2003-11-01  Zoltan Varga  <vargaz@freemail.hu>
1016
1017         * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
1018         on MonoMethod instead of Invoke.
1019
1020 2003-11-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
1021
1022         * DateTime.cs: Fixed Add* methods handling. Now it works properly
1023         with extreme values (there is a bug with Overflow and Underflow in
1024         long type).
1025
1026 2003-10-31  Pedro Martínez Juliá  <yoros@wanadoo.es>
1027
1028         * DateTime.cs: Fixed a few format bugs.
1029
1030 2003-10-31  Zoltan Varga  <vargaz@freemail.hu>
1031
1032         * AppDomain.cs (InternalPushDomainRef): New icalls.
1033
1034         * AppDomain.cs (InvokeInDomain): New method to execute code in a 
1035         different appdomain.
1036
1037 2003-10-27  Zoltan Varga  <vargaz@freemail.hu>
1038
1039         * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
1040
1041 2003-10-25  Zoltan Varga  <vargaz@freemail.hu>
1042
1043         * AppDomain.cs (IsFinalizingForUnload): Implement.
1044
1045         * AppDomain.cs (Unload): Move the notification of OnUnload listeners
1046         to unmanaged code.
1047
1048 2003-10-25  Martin Baulig  <martin@ximian.com>
1049
1050         * MonoType.cs: Don't make this sealed.
1051
1052 2003-10-24  Zoltan Varga  <vargaz@freemail.hu>
1053
1054         * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
1055
1056 2003-10-24  Pedro Martínez Juliá  <yoros@wanadoo.es>
1057
1058         * DateTime.cs: When handling '-' as a date separator, MS.NET uses
1059         the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
1060
1061 2003-10-22  Dick Porter  <dick@ximian.com>
1062
1063         * DateTime.cs: Handle '-' as a date separator when parsing formats.
1064
1065 2003-10-20  Duncan Mak  <duncan@ximian.com>
1066
1067         * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
1068         and merge the two iterations into one.
1069
1070 2003-10-15  Zoltan Varga  <vargaz@freemail.hu>
1071
1072         * TypedReference.cs: Add new field used by the runtime.
1073
1074 2003-10-15  Martin Baulig  <martin@ximian.com>
1075
1076         * Type.cs (Type.DeclaringMethod): For a generic method's type
1077         parameter, return this method - otherwise, return null.
1078
1079 2003-10-14  Martin Baulig  <martin@ximian.com>
1080
1081         The generics API has changed in the spec since it was added here;
1082         these modifications make it match the spec again.
1083
1084         * Type.cs
1085         (GetGenericParameters): Renamed to `GetGenericArguments'.
1086         (HasGenericParameters): Renamed to `HasGenericArguments'.
1087         (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
1088         (IsGenericTypeDefinition): New property.
1089         (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
1090
1091         * MonoType.cs (ContainsGenericParameters): Implement this here;
1092         this is no interncall anymore.
1093
1094 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1095
1096         * Delegate.cs: add the method name to the exception when it cannot be
1097         bound.
1098         * Exception.cs: fix nullref in Source.
1099
1100 2003-10-10  Zoltan Varga  <vargaz@freemail.hu>
1101
1102         * Array.cs: Add argument checking to GetValue and SetValue.
1103
1104 2003-10-09  Miguel de Icaza  <miguel@ximian.com>
1105
1106         * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
1107         should not be TimeSpan.MaxValue, because it overflow.  Set this to
1108         be MAX_VALUE_TICKS
1109
1110 2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1111
1112         * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
1113         duplicate entry exception.
1114
1115 2003-10-08 Ben Maurer  <bmaurer@users.sourceforge.net>
1116
1117         * DateTime.cs (ToString): Total rewrite, fixes #49358.
1118
1119 2003-10-03  Zoltan Varga  <vargaz@freemail.hu>
1120
1121         * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
1122
1123 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1124
1125         * Enum.cs:
1126         (Equals): check that the object is an Enum before comparing the types.
1127
1128 2003-09-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1129
1130         * Array.cs: reduced xsp allocated memory by 1/2.
1131
1132 2003-09-25  Martin Baulig  <martin@ximian.com>
1133
1134         * Type.cs (Type.IsGenericTypeDefinition): Removed this method
1135         since it was identical to GetGenericTypeDefinition().
1136         (Type.IsGenericInstance): New property.
1137
1138 2003-09-24  Duncan Mak  <duncan@ximian.com>
1139
1140         * Math.cs (Abs): Fix double Locale.GetText bug reported by
1141         davejp@volny.cz. This fixes #48788.
1142
1143 2003-09-14  Pedro Martínez Juliá  <yoros@wanadoo.es>
1144
1145         * FloatingPointFormatter.cs: Add the necessary castings to char
1146         conversions.
1147
1148 2003-09-13  Pedro Martínez Juliá  <yoros@wanadoo.es>
1149
1150         * FloatingPointFormatter.cs: Make the method calls more functional
1151         for protecting the values from different threads (make it more
1152         thread safe).
1153
1154 2003-09-13  Pedro Martínez Juliá  <yoros@wanadoo.es>
1155
1156         * FloatingPointFormatter.cs: Fix a bug with the negative value of
1157         count parameter.
1158
1159 2003-09-12  Pedro Martínez Juliá  <yoros@wanadoo.es>
1160
1161         * FloatingPointFormatter.cs: Applied a lot of improvements in string
1162         construction, make use of Append/Insert with the "count" parameter.
1163     Thanks to Ben Maurer.
1164
1165 2003-09-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
1166
1167         * FloatingPointFormatter.cs: Fix a bug with Custm Format.
1168
1169         * FloatingPointFormatter.cs: Fix a little bug I've introduced the
1170         last change.
1171
1172 2003-09-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
1173
1174         * DoubleFormatter.cs: A few optimizations. Now, only one object
1175         is created to convert all double numbers.
1176
1177         * SingleFormatter.cs: A few optimizations. Now, only one object
1178         is created to convert all float numbers.
1179
1180         * FloatingPointFormatter.cs: Split the "number type parameters" from
1181         the "numver value and format parameters". The first ones are in the
1182         constructor and the others are in a method.
1183
1184 2003-09-09  Zoltan Varga  <vargaz@freemail.hu>
1185
1186         * Array.cs: Added argument checking to some NET_1_1 methods.
1187
1188 2003-09-04  Martin Baulig  <martin@ximian.com>
1189
1190         * Type.cs (GetGenericTypeDefinition): Make this method virtual.
1191
1192 2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1193
1194         * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
1195         taking 'longs'. All tests pass.
1196
1197 2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>
1198
1199         * Exception.cs: Add ClassInterface attr. Implement TargetSite and
1200         Source. Remove MonoTODO attributes (class is 100% done). Also
1201         passes all Rotor tests for Exception!
1202
1203 2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>
1204
1205         * Enum.cs: Remove [MonoTODO]'s that had been completed.
1206
1207 2003-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1208
1209         * String.cs: fixed bug #47802.
1210
1211 2003-08-21 Ben Maurer  <bmaurer@users.sourceforge.net>
1212
1213         * String.cs: Created method FormatHelper that does formatting,
1214         using a StringBuilder.
1215
1216 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1217
1218         * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
1219
1220 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1221
1222         * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
1223         methods under MS.
1224
1225 2003-08-11  Duncan Mak  <duncan@ximian.com>
1226
1227         * Environment.cs (Version): Return the same numbers as the MS
1228         implementation.
1229
1230 2003-08-10  Miguel de Icaza  <miguel@ximian.com>
1231
1232         * Array.cs: Applied patch from Thong (Tum) Nguyen;  Removed
1233         replicated tests, and have a routine that does the heavy lifting.
1234
1235 2003-08-08  Lluis Sanchez Gual <lluis@ximian.com>
1236
1237         * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
1238           of DateTime.
1239         * Environment.cs: return $HOME for ApplicationData folder.
1240
1241 2003-08-04  Duncan Mak  <duncan@ximian.com>
1242
1243         * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
1244         Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
1245         floating point values. This fixes bug #46175.
1246
1247         * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
1248         noted by c5n4kh6u02@sneakemail.com in
1249         http://bugzilla.ximian.com/show_bug.cgi?id=43098.
1250
1251 Sat Aug  2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
1252
1253         * Double.cs: added icall Double.AssertEndianity.
1254
1255 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
1256
1257         * Type.cs, MonoType.cs: implemented generic-specific methods.
1258
1259 2003-07-29  Miguel de Icaza  <miguel@ximian.com>
1260
1261         * Buffer.cs: Add new internal MemCopy call.
1262
1263         Removed the above.
1264
1265 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
1266
1267         * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
1268         to icalls, to avoid special cases in some call conventions.
1269
1270 2003-07-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1271
1272         * Enum.cs: added Serializable attribute.
1273
1274 2003-07-25  Duncan Mak  <duncan@ximian.com>
1275
1276         * AppDomain.cs (Equals):
1277         (GetHashCode): Removed because they do not need to be defined
1278         here.
1279
1280 2003-07-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1281
1282         * TypeLoadException.cs: removed unused fields. TypeName returns "" if
1283         cannot even get the type.
1284
1285 2003-07-24  Miguel de Icaza  <miguel@ximian.com>
1286
1287         * Type.cs: Added generics stubs.
1288
1289 2003-07-23  Duncan Mak  <duncan@ximian.com>
1290
1291         * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
1292         as values for NET_1_1.
1293         (GetFolderPath): Return the empty string ("") for values of
1294         SpecialFolder that have no corresponding equivalents in
1295         Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
1296         and "$HOME" for SpecialFolder.Personal.
1297
1298         * IntPtr.cs (GetObjectData): Mark it as an interface
1299         implementation, instead of a public method.
1300
1301         * Guid.cs (NewGuid): Remove MonoTODOAttribute.
1302
1303         * TypeLoadException.cs (GetObjectData):
1304         Create stubs for the fields that are being serialized.
1305
1306         * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
1307
1308 2003-07-23  Lluis Sanchez Gual <lluis@ximian.com>
1309         
1310         * Enum.cs: Fixed enum formatting. For flag enums, if one of
1311           the flags is unnamed, ToString() returns the integer value.
1312
1313 2003-07-22  Jerome Laban <jlaban@wanadoo.fr>
1314
1315         * Guid.cs: Fixed ToString (), was producing incorrect string.
1316
1317 2003-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1318
1319         * AppDomainSetup.cs: fixed bug #46609.
1320
1321 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
1322
1323         * MonoType.cs: use an icall for IsPrimitiveImpl ().
1324
1325 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
1326
1327         * Guid.cs: faster ToString ().
1328
1329 2003-07-15  Pedro Martínez Juliá  <yoros@wanadoo.es>
1330
1331         * FloatingPointFormatter.cs: Few changes for get working Rotor
1332         tests.
1333
1334 2003-07-13  Zoltan Varga  <vargaz@freemail.hu>
1335
1336         * Type.cs (IsAssignableFrom): Implement this as an icall since the
1337         runtime already includes the neccessary logic.
1338
1339 2003-07-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1340
1341         * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
1342         if it's present and get the full path for non-Uri paths.
1343
1344 2003-07-2  Lluis Sanchez Gual <lluis@ximian.com>
1345
1346         * DateTime.cs: Fixed formatting of fractions of second.
1347
1348 2003-06-30  Zoltan Varga  <vargaz@freemail.hu>
1349
1350         * Console.cs: Turn off buffering for the streams returned by
1351         OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
1352
1353 2003-06-28  Lluis Sanchez Gual <lluis@ximian.com>
1354
1355         * Random.cs: Changed behavior of Random to match MS.NET. When Next is
1356           called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
1357           a new random number (although it is not needed), while mono did not. 
1358           As a result, the sequence of random numbers could be different for the
1359           same seed.
1360
1361 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
1362
1363         * FloatingPointFormatter.cs: use dec_len2 as default precision.
1364
1365 2003-06-26  Lluis Sanchez Gual <lluis@ximian.com>
1366
1367         * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
1368           be done after the correspondig UTC offset has been applied.
1369
1370 2003-06-26  Lluis Sanchez Gual <lluis@ximian.com>
1371
1372         * Object.cs: Object must have the Serializable attribute.
1373         * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
1374           to the resulting date. Also fixed _ToString so now correctly formates the
1375           UTC offset.
1376
1377 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
1378
1379         * Enum.cs: fix race in cache (bug#41841).
1380
1381 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
1382
1383         * FloatingPointFormatter.cs: if the precision is not specified, use
1384         the default precision for the data type.
1385
1386 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
1387
1388         * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
1389         (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
1390
1391 2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1392
1393         * MonoType.cs: don't throw nullref when the return type for a property
1394         is specified and the property doesn't have a get accessor.
1395
1396 2003-06-10  Duncan Mak  <duncan@ximian.com>
1397
1398         * Array.cs (CreateInstance): Fixed a typo. It should throw
1399         ArgumentNullException instead of ArgumentException.
1400
1401 2003-06-09  Duncan Mak  <duncan@ximian.com>
1402
1403         * Array.cs: Revert the last revert. I fixed it.
1404         (Sort): Put a try-catch block around qsort, and wrap whatever
1405         Exception we get into a InvalidOperationException.
1406
1407 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
1408
1409         * Array.cs: Revert last patch, it broke some other functionality.
1410                 
1411 2003-06-08  Duncan Mak  <duncan@ximian.com>
1412
1413         * Array.cs: Throw more exceptions. This fixes the errors we see
1414         from the Rotor testsuite.
1415
1416         (CreateInstance): Throw ArgumentNullException when the input are
1417         null. Throw ArgumentOutOfRangeException when bounds + length is
1418         greater than Int32.MaxValue.
1419         (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
1420         the valid range of indices of array.
1421         (Sort): Throw InvalidOperationException when comparer is null and
1422         none of the elements in keys implements IComparable.
1423
1424 2003-06-08  Duncan Mak  <duncan@ximian.com>
1425
1426         * Array.cs (CreateInstance): Throw a TypeLoadException if the
1427         Length of the input array 'lengths' is greater than 255 so that we
1428         won't see the g_assert that is in mono_array_class_get in class.c.
1429
1430         This fixes bug #44304.
1431
1432 2003-06-05  Nick Drochak  <ndrochak@gol.com>
1433
1434         * UnitySerializataionHolder.cs: Cleanups according to class status page
1435
1436 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
1437
1438         * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
1439         RuntimeTypeHandle.cs: implemented the needed stuff to handle
1440         vararg calls.
1441
1442 2003-06-02  Sebastien Pouliot  <spouliot@videotron.ca>
1443
1444         * Random.cs: New implementation based on Knuth ran3 to fix #43597.
1445         See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
1446         for Ben Maurer after review and testing.
1447
1448 2003-05-28  Ben Maurer <bmaurer@users.sourceforge.net>
1449         
1450         * Array.cs: Added better argument checking to Array.Sort ()
1451         * DBNull.cs: Made the conversions throw like they do in MS.
1452
1453 2003-05-24  Philip Van Hoof  <me@freax.org>
1454
1455         * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
1456
1457 2003-05-21  Pedro Martínez Juliá  <yoros@wanadoo.es>
1458
1459         * FloatingPointFormatter.cs: Take care with the explicit precision
1460         and round the number to that precision.
1461
1462         * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
1463
1464         * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
1465
1466 2003-05-20  Philip Van Hoof <me@freax.org>
1467
1468         * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
1469         Implemented.
1470
1471 2003-05-20  Zoltan Varga  <vargaz@freemail.hu>
1472
1473         * AppDomainSetup.cs: Added new field which is used to notify the
1474         runtime that the search path has changed.
1475
1476 2003-05-18  Pedro Martínez Juliá  <yoros@wanadoo.es>
1477
1478         * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
1479         introduced the last change I've done.
1480
1481 2003-05-17  Ben Maurer  <bmaurer@users.sourceforge.net>
1482
1483         * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed 
1484         MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
1485         behaving correctly).
1486         
1487 2003-05-17  Pedro Martínez Juliá  <yoros@wanadoo.es>
1488
1489         * FloatingPointFormatter.cs: Fixed little format mismatches.
1490
1491 2003-05-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
1492
1493         * FloatingPointFormatter.cs: Fixed "-0" result emited.
1494
1495 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1496
1497         * AppDomain.cs: Added null argument check in Load().
1498         * Activator.cs: fixed bug #39926.
1499
1500 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1501
1502         * Enum.cs: fixed bugs #41522 and #42879.
1503
1504 2003-05-12  Zoltan Varga  <vargaz@freemail.hu>
1505
1506         * String.cs: Tweak IndexOf and LastIndexOf to match specification and
1507         undocumented MS behaviour.
1508
1509 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1510
1511         * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
1512         Jaime.
1513
1514 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1515
1516         * String.cs: fixed bug #41411 and another similar problem in
1517         LastIndexOf (string).
1518
1519 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1520
1521         * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
1522         bug #42695.
1523
1524 2003-05-09  Zoltan Varga  <vargaz@freemail.hu>
1525
1526         * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList 
1527         construction if the delegate list only has one element.
1528
1529 2003-05-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
1530
1531         * Environment.cs: Changed the method GetFolderPath because it must
1532         return at least a directory name (not null).
1533
1534         * Convert.cs: In ToType, if the destination type is unknown, try to
1535         cast the value to object (then, the calling method will downcast it
1536         to the type it wants).
1537
1538 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1539
1540         * Enum.cs: fixed bug #41522.
1541
1542 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
1543
1544         * Enum.cs: protect with the lock also the lookup (bug #41841).
1545
1546 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
1547
1548         * MonoType.cs: allow a null name if InvokeMember is called with
1549         BindingFlags.CreateInstance set.
1550
1551 2003-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1552
1553         * Enum.cs: reverted my previous patch.
1554
1555 2003-04-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1556
1557         * Enum.cs: fixed bug #41841.
1558
1559 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1560
1561         * MonoType.cs:
1562         (GetPropertyImpl): handle BindingFlags.IgnoreCase.
1563
1564 2003-04-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
1565
1566         * FloatingPointFormatter.cs: Little fixes for get the same results
1567         as MS.NET and show a message when something goes wrong with the
1568         parser of Custom Formats.
1569
1570 2003-04-22  Nick Drochak  <ndrochak@gol.com>
1571
1572         * Double.cs (ToString):
1573         * Single.cs (ToString): Handle case where param is a CultureInfo.
1574
1575 2003-04-18  Zoltan Varga  <vargaz@freemail.hu>
1576
1577         * Object.cs ValueType.cs: Make the Object::GetHashCode() and 
1578         ValueType::Equals() icalls static non-virtual, so they can be called
1579         by the code in RuntimeHelpers.
1580
1581 2003-04-18  Miguel de Icaza  <miguel@ximian.com>
1582
1583         * Delegate.cs (operator ==): Do not crash if the second argument
1584         is null.  Bug fix submitted by Juan Cri.
1585
1586 2003-04-18  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
1587
1588         * Array.cs: Deleted the exception in Array.Initialize(), it looks
1589         like the method do nothing for C#, is still a MonoTODO until
1590         we find a compiler that uses that.
1591
1592 2003-04-14  Miguel de Icaza  <miguel@ximian.com>
1593
1594         * Delegate.cs (Delegate): Seems like a typo, we were checking the
1595         a field rather than the argument 
1596
1597         * MonoType.cs: Make GetNestedType an external method implementation.
1598
1599 2003-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1600
1601         * Enum.cs: fixed bug #41294.
1602
1603 2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1604
1605         * DateTime.cs: fixes bug #40910, part 2.
1606
1607 2003-04-11  Dietmar Maurer  <dietmar@ximian.com>
1608
1609         * String.cs (Equals): avoid the internal call, code cleanups
1610
1611 2003-04-11  Alan Tam <Tam@SiuLung.com>
1612
1613         * Convert.cs: fixed bug #41085.
1614
1615 2003-04-10  Lluis Sanchez Gual <lluis@ideary.com>
1616
1617         * AppDomain.cs: Added internal method for getting process guid.
1618
1619 2003-04-09  Ville Palo <vi64pa@kolumbus.fi>
1620
1621         * Array.cs: Little fix to compare () method.
1622         
1623 2003-04-09  Zoltan Varga  <vargaz@freemail.hu>
1624
1625         * String.cs (Equals): Add trivial optimization.
1626
1627 2003-04-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1628
1629         * DateTime.cs: fixed bug #40910.
1630
1631 2003-04-05  Miguel de Icaza  <miguel@ximian.com>
1632
1633         * Console.cs: Make stderr, stdout and stdin use synchronized
1634         versions of the their readers/writers.
1635
1636 2003-04-04  Dick Porter  <dick@ximian.com>
1637
1638         * Version.cs: Make operator== and operator!= cope with null
1639         objects.  Didn't change operator<, operator<=, operator> or
1640         operator>= because its not meaningful to use those to compare
1641         against null, and throwing a NullReferenceException is probably
1642         the best thing to do there anyway.
1643
1644         Fixes bug 40720.
1645
1646 2003-04-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1647
1648         * AppDomain.cs: fixed InvalidCastException.
1649
1650 2003-03-30  Zoltan Varga  <vargaz@freemail.hu>
1651
1652         * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
1653         type checks and let it decide whenever a fast copy is possible.
1654
1655 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1656
1657         * MonoType.cs:
1658         (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
1659
1660 2003-03-25  Zoltan Varga  <vargaz@freemail.hu>
1661
1662         * Activator.cs (CreateInstance): Call GetConstructor with the right
1663         arguments so the nonPublic argument is handled correctly.
1664
1665 2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1666
1667         * Type.cs: fixed bug #40123.
1668
1669 2003-03-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
1670
1671         * FloatingPointFormatter.cs: Fixed some bugs for get the same
1672         results than MS.NET. Added simple error recovering, now ToString
1673         will return a general format if there is any exception in the
1674         process of formatting. This make the library more robust while the
1675         formatters are refined.
1676
1677 2003-03-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
1678
1679         * FloatingPointFormatter.cs: Added support for group separators.
1680
1681 2003-03-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
1682
1683         * Single.cs:
1684         * Double.cs: Apply changes of .ToString methods.
1685         * SingleFormatter.cs:
1686         * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
1687         * FloatingPointFormatter.cs: New class. Implementation of double and
1688         single formatters. It is unified now and parametrized with precission
1689         values.
1690
1691 2003-03-15  Lluis Sanchez Gual <lluis@ideary.com>
1692
1693         * AppDomain.cs: fixes bugs #39380 and #39331.
1694
1695 2003-03-06  Nick Drochak  <ndrochak@gol.com>
1696
1697         * TimeSpan.cs (Negate): Throw exception when value is MinValue.
1698
1699 2003-03-04  Dick Porter  <dick@ximian.com>
1700
1701         * Single.cs:
1702         * Double.cs: Temporarily reverted the Double and Single ToString()
1703         change, because it broke nunit.
1704
1705
1706 2003-03-04  Pedro Martínez Juliá  <yoros@wanadoo.es>
1707
1708         * Double.cs: Changed ToString method. Added NumberFormatInfo support
1709         with DoubleFormatter class.
1710         * Single.cs: Changed ToString method. Added NumberFormatInfo support
1711         with SingleFormatter class.
1712         * DoubleFormatter.cs: New class with Double formatting functions.
1713         * SingleFormatter.cs: New class with Single formatting functions.
1714
1715 2003-03-03  Lluis Sanchez Gual <lluis@ideary.com>
1716
1717         * Activator.cs: Added support for activation using activation attributes.
1718         * AppDomain.cs: Added internal method to get the default context from the runtime.
1719
1720 2003-02-28  Elan Feingold  <efeingold@mn.rr.com>
1721
1722         * DateTime.cs: FileTime is expressed in Universal time, and as such must
1723         be converted before subtracting the magic offset.
1724         * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
1725         the timezone at the end) *must* be parsed by DateTime.Parse() for
1726         compatibility with Microsoft.
1727
1728 2003-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1729
1730         * Attribute.cs:
1731         * MonoCustomAttrs.cs: fix for the regression test failure (see bug
1732         #38238).
1733
1734         * IntPtr.cs: added serialization .ctor
1735
1736 2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1737
1738         * AppDomain.cs: check for null in Unload and changed method name.
1739
1740 2003-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1741
1742         * MonoCustomAttrs.cs: fixed bug #38238.
1743
1744 2003-02-17  Martin Baulig  <martin@ximian.com>
1745
1746         * Exception.cs (Exception.ToString): Print a newline between the
1747         exception message and the stack trace.
1748
1749 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1750
1751         * AppDomain.cs: implemented GetCurrentThreadId ().
1752
1753 2003-02-14  Patrik Torstensson
1754
1755         * Exception.cs: Fixed message output formating
1756
1757 2003-02-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1758
1759         * Int32.cs:
1760         (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
1761
1762 2003-02-12  Miguel de Icaza  <miguel@ximian.com>
1763
1764         * Type.cs: IsClass should return false for Enumerations
1765
1766 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1767
1768         * MonoCustomAttrs.cs: return the correct array type in the short case.
1769         Fixes bug #37818.
1770
1771 2003-02-08  Pedro Martíenz Juliá  <yoros@wanadoo.es>
1772
1773         * Math.cs: Fix a few methods (like Round) and add with comments the
1774         new methods: BigMul and DivRem that were in ECMA specs.
1775
1776 2003-02-07  Patrik Torstensson
1777
1778         * Exception.cs: Fixed formating
1779
1780 2003-02-05  Patrik Torstensson
1781
1782         * AppDomain.cs: Partly fixed the unload method 
1783         
1784 2003-02-04  Patrik Torstensson
1785
1786         * AppDomain.cs: Fixed lease issue with appdomain
1787
1788 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
1789
1790         * MarshalByRefObject.cs: Implemented GetLifetimeService() and 
1791           InitializeLifetimeService().
1792
1793 2003-02-03  Patrik Torstensson
1794
1795         * AppDomain.cs: New internalcalls for handling domain/context switches
1796         * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
1797
1798 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1799
1800         * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
1801         and ClearShadowCopyPath and fixed GetType ().
1802
1803         * Attribute.cs: clean up.
1804
1805         * Console.cs: removed UnixConsoleEncoding. Use Default.
1806
1807 2003-02-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1808
1809         * Attribute.cs: fixed all IsDefined overloads. Gotta fix
1810         GetCustomAttributes later.
1811
1812 2003-01-31  Patrik Torstensson
1813
1814         * Buffer.cs: Changed access level of BlockCopyInternal
1815
1816 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
1817
1818         * String.cs, IntegerFormatter.cs: use const where appropriate.
1819
1820 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1821
1822         * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
1823         reporting.
1824
1825 2003-01-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1826
1827         * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
1828         The argument ICustomAttributeProvider can be of other types different
1829         from Type. Handle it.
1830
1831 2003-01-28  Zoltan Varga  <vargaz@freemail.hu>
1832
1833         * DateTime.cs: fix FromFileTime so the time returned by 
1834         File::GetLastModificationTime etc. is in the correct timezone.
1835
1836 2003-01-28  Patrik Torstensson
1837         * Exception.cs: reverted formating/endline changes (sorry guys)
1838
1839 2003-01-28  Patrik Torstensson
1840
1841         * MarshalByRefObject.cs: implemented GetObjectIdentity
1842         * Exception.cs: added support for remote exceptions
1843
1844 2003-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1845
1846         * DateTime.cs: fixed bug #37225.
1847
1848 2003-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1849
1850         * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
1851
1852 2003-01-27  Zoltan Varga  <vargaz@freemail.hu>
1853
1854         * AppDomain.cs: Added DoTypeResolve method which will be called by
1855         the runtime to raise TypeResolve events.
1856
1857 2003-01-27  Duncan Mak  <duncan@ximian.com>
1858
1859         * Enum.cs (ToType): Implement this using Convert.ToType.
1860
1861 2003-01-21  Miguel de Icaza  <miguel@ximian.com>
1862
1863         * Math.cs: Remove Pow's implementation body as it was wrong.  The
1864         C code does the right thing.  The code was trying to handle a
1865         number of cases, and that was incorrect.
1866
1867 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1868
1869         * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
1870         bug #37113.
1871
1872 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1873
1874         * Enum.cs: added caching to GetInfo.
1875
1876 2003-01-23  Dick Porter  <dick@ximian.com>
1877
1878         * Environment.cs (System): Implemented ExitCode
1879
1880 2003-01-23  Zoltan Varga  <vargaz@freemail.hu>
1881
1882         * Type.cs (IsInstanceOfType): fixed regression caused by the change
1883         to IsSubclassOf().
1884
1885 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1886
1887         * MonoType.cs: re-added lines that were removed in the previous commit.
1888
1889 2003-01-16  Lluis Sanchez Gual <lsg@ctv.es>
1890
1891         * Type.cs: corrected property IsSerializable. It should always return
1892         true for enums and delegates
1893         * MonoType.cs: added serialization support.
1894         * Delegate.cs: added serialization support.
1895         * DBNull.cs: added serialization support.
1896         * UnitySerializationHolder.cs: supports serialization of Assembly,
1897         MonoType and DBNull.
1898         * DelegateSerializationHolder.cs: added.
1899
1900 2003-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1901
1902         * Exception.cs: changed default message to match MS one.
1903
1904 2003-01-12  Patrik Torstensson <totte@race-x-change.com>
1905
1906         * String.cs: Fixed bug with CompareOrdinal
1907
1908 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1909
1910         * Enum.cs: implements IFormattable.
1911
1912 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1913
1914         * AppDomain.cs: implemented DoCallBack method.
1915         * MonoType.cs:
1916         (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
1917         Public, Instance.
1918
1919         NUnit2 tests start moving.
1920
1921 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1922
1923         * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
1924         instantiate an abstract class.
1925
1926 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1927
1928         * Type.cs:
1929         (IsSubclassOf): return false when null. Use != instead of Equals.
1930
1931 2003-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1932
1933         * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
1934
1935 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
1936
1937         * MonoType.cs: fixed Namespace property for nested types.
1938
1939 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
1940
1941         * MonoCustomAttrs.cs: create properly typed arrays when returning
1942         arrays of attributes of a given type.
1943
1944 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
1945
1946         * MonoType.cs: fixed MemberType property for nested types.
1947
1948 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1949
1950         * String.cs: fixed bug #36209.
1951
1952 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
1953
1954         * Activator.cs: implemented method GetObject.
1955
1956 2002-12-28  Marcus Urban <mathpup@mylinuxisp.com>
1957
1958         * Activator.cs: Since the documentation indicates the method
1959         either succeeds or throws one of the listed exceptions, we weren't
1960         expecting that CreateInstance might be returning null.
1961
1962         For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
1963
1964 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
1965
1966         * MarshalByRefObject.cs: implemented CreateObjRef.
1967
1968 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1969
1970         * DateTime.cs: fixed bug #30076.
1971         * TimeZone.cs: provide the parameter name in a exception.
1972
1973 2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1974
1975         * DecimalFormatter.cs: fixed bug #35560.
1976
1977 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
1978
1979         * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
1980
1981 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1982
1983         * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
1984         nulls. Fixes #34909.
1985
1986 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1987
1988         * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
1989         returns a non-null assembly.
1990
1991 2002-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1992
1993         * MulticastDelegate.cs: make GetInvocationList work for more than 1
1994         delegate.
1995
1996 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1997
1998         * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
1999         if this is the correct order of invocation.
2000
2001 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2002
2003         * Type.cs: changed the signature of internal_from_name. Modified
2004         the overloads of GetType to use it and check the typeName argument.
2005         Implemented FindInterfaces.
2006
2007 2002-11-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2008
2009         * MarshalByRefObject.cs: undo latest changes. It breaks the build by
2010         some obscure reasons (try make -f makefile.gnu using a corlib which has
2011         the modified version).
2012
2013 2002-11-26  Miguel de Icaza  <miguel@ximian.com>
2014
2015         * String.cs (Concat): Reduce the number of compares required. 
2016
2017 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
2018
2019         * Activator.cs: throw a MissingMethodException if the default
2020         constructor is not found in CreateInstance.
2021
2022 2002-11-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2023
2024         * String.cs:
2025         (Equals (str, str)): use 'as' instead of casting to object.
2026         (Equals (obj)): check the length of the strings (until now,
2027         "Hello".Equals ((object) "Hellow World!) was true!).
2028
2029 2002-11-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2030
2031         * MonoType.cs: implemented GetEvent (name, flags).
2032
2033 2002-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2034
2035         * AppDomain.cs: implemented a couple of methods called from the runtime
2036         to fire AssemblyLoad and AssemblyResolve events.
2037
2038 2002-10-31  Dick Porter  <dick@ximian.com>
2039
2040         * Environment.cs: MonoIO methods now have an error parameter
2041
2042 2002-10-29  Zoltan Varga  <vargaz@freemail.hu>
2043
2044         * Enum.cs: Added support for whitespaces in Enum:Parse().
2045
2046 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2047
2048         * Type.cs: fixed GetProperty (string, Type []) and removed get_property
2049         internal call. Closes bug #32992.
2050
2051 2002-10-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2052
2053         * Exception.cs: display the inner exception, if any, in ToString ().
2054
2055 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2056
2057         * Environment.cs: fixed StackTrace property.
2058
2059 2002-10-16  Nick Drochak  <ndrochak@gol.com>
2060
2061         * Enum.cs (Parse): Then fix the code so that it works too.
2062
2063 2002-10-15  Nick Drochak  <ndrochak@gol.com>
2064
2065         * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
2066
2067 2002-10-12  Nick Drochak  <ndrochak@gol.com>
2068
2069         * IntegerFormatter.cs: Fix compiler warnings.
2070
2071 2002-10-11  Tim Haynes <thaynes@openlinksw.com>
2072
2073         * Type.cs (GetConstructors): Use the correct flags.
2074
2075 2002-10-09  Nick Drochak  <ndrochak@gol.com>
2076
2077         * IntegerFormatter.cs: Suppress insignificant leading zeros
2078
2079 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
2080
2081         * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
2082         <stonewell@21cn.com> to return also derived types.
2083
2084 2002-09-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2085
2086         * Activator.cs: little fix in CreateInstance (Type, bool).
2087
2088 2002-09-19  Duncan Mak  <duncan@ximian.com>
2089
2090         * Array.cs (CopyTo): Revert back to 1.40, this is stopping
2091         I18N/Common from building right now.
2092
2093 2002-09-19  Nick Drochak  <ndrochak@gol.com>
2094
2095         * Array.cs (CopyTo): Account for Object type and base (primitive) types
2096         * Type.cs (IsAssignableFrom): return false for a null parameter
2097
2098 2002-09-19  Nick Drochak <ndrochak@gol.com>
2099
2100         * Array.cs (CopyTo): Check that source type can be cast automatically
2101         to the destination type.
2102
2103 2002-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2104
2105         * Type.cs: implemented IsAssignableFrom, DefaultBinder and
2106         GetDefaultMembers.
2107
2108 2002-09-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2109
2110         * Char.cs: implemented ToString (char)
2111         * IntegerFormatter.cs: made it internal.
2112
2113 2002-09-13  Nick Drochak  <ndrochak@gol.com>
2114
2115         * Enum.cs (Format): handle the "d" format for both signed and unsigned
2116         underlying types.
2117
2118 2002-09-12  Dick Porter  <dick@ximian.com>
2119
2120         * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
2121         attribute, as there doesn't appear to be any struct
2122         layout-depending code here (and corcompare says it should be
2123         LayoutKind.Sequential)
2124
2125         * Decimal.cs: Stub out missing methods, add
2126         [DecimalConstantAttribute] to the constant fields (as shown by
2127         corcompare).
2128
2129         * LocalDataStoreSlot.cs: 
2130         * Environment.cs: 
2131         * Char.cs: 
2132         * Array.cs: Stub out missing methods.
2133
2134         * TypedReference.cs: 
2135         * ArgIterator.cs: Stub out
2136
2137         * AppDomainSetup.cs: 
2138         * AppDomain.cs: Stub out missing methods, add missing
2139         ClassInterface(ClassInterfaceType.None) attribute.
2140
2141 2002-09-12  Nick Drochak  <ndrochak@gol.com>
2142
2143         * Double.cs (ToString): Throw exception when "X" format is passed in.
2144
2145 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
2146
2147         * MonoType.cs: implemented Module property.
2148
2149 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
2150
2151         * MonoType.cs, Type.cs: implemented InvokeMember.
2152
2153 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
2154
2155         * Delegate.cs: check the type passed to CreateDelegate is a Delegate
2156         type. Check the method signature matches.
2157
2158 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
2159
2160         * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
2161
2162 2002-09-06  Miguel de Icaza  <miguel@ximian.com>
2163
2164         * Console.cs: Specify an encoder, otherwise we will get the UTF8
2165         encoder that by default emits the byte markers.
2166
2167 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
2168
2169         * Delegate.cs: look also for non-public methods until we have the
2170         security checks in place.
2171
2172 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
2173
2174         * MonoType.cs: consider also the full name in GetInterface.
2175
2176 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
2177
2178         * MonoType.cs: implemented GetMembers, GetConstructorImpl and
2179         GetMethodImpl using the binder.
2180         * Type.cs: GetConstructorImpl/GetConstructor fixes.
2181
2182 2002-09-03  Jonathan Pryor <jonpryor@vt.edu>
2183         * Enum.cs: Get rid of warning CS0162.
2184
2185 2002-09-04  Miguel de Icaza  <miguel@ximian.com>
2186
2187         * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
2188         actual value instead of public.
2189
2190         * LocalDataStoreSlot.cs: Make constructor internal.
2191
2192         * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
2193         SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
2194         instead of public.
2195
2196 2002-09-03  Jonathan Pryor <jonpryor@vt.edu>
2197         * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
2198                    properly.
2199
2200 2002-08-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2201
2202         * DateTime.cs: fixed buglet.
2203
2204 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
2205
2206         * MonoType.cs: speedup access to common data.
2207
2208 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2209
2210         * Double.cs: implemented TryParse.
2211
2212         * Math.cs: PowImpl is now private.
2213
2214         * MissingFieldException.cs: implemented Message.
2215
2216         * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
2217
2218         * _AppDomain.cs: Uncommented ToString.
2219
2220 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2221
2222         * Type.cs:
2223         (IsValueTypeImpl): it's virtual, not abstract. Implemented.
2224
2225 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2226
2227         * ArgumentException.cs: use the field instead of the property for
2228         param_name.
2229
2230         * ArgumentOutOfRangeException.cs: modified Message.
2231
2232         * DateTime.cs: 
2233         (_DoParse): throw out of range exception for year. Removed check
2234         for month (it's done in the constructor).
2235
2236 2002-08-21  Miguel de Icaza  <miguel@ximian.com>
2237
2238         * Environment.cs: Implemented OSVersion property.
2239
2240 2002-08-21  Dietmar Maurer  <dietmar@ximian.com>
2241
2242         * Exception.cs: set stack_trace to null
2243
2244 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
2245
2246         * AppDomain.cs: implemented ToString().
2247
2248 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2249
2250         * AppDomain.cs: securityInfo can be null in CreateDomain.
2251
2252 2002-08-19  Dick Porter  <dick@ximian.com>
2253
2254         * MonoType.cs: Add a space before the Assembly name in
2255         AssemblyQualifiedName (needed for resource files so the MS runtime
2256         can load types)
2257
2258 2002-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2259
2260         * AppDomain.cs: parameter name when throwing ArgumentNullException.
2261
2262         * ArgumentException.cs: modified Message to do what MS does.
2263
2264         * ArgumentNullException.cs: don't use {0} in message.
2265
2266         * Exception.cs: use Message property in ToString ().
2267
2268 2002-08-14  Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
2269
2270         * WeakReference.cs: Changed the constructor and GetObjectData
2271         method needed for ISerializable implementation in order to be
2272         compatible with SOAP generated by MS.
2273
2274 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
2275
2276         * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
2277
2278 2002-08-12  Dietmar Maurer  <dietmar@ximian.com>
2279
2280         * Exception.cs (ToString): changed the ouput format.
2281
2282 2002-08-07  Dietmar Maurer  <dietmar@ximian.com>
2283
2284         * MonoType.cs: moved get_method icall to this class, we can
2285         remove it as soon someone provides a full featured GetMethodImpl.
2286
2287         * Type.cs: use GetMethodImpl everywhere.
2288
2289         * Delegate.cs: new CreateDelegate implementations.
2290
2291 2002-08-06  Tim Coleman <tim@timcoleman.com>
2292         * MonoType.cs: 
2293                 Fix bug #28582.  Now checks parameters for properties
2294                 in GetPropertyImpl.
2295
2296 2002-08-04  Nick Drochak  <ndrochak@gol.com>
2297
2298         * Buffer.cs: Throw correct exception in GetByte() and SetByte().
2299
2300 2002-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2301
2302         * String.cs:
2303         (FormatSpecifier): allow white space between the comman and the width
2304         specifier.
2305
2306 2002-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2307
2308         * Int32.cs:
2309         * Int64.cs:
2310         * UInt32.cs:
2311         * UInt64.cs: fixed bug #28050. May be a MS bug?
2312
2313 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
2314
2315         * MonoType.cs: fix IsArrayImpl.
2316
2317 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2318
2319         * String.cs: make ToLower (culture) and ToUpper (culture) use the
2320         default ToLower and ToUpper and don't throw NotImplemented.
2321
2322 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
2323
2324         * Type.cs: make GettTypeCode an icall. Test implementation of
2325         GetMember().
2326
2327 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2328
2329         * AppDomainSetup.cs: implemented LoaderOptimization.
2330
2331 2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2332
2333         * Activator.cs: some more intermediate results checking in
2334         in CreateInstance and CreateInstanceFrom and use GetConstructor and
2335         Invoke only with Type [] until the other overloaded versions work.
2336
2337 2002-07-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2338
2339         * Activator.cs: reformatted. Implemented CreateInstance* methods
2340         that return ObjectHandle.
2341
2342         * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
2343
2344 2002-07-03  Nick Drochak  <ndrochak@gol.com>
2345
2346         * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
2347         the divisor is not) and avoid the icall, which seems to have a bug.
2348
2349 2002-07-03  Nick Drochak  <ndrochak@gol.com>
2350
2351         * Double.cs (CompareTo): Correctly handle the case where the instance
2352         is NaN. Also return 0 if the values are equal.
2353
2354 2002/07/03  Nick Drochak <ndrochak@gol.com>
2355
2356         * MissingMethodException: Add missing Message property
2357         * MissingMemberException: Add missing Message property
2358
2359 2002-06-30  Nick Drochak  <ndrochak@gol.com>
2360
2361         * Double.cs (CompareTo): Just see which is bigger.  Don't use the
2362         subtraction trick, it doesn't work when the values have a diference of
2363         less than one.
2364
2365         * Single.cs (CompareTo): same
2366
2367 2002-06-27  Martin Baulig  <martin@gnome.org>
2368
2369         * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
2370         constructor argument.  [FIXME: The implicit conversion to an
2371         unsigned integer doesn't work with mcs.]
2372
2373 2002-06-26  Martin Baulig  <martin@gnome.org>
2374
2375         * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
2376         not `S = System'.  This file now compiles with mcs.
2377
2378         * String.cs: Removed the already ifdef-outed __arglist Concat function
2379         to make it compile with mcs.
2380
2381 2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2382
2383         * IntegerFormatter.cs:
2384         (FormatParse.FormatNumber): fixed custom format for negative numbers.
2385
2386 2002-06-21  Martin Baulig  <martin@gnome.org>
2387
2388         * Double.cs: Replace the private `enum State' with constants since this
2389         will avoid some bigger headaches in mcs.
2390
2391 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
2392
2393         * TimeSpan.cs: do not pollute the namespace with the
2394         System.Parser name.
2395
2396 2002-06-18  Nick Drochak  <ndrochak@gol.com>
2397
2398         * ArgumentException.cs: Use the message given in the constructor when
2399         accessing the Message property.  Thanks to Dietmar for the help with 
2400         "base".
2401
2402 2002-06-17  Dietmar Maurer  <dietmar@ximian.com>
2403
2404         * MonoType.cs: GetField is now a InternalCall
2405
2406 2002-06-13  Nick Drochak  <ndrochak@gol.com>
2407
2408         * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
2409         sortable format(s), e.g. "2002-02-25"
2410
2411 2002/06/12  Nick Drochak <ndrochak@gol.com>
2412
2413         * Random.cs (Next): Fix math error.  Return a number within the range.
2414
2415 2002-06-12  Nick Drochak  <ndrochak@gol.com>
2416
2417         * String.cs (IndexOf): Return -1 if start index is equal to string
2418         length.
2419
2420 2002-06-10  Duncan Mak  <duncan@ximian.com>
2421
2422         * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
2423         (ToType): Added null field in conversionTable to avoid
2424         IndexOutOfRangeException. Changed what exceptions we throw to match
2425         the spec.
2426         
2427 2002-06-11  Nick Drochak  <ndrochak@gol.com>
2428
2429         * Int64.cs (Parse): Added unique strings to the messages where we throw
2430         a FormatException. Needed these to debug, so just left them in since
2431         they might be useful later. Fixed Currency parsing where we weren't
2432         looking at CurrencyDecimalSeparator, etc.
2433
2434 2002-06-09  Lawrence Pit  <loz@cable.a2000.nl>
2435
2436         * DateTime.cs: fixes to pass tests M0 to M6:
2437                 if yy pattern then year values >= 30 are in 20th century
2438                 rfc1123 pattern is always in GMT, therefor useutc must be false
2439         made GetNow() internal static so it can be called from TimeZone.
2440         * TimeZone.cs: removed dependency on year 2002 from initialization of 
2441         current timezone.
2442
2443 2002-06-09  Duncan Mak  <duncan@ximian.com>
2444
2445         * Convert.cs (ToType): Rearranged what Exceptions we throw to
2446         match MS behavior.
2447
2448 2002-06-08  Duncan Mak  <duncan@ximian.com>
2449
2450         * Decimal.cs: Added support for the IConvertible interface.
2451
2452 2002-06-08  Martin Baulig  <martin@gnome.org>
2453
2454         * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
2455         doesn't necessarily need to be of the enum's underlying type.
2456
2457 2002/06/07  Nick Drochak <ndrochak@gol.com>
2458
2459         * String.cs: Add [Serializable] to class
2460         * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
2461
2462 2002-06-04  Nick Drochak  <ndrochak@gol.com>
2463
2464         * Double.cs (Parse): Recognize the group separator string, but still we
2465         don't check the format for the proper number of digits between
2466         separators. Also throw OverflowException when we get Pos or Neg
2467         Infinity from runtime.
2468
2469 2002-06-03  Duncan Mak  <duncan@ximian.com>
2470
2471         * Convert.cs (ToDouble): Fixed ToDouble (byte value).
2472
2473 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
2474
2475         * Type.cs: fixed GetTypeCode.
2476
2477 2002-06-02  Duncan Mak  <duncan@ximian.com>
2478
2479         * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
2480         cast from an int so that we throw OverFlowException correctly.
2481         
2482         (ToInt64): Use a new 64bit version of ConvertToBase.
2483         
2484         (ConvertToBase): Add checks for overflow (checks Int32.MinValue
2485         and Int32.MaxValue).
2486
2487         (ConvertFromBase64): New 64-bit version of ConvertFromBase.
2488
2489 2002-06-02  Nick Drochak  <ndrochak@gol.com>
2490
2491         * Convert.cs (ToSByte): Check for special value.
2492         * Single.cs (Parse): 
2493         * UInt16.cs (Parse):
2494         * UInt32.cs (Parse): Throw OverflowException if negative
2495
2496 2002-06-02  Duncan Mak  <duncan@ximian.com>
2497
2498         * Convert.cs (DBNull): Point it to DBNull.Value.
2499         (IsDBNull): Instead of checking typecodes, just check to see if
2500         it's the same as the DBNull field.
2501
2502 2002-06-02  Nick Drochak  <ndrochak@gol.com>
2503
2504         * Convert.cs (ConvertFromBase): Detect bad digits correctly.
2505
2506 2002-06-02  Duncan Mak  <duncan@ximian.com>
2507
2508         * Char.cs (Parse): Simplify the Exception handling.
2509
2510         * Convert.cs (ToDecimal): Remove call to Math.Round () when
2511         converting from a float.
2512
2513 2002-05-30  Martin Baulig  <martin@gnome.org>
2514
2515         * MonoType.cs (GetInterface): Implemented.
2516
2517 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
2518
2519         * Activator.cs: implemented CreateInstance ().
2520
2521 2002-05-22  Duncan Mak  <duncan@ximian.com>
2522
2523         * Convert.cs (ConvertToBase): Added new 64bit version.
2524         (BuildConvertedString64): New 64bit version of
2525         BuildConvertedString.
2526
2527         This fixes bug 25068.
2528
2529         (ConvertFromBase): Added additional test for checking if the
2530         digits are valid. Thanks to Miguel for coming up with this test.
2531
2532         This fixes bug 25071.
2533         
2534 2002-05-21  Duncan Mak  <duncan@ximian.com>
2535
2536         * Convert.cs (ToType): Rearranged to fit the new layout of
2537         conversionTable.
2538
2539         (conversionTable): Rearranged to fit the layout of the
2540         System.TypeCode enum.
2541
2542         This should fix bug 25075.
2543         
2544 2002-05-21  Duncan Mak  <duncan@ximian.com>
2545
2546         * Convert.cs (ToString): Fixed the ToString methods. Previously I had
2547         mixed up the two code paths, one for converting to a specific base
2548         (this case), another from converting from a foreign base to base10
2549         (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
2550
2551         * Convert.cs (ToByte)
2552         (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
2553         that we won't confuse FormatException with OverflowException.
2554
2555 2002-05-22  Lawrence Pit  <loz@cable.a2000.nl>
2556
2557         * Environment.cs: CommandLine missed spaces between arguments.
2558         Implemented StackTrace. Returning MachineName in UserDomainName
2559         instead of null.
2560         
2561 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
2562
2563         * MonoCustomAttrs.cs: handle inherit argument.
2564
2565 2002-05-21  Nick Drochak  <ndrochak@gol.com>
2566
2567         * Math.cs (Pow): Change icall method name and insert parameter
2568         checks in for infinities and NaN.
2569
2570 2002-05-13  Miguel de Icaza  <miguel@ximian.com>
2571
2572         * Double.cs (Parse): Reimplement by cleaning up the string first,
2573         and then passing to strtof in the mono runtime.
2574
2575         * Single.cs (Parse): Use the Double implementation and cast to
2576         float. 
2577
2578 2002-05-21  Nick Drochak  <ndrochak@gol.com>
2579
2580         * Math.cs 
2581                 (Ceiling): Check for "special" values
2582                 (Floor): Check for "special" values
2583                 (Round): Fix off-by-one error on decimal shifting
2584
2585 2002-05-20  Lawrence Pit  <loz@cable.a2000.nl>
2586
2587         * DateTime.cs: ToString () using "G" format specifier 
2588
2589 2002-05-19  Martin Baulig  <martin@gnome.org>
2590
2591         * Convert.cs (FromBase64CharArray): Do correct exception handling.
2592
2593 2002-05-19  Martin Baulig  <martin@gnome.org>
2594
2595         * Convert.cs (FromBase64CharArray): Convert the char array using
2596         System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
2597         a byte array.
2598
2599 2002-05-17  Miguel de Icaza  <miguel@ximian.com>
2600
2601         * MonoType.cs: Style changes.
2602
2603         * Type.cs: Style changes.
2604
2605 2002-05-16  Piers Haken <piersh@friksit.com
2606
2607         * UInt64.cs: fix declaration of IConvertible.To* overrides.
2608
2609 2002-05-16  Nick Drochak  <ndrochak@gol.com>
2610
2611         * BitConverter.cs (ToString): Add parameter check for invalid start 
2612         index.
2613
2614         * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
2615         now that StreamWriter uses buffering
2616
2617 2002-05-14  Miguel de Icaza  <miguel@ximian.com>
2618
2619         * Double.cs: Oops.  Also handle exponents without finding a dot.
2620
2621 2002-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2622
2623         * ChangeLog: removed empty entry at the top of the file.
2624
2625         * Int32.cs: made static functions used by Parse internal.
2626
2627         * Int64.cs:
2628         * UInt32.cs:
2629         * UInt64.cs: removed static fucntions used by Parse and use the ones
2630         in Int32.cs
2631
2632 2002-05-12  Daniel Morgan <danmorg@sc.rr.com>
2633
2634         * IServiceProvider.cs: added using System
2635
2636 2002-05-09  Daniel Morgan <danmorg@sc.rr.com>
2637
2638         * Single.cs: copied ToString() and Parse() methods from 
2639         Double to Single and modified a tiny bit for Single.  
2640         There is still a FIXME for Double and Single about
2641         passing the format and provider info to the icall too.
2642
2643 2002-05-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2644
2645         * Int32.cs:
2646         * Int64.cs:
2647         * UInt32.cs:
2648         * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
2649         Don't use a delegate to test for valid digits.
2650
2651 2002-05-01  Duncan Mak  <duncan@ximian.com>
2652
2653         * Convert.cs: 
2654         * Math.cs: Added missing CLSCompliant attributes where necessary.
2655         
2656 2002-04-30  Duncan Mak  <duncan@ximian.com>
2657
2658         * ArgumentException.cs (Message): 
2659         * ArgumentOutOfRangeException.cs (Message): Added.
2660
2661 2002-04-30  Nick Drochak  <ndrochak@gol.com>
2662
2663         * MonoType.cs: Remove unused variable and eliminate a compiler warning.
2664
2665 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
2666
2667         * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
2668
2669 2002-04-28  Duncan Mak  <duncan@ximian.com>
2670
2671         * DivideByZeroException.cs: Added missing serialization constructor.
2672
2673         * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
2674
2675 2002-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2676
2677         * Math.cs: fix Floor () and Round (). Closes #23960.
2678
2679 2002-04-27  Nick Drochak  <ndrochak@gol.com>
2680
2681         * Array.cs (IList.Contains): Should throw a RankException if this is 
2682         called on a Rank > 1 array. Not in the docs, but this is what the 
2683         MS.NET does.
2684
2685 2002-04-26  Duncan Mak  <duncan@ximian.com>
2686
2687         * MissingMemberException.cs: Made the message variable 'protected'
2688         instead of 'private', so that we can see it in
2689         MissingMethodException and MissingFieldException.
2690
2691         * MissingFieldException.cs:
2692         * MissingMethodException.cs: Added missing (string, string)
2693         constructor, and also the Message property.
2694
2695 2002-04-26  Martin Baulig  <martin@gnome.org>
2696
2697         * Enum.cs: Implemented the IConvertible methods.
2698
2699 2002-04-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2700
2701         * SByte.cs: little change in Parse (string) to avoid incorrect
2702         OverflowException thrown (reported by nickd).
2703
2704 2002-04-22  Miguel de Icaza  <miguel@ximian.com>
2705
2706         * ValueType.cs: Add Serializable attribute.
2707
2708         * String.cs: ifdef-out out the __arglist Concat function until I
2709         add support for that to mcs.
2710
2711 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
2712
2713         * AppDomain.cs (GetValue): usage of the correct icall (bug)
2714
2715 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
2716
2717         * GC.cs: implement most of the methods as icalls.
2718
2719 2002-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2720
2721         * DecimalFormatter.cs (ToString): return correct value when the
2722         decimal number is 0.
2723
2724 2002-04-24      Patrik Torstensson <patrik.torstensson@labs2.com>
2725         
2726         * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
2727         * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
2728
2729 2002-04-24  Nick Drochak  <ndrochak@gol.com>
2730
2731         * Double.cs (Parse): Handle case where there are no digits before the 
2732         decimal point, such as ".1".
2733
2734 2002-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2735
2736         * Int32.cs:
2737         * UInt32.cs:
2738         * Int64.cs:
2739         * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
2740
2741 2002-04-23      Patrik Torstensson <patrik.torstensson@labs2.com>
2742
2743         * String.cs (Split): fixed invalid split of count 0 and 1.
2744         
2745 2002-04-23      Patrik Torstensson <patrik.torstensson@labs2.com>
2746         
2747         * String.cs (LastIndexOf): fixed argument checking.
2748         * String.cs (Equals): made internal for performace.
2749
2750 2002-04-23  Nick Drochak  <ndrochak@gol.com>
2751
2752         * String.cs (Join): check argument and throw exception if needed
2753
2754 2002-04-23  Nick Drochak  <ndrochak@gol.com>
2755
2756         * String.cs (StartsWith): check argument and throw exception if needed
2757
2758 2002-04-22  Nick Drochak  <ndrochak@gol.com>
2759
2760         * String.cs (IndexOfAny): check arguments and throw exceptions as
2761         neccessary.  ALso remove some debug WriteLines.
2762
2763 2002-04-20  Dietmar Maurer  <dietmar@ximian.com>
2764
2765         * String.cs: use internal constructors
2766         buf fix in Concat.
2767
2768 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
2769
2770         * MonoType.cs: make GetElementType its own icall.
2771
2772 2002-04-18  Nick Drochak <ndrochak@gol.com>
2773
2774         * String.cs: Modified file. Re-add methods needed by the unit tests.
2775
2776 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
2777
2778         * String.cs: some code speedups and restored GetTypeCode().
2779
2780 2002-04-17      Patrik Torstensson <patrik.torstensson@labs2.com>
2781
2782         * String.cs: New implementation using internal calls.
2783         
2784 2002-04-16  Nick Drochak  <ndrochak@gol.com>
2785
2786         * DecimalFormatter.cs: Trim off excess null characters from the string
2787         that decimal2string gives back.
2788
2789 2002-04-16  Nick Drochak  <ndrochak@gol.com>
2790
2791         * String.cs (SubString): revert my change.  I can't reproduce the
2792         problem anymore.
2793
2794 2002-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2795
2796         * Attribute.cs: added GetHashCode and Equals.
2797
2798 2002-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2799
2800         * Enum.cs: little improvements to Format ().
2801
2802 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
2803
2804         * String.cs: internalcall GetHashCode().
2805         * Array.cS: optimize access to elements.
2806
2807 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
2808
2809         * String.cs: make IndexOfAny() use an internalcall.
2810
2811 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2812
2813         * Int32.cs:
2814         * UInt32.cs:
2815         * Int64.cs: 
2816         * UInt64.cs: fixed error when testing for validity of flags.
2817
2818 2002-04-11  Nick Drochak  <ndrochak@gol.com>
2819
2820         * Double.cs: Use an internal call for ToString(). This is just a simple
2821         implementation to get away from throwing a NotImplementedException.
2822
2823 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2824
2825         * Int32.cs:
2826         * UInt32.cs:
2827         * Int64.cs: 
2828         * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
2829         lupus.
2830
2831         * Int32.cs:
2832         * Int64.cs: throw an OverFlowException when parsing a string 
2833         containing a dot followed by any non '0' number.
2834
2835 2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2836
2837         * Byte.cs:
2838         * UInt16.cs:
2839         * UInt32.cs:
2840         * UInt64.cs: added complex Parse ().
2841
2842 2002-04-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2843
2844         * SByte.cs:
2845         * Int16.cs:
2846         * Int32.cs:
2847         * Int64.cs: added complex Parse ().
2848
2849 2002-04-09  Nick Drochak  <ndrochak@gol.com>
2850
2851         * Array.cs (BinarySearch): Add checks on paramters before using them
2852         and throw exceptions as needed.
2853
2854         * Enum.cs (Format): Check if [Flags] is applied to enum and convert
2855         "G" format to "F" if so.
2856
2857 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
2858
2859         * MonoCustomAttrs.cs: return arrays of type Attribute[]
2860         instead of object[].
2861
2862 2002/04/09  Nick Drochak <ndrochak@gol.com>
2863
2864         * String.cs (Substring): Copy only non-null characters to the new
2865         string.
2866
2867 2002-04-09  Nick Drochak  <ndrochak@gol.com>
2868
2869         * IntegerFormatter.cs: Don't use a format character to indicate a
2870         custom format was passed in. It was using 'z' to indicate a custom
2871         format, but really it should throw a format exception if the user
2872         tries to use "z" as the format string. Now it does.
2873
2874         * Activator.cs: New File.
2875
2876 2002-04-08  Nick Drochak  <ndrochak@gol.com>
2877
2878         * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
2879         applied to an enum. Need to handle the different possible integer
2880         types of an enum somehow.  Can anyone say generics?
2881
2882 Mon Apr  8 06:22:42  2002 Piers Haken <piersh@friskit.com>
2883
2884         * Convert.cs: switched the To*(object) methods to use
2885         IConvertible directly instead of calling ChangeType
2886
2887 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
2888
2889         * ValueType.cs: make Equals() an internalcall.
2890
2891 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2892
2893         * Type.cs: also look for nested types in FindMembers.
2894         * MonoType.cs: make GetNestedTypes() an internalcall.
2895
2896 2002-04-05  Nick Drochak  <ndrochak@gol.com>
2897
2898         * Enum.cs (Parse): Handle different underlying types.
2899
2900 2002/04/04 Nick Drochak <ndrochak@gol.com>
2901
2902         * Enum.cs (IsDefined): Throw exception when type of value to look for
2903         is not the correct one.  Attempt to have it work with string values
2904         too, but not sure if the unit tests are getting that far yet.
2905
2906 2002-04-04  Nick Drochak  <ndrochak@gol.com>
2907
2908         * Decimal.cs: Fix a couple of typos.
2909
2910 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
2911
2912         * Enum.cs: the values array is of the enum and not of the underlying
2913         type. Updates and some bug fixes.
2914         * MonoType.cs: make the internalcall return FullName instead of the
2915         assembly qualified name.
2916         * Type.cs: make ToString () simply return FullName.
2917
2918 2002-04-03  Nick Drochak  <ndrochak@gol.com>
2919
2920         * Type.cs (GetTypeCode): provide some of the implementation for this
2921         method.  It's still too simplistic to be considered complete.
2922
2923 2002-04-02  Dietmar Maurer  <dietmar@ximian.com>
2924
2925         * Object.cs: fixed FieldGetter/FieldSetter signature
2926
2927 2002-04-02  Nick Drochak  <ndrochak@gol.com>
2928
2929         * Environment.cs: add MonoTODO's on parts that should have it.
2930
2931 2002-04-01  Nick Drochak  <ndrochak@gol.com>
2932
2933         * Enum.cs: added reality checks (check parameters to most methods that
2934         need them).
2935
2936 2002-03-30  Dietmar Maurer  <dietmar@ximian.com>
2937
2938         * Object.cs: added FieldGetter/FieldSetter
2939
2940 2002-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2941
2942         * IntegerFormatter.cs: fixed initialization error in static
2943         constructor.
2944
2945 2002-03-28  Dietmar Maurer  <dietmar@ximian.com>
2946
2947         * Delegate.cs: added new field to store a trampoline function
2948
2949 2002-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2950
2951         * IntegerFormatter.cs: added workaround for bug #22668. First patch to
2952         make custom format strings work (not fully functional yet).
2953
2954 2002/03/28  Nick Drochak <ndrochak@gol.com>
2955
2956         * IntegerFormatter.cs: Change class from internal to public.  Add
2957         necessary [CLSCompliant(false)] attributes.
2958
2959 2002-03-27  Duco Fijma  <duco@lorentz.xs4all.nl>
2960         * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
2961         (was a typo)
2962
2963 2002-03-28  Nick Drochak  <ndrochak@gol.com>
2964
2965         * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
2966
2967 2002-03-27  Dan Lewis  <dihlewis@yahoo.co.uk>
2968
2969         * Console.cs: Modified to get std handles from MonoIO.
2970         * Environment.cs: removed PAL dependencies.
2971
2972 2002-03-25  Miguel de Icaza  <miguel@ximian.com>
2973
2974         * String.cs (System): Removed internal enumeration, because
2975         bootstrapping the corlib at this point does not support
2976         enumerations. 
2977
2978         * IntPtr.cs: Temporary work-around until I fix the assembly
2979         attributes bug.
2980
2981 2002-03-24  Martin Baulig  <martin@gnome.org>
2982
2983         * Enum.cs (GetValues): According to the docu this is sorted after
2984         values, not names.
2985
2986         * String.cs (System): Removed enumeration, because it is pretty
2987         hard to support enumerations in /nostdlib mode for the core types.
2988
2989 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
2990
2991         * Array.cs: move error handling in the catch block.
2992         * MulticastDelegate.cs: remove == and != operators that were
2993         removed with the delegate changes (when you add stuff, please do not
2994         remove existing functionality!).
2995         * Type.cs: if a property is not found in a type, search for it
2996         in the parent types, too.
2997
2998 2002-03-18  Dan Lewis <dihlewis@yahoo.co.uk>
2999         
3000         * Math.cs: changed to use icall instead of PAL.
3001
3002 2002-03-18  Dietmar Maurer  <dietmar@ximian.com>
3003
3004         * Double.cs: added check for NaN (Bug [22082])
3005
3006 2002-03-19  Nick Drochak  <ndrochak@gol.com>
3007
3008         * Enum.cs (Equals): check for null and throw if it is.
3009         * Enum.cs (Format): check for null parameters and throw if necessary.
3010         This method still needs more argument checking.
3011
3012 2002-03-18  Dietmar Maurer  <dietmar@ximian.com>
3013
3014         * Enum.cs (Equals): check if Enums are of the same type
3015
3016 2002-03-18  Nick Drochak  <ndrochak@gol.com>
3017
3018         * Double.cs: Explicitly handle comparisons in CompareTo() for
3019         Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
3020
3021         * Enum.cs(CompareTo): Check types of values before trying to compare.
3022         Throw exceptions if types are invalid or don't match.
3023
3024 2002-03-14  Miguel de Icaza  <miguel@ximian.com>
3025
3026         * Array.cs: Add some extra debugging information.
3027
3028 2002-03-15  Nick Drochak  <ndrochak@gol.com>
3029
3030         * Array.cs: Added IList and IEnumerable. 
3031
3032 2002-03-14  Miguel de Icaza  <miguel@ximian.com>
3033
3034         * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
3035         NonCLSCompliant. 
3036
3037 2002-03-14  Dietmar Maurer  <dietmar@ximian.com>
3038
3039         * Delegate.cs (Equals): also compare method_ptr 
3040         (GetHashCode): returm method_ptr as hash
3041
3042 2002-03-13  Duco Fijma  <duco@lorentz.xs4all.n>
3043         * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
3044         such as 42.ToString("0000000"), as these are (currently) not implemented
3045         in System.IntegerFormatter. TimeSpan luckely can do with Standard
3046         Numeric Format Strings, such as 42.ToString("D7").
3047
3048 2002-03-12  Duncan Mak  <duncan@ximian.com>
3049
3050         * FieldAccessException.cs: 
3051         * MethodAccessException.cs: 
3052         * PlatformNotSupportedException.cs: Inherit from
3053         MemberAccessException, not SystemException.
3054
3055         * ObsoleteAttribute.cs: Made Message and IsError properties
3056         instead of fields.
3057
3058 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
3059
3060         * GC.cs: make SuppressFinalize() a nop.
3061         * Delegate.cs: fix == operator.
3062
3063 2002-03-13  Nick Drochak  <ndrochak@gol.com>
3064
3065         * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
3066         runtime that goes with this patch.
3067
3068 2002-03-10  Martin Baulig  <martin@gnome.org>
3069
3070         * Int32.cs (Parse): Correctly parse negative numbers.
3071
3072 2002-03-08  Martin Baulig  <martin@gnome.org>
3073
3074         * String.cs (Split): Really fix it this time. Also adding several new
3075         testcase to the testsuite.       
3076
3077 2002-03-08  Martin Baulig  <martin@gnome.org>
3078
3079         * Array.cs (Copy): Optimized: removed duplicate null check, removed
3080         two duplicate GetLowerBound() calls and one duplicate IsValueType.
3081
3082 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
3083
3084         * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
3085         * String.cs: use the dumb code for IndexOf(string): this is worth
3086         15-20 % speedup in mcs compile with mint.
3087
3088 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
3089
3090         * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
3091
3092 2002-03-07  Martin Baulig  <martin@gnome.org>
3093
3094         * String.cs (Join): Throw an ArgumentNullException.
3095         (LastIndexOf (string,int,int)): This method does a backwards search,
3096         so startIndex points to the end of value, not to its beginning. Don't
3097         throw an exception if startIndex equals this.Length. Always return -1
3098         if startIndex is smaller than the length of value.
3099         (Replace (string,string)): Replace all occurences of oldValue.
3100         If newValue is null, all occurences of oldValue are to be removed.
3101         (Split (char[],int)): Return an empty array if maxCount is zero, throw
3102         an ArgumentOutOfRangeException if it's less than zero. Return maxValue
3103         elements, not maxValue+1.
3104
3105 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
3106
3107         * MonoType.cs: make GetEvents() an internal call.
3108         * MulticastDelegate.cs: copy the passed in array.
3109
3110 2002-03-06  Martin Baulig  <martin@gnome.org>
3111
3112         * Array.cs (Copy): Use FastCopy when appropriate and do correct
3113         exception handling.
3114
3115 2002-03-06  Duco Fijma  <duco@lorentz.xs4all.nl>
3116         * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing 
3117         some of the failures found be new tests (see ChangeLog in 
3118         Test/System). Comments added to this method, based on
3119         the representation invariant of this class, that (try to) explain
3120         why it now should be correct.
3121
3122 2002-03-06  Dietmar Maurer  <dietmar@ximian.com>
3123
3124         * Int64.cs (Parse): bug fix for max. negative value. 
3125
3126 2002-03-07  Nick Drochak  <ndrochak@gol.com>
3127
3128         * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
3129         I need to understand what the difference between the attribute and
3130         the interface is.
3131
3132 2002-03-06  Martin Baulig  <martin@gnome.org>
3133
3134         * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
3135         an InvalidCastException if the widening conversion failed. See
3136         testcases #M94-#M96.
3137
3138         * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
3139         arrays with non-zero lower bounds. Also adding testcases #F10-#F13
3140         for this.
3141
3142         * Array.cs (CopyTo): Reverted my last change, it was incorrect.
3143         (Copy): Actually allow copying multi-dimensional arrays.
3144
3145 2002-03-05  Duncan Mak  <duncan@ximian.com>
3146
3147         * Convert.cs:
3148         (DBNull) Added the missing field.
3149         (IsDBNull) Fixed typo.
3150         (ToByte (string, int)) Implemented.
3151         (ToString (byte, int)) Implemented.
3152         (ConvertToBase)
3153         (BuildConvertedString) internal functions used for converting values to
3154         a specific base.
3155
3156         * Int16.cs: 
3157         * Int32.cs:
3158         * Int64.cs:
3159         * Single.cs:
3160         * UInt16.cs: 
3161         * UInt32.cs: Implemented the IConvertible interface.    
3162
3163         * CharEnumerator.cs: Renamed to variables to be clearer and
3164         changed some of the tests to conform to the 1.0 spec.
3165
3166 2002-03-06  Martin Baulig  <martin@gnome.org>
3167
3168         * Array.cs (Copy): Calculate absolute array position here and use
3169         GetValueImpl() and SetValueImpl() with that position. We can now
3170         copy multi-dimensional arrays.
3171         (CopyTo): Small bug fix.
3172
3173 2002-03-05  Duco Fijma  <duco@lorentz.xs4all.nl>
3174
3175         * Version.cs: CompareTo changed according the LAMESPEC discovered by 
3176         Nick (See VersionTest.cs).
3177         * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
3178         error comparing the current position (idx) against the length of the
3179         string iterated and it set idx to an unrecognized special value (-2)
3180
3181 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
3182
3183         * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
3184         to do this dirty work, but someone has to do it (and I need it to pass
3185         the "200 sample tests compiled on linux" mark).
3186
3187 2002-03-06  Nick Drochak  <ndrochak@gol.com>
3188
3189         * Attribute.cs
3190         * DecimalFormatter.cs
3191         * Delegate.cs
3192         * Double.cs
3193         * GC.cs
3194         * Int16.cs
3195         * Int32.cs
3196         * MonoType.cs
3197         * RuntimeMethodHandle.cs
3198         * RuntimeTypeHandle.cs
3199         * String.cs
3200         * Type.cs:
3201                 Add [MonoTODO]'s to places where we currently throw a
3202                 NotImplementedException.
3203
3204 2002-03-05  Dietmar Maurer  <dietmar@ximian.com>
3205
3206         * Int16.cs (Parse): do not overflow on max negative value
3207
3208         * Int32.cs (Parse): do not overflow on max negative value
3209
3210 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
3211
3212         * Type.cs: fixed IsClass.
3213         * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
3214         IsByRefImpl. Added GetInterfaces().
3215         * IServiceProvider.cs: compilation fix.
3216
3217 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
3218
3219         * Array.cs: allow copying an empty array to an empty array.
3220
3221 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
3222
3223         * String.cs: fixed LastIndexOf (string) to do a bit of argument
3224         checking.
3225
3226 2002-03-04  Duco Fijma  <duco@lorentz.xs4all.nl>
3227         * Version.cs: many fixes to failures found by the newly created
3228         test cases for this class. Specifically, the CompareTo member
3229         returned wrong values due to the use of Int32.MaxValue as a special
3230         value indicating an "undefined" version component. Also implemented the
3231         missing operators (==, <, >, etc.), one missing constructor and
3232         and some exception throwing.
3233
3234 2002-03-04  Nick Drochak  <ndrochak@gol.com>
3235
3236         * IServiceProvider.cs: Add missing attribute: ComVisible(false)
3237         * Attribute.cs: Add missing attributes: Serializable and
3238         AttributeUsage(AttributeTargets.All)
3239
3240 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
3241
3242         * MonoType.cs: implemented GetConstructors(), GetFields(),
3243         GetMethods(), GetProperties().
3244         * Object.cs: added debugging icall obj_address().
3245         * Type.cs: fixed the binding flags for some Get* methods.
3246         Implemented FindMembers() as calls to the specific GetMember
3247         methods.
3248
3249 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
3250         * BitConverter.cs: fixed one little bug: ToString(s, n, 0) 
3251         should give an exception for n>=s.Length.
3252
3253 2002-03-01  Martin Baulig  <martin@gnome.org>
3254
3255         * Array.cs: More argument checking and bug fixing.
3256
3257 2002-03-01  Miguel de Icaza  <miguel@ximian.com>
3258
3259         * BitConverter.cs: Indentation match
3260
3261         * AppDomain.cs: Added MonoTODOs to this too.
3262
3263         * Buffer.cs: Added MonoTODOs to this.
3264
3265 2002-03-01  Martin Baulig  <martin@gnome.org>
3266
3267         * Array.cs: Added argument checking to all methods where it was missing.
3268
3269 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
3270
3271         * BitConverter.cs: Fixed bugs in ToString methods
3272
3273 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
3274
3275         * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
3276
3277 2002-03-01  Nick Drochak  <ndrochak@gol.com>
3278
3279         * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
3280         ArgumentOutOfRangeException like the docs say.
3281
3282 2002-03-01  Martin Baulig  <martin@gnome.org>
3283
3284         * Enum.cs (CompareTo): Correctly override this method from IComparable.
3285
3286         * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
3287
3288 2002-02-28  Martin Baulig  <martin@gnome.org>
3289
3290         * String.cs: This file now passes the testsuite on Linux :-)
3291         
3292         * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
3293         make them private and provide C# wrappers which do proper argument checking.
3294
3295         * String.cs (Format): Correctly handle escaped brackets.
3296
3297         * String.cs (_CompareChar): New internal function which compares two chars.
3298         (_Compare): Provide an internal compare method which can do all sorts of
3299         comparision and call it from all the Compare() methods. Also fixed a lot of
3300         bugs here, this code now actually passes the testsuite.
3301
3302 2002-02-28  Duncan Mak  <duncan@ximian.com>
3303
3304         * Convert.cs: Added the missing methods. The new class status page
3305         kicks ass, it even found my typos! Woohoo!
3306         (ConvertFromBase): Moved the Exception throwing in here and
3307         removed the other occurances so it's all centralized now.
3308         (ISDBNull): Implemented.
3309         (GetTypeCode): Implemented.
3310
3311 2002-02-27  Duco Fijma  <duco@lorentz.xs4all.nl>
3312         * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D") 
3313         just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
3314         states that a lacking format should be interpreted as "N".  
3315         Also added [Serializable] attribute
3316         * TimeSpan.cs: some formatting and added the [Serializable] attribute
3317
3318 2002-02-26  Duncan Mak  <duncan@ximian.com>
3319
3320         * WeakReference.cs: Committed for Ajay Kumar Dwivedi.   
3321
3322 2002-02-26  Martin Baulig  <martin@gnome.org>
3323
3324         * TimeZone.cs: Use an internal enum rather than magic numbers to access the
3325         fields of the interncall GetTimeZoneData.
3326
3327         * DateTime.cs: Implemented Parse and fixed a few bugs.
3328
3329         * String.cs (TrimStart): Small fix.
3330
3331 2002-02-26  Martin Baulig  <martin@gnome.org>
3332
3333         * DateTime.cs: ParseExact is now fully functional.
3334
3335         * String.cs (TrimEnd): Small fix.
3336
3337 2002-02-26  Duco Fijma <duco@lorentz.xs4all.nl>
3338         * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously 
3339         missing for about six months.
3340
3341 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
3342
3343         * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
3344
3345 2002-02-26  Martin Baulig  <martin@gnome.org>
3346
3347         * DateTime.cs: Miguel already committed this, but there was still a
3348         ChangeLog entry for this missing ....
3349         We're now reusing functionality from TimeSpan, printing dates is
3350         fully implemented, currently working on parsing.
3351
3352         * TimeZone.cs: Fully implemented this. There's a new InternCall in the
3353         runtime for this.
3354
3355 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
3356
3357         * MonoType.cs: disable constructor.
3358         * Object.cs: make GetType() an internalcall.
3359         * Type.cs: added correct bindingflags to GetMethods ().
3360         All such calls should be reviewed to use the correct flags.
3361
3362 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
3363
3364         * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
3365         argument.
3366
3367 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
3368
3369         * Type.cs: implemented IsAssignableFrom.
3370
3371 2002-02-21  Duco Fijma <duco@lorentz.xs4all.nl>
3372         * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
3373         "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}" 
3374         to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}" 
3375         The former is documented by Microsoft. The latter is how they
3376         actually implemented it in mscorlib:-)
3377
3378 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
3379
3380         * MonoCustomAttrs.cs: hooks to get the custom attributes from the
3381         runtime.
3382         * MonoType.cs: Implemented custom attributes methods.
3383
3384
3385 2002-02-21  Duco Fijma <duco@lorentz.xs4all.nl>
3386         * Guid.cs: 
3387
3388 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
3389
3390         * MonoCustomAttrs.cs: hooks to get the custom attributes from the
3391         runtime.
3392         * MonoType.cs: Implemented custom attributes methods.
3393
3394 2002-02-19  Dietmar Maurer  <dietmar@ximian.com>
3395
3396         * Array.cs (CopyTo): use GetLength() instead of GetUpperBound() 
3397
3398 2002-02-19  Duncan Mak  <duncan@ximian.com>
3399
3400         * Convert.cs: Finished up the missing methods in Convert. Added a
3401         new private method ConvertFromBase.
3402
3403 2002-02-19  Dietmar Maurer  <dietmar@ximian.com>
3404
3405         * String.cs: impl. IConvertible interface
3406
3407 2002-02-18  Duco Fijma <duco@lorentz.xs4all.nl>
3408         * Guid.cs: actual implementation for Guid.Guid(string) Ctor
3409
3410 2002-02-18  Duncan Mak  <duncan@ximian.com>
3411
3412         * Convert.cs: Changed from using Type.GetType (string) to just
3413         typeof (). Probably will speed things up a bit?         
3414
3415 2002-02-18  Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
3416
3417         * Array.cs:         
3418         1. Fix for GetUpperBound to return correct values
3419         2. made some Properties virtual
3420         3. Adds IsFixedSize and IsReadOnly properties.
3421         4. changes CreateInstance(Type,int[],int[]) to throw Exception
3422         when third arg is null. InternalCall CreateInstance changed to  
3423         CreateInstanceImpl
3424         5. Fixed array.GetUpperBound at a couple of places
3425         6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
3426         7. Added two FIXME's in BinarySearch functions.
3427
3428 2002-02-17  Duncan Mak  <duncan@ximian.com>
3429
3430         * TimeZone.cs:  Applied the rest of Ajay's patch for    
3431         IsDaylightSavingTime. Thanks a lot for the nice explanation of how
3432         it works!
3433
3434 2002-02-17  Duco Fijma  <duco@lorentz.xs4all.nl>
3435         * Guid.cs: added stub for Guid(string) ctor
3436
3437 2002-02-17  Duncan Mak  <duncan@ximian.com>
3438
3439         * Convert.cs: Near-complete implementation of Convert.cs
3440
3441         Added all the To* methods taking (object) and
3442         (object, IFormatProvider) as parameters.
3443
3444         Added [CLSCompliant (false)] attributes to methods dealing with
3445         unsigned types.
3446
3447         Added the missing section on converting to and from DateTime. Only
3448         6 missing methods, all marked with MonoTODOs. Will tackle them later.           
3449
3450 2002-02-16  Duncan Mak  <duncan@ximian.com>
3451
3452         * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
3453         make IsDaylightSavingTime (DateTime) call 
3454         IsDaylightSavingTime (DateTime, DaylightTime).  
3455         
3456         Added internal class CurrentTimeZone from Ajay. It needs more work
3457         to fill in the appropriate internal calls.
3458         
3459 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
3460
3461         * Type.cs: fix IsClass.
3462
3463 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
3464
3465         * String.cs: fix Trim().
3466
3467 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
3468
3469         * String.cs: fix more off by one errors.
3470
3471 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
3472
3473         * MonoType.cs: fix IsValueTypeImpl.
3474         * Type.cs: fix IsEnum. Implement Equals methods.
3475
3476 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
3477
3478         * Int32.cs: implement IConvertible interface.
3479         
3480 2002-02-12  Duncan Mak  <duncan@ximian.com>
3481
3482         * TimeZone.cs: Implemented and added to CVS.
3483
3484 2002-02-11  Duncan Mak  <duncan@ximian.com>
3485
3486         * Convert.cs: Implemented the ChangeType () methods.
3487
3488 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
3489
3490         * Array.cs: make Clone() an internal call.
3491
3492 2002-02-09  Duco Fijma <duco@lorentz.xs4all.nl>
3493         * Changed Guid.NewGuid so that it can use both System.Random and 
3494           System.Security.Cryptography.RandomNumberGenerator
3495
3496 2002-02-09  Duco Fijma <duco@lorentz.xs4all.nl>
3497         * First version of Guid.NewGuid
3498
3499 2002-02-08  Duncan Mak  <duncan@ximian.com>
3500
3501         * RuntimeArgumentHandle.cs: Added to CVS.
3502
3503 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
3504
3505         * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
3506         UnhandledExceptionEventHandler.cs: added delegates.
3507
3508 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
3509
3510         * MarshalByRefObject.cs: add ToString () method
3511         (apparently needed by nunit).
3512         * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
3513         by it in the runtime.
3514
3515 2002-02-08  Dan Lewis <dihlewis@yahoo.co.uk>
3516         
3517         * String.cs (Format): implemented
3518
3519 2002-02-07  Duncan Mak  <duncan@ximian.com>
3520         
3521         * DuplicateWaitObjectException:
3522         * InvalidCastException:
3523         * NotImplementedException:
3524         * NotSupportedException:
3525         * NullReferenceException:
3526         * OutOfMemoryException:
3527         * OverflowException:
3528         * RankException:
3529         * StackOverflowException.cs:
3530         * UnauthorizedAccessException: Added missing constructor used for serialization.
3531
3532 2002-02-07  Dietmar Maurer  <dietmar@ximian.com>
3533
3534         * String.cs (System.Compare): bug fix 
3535
3536 2002-02-06  Dietmar Maurer  <dietmar@ximian.com>
3537
3538         * Enum.cs (Parse,  GetHashCode): impl. 
3539
3540 2002-02-05  Duncan Mak  <duncan@ximian.com>
3541
3542         * DBNull.cs: This is my first crack at the DBNull class. I think I
3543         actually got most of the IConvertible methods right, but I haven't
3544         done the research to test whether or not this is the correct
3545         behavior. IConvertible.ToType () is the most iffy of all, IMHO.
3546
3547         * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
3548
3549 2002-02-05  Dietmar Maurer  <dietmar@ximian.com>
3550
3551         * Enum.cs: added more functionality (GetName, ToObject, Equals)
3552
3553 2002-01-31  Duncan Mak  <duncan@ximian.com>
3554
3555         * InvalidOperationException.cs:
3556         * NotFiniteNumberException.cs:
3557         * ObjectDisposedException.cs:
3558         * TypeInitializationException.cs: Added missing bits for serialization/
3559         
3560         * AppDomainUnloadedException.cs:
3561         * ApplicationException.cs:
3562         * ArgumentOutOfRangeException.cs:
3563         * ArithmeticException.cs:
3564         * ArrayTypeMismatchException:
3565         * BadImageFormatException.cs:
3566         * Exception.cs:
3567         * MissingMemberException.cs:
3568         * TypeLoadException.cs: Added missing bits for serialization.
3569
3570 2002-01-30  Duco Fijma <duco@lorentz.xs4all.nl>
3571         * Guid.cs: implemented everything but Guid.NewGuid
3572
3573 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
3574
3575         * _AppDomain.cs: remove ToString() method: it doesn't seem right 
3576         to have it in this interface and it screws up the method vtable setup.
3577
3578 2002-01-28  Andrei Zmievski <andrei@php.net>
3579
3580         * Double.cs: implemented IConvertible interface.
3581
3582 2002-01-28  Miguel de Icaza  <miguel@ximian.com>
3583
3584         * ArgumentException.cs: Implement serialization constructor.
3585         (GetObjectData): Implement serializer.
3586         
3587         * ArgumentNullException.cs: Implement serialization constructor.
3588
3589         * Exception.cs: Implement serialization constructor.
3590         (GetObjectData): Implement serializer.
3591
3592 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
3593
3594         * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
3595
3596 2002-01-23  Duncan Mak  <duncan@ximian.com>
3597
3598         * EntryPointNotFoundException.cs:
3599         * FormatException: Added missing constructor and related bits.
3600
3601         * TypeLoadException: Added missing constructor, methods and properties.
3602
3603 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
3604
3605         * AppDomain.cs (GetAssemblies): Use foreach construct instead of
3606         manually getting the enumerator.
3607
3608         (AppDomain.AppDomain): Prime the loaded assemblies with the
3609         assemblies loaded by the runtime in our behalf.
3610
3611         * AppDomainSetup.cs: Remove private keyword, that is the default.
3612         Add a new property DisallowPublisherPolicy.
3613
3614         * AppDomain.cs (AppDomain.GetAssemblies): Implement.
3615
3616 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
3617
3618         * MonoType.cs, Type.cs: many updates, corrected implementation,
3619         completed stubs.
3620
3621 2002-01-20  Andrei Zmievski <andrei@php.net>
3622
3623         * Byte.cs:
3624         * Char.cs: implemented IConvertible interface.
3625
3626         * Boolean.cs: use our own ToString() method directly.
3627
3628 2002-01-20  Duncan Mak  <duncan@ximian.com>
3629
3630         * Files I commited recently: Fixed indentation style.
3631
3632 2002-01-20 Nick Drochak  <ndrochak@gol.com>
3633
3634         * SerializableAttribute.cs: this attrib can be used on enums, structs, 
3635         and delegates too. Added the appropriate usage flags.
3636
3637 2002-01-18  Duncan Mak  <duncan@ximian.com>
3638
3639         * CharEnumerator.cs: Implemented.
3640         * String.cs (System): Fixed the GetEnumerator () method(s).
3641
3642         * ObsoleteAttribute.cs:
3643         * STAThreadAttribute.cs:
3644         * MTAThreadAttribute.cs:
3645         * ThreadStaticAttribute.cs:
3646         * LoaderOptimizationAttribute.cs:
3647         * PlatformNotSupportedException.cs:
3648         * LoaderOptimization.cs: Added to CVS.
3649
3650 2002-01-18  Duncan Mak  <duncan@ximian.com>
3651
3652         * AppDomainUnloadedException.cs:
3653         * MethodAccessException.cs:
3654         * ContextMarshalException.cs:
3655         * CannotUnloadAppDomainException.cs:
3656         * DllNotFoundException.cs:
3657         * EntryPointNotFoundException.cs:
3658         * FieldAccessException.cs:
3659         * TypeUnloadedException.cs:
3660         * MissingFieldException.cs: Added to CVS.
3661
3662         * ApplicationException.cs: 
3663         * MemberAccessException.cs:
3664         * MissingMemberException.cs
3665         * MissingMethodException.cs:
3666         * SystemException.cs: Added [Serializable] attribute.
3667
3668         * Exception.cs: Added [Serializable] attribute, made properties
3669         'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
3670         spec.
3671
3672         * ContextStaticAttribute.cs: Added [Serializable] attribute and
3673         put in the missing constructor.
3674
3675         * Environment.cs: Commented out references to
3676         EnvironmentPermissionAttribute, because they're just stubbed out
3677         right now and has no implementation.
3678
3679 2002-01-16  Andrei Zmievski <andrei@php.net>
3680
3681         * Boolean.cs: implemented IConvertible interface
3682
3683 2002-01-15  Nick Drochak  <ndrochak@gol.com>
3684
3685         * ResolveEventArgs.cs: class should derive from EventArgs.
3686
3687 2002-01-14  Miguel de Icaza  <miguel@ximian.com>
3688
3689         * String.cs (System): Use DefaultMemberName for the String class.
3690
3691 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
3692
3693         * String.cs: use IndexerName in index char accessor.
3694
3695 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
3696
3697         * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
3698         * String.c: eliminate 64k+ method calls in search.
3699         * Type.cs: handle byref and array types in ToString ().
3700
3701 2002-01-09  Duco Fijma <duco@lorentz.xs4all.nl>
3702
3703         * Guid.cs: created first version
3704
3705 2002-01-10  Dietmar Maurer  <dietmar@ximian.com>
3706
3707         * MonoType.cs: added missing TypeAttributes to MonoTypeInfo 
3708
3709 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
3710
3711         * MulticastDelegate.cs: add == and != operator stubs.
3712         * String.cs: check for null in == operator.
3713         * Type.cs: use a virtual method to get TypeAttributes.
3714
3715 Tue Jan  8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
3716         * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
3717
3718 2002-01-09  Nick Drochak  <ndrochak@gol.com>
3719         
3720         * Environment.cs: Comment out Security attribute and put a MonoTODO
3721         there as a reminder.  We need mcs magic to handle security attributes in
3722         corlib.
3723
3724 2002-01-07  Duco Fijma <duco@lorentz.xs4all.nl>
3725         * Created IAppDomainSetup.cs
3726
3727 2002-01-06  Duco Fijma <duco@lorentz.xs4all.nl>
3728         * Created System._AppDomain interface in _AppDomain.cs
3729
3730 2002-01-06  Nick Drochak  <ndrochak@gol.com>
3731
3732         * ResolveEventArgs.cs: New File, completely implemented! ;)
3733
3734 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
3735
3736         * Enum.cs: dummy ToString impl.
3737         * String.cs: dummy format implementations to get compiler errors
3738         somewhat working.
3739         * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
3740
3741 2002-01-05  Ravi Pratap  <ravi@ximian.com>
3742
3743         * TODOAttribute.cs : Augment some more; provide two constructors
3744         with support for a comment too.
3745
3746 2002-01-05  Nick Drochak  <ndrochak@gol.com>
3747
3748         * Uncommented those MonoTODO's now that Ravi's got
3749         the class in there
3750
3751 2001-01-04  Ravi Pratap  <ravi@ximian.com>
3752
3753         * TODOAttribute.cs : Actually add this time ;-)
3754
3755         Change name to MonoTODO.
3756
3757 2002-01-04  Jeffrey Stedfast  <fejj@ximian.com>
3758
3759         * String.cs (Trim): Fixed a few logic bugs in the code that
3760         calculated how much to trim off the end of the string.
3761
3762 2001-01-04  Nick Drochak  <ndrochak@gol.com>
3763         
3764         * Commented out the [TODO] attributes for now.  We don't have the
3765         class written.  Also changed it to [MonoTODO]
3766
3767 2002-01-04  Ravi Pratap  <ravi@ximian.com>
3768
3769         * TODOAttribute.cs : Add. We use this attribute to tag all bits in
3770         our class libraries that are incomplete.
3771
3772         * Array.cs : Apply attribute wherever we find a FIXME which says
3773         we need something to be implemented there.
3774
3775         * Int32.cs : Ditto.
3776
3777         * MulticastDelegate.cs : Ditto.
3778
3779         * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
3780         RuntimeTypeHandle.cs : Ditto.
3781
3782         * String.cs : Ditto.
3783
3784         * Type.cs : Ditto.
3785
3786         * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
3787
3788         * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs, 
3789         UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
3790
3791         * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
3792         Delegate.cs : Ditto.
3793
3794         * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
3795         Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
3796         
3797 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
3798
3799         * Delegate.cs: add Remove() stub.
3800         * Enum.cs: add ToObject().
3801         * Type.cs: add IsEnum property.
3802
3803 2002-01-03  Kristian Rietveld  <kris@gtk.org>
3804
3805         * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
3806         DateTime and object.
3807
3808 2001-12-30  Nick Drochak  <ndrochak@gol.com>
3809
3810         * Byte.cs (Parse): Add comments to aid in testing.
3811
3812 2001-12-21  Miguel de Icaza  <miguel@ximian.com>
3813
3814         * Char.cs (Parse): Implement.
3815
3816         * Byte.cs (Parse): Implement a fast parser.
3817         
3818         * SByte.cs (Parse): Implement a fast parser.
3819
3820         * UInt16.cs (Parse): Implement a fast parser.
3821         
3822         * Int16.cs (Parse): Implement a fast parser.
3823
3824         * UInt32.cs (Parse): Implement a fast parser.
3825
3826         * Int32.cs (Parse): Implement a fast parser.
3827
3828 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
3829
3830         * Array.cs: fix null ref in sort code.
3831         * UInt64.cs: add bare-bones parse.
3832
3833 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
3834         
3835         * Byte.cs: removed use of Regexes.
3836
3837 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
3838
3839         * Enum.cs: implemented GetValues(), GetNames(), GetName(),
3840         IsDefined(), GetUnderlyingType().
3841         * String.cs: fix one instance of Compare().
3842         * Type.cs: implemented GetProperties(), GetProperty().
3843
3844 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
3845
3846         * Array.cs: implement CopyTo ().
3847         * Char.cs: implement ToString ().
3848         * Exception.cs: bugfix.
3849         * Int32.cs: bare-bones Parse ().
3850         * MonoType.cs: query the needed info with an internalcall.
3851         * String.cs: speedups, bugfixes, reduced copies.
3852         * Type.cs: added missing fields. Implemented many of the Is*
3853         properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
3854         GetFields(), FindMembers(), ToString().
3855         
3856 2001-12-11  Dick Porter  <dick@ximian.com>
3857
3858         * DateTime.cs: Implemented FromFileTime() and ToFileTime()
3859
3860         * Console.cs: Use handles rather than casting file descriptors
3861
3862 2001-12-08  Nick Drochak  <ndrochak@gol.com>
3863
3864         * Byte.cs (Parse): Start implementation. Parse(string) works, but
3865         now we need to handle other formats
3866
3867 2001-12-06  Dietmar Maurer  <dietmar@ximian.com>
3868
3869         * DateTime.cs: added an icall to GetNow()
3870
3871 2001-12-04  Dietmar Maurer  <dietmar@ximian.com>
3872
3873         * Double.cs: added the parse method from Bob Smith
3874
3875 2001-11-28  Miguel de Icaza  <miguel@ximian.com>
3876
3877         * UInt64.cs: ditto.
3878
3879         * UInt32.cs: ditto.
3880
3881         * Int32.cs (Int32.CompareTo): Fix because we can not just
3882         substract the values.
3883
3884         Return possitive value if the object is null.
3885
3886         * Boolean.cs: (Boolean.CompareTo): ditto.
3887
3888         * Int16.cs (Int16.CompareTo): ditto.
3889
3890         * Byte.cs (Byte.CompareTo): ditto.
3891
3892         * SByte.cs (SByte.CompareTo): ditto.
3893
3894         * Char.cs (Char.CompareTo): ditto.
3895         
3896         * Decimal.cs (Decimal.CompareTo): ditto.
3897
3898         * Int64.cs (Int64.CompareTo): ditto.
3899
3900         * Single.cs: Ditto.
3901
3902         * UInt16.cs: Ditto.
3903
3904 2001-11-28  Nick Drochak <ndrochak@gol.com>
3905
3906         * Byte.cs: Throw NotImplementedException for Parse.
3907
3908 2001-11-27  Derek Holden  <dholden@draper.com>
3909
3910         * IntegerFormatter.cs: Formatting of type "Number" was not
3911         using NumberFormatInfo.NumberNegativePattern.
3912
3913 2001-11-26  Dick Porter  <dick@ximian.com>
3914
3915         * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
3916         the finalise routine any more
3917
3918 2001-11-21  Miguel de Icaza  <miguel@ximian.com>
3919
3920         * ApplicationException.cs: internationalize by adding calls to
3921         Locale.GetText ().  And throw NotImplementedExceptions on calls
3922         that we have to implement.
3923
3924         * Version.cs: Ditto.
3925
3926         * ValueType.cs: ditto.
3927
3928         * UnauthorizedAccessException.cs: ditto.
3929
3930         * UInt32.cs: ditto.
3931
3932         * UInt64.cs: ditto.
3933
3934         * UInt16.cs: ditto.
3935
3936         * TypeLoadException.cs: ditto
3937
3938         * TypeInitializationException.cs: ditto.
3939
3940         * Type.cs: ditto.
3941
3942         * TimeSpan.cs: ditto.
3943
3944         * SystemException.cs: ditto.
3945
3946         * String.cs: ditto.
3947
3948         * StackOverflowException.cs: ditto.x
3949
3950         * Single.cs: ditto.
3951
3952         * SByte.cs: ditto.
3953
3954         * RuntimeTypeHandle.cs: ditto.
3955
3956         * RuntimeMethodHandle.cs: ditto.
3957
3958         * RuntimeFieldHandle.cs: ditto.
3959
3960         * Random.cs: ditto.
3961
3962         * OutOfMemoryException.cs: ditto.
3963
3964         * OperatingSystem.cs: ditto.
3965
3966         * ObjectDisposedException.cs: ditto.
3967
3968         * NullReferenceException.cs: ditto.
3969
3970         * NotImplementedException.cs: ditto.
3971
3972         * NotFiniteNumberException.cs: ditto.o
3973
3974         * MulticastNotSupportedException.cs: ditto.
3975
3976         * MissingMethodException.cs: ditto.
3977
3978         * MemberAccessException.cs: ditto.
3979
3980         * Math.cs: ditto.
3981
3982         * InvalidCastException.cs: ditto.
3983
3984         * IntegerFormatter.cs: ditto.
3985
3986         * Int32.cs: ditto.
3987
3988         * Int16.cs: ditto.
3989
3990         * IndexOutOfRangeException.cs: ditto.
3991
3992         * Environment.cs: ditto
3993
3994         * Enum.cs: ditto.
3995
3996         * DuplicateWaitObjectException.cs: ditto.
3997
3998         * DivideByZeroException.cs: ditto.
3999
4000         * Delegate.cs: ditto
4001
4002         * DecimalFormatter.cs: ditto.
4003
4004         * Decimal.cs: ditto.
4005
4006         * DateTime.cs: ditto.
4007
4008         * Convert.cs: ditto.
4009
4010         * Char.cs: ditto.
4011
4012         * Byte.cs: ditto.
4013
4014         * Boolean.cs: ditto.
4015
4016         * ArrayTypeMismatchException.cs: ditto.
4017
4018         * ArithmeticException.cs: ditto.
4019
4020         * ArgumentOutOfRangeException.cs: ditto.
4021
4022         * ArgumentNullException.cs: ditto.
4023
4024         * Enum.cs: Make it derive from ValueType, add CompareTo method.
4025
4026         * Attribute.cs: Reformat.
4027
4028 2001-11-14  Miguel de Icaza  <miguel@ximian.com>
4029
4030         * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
4031         UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
4032         exception if the value is null too.
4033
4034         * Char.cs (CompareTo): ditto.
4035
4036         * ApplicationException.cs: Added constructor that does serialization.
4037
4038         * ParamArrayAttribute.cs: Define attribute correctly.
4039
4040 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
4041
4042         * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
4043         * Array.cs: fix Array.Copy.
4044         * AssemblyLoadEventArgs.cs: rename field.
4045         * CLSCompliantAttribute.cs: use correct name for the class.
4046         * Char.cs: fix IsLetter.
4047         * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
4048         SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
4049         * Convert.cs: CLSCompliant updates, add ChangeType() methods.
4050         * Delegate.cs: renamed target field to m_target.
4051         * Enum.cs: added missing methods.
4052         * MonoType.cs: add a constructor and some needed properties.
4053         * Object.cs: implement GetType().
4054         * String.cs: CLSCompliant updates. Fixes everywhere to remove the
4055         ending 0 char.
4056         * Type.cs: add missing methods/properties.
4057
4058 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
4059
4060         * AttributeUseage.cs: Should define AttributeUsageAttribute.
4061
4062         * CLSCompliant.cs: Marked with AttributeUsage attribute.
4063
4064         * Decimal.cs: Fixed CLSCompliant attributes.
4065
4066         * Type.cs: changed _impl to internal (needs to be accessable by
4067         subclasses).
4068
4069         (TypeHandle): Marked as abstract, implementation removed.
4070
4071         (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
4072         GetMethod): Added stub implementations so NUnit would link against
4073         corlib
4074
4075 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
4076
4077         * AppDomain.cs: use an internal constructor for AssemblyBuilder.
4078
4079 2001-11-05  Miguel de Icaza  <miguel@ximian.com>
4080
4081         * NonSerializedAttribute.cs: Add AttributeUsage rules for this
4082         attribute. 
4083
4084 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
4085
4086         * String.cs: fix a couple of bugs.
4087         * AppDomain.cs: use new AppBuilder constructor.
4088         * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
4089         NotImplementedException.cs, ObjectDisposedException.cs,
4090         UnauthorizedAccessException.cs: add implementation.
4091         * OverflowException.cs: fix class name.
4092
4093 2001-10-28  Jeffrey Stedfast  <fejj@ximian.com>
4094
4095         * String.cs: Don't use a terminating nil char for our internal
4096         array.
4097
4098 2001-10-27  Miguel de Icaza  <miguel@ximian.com>
4099
4100         * Delegate.cs (Delegate.CombineImpl): Implement.
4101         (Delegate.Combine): Implement.
4102
4103         * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
4104
4105         (MulticastDelegate.CombineImpl): This was not as trivial as I
4106         thought. 
4107
4108         * ContextStaticAttribute.cs: Added AttributeUsage to
4109         ContextStaticAttribute. 
4110
4111         * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
4112
4113 2001-10-15  Martin Weindel <martin.weindel@t-online.de>
4114
4115         * added Decimal.cs * added DecimalFormatter.cs (internal class
4116         used from System.Decimal)
4117
4118 2001-10-11  Thomas Neidhart <tome@sbox.tugraz.at>
4119
4120         * Convert.cs: Added methods for Base64 transforming just used the
4121           existing System.Security.Cryptography.ToBase64Transform, should
4122           be changed to use a stand-alone class, e.g. Base64Encoder
4123           
4124 2001-10-10  Derek Holden  <dholden@draper.com>
4125
4126         * IntegerFormatter.cs: Added. Implements ToString for all the
4127         integer data types for all the format types.
4128
4129         * Byte.cs: Using IntegerFormatter for ToString's.
4130
4131         * SByte.cs: Using IntegerFormatter for ToString's.
4132
4133         * Int16.cs: Using IntegerFormatter for ToString's.
4134
4135         * Int32.cs: Using IntegerFormatter for ToString's.
4136
4137         * Int64.cs: Using IntegerFormatter for ToString's.
4138
4139         * UInt16.cs: Using IntegerFormatter for ToString's.
4140
4141         * UInt32.cs: Using IntegerFormatter for ToString's.
4142
4143         * UInt64.cs: Using IntegerFormatter for ToString's.
4144
4145 2001-10-07  Miguel de Icaza  <miguel@ximian.com>
4146
4147         * Exception.cs: Implement bits of serialization.
4148
4149         * RuntimeFieldHandle.cs: Implement Serialization features.
4150
4151         * Type.cs: Implement TypeHandle property.
4152
4153 2001-09-28  Dick Porter  <dick@ximian.com>
4154
4155         * LocalDataStoreSlot.cs: Implemented
4156
4157 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
4158
4159         * String.cs: fix off-by-one error in Trim().
4160
4161 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
4162
4163         * Type.cs: added GetType () method.
4164
4165 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
4166
4167         * MissingMethodException.cs, MissingMemberException.cs,
4168         MemberAccessException.cs: added.
4169
4170 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
4171
4172         * String.cs: don't access the string array out of bounds in
4173         LastIndexOf.  * Type.cs: fix return type of the Assembly property.
4174
4175 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
4176
4177         * String.cs: make Intern and IsIntern internalcalls.
4178
4179 2001-09-13  Dick Porter  <dick@ximian.com>
4180
4181         * Type.cs: Added a stub for the IsValueType property.
4182
4183         * SystemException.cs (System): Added the other constructor, so
4184         that System.Threading exceptions can inherit it.
4185
4186 2001-09-08  Jeffrey Stedfast  <fejj@ximian.com>
4187
4188         * String.cs (TrimStart): Don't keep looping through the trimchars
4189         once we've found a match.
4190         (TrimEnd): Same here.
4191         (Trim): And finally here.
4192
4193 2001-09-07  Ravi Pratap  <ravi@ximian.com>
4194
4195         * Char.cs (IsLetterOrDigit): Implement.
4196         (IsLower): Implement, but we need to be Unicode aware.
4197         (IsNumber): Implement.
4198         (IsPunctuation): Implement.
4199         (IsWhiteSpace): Implement.
4200         (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
4201         (ToLower): Same here.
4202
4203 2001-09-04  Miguel de Icaza  <miguel@ximian.com>
4204
4205         * Object.cs: Shortcut, if (a == b) then return true.
4206
4207 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
4208
4209         * Delegate.cs: we need a pointer to the method thunk in
4210         the delegate object.
4211
4212 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
4213
4214         * AsyncCallback.cs, common.src: add AsyncCallback delegate.
4215
4216 2001-09-06  Jeffrey Stedfast  <fejj@ximian.com>
4217
4218         * String.cs (System): Don't mix uint and int.
4219
4220 2001-09-04  Jeffrey Stedfast  <fejj@ximian.com>
4221
4222         * String.cs (BoyerMoore): Modified to not use pointers and to instead
4223         use indexes.
4224         (IndexOf): Use BoyerMoore.
4225
4226 2001-09-02  Miguel de Icaza  <miguel@ximian.com>
4227
4228         * All over: Use the autogenerated enumerations from the ECMA
4229         documentation that Sergey wrote.
4230         
4231         * PlatformID.cs: Add Unix definition.
4232
4233         * OperatingSystem.cs: Use Unix instead of Linux here.
4234
4235         * MarshalByRefObject.cs: Mark class as [Serializable].
4236
4237 2001-08-28  Dietmar Maurer  <dietmar@ximian.com>
4238
4239         * Console.cs: impl. (write only)
4240         implemented the stdin stuff
4241
4242         * Int32.cs: impl. real op_Equal
4243
4244 2001-08-24  Miguel de Icaza  <miguel@ximian.com>
4245
4246         * (common.src): Removed IAsyncResult as it is not on CVS yet.
4247
4248         * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
4249         as it breaks the build.
4250
4251 2001-08-23  Michael Lambert <michaellambert@email.com>
4252
4253         * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData, 
4254         added CLSCompliant attribute
4255
4256         * IAsyncResult.cs: Added
4257
4258         * common.src: Added IAsyncResult.cs
4259
4260 2001-08-23  Michael Lambert <michaellambert@email.com>
4261
4262         * UIntPtr.cs: Added
4263
4264         * common.src: Added UIntPtr.cs
4265
4266 2001-08-20  Dietmar Maurer  <dietmar@ximian.com>
4267
4268         * Attribute.cs: uncomment some code to make it compile again
4269
4270         * mono.src: removed duplicated Attribute.cs
4271
4272 2001-08-16  Nick Drochak <ndrochak@gol.com>
4273
4274         * Attribute.cs: implemented all methods except GetHashCode()
4275
4276         * common.src: added Attribute.cs so it would compile in
4277
4278 2001-08-10  Dietmar Maurer  <dietmar@ximian.com>
4279
4280         * Object.cs: changed MemberWiseClone to MemberwiseClone, and
4281         marked it as InternalCall
4282         
4283         * common.src: removed UriFormatException.cs because the file is
4284         not there.
4285
4286         * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
4287         * Char.cs: replaced byte with char
4288
4289         * Array.cs: make it work with the mono interpreter
4290
4291 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
4292
4293         * Version.cs: Make the class sealed
4294
4295 2001-08-08  Bob Smith  <bob@thestuff.net>
4296
4297         * Random.cs: Many compile fixes.
4298         * Random.cs: I read a bad spec. Class updated to match real spec.
4299
4300 2001-08-06  Miguel de Icaza  <miguel@ximian.com>
4301
4302         * IntPtr.cs: Added and Completed implementation.
4303
4304         * Uri.cs: Add a note.
4305
4306 2001-08-06  Bob Smith  <bob@thestuff.net>
4307
4308         * Random.cs: Compile fix. Needs more testing.
4309
4310 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
4311
4312         * Uri.cs: Initial Implementation.  Parsing needs to be fixed to take 
4313         into account IPv6 addresses, url encoding needs to be implemented, and 
4314         various minor methods need to be written, but this is a decent start.
4315
4316 2001-08-06  Dietmar Maurer  <dietmar@ximian.com>
4317
4318         * common.src: added Object.cs
4319
4320         * mono.src: added ValueType.cs
4321
4322 2001-08-02  Dietmar Maurer  <dietmar@ximian.com>
4323
4324         * Math.cs: replaced libc with libm
4325
4326 2001-08-02  Bob Smith  <bob@thestuff.net>
4327
4328         * Random.cs: Implemented. Needs testing.
4329
4330 2001-08-02  Miguel de Icaza  <miguel@ximian.com>
4331
4332         * IServiceProvider.cs, EventHandler.cs: New files.
4333
4334 2001-08-02  Marcel Narings  <marcel@narings.nl>
4335         
4336         * DateTime.cs: Cleaned up a bit. Added the Add* family members.
4337         Added exceptions. Added IConvertible. Still needs some platform 
4338         dependend stuff, the Parse and ToString members
4339
4340 2001-08-01  Dietmar Maurer  <dietmar@ximian.com>
4341
4342         * Type.cs (GetTypeFromHandle): added placeholder 
4343
4344 2001-07-24  Derek Holden  <dholden@draper.com>
4345
4346         * Boolean.cs: Formatted to code style standard. Added GetTypeCode
4347         which is really an IConvertible defined method.
4348
4349         * Byte.cs: Added a missing Parse method. Put in Parse and ToString
4350         behavior, still need to do the main Parse and ToString.
4351
4352         * Char.cs: Added a bunch of missing ECMA methods. Commented a
4353         specification discrepency. Still didn't any unicode stuff, though
4354         every IsFoo(char c) method has an IsFoo(string, index)
4355         counterpart, added wrappers for those.
4356         
4357         * Convert.cs: Fixed NaN/Inf checking and double/float
4358         rounding. Added ToType for IConvertible classes
4359
4360         * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
4361         IsNaN methods. Changed Inf/NaN internals.
4362
4363         * IConvertible.cs: Added comments for using
4364         Convert.ToType. Changed return values to draft base values.
4365
4366         * Int16.cs: Added a missing Parse statement. Put in behavior for
4367         overloaded ToString and Parse methods.
4368
4369         * Int32.cs: Added a missing Parse statement. Put in behavior for
4370         overloaded ToString and Parse methods.
4371
4372         * Int64.cs: Added a missing Parse statement. Put in behavior for
4373         overloaded ToString and Parse methods.
4374         
4375         * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
4376         methods. Changed Inf/NaN internals.
4377
4378         * SByte.cs: Added a missing Parse method. Put in Parse and
4379         ToString behavior, still need to do the main Parse and ToString.
4380
4381         * UInt16.cs: Added a missing Parse statement. Put in behavior for
4382         overloaded ToString and Parse methods.
4383
4384         * UInt32.cs: Added a missing Parse statement. Put in behavior for
4385         overloaded ToString and Parse methods.
4386
4387         * UInt64.cs: Added a missing Parse statement. Put in behavior for
4388         overloaded ToString and Parse methods.
4389         
4390 2001-07-20  Miguel de Icaza  <miguel@ximian.com>
4391
4392         * MulticastDelegate.cs: New File.
4393
4394         * Delegate.cs: New file.
4395
4396         * Enum.cs: New file.
4397
4398         * Attribute.cs: New file.
4399
4400         * Type.cs: New file.
4401
4402         * ParamArrayAttribute.cs: New file.
4403
4404         * RuntimeTypeHandle.cs: New file.
4405
4406         * MulticastDelegate.cs: Added.
4407
4408         * DateTime.cs: Added
4409
4410         * Delegate.cs: Added
4411
4412 2001-07-18  Michael Lambert <michaellambert@email.com>
4413
4414         * AttributeTargets.cs: Add.
4415
4416 2001-07-19  Jeffrey Stedfast  <fejj@ximian.com>
4417
4418         * Char.cs: Made ToUpper and ToLower public methods.
4419
4420         * String.cs: Lots and lots of compile fixes - just need to write
4421         DateTime.cs and this should build completely now.
4422
4423 2001-07-19  Bob Smith (bob@thestuff.net)
4424
4425         * Math.cs: Implemented. 
4426
4427 2001-07-19  Miguel de Icaza  <miguel@ximian.com>
4428
4429         * String.cs: Removed tolower and toupper.
4430
4431         * Char.cs: Moved ToLower and ToUpper from string to here. 
4432
4433         * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
4434         instead of comparing the value to Nan.
4435
4436 2001-07-19  Duco Fijma (duco@lorentz.xs4all.nl)
4437
4438         * TimeSpan.cs: New implementation.
4439
4440 2001-07-18  Scott Sanders <scott@stonecobra.com>
4441
4442          * UriFormatExcpetion.cs: Add - 85% complete
4443
4444 2001-07-17  Jeffrey Stedfast  <fejj@ximian.com>
4445
4446         * String.cs (IndexOf): Slight optimization that allows skipping
4447         over a few chars here and there. This isn't as good as using my
4448         Boyer-Moore implementation, however, Boyer-Moore is only really
4449         good for long strings (I plan on making the code decide which
4450         string search algorithm it should use on-the-fly at some point).
4451         (LastIndexOf): Fix to work correctly.
4452         (BoyerMoore): Took out some unneeded code and fixed an edge-case.
4453
4454 2001-07-16  Michael Lambert <michaellambert@email.com>
4455
4456         * EventArgs.cs: Add.
4457         
4458 2001-07-16  Miguel de Icaza  <miguel@ximian.com>
4459
4460         * Version.cs: Remove my buggy comment.
4461
4462 2001-07-15  Sean MacIsaac  <macisaac@ximian.com>
4463
4464         * String.cs: Spelling error of IComparable, object's
4465         MemberwiseClone cannot be overridden.  Made indexer valid for now,
4466         but not sure what to do about this in the long run.  Seems to be a
4467         couple bugs in csc.exe having to do with multiple pointer defs in
4468         the same statement, and returning subclasses of a class in the
4469         return type of an interface function implementation.  Also moved
4470         operators inside of class definition.
4471
4472 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
4473
4474         * String.cs: A tom of compile fixes, although we still don't compile.
4475
4476         * IConvertible.cs: The To*Int64() methods return *Int64's, not
4477         *Int32's. Also, it's ToDateTime() not ToDateType().
4478
4479 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
4480
4481         * String.cs: Apparently I needed to at least write stubs for the
4482         IConvertible interfaces. *sigh*
4483
4484 2001-07-14  Jeffrey Stedfast  <fejj@ximian.com>
4485
4486         * String.cs: Many logic/other fixes and better usage of the
4487         features of c#
4488         (tolower): New convenience method to help condense code.
4489         (toupper): Another new helper method.
4490         (Compare): Use the new helper methods.
4491         (ToLower): use tolower().
4492         (ToUpper): use toupper().
4493         (LastIndexOfAny): Implemented.
4494         (BoyerMoore): New private helper method that implements a modified
4495         version of the Boyer-Moore search algorithm. Noothing uses it yet
4496         as I'm not 100% sure it even works properly with unicode strings
4497         not to mention it uses a huge lookup-table :-)
4498         (Split): Implemented.
4499
4500 2001-07-13  Jeffrey Stedfast  <fejj@ximian.com>
4501
4502         * TODO: Added things that need to be finished in System.String
4503
4504         * String.cs: New source file implementing the System.String class
4505
4506 2001-07-12  Sean MacIsaac  <macisaac@ximian.com>
4507
4508         * TypeCode.cs: UInt64 was UInt63.
4509
4510         * Object.cs: Fixed a numer of compiler errors.
4511
4512         * Array.cs: Fixed some compiler errors.
4513
4514         * IComparable.cs: Fixed some compiler errors.
4515
4516         * ICloneable.cs: Fixed some compiler errors.
4517
4518         * IConvertible.cs: Fixed some compiler errors.
4519
4520         * IFormattable.cs: Fixed a compiler error.
4521
4522         * IFormatProvider.cs: Fixed a compiler error.
4523
4524         * IDisposable.cs: Fixed a compiler error.
4525
4526         * IFormatProvider.cs: Added public accesability type to
4527         IFormatProvider.
4528
4529         * Exception.cs: Added a using statement to remove compile time
4530         error.
4531
4532         * ApplicationException.cs: Removed a ; that was causing a compiler
4533         error.
4534
4535         * Int16.cs: Fixed some compiler errors.
4536
4537         * Int32.cs: Fixed some compiler errors.
4538
4539         * Int64.cs: Fixed some compiler errors.
4540
4541         * SystemException.cs: Fixed a compiler error.
4542
4543         * UInt16.cs: Fixed some compiler errors.
4544
4545         * UInt32.cs: Fixed some compiler errors.
4546
4547         * UInt64.cs: Fixed some compiler errors.
4548
4549         * Void.cs: Fixed a compiler error.      
4550
4551 2001-07-12  Joe Shaw  <joe@ximian.com>
4552
4553         * Array.cs: Fix backwards parameters to Array.SetValue()
4554         throughout.
4555         (BinarySearch): Fix backward logic surrounding whether to call
4556         value.CompareTo or comparer.Compare.
4557         (LastIndexOf): Stop being stupid. I am so not used to strongly
4558         bounded arrays...
4559         (Sort): Implement a quicksort.
4560
4561 2001-07-11  Joe Shaw  <joe@ximian.com>
4562
4563         * Array.cs: Change all instances of trying to access an array with
4564         the index operator to calls to GetValue and SetValue, and add
4565         InternalGetValue and InternalSetValue which are internal calls
4566         into the runtime. Ew.
4567
4568 2001-07-10  Joe Shaw  <joe@ximian.com>
4569
4570         * Array.cs: Implemented everything but Sort().
4571
4572 2001-07-09  Jeffrey Stedfast  <fejj@ximian.com>
4573
4574         * Object.cs (Object::Equals): Object variable name is `o'.
4575
4576 2001-07-06  Joe Shaw  <joe@ximian.com>
4577
4578         * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
4579         Implement the IComparable and IFormattable interfaces. Fix a typo
4580         (publig -> public)
4581
4582         * ApplicationException.cs, ArgumentException.cs,
4583         ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
4584         ArtithmeticException.cs, ArrayTypeMismatchException.cs,
4585         DivideByZeroException.cs, DuplicateWaitObjectException.cs,
4586         ExecutionEngineException.cs, FormatException.cs,
4587         IndexOutOfRangeException.cs, InvalidCastException.cs,
4588         InvalidOperationException.cs, InvalidProgramException.cs,
4589         MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
4590         NotSupportedException.cs, NullReferenceException.cs,
4591         OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
4592         StackOverflowException.cs, SystemException.cs,
4593         TypeInitializationException.cs: Added all of the exceptions
4594         specified by the language spec. Mmmm... bloat.
4595
4596 2001-07-06  Miguel de Icaza  <miguel@ximian.com>
4597
4598         * Int64.cs, Int32.cs: Put.  Parsing and ToString missing.  Should
4599         do a generic routine all of these guys use.
4600
4601         * Int16.cs: identified missing methods.
4602
4603         * UInt16.cs, UInt32.cs, UInt64.cs: Add.
4604
4605 2001-06-26  Miguel de Icaza  <miguel@ximian.com>
4606
4607         * TypeCode.cs: Implement
4608
4609         * Void.cs: Implement.
4610
4611         * TODO: Add file to keep track of pending tasks.
4612
4613         * Object.cs, ValueType.cs: Implement.