1 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
6 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
8 * Buffer.cs: Optimize BlockCopy.
10 * Environment.cs: Bump corlib version.
12 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
14 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
17 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
19 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
20 been set. Just return null as MS. Fixes bug #58120.
22 2004-05-14 Marek Safar <marek.safar@seznam.cz>
24 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
25 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
26 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
27 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
28 useless [CLSCompliant (false)]
31 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
33 * __ComObject.cs: To please corcompare (no implementation).
35 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
37 * Environment.cs: Bump corlib version.
39 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
41 * Environement.cs: Removed two security attributes for CurrentDirectory
42 that weren't documented (and anyway we don't support them).
44 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
46 * Char.cs: Fix exceptions
48 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
50 * MissingMemberException.cs: Fix in serialization constructor.
52 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
54 * Environment.cs: GetGacPath return value is resolved at runtime on
57 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
59 * Convert.cs: ToBase64CharArray method was depending on a bug in
60 S.S.C.ToBase64Transform class to work. Added an internal method to
61 provide the same functionality (multiple block processing).
63 2004-05-06 Jackson Harper <jackson@ximian.com>
65 * Environment.cs: Make $HOME the personal directory.
67 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
69 * Convert.cs: ToBase64String method was depending on a bug in
70 S.S.C.ToBase64Transform class to work. Added an internal method to
71 provide the same functionality (multiple block processing).
73 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
75 * Environment.cs: Completed OSVersion property.
76 * Version.cs: Added internal CreateFromString() to "try" to build the
77 best version number form the specified string.
79 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
81 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
82 Fixes several potential bugs and makes things way faster.
84 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
86 * TimeSpan.cs: Formatting changes
88 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
90 * Activator.cs: change _flags to a const.
91 * IntegerFormatter.cs: make tables readonly.
92 * Convert.cs: tables readonly
94 * IntPtr.cs: avoid a cctor.
96 2004-04-29 Jackson Harper <jackson@ximian.com>
99 * Type.cs: NET_2_0 now instead of 1_2.
101 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
103 * Environment.cs: implemented GetLogicalDrives.
105 2004-04-28 Miguel de Icaza <miguel@ximian.com>
107 * Applied patch from Atsushi Enomoto that allows Synchronized
108 writers to have a `dont close' flag, this fixes 52094
110 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
112 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
113 return the method if it is private (it did until now because of a
114 bug). Make sure it works as it worked before the fix.
115 * Type.cs: Implemented FilterAttribute delegate.
117 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
119 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
121 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
123 * IntegerFormatter.cs: Made functions internal (needed by other patches)
125 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
127 * DateTime.cs: TODO cleaning.
128 * Delegate.cs: GetObjectData should be virtual.
129 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
130 30 methods almost identical.
131 * MulticastDelegate.cs: Implemented GetObjectData.
133 2004-04-26 Jackson Harper <jackson@ximian.com>
135 * Environment.cs: Things going bump in the night.
137 2004-04-25 Miguel de Icaza <miguel@ximian.com>
139 * Convert.cs (toBase64Transform): Make private.
141 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
145 * DecimalFormatter.cs:
146 * FloatingPointFormatter.cs: Call invariant Char functions
147 * Guid.cs: Call invariant Char and String functions
148 * String.cs: Call invariant Char functions
150 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
152 * String.cs: Refactored the Invariant ToXXX into its own internal methods
153 so they are directly callable within corlib (can prevent early
154 construction of CultureInfo, InvariantCulture and related classes)
156 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
158 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
159 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
161 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
163 * String.cs: Check for null values
165 2004-04-23 Peter Bartok <pbartok@novell.com>
167 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
168 will do a better fix in the future, but this way apps can at least use it.
170 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
172 * Environment.cs: Better support for GetFolderPath (same results as MS
175 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
177 * Activator.cs: Removed TODOs for finished methods.
178 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
179 must be relative to the current directory, not the temp directory.
180 Implemented DynamicBase.
181 * Convert.cs: No need to create a ToBase64Transform instance at every call
182 to ToBase64CharArray.
183 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
185 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
186 * Delegate.cs: Removed class TODO.
187 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
189 * Type.cs: Removed TODOs for things already implemented.
191 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
193 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
194 * MulticastDelegate.cs: Removed unused code.
196 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
198 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
199 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
200 * BadImageFormatException.cs: TODO reformat.
201 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
202 * DelegateSerializationHolder.cs: Made class internal.
203 * Enum.cs: Removed TODO for localization, since this is something that has
204 to be done for all classes.
205 * Environment.cs: Removed TODO.
206 * Exception.cs: Changed ToString to use StringBuilder.
207 * MonoDummy.cs: Made class internal.
208 * UnitySerializationHolder.cs: Added support for modules.
210 2004-04-16 David Sheldon <dave-mono@earth.li>
212 * DecimalFormatter.cs: Don't append a decimal point after the
213 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
216 2004-04-09 Miguel de Icaza <miguel@ximian.com>
218 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
221 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
223 * MonoDummy.cs: added MonoTODO to make sure we remove this class
224 when its no longer needed
226 2004-04-09 David Sheldon <dave-mono@earth.li>
228 * Convert.cs: Allow + signs in strings for ToInt32, and
231 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
233 * Nullable.cs : usingdecl should also be conditional.
235 2004-04-07 Martin Baulig <martin@ximian.com>
237 * Nullable.cs: New file.
239 2004-04-07 Martin Baulig <martin@ximian.com>
241 * Type.cs (Type.GetGenericArguments): Make this abstract.
243 2004-04-07 Jackson Harper <jackson@ximian.com>
245 * Environment.cs: Increase corlib version number.
247 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250 (ExpandEnvironmentVariables): on windows, env. vars. are case
253 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
255 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
256 Removed [ThreadStatic] for _principalPolicy (not required).
258 2004-04-06 Miguel de Icaza <miguel@ximian.com>
260 * Guid.cs: Flag as Sequential.
262 2004-04-02 Dick Porter <dick@ximian.com>
264 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
266 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
268 * Environment.cs: Implement ExpandEnvironmentVariables static method.
269 Now call the runtime to get the username (fix #56144).
271 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
276 2004-03-29 Miguel de Icaza <miguel@ximian.com>
278 * Console.cs: If we fail to open stdin/stdout/stderr, create
279 readers with a NullStream. This can happen if our caller does not
280 setup stdin/stoud/stderr file handles. #56158 exposed this, but
281 it will happen elsewhere.
283 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
285 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
286 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
287 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
288 the constructor. This fixes bug #54019.
290 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
292 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
293 internal variables to structures that are moved around methods.
294 Factorized some common formatting code into FormatNumberInternal.
296 2004-03-23 Dick Porter <dick@ximian.com>
298 * DateTime.cs: Allow any character for DateSeparator when parsing,
299 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
300 deleted the previous fix for 54721, because this covers it too.
302 2004-03-23 Dick Porter <dick@ximian.com>
304 * DateTime.cs: Check the date string for too many digits when
305 parsing. Fixes bugs 53023 and 53025.
307 2004-03-22 Dick Porter <dick@ximian.com>
309 * String.cs: Use the provider when converting strings to other
312 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
313 formats. Fixes bug 54721.
315 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
317 * Console.cs: Styled, optimized calls
318 * CrossAppDomainDelegate.cs: Small header fix
319 * Buffer.cs: Style, improve errors
320 * BitConverter.cs: Style, improve errors, remove obsolete comment
321 * Attribute.cs: Style, improve errors, small fix
322 * Array.cs: Style, improve errors, small fix, added TODOs
323 * Activator.cs: Style, localized errors, added error checks
324 * Byte.cs: Style, localized errors, fixed wrong exception parameters
327 * AppDomainSetup.cs: Style
328 * AppDomain.cs: Style, implemented two methods (redirect)
330 2004-03-21 Jackson Harper <jackson@ximian.com>
332 * FloatingPointFormatter.cs: Set precision from number format info
333 when it is not specified. This fixes bug #54983.
335 2004-03-18 Nick Drochak <ndrochak@ieee.org>
337 * Math.cs: Use IsNaN() method not "x == NaN".
339 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
341 * EntryPointNotFoundException.cs
342 * DuplicateWaitObjectException.cs
343 * DllNotFoundException.cs
344 * DivideByZeroException.cs
345 * ContextMarshalException.cs
346 * CannotUnloadAppDomainException.cs
347 * BadImageFormatException.cs
348 * ArrayTypeMismatchException.cs
349 * ArithmeticException.cs
350 * ArgumentOutOfRangeException.cs
351 * ArgumentNullException.cs
352 * ArgumentException.cs
353 * ApplicationException.cs
354 * AppDomainUnloadedException.cs: Added missing HResult overrides
356 * BadImageFormatException.cs: Improved/ Fixed implementation
358 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
360 * Random.cs: Corrected random value when Next is called with a
361 negative value. Testing indictae that our results aren't exactly the
362 same as MS, we have a +/- 1 (probably rounding errors due to
363 different implementation).
365 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
367 * Environment.cs: updated corlib version.
369 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
371 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
372 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
373 field "value" to "m_value", so it is interoperable with MS.NET when
374 serializing and deserializing data. Based on the patch from Daniel
377 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
379 * TypeInitializationException.cs
381 * StackOverflowException.cs
383 * OverflowExceptionException.cs
384 * OutOfMemoryException.cs
385 * NullReferenceException.cs
386 * NotSupportedException.cs
387 * NotFiniteNumberException.cs
388 * InvalidOperationException.cs
389 * InvalidCastException.cs
390 * IndexOutOfRangeException.cs
392 * ExecutionEngineException.cs: improved parameter names
394 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
397 * EntryPointNotFoundException.cs
398 * DuplicateWaitObjectException.cs
400 * DllNotFoundException.cs
401 * DivideByZeroException.cs
402 * DelegateSerializationHolder.cs
405 * ContextStaticAttribute.cs
406 * ContextMarshalException.cs
407 * ContextBoundObject.cs
408 * CLSCompliantAttribute.cs
410 * CannotUnloadAppDomainException.cs
411 * BadImageFormatException.cs
412 * AttributeUsageAttribute.cs
413 * AttributeTargets.cs
415 * AssemblyLoadEventHandler.cs
416 * AssemblyLoadEventArgs.cs
417 * ArrayTypeMismatchException.cs
418 * ArithmeticException.cs
419 * ArgumentOutOfRangeException.cs
420 * ArgumentNullException.cs
421 * ArgumentException.cs
423 * ApplicationException.cs
424 * AppDomainUnloadedException.cs
425 * AppDomain.cs: Mono styled, fixed exceptions/ locales
426 removed excess usings
428 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
430 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
431 spaces) which fixed #54939. Changed the way that the length is
432 validated (multiple of 4) because the ignored characters must not be
433 included in the count.
435 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
437 * String.cs: Monostyled
439 2004-03-09 Jackson Harper <jackson@ximian.com>
441 * Char.cs: Only use a byte for numeric data.
443 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
445 * TypedReference.cs: Added missing Attributes
446 * ParamArrayAttribute.cs: Small style fix
447 * OperatingSystem.cs: Added .Net 1.1 member
449 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
451 * FieldAccessException.cs
453 * InvalidCastException.cs
454 * InvalidOperationException.cs
455 * MemberAccessException.cs
456 * MethodAccessException.cs
457 * MissingFieldException.cs: Locale strings
458 * MissingMemberException.cs: Locale strings
459 * MissingMethodException.cs: Locale strings
460 * NotFiniteNumberException.cs
461 * NotImplementedException.cs
462 * NotSupportedException.cs
463 * NullReferenceException.cs
464 * ObjectDisposedException.cs
465 * OutOfMemoryException.cs
466 * OverflowExceptionException.cs
467 * PlatformNotSupportedException.cs
468 * RankException.cs: Added missing HResult overrides
470 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
472 * RuntimeTypeHandle.cs
473 * RuntimeMethodHandle.cs
474 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
476 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
480 * ExecutionEngineException.cs
481 * FieldAccessException.cs
485 * IndexOutOfRangeException.cs
487 * InvalidCastException.cs
488 * InvalidOperationException.cs
489 * InvalidProgramException.cs
490 * IServiceProvider.cs
491 * LoaderOptimization.cs
492 * LoaderOptimizationAttribute.cs
493 * MarshalByRefObject.cs
495 * MemberAccessException.cs
496 * MethodAccessException.cs
497 * MissingFieldException.cs
498 * MissingMemberException.cs
499 * MissingMethodException.cs
500 * MultiCastDelegate.cs
501 * MulticastNotSupportedException.cs
502 * NonSerializedAttribute.cs
503 * NotFiniteNumberException.cs
504 * NotImplementedException.cs
505 * NotSupportedException.cs
506 * NullReferenceException.cs
507 * ObjectDisposedException.cs
508 * ObsoleteAttribute.cs
510 * OutOfMemoryException.cs
511 * OverflowExceptionException.cs
513 * PlatformNotSupportedException.cs
516 * ResolveEventArgs.cs
517 * ResolveEventHandler.cs
518 * RuntimeFieldHandle.cs
519 * RuntimeMethodHandle.cs
520 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
521 removed excess usings
523 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
525 * SystemException.cs: Exceptions set the HResult
526 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
527 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
529 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
532 * TypeLoadException.cs
533 * TypeInitializationException.cs
536 * ThreadStaticAttribute.cs
538 * STAThreadAttribute.cs
539 * StackOverflowException.cs
542 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
543 removed excess usings
545 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
547 * UnauthorizedAccessException.cs: Exceptions set the HResult
548 * UInt64.cs: Implemented two missing methods
549 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
550 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
552 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
558 * UnitySerializationHolder.cs
559 * UnhandledExceptionEventHandler.cs
560 * UnauthorizedAccessException.cs
564 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
566 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
568 * Environment.cs: Bump corlib version.
570 2004-03-04 Jackson Harper <jackson@ximian.com>
572 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
574 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
576 * String.cs: Concat() fixed crash when one of the arguments is an object
577 whose ToString() method returns null.
578 * TypeLoadException.cs: Added some serialization fiels, needed for
579 compatibility with MS.NET.
581 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
583 * String.cs (Equals): Speed up this method by avoiding Array
584 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
586 This gives between 0x (for 1 char) and >2x (for large strings)
587 factor of improvement.
589 A big thanks to Miguel, who suggested the integer compares.
591 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
593 * MonoType.cs: use the binder in GetPropertyImpl.
595 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
597 * Math.cs: MonoStyled, replaced space with tabs,
598 speedup of some methods by avoiding method calls
600 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
602 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
603 (Moved from InternalCall to Managed code).
605 2004-02-17 Martin Baulig <martin@ximian.com>
607 * MonoType.cs (GetConstructors): Renamed the interncall to
608 GetConstructors_internal(), made it internal and added a `Type
609 reflected_type' argument to it.
610 (GetEvents, GetFields): Likewise.
611 (GetMethodsByName): Added `Type reflected_type' argument.
612 (GetPropertiesByName): Likewise.
614 2004-02-16 Jackson Harper <jackson@ximian.com>
616 * FloatingPointFormater.cs: Allow precision to be up to the number
617 of decimals without rounding.
619 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
621 * Delegate.cs (Equals): Do not compare method_ptr, since it might
622 point to a trampoline.
624 2004-02-12 Jackson Harper <jackson@ximian.com>
626 * AppDomainSetup.cs: If relative paths are used they should be
627 rooted in the temp directory.
629 2004-02-11 Marek Safar <marek.safar@seznam.cz>
631 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
633 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
635 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
636 avoid an assert in the runtime.
638 2004-02-08 Duncan Mak <duncan@ximian.com>
640 * Convert.cs (ToType): Always let a Convert.ChangeType call
641 succeed if the source object is already of the destination type.
643 Patch by Ian MacLean (ianm@activestate.com).
645 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
647 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
649 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
651 * Environment.cs: Bump corlib version.
653 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
655 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
658 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
660 * Exception.cs: Changed ToString to remove the \n when no stack trace
661 is present (which fixed a unit test for SecurityException). Changed
662 all \n to Environment.NewLine.
664 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
666 * ContextBoundObject.cs: Removed TODO.
668 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
670 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
671 (double), which might round up.
673 2004-01-19 Jackson Harper <jackson@ximian.com>
675 * FloatingPointFormatter.cs: Use the default decimal digits count
676 if they are not specified. This fixes bug #52927.
678 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
680 * Environment.cs: Bump version number.
682 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
684 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
685 uses IsAssignableFrom(o.GetType()), which is not always valid for
686 transparent proxies (because GetType will not return the type of the remote
687 object if its assembly is not present).
689 2004-01-18 David Sheldon <dave-mono@earth.li>
691 * FloatingPointFormatter.cs: Skip the decimal point if we have an
692 integer mantassa. So: 1E+15, rather than 1.E+15.
694 2004-01-18 David Sheldon <dave-mono@earth.li>
696 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
697 even though docs say it should be an ArgumentNull. Two test cases now
698 pass. See also nickd's commit of 2003-12-24.
700 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
702 * Environment.cs: increased corlib version.
704 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
706 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
707 be reused because they could be modified. This fixes bug #52655.
709 2004-01-12 Patrik Torstensson
711 * Environment.cs: Bump corlib version number due to new StringBuilder
713 * String.cs: New internal method to support the new StringBuilder that
714 uses the string as a buffer (until ToString is called)
716 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
718 * Environment.cs: Bump corlib version number for real this time.
720 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
721 the runtime, so it can take into account the Culture etc.
723 * Environment.cs: Bump corlib version number.
725 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
727 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
728 new parameter with the method name and a boolean for ignoring case.
729 Removed some string comparisons no longer needed.
731 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
733 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
734 new parameter with the property name and a boolean for ignoring case.
737 2004-01-11 David Sheldon <dave-mono@earth.li>
739 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
742 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
744 * AppDomain.cs: Keep track of type resolve and assembly resolve
745 events in progress to prevent infinite recursion.
747 2004-01-06 Miguel de Icaza <miguel@ximian.com>
749 * Console.cs: Test for UTF-8 being present anywhere on the
750 string, also do ToUpper instead of ToLower, which will work even
751 around the ICU bug with different locales (#52065), and addresses #52101
753 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
755 * Environment.cs: Bump version.
757 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
759 * Type.cs (IsNotPublic): One would normally assume that
760 IsNotPublic == !IsPublic, but this is not the case (note to MS,
761 make better names ;-). Fixes #52547, `Type.IsNotPublic not
762 correct for Nested types'
764 2003-12-24 Nick Drochak <ndrochak@ieee.org>
766 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
767 even though docs say it should be an ArgumentNull. Sent email to MS
770 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
772 * Exception.cs: Several changes to make it compatible with MS.NET (needed
773 for remoting interoperability): set a default value for hresult, added
774 initialization of class_name, serialization field RemoteStackTrace must
775 be RemoteStackTraceString, added ser. field ExceptionMethod.
777 * IndexOutOfRangeException.cs: Added serialization constructor.
779 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
782 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
784 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
786 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
787 user supplied no parameter info, but not when the user supplied an
788 empty parameter list. This fixes IKVM.
790 * Environment.cs: Bump corlib version.
792 2003-12-19 Dick Porter <dick@ximian.com>
794 * String.cs: Added Compare shortcut for length==0.
796 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
798 * Environment.cs: Bump corlib version.
800 2003-12-17 Dick Porter <dick@ximian.com>
802 * String.cs: Fix StartsWith and EndsWith when the argument is the
803 empty string. Fixes bug 52283.
805 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
807 * Environment.cs (HasShutdownStarted): Implement.
809 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
811 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
813 * Environment.cs: Bump version number.
815 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
817 * DateTime.cs: don't bail out with that year out of range error on
818 stuff like "MM/dd/yyyy HH:MM:ss".
820 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
822 * Environment.cs: Make it a const instead.
824 * Environment.cs: Make version field static.
826 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
828 * Type.cs: Make DefaultBindingFlags protected.
830 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
831 Add new GacPath property + its associated icall.
833 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
835 * DateTime.cs : Bugs fixed (41845, 51422)
836 * MonoType.cs : Exception message changed
838 2003-12-08 Martin Baulig <martin@ximian.com>
840 * Type.cs (MakeByRefType): New public method.
842 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
844 * Environment.cs: Add a version number for the corlib-runtime interface
845 to make it easier to diagnose problems resulting from a mismatch
848 2003-12-08 Patrik Torstensson <p@rxc.se>
850 * Type.cs (GetMethod): Check type arguments within array
851 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
852 (same signature but different classes (derived level)
854 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
856 * Type.cs (MakeArrayType): Add argument checking.
858 2003-12-06 Dick Porter <dick@ximian.com>
860 * String.cs: Don't use CompareInfo for non-culture-sensitive
861 IndexOf and LastIndexOf methods.
863 2003-12-06 Ravindra <rkumar@novell.com>
865 * DateTime.cs: Made Parse(string, IFormatProvider) method to
866 use second argument. Fixed bug #51464.
868 2003-12-04 Martin Baulig <martin@ximian.com>
870 * Type.cs (Type.MakeArrayType): New public method.
872 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
875 (BlockCopy): make the exception thrown helpful.
877 2003-12-03 Dick Porter <dick@ximian.com>
879 * String.cs: Calling Replace on an empty string returns itself.
881 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
883 * MonoType.cs: Get rid of get_type_info, use a separate icall for
884 each property instead.
886 2003-12-02 Dick Porter <dick@ximian.com>
888 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
889 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
891 2003-12-01 Dick Porter <dick@ximian.com>
893 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
894 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
896 2003-11-28 Dick Porter <dick@ximian.com>
901 * Boolean.cs: Do string compares with the Invariant culture.
903 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
905 * Array.cs: make the enumerator ICloneable
907 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
909 * Decimal.cs (ToXXX): Call Convert.ToXXX.
911 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
913 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
914 Implement Load(byte[]) methods.
916 * BadImageFormatException.cs: Fix ToString.
918 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
920 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
921 GetConstructor, as done by MS.
923 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
925 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
927 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
929 * TypeInitializationException.cs: Added missing serialization constructor.
931 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
933 * AppDomainSetup.cs: Don't add an extra '/' at the end of
934 ApplicationBase. The tests pass now with mono.
936 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
938 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
940 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
942 * Environment.cs: use Directory in CurrentDirectory property.
943 We were not throwing any exception when setting the directory to an
946 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
949 * Delegate.cs: implemented 1.1 stuff.
952 * IntPtr.cs: removed extra attribute.
953 * PlatformID.cs: added WinCE.
955 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
958 (Equals): compare the fields of structs too.
959 (GetHashCode): combine the hash code of all the fields.
960 Fixes bug #50901 (will remove the icall in a couple of days).
962 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
964 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
966 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
968 * DateTime.cs: handle century when we try to parse 4-digit years and
969 only 2 digits are present. Fixes bug #49394.
971 2003-11-13 Miguel de Icaza <miguel@ximian.com>
973 * Console.cs: On utf-8 consoles, use unmarked output.
975 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
977 * IAppDomainSetup.cs:
980 * Type.cs: Added missing attribute
982 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
984 * Environment.cs: Added internal method for getting the path to
987 2003-11-12 Jackson Harper <jackson@ximian.com>
989 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
990 enum. This fixes the SWF build.
992 2003-11-12 Miguel de Icaza <miguel@ximian.com>
994 * PlatformID.cs: Remove Unix platform, we cant expose constants
995 that are not in the framework.
997 * OperatingSystem.cs: Adjust for the breakage.
999 * RuntimeMethodHandle.cs: Fix signature.
1001 * Double.cs: Fix signature of TryParse.
1003 * String.cs (Concat (object, object, object, object)): Add missing method.
1005 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
1006 in the .NET Framework.
1008 * Enum.cs: Hide constructor.
1010 Fix ToUint16 to be explicitly implemented.
1012 * Console.cs: Add couple of extra missing methods (Write and
1013 WriteLine overloaded)
1015 2003-11-11 Miguel de Icaza <miguel@ximian.com>
1017 * AppDomain.cs, Activator.cs: New unimplmented entry points from
1018 1.1 (Com activation related).
1020 * Exception.cs: Formatting.
1022 * IServiceProvider.cs: Add ComVisible (true).
1024 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
1026 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
1028 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
1031 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
1033 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
1034 on MonoMethod instead of Invoke.
1036 2003-11-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1038 * DateTime.cs: Fixed Add* methods handling. Now it works properly
1039 with extreme values (there is a bug with Overflow and Underflow in
1042 2003-10-31 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1044 * DateTime.cs: Fixed a few format bugs.
1046 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
1048 * AppDomain.cs (InternalPushDomainRef): New icalls.
1050 * AppDomain.cs (InvokeInDomain): New method to execute code in a
1051 different appdomain.
1053 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
1055 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
1057 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
1059 * AppDomain.cs (IsFinalizingForUnload): Implement.
1061 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
1064 2003-10-25 Martin Baulig <martin@ximian.com>
1066 * MonoType.cs: Don't make this sealed.
1068 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
1070 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
1072 2003-10-24 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1074 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
1075 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
1077 2003-10-22 Dick Porter <dick@ximian.com>
1079 * DateTime.cs: Handle '-' as a date separator when parsing formats.
1081 2003-10-20 Duncan Mak <duncan@ximian.com>
1083 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
1084 and merge the two iterations into one.
1086 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
1088 * TypedReference.cs: Add new field used by the runtime.
1090 2003-10-15 Martin Baulig <martin@ximian.com>
1092 * Type.cs (Type.DeclaringMethod): For a generic method's type
1093 parameter, return this method - otherwise, return null.
1095 2003-10-14 Martin Baulig <martin@ximian.com>
1097 The generics API has changed in the spec since it was added here;
1098 these modifications make it match the spec again.
1101 (GetGenericParameters): Renamed to `GetGenericArguments'.
1102 (HasGenericParameters): Renamed to `HasGenericArguments'.
1103 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
1104 (IsGenericTypeDefinition): New property.
1105 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
1107 * MonoType.cs (ContainsGenericParameters): Implement this here;
1108 this is no interncall anymore.
1110 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1112 * Delegate.cs: add the method name to the exception when it cannot be
1114 * Exception.cs: fix nullref in Source.
1116 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
1118 * Array.cs: Add argument checking to GetValue and SetValue.
1120 2003-10-09 Miguel de Icaza <miguel@ximian.com>
1122 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
1123 should not be TimeSpan.MaxValue, because it overflow. Set this to
1126 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1128 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
1129 duplicate entry exception.
1131 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
1133 * DateTime.cs (ToString): Total rewrite, fixes #49358.
1135 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
1137 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
1139 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1142 (Equals): check that the object is an Enum before comparing the types.
1144 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1146 * Array.cs: reduced xsp allocated memory by 1/2.
1148 2003-09-25 Martin Baulig <martin@ximian.com>
1150 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
1151 since it was identical to GetGenericTypeDefinition().
1152 (Type.IsGenericInstance): New property.
1154 2003-09-24 Duncan Mak <duncan@ximian.com>
1156 * Math.cs (Abs): Fix double Locale.GetText bug reported by
1157 davejp@volny.cz. This fixes #48788.
1159 2003-09-14 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1161 * FloatingPointFormatter.cs: Add the necessary castings to char
1164 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1166 * FloatingPointFormatter.cs: Make the method calls more functional
1167 for protecting the values from different threads (make it more
1170 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1172 * FloatingPointFormatter.cs: Fix a bug with the negative value of
1175 2003-09-12 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1177 * FloatingPointFormatter.cs: Applied a lot of improvements in string
1178 construction, make use of Append/Insert with the "count" parameter.
1179 Thanks to Ben Maurer.
1181 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1183 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
1185 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
1188 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1190 * DoubleFormatter.cs: A few optimizations. Now, only one object
1191 is created to convert all double numbers.
1193 * SingleFormatter.cs: A few optimizations. Now, only one object
1194 is created to convert all float numbers.
1196 * FloatingPointFormatter.cs: Split the "number type parameters" from
1197 the "numver value and format parameters". The first ones are in the
1198 constructor and the others are in a method.
1200 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
1202 * Array.cs: Added argument checking to some NET_1_1 methods.
1204 2003-09-04 Martin Baulig <martin@ximian.com>
1206 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
1208 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1210 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
1211 taking 'longs'. All tests pass.
1213 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
1215 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
1216 Source. Remove MonoTODO attributes (class is 100% done). Also
1217 passes all Rotor tests for Exception!
1219 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
1221 * Enum.cs: Remove [MonoTODO]'s that had been completed.
1223 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1225 * String.cs: fixed bug #47802.
1227 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
1229 * String.cs: Created method FormatHelper that does formatting,
1230 using a StringBuilder.
1232 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1234 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
1236 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1238 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
1241 2003-08-11 Duncan Mak <duncan@ximian.com>
1243 * Environment.cs (Version): Return the same numbers as the MS
1246 2003-08-10 Miguel de Icaza <miguel@ximian.com>
1248 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
1249 replicated tests, and have a routine that does the heavy lifting.
1251 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
1253 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
1255 * Environment.cs: return $HOME for ApplicationData folder.
1257 2003-08-04 Duncan Mak <duncan@ximian.com>
1259 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
1260 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
1261 floating point values. This fixes bug #46175.
1263 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
1264 noted by c5n4kh6u02@sneakemail.com in
1265 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
1267 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
1269 * Double.cs: added icall Double.AssertEndianity.
1271 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
1273 * Type.cs, MonoType.cs: implemented generic-specific methods.
1275 2003-07-29 Miguel de Icaza <miguel@ximian.com>
1277 * Buffer.cs: Add new internal MemCopy call.
1281 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
1283 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
1284 to icalls, to avoid special cases in some call conventions.
1286 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1288 * Enum.cs: added Serializable attribute.
1290 2003-07-25 Duncan Mak <duncan@ximian.com>
1292 * AppDomain.cs (Equals):
1293 (GetHashCode): Removed because they do not need to be defined
1296 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1298 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
1299 cannot even get the type.
1301 2003-07-24 Miguel de Icaza <miguel@ximian.com>
1303 * Type.cs: Added generics stubs.
1305 2003-07-23 Duncan Mak <duncan@ximian.com>
1307 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
1308 as values for NET_1_1.
1309 (GetFolderPath): Return the empty string ("") for values of
1310 SpecialFolder that have no corresponding equivalents in
1311 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
1312 and "$HOME" for SpecialFolder.Personal.
1314 * IntPtr.cs (GetObjectData): Mark it as an interface
1315 implementation, instead of a public method.
1317 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
1319 * TypeLoadException.cs (GetObjectData):
1320 Create stubs for the fields that are being serialized.
1322 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
1324 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
1326 * Enum.cs: Fixed enum formatting. For flag enums, if one of
1327 the flags is unnamed, ToString() returns the integer value.
1329 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
1331 * Guid.cs: Fixed ToString (), was producing incorrect string.
1333 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1335 * AppDomainSetup.cs: fixed bug #46609.
1337 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
1339 * MonoType.cs: use an icall for IsPrimitiveImpl ().
1341 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
1343 * Guid.cs: faster ToString ().
1345 2003-07-15 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1347 * FloatingPointFormatter.cs: Few changes for get working Rotor
1350 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
1352 * Type.cs (IsAssignableFrom): Implement this as an icall since the
1353 runtime already includes the neccessary logic.
1355 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1357 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
1358 if it's present and get the full path for non-Uri paths.
1360 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
1362 * DateTime.cs: Fixed formatting of fractions of second.
1364 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
1366 * Console.cs: Turn off buffering for the streams returned by
1367 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
1369 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
1371 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
1372 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
1373 a new random number (although it is not needed), while mono did not.
1374 As a result, the sequence of random numbers could be different for the
1377 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
1379 * FloatingPointFormatter.cs: use dec_len2 as default precision.
1381 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
1383 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
1384 be done after the correspondig UTC offset has been applied.
1386 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
1388 * Object.cs: Object must have the Serializable attribute.
1389 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
1390 to the resulting date. Also fixed _ToString so now correctly formates the
1393 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
1395 * Enum.cs: fix race in cache (bug#41841).
1397 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
1399 * FloatingPointFormatter.cs: if the precision is not specified, use
1400 the default precision for the data type.
1402 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
1404 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
1405 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
1407 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1409 * MonoType.cs: don't throw nullref when the return type for a property
1410 is specified and the property doesn't have a get accessor.
1412 2003-06-10 Duncan Mak <duncan@ximian.com>
1414 * Array.cs (CreateInstance): Fixed a typo. It should throw
1415 ArgumentNullException instead of ArgumentException.
1417 2003-06-09 Duncan Mak <duncan@ximian.com>
1419 * Array.cs: Revert the last revert. I fixed it.
1420 (Sort): Put a try-catch block around qsort, and wrap whatever
1421 Exception we get into a InvalidOperationException.
1423 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
1425 * Array.cs: Revert last patch, it broke some other functionality.
1427 2003-06-08 Duncan Mak <duncan@ximian.com>
1429 * Array.cs: Throw more exceptions. This fixes the errors we see
1430 from the Rotor testsuite.
1432 (CreateInstance): Throw ArgumentNullException when the input are
1433 null. Throw ArgumentOutOfRangeException when bounds + length is
1434 greater than Int32.MaxValue.
1435 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
1436 the valid range of indices of array.
1437 (Sort): Throw InvalidOperationException when comparer is null and
1438 none of the elements in keys implements IComparable.
1440 2003-06-08 Duncan Mak <duncan@ximian.com>
1442 * Array.cs (CreateInstance): Throw a TypeLoadException if the
1443 Length of the input array 'lengths' is greater than 255 so that we
1444 won't see the g_assert that is in mono_array_class_get in class.c.
1446 This fixes bug #44304.
1448 2003-06-05 Nick Drochak <ndrochak@gol.com>
1450 * UnitySerializataionHolder.cs: Cleanups according to class status page
1452 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
1454 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
1455 RuntimeTypeHandle.cs: implemented the needed stuff to handle
1458 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
1460 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
1461 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
1462 for Ben Maurer after review and testing.
1464 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
1466 * Array.cs: Added better argument checking to Array.Sort ()
1467 * DBNull.cs: Made the conversions throw like they do in MS.
1469 2003-05-24 Philip Van Hoof <me@freax.org>
1471 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
1473 2003-05-21 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1475 * FloatingPointFormatter.cs: Take care with the explicit precision
1476 and round the number to that precision.
1478 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
1480 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
1482 2003-05-20 Philip Van Hoof <me@freax.org>
1484 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
1487 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
1489 * AppDomainSetup.cs: Added new field which is used to notify the
1490 runtime that the search path has changed.
1492 2003-05-18 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1494 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
1495 introduced the last change I've done.
1497 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
1499 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
1500 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
1501 behaving correctly).
1503 2003-05-17 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1505 * FloatingPointFormatter.cs: Fixed little format mismatches.
1507 2003-05-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1509 * FloatingPointFormatter.cs: Fixed "-0" result emited.
1511 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1513 * AppDomain.cs: Added null argument check in Load().
1514 * Activator.cs: fixed bug #39926.
1516 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1518 * Enum.cs: fixed bugs #41522 and #42879.
1520 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
1522 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
1523 undocumented MS behaviour.
1525 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1527 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
1530 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1532 * String.cs: fixed bug #41411 and another similar problem in
1533 LastIndexOf (string).
1535 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1537 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
1540 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
1542 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
1543 construction if the delegate list only has one element.
1545 2003-05-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1547 * Environment.cs: Changed the method GetFolderPath because it must
1548 return at least a directory name (not null).
1550 * Convert.cs: In ToType, if the destination type is unknown, try to
1551 cast the value to object (then, the calling method will downcast it
1552 to the type it wants).
1554 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1556 * Enum.cs: fixed bug #41522.
1558 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
1560 * Enum.cs: protect with the lock also the lookup (bug #41841).
1562 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
1564 * MonoType.cs: allow a null name if InvokeMember is called with
1565 BindingFlags.CreateInstance set.
1567 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1569 * Enum.cs: reverted my previous patch.
1571 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1573 * Enum.cs: fixed bug #41841.
1575 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1578 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
1580 2003-04-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1582 * FloatingPointFormatter.cs: Little fixes for get the same results
1583 as MS.NET and show a message when something goes wrong with the
1584 parser of Custom Formats.
1586 2003-04-22 Nick Drochak <ndrochak@gol.com>
1588 * Double.cs (ToString):
1589 * Single.cs (ToString): Handle case where param is a CultureInfo.
1591 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
1593 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
1594 ValueType::Equals() icalls static non-virtual, so they can be called
1595 by the code in RuntimeHelpers.
1597 2003-04-18 Miguel de Icaza <miguel@ximian.com>
1599 * Delegate.cs (operator ==): Do not crash if the second argument
1600 is null. Bug fix submitted by Juan Cri.
1602 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
1604 * Array.cs: Deleted the exception in Array.Initialize(), it looks
1605 like the method do nothing for C#, is still a MonoTODO until
1606 we find a compiler that uses that.
1608 2003-04-14 Miguel de Icaza <miguel@ximian.com>
1610 * Delegate.cs (Delegate): Seems like a typo, we were checking the
1611 a field rather than the argument
1613 * MonoType.cs: Make GetNestedType an external method implementation.
1615 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1617 * Enum.cs: fixed bug #41294.
1619 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1621 * DateTime.cs: fixes bug #40910, part 2.
1623 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
1625 * String.cs (Equals): avoid the internal call, code cleanups
1627 2003-04-11 Alan Tam <Tam@SiuLung.com>
1629 * Convert.cs: fixed bug #41085.
1631 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
1633 * AppDomain.cs: Added internal method for getting process guid.
1635 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
1637 * Array.cs: Little fix to compare () method.
1639 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
1641 * String.cs (Equals): Add trivial optimization.
1643 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1645 * DateTime.cs: fixed bug #40910.
1647 2003-04-05 Miguel de Icaza <miguel@ximian.com>
1649 * Console.cs: Make stderr, stdout and stdin use synchronized
1650 versions of the their readers/writers.
1652 2003-04-04 Dick Porter <dick@ximian.com>
1654 * Version.cs: Make operator== and operator!= cope with null
1655 objects. Didn't change operator<, operator<=, operator> or
1656 operator>= because its not meaningful to use those to compare
1657 against null, and throwing a NullReferenceException is probably
1658 the best thing to do there anyway.
1662 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1664 * AppDomain.cs: fixed InvalidCastException.
1666 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
1668 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
1669 type checks and let it decide whenever a fast copy is possible.
1671 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1674 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
1676 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
1678 * Activator.cs (CreateInstance): Call GetConstructor with the right
1679 arguments so the nonPublic argument is handled correctly.
1681 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1683 * Type.cs: fixed bug #40123.
1685 2003-03-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1687 * FloatingPointFormatter.cs: Fixed some bugs for get the same
1688 results than MS.NET. Added simple error recovering, now ToString
1689 will return a general format if there is any exception in the
1690 process of formatting. This make the library more robust while the
1691 formatters are refined.
1693 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1695 * FloatingPointFormatter.cs: Added support for group separators.
1697 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1700 * Double.cs: Apply changes of .ToString methods.
1701 * SingleFormatter.cs:
1702 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
1703 * FloatingPointFormatter.cs: New class. Implementation of double and
1704 single formatters. It is unified now and parametrized with precission
1707 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
1709 * AppDomain.cs: fixes bugs #39380 and #39331.
1711 2003-03-06 Nick Drochak <ndrochak@gol.com>
1713 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
1715 2003-03-04 Dick Porter <dick@ximian.com>
1718 * Double.cs: Temporarily reverted the Double and Single ToString()
1719 change, because it broke nunit.
1722 2003-03-04 Pedro MartÃnez Juliá <yoros@wanadoo.es>
1724 * Double.cs: Changed ToString method. Added NumberFormatInfo support
1725 with DoubleFormatter class.
1726 * Single.cs: Changed ToString method. Added NumberFormatInfo support
1727 with SingleFormatter class.
1728 * DoubleFormatter.cs: New class with Double formatting functions.
1729 * SingleFormatter.cs: New class with Single formatting functions.
1731 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
1733 * Activator.cs: Added support for activation using activation attributes.
1734 * AppDomain.cs: Added internal method to get the default context from the runtime.
1736 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
1738 * DateTime.cs: FileTime is expressed in Universal time, and as such must
1739 be converted before subtracting the magic offset.
1740 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
1741 the timezone at the end) *must* be parsed by DateTime.Parse() for
1742 compatibility with Microsoft.
1744 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1747 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
1750 * IntPtr.cs: added serialization .ctor
1752 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1754 * AppDomain.cs: check for null in Unload and changed method name.
1756 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1758 * MonoCustomAttrs.cs: fixed bug #38238.
1760 2003-02-17 Martin Baulig <martin@ximian.com>
1762 * Exception.cs (Exception.ToString): Print a newline between the
1763 exception message and the stack trace.
1765 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1767 * AppDomain.cs: implemented GetCurrentThreadId ().
1769 2003-02-14 Patrik Torstensson
1771 * Exception.cs: Fixed message output formating
1773 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1776 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
1778 2003-02-12 Miguel de Icaza <miguel@ximian.com>
1780 * Type.cs: IsClass should return false for Enumerations
1782 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1784 * MonoCustomAttrs.cs: return the correct array type in the short case.
1787 2003-02-08 Pedro MartÃenz Juliá <yoros@wanadoo.es>
1789 * Math.cs: Fix a few methods (like Round) and add with comments the
1790 new methods: BigMul and DivRem that were in ECMA specs.
1792 2003-02-07 Patrik Torstensson
1794 * Exception.cs: Fixed formating
1796 2003-02-05 Patrik Torstensson
1798 * AppDomain.cs: Partly fixed the unload method
1800 2003-02-04 Patrik Torstensson
1802 * AppDomain.cs: Fixed lease issue with appdomain
1804 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
1806 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
1807 InitializeLifetimeService().
1809 2003-02-03 Patrik Torstensson
1811 * AppDomain.cs: New internalcalls for handling domain/context switches
1812 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
1814 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1816 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
1817 and ClearShadowCopyPath and fixed GetType ().
1819 * Attribute.cs: clean up.
1821 * Console.cs: removed UnixConsoleEncoding. Use Default.
1823 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1825 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
1826 GetCustomAttributes later.
1828 2003-01-31 Patrik Torstensson
1830 * Buffer.cs: Changed access level of BlockCopyInternal
1832 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
1834 * String.cs, IntegerFormatter.cs: use const where appropriate.
1836 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1838 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
1841 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1843 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
1844 The argument ICustomAttributeProvider can be of other types different
1845 from Type. Handle it.
1847 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
1849 * DateTime.cs: fix FromFileTime so the time returned by
1850 File::GetLastModificationTime etc. is in the correct timezone.
1852 2003-01-28 Patrik Torstensson
1853 * Exception.cs: reverted formating/endline changes (sorry guys)
1855 2003-01-28 Patrik Torstensson
1857 * MarshalByRefObject.cs: implemented GetObjectIdentity
1858 * Exception.cs: added support for remote exceptions
1860 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1862 * DateTime.cs: fixed bug #37225.
1864 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1866 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
1868 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
1870 * AppDomain.cs: Added DoTypeResolve method which will be called by
1871 the runtime to raise TypeResolve events.
1873 2003-01-27 Duncan Mak <duncan@ximian.com>
1875 * Enum.cs (ToType): Implement this using Convert.ToType.
1877 2003-01-21 Miguel de Icaza <miguel@ximian.com>
1879 * Math.cs: Remove Pow's implementation body as it was wrong. The
1880 C code does the right thing. The code was trying to handle a
1881 number of cases, and that was incorrect.
1883 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1885 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
1888 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1890 * Enum.cs: added caching to GetInfo.
1892 2003-01-23 Dick Porter <dick@ximian.com>
1894 * Environment.cs (System): Implemented ExitCode
1896 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
1898 * Type.cs (IsInstanceOfType): fixed regression caused by the change
1901 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1903 * MonoType.cs: re-added lines that were removed in the previous commit.
1905 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
1907 * Type.cs: corrected property IsSerializable. It should always return
1908 true for enums and delegates
1909 * MonoType.cs: added serialization support.
1910 * Delegate.cs: added serialization support.
1911 * DBNull.cs: added serialization support.
1912 * UnitySerializationHolder.cs: supports serialization of Assembly,
1913 MonoType and DBNull.
1914 * DelegateSerializationHolder.cs: added.
1916 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1918 * Exception.cs: changed default message to match MS one.
1920 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
1922 * String.cs: Fixed bug with CompareOrdinal
1924 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1926 * Enum.cs: implements IFormattable.
1928 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1930 * AppDomain.cs: implemented DoCallBack method.
1932 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
1935 NUnit2 tests start moving.
1937 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1939 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
1940 instantiate an abstract class.
1942 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1945 (IsSubclassOf): return false when null. Use != instead of Equals.
1947 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1949 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
1951 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
1953 * MonoType.cs: fixed Namespace property for nested types.
1955 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
1957 * MonoCustomAttrs.cs: create properly typed arrays when returning
1958 arrays of attributes of a given type.
1960 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
1962 * MonoType.cs: fixed MemberType property for nested types.
1964 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1966 * String.cs: fixed bug #36209.
1968 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
1970 * Activator.cs: implemented method GetObject.
1972 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
1974 * Activator.cs: Since the documentation indicates the method
1975 either succeeds or throws one of the listed exceptions, we weren't
1976 expecting that CreateInstance might be returning null.
1978 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
1980 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
1982 * MarshalByRefObject.cs: implemented CreateObjRef.
1984 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1986 * DateTime.cs: fixed bug #30076.
1987 * TimeZone.cs: provide the parameter name in a exception.
1989 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1991 * DecimalFormatter.cs: fixed bug #35560.
1993 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
1995 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
1997 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1999 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
2000 nulls. Fixes #34909.
2002 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2004 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
2005 returns a non-null assembly.
2007 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2009 * MulticastDelegate.cs: make GetInvocationList work for more than 1
2012 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2014 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
2015 if this is the correct order of invocation.
2017 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2019 * Type.cs: changed the signature of internal_from_name. Modified
2020 the overloads of GetType to use it and check the typeName argument.
2021 Implemented FindInterfaces.
2023 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2025 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
2026 some obscure reasons (try make -f makefile.gnu using a corlib which has
2027 the modified version).
2029 2002-11-26 Miguel de Icaza <miguel@ximian.com>
2031 * String.cs (Concat): Reduce the number of compares required.
2033 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
2035 * Activator.cs: throw a MissingMethodException if the default
2036 constructor is not found in CreateInstance.
2038 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2041 (Equals (str, str)): use 'as' instead of casting to object.
2042 (Equals (obj)): check the length of the strings (until now,
2043 "Hello".Equals ((object) "Hellow World!) was true!).
2045 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2047 * MonoType.cs: implemented GetEvent (name, flags).
2049 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2051 * AppDomain.cs: implemented a couple of methods called from the runtime
2052 to fire AssemblyLoad and AssemblyResolve events.
2054 2002-10-31 Dick Porter <dick@ximian.com>
2056 * Environment.cs: MonoIO methods now have an error parameter
2058 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
2060 * Enum.cs: Added support for whitespaces in Enum:Parse().
2062 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2064 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
2065 internal call. Closes bug #32992.
2067 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2069 * Exception.cs: display the inner exception, if any, in ToString ().
2071 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2073 * Environment.cs: fixed StackTrace property.
2075 2002-10-16 Nick Drochak <ndrochak@gol.com>
2077 * Enum.cs (Parse): Then fix the code so that it works too.
2079 2002-10-15 Nick Drochak <ndrochak@gol.com>
2081 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
2083 2002-10-12 Nick Drochak <ndrochak@gol.com>
2085 * IntegerFormatter.cs: Fix compiler warnings.
2087 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
2089 * Type.cs (GetConstructors): Use the correct flags.
2091 2002-10-09 Nick Drochak <ndrochak@gol.com>
2093 * IntegerFormatter.cs: Suppress insignificant leading zeros
2095 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
2097 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
2098 <stonewell@21cn.com> to return also derived types.
2100 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2102 * Activator.cs: little fix in CreateInstance (Type, bool).
2104 2002-09-19 Duncan Mak <duncan@ximian.com>
2106 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
2107 I18N/Common from building right now.
2109 2002-09-19 Nick Drochak <ndrochak@gol.com>
2111 * Array.cs (CopyTo): Account for Object type and base (primitive) types
2112 * Type.cs (IsAssignableFrom): return false for a null parameter
2114 2002-09-19 Nick Drochak <ndrochak@gol.com>
2116 * Array.cs (CopyTo): Check that source type can be cast automatically
2117 to the destination type.
2119 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2121 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
2124 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2126 * Char.cs: implemented ToString (char)
2127 * IntegerFormatter.cs: made it internal.
2129 2002-09-13 Nick Drochak <ndrochak@gol.com>
2131 * Enum.cs (Format): handle the "d" format for both signed and unsigned
2134 2002-09-12 Dick Porter <dick@ximian.com>
2136 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
2137 attribute, as there doesn't appear to be any struct
2138 layout-depending code here (and corcompare says it should be
2139 LayoutKind.Sequential)
2141 * Decimal.cs: Stub out missing methods, add
2142 [DecimalConstantAttribute] to the constant fields (as shown by
2145 * LocalDataStoreSlot.cs:
2148 * Array.cs: Stub out missing methods.
2150 * TypedReference.cs:
2151 * ArgIterator.cs: Stub out
2153 * AppDomainSetup.cs:
2154 * AppDomain.cs: Stub out missing methods, add missing
2155 ClassInterface(ClassInterfaceType.None) attribute.
2157 2002-09-12 Nick Drochak <ndrochak@gol.com>
2159 * Double.cs (ToString): Throw exception when "X" format is passed in.
2161 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
2163 * MonoType.cs: implemented Module property.
2165 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
2167 * MonoType.cs, Type.cs: implemented InvokeMember.
2169 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
2171 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
2172 type. Check the method signature matches.
2174 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
2176 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
2178 2002-09-06 Miguel de Icaza <miguel@ximian.com>
2180 * Console.cs: Specify an encoder, otherwise we will get the UTF8
2181 encoder that by default emits the byte markers.
2183 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
2185 * Delegate.cs: look also for non-public methods until we have the
2186 security checks in place.
2188 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
2190 * MonoType.cs: consider also the full name in GetInterface.
2192 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
2194 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
2195 GetMethodImpl using the binder.
2196 * Type.cs: GetConstructorImpl/GetConstructor fixes.
2198 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
2199 * Enum.cs: Get rid of warning CS0162.
2201 2002-09-04 Miguel de Icaza <miguel@ximian.com>
2203 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
2204 actual value instead of public.
2206 * LocalDataStoreSlot.cs: Make constructor internal.
2208 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
2209 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
2212 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
2213 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
2216 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2218 * DateTime.cs: fixed buglet.
2220 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
2222 * MonoType.cs: speedup access to common data.
2224 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2226 * Double.cs: implemented TryParse.
2228 * Math.cs: PowImpl is now private.
2230 * MissingFieldException.cs: implemented Message.
2232 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
2234 * _AppDomain.cs: Uncommented ToString.
2236 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2239 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
2241 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2243 * ArgumentException.cs: use the field instead of the property for
2246 * ArgumentOutOfRangeException.cs: modified Message.
2249 (_DoParse): throw out of range exception for year. Removed check
2250 for month (it's done in the constructor).
2252 2002-08-21 Miguel de Icaza <miguel@ximian.com>
2254 * Environment.cs: Implemented OSVersion property.
2256 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
2258 * Exception.cs: set stack_trace to null
2260 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
2262 * AppDomain.cs: implemented ToString().
2264 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2266 * AppDomain.cs: securityInfo can be null in CreateDomain.
2268 2002-08-19 Dick Porter <dick@ximian.com>
2270 * MonoType.cs: Add a space before the Assembly name in
2271 AssemblyQualifiedName (needed for resource files so the MS runtime
2274 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2276 * AppDomain.cs: parameter name when throwing ArgumentNullException.
2278 * ArgumentException.cs: modified Message to do what MS does.
2280 * ArgumentNullException.cs: don't use {0} in message.
2282 * Exception.cs: use Message property in ToString ().
2284 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
2286 * WeakReference.cs: Changed the constructor and GetObjectData
2287 method needed for ISerializable implementation in order to be
2288 compatible with SOAP generated by MS.
2290 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
2292 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
2294 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
2296 * Exception.cs (ToString): changed the ouput format.
2298 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
2300 * MonoType.cs: moved get_method icall to this class, we can
2301 remove it as soon someone provides a full featured GetMethodImpl.
2303 * Type.cs: use GetMethodImpl everywhere.
2305 * Delegate.cs: new CreateDelegate implementations.
2307 2002-08-06 Tim Coleman <tim@timcoleman.com>
2309 Fix bug #28582. Now checks parameters for properties
2312 2002-08-04 Nick Drochak <ndrochak@gol.com>
2314 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
2316 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2319 (FormatSpecifier): allow white space between the comman and the width
2322 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2327 * UInt64.cs: fixed bug #28050. May be a MS bug?
2329 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
2331 * MonoType.cs: fix IsArrayImpl.
2333 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2335 * String.cs: make ToLower (culture) and ToUpper (culture) use the
2336 default ToLower and ToUpper and don't throw NotImplemented.
2338 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
2340 * Type.cs: make GettTypeCode an icall. Test implementation of
2343 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2345 * AppDomainSetup.cs: implemented LoaderOptimization.
2347 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2349 * Activator.cs: some more intermediate results checking in
2350 in CreateInstance and CreateInstanceFrom and use GetConstructor and
2351 Invoke only with Type [] until the other overloaded versions work.
2353 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2355 * Activator.cs: reformatted. Implemented CreateInstance* methods
2356 that return ObjectHandle.
2358 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
2360 2002-07-03 Nick Drochak <ndrochak@gol.com>
2362 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
2363 the divisor is not) and avoid the icall, which seems to have a bug.
2365 2002-07-03 Nick Drochak <ndrochak@gol.com>
2367 * Double.cs (CompareTo): Correctly handle the case where the instance
2368 is NaN. Also return 0 if the values are equal.
2370 2002/07/03 Nick Drochak <ndrochak@gol.com>
2372 * MissingMethodException: Add missing Message property
2373 * MissingMemberException: Add missing Message property
2375 2002-06-30 Nick Drochak <ndrochak@gol.com>
2377 * Double.cs (CompareTo): Just see which is bigger. Don't use the
2378 subtraction trick, it doesn't work when the values have a diference of
2381 * Single.cs (CompareTo): same
2383 2002-06-27 Martin Baulig <martin@gnome.org>
2385 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
2386 constructor argument. [FIXME: The implicit conversion to an
2387 unsigned integer doesn't work with mcs.]
2389 2002-06-26 Martin Baulig <martin@gnome.org>
2391 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
2392 not `S = System'. This file now compiles with mcs.
2394 * String.cs: Removed the already ifdef-outed __arglist Concat function
2395 to make it compile with mcs.
2397 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2399 * IntegerFormatter.cs:
2400 (FormatParse.FormatNumber): fixed custom format for negative numbers.
2402 2002-06-21 Martin Baulig <martin@gnome.org>
2404 * Double.cs: Replace the private `enum State' with constants since this
2405 will avoid some bigger headaches in mcs.
2407 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
2409 * TimeSpan.cs: do not pollute the namespace with the
2412 2002-06-18 Nick Drochak <ndrochak@gol.com>
2414 * ArgumentException.cs: Use the message given in the constructor when
2415 accessing the Message property. Thanks to Dietmar for the help with
2418 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
2420 * MonoType.cs: GetField is now a InternalCall
2422 2002-06-13 Nick Drochak <ndrochak@gol.com>
2424 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
2425 sortable format(s), e.g. "2002-02-25"
2427 2002/06/12 Nick Drochak <ndrochak@gol.com>
2429 * Random.cs (Next): Fix math error. Return a number within the range.
2431 2002-06-12 Nick Drochak <ndrochak@gol.com>
2433 * String.cs (IndexOf): Return -1 if start index is equal to string
2436 2002-06-10 Duncan Mak <duncan@ximian.com>
2438 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
2439 (ToType): Added null field in conversionTable to avoid
2440 IndexOutOfRangeException. Changed what exceptions we throw to match
2443 2002-06-11 Nick Drochak <ndrochak@gol.com>
2445 * Int64.cs (Parse): Added unique strings to the messages where we throw
2446 a FormatException. Needed these to debug, so just left them in since
2447 they might be useful later. Fixed Currency parsing where we weren't
2448 looking at CurrencyDecimalSeparator, etc.
2450 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
2452 * DateTime.cs: fixes to pass tests M0 to M6:
2453 if yy pattern then year values >= 30 are in 20th century
2454 rfc1123 pattern is always in GMT, therefor useutc must be false
2455 made GetNow() internal static so it can be called from TimeZone.
2456 * TimeZone.cs: removed dependency on year 2002 from initialization of
2459 2002-06-09 Duncan Mak <duncan@ximian.com>
2461 * Convert.cs (ToType): Rearranged what Exceptions we throw to
2464 2002-06-08 Duncan Mak <duncan@ximian.com>
2466 * Decimal.cs: Added support for the IConvertible interface.
2468 2002-06-08 Martin Baulig <martin@gnome.org>
2470 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
2471 doesn't necessarily need to be of the enum's underlying type.
2473 2002/06/07 Nick Drochak <ndrochak@gol.com>
2475 * String.cs: Add [Serializable] to class
2476 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
2478 2002-06-04 Nick Drochak <ndrochak@gol.com>
2480 * Double.cs (Parse): Recognize the group separator string, but still we
2481 don't check the format for the proper number of digits between
2482 separators. Also throw OverflowException when we get Pos or Neg
2483 Infinity from runtime.
2485 2002-06-03 Duncan Mak <duncan@ximian.com>
2487 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
2489 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
2491 * Type.cs: fixed GetTypeCode.
2493 2002-06-02 Duncan Mak <duncan@ximian.com>
2495 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
2496 cast from an int so that we throw OverFlowException correctly.
2498 (ToInt64): Use a new 64bit version of ConvertToBase.
2500 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
2501 and Int32.MaxValue).
2503 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
2505 2002-06-02 Nick Drochak <ndrochak@gol.com>
2507 * Convert.cs (ToSByte): Check for special value.
2508 * Single.cs (Parse):
2509 * UInt16.cs (Parse):
2510 * UInt32.cs (Parse): Throw OverflowException if negative
2512 2002-06-02 Duncan Mak <duncan@ximian.com>
2514 * Convert.cs (DBNull): Point it to DBNull.Value.
2515 (IsDBNull): Instead of checking typecodes, just check to see if
2516 it's the same as the DBNull field.
2518 2002-06-02 Nick Drochak <ndrochak@gol.com>
2520 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
2522 2002-06-02 Duncan Mak <duncan@ximian.com>
2524 * Char.cs (Parse): Simplify the Exception handling.
2526 * Convert.cs (ToDecimal): Remove call to Math.Round () when
2527 converting from a float.
2529 2002-05-30 Martin Baulig <martin@gnome.org>
2531 * MonoType.cs (GetInterface): Implemented.
2533 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
2535 * Activator.cs: implemented CreateInstance ().
2537 2002-05-22 Duncan Mak <duncan@ximian.com>
2539 * Convert.cs (ConvertToBase): Added new 64bit version.
2540 (BuildConvertedString64): New 64bit version of
2541 BuildConvertedString.
2543 This fixes bug 25068.
2545 (ConvertFromBase): Added additional test for checking if the
2546 digits are valid. Thanks to Miguel for coming up with this test.
2548 This fixes bug 25071.
2550 2002-05-21 Duncan Mak <duncan@ximian.com>
2552 * Convert.cs (ToType): Rearranged to fit the new layout of
2555 (conversionTable): Rearranged to fit the layout of the
2556 System.TypeCode enum.
2558 This should fix bug 25075.
2560 2002-05-21 Duncan Mak <duncan@ximian.com>
2562 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
2563 mixed up the two code paths, one for converting to a specific base
2564 (this case), another from converting from a foreign base to base10
2565 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
2567 * Convert.cs (ToByte)
2568 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
2569 that we won't confuse FormatException with OverflowException.
2571 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
2573 * Environment.cs: CommandLine missed spaces between arguments.
2574 Implemented StackTrace. Returning MachineName in UserDomainName
2577 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
2579 * MonoCustomAttrs.cs: handle inherit argument.
2581 2002-05-21 Nick Drochak <ndrochak@gol.com>
2583 * Math.cs (Pow): Change icall method name and insert parameter
2584 checks in for infinities and NaN.
2586 2002-05-13 Miguel de Icaza <miguel@ximian.com>
2588 * Double.cs (Parse): Reimplement by cleaning up the string first,
2589 and then passing to strtof in the mono runtime.
2591 * Single.cs (Parse): Use the Double implementation and cast to
2594 2002-05-21 Nick Drochak <ndrochak@gol.com>
2597 (Ceiling): Check for "special" values
2598 (Floor): Check for "special" values
2599 (Round): Fix off-by-one error on decimal shifting
2601 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
2603 * DateTime.cs: ToString () using "G" format specifier
2605 2002-05-19 Martin Baulig <martin@gnome.org>
2607 * Convert.cs (FromBase64CharArray): Do correct exception handling.
2609 2002-05-19 Martin Baulig <martin@gnome.org>
2611 * Convert.cs (FromBase64CharArray): Convert the char array using
2612 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
2615 2002-05-17 Miguel de Icaza <miguel@ximian.com>
2617 * MonoType.cs: Style changes.
2619 * Type.cs: Style changes.
2621 2002-05-16 Piers Haken <piersh@friksit.com
2623 * UInt64.cs: fix declaration of IConvertible.To* overrides.
2625 2002-05-16 Nick Drochak <ndrochak@gol.com>
2627 * BitConverter.cs (ToString): Add parameter check for invalid start
2630 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
2631 now that StreamWriter uses buffering
2633 2002-05-14 Miguel de Icaza <miguel@ximian.com>
2635 * Double.cs: Oops. Also handle exponents without finding a dot.
2637 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2639 * ChangeLog: removed empty entry at the top of the file.
2641 * Int32.cs: made static functions used by Parse internal.
2645 * UInt64.cs: removed static fucntions used by Parse and use the ones
2648 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
2650 * IServiceProvider.cs: added using System
2652 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
2654 * Single.cs: copied ToString() and Parse() methods from
2655 Double to Single and modified a tiny bit for Single.
2656 There is still a FIXME for Double and Single about
2657 passing the format and provider info to the icall too.
2659 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2664 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
2665 Don't use a delegate to test for valid digits.
2667 2002-05-01 Duncan Mak <duncan@ximian.com>
2670 * Math.cs: Added missing CLSCompliant attributes where necessary.
2672 2002-04-30 Duncan Mak <duncan@ximian.com>
2674 * ArgumentException.cs (Message):
2675 * ArgumentOutOfRangeException.cs (Message): Added.
2677 2002-04-30 Nick Drochak <ndrochak@gol.com>
2679 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
2681 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
2683 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
2685 2002-04-28 Duncan Mak <duncan@ximian.com>
2687 * DivideByZeroException.cs: Added missing serialization constructor.
2689 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
2691 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2693 * Math.cs: fix Floor () and Round (). Closes #23960.
2695 2002-04-27 Nick Drochak <ndrochak@gol.com>
2697 * Array.cs (IList.Contains): Should throw a RankException if this is
2698 called on a Rank > 1 array. Not in the docs, but this is what the
2701 2002-04-26 Duncan Mak <duncan@ximian.com>
2703 * MissingMemberException.cs: Made the message variable 'protected'
2704 instead of 'private', so that we can see it in
2705 MissingMethodException and MissingFieldException.
2707 * MissingFieldException.cs:
2708 * MissingMethodException.cs: Added missing (string, string)
2709 constructor, and also the Message property.
2711 2002-04-26 Martin Baulig <martin@gnome.org>
2713 * Enum.cs: Implemented the IConvertible methods.
2715 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2717 * SByte.cs: little change in Parse (string) to avoid incorrect
2718 OverflowException thrown (reported by nickd).
2720 2002-04-22 Miguel de Icaza <miguel@ximian.com>
2722 * ValueType.cs: Add Serializable attribute.
2724 * String.cs: ifdef-out out the __arglist Concat function until I
2725 add support for that to mcs.
2727 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
2729 * AppDomain.cs (GetValue): usage of the correct icall (bug)
2731 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
2733 * GC.cs: implement most of the methods as icalls.
2735 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2737 * DecimalFormatter.cs (ToString): return correct value when the
2738 decimal number is 0.
2740 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
2742 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
2743 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
2745 2002-04-24 Nick Drochak <ndrochak@gol.com>
2747 * Double.cs (Parse): Handle case where there are no digits before the
2748 decimal point, such as ".1".
2750 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2755 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
2757 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
2759 * String.cs (Split): fixed invalid split of count 0 and 1.
2761 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
2763 * String.cs (LastIndexOf): fixed argument checking.
2764 * String.cs (Equals): made internal for performace.
2766 2002-04-23 Nick Drochak <ndrochak@gol.com>
2768 * String.cs (Join): check argument and throw exception if needed
2770 2002-04-23 Nick Drochak <ndrochak@gol.com>
2772 * String.cs (StartsWith): check argument and throw exception if needed
2774 2002-04-22 Nick Drochak <ndrochak@gol.com>
2776 * String.cs (IndexOfAny): check arguments and throw exceptions as
2777 neccessary. ALso remove some debug WriteLines.
2779 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
2781 * String.cs: use internal constructors
2784 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
2786 * MonoType.cs: make GetElementType its own icall.
2788 2002-04-18 Nick Drochak <ndrochak@gol.com>
2790 * String.cs: Modified file. Re-add methods needed by the unit tests.
2792 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
2794 * String.cs: some code speedups and restored GetTypeCode().
2796 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
2798 * String.cs: New implementation using internal calls.
2800 2002-04-16 Nick Drochak <ndrochak@gol.com>
2802 * DecimalFormatter.cs: Trim off excess null characters from the string
2803 that decimal2string gives back.
2805 2002-04-16 Nick Drochak <ndrochak@gol.com>
2807 * String.cs (SubString): revert my change. I can't reproduce the
2810 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2812 * Attribute.cs: added GetHashCode and Equals.
2814 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2816 * Enum.cs: little improvements to Format ().
2818 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
2820 * String.cs: internalcall GetHashCode().
2821 * Array.cS: optimize access to elements.
2823 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
2825 * String.cs: make IndexOfAny() use an internalcall.
2827 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2832 * UInt64.cs: fixed error when testing for validity of flags.
2834 2002-04-11 Nick Drochak <ndrochak@gol.com>
2836 * Double.cs: Use an internal call for ToString(). This is just a simple
2837 implementation to get away from throwing a NotImplementedException.
2839 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2844 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
2848 * Int64.cs: throw an OverFlowException when parsing a string
2849 containing a dot followed by any non '0' number.
2851 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2856 * UInt64.cs: added complex Parse ().
2858 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2863 * Int64.cs: added complex Parse ().
2865 2002-04-09 Nick Drochak <ndrochak@gol.com>
2867 * Array.cs (BinarySearch): Add checks on paramters before using them
2868 and throw exceptions as needed.
2870 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
2871 "G" format to "F" if so.
2873 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
2875 * MonoCustomAttrs.cs: return arrays of type Attribute[]
2876 instead of object[].
2878 2002/04/09 Nick Drochak <ndrochak@gol.com>
2880 * String.cs (Substring): Copy only non-null characters to the new
2883 2002-04-09 Nick Drochak <ndrochak@gol.com>
2885 * IntegerFormatter.cs: Don't use a format character to indicate a
2886 custom format was passed in. It was using 'z' to indicate a custom
2887 format, but really it should throw a format exception if the user
2888 tries to use "z" as the format string. Now it does.
2890 * Activator.cs: New File.
2892 2002-04-08 Nick Drochak <ndrochak@gol.com>
2894 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
2895 applied to an enum. Need to handle the different possible integer
2896 types of an enum somehow. Can anyone say generics?
2898 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
2900 * Convert.cs: switched the To*(object) methods to use
2901 IConvertible directly instead of calling ChangeType
2903 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
2905 * ValueType.cs: make Equals() an internalcall.
2907 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2909 * Type.cs: also look for nested types in FindMembers.
2910 * MonoType.cs: make GetNestedTypes() an internalcall.
2912 2002-04-05 Nick Drochak <ndrochak@gol.com>
2914 * Enum.cs (Parse): Handle different underlying types.
2916 2002/04/04 Nick Drochak <ndrochak@gol.com>
2918 * Enum.cs (IsDefined): Throw exception when type of value to look for
2919 is not the correct one. Attempt to have it work with string values
2920 too, but not sure if the unit tests are getting that far yet.
2922 2002-04-04 Nick Drochak <ndrochak@gol.com>
2924 * Decimal.cs: Fix a couple of typos.
2926 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
2928 * Enum.cs: the values array is of the enum and not of the underlying
2929 type. Updates and some bug fixes.
2930 * MonoType.cs: make the internalcall return FullName instead of the
2931 assembly qualified name.
2932 * Type.cs: make ToString () simply return FullName.
2934 2002-04-03 Nick Drochak <ndrochak@gol.com>
2936 * Type.cs (GetTypeCode): provide some of the implementation for this
2937 method. It's still too simplistic to be considered complete.
2939 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
2941 * Object.cs: fixed FieldGetter/FieldSetter signature
2943 2002-04-02 Nick Drochak <ndrochak@gol.com>
2945 * Environment.cs: add MonoTODO's on parts that should have it.
2947 2002-04-01 Nick Drochak <ndrochak@gol.com>
2949 * Enum.cs: added reality checks (check parameters to most methods that
2952 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
2954 * Object.cs: added FieldGetter/FieldSetter
2956 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2958 * IntegerFormatter.cs: fixed initialization error in static
2961 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
2963 * Delegate.cs: added new field to store a trampoline function
2965 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2967 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
2968 make custom format strings work (not fully functional yet).
2970 2002/03/28 Nick Drochak <ndrochak@gol.com>
2972 * IntegerFormatter.cs: Change class from internal to public. Add
2973 necessary [CLSCompliant(false)] attributes.
2975 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
2976 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
2979 2002-03-28 Nick Drochak <ndrochak@gol.com>
2981 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
2983 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
2985 * Console.cs: Modified to get std handles from MonoIO.
2986 * Environment.cs: removed PAL dependencies.
2988 2002-03-25 Miguel de Icaza <miguel@ximian.com>
2990 * String.cs (System): Removed internal enumeration, because
2991 bootstrapping the corlib at this point does not support
2994 * IntPtr.cs: Temporary work-around until I fix the assembly
2997 2002-03-24 Martin Baulig <martin@gnome.org>
2999 * Enum.cs (GetValues): According to the docu this is sorted after
3002 * String.cs (System): Removed enumeration, because it is pretty
3003 hard to support enumerations in /nostdlib mode for the core types.
3005 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
3007 * Array.cs: move error handling in the catch block.
3008 * MulticastDelegate.cs: remove == and != operators that were
3009 removed with the delegate changes (when you add stuff, please do not
3010 remove existing functionality!).
3011 * Type.cs: if a property is not found in a type, search for it
3012 in the parent types, too.
3014 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
3016 * Math.cs: changed to use icall instead of PAL.
3018 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
3020 * Double.cs: added check for NaN (Bug [22082])
3022 2002-03-19 Nick Drochak <ndrochak@gol.com>
3024 * Enum.cs (Equals): check for null and throw if it is.
3025 * Enum.cs (Format): check for null parameters and throw if necessary.
3026 This method still needs more argument checking.
3028 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
3030 * Enum.cs (Equals): check if Enums are of the same type
3032 2002-03-18 Nick Drochak <ndrochak@gol.com>
3034 * Double.cs: Explicitly handle comparisons in CompareTo() for
3035 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
3037 * Enum.cs(CompareTo): Check types of values before trying to compare.
3038 Throw exceptions if types are invalid or don't match.
3040 2002-03-14 Miguel de Icaza <miguel@ximian.com>
3042 * Array.cs: Add some extra debugging information.
3044 2002-03-15 Nick Drochak <ndrochak@gol.com>
3046 * Array.cs: Added IList and IEnumerable.
3048 2002-03-14 Miguel de Icaza <miguel@ximian.com>
3050 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
3053 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
3055 * Delegate.cs (Equals): also compare method_ptr
3056 (GetHashCode): returm method_ptr as hash
3058 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
3059 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
3060 such as 42.ToString("0000000"), as these are (currently) not implemented
3061 in System.IntegerFormatter. TimeSpan luckely can do with Standard
3062 Numeric Format Strings, such as 42.ToString("D7").
3064 2002-03-12 Duncan Mak <duncan@ximian.com>
3066 * FieldAccessException.cs:
3067 * MethodAccessException.cs:
3068 * PlatformNotSupportedException.cs: Inherit from
3069 MemberAccessException, not SystemException.
3071 * ObsoleteAttribute.cs: Made Message and IsError properties
3074 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
3076 * GC.cs: make SuppressFinalize() a nop.
3077 * Delegate.cs: fix == operator.
3079 2002-03-13 Nick Drochak <ndrochak@gol.com>
3081 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
3082 runtime that goes with this patch.
3084 2002-03-10 Martin Baulig <martin@gnome.org>
3086 * Int32.cs (Parse): Correctly parse negative numbers.
3088 2002-03-08 Martin Baulig <martin@gnome.org>
3090 * String.cs (Split): Really fix it this time. Also adding several new
3091 testcase to the testsuite.
3093 2002-03-08 Martin Baulig <martin@gnome.org>
3095 * Array.cs (Copy): Optimized: removed duplicate null check, removed
3096 two duplicate GetLowerBound() calls and one duplicate IsValueType.
3098 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
3100 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
3101 * String.cs: use the dumb code for IndexOf(string): this is worth
3102 15-20 % speedup in mcs compile with mint.
3104 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
3106 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
3108 2002-03-07 Martin Baulig <martin@gnome.org>
3110 * String.cs (Join): Throw an ArgumentNullException.
3111 (LastIndexOf (string,int,int)): This method does a backwards search,
3112 so startIndex points to the end of value, not to its beginning. Don't
3113 throw an exception if startIndex equals this.Length. Always return -1
3114 if startIndex is smaller than the length of value.
3115 (Replace (string,string)): Replace all occurences of oldValue.
3116 If newValue is null, all occurences of oldValue are to be removed.
3117 (Split (char[],int)): Return an empty array if maxCount is zero, throw
3118 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
3119 elements, not maxValue+1.
3121 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
3123 * MonoType.cs: make GetEvents() an internal call.
3124 * MulticastDelegate.cs: copy the passed in array.
3126 2002-03-06 Martin Baulig <martin@gnome.org>
3128 * Array.cs (Copy): Use FastCopy when appropriate and do correct
3131 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
3132 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
3133 some of the failures found be new tests (see ChangeLog in
3134 Test/System). Comments added to this method, based on
3135 the representation invariant of this class, that (try to) explain
3136 why it now should be correct.
3138 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
3140 * Int64.cs (Parse): bug fix for max. negative value.
3142 2002-03-07 Nick Drochak <ndrochak@gol.com>
3144 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
3145 I need to understand what the difference between the attribute and
3148 2002-03-06 Martin Baulig <martin@gnome.org>
3150 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
3151 an InvalidCastException if the widening conversion failed. See
3152 testcases #M94-#M96.
3154 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
3155 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
3158 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
3159 (Copy): Actually allow copying multi-dimensional arrays.
3161 2002-03-05 Duncan Mak <duncan@ximian.com>
3164 (DBNull) Added the missing field.
3165 (IsDBNull) Fixed typo.
3166 (ToByte (string, int)) Implemented.
3167 (ToString (byte, int)) Implemented.
3169 (BuildConvertedString) internal functions used for converting values to
3177 * UInt32.cs: Implemented the IConvertible interface.
3179 * CharEnumerator.cs: Renamed to variables to be clearer and
3180 changed some of the tests to conform to the 1.0 spec.
3182 2002-03-06 Martin Baulig <martin@gnome.org>
3184 * Array.cs (Copy): Calculate absolute array position here and use
3185 GetValueImpl() and SetValueImpl() with that position. We can now
3186 copy multi-dimensional arrays.
3187 (CopyTo): Small bug fix.
3189 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
3191 * Version.cs: CompareTo changed according the LAMESPEC discovered by
3192 Nick (See VersionTest.cs).
3193 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
3194 error comparing the current position (idx) against the length of the
3195 string iterated and it set idx to an unrecognized special value (-2)
3197 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
3199 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
3200 to do this dirty work, but someone has to do it (and I need it to pass
3201 the "200 sample tests compiled on linux" mark).
3203 2002-03-06 Nick Drochak <ndrochak@gol.com>
3206 * DecimalFormatter.cs
3213 * RuntimeMethodHandle.cs
3214 * RuntimeTypeHandle.cs
3217 Add [MonoTODO]'s to places where we currently throw a
3218 NotImplementedException.
3220 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
3222 * Int16.cs (Parse): do not overflow on max negative value
3224 * Int32.cs (Parse): do not overflow on max negative value
3226 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
3228 * Type.cs: fixed IsClass.
3229 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
3230 IsByRefImpl. Added GetInterfaces().
3231 * IServiceProvider.cs: compilation fix.
3233 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
3235 * Array.cs: allow copying an empty array to an empty array.
3237 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
3239 * String.cs: fixed LastIndexOf (string) to do a bit of argument
3242 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
3243 * Version.cs: many fixes to failures found by the newly created
3244 test cases for this class. Specifically, the CompareTo member
3245 returned wrong values due to the use of Int32.MaxValue as a special
3246 value indicating an "undefined" version component. Also implemented the
3247 missing operators (==, <, >, etc.), one missing constructor and
3248 and some exception throwing.
3250 2002-03-04 Nick Drochak <ndrochak@gol.com>
3252 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
3253 * Attribute.cs: Add missing attributes: Serializable and
3254 AttributeUsage(AttributeTargets.All)
3256 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
3258 * MonoType.cs: implemented GetConstructors(), GetFields(),
3259 GetMethods(), GetProperties().
3260 * Object.cs: added debugging icall obj_address().
3261 * Type.cs: fixed the binding flags for some Get* methods.
3262 Implemented FindMembers() as calls to the specific GetMember
3265 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
3266 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
3267 should give an exception for n>=s.Length.
3269 2002-03-01 Martin Baulig <martin@gnome.org>
3271 * Array.cs: More argument checking and bug fixing.
3273 2002-03-01 Miguel de Icaza <miguel@ximian.com>
3275 * BitConverter.cs: Indentation match
3277 * AppDomain.cs: Added MonoTODOs to this too.
3279 * Buffer.cs: Added MonoTODOs to this.
3281 2002-03-01 Martin Baulig <martin@gnome.org>
3283 * Array.cs: Added argument checking to all methods where it was missing.
3285 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
3287 * BitConverter.cs: Fixed bugs in ToString methods
3289 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
3291 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
3293 2002-03-01 Nick Drochak <ndrochak@gol.com>
3295 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
3296 ArgumentOutOfRangeException like the docs say.
3298 2002-03-01 Martin Baulig <martin@gnome.org>
3300 * Enum.cs (CompareTo): Correctly override this method from IComparable.
3302 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
3304 2002-02-28 Martin Baulig <martin@gnome.org>
3306 * String.cs: This file now passes the testsuite on Linux :-)
3308 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
3309 make them private and provide C# wrappers which do proper argument checking.
3311 * String.cs (Format): Correctly handle escaped brackets.
3313 * String.cs (_CompareChar): New internal function which compares two chars.
3314 (_Compare): Provide an internal compare method which can do all sorts of
3315 comparision and call it from all the Compare() methods. Also fixed a lot of
3316 bugs here, this code now actually passes the testsuite.
3318 2002-02-28 Duncan Mak <duncan@ximian.com>
3320 * Convert.cs: Added the missing methods. The new class status page
3321 kicks ass, it even found my typos! Woohoo!
3322 (ConvertFromBase): Moved the Exception throwing in here and
3323 removed the other occurances so it's all centralized now.
3324 (ISDBNull): Implemented.
3325 (GetTypeCode): Implemented.
3327 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
3328 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
3329 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
3330 states that a lacking format should be interpreted as "N".
3331 Also added [Serializable] attribute
3332 * TimeSpan.cs: some formatting and added the [Serializable] attribute
3334 2002-02-26 Duncan Mak <duncan@ximian.com>
3336 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
3338 2002-02-26 Martin Baulig <martin@gnome.org>
3340 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
3341 fields of the interncall GetTimeZoneData.
3343 * DateTime.cs: Implemented Parse and fixed a few bugs.
3345 * String.cs (TrimStart): Small fix.
3347 2002-02-26 Martin Baulig <martin@gnome.org>
3349 * DateTime.cs: ParseExact is now fully functional.
3351 * String.cs (TrimEnd): Small fix.
3353 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
3354 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
3355 missing for about six months.
3357 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
3359 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
3361 2002-02-26 Martin Baulig <martin@gnome.org>
3363 * DateTime.cs: Miguel already committed this, but there was still a
3364 ChangeLog entry for this missing ....
3365 We're now reusing functionality from TimeSpan, printing dates is
3366 fully implemented, currently working on parsing.
3368 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
3371 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
3373 * MonoType.cs: disable constructor.
3374 * Object.cs: make GetType() an internalcall.
3375 * Type.cs: added correct bindingflags to GetMethods ().
3376 All such calls should be reviewed to use the correct flags.
3378 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
3380 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
3383 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
3385 * Type.cs: implemented IsAssignableFrom.
3387 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
3388 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
3389 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
3390 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
3391 The former is documented by Microsoft. The latter is how they
3392 actually implemented it in mscorlib:-)
3394 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
3396 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
3398 * MonoType.cs: Implemented custom attributes methods.
3401 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
3404 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
3406 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
3408 * MonoType.cs: Implemented custom attributes methods.
3410 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
3412 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
3414 2002-02-19 Duncan Mak <duncan@ximian.com>
3416 * Convert.cs: Finished up the missing methods in Convert. Added a
3417 new private method ConvertFromBase.
3419 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
3421 * String.cs: impl. IConvertible interface
3423 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
3424 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
3426 2002-02-18 Duncan Mak <duncan@ximian.com>
3428 * Convert.cs: Changed from using Type.GetType (string) to just
3429 typeof (). Probably will speed things up a bit?
3431 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
3434 1. Fix for GetUpperBound to return correct values
3435 2. made some Properties virtual
3436 3. Adds IsFixedSize and IsReadOnly properties.
3437 4. changes CreateInstance(Type,int[],int[]) to throw Exception
3438 when third arg is null. InternalCall CreateInstance changed to
3440 5. Fixed array.GetUpperBound at a couple of places
3441 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
3442 7. Added two FIXME's in BinarySearch functions.
3444 2002-02-17 Duncan Mak <duncan@ximian.com>
3446 * TimeZone.cs: Applied the rest of Ajay's patch for
3447 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
3450 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
3451 * Guid.cs: added stub for Guid(string) ctor
3453 2002-02-17 Duncan Mak <duncan@ximian.com>
3455 * Convert.cs: Near-complete implementation of Convert.cs
3457 Added all the To* methods taking (object) and
3458 (object, IFormatProvider) as parameters.
3460 Added [CLSCompliant (false)] attributes to methods dealing with
3463 Added the missing section on converting to and from DateTime. Only
3464 6 missing methods, all marked with MonoTODOs. Will tackle them later.
3466 2002-02-16 Duncan Mak <duncan@ximian.com>
3468 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
3469 make IsDaylightSavingTime (DateTime) call
3470 IsDaylightSavingTime (DateTime, DaylightTime).
3472 Added internal class CurrentTimeZone from Ajay. It needs more work
3473 to fill in the appropriate internal calls.
3475 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
3477 * Type.cs: fix IsClass.
3479 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
3481 * String.cs: fix Trim().
3483 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
3485 * String.cs: fix more off by one errors.
3487 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
3489 * MonoType.cs: fix IsValueTypeImpl.
3490 * Type.cs: fix IsEnum. Implement Equals methods.
3492 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
3494 * Int32.cs: implement IConvertible interface.
3496 2002-02-12 Duncan Mak <duncan@ximian.com>
3498 * TimeZone.cs: Implemented and added to CVS.
3500 2002-02-11 Duncan Mak <duncan@ximian.com>
3502 * Convert.cs: Implemented the ChangeType () methods.
3504 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
3506 * Array.cs: make Clone() an internal call.
3508 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
3509 * Changed Guid.NewGuid so that it can use both System.Random and
3510 System.Security.Cryptography.RandomNumberGenerator
3512 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
3513 * First version of Guid.NewGuid
3515 2002-02-08 Duncan Mak <duncan@ximian.com>
3517 * RuntimeArgumentHandle.cs: Added to CVS.
3519 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
3521 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
3522 UnhandledExceptionEventHandler.cs: added delegates.
3524 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
3526 * MarshalByRefObject.cs: add ToString () method
3527 (apparently needed by nunit).
3528 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
3529 by it in the runtime.
3531 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
3533 * String.cs (Format): implemented
3535 2002-02-07 Duncan Mak <duncan@ximian.com>
3537 * DuplicateWaitObjectException:
3538 * InvalidCastException:
3539 * NotImplementedException:
3540 * NotSupportedException:
3541 * NullReferenceException:
3542 * OutOfMemoryException:
3543 * OverflowException:
3545 * StackOverflowException.cs:
3546 * UnauthorizedAccessException: Added missing constructor used for serialization.
3548 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
3550 * String.cs (System.Compare): bug fix
3552 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
3554 * Enum.cs (Parse, GetHashCode): impl.
3556 2002-02-05 Duncan Mak <duncan@ximian.com>
3558 * DBNull.cs: This is my first crack at the DBNull class. I think I
3559 actually got most of the IConvertible methods right, but I haven't
3560 done the research to test whether or not this is the correct
3561 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
3563 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
3565 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
3567 * Enum.cs: added more functionality (GetName, ToObject, Equals)
3569 2002-01-31 Duncan Mak <duncan@ximian.com>
3571 * InvalidOperationException.cs:
3572 * NotFiniteNumberException.cs:
3573 * ObjectDisposedException.cs:
3574 * TypeInitializationException.cs: Added missing bits for serialization/
3576 * AppDomainUnloadedException.cs:
3577 * ApplicationException.cs:
3578 * ArgumentOutOfRangeException.cs:
3579 * ArithmeticException.cs:
3580 * ArrayTypeMismatchException:
3581 * BadImageFormatException.cs:
3583 * MissingMemberException.cs:
3584 * TypeLoadException.cs: Added missing bits for serialization.
3586 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
3587 * Guid.cs: implemented everything but Guid.NewGuid
3589 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
3591 * _AppDomain.cs: remove ToString() method: it doesn't seem right
3592 to have it in this interface and it screws up the method vtable setup.
3594 2002-01-28 Andrei Zmievski <andrei@php.net>
3596 * Double.cs: implemented IConvertible interface.
3598 2002-01-28 Miguel de Icaza <miguel@ximian.com>
3600 * ArgumentException.cs: Implement serialization constructor.
3601 (GetObjectData): Implement serializer.
3603 * ArgumentNullException.cs: Implement serialization constructor.
3605 * Exception.cs: Implement serialization constructor.
3606 (GetObjectData): Implement serializer.
3608 2002-01-23 Miguel de Icaza <miguel@ximian.com>
3610 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
3612 2002-01-23 Duncan Mak <duncan@ximian.com>
3614 * EntryPointNotFoundException.cs:
3615 * FormatException: Added missing constructor and related bits.
3617 * TypeLoadException: Added missing constructor, methods and properties.
3619 2002-01-23 Miguel de Icaza <miguel@ximian.com>
3621 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
3622 manually getting the enumerator.
3624 (AppDomain.AppDomain): Prime the loaded assemblies with the
3625 assemblies loaded by the runtime in our behalf.
3627 * AppDomainSetup.cs: Remove private keyword, that is the default.
3628 Add a new property DisallowPublisherPolicy.
3630 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
3632 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
3634 * MonoType.cs, Type.cs: many updates, corrected implementation,
3637 2002-01-20 Andrei Zmievski <andrei@php.net>
3640 * Char.cs: implemented IConvertible interface.
3642 * Boolean.cs: use our own ToString() method directly.
3644 2002-01-20 Duncan Mak <duncan@ximian.com>
3646 * Files I commited recently: Fixed indentation style.
3648 2002-01-20 Nick Drochak <ndrochak@gol.com>
3650 * SerializableAttribute.cs: this attrib can be used on enums, structs,
3651 and delegates too. Added the appropriate usage flags.
3653 2002-01-18 Duncan Mak <duncan@ximian.com>
3655 * CharEnumerator.cs: Implemented.
3656 * String.cs (System): Fixed the GetEnumerator () method(s).
3658 * ObsoleteAttribute.cs:
3659 * STAThreadAttribute.cs:
3660 * MTAThreadAttribute.cs:
3661 * ThreadStaticAttribute.cs:
3662 * LoaderOptimizationAttribute.cs:
3663 * PlatformNotSupportedException.cs:
3664 * LoaderOptimization.cs: Added to CVS.
3666 2002-01-18 Duncan Mak <duncan@ximian.com>
3668 * AppDomainUnloadedException.cs:
3669 * MethodAccessException.cs:
3670 * ContextMarshalException.cs:
3671 * CannotUnloadAppDomainException.cs:
3672 * DllNotFoundException.cs:
3673 * EntryPointNotFoundException.cs:
3674 * FieldAccessException.cs:
3675 * TypeUnloadedException.cs:
3676 * MissingFieldException.cs: Added to CVS.
3678 * ApplicationException.cs:
3679 * MemberAccessException.cs:
3680 * MissingMemberException.cs
3681 * MissingMethodException.cs:
3682 * SystemException.cs: Added [Serializable] attribute.
3684 * Exception.cs: Added [Serializable] attribute, made properties
3685 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
3688 * ContextStaticAttribute.cs: Added [Serializable] attribute and
3689 put in the missing constructor.
3691 * Environment.cs: Commented out references to
3692 EnvironmentPermissionAttribute, because they're just stubbed out
3693 right now and has no implementation.
3695 2002-01-16 Andrei Zmievski <andrei@php.net>
3697 * Boolean.cs: implemented IConvertible interface
3699 2002-01-15 Nick Drochak <ndrochak@gol.com>
3701 * ResolveEventArgs.cs: class should derive from EventArgs.
3703 2002-01-14 Miguel de Icaza <miguel@ximian.com>
3705 * String.cs (System): Use DefaultMemberName for the String class.
3707 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
3709 * String.cs: use IndexerName in index char accessor.
3711 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
3713 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
3714 * String.c: eliminate 64k+ method calls in search.
3715 * Type.cs: handle byref and array types in ToString ().
3717 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
3719 * Guid.cs: created first version
3721 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
3723 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
3725 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
3727 * MulticastDelegate.cs: add == and != operator stubs.
3728 * String.cs: check for null in == operator.
3729 * Type.cs: use a virtual method to get TypeAttributes.
3731 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
3732 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
3734 2002-01-09 Nick Drochak <ndrochak@gol.com>
3736 * Environment.cs: Comment out Security attribute and put a MonoTODO
3737 there as a reminder. We need mcs magic to handle security attributes in
3740 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
3741 * Created IAppDomainSetup.cs
3743 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
3744 * Created System._AppDomain interface in _AppDomain.cs
3746 2002-01-06 Nick Drochak <ndrochak@gol.com>
3748 * ResolveEventArgs.cs: New File, completely implemented! ;)
3750 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
3752 * Enum.cs: dummy ToString impl.
3753 * String.cs: dummy format implementations to get compiler errors
3755 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
3757 2002-01-05 Ravi Pratap <ravi@ximian.com>
3759 * TODOAttribute.cs : Augment some more; provide two constructors
3760 with support for a comment too.
3762 2002-01-05 Nick Drochak <ndrochak@gol.com>
3764 * Uncommented those MonoTODO's now that Ravi's got
3767 2001-01-04 Ravi Pratap <ravi@ximian.com>
3769 * TODOAttribute.cs : Actually add this time ;-)
3771 Change name to MonoTODO.
3773 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
3775 * String.cs (Trim): Fixed a few logic bugs in the code that
3776 calculated how much to trim off the end of the string.
3778 2001-01-04 Nick Drochak <ndrochak@gol.com>
3780 * Commented out the [TODO] attributes for now. We don't have the
3781 class written. Also changed it to [MonoTODO]
3783 2002-01-04 Ravi Pratap <ravi@ximian.com>
3785 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
3786 our class libraries that are incomplete.
3788 * Array.cs : Apply attribute wherever we find a FIXME which says
3789 we need something to be implemented there.
3793 * MulticastDelegate.cs : Ditto.
3795 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
3796 RuntimeTypeHandle.cs : Ditto.
3798 * String.cs : Ditto.
3802 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
3804 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
3805 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
3807 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
3808 Delegate.cs : Ditto.
3810 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
3811 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
3813 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
3815 * Delegate.cs: add Remove() stub.
3816 * Enum.cs: add ToObject().
3817 * Type.cs: add IsEnum property.
3819 2002-01-03 Kristian Rietveld <kris@gtk.org>
3821 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
3822 DateTime and object.
3824 2001-12-30 Nick Drochak <ndrochak@gol.com>
3826 * Byte.cs (Parse): Add comments to aid in testing.
3828 2001-12-21 Miguel de Icaza <miguel@ximian.com>
3830 * Char.cs (Parse): Implement.
3832 * Byte.cs (Parse): Implement a fast parser.
3834 * SByte.cs (Parse): Implement a fast parser.
3836 * UInt16.cs (Parse): Implement a fast parser.
3838 * Int16.cs (Parse): Implement a fast parser.
3840 * UInt32.cs (Parse): Implement a fast parser.
3842 * Int32.cs (Parse): Implement a fast parser.
3844 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
3846 * Array.cs: fix null ref in sort code.
3847 * UInt64.cs: add bare-bones parse.
3849 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
3851 * Byte.cs: removed use of Regexes.
3853 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
3855 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
3856 IsDefined(), GetUnderlyingType().
3857 * String.cs: fix one instance of Compare().
3858 * Type.cs: implemented GetProperties(), GetProperty().
3860 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
3862 * Array.cs: implement CopyTo ().
3863 * Char.cs: implement ToString ().
3864 * Exception.cs: bugfix.
3865 * Int32.cs: bare-bones Parse ().
3866 * MonoType.cs: query the needed info with an internalcall.
3867 * String.cs: speedups, bugfixes, reduced copies.
3868 * Type.cs: added missing fields. Implemented many of the Is*
3869 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
3870 GetFields(), FindMembers(), ToString().
3872 2001-12-11 Dick Porter <dick@ximian.com>
3874 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
3876 * Console.cs: Use handles rather than casting file descriptors
3878 2001-12-08 Nick Drochak <ndrochak@gol.com>
3880 * Byte.cs (Parse): Start implementation. Parse(string) works, but
3881 now we need to handle other formats
3883 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
3885 * DateTime.cs: added an icall to GetNow()
3887 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
3889 * Double.cs: added the parse method from Bob Smith
3891 2001-11-28 Miguel de Icaza <miguel@ximian.com>
3897 * Int32.cs (Int32.CompareTo): Fix because we can not just
3898 substract the values.
3900 Return possitive value if the object is null.
3902 * Boolean.cs: (Boolean.CompareTo): ditto.
3904 * Int16.cs (Int16.CompareTo): ditto.
3906 * Byte.cs (Byte.CompareTo): ditto.
3908 * SByte.cs (SByte.CompareTo): ditto.
3910 * Char.cs (Char.CompareTo): ditto.
3912 * Decimal.cs (Decimal.CompareTo): ditto.
3914 * Int64.cs (Int64.CompareTo): ditto.
3920 2001-11-28 Nick Drochak <ndrochak@gol.com>
3922 * Byte.cs: Throw NotImplementedException for Parse.
3924 2001-11-27 Derek Holden <dholden@draper.com>
3926 * IntegerFormatter.cs: Formatting of type "Number" was not
3927 using NumberFormatInfo.NumberNegativePattern.
3929 2001-11-26 Dick Porter <dick@ximian.com>
3931 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
3932 the finalise routine any more
3934 2001-11-21 Miguel de Icaza <miguel@ximian.com>
3936 * ApplicationException.cs: internationalize by adding calls to
3937 Locale.GetText (). And throw NotImplementedExceptions on calls
3938 that we have to implement.
3940 * Version.cs: Ditto.
3942 * ValueType.cs: ditto.
3944 * UnauthorizedAccessException.cs: ditto.
3952 * TypeLoadException.cs: ditto
3954 * TypeInitializationException.cs: ditto.
3958 * TimeSpan.cs: ditto.
3960 * SystemException.cs: ditto.
3964 * StackOverflowException.cs: ditto.x
3970 * RuntimeTypeHandle.cs: ditto.
3972 * RuntimeMethodHandle.cs: ditto.
3974 * RuntimeFieldHandle.cs: ditto.
3978 * OutOfMemoryException.cs: ditto.
3980 * OperatingSystem.cs: ditto.
3982 * ObjectDisposedException.cs: ditto.
3984 * NullReferenceException.cs: ditto.
3986 * NotImplementedException.cs: ditto.
3988 * NotFiniteNumberException.cs: ditto.o
3990 * MulticastNotSupportedException.cs: ditto.
3992 * MissingMethodException.cs: ditto.
3994 * MemberAccessException.cs: ditto.
3998 * InvalidCastException.cs: ditto.
4000 * IntegerFormatter.cs: ditto.
4006 * IndexOutOfRangeException.cs: ditto.
4008 * Environment.cs: ditto
4012 * DuplicateWaitObjectException.cs: ditto.
4014 * DivideByZeroException.cs: ditto.
4016 * Delegate.cs: ditto
4018 * DecimalFormatter.cs: ditto.
4020 * Decimal.cs: ditto.
4022 * DateTime.cs: ditto.
4024 * Convert.cs: ditto.
4030 * Boolean.cs: ditto.
4032 * ArrayTypeMismatchException.cs: ditto.
4034 * ArithmeticException.cs: ditto.
4036 * ArgumentOutOfRangeException.cs: ditto.
4038 * ArgumentNullException.cs: ditto.
4040 * Enum.cs: Make it derive from ValueType, add CompareTo method.
4042 * Attribute.cs: Reformat.
4044 2001-11-14 Miguel de Icaza <miguel@ximian.com>
4046 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
4047 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
4048 exception if the value is null too.
4050 * Char.cs (CompareTo): ditto.
4052 * ApplicationException.cs: Added constructor that does serialization.
4054 * ParamArrayAttribute.cs: Define attribute correctly.
4056 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
4058 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
4059 * Array.cs: fix Array.Copy.
4060 * AssemblyLoadEventArgs.cs: rename field.
4061 * CLSCompliantAttribute.cs: use correct name for the class.
4062 * Char.cs: fix IsLetter.
4063 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
4064 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
4065 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
4066 * Delegate.cs: renamed target field to m_target.
4067 * Enum.cs: added missing methods.
4068 * MonoType.cs: add a constructor and some needed properties.
4069 * Object.cs: implement GetType().
4070 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
4072 * Type.cs: add missing methods/properties.
4074 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
4076 * AttributeUseage.cs: Should define AttributeUsageAttribute.
4078 * CLSCompliant.cs: Marked with AttributeUsage attribute.
4080 * Decimal.cs: Fixed CLSCompliant attributes.
4082 * Type.cs: changed _impl to internal (needs to be accessable by
4085 (TypeHandle): Marked as abstract, implementation removed.
4087 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
4088 GetMethod): Added stub implementations so NUnit would link against
4091 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
4093 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
4095 2001-11-05 Miguel de Icaza <miguel@ximian.com>
4097 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
4100 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
4102 * String.cs: fix a couple of bugs.
4103 * AppDomain.cs: use new AppBuilder constructor.
4104 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
4105 NotImplementedException.cs, ObjectDisposedException.cs,
4106 UnauthorizedAccessException.cs: add implementation.
4107 * OverflowException.cs: fix class name.
4109 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
4111 * String.cs: Don't use a terminating nil char for our internal
4114 2001-10-27 Miguel de Icaza <miguel@ximian.com>
4116 * Delegate.cs (Delegate.CombineImpl): Implement.
4117 (Delegate.Combine): Implement.
4119 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
4121 (MulticastDelegate.CombineImpl): This was not as trivial as I
4124 * ContextStaticAttribute.cs: Added AttributeUsage to
4125 ContextStaticAttribute.
4127 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
4129 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
4131 * added Decimal.cs * added DecimalFormatter.cs (internal class
4132 used from System.Decimal)
4134 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
4136 * Convert.cs: Added methods for Base64 transforming just used the
4137 existing System.Security.Cryptography.ToBase64Transform, should
4138 be changed to use a stand-alone class, e.g. Base64Encoder
4140 2001-10-10 Derek Holden <dholden@draper.com>
4142 * IntegerFormatter.cs: Added. Implements ToString for all the
4143 integer data types for all the format types.
4145 * Byte.cs: Using IntegerFormatter for ToString's.
4147 * SByte.cs: Using IntegerFormatter for ToString's.
4149 * Int16.cs: Using IntegerFormatter for ToString's.
4151 * Int32.cs: Using IntegerFormatter for ToString's.
4153 * Int64.cs: Using IntegerFormatter for ToString's.
4155 * UInt16.cs: Using IntegerFormatter for ToString's.
4157 * UInt32.cs: Using IntegerFormatter for ToString's.
4159 * UInt64.cs: Using IntegerFormatter for ToString's.
4161 2001-10-07 Miguel de Icaza <miguel@ximian.com>
4163 * Exception.cs: Implement bits of serialization.
4165 * RuntimeFieldHandle.cs: Implement Serialization features.
4167 * Type.cs: Implement TypeHandle property.
4169 2001-09-28 Dick Porter <dick@ximian.com>
4171 * LocalDataStoreSlot.cs: Implemented
4173 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
4175 * String.cs: fix off-by-one error in Trim().
4177 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
4179 * Type.cs: added GetType () method.
4181 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
4183 * MissingMethodException.cs, MissingMemberException.cs,
4184 MemberAccessException.cs: added.
4186 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
4188 * String.cs: don't access the string array out of bounds in
4189 LastIndexOf. * Type.cs: fix return type of the Assembly property.
4191 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
4193 * String.cs: make Intern and IsIntern internalcalls.
4195 2001-09-13 Dick Porter <dick@ximian.com>
4197 * Type.cs: Added a stub for the IsValueType property.
4199 * SystemException.cs (System): Added the other constructor, so
4200 that System.Threading exceptions can inherit it.
4202 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
4204 * String.cs (TrimStart): Don't keep looping through the trimchars
4205 once we've found a match.
4206 (TrimEnd): Same here.
4207 (Trim): And finally here.
4209 2001-09-07 Ravi Pratap <ravi@ximian.com>
4211 * Char.cs (IsLetterOrDigit): Implement.
4212 (IsLower): Implement, but we need to be Unicode aware.
4213 (IsNumber): Implement.
4214 (IsPunctuation): Implement.
4215 (IsWhiteSpace): Implement.
4216 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
4217 (ToLower): Same here.
4219 2001-09-04 Miguel de Icaza <miguel@ximian.com>
4221 * Object.cs: Shortcut, if (a == b) then return true.
4223 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
4225 * Delegate.cs: we need a pointer to the method thunk in
4226 the delegate object.
4228 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
4230 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
4232 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
4234 * String.cs (System): Don't mix uint and int.
4236 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
4238 * String.cs (BoyerMoore): Modified to not use pointers and to instead
4240 (IndexOf): Use BoyerMoore.
4242 2001-09-02 Miguel de Icaza <miguel@ximian.com>
4244 * All over: Use the autogenerated enumerations from the ECMA
4245 documentation that Sergey wrote.
4247 * PlatformID.cs: Add Unix definition.
4249 * OperatingSystem.cs: Use Unix instead of Linux here.
4251 * MarshalByRefObject.cs: Mark class as [Serializable].
4253 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
4255 * Console.cs: impl. (write only)
4256 implemented the stdin stuff
4258 * Int32.cs: impl. real op_Equal
4260 2001-08-24 Miguel de Icaza <miguel@ximian.com>
4262 * (common.src): Removed IAsyncResult as it is not on CVS yet.
4264 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
4265 as it breaks the build.
4267 2001-08-23 Michael Lambert <michaellambert@email.com>
4269 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
4270 added CLSCompliant attribute
4272 * IAsyncResult.cs: Added
4274 * common.src: Added IAsyncResult.cs
4276 2001-08-23 Michael Lambert <michaellambert@email.com>
4280 * common.src: Added UIntPtr.cs
4282 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
4284 * Attribute.cs: uncomment some code to make it compile again
4286 * mono.src: removed duplicated Attribute.cs
4288 2001-08-16 Nick Drochak <ndrochak@gol.com>
4290 * Attribute.cs: implemented all methods except GetHashCode()
4292 * common.src: added Attribute.cs so it would compile in
4294 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
4296 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
4297 marked it as InternalCall
4299 * common.src: removed UriFormatException.cs because the file is
4302 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
4303 * Char.cs: replaced byte with char
4305 * Array.cs: make it work with the mono interpreter
4307 2001-08-06 Miguel de Icaza <miguel@ximian.com>
4309 * Version.cs: Make the class sealed
4311 2001-08-08 Bob Smith <bob@thestuff.net>
4313 * Random.cs: Many compile fixes.
4314 * Random.cs: I read a bad spec. Class updated to match real spec.
4316 2001-08-06 Miguel de Icaza <miguel@ximian.com>
4318 * IntPtr.cs: Added and Completed implementation.
4320 * Uri.cs: Add a note.
4322 2001-08-06 Bob Smith <bob@thestuff.net>
4324 * Random.cs: Compile fix. Needs more testing.
4326 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
4328 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
4329 into account IPv6 addresses, url encoding needs to be implemented, and
4330 various minor methods need to be written, but this is a decent start.
4332 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
4334 * common.src: added Object.cs
4336 * mono.src: added ValueType.cs
4338 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
4340 * Math.cs: replaced libc with libm
4342 2001-08-02 Bob Smith <bob@thestuff.net>
4344 * Random.cs: Implemented. Needs testing.
4346 2001-08-02 Miguel de Icaza <miguel@ximian.com>
4348 * IServiceProvider.cs, EventHandler.cs: New files.
4350 2001-08-02 Marcel Narings <marcel@narings.nl>
4352 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
4353 Added exceptions. Added IConvertible. Still needs some platform
4354 dependend stuff, the Parse and ToString members
4356 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
4358 * Type.cs (GetTypeFromHandle): added placeholder
4360 2001-07-24 Derek Holden <dholden@draper.com>
4362 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
4363 which is really an IConvertible defined method.
4365 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
4366 behavior, still need to do the main Parse and ToString.
4368 * Char.cs: Added a bunch of missing ECMA methods. Commented a
4369 specification discrepency. Still didn't any unicode stuff, though
4370 every IsFoo(char c) method has an IsFoo(string, index)
4371 counterpart, added wrappers for those.
4373 * Convert.cs: Fixed NaN/Inf checking and double/float
4374 rounding. Added ToType for IConvertible classes
4376 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
4377 IsNaN methods. Changed Inf/NaN internals.
4379 * IConvertible.cs: Added comments for using
4380 Convert.ToType. Changed return values to draft base values.
4382 * Int16.cs: Added a missing Parse statement. Put in behavior for
4383 overloaded ToString and Parse methods.
4385 * Int32.cs: Added a missing Parse statement. Put in behavior for
4386 overloaded ToString and Parse methods.
4388 * Int64.cs: Added a missing Parse statement. Put in behavior for
4389 overloaded ToString and Parse methods.
4391 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
4392 methods. Changed Inf/NaN internals.
4394 * SByte.cs: Added a missing Parse method. Put in Parse and
4395 ToString behavior, still need to do the main Parse and ToString.
4397 * UInt16.cs: Added a missing Parse statement. Put in behavior for
4398 overloaded ToString and Parse methods.
4400 * UInt32.cs: Added a missing Parse statement. Put in behavior for
4401 overloaded ToString and Parse methods.
4403 * UInt64.cs: Added a missing Parse statement. Put in behavior for
4404 overloaded ToString and Parse methods.
4406 2001-07-20 Miguel de Icaza <miguel@ximian.com>
4408 * MulticastDelegate.cs: New File.
4410 * Delegate.cs: New file.
4412 * Enum.cs: New file.
4414 * Attribute.cs: New file.
4416 * Type.cs: New file.
4418 * ParamArrayAttribute.cs: New file.
4420 * RuntimeTypeHandle.cs: New file.
4422 * MulticastDelegate.cs: Added.
4424 * DateTime.cs: Added
4426 * Delegate.cs: Added
4428 2001-07-18 Michael Lambert <michaellambert@email.com>
4430 * AttributeTargets.cs: Add.
4432 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
4434 * Char.cs: Made ToUpper and ToLower public methods.
4436 * String.cs: Lots and lots of compile fixes - just need to write
4437 DateTime.cs and this should build completely now.
4439 2001-07-19 Bob Smith (bob@thestuff.net)
4441 * Math.cs: Implemented.
4443 2001-07-19 Miguel de Icaza <miguel@ximian.com>
4445 * String.cs: Removed tolower and toupper.
4447 * Char.cs: Moved ToLower and ToUpper from string to here.
4449 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
4450 instead of comparing the value to Nan.
4452 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
4454 * TimeSpan.cs: New implementation.
4456 2001-07-18 Scott Sanders <scott@stonecobra.com>
4458 * UriFormatExcpetion.cs: Add - 85% complete
4460 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
4462 * String.cs (IndexOf): Slight optimization that allows skipping
4463 over a few chars here and there. This isn't as good as using my
4464 Boyer-Moore implementation, however, Boyer-Moore is only really
4465 good for long strings (I plan on making the code decide which
4466 string search algorithm it should use on-the-fly at some point).
4467 (LastIndexOf): Fix to work correctly.
4468 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
4470 2001-07-16 Michael Lambert <michaellambert@email.com>
4472 * EventArgs.cs: Add.
4474 2001-07-16 Miguel de Icaza <miguel@ximian.com>
4476 * Version.cs: Remove my buggy comment.
4478 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
4480 * String.cs: Spelling error of IComparable, object's
4481 MemberwiseClone cannot be overridden. Made indexer valid for now,
4482 but not sure what to do about this in the long run. Seems to be a
4483 couple bugs in csc.exe having to do with multiple pointer defs in
4484 the same statement, and returning subclasses of a class in the
4485 return type of an interface function implementation. Also moved
4486 operators inside of class definition.
4488 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
4490 * String.cs: A tom of compile fixes, although we still don't compile.
4492 * IConvertible.cs: The To*Int64() methods return *Int64's, not
4493 *Int32's. Also, it's ToDateTime() not ToDateType().
4495 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
4497 * String.cs: Apparently I needed to at least write stubs for the
4498 IConvertible interfaces. *sigh*
4500 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
4502 * String.cs: Many logic/other fixes and better usage of the
4504 (tolower): New convenience method to help condense code.
4505 (toupper): Another new helper method.
4506 (Compare): Use the new helper methods.
4507 (ToLower): use tolower().
4508 (ToUpper): use toupper().
4509 (LastIndexOfAny): Implemented.
4510 (BoyerMoore): New private helper method that implements a modified
4511 version of the Boyer-Moore search algorithm. Noothing uses it yet
4512 as I'm not 100% sure it even works properly with unicode strings
4513 not to mention it uses a huge lookup-table :-)
4514 (Split): Implemented.
4516 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
4518 * TODO: Added things that need to be finished in System.String
4520 * String.cs: New source file implementing the System.String class
4522 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
4524 * TypeCode.cs: UInt64 was UInt63.
4526 * Object.cs: Fixed a numer of compiler errors.
4528 * Array.cs: Fixed some compiler errors.
4530 * IComparable.cs: Fixed some compiler errors.
4532 * ICloneable.cs: Fixed some compiler errors.
4534 * IConvertible.cs: Fixed some compiler errors.
4536 * IFormattable.cs: Fixed a compiler error.
4538 * IFormatProvider.cs: Fixed a compiler error.
4540 * IDisposable.cs: Fixed a compiler error.
4542 * IFormatProvider.cs: Added public accesability type to
4545 * Exception.cs: Added a using statement to remove compile time
4548 * ApplicationException.cs: Removed a ; that was causing a compiler
4551 * Int16.cs: Fixed some compiler errors.
4553 * Int32.cs: Fixed some compiler errors.
4555 * Int64.cs: Fixed some compiler errors.
4557 * SystemException.cs: Fixed a compiler error.
4559 * UInt16.cs: Fixed some compiler errors.
4561 * UInt32.cs: Fixed some compiler errors.
4563 * UInt64.cs: Fixed some compiler errors.
4565 * Void.cs: Fixed a compiler error.
4567 2001-07-12 Joe Shaw <joe@ximian.com>
4569 * Array.cs: Fix backwards parameters to Array.SetValue()
4571 (BinarySearch): Fix backward logic surrounding whether to call
4572 value.CompareTo or comparer.Compare.
4573 (LastIndexOf): Stop being stupid. I am so not used to strongly
4575 (Sort): Implement a quicksort.
4577 2001-07-11 Joe Shaw <joe@ximian.com>
4579 * Array.cs: Change all instances of trying to access an array with
4580 the index operator to calls to GetValue and SetValue, and add
4581 InternalGetValue and InternalSetValue which are internal calls
4582 into the runtime. Ew.
4584 2001-07-10 Joe Shaw <joe@ximian.com>
4586 * Array.cs: Implemented everything but Sort().
4588 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
4590 * Object.cs (Object::Equals): Object variable name is `o'.
4592 2001-07-06 Joe Shaw <joe@ximian.com>
4594 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
4595 Implement the IComparable and IFormattable interfaces. Fix a typo
4598 * ApplicationException.cs, ArgumentException.cs,
4599 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
4600 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
4601 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
4602 ExecutionEngineException.cs, FormatException.cs,
4603 IndexOutOfRangeException.cs, InvalidCastException.cs,
4604 InvalidOperationException.cs, InvalidProgramException.cs,
4605 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
4606 NotSupportedException.cs, NullReferenceException.cs,
4607 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
4608 StackOverflowException.cs, SystemException.cs,
4609 TypeInitializationException.cs: Added all of the exceptions
4610 specified by the language spec. Mmmm... bloat.
4612 2001-07-06 Miguel de Icaza <miguel@ximian.com>
4614 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
4615 do a generic routine all of these guys use.
4617 * Int16.cs: identified missing methods.
4619 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
4621 2001-06-26 Miguel de Icaza <miguel@ximian.com>
4623 * TypeCode.cs: Implement
4625 * Void.cs: Implement.
4627 * TODO: Add file to keep track of pending tasks.
4629 * Object.cs, ValueType.cs: Implement.