1 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
\r
3 * DateTime.cs: ToString () using "G" format specifier
\r
5 2002-05-19 Martin Baulig <martin@gnome.org>
7 * Convert.cs (FromBase64CharArray): Do correct exception handling.
9 2002-05-19 Martin Baulig <martin@gnome.org>
11 * Convert.cs (FromBase64CharArray): Convert the char array using
12 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
15 2002-05-17 Miguel de Icaza <miguel@ximian.com>
17 * MonoType.cs: Style changes.
19 * Type.cs: Style changes.
21 2002-05-16 Piers Haken <piersh@friksit.com
23 * UInt64.cs: fix declaration of IConvertible.To* overrides.
25 2002-05-16 Nick Drochak <ndrochak@gol.com>
27 * BitConverter.cs (ToString): Add parameter check for invalid start
30 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
31 now that StreamWriter uses buffering
33 2002-05-14 Miguel de Icaza <miguel@ximian.com>
35 * Double.cs: Oops. Also handle exponents without finding a dot.
37 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
39 * ChangeLog: removed empty entry at the top of the file.
41 * Int32.cs: made static functions used by Parse internal.
45 * UInt64.cs: removed static fucntions used by Parse and use the ones
48 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
50 * IServiceProvider.cs: added using System
52 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
54 * Single.cs: copied ToString() and Parse() methods from
55 Double to Single and modified a tiny bit for Single.
56 There is still a FIXME for Double and Single about
57 passing the format and provider info to the icall too.
\r
59 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
64 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
65 Don't use a delegate to test for valid digits.
67 2002-05-01 Duncan Mak <duncan@ximian.com>
70 * Math.cs: Added missing CLSCompliant attributes where necessary.
72 2002-04-30 Duncan Mak <duncan@ximian.com>
74 * ArgumentException.cs (Message):
75 * ArgumentOutOfRangeException.cs (Message): Added.
77 2002-04-30 Nick Drochak <ndrochak@gol.com>
79 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
81 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
83 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
85 2002-04-28 Duncan Mak <duncan@ximian.com>
87 * DivideByZeroException.cs: Added missing serialization constructor.
89 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
91 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
93 * Math.cs: fix Floor () and Round (). Closes #23960.
95 2002-04-27 Nick Drochak <ndrochak@gol.com>
97 * Array.cs (IList.Contains): Should throw a RankException if this is
98 called on a Rank > 1 array. Not in the docs, but this is what the
101 2002-04-26 Duncan Mak <duncan@ximian.com>
103 * MissingMemberException.cs: Made the message variable 'protected'
104 instead of 'private', so that we can see it in
105 MissingMethodException and MissingFieldException.
107 * MissingFieldException.cs:
108 * MissingMethodException.cs: Added missing (string, string)
109 constructor, and also the Message property.
111 2002-04-26 Martin Baulig <martin@gnome.org>
113 * Enum.cs: Implemented the IConvertible methods.
115 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
117 * SByte.cs: little change in Parse (string) to avoid incorrect
118 OverflowException thrown (reported by nickd).
120 2002-04-22 Miguel de Icaza <miguel@ximian.com>
122 * ValueType.cs: Add Serializable attribute.
124 * String.cs: ifdef-out out the __arglist Concat function until I
125 add support for that to mcs.
127 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
129 * AppDomain.cs (GetValue): usage of the correct icall (bug)
131 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
133 * GC.cs: implement most of the methods as icalls.
135 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
137 * DecimalFormatter.cs (ToString): return correct value when the
140 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
142 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
143 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
145 2002-04-24 Nick Drochak <ndrochak@gol.com>
147 * Double.cs (Parse): Handle case where there are no digits before the
148 decimal point, such as ".1".
150 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
155 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
157 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
159 * String.cs (Split): fixed invalid split of count 0 and 1.
161 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
163 * String.cs (LastIndexOf): fixed argument checking.
164 * String.cs (Equals): made internal for performace.
166 2002-04-23 Nick Drochak <ndrochak@gol.com>
168 * String.cs (Join): check argument and throw exception if needed
170 2002-04-23 Nick Drochak <ndrochak@gol.com>
172 * String.cs (StartsWith): check argument and throw exception if needed
174 2002-04-22 Nick Drochak <ndrochak@gol.com>
176 * String.cs (IndexOfAny): check arguments and throw exceptions as
177 neccessary. ALso remove some debug WriteLines.
179 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
181 * String.cs: use internal constructors
184 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
186 * MonoType.cs: make GetElementType its own icall.
188 2002-04-18 Nick Drochak <ndrochak@gol.com>
190 * String.cs: Modified file. Re-add methods needed by the unit tests.
192 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
194 * String.cs: some code speedups and restored GetTypeCode().
196 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
198 * String.cs: New implementation using internal calls.
200 2002-04-16 Nick Drochak <ndrochak@gol.com>
202 * DecimalFormatter.cs: Trim off excess null characters from the string
203 that decimal2string gives back.
205 2002-04-16 Nick Drochak <ndrochak@gol.com>
207 * String.cs (SubString): revert my change. I can't reproduce the
210 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
212 * Attribute.cs: added GetHashCode and Equals.
214 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
216 * Enum.cs: little improvements to Format ().
218 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
220 * String.cs: internalcall GetHashCode().
221 * Array.cS: optimize access to elements.
223 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
225 * String.cs: make IndexOfAny() use an internalcall.
227 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
232 * UInt64.cs: fixed error when testing for validity of flags.
234 2002-04-11 Nick Drochak <ndrochak@gol.com>
236 * Double.cs: Use an internal call for ToString(). This is just a simple
237 implementation to get away from throwing a NotImplementedException.
239 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
244 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
248 * Int64.cs: throw an OverFlowException when parsing a string
249 containing a dot followed by any non '0' number.
251 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
256 * UInt64.cs: added complex Parse ().
258 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
263 * Int64.cs: added complex Parse ().
265 2002-04-09 Nick Drochak <ndrochak@gol.com>
267 * Array.cs (BinarySearch): Add checks on paramters before using them
268 and throw exceptions as needed.
270 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
271 "G" format to "F" if so.
273 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
275 * MonoCustomAttrs.cs: return arrays of type Attribute[]
278 2002/04/09 Nick Drochak <ndrochak@gol.com>
280 * String.cs (Substring): Copy only non-null characters to the new
283 2002-04-09 Nick Drochak <ndrochak@gol.com>
285 * IntegerFormatter.cs: Don't use a format character to indicate a
286 custom format was passed in. It was using 'z' to indicate a custom
287 format, but really it should throw a format exception if the user
288 tries to use "z" as the format string. Now it does.
290 * Activator.cs: New File.
292 2002-04-08 Nick Drochak <ndrochak@gol.com>
294 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
295 applied to an enum. Need to handle the different possible integer
296 types of an enum somehow. Can anyone say generics?
298 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
300 * Convert.cs: switched the To*(object) methods to use
301 IConvertible directly instead of calling ChangeType
303 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
305 * ValueType.cs: make Equals() an internalcall.
307 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
309 * Type.cs: also look for nested types in FindMembers.
310 * MonoType.cs: make GetNestedTypes() an internalcall.
312 2002-04-05 Nick Drochak <ndrochak@gol.com>
314 * Enum.cs (Parse): Handle different underlying types.
316 2002/04/04 Nick Drochak <ndrochak@gol.com>
318 * Enum.cs (IsDefined): Throw exception when type of value to look for
319 is not the correct one. Attempt to have it work with string values
320 too, but not sure if the unit tests are getting that far yet.
322 2002-04-04 Nick Drochak <ndrochak@gol.com>
324 * Decimal.cs: Fix a couple of typos.
326 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
328 * Enum.cs: the values array is of the enum and not of the underlying
329 type. Updates and some bug fixes.
330 * MonoType.cs: make the internalcall return FullName instead of the
331 assembly qualified name.
332 * Type.cs: make ToString () simply return FullName.
334 2002-04-03 Nick Drochak <ndrochak@gol.com>
336 * Type.cs (GetTypeCode): provide some of the implementation for this
337 method. It's still too simplistic to be considered complete.
339 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
341 * Object.cs: fixed FieldGetter/FieldSetter signature
343 2002-04-02 Nick Drochak <ndrochak@gol.com>
345 * Environment.cs: add MonoTODO's on parts that should have it.
347 2002-04-01 Nick Drochak <ndrochak@gol.com>
349 * Enum.cs: added reality checks (check parameters to most methods that
352 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
354 * Object.cs: added FieldGetter/FieldSetter
356 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
358 * IntegerFormatter.cs: fixed initialization error in static
361 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
363 * Delegate.cs: added new field to store a trampoline function
365 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
367 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
368 make custom format strings work (not fully functional yet).
370 2002/03/28 Nick Drochak <ndrochak@gol.com>
372 * IntegerFormatter.cs: Change class from internal to public. Add
373 necessary [CLSCompliant(false)] attributes.
375 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
376 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
379 2002-03-28 Nick Drochak <ndrochak@gol.com>
381 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
383 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
385 * Console.cs: Modified to get std handles from MonoIO.
386 * Environment.cs: removed PAL dependencies.
388 2002-03-25 Miguel de Icaza <miguel@ximian.com>
390 * String.cs (System): Removed internal enumeration, because
391 bootstrapping the corlib at this point does not support
394 * IntPtr.cs: Temporary work-around until I fix the assembly
397 2002-03-24 Martin Baulig <martin@gnome.org>
399 * Enum.cs (GetValues): According to the docu this is sorted after
402 * String.cs (System): Removed enumeration, because it is pretty
403 hard to support enumerations in /nostdlib mode for the core types.
405 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
407 * Array.cs: move error handling in the catch block.
408 * MulticastDelegate.cs: remove == and != operators that were
409 removed with the delegate changes (when you add stuff, please do not
410 remove existing functionality!).
411 * Type.cs: if a property is not found in a type, search for it
412 in the parent types, too.
414 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
416 * Math.cs: changed to use icall instead of PAL.
418 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
420 * Double.cs: added check for NaN (Bug [22082])
422 2002-03-19 Nick Drochak <ndrochak@gol.com>
424 * Enum.cs (Equals): check for null and throw if it is.
425 * Enum.cs (Format): check for null parameters and throw if necessary.
426 This method still needs more argument checking.
428 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
430 * Enum.cs (Equals): check if Enums are of the same type
432 2002-03-18 Nick Drochak <ndrochak@gol.com>
434 * Double.cs: Explicitly handle comparisons in CompareTo() for
435 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
437 * Enum.cs(CompareTo): Check types of values before trying to compare.
438 Throw exceptions if types are invalid or don't match.
440 2002-03-14 Miguel de Icaza <miguel@ximian.com>
442 * Array.cs: Add some extra debugging information.
444 2002-03-15 Nick Drochak <ndrochak@gol.com>
446 * Array.cs: Added IList and IEnumerable.
448 2002-03-14 Miguel de Icaza <miguel@ximian.com>
450 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
453 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
455 * Delegate.cs (Equals): also compare method_ptr
456 (GetHashCode): returm method_ptr as hash
458 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
459 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
460 such as 42.ToString("0000000"), as these are (currently) not implemented
461 in System.IntegerFormatter. TimeSpan luckely can do with Standard
462 Numeric Format Strings, such as 42.ToString("D7").
464 2002-03-12 Duncan Mak <duncan@ximian.com>
466 * FieldAccessException.cs:
467 * MethodAccessException.cs:
468 * PlatformNotSupportedException.cs: Inherit from
469 MemberAccessException, not SystemException.
471 * ObsoleteAttribute.cs: Made Message and IsError properties
474 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
476 * GC.cs: make SuppressFinalize() a nop.
477 * Delegate.cs: fix == operator.
479 2002-03-13 Nick Drochak <ndrochak@gol.com>
481 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
482 runtime that goes with this patch.
484 2002-03-10 Martin Baulig <martin@gnome.org>
486 * Int32.cs (Parse): Correctly parse negative numbers.
488 2002-03-08 Martin Baulig <martin@gnome.org>
490 * String.cs (Split): Really fix it this time. Also adding several new
491 testcase to the testsuite.
493 2002-03-08 Martin Baulig <martin@gnome.org>
495 * Array.cs (Copy): Optimized: removed duplicate null check, removed
496 two duplicate GetLowerBound() calls and one duplicate IsValueType.
498 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
500 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
501 * String.cs: use the dumb code for IndexOf(string): this is worth
502 15-20 % speedup in mcs compile with mint.
504 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
506 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
508 2002-03-07 Martin Baulig <martin@gnome.org>
510 * String.cs (Join): Throw an ArgumentNullException.
511 (LastIndexOf (string,int,int)): This method does a backwards search,
512 so startIndex points to the end of value, not to its beginning. Don't
513 throw an exception if startIndex equals this.Length. Always return -1
514 if startIndex is smaller than the length of value.
515 (Replace (string,string)): Replace all occurences of oldValue.
516 If newValue is null, all occurences of oldValue are to be removed.
517 (Split (char[],int)): Return an empty array if maxCount is zero, throw
518 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
519 elements, not maxValue+1.
521 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
523 * MonoType.cs: make GetEvents() an internal call.
524 * MulticastDelegate.cs: copy the passed in array.
526 2002-03-06 Martin Baulig <martin@gnome.org>
528 * Array.cs (Copy): Use FastCopy when appropriate and do correct
531 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
532 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
533 some of the failures found be new tests (see ChangeLog in
534 Test/System). Comments added to this method, based on
535 the representation invariant of this class, that (try to) explain
536 why it now should be correct.
538 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
540 * Int64.cs (Parse): bug fix for max. negative value.
542 2002-03-07 Nick Drochak <ndrochak@gol.com>
544 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
545 I need to understand what the difference between the attribute and
548 2002-03-06 Martin Baulig <martin@gnome.org>
550 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
551 an InvalidCastException if the widening conversion failed. See
554 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
555 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
558 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
559 (Copy): Actually allow copying multi-dimensional arrays.
561 2002-03-05 Duncan Mak <duncan@ximian.com>
564 (DBNull) Added the missing field.
565 (IsDBNull) Fixed typo.
566 (ToByte (string, int)) Implemented.
567 (ToString (byte, int)) Implemented.
569 (BuildConvertedString) internal functions used for converting values to
577 * UInt32.cs: Implemented the IConvertible interface.
579 * CharEnumerator.cs: Renamed to variables to be clearer and
580 changed some of the tests to conform to the 1.0 spec.
582 2002-03-06 Martin Baulig <martin@gnome.org>
584 * Array.cs (Copy): Calculate absolute array position here and use
585 GetValueImpl() and SetValueImpl() with that position. We can now
586 copy multi-dimensional arrays.
587 (CopyTo): Small bug fix.
589 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
591 * Version.cs: CompareTo changed according the LAMESPEC discovered by
592 Nick (See VersionTest.cs).
593 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
594 error comparing the current position (idx) against the length of the
595 string iterated and it set idx to an unrecognized special value (-2)
597 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
599 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
600 to do this dirty work, but someone has to do it (and I need it to pass
601 the "200 sample tests compiled on linux" mark).
603 2002-03-06 Nick Drochak <ndrochak@gol.com>
606 * DecimalFormatter.cs
613 * RuntimeMethodHandle.cs
614 * RuntimeTypeHandle.cs
617 Add [MonoTODO]'s to places where we currently throw a
618 NotImplementedException.
620 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
622 * Int16.cs (Parse): do not overflow on max negative value
624 * Int32.cs (Parse): do not overflow on max negative value
626 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
628 * Type.cs: fixed IsClass.
629 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
630 IsByRefImpl. Added GetInterfaces().
631 * IServiceProvider.cs: compilation fix.
633 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
635 * Array.cs: allow copying an empty array to an empty array.
637 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
639 * String.cs: fixed LastIndexOf (string) to do a bit of argument
642 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
643 * Version.cs: many fixes to failures found by the newly created
644 test cases for this class. Specifically, the CompareTo member
645 returned wrong values due to the use of Int32.MaxValue as a special
646 value indicating an "undefined" version component. Also implemented the
647 missing operators (==, <, >, etc.), one missing constructor and
648 and some exception throwing.
650 2002-03-04 Nick Drochak <ndrochak@gol.com>
652 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
653 * Attribute.cs: Add missing attributes: Serializable and
654 AttributeUsage(AttributeTargets.All)
656 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
658 * MonoType.cs: implemented GetConstructors(), GetFields(),
659 GetMethods(), GetProperties().
660 * Object.cs: added debugging icall obj_address().
661 * Type.cs: fixed the binding flags for some Get* methods.
662 Implemented FindMembers() as calls to the specific GetMember
665 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
666 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
667 should give an exception for n>=s.Length.
669 2002-03-01 Martin Baulig <martin@gnome.org>
671 * Array.cs: More argument checking and bug fixing.
673 2002-03-01 Miguel de Icaza <miguel@ximian.com>
675 * BitConverter.cs: Indentation match
677 * AppDomain.cs: Added MonoTODOs to this too.
679 * Buffer.cs: Added MonoTODOs to this.
681 2002-03-01 Martin Baulig <martin@gnome.org>
683 * Array.cs: Added argument checking to all methods where it was missing.
685 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
687 * BitConverter.cs: Fixed bugs in ToString methods
689 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
691 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
693 2002-03-01 Nick Drochak <ndrochak@gol.com>
695 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
696 ArgumentOutOfRangeException like the docs say.
698 2002-03-01 Martin Baulig <martin@gnome.org>
700 * Enum.cs (CompareTo): Correctly override this method from IComparable.
702 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
704 2002-02-28 Martin Baulig <martin@gnome.org>
706 * String.cs: This file now passes the testsuite on Linux :-)
708 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
709 make them private and provide C# wrappers which do proper argument checking.
711 * String.cs (Format): Correctly handle escaped brackets.
713 * String.cs (_CompareChar): New internal function which compares two chars.
714 (_Compare): Provide an internal compare method which can do all sorts of
715 comparision and call it from all the Compare() methods. Also fixed a lot of
716 bugs here, this code now actually passes the testsuite.
718 2002-02-28 Duncan Mak <duncan@ximian.com>
720 * Convert.cs: Added the missing methods. The new class status page
721 kicks ass, it even found my typos! Woohoo!
722 (ConvertFromBase): Moved the Exception throwing in here and
723 removed the other occurances so it's all centralized now.
724 (ISDBNull): Implemented.
725 (GetTypeCode): Implemented.
727 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
728 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
729 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
730 states that a lacking format should be interpreted as "N".
731 Also added [Serializable] attribute
732 * TimeSpan.cs: some formatting and added the [Serializable] attribute
734 2002-02-26 Duncan Mak <duncan@ximian.com>
736 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
738 2002-02-26 Martin Baulig <martin@gnome.org>
740 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
741 fields of the interncall GetTimeZoneData.
743 * DateTime.cs: Implemented Parse and fixed a few bugs.
745 * String.cs (TrimStart): Small fix.
747 2002-02-26 Martin Baulig <martin@gnome.org>
749 * DateTime.cs: ParseExact is now fully functional.
751 * String.cs (TrimEnd): Small fix.
753 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
754 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
755 missing for about six months.
757 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
759 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
761 2002-02-26 Martin Baulig <martin@gnome.org>
763 * DateTime.cs: Miguel already committed this, but there was still a
764 ChangeLog entry for this missing ....
765 We're now reusing functionality from TimeSpan, printing dates is
766 fully implemented, currently working on parsing.
768 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
771 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
773 * MonoType.cs: disable constructor.
774 * Object.cs: make GetType() an internalcall.
775 * Type.cs: added correct bindingflags to GetMethods ().
776 All such calls should be reviewed to use the correct flags.
778 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
780 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
783 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
785 * Type.cs: implemented IsAssignableFrom.
787 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
788 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
789 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
790 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
791 The former is documented by Microsoft. The latter is how they
792 actually implemented it in mscorlib:-)
794 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
796 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
798 * MonoType.cs: Implemented custom attributes methods.
801 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
804 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
806 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
808 * MonoType.cs: Implemented custom attributes methods.
810 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
812 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
814 2002-02-19 Duncan Mak <duncan@ximian.com>
816 * Convert.cs: Finished up the missing methods in Convert. Added a
817 new private method ConvertFromBase.
819 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
821 * String.cs: impl. IConvertible interface
823 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
824 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
826 2002-02-18 Duncan Mak <duncan@ximian.com>
828 * Convert.cs: Changed from using Type.GetType (string) to just
829 typeof (). Probably will speed things up a bit?
831 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
834 1. Fix for GetUpperBound to return correct values
835 2. made some Properties virtual
836 3. Adds IsFixedSize and IsReadOnly properties.
837 4. changes CreateInstance(Type,int[],int[]) to throw Exception
838 when third arg is null. InternalCall CreateInstance changed to
840 5. Fixed array.GetUpperBound at a couple of places
841 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
842 7. Added two FIXME's in BinarySearch functions.
844 2002-02-17 Duncan Mak <duncan@ximian.com>
846 * TimeZone.cs: Applied the rest of Ajay's patch for
847 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
850 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
851 * Guid.cs: added stub for Guid(string) ctor
853 2002-02-17 Duncan Mak <duncan@ximian.com>
855 * Convert.cs: Near-complete implementation of Convert.cs
857 Added all the To* methods taking (object) and
858 (object, IFormatProvider) as parameters.
860 Added [CLSCompliant (false)] attributes to methods dealing with
863 Added the missing section on converting to and from DateTime. Only
864 6 missing methods, all marked with MonoTODOs. Will tackle them later.
866 2002-02-16 Duncan Mak <duncan@ximian.com>
868 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
869 make IsDaylightSavingTime (DateTime) call
870 IsDaylightSavingTime (DateTime, DaylightTime).
872 Added internal class CurrentTimeZone from Ajay. It needs more work
873 to fill in the appropriate internal calls.
875 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
877 * Type.cs: fix IsClass.
879 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
881 * String.cs: fix Trim().
883 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
885 * String.cs: fix more off by one errors.
887 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
889 * MonoType.cs: fix IsValueTypeImpl.
890 * Type.cs: fix IsEnum. Implement Equals methods.
892 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
894 * Int32.cs: implement IConvertible interface.
896 2002-02-12 Duncan Mak <duncan@ximian.com>
898 * TimeZone.cs: Implemented and added to CVS.
900 2002-02-11 Duncan Mak <duncan@ximian.com>
902 * Convert.cs: Implemented the ChangeType () methods.
904 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
906 * Array.cs: make Clone() an internal call.
908 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
909 * Changed Guid.NewGuid so that it can use both System.Random and
910 System.Security.Cryptography.RandomNumberGenerator
912 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
913 * First version of Guid.NewGuid
915 2002-02-08 Duncan Mak <duncan@ximian.com>
917 * RuntimeArgumentHandle.cs: Added to CVS.
919 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
921 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
922 UnhandledExceptionEventHandler.cs: added delegates.
924 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
926 * MarshalByRefObject.cs: add ToString () method
927 (apparently needed by nunit).
928 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
929 by it in the runtime.
931 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
933 * String.cs (Format): implemented
935 2002-02-07 Duncan Mak <duncan@ximian.com>
937 * DuplicateWaitObjectException:
938 * InvalidCastException:
939 * NotImplementedException:
940 * NotSupportedException:
941 * NullReferenceException:
942 * OutOfMemoryException:
945 * StackOverflowException.cs:
946 * UnauthorizedAccessException: Added missing constructor used for serialization.
948 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
950 * String.cs (System.Compare): bug fix
952 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
954 * Enum.cs (Parse, GetHashCode): impl.
956 2002-02-05 Duncan Mak <duncan@ximian.com>
958 * DBNull.cs: This is my first crack at the DBNull class. I think I
959 actually got most of the IConvertible methods right, but I haven't
960 done the research to test whether or not this is the correct
961 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
963 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
965 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
967 * Enum.cs: added more functionality (GetName, ToObject, Equals)
969 2002-01-31 Duncan Mak <duncan@ximian.com>
971 * InvalidOperationException.cs:
972 * NotFiniteNumberException.cs:
973 * ObjectDisposedException.cs:
974 * TypeInitializationException.cs: Added missing bits for serialization/
976 * AppDomainUnloadedException.cs:
977 * ApplicationException.cs:
978 * ArgumentOutOfRangeException.cs:
979 * ArithmeticException.cs:
980 * ArrayTypeMismatchException:
981 * BadImageFormatException.cs:
983 * MissingMemberException.cs:
984 * TypeLoadException.cs: Added missing bits for serialization.
986 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
987 * Guid.cs: implemented everything but Guid.NewGuid
989 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
991 * _AppDomain.cs: remove ToString() method: it doesn't seem right
992 to have it in this interface and it screws up the method vtable setup.
994 2002-01-28 Andrei Zmievski <andrei@php.net>
996 * Double.cs: implemented IConvertible interface.
998 2002-01-28 Miguel de Icaza <miguel@ximian.com>
1000 * ArgumentException.cs: Implement serialization constructor.
1001 (GetObjectData): Implement serializer.
1003 * ArgumentNullException.cs: Implement serialization constructor.
1005 * Exception.cs: Implement serialization constructor.
1006 (GetObjectData): Implement serializer.
1008 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1010 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
1012 2002-01-23 Duncan Mak <duncan@ximian.com>
1014 * EntryPointNotFoundException.cs:
1015 * FormatException: Added missing constructor and related bits.
1017 * TypeLoadException: Added missing constructor, methods and properties.
1019 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1021 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
1022 manually getting the enumerator.
1024 (AppDomain.AppDomain): Prime the loaded assemblies with the
1025 assemblies loaded by the runtime in our behalf.
1027 * AppDomainSetup.cs: Remove private keyword, that is the default.
1028 Add a new property DisallowPublisherPolicy.
1030 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
1032 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
1034 * MonoType.cs, Type.cs: many updates, corrected implementation,
1037 2002-01-20 Andrei Zmievski <andrei@php.net>
1040 * Char.cs: implemented IConvertible interface.
1042 * Boolean.cs: use our own ToString() method directly.
1044 2002-01-20 Duncan Mak <duncan@ximian.com>
1046 * Files I commited recently: Fixed indentation style.
1048 2002-01-20 Nick Drochak <ndrochak@gol.com>
1050 * SerializableAttribute.cs: this attrib can be used on enums, structs,
1051 and delegates too. Added the appropriate usage flags.
1053 2002-01-18 Duncan Mak <duncan@ximian.com>
1055 * CharEnumerator.cs: Implemented.
1056 * String.cs (System): Fixed the GetEnumerator () method(s).
1058 * ObsoleteAttribute.cs:
1059 * STAThreadAttribute.cs:
1060 * MTAThreadAttribute.cs:
1061 * ThreadStaticAttribute.cs:
1062 * LoaderOptimizationAttribute.cs:
1063 * PlatformNotSupportedException.cs:
1064 * LoaderOptimization.cs: Added to CVS.
1066 2002-01-18 Duncan Mak <duncan@ximian.com>
1068 * AppDomainUnloadedException.cs:
1069 * MethodAccessException.cs:
1070 * ContextMarshalException.cs:
1071 * CannotUnloadAppDomainException.cs:
1072 * DllNotFoundException.cs:
1073 * EntryPointNotFoundException.cs:
1074 * FieldAccessException.cs:
1075 * TypeUnloadedException.cs:
1076 * MissingFieldException.cs: Added to CVS.
1078 * ApplicationException.cs:
1079 * MemberAccessException.cs:
1080 * MissingMemberException.cs
1081 * MissingMethodException.cs:
1082 * SystemException.cs: Added [Serializable] attribute.
1084 * Exception.cs: Added [Serializable] attribute, made properties
1085 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
1088 * ContextStaticAttribute.cs: Added [Serializable] attribute and
1089 put in the missing constructor.
1091 * Environment.cs: Commented out references to
1092 EnvironmentPermissionAttribute, because they're just stubbed out
1093 right now and has no implementation.
1095 2002-01-16 Andrei Zmievski <andrei@php.net>
1097 * Boolean.cs: implemented IConvertible interface
1099 2002-01-15 Nick Drochak <ndrochak@gol.com>
1101 * ResolveEventArgs.cs: class should derive from EventArgs.
1103 2002-01-14 Miguel de Icaza <miguel@ximian.com>
1105 * String.cs (System): Use DefaultMemberName for the String class.
1107 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
1109 * String.cs: use IndexerName in index char accessor.
1111 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1113 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
1114 * String.c: eliminate 64k+ method calls in search.
1115 * Type.cs: handle byref and array types in ToString ().
1117 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
1119 * Guid.cs: created first version
1121 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
1123 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
1125 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
1127 * MulticastDelegate.cs: add == and != operator stubs.
1128 * String.cs: check for null in == operator.
1129 * Type.cs: use a virtual method to get TypeAttributes.
1131 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
1132 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
1134 2002-01-09 Nick Drochak <ndrochak@gol.com>
1136 * Environment.cs: Comment out Security attribute and put a MonoTODO
1137 there as a reminder. We need mcs magic to handle security attributes in
1140 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
1141 * Created IAppDomainSetup.cs
1143 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
1144 * Created System._AppDomain interface in _AppDomain.cs
1146 2002-01-06 Nick Drochak <ndrochak@gol.com>
1148 * ResolveEventArgs.cs: New File, completely implemented! ;)
1150 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
1152 * Enum.cs: dummy ToString impl.
1153 * String.cs: dummy format implementations to get compiler errors
1155 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
1157 2002-01-05 Ravi Pratap <ravi@ximian.com>
1159 * TODOAttribute.cs : Augment some more; provide two constructors
1160 with support for a comment too.
1162 2002-01-05 Nick Drochak <ndrochak@gol.com>
1164 * Uncommented those MonoTODO's now that Ravi's got
1167 2001-01-04 Ravi Pratap <ravi@ximian.com>
1169 * TODOAttribute.cs : Actually add this time ;-)
1171 Change name to MonoTODO.
1173 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
1175 * String.cs (Trim): Fixed a few logic bugs in the code that
1176 calculated how much to trim off the end of the string.
1178 2001-01-04 Nick Drochak <ndrochak@gol.com>
1180 * Commented out the [TODO] attributes for now. We don't have the
1181 class written. Also changed it to [MonoTODO]
1183 2002-01-04 Ravi Pratap <ravi@ximian.com>
1185 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
1186 our class libraries that are incomplete.
1188 * Array.cs : Apply attribute wherever we find a FIXME which says
1189 we need something to be implemented there.
1193 * MulticastDelegate.cs : Ditto.
1195 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
1196 RuntimeTypeHandle.cs : Ditto.
1198 * String.cs : Ditto.
1202 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
1204 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
1205 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1207 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
1208 Delegate.cs : Ditto.
1210 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
1211 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1213 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1215 * Delegate.cs: add Remove() stub.
1216 * Enum.cs: add ToObject().
1217 * Type.cs: add IsEnum property.
1219 2002-01-03 Kristian Rietveld <kris@gtk.org>
1221 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
1222 DateTime and object.
1224 2001-12-30 Nick Drochak <ndrochak@gol.com>
1226 * Byte.cs (Parse): Add comments to aid in testing.
1228 2001-12-21 Miguel de Icaza <miguel@ximian.com>
1230 * Char.cs (Parse): Implement.
1232 * Byte.cs (Parse): Implement a fast parser.
1234 * SByte.cs (Parse): Implement a fast parser.
1236 * UInt16.cs (Parse): Implement a fast parser.
1238 * Int16.cs (Parse): Implement a fast parser.
1240 * UInt32.cs (Parse): Implement a fast parser.
1242 * Int32.cs (Parse): Implement a fast parser.
1244 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1246 * Array.cs: fix null ref in sort code.
1247 * UInt64.cs: add bare-bones parse.
1249 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1251 * Byte.cs: removed use of Regexes.
1253 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
1255 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
1256 IsDefined(), GetUnderlyingType().
1257 * String.cs: fix one instance of Compare().
1258 * Type.cs: implemented GetProperties(), GetProperty().
1260 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1262 * Array.cs: implement CopyTo ().
1263 * Char.cs: implement ToString ().
1264 * Exception.cs: bugfix.
1265 * Int32.cs: bare-bones Parse ().
1266 * MonoType.cs: query the needed info with an internalcall.
1267 * String.cs: speedups, bugfixes, reduced copies.
1268 * Type.cs: added missing fields. Implemented many of the Is*
1269 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
1270 GetFields(), FindMembers(), ToString().
1272 2001-12-11 Dick Porter <dick@ximian.com>
1274 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
1276 * Console.cs: Use handles rather than casting file descriptors
1278 2001-12-08 Nick Drochak <ndrochak@gol.com>
1280 * Byte.cs (Parse): Start implementation. Parse(string) works, but
1281 now we need to handle other formats
1283 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
1285 * DateTime.cs: added an icall to GetNow()
1287 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
1289 * Double.cs: added the parse method from Bob Smith
1291 2001-11-28 Miguel de Icaza <miguel@ximian.com>
1297 * Int32.cs (Int32.CompareTo): Fix because we can not just
1298 substract the values.
1300 Return possitive value if the object is null.
1302 * Boolean.cs: (Boolean.CompareTo): ditto.
1304 * Int16.cs (Int16.CompareTo): ditto.
1306 * Byte.cs (Byte.CompareTo): ditto.
1308 * SByte.cs (SByte.CompareTo): ditto.
1310 * Char.cs (Char.CompareTo): ditto.
1312 * Decimal.cs (Decimal.CompareTo): ditto.
1314 * Int64.cs (Int64.CompareTo): ditto.
1320 2001-11-28 Nick Drochak <ndrochak@gol.com>
1322 * Byte.cs: Throw NotImplementedException for Parse.
1324 2001-11-27 Derek Holden <dholden@draper.com>
1326 * IntegerFormatter.cs: Formatting of type "Number" was not
1327 using NumberFormatInfo.NumberNegativePattern.
1329 2001-11-26 Dick Porter <dick@ximian.com>
1331 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
1332 the finalise routine any more
1334 2001-11-21 Miguel de Icaza <miguel@ximian.com>
1336 * ApplicationException.cs: internationalize by adding calls to
1337 Locale.GetText (). And throw NotImplementedExceptions on calls
1338 that we have to implement.
1340 * Version.cs: Ditto.
1342 * ValueType.cs: ditto.
1344 * UnauthorizedAccessException.cs: ditto.
1352 * TypeLoadException.cs: ditto
1354 * TypeInitializationException.cs: ditto.
1358 * TimeSpan.cs: ditto.
1360 * SystemException.cs: ditto.
1364 * StackOverflowException.cs: ditto.x
1370 * RuntimeTypeHandle.cs: ditto.
1372 * RuntimeMethodHandle.cs: ditto.
1374 * RuntimeFieldHandle.cs: ditto.
1378 * OutOfMemoryException.cs: ditto.
1380 * OperatingSystem.cs: ditto.
1382 * ObjectDisposedException.cs: ditto.
1384 * NullReferenceException.cs: ditto.
1386 * NotImplementedException.cs: ditto.
1388 * NotFiniteNumberException.cs: ditto.o
1390 * MulticastNotSupportedException.cs: ditto.
1392 * MissingMethodException.cs: ditto.
1394 * MemberAccessException.cs: ditto.
1398 * InvalidCastException.cs: ditto.
1400 * IntegerFormatter.cs: ditto.
1406 * IndexOutOfRangeException.cs: ditto.
1408 * Environment.cs: ditto
1412 * DuplicateWaitObjectException.cs: ditto.
1414 * DivideByZeroException.cs: ditto.
1416 * Delegate.cs: ditto
1418 * DecimalFormatter.cs: ditto.
1420 * Decimal.cs: ditto.
1422 * DateTime.cs: ditto.
1424 * Convert.cs: ditto.
1430 * Boolean.cs: ditto.
1432 * ArrayTypeMismatchException.cs: ditto.
1434 * ArithmeticException.cs: ditto.
1436 * ArgumentOutOfRangeException.cs: ditto.
1438 * ArgumentNullException.cs: ditto.
1440 * Enum.cs: Make it derive from ValueType, add CompareTo method.
1442 * Attribute.cs: Reformat.
1444 2001-11-14 Miguel de Icaza <miguel@ximian.com>
1446 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
1447 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
1448 exception if the value is null too.
1450 * Char.cs (CompareTo): ditto.
1452 * ApplicationException.cs: Added constructor that does serialization.
1454 * ParamArrayAttribute.cs: Define attribute correctly.
1456 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
1458 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
1459 * Array.cs: fix Array.Copy.
1460 * AssemblyLoadEventArgs.cs: rename field.
1461 * CLSCompliantAttribute.cs: use correct name for the class.
1462 * Char.cs: fix IsLetter.
1463 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
1464 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
1465 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
1466 * Delegate.cs: renamed target field to m_target.
1467 * Enum.cs: added missing methods.
1468 * MonoType.cs: add a constructor and some needed properties.
1469 * Object.cs: implement GetType().
1470 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
1472 * Type.cs: add missing methods/properties.
1474 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1476 * AttributeUseage.cs: Should define AttributeUsageAttribute.
1478 * CLSCompliant.cs: Marked with AttributeUsage attribute.
1480 * Decimal.cs: Fixed CLSCompliant attributes.
1482 * Type.cs: changed _impl to internal (needs to be accessable by
1485 (TypeHandle): Marked as abstract, implementation removed.
1487 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
1488 GetMethod): Added stub implementations so NUnit would link against
1491 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
1493 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
1495 2001-11-05 Miguel de Icaza <miguel@ximian.com>
1497 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
1500 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
1502 * String.cs: fix a couple of bugs.
1503 * AppDomain.cs: use new AppBuilder constructor.
1504 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
1505 NotImplementedException.cs, ObjectDisposedException.cs,
1506 UnauthorizedAccessException.cs: add implementation.
1507 * OverflowException.cs: fix class name.
1509 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
1511 * String.cs: Don't use a terminating nil char for our internal
1514 2001-10-27 Miguel de Icaza <miguel@ximian.com>
1516 * Delegate.cs (Delegate.CombineImpl): Implement.
1517 (Delegate.Combine): Implement.
1519 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
1521 (MulticastDelegate.CombineImpl): This was not as trivial as I
1524 * ContextStaticAttribute.cs: Added AttributeUsage to
1525 ContextStaticAttribute.
1527 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
1529 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
1531 * added Decimal.cs * added DecimalFormatter.cs (internal class
1532 used from System.Decimal)
1534 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
1536 * Convert.cs: Added methods for Base64 transforming just used the
1537 existing System.Security.Cryptography.ToBase64Transform, should
1538 be changed to use a stand-alone class, e.g. Base64Encoder
1540 2001-10-10 Derek Holden <dholden@draper.com>
1542 * IntegerFormatter.cs: Added. Implements ToString for all the
1543 integer data types for all the format types.
1545 * Byte.cs: Using IntegerFormatter for ToString's.
1547 * SByte.cs: Using IntegerFormatter for ToString's.
1549 * Int16.cs: Using IntegerFormatter for ToString's.
1551 * Int32.cs: Using IntegerFormatter for ToString's.
1553 * Int64.cs: Using IntegerFormatter for ToString's.
1555 * UInt16.cs: Using IntegerFormatter for ToString's.
1557 * UInt32.cs: Using IntegerFormatter for ToString's.
1559 * UInt64.cs: Using IntegerFormatter for ToString's.
1561 2001-10-07 Miguel de Icaza <miguel@ximian.com>
1563 * Exception.cs: Implement bits of serialization.
1565 * RuntimeFieldHandle.cs: Implement Serialization features.
1567 * Type.cs: Implement TypeHandle property.
1569 2001-09-28 Dick Porter <dick@ximian.com>
1571 * LocalDataStoreSlot.cs: Implemented
1573 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
1575 * String.cs: fix off-by-one error in Trim().
1577 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
1579 * Type.cs: added GetType () method.
1581 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
1583 * MissingMethodException.cs, MissingMemberException.cs,
1584 MemberAccessException.cs: added.
1586 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
1588 * String.cs: don't access the string array out of bounds in
1589 LastIndexOf. * Type.cs: fix return type of the Assembly property.
1591 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
1593 * String.cs: make Intern and IsIntern internalcalls.
1595 2001-09-13 Dick Porter <dick@ximian.com>
1597 * Type.cs: Added a stub for the IsValueType property.
1599 * SystemException.cs (System): Added the other constructor, so
1600 that System.Threading exceptions can inherit it.
1602 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
1604 * String.cs (TrimStart): Don't keep looping through the trimchars
1605 once we've found a match.
1606 (TrimEnd): Same here.
1607 (Trim): And finally here.
1609 2001-09-07 Ravi Pratap <ravi@ximian.com>
1611 * Char.cs (IsLetterOrDigit): Implement.
1612 (IsLower): Implement, but we need to be Unicode aware.
1613 (IsNumber): Implement.
1614 (IsPunctuation): Implement.
1615 (IsWhiteSpace): Implement.
1616 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
1617 (ToLower): Same here.
1619 2001-09-04 Miguel de Icaza <miguel@ximian.com>
1621 * Object.cs: Shortcut, if (a == b) then return true.
1623 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
1625 * Delegate.cs: we need a pointer to the method thunk in
1626 the delegate object.
1628 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
1630 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
1632 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
1634 * String.cs (System): Don't mix uint and int.
1636 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
1638 * String.cs (BoyerMoore): Modified to not use pointers and to instead
1640 (IndexOf): Use BoyerMoore.
1642 2001-09-02 Miguel de Icaza <miguel@ximian.com>
1644 * All over: Use the autogenerated enumerations from the ECMA
1645 documentation that Sergey wrote.
1647 * PlatformID.cs: Add Unix definition.
1649 * OperatingSystem.cs: Use Unix instead of Linux here.
1651 * MarshalByRefObject.cs: Mark class as [Serializable].
1653 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
1655 * Console.cs: impl. (write only)
1656 implemented the stdin stuff
1658 * Int32.cs: impl. real op_Equal
1660 2001-08-24 Miguel de Icaza <miguel@ximian.com>
1662 * (common.src): Removed IAsyncResult as it is not on CVS yet.
1664 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
1665 as it breaks the build.
1667 2001-08-23 Michael Lambert <michaellambert@email.com>
1669 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
1670 added CLSCompliant attribute
1672 * IAsyncResult.cs: Added
1674 * common.src: Added IAsyncResult.cs
1676 2001-08-23 Michael Lambert <michaellambert@email.com>
1680 * common.src: Added UIntPtr.cs
1682 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
1684 * Attribute.cs: uncomment some code to make it compile again
1686 * mono.src: removed duplicated Attribute.cs
1688 2001-08-16 Nick Drochak <ndrochak@gol.com>
1690 * Attribute.cs: implemented all methods except GetHashCode()
1692 * common.src: added Attribute.cs so it would compile in
1694 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
1696 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
1697 marked it as InternalCall
1699 * common.src: removed UriFormatException.cs because the file is
1702 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
1703 * Char.cs: replaced byte with char
1705 * Array.cs: make it work with the mono interpreter
1707 2001-08-06 Miguel de Icaza <miguel@ximian.com>
1709 * Version.cs: Make the class sealed
1711 2001-08-08 Bob Smith <bob@thestuff.net>
1713 * Random.cs: Many compile fixes.
1714 * Random.cs: I read a bad spec. Class updated to match real spec.
1716 2001-08-06 Miguel de Icaza <miguel@ximian.com>
1718 * IntPtr.cs: Added and Completed implementation.
1720 * Uri.cs: Add a note.
1722 2001-08-06 Bob Smith <bob@thestuff.net>
1724 * Random.cs: Compile fix. Needs more testing.
1726 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
1728 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
1729 into account IPv6 addresses, url encoding needs to be implemented, and
1730 various minor methods need to be written, but this is a decent start.
1732 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
1734 * common.src: added Object.cs
1736 * mono.src: added ValueType.cs
1738 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
1740 * Math.cs: replaced libc with libm
1742 2001-08-02 Bob Smith <bob@thestuff.net>
1744 * Random.cs: Implemented. Needs testing.
1746 2001-08-02 Miguel de Icaza <miguel@ximian.com>
1748 * IServiceProvider.cs, EventHandler.cs: New files.
1750 2001-08-02 Marcel Narings <marcel@narings.nl>
1752 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
1753 Added exceptions. Added IConvertible. Still needs some platform
1754 dependend stuff, the Parse and ToString members
1756 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
1758 * Type.cs (GetTypeFromHandle): added placeholder
1760 2001-07-24 Derek Holden <dholden@draper.com>
1762 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
1763 which is really an IConvertible defined method.
1765 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
1766 behavior, still need to do the main Parse and ToString.
1768 * Char.cs: Added a bunch of missing ECMA methods. Commented a
1769 specification discrepency. Still didn't any unicode stuff, though
1770 every IsFoo(char c) method has an IsFoo(string, index)
1771 counterpart, added wrappers for those.
1773 * Convert.cs: Fixed NaN/Inf checking and double/float
1774 rounding. Added ToType for IConvertible classes
1776 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
1777 IsNaN methods. Changed Inf/NaN internals.
1779 * IConvertible.cs: Added comments for using
1780 Convert.ToType. Changed return values to draft base values.
1782 * Int16.cs: Added a missing Parse statement. Put in behavior for
1783 overloaded ToString and Parse methods.
1785 * Int32.cs: Added a missing Parse statement. Put in behavior for
1786 overloaded ToString and Parse methods.
1788 * Int64.cs: Added a missing Parse statement. Put in behavior for
1789 overloaded ToString and Parse methods.
1791 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
1792 methods. Changed Inf/NaN internals.
1794 * SByte.cs: Added a missing Parse method. Put in Parse and
1795 ToString behavior, still need to do the main Parse and ToString.
1797 * UInt16.cs: Added a missing Parse statement. Put in behavior for
1798 overloaded ToString and Parse methods.
1800 * UInt32.cs: Added a missing Parse statement. Put in behavior for
1801 overloaded ToString and Parse methods.
1803 * UInt64.cs: Added a missing Parse statement. Put in behavior for
1804 overloaded ToString and Parse methods.
1806 2001-07-20 Miguel de Icaza <miguel@ximian.com>
1808 * MulticastDelegate.cs: New File.
1810 * Delegate.cs: New file.
1812 * Enum.cs: New file.
1814 * Attribute.cs: New file.
1816 * Type.cs: New file.
1818 * ParamArrayAttribute.cs: New file.
1820 * RuntimeTypeHandle.cs: New file.
1822 * MulticastDelegate.cs: Added.
1824 * DateTime.cs: Added
1826 * Delegate.cs: Added
1828 2001-07-18 Michael Lambert <michaellambert@email.com>
1830 * AttributeTargets.cs: Add.
1832 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
1834 * Char.cs: Made ToUpper and ToLower public methods.
1836 * String.cs: Lots and lots of compile fixes - just need to write
1837 DateTime.cs and this should build completely now.
1839 2001-07-19 Bob Smith (bob@thestuff.net)
1841 * Math.cs: Implemented.
1843 2001-07-19 Miguel de Icaza <miguel@ximian.com>
1845 * String.cs: Removed tolower and toupper.
1847 * Char.cs: Moved ToLower and ToUpper from string to here.
1849 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
1850 instead of comparing the value to Nan.
1852 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
1854 * TimeSpan.cs: New implementation.
1856 2001-07-18 Scott Sanders <scott@stonecobra.com>
1858 * UriFormatExcpetion.cs: Add - 85% complete
1860 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
1862 * String.cs (IndexOf): Slight optimization that allows skipping
1863 over a few chars here and there. This isn't as good as using my
1864 Boyer-Moore implementation, however, Boyer-Moore is only really
1865 good for long strings (I plan on making the code decide which
1866 string search algorithm it should use on-the-fly at some point).
1867 (LastIndexOf): Fix to work correctly.
1868 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
1870 2001-07-16 Michael Lambert <michaellambert@email.com>
1872 * EventArgs.cs: Add.
1874 2001-07-16 Miguel de Icaza <miguel@ximian.com>
1876 * Version.cs: Remove my buggy comment.
1878 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
1880 * String.cs: Spelling error of IComparable, object's
1881 MemberwiseClone cannot be overridden. Made indexer valid for now,
1882 but not sure what to do about this in the long run. Seems to be a
1883 couple bugs in csc.exe having to do with multiple pointer defs in
1884 the same statement, and returning subclasses of a class in the
1885 return type of an interface function implementation. Also moved
1886 operators inside of class definition.
1888 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
1890 * String.cs: A tom of compile fixes, although we still don't compile.
1892 * IConvertible.cs: The To*Int64() methods return *Int64's, not
1893 *Int32's. Also, it's ToDateTime() not ToDateType().
1895 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
1897 * String.cs: Apparently I needed to at least write stubs for the
1898 IConvertible interfaces. *sigh*
1900 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
1902 * String.cs: Many logic/other fixes and better usage of the
1904 (tolower): New convenience method to help condense code.
1905 (toupper): Another new helper method.
1906 (Compare): Use the new helper methods.
1907 (ToLower): use tolower().
1908 (ToUpper): use toupper().
1909 (LastIndexOfAny): Implemented.
1910 (BoyerMoore): New private helper method that implements a modified
1911 version of the Boyer-Moore search algorithm. Noothing uses it yet
1912 as I'm not 100% sure it even works properly with unicode strings
1913 not to mention it uses a huge lookup-table :-)
1914 (Split): Implemented.
1916 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
1918 * TODO: Added things that need to be finished in System.String
1920 * String.cs: New source file implementing the System.String class
1922 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
1924 * TypeCode.cs: UInt64 was UInt63.
1926 * Object.cs: Fixed a numer of compiler errors.
1928 * Array.cs: Fixed some compiler errors.
1930 * IComparable.cs: Fixed some compiler errors.
1932 * ICloneable.cs: Fixed some compiler errors.
1934 * IConvertible.cs: Fixed some compiler errors.
1936 * IFormattable.cs: Fixed a compiler error.
1938 * IFormatProvider.cs: Fixed a compiler error.
1940 * IDisposable.cs: Fixed a compiler error.
1942 * IFormatProvider.cs: Added public accesability type to
1945 * Exception.cs: Added a using statement to remove compile time
1948 * ApplicationException.cs: Removed a ; that was causing a compiler
1951 * Int16.cs: Fixed some compiler errors.
1953 * Int32.cs: Fixed some compiler errors.
1955 * Int64.cs: Fixed some compiler errors.
1957 * SystemException.cs: Fixed a compiler error.
1959 * UInt16.cs: Fixed some compiler errors.
1961 * UInt32.cs: Fixed some compiler errors.
1963 * UInt64.cs: Fixed some compiler errors.
1965 * Void.cs: Fixed a compiler error.
1967 2001-07-12 Joe Shaw <joe@ximian.com>
1969 * Array.cs: Fix backwards parameters to Array.SetValue()
1971 (BinarySearch): Fix backward logic surrounding whether to call
1972 value.CompareTo or comparer.Compare.
1973 (LastIndexOf): Stop being stupid. I am so not used to strongly
1975 (Sort): Implement a quicksort.
1977 2001-07-11 Joe Shaw <joe@ximian.com>
1979 * Array.cs: Change all instances of trying to access an array with
1980 the index operator to calls to GetValue and SetValue, and add
1981 InternalGetValue and InternalSetValue which are internal calls
1982 into the runtime. Ew.
1984 2001-07-10 Joe Shaw <joe@ximian.com>
1986 * Array.cs: Implemented everything but Sort().
1988 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
1990 * Object.cs (Object::Equals): Object variable name is `o'.
1992 2001-07-06 Joe Shaw <joe@ximian.com>
1994 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
1995 Implement the IComparable and IFormattable interfaces. Fix a typo
1998 * ApplicationException.cs, ArgumentException.cs,
1999 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
2000 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
2001 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
2002 ExecutionEngineException.cs, FormatException.cs,
2003 IndexOutOfRangeException.cs, InvalidCastException.cs,
2004 InvalidOperationException.cs, InvalidProgramException.cs,
2005 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
2006 NotSupportedException.cs, NullReferenceException.cs,
2007 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
2008 StackOverflowException.cs, SystemException.cs,
2009 TypeInitializationException.cs: Added all of the exceptions
2010 specified by the language spec. Mmmm... bloat.
2012 2001-07-06 Miguel de Icaza <miguel@ximian.com>
2014 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
2015 do a generic routine all of these guys use.
2017 * Int16.cs: identified missing methods.
2019 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
2021 2001-06-26 Miguel de Icaza <miguel@ximian.com>
2023 * TypeCode.cs: Implement
2025 * Void.cs: Implement.
2027 * TODO: Add file to keep track of pending tasks.
2029 * Object.cs, ValueType.cs: Implement.