1 2002-09-19 Duncan Mak <duncan@ximian.com>
3 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
4 I18N/Common from building right now.
6 2002-09-19 Nick Drochak <ndrochak@gol.com>
8 * Array.cs (CopyTo): Account for Object type and base (primitive) types
9 * Type.cs (IsAssignableFrom): return false for a null parameter
11 2002-09-19 Nick Drochak <ndrochak@gol.com>
13 * Array.cs (CopyTo): Check that source type can be cast automatically
14 to the destination type.
16 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
18 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
21 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
23 * Char.cs: implemented ToString (char)
24 * IntegerFormatter.cs: made it internal.
26 2002-09-13 Nick Drochak <ndrochak@gol.com>
28 * Enum.cs (Format): handle the "d" format for both signed and unsigned
31 2002-09-12 Dick Porter <dick@ximian.com>
33 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
34 attribute, as there doesn't appear to be any struct
35 layout-depending code here (and corcompare says it should be
36 LayoutKind.Sequential)
38 * Decimal.cs: Stub out missing methods, add
39 [DecimalConstantAttribute] to the constant fields (as shown by
42 * LocalDataStoreSlot.cs:
45 * Array.cs: Stub out missing methods.
48 * ArgIterator.cs: Stub out
51 * AppDomain.cs: Stub out missing methods, add missing
52 ClassInterface(ClassInterfaceType.None) attribute.
54 2002-09-12 Nick Drochak <ndrochak@gol.com>
56 * Double.cs (ToString): Throw exception when "X" format is passed in.
58 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
60 * MonoType.cs: implemented Module property.
62 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
64 * MonoType.cs, Type.cs: implemented InvokeMember.
66 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
68 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
69 type. Check the method signature matches.
71 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
73 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
75 2002-09-06 Miguel de Icaza <miguel@ximian.com>
77 * Console.cs: Specify an encoder, otherwise we will get the UTF8
78 encoder that by default emits the byte markers.
80 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
82 * Delegate.cs: look also for non-public methods until we have the
83 security checks in place.
85 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
87 * MonoType.cs: consider also the full name in GetInterface.
89 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
91 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
92 GetMethodImpl using the binder.
93 * Type.cs: GetConstructorImpl/GetConstructor fixes.
95 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
96 * Enum.cs: Get rid of warning CS0162.
98 2002-09-04 Miguel de Icaza <miguel@ximian.com>
100 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
101 actual value instead of public.
103 * LocalDataStoreSlot.cs: Make constructor internal.
105 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
106 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
109 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
110 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
113 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
115 * DateTime.cs: fixed buglet.
117 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
119 * MonoType.cs: speedup access to common data.
121 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
123 * Double.cs: implemented TryParse.
125 * Math.cs: PowImpl is now private.
127 * MissingFieldException.cs: implemented Message.
129 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
131 * _AppDomain.cs: Uncommented ToString.
133 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
136 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
138 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
140 * ArgumentException.cs: use the field instead of the property for
143 * ArgumentOutOfRangeException.cs: modified Message.
146 (_DoParse): throw out of range exception for year. Removed check
147 for month (it's done in the constructor).
149 2002-08-21 Miguel de Icaza <miguel@ximian.com>
151 * Environment.cs: Implemented OSVersion property.
153 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
155 * Exception.cs: set stack_trace to null
157 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
159 * AppDomain.cs: implemented ToString().
161 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
163 * AppDomain.cs: securityInfo can be null in CreateDomain.
165 2002-08-19 Dick Porter <dick@ximian.com>
167 * MonoType.cs: Add a space before the Assembly name in
168 AssemblyQualifiedName (needed for resource files so the MS runtime
171 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
173 * AppDomain.cs: parameter name when throwing ArgumentNullException.
175 * ArgumentException.cs: modified Message to do what MS does.
177 * ArgumentNullException.cs: don't use {0} in message.
179 * Exception.cs: use Message property in ToString ().
181 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
183 * WeakReference.cs: Changed the constructor and GetObjectData
184 method needed for ISerializable implementation in order to be
185 compatible with SOAP generated by MS.
187 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
189 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
191 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
193 * Exception.cs (ToString): changed the ouput format.
195 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
197 * MonoType.cs: moved get_method icall to this class, we can
198 remove it as soon someone provides a full featured GetMethodImpl.
200 * Type.cs: use GetMethodImpl everywhere.
202 * Delegate.cs: new CreateDelegate implementations.
204 2002-08-06 Tim Coleman <tim@timcoleman.com>
206 Fix bug #28582. Now checks parameters for properties
209 2002-08-04 Nick Drochak <ndrochak@gol.com>
211 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
213 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
216 (FormatSpecifier): allow white space between the comman and the width
219 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
224 * UInt64.cs: fixed bug #28050. May be a MS bug?
226 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
228 * MonoType.cs: fix IsArrayImpl.
230 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
232 * String.cs: make ToLower (culture) and ToUpper (culture) use the
233 default ToLower and ToUpper and don't throw NotImplemented.
235 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
237 * Type.cs: make GettTypeCode an icall. Test implementation of
240 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
242 * AppDomainSetup.cs: implemented LoaderOptimization.
244 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
246 * Activator.cs: some more intermediate results checking in
247 in CreateInstance and CreateInstanceFrom and use GetConstructor and
248 Invoke only with Type [] until the other overloaded versions work.
250 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
252 * Activator.cs: reformatted. Implemented CreateInstance* methods
253 that return ObjectHandle.
255 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
257 2002-07-03 Nick Drochak <ndrochak@gol.com>
259 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
260 the divisor is not) and avoid the icall, which seems to have a bug.
262 2002-07-03 Nick Drochak <ndrochak@gol.com>
264 * Double.cs (CompareTo): Correctly handle the case where the instance
265 is NaN. Also return 0 if the values are equal.
267 2002/07/03 Nick Drochak <ndrochak@gol.com>
269 * MissingMethodException: Add missing Message property
270 * MissingMemberException: Add missing Message property
272 2002-06-30 Nick Drochak <ndrochak@gol.com>
274 * Double.cs (CompareTo): Just see which is bigger. Don't use the
275 subtraction trick, it doesn't work when the values have a diference of
278 * Single.cs (CompareTo): same
280 2002-06-27 Martin Baulig <martin@gnome.org>
282 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
283 constructor argument. [FIXME: The implicit conversion to an
284 unsigned integer doesn't work with mcs.]
286 2002-06-26 Martin Baulig <martin@gnome.org>
288 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
289 not `S = System'. This file now compiles with mcs.
291 * String.cs: Removed the already ifdef-outed __arglist Concat function
292 to make it compile with mcs.
294 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
296 * IntegerFormatter.cs:
297 (FormatParse.FormatNumber): fixed custom format for negative numbers.
299 2002-06-21 Martin Baulig <martin@gnome.org>
301 * Double.cs: Replace the private `enum State' with constants since this
302 will avoid some bigger headaches in mcs.
304 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
306 * TimeSpan.cs: do not pollute the namespace with the
309 2002-06-18 Nick Drochak <ndrochak@gol.com>
311 * ArgumentException.cs: Use the message given in the constructor when
312 accessing the Message property. Thanks to Dietmar for the help with
315 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
317 * MonoType.cs: GetField is now a InternalCall
319 2002-06-13 Nick Drochak <ndrochak@gol.com>
321 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
322 sortable format(s), e.g. "2002-02-25"
324 2002/06/12 Nick Drochak <ndrochak@gol.com>
326 * Random.cs (Next): Fix math error. Return a number within the range.
328 2002-06-12 Nick Drochak <ndrochak@gol.com>
330 * String.cs (IndexOf): Return -1 if start index is equal to string
333 2002-06-10 Duncan Mak <duncan@ximian.com>
335 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
336 (ToType): Added null field in conversionTable to avoid
337 IndexOutOfRangeException. Changed what exceptions we throw to match
340 2002-06-11 Nick Drochak <ndrochak@gol.com>
342 * Int64.cs (Parse): Added unique strings to the messages where we throw
343 a FormatException. Needed these to debug, so just left them in since
344 they might be useful later. Fixed Currency parsing where we weren't
345 looking at CurrencyDecimalSeparator, etc.
347 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
\r
349 * DateTime.cs: fixes to pass tests M0 to M6:
\r
350 if yy pattern then year values >= 30 are in 20th century
\r
351 rfc1123 pattern is always in GMT, therefor useutc must be false
\r
352 made GetNow() internal static so it can be called from TimeZone.
\r
353 * TimeZone.cs: removed dependency on year 2002 from initialization of
\r
356 2002-06-09 Duncan Mak <duncan@ximian.com>
358 * Convert.cs (ToType): Rearranged what Exceptions we throw to
361 2002-06-08 Duncan Mak <duncan@ximian.com>
363 * Decimal.cs: Added support for the IConvertible interface.
365 2002-06-08 Martin Baulig <martin@gnome.org>
367 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
368 doesn't necessarily need to be of the enum's underlying type.
370 2002/06/07 Nick Drochak <ndrochak@gol.com>
372 * String.cs: Add [Serializable] to class
373 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
375 2002-06-04 Nick Drochak <ndrochak@gol.com>
377 * Double.cs (Parse): Recognize the group separator string, but still we
378 don't check the format for the proper number of digits between
379 separators. Also throw OverflowException when we get Pos or Neg
380 Infinity from runtime.
382 2002-06-03 Duncan Mak <duncan@ximian.com>
384 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
386 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
388 * Type.cs: fixed GetTypeCode.
390 2002-06-02 Duncan Mak <duncan@ximian.com>
392 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
393 cast from an int so that we throw OverFlowException correctly.
395 (ToInt64): Use a new 64bit version of ConvertToBase.
397 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
400 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
402 2002-06-02 Nick Drochak <ndrochak@gol.com>
404 * Convert.cs (ToSByte): Check for special value.
407 * UInt32.cs (Parse): Throw OverflowException if negative
409 2002-06-02 Duncan Mak <duncan@ximian.com>
411 * Convert.cs (DBNull): Point it to DBNull.Value.
412 (IsDBNull): Instead of checking typecodes, just check to see if
413 it's the same as the DBNull field.
415 2002-06-02 Nick Drochak <ndrochak@gol.com>
417 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
419 2002-06-02 Duncan Mak <duncan@ximian.com>
421 * Char.cs (Parse): Simplify the Exception handling.
423 * Convert.cs (ToDecimal): Remove call to Math.Round () when
424 converting from a float.
426 2002-05-30 Martin Baulig <martin@gnome.org>
428 * MonoType.cs (GetInterface): Implemented.
430 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
432 * Activator.cs: implemented CreateInstance ().
434 2002-05-22 Duncan Mak <duncan@ximian.com>
436 * Convert.cs (ConvertToBase): Added new 64bit version.
437 (BuildConvertedString64): New 64bit version of
438 BuildConvertedString.
440 This fixes bug 25068.
442 (ConvertFromBase): Added additional test for checking if the
443 digits are valid. Thanks to Miguel for coming up with this test.
445 This fixes bug 25071.
447 2002-05-21 Duncan Mak <duncan@ximian.com>
449 * Convert.cs (ToType): Rearranged to fit the new layout of
452 (conversionTable): Rearranged to fit the layout of the
453 System.TypeCode enum.
455 This should fix bug 25075.
457 2002-05-21 Duncan Mak <duncan@ximian.com>
459 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
460 mixed up the two code paths, one for converting to a specific base
461 (this case), another from converting from a foreign base to base10
462 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
464 * Convert.cs (ToByte)
465 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
466 that we won't confuse FormatException with OverflowException.
468 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
470 * Environment.cs: CommandLine missed spaces between arguments.
471 Implemented StackTrace. Returning MachineName in UserDomainName
\r
474 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
476 * MonoCustomAttrs.cs: handle inherit argument.
478 2002-05-21 Nick Drochak <ndrochak@gol.com>
480 * Math.cs (Pow): Change icall method name and insert parameter
481 checks in for infinities and NaN.
483 2002-05-13 Miguel de Icaza <miguel@ximian.com>
485 * Double.cs (Parse): Reimplement by cleaning up the string first,
486 and then passing to strtof in the mono runtime.
488 * Single.cs (Parse): Use the Double implementation and cast to
491 2002-05-21 Nick Drochak <ndrochak@gol.com>
494 (Ceiling): Check for "special" values
495 (Floor): Check for "special" values
496 (Round): Fix off-by-one error on decimal shifting
498 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
\r
500 * DateTime.cs: ToString () using "G" format specifier
\r
502 2002-05-19 Martin Baulig <martin@gnome.org>
504 * Convert.cs (FromBase64CharArray): Do correct exception handling.
506 2002-05-19 Martin Baulig <martin@gnome.org>
508 * Convert.cs (FromBase64CharArray): Convert the char array using
509 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
512 2002-05-17 Miguel de Icaza <miguel@ximian.com>
514 * MonoType.cs: Style changes.
516 * Type.cs: Style changes.
518 2002-05-16 Piers Haken <piersh@friksit.com
520 * UInt64.cs: fix declaration of IConvertible.To* overrides.
522 2002-05-16 Nick Drochak <ndrochak@gol.com>
524 * BitConverter.cs (ToString): Add parameter check for invalid start
527 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
528 now that StreamWriter uses buffering
530 2002-05-14 Miguel de Icaza <miguel@ximian.com>
532 * Double.cs: Oops. Also handle exponents without finding a dot.
534 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
536 * ChangeLog: removed empty entry at the top of the file.
538 * Int32.cs: made static functions used by Parse internal.
542 * UInt64.cs: removed static fucntions used by Parse and use the ones
545 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
547 * IServiceProvider.cs: added using System
549 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
551 * Single.cs: copied ToString() and Parse() methods from
552 Double to Single and modified a tiny bit for Single.
553 There is still a FIXME for Double and Single about
554 passing the format and provider info to the icall too.
\r
556 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
561 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
562 Don't use a delegate to test for valid digits.
564 2002-05-01 Duncan Mak <duncan@ximian.com>
567 * Math.cs: Added missing CLSCompliant attributes where necessary.
569 2002-04-30 Duncan Mak <duncan@ximian.com>
571 * ArgumentException.cs (Message):
572 * ArgumentOutOfRangeException.cs (Message): Added.
574 2002-04-30 Nick Drochak <ndrochak@gol.com>
576 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
578 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
580 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
582 2002-04-28 Duncan Mak <duncan@ximian.com>
584 * DivideByZeroException.cs: Added missing serialization constructor.
586 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
588 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
590 * Math.cs: fix Floor () and Round (). Closes #23960.
592 2002-04-27 Nick Drochak <ndrochak@gol.com>
594 * Array.cs (IList.Contains): Should throw a RankException if this is
595 called on a Rank > 1 array. Not in the docs, but this is what the
598 2002-04-26 Duncan Mak <duncan@ximian.com>
600 * MissingMemberException.cs: Made the message variable 'protected'
601 instead of 'private', so that we can see it in
602 MissingMethodException and MissingFieldException.
604 * MissingFieldException.cs:
605 * MissingMethodException.cs: Added missing (string, string)
606 constructor, and also the Message property.
608 2002-04-26 Martin Baulig <martin@gnome.org>
610 * Enum.cs: Implemented the IConvertible methods.
612 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
614 * SByte.cs: little change in Parse (string) to avoid incorrect
615 OverflowException thrown (reported by nickd).
617 2002-04-22 Miguel de Icaza <miguel@ximian.com>
619 * ValueType.cs: Add Serializable attribute.
621 * String.cs: ifdef-out out the __arglist Concat function until I
622 add support for that to mcs.
624 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
626 * AppDomain.cs (GetValue): usage of the correct icall (bug)
628 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
630 * GC.cs: implement most of the methods as icalls.
632 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
634 * DecimalFormatter.cs (ToString): return correct value when the
637 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
639 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
640 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
642 2002-04-24 Nick Drochak <ndrochak@gol.com>
644 * Double.cs (Parse): Handle case where there are no digits before the
645 decimal point, such as ".1".
647 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
652 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
654 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
656 * String.cs (Split): fixed invalid split of count 0 and 1.
658 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
660 * String.cs (LastIndexOf): fixed argument checking.
661 * String.cs (Equals): made internal for performace.
663 2002-04-23 Nick Drochak <ndrochak@gol.com>
665 * String.cs (Join): check argument and throw exception if needed
667 2002-04-23 Nick Drochak <ndrochak@gol.com>
669 * String.cs (StartsWith): check argument and throw exception if needed
671 2002-04-22 Nick Drochak <ndrochak@gol.com>
673 * String.cs (IndexOfAny): check arguments and throw exceptions as
674 neccessary. ALso remove some debug WriteLines.
676 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
678 * String.cs: use internal constructors
681 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
683 * MonoType.cs: make GetElementType its own icall.
685 2002-04-18 Nick Drochak <ndrochak@gol.com>
687 * String.cs: Modified file. Re-add methods needed by the unit tests.
689 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
691 * String.cs: some code speedups and restored GetTypeCode().
693 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
695 * String.cs: New implementation using internal calls.
697 2002-04-16 Nick Drochak <ndrochak@gol.com>
699 * DecimalFormatter.cs: Trim off excess null characters from the string
700 that decimal2string gives back.
702 2002-04-16 Nick Drochak <ndrochak@gol.com>
704 * String.cs (SubString): revert my change. I can't reproduce the
707 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
709 * Attribute.cs: added GetHashCode and Equals.
711 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
713 * Enum.cs: little improvements to Format ().
715 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
717 * String.cs: internalcall GetHashCode().
718 * Array.cS: optimize access to elements.
720 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
722 * String.cs: make IndexOfAny() use an internalcall.
724 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
729 * UInt64.cs: fixed error when testing for validity of flags.
731 2002-04-11 Nick Drochak <ndrochak@gol.com>
733 * Double.cs: Use an internal call for ToString(). This is just a simple
734 implementation to get away from throwing a NotImplementedException.
736 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
741 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
745 * Int64.cs: throw an OverFlowException when parsing a string
746 containing a dot followed by any non '0' number.
748 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
753 * UInt64.cs: added complex Parse ().
755 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
760 * Int64.cs: added complex Parse ().
762 2002-04-09 Nick Drochak <ndrochak@gol.com>
764 * Array.cs (BinarySearch): Add checks on paramters before using them
765 and throw exceptions as needed.
767 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
768 "G" format to "F" if so.
770 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
772 * MonoCustomAttrs.cs: return arrays of type Attribute[]
775 2002/04/09 Nick Drochak <ndrochak@gol.com>
777 * String.cs (Substring): Copy only non-null characters to the new
780 2002-04-09 Nick Drochak <ndrochak@gol.com>
782 * IntegerFormatter.cs: Don't use a format character to indicate a
783 custom format was passed in. It was using 'z' to indicate a custom
784 format, but really it should throw a format exception if the user
785 tries to use "z" as the format string. Now it does.
787 * Activator.cs: New File.
789 2002-04-08 Nick Drochak <ndrochak@gol.com>
791 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
792 applied to an enum. Need to handle the different possible integer
793 types of an enum somehow. Can anyone say generics?
795 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
797 * Convert.cs: switched the To*(object) methods to use
798 IConvertible directly instead of calling ChangeType
800 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
802 * ValueType.cs: make Equals() an internalcall.
804 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
806 * Type.cs: also look for nested types in FindMembers.
807 * MonoType.cs: make GetNestedTypes() an internalcall.
809 2002-04-05 Nick Drochak <ndrochak@gol.com>
811 * Enum.cs (Parse): Handle different underlying types.
813 2002/04/04 Nick Drochak <ndrochak@gol.com>
815 * Enum.cs (IsDefined): Throw exception when type of value to look for
816 is not the correct one. Attempt to have it work with string values
817 too, but not sure if the unit tests are getting that far yet.
819 2002-04-04 Nick Drochak <ndrochak@gol.com>
821 * Decimal.cs: Fix a couple of typos.
823 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
825 * Enum.cs: the values array is of the enum and not of the underlying
826 type. Updates and some bug fixes.
827 * MonoType.cs: make the internalcall return FullName instead of the
828 assembly qualified name.
829 * Type.cs: make ToString () simply return FullName.
831 2002-04-03 Nick Drochak <ndrochak@gol.com>
833 * Type.cs (GetTypeCode): provide some of the implementation for this
834 method. It's still too simplistic to be considered complete.
836 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
838 * Object.cs: fixed FieldGetter/FieldSetter signature
840 2002-04-02 Nick Drochak <ndrochak@gol.com>
842 * Environment.cs: add MonoTODO's on parts that should have it.
844 2002-04-01 Nick Drochak <ndrochak@gol.com>
846 * Enum.cs: added reality checks (check parameters to most methods that
849 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
851 * Object.cs: added FieldGetter/FieldSetter
853 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
855 * IntegerFormatter.cs: fixed initialization error in static
858 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
860 * Delegate.cs: added new field to store a trampoline function
862 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
864 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
865 make custom format strings work (not fully functional yet).
867 2002/03/28 Nick Drochak <ndrochak@gol.com>
869 * IntegerFormatter.cs: Change class from internal to public. Add
870 necessary [CLSCompliant(false)] attributes.
872 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
873 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
876 2002-03-28 Nick Drochak <ndrochak@gol.com>
878 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
880 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
882 * Console.cs: Modified to get std handles from MonoIO.
883 * Environment.cs: removed PAL dependencies.
885 2002-03-25 Miguel de Icaza <miguel@ximian.com>
887 * String.cs (System): Removed internal enumeration, because
888 bootstrapping the corlib at this point does not support
891 * IntPtr.cs: Temporary work-around until I fix the assembly
894 2002-03-24 Martin Baulig <martin@gnome.org>
896 * Enum.cs (GetValues): According to the docu this is sorted after
899 * String.cs (System): Removed enumeration, because it is pretty
900 hard to support enumerations in /nostdlib mode for the core types.
902 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
904 * Array.cs: move error handling in the catch block.
905 * MulticastDelegate.cs: remove == and != operators that were
906 removed with the delegate changes (when you add stuff, please do not
907 remove existing functionality!).
908 * Type.cs: if a property is not found in a type, search for it
909 in the parent types, too.
911 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
913 * Math.cs: changed to use icall instead of PAL.
915 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
917 * Double.cs: added check for NaN (Bug [22082])
919 2002-03-19 Nick Drochak <ndrochak@gol.com>
921 * Enum.cs (Equals): check for null and throw if it is.
922 * Enum.cs (Format): check for null parameters and throw if necessary.
923 This method still needs more argument checking.
925 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
927 * Enum.cs (Equals): check if Enums are of the same type
929 2002-03-18 Nick Drochak <ndrochak@gol.com>
931 * Double.cs: Explicitly handle comparisons in CompareTo() for
932 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
934 * Enum.cs(CompareTo): Check types of values before trying to compare.
935 Throw exceptions if types are invalid or don't match.
937 2002-03-14 Miguel de Icaza <miguel@ximian.com>
939 * Array.cs: Add some extra debugging information.
941 2002-03-15 Nick Drochak <ndrochak@gol.com>
943 * Array.cs: Added IList and IEnumerable.
945 2002-03-14 Miguel de Icaza <miguel@ximian.com>
947 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
950 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
952 * Delegate.cs (Equals): also compare method_ptr
953 (GetHashCode): returm method_ptr as hash
955 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
956 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
957 such as 42.ToString("0000000"), as these are (currently) not implemented
958 in System.IntegerFormatter. TimeSpan luckely can do with Standard
959 Numeric Format Strings, such as 42.ToString("D7").
961 2002-03-12 Duncan Mak <duncan@ximian.com>
963 * FieldAccessException.cs:
964 * MethodAccessException.cs:
965 * PlatformNotSupportedException.cs: Inherit from
966 MemberAccessException, not SystemException.
968 * ObsoleteAttribute.cs: Made Message and IsError properties
971 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
973 * GC.cs: make SuppressFinalize() a nop.
974 * Delegate.cs: fix == operator.
976 2002-03-13 Nick Drochak <ndrochak@gol.com>
978 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
979 runtime that goes with this patch.
981 2002-03-10 Martin Baulig <martin@gnome.org>
983 * Int32.cs (Parse): Correctly parse negative numbers.
985 2002-03-08 Martin Baulig <martin@gnome.org>
987 * String.cs (Split): Really fix it this time. Also adding several new
988 testcase to the testsuite.
990 2002-03-08 Martin Baulig <martin@gnome.org>
992 * Array.cs (Copy): Optimized: removed duplicate null check, removed
993 two duplicate GetLowerBound() calls and one duplicate IsValueType.
995 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
997 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
998 * String.cs: use the dumb code for IndexOf(string): this is worth
999 15-20 % speedup in mcs compile with mint.
1001 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
1003 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
1005 2002-03-07 Martin Baulig <martin@gnome.org>
1007 * String.cs (Join): Throw an ArgumentNullException.
1008 (LastIndexOf (string,int,int)): This method does a backwards search,
1009 so startIndex points to the end of value, not to its beginning. Don't
1010 throw an exception if startIndex equals this.Length. Always return -1
1011 if startIndex is smaller than the length of value.
1012 (Replace (string,string)): Replace all occurences of oldValue.
1013 If newValue is null, all occurences of oldValue are to be removed.
1014 (Split (char[],int)): Return an empty array if maxCount is zero, throw
1015 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
1016 elements, not maxValue+1.
1018 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
1020 * MonoType.cs: make GetEvents() an internal call.
1021 * MulticastDelegate.cs: copy the passed in array.
1023 2002-03-06 Martin Baulig <martin@gnome.org>
1025 * Array.cs (Copy): Use FastCopy when appropriate and do correct
1028 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
1029 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
1030 some of the failures found be new tests (see ChangeLog in
1031 Test/System). Comments added to this method, based on
1032 the representation invariant of this class, that (try to) explain
1033 why it now should be correct.
1035 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
1037 * Int64.cs (Parse): bug fix for max. negative value.
1039 2002-03-07 Nick Drochak <ndrochak@gol.com>
1041 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
1042 I need to understand what the difference between the attribute and
1045 2002-03-06 Martin Baulig <martin@gnome.org>
1047 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
1048 an InvalidCastException if the widening conversion failed. See
1049 testcases #M94-#M96.
1051 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
1052 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
1055 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
1056 (Copy): Actually allow copying multi-dimensional arrays.
1058 2002-03-05 Duncan Mak <duncan@ximian.com>
1061 (DBNull) Added the missing field.
1062 (IsDBNull) Fixed typo.
1063 (ToByte (string, int)) Implemented.
1064 (ToString (byte, int)) Implemented.
1066 (BuildConvertedString) internal functions used for converting values to
1074 * UInt32.cs: Implemented the IConvertible interface.
1076 * CharEnumerator.cs: Renamed to variables to be clearer and
1077 changed some of the tests to conform to the 1.0 spec.
1079 2002-03-06 Martin Baulig <martin@gnome.org>
1081 * Array.cs (Copy): Calculate absolute array position here and use
1082 GetValueImpl() and SetValueImpl() with that position. We can now
1083 copy multi-dimensional arrays.
1084 (CopyTo): Small bug fix.
1086 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
1088 * Version.cs: CompareTo changed according the LAMESPEC discovered by
1089 Nick (See VersionTest.cs).
1090 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
1091 error comparing the current position (idx) against the length of the
1092 string iterated and it set idx to an unrecognized special value (-2)
1094 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1096 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
1097 to do this dirty work, but someone has to do it (and I need it to pass
1098 the "200 sample tests compiled on linux" mark).
1100 2002-03-06 Nick Drochak <ndrochak@gol.com>
1103 * DecimalFormatter.cs
1110 * RuntimeMethodHandle.cs
1111 * RuntimeTypeHandle.cs
1114 Add [MonoTODO]'s to places where we currently throw a
1115 NotImplementedException.
1117 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
1119 * Int16.cs (Parse): do not overflow on max negative value
1121 * Int32.cs (Parse): do not overflow on max negative value
1123 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
1125 * Type.cs: fixed IsClass.
1126 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
1127 IsByRefImpl. Added GetInterfaces().
1128 * IServiceProvider.cs: compilation fix.
1130 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
1132 * Array.cs: allow copying an empty array to an empty array.
1134 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
1136 * String.cs: fixed LastIndexOf (string) to do a bit of argument
1139 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
1140 * Version.cs: many fixes to failures found by the newly created
1141 test cases for this class. Specifically, the CompareTo member
1142 returned wrong values due to the use of Int32.MaxValue as a special
1143 value indicating an "undefined" version component. Also implemented the
1144 missing operators (==, <, >, etc.), one missing constructor and
1145 and some exception throwing.
1147 2002-03-04 Nick Drochak <ndrochak@gol.com>
1149 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
1150 * Attribute.cs: Add missing attributes: Serializable and
1151 AttributeUsage(AttributeTargets.All)
1153 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
1155 * MonoType.cs: implemented GetConstructors(), GetFields(),
1156 GetMethods(), GetProperties().
1157 * Object.cs: added debugging icall obj_address().
1158 * Type.cs: fixed the binding flags for some Get* methods.
1159 Implemented FindMembers() as calls to the specific GetMember
1162 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
1163 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
1164 should give an exception for n>=s.Length.
1166 2002-03-01 Martin Baulig <martin@gnome.org>
1168 * Array.cs: More argument checking and bug fixing.
1170 2002-03-01 Miguel de Icaza <miguel@ximian.com>
1172 * BitConverter.cs: Indentation match
1174 * AppDomain.cs: Added MonoTODOs to this too.
1176 * Buffer.cs: Added MonoTODOs to this.
1178 2002-03-01 Martin Baulig <martin@gnome.org>
1180 * Array.cs: Added argument checking to all methods where it was missing.
1182 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
1184 * BitConverter.cs: Fixed bugs in ToString methods
1186 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
1188 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
1190 2002-03-01 Nick Drochak <ndrochak@gol.com>
1192 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
1193 ArgumentOutOfRangeException like the docs say.
1195 2002-03-01 Martin Baulig <martin@gnome.org>
1197 * Enum.cs (CompareTo): Correctly override this method from IComparable.
1199 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
1201 2002-02-28 Martin Baulig <martin@gnome.org>
1203 * String.cs: This file now passes the testsuite on Linux :-)
1205 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
1206 make them private and provide C# wrappers which do proper argument checking.
1208 * String.cs (Format): Correctly handle escaped brackets.
1210 * String.cs (_CompareChar): New internal function which compares two chars.
1211 (_Compare): Provide an internal compare method which can do all sorts of
1212 comparision and call it from all the Compare() methods. Also fixed a lot of
1213 bugs here, this code now actually passes the testsuite.
1215 2002-02-28 Duncan Mak <duncan@ximian.com>
1217 * Convert.cs: Added the missing methods. The new class status page
1218 kicks ass, it even found my typos! Woohoo!
1219 (ConvertFromBase): Moved the Exception throwing in here and
1220 removed the other occurances so it's all centralized now.
1221 (ISDBNull): Implemented.
1222 (GetTypeCode): Implemented.
1224 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
1225 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
1226 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
1227 states that a lacking format should be interpreted as "N".
1228 Also added [Serializable] attribute
1229 * TimeSpan.cs: some formatting and added the [Serializable] attribute
1231 2002-02-26 Duncan Mak <duncan@ximian.com>
1233 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
1235 2002-02-26 Martin Baulig <martin@gnome.org>
1237 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
1238 fields of the interncall GetTimeZoneData.
1240 * DateTime.cs: Implemented Parse and fixed a few bugs.
1242 * String.cs (TrimStart): Small fix.
1244 2002-02-26 Martin Baulig <martin@gnome.org>
1246 * DateTime.cs: ParseExact is now fully functional.
1248 * String.cs (TrimEnd): Small fix.
1250 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
1251 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
1252 missing for about six months.
1254 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1256 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
1258 2002-02-26 Martin Baulig <martin@gnome.org>
1260 * DateTime.cs: Miguel already committed this, but there was still a
1261 ChangeLog entry for this missing ....
1262 We're now reusing functionality from TimeSpan, printing dates is
1263 fully implemented, currently working on parsing.
1265 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
1268 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
1270 * MonoType.cs: disable constructor.
1271 * Object.cs: make GetType() an internalcall.
1272 * Type.cs: added correct bindingflags to GetMethods ().
1273 All such calls should be reviewed to use the correct flags.
1275 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
1277 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
1280 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
1282 * Type.cs: implemented IsAssignableFrom.
1284 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
1285 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
1286 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
1287 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
1288 The former is documented by Microsoft. The latter is how they
1289 actually implemented it in mscorlib:-)
1291 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
1293 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
1295 * MonoType.cs: Implemented custom attributes methods.
1298 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
1301 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
1303 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
1305 * MonoType.cs: Implemented custom attributes methods.
1307 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
1309 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
1311 2002-02-19 Duncan Mak <duncan@ximian.com>
1313 * Convert.cs: Finished up the missing methods in Convert. Added a
1314 new private method ConvertFromBase.
1316 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
1318 * String.cs: impl. IConvertible interface
1320 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
1321 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
1323 2002-02-18 Duncan Mak <duncan@ximian.com>
1325 * Convert.cs: Changed from using Type.GetType (string) to just
1326 typeof (). Probably will speed things up a bit?
1328 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
1331 1. Fix for GetUpperBound to return correct values
1332 2. made some Properties virtual
1333 3. Adds IsFixedSize and IsReadOnly properties.
1334 4. changes CreateInstance(Type,int[],int[]) to throw Exception
1335 when third arg is null. InternalCall CreateInstance changed to
1337 5. Fixed array.GetUpperBound at a couple of places
1338 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
1339 7. Added two FIXME's in BinarySearch functions.
1341 2002-02-17 Duncan Mak <duncan@ximian.com>
1343 * TimeZone.cs: Applied the rest of Ajay's patch for
1344 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
1347 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
1348 * Guid.cs: added stub for Guid(string) ctor
1350 2002-02-17 Duncan Mak <duncan@ximian.com>
1352 * Convert.cs: Near-complete implementation of Convert.cs
1354 Added all the To* methods taking (object) and
1355 (object, IFormatProvider) as parameters.
1357 Added [CLSCompliant (false)] attributes to methods dealing with
1360 Added the missing section on converting to and from DateTime. Only
1361 6 missing methods, all marked with MonoTODOs. Will tackle them later.
1363 2002-02-16 Duncan Mak <duncan@ximian.com>
1365 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
1366 make IsDaylightSavingTime (DateTime) call
1367 IsDaylightSavingTime (DateTime, DaylightTime).
1369 Added internal class CurrentTimeZone from Ajay. It needs more work
1370 to fill in the appropriate internal calls.
1372 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
1374 * Type.cs: fix IsClass.
1376 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
1378 * String.cs: fix Trim().
1380 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
1382 * String.cs: fix more off by one errors.
1384 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
1386 * MonoType.cs: fix IsValueTypeImpl.
1387 * Type.cs: fix IsEnum. Implement Equals methods.
1389 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1391 * Int32.cs: implement IConvertible interface.
1393 2002-02-12 Duncan Mak <duncan@ximian.com>
1395 * TimeZone.cs: Implemented and added to CVS.
1397 2002-02-11 Duncan Mak <duncan@ximian.com>
1399 * Convert.cs: Implemented the ChangeType () methods.
1401 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1403 * Array.cs: make Clone() an internal call.
1405 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
1406 * Changed Guid.NewGuid so that it can use both System.Random and
1407 System.Security.Cryptography.RandomNumberGenerator
1409 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
1410 * First version of Guid.NewGuid
1412 2002-02-08 Duncan Mak <duncan@ximian.com>
1414 * RuntimeArgumentHandle.cs: Added to CVS.
1416 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
1418 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
1419 UnhandledExceptionEventHandler.cs: added delegates.
1421 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1423 * MarshalByRefObject.cs: add ToString () method
1424 (apparently needed by nunit).
1425 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
1426 by it in the runtime.
1428 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
1430 * String.cs (Format): implemented
1432 2002-02-07 Duncan Mak <duncan@ximian.com>
1434 * DuplicateWaitObjectException:
1435 * InvalidCastException:
1436 * NotImplementedException:
1437 * NotSupportedException:
1438 * NullReferenceException:
1439 * OutOfMemoryException:
1440 * OverflowException:
1442 * StackOverflowException.cs:
1443 * UnauthorizedAccessException: Added missing constructor used for serialization.
1445 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
1447 * String.cs (System.Compare): bug fix
1449 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
1451 * Enum.cs (Parse, GetHashCode): impl.
1453 2002-02-05 Duncan Mak <duncan@ximian.com>
1455 * DBNull.cs: This is my first crack at the DBNull class. I think I
1456 actually got most of the IConvertible methods right, but I haven't
1457 done the research to test whether or not this is the correct
1458 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
1460 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
1462 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
1464 * Enum.cs: added more functionality (GetName, ToObject, Equals)
1466 2002-01-31 Duncan Mak <duncan@ximian.com>
1468 * InvalidOperationException.cs:
1469 * NotFiniteNumberException.cs:
1470 * ObjectDisposedException.cs:
1471 * TypeInitializationException.cs: Added missing bits for serialization/
1473 * AppDomainUnloadedException.cs:
1474 * ApplicationException.cs:
1475 * ArgumentOutOfRangeException.cs:
1476 * ArithmeticException.cs:
1477 * ArrayTypeMismatchException:
1478 * BadImageFormatException.cs:
1480 * MissingMemberException.cs:
1481 * TypeLoadException.cs: Added missing bits for serialization.
1483 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
1484 * Guid.cs: implemented everything but Guid.NewGuid
1486 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
1488 * _AppDomain.cs: remove ToString() method: it doesn't seem right
1489 to have it in this interface and it screws up the method vtable setup.
1491 2002-01-28 Andrei Zmievski <andrei@php.net>
1493 * Double.cs: implemented IConvertible interface.
1495 2002-01-28 Miguel de Icaza <miguel@ximian.com>
1497 * ArgumentException.cs: Implement serialization constructor.
1498 (GetObjectData): Implement serializer.
1500 * ArgumentNullException.cs: Implement serialization constructor.
1502 * Exception.cs: Implement serialization constructor.
1503 (GetObjectData): Implement serializer.
1505 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1507 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
1509 2002-01-23 Duncan Mak <duncan@ximian.com>
1511 * EntryPointNotFoundException.cs:
1512 * FormatException: Added missing constructor and related bits.
1514 * TypeLoadException: Added missing constructor, methods and properties.
1516 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1518 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
1519 manually getting the enumerator.
1521 (AppDomain.AppDomain): Prime the loaded assemblies with the
1522 assemblies loaded by the runtime in our behalf.
1524 * AppDomainSetup.cs: Remove private keyword, that is the default.
1525 Add a new property DisallowPublisherPolicy.
1527 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
1529 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
1531 * MonoType.cs, Type.cs: many updates, corrected implementation,
1534 2002-01-20 Andrei Zmievski <andrei@php.net>
1537 * Char.cs: implemented IConvertible interface.
1539 * Boolean.cs: use our own ToString() method directly.
1541 2002-01-20 Duncan Mak <duncan@ximian.com>
1543 * Files I commited recently: Fixed indentation style.
1545 2002-01-20 Nick Drochak <ndrochak@gol.com>
1547 * SerializableAttribute.cs: this attrib can be used on enums, structs,
1548 and delegates too. Added the appropriate usage flags.
1550 2002-01-18 Duncan Mak <duncan@ximian.com>
1552 * CharEnumerator.cs: Implemented.
1553 * String.cs (System): Fixed the GetEnumerator () method(s).
1555 * ObsoleteAttribute.cs:
1556 * STAThreadAttribute.cs:
1557 * MTAThreadAttribute.cs:
1558 * ThreadStaticAttribute.cs:
1559 * LoaderOptimizationAttribute.cs:
1560 * PlatformNotSupportedException.cs:
1561 * LoaderOptimization.cs: Added to CVS.
1563 2002-01-18 Duncan Mak <duncan@ximian.com>
1565 * AppDomainUnloadedException.cs:
1566 * MethodAccessException.cs:
1567 * ContextMarshalException.cs:
1568 * CannotUnloadAppDomainException.cs:
1569 * DllNotFoundException.cs:
1570 * EntryPointNotFoundException.cs:
1571 * FieldAccessException.cs:
1572 * TypeUnloadedException.cs:
1573 * MissingFieldException.cs: Added to CVS.
1575 * ApplicationException.cs:
1576 * MemberAccessException.cs:
1577 * MissingMemberException.cs
1578 * MissingMethodException.cs:
1579 * SystemException.cs: Added [Serializable] attribute.
1581 * Exception.cs: Added [Serializable] attribute, made properties
1582 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
1585 * ContextStaticAttribute.cs: Added [Serializable] attribute and
1586 put in the missing constructor.
1588 * Environment.cs: Commented out references to
1589 EnvironmentPermissionAttribute, because they're just stubbed out
1590 right now and has no implementation.
1592 2002-01-16 Andrei Zmievski <andrei@php.net>
1594 * Boolean.cs: implemented IConvertible interface
1596 2002-01-15 Nick Drochak <ndrochak@gol.com>
1598 * ResolveEventArgs.cs: class should derive from EventArgs.
1600 2002-01-14 Miguel de Icaza <miguel@ximian.com>
1602 * String.cs (System): Use DefaultMemberName for the String class.
1604 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
1606 * String.cs: use IndexerName in index char accessor.
1608 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1610 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
1611 * String.c: eliminate 64k+ method calls in search.
1612 * Type.cs: handle byref and array types in ToString ().
1614 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
1616 * Guid.cs: created first version
1618 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
1620 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
1622 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
1624 * MulticastDelegate.cs: add == and != operator stubs.
1625 * String.cs: check for null in == operator.
1626 * Type.cs: use a virtual method to get TypeAttributes.
1628 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
1629 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
1631 2002-01-09 Nick Drochak <ndrochak@gol.com>
1633 * Environment.cs: Comment out Security attribute and put a MonoTODO
1634 there as a reminder. We need mcs magic to handle security attributes in
1637 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
1638 * Created IAppDomainSetup.cs
1640 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
1641 * Created System._AppDomain interface in _AppDomain.cs
1643 2002-01-06 Nick Drochak <ndrochak@gol.com>
1645 * ResolveEventArgs.cs: New File, completely implemented! ;)
1647 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
1649 * Enum.cs: dummy ToString impl.
1650 * String.cs: dummy format implementations to get compiler errors
1652 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
1654 2002-01-05 Ravi Pratap <ravi@ximian.com>
1656 * TODOAttribute.cs : Augment some more; provide two constructors
1657 with support for a comment too.
1659 2002-01-05 Nick Drochak <ndrochak@gol.com>
1661 * Uncommented those MonoTODO's now that Ravi's got
1664 2001-01-04 Ravi Pratap <ravi@ximian.com>
1666 * TODOAttribute.cs : Actually add this time ;-)
1668 Change name to MonoTODO.
1670 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
1672 * String.cs (Trim): Fixed a few logic bugs in the code that
1673 calculated how much to trim off the end of the string.
1675 2001-01-04 Nick Drochak <ndrochak@gol.com>
1677 * Commented out the [TODO] attributes for now. We don't have the
1678 class written. Also changed it to [MonoTODO]
1680 2002-01-04 Ravi Pratap <ravi@ximian.com>
1682 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
1683 our class libraries that are incomplete.
1685 * Array.cs : Apply attribute wherever we find a FIXME which says
1686 we need something to be implemented there.
1690 * MulticastDelegate.cs : Ditto.
1692 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
1693 RuntimeTypeHandle.cs : Ditto.
1695 * String.cs : Ditto.
1699 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
1701 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
1702 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1704 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
1705 Delegate.cs : Ditto.
1707 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
1708 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1710 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1712 * Delegate.cs: add Remove() stub.
1713 * Enum.cs: add ToObject().
1714 * Type.cs: add IsEnum property.
1716 2002-01-03 Kristian Rietveld <kris@gtk.org>
1718 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
1719 DateTime and object.
1721 2001-12-30 Nick Drochak <ndrochak@gol.com>
1723 * Byte.cs (Parse): Add comments to aid in testing.
1725 2001-12-21 Miguel de Icaza <miguel@ximian.com>
1727 * Char.cs (Parse): Implement.
1729 * Byte.cs (Parse): Implement a fast parser.
1731 * SByte.cs (Parse): Implement a fast parser.
1733 * UInt16.cs (Parse): Implement a fast parser.
1735 * Int16.cs (Parse): Implement a fast parser.
1737 * UInt32.cs (Parse): Implement a fast parser.
1739 * Int32.cs (Parse): Implement a fast parser.
1741 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1743 * Array.cs: fix null ref in sort code.
1744 * UInt64.cs: add bare-bones parse.
1746 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1748 * Byte.cs: removed use of Regexes.
1750 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
1752 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
1753 IsDefined(), GetUnderlyingType().
1754 * String.cs: fix one instance of Compare().
1755 * Type.cs: implemented GetProperties(), GetProperty().
1757 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1759 * Array.cs: implement CopyTo ().
1760 * Char.cs: implement ToString ().
1761 * Exception.cs: bugfix.
1762 * Int32.cs: bare-bones Parse ().
1763 * MonoType.cs: query the needed info with an internalcall.
1764 * String.cs: speedups, bugfixes, reduced copies.
1765 * Type.cs: added missing fields. Implemented many of the Is*
1766 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
1767 GetFields(), FindMembers(), ToString().
1769 2001-12-11 Dick Porter <dick@ximian.com>
1771 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
1773 * Console.cs: Use handles rather than casting file descriptors
1775 2001-12-08 Nick Drochak <ndrochak@gol.com>
1777 * Byte.cs (Parse): Start implementation. Parse(string) works, but
1778 now we need to handle other formats
1780 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
1782 * DateTime.cs: added an icall to GetNow()
1784 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
1786 * Double.cs: added the parse method from Bob Smith
1788 2001-11-28 Miguel de Icaza <miguel@ximian.com>
1794 * Int32.cs (Int32.CompareTo): Fix because we can not just
1795 substract the values.
1797 Return possitive value if the object is null.
1799 * Boolean.cs: (Boolean.CompareTo): ditto.
1801 * Int16.cs (Int16.CompareTo): ditto.
1803 * Byte.cs (Byte.CompareTo): ditto.
1805 * SByte.cs (SByte.CompareTo): ditto.
1807 * Char.cs (Char.CompareTo): ditto.
1809 * Decimal.cs (Decimal.CompareTo): ditto.
1811 * Int64.cs (Int64.CompareTo): ditto.
1817 2001-11-28 Nick Drochak <ndrochak@gol.com>
1819 * Byte.cs: Throw NotImplementedException for Parse.
1821 2001-11-27 Derek Holden <dholden@draper.com>
1823 * IntegerFormatter.cs: Formatting of type "Number" was not
1824 using NumberFormatInfo.NumberNegativePattern.
1826 2001-11-26 Dick Porter <dick@ximian.com>
1828 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
1829 the finalise routine any more
1831 2001-11-21 Miguel de Icaza <miguel@ximian.com>
1833 * ApplicationException.cs: internationalize by adding calls to
1834 Locale.GetText (). And throw NotImplementedExceptions on calls
1835 that we have to implement.
1837 * Version.cs: Ditto.
1839 * ValueType.cs: ditto.
1841 * UnauthorizedAccessException.cs: ditto.
1849 * TypeLoadException.cs: ditto
1851 * TypeInitializationException.cs: ditto.
1855 * TimeSpan.cs: ditto.
1857 * SystemException.cs: ditto.
1861 * StackOverflowException.cs: ditto.x
1867 * RuntimeTypeHandle.cs: ditto.
1869 * RuntimeMethodHandle.cs: ditto.
1871 * RuntimeFieldHandle.cs: ditto.
1875 * OutOfMemoryException.cs: ditto.
1877 * OperatingSystem.cs: ditto.
1879 * ObjectDisposedException.cs: ditto.
1881 * NullReferenceException.cs: ditto.
1883 * NotImplementedException.cs: ditto.
1885 * NotFiniteNumberException.cs: ditto.o
1887 * MulticastNotSupportedException.cs: ditto.
1889 * MissingMethodException.cs: ditto.
1891 * MemberAccessException.cs: ditto.
1895 * InvalidCastException.cs: ditto.
1897 * IntegerFormatter.cs: ditto.
1903 * IndexOutOfRangeException.cs: ditto.
1905 * Environment.cs: ditto
1909 * DuplicateWaitObjectException.cs: ditto.
1911 * DivideByZeroException.cs: ditto.
1913 * Delegate.cs: ditto
1915 * DecimalFormatter.cs: ditto.
1917 * Decimal.cs: ditto.
1919 * DateTime.cs: ditto.
1921 * Convert.cs: ditto.
1927 * Boolean.cs: ditto.
1929 * ArrayTypeMismatchException.cs: ditto.
1931 * ArithmeticException.cs: ditto.
1933 * ArgumentOutOfRangeException.cs: ditto.
1935 * ArgumentNullException.cs: ditto.
1937 * Enum.cs: Make it derive from ValueType, add CompareTo method.
1939 * Attribute.cs: Reformat.
1941 2001-11-14 Miguel de Icaza <miguel@ximian.com>
1943 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
1944 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
1945 exception if the value is null too.
1947 * Char.cs (CompareTo): ditto.
1949 * ApplicationException.cs: Added constructor that does serialization.
1951 * ParamArrayAttribute.cs: Define attribute correctly.
1953 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
1955 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
1956 * Array.cs: fix Array.Copy.
1957 * AssemblyLoadEventArgs.cs: rename field.
1958 * CLSCompliantAttribute.cs: use correct name for the class.
1959 * Char.cs: fix IsLetter.
1960 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
1961 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
1962 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
1963 * Delegate.cs: renamed target field to m_target.
1964 * Enum.cs: added missing methods.
1965 * MonoType.cs: add a constructor and some needed properties.
1966 * Object.cs: implement GetType().
1967 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
1969 * Type.cs: add missing methods/properties.
1971 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1973 * AttributeUseage.cs: Should define AttributeUsageAttribute.
1975 * CLSCompliant.cs: Marked with AttributeUsage attribute.
1977 * Decimal.cs: Fixed CLSCompliant attributes.
1979 * Type.cs: changed _impl to internal (needs to be accessable by
1982 (TypeHandle): Marked as abstract, implementation removed.
1984 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
1985 GetMethod): Added stub implementations so NUnit would link against
1988 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
1990 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
1992 2001-11-05 Miguel de Icaza <miguel@ximian.com>
1994 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
1997 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
1999 * String.cs: fix a couple of bugs.
2000 * AppDomain.cs: use new AppBuilder constructor.
2001 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
2002 NotImplementedException.cs, ObjectDisposedException.cs,
2003 UnauthorizedAccessException.cs: add implementation.
2004 * OverflowException.cs: fix class name.
2006 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
2008 * String.cs: Don't use a terminating nil char for our internal
2011 2001-10-27 Miguel de Icaza <miguel@ximian.com>
2013 * Delegate.cs (Delegate.CombineImpl): Implement.
2014 (Delegate.Combine): Implement.
2016 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
2018 (MulticastDelegate.CombineImpl): This was not as trivial as I
2021 * ContextStaticAttribute.cs: Added AttributeUsage to
2022 ContextStaticAttribute.
2024 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
2026 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
2028 * added Decimal.cs * added DecimalFormatter.cs (internal class
2029 used from System.Decimal)
2031 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
2033 * Convert.cs: Added methods for Base64 transforming just used the
2034 existing System.Security.Cryptography.ToBase64Transform, should
2035 be changed to use a stand-alone class, e.g. Base64Encoder
2037 2001-10-10 Derek Holden <dholden@draper.com>
2039 * IntegerFormatter.cs: Added. Implements ToString for all the
2040 integer data types for all the format types.
2042 * Byte.cs: Using IntegerFormatter for ToString's.
2044 * SByte.cs: Using IntegerFormatter for ToString's.
2046 * Int16.cs: Using IntegerFormatter for ToString's.
2048 * Int32.cs: Using IntegerFormatter for ToString's.
2050 * Int64.cs: Using IntegerFormatter for ToString's.
2052 * UInt16.cs: Using IntegerFormatter for ToString's.
2054 * UInt32.cs: Using IntegerFormatter for ToString's.
2056 * UInt64.cs: Using IntegerFormatter for ToString's.
2058 2001-10-07 Miguel de Icaza <miguel@ximian.com>
2060 * Exception.cs: Implement bits of serialization.
2062 * RuntimeFieldHandle.cs: Implement Serialization features.
2064 * Type.cs: Implement TypeHandle property.
2066 2001-09-28 Dick Porter <dick@ximian.com>
2068 * LocalDataStoreSlot.cs: Implemented
2070 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
2072 * String.cs: fix off-by-one error in Trim().
2074 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
2076 * Type.cs: added GetType () method.
2078 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
2080 * MissingMethodException.cs, MissingMemberException.cs,
2081 MemberAccessException.cs: added.
2083 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
2085 * String.cs: don't access the string array out of bounds in
2086 LastIndexOf. * Type.cs: fix return type of the Assembly property.
2088 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
2090 * String.cs: make Intern and IsIntern internalcalls.
2092 2001-09-13 Dick Porter <dick@ximian.com>
2094 * Type.cs: Added a stub for the IsValueType property.
2096 * SystemException.cs (System): Added the other constructor, so
2097 that System.Threading exceptions can inherit it.
2099 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
2101 * String.cs (TrimStart): Don't keep looping through the trimchars
2102 once we've found a match.
2103 (TrimEnd): Same here.
2104 (Trim): And finally here.
2106 2001-09-07 Ravi Pratap <ravi@ximian.com>
2108 * Char.cs (IsLetterOrDigit): Implement.
2109 (IsLower): Implement, but we need to be Unicode aware.
2110 (IsNumber): Implement.
2111 (IsPunctuation): Implement.
2112 (IsWhiteSpace): Implement.
2113 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
2114 (ToLower): Same here.
2116 2001-09-04 Miguel de Icaza <miguel@ximian.com>
2118 * Object.cs: Shortcut, if (a == b) then return true.
2120 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
2122 * Delegate.cs: we need a pointer to the method thunk in
2123 the delegate object.
2125 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
2127 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
2129 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
2131 * String.cs (System): Don't mix uint and int.
2133 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
2135 * String.cs (BoyerMoore): Modified to not use pointers and to instead
2137 (IndexOf): Use BoyerMoore.
2139 2001-09-02 Miguel de Icaza <miguel@ximian.com>
2141 * All over: Use the autogenerated enumerations from the ECMA
2142 documentation that Sergey wrote.
2144 * PlatformID.cs: Add Unix definition.
2146 * OperatingSystem.cs: Use Unix instead of Linux here.
2148 * MarshalByRefObject.cs: Mark class as [Serializable].
2150 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
2152 * Console.cs: impl. (write only)
2153 implemented the stdin stuff
2155 * Int32.cs: impl. real op_Equal
2157 2001-08-24 Miguel de Icaza <miguel@ximian.com>
2159 * (common.src): Removed IAsyncResult as it is not on CVS yet.
2161 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
2162 as it breaks the build.
2164 2001-08-23 Michael Lambert <michaellambert@email.com>
2166 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
2167 added CLSCompliant attribute
2169 * IAsyncResult.cs: Added
2171 * common.src: Added IAsyncResult.cs
2173 2001-08-23 Michael Lambert <michaellambert@email.com>
2177 * common.src: Added UIntPtr.cs
2179 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
2181 * Attribute.cs: uncomment some code to make it compile again
2183 * mono.src: removed duplicated Attribute.cs
2185 2001-08-16 Nick Drochak <ndrochak@gol.com>
2187 * Attribute.cs: implemented all methods except GetHashCode()
2189 * common.src: added Attribute.cs so it would compile in
2191 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
2193 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
2194 marked it as InternalCall
2196 * common.src: removed UriFormatException.cs because the file is
2199 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
2200 * Char.cs: replaced byte with char
2202 * Array.cs: make it work with the mono interpreter
2204 2001-08-06 Miguel de Icaza <miguel@ximian.com>
2206 * Version.cs: Make the class sealed
2208 2001-08-08 Bob Smith <bob@thestuff.net>
2210 * Random.cs: Many compile fixes.
2211 * Random.cs: I read a bad spec. Class updated to match real spec.
2213 2001-08-06 Miguel de Icaza <miguel@ximian.com>
2215 * IntPtr.cs: Added and Completed implementation.
2217 * Uri.cs: Add a note.
2219 2001-08-06 Bob Smith <bob@thestuff.net>
2221 * Random.cs: Compile fix. Needs more testing.
2223 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
2225 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
2226 into account IPv6 addresses, url encoding needs to be implemented, and
2227 various minor methods need to be written, but this is a decent start.
2229 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
2231 * common.src: added Object.cs
2233 * mono.src: added ValueType.cs
2235 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
2237 * Math.cs: replaced libc with libm
2239 2001-08-02 Bob Smith <bob@thestuff.net>
2241 * Random.cs: Implemented. Needs testing.
2243 2001-08-02 Miguel de Icaza <miguel@ximian.com>
2245 * IServiceProvider.cs, EventHandler.cs: New files.
2247 2001-08-02 Marcel Narings <marcel@narings.nl>
2249 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
2250 Added exceptions. Added IConvertible. Still needs some platform
2251 dependend stuff, the Parse and ToString members
2253 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
2255 * Type.cs (GetTypeFromHandle): added placeholder
2257 2001-07-24 Derek Holden <dholden@draper.com>
2259 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
2260 which is really an IConvertible defined method.
2262 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
2263 behavior, still need to do the main Parse and ToString.
2265 * Char.cs: Added a bunch of missing ECMA methods. Commented a
2266 specification discrepency. Still didn't any unicode stuff, though
2267 every IsFoo(char c) method has an IsFoo(string, index)
2268 counterpart, added wrappers for those.
2270 * Convert.cs: Fixed NaN/Inf checking and double/float
2271 rounding. Added ToType for IConvertible classes
2273 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
2274 IsNaN methods. Changed Inf/NaN internals.
2276 * IConvertible.cs: Added comments for using
2277 Convert.ToType. Changed return values to draft base values.
2279 * Int16.cs: Added a missing Parse statement. Put in behavior for
2280 overloaded ToString and Parse methods.
2282 * Int32.cs: Added a missing Parse statement. Put in behavior for
2283 overloaded ToString and Parse methods.
2285 * Int64.cs: Added a missing Parse statement. Put in behavior for
2286 overloaded ToString and Parse methods.
2288 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
2289 methods. Changed Inf/NaN internals.
2291 * SByte.cs: Added a missing Parse method. Put in Parse and
2292 ToString behavior, still need to do the main Parse and ToString.
2294 * UInt16.cs: Added a missing Parse statement. Put in behavior for
2295 overloaded ToString and Parse methods.
2297 * UInt32.cs: Added a missing Parse statement. Put in behavior for
2298 overloaded ToString and Parse methods.
2300 * UInt64.cs: Added a missing Parse statement. Put in behavior for
2301 overloaded ToString and Parse methods.
2303 2001-07-20 Miguel de Icaza <miguel@ximian.com>
2305 * MulticastDelegate.cs: New File.
2307 * Delegate.cs: New file.
2309 * Enum.cs: New file.
2311 * Attribute.cs: New file.
2313 * Type.cs: New file.
2315 * ParamArrayAttribute.cs: New file.
2317 * RuntimeTypeHandle.cs: New file.
2319 * MulticastDelegate.cs: Added.
2321 * DateTime.cs: Added
2323 * Delegate.cs: Added
2325 2001-07-18 Michael Lambert <michaellambert@email.com>
2327 * AttributeTargets.cs: Add.
2329 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
2331 * Char.cs: Made ToUpper and ToLower public methods.
2333 * String.cs: Lots and lots of compile fixes - just need to write
2334 DateTime.cs and this should build completely now.
2336 2001-07-19 Bob Smith (bob@thestuff.net)
2338 * Math.cs: Implemented.
2340 2001-07-19 Miguel de Icaza <miguel@ximian.com>
2342 * String.cs: Removed tolower and toupper.
2344 * Char.cs: Moved ToLower and ToUpper from string to here.
2346 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
2347 instead of comparing the value to Nan.
2349 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
2351 * TimeSpan.cs: New implementation.
2353 2001-07-18 Scott Sanders <scott@stonecobra.com>
2355 * UriFormatExcpetion.cs: Add - 85% complete
2357 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
2359 * String.cs (IndexOf): Slight optimization that allows skipping
2360 over a few chars here and there. This isn't as good as using my
2361 Boyer-Moore implementation, however, Boyer-Moore is only really
2362 good for long strings (I plan on making the code decide which
2363 string search algorithm it should use on-the-fly at some point).
2364 (LastIndexOf): Fix to work correctly.
2365 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
2367 2001-07-16 Michael Lambert <michaellambert@email.com>
2369 * EventArgs.cs: Add.
2371 2001-07-16 Miguel de Icaza <miguel@ximian.com>
2373 * Version.cs: Remove my buggy comment.
2375 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
2377 * String.cs: Spelling error of IComparable, object's
2378 MemberwiseClone cannot be overridden. Made indexer valid for now,
2379 but not sure what to do about this in the long run. Seems to be a
2380 couple bugs in csc.exe having to do with multiple pointer defs in
2381 the same statement, and returning subclasses of a class in the
2382 return type of an interface function implementation. Also moved
2383 operators inside of class definition.
2385 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2387 * String.cs: A tom of compile fixes, although we still don't compile.
2389 * IConvertible.cs: The To*Int64() methods return *Int64's, not
2390 *Int32's. Also, it's ToDateTime() not ToDateType().
2392 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2394 * String.cs: Apparently I needed to at least write stubs for the
2395 IConvertible interfaces. *sigh*
2397 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2399 * String.cs: Many logic/other fixes and better usage of the
2401 (tolower): New convenience method to help condense code.
2402 (toupper): Another new helper method.
2403 (Compare): Use the new helper methods.
2404 (ToLower): use tolower().
2405 (ToUpper): use toupper().
2406 (LastIndexOfAny): Implemented.
2407 (BoyerMoore): New private helper method that implements a modified
2408 version of the Boyer-Moore search algorithm. Noothing uses it yet
2409 as I'm not 100% sure it even works properly with unicode strings
2410 not to mention it uses a huge lookup-table :-)
2411 (Split): Implemented.
2413 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
2415 * TODO: Added things that need to be finished in System.String
2417 * String.cs: New source file implementing the System.String class
2419 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
2421 * TypeCode.cs: UInt64 was UInt63.
2423 * Object.cs: Fixed a numer of compiler errors.
2425 * Array.cs: Fixed some compiler errors.
2427 * IComparable.cs: Fixed some compiler errors.
2429 * ICloneable.cs: Fixed some compiler errors.
2431 * IConvertible.cs: Fixed some compiler errors.
2433 * IFormattable.cs: Fixed a compiler error.
2435 * IFormatProvider.cs: Fixed a compiler error.
2437 * IDisposable.cs: Fixed a compiler error.
2439 * IFormatProvider.cs: Added public accesability type to
2442 * Exception.cs: Added a using statement to remove compile time
2445 * ApplicationException.cs: Removed a ; that was causing a compiler
2448 * Int16.cs: Fixed some compiler errors.
2450 * Int32.cs: Fixed some compiler errors.
2452 * Int64.cs: Fixed some compiler errors.
2454 * SystemException.cs: Fixed a compiler error.
2456 * UInt16.cs: Fixed some compiler errors.
2458 * UInt32.cs: Fixed some compiler errors.
2460 * UInt64.cs: Fixed some compiler errors.
2462 * Void.cs: Fixed a compiler error.
2464 2001-07-12 Joe Shaw <joe@ximian.com>
2466 * Array.cs: Fix backwards parameters to Array.SetValue()
2468 (BinarySearch): Fix backward logic surrounding whether to call
2469 value.CompareTo or comparer.Compare.
2470 (LastIndexOf): Stop being stupid. I am so not used to strongly
2472 (Sort): Implement a quicksort.
2474 2001-07-11 Joe Shaw <joe@ximian.com>
2476 * Array.cs: Change all instances of trying to access an array with
2477 the index operator to calls to GetValue and SetValue, and add
2478 InternalGetValue and InternalSetValue which are internal calls
2479 into the runtime. Ew.
2481 2001-07-10 Joe Shaw <joe@ximian.com>
2483 * Array.cs: Implemented everything but Sort().
2485 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
2487 * Object.cs (Object::Equals): Object variable name is `o'.
2489 2001-07-06 Joe Shaw <joe@ximian.com>
2491 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
2492 Implement the IComparable and IFormattable interfaces. Fix a typo
2495 * ApplicationException.cs, ArgumentException.cs,
2496 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
2497 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
2498 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
2499 ExecutionEngineException.cs, FormatException.cs,
2500 IndexOutOfRangeException.cs, InvalidCastException.cs,
2501 InvalidOperationException.cs, InvalidProgramException.cs,
2502 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
2503 NotSupportedException.cs, NullReferenceException.cs,
2504 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
2505 StackOverflowException.cs, SystemException.cs,
2506 TypeInitializationException.cs: Added all of the exceptions
2507 specified by the language spec. Mmmm... bloat.
2509 2001-07-06 Miguel de Icaza <miguel@ximian.com>
2511 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
2512 do a generic routine all of these guys use.
2514 * Int16.cs: identified missing methods.
2516 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
2518 2001-06-26 Miguel de Icaza <miguel@ximian.com>
2520 * TypeCode.cs: Implement
2522 * Void.cs: Implement.
2524 * TODO: Add file to keep track of pending tasks.
2526 * Object.cs, ValueType.cs: Implement.