1 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
4 been set. Just return null as MS. Fixes bug #58120.
6 2004-05-14 Marek Safar <marek.safar@seznam.cz>
8 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
9 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
10 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
11 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
12 useless [CLSCompliant (false)]
15 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
17 * __ComObject.cs: To please corcompare (no implementation).
19 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
21 * Environment.cs: Bump corlib version.
23 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
25 * Environement.cs: Removed two security attributes for CurrentDirectory
26 that weren't documented (and anyway we don't support them).
28 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
30 * Char.cs: Fix exceptions
32 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
34 * MissingMemberException.cs: Fix in serialization constructor.
36 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
38 * Environment.cs: GetGacPath return value is resolved at runtime on
41 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
43 * Convert.cs: ToBase64CharArray method was depending on a bug in
44 S.S.C.ToBase64Transform class to work. Added an internal method to
45 provide the same functionality (multiple block processing).
47 2004-05-06 Jackson Harper <jackson@ximian.com>
49 * Environment.cs: Make $HOME the personal directory.
51 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
53 * Convert.cs: ToBase64String method was depending on a bug in
54 S.S.C.ToBase64Transform class to work. Added an internal method to
55 provide the same functionality (multiple block processing).
57 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
59 * Environment.cs: Completed OSVersion property.
60 * Version.cs: Added internal CreateFromString() to "try" to build the
61 best version number form the specified string.
63 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
65 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
66 Fixes several potential bugs and makes things way faster.
68 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
70 * TimeSpan.cs: Formatting changes
72 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
74 * Activator.cs: change _flags to a const.
75 * IntegerFormatter.cs: make tables readonly.
76 * Convert.cs: tables readonly
78 * IntPtr.cs: avoid a cctor.
80 2004-04-29 Jackson Harper <jackson@ximian.com>
83 * Type.cs: NET_2_0 now instead of 1_2.
85 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
87 * Environment.cs: implemented GetLogicalDrives.
89 2004-04-28 Miguel de Icaza <miguel@ximian.com>
91 * Applied patch from Atsushi Enomoto that allows Synchronized
92 writers to have a `dont close' flag, this fixes 52094
94 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
96 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
97 return the method if it is private (it did until now because of a
98 bug). Make sure it works as it worked before the fix.
99 * Type.cs: Implemented FilterAttribute delegate.
101 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
103 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
105 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
107 * IntegerFormatter.cs: Made functions internal (needed by other patches)
109 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
111 * DateTime.cs: TODO cleaning.
112 * Delegate.cs: GetObjectData should be virtual.
113 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
114 30 methods almost identical.
115 * MulticastDelegate.cs: Implemented GetObjectData.
117 2004-04-26 Jackson Harper <jackson@ximian.com>
119 * Environment.cs: Things going bump in the night.
121 2004-04-25 Miguel de Icaza <miguel@ximian.com>
123 * Convert.cs (toBase64Transform): Make private.
125 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
129 * DecimalFormatter.cs:
130 * FloatingPointFormatter.cs: Call invariant Char functions
131 * Guid.cs: Call invariant Char and String functions
132 * String.cs: Call invariant Char functions
134 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
136 * String.cs: Refactored the Invariant ToXXX into its own internal methods
137 so they are directly callable within corlib (can prevent early
138 construction of CultureInfo, InvariantCulture and related classes)
140 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
142 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
143 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
145 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
147 * String.cs: Check for null values
149 2004-04-23 Peter Bartok <pbartok@novell.com>
151 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
152 will do a better fix in the future, but this way apps can at least use it.
154 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
156 * Environment.cs: Better support for GetFolderPath (same results as MS
159 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
161 * Activator.cs: Removed TODOs for finished methods.
162 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
163 must be relative to the current directory, not the temp directory.
164 Implemented DynamicBase.
165 * Convert.cs: No need to create a ToBase64Transform instance at every call
166 to ToBase64CharArray.
167 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
169 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
170 * Delegate.cs: Removed class TODO.
171 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
173 * Type.cs: Removed TODOs for things already implemented.
175 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
177 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
178 * MulticastDelegate.cs: Removed unused code.
180 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
182 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
183 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
184 * BadImageFormatException.cs: TODO reformat.
185 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
186 * DelegateSerializationHolder.cs: Made class internal.
187 * Enum.cs: Removed TODO for localization, since this is something that has
188 to be done for all classes.
189 * Environment.cs: Removed TODO.
190 * Exception.cs: Changed ToString to use StringBuilder.
191 * MonoDummy.cs: Made class internal.
192 * UnitySerializationHolder.cs: Added support for modules.
194 2004-04-16 David Sheldon <dave-mono@earth.li>
196 * DecimalFormatter.cs: Don't append a decimal point after the
197 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
200 2004-04-09 Miguel de Icaza <miguel@ximian.com>
202 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
205 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
207 * MonoDummy.cs: added MonoTODO to make sure we remove this class
208 when its no longer needed
210 2004-04-09 David Sheldon <dave-mono@earth.li>
212 * Convert.cs: Allow + signs in strings for ToInt32, and
215 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
217 * Nullable.cs : usingdecl should also be conditional.
219 2004-04-07 Martin Baulig <martin@ximian.com>
221 * Nullable.cs: New file.
223 2004-04-07 Martin Baulig <martin@ximian.com>
225 * Type.cs (Type.GetGenericArguments): Make this abstract.
227 2004-04-07 Jackson Harper <jackson@ximian.com>
229 * Environment.cs: Increase corlib version number.
231 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
234 (ExpandEnvironmentVariables): on windows, env. vars. are case
237 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
239 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
240 Removed [ThreadStatic] for _principalPolicy (not required).
242 2004-04-06 Miguel de Icaza <miguel@ximian.com>
244 * Guid.cs: Flag as Sequential.
246 2004-04-02 Dick Porter <dick@ximian.com>
248 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
250 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
252 * Environment.cs: Implement ExpandEnvironmentVariables static method.
253 Now call the runtime to get the username (fix #56144).
255 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
257 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
260 2004-03-29 Miguel de Icaza <miguel@ximian.com>
262 * Console.cs: If we fail to open stdin/stdout/stderr, create
263 readers with a NullStream. This can happen if our caller does not
264 setup stdin/stoud/stderr file handles. #56158 exposed this, but
265 it will happen elsewhere.
267 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
269 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
270 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
271 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
272 the constructor. This fixes bug #54019.
274 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
276 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
277 internal variables to structures that are moved around methods.
278 Factorized some common formatting code into FormatNumberInternal.
280 2004-03-23 Dick Porter <dick@ximian.com>
282 * DateTime.cs: Allow any character for DateSeparator when parsing,
283 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
284 deleted the previous fix for 54721, because this covers it too.
286 2004-03-23 Dick Porter <dick@ximian.com>
288 * DateTime.cs: Check the date string for too many digits when
289 parsing. Fixes bugs 53023 and 53025.
291 2004-03-22 Dick Porter <dick@ximian.com>
293 * String.cs: Use the provider when converting strings to other
296 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
297 formats. Fixes bug 54721.
299 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
301 * Console.cs: Styled, optimized calls
302 * CrossAppDomainDelegate.cs: Small header fix
303 * Buffer.cs: Style, improve errors
304 * BitConverter.cs: Style, improve errors, remove obsolete comment
305 * Attribute.cs: Style, improve errors, small fix
306 * Array.cs: Style, improve errors, small fix, added TODOs
307 * Activator.cs: Style, localized errors, added error checks
308 * Byte.cs: Style, localized errors, fixed wrong exception parameters
311 * AppDomainSetup.cs: Style
312 * AppDomain.cs: Style, implemented two methods (redirect)
314 2004-03-21 Jackson Harper <jackson@ximian.com>
316 * FloatingPointFormatter.cs: Set precision from number format info
317 when it is not specified. This fixes bug #54983.
319 2004-03-18 Nick Drochak <ndrochak@ieee.org>
321 * Math.cs: Use IsNaN() method not "x == NaN".
323 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
325 * EntryPointNotFoundException.cs
326 * DuplicateWaitObjectException.cs
327 * DllNotFoundException.cs
328 * DivideByZeroException.cs
329 * ContextMarshalException.cs
330 * CannotUnloadAppDomainException.cs
331 * BadImageFormatException.cs
332 * ArrayTypeMismatchException.cs
333 * ArithmeticException.cs
334 * ArgumentOutOfRangeException.cs
335 * ArgumentNullException.cs
336 * ArgumentException.cs
337 * ApplicationException.cs
338 * AppDomainUnloadedException.cs: Added missing HResult overrides
340 * BadImageFormatException.cs: Improved/ Fixed implementation
342 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
344 * Random.cs: Corrected random value when Next is called with a
345 negative value. Testing indictae that our results aren't exactly the
346 same as MS, we have a +/- 1 (probably rounding errors due to
347 different implementation).
349 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
351 * Environment.cs: updated corlib version.
353 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
355 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
356 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
357 field "value" to "m_value", so it is interoperable with MS.NET when
358 serializing and deserializing data. Based on the patch from Daniel
361 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
363 * TypeInitializationException.cs
365 * StackOverflowException.cs
367 * OverflowExceptionException.cs
368 * OutOfMemoryException.cs
369 * NullReferenceException.cs
370 * NotSupportedException.cs
371 * NotFiniteNumberException.cs
372 * InvalidOperationException.cs
373 * InvalidCastException.cs
374 * IndexOutOfRangeException.cs
376 * ExecutionEngineException.cs: improved parameter names
378 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
381 * EntryPointNotFoundException.cs
382 * DuplicateWaitObjectException.cs
384 * DllNotFoundException.cs
385 * DivideByZeroException.cs
386 * DelegateSerializationHolder.cs
389 * ContextStaticAttribute.cs
390 * ContextMarshalException.cs
391 * ContextBoundObject.cs
392 * CLSCompliantAttribute.cs
394 * CannotUnloadAppDomainException.cs
395 * BadImageFormatException.cs
396 * AttributeUsageAttribute.cs
397 * AttributeTargets.cs
399 * AssemblyLoadEventHandler.cs
400 * AssemblyLoadEventArgs.cs
401 * ArrayTypeMismatchException.cs
402 * ArithmeticException.cs
403 * ArgumentOutOfRangeException.cs
404 * ArgumentNullException.cs
405 * ArgumentException.cs
407 * ApplicationException.cs
408 * AppDomainUnloadedException.cs
409 * AppDomain.cs: Mono styled, fixed exceptions/ locales
410 removed excess usings
412 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
414 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
415 spaces) which fixed #54939. Changed the way that the length is
416 validated (multiple of 4) because the ignored characters must not be
417 included in the count.
419 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
421 * String.cs: Monostyled
423 2004-03-09 Jackson Harper <jackson@ximian.com>
425 * Char.cs: Only use a byte for numeric data.
427 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
429 * TypedReference.cs: Added missing Attributes
430 * ParamArrayAttribute.cs: Small style fix
431 * OperatingSystem.cs: Added .Net 1.1 member
433 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
435 * FieldAccessException.cs
437 * InvalidCastException.cs
438 * InvalidOperationException.cs
439 * MemberAccessException.cs
440 * MethodAccessException.cs
441 * MissingFieldException.cs: Locale strings
442 * MissingMemberException.cs: Locale strings
443 * MissingMethodException.cs: Locale strings
444 * NotFiniteNumberException.cs
445 * NotImplementedException.cs
446 * NotSupportedException.cs
447 * NullReferenceException.cs
448 * ObjectDisposedException.cs
449 * OutOfMemoryException.cs
450 * OverflowExceptionException.cs
451 * PlatformNotSupportedException.cs
452 * RankException.cs: Added missing HResult overrides
454 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
456 * RuntimeTypeHandle.cs
457 * RuntimeMethodHandle.cs
458 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
460 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
464 * ExecutionEngineException.cs
465 * FieldAccessException.cs
469 * IndexOutOfRangeException.cs
471 * InvalidCastException.cs
472 * InvalidOperationException.cs
473 * InvalidProgramException.cs
474 * IServiceProvider.cs
475 * LoaderOptimization.cs
476 * LoaderOptimizationAttribute.cs
477 * MarshalByRefObject.cs
479 * MemberAccessException.cs
480 * MethodAccessException.cs
481 * MissingFieldException.cs
482 * MissingMemberException.cs
483 * MissingMethodException.cs
484 * MultiCastDelegate.cs
485 * MulticastNotSupportedException.cs
486 * NonSerializedAttribute.cs
487 * NotFiniteNumberException.cs
488 * NotImplementedException.cs
489 * NotSupportedException.cs
490 * NullReferenceException.cs
491 * ObjectDisposedException.cs
492 * ObsoleteAttribute.cs
494 * OutOfMemoryException.cs
495 * OverflowExceptionException.cs
497 * PlatformNotSupportedException.cs
500 * ResolveEventArgs.cs
501 * ResolveEventHandler.cs
502 * RuntimeFieldHandle.cs
503 * RuntimeMethodHandle.cs
504 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
505 removed excess usings
507 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
509 * SystemException.cs: Exceptions set the HResult
510 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
511 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
513 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
516 * TypeLoadException.cs
517 * TypeInitializationException.cs
520 * ThreadStaticAttribute.cs
522 * STAThreadAttribute.cs
523 * StackOverflowException.cs
526 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
527 removed excess usings
529 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
531 * UnauthorizedAccessException.cs: Exceptions set the HResult
532 * UInt64.cs: Implemented two missing methods
533 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
534 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
536 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
542 * UnitySerializationHolder.cs
543 * UnhandledExceptionEventHandler.cs
544 * UnauthorizedAccessException.cs
548 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
550 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
552 * Environment.cs: Bump corlib version.
554 2004-03-04 Jackson Harper <jackson@ximian.com>
556 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
558 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
560 * String.cs: Concat() fixed crash when one of the arguments is an object
561 whose ToString() method returns null.
562 * TypeLoadException.cs: Added some serialization fiels, needed for
563 compatibility with MS.NET.
565 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
567 * String.cs (Equals): Speed up this method by avoiding Array
568 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
570 This gives between 0x (for 1 char) and >2x (for large strings)
571 factor of improvement.
573 A big thanks to Miguel, who suggested the integer compares.
575 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
577 * MonoType.cs: use the binder in GetPropertyImpl.
579 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
581 * Math.cs: MonoStyled, replaced space with tabs,
582 speedup of some methods by avoiding method calls
584 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
586 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
587 (Moved from InternalCall to Managed code).
589 2004-02-17 Martin Baulig <martin@ximian.com>
591 * MonoType.cs (GetConstructors): Renamed the interncall to
592 GetConstructors_internal(), made it internal and added a `Type
593 reflected_type' argument to it.
594 (GetEvents, GetFields): Likewise.
595 (GetMethodsByName): Added `Type reflected_type' argument.
596 (GetPropertiesByName): Likewise.
598 2004-02-16 Jackson Harper <jackson@ximian.com>
600 * FloatingPointFormater.cs: Allow precision to be up to the number
601 of decimals without rounding.
603 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
605 * Delegate.cs (Equals): Do not compare method_ptr, since it might
606 point to a trampoline.
608 2004-02-12 Jackson Harper <jackson@ximian.com>
610 * AppDomainSetup.cs: If relative paths are used they should be
611 rooted in the temp directory.
613 2004-02-11 Marek Safar <marek.safar@seznam.cz>
615 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
617 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
619 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
620 avoid an assert in the runtime.
622 2004-02-08 Duncan Mak <duncan@ximian.com>
624 * Convert.cs (ToType): Always let a Convert.ChangeType call
625 succeed if the source object is already of the destination type.
627 Patch by Ian MacLean (ianm@activestate.com).
629 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
631 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
633 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
635 * Environment.cs: Bump corlib version.
637 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
639 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
642 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
644 * Exception.cs: Changed ToString to remove the \n when no stack trace
645 is present (which fixed a unit test for SecurityException). Changed
646 all \n to Environment.NewLine.
648 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
650 * ContextBoundObject.cs: Removed TODO.
652 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
654 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
655 (double), which might round up.
657 2004-01-19 Jackson Harper <jackson@ximian.com>
659 * FloatingPointFormatter.cs: Use the default decimal digits count
660 if they are not specified. This fixes bug #52927.
662 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
664 * Environment.cs: Bump version number.
666 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
668 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
669 uses IsAssignableFrom(o.GetType()), which is not always valid for
670 transparent proxies (because GetType will not return the type of the remote
671 object if its assembly is not present).
673 2004-01-18 David Sheldon <dave-mono@earth.li>
675 * FloatingPointFormatter.cs: Skip the decimal point if we have an
676 integer mantassa. So: 1E+15, rather than 1.E+15.
678 2004-01-18 David Sheldon <dave-mono@earth.li>
680 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
681 even though docs say it should be an ArgumentNull. Two test cases now
682 pass. See also nickd's commit of 2003-12-24.
684 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
686 * Environment.cs: increased corlib version.
688 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
690 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
691 be reused because they could be modified. This fixes bug #52655.
693 2004-01-12 Patrik Torstensson
695 * Environment.cs: Bump corlib version number due to new StringBuilder
697 * String.cs: New internal method to support the new StringBuilder that
698 uses the string as a buffer (until ToString is called)
700 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
702 * Environment.cs: Bump corlib version number for real this time.
704 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
705 the runtime, so it can take into account the Culture etc.
707 * Environment.cs: Bump corlib version number.
709 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
711 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
712 new parameter with the method name and a boolean for ignoring case.
713 Removed some string comparisons no longer needed.
715 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
717 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
718 new parameter with the property name and a boolean for ignoring case.
721 2004-01-11 David Sheldon <dave-mono@earth.li>
723 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
726 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
728 * AppDomain.cs: Keep track of type resolve and assembly resolve
729 events in progress to prevent infinite recursion.
731 2004-01-06 Miguel de Icaza <miguel@ximian.com>
733 * Console.cs: Test for UTF-8 being present anywhere on the
734 string, also do ToUpper instead of ToLower, which will work even
735 around the ICU bug with different locales (#52065), and addresses #52101
737 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
739 * Environment.cs: Bump version.
741 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
743 * Type.cs (IsNotPublic): One would normally assume that
744 IsNotPublic == !IsPublic, but this is not the case (note to MS,
745 make better names ;-). Fixes #52547, `Type.IsNotPublic not
746 correct for Nested types'
748 2003-12-24 Nick Drochak <ndrochak@ieee.org>
750 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
751 even though docs say it should be an ArgumentNull. Sent email to MS
754 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
756 * Exception.cs: Several changes to make it compatible with MS.NET (needed
757 for remoting interoperability): set a default value for hresult, added
758 initialization of class_name, serialization field RemoteStackTrace must
759 be RemoteStackTraceString, added ser. field ExceptionMethod.
761 * IndexOutOfRangeException.cs: Added serialization constructor.
763 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
766 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
768 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
770 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
771 user supplied no parameter info, but not when the user supplied an
772 empty parameter list. This fixes IKVM.
774 * Environment.cs: Bump corlib version.
776 2003-12-19 Dick Porter <dick@ximian.com>
778 * String.cs: Added Compare shortcut for length==0.
780 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
782 * Environment.cs: Bump corlib version.
784 2003-12-17 Dick Porter <dick@ximian.com>
786 * String.cs: Fix StartsWith and EndsWith when the argument is the
787 empty string. Fixes bug 52283.
789 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
791 * Environment.cs (HasShutdownStarted): Implement.
793 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
795 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
797 * Environment.cs: Bump version number.
799 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
801 * DateTime.cs: don't bail out with that year out of range error on
802 stuff like "MM/dd/yyyy HH:MM:ss".
804 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
806 * Environment.cs: Make it a const instead.
808 * Environment.cs: Make version field static.
810 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
812 * Type.cs: Make DefaultBindingFlags protected.
814 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
815 Add new GacPath property + its associated icall.
817 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
819 * DateTime.cs : Bugs fixed (41845, 51422)
820 * MonoType.cs : Exception message changed
822 2003-12-08 Martin Baulig <martin@ximian.com>
824 * Type.cs (MakeByRefType): New public method.
826 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
828 * Environment.cs: Add a version number for the corlib-runtime interface
829 to make it easier to diagnose problems resulting from a mismatch
832 2003-12-08 Patrik Torstensson <p@rxc.se>
834 * Type.cs (GetMethod): Check type arguments within array
835 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
836 (same signature but different classes (derived level)
838 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
840 * Type.cs (MakeArrayType): Add argument checking.
842 2003-12-06 Dick Porter <dick@ximian.com>
844 * String.cs: Don't use CompareInfo for non-culture-sensitive
845 IndexOf and LastIndexOf methods.
847 2003-12-06 Ravindra <rkumar@novell.com>
849 * DateTime.cs: Made Parse(string, IFormatProvider) method to
850 use second argument. Fixed bug #51464.
852 2003-12-04 Martin Baulig <martin@ximian.com>
854 * Type.cs (Type.MakeArrayType): New public method.
856 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
859 (BlockCopy): make the exception thrown helpful.
861 2003-12-03 Dick Porter <dick@ximian.com>
863 * String.cs: Calling Replace on an empty string returns itself.
865 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
867 * MonoType.cs: Get rid of get_type_info, use a separate icall for
868 each property instead.
870 2003-12-02 Dick Porter <dick@ximian.com>
872 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
873 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
875 2003-12-01 Dick Porter <dick@ximian.com>
877 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
878 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
880 2003-11-28 Dick Porter <dick@ximian.com>
885 * Boolean.cs: Do string compares with the Invariant culture.
887 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
889 * Array.cs: make the enumerator ICloneable
891 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
893 * Decimal.cs (ToXXX): Call Convert.ToXXX.
895 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
897 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
898 Implement Load(byte[]) methods.
900 * BadImageFormatException.cs: Fix ToString.
902 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
904 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
905 GetConstructor, as done by MS.
907 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
909 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
911 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
913 * TypeInitializationException.cs: Added missing serialization constructor.
915 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
917 * AppDomainSetup.cs: Don't add an extra '/' at the end of
918 ApplicationBase. The tests pass now with mono.
920 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
922 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
924 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
926 * Environment.cs: use Directory in CurrentDirectory property.
927 We were not throwing any exception when setting the directory to an
930 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
933 * Delegate.cs: implemented 1.1 stuff.
936 * IntPtr.cs: removed extra attribute.
937 * PlatformID.cs: added WinCE.
939 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
942 (Equals): compare the fields of structs too.
943 (GetHashCode): combine the hash code of all the fields.
944 Fixes bug #50901 (will remove the icall in a couple of days).
946 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
948 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
950 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
952 * DateTime.cs: handle century when we try to parse 4-digit years and
953 only 2 digits are present. Fixes bug #49394.
955 2003-11-13 Miguel de Icaza <miguel@ximian.com>
957 * Console.cs: On utf-8 consoles, use unmarked output.
959 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
961 * IAppDomainSetup.cs:
964 * Type.cs: Added missing attribute
966 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
968 * Environment.cs: Added internal method for getting the path to
971 2003-11-12 Jackson Harper <jackson@ximian.com>
973 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
974 enum. This fixes the SWF build.
976 2003-11-12 Miguel de Icaza <miguel@ximian.com>
978 * PlatformID.cs: Remove Unix platform, we cant expose constants
979 that are not in the framework.
981 * OperatingSystem.cs: Adjust for the breakage.
983 * RuntimeMethodHandle.cs: Fix signature.
985 * Double.cs: Fix signature of TryParse.
987 * String.cs (Concat (object, object, object, object)): Add missing method.
989 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
990 in the .NET Framework.
992 * Enum.cs: Hide constructor.
994 Fix ToUint16 to be explicitly implemented.
996 * Console.cs: Add couple of extra missing methods (Write and
997 WriteLine overloaded)
999 2003-11-11 Miguel de Icaza <miguel@ximian.com>
1001 * AppDomain.cs, Activator.cs: New unimplmented entry points from
1002 1.1 (Com activation related).
1004 * Exception.cs: Formatting.
1006 * IServiceProvider.cs: Add ComVisible (true).
1008 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
1010 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
1012 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
1015 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
1017 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
1018 on MonoMethod instead of Invoke.
1020 2003-11-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1022 * DateTime.cs: Fixed Add* methods handling. Now it works properly
1023 with extreme values (there is a bug with Overflow and Underflow in
1026 2003-10-31 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1028 * DateTime.cs: Fixed a few format bugs.
1030 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
1032 * AppDomain.cs (InternalPushDomainRef): New icalls.
1034 * AppDomain.cs (InvokeInDomain): New method to execute code in a
1035 different appdomain.
1037 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
1039 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
1041 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
1043 * AppDomain.cs (IsFinalizingForUnload): Implement.
1045 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
1048 2003-10-25 Martin Baulig <martin@ximian.com>
1050 * MonoType.cs: Don't make this sealed.
1052 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
1054 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
1056 2003-10-24 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1058 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
1059 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
1061 2003-10-22 Dick Porter <dick@ximian.com>
1063 * DateTime.cs: Handle '-' as a date separator when parsing formats.
1065 2003-10-20 Duncan Mak <duncan@ximian.com>
1067 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
1068 and merge the two iterations into one.
1070 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
1072 * TypedReference.cs: Add new field used by the runtime.
1074 2003-10-15 Martin Baulig <martin@ximian.com>
1076 * Type.cs (Type.DeclaringMethod): For a generic method's type
1077 parameter, return this method - otherwise, return null.
1079 2003-10-14 Martin Baulig <martin@ximian.com>
1081 The generics API has changed in the spec since it was added here;
1082 these modifications make it match the spec again.
1085 (GetGenericParameters): Renamed to `GetGenericArguments'.
1086 (HasGenericParameters): Renamed to `HasGenericArguments'.
1087 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
1088 (IsGenericTypeDefinition): New property.
1089 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
1091 * MonoType.cs (ContainsGenericParameters): Implement this here;
1092 this is no interncall anymore.
1094 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1096 * Delegate.cs: add the method name to the exception when it cannot be
1098 * Exception.cs: fix nullref in Source.
1100 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
1102 * Array.cs: Add argument checking to GetValue and SetValue.
1104 2003-10-09 Miguel de Icaza <miguel@ximian.com>
1106 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
1107 should not be TimeSpan.MaxValue, because it overflow. Set this to
1110 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1112 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
1113 duplicate entry exception.
1115 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
1117 * DateTime.cs (ToString): Total rewrite, fixes #49358.
1119 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
1121 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
1123 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1126 (Equals): check that the object is an Enum before comparing the types.
1128 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1130 * Array.cs: reduced xsp allocated memory by 1/2.
1132 2003-09-25 Martin Baulig <martin@ximian.com>
1134 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
1135 since it was identical to GetGenericTypeDefinition().
1136 (Type.IsGenericInstance): New property.
1138 2003-09-24 Duncan Mak <duncan@ximian.com>
1140 * Math.cs (Abs): Fix double Locale.GetText bug reported by
1141 davejp@volny.cz. This fixes #48788.
1143 2003-09-14 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1145 * FloatingPointFormatter.cs: Add the necessary castings to char
1148 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1150 * FloatingPointFormatter.cs: Make the method calls more functional
1151 for protecting the values from different threads (make it more
1154 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1156 * FloatingPointFormatter.cs: Fix a bug with the negative value of
1159 2003-09-12 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1161 * FloatingPointFormatter.cs: Applied a lot of improvements in string
1162 construction, make use of Append/Insert with the "count" parameter.
1163 Thanks to Ben Maurer.
1165 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1167 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
1169 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
1172 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1174 * DoubleFormatter.cs: A few optimizations. Now, only one object
1175 is created to convert all double numbers.
1177 * SingleFormatter.cs: A few optimizations. Now, only one object
1178 is created to convert all float numbers.
1180 * FloatingPointFormatter.cs: Split the "number type parameters" from
1181 the "numver value and format parameters". The first ones are in the
1182 constructor and the others are in a method.
1184 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
1186 * Array.cs: Added argument checking to some NET_1_1 methods.
1188 2003-09-04 Martin Baulig <martin@ximian.com>
1190 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
1192 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1194 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
1195 taking 'longs'. All tests pass.
1197 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
1199 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
1200 Source. Remove MonoTODO attributes (class is 100% done). Also
1201 passes all Rotor tests for Exception!
1203 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
1205 * Enum.cs: Remove [MonoTODO]'s that had been completed.
1207 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1209 * String.cs: fixed bug #47802.
1211 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
1213 * String.cs: Created method FormatHelper that does formatting,
1214 using a StringBuilder.
1216 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1218 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
1220 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1222 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
1225 2003-08-11 Duncan Mak <duncan@ximian.com>
1227 * Environment.cs (Version): Return the same numbers as the MS
1230 2003-08-10 Miguel de Icaza <miguel@ximian.com>
1232 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
1233 replicated tests, and have a routine that does the heavy lifting.
1235 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
1237 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
1239 * Environment.cs: return $HOME for ApplicationData folder.
1241 2003-08-04 Duncan Mak <duncan@ximian.com>
1243 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
1244 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
1245 floating point values. This fixes bug #46175.
1247 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
1248 noted by c5n4kh6u02@sneakemail.com in
1249 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
1251 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
1253 * Double.cs: added icall Double.AssertEndianity.
1255 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
1257 * Type.cs, MonoType.cs: implemented generic-specific methods.
1259 2003-07-29 Miguel de Icaza <miguel@ximian.com>
1261 * Buffer.cs: Add new internal MemCopy call.
1265 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
1267 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
1268 to icalls, to avoid special cases in some call conventions.
1270 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1272 * Enum.cs: added Serializable attribute.
1274 2003-07-25 Duncan Mak <duncan@ximian.com>
1276 * AppDomain.cs (Equals):
1277 (GetHashCode): Removed because they do not need to be defined
1280 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1282 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
1283 cannot even get the type.
1285 2003-07-24 Miguel de Icaza <miguel@ximian.com>
1287 * Type.cs: Added generics stubs.
1289 2003-07-23 Duncan Mak <duncan@ximian.com>
1291 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
1292 as values for NET_1_1.
1293 (GetFolderPath): Return the empty string ("") for values of
1294 SpecialFolder that have no corresponding equivalents in
1295 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
1296 and "$HOME" for SpecialFolder.Personal.
1298 * IntPtr.cs (GetObjectData): Mark it as an interface
1299 implementation, instead of a public method.
1301 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
1303 * TypeLoadException.cs (GetObjectData):
1304 Create stubs for the fields that are being serialized.
1306 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
1308 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
1310 * Enum.cs: Fixed enum formatting. For flag enums, if one of
1311 the flags is unnamed, ToString() returns the integer value.
1313 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
1315 * Guid.cs: Fixed ToString (), was producing incorrect string.
1317 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1319 * AppDomainSetup.cs: fixed bug #46609.
1321 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
1323 * MonoType.cs: use an icall for IsPrimitiveImpl ().
1325 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
1327 * Guid.cs: faster ToString ().
1329 2003-07-15 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1331 * FloatingPointFormatter.cs: Few changes for get working Rotor
1334 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
1336 * Type.cs (IsAssignableFrom): Implement this as an icall since the
1337 runtime already includes the neccessary logic.
1339 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1341 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
1342 if it's present and get the full path for non-Uri paths.
1344 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
1346 * DateTime.cs: Fixed formatting of fractions of second.
1348 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
1350 * Console.cs: Turn off buffering for the streams returned by
1351 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
1353 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
1355 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
1356 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
1357 a new random number (although it is not needed), while mono did not.
1358 As a result, the sequence of random numbers could be different for the
1361 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
1363 * FloatingPointFormatter.cs: use dec_len2 as default precision.
1365 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
1367 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
1368 be done after the correspondig UTC offset has been applied.
1370 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
1372 * Object.cs: Object must have the Serializable attribute.
1373 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
1374 to the resulting date. Also fixed _ToString so now correctly formates the
1377 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
1379 * Enum.cs: fix race in cache (bug#41841).
1381 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
1383 * FloatingPointFormatter.cs: if the precision is not specified, use
1384 the default precision for the data type.
1386 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
1388 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
1389 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
1391 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1393 * MonoType.cs: don't throw nullref when the return type for a property
1394 is specified and the property doesn't have a get accessor.
1396 2003-06-10 Duncan Mak <duncan@ximian.com>
1398 * Array.cs (CreateInstance): Fixed a typo. It should throw
1399 ArgumentNullException instead of ArgumentException.
1401 2003-06-09 Duncan Mak <duncan@ximian.com>
1403 * Array.cs: Revert the last revert. I fixed it.
1404 (Sort): Put a try-catch block around qsort, and wrap whatever
1405 Exception we get into a InvalidOperationException.
1407 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
1409 * Array.cs: Revert last patch, it broke some other functionality.
1411 2003-06-08 Duncan Mak <duncan@ximian.com>
1413 * Array.cs: Throw more exceptions. This fixes the errors we see
1414 from the Rotor testsuite.
1416 (CreateInstance): Throw ArgumentNullException when the input are
1417 null. Throw ArgumentOutOfRangeException when bounds + length is
1418 greater than Int32.MaxValue.
1419 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
1420 the valid range of indices of array.
1421 (Sort): Throw InvalidOperationException when comparer is null and
1422 none of the elements in keys implements IComparable.
1424 2003-06-08 Duncan Mak <duncan@ximian.com>
1426 * Array.cs (CreateInstance): Throw a TypeLoadException if the
1427 Length of the input array 'lengths' is greater than 255 so that we
1428 won't see the g_assert that is in mono_array_class_get in class.c.
1430 This fixes bug #44304.
1432 2003-06-05 Nick Drochak <ndrochak@gol.com>
1434 * UnitySerializataionHolder.cs: Cleanups according to class status page
1436 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
1438 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
1439 RuntimeTypeHandle.cs: implemented the needed stuff to handle
1442 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
1444 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
1445 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
1446 for Ben Maurer after review and testing.
1448 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
1450 * Array.cs: Added better argument checking to Array.Sort ()
1451 * DBNull.cs: Made the conversions throw like they do in MS.
1453 2003-05-24 Philip Van Hoof <me@freax.org>
1455 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
1457 2003-05-21 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1459 * FloatingPointFormatter.cs: Take care with the explicit precision
1460 and round the number to that precision.
1462 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
1464 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
1466 2003-05-20 Philip Van Hoof <me@freax.org>
1468 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
1471 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
1473 * AppDomainSetup.cs: Added new field which is used to notify the
1474 runtime that the search path has changed.
1476 2003-05-18 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1478 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
1479 introduced the last change I've done.
1481 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
1483 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
1484 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
1485 behaving correctly).
1487 2003-05-17 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1489 * FloatingPointFormatter.cs: Fixed little format mismatches.
1491 2003-05-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1493 * FloatingPointFormatter.cs: Fixed "-0" result emited.
1495 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1497 * AppDomain.cs: Added null argument check in Load().
1498 * Activator.cs: fixed bug #39926.
1500 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1502 * Enum.cs: fixed bugs #41522 and #42879.
1504 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
1506 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
1507 undocumented MS behaviour.
1509 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1511 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
1514 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1516 * String.cs: fixed bug #41411 and another similar problem in
1517 LastIndexOf (string).
1519 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1521 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
1524 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
1526 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
1527 construction if the delegate list only has one element.
1529 2003-05-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1531 * Environment.cs: Changed the method GetFolderPath because it must
1532 return at least a directory name (not null).
1534 * Convert.cs: In ToType, if the destination type is unknown, try to
1535 cast the value to object (then, the calling method will downcast it
1536 to the type it wants).
1538 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1540 * Enum.cs: fixed bug #41522.
1542 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
1544 * Enum.cs: protect with the lock also the lookup (bug #41841).
1546 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
1548 * MonoType.cs: allow a null name if InvokeMember is called with
1549 BindingFlags.CreateInstance set.
1551 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1553 * Enum.cs: reverted my previous patch.
1555 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1557 * Enum.cs: fixed bug #41841.
1559 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1562 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
1564 2003-04-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1566 * FloatingPointFormatter.cs: Little fixes for get the same results
1567 as MS.NET and show a message when something goes wrong with the
1568 parser of Custom Formats.
1570 2003-04-22 Nick Drochak <ndrochak@gol.com>
1572 * Double.cs (ToString):
1573 * Single.cs (ToString): Handle case where param is a CultureInfo.
1575 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
1577 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
1578 ValueType::Equals() icalls static non-virtual, so they can be called
1579 by the code in RuntimeHelpers.
1581 2003-04-18 Miguel de Icaza <miguel@ximian.com>
1583 * Delegate.cs (operator ==): Do not crash if the second argument
1584 is null. Bug fix submitted by Juan Cri.
1586 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
1588 * Array.cs: Deleted the exception in Array.Initialize(), it looks
1589 like the method do nothing for C#, is still a MonoTODO until
1590 we find a compiler that uses that.
1592 2003-04-14 Miguel de Icaza <miguel@ximian.com>
1594 * Delegate.cs (Delegate): Seems like a typo, we were checking the
1595 a field rather than the argument
1597 * MonoType.cs: Make GetNestedType an external method implementation.
1599 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1601 * Enum.cs: fixed bug #41294.
1603 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1605 * DateTime.cs: fixes bug #40910, part 2.
1607 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
1609 * String.cs (Equals): avoid the internal call, code cleanups
1611 2003-04-11 Alan Tam <Tam@SiuLung.com>
1613 * Convert.cs: fixed bug #41085.
1615 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
1617 * AppDomain.cs: Added internal method for getting process guid.
1619 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
1621 * Array.cs: Little fix to compare () method.
1623 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
1625 * String.cs (Equals): Add trivial optimization.
1627 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1629 * DateTime.cs: fixed bug #40910.
1631 2003-04-05 Miguel de Icaza <miguel@ximian.com>
1633 * Console.cs: Make stderr, stdout and stdin use synchronized
1634 versions of the their readers/writers.
1636 2003-04-04 Dick Porter <dick@ximian.com>
1638 * Version.cs: Make operator== and operator!= cope with null
1639 objects. Didn't change operator<, operator<=, operator> or
1640 operator>= because its not meaningful to use those to compare
1641 against null, and throwing a NullReferenceException is probably
1642 the best thing to do there anyway.
1646 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1648 * AppDomain.cs: fixed InvalidCastException.
1650 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
1652 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
1653 type checks and let it decide whenever a fast copy is possible.
1655 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1658 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
1660 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
1662 * Activator.cs (CreateInstance): Call GetConstructor with the right
1663 arguments so the nonPublic argument is handled correctly.
1665 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1667 * Type.cs: fixed bug #40123.
1669 2003-03-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1671 * FloatingPointFormatter.cs: Fixed some bugs for get the same
1672 results than MS.NET. Added simple error recovering, now ToString
1673 will return a general format if there is any exception in the
1674 process of formatting. This make the library more robust while the
1675 formatters are refined.
1677 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1679 * FloatingPointFormatter.cs: Added support for group separators.
1681 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1684 * Double.cs: Apply changes of .ToString methods.
1685 * SingleFormatter.cs:
1686 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
1687 * FloatingPointFormatter.cs: New class. Implementation of double and
1688 single formatters. It is unified now and parametrized with precission
1691 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
1693 * AppDomain.cs: fixes bugs #39380 and #39331.
1695 2003-03-06 Nick Drochak <ndrochak@gol.com>
1697 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
1699 2003-03-04 Dick Porter <dick@ximian.com>
1702 * Double.cs: Temporarily reverted the Double and Single ToString()
1703 change, because it broke nunit.
1706 2003-03-04 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1708 * Double.cs: Changed ToString method. Added NumberFormatInfo support
1709 with DoubleFormatter class.
1710 * Single.cs: Changed ToString method. Added NumberFormatInfo support
1711 with SingleFormatter class.
1712 * DoubleFormatter.cs: New class with Double formatting functions.
1713 * SingleFormatter.cs: New class with Single formatting functions.
1715 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
1717 * Activator.cs: Added support for activation using activation attributes.
1718 * AppDomain.cs: Added internal method to get the default context from the runtime.
1720 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
1722 * DateTime.cs: FileTime is expressed in Universal time, and as such must
1723 be converted before subtracting the magic offset.
1724 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
1725 the timezone at the end) *must* be parsed by DateTime.Parse() for
1726 compatibility with Microsoft.
1728 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1731 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
1734 * IntPtr.cs: added serialization .ctor
1736 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1738 * AppDomain.cs: check for null in Unload and changed method name.
1740 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1742 * MonoCustomAttrs.cs: fixed bug #38238.
1744 2003-02-17 Martin Baulig <martin@ximian.com>
1746 * Exception.cs (Exception.ToString): Print a newline between the
1747 exception message and the stack trace.
1749 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1751 * AppDomain.cs: implemented GetCurrentThreadId ().
1753 2003-02-14 Patrik Torstensson
1755 * Exception.cs: Fixed message output formating
1757 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1760 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
1762 2003-02-12 Miguel de Icaza <miguel@ximian.com>
1764 * Type.cs: IsClass should return false for Enumerations
1766 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1768 * MonoCustomAttrs.cs: return the correct array type in the short case.
1771 2003-02-08 Pedro MartÃenz Juliá <yoros@wanadoo.es>
1773 * Math.cs: Fix a few methods (like Round) and add with comments the
1774 new methods: BigMul and DivRem that were in ECMA specs.
1776 2003-02-07 Patrik Torstensson
1778 * Exception.cs: Fixed formating
1780 2003-02-05 Patrik Torstensson
1782 * AppDomain.cs: Partly fixed the unload method
1784 2003-02-04 Patrik Torstensson
1786 * AppDomain.cs: Fixed lease issue with appdomain
1788 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
1790 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
1791 InitializeLifetimeService().
1793 2003-02-03 Patrik Torstensson
1795 * AppDomain.cs: New internalcalls for handling domain/context switches
1796 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
1798 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1800 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
1801 and ClearShadowCopyPath and fixed GetType ().
1803 * Attribute.cs: clean up.
1805 * Console.cs: removed UnixConsoleEncoding. Use Default.
1807 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1809 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
1810 GetCustomAttributes later.
1812 2003-01-31 Patrik Torstensson
1814 * Buffer.cs: Changed access level of BlockCopyInternal
1816 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
1818 * String.cs, IntegerFormatter.cs: use const where appropriate.
1820 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1822 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
1825 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1827 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
1828 The argument ICustomAttributeProvider can be of other types different
1829 from Type. Handle it.
1831 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
1833 * DateTime.cs: fix FromFileTime so the time returned by
1834 File::GetLastModificationTime etc. is in the correct timezone.
1836 2003-01-28 Patrik Torstensson
1837 * Exception.cs: reverted formating/endline changes (sorry guys)
1839 2003-01-28 Patrik Torstensson
1841 * MarshalByRefObject.cs: implemented GetObjectIdentity
1842 * Exception.cs: added support for remote exceptions
1844 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1846 * DateTime.cs: fixed bug #37225.
1848 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1850 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
1852 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
1854 * AppDomain.cs: Added DoTypeResolve method which will be called by
1855 the runtime to raise TypeResolve events.
1857 2003-01-27 Duncan Mak <duncan@ximian.com>
1859 * Enum.cs (ToType): Implement this using Convert.ToType.
1861 2003-01-21 Miguel de Icaza <miguel@ximian.com>
1863 * Math.cs: Remove Pow's implementation body as it was wrong. The
1864 C code does the right thing. The code was trying to handle a
1865 number of cases, and that was incorrect.
1867 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1869 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
1872 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1874 * Enum.cs: added caching to GetInfo.
1876 2003-01-23 Dick Porter <dick@ximian.com>
1878 * Environment.cs (System): Implemented ExitCode
1880 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
1882 * Type.cs (IsInstanceOfType): fixed regression caused by the change
1885 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1887 * MonoType.cs: re-added lines that were removed in the previous commit.
1889 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
1891 * Type.cs: corrected property IsSerializable. It should always return
1892 true for enums and delegates
1893 * MonoType.cs: added serialization support.
1894 * Delegate.cs: added serialization support.
1895 * DBNull.cs: added serialization support.
1896 * UnitySerializationHolder.cs: supports serialization of Assembly,
1897 MonoType and DBNull.
1898 * DelegateSerializationHolder.cs: added.
1900 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1902 * Exception.cs: changed default message to match MS one.
1904 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
1906 * String.cs: Fixed bug with CompareOrdinal
1908 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1910 * Enum.cs: implements IFormattable.
1912 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1914 * AppDomain.cs: implemented DoCallBack method.
1916 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
1919 NUnit2 tests start moving.
1921 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1923 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
1924 instantiate an abstract class.
1926 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1929 (IsSubclassOf): return false when null. Use != instead of Equals.
1931 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1933 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
1935 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
1937 * MonoType.cs: fixed Namespace property for nested types.
1939 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
1941 * MonoCustomAttrs.cs: create properly typed arrays when returning
1942 arrays of attributes of a given type.
1944 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
1946 * MonoType.cs: fixed MemberType property for nested types.
1948 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1950 * String.cs: fixed bug #36209.
1952 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
1954 * Activator.cs: implemented method GetObject.
1956 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
1958 * Activator.cs: Since the documentation indicates the method
1959 either succeeds or throws one of the listed exceptions, we weren't
1960 expecting that CreateInstance might be returning null.
1962 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
1964 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
1966 * MarshalByRefObject.cs: implemented CreateObjRef.
1968 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1970 * DateTime.cs: fixed bug #30076.
1971 * TimeZone.cs: provide the parameter name in a exception.
1973 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1975 * DecimalFormatter.cs: fixed bug #35560.
1977 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
1979 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
1981 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1983 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
1984 nulls. Fixes #34909.
1986 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1988 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
1989 returns a non-null assembly.
1991 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1993 * MulticastDelegate.cs: make GetInvocationList work for more than 1
1996 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1998 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
1999 if this is the correct order of invocation.
2001 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2003 * Type.cs: changed the signature of internal_from_name. Modified
2004 the overloads of GetType to use it and check the typeName argument.
2005 Implemented FindInterfaces.
2007 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2009 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
2010 some obscure reasons (try make -f makefile.gnu using a corlib which has
2011 the modified version).
2013 2002-11-26 Miguel de Icaza <miguel@ximian.com>
2015 * String.cs (Concat): Reduce the number of compares required.
2017 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
2019 * Activator.cs: throw a MissingMethodException if the default
2020 constructor is not found in CreateInstance.
2022 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2025 (Equals (str, str)): use 'as' instead of casting to object.
2026 (Equals (obj)): check the length of the strings (until now,
2027 "Hello".Equals ((object) "Hellow World!) was true!).
2029 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2031 * MonoType.cs: implemented GetEvent (name, flags).
2033 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2035 * AppDomain.cs: implemented a couple of methods called from the runtime
2036 to fire AssemblyLoad and AssemblyResolve events.
2038 2002-10-31 Dick Porter <dick@ximian.com>
2040 * Environment.cs: MonoIO methods now have an error parameter
2042 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
2044 * Enum.cs: Added support for whitespaces in Enum:Parse().
2046 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2048 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
2049 internal call. Closes bug #32992.
2051 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2053 * Exception.cs: display the inner exception, if any, in ToString ().
2055 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2057 * Environment.cs: fixed StackTrace property.
2059 2002-10-16 Nick Drochak <ndrochak@gol.com>
2061 * Enum.cs (Parse): Then fix the code so that it works too.
2063 2002-10-15 Nick Drochak <ndrochak@gol.com>
2065 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
2067 2002-10-12 Nick Drochak <ndrochak@gol.com>
2069 * IntegerFormatter.cs: Fix compiler warnings.
2071 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
2073 * Type.cs (GetConstructors): Use the correct flags.
2075 2002-10-09 Nick Drochak <ndrochak@gol.com>
2077 * IntegerFormatter.cs: Suppress insignificant leading zeros
2079 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
2081 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
2082 <stonewell@21cn.com> to return also derived types.
2084 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2086 * Activator.cs: little fix in CreateInstance (Type, bool).
2088 2002-09-19 Duncan Mak <duncan@ximian.com>
2090 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
2091 I18N/Common from building right now.
2093 2002-09-19 Nick Drochak <ndrochak@gol.com>
2095 * Array.cs (CopyTo): Account for Object type and base (primitive) types
2096 * Type.cs (IsAssignableFrom): return false for a null parameter
2098 2002-09-19 Nick Drochak <ndrochak@gol.com>
2100 * Array.cs (CopyTo): Check that source type can be cast automatically
2101 to the destination type.
2103 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2105 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
2108 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2110 * Char.cs: implemented ToString (char)
2111 * IntegerFormatter.cs: made it internal.
2113 2002-09-13 Nick Drochak <ndrochak@gol.com>
2115 * Enum.cs (Format): handle the "d" format for both signed and unsigned
2118 2002-09-12 Dick Porter <dick@ximian.com>
2120 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
2121 attribute, as there doesn't appear to be any struct
2122 layout-depending code here (and corcompare says it should be
2123 LayoutKind.Sequential)
2125 * Decimal.cs: Stub out missing methods, add
2126 [DecimalConstantAttribute] to the constant fields (as shown by
2129 * LocalDataStoreSlot.cs:
2132 * Array.cs: Stub out missing methods.
2134 * TypedReference.cs:
2135 * ArgIterator.cs: Stub out
2137 * AppDomainSetup.cs:
2138 * AppDomain.cs: Stub out missing methods, add missing
2139 ClassInterface(ClassInterfaceType.None) attribute.
2141 2002-09-12 Nick Drochak <ndrochak@gol.com>
2143 * Double.cs (ToString): Throw exception when "X" format is passed in.
2145 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
2147 * MonoType.cs: implemented Module property.
2149 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
2151 * MonoType.cs, Type.cs: implemented InvokeMember.
2153 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
2155 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
2156 type. Check the method signature matches.
2158 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
2160 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
2162 2002-09-06 Miguel de Icaza <miguel@ximian.com>
2164 * Console.cs: Specify an encoder, otherwise we will get the UTF8
2165 encoder that by default emits the byte markers.
2167 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
2169 * Delegate.cs: look also for non-public methods until we have the
2170 security checks in place.
2172 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
2174 * MonoType.cs: consider also the full name in GetInterface.
2176 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
2178 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
2179 GetMethodImpl using the binder.
2180 * Type.cs: GetConstructorImpl/GetConstructor fixes.
2182 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
2183 * Enum.cs: Get rid of warning CS0162.
2185 2002-09-04 Miguel de Icaza <miguel@ximian.com>
2187 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
2188 actual value instead of public.
2190 * LocalDataStoreSlot.cs: Make constructor internal.
2192 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
2193 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
2196 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
2197 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
2200 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2202 * DateTime.cs: fixed buglet.
2204 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
2206 * MonoType.cs: speedup access to common data.
2208 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2210 * Double.cs: implemented TryParse.
2212 * Math.cs: PowImpl is now private.
2214 * MissingFieldException.cs: implemented Message.
2216 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
2218 * _AppDomain.cs: Uncommented ToString.
2220 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2223 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
2225 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2227 * ArgumentException.cs: use the field instead of the property for
2230 * ArgumentOutOfRangeException.cs: modified Message.
2233 (_DoParse): throw out of range exception for year. Removed check
2234 for month (it's done in the constructor).
2236 2002-08-21 Miguel de Icaza <miguel@ximian.com>
2238 * Environment.cs: Implemented OSVersion property.
2240 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
2242 * Exception.cs: set stack_trace to null
2244 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
2246 * AppDomain.cs: implemented ToString().
2248 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2250 * AppDomain.cs: securityInfo can be null in CreateDomain.
2252 2002-08-19 Dick Porter <dick@ximian.com>
2254 * MonoType.cs: Add a space before the Assembly name in
2255 AssemblyQualifiedName (needed for resource files so the MS runtime
2258 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2260 * AppDomain.cs: parameter name when throwing ArgumentNullException.
2262 * ArgumentException.cs: modified Message to do what MS does.
2264 * ArgumentNullException.cs: don't use {0} in message.
2266 * Exception.cs: use Message property in ToString ().
2268 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
2270 * WeakReference.cs: Changed the constructor and GetObjectData
2271 method needed for ISerializable implementation in order to be
2272 compatible with SOAP generated by MS.
2274 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
2276 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
2278 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
2280 * Exception.cs (ToString): changed the ouput format.
2282 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
2284 * MonoType.cs: moved get_method icall to this class, we can
2285 remove it as soon someone provides a full featured GetMethodImpl.
2287 * Type.cs: use GetMethodImpl everywhere.
2289 * Delegate.cs: new CreateDelegate implementations.
2291 2002-08-06 Tim Coleman <tim@timcoleman.com>
2293 Fix bug #28582. Now checks parameters for properties
2296 2002-08-04 Nick Drochak <ndrochak@gol.com>
2298 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
2300 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2303 (FormatSpecifier): allow white space between the comman and the width
2306 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2311 * UInt64.cs: fixed bug #28050. May be a MS bug?
2313 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
2315 * MonoType.cs: fix IsArrayImpl.
2317 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2319 * String.cs: make ToLower (culture) and ToUpper (culture) use the
2320 default ToLower and ToUpper and don't throw NotImplemented.
2322 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
2324 * Type.cs: make GettTypeCode an icall. Test implementation of
2327 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2329 * AppDomainSetup.cs: implemented LoaderOptimization.
2331 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2333 * Activator.cs: some more intermediate results checking in
2334 in CreateInstance and CreateInstanceFrom and use GetConstructor and
2335 Invoke only with Type [] until the other overloaded versions work.
2337 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2339 * Activator.cs: reformatted. Implemented CreateInstance* methods
2340 that return ObjectHandle.
2342 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
2344 2002-07-03 Nick Drochak <ndrochak@gol.com>
2346 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
2347 the divisor is not) and avoid the icall, which seems to have a bug.
2349 2002-07-03 Nick Drochak <ndrochak@gol.com>
2351 * Double.cs (CompareTo): Correctly handle the case where the instance
2352 is NaN. Also return 0 if the values are equal.
2354 2002/07/03 Nick Drochak <ndrochak@gol.com>
2356 * MissingMethodException: Add missing Message property
2357 * MissingMemberException: Add missing Message property
2359 2002-06-30 Nick Drochak <ndrochak@gol.com>
2361 * Double.cs (CompareTo): Just see which is bigger. Don't use the
2362 subtraction trick, it doesn't work when the values have a diference of
2365 * Single.cs (CompareTo): same
2367 2002-06-27 Martin Baulig <martin@gnome.org>
2369 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
2370 constructor argument. [FIXME: The implicit conversion to an
2371 unsigned integer doesn't work with mcs.]
2373 2002-06-26 Martin Baulig <martin@gnome.org>
2375 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
2376 not `S = System'. This file now compiles with mcs.
2378 * String.cs: Removed the already ifdef-outed __arglist Concat function
2379 to make it compile with mcs.
2381 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2383 * IntegerFormatter.cs:
2384 (FormatParse.FormatNumber): fixed custom format for negative numbers.
2386 2002-06-21 Martin Baulig <martin@gnome.org>
2388 * Double.cs: Replace the private `enum State' with constants since this
2389 will avoid some bigger headaches in mcs.
2391 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
2393 * TimeSpan.cs: do not pollute the namespace with the
2396 2002-06-18 Nick Drochak <ndrochak@gol.com>
2398 * ArgumentException.cs: Use the message given in the constructor when
2399 accessing the Message property. Thanks to Dietmar for the help with
2402 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
2404 * MonoType.cs: GetField is now a InternalCall
2406 2002-06-13 Nick Drochak <ndrochak@gol.com>
2408 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
2409 sortable format(s), e.g. "2002-02-25"
2411 2002/06/12 Nick Drochak <ndrochak@gol.com>
2413 * Random.cs (Next): Fix math error. Return a number within the range.
2415 2002-06-12 Nick Drochak <ndrochak@gol.com>
2417 * String.cs (IndexOf): Return -1 if start index is equal to string
2420 2002-06-10 Duncan Mak <duncan@ximian.com>
2422 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
2423 (ToType): Added null field in conversionTable to avoid
2424 IndexOutOfRangeException. Changed what exceptions we throw to match
2427 2002-06-11 Nick Drochak <ndrochak@gol.com>
2429 * Int64.cs (Parse): Added unique strings to the messages where we throw
2430 a FormatException. Needed these to debug, so just left them in since
2431 they might be useful later. Fixed Currency parsing where we weren't
2432 looking at CurrencyDecimalSeparator, etc.
2434 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
2436 * DateTime.cs: fixes to pass tests M0 to M6:
2437 if yy pattern then year values >= 30 are in 20th century
2438 rfc1123 pattern is always in GMT, therefor useutc must be false
2439 made GetNow() internal static so it can be called from TimeZone.
2440 * TimeZone.cs: removed dependency on year 2002 from initialization of
2443 2002-06-09 Duncan Mak <duncan@ximian.com>
2445 * Convert.cs (ToType): Rearranged what Exceptions we throw to
2448 2002-06-08 Duncan Mak <duncan@ximian.com>
2450 * Decimal.cs: Added support for the IConvertible interface.
2452 2002-06-08 Martin Baulig <martin@gnome.org>
2454 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
2455 doesn't necessarily need to be of the enum's underlying type.
2457 2002/06/07 Nick Drochak <ndrochak@gol.com>
2459 * String.cs: Add [Serializable] to class
2460 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
2462 2002-06-04 Nick Drochak <ndrochak@gol.com>
2464 * Double.cs (Parse): Recognize the group separator string, but still we
2465 don't check the format for the proper number of digits between
2466 separators. Also throw OverflowException when we get Pos or Neg
2467 Infinity from runtime.
2469 2002-06-03 Duncan Mak <duncan@ximian.com>
2471 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
2473 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
2475 * Type.cs: fixed GetTypeCode.
2477 2002-06-02 Duncan Mak <duncan@ximian.com>
2479 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
2480 cast from an int so that we throw OverFlowException correctly.
2482 (ToInt64): Use a new 64bit version of ConvertToBase.
2484 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
2485 and Int32.MaxValue).
2487 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
2489 2002-06-02 Nick Drochak <ndrochak@gol.com>
2491 * Convert.cs (ToSByte): Check for special value.
2492 * Single.cs (Parse):
2493 * UInt16.cs (Parse):
2494 * UInt32.cs (Parse): Throw OverflowException if negative
2496 2002-06-02 Duncan Mak <duncan@ximian.com>
2498 * Convert.cs (DBNull): Point it to DBNull.Value.
2499 (IsDBNull): Instead of checking typecodes, just check to see if
2500 it's the same as the DBNull field.
2502 2002-06-02 Nick Drochak <ndrochak@gol.com>
2504 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
2506 2002-06-02 Duncan Mak <duncan@ximian.com>
2508 * Char.cs (Parse): Simplify the Exception handling.
2510 * Convert.cs (ToDecimal): Remove call to Math.Round () when
2511 converting from a float.
2513 2002-05-30 Martin Baulig <martin@gnome.org>
2515 * MonoType.cs (GetInterface): Implemented.
2517 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
2519 * Activator.cs: implemented CreateInstance ().
2521 2002-05-22 Duncan Mak <duncan@ximian.com>
2523 * Convert.cs (ConvertToBase): Added new 64bit version.
2524 (BuildConvertedString64): New 64bit version of
2525 BuildConvertedString.
2527 This fixes bug 25068.
2529 (ConvertFromBase): Added additional test for checking if the
2530 digits are valid. Thanks to Miguel for coming up with this test.
2532 This fixes bug 25071.
2534 2002-05-21 Duncan Mak <duncan@ximian.com>
2536 * Convert.cs (ToType): Rearranged to fit the new layout of
2539 (conversionTable): Rearranged to fit the layout of the
2540 System.TypeCode enum.
2542 This should fix bug 25075.
2544 2002-05-21 Duncan Mak <duncan@ximian.com>
2546 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
2547 mixed up the two code paths, one for converting to a specific base
2548 (this case), another from converting from a foreign base to base10
2549 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
2551 * Convert.cs (ToByte)
2552 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
2553 that we won't confuse FormatException with OverflowException.
2555 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
2557 * Environment.cs: CommandLine missed spaces between arguments.
2558 Implemented StackTrace. Returning MachineName in UserDomainName
2561 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
2563 * MonoCustomAttrs.cs: handle inherit argument.
2565 2002-05-21 Nick Drochak <ndrochak@gol.com>
2567 * Math.cs (Pow): Change icall method name and insert parameter
2568 checks in for infinities and NaN.
2570 2002-05-13 Miguel de Icaza <miguel@ximian.com>
2572 * Double.cs (Parse): Reimplement by cleaning up the string first,
2573 and then passing to strtof in the mono runtime.
2575 * Single.cs (Parse): Use the Double implementation and cast to
2578 2002-05-21 Nick Drochak <ndrochak@gol.com>
2581 (Ceiling): Check for "special" values
2582 (Floor): Check for "special" values
2583 (Round): Fix off-by-one error on decimal shifting
2585 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
2587 * DateTime.cs: ToString () using "G" format specifier
2589 2002-05-19 Martin Baulig <martin@gnome.org>
2591 * Convert.cs (FromBase64CharArray): Do correct exception handling.
2593 2002-05-19 Martin Baulig <martin@gnome.org>
2595 * Convert.cs (FromBase64CharArray): Convert the char array using
2596 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
2599 2002-05-17 Miguel de Icaza <miguel@ximian.com>
2601 * MonoType.cs: Style changes.
2603 * Type.cs: Style changes.
2605 2002-05-16 Piers Haken <piersh@friksit.com
2607 * UInt64.cs: fix declaration of IConvertible.To* overrides.
2609 2002-05-16 Nick Drochak <ndrochak@gol.com>
2611 * BitConverter.cs (ToString): Add parameter check for invalid start
2614 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
2615 now that StreamWriter uses buffering
2617 2002-05-14 Miguel de Icaza <miguel@ximian.com>
2619 * Double.cs: Oops. Also handle exponents without finding a dot.
2621 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2623 * ChangeLog: removed empty entry at the top of the file.
2625 * Int32.cs: made static functions used by Parse internal.
2629 * UInt64.cs: removed static fucntions used by Parse and use the ones
2632 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
2634 * IServiceProvider.cs: added using System
2636 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
2638 * Single.cs: copied ToString() and Parse() methods from
2639 Double to Single and modified a tiny bit for Single.
2640 There is still a FIXME for Double and Single about
2641 passing the format and provider info to the icall too.
2643 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2648 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
2649 Don't use a delegate to test for valid digits.
2651 2002-05-01 Duncan Mak <duncan@ximian.com>
2654 * Math.cs: Added missing CLSCompliant attributes where necessary.
2656 2002-04-30 Duncan Mak <duncan@ximian.com>
2658 * ArgumentException.cs (Message):
2659 * ArgumentOutOfRangeException.cs (Message): Added.
2661 2002-04-30 Nick Drochak <ndrochak@gol.com>
2663 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
2665 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
2667 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
2669 2002-04-28 Duncan Mak <duncan@ximian.com>
2671 * DivideByZeroException.cs: Added missing serialization constructor.
2673 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
2675 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2677 * Math.cs: fix Floor () and Round (). Closes #23960.
2679 2002-04-27 Nick Drochak <ndrochak@gol.com>
2681 * Array.cs (IList.Contains): Should throw a RankException if this is
2682 called on a Rank > 1 array. Not in the docs, but this is what the
2685 2002-04-26 Duncan Mak <duncan@ximian.com>
2687 * MissingMemberException.cs: Made the message variable 'protected'
2688 instead of 'private', so that we can see it in
2689 MissingMethodException and MissingFieldException.
2691 * MissingFieldException.cs:
2692 * MissingMethodException.cs: Added missing (string, string)
2693 constructor, and also the Message property.
2695 2002-04-26 Martin Baulig <martin@gnome.org>
2697 * Enum.cs: Implemented the IConvertible methods.
2699 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2701 * SByte.cs: little change in Parse (string) to avoid incorrect
2702 OverflowException thrown (reported by nickd).
2704 2002-04-22 Miguel de Icaza <miguel@ximian.com>
2706 * ValueType.cs: Add Serializable attribute.
2708 * String.cs: ifdef-out out the __arglist Concat function until I
2709 add support for that to mcs.
2711 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
2713 * AppDomain.cs (GetValue): usage of the correct icall (bug)
2715 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
2717 * GC.cs: implement most of the methods as icalls.
2719 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2721 * DecimalFormatter.cs (ToString): return correct value when the
2722 decimal number is 0.
2724 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
2726 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
2727 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
2729 2002-04-24 Nick Drochak <ndrochak@gol.com>
2731 * Double.cs (Parse): Handle case where there are no digits before the
2732 decimal point, such as ".1".
2734 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2739 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
2741 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
2743 * String.cs (Split): fixed invalid split of count 0 and 1.
2745 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
2747 * String.cs (LastIndexOf): fixed argument checking.
2748 * String.cs (Equals): made internal for performace.
2750 2002-04-23 Nick Drochak <ndrochak@gol.com>
2752 * String.cs (Join): check argument and throw exception if needed
2754 2002-04-23 Nick Drochak <ndrochak@gol.com>
2756 * String.cs (StartsWith): check argument and throw exception if needed
2758 2002-04-22 Nick Drochak <ndrochak@gol.com>
2760 * String.cs (IndexOfAny): check arguments and throw exceptions as
2761 neccessary. ALso remove some debug WriteLines.
2763 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
2765 * String.cs: use internal constructors
2768 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
2770 * MonoType.cs: make GetElementType its own icall.
2772 2002-04-18 Nick Drochak <ndrochak@gol.com>
2774 * String.cs: Modified file. Re-add methods needed by the unit tests.
2776 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
2778 * String.cs: some code speedups and restored GetTypeCode().
2780 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
2782 * String.cs: New implementation using internal calls.
2784 2002-04-16 Nick Drochak <ndrochak@gol.com>
2786 * DecimalFormatter.cs: Trim off excess null characters from the string
2787 that decimal2string gives back.
2789 2002-04-16 Nick Drochak <ndrochak@gol.com>
2791 * String.cs (SubString): revert my change. I can't reproduce the
2794 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2796 * Attribute.cs: added GetHashCode and Equals.
2798 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2800 * Enum.cs: little improvements to Format ().
2802 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
2804 * String.cs: internalcall GetHashCode().
2805 * Array.cS: optimize access to elements.
2807 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
2809 * String.cs: make IndexOfAny() use an internalcall.
2811 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2816 * UInt64.cs: fixed error when testing for validity of flags.
2818 2002-04-11 Nick Drochak <ndrochak@gol.com>
2820 * Double.cs: Use an internal call for ToString(). This is just a simple
2821 implementation to get away from throwing a NotImplementedException.
2823 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2828 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
2832 * Int64.cs: throw an OverFlowException when parsing a string
2833 containing a dot followed by any non '0' number.
2835 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2840 * UInt64.cs: added complex Parse ().
2842 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2847 * Int64.cs: added complex Parse ().
2849 2002-04-09 Nick Drochak <ndrochak@gol.com>
2851 * Array.cs (BinarySearch): Add checks on paramters before using them
2852 and throw exceptions as needed.
2854 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
2855 "G" format to "F" if so.
2857 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
2859 * MonoCustomAttrs.cs: return arrays of type Attribute[]
2860 instead of object[].
2862 2002/04/09 Nick Drochak <ndrochak@gol.com>
2864 * String.cs (Substring): Copy only non-null characters to the new
2867 2002-04-09 Nick Drochak <ndrochak@gol.com>
2869 * IntegerFormatter.cs: Don't use a format character to indicate a
2870 custom format was passed in. It was using 'z' to indicate a custom
2871 format, but really it should throw a format exception if the user
2872 tries to use "z" as the format string. Now it does.
2874 * Activator.cs: New File.
2876 2002-04-08 Nick Drochak <ndrochak@gol.com>
2878 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
2879 applied to an enum. Need to handle the different possible integer
2880 types of an enum somehow. Can anyone say generics?
2882 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
2884 * Convert.cs: switched the To*(object) methods to use
2885 IConvertible directly instead of calling ChangeType
2887 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
2889 * ValueType.cs: make Equals() an internalcall.
2891 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2893 * Type.cs: also look for nested types in FindMembers.
2894 * MonoType.cs: make GetNestedTypes() an internalcall.
2896 2002-04-05 Nick Drochak <ndrochak@gol.com>
2898 * Enum.cs (Parse): Handle different underlying types.
2900 2002/04/04 Nick Drochak <ndrochak@gol.com>
2902 * Enum.cs (IsDefined): Throw exception when type of value to look for
2903 is not the correct one. Attempt to have it work with string values
2904 too, but not sure if the unit tests are getting that far yet.
2906 2002-04-04 Nick Drochak <ndrochak@gol.com>
2908 * Decimal.cs: Fix a couple of typos.
2910 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
2912 * Enum.cs: the values array is of the enum and not of the underlying
2913 type. Updates and some bug fixes.
2914 * MonoType.cs: make the internalcall return FullName instead of the
2915 assembly qualified name.
2916 * Type.cs: make ToString () simply return FullName.
2918 2002-04-03 Nick Drochak <ndrochak@gol.com>
2920 * Type.cs (GetTypeCode): provide some of the implementation for this
2921 method. It's still too simplistic to be considered complete.
2923 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
2925 * Object.cs: fixed FieldGetter/FieldSetter signature
2927 2002-04-02 Nick Drochak <ndrochak@gol.com>
2929 * Environment.cs: add MonoTODO's on parts that should have it.
2931 2002-04-01 Nick Drochak <ndrochak@gol.com>
2933 * Enum.cs: added reality checks (check parameters to most methods that
2936 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
2938 * Object.cs: added FieldGetter/FieldSetter
2940 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2942 * IntegerFormatter.cs: fixed initialization error in static
2945 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
2947 * Delegate.cs: added new field to store a trampoline function
2949 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2951 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
2952 make custom format strings work (not fully functional yet).
2954 2002/03/28 Nick Drochak <ndrochak@gol.com>
2956 * IntegerFormatter.cs: Change class from internal to public. Add
2957 necessary [CLSCompliant(false)] attributes.
2959 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
2960 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
2963 2002-03-28 Nick Drochak <ndrochak@gol.com>
2965 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
2967 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
2969 * Console.cs: Modified to get std handles from MonoIO.
2970 * Environment.cs: removed PAL dependencies.
2972 2002-03-25 Miguel de Icaza <miguel@ximian.com>
2974 * String.cs (System): Removed internal enumeration, because
2975 bootstrapping the corlib at this point does not support
2978 * IntPtr.cs: Temporary work-around until I fix the assembly
2981 2002-03-24 Martin Baulig <martin@gnome.org>
2983 * Enum.cs (GetValues): According to the docu this is sorted after
2986 * String.cs (System): Removed enumeration, because it is pretty
2987 hard to support enumerations in /nostdlib mode for the core types.
2989 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
2991 * Array.cs: move error handling in the catch block.
2992 * MulticastDelegate.cs: remove == and != operators that were
2993 removed with the delegate changes (when you add stuff, please do not
2994 remove existing functionality!).
2995 * Type.cs: if a property is not found in a type, search for it
2996 in the parent types, too.
2998 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
3000 * Math.cs: changed to use icall instead of PAL.
3002 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
3004 * Double.cs: added check for NaN (Bug [22082])
3006 2002-03-19 Nick Drochak <ndrochak@gol.com>
3008 * Enum.cs (Equals): check for null and throw if it is.
3009 * Enum.cs (Format): check for null parameters and throw if necessary.
3010 This method still needs more argument checking.
3012 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
3014 * Enum.cs (Equals): check if Enums are of the same type
3016 2002-03-18 Nick Drochak <ndrochak@gol.com>
3018 * Double.cs: Explicitly handle comparisons in CompareTo() for
3019 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
3021 * Enum.cs(CompareTo): Check types of values before trying to compare.
3022 Throw exceptions if types are invalid or don't match.
3024 2002-03-14 Miguel de Icaza <miguel@ximian.com>
3026 * Array.cs: Add some extra debugging information.
3028 2002-03-15 Nick Drochak <ndrochak@gol.com>
3030 * Array.cs: Added IList and IEnumerable.
3032 2002-03-14 Miguel de Icaza <miguel@ximian.com>
3034 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
3037 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
3039 * Delegate.cs (Equals): also compare method_ptr
3040 (GetHashCode): returm method_ptr as hash
3042 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
3043 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
3044 such as 42.ToString("0000000"), as these are (currently) not implemented
3045 in System.IntegerFormatter. TimeSpan luckely can do with Standard
3046 Numeric Format Strings, such as 42.ToString("D7").
3048 2002-03-12 Duncan Mak <duncan@ximian.com>
3050 * FieldAccessException.cs:
3051 * MethodAccessException.cs:
3052 * PlatformNotSupportedException.cs: Inherit from
3053 MemberAccessException, not SystemException.
3055 * ObsoleteAttribute.cs: Made Message and IsError properties
3058 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
3060 * GC.cs: make SuppressFinalize() a nop.
3061 * Delegate.cs: fix == operator.
3063 2002-03-13 Nick Drochak <ndrochak@gol.com>
3065 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
3066 runtime that goes with this patch.
3068 2002-03-10 Martin Baulig <martin@gnome.org>
3070 * Int32.cs (Parse): Correctly parse negative numbers.
3072 2002-03-08 Martin Baulig <martin@gnome.org>
3074 * String.cs (Split): Really fix it this time. Also adding several new
3075 testcase to the testsuite.
3077 2002-03-08 Martin Baulig <martin@gnome.org>
3079 * Array.cs (Copy): Optimized: removed duplicate null check, removed
3080 two duplicate GetLowerBound() calls and one duplicate IsValueType.
3082 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
3084 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
3085 * String.cs: use the dumb code for IndexOf(string): this is worth
3086 15-20 % speedup in mcs compile with mint.
3088 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
3090 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
3092 2002-03-07 Martin Baulig <martin@gnome.org>
3094 * String.cs (Join): Throw an ArgumentNullException.
3095 (LastIndexOf (string,int,int)): This method does a backwards search,
3096 so startIndex points to the end of value, not to its beginning. Don't
3097 throw an exception if startIndex equals this.Length. Always return -1
3098 if startIndex is smaller than the length of value.
3099 (Replace (string,string)): Replace all occurences of oldValue.
3100 If newValue is null, all occurences of oldValue are to be removed.
3101 (Split (char[],int)): Return an empty array if maxCount is zero, throw
3102 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
3103 elements, not maxValue+1.
3105 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
3107 * MonoType.cs: make GetEvents() an internal call.
3108 * MulticastDelegate.cs: copy the passed in array.
3110 2002-03-06 Martin Baulig <martin@gnome.org>
3112 * Array.cs (Copy): Use FastCopy when appropriate and do correct
3115 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
3116 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
3117 some of the failures found be new tests (see ChangeLog in
3118 Test/System). Comments added to this method, based on
3119 the representation invariant of this class, that (try to) explain
3120 why it now should be correct.
3122 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
3124 * Int64.cs (Parse): bug fix for max. negative value.
3126 2002-03-07 Nick Drochak <ndrochak@gol.com>
3128 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
3129 I need to understand what the difference between the attribute and
3132 2002-03-06 Martin Baulig <martin@gnome.org>
3134 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
3135 an InvalidCastException if the widening conversion failed. See
3136 testcases #M94-#M96.
3138 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
3139 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
3142 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
3143 (Copy): Actually allow copying multi-dimensional arrays.
3145 2002-03-05 Duncan Mak <duncan@ximian.com>
3148 (DBNull) Added the missing field.
3149 (IsDBNull) Fixed typo.
3150 (ToByte (string, int)) Implemented.
3151 (ToString (byte, int)) Implemented.
3153 (BuildConvertedString) internal functions used for converting values to
3161 * UInt32.cs: Implemented the IConvertible interface.
3163 * CharEnumerator.cs: Renamed to variables to be clearer and
3164 changed some of the tests to conform to the 1.0 spec.
3166 2002-03-06 Martin Baulig <martin@gnome.org>
3168 * Array.cs (Copy): Calculate absolute array position here and use
3169 GetValueImpl() and SetValueImpl() with that position. We can now
3170 copy multi-dimensional arrays.
3171 (CopyTo): Small bug fix.
3173 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
3175 * Version.cs: CompareTo changed according the LAMESPEC discovered by
3176 Nick (See VersionTest.cs).
3177 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
3178 error comparing the current position (idx) against the length of the
3179 string iterated and it set idx to an unrecognized special value (-2)
3181 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
3183 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
3184 to do this dirty work, but someone has to do it (and I need it to pass
3185 the "200 sample tests compiled on linux" mark).
3187 2002-03-06 Nick Drochak <ndrochak@gol.com>
3190 * DecimalFormatter.cs
3197 * RuntimeMethodHandle.cs
3198 * RuntimeTypeHandle.cs
3201 Add [MonoTODO]'s to places where we currently throw a
3202 NotImplementedException.
3204 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
3206 * Int16.cs (Parse): do not overflow on max negative value
3208 * Int32.cs (Parse): do not overflow on max negative value
3210 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
3212 * Type.cs: fixed IsClass.
3213 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
3214 IsByRefImpl. Added GetInterfaces().
3215 * IServiceProvider.cs: compilation fix.
3217 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
3219 * Array.cs: allow copying an empty array to an empty array.
3221 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
3223 * String.cs: fixed LastIndexOf (string) to do a bit of argument
3226 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
3227 * Version.cs: many fixes to failures found by the newly created
3228 test cases for this class. Specifically, the CompareTo member
3229 returned wrong values due to the use of Int32.MaxValue as a special
3230 value indicating an "undefined" version component. Also implemented the
3231 missing operators (==, <, >, etc.), one missing constructor and
3232 and some exception throwing.
3234 2002-03-04 Nick Drochak <ndrochak@gol.com>
3236 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
3237 * Attribute.cs: Add missing attributes: Serializable and
3238 AttributeUsage(AttributeTargets.All)
3240 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
3242 * MonoType.cs: implemented GetConstructors(), GetFields(),
3243 GetMethods(), GetProperties().
3244 * Object.cs: added debugging icall obj_address().
3245 * Type.cs: fixed the binding flags for some Get* methods.
3246 Implemented FindMembers() as calls to the specific GetMember
3249 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
3250 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
3251 should give an exception for n>=s.Length.
3253 2002-03-01 Martin Baulig <martin@gnome.org>
3255 * Array.cs: More argument checking and bug fixing.
3257 2002-03-01 Miguel de Icaza <miguel@ximian.com>
3259 * BitConverter.cs: Indentation match
3261 * AppDomain.cs: Added MonoTODOs to this too.
3263 * Buffer.cs: Added MonoTODOs to this.
3265 2002-03-01 Martin Baulig <martin@gnome.org>
3267 * Array.cs: Added argument checking to all methods where it was missing.
3269 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
3271 * BitConverter.cs: Fixed bugs in ToString methods
3273 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
3275 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
3277 2002-03-01 Nick Drochak <ndrochak@gol.com>
3279 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
3280 ArgumentOutOfRangeException like the docs say.
3282 2002-03-01 Martin Baulig <martin@gnome.org>
3284 * Enum.cs (CompareTo): Correctly override this method from IComparable.
3286 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
3288 2002-02-28 Martin Baulig <martin@gnome.org>
3290 * String.cs: This file now passes the testsuite on Linux :-)
3292 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
3293 make them private and provide C# wrappers which do proper argument checking.
3295 * String.cs (Format): Correctly handle escaped brackets.
3297 * String.cs (_CompareChar): New internal function which compares two chars.
3298 (_Compare): Provide an internal compare method which can do all sorts of
3299 comparision and call it from all the Compare() methods. Also fixed a lot of
3300 bugs here, this code now actually passes the testsuite.
3302 2002-02-28 Duncan Mak <duncan@ximian.com>
3304 * Convert.cs: Added the missing methods. The new class status page
3305 kicks ass, it even found my typos! Woohoo!
3306 (ConvertFromBase): Moved the Exception throwing in here and
3307 removed the other occurances so it's all centralized now.
3308 (ISDBNull): Implemented.
3309 (GetTypeCode): Implemented.
3311 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
3312 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
3313 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
3314 states that a lacking format should be interpreted as "N".
3315 Also added [Serializable] attribute
3316 * TimeSpan.cs: some formatting and added the [Serializable] attribute
3318 2002-02-26 Duncan Mak <duncan@ximian.com>
3320 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
3322 2002-02-26 Martin Baulig <martin@gnome.org>
3324 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
3325 fields of the interncall GetTimeZoneData.
3327 * DateTime.cs: Implemented Parse and fixed a few bugs.
3329 * String.cs (TrimStart): Small fix.
3331 2002-02-26 Martin Baulig <martin@gnome.org>
3333 * DateTime.cs: ParseExact is now fully functional.
3335 * String.cs (TrimEnd): Small fix.
3337 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
3338 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
3339 missing for about six months.
3341 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
3343 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
3345 2002-02-26 Martin Baulig <martin@gnome.org>
3347 * DateTime.cs: Miguel already committed this, but there was still a
3348 ChangeLog entry for this missing ....
3349 We're now reusing functionality from TimeSpan, printing dates is
3350 fully implemented, currently working on parsing.
3352 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
3355 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
3357 * MonoType.cs: disable constructor.
3358 * Object.cs: make GetType() an internalcall.
3359 * Type.cs: added correct bindingflags to GetMethods ().
3360 All such calls should be reviewed to use the correct flags.
3362 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
3364 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
3367 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
3369 * Type.cs: implemented IsAssignableFrom.
3371 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
3372 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
3373 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
3374 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
3375 The former is documented by Microsoft. The latter is how they
3376 actually implemented it in mscorlib:-)
3378 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
3380 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
3382 * MonoType.cs: Implemented custom attributes methods.
3385 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
3388 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
3390 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
3392 * MonoType.cs: Implemented custom attributes methods.
3394 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
3396 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
3398 2002-02-19 Duncan Mak <duncan@ximian.com>
3400 * Convert.cs: Finished up the missing methods in Convert. Added a
3401 new private method ConvertFromBase.
3403 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
3405 * String.cs: impl. IConvertible interface
3407 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
3408 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
3410 2002-02-18 Duncan Mak <duncan@ximian.com>
3412 * Convert.cs: Changed from using Type.GetType (string) to just
3413 typeof (). Probably will speed things up a bit?
3415 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
3418 1. Fix for GetUpperBound to return correct values
3419 2. made some Properties virtual
3420 3. Adds IsFixedSize and IsReadOnly properties.
3421 4. changes CreateInstance(Type,int[],int[]) to throw Exception
3422 when third arg is null. InternalCall CreateInstance changed to
3424 5. Fixed array.GetUpperBound at a couple of places
3425 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
3426 7. Added two FIXME's in BinarySearch functions.
3428 2002-02-17 Duncan Mak <duncan@ximian.com>
3430 * TimeZone.cs: Applied the rest of Ajay's patch for
3431 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
3434 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
3435 * Guid.cs: added stub for Guid(string) ctor
3437 2002-02-17 Duncan Mak <duncan@ximian.com>
3439 * Convert.cs: Near-complete implementation of Convert.cs
3441 Added all the To* methods taking (object) and
3442 (object, IFormatProvider) as parameters.
3444 Added [CLSCompliant (false)] attributes to methods dealing with
3447 Added the missing section on converting to and from DateTime. Only
3448 6 missing methods, all marked with MonoTODOs. Will tackle them later.
3450 2002-02-16 Duncan Mak <duncan@ximian.com>
3452 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
3453 make IsDaylightSavingTime (DateTime) call
3454 IsDaylightSavingTime (DateTime, DaylightTime).
3456 Added internal class CurrentTimeZone from Ajay. It needs more work
3457 to fill in the appropriate internal calls.
3459 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
3461 * Type.cs: fix IsClass.
3463 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
3465 * String.cs: fix Trim().
3467 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
3469 * String.cs: fix more off by one errors.
3471 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
3473 * MonoType.cs: fix IsValueTypeImpl.
3474 * Type.cs: fix IsEnum. Implement Equals methods.
3476 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
3478 * Int32.cs: implement IConvertible interface.
3480 2002-02-12 Duncan Mak <duncan@ximian.com>
3482 * TimeZone.cs: Implemented and added to CVS.
3484 2002-02-11 Duncan Mak <duncan@ximian.com>
3486 * Convert.cs: Implemented the ChangeType () methods.
3488 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
3490 * Array.cs: make Clone() an internal call.
3492 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
3493 * Changed Guid.NewGuid so that it can use both System.Random and
3494 System.Security.Cryptography.RandomNumberGenerator
3496 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
3497 * First version of Guid.NewGuid
3499 2002-02-08 Duncan Mak <duncan@ximian.com>
3501 * RuntimeArgumentHandle.cs: Added to CVS.
3503 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
3505 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
3506 UnhandledExceptionEventHandler.cs: added delegates.
3508 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
3510 * MarshalByRefObject.cs: add ToString () method
3511 (apparently needed by nunit).
3512 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
3513 by it in the runtime.
3515 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
3517 * String.cs (Format): implemented
3519 2002-02-07 Duncan Mak <duncan@ximian.com>
3521 * DuplicateWaitObjectException:
3522 * InvalidCastException:
3523 * NotImplementedException:
3524 * NotSupportedException:
3525 * NullReferenceException:
3526 * OutOfMemoryException:
3527 * OverflowException:
3529 * StackOverflowException.cs:
3530 * UnauthorizedAccessException: Added missing constructor used for serialization.
3532 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
3534 * String.cs (System.Compare): bug fix
3536 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
3538 * Enum.cs (Parse, GetHashCode): impl.
3540 2002-02-05 Duncan Mak <duncan@ximian.com>
3542 * DBNull.cs: This is my first crack at the DBNull class. I think I
3543 actually got most of the IConvertible methods right, but I haven't
3544 done the research to test whether or not this is the correct
3545 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
3547 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
3549 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
3551 * Enum.cs: added more functionality (GetName, ToObject, Equals)
3553 2002-01-31 Duncan Mak <duncan@ximian.com>
3555 * InvalidOperationException.cs:
3556 * NotFiniteNumberException.cs:
3557 * ObjectDisposedException.cs:
3558 * TypeInitializationException.cs: Added missing bits for serialization/
3560 * AppDomainUnloadedException.cs:
3561 * ApplicationException.cs:
3562 * ArgumentOutOfRangeException.cs:
3563 * ArithmeticException.cs:
3564 * ArrayTypeMismatchException:
3565 * BadImageFormatException.cs:
3567 * MissingMemberException.cs:
3568 * TypeLoadException.cs: Added missing bits for serialization.
3570 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
3571 * Guid.cs: implemented everything but Guid.NewGuid
3573 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
3575 * _AppDomain.cs: remove ToString() method: it doesn't seem right
3576 to have it in this interface and it screws up the method vtable setup.
3578 2002-01-28 Andrei Zmievski <andrei@php.net>
3580 * Double.cs: implemented IConvertible interface.
3582 2002-01-28 Miguel de Icaza <miguel@ximian.com>
3584 * ArgumentException.cs: Implement serialization constructor.
3585 (GetObjectData): Implement serializer.
3587 * ArgumentNullException.cs: Implement serialization constructor.
3589 * Exception.cs: Implement serialization constructor.
3590 (GetObjectData): Implement serializer.
3592 2002-01-23 Miguel de Icaza <miguel@ximian.com>
3594 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
3596 2002-01-23 Duncan Mak <duncan@ximian.com>
3598 * EntryPointNotFoundException.cs:
3599 * FormatException: Added missing constructor and related bits.
3601 * TypeLoadException: Added missing constructor, methods and properties.
3603 2002-01-23 Miguel de Icaza <miguel@ximian.com>
3605 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
3606 manually getting the enumerator.
3608 (AppDomain.AppDomain): Prime the loaded assemblies with the
3609 assemblies loaded by the runtime in our behalf.
3611 * AppDomainSetup.cs: Remove private keyword, that is the default.
3612 Add a new property DisallowPublisherPolicy.
3614 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
3616 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
3618 * MonoType.cs, Type.cs: many updates, corrected implementation,
3621 2002-01-20 Andrei Zmievski <andrei@php.net>
3624 * Char.cs: implemented IConvertible interface.
3626 * Boolean.cs: use our own ToString() method directly.
3628 2002-01-20 Duncan Mak <duncan@ximian.com>
3630 * Files I commited recently: Fixed indentation style.
3632 2002-01-20 Nick Drochak <ndrochak@gol.com>
3634 * SerializableAttribute.cs: this attrib can be used on enums, structs,
3635 and delegates too. Added the appropriate usage flags.
3637 2002-01-18 Duncan Mak <duncan@ximian.com>
3639 * CharEnumerator.cs: Implemented.
3640 * String.cs (System): Fixed the GetEnumerator () method(s).
3642 * ObsoleteAttribute.cs:
3643 * STAThreadAttribute.cs:
3644 * MTAThreadAttribute.cs:
3645 * ThreadStaticAttribute.cs:
3646 * LoaderOptimizationAttribute.cs:
3647 * PlatformNotSupportedException.cs:
3648 * LoaderOptimization.cs: Added to CVS.
3650 2002-01-18 Duncan Mak <duncan@ximian.com>
3652 * AppDomainUnloadedException.cs:
3653 * MethodAccessException.cs:
3654 * ContextMarshalException.cs:
3655 * CannotUnloadAppDomainException.cs:
3656 * DllNotFoundException.cs:
3657 * EntryPointNotFoundException.cs:
3658 * FieldAccessException.cs:
3659 * TypeUnloadedException.cs:
3660 * MissingFieldException.cs: Added to CVS.
3662 * ApplicationException.cs:
3663 * MemberAccessException.cs:
3664 * MissingMemberException.cs
3665 * MissingMethodException.cs:
3666 * SystemException.cs: Added [Serializable] attribute.
3668 * Exception.cs: Added [Serializable] attribute, made properties
3669 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
3672 * ContextStaticAttribute.cs: Added [Serializable] attribute and
3673 put in the missing constructor.
3675 * Environment.cs: Commented out references to
3676 EnvironmentPermissionAttribute, because they're just stubbed out
3677 right now and has no implementation.
3679 2002-01-16 Andrei Zmievski <andrei@php.net>
3681 * Boolean.cs: implemented IConvertible interface
3683 2002-01-15 Nick Drochak <ndrochak@gol.com>
3685 * ResolveEventArgs.cs: class should derive from EventArgs.
3687 2002-01-14 Miguel de Icaza <miguel@ximian.com>
3689 * String.cs (System): Use DefaultMemberName for the String class.
3691 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
3693 * String.cs: use IndexerName in index char accessor.
3695 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
3697 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
3698 * String.c: eliminate 64k+ method calls in search.
3699 * Type.cs: handle byref and array types in ToString ().
3701 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
3703 * Guid.cs: created first version
3705 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
3707 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
3709 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
3711 * MulticastDelegate.cs: add == and != operator stubs.
3712 * String.cs: check for null in == operator.
3713 * Type.cs: use a virtual method to get TypeAttributes.
3715 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
3716 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
3718 2002-01-09 Nick Drochak <ndrochak@gol.com>
3720 * Environment.cs: Comment out Security attribute and put a MonoTODO
3721 there as a reminder. We need mcs magic to handle security attributes in
3724 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
3725 * Created IAppDomainSetup.cs
3727 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
3728 * Created System._AppDomain interface in _AppDomain.cs
3730 2002-01-06 Nick Drochak <ndrochak@gol.com>
3732 * ResolveEventArgs.cs: New File, completely implemented! ;)
3734 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
3736 * Enum.cs: dummy ToString impl.
3737 * String.cs: dummy format implementations to get compiler errors
3739 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
3741 2002-01-05 Ravi Pratap <ravi@ximian.com>
3743 * TODOAttribute.cs : Augment some more; provide two constructors
3744 with support for a comment too.
3746 2002-01-05 Nick Drochak <ndrochak@gol.com>
3748 * Uncommented those MonoTODO's now that Ravi's got
3751 2001-01-04 Ravi Pratap <ravi@ximian.com>
3753 * TODOAttribute.cs : Actually add this time ;-)
3755 Change name to MonoTODO.
3757 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
3759 * String.cs (Trim): Fixed a few logic bugs in the code that
3760 calculated how much to trim off the end of the string.
3762 2001-01-04 Nick Drochak <ndrochak@gol.com>
3764 * Commented out the [TODO] attributes for now. We don't have the
3765 class written. Also changed it to [MonoTODO]
3767 2002-01-04 Ravi Pratap <ravi@ximian.com>
3769 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
3770 our class libraries that are incomplete.
3772 * Array.cs : Apply attribute wherever we find a FIXME which says
3773 we need something to be implemented there.
3777 * MulticastDelegate.cs : Ditto.
3779 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
3780 RuntimeTypeHandle.cs : Ditto.
3782 * String.cs : Ditto.
3786 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
3788 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
3789 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
3791 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
3792 Delegate.cs : Ditto.
3794 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
3795 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
3797 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
3799 * Delegate.cs: add Remove() stub.
3800 * Enum.cs: add ToObject().
3801 * Type.cs: add IsEnum property.
3803 2002-01-03 Kristian Rietveld <kris@gtk.org>
3805 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
3806 DateTime and object.
3808 2001-12-30 Nick Drochak <ndrochak@gol.com>
3810 * Byte.cs (Parse): Add comments to aid in testing.
3812 2001-12-21 Miguel de Icaza <miguel@ximian.com>
3814 * Char.cs (Parse): Implement.
3816 * Byte.cs (Parse): Implement a fast parser.
3818 * SByte.cs (Parse): Implement a fast parser.
3820 * UInt16.cs (Parse): Implement a fast parser.
3822 * Int16.cs (Parse): Implement a fast parser.
3824 * UInt32.cs (Parse): Implement a fast parser.
3826 * Int32.cs (Parse): Implement a fast parser.
3828 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
3830 * Array.cs: fix null ref in sort code.
3831 * UInt64.cs: add bare-bones parse.
3833 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
3835 * Byte.cs: removed use of Regexes.
3837 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
3839 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
3840 IsDefined(), GetUnderlyingType().
3841 * String.cs: fix one instance of Compare().
3842 * Type.cs: implemented GetProperties(), GetProperty().
3844 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
3846 * Array.cs: implement CopyTo ().
3847 * Char.cs: implement ToString ().
3848 * Exception.cs: bugfix.
3849 * Int32.cs: bare-bones Parse ().
3850 * MonoType.cs: query the needed info with an internalcall.
3851 * String.cs: speedups, bugfixes, reduced copies.
3852 * Type.cs: added missing fields. Implemented many of the Is*
3853 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
3854 GetFields(), FindMembers(), ToString().
3856 2001-12-11 Dick Porter <dick@ximian.com>
3858 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
3860 * Console.cs: Use handles rather than casting file descriptors
3862 2001-12-08 Nick Drochak <ndrochak@gol.com>
3864 * Byte.cs (Parse): Start implementation. Parse(string) works, but
3865 now we need to handle other formats
3867 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
3869 * DateTime.cs: added an icall to GetNow()
3871 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
3873 * Double.cs: added the parse method from Bob Smith
3875 2001-11-28 Miguel de Icaza <miguel@ximian.com>
3881 * Int32.cs (Int32.CompareTo): Fix because we can not just
3882 substract the values.
3884 Return possitive value if the object is null.
3886 * Boolean.cs: (Boolean.CompareTo): ditto.
3888 * Int16.cs (Int16.CompareTo): ditto.
3890 * Byte.cs (Byte.CompareTo): ditto.
3892 * SByte.cs (SByte.CompareTo): ditto.
3894 * Char.cs (Char.CompareTo): ditto.
3896 * Decimal.cs (Decimal.CompareTo): ditto.
3898 * Int64.cs (Int64.CompareTo): ditto.
3904 2001-11-28 Nick Drochak <ndrochak@gol.com>
3906 * Byte.cs: Throw NotImplementedException for Parse.
3908 2001-11-27 Derek Holden <dholden@draper.com>
3910 * IntegerFormatter.cs: Formatting of type "Number" was not
3911 using NumberFormatInfo.NumberNegativePattern.
3913 2001-11-26 Dick Porter <dick@ximian.com>
3915 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
3916 the finalise routine any more
3918 2001-11-21 Miguel de Icaza <miguel@ximian.com>
3920 * ApplicationException.cs: internationalize by adding calls to
3921 Locale.GetText (). And throw NotImplementedExceptions on calls
3922 that we have to implement.
3924 * Version.cs: Ditto.
3926 * ValueType.cs: ditto.
3928 * UnauthorizedAccessException.cs: ditto.
3936 * TypeLoadException.cs: ditto
3938 * TypeInitializationException.cs: ditto.
3942 * TimeSpan.cs: ditto.
3944 * SystemException.cs: ditto.
3948 * StackOverflowException.cs: ditto.x
3954 * RuntimeTypeHandle.cs: ditto.
3956 * RuntimeMethodHandle.cs: ditto.
3958 * RuntimeFieldHandle.cs: ditto.
3962 * OutOfMemoryException.cs: ditto.
3964 * OperatingSystem.cs: ditto.
3966 * ObjectDisposedException.cs: ditto.
3968 * NullReferenceException.cs: ditto.
3970 * NotImplementedException.cs: ditto.
3972 * NotFiniteNumberException.cs: ditto.o
3974 * MulticastNotSupportedException.cs: ditto.
3976 * MissingMethodException.cs: ditto.
3978 * MemberAccessException.cs: ditto.
3982 * InvalidCastException.cs: ditto.
3984 * IntegerFormatter.cs: ditto.
3990 * IndexOutOfRangeException.cs: ditto.
3992 * Environment.cs: ditto
3996 * DuplicateWaitObjectException.cs: ditto.
3998 * DivideByZeroException.cs: ditto.
4000 * Delegate.cs: ditto
4002 * DecimalFormatter.cs: ditto.
4004 * Decimal.cs: ditto.
4006 * DateTime.cs: ditto.
4008 * Convert.cs: ditto.
4014 * Boolean.cs: ditto.
4016 * ArrayTypeMismatchException.cs: ditto.
4018 * ArithmeticException.cs: ditto.
4020 * ArgumentOutOfRangeException.cs: ditto.
4022 * ArgumentNullException.cs: ditto.
4024 * Enum.cs: Make it derive from ValueType, add CompareTo method.
4026 * Attribute.cs: Reformat.
4028 2001-11-14 Miguel de Icaza <miguel@ximian.com>
4030 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
4031 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
4032 exception if the value is null too.
4034 * Char.cs (CompareTo): ditto.
4036 * ApplicationException.cs: Added constructor that does serialization.
4038 * ParamArrayAttribute.cs: Define attribute correctly.
4040 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
4042 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
4043 * Array.cs: fix Array.Copy.
4044 * AssemblyLoadEventArgs.cs: rename field.
4045 * CLSCompliantAttribute.cs: use correct name for the class.
4046 * Char.cs: fix IsLetter.
4047 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
4048 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
4049 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
4050 * Delegate.cs: renamed target field to m_target.
4051 * Enum.cs: added missing methods.
4052 * MonoType.cs: add a constructor and some needed properties.
4053 * Object.cs: implement GetType().
4054 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
4056 * Type.cs: add missing methods/properties.
4058 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
4060 * AttributeUseage.cs: Should define AttributeUsageAttribute.
4062 * CLSCompliant.cs: Marked with AttributeUsage attribute.
4064 * Decimal.cs: Fixed CLSCompliant attributes.
4066 * Type.cs: changed _impl to internal (needs to be accessable by
4069 (TypeHandle): Marked as abstract, implementation removed.
4071 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
4072 GetMethod): Added stub implementations so NUnit would link against
4075 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
4077 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
4079 2001-11-05 Miguel de Icaza <miguel@ximian.com>
4081 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
4084 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
4086 * String.cs: fix a couple of bugs.
4087 * AppDomain.cs: use new AppBuilder constructor.
4088 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
4089 NotImplementedException.cs, ObjectDisposedException.cs,
4090 UnauthorizedAccessException.cs: add implementation.
4091 * OverflowException.cs: fix class name.
4093 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
4095 * String.cs: Don't use a terminating nil char for our internal
4098 2001-10-27 Miguel de Icaza <miguel@ximian.com>
4100 * Delegate.cs (Delegate.CombineImpl): Implement.
4101 (Delegate.Combine): Implement.
4103 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
4105 (MulticastDelegate.CombineImpl): This was not as trivial as I
4108 * ContextStaticAttribute.cs: Added AttributeUsage to
4109 ContextStaticAttribute.
4111 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
4113 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
4115 * added Decimal.cs * added DecimalFormatter.cs (internal class
4116 used from System.Decimal)
4118 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
4120 * Convert.cs: Added methods for Base64 transforming just used the
4121 existing System.Security.Cryptography.ToBase64Transform, should
4122 be changed to use a stand-alone class, e.g. Base64Encoder
4124 2001-10-10 Derek Holden <dholden@draper.com>
4126 * IntegerFormatter.cs: Added. Implements ToString for all the
4127 integer data types for all the format types.
4129 * Byte.cs: Using IntegerFormatter for ToString's.
4131 * SByte.cs: Using IntegerFormatter for ToString's.
4133 * Int16.cs: Using IntegerFormatter for ToString's.
4135 * Int32.cs: Using IntegerFormatter for ToString's.
4137 * Int64.cs: Using IntegerFormatter for ToString's.
4139 * UInt16.cs: Using IntegerFormatter for ToString's.
4141 * UInt32.cs: Using IntegerFormatter for ToString's.
4143 * UInt64.cs: Using IntegerFormatter for ToString's.
4145 2001-10-07 Miguel de Icaza <miguel@ximian.com>
4147 * Exception.cs: Implement bits of serialization.
4149 * RuntimeFieldHandle.cs: Implement Serialization features.
4151 * Type.cs: Implement TypeHandle property.
4153 2001-09-28 Dick Porter <dick@ximian.com>
4155 * LocalDataStoreSlot.cs: Implemented
4157 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
4159 * String.cs: fix off-by-one error in Trim().
4161 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
4163 * Type.cs: added GetType () method.
4165 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
4167 * MissingMethodException.cs, MissingMemberException.cs,
4168 MemberAccessException.cs: added.
4170 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
4172 * String.cs: don't access the string array out of bounds in
4173 LastIndexOf. * Type.cs: fix return type of the Assembly property.
4175 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
4177 * String.cs: make Intern and IsIntern internalcalls.
4179 2001-09-13 Dick Porter <dick@ximian.com>
4181 * Type.cs: Added a stub for the IsValueType property.
4183 * SystemException.cs (System): Added the other constructor, so
4184 that System.Threading exceptions can inherit it.
4186 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
4188 * String.cs (TrimStart): Don't keep looping through the trimchars
4189 once we've found a match.
4190 (TrimEnd): Same here.
4191 (Trim): And finally here.
4193 2001-09-07 Ravi Pratap <ravi@ximian.com>
4195 * Char.cs (IsLetterOrDigit): Implement.
4196 (IsLower): Implement, but we need to be Unicode aware.
4197 (IsNumber): Implement.
4198 (IsPunctuation): Implement.
4199 (IsWhiteSpace): Implement.
4200 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
4201 (ToLower): Same here.
4203 2001-09-04 Miguel de Icaza <miguel@ximian.com>
4205 * Object.cs: Shortcut, if (a == b) then return true.
4207 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
4209 * Delegate.cs: we need a pointer to the method thunk in
4210 the delegate object.
4212 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
4214 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
4216 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
4218 * String.cs (System): Don't mix uint and int.
4220 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
4222 * String.cs (BoyerMoore): Modified to not use pointers and to instead
4224 (IndexOf): Use BoyerMoore.
4226 2001-09-02 Miguel de Icaza <miguel@ximian.com>
4228 * All over: Use the autogenerated enumerations from the ECMA
4229 documentation that Sergey wrote.
4231 * PlatformID.cs: Add Unix definition.
4233 * OperatingSystem.cs: Use Unix instead of Linux here.
4235 * MarshalByRefObject.cs: Mark class as [Serializable].
4237 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
4239 * Console.cs: impl. (write only)
4240 implemented the stdin stuff
4242 * Int32.cs: impl. real op_Equal
4244 2001-08-24 Miguel de Icaza <miguel@ximian.com>
4246 * (common.src): Removed IAsyncResult as it is not on CVS yet.
4248 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
4249 as it breaks the build.
4251 2001-08-23 Michael Lambert <michaellambert@email.com>
4253 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
4254 added CLSCompliant attribute
4256 * IAsyncResult.cs: Added
4258 * common.src: Added IAsyncResult.cs
4260 2001-08-23 Michael Lambert <michaellambert@email.com>
4264 * common.src: Added UIntPtr.cs
4266 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
4268 * Attribute.cs: uncomment some code to make it compile again
4270 * mono.src: removed duplicated Attribute.cs
4272 2001-08-16 Nick Drochak <ndrochak@gol.com>
4274 * Attribute.cs: implemented all methods except GetHashCode()
4276 * common.src: added Attribute.cs so it would compile in
4278 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
4280 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
4281 marked it as InternalCall
4283 * common.src: removed UriFormatException.cs because the file is
4286 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
4287 * Char.cs: replaced byte with char
4289 * Array.cs: make it work with the mono interpreter
4291 2001-08-06 Miguel de Icaza <miguel@ximian.com>
4293 * Version.cs: Make the class sealed
4295 2001-08-08 Bob Smith <bob@thestuff.net>
4297 * Random.cs: Many compile fixes.
4298 * Random.cs: I read a bad spec. Class updated to match real spec.
4300 2001-08-06 Miguel de Icaza <miguel@ximian.com>
4302 * IntPtr.cs: Added and Completed implementation.
4304 * Uri.cs: Add a note.
4306 2001-08-06 Bob Smith <bob@thestuff.net>
4308 * Random.cs: Compile fix. Needs more testing.
4310 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
4312 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
4313 into account IPv6 addresses, url encoding needs to be implemented, and
4314 various minor methods need to be written, but this is a decent start.
4316 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
4318 * common.src: added Object.cs
4320 * mono.src: added ValueType.cs
4322 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
4324 * Math.cs: replaced libc with libm
4326 2001-08-02 Bob Smith <bob@thestuff.net>
4328 * Random.cs: Implemented. Needs testing.
4330 2001-08-02 Miguel de Icaza <miguel@ximian.com>
4332 * IServiceProvider.cs, EventHandler.cs: New files.
4334 2001-08-02 Marcel Narings <marcel@narings.nl>
4336 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
4337 Added exceptions. Added IConvertible. Still needs some platform
4338 dependend stuff, the Parse and ToString members
4340 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
4342 * Type.cs (GetTypeFromHandle): added placeholder
4344 2001-07-24 Derek Holden <dholden@draper.com>
4346 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
4347 which is really an IConvertible defined method.
4349 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
4350 behavior, still need to do the main Parse and ToString.
4352 * Char.cs: Added a bunch of missing ECMA methods. Commented a
4353 specification discrepency. Still didn't any unicode stuff, though
4354 every IsFoo(char c) method has an IsFoo(string, index)
4355 counterpart, added wrappers for those.
4357 * Convert.cs: Fixed NaN/Inf checking and double/float
4358 rounding. Added ToType for IConvertible classes
4360 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
4361 IsNaN methods. Changed Inf/NaN internals.
4363 * IConvertible.cs: Added comments for using
4364 Convert.ToType. Changed return values to draft base values.
4366 * Int16.cs: Added a missing Parse statement. Put in behavior for
4367 overloaded ToString and Parse methods.
4369 * Int32.cs: Added a missing Parse statement. Put in behavior for
4370 overloaded ToString and Parse methods.
4372 * Int64.cs: Added a missing Parse statement. Put in behavior for
4373 overloaded ToString and Parse methods.
4375 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
4376 methods. Changed Inf/NaN internals.
4378 * SByte.cs: Added a missing Parse method. Put in Parse and
4379 ToString behavior, still need to do the main Parse and ToString.
4381 * UInt16.cs: Added a missing Parse statement. Put in behavior for
4382 overloaded ToString and Parse methods.
4384 * UInt32.cs: Added a missing Parse statement. Put in behavior for
4385 overloaded ToString and Parse methods.
4387 * UInt64.cs: Added a missing Parse statement. Put in behavior for
4388 overloaded ToString and Parse methods.
4390 2001-07-20 Miguel de Icaza <miguel@ximian.com>
4392 * MulticastDelegate.cs: New File.
4394 * Delegate.cs: New file.
4396 * Enum.cs: New file.
4398 * Attribute.cs: New file.
4400 * Type.cs: New file.
4402 * ParamArrayAttribute.cs: New file.
4404 * RuntimeTypeHandle.cs: New file.
4406 * MulticastDelegate.cs: Added.
4408 * DateTime.cs: Added
4410 * Delegate.cs: Added
4412 2001-07-18 Michael Lambert <michaellambert@email.com>
4414 * AttributeTargets.cs: Add.
4416 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
4418 * Char.cs: Made ToUpper and ToLower public methods.
4420 * String.cs: Lots and lots of compile fixes - just need to write
4421 DateTime.cs and this should build completely now.
4423 2001-07-19 Bob Smith (bob@thestuff.net)
4425 * Math.cs: Implemented.
4427 2001-07-19 Miguel de Icaza <miguel@ximian.com>
4429 * String.cs: Removed tolower and toupper.
4431 * Char.cs: Moved ToLower and ToUpper from string to here.
4433 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
4434 instead of comparing the value to Nan.
4436 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
4438 * TimeSpan.cs: New implementation.
4440 2001-07-18 Scott Sanders <scott@stonecobra.com>
4442 * UriFormatExcpetion.cs: Add - 85% complete
4444 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
4446 * String.cs (IndexOf): Slight optimization that allows skipping
4447 over a few chars here and there. This isn't as good as using my
4448 Boyer-Moore implementation, however, Boyer-Moore is only really
4449 good for long strings (I plan on making the code decide which
4450 string search algorithm it should use on-the-fly at some point).
4451 (LastIndexOf): Fix to work correctly.
4452 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
4454 2001-07-16 Michael Lambert <michaellambert@email.com>
4456 * EventArgs.cs: Add.
4458 2001-07-16 Miguel de Icaza <miguel@ximian.com>
4460 * Version.cs: Remove my buggy comment.
4462 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
4464 * String.cs: Spelling error of IComparable, object's
4465 MemberwiseClone cannot be overridden. Made indexer valid for now,
4466 but not sure what to do about this in the long run. Seems to be a
4467 couple bugs in csc.exe having to do with multiple pointer defs in
4468 the same statement, and returning subclasses of a class in the
4469 return type of an interface function implementation. Also moved
4470 operators inside of class definition.
4472 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
4474 * String.cs: A tom of compile fixes, although we still don't compile.
4476 * IConvertible.cs: The To*Int64() methods return *Int64's, not
4477 *Int32's. Also, it's ToDateTime() not ToDateType().
4479 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
4481 * String.cs: Apparently I needed to at least write stubs for the
4482 IConvertible interfaces. *sigh*
4484 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
4486 * String.cs: Many logic/other fixes and better usage of the
4488 (tolower): New convenience method to help condense code.
4489 (toupper): Another new helper method.
4490 (Compare): Use the new helper methods.
4491 (ToLower): use tolower().
4492 (ToUpper): use toupper().
4493 (LastIndexOfAny): Implemented.
4494 (BoyerMoore): New private helper method that implements a modified
4495 version of the Boyer-Moore search algorithm. Noothing uses it yet
4496 as I'm not 100% sure it even works properly with unicode strings
4497 not to mention it uses a huge lookup-table :-)
4498 (Split): Implemented.
4500 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
4502 * TODO: Added things that need to be finished in System.String
4504 * String.cs: New source file implementing the System.String class
4506 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
4508 * TypeCode.cs: UInt64 was UInt63.
4510 * Object.cs: Fixed a numer of compiler errors.
4512 * Array.cs: Fixed some compiler errors.
4514 * IComparable.cs: Fixed some compiler errors.
4516 * ICloneable.cs: Fixed some compiler errors.
4518 * IConvertible.cs: Fixed some compiler errors.
4520 * IFormattable.cs: Fixed a compiler error.
4522 * IFormatProvider.cs: Fixed a compiler error.
4524 * IDisposable.cs: Fixed a compiler error.
4526 * IFormatProvider.cs: Added public accesability type to
4529 * Exception.cs: Added a using statement to remove compile time
4532 * ApplicationException.cs: Removed a ; that was causing a compiler
4535 * Int16.cs: Fixed some compiler errors.
4537 * Int32.cs: Fixed some compiler errors.
4539 * Int64.cs: Fixed some compiler errors.
4541 * SystemException.cs: Fixed a compiler error.
4543 * UInt16.cs: Fixed some compiler errors.
4545 * UInt32.cs: Fixed some compiler errors.
4547 * UInt64.cs: Fixed some compiler errors.
4549 * Void.cs: Fixed a compiler error.
4551 2001-07-12 Joe Shaw <joe@ximian.com>
4553 * Array.cs: Fix backwards parameters to Array.SetValue()
4555 (BinarySearch): Fix backward logic surrounding whether to call
4556 value.CompareTo or comparer.Compare.
4557 (LastIndexOf): Stop being stupid. I am so not used to strongly
4559 (Sort): Implement a quicksort.
4561 2001-07-11 Joe Shaw <joe@ximian.com>
4563 * Array.cs: Change all instances of trying to access an array with
4564 the index operator to calls to GetValue and SetValue, and add
4565 InternalGetValue and InternalSetValue which are internal calls
4566 into the runtime. Ew.
4568 2001-07-10 Joe Shaw <joe@ximian.com>
4570 * Array.cs: Implemented everything but Sort().
4572 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
4574 * Object.cs (Object::Equals): Object variable name is `o'.
4576 2001-07-06 Joe Shaw <joe@ximian.com>
4578 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
4579 Implement the IComparable and IFormattable interfaces. Fix a typo
4582 * ApplicationException.cs, ArgumentException.cs,
4583 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
4584 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
4585 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
4586 ExecutionEngineException.cs, FormatException.cs,
4587 IndexOutOfRangeException.cs, InvalidCastException.cs,
4588 InvalidOperationException.cs, InvalidProgramException.cs,
4589 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
4590 NotSupportedException.cs, NullReferenceException.cs,
4591 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
4592 StackOverflowException.cs, SystemException.cs,
4593 TypeInitializationException.cs: Added all of the exceptions
4594 specified by the language spec. Mmmm... bloat.
4596 2001-07-06 Miguel de Icaza <miguel@ximian.com>
4598 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
4599 do a generic routine all of these guys use.
4601 * Int16.cs: identified missing methods.
4603 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
4605 2001-06-26 Miguel de Icaza <miguel@ximian.com>
4607 * TypeCode.cs: Implement
4609 * Void.cs: Implement.
4611 * TODO: Add file to keep track of pending tasks.
4613 * Object.cs, ValueType.cs: Implement.