1 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
3 * MonoType.cs: moved get_method icall to this class, we can
4 remove it as soon someone provides a full featured GetMethodImpl.
6 * Type.cs: use GetMethodImpl everywhere.
8 * Delegate.cs: new CreateDelegate implementations.
10 2002-08-06 Tim Coleman <tim@timcoleman.com>
12 Fix bug #28582. Now checks parameters for properties
15 2002-08-04 Nick Drochak <ndrochak@gol.com>
17 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
19 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
22 (FormatSpecifier): allow white space between the comman and the width
25 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
30 * UInt64.cs: fixed bug #28050. May be a MS bug?
32 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
34 * MonoType.cs: fix IsArrayImpl.
36 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
38 * String.cs: make ToLower (culture) and ToUpper (culture) use the
39 default ToLower and ToUpper and don't throw NotImplemented.
41 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
43 * Type.cs: make GettTypeCode an icall. Test implementation of
46 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
48 * AppDomainSetup.cs: implemented LoaderOptimization.
50 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
52 * Activator.cs: some more intermediate results checking in
53 in CreateInstance and CreateInstanceFrom and use GetConstructor and
54 Invoke only with Type [] until the other overloaded versions work.
56 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
58 * Activator.cs: reformatted. Implemented CreateInstance* methods
59 that return ObjectHandle.
61 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
63 2002-07-03 Nick Drochak <ndrochak@gol.com>
65 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
66 the divisor is not) and avoid the icall, which seems to have a bug.
68 2002-07-03 Nick Drochak <ndrochak@gol.com>
70 * Double.cs (CompareTo): Correctly handle the case where the instance
71 is NaN. Also return 0 if the values are equal.
73 2002/07/03 Nick Drochak <ndrochak@gol.com>
75 * MissingMethodException: Add missing Message property
76 * MissingMemberException: Add missing Message property
78 2002-06-30 Nick Drochak <ndrochak@gol.com>
80 * Double.cs (CompareTo): Just see which is bigger. Don't use the
81 subtraction trick, it doesn't work when the values have a diference of
84 * Single.cs (CompareTo): same
86 2002-06-27 Martin Baulig <martin@gnome.org>
88 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
89 constructor argument. [FIXME: The implicit conversion to an
90 unsigned integer doesn't work with mcs.]
92 2002-06-26 Martin Baulig <martin@gnome.org>
94 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
95 not `S = System'. This file now compiles with mcs.
97 * String.cs: Removed the already ifdef-outed __arglist Concat function
98 to make it compile with mcs.
100 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
102 * IntegerFormatter.cs:
103 (FormatParse.FormatNumber): fixed custom format for negative numbers.
105 2002-06-21 Martin Baulig <martin@gnome.org>
107 * Double.cs: Replace the private `enum State' with constants since this
108 will avoid some bigger headaches in mcs.
110 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
112 * TimeSpan.cs: do not pollute the namespace with the
115 2002-06-18 Nick Drochak <ndrochak@gol.com>
117 * ArgumentException.cs: Use the message given in the constructor when
118 accessing the Message property. Thanks to Dietmar for the help with
121 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
123 * MonoType.cs: GetField is now a InternalCall
125 2002-06-13 Nick Drochak <ndrochak@gol.com>
127 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
128 sortable format(s), e.g. "2002-02-25"
130 2002/06/12 Nick Drochak <ndrochak@gol.com>
132 * Random.cs (Next): Fix math error. Return a number within the range.
134 2002-06-12 Nick Drochak <ndrochak@gol.com>
136 * String.cs (IndexOf): Return -1 if start index is equal to string
139 2002-06-10 Duncan Mak <duncan@ximian.com>
141 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
142 (ToType): Added null field in conversionTable to avoid
143 IndexOutOfRangeException. Changed what exceptions we throw to match
146 2002-06-11 Nick Drochak <ndrochak@gol.com>
148 * Int64.cs (Parse): Added unique strings to the messages where we throw
149 a FormatException. Needed these to debug, so just left them in since
150 they might be useful later. Fixed Currency parsing where we weren't
151 looking at CurrencyDecimalSeparator, etc.
153 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
\r
155 * DateTime.cs: fixes to pass tests M0 to M6:
\r
156 if yy pattern then year values >= 30 are in 20th century
\r
157 rfc1123 pattern is always in GMT, therefor useutc must be false
\r
158 made GetNow() internal static so it can be called from TimeZone.
\r
159 * TimeZone.cs: removed dependency on year 2002 from initialization of
\r
162 2002-06-09 Duncan Mak <duncan@ximian.com>
164 * Convert.cs (ToType): Rearranged what Exceptions we throw to
167 2002-06-08 Duncan Mak <duncan@ximian.com>
169 * Decimal.cs: Added support for the IConvertible interface.
171 2002-06-08 Martin Baulig <martin@gnome.org>
173 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
174 doesn't necessarily need to be of the enum's underlying type.
176 2002/06/07 Nick Drochak <ndrochak@gol.com>
178 * String.cs: Add [Serializable] to class
179 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
181 2002-06-04 Nick Drochak <ndrochak@gol.com>
183 * Double.cs (Parse): Recognize the group separator string, but still we
184 don't check the format for the proper number of digits between
185 separators. Also throw OverflowException when we get Pos or Neg
186 Infinity from runtime.
188 2002-06-03 Duncan Mak <duncan@ximian.com>
190 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
192 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
194 * Type.cs: fixed GetTypeCode.
196 2002-06-02 Duncan Mak <duncan@ximian.com>
198 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
199 cast from an int so that we throw OverFlowException correctly.
201 (ToInt64): Use a new 64bit version of ConvertToBase.
203 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
206 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
208 2002-06-02 Nick Drochak <ndrochak@gol.com>
210 * Convert.cs (ToSByte): Check for special value.
213 * UInt32.cs (Parse): Throw OverflowException if negative
215 2002-06-02 Duncan Mak <duncan@ximian.com>
217 * Convert.cs (DBNull): Point it to DBNull.Value.
218 (IsDBNull): Instead of checking typecodes, just check to see if
219 it's the same as the DBNull field.
221 2002-06-02 Nick Drochak <ndrochak@gol.com>
223 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
225 2002-06-02 Duncan Mak <duncan@ximian.com>
227 * Char.cs (Parse): Simplify the Exception handling.
229 * Convert.cs (ToDecimal): Remove call to Math.Round () when
230 converting from a float.
232 2002-05-30 Martin Baulig <martin@gnome.org>
234 * MonoType.cs (GetInterface): Implemented.
236 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
238 * Activator.cs: implemented CreateInstance ().
240 2002-05-22 Duncan Mak <duncan@ximian.com>
242 * Convert.cs (ConvertToBase): Added new 64bit version.
243 (BuildConvertedString64): New 64bit version of
244 BuildConvertedString.
246 This fixes bug 25068.
248 (ConvertFromBase): Added additional test for checking if the
249 digits are valid. Thanks to Miguel for coming up with this test.
251 This fixes bug 25071.
253 2002-05-21 Duncan Mak <duncan@ximian.com>
255 * Convert.cs (ToType): Rearranged to fit the new layout of
258 (conversionTable): Rearranged to fit the layout of the
259 System.TypeCode enum.
261 This should fix bug 25075.
263 2002-05-21 Duncan Mak <duncan@ximian.com>
265 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
266 mixed up the two code paths, one for converting to a specific base
267 (this case), another from converting from a foreign base to base10
268 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
270 * Convert.cs (ToByte)
271 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
272 that we won't confuse FormatException with OverflowException.
274 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
276 * Environment.cs: CommandLine missed spaces between arguments.
277 Implemented StackTrace. Returning MachineName in UserDomainName
\r
280 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
282 * MonoCustomAttrs.cs: handle inherit argument.
284 2002-05-21 Nick Drochak <ndrochak@gol.com>
286 * Math.cs (Pow): Change icall method name and insert parameter
287 checks in for infinities and NaN.
289 2002-05-13 Miguel de Icaza <miguel@ximian.com>
291 * Double.cs (Parse): Reimplement by cleaning up the string first,
292 and then passing to strtof in the mono runtime.
294 * Single.cs (Parse): Use the Double implementation and cast to
297 2002-05-21 Nick Drochak <ndrochak@gol.com>
300 (Ceiling): Check for "special" values
301 (Floor): Check for "special" values
302 (Round): Fix off-by-one error on decimal shifting
304 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
\r
306 * DateTime.cs: ToString () using "G" format specifier
\r
308 2002-05-19 Martin Baulig <martin@gnome.org>
310 * Convert.cs (FromBase64CharArray): Do correct exception handling.
312 2002-05-19 Martin Baulig <martin@gnome.org>
314 * Convert.cs (FromBase64CharArray): Convert the char array using
315 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
318 2002-05-17 Miguel de Icaza <miguel@ximian.com>
320 * MonoType.cs: Style changes.
322 * Type.cs: Style changes.
324 2002-05-16 Piers Haken <piersh@friksit.com
326 * UInt64.cs: fix declaration of IConvertible.To* overrides.
328 2002-05-16 Nick Drochak <ndrochak@gol.com>
330 * BitConverter.cs (ToString): Add parameter check for invalid start
333 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
334 now that StreamWriter uses buffering
336 2002-05-14 Miguel de Icaza <miguel@ximian.com>
338 * Double.cs: Oops. Also handle exponents without finding a dot.
340 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
342 * ChangeLog: removed empty entry at the top of the file.
344 * Int32.cs: made static functions used by Parse internal.
348 * UInt64.cs: removed static fucntions used by Parse and use the ones
351 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
353 * IServiceProvider.cs: added using System
355 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
357 * Single.cs: copied ToString() and Parse() methods from
358 Double to Single and modified a tiny bit for Single.
359 There is still a FIXME for Double and Single about
360 passing the format and provider info to the icall too.
\r
362 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
367 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
368 Don't use a delegate to test for valid digits.
370 2002-05-01 Duncan Mak <duncan@ximian.com>
373 * Math.cs: Added missing CLSCompliant attributes where necessary.
375 2002-04-30 Duncan Mak <duncan@ximian.com>
377 * ArgumentException.cs (Message):
378 * ArgumentOutOfRangeException.cs (Message): Added.
380 2002-04-30 Nick Drochak <ndrochak@gol.com>
382 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
384 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
386 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
388 2002-04-28 Duncan Mak <duncan@ximian.com>
390 * DivideByZeroException.cs: Added missing serialization constructor.
392 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
394 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
396 * Math.cs: fix Floor () and Round (). Closes #23960.
398 2002-04-27 Nick Drochak <ndrochak@gol.com>
400 * Array.cs (IList.Contains): Should throw a RankException if this is
401 called on a Rank > 1 array. Not in the docs, but this is what the
404 2002-04-26 Duncan Mak <duncan@ximian.com>
406 * MissingMemberException.cs: Made the message variable 'protected'
407 instead of 'private', so that we can see it in
408 MissingMethodException and MissingFieldException.
410 * MissingFieldException.cs:
411 * MissingMethodException.cs: Added missing (string, string)
412 constructor, and also the Message property.
414 2002-04-26 Martin Baulig <martin@gnome.org>
416 * Enum.cs: Implemented the IConvertible methods.
418 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
420 * SByte.cs: little change in Parse (string) to avoid incorrect
421 OverflowException thrown (reported by nickd).
423 2002-04-22 Miguel de Icaza <miguel@ximian.com>
425 * ValueType.cs: Add Serializable attribute.
427 * String.cs: ifdef-out out the __arglist Concat function until I
428 add support for that to mcs.
430 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
432 * AppDomain.cs (GetValue): usage of the correct icall (bug)
434 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
436 * GC.cs: implement most of the methods as icalls.
438 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
440 * DecimalFormatter.cs (ToString): return correct value when the
443 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
445 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
446 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
448 2002-04-24 Nick Drochak <ndrochak@gol.com>
450 * Double.cs (Parse): Handle case where there are no digits before the
451 decimal point, such as ".1".
453 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
458 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
460 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
462 * String.cs (Split): fixed invalid split of count 0 and 1.
464 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
466 * String.cs (LastIndexOf): fixed argument checking.
467 * String.cs (Equals): made internal for performace.
469 2002-04-23 Nick Drochak <ndrochak@gol.com>
471 * String.cs (Join): check argument and throw exception if needed
473 2002-04-23 Nick Drochak <ndrochak@gol.com>
475 * String.cs (StartsWith): check argument and throw exception if needed
477 2002-04-22 Nick Drochak <ndrochak@gol.com>
479 * String.cs (IndexOfAny): check arguments and throw exceptions as
480 neccessary. ALso remove some debug WriteLines.
482 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
484 * String.cs: use internal constructors
487 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
489 * MonoType.cs: make GetElementType its own icall.
491 2002-04-18 Nick Drochak <ndrochak@gol.com>
493 * String.cs: Modified file. Re-add methods needed by the unit tests.
495 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
497 * String.cs: some code speedups and restored GetTypeCode().
499 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
501 * String.cs: New implementation using internal calls.
503 2002-04-16 Nick Drochak <ndrochak@gol.com>
505 * DecimalFormatter.cs: Trim off excess null characters from the string
506 that decimal2string gives back.
508 2002-04-16 Nick Drochak <ndrochak@gol.com>
510 * String.cs (SubString): revert my change. I can't reproduce the
513 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
515 * Attribute.cs: added GetHashCode and Equals.
517 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
519 * Enum.cs: little improvements to Format ().
521 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
523 * String.cs: internalcall GetHashCode().
524 * Array.cS: optimize access to elements.
526 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
528 * String.cs: make IndexOfAny() use an internalcall.
530 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
535 * UInt64.cs: fixed error when testing for validity of flags.
537 2002-04-11 Nick Drochak <ndrochak@gol.com>
539 * Double.cs: Use an internal call for ToString(). This is just a simple
540 implementation to get away from throwing a NotImplementedException.
542 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
547 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
551 * Int64.cs: throw an OverFlowException when parsing a string
552 containing a dot followed by any non '0' number.
554 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
559 * UInt64.cs: added complex Parse ().
561 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
566 * Int64.cs: added complex Parse ().
568 2002-04-09 Nick Drochak <ndrochak@gol.com>
570 * Array.cs (BinarySearch): Add checks on paramters before using them
571 and throw exceptions as needed.
573 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
574 "G" format to "F" if so.
576 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
578 * MonoCustomAttrs.cs: return arrays of type Attribute[]
581 2002/04/09 Nick Drochak <ndrochak@gol.com>
583 * String.cs (Substring): Copy only non-null characters to the new
586 2002-04-09 Nick Drochak <ndrochak@gol.com>
588 * IntegerFormatter.cs: Don't use a format character to indicate a
589 custom format was passed in. It was using 'z' to indicate a custom
590 format, but really it should throw a format exception if the user
591 tries to use "z" as the format string. Now it does.
593 * Activator.cs: New File.
595 2002-04-08 Nick Drochak <ndrochak@gol.com>
597 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
598 applied to an enum. Need to handle the different possible integer
599 types of an enum somehow. Can anyone say generics?
601 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
603 * Convert.cs: switched the To*(object) methods to use
604 IConvertible directly instead of calling ChangeType
606 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
608 * ValueType.cs: make Equals() an internalcall.
610 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
612 * Type.cs: also look for nested types in FindMembers.
613 * MonoType.cs: make GetNestedTypes() an internalcall.
615 2002-04-05 Nick Drochak <ndrochak@gol.com>
617 * Enum.cs (Parse): Handle different underlying types.
619 2002/04/04 Nick Drochak <ndrochak@gol.com>
621 * Enum.cs (IsDefined): Throw exception when type of value to look for
622 is not the correct one. Attempt to have it work with string values
623 too, but not sure if the unit tests are getting that far yet.
625 2002-04-04 Nick Drochak <ndrochak@gol.com>
627 * Decimal.cs: Fix a couple of typos.
629 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
631 * Enum.cs: the values array is of the enum and not of the underlying
632 type. Updates and some bug fixes.
633 * MonoType.cs: make the internalcall return FullName instead of the
634 assembly qualified name.
635 * Type.cs: make ToString () simply return FullName.
637 2002-04-03 Nick Drochak <ndrochak@gol.com>
639 * Type.cs (GetTypeCode): provide some of the implementation for this
640 method. It's still too simplistic to be considered complete.
642 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
644 * Object.cs: fixed FieldGetter/FieldSetter signature
646 2002-04-02 Nick Drochak <ndrochak@gol.com>
648 * Environment.cs: add MonoTODO's on parts that should have it.
650 2002-04-01 Nick Drochak <ndrochak@gol.com>
652 * Enum.cs: added reality checks (check parameters to most methods that
655 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
657 * Object.cs: added FieldGetter/FieldSetter
659 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
661 * IntegerFormatter.cs: fixed initialization error in static
664 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
666 * Delegate.cs: added new field to store a trampoline function
668 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
670 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
671 make custom format strings work (not fully functional yet).
673 2002/03/28 Nick Drochak <ndrochak@gol.com>
675 * IntegerFormatter.cs: Change class from internal to public. Add
676 necessary [CLSCompliant(false)] attributes.
678 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
679 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
682 2002-03-28 Nick Drochak <ndrochak@gol.com>
684 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
686 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
688 * Console.cs: Modified to get std handles from MonoIO.
689 * Environment.cs: removed PAL dependencies.
691 2002-03-25 Miguel de Icaza <miguel@ximian.com>
693 * String.cs (System): Removed internal enumeration, because
694 bootstrapping the corlib at this point does not support
697 * IntPtr.cs: Temporary work-around until I fix the assembly
700 2002-03-24 Martin Baulig <martin@gnome.org>
702 * Enum.cs (GetValues): According to the docu this is sorted after
705 * String.cs (System): Removed enumeration, because it is pretty
706 hard to support enumerations in /nostdlib mode for the core types.
708 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
710 * Array.cs: move error handling in the catch block.
711 * MulticastDelegate.cs: remove == and != operators that were
712 removed with the delegate changes (when you add stuff, please do not
713 remove existing functionality!).
714 * Type.cs: if a property is not found in a type, search for it
715 in the parent types, too.
717 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
719 * Math.cs: changed to use icall instead of PAL.
721 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
723 * Double.cs: added check for NaN (Bug [22082])
725 2002-03-19 Nick Drochak <ndrochak@gol.com>
727 * Enum.cs (Equals): check for null and throw if it is.
728 * Enum.cs (Format): check for null parameters and throw if necessary.
729 This method still needs more argument checking.
731 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
733 * Enum.cs (Equals): check if Enums are of the same type
735 2002-03-18 Nick Drochak <ndrochak@gol.com>
737 * Double.cs: Explicitly handle comparisons in CompareTo() for
738 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
740 * Enum.cs(CompareTo): Check types of values before trying to compare.
741 Throw exceptions if types are invalid or don't match.
743 2002-03-14 Miguel de Icaza <miguel@ximian.com>
745 * Array.cs: Add some extra debugging information.
747 2002-03-15 Nick Drochak <ndrochak@gol.com>
749 * Array.cs: Added IList and IEnumerable.
751 2002-03-14 Miguel de Icaza <miguel@ximian.com>
753 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
756 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
758 * Delegate.cs (Equals): also compare method_ptr
759 (GetHashCode): returm method_ptr as hash
761 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
762 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
763 such as 42.ToString("0000000"), as these are (currently) not implemented
764 in System.IntegerFormatter. TimeSpan luckely can do with Standard
765 Numeric Format Strings, such as 42.ToString("D7").
767 2002-03-12 Duncan Mak <duncan@ximian.com>
769 * FieldAccessException.cs:
770 * MethodAccessException.cs:
771 * PlatformNotSupportedException.cs: Inherit from
772 MemberAccessException, not SystemException.
774 * ObsoleteAttribute.cs: Made Message and IsError properties
777 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
779 * GC.cs: make SuppressFinalize() a nop.
780 * Delegate.cs: fix == operator.
782 2002-03-13 Nick Drochak <ndrochak@gol.com>
784 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
785 runtime that goes with this patch.
787 2002-03-10 Martin Baulig <martin@gnome.org>
789 * Int32.cs (Parse): Correctly parse negative numbers.
791 2002-03-08 Martin Baulig <martin@gnome.org>
793 * String.cs (Split): Really fix it this time. Also adding several new
794 testcase to the testsuite.
796 2002-03-08 Martin Baulig <martin@gnome.org>
798 * Array.cs (Copy): Optimized: removed duplicate null check, removed
799 two duplicate GetLowerBound() calls and one duplicate IsValueType.
801 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
803 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
804 * String.cs: use the dumb code for IndexOf(string): this is worth
805 15-20 % speedup in mcs compile with mint.
807 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
809 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
811 2002-03-07 Martin Baulig <martin@gnome.org>
813 * String.cs (Join): Throw an ArgumentNullException.
814 (LastIndexOf (string,int,int)): This method does a backwards search,
815 so startIndex points to the end of value, not to its beginning. Don't
816 throw an exception if startIndex equals this.Length. Always return -1
817 if startIndex is smaller than the length of value.
818 (Replace (string,string)): Replace all occurences of oldValue.
819 If newValue is null, all occurences of oldValue are to be removed.
820 (Split (char[],int)): Return an empty array if maxCount is zero, throw
821 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
822 elements, not maxValue+1.
824 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
826 * MonoType.cs: make GetEvents() an internal call.
827 * MulticastDelegate.cs: copy the passed in array.
829 2002-03-06 Martin Baulig <martin@gnome.org>
831 * Array.cs (Copy): Use FastCopy when appropriate and do correct
834 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
835 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
836 some of the failures found be new tests (see ChangeLog in
837 Test/System). Comments added to this method, based on
838 the representation invariant of this class, that (try to) explain
839 why it now should be correct.
841 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
843 * Int64.cs (Parse): bug fix for max. negative value.
845 2002-03-07 Nick Drochak <ndrochak@gol.com>
847 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
848 I need to understand what the difference between the attribute and
851 2002-03-06 Martin Baulig <martin@gnome.org>
853 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
854 an InvalidCastException if the widening conversion failed. See
857 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
858 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
861 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
862 (Copy): Actually allow copying multi-dimensional arrays.
864 2002-03-05 Duncan Mak <duncan@ximian.com>
867 (DBNull) Added the missing field.
868 (IsDBNull) Fixed typo.
869 (ToByte (string, int)) Implemented.
870 (ToString (byte, int)) Implemented.
872 (BuildConvertedString) internal functions used for converting values to
880 * UInt32.cs: Implemented the IConvertible interface.
882 * CharEnumerator.cs: Renamed to variables to be clearer and
883 changed some of the tests to conform to the 1.0 spec.
885 2002-03-06 Martin Baulig <martin@gnome.org>
887 * Array.cs (Copy): Calculate absolute array position here and use
888 GetValueImpl() and SetValueImpl() with that position. We can now
889 copy multi-dimensional arrays.
890 (CopyTo): Small bug fix.
892 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
894 * Version.cs: CompareTo changed according the LAMESPEC discovered by
895 Nick (See VersionTest.cs).
896 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
897 error comparing the current position (idx) against the length of the
898 string iterated and it set idx to an unrecognized special value (-2)
900 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
902 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
903 to do this dirty work, but someone has to do it (and I need it to pass
904 the "200 sample tests compiled on linux" mark).
906 2002-03-06 Nick Drochak <ndrochak@gol.com>
909 * DecimalFormatter.cs
916 * RuntimeMethodHandle.cs
917 * RuntimeTypeHandle.cs
920 Add [MonoTODO]'s to places where we currently throw a
921 NotImplementedException.
923 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
925 * Int16.cs (Parse): do not overflow on max negative value
927 * Int32.cs (Parse): do not overflow on max negative value
929 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
931 * Type.cs: fixed IsClass.
932 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
933 IsByRefImpl. Added GetInterfaces().
934 * IServiceProvider.cs: compilation fix.
936 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
938 * Array.cs: allow copying an empty array to an empty array.
940 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
942 * String.cs: fixed LastIndexOf (string) to do a bit of argument
945 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
946 * Version.cs: many fixes to failures found by the newly created
947 test cases for this class. Specifically, the CompareTo member
948 returned wrong values due to the use of Int32.MaxValue as a special
949 value indicating an "undefined" version component. Also implemented the
950 missing operators (==, <, >, etc.), one missing constructor and
951 and some exception throwing.
953 2002-03-04 Nick Drochak <ndrochak@gol.com>
955 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
956 * Attribute.cs: Add missing attributes: Serializable and
957 AttributeUsage(AttributeTargets.All)
959 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
961 * MonoType.cs: implemented GetConstructors(), GetFields(),
962 GetMethods(), GetProperties().
963 * Object.cs: added debugging icall obj_address().
964 * Type.cs: fixed the binding flags for some Get* methods.
965 Implemented FindMembers() as calls to the specific GetMember
968 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
969 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
970 should give an exception for n>=s.Length.
972 2002-03-01 Martin Baulig <martin@gnome.org>
974 * Array.cs: More argument checking and bug fixing.
976 2002-03-01 Miguel de Icaza <miguel@ximian.com>
978 * BitConverter.cs: Indentation match
980 * AppDomain.cs: Added MonoTODOs to this too.
982 * Buffer.cs: Added MonoTODOs to this.
984 2002-03-01 Martin Baulig <martin@gnome.org>
986 * Array.cs: Added argument checking to all methods where it was missing.
988 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
990 * BitConverter.cs: Fixed bugs in ToString methods
992 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
994 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
996 2002-03-01 Nick Drochak <ndrochak@gol.com>
998 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
999 ArgumentOutOfRangeException like the docs say.
1001 2002-03-01 Martin Baulig <martin@gnome.org>
1003 * Enum.cs (CompareTo): Correctly override this method from IComparable.
1005 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
1007 2002-02-28 Martin Baulig <martin@gnome.org>
1009 * String.cs: This file now passes the testsuite on Linux :-)
1011 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
1012 make them private and provide C# wrappers which do proper argument checking.
1014 * String.cs (Format): Correctly handle escaped brackets.
1016 * String.cs (_CompareChar): New internal function which compares two chars.
1017 (_Compare): Provide an internal compare method which can do all sorts of
1018 comparision and call it from all the Compare() methods. Also fixed a lot of
1019 bugs here, this code now actually passes the testsuite.
1021 2002-02-28 Duncan Mak <duncan@ximian.com>
1023 * Convert.cs: Added the missing methods. The new class status page
1024 kicks ass, it even found my typos! Woohoo!
1025 (ConvertFromBase): Moved the Exception throwing in here and
1026 removed the other occurances so it's all centralized now.
1027 (ISDBNull): Implemented.
1028 (GetTypeCode): Implemented.
1030 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
1031 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
1032 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
1033 states that a lacking format should be interpreted as "N".
1034 Also added [Serializable] attribute
1035 * TimeSpan.cs: some formatting and added the [Serializable] attribute
1037 2002-02-26 Duncan Mak <duncan@ximian.com>
1039 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
1041 2002-02-26 Martin Baulig <martin@gnome.org>
1043 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
1044 fields of the interncall GetTimeZoneData.
1046 * DateTime.cs: Implemented Parse and fixed a few bugs.
1048 * String.cs (TrimStart): Small fix.
1050 2002-02-26 Martin Baulig <martin@gnome.org>
1052 * DateTime.cs: ParseExact is now fully functional.
1054 * String.cs (TrimEnd): Small fix.
1056 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
1057 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
1058 missing for about six months.
1060 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1062 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
1064 2002-02-26 Martin Baulig <martin@gnome.org>
1066 * DateTime.cs: Miguel already committed this, but there was still a
1067 ChangeLog entry for this missing ....
1068 We're now reusing functionality from TimeSpan, printing dates is
1069 fully implemented, currently working on parsing.
1071 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
1074 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
1076 * MonoType.cs: disable constructor.
1077 * Object.cs: make GetType() an internalcall.
1078 * Type.cs: added correct bindingflags to GetMethods ().
1079 All such calls should be reviewed to use the correct flags.
1081 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
1083 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
1086 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
1088 * Type.cs: implemented IsAssignableFrom.
1090 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
1091 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
1092 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
1093 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
1094 The former is documented by Microsoft. The latter is how they
1095 actually implemented it in mscorlib:-)
1097 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
1099 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
1101 * MonoType.cs: Implemented custom attributes methods.
1104 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
1107 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
1109 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
1111 * MonoType.cs: Implemented custom attributes methods.
1113 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
1115 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
1117 2002-02-19 Duncan Mak <duncan@ximian.com>
1119 * Convert.cs: Finished up the missing methods in Convert. Added a
1120 new private method ConvertFromBase.
1122 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
1124 * String.cs: impl. IConvertible interface
1126 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
1127 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
1129 2002-02-18 Duncan Mak <duncan@ximian.com>
1131 * Convert.cs: Changed from using Type.GetType (string) to just
1132 typeof (). Probably will speed things up a bit?
1134 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
1137 1. Fix for GetUpperBound to return correct values
1138 2. made some Properties virtual
1139 3. Adds IsFixedSize and IsReadOnly properties.
1140 4. changes CreateInstance(Type,int[],int[]) to throw Exception
1141 when third arg is null. InternalCall CreateInstance changed to
1143 5. Fixed array.GetUpperBound at a couple of places
1144 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
1145 7. Added two FIXME's in BinarySearch functions.
1147 2002-02-17 Duncan Mak <duncan@ximian.com>
1149 * TimeZone.cs: Applied the rest of Ajay's patch for
1150 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
1153 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
1154 * Guid.cs: added stub for Guid(string) ctor
1156 2002-02-17 Duncan Mak <duncan@ximian.com>
1158 * Convert.cs: Near-complete implementation of Convert.cs
1160 Added all the To* methods taking (object) and
1161 (object, IFormatProvider) as parameters.
1163 Added [CLSCompliant (false)] attributes to methods dealing with
1166 Added the missing section on converting to and from DateTime. Only
1167 6 missing methods, all marked with MonoTODOs. Will tackle them later.
1169 2002-02-16 Duncan Mak <duncan@ximian.com>
1171 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
1172 make IsDaylightSavingTime (DateTime) call
1173 IsDaylightSavingTime (DateTime, DaylightTime).
1175 Added internal class CurrentTimeZone from Ajay. It needs more work
1176 to fill in the appropriate internal calls.
1178 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
1180 * Type.cs: fix IsClass.
1182 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
1184 * String.cs: fix Trim().
1186 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
1188 * String.cs: fix more off by one errors.
1190 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
1192 * MonoType.cs: fix IsValueTypeImpl.
1193 * Type.cs: fix IsEnum. Implement Equals methods.
1195 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1197 * Int32.cs: implement IConvertible interface.
1199 2002-02-12 Duncan Mak <duncan@ximian.com>
1201 * TimeZone.cs: Implemented and added to CVS.
1203 2002-02-11 Duncan Mak <duncan@ximian.com>
1205 * Convert.cs: Implemented the ChangeType () methods.
1207 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1209 * Array.cs: make Clone() an internal call.
1211 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
1212 * Changed Guid.NewGuid so that it can use both System.Random and
1213 System.Security.Cryptography.RandomNumberGenerator
1215 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
1216 * First version of Guid.NewGuid
1218 2002-02-08 Duncan Mak <duncan@ximian.com>
1220 * RuntimeArgumentHandle.cs: Added to CVS.
1222 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
1224 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
1225 UnhandledExceptionEventHandler.cs: added delegates.
1227 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1229 * MarshalByRefObject.cs: add ToString () method
1230 (apparently needed by nunit).
1231 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
1232 by it in the runtime.
1234 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
1236 * String.cs (Format): implemented
1238 2002-02-07 Duncan Mak <duncan@ximian.com>
1240 * DuplicateWaitObjectException:
1241 * InvalidCastException:
1242 * NotImplementedException:
1243 * NotSupportedException:
1244 * NullReferenceException:
1245 * OutOfMemoryException:
1246 * OverflowException:
1248 * StackOverflowException.cs:
1249 * UnauthorizedAccessException: Added missing constructor used for serialization.
1251 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
1253 * String.cs (System.Compare): bug fix
1255 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
1257 * Enum.cs (Parse, GetHashCode): impl.
1259 2002-02-05 Duncan Mak <duncan@ximian.com>
1261 * DBNull.cs: This is my first crack at the DBNull class. I think I
1262 actually got most of the IConvertible methods right, but I haven't
1263 done the research to test whether or not this is the correct
1264 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
1266 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
1268 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
1270 * Enum.cs: added more functionality (GetName, ToObject, Equals)
1272 2002-01-31 Duncan Mak <duncan@ximian.com>
1274 * InvalidOperationException.cs:
1275 * NotFiniteNumberException.cs:
1276 * ObjectDisposedException.cs:
1277 * TypeInitializationException.cs: Added missing bits for serialization/
1279 * AppDomainUnloadedException.cs:
1280 * ApplicationException.cs:
1281 * ArgumentOutOfRangeException.cs:
1282 * ArithmeticException.cs:
1283 * ArrayTypeMismatchException:
1284 * BadImageFormatException.cs:
1286 * MissingMemberException.cs:
1287 * TypeLoadException.cs: Added missing bits for serialization.
1289 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
1290 * Guid.cs: implemented everything but Guid.NewGuid
1292 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
1294 * _AppDomain.cs: remove ToString() method: it doesn't seem right
1295 to have it in this interface and it screws up the method vtable setup.
1297 2002-01-28 Andrei Zmievski <andrei@php.net>
1299 * Double.cs: implemented IConvertible interface.
1301 2002-01-28 Miguel de Icaza <miguel@ximian.com>
1303 * ArgumentException.cs: Implement serialization constructor.
1304 (GetObjectData): Implement serializer.
1306 * ArgumentNullException.cs: Implement serialization constructor.
1308 * Exception.cs: Implement serialization constructor.
1309 (GetObjectData): Implement serializer.
1311 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1313 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
1315 2002-01-23 Duncan Mak <duncan@ximian.com>
1317 * EntryPointNotFoundException.cs:
1318 * FormatException: Added missing constructor and related bits.
1320 * TypeLoadException: Added missing constructor, methods and properties.
1322 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1324 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
1325 manually getting the enumerator.
1327 (AppDomain.AppDomain): Prime the loaded assemblies with the
1328 assemblies loaded by the runtime in our behalf.
1330 * AppDomainSetup.cs: Remove private keyword, that is the default.
1331 Add a new property DisallowPublisherPolicy.
1333 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
1335 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
1337 * MonoType.cs, Type.cs: many updates, corrected implementation,
1340 2002-01-20 Andrei Zmievski <andrei@php.net>
1343 * Char.cs: implemented IConvertible interface.
1345 * Boolean.cs: use our own ToString() method directly.
1347 2002-01-20 Duncan Mak <duncan@ximian.com>
1349 * Files I commited recently: Fixed indentation style.
1351 2002-01-20 Nick Drochak <ndrochak@gol.com>
1353 * SerializableAttribute.cs: this attrib can be used on enums, structs,
1354 and delegates too. Added the appropriate usage flags.
1356 2002-01-18 Duncan Mak <duncan@ximian.com>
1358 * CharEnumerator.cs: Implemented.
1359 * String.cs (System): Fixed the GetEnumerator () method(s).
1361 * ObsoleteAttribute.cs:
1362 * STAThreadAttribute.cs:
1363 * MTAThreadAttribute.cs:
1364 * ThreadStaticAttribute.cs:
1365 * LoaderOptimizationAttribute.cs:
1366 * PlatformNotSupportedException.cs:
1367 * LoaderOptimization.cs: Added to CVS.
1369 2002-01-18 Duncan Mak <duncan@ximian.com>
1371 * AppDomainUnloadedException.cs:
1372 * MethodAccessException.cs:
1373 * ContextMarshalException.cs:
1374 * CannotUnloadAppDomainException.cs:
1375 * DllNotFoundException.cs:
1376 * EntryPointNotFoundException.cs:
1377 * FieldAccessException.cs:
1378 * TypeUnloadedException.cs:
1379 * MissingFieldException.cs: Added to CVS.
1381 * ApplicationException.cs:
1382 * MemberAccessException.cs:
1383 * MissingMemberException.cs
1384 * MissingMethodException.cs:
1385 * SystemException.cs: Added [Serializable] attribute.
1387 * Exception.cs: Added [Serializable] attribute, made properties
1388 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
1391 * ContextStaticAttribute.cs: Added [Serializable] attribute and
1392 put in the missing constructor.
1394 * Environment.cs: Commented out references to
1395 EnvironmentPermissionAttribute, because they're just stubbed out
1396 right now and has no implementation.
1398 2002-01-16 Andrei Zmievski <andrei@php.net>
1400 * Boolean.cs: implemented IConvertible interface
1402 2002-01-15 Nick Drochak <ndrochak@gol.com>
1404 * ResolveEventArgs.cs: class should derive from EventArgs.
1406 2002-01-14 Miguel de Icaza <miguel@ximian.com>
1408 * String.cs (System): Use DefaultMemberName for the String class.
1410 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
1412 * String.cs: use IndexerName in index char accessor.
1414 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1416 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
1417 * String.c: eliminate 64k+ method calls in search.
1418 * Type.cs: handle byref and array types in ToString ().
1420 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
1422 * Guid.cs: created first version
1424 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
1426 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
1428 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
1430 * MulticastDelegate.cs: add == and != operator stubs.
1431 * String.cs: check for null in == operator.
1432 * Type.cs: use a virtual method to get TypeAttributes.
1434 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
1435 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
1437 2002-01-09 Nick Drochak <ndrochak@gol.com>
1439 * Environment.cs: Comment out Security attribute and put a MonoTODO
1440 there as a reminder. We need mcs magic to handle security attributes in
1443 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
1444 * Created IAppDomainSetup.cs
1446 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
1447 * Created System._AppDomain interface in _AppDomain.cs
1449 2002-01-06 Nick Drochak <ndrochak@gol.com>
1451 * ResolveEventArgs.cs: New File, completely implemented! ;)
1453 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
1455 * Enum.cs: dummy ToString impl.
1456 * String.cs: dummy format implementations to get compiler errors
1458 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
1460 2002-01-05 Ravi Pratap <ravi@ximian.com>
1462 * TODOAttribute.cs : Augment some more; provide two constructors
1463 with support for a comment too.
1465 2002-01-05 Nick Drochak <ndrochak@gol.com>
1467 * Uncommented those MonoTODO's now that Ravi's got
1470 2001-01-04 Ravi Pratap <ravi@ximian.com>
1472 * TODOAttribute.cs : Actually add this time ;-)
1474 Change name to MonoTODO.
1476 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
1478 * String.cs (Trim): Fixed a few logic bugs in the code that
1479 calculated how much to trim off the end of the string.
1481 2001-01-04 Nick Drochak <ndrochak@gol.com>
1483 * Commented out the [TODO] attributes for now. We don't have the
1484 class written. Also changed it to [MonoTODO]
1486 2002-01-04 Ravi Pratap <ravi@ximian.com>
1488 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
1489 our class libraries that are incomplete.
1491 * Array.cs : Apply attribute wherever we find a FIXME which says
1492 we need something to be implemented there.
1496 * MulticastDelegate.cs : Ditto.
1498 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
1499 RuntimeTypeHandle.cs : Ditto.
1501 * String.cs : Ditto.
1505 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
1507 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
1508 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1510 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
1511 Delegate.cs : Ditto.
1513 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
1514 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1516 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1518 * Delegate.cs: add Remove() stub.
1519 * Enum.cs: add ToObject().
1520 * Type.cs: add IsEnum property.
1522 2002-01-03 Kristian Rietveld <kris@gtk.org>
1524 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
1525 DateTime and object.
1527 2001-12-30 Nick Drochak <ndrochak@gol.com>
1529 * Byte.cs (Parse): Add comments to aid in testing.
1531 2001-12-21 Miguel de Icaza <miguel@ximian.com>
1533 * Char.cs (Parse): Implement.
1535 * Byte.cs (Parse): Implement a fast parser.
1537 * SByte.cs (Parse): Implement a fast parser.
1539 * UInt16.cs (Parse): Implement a fast parser.
1541 * Int16.cs (Parse): Implement a fast parser.
1543 * UInt32.cs (Parse): Implement a fast parser.
1545 * Int32.cs (Parse): Implement a fast parser.
1547 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1549 * Array.cs: fix null ref in sort code.
1550 * UInt64.cs: add bare-bones parse.
1552 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1554 * Byte.cs: removed use of Regexes.
1556 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
1558 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
1559 IsDefined(), GetUnderlyingType().
1560 * String.cs: fix one instance of Compare().
1561 * Type.cs: implemented GetProperties(), GetProperty().
1563 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1565 * Array.cs: implement CopyTo ().
1566 * Char.cs: implement ToString ().
1567 * Exception.cs: bugfix.
1568 * Int32.cs: bare-bones Parse ().
1569 * MonoType.cs: query the needed info with an internalcall.
1570 * String.cs: speedups, bugfixes, reduced copies.
1571 * Type.cs: added missing fields. Implemented many of the Is*
1572 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
1573 GetFields(), FindMembers(), ToString().
1575 2001-12-11 Dick Porter <dick@ximian.com>
1577 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
1579 * Console.cs: Use handles rather than casting file descriptors
1581 2001-12-08 Nick Drochak <ndrochak@gol.com>
1583 * Byte.cs (Parse): Start implementation. Parse(string) works, but
1584 now we need to handle other formats
1586 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
1588 * DateTime.cs: added an icall to GetNow()
1590 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
1592 * Double.cs: added the parse method from Bob Smith
1594 2001-11-28 Miguel de Icaza <miguel@ximian.com>
1600 * Int32.cs (Int32.CompareTo): Fix because we can not just
1601 substract the values.
1603 Return possitive value if the object is null.
1605 * Boolean.cs: (Boolean.CompareTo): ditto.
1607 * Int16.cs (Int16.CompareTo): ditto.
1609 * Byte.cs (Byte.CompareTo): ditto.
1611 * SByte.cs (SByte.CompareTo): ditto.
1613 * Char.cs (Char.CompareTo): ditto.
1615 * Decimal.cs (Decimal.CompareTo): ditto.
1617 * Int64.cs (Int64.CompareTo): ditto.
1623 2001-11-28 Nick Drochak <ndrochak@gol.com>
1625 * Byte.cs: Throw NotImplementedException for Parse.
1627 2001-11-27 Derek Holden <dholden@draper.com>
1629 * IntegerFormatter.cs: Formatting of type "Number" was not
1630 using NumberFormatInfo.NumberNegativePattern.
1632 2001-11-26 Dick Porter <dick@ximian.com>
1634 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
1635 the finalise routine any more
1637 2001-11-21 Miguel de Icaza <miguel@ximian.com>
1639 * ApplicationException.cs: internationalize by adding calls to
1640 Locale.GetText (). And throw NotImplementedExceptions on calls
1641 that we have to implement.
1643 * Version.cs: Ditto.
1645 * ValueType.cs: ditto.
1647 * UnauthorizedAccessException.cs: ditto.
1655 * TypeLoadException.cs: ditto
1657 * TypeInitializationException.cs: ditto.
1661 * TimeSpan.cs: ditto.
1663 * SystemException.cs: ditto.
1667 * StackOverflowException.cs: ditto.x
1673 * RuntimeTypeHandle.cs: ditto.
1675 * RuntimeMethodHandle.cs: ditto.
1677 * RuntimeFieldHandle.cs: ditto.
1681 * OutOfMemoryException.cs: ditto.
1683 * OperatingSystem.cs: ditto.
1685 * ObjectDisposedException.cs: ditto.
1687 * NullReferenceException.cs: ditto.
1689 * NotImplementedException.cs: ditto.
1691 * NotFiniteNumberException.cs: ditto.o
1693 * MulticastNotSupportedException.cs: ditto.
1695 * MissingMethodException.cs: ditto.
1697 * MemberAccessException.cs: ditto.
1701 * InvalidCastException.cs: ditto.
1703 * IntegerFormatter.cs: ditto.
1709 * IndexOutOfRangeException.cs: ditto.
1711 * Environment.cs: ditto
1715 * DuplicateWaitObjectException.cs: ditto.
1717 * DivideByZeroException.cs: ditto.
1719 * Delegate.cs: ditto
1721 * DecimalFormatter.cs: ditto.
1723 * Decimal.cs: ditto.
1725 * DateTime.cs: ditto.
1727 * Convert.cs: ditto.
1733 * Boolean.cs: ditto.
1735 * ArrayTypeMismatchException.cs: ditto.
1737 * ArithmeticException.cs: ditto.
1739 * ArgumentOutOfRangeException.cs: ditto.
1741 * ArgumentNullException.cs: ditto.
1743 * Enum.cs: Make it derive from ValueType, add CompareTo method.
1745 * Attribute.cs: Reformat.
1747 2001-11-14 Miguel de Icaza <miguel@ximian.com>
1749 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
1750 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
1751 exception if the value is null too.
1753 * Char.cs (CompareTo): ditto.
1755 * ApplicationException.cs: Added constructor that does serialization.
1757 * ParamArrayAttribute.cs: Define attribute correctly.
1759 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
1761 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
1762 * Array.cs: fix Array.Copy.
1763 * AssemblyLoadEventArgs.cs: rename field.
1764 * CLSCompliantAttribute.cs: use correct name for the class.
1765 * Char.cs: fix IsLetter.
1766 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
1767 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
1768 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
1769 * Delegate.cs: renamed target field to m_target.
1770 * Enum.cs: added missing methods.
1771 * MonoType.cs: add a constructor and some needed properties.
1772 * Object.cs: implement GetType().
1773 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
1775 * Type.cs: add missing methods/properties.
1777 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1779 * AttributeUseage.cs: Should define AttributeUsageAttribute.
1781 * CLSCompliant.cs: Marked with AttributeUsage attribute.
1783 * Decimal.cs: Fixed CLSCompliant attributes.
1785 * Type.cs: changed _impl to internal (needs to be accessable by
1788 (TypeHandle): Marked as abstract, implementation removed.
1790 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
1791 GetMethod): Added stub implementations so NUnit would link against
1794 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
1796 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
1798 2001-11-05 Miguel de Icaza <miguel@ximian.com>
1800 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
1803 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
1805 * String.cs: fix a couple of bugs.
1806 * AppDomain.cs: use new AppBuilder constructor.
1807 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
1808 NotImplementedException.cs, ObjectDisposedException.cs,
1809 UnauthorizedAccessException.cs: add implementation.
1810 * OverflowException.cs: fix class name.
1812 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
1814 * String.cs: Don't use a terminating nil char for our internal
1817 2001-10-27 Miguel de Icaza <miguel@ximian.com>
1819 * Delegate.cs (Delegate.CombineImpl): Implement.
1820 (Delegate.Combine): Implement.
1822 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
1824 (MulticastDelegate.CombineImpl): This was not as trivial as I
1827 * ContextStaticAttribute.cs: Added AttributeUsage to
1828 ContextStaticAttribute.
1830 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
1832 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
1834 * added Decimal.cs * added DecimalFormatter.cs (internal class
1835 used from System.Decimal)
1837 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
1839 * Convert.cs: Added methods for Base64 transforming just used the
1840 existing System.Security.Cryptography.ToBase64Transform, should
1841 be changed to use a stand-alone class, e.g. Base64Encoder
1843 2001-10-10 Derek Holden <dholden@draper.com>
1845 * IntegerFormatter.cs: Added. Implements ToString for all the
1846 integer data types for all the format types.
1848 * Byte.cs: Using IntegerFormatter for ToString's.
1850 * SByte.cs: Using IntegerFormatter for ToString's.
1852 * Int16.cs: Using IntegerFormatter for ToString's.
1854 * Int32.cs: Using IntegerFormatter for ToString's.
1856 * Int64.cs: Using IntegerFormatter for ToString's.
1858 * UInt16.cs: Using IntegerFormatter for ToString's.
1860 * UInt32.cs: Using IntegerFormatter for ToString's.
1862 * UInt64.cs: Using IntegerFormatter for ToString's.
1864 2001-10-07 Miguel de Icaza <miguel@ximian.com>
1866 * Exception.cs: Implement bits of serialization.
1868 * RuntimeFieldHandle.cs: Implement Serialization features.
1870 * Type.cs: Implement TypeHandle property.
1872 2001-09-28 Dick Porter <dick@ximian.com>
1874 * LocalDataStoreSlot.cs: Implemented
1876 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
1878 * String.cs: fix off-by-one error in Trim().
1880 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
1882 * Type.cs: added GetType () method.
1884 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
1886 * MissingMethodException.cs, MissingMemberException.cs,
1887 MemberAccessException.cs: added.
1889 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
1891 * String.cs: don't access the string array out of bounds in
1892 LastIndexOf. * Type.cs: fix return type of the Assembly property.
1894 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
1896 * String.cs: make Intern and IsIntern internalcalls.
1898 2001-09-13 Dick Porter <dick@ximian.com>
1900 * Type.cs: Added a stub for the IsValueType property.
1902 * SystemException.cs (System): Added the other constructor, so
1903 that System.Threading exceptions can inherit it.
1905 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
1907 * String.cs (TrimStart): Don't keep looping through the trimchars
1908 once we've found a match.
1909 (TrimEnd): Same here.
1910 (Trim): And finally here.
1912 2001-09-07 Ravi Pratap <ravi@ximian.com>
1914 * Char.cs (IsLetterOrDigit): Implement.
1915 (IsLower): Implement, but we need to be Unicode aware.
1916 (IsNumber): Implement.
1917 (IsPunctuation): Implement.
1918 (IsWhiteSpace): Implement.
1919 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
1920 (ToLower): Same here.
1922 2001-09-04 Miguel de Icaza <miguel@ximian.com>
1924 * Object.cs: Shortcut, if (a == b) then return true.
1926 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
1928 * Delegate.cs: we need a pointer to the method thunk in
1929 the delegate object.
1931 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
1933 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
1935 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
1937 * String.cs (System): Don't mix uint and int.
1939 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
1941 * String.cs (BoyerMoore): Modified to not use pointers and to instead
1943 (IndexOf): Use BoyerMoore.
1945 2001-09-02 Miguel de Icaza <miguel@ximian.com>
1947 * All over: Use the autogenerated enumerations from the ECMA
1948 documentation that Sergey wrote.
1950 * PlatformID.cs: Add Unix definition.
1952 * OperatingSystem.cs: Use Unix instead of Linux here.
1954 * MarshalByRefObject.cs: Mark class as [Serializable].
1956 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
1958 * Console.cs: impl. (write only)
1959 implemented the stdin stuff
1961 * Int32.cs: impl. real op_Equal
1963 2001-08-24 Miguel de Icaza <miguel@ximian.com>
1965 * (common.src): Removed IAsyncResult as it is not on CVS yet.
1967 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
1968 as it breaks the build.
1970 2001-08-23 Michael Lambert <michaellambert@email.com>
1972 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
1973 added CLSCompliant attribute
1975 * IAsyncResult.cs: Added
1977 * common.src: Added IAsyncResult.cs
1979 2001-08-23 Michael Lambert <michaellambert@email.com>
1983 * common.src: Added UIntPtr.cs
1985 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
1987 * Attribute.cs: uncomment some code to make it compile again
1989 * mono.src: removed duplicated Attribute.cs
1991 2001-08-16 Nick Drochak <ndrochak@gol.com>
1993 * Attribute.cs: implemented all methods except GetHashCode()
1995 * common.src: added Attribute.cs so it would compile in
1997 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
1999 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
2000 marked it as InternalCall
2002 * common.src: removed UriFormatException.cs because the file is
2005 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
2006 * Char.cs: replaced byte with char
2008 * Array.cs: make it work with the mono interpreter
2010 2001-08-06 Miguel de Icaza <miguel@ximian.com>
2012 * Version.cs: Make the class sealed
2014 2001-08-08 Bob Smith <bob@thestuff.net>
2016 * Random.cs: Many compile fixes.
2017 * Random.cs: I read a bad spec. Class updated to match real spec.
2019 2001-08-06 Miguel de Icaza <miguel@ximian.com>
2021 * IntPtr.cs: Added and Completed implementation.
2023 * Uri.cs: Add a note.
2025 2001-08-06 Bob Smith <bob@thestuff.net>
2027 * Random.cs: Compile fix. Needs more testing.
2029 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
2031 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
2032 into account IPv6 addresses, url encoding needs to be implemented, and
2033 various minor methods need to be written, but this is a decent start.
2035 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
2037 * common.src: added Object.cs
2039 * mono.src: added ValueType.cs
2041 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
2043 * Math.cs: replaced libc with libm
2045 2001-08-02 Bob Smith <bob@thestuff.net>
2047 * Random.cs: Implemented. Needs testing.
2049 2001-08-02 Miguel de Icaza <miguel@ximian.com>
2051 * IServiceProvider.cs, EventHandler.cs: New files.
2053 2001-08-02 Marcel Narings <marcel@narings.nl>
2055 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
2056 Added exceptions. Added IConvertible. Still needs some platform
2057 dependend stuff, the Parse and ToString members
2059 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
2061 * Type.cs (GetTypeFromHandle): added placeholder
2063 2001-07-24 Derek Holden <dholden@draper.com>
2065 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
2066 which is really an IConvertible defined method.
2068 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
2069 behavior, still need to do the main Parse and ToString.
2071 * Char.cs: Added a bunch of missing ECMA methods. Commented a
2072 specification discrepency. Still didn't any unicode stuff, though
2073 every IsFoo(char c) method has an IsFoo(string, index)
2074 counterpart, added wrappers for those.
2076 * Convert.cs: Fixed NaN/Inf checking and double/float
2077 rounding. Added ToType for IConvertible classes
2079 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
2080 IsNaN methods. Changed Inf/NaN internals.
2082 * IConvertible.cs: Added comments for using
2083 Convert.ToType. Changed return values to draft base values.
2085 * Int16.cs: Added a missing Parse statement. Put in behavior for
2086 overloaded ToString and Parse methods.
2088 * Int32.cs: Added a missing Parse statement. Put in behavior for
2089 overloaded ToString and Parse methods.
2091 * Int64.cs: Added a missing Parse statement. Put in behavior for
2092 overloaded ToString and Parse methods.
2094 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
2095 methods. Changed Inf/NaN internals.
2097 * SByte.cs: Added a missing Parse method. Put in Parse and
2098 ToString behavior, still need to do the main Parse and ToString.
2100 * UInt16.cs: Added a missing Parse statement. Put in behavior for
2101 overloaded ToString and Parse methods.
2103 * UInt32.cs: Added a missing Parse statement. Put in behavior for
2104 overloaded ToString and Parse methods.
2106 * UInt64.cs: Added a missing Parse statement. Put in behavior for
2107 overloaded ToString and Parse methods.
2109 2001-07-20 Miguel de Icaza <miguel@ximian.com>
2111 * MulticastDelegate.cs: New File.
2113 * Delegate.cs: New file.
2115 * Enum.cs: New file.
2117 * Attribute.cs: New file.
2119 * Type.cs: New file.
2121 * ParamArrayAttribute.cs: New file.
2123 * RuntimeTypeHandle.cs: New file.
2125 * MulticastDelegate.cs: Added.
2127 * DateTime.cs: Added
2129 * Delegate.cs: Added
2131 2001-07-18 Michael Lambert <michaellambert@email.com>
2133 * AttributeTargets.cs: Add.
2135 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
2137 * Char.cs: Made ToUpper and ToLower public methods.
2139 * String.cs: Lots and lots of compile fixes - just need to write
2140 DateTime.cs and this should build completely now.
2142 2001-07-19 Bob Smith (bob@thestuff.net)
2144 * Math.cs: Implemented.
2146 2001-07-19 Miguel de Icaza <miguel@ximian.com>
2148 * String.cs: Removed tolower and toupper.
2150 * Char.cs: Moved ToLower and ToUpper from string to here.
2152 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
2153 instead of comparing the value to Nan.
2155 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
2157 * TimeSpan.cs: New implementation.
2159 2001-07-18 Scott Sanders <scott@stonecobra.com>
2161 * UriFormatExcpetion.cs: Add - 85% complete
2163 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
2165 * String.cs (IndexOf): Slight optimization that allows skipping
2166 over a few chars here and there. This isn't as good as using my
2167 Boyer-Moore implementation, however, Boyer-Moore is only really
2168 good for long strings (I plan on making the code decide which
2169 string search algorithm it should use on-the-fly at some point).
2170 (LastIndexOf): Fix to work correctly.
2171 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
2173 2001-07-16 Michael Lambert <michaellambert@email.com>
2175 * EventArgs.cs: Add.
2177 2001-07-16 Miguel de Icaza <miguel@ximian.com>
2179 * Version.cs: Remove my buggy comment.
2181 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
2183 * String.cs: Spelling error of IComparable, object's
2184 MemberwiseClone cannot be overridden. Made indexer valid for now,
2185 but not sure what to do about this in the long run. Seems to be a
2186 couple bugs in csc.exe having to do with multiple pointer defs in
2187 the same statement, and returning subclasses of a class in the
2188 return type of an interface function implementation. Also moved
2189 operators inside of class definition.
2191 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2193 * String.cs: A tom of compile fixes, although we still don't compile.
2195 * IConvertible.cs: The To*Int64() methods return *Int64's, not
2196 *Int32's. Also, it's ToDateTime() not ToDateType().
2198 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2200 * String.cs: Apparently I needed to at least write stubs for the
2201 IConvertible interfaces. *sigh*
2203 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2205 * String.cs: Many logic/other fixes and better usage of the
2207 (tolower): New convenience method to help condense code.
2208 (toupper): Another new helper method.
2209 (Compare): Use the new helper methods.
2210 (ToLower): use tolower().
2211 (ToUpper): use toupper().
2212 (LastIndexOfAny): Implemented.
2213 (BoyerMoore): New private helper method that implements a modified
2214 version of the Boyer-Moore search algorithm. Noothing uses it yet
2215 as I'm not 100% sure it even works properly with unicode strings
2216 not to mention it uses a huge lookup-table :-)
2217 (Split): Implemented.
2219 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
2221 * TODO: Added things that need to be finished in System.String
2223 * String.cs: New source file implementing the System.String class
2225 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
2227 * TypeCode.cs: UInt64 was UInt63.
2229 * Object.cs: Fixed a numer of compiler errors.
2231 * Array.cs: Fixed some compiler errors.
2233 * IComparable.cs: Fixed some compiler errors.
2235 * ICloneable.cs: Fixed some compiler errors.
2237 * IConvertible.cs: Fixed some compiler errors.
2239 * IFormattable.cs: Fixed a compiler error.
2241 * IFormatProvider.cs: Fixed a compiler error.
2243 * IDisposable.cs: Fixed a compiler error.
2245 * IFormatProvider.cs: Added public accesability type to
2248 * Exception.cs: Added a using statement to remove compile time
2251 * ApplicationException.cs: Removed a ; that was causing a compiler
2254 * Int16.cs: Fixed some compiler errors.
2256 * Int32.cs: Fixed some compiler errors.
2258 * Int64.cs: Fixed some compiler errors.
2260 * SystemException.cs: Fixed a compiler error.
2262 * UInt16.cs: Fixed some compiler errors.
2264 * UInt32.cs: Fixed some compiler errors.
2266 * UInt64.cs: Fixed some compiler errors.
2268 * Void.cs: Fixed a compiler error.
2270 2001-07-12 Joe Shaw <joe@ximian.com>
2272 * Array.cs: Fix backwards parameters to Array.SetValue()
2274 (BinarySearch): Fix backward logic surrounding whether to call
2275 value.CompareTo or comparer.Compare.
2276 (LastIndexOf): Stop being stupid. I am so not used to strongly
2278 (Sort): Implement a quicksort.
2280 2001-07-11 Joe Shaw <joe@ximian.com>
2282 * Array.cs: Change all instances of trying to access an array with
2283 the index operator to calls to GetValue and SetValue, and add
2284 InternalGetValue and InternalSetValue which are internal calls
2285 into the runtime. Ew.
2287 2001-07-10 Joe Shaw <joe@ximian.com>
2289 * Array.cs: Implemented everything but Sort().
2291 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
2293 * Object.cs (Object::Equals): Object variable name is `o'.
2295 2001-07-06 Joe Shaw <joe@ximian.com>
2297 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
2298 Implement the IComparable and IFormattable interfaces. Fix a typo
2301 * ApplicationException.cs, ArgumentException.cs,
2302 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
2303 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
2304 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
2305 ExecutionEngineException.cs, FormatException.cs,
2306 IndexOutOfRangeException.cs, InvalidCastException.cs,
2307 InvalidOperationException.cs, InvalidProgramException.cs,
2308 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
2309 NotSupportedException.cs, NullReferenceException.cs,
2310 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
2311 StackOverflowException.cs, SystemException.cs,
2312 TypeInitializationException.cs: Added all of the exceptions
2313 specified by the language spec. Mmmm... bloat.
2315 2001-07-06 Miguel de Icaza <miguel@ximian.com>
2317 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
2318 do a generic routine all of these guys use.
2320 * Int16.cs: identified missing methods.
2322 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
2324 2001-06-26 Miguel de Icaza <miguel@ximian.com>
2326 * TypeCode.cs: Implement
2328 * Void.cs: Implement.
2330 * TODO: Add file to keep track of pending tasks.
2332 * Object.cs, ValueType.cs: Implement.