1 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
3 * Type.cs (MakeArrayType): Add argument checking.
5 2003-12-06 Dick Porter <dick@ximian.com>
7 * String.cs: Don't use CompareInfo for non-culture-sensitive
8 IndexOf and LastIndexOf methods.
10 2003-12-06 Ravindra <rkumar@novell.com>
12 * DateTime.cs: Made Parse(string, IFormatProvider) method to
13 use second argument. Fixed bug #51464.
15 2003-12-04 Martin Baulig <martin@ximian.com>
17 * Type.cs (Type.MakeArrayType): New public method.
19 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
22 (BlockCopy): make the exception thrown helpful.
24 2003-12-03 Dick Porter <dick@ximian.com>
26 * String.cs: Calling Replace on an empty string returns itself.
28 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
30 * MonoType.cs: Get rid of get_type_info, use a separate icall for
31 each property instead.
33 2003-12-02 Dick Porter <dick@ximian.com>
35 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
36 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
38 2003-12-01 Dick Porter <dick@ximian.com>
40 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
41 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
43 2003-11-28 Dick Porter <dick@ximian.com>
48 * Boolean.cs: Do string compares with the Invariant culture.
50 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
52 * Array.cs: make the enumerator ICloneable
54 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
56 * Decimal.cs (ToXXX): Call Convert.ToXXX.
58 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
60 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
61 Implement Load(byte[]) methods.
63 * BadImageFormatException.cs: Fix ToString.
65 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
67 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
68 GetConstructor, as done by MS.
70 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
72 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
74 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
76 * TypeInitializationException.cs: Added missing serialization constructor.
78 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
80 * AppDomainSetup.cs: Don't add an extra '/' at the end of
81 ApplicationBase. The tests pass now with mono.
83 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
85 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
87 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
89 * Environment.cs: use Directory in CurrentDirectory property.
90 We were not throwing any exception when setting the directory to an
93 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
96 * Delegate.cs: implemented 1.1 stuff.
99 * IntPtr.cs: removed extra attribute.
100 * PlatformID.cs: added WinCE.
102 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
105 (Equals): compare the fields of structs too.
106 (GetHashCode): combine the hash code of all the fields.
107 Fixes bug #50901 (will remove the icall in a couple of days).
109 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
111 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
113 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
115 * DateTime.cs: handle century when we try to parse 4-digit years and
116 only 2 digits are present. Fixes bug #49394.
118 2003-11-13 Miguel de Icaza <miguel@ximian.com>
120 * Console.cs: On utf-8 consoles, use unmarked output.
122 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
124 * IAppDomainSetup.cs:
127 * Type.cs: Added missing attribute
129 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
131 * Environment.cs: Added internal method for getting the path to
134 2003-11-12 Jackson Harper <jackson@ximian.com>
136 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
137 enum. This fixes the SWF build.
139 2003-11-12 Miguel de Icaza <miguel@ximian.com>
141 * PlatformID.cs: Remove Unix platform, we cant expose constants
142 that are not in the framework.
144 * OperatingSystem.cs: Adjust for the breakage.
146 * RuntimeMethodHandle.cs: Fix signature.
148 * Double.cs: Fix signature of TryParse.
150 * String.cs (Concat (object, object, object, object)): Add missing method.
152 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
153 in the .NET Framework.
155 * Enum.cs: Hide constructor.
157 Fix ToUint16 to be explicitly implemented.
159 * Console.cs: Add couple of extra missing methods (Write and
160 WriteLine overloaded)
162 2003-11-11 Miguel de Icaza <miguel@ximian.com>
164 * AppDomain.cs, Activator.cs: New unimplmented entry points from
165 1.1 (Com activation related).
167 * Exception.cs: Formatting.
169 * IServiceProvider.cs: Add ComVisible (true).
171 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
173 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
175 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
178 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
180 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
181 on MonoMethod instead of Invoke.
183 2003-11-01 Pedro Martínez Juliá <yoros@wanadoo.es>
185 * DateTime.cs: Fixed Add* methods handling. Now it works properly
186 with extreme values (there is a bug with Overflow and Underflow in
189 2003-10-31 Pedro Martínez Juliá <yoros@wanadoo.es>
191 * DateTime.cs: Fixed a few format bugs.
193 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
195 * AppDomain.cs (InternalPushDomainRef): New icalls.
197 * AppDomain.cs (InvokeInDomain): New method to execute code in a
200 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
202 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
204 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
206 * AppDomain.cs (IsFinalizingForUnload): Implement.
208 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
211 2003-10-25 Martin Baulig <martin@ximian.com>
213 * MonoType.cs: Don't make this sealed.
215 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
217 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
219 2003-10-24 Pedro Martínez Juliá <yoros@wanadoo.es>
221 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
222 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
224 2003-10-22 Dick Porter <dick@ximian.com>
226 * DateTime.cs: Handle '-' as a date separator when parsing formats.
228 2003-10-20 Duncan Mak <duncan@ximian.com>
230 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
231 and merge the two iterations into one.
233 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
235 * TypedReference.cs: Add new field used by the runtime.
237 2003-10-15 Martin Baulig <martin@ximian.com>
239 * Type.cs (Type.DeclaringMethod): For a generic method's type
240 parameter, return this method - otherwise, return null.
242 2003-10-14 Martin Baulig <martin@ximian.com>
244 The generics API has changed in the spec since it was added here;
245 these modifications make it match the spec again.
248 (GetGenericParameters): Renamed to `GetGenericArguments'.
249 (HasGenericParameters): Renamed to `HasGenericArguments'.
250 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
251 (IsGenericTypeDefinition): New property.
252 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
254 * MonoType.cs (ContainsGenericParameters): Implement this here;
255 this is no interncall anymore.
257 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
259 * Delegate.cs: add the method name to the exception when it cannot be
261 * Exception.cs: fix nullref in Source.
263 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
265 * Array.cs: Add argument checking to GetValue and SetValue.
267 2003-10-09 Miguel de Icaza <miguel@ximian.com>
269 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
270 should not be TimeSpan.MaxValue, because it overflow. Set this to
273 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
275 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
276 duplicate entry exception.
278 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
280 * DateTime.cs (ToString): Total rewrite, fixes #49358.
282 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
284 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
286 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
289 (Equals): check that the object is an Enum before comparing the types.
291 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
293 * Array.cs: reduced xsp allocated memory by 1/2.
295 2003-09-25 Martin Baulig <martin@ximian.com>
297 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
298 since it was identical to GetGenericTypeDefinition().
299 (Type.IsGenericInstance): New property.
301 2003-09-24 Duncan Mak <duncan@ximian.com>
303 * Math.cs (Abs): Fix double Locale.GetText bug reported by
304 davejp@volny.cz. This fixes #48788.
306 2003-09-14 Pedro Martínez Juliá <yoros@wanadoo.es>
308 * FloatingPointFormatter.cs: Add the necessary castings to char
311 2003-09-13 Pedro Martínez Juliá <yoros@wanadoo.es>
313 * FloatingPointFormatter.cs: Make the method calls more functional
314 for protecting the values from different threads (make it more
317 2003-09-13 Pedro Martínez Juliá <yoros@wanadoo.es>
319 * FloatingPointFormatter.cs: Fix a bug with the negative value of
322 2003-09-12 Pedro Martínez Juliá <yoros@wanadoo.es>
324 * FloatingPointFormatter.cs: Applied a lot of improvements in string
325 construction, make use of Append/Insert with the "count" parameter.
326 Thanks to Ben Maurer.
328 2003-09-10 Pedro Martínez Juliá <yoros@wanadoo.es>
330 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
332 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
335 2003-09-10 Pedro Martínez Juliá <yoros@wanadoo.es>
337 * DoubleFormatter.cs: A few optimizations. Now, only one object
338 is created to convert all double numbers.
340 * SingleFormatter.cs: A few optimizations. Now, only one object
341 is created to convert all float numbers.
343 * FloatingPointFormatter.cs: Split the "number type parameters" from
344 the "numver value and format parameters". The first ones are in the
345 constructor and the others are in a method.
347 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
349 * Array.cs: Added argument checking to some NET_1_1 methods.
351 2003-09-04 Martin Baulig <martin@ximian.com>
353 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
355 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
357 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
358 taking 'longs'. All tests pass.
360 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
362 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
363 Source. Remove MonoTODO attributes (class is 100% done). Also
364 passes all Rotor tests for Exception!
366 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
368 * Enum.cs: Remove [MonoTODO]'s that had been completed.
370 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
372 * String.cs: fixed bug #47802.
374 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
376 * String.cs: Created method FormatHelper that does formatting,
377 using a StringBuilder.
379 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
381 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
383 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
385 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
388 2003-08-11 Duncan Mak <duncan@ximian.com>
390 * Environment.cs (Version): Return the same numbers as the MS
393 2003-08-10 Miguel de Icaza <miguel@ximian.com>
395 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
396 replicated tests, and have a routine that does the heavy lifting.
398 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
400 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
402 * Environment.cs: return $HOME for ApplicationData folder.
404 2003-08-04 Duncan Mak <duncan@ximian.com>
406 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
407 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
408 floating point values. This fixes bug #46175.
410 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
411 noted by c5n4kh6u02@sneakemail.com in
412 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
414 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
416 * Double.cs: added icall Double.AssertEndianity.
418 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
420 * Type.cs, MonoType.cs: implemented generic-specific methods.
422 2003-07-29 Miguel de Icaza <miguel@ximian.com>
424 * Buffer.cs: Add new internal MemCopy call.
428 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
430 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
431 to icalls, to avoid special cases in some call conventions.
433 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
435 * Enum.cs: added Serializable attribute.
437 2003-07-25 Duncan Mak <duncan@ximian.com>
439 * AppDomain.cs (Equals):
440 (GetHashCode): Removed because they do not need to be defined
443 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
445 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
446 cannot even get the type.
448 2003-07-24 Miguel de Icaza <miguel@ximian.com>
450 * Type.cs: Added generics stubs.
452 2003-07-23 Duncan Mak <duncan@ximian.com>
454 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
455 as values for NET_1_1.
456 (GetFolderPath): Return the empty string ("") for values of
457 SpecialFolder that have no corresponding equivalents in
458 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
459 and "$HOME" for SpecialFolder.Personal.
461 * IntPtr.cs (GetObjectData): Mark it as an interface
462 implementation, instead of a public method.
464 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
466 * TypeLoadException.cs (GetObjectData):
467 Create stubs for the fields that are being serialized.
469 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
471 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
473 * Enum.cs: Fixed enum formatting. For flag enums, if one of
474 the flags is unnamed, ToString() returns the integer value.
476 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
478 * Guid.cs: Fixed ToString (), was producing incorrect string.
480 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
482 * AppDomainSetup.cs: fixed bug #46609.
484 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
486 * MonoType.cs: use an icall for IsPrimitiveImpl ().
488 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
490 * Guid.cs: faster ToString ().
492 2003-07-15 Pedro Martínez Juliá <yoros@wanadoo.es>
494 * FloatingPointFormatter.cs: Few changes for get working Rotor
497 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
499 * Type.cs (IsAssignableFrom): Implement this as an icall since the
500 runtime already includes the neccessary logic.
502 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
504 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
505 if it's present and get the full path for non-Uri paths.
507 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
509 * DateTime.cs: Fixed formatting of fractions of second.
511 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
513 * Console.cs: Turn off buffering for the streams returned by
514 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
516 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
518 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
519 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
520 a new random number (although it is not needed), while mono did not.
521 As a result, the sequence of random numbers could be different for the
524 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
526 * FloatingPointFormatter.cs: use dec_len2 as default precision.
528 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
530 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
531 be done after the correspondig UTC offset has been applied.
533 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
535 * Object.cs: Object must have the Serializable attribute.
536 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
537 to the resulting date. Also fixed _ToString so now correctly formates the
540 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
542 * Enum.cs: fix race in cache (bug#41841).
544 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
546 * FloatingPointFormatter.cs: if the precision is not specified, use
547 the default precision for the data type.
549 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
551 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
552 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
554 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
556 * MonoType.cs: don't throw nullref when the return type for a property
557 is specified and the property doesn't have a get accessor.
559 2003-06-10 Duncan Mak <duncan@ximian.com>
561 * Array.cs (CreateInstance): Fixed a typo. It should throw
562 ArgumentNullException instead of ArgumentException.
564 2003-06-09 Duncan Mak <duncan@ximian.com>
566 * Array.cs: Revert the last revert. I fixed it.
567 (Sort): Put a try-catch block around qsort, and wrap whatever
568 Exception we get into a InvalidOperationException.
570 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
572 * Array.cs: Revert last patch, it broke some other functionality.
574 2003-06-08 Duncan Mak <duncan@ximian.com>
576 * Array.cs: Throw more exceptions. This fixes the errors we see
577 from the Rotor testsuite.
579 (CreateInstance): Throw ArgumentNullException when the input are
580 null. Throw ArgumentOutOfRangeException when bounds + length is
581 greater than Int32.MaxValue.
582 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
583 the valid range of indices of array.
584 (Sort): Throw InvalidOperationException when comparer is null and
585 none of the elements in keys implements IComparable.
587 2003-06-08 Duncan Mak <duncan@ximian.com>
589 * Array.cs (CreateInstance): Throw a TypeLoadException if the
590 Length of the input array 'lengths' is greater than 255 so that we
591 won't see the g_assert that is in mono_array_class_get in class.c.
593 This fixes bug #44304.
595 2003-06-05 Nick Drochak <ndrochak@gol.com>
597 * UnitySerializataionHolder.cs: Cleanups according to class status page
599 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
601 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
602 RuntimeTypeHandle.cs: implemented the needed stuff to handle
605 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
607 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
608 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
609 for Ben Maurer after review and testing.
611 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
613 * Array.cs: Added better argument checking to Array.Sort ()
614 * DBNull.cs: Made the conversions throw like they do in MS.
616 2003-05-24 Philip Van Hoof <me@freax.org>
618 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
620 2003-05-21 Pedro Martínez Juliá <yoros@wanadoo.es>
622 * FloatingPointFormatter.cs: Take care with the explicit precision
623 and round the number to that precision.
625 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
627 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
629 2003-05-20 Philip Van Hoof <me@freax.org>
631 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
634 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
636 * AppDomainSetup.cs: Added new field which is used to notify the
637 runtime that the search path has changed.
639 2003-05-18 Pedro Martínez Juliá <yoros@wanadoo.es>
641 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
642 introduced the last change I've done.
644 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
646 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
647 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
650 2003-05-17 Pedro Martínez Juliá <yoros@wanadoo.es>
652 * FloatingPointFormatter.cs: Fixed little format mismatches.
654 2003-05-16 Pedro Martínez Juliá <yoros@wanadoo.es>
656 * FloatingPointFormatter.cs: Fixed "-0" result emited.
658 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
660 * AppDomain.cs: Added null argument check in Load().
661 * Activator.cs: fixed bug #39926.
663 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
665 * Enum.cs: fixed bugs #41522 and #42879.
667 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
669 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
670 undocumented MS behaviour.
672 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
674 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
677 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
679 * String.cs: fixed bug #41411 and another similar problem in
680 LastIndexOf (string).
682 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
684 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
687 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
689 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
690 construction if the delegate list only has one element.
692 2003-05-01 Pedro Martínez Juliá <yoros@wanadoo.es>
694 * Environment.cs: Changed the method GetFolderPath because it must
695 return at least a directory name (not null).
697 * Convert.cs: In ToType, if the destination type is unknown, try to
698 cast the value to object (then, the calling method will downcast it
699 to the type it wants).
701 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
703 * Enum.cs: fixed bug #41522.
705 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
707 * Enum.cs: protect with the lock also the lookup (bug #41841).
709 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
711 * MonoType.cs: allow a null name if InvokeMember is called with
712 BindingFlags.CreateInstance set.
714 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
716 * Enum.cs: reverted my previous patch.
718 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
720 * Enum.cs: fixed bug #41841.
722 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
725 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
727 2003-04-22 Pedro Martínez Juliá <yoros@wanadoo.es>
729 * FloatingPointFormatter.cs: Little fixes for get the same results
730 as MS.NET and show a message when something goes wrong with the
731 parser of Custom Formats.
733 2003-04-22 Nick Drochak <ndrochak@gol.com>
735 * Double.cs (ToString):
736 * Single.cs (ToString): Handle case where param is a CultureInfo.
738 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
740 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
741 ValueType::Equals() icalls static non-virtual, so they can be called
742 by the code in RuntimeHelpers.
744 2003-04-18 Miguel de Icaza <miguel@ximian.com>
746 * Delegate.cs (operator ==): Do not crash if the second argument
747 is null. Bug fix submitted by Juan Cri.
749 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
751 * Array.cs: Deleted the exception in Array.Initialize(), it looks
752 like the method do nothing for C#, is still a MonoTODO until
753 we find a compiler that uses that.
755 2003-04-14 Miguel de Icaza <miguel@ximian.com>
757 * Delegate.cs (Delegate): Seems like a typo, we were checking the
758 a field rather than the argument
760 * MonoType.cs: Make GetNestedType an external method implementation.
762 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
764 * Enum.cs: fixed bug #41294.
766 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
768 * DateTime.cs: fixes bug #40910, part 2.
770 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
772 * String.cs (Equals): avoid the internal call, code cleanups
774 2003-04-11 Alan Tam <Tam@SiuLung.com>
776 * Convert.cs: fixed bug #41085.
778 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
780 * AppDomain.cs: Added internal method for getting process guid.
782 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
784 * Array.cs: Little fix to compare () method.
786 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
788 * String.cs (Equals): Add trivial optimization.
790 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
792 * DateTime.cs: fixed bug #40910.
794 2003-04-05 Miguel de Icaza <miguel@ximian.com>
796 * Console.cs: Make stderr, stdout and stdin use synchronized
797 versions of the their readers/writers.
799 2003-04-04 Dick Porter <dick@ximian.com>
801 * Version.cs: Make operator== and operator!= cope with null
802 objects. Didn't change operator<, operator<=, operator> or
803 operator>= because its not meaningful to use those to compare
804 against null, and throwing a NullReferenceException is probably
805 the best thing to do there anyway.
809 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
811 * AppDomain.cs: fixed InvalidCastException.
813 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
815 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
816 type checks and let it decide whenever a fast copy is possible.
818 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
821 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
823 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
825 * Activator.cs (CreateInstance): Call GetConstructor with the right
826 arguments so the nonPublic argument is handled correctly.
828 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
830 * Type.cs: fixed bug #40123.
832 2003-03-22 Pedro Martínez Juliá <yoros@wanadoo.es>
834 * FloatingPointFormatter.cs: Fixed some bugs for get the same
835 results than MS.NET. Added simple error recovering, now ToString
836 will return a general format if there is any exception in the
837 process of formatting. This make the library more robust while the
838 formatters are refined.
840 2003-03-16 Pedro Martínez Juliá <yoros@wanadoo.es>
842 * FloatingPointFormatter.cs: Added support for group separators.
844 2003-03-16 Pedro Martínez Juliá <yoros@wanadoo.es>
847 * Double.cs: Apply changes of .ToString methods.
848 * SingleFormatter.cs:
849 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
850 * FloatingPointFormatter.cs: New class. Implementation of double and
851 single formatters. It is unified now and parametrized with precission
854 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
856 * AppDomain.cs: fixes bugs #39380 and #39331.
858 2003-03-06 Nick Drochak <ndrochak@gol.com>
860 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
862 2003-03-04 Dick Porter <dick@ximian.com>
865 * Double.cs: Temporarily reverted the Double and Single ToString()
866 change, because it broke nunit.
869 2003-03-04 Pedro Martínez Juliá <yoros@wanadoo.es>
871 * Double.cs: Changed ToString method. Added NumberFormatInfo support
872 with DoubleFormatter class.
873 * Single.cs: Changed ToString method. Added NumberFormatInfo support
874 with SingleFormatter class.
875 * DoubleFormatter.cs: New class with Double formatting functions.
876 * SingleFormatter.cs: New class with Single formatting functions.
878 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
880 * Activator.cs: Added support for activation using activation attributes.
881 * AppDomain.cs: Added internal method to get the default context from the runtime.
883 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
885 * DateTime.cs: FileTime is expressed in Universal time, and as such must
886 be converted before subtracting the magic offset.
887 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
888 the timezone at the end) *must* be parsed by DateTime.Parse() for
889 compatibility with Microsoft.
891 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
894 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
897 * IntPtr.cs: added serialization .ctor
899 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
901 * AppDomain.cs: check for null in Unload and changed method name.
903 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
905 * MonoCustomAttrs.cs: fixed bug #38238.
907 2003-02-17 Martin Baulig <martin@ximian.com>
909 * Exception.cs (Exception.ToString): Print a newline between the
910 exception message and the stack trace.
912 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
914 * AppDomain.cs: implemented GetCurrentThreadId ().
916 2003-02-14 Patrik Torstensson
918 * Exception.cs: Fixed message output formating
920 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
923 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
925 2003-02-12 Miguel de Icaza <miguel@ximian.com>
927 * Type.cs: IsClass should return false for Enumerations
929 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
931 * MonoCustomAttrs.cs: return the correct array type in the short case.
934 2003-02-08 Pedro Martíenz Juliá <yoros@wanadoo.es>
936 * Math.cs: Fix a few methods (like Round) and add with comments the
937 new methods: BigMul and DivRem that were in ECMA specs.
939 2003-02-07 Patrik Torstensson
941 * Exception.cs: Fixed formating
943 2003-02-05 Patrik Torstensson
945 * AppDomain.cs: Partly fixed the unload method
947 2003-02-04 Patrik Torstensson
949 * AppDomain.cs: Fixed lease issue with appdomain
951 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
953 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
954 InitializeLifetimeService().
956 2003-02-03 Patrik Torstensson
958 * AppDomain.cs: New internalcalls for handling domain/context switches
959 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
961 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
963 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
964 and ClearShadowCopyPath and fixed GetType ().
966 * Attribute.cs: clean up.
968 * Console.cs: removed UnixConsoleEncoding. Use Default.
970 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
972 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
973 GetCustomAttributes later.
975 2003-01-31 Patrik Torstensson
977 * Buffer.cs: Changed access level of BlockCopyInternal
979 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
981 * String.cs, IntegerFormatter.cs: use const where appropriate.
983 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
985 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
988 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
990 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
991 The argument ICustomAttributeProvider can be of other types different
992 from Type. Handle it.
994 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
996 * DateTime.cs: fix FromFileTime so the time returned by
997 File::GetLastModificationTime etc. is in the correct timezone.
999 2003-01-28 Patrik Torstensson
1000 * Exception.cs: reverted formating/endline changes (sorry guys)
1002 2003-01-28 Patrik Torstensson
1004 * MarshalByRefObject.cs: implemented GetObjectIdentity
1005 * Exception.cs: added support for remote exceptions
1007 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1009 * DateTime.cs: fixed bug #37225.
1011 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1013 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
1015 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
1017 * AppDomain.cs: Added DoTypeResolve method which will be called by
1018 the runtime to raise TypeResolve events.
1020 2003-01-27 Duncan Mak <duncan@ximian.com>
1022 * Enum.cs (ToType): Implement this using Convert.ToType.
1024 2003-01-21 Miguel de Icaza <miguel@ximian.com>
1026 * Math.cs: Remove Pow's implementation body as it was wrong. The
1027 C code does the right thing. The code was trying to handle a
1028 number of cases, and that was incorrect.
1030 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1032 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
1035 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1037 * Enum.cs: added caching to GetInfo.
1039 2003-01-23 Dick Porter <dick@ximian.com>
1041 * Environment.cs (System): Implemented ExitCode
1043 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
1045 * Type.cs (IsInstanceOfType): fixed regression caused by the change
1048 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1050 * MonoType.cs: re-added lines that were removed in the previous commit.
1052 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
1054 * Type.cs: corrected property IsSerializable. It should always return
1055 true for enums and delegates
1056 * MonoType.cs: added serialization support.
1057 * Delegate.cs: added serialization support.
1058 * DBNull.cs: added serialization support.
1059 * UnitySerializationHolder.cs: supports serialization of Assembly,
1060 MonoType and DBNull.
1061 * DelegateSerializationHolder.cs: added.
1063 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1065 * Exception.cs: changed default message to match MS one.
1067 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
1069 * String.cs: Fixed bug with CompareOrdinal
1071 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073 * Enum.cs: implements IFormattable.
1075 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1077 * AppDomain.cs: implemented DoCallBack method.
1079 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
1082 NUnit2 tests start moving.
1084 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1086 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
1087 instantiate an abstract class.
1089 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1092 (IsSubclassOf): return false when null. Use != instead of Equals.
1094 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1096 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
1098 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
1100 * MonoType.cs: fixed Namespace property for nested types.
1102 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
1104 * MonoCustomAttrs.cs: create properly typed arrays when returning
1105 arrays of attributes of a given type.
1107 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
1109 * MonoType.cs: fixed MemberType property for nested types.
1111 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1113 * String.cs: fixed bug #36209.
1115 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
1117 * Activator.cs: implemented method GetObject.
1119 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
1121 * Activator.cs: Since the documentation indicates the method
1122 either succeeds or throws one of the listed exceptions, we weren't
1123 expecting that CreateInstance might be returning null.
1125 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
1127 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
1129 * MarshalByRefObject.cs: implemented CreateObjRef.
1131 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1133 * DateTime.cs: fixed bug #30076.
1134 * TimeZone.cs: provide the parameter name in a exception.
1136 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1138 * DecimalFormatter.cs: fixed bug #35560.
1140 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
1142 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
1144 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1146 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
1147 nulls. Fixes #34909.
1149 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1151 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
1152 returns a non-null assembly.
1154 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1156 * MulticastDelegate.cs: make GetInvocationList work for more than 1
1159 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1161 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
1162 if this is the correct order of invocation.
1164 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1166 * Type.cs: changed the signature of internal_from_name. Modified
1167 the overloads of GetType to use it and check the typeName argument.
1168 Implemented FindInterfaces.
1170 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1172 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
1173 some obscure reasons (try make -f makefile.gnu using a corlib which has
1174 the modified version).
1176 2002-11-26 Miguel de Icaza <miguel@ximian.com>
1178 * String.cs (Concat): Reduce the number of compares required.
1180 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
1182 * Activator.cs: throw a MissingMethodException if the default
1183 constructor is not found in CreateInstance.
1185 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188 (Equals (str, str)): use 'as' instead of casting to object.
1189 (Equals (obj)): check the length of the strings (until now,
1190 "Hello".Equals ((object) "Hellow World!) was true!).
1192 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1194 * MonoType.cs: implemented GetEvent (name, flags).
1196 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1198 * AppDomain.cs: implemented a couple of methods called from the runtime
1199 to fire AssemblyLoad and AssemblyResolve events.
1201 2002-10-31 Dick Porter <dick@ximian.com>
1203 * Environment.cs: MonoIO methods now have an error parameter
1205 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
1207 * Enum.cs: Added support for whitespaces in Enum:Parse().
1209 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1211 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
1212 internal call. Closes bug #32992.
1214 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1216 * Exception.cs: display the inner exception, if any, in ToString ().
1218 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1220 * Environment.cs: fixed StackTrace property.
1222 2002-10-16 Nick Drochak <ndrochak@gol.com>
1224 * Enum.cs (Parse): Then fix the code so that it works too.
1226 2002-10-15 Nick Drochak <ndrochak@gol.com>
1228 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
1230 2002-10-12 Nick Drochak <ndrochak@gol.com>
1232 * IntegerFormatter.cs: Fix compiler warnings.
1234 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
1236 * Type.cs (GetConstructors): Use the correct flags.
1238 2002-10-09 Nick Drochak <ndrochak@gol.com>
1240 * IntegerFormatter.cs: Suppress insignificant leading zeros
1242 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
1244 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
1245 <stonewell@21cn.com> to return also derived types.
1247 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1249 * Activator.cs: little fix in CreateInstance (Type, bool).
1251 2002-09-19 Duncan Mak <duncan@ximian.com>
1253 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
1254 I18N/Common from building right now.
1256 2002-09-19 Nick Drochak <ndrochak@gol.com>
1258 * Array.cs (CopyTo): Account for Object type and base (primitive) types
1259 * Type.cs (IsAssignableFrom): return false for a null parameter
1261 2002-09-19 Nick Drochak <ndrochak@gol.com>
1263 * Array.cs (CopyTo): Check that source type can be cast automatically
1264 to the destination type.
1266 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1268 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
1271 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1273 * Char.cs: implemented ToString (char)
1274 * IntegerFormatter.cs: made it internal.
1276 2002-09-13 Nick Drochak <ndrochak@gol.com>
1278 * Enum.cs (Format): handle the "d" format for both signed and unsigned
1281 2002-09-12 Dick Porter <dick@ximian.com>
1283 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
1284 attribute, as there doesn't appear to be any struct
1285 layout-depending code here (and corcompare says it should be
1286 LayoutKind.Sequential)
1288 * Decimal.cs: Stub out missing methods, add
1289 [DecimalConstantAttribute] to the constant fields (as shown by
1292 * LocalDataStoreSlot.cs:
1295 * Array.cs: Stub out missing methods.
1297 * TypedReference.cs:
1298 * ArgIterator.cs: Stub out
1300 * AppDomainSetup.cs:
1301 * AppDomain.cs: Stub out missing methods, add missing
1302 ClassInterface(ClassInterfaceType.None) attribute.
1304 2002-09-12 Nick Drochak <ndrochak@gol.com>
1306 * Double.cs (ToString): Throw exception when "X" format is passed in.
1308 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1310 * MonoType.cs: implemented Module property.
1312 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
1314 * MonoType.cs, Type.cs: implemented InvokeMember.
1316 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
1318 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
1319 type. Check the method signature matches.
1321 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
1323 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
1325 2002-09-06 Miguel de Icaza <miguel@ximian.com>
1327 * Console.cs: Specify an encoder, otherwise we will get the UTF8
1328 encoder that by default emits the byte markers.
1330 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
1332 * Delegate.cs: look also for non-public methods until we have the
1333 security checks in place.
1335 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
1337 * MonoType.cs: consider also the full name in GetInterface.
1339 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
1341 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
1342 GetMethodImpl using the binder.
1343 * Type.cs: GetConstructorImpl/GetConstructor fixes.
1345 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
1346 * Enum.cs: Get rid of warning CS0162.
1348 2002-09-04 Miguel de Icaza <miguel@ximian.com>
1350 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
1351 actual value instead of public.
1353 * LocalDataStoreSlot.cs: Make constructor internal.
1355 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
1356 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
1359 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
1360 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
1363 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1365 * DateTime.cs: fixed buglet.
1367 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
1369 * MonoType.cs: speedup access to common data.
1371 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1373 * Double.cs: implemented TryParse.
1375 * Math.cs: PowImpl is now private.
1377 * MissingFieldException.cs: implemented Message.
1379 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
1381 * _AppDomain.cs: Uncommented ToString.
1383 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1386 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
1388 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1390 * ArgumentException.cs: use the field instead of the property for
1393 * ArgumentOutOfRangeException.cs: modified Message.
1396 (_DoParse): throw out of range exception for year. Removed check
1397 for month (it's done in the constructor).
1399 2002-08-21 Miguel de Icaza <miguel@ximian.com>
1401 * Environment.cs: Implemented OSVersion property.
1403 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
1405 * Exception.cs: set stack_trace to null
1407 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
1409 * AppDomain.cs: implemented ToString().
1411 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1413 * AppDomain.cs: securityInfo can be null in CreateDomain.
1415 2002-08-19 Dick Porter <dick@ximian.com>
1417 * MonoType.cs: Add a space before the Assembly name in
1418 AssemblyQualifiedName (needed for resource files so the MS runtime
1421 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1423 * AppDomain.cs: parameter name when throwing ArgumentNullException.
1425 * ArgumentException.cs: modified Message to do what MS does.
1427 * ArgumentNullException.cs: don't use {0} in message.
1429 * Exception.cs: use Message property in ToString ().
1431 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
1433 * WeakReference.cs: Changed the constructor and GetObjectData
1434 method needed for ISerializable implementation in order to be
1435 compatible with SOAP generated by MS.
1437 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
1439 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
1441 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
1443 * Exception.cs (ToString): changed the ouput format.
1445 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
1447 * MonoType.cs: moved get_method icall to this class, we can
1448 remove it as soon someone provides a full featured GetMethodImpl.
1450 * Type.cs: use GetMethodImpl everywhere.
1452 * Delegate.cs: new CreateDelegate implementations.
1454 2002-08-06 Tim Coleman <tim@timcoleman.com>
1456 Fix bug #28582. Now checks parameters for properties
1459 2002-08-04 Nick Drochak <ndrochak@gol.com>
1461 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
1463 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1466 (FormatSpecifier): allow white space between the comman and the width
1469 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1474 * UInt64.cs: fixed bug #28050. May be a MS bug?
1476 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
1478 * MonoType.cs: fix IsArrayImpl.
1480 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1482 * String.cs: make ToLower (culture) and ToUpper (culture) use the
1483 default ToLower and ToUpper and don't throw NotImplemented.
1485 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
1487 * Type.cs: make GettTypeCode an icall. Test implementation of
1490 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1492 * AppDomainSetup.cs: implemented LoaderOptimization.
1494 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1496 * Activator.cs: some more intermediate results checking in
1497 in CreateInstance and CreateInstanceFrom and use GetConstructor and
1498 Invoke only with Type [] until the other overloaded versions work.
1500 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1502 * Activator.cs: reformatted. Implemented CreateInstance* methods
1503 that return ObjectHandle.
1505 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
1507 2002-07-03 Nick Drochak <ndrochak@gol.com>
1509 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
1510 the divisor is not) and avoid the icall, which seems to have a bug.
1512 2002-07-03 Nick Drochak <ndrochak@gol.com>
1514 * Double.cs (CompareTo): Correctly handle the case where the instance
1515 is NaN. Also return 0 if the values are equal.
1517 2002/07/03 Nick Drochak <ndrochak@gol.com>
1519 * MissingMethodException: Add missing Message property
1520 * MissingMemberException: Add missing Message property
1522 2002-06-30 Nick Drochak <ndrochak@gol.com>
1524 * Double.cs (CompareTo): Just see which is bigger. Don't use the
1525 subtraction trick, it doesn't work when the values have a diference of
1528 * Single.cs (CompareTo): same
1530 2002-06-27 Martin Baulig <martin@gnome.org>
1532 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
1533 constructor argument. [FIXME: The implicit conversion to an
1534 unsigned integer doesn't work with mcs.]
1536 2002-06-26 Martin Baulig <martin@gnome.org>
1538 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
1539 not `S = System'. This file now compiles with mcs.
1541 * String.cs: Removed the already ifdef-outed __arglist Concat function
1542 to make it compile with mcs.
1544 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1546 * IntegerFormatter.cs:
1547 (FormatParse.FormatNumber): fixed custom format for negative numbers.
1549 2002-06-21 Martin Baulig <martin@gnome.org>
1551 * Double.cs: Replace the private `enum State' with constants since this
1552 will avoid some bigger headaches in mcs.
1554 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
1556 * TimeSpan.cs: do not pollute the namespace with the
1559 2002-06-18 Nick Drochak <ndrochak@gol.com>
1561 * ArgumentException.cs: Use the message given in the constructor when
1562 accessing the Message property. Thanks to Dietmar for the help with
1565 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
1567 * MonoType.cs: GetField is now a InternalCall
1569 2002-06-13 Nick Drochak <ndrochak@gol.com>
1571 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
1572 sortable format(s), e.g. "2002-02-25"
1574 2002/06/12 Nick Drochak <ndrochak@gol.com>
1576 * Random.cs (Next): Fix math error. Return a number within the range.
1578 2002-06-12 Nick Drochak <ndrochak@gol.com>
1580 * String.cs (IndexOf): Return -1 if start index is equal to string
1583 2002-06-10 Duncan Mak <duncan@ximian.com>
1585 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
1586 (ToType): Added null field in conversionTable to avoid
1587 IndexOutOfRangeException. Changed what exceptions we throw to match
1590 2002-06-11 Nick Drochak <ndrochak@gol.com>
1592 * Int64.cs (Parse): Added unique strings to the messages where we throw
1593 a FormatException. Needed these to debug, so just left them in since
1594 they might be useful later. Fixed Currency parsing where we weren't
1595 looking at CurrencyDecimalSeparator, etc.
1597 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
1599 * DateTime.cs: fixes to pass tests M0 to M6:
1600 if yy pattern then year values >= 30 are in 20th century
1601 rfc1123 pattern is always in GMT, therefor useutc must be false
1602 made GetNow() internal static so it can be called from TimeZone.
1603 * TimeZone.cs: removed dependency on year 2002 from initialization of
1606 2002-06-09 Duncan Mak <duncan@ximian.com>
1608 * Convert.cs (ToType): Rearranged what Exceptions we throw to
1611 2002-06-08 Duncan Mak <duncan@ximian.com>
1613 * Decimal.cs: Added support for the IConvertible interface.
1615 2002-06-08 Martin Baulig <martin@gnome.org>
1617 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
1618 doesn't necessarily need to be of the enum's underlying type.
1620 2002/06/07 Nick Drochak <ndrochak@gol.com>
1622 * String.cs: Add [Serializable] to class
1623 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
1625 2002-06-04 Nick Drochak <ndrochak@gol.com>
1627 * Double.cs (Parse): Recognize the group separator string, but still we
1628 don't check the format for the proper number of digits between
1629 separators. Also throw OverflowException when we get Pos or Neg
1630 Infinity from runtime.
1632 2002-06-03 Duncan Mak <duncan@ximian.com>
1634 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
1636 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
1638 * Type.cs: fixed GetTypeCode.
1640 2002-06-02 Duncan Mak <duncan@ximian.com>
1642 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
1643 cast from an int so that we throw OverFlowException correctly.
1645 (ToInt64): Use a new 64bit version of ConvertToBase.
1647 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
1648 and Int32.MaxValue).
1650 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
1652 2002-06-02 Nick Drochak <ndrochak@gol.com>
1654 * Convert.cs (ToSByte): Check for special value.
1655 * Single.cs (Parse):
1656 * UInt16.cs (Parse):
1657 * UInt32.cs (Parse): Throw OverflowException if negative
1659 2002-06-02 Duncan Mak <duncan@ximian.com>
1661 * Convert.cs (DBNull): Point it to DBNull.Value.
1662 (IsDBNull): Instead of checking typecodes, just check to see if
1663 it's the same as the DBNull field.
1665 2002-06-02 Nick Drochak <ndrochak@gol.com>
1667 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
1669 2002-06-02 Duncan Mak <duncan@ximian.com>
1671 * Char.cs (Parse): Simplify the Exception handling.
1673 * Convert.cs (ToDecimal): Remove call to Math.Round () when
1674 converting from a float.
1676 2002-05-30 Martin Baulig <martin@gnome.org>
1678 * MonoType.cs (GetInterface): Implemented.
1680 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
1682 * Activator.cs: implemented CreateInstance ().
1684 2002-05-22 Duncan Mak <duncan@ximian.com>
1686 * Convert.cs (ConvertToBase): Added new 64bit version.
1687 (BuildConvertedString64): New 64bit version of
1688 BuildConvertedString.
1690 This fixes bug 25068.
1692 (ConvertFromBase): Added additional test for checking if the
1693 digits are valid. Thanks to Miguel for coming up with this test.
1695 This fixes bug 25071.
1697 2002-05-21 Duncan Mak <duncan@ximian.com>
1699 * Convert.cs (ToType): Rearranged to fit the new layout of
1702 (conversionTable): Rearranged to fit the layout of the
1703 System.TypeCode enum.
1705 This should fix bug 25075.
1707 2002-05-21 Duncan Mak <duncan@ximian.com>
1709 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
1710 mixed up the two code paths, one for converting to a specific base
1711 (this case), another from converting from a foreign base to base10
1712 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
1714 * Convert.cs (ToByte)
1715 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
1716 that we won't confuse FormatException with OverflowException.
1718 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
1720 * Environment.cs: CommandLine missed spaces between arguments.
1721 Implemented StackTrace. Returning MachineName in UserDomainName
1724 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
1726 * MonoCustomAttrs.cs: handle inherit argument.
1728 2002-05-21 Nick Drochak <ndrochak@gol.com>
1730 * Math.cs (Pow): Change icall method name and insert parameter
1731 checks in for infinities and NaN.
1733 2002-05-13 Miguel de Icaza <miguel@ximian.com>
1735 * Double.cs (Parse): Reimplement by cleaning up the string first,
1736 and then passing to strtof in the mono runtime.
1738 * Single.cs (Parse): Use the Double implementation and cast to
1741 2002-05-21 Nick Drochak <ndrochak@gol.com>
1744 (Ceiling): Check for "special" values
1745 (Floor): Check for "special" values
1746 (Round): Fix off-by-one error on decimal shifting
1748 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
1750 * DateTime.cs: ToString () using "G" format specifier
1752 2002-05-19 Martin Baulig <martin@gnome.org>
1754 * Convert.cs (FromBase64CharArray): Do correct exception handling.
1756 2002-05-19 Martin Baulig <martin@gnome.org>
1758 * Convert.cs (FromBase64CharArray): Convert the char array using
1759 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
1762 2002-05-17 Miguel de Icaza <miguel@ximian.com>
1764 * MonoType.cs: Style changes.
1766 * Type.cs: Style changes.
1768 2002-05-16 Piers Haken <piersh@friksit.com
1770 * UInt64.cs: fix declaration of IConvertible.To* overrides.
1772 2002-05-16 Nick Drochak <ndrochak@gol.com>
1774 * BitConverter.cs (ToString): Add parameter check for invalid start
1777 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
1778 now that StreamWriter uses buffering
1780 2002-05-14 Miguel de Icaza <miguel@ximian.com>
1782 * Double.cs: Oops. Also handle exponents without finding a dot.
1784 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1786 * ChangeLog: removed empty entry at the top of the file.
1788 * Int32.cs: made static functions used by Parse internal.
1792 * UInt64.cs: removed static fucntions used by Parse and use the ones
1795 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
1797 * IServiceProvider.cs: added using System
1799 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
1801 * Single.cs: copied ToString() and Parse() methods from
1802 Double to Single and modified a tiny bit for Single.
1803 There is still a FIXME for Double and Single about
1804 passing the format and provider info to the icall too.
1806 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1811 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
1812 Don't use a delegate to test for valid digits.
1814 2002-05-01 Duncan Mak <duncan@ximian.com>
1817 * Math.cs: Added missing CLSCompliant attributes where necessary.
1819 2002-04-30 Duncan Mak <duncan@ximian.com>
1821 * ArgumentException.cs (Message):
1822 * ArgumentOutOfRangeException.cs (Message): Added.
1824 2002-04-30 Nick Drochak <ndrochak@gol.com>
1826 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
1828 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
1830 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
1832 2002-04-28 Duncan Mak <duncan@ximian.com>
1834 * DivideByZeroException.cs: Added missing serialization constructor.
1836 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
1838 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1840 * Math.cs: fix Floor () and Round (). Closes #23960.
1842 2002-04-27 Nick Drochak <ndrochak@gol.com>
1844 * Array.cs (IList.Contains): Should throw a RankException if this is
1845 called on a Rank > 1 array. Not in the docs, but this is what the
1848 2002-04-26 Duncan Mak <duncan@ximian.com>
1850 * MissingMemberException.cs: Made the message variable 'protected'
1851 instead of 'private', so that we can see it in
1852 MissingMethodException and MissingFieldException.
1854 * MissingFieldException.cs:
1855 * MissingMethodException.cs: Added missing (string, string)
1856 constructor, and also the Message property.
1858 2002-04-26 Martin Baulig <martin@gnome.org>
1860 * Enum.cs: Implemented the IConvertible methods.
1862 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1864 * SByte.cs: little change in Parse (string) to avoid incorrect
1865 OverflowException thrown (reported by nickd).
1867 2002-04-22 Miguel de Icaza <miguel@ximian.com>
1869 * ValueType.cs: Add Serializable attribute.
1871 * String.cs: ifdef-out out the __arglist Concat function until I
1872 add support for that to mcs.
1874 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
1876 * AppDomain.cs (GetValue): usage of the correct icall (bug)
1878 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
1880 * GC.cs: implement most of the methods as icalls.
1882 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1884 * DecimalFormatter.cs (ToString): return correct value when the
1885 decimal number is 0.
1887 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
1889 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
1890 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
1892 2002-04-24 Nick Drochak <ndrochak@gol.com>
1894 * Double.cs (Parse): Handle case where there are no digits before the
1895 decimal point, such as ".1".
1897 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1902 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
1904 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
1906 * String.cs (Split): fixed invalid split of count 0 and 1.
1908 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
1910 * String.cs (LastIndexOf): fixed argument checking.
1911 * String.cs (Equals): made internal for performace.
1913 2002-04-23 Nick Drochak <ndrochak@gol.com>
1915 * String.cs (Join): check argument and throw exception if needed
1917 2002-04-23 Nick Drochak <ndrochak@gol.com>
1919 * String.cs (StartsWith): check argument and throw exception if needed
1921 2002-04-22 Nick Drochak <ndrochak@gol.com>
1923 * String.cs (IndexOfAny): check arguments and throw exceptions as
1924 neccessary. ALso remove some debug WriteLines.
1926 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
1928 * String.cs: use internal constructors
1931 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
1933 * MonoType.cs: make GetElementType its own icall.
1935 2002-04-18 Nick Drochak <ndrochak@gol.com>
1937 * String.cs: Modified file. Re-add methods needed by the unit tests.
1939 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
1941 * String.cs: some code speedups and restored GetTypeCode().
1943 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
1945 * String.cs: New implementation using internal calls.
1947 2002-04-16 Nick Drochak <ndrochak@gol.com>
1949 * DecimalFormatter.cs: Trim off excess null characters from the string
1950 that decimal2string gives back.
1952 2002-04-16 Nick Drochak <ndrochak@gol.com>
1954 * String.cs (SubString): revert my change. I can't reproduce the
1957 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1959 * Attribute.cs: added GetHashCode and Equals.
1961 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1963 * Enum.cs: little improvements to Format ().
1965 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
1967 * String.cs: internalcall GetHashCode().
1968 * Array.cS: optimize access to elements.
1970 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
1972 * String.cs: make IndexOfAny() use an internalcall.
1974 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1979 * UInt64.cs: fixed error when testing for validity of flags.
1981 2002-04-11 Nick Drochak <ndrochak@gol.com>
1983 * Double.cs: Use an internal call for ToString(). This is just a simple
1984 implementation to get away from throwing a NotImplementedException.
1986 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1991 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
1995 * Int64.cs: throw an OverFlowException when parsing a string
1996 containing a dot followed by any non '0' number.
1998 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2003 * UInt64.cs: added complex Parse ().
2005 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2010 * Int64.cs: added complex Parse ().
2012 2002-04-09 Nick Drochak <ndrochak@gol.com>
2014 * Array.cs (BinarySearch): Add checks on paramters before using them
2015 and throw exceptions as needed.
2017 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
2018 "G" format to "F" if so.
2020 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
2022 * MonoCustomAttrs.cs: return arrays of type Attribute[]
2023 instead of object[].
2025 2002/04/09 Nick Drochak <ndrochak@gol.com>
2027 * String.cs (Substring): Copy only non-null characters to the new
2030 2002-04-09 Nick Drochak <ndrochak@gol.com>
2032 * IntegerFormatter.cs: Don't use a format character to indicate a
2033 custom format was passed in. It was using 'z' to indicate a custom
2034 format, but really it should throw a format exception if the user
2035 tries to use "z" as the format string. Now it does.
2037 * Activator.cs: New File.
2039 2002-04-08 Nick Drochak <ndrochak@gol.com>
2041 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
2042 applied to an enum. Need to handle the different possible integer
2043 types of an enum somehow. Can anyone say generics?
2045 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
2047 * Convert.cs: switched the To*(object) methods to use
2048 IConvertible directly instead of calling ChangeType
2050 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
2052 * ValueType.cs: make Equals() an internalcall.
2054 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
2056 * Type.cs: also look for nested types in FindMembers.
2057 * MonoType.cs: make GetNestedTypes() an internalcall.
2059 2002-04-05 Nick Drochak <ndrochak@gol.com>
2061 * Enum.cs (Parse): Handle different underlying types.
2063 2002/04/04 Nick Drochak <ndrochak@gol.com>
2065 * Enum.cs (IsDefined): Throw exception when type of value to look for
2066 is not the correct one. Attempt to have it work with string values
2067 too, but not sure if the unit tests are getting that far yet.
2069 2002-04-04 Nick Drochak <ndrochak@gol.com>
2071 * Decimal.cs: Fix a couple of typos.
2073 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
2075 * Enum.cs: the values array is of the enum and not of the underlying
2076 type. Updates and some bug fixes.
2077 * MonoType.cs: make the internalcall return FullName instead of the
2078 assembly qualified name.
2079 * Type.cs: make ToString () simply return FullName.
2081 2002-04-03 Nick Drochak <ndrochak@gol.com>
2083 * Type.cs (GetTypeCode): provide some of the implementation for this
2084 method. It's still too simplistic to be considered complete.
2086 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
2088 * Object.cs: fixed FieldGetter/FieldSetter signature
2090 2002-04-02 Nick Drochak <ndrochak@gol.com>
2092 * Environment.cs: add MonoTODO's on parts that should have it.
2094 2002-04-01 Nick Drochak <ndrochak@gol.com>
2096 * Enum.cs: added reality checks (check parameters to most methods that
2099 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
2101 * Object.cs: added FieldGetter/FieldSetter
2103 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2105 * IntegerFormatter.cs: fixed initialization error in static
2108 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
2110 * Delegate.cs: added new field to store a trampoline function
2112 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2114 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
2115 make custom format strings work (not fully functional yet).
2117 2002/03/28 Nick Drochak <ndrochak@gol.com>
2119 * IntegerFormatter.cs: Change class from internal to public. Add
2120 necessary [CLSCompliant(false)] attributes.
2122 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
2123 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
2126 2002-03-28 Nick Drochak <ndrochak@gol.com>
2128 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
2130 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
2132 * Console.cs: Modified to get std handles from MonoIO.
2133 * Environment.cs: removed PAL dependencies.
2135 2002-03-25 Miguel de Icaza <miguel@ximian.com>
2137 * String.cs (System): Removed internal enumeration, because
2138 bootstrapping the corlib at this point does not support
2141 * IntPtr.cs: Temporary work-around until I fix the assembly
2144 2002-03-24 Martin Baulig <martin@gnome.org>
2146 * Enum.cs (GetValues): According to the docu this is sorted after
2149 * String.cs (System): Removed enumeration, because it is pretty
2150 hard to support enumerations in /nostdlib mode for the core types.
2152 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
2154 * Array.cs: move error handling in the catch block.
2155 * MulticastDelegate.cs: remove == and != operators that were
2156 removed with the delegate changes (when you add stuff, please do not
2157 remove existing functionality!).
2158 * Type.cs: if a property is not found in a type, search for it
2159 in the parent types, too.
2161 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
2163 * Math.cs: changed to use icall instead of PAL.
2165 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
2167 * Double.cs: added check for NaN (Bug [22082])
2169 2002-03-19 Nick Drochak <ndrochak@gol.com>
2171 * Enum.cs (Equals): check for null and throw if it is.
2172 * Enum.cs (Format): check for null parameters and throw if necessary.
2173 This method still needs more argument checking.
2175 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
2177 * Enum.cs (Equals): check if Enums are of the same type
2179 2002-03-18 Nick Drochak <ndrochak@gol.com>
2181 * Double.cs: Explicitly handle comparisons in CompareTo() for
2182 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
2184 * Enum.cs(CompareTo): Check types of values before trying to compare.
2185 Throw exceptions if types are invalid or don't match.
2187 2002-03-14 Miguel de Icaza <miguel@ximian.com>
2189 * Array.cs: Add some extra debugging information.
2191 2002-03-15 Nick Drochak <ndrochak@gol.com>
2193 * Array.cs: Added IList and IEnumerable.
2195 2002-03-14 Miguel de Icaza <miguel@ximian.com>
2197 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
2200 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
2202 * Delegate.cs (Equals): also compare method_ptr
2203 (GetHashCode): returm method_ptr as hash
2205 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
2206 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
2207 such as 42.ToString("0000000"), as these are (currently) not implemented
2208 in System.IntegerFormatter. TimeSpan luckely can do with Standard
2209 Numeric Format Strings, such as 42.ToString("D7").
2211 2002-03-12 Duncan Mak <duncan@ximian.com>
2213 * FieldAccessException.cs:
2214 * MethodAccessException.cs:
2215 * PlatformNotSupportedException.cs: Inherit from
2216 MemberAccessException, not SystemException.
2218 * ObsoleteAttribute.cs: Made Message and IsError properties
2221 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
2223 * GC.cs: make SuppressFinalize() a nop.
2224 * Delegate.cs: fix == operator.
2226 2002-03-13 Nick Drochak <ndrochak@gol.com>
2228 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
2229 runtime that goes with this patch.
2231 2002-03-10 Martin Baulig <martin@gnome.org>
2233 * Int32.cs (Parse): Correctly parse negative numbers.
2235 2002-03-08 Martin Baulig <martin@gnome.org>
2237 * String.cs (Split): Really fix it this time. Also adding several new
2238 testcase to the testsuite.
2240 2002-03-08 Martin Baulig <martin@gnome.org>
2242 * Array.cs (Copy): Optimized: removed duplicate null check, removed
2243 two duplicate GetLowerBound() calls and one duplicate IsValueType.
2245 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
2247 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
2248 * String.cs: use the dumb code for IndexOf(string): this is worth
2249 15-20 % speedup in mcs compile with mint.
2251 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
2253 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
2255 2002-03-07 Martin Baulig <martin@gnome.org>
2257 * String.cs (Join): Throw an ArgumentNullException.
2258 (LastIndexOf (string,int,int)): This method does a backwards search,
2259 so startIndex points to the end of value, not to its beginning. Don't
2260 throw an exception if startIndex equals this.Length. Always return -1
2261 if startIndex is smaller than the length of value.
2262 (Replace (string,string)): Replace all occurences of oldValue.
2263 If newValue is null, all occurences of oldValue are to be removed.
2264 (Split (char[],int)): Return an empty array if maxCount is zero, throw
2265 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
2266 elements, not maxValue+1.
2268 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
2270 * MonoType.cs: make GetEvents() an internal call.
2271 * MulticastDelegate.cs: copy the passed in array.
2273 2002-03-06 Martin Baulig <martin@gnome.org>
2275 * Array.cs (Copy): Use FastCopy when appropriate and do correct
2278 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
2279 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
2280 some of the failures found be new tests (see ChangeLog in
2281 Test/System). Comments added to this method, based on
2282 the representation invariant of this class, that (try to) explain
2283 why it now should be correct.
2285 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
2287 * Int64.cs (Parse): bug fix for max. negative value.
2289 2002-03-07 Nick Drochak <ndrochak@gol.com>
2291 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
2292 I need to understand what the difference between the attribute and
2295 2002-03-06 Martin Baulig <martin@gnome.org>
2297 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
2298 an InvalidCastException if the widening conversion failed. See
2299 testcases #M94-#M96.
2301 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
2302 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
2305 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
2306 (Copy): Actually allow copying multi-dimensional arrays.
2308 2002-03-05 Duncan Mak <duncan@ximian.com>
2311 (DBNull) Added the missing field.
2312 (IsDBNull) Fixed typo.
2313 (ToByte (string, int)) Implemented.
2314 (ToString (byte, int)) Implemented.
2316 (BuildConvertedString) internal functions used for converting values to
2324 * UInt32.cs: Implemented the IConvertible interface.
2326 * CharEnumerator.cs: Renamed to variables to be clearer and
2327 changed some of the tests to conform to the 1.0 spec.
2329 2002-03-06 Martin Baulig <martin@gnome.org>
2331 * Array.cs (Copy): Calculate absolute array position here and use
2332 GetValueImpl() and SetValueImpl() with that position. We can now
2333 copy multi-dimensional arrays.
2334 (CopyTo): Small bug fix.
2336 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
2338 * Version.cs: CompareTo changed according the LAMESPEC discovered by
2339 Nick (See VersionTest.cs).
2340 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
2341 error comparing the current position (idx) against the length of the
2342 string iterated and it set idx to an unrecognized special value (-2)
2344 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
2346 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
2347 to do this dirty work, but someone has to do it (and I need it to pass
2348 the "200 sample tests compiled on linux" mark).
2350 2002-03-06 Nick Drochak <ndrochak@gol.com>
2353 * DecimalFormatter.cs
2360 * RuntimeMethodHandle.cs
2361 * RuntimeTypeHandle.cs
2364 Add [MonoTODO]'s to places where we currently throw a
2365 NotImplementedException.
2367 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
2369 * Int16.cs (Parse): do not overflow on max negative value
2371 * Int32.cs (Parse): do not overflow on max negative value
2373 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
2375 * Type.cs: fixed IsClass.
2376 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
2377 IsByRefImpl. Added GetInterfaces().
2378 * IServiceProvider.cs: compilation fix.
2380 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
2382 * Array.cs: allow copying an empty array to an empty array.
2384 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
2386 * String.cs: fixed LastIndexOf (string) to do a bit of argument
2389 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
2390 * Version.cs: many fixes to failures found by the newly created
2391 test cases for this class. Specifically, the CompareTo member
2392 returned wrong values due to the use of Int32.MaxValue as a special
2393 value indicating an "undefined" version component. Also implemented the
2394 missing operators (==, <, >, etc.), one missing constructor and
2395 and some exception throwing.
2397 2002-03-04 Nick Drochak <ndrochak@gol.com>
2399 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
2400 * Attribute.cs: Add missing attributes: Serializable and
2401 AttributeUsage(AttributeTargets.All)
2403 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
2405 * MonoType.cs: implemented GetConstructors(), GetFields(),
2406 GetMethods(), GetProperties().
2407 * Object.cs: added debugging icall obj_address().
2408 * Type.cs: fixed the binding flags for some Get* methods.
2409 Implemented FindMembers() as calls to the specific GetMember
2412 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
2413 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
2414 should give an exception for n>=s.Length.
2416 2002-03-01 Martin Baulig <martin@gnome.org>
2418 * Array.cs: More argument checking and bug fixing.
2420 2002-03-01 Miguel de Icaza <miguel@ximian.com>
2422 * BitConverter.cs: Indentation match
2424 * AppDomain.cs: Added MonoTODOs to this too.
2426 * Buffer.cs: Added MonoTODOs to this.
2428 2002-03-01 Martin Baulig <martin@gnome.org>
2430 * Array.cs: Added argument checking to all methods where it was missing.
2432 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
2434 * BitConverter.cs: Fixed bugs in ToString methods
2436 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
2438 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
2440 2002-03-01 Nick Drochak <ndrochak@gol.com>
2442 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
2443 ArgumentOutOfRangeException like the docs say.
2445 2002-03-01 Martin Baulig <martin@gnome.org>
2447 * Enum.cs (CompareTo): Correctly override this method from IComparable.
2449 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
2451 2002-02-28 Martin Baulig <martin@gnome.org>
2453 * String.cs: This file now passes the testsuite on Linux :-)
2455 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
2456 make them private and provide C# wrappers which do proper argument checking.
2458 * String.cs (Format): Correctly handle escaped brackets.
2460 * String.cs (_CompareChar): New internal function which compares two chars.
2461 (_Compare): Provide an internal compare method which can do all sorts of
2462 comparision and call it from all the Compare() methods. Also fixed a lot of
2463 bugs here, this code now actually passes the testsuite.
2465 2002-02-28 Duncan Mak <duncan@ximian.com>
2467 * Convert.cs: Added the missing methods. The new class status page
2468 kicks ass, it even found my typos! Woohoo!
2469 (ConvertFromBase): Moved the Exception throwing in here and
2470 removed the other occurances so it's all centralized now.
2471 (ISDBNull): Implemented.
2472 (GetTypeCode): Implemented.
2474 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
2475 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
2476 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
2477 states that a lacking format should be interpreted as "N".
2478 Also added [Serializable] attribute
2479 * TimeSpan.cs: some formatting and added the [Serializable] attribute
2481 2002-02-26 Duncan Mak <duncan@ximian.com>
2483 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
2485 2002-02-26 Martin Baulig <martin@gnome.org>
2487 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
2488 fields of the interncall GetTimeZoneData.
2490 * DateTime.cs: Implemented Parse and fixed a few bugs.
2492 * String.cs (TrimStart): Small fix.
2494 2002-02-26 Martin Baulig <martin@gnome.org>
2496 * DateTime.cs: ParseExact is now fully functional.
2498 * String.cs (TrimEnd): Small fix.
2500 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
2501 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
2502 missing for about six months.
2504 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
2506 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
2508 2002-02-26 Martin Baulig <martin@gnome.org>
2510 * DateTime.cs: Miguel already committed this, but there was still a
2511 ChangeLog entry for this missing ....
2512 We're now reusing functionality from TimeSpan, printing dates is
2513 fully implemented, currently working on parsing.
2515 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
2518 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
2520 * MonoType.cs: disable constructor.
2521 * Object.cs: make GetType() an internalcall.
2522 * Type.cs: added correct bindingflags to GetMethods ().
2523 All such calls should be reviewed to use the correct flags.
2525 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
2527 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
2530 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
2532 * Type.cs: implemented IsAssignableFrom.
2534 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
2535 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
2536 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
2537 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
2538 The former is documented by Microsoft. The latter is how they
2539 actually implemented it in mscorlib:-)
2541 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
2543 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
2545 * MonoType.cs: Implemented custom attributes methods.
2548 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
2551 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
2553 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
2555 * MonoType.cs: Implemented custom attributes methods.
2557 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
2559 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
2561 2002-02-19 Duncan Mak <duncan@ximian.com>
2563 * Convert.cs: Finished up the missing methods in Convert. Added a
2564 new private method ConvertFromBase.
2566 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
2568 * String.cs: impl. IConvertible interface
2570 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
2571 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
2573 2002-02-18 Duncan Mak <duncan@ximian.com>
2575 * Convert.cs: Changed from using Type.GetType (string) to just
2576 typeof (). Probably will speed things up a bit?
2578 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
2581 1. Fix for GetUpperBound to return correct values
2582 2. made some Properties virtual
2583 3. Adds IsFixedSize and IsReadOnly properties.
2584 4. changes CreateInstance(Type,int[],int[]) to throw Exception
2585 when third arg is null. InternalCall CreateInstance changed to
2587 5. Fixed array.GetUpperBound at a couple of places
2588 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
2589 7. Added two FIXME's in BinarySearch functions.
2591 2002-02-17 Duncan Mak <duncan@ximian.com>
2593 * TimeZone.cs: Applied the rest of Ajay's patch for
2594 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
2597 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
2598 * Guid.cs: added stub for Guid(string) ctor
2600 2002-02-17 Duncan Mak <duncan@ximian.com>
2602 * Convert.cs: Near-complete implementation of Convert.cs
2604 Added all the To* methods taking (object) and
2605 (object, IFormatProvider) as parameters.
2607 Added [CLSCompliant (false)] attributes to methods dealing with
2610 Added the missing section on converting to and from DateTime. Only
2611 6 missing methods, all marked with MonoTODOs. Will tackle them later.
2613 2002-02-16 Duncan Mak <duncan@ximian.com>
2615 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
2616 make IsDaylightSavingTime (DateTime) call
2617 IsDaylightSavingTime (DateTime, DaylightTime).
2619 Added internal class CurrentTimeZone from Ajay. It needs more work
2620 to fill in the appropriate internal calls.
2622 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
2624 * Type.cs: fix IsClass.
2626 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
2628 * String.cs: fix Trim().
2630 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
2632 * String.cs: fix more off by one errors.
2634 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
2636 * MonoType.cs: fix IsValueTypeImpl.
2637 * Type.cs: fix IsEnum. Implement Equals methods.
2639 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
2641 * Int32.cs: implement IConvertible interface.
2643 2002-02-12 Duncan Mak <duncan@ximian.com>
2645 * TimeZone.cs: Implemented and added to CVS.
2647 2002-02-11 Duncan Mak <duncan@ximian.com>
2649 * Convert.cs: Implemented the ChangeType () methods.
2651 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
2653 * Array.cs: make Clone() an internal call.
2655 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
2656 * Changed Guid.NewGuid so that it can use both System.Random and
2657 System.Security.Cryptography.RandomNumberGenerator
2659 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
2660 * First version of Guid.NewGuid
2662 2002-02-08 Duncan Mak <duncan@ximian.com>
2664 * RuntimeArgumentHandle.cs: Added to CVS.
2666 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
2668 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
2669 UnhandledExceptionEventHandler.cs: added delegates.
2671 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
2673 * MarshalByRefObject.cs: add ToString () method
2674 (apparently needed by nunit).
2675 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
2676 by it in the runtime.
2678 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
2680 * String.cs (Format): implemented
2682 2002-02-07 Duncan Mak <duncan@ximian.com>
2684 * DuplicateWaitObjectException:
2685 * InvalidCastException:
2686 * NotImplementedException:
2687 * NotSupportedException:
2688 * NullReferenceException:
2689 * OutOfMemoryException:
2690 * OverflowException:
2692 * StackOverflowException.cs:
2693 * UnauthorizedAccessException: Added missing constructor used for serialization.
2695 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
2697 * String.cs (System.Compare): bug fix
2699 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
2701 * Enum.cs (Parse, GetHashCode): impl.
2703 2002-02-05 Duncan Mak <duncan@ximian.com>
2705 * DBNull.cs: This is my first crack at the DBNull class. I think I
2706 actually got most of the IConvertible methods right, but I haven't
2707 done the research to test whether or not this is the correct
2708 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
2710 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
2712 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
2714 * Enum.cs: added more functionality (GetName, ToObject, Equals)
2716 2002-01-31 Duncan Mak <duncan@ximian.com>
2718 * InvalidOperationException.cs:
2719 * NotFiniteNumberException.cs:
2720 * ObjectDisposedException.cs:
2721 * TypeInitializationException.cs: Added missing bits for serialization/
2723 * AppDomainUnloadedException.cs:
2724 * ApplicationException.cs:
2725 * ArgumentOutOfRangeException.cs:
2726 * ArithmeticException.cs:
2727 * ArrayTypeMismatchException:
2728 * BadImageFormatException.cs:
2730 * MissingMemberException.cs:
2731 * TypeLoadException.cs: Added missing bits for serialization.
2733 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
2734 * Guid.cs: implemented everything but Guid.NewGuid
2736 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
2738 * _AppDomain.cs: remove ToString() method: it doesn't seem right
2739 to have it in this interface and it screws up the method vtable setup.
2741 2002-01-28 Andrei Zmievski <andrei@php.net>
2743 * Double.cs: implemented IConvertible interface.
2745 2002-01-28 Miguel de Icaza <miguel@ximian.com>
2747 * ArgumentException.cs: Implement serialization constructor.
2748 (GetObjectData): Implement serializer.
2750 * ArgumentNullException.cs: Implement serialization constructor.
2752 * Exception.cs: Implement serialization constructor.
2753 (GetObjectData): Implement serializer.
2755 2002-01-23 Miguel de Icaza <miguel@ximian.com>
2757 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
2759 2002-01-23 Duncan Mak <duncan@ximian.com>
2761 * EntryPointNotFoundException.cs:
2762 * FormatException: Added missing constructor and related bits.
2764 * TypeLoadException: Added missing constructor, methods and properties.
2766 2002-01-23 Miguel de Icaza <miguel@ximian.com>
2768 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
2769 manually getting the enumerator.
2771 (AppDomain.AppDomain): Prime the loaded assemblies with the
2772 assemblies loaded by the runtime in our behalf.
2774 * AppDomainSetup.cs: Remove private keyword, that is the default.
2775 Add a new property DisallowPublisherPolicy.
2777 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
2779 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
2781 * MonoType.cs, Type.cs: many updates, corrected implementation,
2784 2002-01-20 Andrei Zmievski <andrei@php.net>
2787 * Char.cs: implemented IConvertible interface.
2789 * Boolean.cs: use our own ToString() method directly.
2791 2002-01-20 Duncan Mak <duncan@ximian.com>
2793 * Files I commited recently: Fixed indentation style.
2795 2002-01-20 Nick Drochak <ndrochak@gol.com>
2797 * SerializableAttribute.cs: this attrib can be used on enums, structs,
2798 and delegates too. Added the appropriate usage flags.
2800 2002-01-18 Duncan Mak <duncan@ximian.com>
2802 * CharEnumerator.cs: Implemented.
2803 * String.cs (System): Fixed the GetEnumerator () method(s).
2805 * ObsoleteAttribute.cs:
2806 * STAThreadAttribute.cs:
2807 * MTAThreadAttribute.cs:
2808 * ThreadStaticAttribute.cs:
2809 * LoaderOptimizationAttribute.cs:
2810 * PlatformNotSupportedException.cs:
2811 * LoaderOptimization.cs: Added to CVS.
2813 2002-01-18 Duncan Mak <duncan@ximian.com>
2815 * AppDomainUnloadedException.cs:
2816 * MethodAccessException.cs:
2817 * ContextMarshalException.cs:
2818 * CannotUnloadAppDomainException.cs:
2819 * DllNotFoundException.cs:
2820 * EntryPointNotFoundException.cs:
2821 * FieldAccessException.cs:
2822 * TypeUnloadedException.cs:
2823 * MissingFieldException.cs: Added to CVS.
2825 * ApplicationException.cs:
2826 * MemberAccessException.cs:
2827 * MissingMemberException.cs
2828 * MissingMethodException.cs:
2829 * SystemException.cs: Added [Serializable] attribute.
2831 * Exception.cs: Added [Serializable] attribute, made properties
2832 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
2835 * ContextStaticAttribute.cs: Added [Serializable] attribute and
2836 put in the missing constructor.
2838 * Environment.cs: Commented out references to
2839 EnvironmentPermissionAttribute, because they're just stubbed out
2840 right now and has no implementation.
2842 2002-01-16 Andrei Zmievski <andrei@php.net>
2844 * Boolean.cs: implemented IConvertible interface
2846 2002-01-15 Nick Drochak <ndrochak@gol.com>
2848 * ResolveEventArgs.cs: class should derive from EventArgs.
2850 2002-01-14 Miguel de Icaza <miguel@ximian.com>
2852 * String.cs (System): Use DefaultMemberName for the String class.
2854 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
2856 * String.cs: use IndexerName in index char accessor.
2858 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
2860 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
2861 * String.c: eliminate 64k+ method calls in search.
2862 * Type.cs: handle byref and array types in ToString ().
2864 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
2866 * Guid.cs: created first version
2868 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
2870 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
2872 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
2874 * MulticastDelegate.cs: add == and != operator stubs.
2875 * String.cs: check for null in == operator.
2876 * Type.cs: use a virtual method to get TypeAttributes.
2878 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
2879 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
2881 2002-01-09 Nick Drochak <ndrochak@gol.com>
2883 * Environment.cs: Comment out Security attribute and put a MonoTODO
2884 there as a reminder. We need mcs magic to handle security attributes in
2887 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
2888 * Created IAppDomainSetup.cs
2890 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
2891 * Created System._AppDomain interface in _AppDomain.cs
2893 2002-01-06 Nick Drochak <ndrochak@gol.com>
2895 * ResolveEventArgs.cs: New File, completely implemented! ;)
2897 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
2899 * Enum.cs: dummy ToString impl.
2900 * String.cs: dummy format implementations to get compiler errors
2902 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
2904 2002-01-05 Ravi Pratap <ravi@ximian.com>
2906 * TODOAttribute.cs : Augment some more; provide two constructors
2907 with support for a comment too.
2909 2002-01-05 Nick Drochak <ndrochak@gol.com>
2911 * Uncommented those MonoTODO's now that Ravi's got
2914 2001-01-04 Ravi Pratap <ravi@ximian.com>
2916 * TODOAttribute.cs : Actually add this time ;-)
2918 Change name to MonoTODO.
2920 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
2922 * String.cs (Trim): Fixed a few logic bugs in the code that
2923 calculated how much to trim off the end of the string.
2925 2001-01-04 Nick Drochak <ndrochak@gol.com>
2927 * Commented out the [TODO] attributes for now. We don't have the
2928 class written. Also changed it to [MonoTODO]
2930 2002-01-04 Ravi Pratap <ravi@ximian.com>
2932 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
2933 our class libraries that are incomplete.
2935 * Array.cs : Apply attribute wherever we find a FIXME which says
2936 we need something to be implemented there.
2940 * MulticastDelegate.cs : Ditto.
2942 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
2943 RuntimeTypeHandle.cs : Ditto.
2945 * String.cs : Ditto.
2949 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
2951 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
2952 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
2954 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
2955 Delegate.cs : Ditto.
2957 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
2958 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
2960 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
2962 * Delegate.cs: add Remove() stub.
2963 * Enum.cs: add ToObject().
2964 * Type.cs: add IsEnum property.
2966 2002-01-03 Kristian Rietveld <kris@gtk.org>
2968 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
2969 DateTime and object.
2971 2001-12-30 Nick Drochak <ndrochak@gol.com>
2973 * Byte.cs (Parse): Add comments to aid in testing.
2975 2001-12-21 Miguel de Icaza <miguel@ximian.com>
2977 * Char.cs (Parse): Implement.
2979 * Byte.cs (Parse): Implement a fast parser.
2981 * SByte.cs (Parse): Implement a fast parser.
2983 * UInt16.cs (Parse): Implement a fast parser.
2985 * Int16.cs (Parse): Implement a fast parser.
2987 * UInt32.cs (Parse): Implement a fast parser.
2989 * Int32.cs (Parse): Implement a fast parser.
2991 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
2993 * Array.cs: fix null ref in sort code.
2994 * UInt64.cs: add bare-bones parse.
2996 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
2998 * Byte.cs: removed use of Regexes.
3000 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
3002 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
3003 IsDefined(), GetUnderlyingType().
3004 * String.cs: fix one instance of Compare().
3005 * Type.cs: implemented GetProperties(), GetProperty().
3007 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
3009 * Array.cs: implement CopyTo ().
3010 * Char.cs: implement ToString ().
3011 * Exception.cs: bugfix.
3012 * Int32.cs: bare-bones Parse ().
3013 * MonoType.cs: query the needed info with an internalcall.
3014 * String.cs: speedups, bugfixes, reduced copies.
3015 * Type.cs: added missing fields. Implemented many of the Is*
3016 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
3017 GetFields(), FindMembers(), ToString().
3019 2001-12-11 Dick Porter <dick@ximian.com>
3021 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
3023 * Console.cs: Use handles rather than casting file descriptors
3025 2001-12-08 Nick Drochak <ndrochak@gol.com>
3027 * Byte.cs (Parse): Start implementation. Parse(string) works, but
3028 now we need to handle other formats
3030 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
3032 * DateTime.cs: added an icall to GetNow()
3034 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
3036 * Double.cs: added the parse method from Bob Smith
3038 2001-11-28 Miguel de Icaza <miguel@ximian.com>
3044 * Int32.cs (Int32.CompareTo): Fix because we can not just
3045 substract the values.
3047 Return possitive value if the object is null.
3049 * Boolean.cs: (Boolean.CompareTo): ditto.
3051 * Int16.cs (Int16.CompareTo): ditto.
3053 * Byte.cs (Byte.CompareTo): ditto.
3055 * SByte.cs (SByte.CompareTo): ditto.
3057 * Char.cs (Char.CompareTo): ditto.
3059 * Decimal.cs (Decimal.CompareTo): ditto.
3061 * Int64.cs (Int64.CompareTo): ditto.
3067 2001-11-28 Nick Drochak <ndrochak@gol.com>
3069 * Byte.cs: Throw NotImplementedException for Parse.
3071 2001-11-27 Derek Holden <dholden@draper.com>
3073 * IntegerFormatter.cs: Formatting of type "Number" was not
3074 using NumberFormatInfo.NumberNegativePattern.
3076 2001-11-26 Dick Porter <dick@ximian.com>
3078 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
3079 the finalise routine any more
3081 2001-11-21 Miguel de Icaza <miguel@ximian.com>
3083 * ApplicationException.cs: internationalize by adding calls to
3084 Locale.GetText (). And throw NotImplementedExceptions on calls
3085 that we have to implement.
3087 * Version.cs: Ditto.
3089 * ValueType.cs: ditto.
3091 * UnauthorizedAccessException.cs: ditto.
3099 * TypeLoadException.cs: ditto
3101 * TypeInitializationException.cs: ditto.
3105 * TimeSpan.cs: ditto.
3107 * SystemException.cs: ditto.
3111 * StackOverflowException.cs: ditto.x
3117 * RuntimeTypeHandle.cs: ditto.
3119 * RuntimeMethodHandle.cs: ditto.
3121 * RuntimeFieldHandle.cs: ditto.
3125 * OutOfMemoryException.cs: ditto.
3127 * OperatingSystem.cs: ditto.
3129 * ObjectDisposedException.cs: ditto.
3131 * NullReferenceException.cs: ditto.
3133 * NotImplementedException.cs: ditto.
3135 * NotFiniteNumberException.cs: ditto.o
3137 * MulticastNotSupportedException.cs: ditto.
3139 * MissingMethodException.cs: ditto.
3141 * MemberAccessException.cs: ditto.
3145 * InvalidCastException.cs: ditto.
3147 * IntegerFormatter.cs: ditto.
3153 * IndexOutOfRangeException.cs: ditto.
3155 * Environment.cs: ditto
3159 * DuplicateWaitObjectException.cs: ditto.
3161 * DivideByZeroException.cs: ditto.
3163 * Delegate.cs: ditto
3165 * DecimalFormatter.cs: ditto.
3167 * Decimal.cs: ditto.
3169 * DateTime.cs: ditto.
3171 * Convert.cs: ditto.
3177 * Boolean.cs: ditto.
3179 * ArrayTypeMismatchException.cs: ditto.
3181 * ArithmeticException.cs: ditto.
3183 * ArgumentOutOfRangeException.cs: ditto.
3185 * ArgumentNullException.cs: ditto.
3187 * Enum.cs: Make it derive from ValueType, add CompareTo method.
3189 * Attribute.cs: Reformat.
3191 2001-11-14 Miguel de Icaza <miguel@ximian.com>
3193 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
3194 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
3195 exception if the value is null too.
3197 * Char.cs (CompareTo): ditto.
3199 * ApplicationException.cs: Added constructor that does serialization.
3201 * ParamArrayAttribute.cs: Define attribute correctly.
3203 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
3205 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
3206 * Array.cs: fix Array.Copy.
3207 * AssemblyLoadEventArgs.cs: rename field.
3208 * CLSCompliantAttribute.cs: use correct name for the class.
3209 * Char.cs: fix IsLetter.
3210 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
3211 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
3212 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
3213 * Delegate.cs: renamed target field to m_target.
3214 * Enum.cs: added missing methods.
3215 * MonoType.cs: add a constructor and some needed properties.
3216 * Object.cs: implement GetType().
3217 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
3219 * Type.cs: add missing methods/properties.
3221 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
3223 * AttributeUseage.cs: Should define AttributeUsageAttribute.
3225 * CLSCompliant.cs: Marked with AttributeUsage attribute.
3227 * Decimal.cs: Fixed CLSCompliant attributes.
3229 * Type.cs: changed _impl to internal (needs to be accessable by
3232 (TypeHandle): Marked as abstract, implementation removed.
3234 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
3235 GetMethod): Added stub implementations so NUnit would link against
3238 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
3240 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
3242 2001-11-05 Miguel de Icaza <miguel@ximian.com>
3244 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
3247 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
3249 * String.cs: fix a couple of bugs.
3250 * AppDomain.cs: use new AppBuilder constructor.
3251 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
3252 NotImplementedException.cs, ObjectDisposedException.cs,
3253 UnauthorizedAccessException.cs: add implementation.
3254 * OverflowException.cs: fix class name.
3256 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
3258 * String.cs: Don't use a terminating nil char for our internal
3261 2001-10-27 Miguel de Icaza <miguel@ximian.com>
3263 * Delegate.cs (Delegate.CombineImpl): Implement.
3264 (Delegate.Combine): Implement.
3266 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
3268 (MulticastDelegate.CombineImpl): This was not as trivial as I
3271 * ContextStaticAttribute.cs: Added AttributeUsage to
3272 ContextStaticAttribute.
3274 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
3276 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
3278 * added Decimal.cs * added DecimalFormatter.cs (internal class
3279 used from System.Decimal)
3281 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
3283 * Convert.cs: Added methods for Base64 transforming just used the
3284 existing System.Security.Cryptography.ToBase64Transform, should
3285 be changed to use a stand-alone class, e.g. Base64Encoder
3287 2001-10-10 Derek Holden <dholden@draper.com>
3289 * IntegerFormatter.cs: Added. Implements ToString for all the
3290 integer data types for all the format types.
3292 * Byte.cs: Using IntegerFormatter for ToString's.
3294 * SByte.cs: Using IntegerFormatter for ToString's.
3296 * Int16.cs: Using IntegerFormatter for ToString's.
3298 * Int32.cs: Using IntegerFormatter for ToString's.
3300 * Int64.cs: Using IntegerFormatter for ToString's.
3302 * UInt16.cs: Using IntegerFormatter for ToString's.
3304 * UInt32.cs: Using IntegerFormatter for ToString's.
3306 * UInt64.cs: Using IntegerFormatter for ToString's.
3308 2001-10-07 Miguel de Icaza <miguel@ximian.com>
3310 * Exception.cs: Implement bits of serialization.
3312 * RuntimeFieldHandle.cs: Implement Serialization features.
3314 * Type.cs: Implement TypeHandle property.
3316 2001-09-28 Dick Porter <dick@ximian.com>
3318 * LocalDataStoreSlot.cs: Implemented
3320 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
3322 * String.cs: fix off-by-one error in Trim().
3324 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
3326 * Type.cs: added GetType () method.
3328 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
3330 * MissingMethodException.cs, MissingMemberException.cs,
3331 MemberAccessException.cs: added.
3333 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
3335 * String.cs: don't access the string array out of bounds in
3336 LastIndexOf. * Type.cs: fix return type of the Assembly property.
3338 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
3340 * String.cs: make Intern and IsIntern internalcalls.
3342 2001-09-13 Dick Porter <dick@ximian.com>
3344 * Type.cs: Added a stub for the IsValueType property.
3346 * SystemException.cs (System): Added the other constructor, so
3347 that System.Threading exceptions can inherit it.
3349 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
3351 * String.cs (TrimStart): Don't keep looping through the trimchars
3352 once we've found a match.
3353 (TrimEnd): Same here.
3354 (Trim): And finally here.
3356 2001-09-07 Ravi Pratap <ravi@ximian.com>
3358 * Char.cs (IsLetterOrDigit): Implement.
3359 (IsLower): Implement, but we need to be Unicode aware.
3360 (IsNumber): Implement.
3361 (IsPunctuation): Implement.
3362 (IsWhiteSpace): Implement.
3363 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
3364 (ToLower): Same here.
3366 2001-09-04 Miguel de Icaza <miguel@ximian.com>
3368 * Object.cs: Shortcut, if (a == b) then return true.
3370 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
3372 * Delegate.cs: we need a pointer to the method thunk in
3373 the delegate object.
3375 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
3377 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
3379 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
3381 * String.cs (System): Don't mix uint and int.
3383 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
3385 * String.cs (BoyerMoore): Modified to not use pointers and to instead
3387 (IndexOf): Use BoyerMoore.
3389 2001-09-02 Miguel de Icaza <miguel@ximian.com>
3391 * All over: Use the autogenerated enumerations from the ECMA
3392 documentation that Sergey wrote.
3394 * PlatformID.cs: Add Unix definition.
3396 * OperatingSystem.cs: Use Unix instead of Linux here.
3398 * MarshalByRefObject.cs: Mark class as [Serializable].
3400 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
3402 * Console.cs: impl. (write only)
3403 implemented the stdin stuff
3405 * Int32.cs: impl. real op_Equal
3407 2001-08-24 Miguel de Icaza <miguel@ximian.com>
3409 * (common.src): Removed IAsyncResult as it is not on CVS yet.
3411 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
3412 as it breaks the build.
3414 2001-08-23 Michael Lambert <michaellambert@email.com>
3416 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
3417 added CLSCompliant attribute
3419 * IAsyncResult.cs: Added
3421 * common.src: Added IAsyncResult.cs
3423 2001-08-23 Michael Lambert <michaellambert@email.com>
3427 * common.src: Added UIntPtr.cs
3429 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
3431 * Attribute.cs: uncomment some code to make it compile again
3433 * mono.src: removed duplicated Attribute.cs
3435 2001-08-16 Nick Drochak <ndrochak@gol.com>
3437 * Attribute.cs: implemented all methods except GetHashCode()
3439 * common.src: added Attribute.cs so it would compile in
3441 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
3443 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
3444 marked it as InternalCall
3446 * common.src: removed UriFormatException.cs because the file is
3449 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
3450 * Char.cs: replaced byte with char
3452 * Array.cs: make it work with the mono interpreter
3454 2001-08-06 Miguel de Icaza <miguel@ximian.com>
3456 * Version.cs: Make the class sealed
3458 2001-08-08 Bob Smith <bob@thestuff.net>
3460 * Random.cs: Many compile fixes.
3461 * Random.cs: I read a bad spec. Class updated to match real spec.
3463 2001-08-06 Miguel de Icaza <miguel@ximian.com>
3465 * IntPtr.cs: Added and Completed implementation.
3467 * Uri.cs: Add a note.
3469 2001-08-06 Bob Smith <bob@thestuff.net>
3471 * Random.cs: Compile fix. Needs more testing.
3473 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
3475 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
3476 into account IPv6 addresses, url encoding needs to be implemented, and
3477 various minor methods need to be written, but this is a decent start.
3479 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
3481 * common.src: added Object.cs
3483 * mono.src: added ValueType.cs
3485 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
3487 * Math.cs: replaced libc with libm
3489 2001-08-02 Bob Smith <bob@thestuff.net>
3491 * Random.cs: Implemented. Needs testing.
3493 2001-08-02 Miguel de Icaza <miguel@ximian.com>
3495 * IServiceProvider.cs, EventHandler.cs: New files.
3497 2001-08-02 Marcel Narings <marcel@narings.nl>
3499 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
3500 Added exceptions. Added IConvertible. Still needs some platform
3501 dependend stuff, the Parse and ToString members
3503 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
3505 * Type.cs (GetTypeFromHandle): added placeholder
3507 2001-07-24 Derek Holden <dholden@draper.com>
3509 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
3510 which is really an IConvertible defined method.
3512 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
3513 behavior, still need to do the main Parse and ToString.
3515 * Char.cs: Added a bunch of missing ECMA methods. Commented a
3516 specification discrepency. Still didn't any unicode stuff, though
3517 every IsFoo(char c) method has an IsFoo(string, index)
3518 counterpart, added wrappers for those.
3520 * Convert.cs: Fixed NaN/Inf checking and double/float
3521 rounding. Added ToType for IConvertible classes
3523 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
3524 IsNaN methods. Changed Inf/NaN internals.
3526 * IConvertible.cs: Added comments for using
3527 Convert.ToType. Changed return values to draft base values.
3529 * Int16.cs: Added a missing Parse statement. Put in behavior for
3530 overloaded ToString and Parse methods.
3532 * Int32.cs: Added a missing Parse statement. Put in behavior for
3533 overloaded ToString and Parse methods.
3535 * Int64.cs: Added a missing Parse statement. Put in behavior for
3536 overloaded ToString and Parse methods.
3538 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
3539 methods. Changed Inf/NaN internals.
3541 * SByte.cs: Added a missing Parse method. Put in Parse and
3542 ToString behavior, still need to do the main Parse and ToString.
3544 * UInt16.cs: Added a missing Parse statement. Put in behavior for
3545 overloaded ToString and Parse methods.
3547 * UInt32.cs: Added a missing Parse statement. Put in behavior for
3548 overloaded ToString and Parse methods.
3550 * UInt64.cs: Added a missing Parse statement. Put in behavior for
3551 overloaded ToString and Parse methods.
3553 2001-07-20 Miguel de Icaza <miguel@ximian.com>
3555 * MulticastDelegate.cs: New File.
3557 * Delegate.cs: New file.
3559 * Enum.cs: New file.
3561 * Attribute.cs: New file.
3563 * Type.cs: New file.
3565 * ParamArrayAttribute.cs: New file.
3567 * RuntimeTypeHandle.cs: New file.
3569 * MulticastDelegate.cs: Added.
3571 * DateTime.cs: Added
3573 * Delegate.cs: Added
3575 2001-07-18 Michael Lambert <michaellambert@email.com>
3577 * AttributeTargets.cs: Add.
3579 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
3581 * Char.cs: Made ToUpper and ToLower public methods.
3583 * String.cs: Lots and lots of compile fixes - just need to write
3584 DateTime.cs and this should build completely now.
3586 2001-07-19 Bob Smith (bob@thestuff.net)
3588 * Math.cs: Implemented.
3590 2001-07-19 Miguel de Icaza <miguel@ximian.com>
3592 * String.cs: Removed tolower and toupper.
3594 * Char.cs: Moved ToLower and ToUpper from string to here.
3596 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
3597 instead of comparing the value to Nan.
3599 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
3601 * TimeSpan.cs: New implementation.
3603 2001-07-18 Scott Sanders <scott@stonecobra.com>
3605 * UriFormatExcpetion.cs: Add - 85% complete
3607 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
3609 * String.cs (IndexOf): Slight optimization that allows skipping
3610 over a few chars here and there. This isn't as good as using my
3611 Boyer-Moore implementation, however, Boyer-Moore is only really
3612 good for long strings (I plan on making the code decide which
3613 string search algorithm it should use on-the-fly at some point).
3614 (LastIndexOf): Fix to work correctly.
3615 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
3617 2001-07-16 Michael Lambert <michaellambert@email.com>
3619 * EventArgs.cs: Add.
3621 2001-07-16 Miguel de Icaza <miguel@ximian.com>
3623 * Version.cs: Remove my buggy comment.
3625 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
3627 * String.cs: Spelling error of IComparable, object's
3628 MemberwiseClone cannot be overridden. Made indexer valid for now,
3629 but not sure what to do about this in the long run. Seems to be a
3630 couple bugs in csc.exe having to do with multiple pointer defs in
3631 the same statement, and returning subclasses of a class in the
3632 return type of an interface function implementation. Also moved
3633 operators inside of class definition.
3635 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
3637 * String.cs: A tom of compile fixes, although we still don't compile.
3639 * IConvertible.cs: The To*Int64() methods return *Int64's, not
3640 *Int32's. Also, it's ToDateTime() not ToDateType().
3642 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
3644 * String.cs: Apparently I needed to at least write stubs for the
3645 IConvertible interfaces. *sigh*
3647 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
3649 * String.cs: Many logic/other fixes and better usage of the
3651 (tolower): New convenience method to help condense code.
3652 (toupper): Another new helper method.
3653 (Compare): Use the new helper methods.
3654 (ToLower): use tolower().
3655 (ToUpper): use toupper().
3656 (LastIndexOfAny): Implemented.
3657 (BoyerMoore): New private helper method that implements a modified
3658 version of the Boyer-Moore search algorithm. Noothing uses it yet
3659 as I'm not 100% sure it even works properly with unicode strings
3660 not to mention it uses a huge lookup-table :-)
3661 (Split): Implemented.
3663 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
3665 * TODO: Added things that need to be finished in System.String
3667 * String.cs: New source file implementing the System.String class
3669 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
3671 * TypeCode.cs: UInt64 was UInt63.
3673 * Object.cs: Fixed a numer of compiler errors.
3675 * Array.cs: Fixed some compiler errors.
3677 * IComparable.cs: Fixed some compiler errors.
3679 * ICloneable.cs: Fixed some compiler errors.
3681 * IConvertible.cs: Fixed some compiler errors.
3683 * IFormattable.cs: Fixed a compiler error.
3685 * IFormatProvider.cs: Fixed a compiler error.
3687 * IDisposable.cs: Fixed a compiler error.
3689 * IFormatProvider.cs: Added public accesability type to
3692 * Exception.cs: Added a using statement to remove compile time
3695 * ApplicationException.cs: Removed a ; that was causing a compiler
3698 * Int16.cs: Fixed some compiler errors.
3700 * Int32.cs: Fixed some compiler errors.
3702 * Int64.cs: Fixed some compiler errors.
3704 * SystemException.cs: Fixed a compiler error.
3706 * UInt16.cs: Fixed some compiler errors.
3708 * UInt32.cs: Fixed some compiler errors.
3710 * UInt64.cs: Fixed some compiler errors.
3712 * Void.cs: Fixed a compiler error.
3714 2001-07-12 Joe Shaw <joe@ximian.com>
3716 * Array.cs: Fix backwards parameters to Array.SetValue()
3718 (BinarySearch): Fix backward logic surrounding whether to call
3719 value.CompareTo or comparer.Compare.
3720 (LastIndexOf): Stop being stupid. I am so not used to strongly
3722 (Sort): Implement a quicksort.
3724 2001-07-11 Joe Shaw <joe@ximian.com>
3726 * Array.cs: Change all instances of trying to access an array with
3727 the index operator to calls to GetValue and SetValue, and add
3728 InternalGetValue and InternalSetValue which are internal calls
3729 into the runtime. Ew.
3731 2001-07-10 Joe Shaw <joe@ximian.com>
3733 * Array.cs: Implemented everything but Sort().
3735 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
3737 * Object.cs (Object::Equals): Object variable name is `o'.
3739 2001-07-06 Joe Shaw <joe@ximian.com>
3741 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
3742 Implement the IComparable and IFormattable interfaces. Fix a typo
3745 * ApplicationException.cs, ArgumentException.cs,
3746 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
3747 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
3748 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
3749 ExecutionEngineException.cs, FormatException.cs,
3750 IndexOutOfRangeException.cs, InvalidCastException.cs,
3751 InvalidOperationException.cs, InvalidProgramException.cs,
3752 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
3753 NotSupportedException.cs, NullReferenceException.cs,
3754 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
3755 StackOverflowException.cs, SystemException.cs,
3756 TypeInitializationException.cs: Added all of the exceptions
3757 specified by the language spec. Mmmm... bloat.
3759 2001-07-06 Miguel de Icaza <miguel@ximian.com>
3761 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
3762 do a generic routine all of these guys use.
3764 * Int16.cs: identified missing methods.
3766 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
3768 2001-06-26 Miguel de Icaza <miguel@ximian.com>
3770 * TypeCode.cs: Implement
3772 * Void.cs: Implement.
3774 * TODO: Add file to keep track of pending tasks.
3776 * Object.cs, ValueType.cs: Implement.