2 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
4 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
5 type. Check the method signature matches.
7 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
9 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
11 2002-09-06 Miguel de Icaza <miguel@ximian.com>
13 * Console.cs: Specify an encoder, otherwise we will get the UTF8
14 encoder that by default emits the byte markers.
16 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
18 * Delegate.cs: look also for non-public methods until we have the
19 security checks in place.
21 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
23 * MonoType.cs: consider also the full name in GetInterface.
25 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
27 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
28 GetMethodImpl using the binder.
29 * Type.cs: GetConstructorImpl/GetConstructor fixes.
31 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
32 * Enum.cs: Get rid of warning CS0162.
34 2002-09-04 Miguel de Icaza <miguel@ximian.com>
36 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
37 actual value instead of public.
39 * LocalDataStoreSlot.cs: Make constructor internal.
41 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
42 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
45 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
46 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
49 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
51 * DateTime.cs: fixed buglet.
53 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
55 * MonoType.cs: speedup access to common data.
57 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
59 * Double.cs: implemented TryParse.
61 * Math.cs: PowImpl is now private.
63 * MissingFieldException.cs: implemented Message.
65 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
67 * _AppDomain.cs: Uncommented ToString.
69 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
72 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
74 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
76 * ArgumentException.cs: use the field instead of the property for
79 * ArgumentOutOfRangeException.cs: modified Message.
82 (_DoParse): throw out of range exception for year. Removed check
83 for month (it's done in the constructor).
85 2002-08-21 Miguel de Icaza <miguel@ximian.com>
87 * Environment.cs: Implemented OSVersion property.
89 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
91 * Exception.cs: set stack_trace to null
93 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
95 * AppDomain.cs: implemented ToString().
97 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
99 * AppDomain.cs: securityInfo can be null in CreateDomain.
101 2002-08-19 Dick Porter <dick@ximian.com>
103 * MonoType.cs: Add a space before the Assembly name in
104 AssemblyQualifiedName (needed for resource files so the MS runtime
107 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
109 * AppDomain.cs: parameter name when throwing ArgumentNullException.
111 * ArgumentException.cs: modified Message to do what MS does.
113 * ArgumentNullException.cs: don't use {0} in message.
115 * Exception.cs: use Message property in ToString ().
117 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
119 * WeakReference.cs: Changed the constructor and GetObjectData
120 method needed for ISerializable implementation in order to be
121 compatible with SOAP generated by MS.
123 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
125 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
127 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
129 * Exception.cs (ToString): changed the ouput format.
131 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
133 * MonoType.cs: moved get_method icall to this class, we can
134 remove it as soon someone provides a full featured GetMethodImpl.
136 * Type.cs: use GetMethodImpl everywhere.
138 * Delegate.cs: new CreateDelegate implementations.
140 2002-08-06 Tim Coleman <tim@timcoleman.com>
142 Fix bug #28582. Now checks parameters for properties
145 2002-08-04 Nick Drochak <ndrochak@gol.com>
147 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
149 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
152 (FormatSpecifier): allow white space between the comman and the width
155 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
160 * UInt64.cs: fixed bug #28050. May be a MS bug?
162 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
164 * MonoType.cs: fix IsArrayImpl.
166 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
168 * String.cs: make ToLower (culture) and ToUpper (culture) use the
169 default ToLower and ToUpper and don't throw NotImplemented.
171 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
173 * Type.cs: make GettTypeCode an icall. Test implementation of
176 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
178 * AppDomainSetup.cs: implemented LoaderOptimization.
180 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
182 * Activator.cs: some more intermediate results checking in
183 in CreateInstance and CreateInstanceFrom and use GetConstructor and
184 Invoke only with Type [] until the other overloaded versions work.
186 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
188 * Activator.cs: reformatted. Implemented CreateInstance* methods
189 that return ObjectHandle.
191 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
193 2002-07-03 Nick Drochak <ndrochak@gol.com>
195 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
196 the divisor is not) and avoid the icall, which seems to have a bug.
198 2002-07-03 Nick Drochak <ndrochak@gol.com>
200 * Double.cs (CompareTo): Correctly handle the case where the instance
201 is NaN. Also return 0 if the values are equal.
203 2002/07/03 Nick Drochak <ndrochak@gol.com>
205 * MissingMethodException: Add missing Message property
206 * MissingMemberException: Add missing Message property
208 2002-06-30 Nick Drochak <ndrochak@gol.com>
210 * Double.cs (CompareTo): Just see which is bigger. Don't use the
211 subtraction trick, it doesn't work when the values have a diference of
214 * Single.cs (CompareTo): same
216 2002-06-27 Martin Baulig <martin@gnome.org>
218 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
219 constructor argument. [FIXME: The implicit conversion to an
220 unsigned integer doesn't work with mcs.]
222 2002-06-26 Martin Baulig <martin@gnome.org>
224 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
225 not `S = System'. This file now compiles with mcs.
227 * String.cs: Removed the already ifdef-outed __arglist Concat function
228 to make it compile with mcs.
230 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
232 * IntegerFormatter.cs:
233 (FormatParse.FormatNumber): fixed custom format for negative numbers.
235 2002-06-21 Martin Baulig <martin@gnome.org>
237 * Double.cs: Replace the private `enum State' with constants since this
238 will avoid some bigger headaches in mcs.
240 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
242 * TimeSpan.cs: do not pollute the namespace with the
245 2002-06-18 Nick Drochak <ndrochak@gol.com>
247 * ArgumentException.cs: Use the message given in the constructor when
248 accessing the Message property. Thanks to Dietmar for the help with
251 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
253 * MonoType.cs: GetField is now a InternalCall
255 2002-06-13 Nick Drochak <ndrochak@gol.com>
257 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
258 sortable format(s), e.g. "2002-02-25"
260 2002/06/12 Nick Drochak <ndrochak@gol.com>
262 * Random.cs (Next): Fix math error. Return a number within the range.
264 2002-06-12 Nick Drochak <ndrochak@gol.com>
266 * String.cs (IndexOf): Return -1 if start index is equal to string
269 2002-06-10 Duncan Mak <duncan@ximian.com>
271 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
272 (ToType): Added null field in conversionTable to avoid
273 IndexOutOfRangeException. Changed what exceptions we throw to match
276 2002-06-11 Nick Drochak <ndrochak@gol.com>
278 * Int64.cs (Parse): Added unique strings to the messages where we throw
279 a FormatException. Needed these to debug, so just left them in since
280 they might be useful later. Fixed Currency parsing where we weren't
281 looking at CurrencyDecimalSeparator, etc.
283 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
\r
285 * DateTime.cs: fixes to pass tests M0 to M6:
\r
286 if yy pattern then year values >= 30 are in 20th century
\r
287 rfc1123 pattern is always in GMT, therefor useutc must be false
\r
288 made GetNow() internal static so it can be called from TimeZone.
\r
289 * TimeZone.cs: removed dependency on year 2002 from initialization of
\r
292 2002-06-09 Duncan Mak <duncan@ximian.com>
294 * Convert.cs (ToType): Rearranged what Exceptions we throw to
297 2002-06-08 Duncan Mak <duncan@ximian.com>
299 * Decimal.cs: Added support for the IConvertible interface.
301 2002-06-08 Martin Baulig <martin@gnome.org>
303 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
304 doesn't necessarily need to be of the enum's underlying type.
306 2002/06/07 Nick Drochak <ndrochak@gol.com>
308 * String.cs: Add [Serializable] to class
309 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
311 2002-06-04 Nick Drochak <ndrochak@gol.com>
313 * Double.cs (Parse): Recognize the group separator string, but still we
314 don't check the format for the proper number of digits between
315 separators. Also throw OverflowException when we get Pos or Neg
316 Infinity from runtime.
318 2002-06-03 Duncan Mak <duncan@ximian.com>
320 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
322 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
324 * Type.cs: fixed GetTypeCode.
326 2002-06-02 Duncan Mak <duncan@ximian.com>
328 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
329 cast from an int so that we throw OverFlowException correctly.
331 (ToInt64): Use a new 64bit version of ConvertToBase.
333 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
336 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
338 2002-06-02 Nick Drochak <ndrochak@gol.com>
340 * Convert.cs (ToSByte): Check for special value.
343 * UInt32.cs (Parse): Throw OverflowException if negative
345 2002-06-02 Duncan Mak <duncan@ximian.com>
347 * Convert.cs (DBNull): Point it to DBNull.Value.
348 (IsDBNull): Instead of checking typecodes, just check to see if
349 it's the same as the DBNull field.
351 2002-06-02 Nick Drochak <ndrochak@gol.com>
353 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
355 2002-06-02 Duncan Mak <duncan@ximian.com>
357 * Char.cs (Parse): Simplify the Exception handling.
359 * Convert.cs (ToDecimal): Remove call to Math.Round () when
360 converting from a float.
362 2002-05-30 Martin Baulig <martin@gnome.org>
364 * MonoType.cs (GetInterface): Implemented.
366 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
368 * Activator.cs: implemented CreateInstance ().
370 2002-05-22 Duncan Mak <duncan@ximian.com>
372 * Convert.cs (ConvertToBase): Added new 64bit version.
373 (BuildConvertedString64): New 64bit version of
374 BuildConvertedString.
376 This fixes bug 25068.
378 (ConvertFromBase): Added additional test for checking if the
379 digits are valid. Thanks to Miguel for coming up with this test.
381 This fixes bug 25071.
383 2002-05-21 Duncan Mak <duncan@ximian.com>
385 * Convert.cs (ToType): Rearranged to fit the new layout of
388 (conversionTable): Rearranged to fit the layout of the
389 System.TypeCode enum.
391 This should fix bug 25075.
393 2002-05-21 Duncan Mak <duncan@ximian.com>
395 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
396 mixed up the two code paths, one for converting to a specific base
397 (this case), another from converting from a foreign base to base10
398 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
400 * Convert.cs (ToByte)
401 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
402 that we won't confuse FormatException with OverflowException.
404 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
406 * Environment.cs: CommandLine missed spaces between arguments.
407 Implemented StackTrace. Returning MachineName in UserDomainName
\r
410 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
412 * MonoCustomAttrs.cs: handle inherit argument.
414 2002-05-21 Nick Drochak <ndrochak@gol.com>
416 * Math.cs (Pow): Change icall method name and insert parameter
417 checks in for infinities and NaN.
419 2002-05-13 Miguel de Icaza <miguel@ximian.com>
421 * Double.cs (Parse): Reimplement by cleaning up the string first,
422 and then passing to strtof in the mono runtime.
424 * Single.cs (Parse): Use the Double implementation and cast to
427 2002-05-21 Nick Drochak <ndrochak@gol.com>
430 (Ceiling): Check for "special" values
431 (Floor): Check for "special" values
432 (Round): Fix off-by-one error on decimal shifting
434 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
\r
436 * DateTime.cs: ToString () using "G" format specifier
\r
438 2002-05-19 Martin Baulig <martin@gnome.org>
440 * Convert.cs (FromBase64CharArray): Do correct exception handling.
442 2002-05-19 Martin Baulig <martin@gnome.org>
444 * Convert.cs (FromBase64CharArray): Convert the char array using
445 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
448 2002-05-17 Miguel de Icaza <miguel@ximian.com>
450 * MonoType.cs: Style changes.
452 * Type.cs: Style changes.
454 2002-05-16 Piers Haken <piersh@friksit.com
456 * UInt64.cs: fix declaration of IConvertible.To* overrides.
458 2002-05-16 Nick Drochak <ndrochak@gol.com>
460 * BitConverter.cs (ToString): Add parameter check for invalid start
463 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
464 now that StreamWriter uses buffering
466 2002-05-14 Miguel de Icaza <miguel@ximian.com>
468 * Double.cs: Oops. Also handle exponents without finding a dot.
470 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
472 * ChangeLog: removed empty entry at the top of the file.
474 * Int32.cs: made static functions used by Parse internal.
478 * UInt64.cs: removed static fucntions used by Parse and use the ones
481 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
483 * IServiceProvider.cs: added using System
485 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
487 * Single.cs: copied ToString() and Parse() methods from
488 Double to Single and modified a tiny bit for Single.
489 There is still a FIXME for Double and Single about
490 passing the format and provider info to the icall too.
\r
492 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
497 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
498 Don't use a delegate to test for valid digits.
500 2002-05-01 Duncan Mak <duncan@ximian.com>
503 * Math.cs: Added missing CLSCompliant attributes where necessary.
505 2002-04-30 Duncan Mak <duncan@ximian.com>
507 * ArgumentException.cs (Message):
508 * ArgumentOutOfRangeException.cs (Message): Added.
510 2002-04-30 Nick Drochak <ndrochak@gol.com>
512 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
514 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
516 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
518 2002-04-28 Duncan Mak <duncan@ximian.com>
520 * DivideByZeroException.cs: Added missing serialization constructor.
522 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
524 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
526 * Math.cs: fix Floor () and Round (). Closes #23960.
528 2002-04-27 Nick Drochak <ndrochak@gol.com>
530 * Array.cs (IList.Contains): Should throw a RankException if this is
531 called on a Rank > 1 array. Not in the docs, but this is what the
534 2002-04-26 Duncan Mak <duncan@ximian.com>
536 * MissingMemberException.cs: Made the message variable 'protected'
537 instead of 'private', so that we can see it in
538 MissingMethodException and MissingFieldException.
540 * MissingFieldException.cs:
541 * MissingMethodException.cs: Added missing (string, string)
542 constructor, and also the Message property.
544 2002-04-26 Martin Baulig <martin@gnome.org>
546 * Enum.cs: Implemented the IConvertible methods.
548 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
550 * SByte.cs: little change in Parse (string) to avoid incorrect
551 OverflowException thrown (reported by nickd).
553 2002-04-22 Miguel de Icaza <miguel@ximian.com>
555 * ValueType.cs: Add Serializable attribute.
557 * String.cs: ifdef-out out the __arglist Concat function until I
558 add support for that to mcs.
560 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
562 * AppDomain.cs (GetValue): usage of the correct icall (bug)
564 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
566 * GC.cs: implement most of the methods as icalls.
568 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
570 * DecimalFormatter.cs (ToString): return correct value when the
573 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
575 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
576 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
578 2002-04-24 Nick Drochak <ndrochak@gol.com>
580 * Double.cs (Parse): Handle case where there are no digits before the
581 decimal point, such as ".1".
583 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
588 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
590 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
592 * String.cs (Split): fixed invalid split of count 0 and 1.
594 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
596 * String.cs (LastIndexOf): fixed argument checking.
597 * String.cs (Equals): made internal for performace.
599 2002-04-23 Nick Drochak <ndrochak@gol.com>
601 * String.cs (Join): check argument and throw exception if needed
603 2002-04-23 Nick Drochak <ndrochak@gol.com>
605 * String.cs (StartsWith): check argument and throw exception if needed
607 2002-04-22 Nick Drochak <ndrochak@gol.com>
609 * String.cs (IndexOfAny): check arguments and throw exceptions as
610 neccessary. ALso remove some debug WriteLines.
612 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
614 * String.cs: use internal constructors
617 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
619 * MonoType.cs: make GetElementType its own icall.
621 2002-04-18 Nick Drochak <ndrochak@gol.com>
623 * String.cs: Modified file. Re-add methods needed by the unit tests.
625 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
627 * String.cs: some code speedups and restored GetTypeCode().
629 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
631 * String.cs: New implementation using internal calls.
633 2002-04-16 Nick Drochak <ndrochak@gol.com>
635 * DecimalFormatter.cs: Trim off excess null characters from the string
636 that decimal2string gives back.
638 2002-04-16 Nick Drochak <ndrochak@gol.com>
640 * String.cs (SubString): revert my change. I can't reproduce the
643 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
645 * Attribute.cs: added GetHashCode and Equals.
647 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
649 * Enum.cs: little improvements to Format ().
651 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
653 * String.cs: internalcall GetHashCode().
654 * Array.cS: optimize access to elements.
656 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
658 * String.cs: make IndexOfAny() use an internalcall.
660 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
665 * UInt64.cs: fixed error when testing for validity of flags.
667 2002-04-11 Nick Drochak <ndrochak@gol.com>
669 * Double.cs: Use an internal call for ToString(). This is just a simple
670 implementation to get away from throwing a NotImplementedException.
672 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
677 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
681 * Int64.cs: throw an OverFlowException when parsing a string
682 containing a dot followed by any non '0' number.
684 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
689 * UInt64.cs: added complex Parse ().
691 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
696 * Int64.cs: added complex Parse ().
698 2002-04-09 Nick Drochak <ndrochak@gol.com>
700 * Array.cs (BinarySearch): Add checks on paramters before using them
701 and throw exceptions as needed.
703 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
704 "G" format to "F" if so.
706 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
708 * MonoCustomAttrs.cs: return arrays of type Attribute[]
711 2002/04/09 Nick Drochak <ndrochak@gol.com>
713 * String.cs (Substring): Copy only non-null characters to the new
716 2002-04-09 Nick Drochak <ndrochak@gol.com>
718 * IntegerFormatter.cs: Don't use a format character to indicate a
719 custom format was passed in. It was using 'z' to indicate a custom
720 format, but really it should throw a format exception if the user
721 tries to use "z" as the format string. Now it does.
723 * Activator.cs: New File.
725 2002-04-08 Nick Drochak <ndrochak@gol.com>
727 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
728 applied to an enum. Need to handle the different possible integer
729 types of an enum somehow. Can anyone say generics?
731 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
733 * Convert.cs: switched the To*(object) methods to use
734 IConvertible directly instead of calling ChangeType
736 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
738 * ValueType.cs: make Equals() an internalcall.
740 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
742 * Type.cs: also look for nested types in FindMembers.
743 * MonoType.cs: make GetNestedTypes() an internalcall.
745 2002-04-05 Nick Drochak <ndrochak@gol.com>
747 * Enum.cs (Parse): Handle different underlying types.
749 2002/04/04 Nick Drochak <ndrochak@gol.com>
751 * Enum.cs (IsDefined): Throw exception when type of value to look for
752 is not the correct one. Attempt to have it work with string values
753 too, but not sure if the unit tests are getting that far yet.
755 2002-04-04 Nick Drochak <ndrochak@gol.com>
757 * Decimal.cs: Fix a couple of typos.
759 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
761 * Enum.cs: the values array is of the enum and not of the underlying
762 type. Updates and some bug fixes.
763 * MonoType.cs: make the internalcall return FullName instead of the
764 assembly qualified name.
765 * Type.cs: make ToString () simply return FullName.
767 2002-04-03 Nick Drochak <ndrochak@gol.com>
769 * Type.cs (GetTypeCode): provide some of the implementation for this
770 method. It's still too simplistic to be considered complete.
772 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
774 * Object.cs: fixed FieldGetter/FieldSetter signature
776 2002-04-02 Nick Drochak <ndrochak@gol.com>
778 * Environment.cs: add MonoTODO's on parts that should have it.
780 2002-04-01 Nick Drochak <ndrochak@gol.com>
782 * Enum.cs: added reality checks (check parameters to most methods that
785 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
787 * Object.cs: added FieldGetter/FieldSetter
789 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
791 * IntegerFormatter.cs: fixed initialization error in static
794 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
796 * Delegate.cs: added new field to store a trampoline function
798 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
800 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
801 make custom format strings work (not fully functional yet).
803 2002/03/28 Nick Drochak <ndrochak@gol.com>
805 * IntegerFormatter.cs: Change class from internal to public. Add
806 necessary [CLSCompliant(false)] attributes.
808 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
809 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
812 2002-03-28 Nick Drochak <ndrochak@gol.com>
814 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
816 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
818 * Console.cs: Modified to get std handles from MonoIO.
819 * Environment.cs: removed PAL dependencies.
821 2002-03-25 Miguel de Icaza <miguel@ximian.com>
823 * String.cs (System): Removed internal enumeration, because
824 bootstrapping the corlib at this point does not support
827 * IntPtr.cs: Temporary work-around until I fix the assembly
830 2002-03-24 Martin Baulig <martin@gnome.org>
832 * Enum.cs (GetValues): According to the docu this is sorted after
835 * String.cs (System): Removed enumeration, because it is pretty
836 hard to support enumerations in /nostdlib mode for the core types.
838 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
840 * Array.cs: move error handling in the catch block.
841 * MulticastDelegate.cs: remove == and != operators that were
842 removed with the delegate changes (when you add stuff, please do not
843 remove existing functionality!).
844 * Type.cs: if a property is not found in a type, search for it
845 in the parent types, too.
847 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
849 * Math.cs: changed to use icall instead of PAL.
851 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
853 * Double.cs: added check for NaN (Bug [22082])
855 2002-03-19 Nick Drochak <ndrochak@gol.com>
857 * Enum.cs (Equals): check for null and throw if it is.
858 * Enum.cs (Format): check for null parameters and throw if necessary.
859 This method still needs more argument checking.
861 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
863 * Enum.cs (Equals): check if Enums are of the same type
865 2002-03-18 Nick Drochak <ndrochak@gol.com>
867 * Double.cs: Explicitly handle comparisons in CompareTo() for
868 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
870 * Enum.cs(CompareTo): Check types of values before trying to compare.
871 Throw exceptions if types are invalid or don't match.
873 2002-03-14 Miguel de Icaza <miguel@ximian.com>
875 * Array.cs: Add some extra debugging information.
877 2002-03-15 Nick Drochak <ndrochak@gol.com>
879 * Array.cs: Added IList and IEnumerable.
881 2002-03-14 Miguel de Icaza <miguel@ximian.com>
883 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
886 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
888 * Delegate.cs (Equals): also compare method_ptr
889 (GetHashCode): returm method_ptr as hash
891 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
892 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
893 such as 42.ToString("0000000"), as these are (currently) not implemented
894 in System.IntegerFormatter. TimeSpan luckely can do with Standard
895 Numeric Format Strings, such as 42.ToString("D7").
897 2002-03-12 Duncan Mak <duncan@ximian.com>
899 * FieldAccessException.cs:
900 * MethodAccessException.cs:
901 * PlatformNotSupportedException.cs: Inherit from
902 MemberAccessException, not SystemException.
904 * ObsoleteAttribute.cs: Made Message and IsError properties
907 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
909 * GC.cs: make SuppressFinalize() a nop.
910 * Delegate.cs: fix == operator.
912 2002-03-13 Nick Drochak <ndrochak@gol.com>
914 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
915 runtime that goes with this patch.
917 2002-03-10 Martin Baulig <martin@gnome.org>
919 * Int32.cs (Parse): Correctly parse negative numbers.
921 2002-03-08 Martin Baulig <martin@gnome.org>
923 * String.cs (Split): Really fix it this time. Also adding several new
924 testcase to the testsuite.
926 2002-03-08 Martin Baulig <martin@gnome.org>
928 * Array.cs (Copy): Optimized: removed duplicate null check, removed
929 two duplicate GetLowerBound() calls and one duplicate IsValueType.
931 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
933 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
934 * String.cs: use the dumb code for IndexOf(string): this is worth
935 15-20 % speedup in mcs compile with mint.
937 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
939 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
941 2002-03-07 Martin Baulig <martin@gnome.org>
943 * String.cs (Join): Throw an ArgumentNullException.
944 (LastIndexOf (string,int,int)): This method does a backwards search,
945 so startIndex points to the end of value, not to its beginning. Don't
946 throw an exception if startIndex equals this.Length. Always return -1
947 if startIndex is smaller than the length of value.
948 (Replace (string,string)): Replace all occurences of oldValue.
949 If newValue is null, all occurences of oldValue are to be removed.
950 (Split (char[],int)): Return an empty array if maxCount is zero, throw
951 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
952 elements, not maxValue+1.
954 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
956 * MonoType.cs: make GetEvents() an internal call.
957 * MulticastDelegate.cs: copy the passed in array.
959 2002-03-06 Martin Baulig <martin@gnome.org>
961 * Array.cs (Copy): Use FastCopy when appropriate and do correct
964 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
965 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
966 some of the failures found be new tests (see ChangeLog in
967 Test/System). Comments added to this method, based on
968 the representation invariant of this class, that (try to) explain
969 why it now should be correct.
971 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
973 * Int64.cs (Parse): bug fix for max. negative value.
975 2002-03-07 Nick Drochak <ndrochak@gol.com>
977 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
978 I need to understand what the difference between the attribute and
981 2002-03-06 Martin Baulig <martin@gnome.org>
983 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
984 an InvalidCastException if the widening conversion failed. See
987 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
988 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
991 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
992 (Copy): Actually allow copying multi-dimensional arrays.
994 2002-03-05 Duncan Mak <duncan@ximian.com>
997 (DBNull) Added the missing field.
998 (IsDBNull) Fixed typo.
999 (ToByte (string, int)) Implemented.
1000 (ToString (byte, int)) Implemented.
1002 (BuildConvertedString) internal functions used for converting values to
1010 * UInt32.cs: Implemented the IConvertible interface.
1012 * CharEnumerator.cs: Renamed to variables to be clearer and
1013 changed some of the tests to conform to the 1.0 spec.
1015 2002-03-06 Martin Baulig <martin@gnome.org>
1017 * Array.cs (Copy): Calculate absolute array position here and use
1018 GetValueImpl() and SetValueImpl() with that position. We can now
1019 copy multi-dimensional arrays.
1020 (CopyTo): Small bug fix.
1022 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
1024 * Version.cs: CompareTo changed according the LAMESPEC discovered by
1025 Nick (See VersionTest.cs).
1026 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
1027 error comparing the current position (idx) against the length of the
1028 string iterated and it set idx to an unrecognized special value (-2)
1030 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
1032 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
1033 to do this dirty work, but someone has to do it (and I need it to pass
1034 the "200 sample tests compiled on linux" mark).
1036 2002-03-06 Nick Drochak <ndrochak@gol.com>
1039 * DecimalFormatter.cs
1046 * RuntimeMethodHandle.cs
1047 * RuntimeTypeHandle.cs
1050 Add [MonoTODO]'s to places where we currently throw a
1051 NotImplementedException.
1053 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
1055 * Int16.cs (Parse): do not overflow on max negative value
1057 * Int32.cs (Parse): do not overflow on max negative value
1059 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
1061 * Type.cs: fixed IsClass.
1062 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
1063 IsByRefImpl. Added GetInterfaces().
1064 * IServiceProvider.cs: compilation fix.
1066 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
1068 * Array.cs: allow copying an empty array to an empty array.
1070 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
1072 * String.cs: fixed LastIndexOf (string) to do a bit of argument
1075 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
1076 * Version.cs: many fixes to failures found by the newly created
1077 test cases for this class. Specifically, the CompareTo member
1078 returned wrong values due to the use of Int32.MaxValue as a special
1079 value indicating an "undefined" version component. Also implemented the
1080 missing operators (==, <, >, etc.), one missing constructor and
1081 and some exception throwing.
1083 2002-03-04 Nick Drochak <ndrochak@gol.com>
1085 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
1086 * Attribute.cs: Add missing attributes: Serializable and
1087 AttributeUsage(AttributeTargets.All)
1089 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
1091 * MonoType.cs: implemented GetConstructors(), GetFields(),
1092 GetMethods(), GetProperties().
1093 * Object.cs: added debugging icall obj_address().
1094 * Type.cs: fixed the binding flags for some Get* methods.
1095 Implemented FindMembers() as calls to the specific GetMember
1098 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
1099 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
1100 should give an exception for n>=s.Length.
1102 2002-03-01 Martin Baulig <martin@gnome.org>
1104 * Array.cs: More argument checking and bug fixing.
1106 2002-03-01 Miguel de Icaza <miguel@ximian.com>
1108 * BitConverter.cs: Indentation match
1110 * AppDomain.cs: Added MonoTODOs to this too.
1112 * Buffer.cs: Added MonoTODOs to this.
1114 2002-03-01 Martin Baulig <martin@gnome.org>
1116 * Array.cs: Added argument checking to all methods where it was missing.
1118 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
1120 * BitConverter.cs: Fixed bugs in ToString methods
1122 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
1124 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
1126 2002-03-01 Nick Drochak <ndrochak@gol.com>
1128 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
1129 ArgumentOutOfRangeException like the docs say.
1131 2002-03-01 Martin Baulig <martin@gnome.org>
1133 * Enum.cs (CompareTo): Correctly override this method from IComparable.
1135 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
1137 2002-02-28 Martin Baulig <martin@gnome.org>
1139 * String.cs: This file now passes the testsuite on Linux :-)
1141 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
1142 make them private and provide C# wrappers which do proper argument checking.
1144 * String.cs (Format): Correctly handle escaped brackets.
1146 * String.cs (_CompareChar): New internal function which compares two chars.
1147 (_Compare): Provide an internal compare method which can do all sorts of
1148 comparision and call it from all the Compare() methods. Also fixed a lot of
1149 bugs here, this code now actually passes the testsuite.
1151 2002-02-28 Duncan Mak <duncan@ximian.com>
1153 * Convert.cs: Added the missing methods. The new class status page
1154 kicks ass, it even found my typos! Woohoo!
1155 (ConvertFromBase): Moved the Exception throwing in here and
1156 removed the other occurances so it's all centralized now.
1157 (ISDBNull): Implemented.
1158 (GetTypeCode): Implemented.
1160 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
1161 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
1162 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
1163 states that a lacking format should be interpreted as "N".
1164 Also added [Serializable] attribute
1165 * TimeSpan.cs: some formatting and added the [Serializable] attribute
1167 2002-02-26 Duncan Mak <duncan@ximian.com>
1169 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
1171 2002-02-26 Martin Baulig <martin@gnome.org>
1173 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
1174 fields of the interncall GetTimeZoneData.
1176 * DateTime.cs: Implemented Parse and fixed a few bugs.
1178 * String.cs (TrimStart): Small fix.
1180 2002-02-26 Martin Baulig <martin@gnome.org>
1182 * DateTime.cs: ParseExact is now fully functional.
1184 * String.cs (TrimEnd): Small fix.
1186 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
1187 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
1188 missing for about six months.
1190 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
1192 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
1194 2002-02-26 Martin Baulig <martin@gnome.org>
1196 * DateTime.cs: Miguel already committed this, but there was still a
1197 ChangeLog entry for this missing ....
1198 We're now reusing functionality from TimeSpan, printing dates is
1199 fully implemented, currently working on parsing.
1201 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
1204 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
1206 * MonoType.cs: disable constructor.
1207 * Object.cs: make GetType() an internalcall.
1208 * Type.cs: added correct bindingflags to GetMethods ().
1209 All such calls should be reviewed to use the correct flags.
1211 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
1213 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
1216 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
1218 * Type.cs: implemented IsAssignableFrom.
1220 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
1221 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
1222 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
1223 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
1224 The former is documented by Microsoft. The latter is how they
1225 actually implemented it in mscorlib:-)
1227 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
1229 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
1231 * MonoType.cs: Implemented custom attributes methods.
1234 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
1237 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
1239 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
1241 * MonoType.cs: Implemented custom attributes methods.
1243 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
1245 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
1247 2002-02-19 Duncan Mak <duncan@ximian.com>
1249 * Convert.cs: Finished up the missing methods in Convert. Added a
1250 new private method ConvertFromBase.
1252 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
1254 * String.cs: impl. IConvertible interface
1256 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
1257 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
1259 2002-02-18 Duncan Mak <duncan@ximian.com>
1261 * Convert.cs: Changed from using Type.GetType (string) to just
1262 typeof (). Probably will speed things up a bit?
1264 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
1267 1. Fix for GetUpperBound to return correct values
1268 2. made some Properties virtual
1269 3. Adds IsFixedSize and IsReadOnly properties.
1270 4. changes CreateInstance(Type,int[],int[]) to throw Exception
1271 when third arg is null. InternalCall CreateInstance changed to
1273 5. Fixed array.GetUpperBound at a couple of places
1274 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
1275 7. Added two FIXME's in BinarySearch functions.
1277 2002-02-17 Duncan Mak <duncan@ximian.com>
1279 * TimeZone.cs: Applied the rest of Ajay's patch for
1280 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
1283 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
1284 * Guid.cs: added stub for Guid(string) ctor
1286 2002-02-17 Duncan Mak <duncan@ximian.com>
1288 * Convert.cs: Near-complete implementation of Convert.cs
1290 Added all the To* methods taking (object) and
1291 (object, IFormatProvider) as parameters.
1293 Added [CLSCompliant (false)] attributes to methods dealing with
1296 Added the missing section on converting to and from DateTime. Only
1297 6 missing methods, all marked with MonoTODOs. Will tackle them later.
1299 2002-02-16 Duncan Mak <duncan@ximian.com>
1301 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
1302 make IsDaylightSavingTime (DateTime) call
1303 IsDaylightSavingTime (DateTime, DaylightTime).
1305 Added internal class CurrentTimeZone from Ajay. It needs more work
1306 to fill in the appropriate internal calls.
1308 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
1310 * Type.cs: fix IsClass.
1312 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
1314 * String.cs: fix Trim().
1316 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
1318 * String.cs: fix more off by one errors.
1320 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
1322 * MonoType.cs: fix IsValueTypeImpl.
1323 * Type.cs: fix IsEnum. Implement Equals methods.
1325 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
1327 * Int32.cs: implement IConvertible interface.
1329 2002-02-12 Duncan Mak <duncan@ximian.com>
1331 * TimeZone.cs: Implemented and added to CVS.
1333 2002-02-11 Duncan Mak <duncan@ximian.com>
1335 * Convert.cs: Implemented the ChangeType () methods.
1337 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
1339 * Array.cs: make Clone() an internal call.
1341 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
1342 * Changed Guid.NewGuid so that it can use both System.Random and
1343 System.Security.Cryptography.RandomNumberGenerator
1345 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
1346 * First version of Guid.NewGuid
1348 2002-02-08 Duncan Mak <duncan@ximian.com>
1350 * RuntimeArgumentHandle.cs: Added to CVS.
1352 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
1354 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
1355 UnhandledExceptionEventHandler.cs: added delegates.
1357 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
1359 * MarshalByRefObject.cs: add ToString () method
1360 (apparently needed by nunit).
1361 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
1362 by it in the runtime.
1364 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
1366 * String.cs (Format): implemented
1368 2002-02-07 Duncan Mak <duncan@ximian.com>
1370 * DuplicateWaitObjectException:
1371 * InvalidCastException:
1372 * NotImplementedException:
1373 * NotSupportedException:
1374 * NullReferenceException:
1375 * OutOfMemoryException:
1376 * OverflowException:
1378 * StackOverflowException.cs:
1379 * UnauthorizedAccessException: Added missing constructor used for serialization.
1381 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
1383 * String.cs (System.Compare): bug fix
1385 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
1387 * Enum.cs (Parse, GetHashCode): impl.
1389 2002-02-05 Duncan Mak <duncan@ximian.com>
1391 * DBNull.cs: This is my first crack at the DBNull class. I think I
1392 actually got most of the IConvertible methods right, but I haven't
1393 done the research to test whether or not this is the correct
1394 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
1396 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
1398 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
1400 * Enum.cs: added more functionality (GetName, ToObject, Equals)
1402 2002-01-31 Duncan Mak <duncan@ximian.com>
1404 * InvalidOperationException.cs:
1405 * NotFiniteNumberException.cs:
1406 * ObjectDisposedException.cs:
1407 * TypeInitializationException.cs: Added missing bits for serialization/
1409 * AppDomainUnloadedException.cs:
1410 * ApplicationException.cs:
1411 * ArgumentOutOfRangeException.cs:
1412 * ArithmeticException.cs:
1413 * ArrayTypeMismatchException:
1414 * BadImageFormatException.cs:
1416 * MissingMemberException.cs:
1417 * TypeLoadException.cs: Added missing bits for serialization.
1419 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
1420 * Guid.cs: implemented everything but Guid.NewGuid
1422 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
1424 * _AppDomain.cs: remove ToString() method: it doesn't seem right
1425 to have it in this interface and it screws up the method vtable setup.
1427 2002-01-28 Andrei Zmievski <andrei@php.net>
1429 * Double.cs: implemented IConvertible interface.
1431 2002-01-28 Miguel de Icaza <miguel@ximian.com>
1433 * ArgumentException.cs: Implement serialization constructor.
1434 (GetObjectData): Implement serializer.
1436 * ArgumentNullException.cs: Implement serialization constructor.
1438 * Exception.cs: Implement serialization constructor.
1439 (GetObjectData): Implement serializer.
1441 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1443 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
1445 2002-01-23 Duncan Mak <duncan@ximian.com>
1447 * EntryPointNotFoundException.cs:
1448 * FormatException: Added missing constructor and related bits.
1450 * TypeLoadException: Added missing constructor, methods and properties.
1452 2002-01-23 Miguel de Icaza <miguel@ximian.com>
1454 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
1455 manually getting the enumerator.
1457 (AppDomain.AppDomain): Prime the loaded assemblies with the
1458 assemblies loaded by the runtime in our behalf.
1460 * AppDomainSetup.cs: Remove private keyword, that is the default.
1461 Add a new property DisallowPublisherPolicy.
1463 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
1465 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
1467 * MonoType.cs, Type.cs: many updates, corrected implementation,
1470 2002-01-20 Andrei Zmievski <andrei@php.net>
1473 * Char.cs: implemented IConvertible interface.
1475 * Boolean.cs: use our own ToString() method directly.
1477 2002-01-20 Duncan Mak <duncan@ximian.com>
1479 * Files I commited recently: Fixed indentation style.
1481 2002-01-20 Nick Drochak <ndrochak@gol.com>
1483 * SerializableAttribute.cs: this attrib can be used on enums, structs,
1484 and delegates too. Added the appropriate usage flags.
1486 2002-01-18 Duncan Mak <duncan@ximian.com>
1488 * CharEnumerator.cs: Implemented.
1489 * String.cs (System): Fixed the GetEnumerator () method(s).
1491 * ObsoleteAttribute.cs:
1492 * STAThreadAttribute.cs:
1493 * MTAThreadAttribute.cs:
1494 * ThreadStaticAttribute.cs:
1495 * LoaderOptimizationAttribute.cs:
1496 * PlatformNotSupportedException.cs:
1497 * LoaderOptimization.cs: Added to CVS.
1499 2002-01-18 Duncan Mak <duncan@ximian.com>
1501 * AppDomainUnloadedException.cs:
1502 * MethodAccessException.cs:
1503 * ContextMarshalException.cs:
1504 * CannotUnloadAppDomainException.cs:
1505 * DllNotFoundException.cs:
1506 * EntryPointNotFoundException.cs:
1507 * FieldAccessException.cs:
1508 * TypeUnloadedException.cs:
1509 * MissingFieldException.cs: Added to CVS.
1511 * ApplicationException.cs:
1512 * MemberAccessException.cs:
1513 * MissingMemberException.cs
1514 * MissingMethodException.cs:
1515 * SystemException.cs: Added [Serializable] attribute.
1517 * Exception.cs: Added [Serializable] attribute, made properties
1518 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
1521 * ContextStaticAttribute.cs: Added [Serializable] attribute and
1522 put in the missing constructor.
1524 * Environment.cs: Commented out references to
1525 EnvironmentPermissionAttribute, because they're just stubbed out
1526 right now and has no implementation.
1528 2002-01-16 Andrei Zmievski <andrei@php.net>
1530 * Boolean.cs: implemented IConvertible interface
1532 2002-01-15 Nick Drochak <ndrochak@gol.com>
1534 * ResolveEventArgs.cs: class should derive from EventArgs.
1536 2002-01-14 Miguel de Icaza <miguel@ximian.com>
1538 * String.cs (System): Use DefaultMemberName for the String class.
1540 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
1542 * String.cs: use IndexerName in index char accessor.
1544 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
1546 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
1547 * String.c: eliminate 64k+ method calls in search.
1548 * Type.cs: handle byref and array types in ToString ().
1550 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
1552 * Guid.cs: created first version
1554 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
1556 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
1558 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
1560 * MulticastDelegate.cs: add == and != operator stubs.
1561 * String.cs: check for null in == operator.
1562 * Type.cs: use a virtual method to get TypeAttributes.
1564 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
1565 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
1567 2002-01-09 Nick Drochak <ndrochak@gol.com>
1569 * Environment.cs: Comment out Security attribute and put a MonoTODO
1570 there as a reminder. We need mcs magic to handle security attributes in
1573 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
1574 * Created IAppDomainSetup.cs
1576 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
1577 * Created System._AppDomain interface in _AppDomain.cs
1579 2002-01-06 Nick Drochak <ndrochak@gol.com>
1581 * ResolveEventArgs.cs: New File, completely implemented! ;)
1583 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
1585 * Enum.cs: dummy ToString impl.
1586 * String.cs: dummy format implementations to get compiler errors
1588 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
1590 2002-01-05 Ravi Pratap <ravi@ximian.com>
1592 * TODOAttribute.cs : Augment some more; provide two constructors
1593 with support for a comment too.
1595 2002-01-05 Nick Drochak <ndrochak@gol.com>
1597 * Uncommented those MonoTODO's now that Ravi's got
1600 2001-01-04 Ravi Pratap <ravi@ximian.com>
1602 * TODOAttribute.cs : Actually add this time ;-)
1604 Change name to MonoTODO.
1606 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
1608 * String.cs (Trim): Fixed a few logic bugs in the code that
1609 calculated how much to trim off the end of the string.
1611 2001-01-04 Nick Drochak <ndrochak@gol.com>
1613 * Commented out the [TODO] attributes for now. We don't have the
1614 class written. Also changed it to [MonoTODO]
1616 2002-01-04 Ravi Pratap <ravi@ximian.com>
1618 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
1619 our class libraries that are incomplete.
1621 * Array.cs : Apply attribute wherever we find a FIXME which says
1622 we need something to be implemented there.
1626 * MulticastDelegate.cs : Ditto.
1628 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
1629 RuntimeTypeHandle.cs : Ditto.
1631 * String.cs : Ditto.
1635 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
1637 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
1638 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1640 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
1641 Delegate.cs : Ditto.
1643 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
1644 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
1646 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
1648 * Delegate.cs: add Remove() stub.
1649 * Enum.cs: add ToObject().
1650 * Type.cs: add IsEnum property.
1652 2002-01-03 Kristian Rietveld <kris@gtk.org>
1654 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
1655 DateTime and object.
1657 2001-12-30 Nick Drochak <ndrochak@gol.com>
1659 * Byte.cs (Parse): Add comments to aid in testing.
1661 2001-12-21 Miguel de Icaza <miguel@ximian.com>
1663 * Char.cs (Parse): Implement.
1665 * Byte.cs (Parse): Implement a fast parser.
1667 * SByte.cs (Parse): Implement a fast parser.
1669 * UInt16.cs (Parse): Implement a fast parser.
1671 * Int16.cs (Parse): Implement a fast parser.
1673 * UInt32.cs (Parse): Implement a fast parser.
1675 * Int32.cs (Parse): Implement a fast parser.
1677 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1679 * Array.cs: fix null ref in sort code.
1680 * UInt64.cs: add bare-bones parse.
1682 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
1684 * Byte.cs: removed use of Regexes.
1686 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
1688 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
1689 IsDefined(), GetUnderlyingType().
1690 * String.cs: fix one instance of Compare().
1691 * Type.cs: implemented GetProperties(), GetProperty().
1693 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
1695 * Array.cs: implement CopyTo ().
1696 * Char.cs: implement ToString ().
1697 * Exception.cs: bugfix.
1698 * Int32.cs: bare-bones Parse ().
1699 * MonoType.cs: query the needed info with an internalcall.
1700 * String.cs: speedups, bugfixes, reduced copies.
1701 * Type.cs: added missing fields. Implemented many of the Is*
1702 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
1703 GetFields(), FindMembers(), ToString().
1705 2001-12-11 Dick Porter <dick@ximian.com>
1707 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
1709 * Console.cs: Use handles rather than casting file descriptors
1711 2001-12-08 Nick Drochak <ndrochak@gol.com>
1713 * Byte.cs (Parse): Start implementation. Parse(string) works, but
1714 now we need to handle other formats
1716 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
1718 * DateTime.cs: added an icall to GetNow()
1720 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
1722 * Double.cs: added the parse method from Bob Smith
1724 2001-11-28 Miguel de Icaza <miguel@ximian.com>
1730 * Int32.cs (Int32.CompareTo): Fix because we can not just
1731 substract the values.
1733 Return possitive value if the object is null.
1735 * Boolean.cs: (Boolean.CompareTo): ditto.
1737 * Int16.cs (Int16.CompareTo): ditto.
1739 * Byte.cs (Byte.CompareTo): ditto.
1741 * SByte.cs (SByte.CompareTo): ditto.
1743 * Char.cs (Char.CompareTo): ditto.
1745 * Decimal.cs (Decimal.CompareTo): ditto.
1747 * Int64.cs (Int64.CompareTo): ditto.
1753 2001-11-28 Nick Drochak <ndrochak@gol.com>
1755 * Byte.cs: Throw NotImplementedException for Parse.
1757 2001-11-27 Derek Holden <dholden@draper.com>
1759 * IntegerFormatter.cs: Formatting of type "Number" was not
1760 using NumberFormatInfo.NumberNegativePattern.
1762 2001-11-26 Dick Porter <dick@ximian.com>
1764 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
1765 the finalise routine any more
1767 2001-11-21 Miguel de Icaza <miguel@ximian.com>
1769 * ApplicationException.cs: internationalize by adding calls to
1770 Locale.GetText (). And throw NotImplementedExceptions on calls
1771 that we have to implement.
1773 * Version.cs: Ditto.
1775 * ValueType.cs: ditto.
1777 * UnauthorizedAccessException.cs: ditto.
1785 * TypeLoadException.cs: ditto
1787 * TypeInitializationException.cs: ditto.
1791 * TimeSpan.cs: ditto.
1793 * SystemException.cs: ditto.
1797 * StackOverflowException.cs: ditto.x
1803 * RuntimeTypeHandle.cs: ditto.
1805 * RuntimeMethodHandle.cs: ditto.
1807 * RuntimeFieldHandle.cs: ditto.
1811 * OutOfMemoryException.cs: ditto.
1813 * OperatingSystem.cs: ditto.
1815 * ObjectDisposedException.cs: ditto.
1817 * NullReferenceException.cs: ditto.
1819 * NotImplementedException.cs: ditto.
1821 * NotFiniteNumberException.cs: ditto.o
1823 * MulticastNotSupportedException.cs: ditto.
1825 * MissingMethodException.cs: ditto.
1827 * MemberAccessException.cs: ditto.
1831 * InvalidCastException.cs: ditto.
1833 * IntegerFormatter.cs: ditto.
1839 * IndexOutOfRangeException.cs: ditto.
1841 * Environment.cs: ditto
1845 * DuplicateWaitObjectException.cs: ditto.
1847 * DivideByZeroException.cs: ditto.
1849 * Delegate.cs: ditto
1851 * DecimalFormatter.cs: ditto.
1853 * Decimal.cs: ditto.
1855 * DateTime.cs: ditto.
1857 * Convert.cs: ditto.
1863 * Boolean.cs: ditto.
1865 * ArrayTypeMismatchException.cs: ditto.
1867 * ArithmeticException.cs: ditto.
1869 * ArgumentOutOfRangeException.cs: ditto.
1871 * ArgumentNullException.cs: ditto.
1873 * Enum.cs: Make it derive from ValueType, add CompareTo method.
1875 * Attribute.cs: Reformat.
1877 2001-11-14 Miguel de Icaza <miguel@ximian.com>
1879 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
1880 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
1881 exception if the value is null too.
1883 * Char.cs (CompareTo): ditto.
1885 * ApplicationException.cs: Added constructor that does serialization.
1887 * ParamArrayAttribute.cs: Define attribute correctly.
1889 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
1891 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
1892 * Array.cs: fix Array.Copy.
1893 * AssemblyLoadEventArgs.cs: rename field.
1894 * CLSCompliantAttribute.cs: use correct name for the class.
1895 * Char.cs: fix IsLetter.
1896 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
1897 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
1898 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
1899 * Delegate.cs: renamed target field to m_target.
1900 * Enum.cs: added missing methods.
1901 * MonoType.cs: add a constructor and some needed properties.
1902 * Object.cs: implement GetType().
1903 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
1905 * Type.cs: add missing methods/properties.
1907 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
1909 * AttributeUseage.cs: Should define AttributeUsageAttribute.
1911 * CLSCompliant.cs: Marked with AttributeUsage attribute.
1913 * Decimal.cs: Fixed CLSCompliant attributes.
1915 * Type.cs: changed _impl to internal (needs to be accessable by
1918 (TypeHandle): Marked as abstract, implementation removed.
1920 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
1921 GetMethod): Added stub implementations so NUnit would link against
1924 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
1926 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
1928 2001-11-05 Miguel de Icaza <miguel@ximian.com>
1930 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
1933 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
1935 * String.cs: fix a couple of bugs.
1936 * AppDomain.cs: use new AppBuilder constructor.
1937 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
1938 NotImplementedException.cs, ObjectDisposedException.cs,
1939 UnauthorizedAccessException.cs: add implementation.
1940 * OverflowException.cs: fix class name.
1942 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
1944 * String.cs: Don't use a terminating nil char for our internal
1947 2001-10-27 Miguel de Icaza <miguel@ximian.com>
1949 * Delegate.cs (Delegate.CombineImpl): Implement.
1950 (Delegate.Combine): Implement.
1952 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
1954 (MulticastDelegate.CombineImpl): This was not as trivial as I
1957 * ContextStaticAttribute.cs: Added AttributeUsage to
1958 ContextStaticAttribute.
1960 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
1962 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
1964 * added Decimal.cs * added DecimalFormatter.cs (internal class
1965 used from System.Decimal)
1967 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
1969 * Convert.cs: Added methods for Base64 transforming just used the
1970 existing System.Security.Cryptography.ToBase64Transform, should
1971 be changed to use a stand-alone class, e.g. Base64Encoder
1973 2001-10-10 Derek Holden <dholden@draper.com>
1975 * IntegerFormatter.cs: Added. Implements ToString for all the
1976 integer data types for all the format types.
1978 * Byte.cs: Using IntegerFormatter for ToString's.
1980 * SByte.cs: Using IntegerFormatter for ToString's.
1982 * Int16.cs: Using IntegerFormatter for ToString's.
1984 * Int32.cs: Using IntegerFormatter for ToString's.
1986 * Int64.cs: Using IntegerFormatter for ToString's.
1988 * UInt16.cs: Using IntegerFormatter for ToString's.
1990 * UInt32.cs: Using IntegerFormatter for ToString's.
1992 * UInt64.cs: Using IntegerFormatter for ToString's.
1994 2001-10-07 Miguel de Icaza <miguel@ximian.com>
1996 * Exception.cs: Implement bits of serialization.
1998 * RuntimeFieldHandle.cs: Implement Serialization features.
2000 * Type.cs: Implement TypeHandle property.
2002 2001-09-28 Dick Porter <dick@ximian.com>
2004 * LocalDataStoreSlot.cs: Implemented
2006 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
2008 * String.cs: fix off-by-one error in Trim().
2010 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
2012 * Type.cs: added GetType () method.
2014 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
2016 * MissingMethodException.cs, MissingMemberException.cs,
2017 MemberAccessException.cs: added.
2019 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
2021 * String.cs: don't access the string array out of bounds in
2022 LastIndexOf. * Type.cs: fix return type of the Assembly property.
2024 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
2026 * String.cs: make Intern and IsIntern internalcalls.
2028 2001-09-13 Dick Porter <dick@ximian.com>
2030 * Type.cs: Added a stub for the IsValueType property.
2032 * SystemException.cs (System): Added the other constructor, so
2033 that System.Threading exceptions can inherit it.
2035 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
2037 * String.cs (TrimStart): Don't keep looping through the trimchars
2038 once we've found a match.
2039 (TrimEnd): Same here.
2040 (Trim): And finally here.
2042 2001-09-07 Ravi Pratap <ravi@ximian.com>
2044 * Char.cs (IsLetterOrDigit): Implement.
2045 (IsLower): Implement, but we need to be Unicode aware.
2046 (IsNumber): Implement.
2047 (IsPunctuation): Implement.
2048 (IsWhiteSpace): Implement.
2049 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
2050 (ToLower): Same here.
2052 2001-09-04 Miguel de Icaza <miguel@ximian.com>
2054 * Object.cs: Shortcut, if (a == b) then return true.
2056 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
2058 * Delegate.cs: we need a pointer to the method thunk in
2059 the delegate object.
2061 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
2063 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
2065 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
2067 * String.cs (System): Don't mix uint and int.
2069 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
2071 * String.cs (BoyerMoore): Modified to not use pointers and to instead
2073 (IndexOf): Use BoyerMoore.
2075 2001-09-02 Miguel de Icaza <miguel@ximian.com>
2077 * All over: Use the autogenerated enumerations from the ECMA
2078 documentation that Sergey wrote.
2080 * PlatformID.cs: Add Unix definition.
2082 * OperatingSystem.cs: Use Unix instead of Linux here.
2084 * MarshalByRefObject.cs: Mark class as [Serializable].
2086 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
2088 * Console.cs: impl. (write only)
2089 implemented the stdin stuff
2091 * Int32.cs: impl. real op_Equal
2093 2001-08-24 Miguel de Icaza <miguel@ximian.com>
2095 * (common.src): Removed IAsyncResult as it is not on CVS yet.
2097 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
2098 as it breaks the build.
2100 2001-08-23 Michael Lambert <michaellambert@email.com>
2102 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
2103 added CLSCompliant attribute
2105 * IAsyncResult.cs: Added
2107 * common.src: Added IAsyncResult.cs
2109 2001-08-23 Michael Lambert <michaellambert@email.com>
2113 * common.src: Added UIntPtr.cs
2115 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
2117 * Attribute.cs: uncomment some code to make it compile again
2119 * mono.src: removed duplicated Attribute.cs
2121 2001-08-16 Nick Drochak <ndrochak@gol.com>
2123 * Attribute.cs: implemented all methods except GetHashCode()
2125 * common.src: added Attribute.cs so it would compile in
2127 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
2129 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
2130 marked it as InternalCall
2132 * common.src: removed UriFormatException.cs because the file is
2135 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
2136 * Char.cs: replaced byte with char
2138 * Array.cs: make it work with the mono interpreter
2140 2001-08-06 Miguel de Icaza <miguel@ximian.com>
2142 * Version.cs: Make the class sealed
2144 2001-08-08 Bob Smith <bob@thestuff.net>
2146 * Random.cs: Many compile fixes.
2147 * Random.cs: I read a bad spec. Class updated to match real spec.
2149 2001-08-06 Miguel de Icaza <miguel@ximian.com>
2151 * IntPtr.cs: Added and Completed implementation.
2153 * Uri.cs: Add a note.
2155 2001-08-06 Bob Smith <bob@thestuff.net>
2157 * Random.cs: Compile fix. Needs more testing.
2159 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
2161 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
2162 into account IPv6 addresses, url encoding needs to be implemented, and
2163 various minor methods need to be written, but this is a decent start.
2165 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
2167 * common.src: added Object.cs
2169 * mono.src: added ValueType.cs
2171 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
2173 * Math.cs: replaced libc with libm
2175 2001-08-02 Bob Smith <bob@thestuff.net>
2177 * Random.cs: Implemented. Needs testing.
2179 2001-08-02 Miguel de Icaza <miguel@ximian.com>
2181 * IServiceProvider.cs, EventHandler.cs: New files.
2183 2001-08-02 Marcel Narings <marcel@narings.nl>
2185 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
2186 Added exceptions. Added IConvertible. Still needs some platform
2187 dependend stuff, the Parse and ToString members
2189 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
2191 * Type.cs (GetTypeFromHandle): added placeholder
2193 2001-07-24 Derek Holden <dholden@draper.com>
2195 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
2196 which is really an IConvertible defined method.
2198 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
2199 behavior, still need to do the main Parse and ToString.
2201 * Char.cs: Added a bunch of missing ECMA methods. Commented a
2202 specification discrepency. Still didn't any unicode stuff, though
2203 every IsFoo(char c) method has an IsFoo(string, index)
2204 counterpart, added wrappers for those.
2206 * Convert.cs: Fixed NaN/Inf checking and double/float
2207 rounding. Added ToType for IConvertible classes
2209 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
2210 IsNaN methods. Changed Inf/NaN internals.
2212 * IConvertible.cs: Added comments for using
2213 Convert.ToType. Changed return values to draft base values.
2215 * Int16.cs: Added a missing Parse statement. Put in behavior for
2216 overloaded ToString and Parse methods.
2218 * Int32.cs: Added a missing Parse statement. Put in behavior for
2219 overloaded ToString and Parse methods.
2221 * Int64.cs: Added a missing Parse statement. Put in behavior for
2222 overloaded ToString and Parse methods.
2224 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
2225 methods. Changed Inf/NaN internals.
2227 * SByte.cs: Added a missing Parse method. Put in Parse and
2228 ToString behavior, still need to do the main Parse and ToString.
2230 * UInt16.cs: Added a missing Parse statement. Put in behavior for
2231 overloaded ToString and Parse methods.
2233 * UInt32.cs: Added a missing Parse statement. Put in behavior for
2234 overloaded ToString and Parse methods.
2236 * UInt64.cs: Added a missing Parse statement. Put in behavior for
2237 overloaded ToString and Parse methods.
2239 2001-07-20 Miguel de Icaza <miguel@ximian.com>
2241 * MulticastDelegate.cs: New File.
2243 * Delegate.cs: New file.
2245 * Enum.cs: New file.
2247 * Attribute.cs: New file.
2249 * Type.cs: New file.
2251 * ParamArrayAttribute.cs: New file.
2253 * RuntimeTypeHandle.cs: New file.
2255 * MulticastDelegate.cs: Added.
2257 * DateTime.cs: Added
2259 * Delegate.cs: Added
2261 2001-07-18 Michael Lambert <michaellambert@email.com>
2263 * AttributeTargets.cs: Add.
2265 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
2267 * Char.cs: Made ToUpper and ToLower public methods.
2269 * String.cs: Lots and lots of compile fixes - just need to write
2270 DateTime.cs and this should build completely now.
2272 2001-07-19 Bob Smith (bob@thestuff.net)
2274 * Math.cs: Implemented.
2276 2001-07-19 Miguel de Icaza <miguel@ximian.com>
2278 * String.cs: Removed tolower and toupper.
2280 * Char.cs: Moved ToLower and ToUpper from string to here.
2282 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
2283 instead of comparing the value to Nan.
2285 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
2287 * TimeSpan.cs: New implementation.
2289 2001-07-18 Scott Sanders <scott@stonecobra.com>
2291 * UriFormatExcpetion.cs: Add - 85% complete
2293 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
2295 * String.cs (IndexOf): Slight optimization that allows skipping
2296 over a few chars here and there. This isn't as good as using my
2297 Boyer-Moore implementation, however, Boyer-Moore is only really
2298 good for long strings (I plan on making the code decide which
2299 string search algorithm it should use on-the-fly at some point).
2300 (LastIndexOf): Fix to work correctly.
2301 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
2303 2001-07-16 Michael Lambert <michaellambert@email.com>
2305 * EventArgs.cs: Add.
2307 2001-07-16 Miguel de Icaza <miguel@ximian.com>
2309 * Version.cs: Remove my buggy comment.
2311 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
2313 * String.cs: Spelling error of IComparable, object's
2314 MemberwiseClone cannot be overridden. Made indexer valid for now,
2315 but not sure what to do about this in the long run. Seems to be a
2316 couple bugs in csc.exe having to do with multiple pointer defs in
2317 the same statement, and returning subclasses of a class in the
2318 return type of an interface function implementation. Also moved
2319 operators inside of class definition.
2321 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2323 * String.cs: A tom of compile fixes, although we still don't compile.
2325 * IConvertible.cs: The To*Int64() methods return *Int64's, not
2326 *Int32's. Also, it's ToDateTime() not ToDateType().
2328 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2330 * String.cs: Apparently I needed to at least write stubs for the
2331 IConvertible interfaces. *sigh*
2333 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
2335 * String.cs: Many logic/other fixes and better usage of the
2337 (tolower): New convenience method to help condense code.
2338 (toupper): Another new helper method.
2339 (Compare): Use the new helper methods.
2340 (ToLower): use tolower().
2341 (ToUpper): use toupper().
2342 (LastIndexOfAny): Implemented.
2343 (BoyerMoore): New private helper method that implements a modified
2344 version of the Boyer-Moore search algorithm. Noothing uses it yet
2345 as I'm not 100% sure it even works properly with unicode strings
2346 not to mention it uses a huge lookup-table :-)
2347 (Split): Implemented.
2349 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
2351 * TODO: Added things that need to be finished in System.String
2353 * String.cs: New source file implementing the System.String class
2355 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
2357 * TypeCode.cs: UInt64 was UInt63.
2359 * Object.cs: Fixed a numer of compiler errors.
2361 * Array.cs: Fixed some compiler errors.
2363 * IComparable.cs: Fixed some compiler errors.
2365 * ICloneable.cs: Fixed some compiler errors.
2367 * IConvertible.cs: Fixed some compiler errors.
2369 * IFormattable.cs: Fixed a compiler error.
2371 * IFormatProvider.cs: Fixed a compiler error.
2373 * IDisposable.cs: Fixed a compiler error.
2375 * IFormatProvider.cs: Added public accesability type to
2378 * Exception.cs: Added a using statement to remove compile time
2381 * ApplicationException.cs: Removed a ; that was causing a compiler
2384 * Int16.cs: Fixed some compiler errors.
2386 * Int32.cs: Fixed some compiler errors.
2388 * Int64.cs: Fixed some compiler errors.
2390 * SystemException.cs: Fixed a compiler error.
2392 * UInt16.cs: Fixed some compiler errors.
2394 * UInt32.cs: Fixed some compiler errors.
2396 * UInt64.cs: Fixed some compiler errors.
2398 * Void.cs: Fixed a compiler error.
2400 2001-07-12 Joe Shaw <joe@ximian.com>
2402 * Array.cs: Fix backwards parameters to Array.SetValue()
2404 (BinarySearch): Fix backward logic surrounding whether to call
2405 value.CompareTo or comparer.Compare.
2406 (LastIndexOf): Stop being stupid. I am so not used to strongly
2408 (Sort): Implement a quicksort.
2410 2001-07-11 Joe Shaw <joe@ximian.com>
2412 * Array.cs: Change all instances of trying to access an array with
2413 the index operator to calls to GetValue and SetValue, and add
2414 InternalGetValue and InternalSetValue which are internal calls
2415 into the runtime. Ew.
2417 2001-07-10 Joe Shaw <joe@ximian.com>
2419 * Array.cs: Implemented everything but Sort().
2421 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
2423 * Object.cs (Object::Equals): Object variable name is `o'.
2425 2001-07-06 Joe Shaw <joe@ximian.com>
2427 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
2428 Implement the IComparable and IFormattable interfaces. Fix a typo
2431 * ApplicationException.cs, ArgumentException.cs,
2432 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
2433 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
2434 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
2435 ExecutionEngineException.cs, FormatException.cs,
2436 IndexOutOfRangeException.cs, InvalidCastException.cs,
2437 InvalidOperationException.cs, InvalidProgramException.cs,
2438 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
2439 NotSupportedException.cs, NullReferenceException.cs,
2440 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
2441 StackOverflowException.cs, SystemException.cs,
2442 TypeInitializationException.cs: Added all of the exceptions
2443 specified by the language spec. Mmmm... bloat.
2445 2001-07-06 Miguel de Icaza <miguel@ximian.com>
2447 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
2448 do a generic routine all of these guys use.
2450 * Int16.cs: identified missing methods.
2452 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
2454 2001-06-26 Miguel de Icaza <miguel@ximian.com>
2456 * TypeCode.cs: Implement
2458 * Void.cs: Implement.
2460 * TODO: Add file to keep track of pending tasks.
2462 * Object.cs, ValueType.cs: Implement.