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