1 2002-04-26 Duncan Mak <duncan@ximian.com>
3 * MissingMemberException.cs: Made the message variable 'protected'
4 instead of 'private', so that we can see it in
5 MissingMethodException and MissingFieldException.
7 * MissingFieldException.cs:
8 * MissingMethodException.cs: Added missing (string, string)
9 constructor, and also the Message property.
11 2002-04-26 Martin Baulig <martin@gnome.org>
13 * Enum.cs: Implemented the IConvertible methods.
15 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
17 * SByte.cs: little change in Parse (string) to avoid incorrect
18 OverflowException thrown (reported by nickd).
20 2002-04-22 Miguel de Icaza <miguel@ximian.com>
22 * ValueType.cs: Add Serializable attribute.
24 * String.cs: ifdef-out out the __arglist Concat function until I
25 add support for that to mcs.
27 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
29 * AppDomain.cs (GetValue): usage of the correct icall (bug)
31 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
33 * GC.cs: implement most of the methods as icalls.
35 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
37 * DecimalFormatter.cs (ToString): return correct value when the
40 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
42 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
43 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
45 2002-04-24 Nick Drochak <ndrochak@gol.com>
47 * Double.cs (Parse): Handle case where there are no digits before the
48 decimal point, such as ".1".
50 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
55 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
57 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
59 * String.cs (Split): fixed invalid split of count 0 and 1.
61 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
63 * String.cs (LastIndexOf): fixed argument checking.
64 * String.cs (Equals): made internal for performace.
66 2002-04-23 Nick Drochak <ndrochak@gol.com>
68 * String.cs (Join): check argument and throw exception if needed
70 2002-04-23 Nick Drochak <ndrochak@gol.com>
72 * String.cs (StartsWith): check argument and throw exception if needed
74 2002-04-22 Nick Drochak <ndrochak@gol.com>
76 * String.cs (IndexOfAny): check arguments and throw exceptions as
77 neccessary. ALso remove some debug WriteLines.
79 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
81 * String.cs: use internal constructors
84 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
86 * MonoType.cs: make GetElementType its own icall.
88 2002-04-18 Nick Drochak <ndrochak@gol.com>
90 * String.cs: Modified file. Re-add methods needed by the unit tests.
92 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
94 * String.cs: some code speedups and restored GetTypeCode().
96 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
98 * String.cs: New implementation using internal calls.
100 2002-04-16 Nick Drochak <ndrochak@gol.com>
102 * DecimalFormatter.cs: Trim off excess null characters from the string
103 that decimal2string gives back.
105 2002-04-16 Nick Drochak <ndrochak@gol.com>
107 * String.cs (SubString): revert my change. I can't reproduce the
110 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
112 * Attribute.cs: added GetHashCode and Equals.
114 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
116 * Enum.cs: little improvements to Format ().
118 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
120 * String.cs: internalcall GetHashCode().
121 * Array.cS: optimize access to elements.
123 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
125 * String.cs: make IndexOfAny() use an internalcall.
127 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
132 * UInt64.cs: fixed error when testing for validity of flags.
134 2002-04-11 Nick Drochak <ndrochak@gol.com>
136 * Double.cs: Use an internal call for ToString(). This is just a simple
137 implementation to get away from throwing a NotImplementedException.
139 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
144 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
148 * Int64.cs: throw an OverFlowException when parsing a string
149 containing a dot followed by any non '0' number.
151 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
156 * UInt64.cs: added complex Parse ().
158 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
163 * Int64.cs: added complex Parse ().
165 2002-04-09 Nick Drochak <ndrochak@gol.com>
167 * Array.cs (BinarySearch): Add checks on paramters before using them
168 and throw exceptions as needed.
170 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
171 "G" format to "F" if so.
173 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
175 * MonoCustomAttrs.cs: return arrays of type Attribute[]
178 2002/04/09 Nick Drochak <ndrochak@gol.com>
180 * String.cs (Substring): Copy only non-null characters to the new
183 2002-04-09 Nick Drochak <ndrochak@gol.com>
185 * IntegerFormatter.cs: Don't use a format character to indicate a
186 custom format was passed in. It was using 'z' to indicate a custom
187 format, but really it should throw a format exception if the user
188 tries to use "z" as the format string. Now it does.
190 * Activator.cs: New File.
192 2002-04-08 Nick Drochak <ndrochak@gol.com>
194 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
195 applied to an enum. Need to handle the different possible integer
196 types of an enum somehow. Can anyone say generics?
198 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
200 * Convert.cs: switched the To*(object) methods to use
201 IConvertible directly instead of calling ChangeType
203 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
205 * ValueType.cs: make Equals() an internalcall.
207 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
209 * Type.cs: also look for nested types in FindMembers.
210 * MonoType.cs: make GetNestedTypes() an internalcall.
212 2002-04-05 Nick Drochak <ndrochak@gol.com>
214 * Enum.cs (Parse): Handle different underlying types.
216 2002/04/04 Nick Drochak <ndrochak@gol.com>
218 * Enum.cs (IsDefined): Throw exception when type of value to look for
219 is not the correct one. Attempt to have it work with string values
220 too, but not sure if the unit tests are getting that far yet.
222 2002-04-04 Nick Drochak <ndrochak@gol.com>
224 * Decimal.cs: Fix a couple of typos.
226 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
228 * Enum.cs: the values array is of the enum and not of the underlying
229 type. Updates and some bug fixes.
230 * MonoType.cs: make the internalcall return FullName instead of the
231 assembly qualified name.
232 * Type.cs: make ToString () simply return FullName.
234 2002-04-03 Nick Drochak <ndrochak@gol.com>
236 * Type.cs (GetTypeCode): provide some of the implementation for this
237 method. It's still too simplistic to be considered complete.
239 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
241 * Object.cs: fixed FieldGetter/FieldSetter signature
243 2002-04-02 Nick Drochak <ndrochak@gol.com>
245 * Environment.cs: add MonoTODO's on parts that should have it.
247 2002-04-01 Nick Drochak <ndrochak@gol.com>
249 * Enum.cs: added reality checks (check parameters to most methods that
252 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
254 * Object.cs: added FieldGetter/FieldSetter
256 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
258 * IntegerFormatter.cs: fixed initialization error in static
261 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
263 * Delegate.cs: added new field to store a trampoline function
265 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
267 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
268 make custom format strings work (not fully functional yet).
270 2002/03/28 Nick Drochak <ndrochak@gol.com>
272 * IntegerFormatter.cs: Change class from internal to public. Add
273 necessary [CLSCompliant(false)] attributes.
275 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
276 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
279 2002-03-28 Nick Drochak <ndrochak@gol.com>
281 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
283 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
285 * Console.cs: Modified to get std handles from MonoIO.
286 * Environment.cs: removed PAL dependencies.
288 2002-03-25 Miguel de Icaza <miguel@ximian.com>
290 * IntPtr.cs: Temporary work-around until I fix the assembly
293 * String.cs (System): Removed enumeration, because it is pretty
294 hard to support enumerations in /nostdlib mode for the core types.
296 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
298 * Array.cs: move error handling in the catch block.
299 * MulticastDelegate.cs: remove == and != operators that were
300 removed with the delegate changes (when you add stuff, please do not
301 remove existing functionality!).
302 * Type.cs: if a property is not found in a type, search for it
303 in the parent types, too.
305 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
307 * Math.cs: changed to use icall instead of PAL.
309 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
311 * Double.cs: added check for NaN (Bug [22082])
313 2002-03-19 Nick Drochak <ndrochak@gol.com>
315 * Enum.cs (Equals): check for null and throw if it is.
316 * Enum.cs (Format): check for null parameters and throw if necessary.
317 This method still needs more argument checking.
319 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
321 * Enum.cs (Equals): check if Enums are of the same type
323 2002-03-18 Nick Drochak <ndrochak@gol.com>
325 * Double.cs: Explicitly handle comparisons in CompareTo() for
326 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
328 * Enum.cs(CompareTo): Check types of values before trying to compare.
329 Throw exceptions if types are invalid or don't match.
331 2002-03-14 Miguel de Icaza <miguel@ximian.com>
333 * Array.cs: Add some extra debugging information.
335 2002-03-15 Nick Drochak <ndrochak@gol.com>
337 * Array.cs: Added IList and IEnumerable.
339 2002-03-14 Miguel de Icaza <miguel@ximian.com>
341 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
344 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
346 * Delegate.cs (Equals): also compare method_ptr
347 (GetHashCode): returm method_ptr as hash
349 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
350 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
351 such as 42.ToString("0000000"), as these are (currently) not implemented
352 in System.IntegerFormatter. TimeSpan luckely can do with Standard
353 Numeric Format Strings, such as 42.ToString("D7").
355 2002-03-12 Duncan Mak <duncan@ximian.com>
357 * FieldAccessException.cs:
358 * MethodAccessException.cs:
359 * PlatformNotSupportedException.cs: Inherit from
360 MemberAccessException, not SystemException.
362 * ObsoleteAttribute.cs: Made Message and IsError properties
365 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
367 * GC.cs: make SuppressFinalize() a nop.
368 * Delegate.cs: fix == operator.
370 2002-03-13 Nick Drochak <ndrochak@gol.com>
372 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
373 runtime that goes with this patch.
375 2002-03-10 Martin Baulig <martin@gnome.org>
377 * Int32.cs (Parse): Correctly parse negative numbers.
379 2002-03-08 Martin Baulig <martin@gnome.org>
381 * String.cs (Split): Really fix it this time. Also adding several new
382 testcase to the testsuite.
384 2002-03-08 Martin Baulig <martin@gnome.org>
386 * Array.cs (Copy): Optimized: removed duplicate null check, removed
387 two duplicate GetLowerBound() calls and one duplicate IsValueType.
389 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
391 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
392 * String.cs: use the dumb code for IndexOf(string): this is worth
393 15-20 % speedup in mcs compile with mint.
395 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
397 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
399 2002-03-07 Martin Baulig <martin@gnome.org>
401 * String.cs (Join): Throw an ArgumentNullException.
402 (LastIndexOf (string,int,int)): This method does a backwards search,
403 so startIndex points to the end of value, not to its beginning. Don't
404 throw an exception if startIndex equals this.Length. Always return -1
405 if startIndex is smaller than the length of value.
406 (Replace (string,string)): Replace all occurences of oldValue.
407 If newValue is null, all occurences of oldValue are to be removed.
408 (Split (char[],int)): Return an empty array if maxCount is zero, throw
409 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
410 elements, not maxValue+1.
412 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
414 * MonoType.cs: make GetEvents() an internal call.
415 * MulticastDelegate.cs: copy the passed in array.
417 2002-03-06 Martin Baulig <martin@gnome.org>
419 * Array.cs (Copy): Use FastCopy when appropriate and do correct
422 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
423 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
424 some of the failures found be new tests (see ChangeLog in
425 Test/System). Comments added to this method, based on
426 the representation invariant of this class, that (try to) explain
427 why it now should be correct.
429 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
431 * Int64.cs (Parse): bug fix for max. negative value.
433 2002-03-07 Nick Drochak <ndrochak@gol.com>
435 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
436 I need to understand what the difference between the attribute and
439 2002-03-06 Martin Baulig <martin@gnome.org>
441 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
442 an InvalidCastException if the widening conversion failed. See
445 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
446 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
449 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
450 (Copy): Actually allow copying multi-dimensional arrays.
452 2002-03-05 Duncan Mak <duncan@ximian.com>
455 (DBNull) Added the missing field.
456 (IsDBNull) Fixed typo.
457 (ToByte (string, int)) Implemented.
458 (ToString (byte, int)) Implemented.
460 (BuildConvertedString) internal functions used for converting values to
468 * UInt32.cs: Implemented the IConvertible interface.
470 * CharEnumerator.cs: Renamed to variables to be clearer and
471 changed some of the tests to conform to the 1.0 spec.
473 2002-03-06 Martin Baulig <martin@gnome.org>
475 * Array.cs (Copy): Calculate absolute array position here and use
476 GetValueImpl() and SetValueImpl() with that position. We can now
477 copy multi-dimensional arrays.
478 (CopyTo): Small bug fix.
480 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
482 * Version.cs: CompareTo changed according the LAMESPEC discovered by
483 Nick (See VersionTest.cs).
484 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
485 error comparing the current position (idx) against the length of the
486 string iterated and it set idx to an unrecognized special value (-2)
488 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
490 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
491 to do this dirty work, but someone has to do it (and I need it to pass
492 the "200 sample tests compiled on linux" mark).
494 2002-03-06 Nick Drochak <ndrochak@gol.com>
497 * DecimalFormatter.cs
504 * RuntimeMethodHandle.cs
505 * RuntimeTypeHandle.cs
508 Add [MonoTODO]'s to places where we currently throw a
509 NotImplementedException.
511 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
513 * Int16.cs (Parse): do not overflow on max negative value
515 * Int32.cs (Parse): do not overflow on max negative value
517 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
519 * Type.cs: fixed IsClass.
520 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
521 IsByRefImpl. Added GetInterfaces().
522 * IServiceProvider.cs: compilation fix.
524 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
526 * Array.cs: allow copying an empty array to an empty array.
528 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
530 * String.cs: fixed LastIndexOf (string) to do a bit of argument
533 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
534 * Version.cs: many fixes to failures found by the newly created
535 test cases for this class. Specifically, the CompareTo member
536 returned wrong values due to the use of Int32.MaxValue as a special
537 value indicating an "undefined" version component. Also implemented the
538 missing operators (==, <, >, etc.), one missing constructor and
539 and some exception throwing.
541 2002-03-04 Nick Drochak <ndrochak@gol.com>
543 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
544 * Attribute.cs: Add missing attributes: Serializable and
545 AttributeUsage(AttributeTargets.All)
547 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
549 * MonoType.cs: implemented GetConstructors(), GetFields(),
550 GetMethods(), GetProperties().
551 * Object.cs: added debugging icall obj_address().
552 * Type.cs: fixed the binding flags for some Get* methods.
553 Implemented FindMembers() as calls to the specific GetMember
556 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
557 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
558 should give an exception for n>=s.Length.
560 2002-03-01 Martin Baulig <martin@gnome.org>
562 * Array.cs: More argument checking and bug fixing.
564 2002-03-01 Miguel de Icaza <miguel@ximian.com>
566 * BitConverter.cs: Indentation match
568 * AppDomain.cs: Added MonoTODOs to this too.
570 * Buffer.cs: Added MonoTODOs to this.
572 2002-03-01 Martin Baulig <martin@gnome.org>
574 * Array.cs: Added argument checking to all methods where it was missing.
576 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
578 * BitConverter.cs: Fixed bugs in ToString methods
580 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
582 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
584 2002-03-01 Nick Drochak <ndrochak@gol.com>
586 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
587 ArgumentOutOfRangeException like the docs say.
589 2002-03-01 Martin Baulig <martin@gnome.org>
591 * Enum.cs (CompareTo): Correctly override this method from IComparable.
593 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
595 2002-02-28 Martin Baulig <martin@gnome.org>
597 * String.cs: This file now passes the testsuite on Linux :-)
599 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
600 make them private and provide C# wrappers which do proper argument checking.
602 * String.cs (Format): Correctly handle escaped brackets.
604 * String.cs (_CompareChar): New internal function which compares two chars.
605 (_Compare): Provide an internal compare method which can do all sorts of
606 comparision and call it from all the Compare() methods. Also fixed a lot of
607 bugs here, this code now actually passes the testsuite.
609 2002-02-28 Duncan Mak <duncan@ximian.com>
611 * Convert.cs: Added the missing methods. The new class status page
612 kicks ass, it even found my typos! Woohoo!
613 (ConvertFromBase): Moved the Exception throwing in here and
614 removed the other occurances so it's all centralized now.
615 (ISDBNull): Implemented.
616 (GetTypeCode): Implemented.
618 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
619 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
620 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
621 states that a lacking format should be interpreted as "N".
622 Also added [Serializable] attribute
623 * TimeSpan.cs: some formatting and added the [Serializable] attribute
625 2002-02-26 Duncan Mak <duncan@ximian.com>
627 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
629 2002-02-26 Martin Baulig <martin@gnome.org>
631 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
632 fields of the interncall GetTimeZoneData.
634 * DateTime.cs: Implemented Parse and fixed a few bugs.
636 * String.cs (TrimStart): Small fix.
638 2002-02-26 Martin Baulig <martin@gnome.org>
640 * DateTime.cs: ParseExact is now fully functional.
642 * String.cs (TrimEnd): Small fix.
644 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
645 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
646 missing for about six months.
648 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
650 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
652 2002-02-26 Martin Baulig <martin@gnome.org>
654 * DateTime.cs: Miguel already committed this, but there was still a
655 ChangeLog entry for this missing ....
656 We're now reusing functionality from TimeSpan, printing dates is
657 fully implemented, currently working on parsing.
659 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
662 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
664 * MonoType.cs: disable constructor.
665 * Object.cs: make GetType() an internalcall.
666 * Type.cs: added correct bindingflags to GetMethods ().
667 All such calls should be reviewed to use the correct flags.
669 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
671 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
674 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
676 * Type.cs: implemented IsAssignableFrom.
678 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
679 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
680 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
681 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
682 The former is documented by Microsoft. The latter is how they
683 actually implemented it in mscorlib:-)
685 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
687 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
689 * MonoType.cs: Implemented custom attributes methods.
692 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
695 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
697 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
699 * MonoType.cs: Implemented custom attributes methods.
701 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
703 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
705 2002-02-19 Duncan Mak <duncan@ximian.com>
707 * Convert.cs: Finished up the missing methods in Convert. Added a
708 new private method ConvertFromBase.
710 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
712 * String.cs: impl. IConvertible interface
714 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
715 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
717 2002-02-18 Duncan Mak <duncan@ximian.com>
719 * Convert.cs: Changed from using Type.GetType (string) to just
720 typeof (). Probably will speed things up a bit?
722 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
725 1. Fix for GetUpperBound to return correct values
726 2. made some Properties virtual
727 3. Adds IsFixedSize and IsReadOnly properties.
728 4. changes CreateInstance(Type,int[],int[]) to throw Exception
729 when third arg is null. InternalCall CreateInstance changed to
731 5. Fixed array.GetUpperBound at a couple of places
732 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
733 7. Added two FIXME's in BinarySearch functions.
735 2002-02-17 Duncan Mak <duncan@ximian.com>
737 * TimeZone.cs: Applied the rest of Ajay's patch for
738 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
741 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
742 * Guid.cs: added stub for Guid(string) ctor
744 2002-02-17 Duncan Mak <duncan@ximian.com>
746 * Convert.cs: Near-complete implementation of Convert.cs
748 Added all the To* methods taking (object) and
749 (object, IFormatProvider) as parameters.
751 Added [CLSCompliant (false)] attributes to methods dealing with
754 Added the missing section on converting to and from DateTime. Only
755 6 missing methods, all marked with MonoTODOs. Will tackle them later.
757 2002-02-16 Duncan Mak <duncan@ximian.com>
759 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
760 make IsDaylightSavingTime (DateTime) call
761 IsDaylightSavingTime (DateTime, DaylightTime).
763 Added internal class CurrentTimeZone from Ajay. It needs more work
764 to fill in the appropriate internal calls.
766 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
768 * Type.cs: fix IsClass.
770 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
772 * String.cs: fix Trim().
774 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
776 * String.cs: fix more off by one errors.
778 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
780 * MonoType.cs: fix IsValueTypeImpl.
781 * Type.cs: fix IsEnum. Implement Equals methods.
783 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
785 * Int32.cs: implement IConvertible interface.
787 2002-02-12 Duncan Mak <duncan@ximian.com>
789 * TimeZone.cs: Implemented and added to CVS.
791 2002-02-11 Duncan Mak <duncan@ximian.com>
793 * Convert.cs: Implemented the ChangeType () methods.
795 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
797 * Array.cs: make Clone() an internal call.
799 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
800 * Changed Guid.NewGuid so that it can use both System.Random and
801 System.Security.Cryptography.RandomNumberGenerator
803 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
804 * First version of Guid.NewGuid
806 2002-02-08 Duncan Mak <duncan@ximian.com>
808 * RuntimeArgumentHandle.cs: Added to CVS.
810 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
812 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
813 UnhandledExceptionEventHandler.cs: added delegates.
815 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
817 * MarshalByRefObject.cs: add ToString () method
818 (apparently needed by nunit).
819 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
820 by it in the runtime.
822 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
824 * String.cs (Format): implemented
826 2002-02-07 Duncan Mak <duncan@ximian.com>
828 * DuplicateWaitObjectException:
829 * InvalidCastException:
830 * NotImplementedException:
831 * NotSupportedException:
832 * NullReferenceException:
833 * OutOfMemoryException:
836 * StackOverflowException.cs:
837 * UnauthorizedAccessException: Added missing constructor used for serialization.
839 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
841 * String.cs (System.Compare): bug fix
843 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
845 * Enum.cs (Parse, GetHashCode): impl.
847 2002-02-05 Duncan Mak <duncan@ximian.com>
849 * DBNull.cs: This is my first crack at the DBNull class. I think I
850 actually got most of the IConvertible methods right, but I haven't
851 done the research to test whether or not this is the correct
852 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
854 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
856 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
858 * Enum.cs: added more functionality (GetName, ToObject, Equals)
860 2002-01-31 Duncan Mak <duncan@ximian.com>
862 * InvalidOperationException.cs:
863 * NotFiniteNumberException.cs:
864 * ObjectDisposedException.cs:
865 * TypeInitializationException.cs: Added missing bits for serialization/
867 * AppDomainUnloadedException.cs:
868 * ApplicationException.cs:
869 * ArgumentOutOfRangeException.cs:
870 * ArithmeticException.cs:
871 * ArrayTypeMismatchException:
872 * BadImageFormatException.cs:
874 * MissingMemberException.cs:
875 * TypeLoadException.cs: Added missing bits for serialization.
877 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
878 * Guid.cs: implemented everything but Guid.NewGuid
880 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
882 * _AppDomain.cs: remove ToString() method: it doesn't seem right
883 to have it in this interface and it screws up the method vtable setup.
885 2002-01-28 Andrei Zmievski <andrei@php.net>
887 * Double.cs: implemented IConvertible interface.
889 2002-01-28 Miguel de Icaza <miguel@ximian.com>
891 * ArgumentException.cs: Implement serialization constructor.
892 (GetObjectData): Implement serializer.
894 * ArgumentNullException.cs: Implement serialization constructor.
896 * Exception.cs: Implement serialization constructor.
897 (GetObjectData): Implement serializer.
899 2002-01-23 Miguel de Icaza <miguel@ximian.com>
901 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
903 2002-01-23 Duncan Mak <duncan@ximian.com>
905 * EntryPointNotFoundException.cs:
906 * FormatException: Added missing constructor and related bits.
908 * TypeLoadException: Added missing constructor, methods and properties.
910 2002-01-23 Miguel de Icaza <miguel@ximian.com>
912 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
913 manually getting the enumerator.
915 (AppDomain.AppDomain): Prime the loaded assemblies with the
916 assemblies loaded by the runtime in our behalf.
918 * AppDomainSetup.cs: Remove private keyword, that is the default.
919 Add a new property DisallowPublisherPolicy.
921 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
923 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
925 * MonoType.cs, Type.cs: many updates, corrected implementation,
928 2002-01-20 Andrei Zmievski <andrei@php.net>
931 * Char.cs: implemented IConvertible interface.
933 * Boolean.cs: use our own ToString() method directly.
935 2002-01-20 Duncan Mak <duncan@ximian.com>
937 * Files I commited recently: Fixed indentation style.
939 2002-01-20 Nick Drochak <ndrochak@gol.com>
941 * SerializableAttribute.cs: this attrib can be used on enums, structs,
942 and delegates too. Added the appropriate usage flags.
944 2002-01-18 Duncan Mak <duncan@ximian.com>
946 * CharEnumerator.cs: Implemented.
947 * String.cs (System): Fixed the GetEnumerator () method(s).
949 * ObsoleteAttribute.cs:
950 * STAThreadAttribute.cs:
951 * MTAThreadAttribute.cs:
952 * ThreadStaticAttribute.cs:
953 * LoaderOptimizationAttribute.cs:
954 * PlatformNotSupportedException.cs:
955 * LoaderOptimization.cs: Added to CVS.
957 2002-01-18 Duncan Mak <duncan@ximian.com>
959 * AppDomainUnloadedException.cs:
960 * MethodAccessException.cs:
961 * ContextMarshalException.cs:
962 * CannotUnloadAppDomainException.cs:
963 * DllNotFoundException.cs:
964 * EntryPointNotFoundException.cs:
965 * FieldAccessException.cs:
966 * TypeUnloadedException.cs:
967 * MissingFieldException.cs: Added to CVS.
969 * ApplicationException.cs:
970 * MemberAccessException.cs:
971 * MissingMemberException.cs
972 * MissingMethodException.cs:
973 * SystemException.cs: Added [Serializable] attribute.
975 * Exception.cs: Added [Serializable] attribute, made properties
976 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
979 * ContextStaticAttribute.cs: Added [Serializable] attribute and
980 put in the missing constructor.
982 * Environment.cs: Commented out references to
983 EnvironmentPermissionAttribute, because they're just stubbed out
984 right now and has no implementation.
986 2002-01-16 Andrei Zmievski <andrei@php.net>
988 * Boolean.cs: implemented IConvertible interface
990 2002-01-15 Nick Drochak <ndrochak@gol.com>
992 * ResolveEventArgs.cs: class should derive from EventArgs.
994 2002-01-14 Miguel de Icaza <miguel@ximian.com>
996 * String.cs (System): Use DefaultMemberName for the String class.
998 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
1000 * String.cs: use IndexerName in index char accessor.
1002 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1004 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
1005 * String.c: eliminate 64k+ method calls in search.
1006 * Type.cs: handle byref and array types in ToString ().
1008 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
1010 * Guid.cs: created first version
1012 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
1014 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
1016 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
1018 * MulticastDelegate.cs: add == and != operator stubs.
1019 * String.cs: check for null in == operator.
1020 * Type.cs: use a virtual method to get TypeAttributes.
1022 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
1023 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
1025 2002-01-09 Nick Drochak <ndrochak@gol.com>
1027 * Environment.cs: Comment out Security attribute and put a MonoTODO
1028 there as a reminder. We need mcs magic to handle security attributes in
1031 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
1032 * Created IAppDomainSetup.cs
1034 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
1035 * Created System._AppDomain interface in _AppDomain.cs
1037 2002-01-06 Nick Drochak <ndrochak@gol.com>
1039 * ResolveEventArgs.cs: New File, completely implemented! ;)
1041 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
1043 * Enum.cs: dummy ToString impl.
1044 * String.cs: dummy format implementations to get compiler errors
1046 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
1048 2002-01-05 Ravi Pratap <ravi@ximian.com>
1050 * TODOAttribute.cs : Augment some more; provide two constructors
1051 with support for a comment too.
1053 2002-01-05 Nick Drochak <ndrochak@gol.com>
1055 * Uncommented those MonoTODO's now that Ravi's got
1058 2001-01-04 Ravi Pratap <ravi@ximian.com>
1060 * TODOAttribute.cs : Actually add this time ;-)
1062 Change name to MonoTODO.
1064 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
1066 * String.cs (Trim): Fixed a few logic bugs in the code that
1067 calculated how much to trim off the end of the string.
1069 2001-01-04 Nick Drochak <ndrochak@gol.com>
1071 * Commented out the [TODO] attributes for now. We don't have the
1072 class written. Also changed it to [MonoTODO]
1074 2002-01-04 Ravi Pratap <ravi@ximian.com>
1076 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
1077 our class libraries that are incomplete.
1079 * Array.cs : Apply attribute wherever we find a FIXME which says
1080 we need something to be implemented there.
1084 * MulticastDelegate.cs : Ditto.
1086 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
1087 RuntimeTypeHandle.cs : Ditto.
1089 * String.cs : Ditto.
1093 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
1095 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
1096 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1098 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
1099 Delegate.cs : Ditto.
1101 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
1102 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1104 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1106 * Delegate.cs: add Remove() stub.
1107 * Enum.cs: add ToObject().
1108 * Type.cs: add IsEnum property.
1110 2002-01-03 Kristian Rietveld <kris@gtk.org>
1112 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
1113 DateTime and object.
1115 2001-12-30 Nick Drochak <ndrochak@gol.com>
1117 * Byte.cs (Parse): Add comments to aid in testing.
1119 2001-12-21 Miguel de Icaza <miguel@ximian.com>
1121 * Char.cs (Parse): Implement.
1123 * Byte.cs (Parse): Implement a fast parser.
1125 * SByte.cs (Parse): Implement a fast parser.
1127 * UInt16.cs (Parse): Implement a fast parser.
1129 * Int16.cs (Parse): Implement a fast parser.
1131 * UInt32.cs (Parse): Implement a fast parser.
1133 * Int32.cs (Parse): Implement a fast parser.
1135 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1137 * Array.cs: fix null ref in sort code.
1138 * UInt64.cs: add bare-bones parse.
1140 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1142 * Byte.cs: removed use of Regexes.
1144 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
1146 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
1147 IsDefined(), GetUnderlyingType().
1148 * String.cs: fix one instance of Compare().
1149 * Type.cs: implemented GetProperties(), GetProperty().
1151 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1153 * Array.cs: implement CopyTo ().
1154 * Char.cs: implement ToString ().
1155 * Exception.cs: bugfix.
1156 * Int32.cs: bare-bones Parse ().
1157 * MonoType.cs: query the needed info with an internalcall.
1158 * String.cs: speedups, bugfixes, reduced copies.
1159 * Type.cs: added missing fields. Implemented many of the Is*
1160 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
1161 GetFields(), FindMembers(), ToString().
1163 2001-12-11 Dick Porter <dick@ximian.com>
1165 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
1167 * Console.cs: Use handles rather than casting file descriptors
1169 2001-12-08 Nick Drochak <ndrochak@gol.com>
1171 * Byte.cs (Parse): Start implementation. Parse(string) works, but
1172 now we need to handle other formats
1174 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
1176 * DateTime.cs: added an icall to GetNow()
1178 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
1180 * Double.cs: added the parse method from Bob Smith
1182 2001-11-28 Miguel de Icaza <miguel@ximian.com>
1188 * Int32.cs (Int32.CompareTo): Fix because we can not just
1189 substract the values.
1191 Return possitive value if the object is null.
1193 * Boolean.cs: (Boolean.CompareTo): ditto.
1195 * Int16.cs (Int16.CompareTo): ditto.
1197 * Byte.cs (Byte.CompareTo): ditto.
1199 * SByte.cs (SByte.CompareTo): ditto.
1201 * Char.cs (Char.CompareTo): ditto.
1203 * Decimal.cs (Decimal.CompareTo): ditto.
1205 * Int64.cs (Int64.CompareTo): ditto.
1211 2001-11-28 Nick Drochak <ndrochak@gol.com>
1213 * Byte.cs: Throw NotImplementedException for Parse.
1215 2001-11-27 Derek Holden <dholden@draper.com>
1217 * IntegerFormatter.cs: Formatting of type "Number" was not
1218 using NumberFormatInfo.NumberNegativePattern.
1220 2001-11-26 Dick Porter <dick@ximian.com>
1222 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
1223 the finalise routine any more
1225 2001-11-21 Miguel de Icaza <miguel@ximian.com>
1227 * ApplicationException.cs: internationalize by adding calls to
1228 Locale.GetText (). And throw NotImplementedExceptions on calls
1229 that we have to implement.
1231 * Version.cs: Ditto.
1233 * ValueType.cs: ditto.
1235 * UnauthorizedAccessException.cs: ditto.
1243 * TypeLoadException.cs: ditto
1245 * TypeInitializationException.cs: ditto.
1249 * TimeSpan.cs: ditto.
1251 * SystemException.cs: ditto.
1255 * StackOverflowException.cs: ditto.x
1261 * RuntimeTypeHandle.cs: ditto.
1263 * RuntimeMethodHandle.cs: ditto.
1265 * RuntimeFieldHandle.cs: ditto.
1269 * OutOfMemoryException.cs: ditto.
1271 * OperatingSystem.cs: ditto.
1273 * ObjectDisposedException.cs: ditto.
1275 * NullReferenceException.cs: ditto.
1277 * NotImplementedException.cs: ditto.
1279 * NotFiniteNumberException.cs: ditto.o
1281 * MulticastNotSupportedException.cs: ditto.
1283 * MissingMethodException.cs: ditto.
1285 * MemberAccessException.cs: ditto.
1289 * InvalidCastException.cs: ditto.
1291 * IntegerFormatter.cs: ditto.
1297 * IndexOutOfRangeException.cs: ditto.
1299 * Environment.cs: ditto
1303 * DuplicateWaitObjectException.cs: ditto.
1305 * DivideByZeroException.cs: ditto.
1307 * Delegate.cs: ditto
1309 * DecimalFormatter.cs: ditto.
1311 * Decimal.cs: ditto.
1313 * DateTime.cs: ditto.
1315 * Convert.cs: ditto.
1321 * Boolean.cs: ditto.
1323 * ArrayTypeMismatchException.cs: ditto.
1325 * ArithmeticException.cs: ditto.
1327 * ArgumentOutOfRangeException.cs: ditto.
1329 * ArgumentNullException.cs: ditto.
1331 * Enum.cs: Make it derive from ValueType, add CompareTo method.
1333 * Attribute.cs: Reformat.
1335 2001-11-14 Miguel de Icaza <miguel@ximian.com>
1337 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
1338 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
1339 exception if the value is null too.
1341 * Char.cs (CompareTo): ditto.
1343 * ApplicationException.cs: Added constructor that does serialization.
1345 * ParamArrayAttribute.cs: Define attribute correctly.
1347 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
1349 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
1350 * Array.cs: fix Array.Copy.
1351 * AssemblyLoadEventArgs.cs: rename field.
1352 * CLSCompliantAttribute.cs: use correct name for the class.
1353 * Char.cs: fix IsLetter.
1354 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
1355 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
1356 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
1357 * Delegate.cs: renamed target field to m_target.
1358 * Enum.cs: added missing methods.
1359 * MonoType.cs: add a constructor and some needed properties.
1360 * Object.cs: implement GetType().
1361 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
1363 * Type.cs: add missing methods/properties.
1365 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1367 * AttributeUseage.cs: Should define AttributeUsageAttribute.
1369 * CLSCompliant.cs: Marked with AttributeUsage attribute.
1371 * Decimal.cs: Fixed CLSCompliant attributes.
1373 * Type.cs: changed _impl to internal (needs to be accessable by
1376 (TypeHandle): Marked as abstract, implementation removed.
1378 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
1379 GetMethod): Added stub implementations so NUnit would link against
1382 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
1384 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
1386 2001-11-05 Miguel de Icaza <miguel@ximian.com>
1388 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
1391 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
1393 * String.cs: fix a couple of bugs.
1394 * AppDomain.cs: use new AppBuilder constructor.
1395 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
1396 NotImplementedException.cs, ObjectDisposedException.cs,
1397 UnauthorizedAccessException.cs: add implementation.
1398 * OverflowException.cs: fix class name.
1400 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
1402 * String.cs: Don't use a terminating nil char for our internal
1405 2001-10-27 Miguel de Icaza <miguel@ximian.com>
1407 * Delegate.cs (Delegate.CombineImpl): Implement.
1408 (Delegate.Combine): Implement.
1410 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
1412 (MulticastDelegate.CombineImpl): This was not as trivial as I
1415 * ContextStaticAttribute.cs: Added AttributeUsage to
1416 ContextStaticAttribute.
1418 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
1420 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
1422 * added Decimal.cs * added DecimalFormatter.cs (internal class
1423 used from System.Decimal)
1425 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
1427 * Convert.cs: Added methods for Base64 transforming just used the
1428 existing System.Security.Cryptography.ToBase64Transform, should
1429 be changed to use a stand-alone class, e.g. Base64Encoder
1431 2001-10-10 Derek Holden <dholden@draper.com>
1433 * IntegerFormatter.cs: Added. Implements ToString for all the
1434 integer data types for all the format types.
1436 * Byte.cs: Using IntegerFormatter for ToString's.
1438 * SByte.cs: Using IntegerFormatter for ToString's.
1440 * Int16.cs: Using IntegerFormatter for ToString's.
1442 * Int32.cs: Using IntegerFormatter for ToString's.
1444 * Int64.cs: Using IntegerFormatter for ToString's.
1446 * UInt16.cs: Using IntegerFormatter for ToString's.
1448 * UInt32.cs: Using IntegerFormatter for ToString's.
1450 * UInt64.cs: Using IntegerFormatter for ToString's.
1452 2001-10-07 Miguel de Icaza <miguel@ximian.com>
1454 * Exception.cs: Implement bits of serialization.
1456 * RuntimeFieldHandle.cs: Implement Serialization features.
1458 * Type.cs: Implement TypeHandle property.
1460 2001-09-28 Dick Porter <dick@ximian.com>
1462 * LocalDataStoreSlot.cs: Implemented
1464 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
1466 * String.cs: fix off-by-one error in Trim().
1468 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
1470 * Type.cs: added GetType () method.
1472 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
1474 * MissingMethodException.cs, MissingMemberException.cs,
1475 MemberAccessException.cs: added.
1477 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
1479 * String.cs: don't access the string array out of bounds in
1480 LastIndexOf. * Type.cs: fix return type of the Assembly property.
1482 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
1484 * String.cs: make Intern and IsIntern internalcalls.
1486 2001-09-13 Dick Porter <dick@ximian.com>
1488 * Type.cs: Added a stub for the IsValueType property.
1490 * SystemException.cs (System): Added the other constructor, so
1491 that System.Threading exceptions can inherit it.
1493 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
1495 * String.cs (TrimStart): Don't keep looping through the trimchars
1496 once we've found a match.
1497 (TrimEnd): Same here.
1498 (Trim): And finally here.
1500 2001-09-07 Ravi Pratap <ravi@ximian.com>
1502 * Char.cs (IsLetterOrDigit): Implement.
1503 (IsLower): Implement, but we need to be Unicode aware.
1504 (IsNumber): Implement.
1505 (IsPunctuation): Implement.
1506 (IsWhiteSpace): Implement.
1507 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
1508 (ToLower): Same here.
1510 2001-09-04 Miguel de Icaza <miguel@ximian.com>
1512 * Object.cs: Shortcut, if (a == b) then return true.
1514 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
1516 * Delegate.cs: we need a pointer to the method thunk in
1517 the delegate object.
1519 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
1521 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
1523 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
1525 * String.cs (System): Don't mix uint and int.
1527 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
1529 * String.cs (BoyerMoore): Modified to not use pointers and to instead
1531 (IndexOf): Use BoyerMoore.
1533 2001-09-02 Miguel de Icaza <miguel@ximian.com>
1535 * All over: Use the autogenerated enumerations from the ECMA
1536 documentation that Sergey wrote.
1538 * PlatformID.cs: Add Unix definition.
1540 * OperatingSystem.cs: Use Unix instead of Linux here.
1542 * MarshalByRefObject.cs: Mark class as [Serializable].
1544 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
1546 * Console.cs: impl. (write only)
1547 implemented the stdin stuff
1549 * Int32.cs: impl. real op_Equal
1551 2001-08-24 Miguel de Icaza <miguel@ximian.com>
1553 * (common.src): Removed IAsyncResult as it is not on CVS yet.
1555 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
1556 as it breaks the build.
1558 2001-08-23 Michael Lambert <michaellambert@email.com>
1560 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
1561 added CLSCompliant attribute
1563 * IAsyncResult.cs: Added
1565 * common.src: Added IAsyncResult.cs
1567 2001-08-23 Michael Lambert <michaellambert@email.com>
1571 * common.src: Added UIntPtr.cs
1573 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
1575 * Attribute.cs: uncomment some code to make it compile again
1577 * mono.src: removed duplicated Attribute.cs
1579 2001-08-16 Nick Drochak <ndrochak@gol.com>
1581 * Attribute.cs: implemented all methods except GetHashCode()
1583 * common.src: added Attribute.cs so it would compile in
1585 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
1587 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
1588 marked it as InternalCall
1590 * common.src: removed UriFormatException.cs because the file is
1593 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
1594 * Char.cs: replaced byte with char
1596 * Array.cs: make it work with the mono interpreter
1598 2001-08-06 Miguel de Icaza <miguel@ximian.com>
1600 * Version.cs: Make the class sealed
1602 2001-08-08 Bob Smith <bob@thestuff.net>
1604 * Random.cs: Many compile fixes.
1605 * Random.cs: I read a bad spec. Class updated to match real spec.
1607 2001-08-06 Miguel de Icaza <miguel@ximian.com>
1609 * IntPtr.cs: Added and Completed implementation.
1611 * Uri.cs: Add a note.
1613 2001-08-06 Bob Smith <bob@thestuff.net>
1615 * Random.cs: Compile fix. Needs more testing.
1617 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
1619 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
1620 into account IPv6 addresses, url encoding needs to be implemented, and
1621 various minor methods need to be written, but this is a decent start.
1623 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
1625 * common.src: added Object.cs
1627 * mono.src: added ValueType.cs
1629 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
1631 * Math.cs: replaced libc with libm
1633 2001-08-02 Bob Smith <bob@thestuff.net>
1635 * Random.cs: Implemented. Needs testing.
1637 2001-08-02 Miguel de Icaza <miguel@ximian.com>
1639 * IServiceProvider.cs, EventHandler.cs: New files.
1641 2001-08-02 Marcel Narings <marcel@narings.nl>
1643 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
1644 Added exceptions. Added IConvertible. Still needs some platform
1645 dependend stuff, the Parse and ToString members
1647 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
1649 * Type.cs (GetTypeFromHandle): added placeholder
1651 2001-07-24 Derek Holden <dholden@draper.com>
1653 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
1654 which is really an IConvertible defined method.
1656 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
1657 behavior, still need to do the main Parse and ToString.
1659 * Char.cs: Added a bunch of missing ECMA methods. Commented a
1660 specification discrepency. Still didn't any unicode stuff, though
1661 every IsFoo(char c) method has an IsFoo(string, index)
1662 counterpart, added wrappers for those.
1664 * Convert.cs: Fixed NaN/Inf checking and double/float
1665 rounding. Added ToType for IConvertible classes
1667 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
1668 IsNaN methods. Changed Inf/NaN internals.
1670 * IConvertible.cs: Added comments for using
1671 Convert.ToType. Changed return values to draft base values.
1673 * Int16.cs: Added a missing Parse statement. Put in behavior for
1674 overloaded ToString and Parse methods.
1676 * Int32.cs: Added a missing Parse statement. Put in behavior for
1677 overloaded ToString and Parse methods.
1679 * Int64.cs: Added a missing Parse statement. Put in behavior for
1680 overloaded ToString and Parse methods.
1682 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
1683 methods. Changed Inf/NaN internals.
1685 * SByte.cs: Added a missing Parse method. Put in Parse and
1686 ToString behavior, still need to do the main Parse and ToString.
1688 * UInt16.cs: Added a missing Parse statement. Put in behavior for
1689 overloaded ToString and Parse methods.
1691 * UInt32.cs: Added a missing Parse statement. Put in behavior for
1692 overloaded ToString and Parse methods.
1694 * UInt64.cs: Added a missing Parse statement. Put in behavior for
1695 overloaded ToString and Parse methods.
1697 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1699 * MulticastDelegate.cs: New File.
1701 * Delegate.cs: New file.
1703 * Enum.cs: New file.
1705 * Attribute.cs: New file.
1707 * Type.cs: New file.
1709 * ParamArrayAttribute.cs: New file.
1711 * RuntimeTypeHandle.cs: New file.
1713 * MulticastDelegate.cs: Added.
1715 * DateTime.cs: Added
1717 * Delegate.cs: Added
1719 2001-07-18 Michael Lambert <michaellambert@email.com>
1721 * AttributeTargets.cs: Add.
1723 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
1725 * Char.cs: Made ToUpper and ToLower public methods.
1727 * String.cs: Lots and lots of compile fixes - just need to write
1728 DateTime.cs and this should build completely now.
1730 2001-07-19 Bob Smith (bob@thestuff.net)
1732 * Math.cs: Implemented.
1734 2001-07-19 Miguel de Icaza <miguel@ximian.com>
1736 * String.cs: Removed tolower and toupper.
1738 * Char.cs: Moved ToLower and ToUpper from string to here.
1740 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
1741 instead of comparing the value to Nan.
1743 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
1745 * TimeSpan.cs: New implementation.
1747 2001-07-18 Scott Sanders <scott@stonecobra.com>
1749 * UriFormatExcpetion.cs: Add - 85% complete
1751 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
1753 * String.cs (IndexOf): Slight optimization that allows skipping
1754 over a few chars here and there. This isn't as good as using my
1755 Boyer-Moore implementation, however, Boyer-Moore is only really
1756 good for long strings (I plan on making the code decide which
1757 string search algorithm it should use on-the-fly at some point).
1758 (LastIndexOf): Fix to work correctly.
1759 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
1761 2001-07-16 Michael Lambert <michaellambert@email.com>
1763 * EventArgs.cs: Add.
1765 2001-07-16 Miguel de Icaza <miguel@ximian.com>
1767 * Version.cs: Remove my buggy comment.
1769 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
1771 * String.cs: Spelling error of IComparable, object's
1772 MemberwiseClone cannot be overridden. Made indexer valid for now,
1773 but not sure what to do about this in the long run. Seems to be a
1774 couple bugs in csc.exe having to do with multiple pointer defs in
1775 the same statement, and returning subclasses of a class in the
1776 return type of an interface function implementation. Also moved
1777 operators inside of class definition.
1779 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
1781 * String.cs: A tom of compile fixes, although we still don't compile.
1783 * IConvertible.cs: The To*Int64() methods return *Int64's, not
1784 *Int32's. Also, it's ToDateTime() not ToDateType().
1786 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
1788 * String.cs: Apparently I needed to at least write stubs for the
1789 IConvertible interfaces. *sigh*
1791 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
1793 * String.cs: Many logic/other fixes and better usage of the
1795 (tolower): New convenience method to help condense code.
1796 (toupper): Another new helper method.
1797 (Compare): Use the new helper methods.
1798 (ToLower): use tolower().
1799 (ToUpper): use toupper().
1800 (LastIndexOfAny): Implemented.
1801 (BoyerMoore): New private helper method that implements a modified
1802 version of the Boyer-Moore search algorithm. Noothing uses it yet
1803 as I'm not 100% sure it even works properly with unicode strings
1804 not to mention it uses a huge lookup-table :-)
1805 (Split): Implemented.
1807 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
1809 * TODO: Added things that need to be finished in System.String
1811 * String.cs: New source file implementing the System.String class
1813 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
1815 * TypeCode.cs: UInt64 was UInt63.
1817 * Object.cs: Fixed a numer of compiler errors.
1819 * Array.cs: Fixed some compiler errors.
1821 * IComparable.cs: Fixed some compiler errors.
1823 * ICloneable.cs: Fixed some compiler errors.
1825 * IConvertible.cs: Fixed some compiler errors.
1827 * IFormattable.cs: Fixed a compiler error.
1829 * IFormatProvider.cs: Fixed a compiler error.
1831 * IDisposable.cs: Fixed a compiler error.
1833 * IFormatProvider.cs: Added public accesability type to
1836 * Exception.cs: Added a using statement to remove compile time
1839 * ApplicationException.cs: Removed a ; that was causing a compiler
1842 * Int16.cs: Fixed some compiler errors.
1844 * Int32.cs: Fixed some compiler errors.
1846 * Int64.cs: Fixed some compiler errors.
1848 * SystemException.cs: Fixed a compiler error.
1850 * UInt16.cs: Fixed some compiler errors.
1852 * UInt32.cs: Fixed some compiler errors.
1854 * UInt64.cs: Fixed some compiler errors.
1856 * Void.cs: Fixed a compiler error.
1858 2001-07-12 Joe Shaw <joe@ximian.com>
1860 * Array.cs: Fix backwards parameters to Array.SetValue()
1862 (BinarySearch): Fix backward logic surrounding whether to call
1863 value.CompareTo or comparer.Compare.
1864 (LastIndexOf): Stop being stupid. I am so not used to strongly
1866 (Sort): Implement a quicksort.
1868 2001-07-11 Joe Shaw <joe@ximian.com>
1870 * Array.cs: Change all instances of trying to access an array with
1871 the index operator to calls to GetValue and SetValue, and add
1872 InternalGetValue and InternalSetValue which are internal calls
1873 into the runtime. Ew.
1875 2001-07-10 Joe Shaw <joe@ximian.com>
1877 * Array.cs: Implemented everything but Sort().
1879 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
1881 * Object.cs (Object::Equals): Object variable name is `o'.
1883 2001-07-06 Joe Shaw <joe@ximian.com>
1885 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
1886 Implement the IComparable and IFormattable interfaces. Fix a typo
1889 * ApplicationException.cs, ArgumentException.cs,
1890 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
1891 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
1892 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
1893 ExecutionEngineException.cs, FormatException.cs,
1894 IndexOutOfRangeException.cs, InvalidCastException.cs,
1895 InvalidOperationException.cs, InvalidProgramException.cs,
1896 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
1897 NotSupportedException.cs, NullReferenceException.cs,
1898 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
1899 StackOverflowException.cs, SystemException.cs,
1900 TypeInitializationException.cs: Added all of the exceptions
1901 specified by the language spec. Mmmm... bloat.
1903 2001-07-06 Miguel de Icaza <miguel@ximian.com>
1905 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
1906 do a generic routine all of these guys use.
1908 * Int16.cs: identified missing methods.
1910 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
1912 2001-06-26 Miguel de Icaza <miguel@ximian.com>
1914 * TypeCode.cs: Implement
1916 * Void.cs: Implement.
1918 * TODO: Add file to keep track of pending tasks.
1920 * Object.cs, ValueType.cs: Implement.