2 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4 * DecimalFormatter.cs: fixed bug #35560.
6 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
8 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
10 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
12 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
15 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
17 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
18 returns a non-null assembly.
20 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
22 * MulticastDelegate.cs: make GetInvocationList work for more than 1
25 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
27 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
28 if this is the correct order of invocation.
30 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
32 * Type.cs: changed the signature of internal_from_name. Modified
33 the overloads of GetType to use it and check the typeName argument.
34 Implemented FindInterfaces.
36 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
38 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
39 some obscure reasons (try make -f makefile.gnu using a corlib which has
40 the modified version).
42 2002-11-26 Miguel de Icaza <miguel@ximian.com>
44 * String.cs (Concat): Reduce the number of compares required.
46 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
48 * Activator.cs: throw a MissingMethodException if the default
49 constructor is not found in CreateInstance.
51 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
54 (Equals (str, str)): use 'as' instead of casting to object.
55 (Equals (obj)): check the length of the strings (until now,
56 "Hello".Equals ((object) "Hellow World!) was true!).
58 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
60 * MonoType.cs: implemented GetEvent (name, flags).
62 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
64 * AppDomain.cs: implemented a couple of methods called from the runtime
65 to fire AssemblyLoad and AssemblyResolve events.
67 2002-10-31 Dick Porter <dick@ximian.com>
69 * Environment.cs: MonoIO methods now have an error parameter
71 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
73 * Enum.cs: Added support for whitespaces in Enum:Parse().
75 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
77 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
78 internal call. Closes bug #32992.
80 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
82 * Exception.cs: display the inner exception, if any, in ToString ().
84 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
86 * Environment.cs: fixed StackTrace property.
88 2002-10-16 Nick Drochak <ndrochak@gol.com>
90 * Enum.cs (Parse): Then fix the code so that it works too.
92 2002-10-15 Nick Drochak <ndrochak@gol.com>
94 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
96 2002-10-12 Nick Drochak <ndrochak@gol.com>
98 * IntegerFormatter.cs: Fix compiler warnings.
100 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
102 * Type.cs (GetConstructors): Use the correct flags.
104 2002-10-09 Nick Drochak <ndrochak@gol.com>
106 * IntegerFormatter.cs: Suppress insignificant leading zeros
108 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
110 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
111 <stonewell@21cn.com> to return also derived types.
113 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
115 * Activator.cs: little fix in CreateInstance (Type, bool).
117 2002-09-19 Duncan Mak <duncan@ximian.com>
119 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
120 I18N/Common from building right now.
122 2002-09-19 Nick Drochak <ndrochak@gol.com>
124 * Array.cs (CopyTo): Account for Object type and base (primitive) types
125 * Type.cs (IsAssignableFrom): return false for a null parameter
127 2002-09-19 Nick Drochak <ndrochak@gol.com>
129 * Array.cs (CopyTo): Check that source type can be cast automatically
130 to the destination type.
132 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
134 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
137 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
139 * Char.cs: implemented ToString (char)
140 * IntegerFormatter.cs: made it internal.
142 2002-09-13 Nick Drochak <ndrochak@gol.com>
144 * Enum.cs (Format): handle the "d" format for both signed and unsigned
147 2002-09-12 Dick Porter <dick@ximian.com>
149 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
150 attribute, as there doesn't appear to be any struct
151 layout-depending code here (and corcompare says it should be
152 LayoutKind.Sequential)
154 * Decimal.cs: Stub out missing methods, add
155 [DecimalConstantAttribute] to the constant fields (as shown by
158 * LocalDataStoreSlot.cs:
161 * Array.cs: Stub out missing methods.
164 * ArgIterator.cs: Stub out
167 * AppDomain.cs: Stub out missing methods, add missing
168 ClassInterface(ClassInterfaceType.None) attribute.
170 2002-09-12 Nick Drochak <ndrochak@gol.com>
172 * Double.cs (ToString): Throw exception when "X" format is passed in.
174 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
176 * MonoType.cs: implemented Module property.
178 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
180 * MonoType.cs, Type.cs: implemented InvokeMember.
182 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
184 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
185 type. Check the method signature matches.
187 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
189 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
191 2002-09-06 Miguel de Icaza <miguel@ximian.com>
193 * Console.cs: Specify an encoder, otherwise we will get the UTF8
194 encoder that by default emits the byte markers.
196 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
198 * Delegate.cs: look also for non-public methods until we have the
199 security checks in place.
201 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
203 * MonoType.cs: consider also the full name in GetInterface.
205 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
207 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
208 GetMethodImpl using the binder.
209 * Type.cs: GetConstructorImpl/GetConstructor fixes.
211 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
212 * Enum.cs: Get rid of warning CS0162.
214 2002-09-04 Miguel de Icaza <miguel@ximian.com>
216 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
217 actual value instead of public.
219 * LocalDataStoreSlot.cs: Make constructor internal.
221 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
222 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
225 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
226 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
229 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
231 * DateTime.cs: fixed buglet.
233 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
235 * MonoType.cs: speedup access to common data.
237 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
239 * Double.cs: implemented TryParse.
241 * Math.cs: PowImpl is now private.
243 * MissingFieldException.cs: implemented Message.
245 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
247 * _AppDomain.cs: Uncommented ToString.
249 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
252 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
254 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
256 * ArgumentException.cs: use the field instead of the property for
259 * ArgumentOutOfRangeException.cs: modified Message.
262 (_DoParse): throw out of range exception for year. Removed check
263 for month (it's done in the constructor).
265 2002-08-21 Miguel de Icaza <miguel@ximian.com>
267 * Environment.cs: Implemented OSVersion property.
269 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
271 * Exception.cs: set stack_trace to null
273 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
275 * AppDomain.cs: implemented ToString().
277 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
279 * AppDomain.cs: securityInfo can be null in CreateDomain.
281 2002-08-19 Dick Porter <dick@ximian.com>
283 * MonoType.cs: Add a space before the Assembly name in
284 AssemblyQualifiedName (needed for resource files so the MS runtime
287 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
289 * AppDomain.cs: parameter name when throwing ArgumentNullException.
291 * ArgumentException.cs: modified Message to do what MS does.
293 * ArgumentNullException.cs: don't use {0} in message.
295 * Exception.cs: use Message property in ToString ().
297 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
299 * WeakReference.cs: Changed the constructor and GetObjectData
300 method needed for ISerializable implementation in order to be
301 compatible with SOAP generated by MS.
303 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
305 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
307 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
309 * Exception.cs (ToString): changed the ouput format.
311 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
313 * MonoType.cs: moved get_method icall to this class, we can
314 remove it as soon someone provides a full featured GetMethodImpl.
316 * Type.cs: use GetMethodImpl everywhere.
318 * Delegate.cs: new CreateDelegate implementations.
320 2002-08-06 Tim Coleman <tim@timcoleman.com>
322 Fix bug #28582. Now checks parameters for properties
325 2002-08-04 Nick Drochak <ndrochak@gol.com>
327 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
329 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332 (FormatSpecifier): allow white space between the comman and the width
335 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
340 * UInt64.cs: fixed bug #28050. May be a MS bug?
342 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
344 * MonoType.cs: fix IsArrayImpl.
346 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
348 * String.cs: make ToLower (culture) and ToUpper (culture) use the
349 default ToLower and ToUpper and don't throw NotImplemented.
351 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
353 * Type.cs: make GettTypeCode an icall. Test implementation of
356 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
358 * AppDomainSetup.cs: implemented LoaderOptimization.
360 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
362 * Activator.cs: some more intermediate results checking in
363 in CreateInstance and CreateInstanceFrom and use GetConstructor and
364 Invoke only with Type [] until the other overloaded versions work.
366 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
368 * Activator.cs: reformatted. Implemented CreateInstance* methods
369 that return ObjectHandle.
371 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
373 2002-07-03 Nick Drochak <ndrochak@gol.com>
375 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
376 the divisor is not) and avoid the icall, which seems to have a bug.
378 2002-07-03 Nick Drochak <ndrochak@gol.com>
380 * Double.cs (CompareTo): Correctly handle the case where the instance
381 is NaN. Also return 0 if the values are equal.
383 2002/07/03 Nick Drochak <ndrochak@gol.com>
385 * MissingMethodException: Add missing Message property
386 * MissingMemberException: Add missing Message property
388 2002-06-30 Nick Drochak <ndrochak@gol.com>
390 * Double.cs (CompareTo): Just see which is bigger. Don't use the
391 subtraction trick, it doesn't work when the values have a diference of
394 * Single.cs (CompareTo): same
396 2002-06-27 Martin Baulig <martin@gnome.org>
398 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
399 constructor argument. [FIXME: The implicit conversion to an
400 unsigned integer doesn't work with mcs.]
402 2002-06-26 Martin Baulig <martin@gnome.org>
404 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
405 not `S = System'. This file now compiles with mcs.
407 * String.cs: Removed the already ifdef-outed __arglist Concat function
408 to make it compile with mcs.
410 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
412 * IntegerFormatter.cs:
413 (FormatParse.FormatNumber): fixed custom format for negative numbers.
415 2002-06-21 Martin Baulig <martin@gnome.org>
417 * Double.cs: Replace the private `enum State' with constants since this
418 will avoid some bigger headaches in mcs.
420 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
422 * TimeSpan.cs: do not pollute the namespace with the
425 2002-06-18 Nick Drochak <ndrochak@gol.com>
427 * ArgumentException.cs: Use the message given in the constructor when
428 accessing the Message property. Thanks to Dietmar for the help with
431 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
433 * MonoType.cs: GetField is now a InternalCall
435 2002-06-13 Nick Drochak <ndrochak@gol.com>
437 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
438 sortable format(s), e.g. "2002-02-25"
440 2002/06/12 Nick Drochak <ndrochak@gol.com>
442 * Random.cs (Next): Fix math error. Return a number within the range.
444 2002-06-12 Nick Drochak <ndrochak@gol.com>
446 * String.cs (IndexOf): Return -1 if start index is equal to string
449 2002-06-10 Duncan Mak <duncan@ximian.com>
451 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
452 (ToType): Added null field in conversionTable to avoid
453 IndexOutOfRangeException. Changed what exceptions we throw to match
456 2002-06-11 Nick Drochak <ndrochak@gol.com>
458 * Int64.cs (Parse): Added unique strings to the messages where we throw
459 a FormatException. Needed these to debug, so just left them in since
460 they might be useful later. Fixed Currency parsing where we weren't
461 looking at CurrencyDecimalSeparator, etc.
463 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
\r
465 * DateTime.cs: fixes to pass tests M0 to M6:
\r
466 if yy pattern then year values >= 30 are in 20th century
\r
467 rfc1123 pattern is always in GMT, therefor useutc must be false
\r
468 made GetNow() internal static so it can be called from TimeZone.
\r
469 * TimeZone.cs: removed dependency on year 2002 from initialization of
\r
472 2002-06-09 Duncan Mak <duncan@ximian.com>
474 * Convert.cs (ToType): Rearranged what Exceptions we throw to
477 2002-06-08 Duncan Mak <duncan@ximian.com>
479 * Decimal.cs: Added support for the IConvertible interface.
481 2002-06-08 Martin Baulig <martin@gnome.org>
483 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
484 doesn't necessarily need to be of the enum's underlying type.
486 2002/06/07 Nick Drochak <ndrochak@gol.com>
488 * String.cs: Add [Serializable] to class
489 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
491 2002-06-04 Nick Drochak <ndrochak@gol.com>
493 * Double.cs (Parse): Recognize the group separator string, but still we
494 don't check the format for the proper number of digits between
495 separators. Also throw OverflowException when we get Pos or Neg
496 Infinity from runtime.
498 2002-06-03 Duncan Mak <duncan@ximian.com>
500 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
502 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
504 * Type.cs: fixed GetTypeCode.
506 2002-06-02 Duncan Mak <duncan@ximian.com>
508 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
509 cast from an int so that we throw OverFlowException correctly.
511 (ToInt64): Use a new 64bit version of ConvertToBase.
513 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
516 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
518 2002-06-02 Nick Drochak <ndrochak@gol.com>
520 * Convert.cs (ToSByte): Check for special value.
523 * UInt32.cs (Parse): Throw OverflowException if negative
525 2002-06-02 Duncan Mak <duncan@ximian.com>
527 * Convert.cs (DBNull): Point it to DBNull.Value.
528 (IsDBNull): Instead of checking typecodes, just check to see if
529 it's the same as the DBNull field.
531 2002-06-02 Nick Drochak <ndrochak@gol.com>
533 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
535 2002-06-02 Duncan Mak <duncan@ximian.com>
537 * Char.cs (Parse): Simplify the Exception handling.
539 * Convert.cs (ToDecimal): Remove call to Math.Round () when
540 converting from a float.
542 2002-05-30 Martin Baulig <martin@gnome.org>
544 * MonoType.cs (GetInterface): Implemented.
546 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
548 * Activator.cs: implemented CreateInstance ().
550 2002-05-22 Duncan Mak <duncan@ximian.com>
552 * Convert.cs (ConvertToBase): Added new 64bit version.
553 (BuildConvertedString64): New 64bit version of
554 BuildConvertedString.
556 This fixes bug 25068.
558 (ConvertFromBase): Added additional test for checking if the
559 digits are valid. Thanks to Miguel for coming up with this test.
561 This fixes bug 25071.
563 2002-05-21 Duncan Mak <duncan@ximian.com>
565 * Convert.cs (ToType): Rearranged to fit the new layout of
568 (conversionTable): Rearranged to fit the layout of the
569 System.TypeCode enum.
571 This should fix bug 25075.
573 2002-05-21 Duncan Mak <duncan@ximian.com>
575 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
576 mixed up the two code paths, one for converting to a specific base
577 (this case), another from converting from a foreign base to base10
578 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
580 * Convert.cs (ToByte)
581 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
582 that we won't confuse FormatException with OverflowException.
584 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
586 * Environment.cs: CommandLine missed spaces between arguments.
587 Implemented StackTrace. Returning MachineName in UserDomainName
\r
590 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
592 * MonoCustomAttrs.cs: handle inherit argument.
594 2002-05-21 Nick Drochak <ndrochak@gol.com>
596 * Math.cs (Pow): Change icall method name and insert parameter
597 checks in for infinities and NaN.
599 2002-05-13 Miguel de Icaza <miguel@ximian.com>
601 * Double.cs (Parse): Reimplement by cleaning up the string first,
602 and then passing to strtof in the mono runtime.
604 * Single.cs (Parse): Use the Double implementation and cast to
607 2002-05-21 Nick Drochak <ndrochak@gol.com>
610 (Ceiling): Check for "special" values
611 (Floor): Check for "special" values
612 (Round): Fix off-by-one error on decimal shifting
614 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
\r
616 * DateTime.cs: ToString () using "G" format specifier
\r
618 2002-05-19 Martin Baulig <martin@gnome.org>
620 * Convert.cs (FromBase64CharArray): Do correct exception handling.
622 2002-05-19 Martin Baulig <martin@gnome.org>
624 * Convert.cs (FromBase64CharArray): Convert the char array using
625 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
628 2002-05-17 Miguel de Icaza <miguel@ximian.com>
630 * MonoType.cs: Style changes.
632 * Type.cs: Style changes.
634 2002-05-16 Piers Haken <piersh@friksit.com
636 * UInt64.cs: fix declaration of IConvertible.To* overrides.
638 2002-05-16 Nick Drochak <ndrochak@gol.com>
640 * BitConverter.cs (ToString): Add parameter check for invalid start
643 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
644 now that StreamWriter uses buffering
646 2002-05-14 Miguel de Icaza <miguel@ximian.com>
648 * Double.cs: Oops. Also handle exponents without finding a dot.
650 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
652 * ChangeLog: removed empty entry at the top of the file.
654 * Int32.cs: made static functions used by Parse internal.
658 * UInt64.cs: removed static fucntions used by Parse and use the ones
661 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
663 * IServiceProvider.cs: added using System
665 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
667 * Single.cs: copied ToString() and Parse() methods from
668 Double to Single and modified a tiny bit for Single.
669 There is still a FIXME for Double and Single about
670 passing the format and provider info to the icall too.
\r
672 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
677 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
678 Don't use a delegate to test for valid digits.
680 2002-05-01 Duncan Mak <duncan@ximian.com>
683 * Math.cs: Added missing CLSCompliant attributes where necessary.
685 2002-04-30 Duncan Mak <duncan@ximian.com>
687 * ArgumentException.cs (Message):
688 * ArgumentOutOfRangeException.cs (Message): Added.
690 2002-04-30 Nick Drochak <ndrochak@gol.com>
692 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
694 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
696 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
698 2002-04-28 Duncan Mak <duncan@ximian.com>
700 * DivideByZeroException.cs: Added missing serialization constructor.
702 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
704 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
706 * Math.cs: fix Floor () and Round (). Closes #23960.
708 2002-04-27 Nick Drochak <ndrochak@gol.com>
710 * Array.cs (IList.Contains): Should throw a RankException if this is
711 called on a Rank > 1 array. Not in the docs, but this is what the
714 2002-04-26 Duncan Mak <duncan@ximian.com>
716 * MissingMemberException.cs: Made the message variable 'protected'
717 instead of 'private', so that we can see it in
718 MissingMethodException and MissingFieldException.
720 * MissingFieldException.cs:
721 * MissingMethodException.cs: Added missing (string, string)
722 constructor, and also the Message property.
724 2002-04-26 Martin Baulig <martin@gnome.org>
726 * Enum.cs: Implemented the IConvertible methods.
728 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
730 * SByte.cs: little change in Parse (string) to avoid incorrect
731 OverflowException thrown (reported by nickd).
733 2002-04-22 Miguel de Icaza <miguel@ximian.com>
735 * ValueType.cs: Add Serializable attribute.
737 * String.cs: ifdef-out out the __arglist Concat function until I
738 add support for that to mcs.
740 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
742 * AppDomain.cs (GetValue): usage of the correct icall (bug)
744 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
746 * GC.cs: implement most of the methods as icalls.
748 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
750 * DecimalFormatter.cs (ToString): return correct value when the
753 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
755 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
756 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
758 2002-04-24 Nick Drochak <ndrochak@gol.com>
760 * Double.cs (Parse): Handle case where there are no digits before the
761 decimal point, such as ".1".
763 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
768 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
770 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
772 * String.cs (Split): fixed invalid split of count 0 and 1.
774 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
776 * String.cs (LastIndexOf): fixed argument checking.
777 * String.cs (Equals): made internal for performace.
779 2002-04-23 Nick Drochak <ndrochak@gol.com>
781 * String.cs (Join): check argument and throw exception if needed
783 2002-04-23 Nick Drochak <ndrochak@gol.com>
785 * String.cs (StartsWith): check argument and throw exception if needed
787 2002-04-22 Nick Drochak <ndrochak@gol.com>
789 * String.cs (IndexOfAny): check arguments and throw exceptions as
790 neccessary. ALso remove some debug WriteLines.
792 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
794 * String.cs: use internal constructors
797 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
799 * MonoType.cs: make GetElementType its own icall.
801 2002-04-18 Nick Drochak <ndrochak@gol.com>
803 * String.cs: Modified file. Re-add methods needed by the unit tests.
805 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
807 * String.cs: some code speedups and restored GetTypeCode().
809 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
811 * String.cs: New implementation using internal calls.
813 2002-04-16 Nick Drochak <ndrochak@gol.com>
815 * DecimalFormatter.cs: Trim off excess null characters from the string
816 that decimal2string gives back.
818 2002-04-16 Nick Drochak <ndrochak@gol.com>
820 * String.cs (SubString): revert my change. I can't reproduce the
823 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
825 * Attribute.cs: added GetHashCode and Equals.
827 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
829 * Enum.cs: little improvements to Format ().
831 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
833 * String.cs: internalcall GetHashCode().
834 * Array.cS: optimize access to elements.
836 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
838 * String.cs: make IndexOfAny() use an internalcall.
840 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
845 * UInt64.cs: fixed error when testing for validity of flags.
847 2002-04-11 Nick Drochak <ndrochak@gol.com>
849 * Double.cs: Use an internal call for ToString(). This is just a simple
850 implementation to get away from throwing a NotImplementedException.
852 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
857 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
861 * Int64.cs: throw an OverFlowException when parsing a string
862 containing a dot followed by any non '0' number.
864 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
869 * UInt64.cs: added complex Parse ().
871 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
876 * Int64.cs: added complex Parse ().
878 2002-04-09 Nick Drochak <ndrochak@gol.com>
880 * Array.cs (BinarySearch): Add checks on paramters before using them
881 and throw exceptions as needed.
883 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
884 "G" format to "F" if so.
886 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
888 * MonoCustomAttrs.cs: return arrays of type Attribute[]
891 2002/04/09 Nick Drochak <ndrochak@gol.com>
893 * String.cs (Substring): Copy only non-null characters to the new
896 2002-04-09 Nick Drochak <ndrochak@gol.com>
898 * IntegerFormatter.cs: Don't use a format character to indicate a
899 custom format was passed in. It was using 'z' to indicate a custom
900 format, but really it should throw a format exception if the user
901 tries to use "z" as the format string. Now it does.
903 * Activator.cs: New File.
905 2002-04-08 Nick Drochak <ndrochak@gol.com>
907 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
908 applied to an enum. Need to handle the different possible integer
909 types of an enum somehow. Can anyone say generics?
911 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
913 * Convert.cs: switched the To*(object) methods to use
914 IConvertible directly instead of calling ChangeType
916 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
918 * ValueType.cs: make Equals() an internalcall.
920 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
922 * Type.cs: also look for nested types in FindMembers.
923 * MonoType.cs: make GetNestedTypes() an internalcall.
925 2002-04-05 Nick Drochak <ndrochak@gol.com>
927 * Enum.cs (Parse): Handle different underlying types.
929 2002/04/04 Nick Drochak <ndrochak@gol.com>
931 * Enum.cs (IsDefined): Throw exception when type of value to look for
932 is not the correct one. Attempt to have it work with string values
933 too, but not sure if the unit tests are getting that far yet.
935 2002-04-04 Nick Drochak <ndrochak@gol.com>
937 * Decimal.cs: Fix a couple of typos.
939 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
941 * Enum.cs: the values array is of the enum and not of the underlying
942 type. Updates and some bug fixes.
943 * MonoType.cs: make the internalcall return FullName instead of the
944 assembly qualified name.
945 * Type.cs: make ToString () simply return FullName.
947 2002-04-03 Nick Drochak <ndrochak@gol.com>
949 * Type.cs (GetTypeCode): provide some of the implementation for this
950 method. It's still too simplistic to be considered complete.
952 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
954 * Object.cs: fixed FieldGetter/FieldSetter signature
956 2002-04-02 Nick Drochak <ndrochak@gol.com>
958 * Environment.cs: add MonoTODO's on parts that should have it.
960 2002-04-01 Nick Drochak <ndrochak@gol.com>
962 * Enum.cs: added reality checks (check parameters to most methods that
965 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
967 * Object.cs: added FieldGetter/FieldSetter
969 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
971 * IntegerFormatter.cs: fixed initialization error in static
974 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
976 * Delegate.cs: added new field to store a trampoline function
978 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
980 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
981 make custom format strings work (not fully functional yet).
983 2002/03/28 Nick Drochak <ndrochak@gol.com>
985 * IntegerFormatter.cs: Change class from internal to public. Add
986 necessary [CLSCompliant(false)] attributes.
988 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
989 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
992 2002-03-28 Nick Drochak <ndrochak@gol.com>
994 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
996 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
998 * Console.cs: Modified to get std handles from MonoIO.
999 * Environment.cs: removed PAL dependencies.
1001 2002-03-25 Miguel de Icaza <miguel@ximian.com>
1003 * String.cs (System): Removed internal enumeration, because
1004 bootstrapping the corlib at this point does not support
1007 * IntPtr.cs: Temporary work-around until I fix the assembly
1010 2002-03-24 Martin Baulig <martin@gnome.org>
1012 * Enum.cs (GetValues): According to the docu this is sorted after
1015 * String.cs (System): Removed enumeration, because it is pretty
1016 hard to support enumerations in /nostdlib mode for the core types.
1018 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
1020 * Array.cs: move error handling in the catch block.
1021 * MulticastDelegate.cs: remove == and != operators that were
1022 removed with the delegate changes (when you add stuff, please do not
1023 remove existing functionality!).
1024 * Type.cs: if a property is not found in a type, search for it
1025 in the parent types, too.
1027 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
1029 * Math.cs: changed to use icall instead of PAL.
1031 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
1033 * Double.cs: added check for NaN (Bug [22082])
1035 2002-03-19 Nick Drochak <ndrochak@gol.com>
1037 * Enum.cs (Equals): check for null and throw if it is.
1038 * Enum.cs (Format): check for null parameters and throw if necessary.
1039 This method still needs more argument checking.
1041 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
1043 * Enum.cs (Equals): check if Enums are of the same type
1045 2002-03-18 Nick Drochak <ndrochak@gol.com>
1047 * Double.cs: Explicitly handle comparisons in CompareTo() for
1048 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
1050 * Enum.cs(CompareTo): Check types of values before trying to compare.
1051 Throw exceptions if types are invalid or don't match.
1053 2002-03-14 Miguel de Icaza <miguel@ximian.com>
1055 * Array.cs: Add some extra debugging information.
1057 2002-03-15 Nick Drochak <ndrochak@gol.com>
1059 * Array.cs: Added IList and IEnumerable.
1061 2002-03-14 Miguel de Icaza <miguel@ximian.com>
1063 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
1066 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
1068 * Delegate.cs (Equals): also compare method_ptr
1069 (GetHashCode): returm method_ptr as hash
1071 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
1072 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
1073 such as 42.ToString("0000000"), as these are (currently) not implemented
1074 in System.IntegerFormatter. TimeSpan luckely can do with Standard
1075 Numeric Format Strings, such as 42.ToString("D7").
1077 2002-03-12 Duncan Mak <duncan@ximian.com>
1079 * FieldAccessException.cs:
1080 * MethodAccessException.cs:
1081 * PlatformNotSupportedException.cs: Inherit from
1082 MemberAccessException, not SystemException.
1084 * ObsoleteAttribute.cs: Made Message and IsError properties
1087 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
1089 * GC.cs: make SuppressFinalize() a nop.
1090 * Delegate.cs: fix == operator.
1092 2002-03-13 Nick Drochak <ndrochak@gol.com>
1094 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
1095 runtime that goes with this patch.
1097 2002-03-10 Martin Baulig <martin@gnome.org>
1099 * Int32.cs (Parse): Correctly parse negative numbers.
1101 2002-03-08 Martin Baulig <martin@gnome.org>
1103 * String.cs (Split): Really fix it this time. Also adding several new
1104 testcase to the testsuite.
1106 2002-03-08 Martin Baulig <martin@gnome.org>
1108 * Array.cs (Copy): Optimized: removed duplicate null check, removed
1109 two duplicate GetLowerBound() calls and one duplicate IsValueType.
1111 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1113 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
1114 * String.cs: use the dumb code for IndexOf(string): this is worth
1115 15-20 % speedup in mcs compile with mint.
1117 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
1119 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
1121 2002-03-07 Martin Baulig <martin@gnome.org>
1123 * String.cs (Join): Throw an ArgumentNullException.
1124 (LastIndexOf (string,int,int)): This method does a backwards search,
1125 so startIndex points to the end of value, not to its beginning. Don't
1126 throw an exception if startIndex equals this.Length. Always return -1
1127 if startIndex is smaller than the length of value.
1128 (Replace (string,string)): Replace all occurences of oldValue.
1129 If newValue is null, all occurences of oldValue are to be removed.
1130 (Split (char[],int)): Return an empty array if maxCount is zero, throw
1131 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
1132 elements, not maxValue+1.
1134 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
1136 * MonoType.cs: make GetEvents() an internal call.
1137 * MulticastDelegate.cs: copy the passed in array.
1139 2002-03-06 Martin Baulig <martin@gnome.org>
1141 * Array.cs (Copy): Use FastCopy when appropriate and do correct
1144 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
1145 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
1146 some of the failures found be new tests (see ChangeLog in
1147 Test/System). Comments added to this method, based on
1148 the representation invariant of this class, that (try to) explain
1149 why it now should be correct.
1151 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
1153 * Int64.cs (Parse): bug fix for max. negative value.
1155 2002-03-07 Nick Drochak <ndrochak@gol.com>
1157 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
1158 I need to understand what the difference between the attribute and
1161 2002-03-06 Martin Baulig <martin@gnome.org>
1163 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
1164 an InvalidCastException if the widening conversion failed. See
1165 testcases #M94-#M96.
1167 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
1168 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
1171 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
1172 (Copy): Actually allow copying multi-dimensional arrays.
1174 2002-03-05 Duncan Mak <duncan@ximian.com>
1177 (DBNull) Added the missing field.
1178 (IsDBNull) Fixed typo.
1179 (ToByte (string, int)) Implemented.
1180 (ToString (byte, int)) Implemented.
1182 (BuildConvertedString) internal functions used for converting values to
1190 * UInt32.cs: Implemented the IConvertible interface.
1192 * CharEnumerator.cs: Renamed to variables to be clearer and
1193 changed some of the tests to conform to the 1.0 spec.
1195 2002-03-06 Martin Baulig <martin@gnome.org>
1197 * Array.cs (Copy): Calculate absolute array position here and use
1198 GetValueImpl() and SetValueImpl() with that position. We can now
1199 copy multi-dimensional arrays.
1200 (CopyTo): Small bug fix.
1202 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
1204 * Version.cs: CompareTo changed according the LAMESPEC discovered by
1205 Nick (See VersionTest.cs).
1206 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
1207 error comparing the current position (idx) against the length of the
1208 string iterated and it set idx to an unrecognized special value (-2)
1210 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1212 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
1213 to do this dirty work, but someone has to do it (and I need it to pass
1214 the "200 sample tests compiled on linux" mark).
1216 2002-03-06 Nick Drochak <ndrochak@gol.com>
1219 * DecimalFormatter.cs
1226 * RuntimeMethodHandle.cs
1227 * RuntimeTypeHandle.cs
1230 Add [MonoTODO]'s to places where we currently throw a
1231 NotImplementedException.
1233 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
1235 * Int16.cs (Parse): do not overflow on max negative value
1237 * Int32.cs (Parse): do not overflow on max negative value
1239 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
1241 * Type.cs: fixed IsClass.
1242 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
1243 IsByRefImpl. Added GetInterfaces().
1244 * IServiceProvider.cs: compilation fix.
1246 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
1248 * Array.cs: allow copying an empty array to an empty array.
1250 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
1252 * String.cs: fixed LastIndexOf (string) to do a bit of argument
1255 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
1256 * Version.cs: many fixes to failures found by the newly created
1257 test cases for this class. Specifically, the CompareTo member
1258 returned wrong values due to the use of Int32.MaxValue as a special
1259 value indicating an "undefined" version component. Also implemented the
1260 missing operators (==, <, >, etc.), one missing constructor and
1261 and some exception throwing.
1263 2002-03-04 Nick Drochak <ndrochak@gol.com>
1265 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
1266 * Attribute.cs: Add missing attributes: Serializable and
1267 AttributeUsage(AttributeTargets.All)
1269 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
1271 * MonoType.cs: implemented GetConstructors(), GetFields(),
1272 GetMethods(), GetProperties().
1273 * Object.cs: added debugging icall obj_address().
1274 * Type.cs: fixed the binding flags for some Get* methods.
1275 Implemented FindMembers() as calls to the specific GetMember
1278 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
1279 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
1280 should give an exception for n>=s.Length.
1282 2002-03-01 Martin Baulig <martin@gnome.org>
1284 * Array.cs: More argument checking and bug fixing.
1286 2002-03-01 Miguel de Icaza <miguel@ximian.com>
1288 * BitConverter.cs: Indentation match
1290 * AppDomain.cs: Added MonoTODOs to this too.
1292 * Buffer.cs: Added MonoTODOs to this.
1294 2002-03-01 Martin Baulig <martin@gnome.org>
1296 * Array.cs: Added argument checking to all methods where it was missing.
1298 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
1300 * BitConverter.cs: Fixed bugs in ToString methods
1302 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
1304 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
1306 2002-03-01 Nick Drochak <ndrochak@gol.com>
1308 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
1309 ArgumentOutOfRangeException like the docs say.
1311 2002-03-01 Martin Baulig <martin@gnome.org>
1313 * Enum.cs (CompareTo): Correctly override this method from IComparable.
1315 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
1317 2002-02-28 Martin Baulig <martin@gnome.org>
1319 * String.cs: This file now passes the testsuite on Linux :-)
1321 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
1322 make them private and provide C# wrappers which do proper argument checking.
1324 * String.cs (Format): Correctly handle escaped brackets.
1326 * String.cs (_CompareChar): New internal function which compares two chars.
1327 (_Compare): Provide an internal compare method which can do all sorts of
1328 comparision and call it from all the Compare() methods. Also fixed a lot of
1329 bugs here, this code now actually passes the testsuite.
1331 2002-02-28 Duncan Mak <duncan@ximian.com>
1333 * Convert.cs: Added the missing methods. The new class status page
1334 kicks ass, it even found my typos! Woohoo!
1335 (ConvertFromBase): Moved the Exception throwing in here and
1336 removed the other occurances so it's all centralized now.
1337 (ISDBNull): Implemented.
1338 (GetTypeCode): Implemented.
1340 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
1341 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
1342 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
1343 states that a lacking format should be interpreted as "N".
1344 Also added [Serializable] attribute
1345 * TimeSpan.cs: some formatting and added the [Serializable] attribute
1347 2002-02-26 Duncan Mak <duncan@ximian.com>
1349 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
1351 2002-02-26 Martin Baulig <martin@gnome.org>
1353 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
1354 fields of the interncall GetTimeZoneData.
1356 * DateTime.cs: Implemented Parse and fixed a few bugs.
1358 * String.cs (TrimStart): Small fix.
1360 2002-02-26 Martin Baulig <martin@gnome.org>
1362 * DateTime.cs: ParseExact is now fully functional.
1364 * String.cs (TrimEnd): Small fix.
1366 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
1367 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
1368 missing for about six months.
1370 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1372 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
1374 2002-02-26 Martin Baulig <martin@gnome.org>
1376 * DateTime.cs: Miguel already committed this, but there was still a
1377 ChangeLog entry for this missing ....
1378 We're now reusing functionality from TimeSpan, printing dates is
1379 fully implemented, currently working on parsing.
1381 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
1384 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
1386 * MonoType.cs: disable constructor.
1387 * Object.cs: make GetType() an internalcall.
1388 * Type.cs: added correct bindingflags to GetMethods ().
1389 All such calls should be reviewed to use the correct flags.
1391 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
1393 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
1396 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
1398 * Type.cs: implemented IsAssignableFrom.
1400 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
1401 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
1402 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
1403 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
1404 The former is documented by Microsoft. The latter is how they
1405 actually implemented it in mscorlib:-)
1407 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
1409 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
1411 * MonoType.cs: Implemented custom attributes methods.
1414 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
1417 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
1419 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
1421 * MonoType.cs: Implemented custom attributes methods.
1423 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
1425 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
1427 2002-02-19 Duncan Mak <duncan@ximian.com>
1429 * Convert.cs: Finished up the missing methods in Convert. Added a
1430 new private method ConvertFromBase.
1432 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
1434 * String.cs: impl. IConvertible interface
1436 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
1437 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
1439 2002-02-18 Duncan Mak <duncan@ximian.com>
1441 * Convert.cs: Changed from using Type.GetType (string) to just
1442 typeof (). Probably will speed things up a bit?
1444 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
1447 1. Fix for GetUpperBound to return correct values
1448 2. made some Properties virtual
1449 3. Adds IsFixedSize and IsReadOnly properties.
1450 4. changes CreateInstance(Type,int[],int[]) to throw Exception
1451 when third arg is null. InternalCall CreateInstance changed to
1453 5. Fixed array.GetUpperBound at a couple of places
1454 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
1455 7. Added two FIXME's in BinarySearch functions.
1457 2002-02-17 Duncan Mak <duncan@ximian.com>
1459 * TimeZone.cs: Applied the rest of Ajay's patch for
1460 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
1463 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
1464 * Guid.cs: added stub for Guid(string) ctor
1466 2002-02-17 Duncan Mak <duncan@ximian.com>
1468 * Convert.cs: Near-complete implementation of Convert.cs
1470 Added all the To* methods taking (object) and
1471 (object, IFormatProvider) as parameters.
1473 Added [CLSCompliant (false)] attributes to methods dealing with
1476 Added the missing section on converting to and from DateTime. Only
1477 6 missing methods, all marked with MonoTODOs. Will tackle them later.
1479 2002-02-16 Duncan Mak <duncan@ximian.com>
1481 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
1482 make IsDaylightSavingTime (DateTime) call
1483 IsDaylightSavingTime (DateTime, DaylightTime).
1485 Added internal class CurrentTimeZone from Ajay. It needs more work
1486 to fill in the appropriate internal calls.
1488 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
1490 * Type.cs: fix IsClass.
1492 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
1494 * String.cs: fix Trim().
1496 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
1498 * String.cs: fix more off by one errors.
1500 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
1502 * MonoType.cs: fix IsValueTypeImpl.
1503 * Type.cs: fix IsEnum. Implement Equals methods.
1505 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1507 * Int32.cs: implement IConvertible interface.
1509 2002-02-12 Duncan Mak <duncan@ximian.com>
1511 * TimeZone.cs: Implemented and added to CVS.
1513 2002-02-11 Duncan Mak <duncan@ximian.com>
1515 * Convert.cs: Implemented the ChangeType () methods.
1517 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1519 * Array.cs: make Clone() an internal call.
1521 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
1522 * Changed Guid.NewGuid so that it can use both System.Random and
1523 System.Security.Cryptography.RandomNumberGenerator
1525 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
1526 * First version of Guid.NewGuid
1528 2002-02-08 Duncan Mak <duncan@ximian.com>
1530 * RuntimeArgumentHandle.cs: Added to CVS.
1532 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
1534 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
1535 UnhandledExceptionEventHandler.cs: added delegates.
1537 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1539 * MarshalByRefObject.cs: add ToString () method
1540 (apparently needed by nunit).
1541 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
1542 by it in the runtime.
1544 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
1546 * String.cs (Format): implemented
1548 2002-02-07 Duncan Mak <duncan@ximian.com>
1550 * DuplicateWaitObjectException:
1551 * InvalidCastException:
1552 * NotImplementedException:
1553 * NotSupportedException:
1554 * NullReferenceException:
1555 * OutOfMemoryException:
1556 * OverflowException:
1558 * StackOverflowException.cs:
1559 * UnauthorizedAccessException: Added missing constructor used for serialization.
1561 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
1563 * String.cs (System.Compare): bug fix
1565 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
1567 * Enum.cs (Parse, GetHashCode): impl.
1569 2002-02-05 Duncan Mak <duncan@ximian.com>
1571 * DBNull.cs: This is my first crack at the DBNull class. I think I
1572 actually got most of the IConvertible methods right, but I haven't
1573 done the research to test whether or not this is the correct
1574 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
1576 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
1578 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
1580 * Enum.cs: added more functionality (GetName, ToObject, Equals)
1582 2002-01-31 Duncan Mak <duncan@ximian.com>
1584 * InvalidOperationException.cs:
1585 * NotFiniteNumberException.cs:
1586 * ObjectDisposedException.cs:
1587 * TypeInitializationException.cs: Added missing bits for serialization/
1589 * AppDomainUnloadedException.cs:
1590 * ApplicationException.cs:
1591 * ArgumentOutOfRangeException.cs:
1592 * ArithmeticException.cs:
1593 * ArrayTypeMismatchException:
1594 * BadImageFormatException.cs:
1596 * MissingMemberException.cs:
1597 * TypeLoadException.cs: Added missing bits for serialization.
1599 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
1600 * Guid.cs: implemented everything but Guid.NewGuid
1602 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
1604 * _AppDomain.cs: remove ToString() method: it doesn't seem right
1605 to have it in this interface and it screws up the method vtable setup.
1607 2002-01-28 Andrei Zmievski <andrei@php.net>
1609 * Double.cs: implemented IConvertible interface.
1611 2002-01-28 Miguel de Icaza <miguel@ximian.com>
1613 * ArgumentException.cs: Implement serialization constructor.
1614 (GetObjectData): Implement serializer.
1616 * ArgumentNullException.cs: Implement serialization constructor.
1618 * Exception.cs: Implement serialization constructor.
1619 (GetObjectData): Implement serializer.
1621 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1623 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
1625 2002-01-23 Duncan Mak <duncan@ximian.com>
1627 * EntryPointNotFoundException.cs:
1628 * FormatException: Added missing constructor and related bits.
1630 * TypeLoadException: Added missing constructor, methods and properties.
1632 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1634 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
1635 manually getting the enumerator.
1637 (AppDomain.AppDomain): Prime the loaded assemblies with the
1638 assemblies loaded by the runtime in our behalf.
1640 * AppDomainSetup.cs: Remove private keyword, that is the default.
1641 Add a new property DisallowPublisherPolicy.
1643 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
1645 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
1647 * MonoType.cs, Type.cs: many updates, corrected implementation,
1650 2002-01-20 Andrei Zmievski <andrei@php.net>
1653 * Char.cs: implemented IConvertible interface.
1655 * Boolean.cs: use our own ToString() method directly.
1657 2002-01-20 Duncan Mak <duncan@ximian.com>
1659 * Files I commited recently: Fixed indentation style.
1661 2002-01-20 Nick Drochak <ndrochak@gol.com>
1663 * SerializableAttribute.cs: this attrib can be used on enums, structs,
1664 and delegates too. Added the appropriate usage flags.
1666 2002-01-18 Duncan Mak <duncan@ximian.com>
1668 * CharEnumerator.cs: Implemented.
1669 * String.cs (System): Fixed the GetEnumerator () method(s).
1671 * ObsoleteAttribute.cs:
1672 * STAThreadAttribute.cs:
1673 * MTAThreadAttribute.cs:
1674 * ThreadStaticAttribute.cs:
1675 * LoaderOptimizationAttribute.cs:
1676 * PlatformNotSupportedException.cs:
1677 * LoaderOptimization.cs: Added to CVS.
1679 2002-01-18 Duncan Mak <duncan@ximian.com>
1681 * AppDomainUnloadedException.cs:
1682 * MethodAccessException.cs:
1683 * ContextMarshalException.cs:
1684 * CannotUnloadAppDomainException.cs:
1685 * DllNotFoundException.cs:
1686 * EntryPointNotFoundException.cs:
1687 * FieldAccessException.cs:
1688 * TypeUnloadedException.cs:
1689 * MissingFieldException.cs: Added to CVS.
1691 * ApplicationException.cs:
1692 * MemberAccessException.cs:
1693 * MissingMemberException.cs
1694 * MissingMethodException.cs:
1695 * SystemException.cs: Added [Serializable] attribute.
1697 * Exception.cs: Added [Serializable] attribute, made properties
1698 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
1701 * ContextStaticAttribute.cs: Added [Serializable] attribute and
1702 put in the missing constructor.
1704 * Environment.cs: Commented out references to
1705 EnvironmentPermissionAttribute, because they're just stubbed out
1706 right now and has no implementation.
1708 2002-01-16 Andrei Zmievski <andrei@php.net>
1710 * Boolean.cs: implemented IConvertible interface
1712 2002-01-15 Nick Drochak <ndrochak@gol.com>
1714 * ResolveEventArgs.cs: class should derive from EventArgs.
1716 2002-01-14 Miguel de Icaza <miguel@ximian.com>
1718 * String.cs (System): Use DefaultMemberName for the String class.
1720 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
1722 * String.cs: use IndexerName in index char accessor.
1724 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1726 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
1727 * String.c: eliminate 64k+ method calls in search.
1728 * Type.cs: handle byref and array types in ToString ().
1730 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
1732 * Guid.cs: created first version
1734 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
1736 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
1738 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
1740 * MulticastDelegate.cs: add == and != operator stubs.
1741 * String.cs: check for null in == operator.
1742 * Type.cs: use a virtual method to get TypeAttributes.
1744 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
1745 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
1747 2002-01-09 Nick Drochak <ndrochak@gol.com>
1749 * Environment.cs: Comment out Security attribute and put a MonoTODO
1750 there as a reminder. We need mcs magic to handle security attributes in
1753 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
1754 * Created IAppDomainSetup.cs
1756 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
1757 * Created System._AppDomain interface in _AppDomain.cs
1759 2002-01-06 Nick Drochak <ndrochak@gol.com>
1761 * ResolveEventArgs.cs: New File, completely implemented! ;)
1763 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
1765 * Enum.cs: dummy ToString impl.
1766 * String.cs: dummy format implementations to get compiler errors
1768 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
1770 2002-01-05 Ravi Pratap <ravi@ximian.com>
1772 * TODOAttribute.cs : Augment some more; provide two constructors
1773 with support for a comment too.
1775 2002-01-05 Nick Drochak <ndrochak@gol.com>
1777 * Uncommented those MonoTODO's now that Ravi's got
1780 2001-01-04 Ravi Pratap <ravi@ximian.com>
1782 * TODOAttribute.cs : Actually add this time ;-)
1784 Change name to MonoTODO.
1786 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
1788 * String.cs (Trim): Fixed a few logic bugs in the code that
1789 calculated how much to trim off the end of the string.
1791 2001-01-04 Nick Drochak <ndrochak@gol.com>
1793 * Commented out the [TODO] attributes for now. We don't have the
1794 class written. Also changed it to [MonoTODO]
1796 2002-01-04 Ravi Pratap <ravi@ximian.com>
1798 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
1799 our class libraries that are incomplete.
1801 * Array.cs : Apply attribute wherever we find a FIXME which says
1802 we need something to be implemented there.
1806 * MulticastDelegate.cs : Ditto.
1808 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
1809 RuntimeTypeHandle.cs : Ditto.
1811 * String.cs : Ditto.
1815 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
1817 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
1818 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1820 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
1821 Delegate.cs : Ditto.
1823 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
1824 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1826 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1828 * Delegate.cs: add Remove() stub.
1829 * Enum.cs: add ToObject().
1830 * Type.cs: add IsEnum property.
1832 2002-01-03 Kristian Rietveld <kris@gtk.org>
1834 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
1835 DateTime and object.
1837 2001-12-30 Nick Drochak <ndrochak@gol.com>
1839 * Byte.cs (Parse): Add comments to aid in testing.
1841 2001-12-21 Miguel de Icaza <miguel@ximian.com>
1843 * Char.cs (Parse): Implement.
1845 * Byte.cs (Parse): Implement a fast parser.
1847 * SByte.cs (Parse): Implement a fast parser.
1849 * UInt16.cs (Parse): Implement a fast parser.
1851 * Int16.cs (Parse): Implement a fast parser.
1853 * UInt32.cs (Parse): Implement a fast parser.
1855 * Int32.cs (Parse): Implement a fast parser.
1857 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1859 * Array.cs: fix null ref in sort code.
1860 * UInt64.cs: add bare-bones parse.
1862 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1864 * Byte.cs: removed use of Regexes.
1866 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
1868 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
1869 IsDefined(), GetUnderlyingType().
1870 * String.cs: fix one instance of Compare().
1871 * Type.cs: implemented GetProperties(), GetProperty().
1873 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1875 * Array.cs: implement CopyTo ().
1876 * Char.cs: implement ToString ().
1877 * Exception.cs: bugfix.
1878 * Int32.cs: bare-bones Parse ().
1879 * MonoType.cs: query the needed info with an internalcall.
1880 * String.cs: speedups, bugfixes, reduced copies.
1881 * Type.cs: added missing fields. Implemented many of the Is*
1882 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
1883 GetFields(), FindMembers(), ToString().
1885 2001-12-11 Dick Porter <dick@ximian.com>
1887 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
1889 * Console.cs: Use handles rather than casting file descriptors
1891 2001-12-08 Nick Drochak <ndrochak@gol.com>
1893 * Byte.cs (Parse): Start implementation. Parse(string) works, but
1894 now we need to handle other formats
1896 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
1898 * DateTime.cs: added an icall to GetNow()
1900 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
1902 * Double.cs: added the parse method from Bob Smith
1904 2001-11-28 Miguel de Icaza <miguel@ximian.com>
1910 * Int32.cs (Int32.CompareTo): Fix because we can not just
1911 substract the values.
1913 Return possitive value if the object is null.
1915 * Boolean.cs: (Boolean.CompareTo): ditto.
1917 * Int16.cs (Int16.CompareTo): ditto.
1919 * Byte.cs (Byte.CompareTo): ditto.
1921 * SByte.cs (SByte.CompareTo): ditto.
1923 * Char.cs (Char.CompareTo): ditto.
1925 * Decimal.cs (Decimal.CompareTo): ditto.
1927 * Int64.cs (Int64.CompareTo): ditto.
1933 2001-11-28 Nick Drochak <ndrochak@gol.com>
1935 * Byte.cs: Throw NotImplementedException for Parse.
1937 2001-11-27 Derek Holden <dholden@draper.com>
1939 * IntegerFormatter.cs: Formatting of type "Number" was not
1940 using NumberFormatInfo.NumberNegativePattern.
1942 2001-11-26 Dick Porter <dick@ximian.com>
1944 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
1945 the finalise routine any more
1947 2001-11-21 Miguel de Icaza <miguel@ximian.com>
1949 * ApplicationException.cs: internationalize by adding calls to
1950 Locale.GetText (). And throw NotImplementedExceptions on calls
1951 that we have to implement.
1953 * Version.cs: Ditto.
1955 * ValueType.cs: ditto.
1957 * UnauthorizedAccessException.cs: ditto.
1965 * TypeLoadException.cs: ditto
1967 * TypeInitializationException.cs: ditto.
1971 * TimeSpan.cs: ditto.
1973 * SystemException.cs: ditto.
1977 * StackOverflowException.cs: ditto.x
1983 * RuntimeTypeHandle.cs: ditto.
1985 * RuntimeMethodHandle.cs: ditto.
1987 * RuntimeFieldHandle.cs: ditto.
1991 * OutOfMemoryException.cs: ditto.
1993 * OperatingSystem.cs: ditto.
1995 * ObjectDisposedException.cs: ditto.
1997 * NullReferenceException.cs: ditto.
1999 * NotImplementedException.cs: ditto.
2001 * NotFiniteNumberException.cs: ditto.o
2003 * MulticastNotSupportedException.cs: ditto.
2005 * MissingMethodException.cs: ditto.
2007 * MemberAccessException.cs: ditto.
2011 * InvalidCastException.cs: ditto.
2013 * IntegerFormatter.cs: ditto.
2019 * IndexOutOfRangeException.cs: ditto.
2021 * Environment.cs: ditto
2025 * DuplicateWaitObjectException.cs: ditto.
2027 * DivideByZeroException.cs: ditto.
2029 * Delegate.cs: ditto
2031 * DecimalFormatter.cs: ditto.
2033 * Decimal.cs: ditto.
2035 * DateTime.cs: ditto.
2037 * Convert.cs: ditto.
2043 * Boolean.cs: ditto.
2045 * ArrayTypeMismatchException.cs: ditto.
2047 * ArithmeticException.cs: ditto.
2049 * ArgumentOutOfRangeException.cs: ditto.
2051 * ArgumentNullException.cs: ditto.
2053 * Enum.cs: Make it derive from ValueType, add CompareTo method.
2055 * Attribute.cs: Reformat.
2057 2001-11-14 Miguel de Icaza <miguel@ximian.com>
2059 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
2060 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
2061 exception if the value is null too.
2063 * Char.cs (CompareTo): ditto.
2065 * ApplicationException.cs: Added constructor that does serialization.
2067 * ParamArrayAttribute.cs: Define attribute correctly.
2069 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
2071 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
2072 * Array.cs: fix Array.Copy.
2073 * AssemblyLoadEventArgs.cs: rename field.
2074 * CLSCompliantAttribute.cs: use correct name for the class.
2075 * Char.cs: fix IsLetter.
2076 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
2077 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
2078 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
2079 * Delegate.cs: renamed target field to m_target.
2080 * Enum.cs: added missing methods.
2081 * MonoType.cs: add a constructor and some needed properties.
2082 * Object.cs: implement GetType().
2083 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
2085 * Type.cs: add missing methods/properties.
2087 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
2089 * AttributeUseage.cs: Should define AttributeUsageAttribute.
2091 * CLSCompliant.cs: Marked with AttributeUsage attribute.
2093 * Decimal.cs: Fixed CLSCompliant attributes.
2095 * Type.cs: changed _impl to internal (needs to be accessable by
2098 (TypeHandle): Marked as abstract, implementation removed.
2100 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
2101 GetMethod): Added stub implementations so NUnit would link against
2104 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
2106 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
2108 2001-11-05 Miguel de Icaza <miguel@ximian.com>
2110 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
2113 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
2115 * String.cs: fix a couple of bugs.
2116 * AppDomain.cs: use new AppBuilder constructor.
2117 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
2118 NotImplementedException.cs, ObjectDisposedException.cs,
2119 UnauthorizedAccessException.cs: add implementation.
2120 * OverflowException.cs: fix class name.
2122 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
2124 * String.cs: Don't use a terminating nil char for our internal
2127 2001-10-27 Miguel de Icaza <miguel@ximian.com>
2129 * Delegate.cs (Delegate.CombineImpl): Implement.
2130 (Delegate.Combine): Implement.
2132 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
2134 (MulticastDelegate.CombineImpl): This was not as trivial as I
2137 * ContextStaticAttribute.cs: Added AttributeUsage to
2138 ContextStaticAttribute.
2140 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
2142 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
2144 * added Decimal.cs * added DecimalFormatter.cs (internal class
2145 used from System.Decimal)
2147 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
2149 * Convert.cs: Added methods for Base64 transforming just used the
2150 existing System.Security.Cryptography.ToBase64Transform, should
2151 be changed to use a stand-alone class, e.g. Base64Encoder
2153 2001-10-10 Derek Holden <dholden@draper.com>
2155 * IntegerFormatter.cs: Added. Implements ToString for all the
2156 integer data types for all the format types.
2158 * Byte.cs: Using IntegerFormatter for ToString's.
2160 * SByte.cs: Using IntegerFormatter for ToString's.
2162 * Int16.cs: Using IntegerFormatter for ToString's.
2164 * Int32.cs: Using IntegerFormatter for ToString's.
2166 * Int64.cs: Using IntegerFormatter for ToString's.
2168 * UInt16.cs: Using IntegerFormatter for ToString's.
2170 * UInt32.cs: Using IntegerFormatter for ToString's.
2172 * UInt64.cs: Using IntegerFormatter for ToString's.
2174 2001-10-07 Miguel de Icaza <miguel@ximian.com>
2176 * Exception.cs: Implement bits of serialization.
2178 * RuntimeFieldHandle.cs: Implement Serialization features.
2180 * Type.cs: Implement TypeHandle property.
2182 2001-09-28 Dick Porter <dick@ximian.com>
2184 * LocalDataStoreSlot.cs: Implemented
2186 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
2188 * String.cs: fix off-by-one error in Trim().
2190 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
2192 * Type.cs: added GetType () method.
2194 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
2196 * MissingMethodException.cs, MissingMemberException.cs,
2197 MemberAccessException.cs: added.
2199 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
2201 * String.cs: don't access the string array out of bounds in
2202 LastIndexOf. * Type.cs: fix return type of the Assembly property.
2204 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
2206 * String.cs: make Intern and IsIntern internalcalls.
2208 2001-09-13 Dick Porter <dick@ximian.com>
2210 * Type.cs: Added a stub for the IsValueType property.
2212 * SystemException.cs (System): Added the other constructor, so
2213 that System.Threading exceptions can inherit it.
2215 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
2217 * String.cs (TrimStart): Don't keep looping through the trimchars
2218 once we've found a match.
2219 (TrimEnd): Same here.
2220 (Trim): And finally here.
2222 2001-09-07 Ravi Pratap <ravi@ximian.com>
2224 * Char.cs (IsLetterOrDigit): Implement.
2225 (IsLower): Implement, but we need to be Unicode aware.
2226 (IsNumber): Implement.
2227 (IsPunctuation): Implement.
2228 (IsWhiteSpace): Implement.
2229 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
2230 (ToLower): Same here.
2232 2001-09-04 Miguel de Icaza <miguel@ximian.com>
2234 * Object.cs: Shortcut, if (a == b) then return true.
2236 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
2238 * Delegate.cs: we need a pointer to the method thunk in
2239 the delegate object.
2241 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
2243 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
2245 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
2247 * String.cs (System): Don't mix uint and int.
2249 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
2251 * String.cs (BoyerMoore): Modified to not use pointers and to instead
2253 (IndexOf): Use BoyerMoore.
2255 2001-09-02 Miguel de Icaza <miguel@ximian.com>
2257 * All over: Use the autogenerated enumerations from the ECMA
2258 documentation that Sergey wrote.
2260 * PlatformID.cs: Add Unix definition.
2262 * OperatingSystem.cs: Use Unix instead of Linux here.
2264 * MarshalByRefObject.cs: Mark class as [Serializable].
2266 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
2268 * Console.cs: impl. (write only)
2269 implemented the stdin stuff
2271 * Int32.cs: impl. real op_Equal
2273 2001-08-24 Miguel de Icaza <miguel@ximian.com>
2275 * (common.src): Removed IAsyncResult as it is not on CVS yet.
2277 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
2278 as it breaks the build.
2280 2001-08-23 Michael Lambert <michaellambert@email.com>
2282 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
2283 added CLSCompliant attribute
2285 * IAsyncResult.cs: Added
2287 * common.src: Added IAsyncResult.cs
2289 2001-08-23 Michael Lambert <michaellambert@email.com>
2293 * common.src: Added UIntPtr.cs
2295 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
2297 * Attribute.cs: uncomment some code to make it compile again
2299 * mono.src: removed duplicated Attribute.cs
2301 2001-08-16 Nick Drochak <ndrochak@gol.com>
2303 * Attribute.cs: implemented all methods except GetHashCode()
2305 * common.src: added Attribute.cs so it would compile in
2307 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
2309 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
2310 marked it as InternalCall
2312 * common.src: removed UriFormatException.cs because the file is
2315 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
2316 * Char.cs: replaced byte with char
2318 * Array.cs: make it work with the mono interpreter
2320 2001-08-06 Miguel de Icaza <miguel@ximian.com>
2322 * Version.cs: Make the class sealed
2324 2001-08-08 Bob Smith <bob@thestuff.net>
2326 * Random.cs: Many compile fixes.
2327 * Random.cs: I read a bad spec. Class updated to match real spec.
2329 2001-08-06 Miguel de Icaza <miguel@ximian.com>
2331 * IntPtr.cs: Added and Completed implementation.
2333 * Uri.cs: Add a note.
2335 2001-08-06 Bob Smith <bob@thestuff.net>
2337 * Random.cs: Compile fix. Needs more testing.
2339 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
2341 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
2342 into account IPv6 addresses, url encoding needs to be implemented, and
2343 various minor methods need to be written, but this is a decent start.
2345 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
2347 * common.src: added Object.cs
2349 * mono.src: added ValueType.cs
2351 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
2353 * Math.cs: replaced libc with libm
2355 2001-08-02 Bob Smith <bob@thestuff.net>
2357 * Random.cs: Implemented. Needs testing.
2359 2001-08-02 Miguel de Icaza <miguel@ximian.com>
2361 * IServiceProvider.cs, EventHandler.cs: New files.
2363 2001-08-02 Marcel Narings <marcel@narings.nl>
2365 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
2366 Added exceptions. Added IConvertible. Still needs some platform
2367 dependend stuff, the Parse and ToString members
2369 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
2371 * Type.cs (GetTypeFromHandle): added placeholder
2373 2001-07-24 Derek Holden <dholden@draper.com>
2375 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
2376 which is really an IConvertible defined method.
2378 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
2379 behavior, still need to do the main Parse and ToString.
2381 * Char.cs: Added a bunch of missing ECMA methods. Commented a
2382 specification discrepency. Still didn't any unicode stuff, though
2383 every IsFoo(char c) method has an IsFoo(string, index)
2384 counterpart, added wrappers for those.
2386 * Convert.cs: Fixed NaN/Inf checking and double/float
2387 rounding. Added ToType for IConvertible classes
2389 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
2390 IsNaN methods. Changed Inf/NaN internals.
2392 * IConvertible.cs: Added comments for using
2393 Convert.ToType. Changed return values to draft base values.
2395 * Int16.cs: Added a missing Parse statement. Put in behavior for
2396 overloaded ToString and Parse methods.
2398 * Int32.cs: Added a missing Parse statement. Put in behavior for
2399 overloaded ToString and Parse methods.
2401 * Int64.cs: Added a missing Parse statement. Put in behavior for
2402 overloaded ToString and Parse methods.
2404 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
2405 methods. Changed Inf/NaN internals.
2407 * SByte.cs: Added a missing Parse method. Put in Parse and
2408 ToString behavior, still need to do the main Parse and ToString.
2410 * UInt16.cs: Added a missing Parse statement. Put in behavior for
2411 overloaded ToString and Parse methods.
2413 * UInt32.cs: Added a missing Parse statement. Put in behavior for
2414 overloaded ToString and Parse methods.
2416 * UInt64.cs: Added a missing Parse statement. Put in behavior for
2417 overloaded ToString and Parse methods.
2419 2001-07-20 Miguel de Icaza <miguel@ximian.com>
2421 * MulticastDelegate.cs: New File.
2423 * Delegate.cs: New file.
2425 * Enum.cs: New file.
2427 * Attribute.cs: New file.
2429 * Type.cs: New file.
2431 * ParamArrayAttribute.cs: New file.
2433 * RuntimeTypeHandle.cs: New file.
2435 * MulticastDelegate.cs: Added.
2437 * DateTime.cs: Added
2439 * Delegate.cs: Added
2441 2001-07-18 Michael Lambert <michaellambert@email.com>
2443 * AttributeTargets.cs: Add.
2445 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
2447 * Char.cs: Made ToUpper and ToLower public methods.
2449 * String.cs: Lots and lots of compile fixes - just need to write
2450 DateTime.cs and this should build completely now.
2452 2001-07-19 Bob Smith (bob@thestuff.net)
2454 * Math.cs: Implemented.
2456 2001-07-19 Miguel de Icaza <miguel@ximian.com>
2458 * String.cs: Removed tolower and toupper.
2460 * Char.cs: Moved ToLower and ToUpper from string to here.
2462 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
2463 instead of comparing the value to Nan.
2465 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
2467 * TimeSpan.cs: New implementation.
2469 2001-07-18 Scott Sanders <scott@stonecobra.com>
2471 * UriFormatExcpetion.cs: Add - 85% complete
2473 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
2475 * String.cs (IndexOf): Slight optimization that allows skipping
2476 over a few chars here and there. This isn't as good as using my
2477 Boyer-Moore implementation, however, Boyer-Moore is only really
2478 good for long strings (I plan on making the code decide which
2479 string search algorithm it should use on-the-fly at some point).
2480 (LastIndexOf): Fix to work correctly.
2481 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
2483 2001-07-16 Michael Lambert <michaellambert@email.com>
2485 * EventArgs.cs: Add.
2487 2001-07-16 Miguel de Icaza <miguel@ximian.com>
2489 * Version.cs: Remove my buggy comment.
2491 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
2493 * String.cs: Spelling error of IComparable, object's
2494 MemberwiseClone cannot be overridden. Made indexer valid for now,
2495 but not sure what to do about this in the long run. Seems to be a
2496 couple bugs in csc.exe having to do with multiple pointer defs in
2497 the same statement, and returning subclasses of a class in the
2498 return type of an interface function implementation. Also moved
2499 operators inside of class definition.
2501 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2503 * String.cs: A tom of compile fixes, although we still don't compile.
2505 * IConvertible.cs: The To*Int64() methods return *Int64's, not
2506 *Int32's. Also, it's ToDateTime() not ToDateType().
2508 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2510 * String.cs: Apparently I needed to at least write stubs for the
2511 IConvertible interfaces. *sigh*
2513 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2515 * String.cs: Many logic/other fixes and better usage of the
2517 (tolower): New convenience method to help condense code.
2518 (toupper): Another new helper method.
2519 (Compare): Use the new helper methods.
2520 (ToLower): use tolower().
2521 (ToUpper): use toupper().
2522 (LastIndexOfAny): Implemented.
2523 (BoyerMoore): New private helper method that implements a modified
2524 version of the Boyer-Moore search algorithm. Noothing uses it yet
2525 as I'm not 100% sure it even works properly with unicode strings
2526 not to mention it uses a huge lookup-table :-)
2527 (Split): Implemented.
2529 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
2531 * TODO: Added things that need to be finished in System.String
2533 * String.cs: New source file implementing the System.String class
2535 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
2537 * TypeCode.cs: UInt64 was UInt63.
2539 * Object.cs: Fixed a numer of compiler errors.
2541 * Array.cs: Fixed some compiler errors.
2543 * IComparable.cs: Fixed some compiler errors.
2545 * ICloneable.cs: Fixed some compiler errors.
2547 * IConvertible.cs: Fixed some compiler errors.
2549 * IFormattable.cs: Fixed a compiler error.
2551 * IFormatProvider.cs: Fixed a compiler error.
2553 * IDisposable.cs: Fixed a compiler error.
2555 * IFormatProvider.cs: Added public accesability type to
2558 * Exception.cs: Added a using statement to remove compile time
2561 * ApplicationException.cs: Removed a ; that was causing a compiler
2564 * Int16.cs: Fixed some compiler errors.
2566 * Int32.cs: Fixed some compiler errors.
2568 * Int64.cs: Fixed some compiler errors.
2570 * SystemException.cs: Fixed a compiler error.
2572 * UInt16.cs: Fixed some compiler errors.
2574 * UInt32.cs: Fixed some compiler errors.
2576 * UInt64.cs: Fixed some compiler errors.
2578 * Void.cs: Fixed a compiler error.
2580 2001-07-12 Joe Shaw <joe@ximian.com>
2582 * Array.cs: Fix backwards parameters to Array.SetValue()
2584 (BinarySearch): Fix backward logic surrounding whether to call
2585 value.CompareTo or comparer.Compare.
2586 (LastIndexOf): Stop being stupid. I am so not used to strongly
2588 (Sort): Implement a quicksort.
2590 2001-07-11 Joe Shaw <joe@ximian.com>
2592 * Array.cs: Change all instances of trying to access an array with
2593 the index operator to calls to GetValue and SetValue, and add
2594 InternalGetValue and InternalSetValue which are internal calls
2595 into the runtime. Ew.
2597 2001-07-10 Joe Shaw <joe@ximian.com>
2599 * Array.cs: Implemented everything but Sort().
2601 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
2603 * Object.cs (Object::Equals): Object variable name is `o'.
2605 2001-07-06 Joe Shaw <joe@ximian.com>
2607 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
2608 Implement the IComparable and IFormattable interfaces. Fix a typo
2611 * ApplicationException.cs, ArgumentException.cs,
2612 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
2613 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
2614 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
2615 ExecutionEngineException.cs, FormatException.cs,
2616 IndexOutOfRangeException.cs, InvalidCastException.cs,
2617 InvalidOperationException.cs, InvalidProgramException.cs,
2618 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
2619 NotSupportedException.cs, NullReferenceException.cs,
2620 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
2621 StackOverflowException.cs, SystemException.cs,
2622 TypeInitializationException.cs: Added all of the exceptions
2623 specified by the language spec. Mmmm... bloat.
2625 2001-07-06 Miguel de Icaza <miguel@ximian.com>
2627 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
2628 do a generic routine all of these guys use.
2630 * Int16.cs: identified missing methods.
2632 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
2634 2001-06-26 Miguel de Icaza <miguel@ximian.com>
2636 * TypeCode.cs: Implement
2638 * Void.cs: Implement.
2640 * TODO: Add file to keep track of pending tasks.
2642 * Object.cs, ValueType.cs: Implement.