1 2008-01-13 Eyal Alaluf <eyala@mainsoft.com>
3 * NumberFormatter.cs, Double.cs, Single.cs: Fix Single & Double default
4 ToString to handle +-Infinity & NaN.
7 2008-01-14 Sephane Delcroix <sdelcroix@novell.com>
9 * DateTimeOffset.cs: ParseExact (string, string, IFormatProvider)
13 2008-01-14 Zoltan Varga <vargaz@gmail.com>
15 * NumberFormatter.cs: Remove some redundant assignments.
17 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
19 * AppDomain.cs: Also fix bug #350530 for overload taking evidence and
20 args. On 1.0 profile, throw COMException to match MS and to allow
21 our unit tests to pass on MS.
23 2008-01-13 Eyal Alaluf <eyala@mainsoft.com>
25 * NumberFormatter.cs: Check in redesigned implementation. Improves
26 double.ToString performance by 2-3 orders of magnitude and other
27 primitive numeric types ToString performance.
28 * NumberFormatter.jvm.cs: The TARGET_JVM managed tables for NumberFormatter
29 class for reuse if a completely managed NumberFormatter is required.
30 * Int16.cs UInt64.cs Double.cs UInt16.cs SByte.cs Byte.cs TimeSpan.cs
31 Int32.cs Int64.cs Single.cs UInt32.cs: Adapt to new NumberFormatter.
33 2008-01-13 Zoltan Varga <vargaz@gmail.com>
35 * AppDomain.cs: Check for a missing entry point in the ExecuteAssembly methods.
38 2008-01-11 Stephane Delcroix <sdelcroix@novell.com>
40 * DateTimeOffset.cs: Fixes the MinValue (was equal to MaxValue)...
42 2008-01-10 Zoltan Varga <vargaz@gmail.com>
44 * Delegate.cs: Implement argument checking in CreateDelegate(Type,object,MethodInfo)
45 method. Make the CreateDelegate(Type,MethodInfo) overload calls this version.
48 2008-01-10 Stephane Delcroix <sdelcroix@novell.com>
50 * DateTimeOffset.cs: chain the Parse* methods together.
52 2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
54 * DateTime.cs : revert the previous fix. It caused regression on
57 2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
59 * DateTime.cs : fixed bug #352210. Kind is unspecified by default,
60 while the tick is for local time by default. This fix also involved
61 special x509 handling.
63 2008-01-08 Marek Safar <marek.safar@gmail.com>
65 * Array.cs (LastIndexOf<T>): Fixed bound checking.
67 2008-01-06 Zoltan Varga <vargaz@gmail.com>
69 * AppDomain.cs: Move the assembly loading in ExecuteAssembly and
70 ExecuteAssemblyByName to managed to as said by the MSDN docs. Fixes #350530.
72 * Environment.cs: Bump corlib version.
74 2008-01-02 Marek Habersack <mhabersack@novell.com>
76 * Array.cs: fix a typo to unbreak the build.
78 2008-1-1 Scott Peterson <lunchtimemama@gmail.com>
80 * Array.cs: Slight improvement to the quicksort algorithm.
82 2007-12-28 Gert Driesen <drieseng@users.sourceforge.net>
84 * Environment.cs: Bump corlib version.
86 2007-12-20 Gert Driesen <drieseng@users.sourceforge.net>
88 * AppDomain.cs: Added check for null AssemblyName, and invalid
89 AssemblyName.Name to DefineDynamicAssembly overloads. Loosely based on
90 patch provided by Cedric Vivier. Fixes bug #349272.
92 2007-12-20 Stephane Delcroix <sdelcroix@novell.com>
94 * DateTimeOffset.cs: set [Min|Max]Value to UTC. Fixes #349621.
96 2007-12-19 Stephane Delcroix <sdelcroix@novell.com>
100 * DateTimeUtils.cs: factored out the common pieces of DT and DTO into DTU.
102 2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
104 * DateTimeOffset.cs: implementing the 4 ToString overloads by reusing
105 large chunks of System.DateTime code.
107 2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
109 * DateTimeOffset.cs: some bugfix discovered by unit tests.
111 2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
113 * DateTimeOffset.cs: almost complete implementation, still missing the
114 Parse* and ToString methods.
116 2007-12-11 Zoltan Varga <vargaz@gmail.com>
118 * AppDomain.cs (DoAssemblyResolve): Fix detection of whenever there is a
119 reflection-only assembly resolve hook.
121 2007-12-10 Stephane Delcroix <sdelcroix@novell.com>
123 * DateTimeOffset.cs: partial implementation. no longer just a stub.
125 2007-11-30 Zoltan Varga <vargaz@gmail.com>
127 * Delegate.cs: Compute the Method property lazily.
129 * Delegate.cs: Add a 'method' field.
131 * Environment.cs: Bump corlib version.
133 2007-11-21 Zoltan Varga <vargaz@gmail.com>
135 * Array.cs: Make the InternalArray_... methods internal.
137 * Environment.cs: Bump corlib version.
139 2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
141 * AppDomain.cs : filled 2.0 API (extra ones are from 2.0 SP1).
142 * ContextMarshalException.cs : obsolete in 2.0.
144 2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
146 * MarshalByRefObject.cs : Added MemberwiseClose() stub.
147 GetLifetimeService() is not virtual (in both 2.0 and 1.1).
148 * Console.cs : implemented missing 2.0 key members.
150 2007-11-18 Gert Driesen <drieseng@users.sourceforge.net>
152 * Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
153 some exception messages.
155 2007-11-16 Gert Driesen <drieseng@users.sourceforge.net>
157 * AppDomain.cs: Added some obsolete messages.
159 2007-11-15 Gert Driesen <drieseng@users.sourceforge.net>
161 * MonoType.cs: Modified ParamName for ArgumentException to match
162 MS. Provide meaningful exception messages. On 2.0, throw ANE instead
163 of ArgumentException when args is null.
165 2007-11-15 Zoltan Varga <vargaz@gmail.com>
167 * MonoType.cs (Invoke): Allow BindingFlags.SetField and
168 BindingFlags.SetProperty to be specified together. Fixes #321735.
170 2007-11-14 Miguel de Icaza <miguel@novell.com>
172 * Console.cs, ConsoleDriver.cs, TermInfoDriver.cs,
173 TermInfoReader.cs, TermInfoNumber.cs, TermInfoStrings.cs,
174 CStreamReader.cs, CStreamWriter.cs, NullConsoleDriver.cs,
175 WindowsConsoleDriver.cs: In the 2.1 profile we do not need the
176 full-blown Console (the terminal-addressable console) so we shrink
177 it down to the basic 1.0 Console.
179 2007-11-14 Marek Safar <marek.safar@gmail.com>
181 * Nullable.cs: Optimized to use generic comparers.
183 2007-11-14 Zoltan Varga <vargaz@gmail.com>
185 * Array.cs (Copy): Throw InvalidCastException in more cases.
187 2007-11-13 Zoltan Varga <vargaz@gmail.com>
189 * GCCollectionMode.cs GCLatencyMode.cs: New net 3.5 types.
191 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
193 * NumberFormatter.cs : revert previous two changes. It does not
194 really work for float and hence will rather bring confusion.
196 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
198 * NumberFormatter.cs : limit the situation that needs roundtrip
199 verification in the previous change to Double.
201 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
203 * NumberFormatter.cs : applied a quick fix for bug #320433. It needs
204 true fix to avoid extra perf. loss.
206 2007-11-08 Sebastien Pouliot <sebastien@ximian.com>
208 * TimeZone.cs: Under 2.0 we must return a Local DateTime.MinValue.
209 Fix the regression on the x86_64 bot which seems to be in it's own
212 2007-11-07 Gert Driesen <drieseng@users.sourceforge.net>
214 * Exception.cs: Cosmetic change to default exception message on
217 2007-11-05 Gert Driesen <drieseng@users.sourceforge.net>
219 * Array.cs: Distinguish between notstarted and finished state when
220 throwing IOE in Current, and provide meaningful exception message.
222 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
224 * Array.cs: Fix Enumerator<T>.Reset (#322248).
226 2007-11-05 Rodrigo Kumpera <rkumpera@novell.com>
228 * Type.cs (MakeGenericType): fix for #331199. If an user-defined type
229 was used, the runtime would crash. Now we apply UnderlyingSystemType to
230 all types before handling to the runtime.
232 2007-11-05 Stephane Delcroix <sdelcroix@novell.com>
234 * TimeZone.cs: fix for #323911. The our after DST.Start is already DST.
236 2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
238 * DateTime.cs : fix for #330085. for Local time, convert to Utc
239 before getting ticks.
241 2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
243 * ArgumentException.cs: Change default message to match MS. Removed
244 unnecessary check from Message, since base.Message can never be null.
246 2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
248 * DateTime.cs : ParseExact() should ignore 'K' when there is no
251 2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
253 * DateTime.cs : in roundtrip mode, 'Z' should turn the tick value to
254 utc time and should not result in different ticks.
257 2007-10-30 Miguel de Icaza <miguel@novell.com>
259 * UInt32.cs (Parse): Use Jeff Stedfast's parsing code which is
260 smaller and does not need checked() constructs.
262 * Int64.cs, Int32.cs, Int16.cs: small tuneup: do not throw
263 exception, instead return the exception like every other place in
266 * Int16.cs, Int32.cs, Int64.cs: Use the Jeff Stedfast parsing code
267 which is smaller. We no longer use "checked" to check for
268 overflows, I refactored some stuff and cleaned up the rest and
271 2007-10-27 Zoltan Varga <vargaz@gmail.com>
273 * MonoType.cs: Applied patch from Mario A Chavez
274 <mario.chavez@gmail.com>. Add support for invoking members with the
275 ParamArray attribute. Fixes #336841.
277 2007-10-26 Zoltan Varga <vargaz@gmail.com>
279 * MonoType.cs (InvokeMember): Make sure one operation is passed in the binding
280 flags. Fixes #336936.
282 Fri Oct 26 19:43:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
284 * Environment.cs, String.cs: patch from Tyler Larson
285 <mono-devel@tlarson.com> to fix the handling of the RemoveEmptyEntries
286 option in string.Split (bug #322375).
288 2007-10-26 Dick Porter <dick@ximian.com>
290 * Environment.cs: Bump version because of Thread initialisation
293 2007-10-25 Lluis Sanchez Gual <lluis@novell.com>
295 * AppDomain.cs: In DefaultDomain, wrap the returned domain with
296 a proxy if the current domain is not the root domain.
298 2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
300 * Type.cs : implemented ReflectionOnlyGetType().
302 2007-10-19 Zoltan Varga <vargaz@gmail.com>
304 * AppDomain.cs: Add NET 3.5 DefineDynamicAssembly () overloads.
306 2007-10-13 Zoltan Varga <vargaz@gmail.com>
308 * Delegate.cs (CreateDelegate): Allow binding instance methods to
309 delegates with an extra argument, a NET 2.0 feature. Fixes #333647.
311 Fri Oct 12 08:11:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
313 * String.cs: reverted unapproved patch that breaks the build.
315 2007-10-11 Joel Reed <joelwreed@comcast.com>
317 * String.cs: fix String.Split(char[],int,StringSplitOptions)
318 with StringSplitOptions.RemoveEmptyEntries option. The correct
319 behavior is to remove empty entries while the string is being split,
320 and always return the maximum number of elements possible.
321 Patch from: Tyler Larson <mono-devel@tlarson.com>
323 2007-09-28 Jb Evain <jbevain@novell.com>
325 * Object.cs: Make ToString return Type.ToString ()
326 by default instead of Type.FullName to match .net
327 behavior. Fix #329419.
329 2007-09-28 William Holmes <billholmes54@gmail.com>
331 * DateTime.cs: Check for AssumeUniversal when parsing string.
334 2007-09-21 Gert Driesen <drieseng@users.sourceforge.net>
336 * Enum.cs: Use regular single quotes in exception message.
338 2007-09-14 Paolo Molaro <lupus@ximian.com>
340 * String.cs: implemented all the string ctors using CreateString
341 methods, so they can run completely in managed code.
343 2007-09-13 Marek Safar <marek.safar@gmail.com>
345 * DateTimeOffset.cs: Implemented few properties.
347 2007-09-13 Atsushi Enomoto <atsushi@ximian.com>
349 * Decimal.cs, Math.cs : implemented midpoint rounding.
351 2007-09-13 Atsushi Enomoto <atsushi@ximian.com>
353 * Activator.cs : implemented 2.0 CreateInstance()
354 and CreateInstanceFrom () overloads.
356 2007-09-12 Sebastien Pouliot <sebastien@ximian.com>
358 * Decimal.cs: More explicit text in exception (old and almost
359 forgetten patch on laptop ;-)
361 2007-09-10 Atsushi Enomoto <atsushi@ximian.com>
363 * OperatingSystem.cs : implemented ISerializable.
365 2007-08-28 Zoltan Varga <vargaz@gmail.com>
367 * DateTime.cs: Fix a warning.
369 2007-08-25 Robert Jordan <robertj@gmx.net>
371 * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
373 2007-08-25 Alan McGovern <amcgovern@novell.com>
375 * DateTime.cs: Reverted DateTime changes.
377 2007-08-25 Robert Jordan <robertj@gmx.net>
379 * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
381 2007-08-24 Zoltan Varga <vargaz@gmail.com>
383 * Array.cs: Fix min + max / 2 overflows in the BinarySearch and qsort methods.
386 2007-08-23 Marek Safar <marek.safar@gmail.com>
388 * DateTimeOffset.cs: New .NET 3.5 struct for 2.0 mscorlib.
390 2007-08-23 Eyal Alaluf <eyala@mainsoft.com>
392 * DateTime.cs: Numerous improvements to DateTime.Parse. It handles a lot
393 more possible formats and more correctly at that. It is also now easier
394 to manage the formats DateTime.Parse supports.
396 2007-08-17 Zoltan Varga <vargaz@gmail.com>
398 * Exception.cs: Make 1.0 and 2.0 object layout the same since this class is seen
399 by the runtime. Fixes #82459.
401 2007-08-16 Gert Driesen <drieseng@users.sourceforge.net>
403 * MonoCustomAttrs.cs: In IsDefined, throw ArgumentNullException if
404 attributeType is null to avoid a SIGSEGV (and match MS). Only partial
405 fix for bug #82431 on 1.0 profile; it fully fixes the problem for the
406 1.0 profile, but more changes (in the runtime) are required for the
407 2.0 profile. Added a FIXME explaining the problem.
409 2007-08-15 Gert Driesen <drieseng@users.sourceforge.net>
411 * MonoCustomAttrs.cs: In IsDefined, only walk inheritance chain if
412 both AttributeUsage.Inherited and inherit are true. Fixed bug #82431.
414 2007-08-13 Gert Driesen <drieseng@users.sourceforge.net>
416 * ArgumentException.cs: Ignore zero-length ParamName for Message.
417 Use ParamName property instead of field, since the property is marked
419 * Array.cs: Provide more meaningful exception message when destination
420 array is not long enough.
422 2007-08-11 Zoltan Varga <vargaz@gmail.com>
424 * Array.cs: Implement InternalArray__set_Item. Fixes #82345.
426 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
428 * IntPtr.cs : oops, do not ignore format in ToString(string).
430 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
432 * GC.cs, Exception.cs, IntPtr.cs, Enum.cs, DateTime.cs, Convert.cs
433 ConsoleKeyInfo.cs, String.cs, Object.cs, Attribute.cs,
434 Version.cs : couple of cosmetic 2.0 API fixes.
436 2007-08-06 Aaron Bockover <abockover@novell.com>
438 * Environment.cs (ReadXdgUserDir): Support the changes to the
439 xdg-user-dirs spec that allow $HOME to start the path; also allows
440 for quotes surrounding the path (Patch ported from Banshee,
443 2007-07-28 Miguel de Icaza <miguel@novell.com>
445 * MulticastDelegate.cs (Equals): do not cast to avoid exceptions,
446 instead use the "as" operator, as pointed out by Jesse Jones'
449 2007-07-21 Gert Driesen <drieseng@users.sourceforge.net>
451 * BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
452 of ArgumentOutOfRangeException and ArgumentException ctors that take
453 both parameter name and message. In ToString throws ArgumentException
454 instead of ArgumentOutOfRangeException when length is negative, and
455 return zero-length string when length is 0.
457 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
459 * AppDomainSetup.cs : fix serialization regression.
461 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
463 * AppDomainSetup.cs :
464 MonoTODO AppDomainInitializer as its implementation is wrong.
466 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
468 * AppDomainSetup.cs : added missing 2.0 members.
469 * AppDomain.cs : support AppDomainInitializer.
471 2007-06-06 Miguel de Icaza <miguel@novell.com>
473 * Int16.cs, UInt64.cs, SByte.cs, UInt16.cs, Byte.cs, Int32.cs,
474 Int64.cs, UInt32.cs: Fix for 81775.
476 I removed Parse from a Byte.cs and UInt16.cs as in various cases
477 they still depended on UInt32.cs for parsing, there is no reason
478 to keep all of this code duplicated (UInt64 is a different case
481 I was hoping for some feedback on whether my tests are correct,
482 but so far no takers.
484 2007-07-14 Zoltan Varga <vargaz@gmail.com>
486 * ModuleHandle.cs: Implement the generic versions of the ResolveXXXHandle () methods.
488 * ModuleHandle.cs: Add stubs for generic ResolveXXXHandle () methods.
490 2007-07-10 Alan McGovern <amcgovern@novell.com>
492 * Guid.cs: All whitespace should be trimmed from before and
493 after a string passed into the Guid constructor. Fixes #81958
495 2007-07-10 Zoltan Varga <vargaz@gmail.com>
497 * RuntimeTypeHandle.cs: Fix signatures of == and != operators.
499 * ModuleHandle.cs: Add missing 2.0 stuff.
501 2007-07-08 Zoltan Varga <vargaz@gmail.com>
503 * *.cs: Add missing ComVisible attributes.
505 * Delegate.cs: Add missing 2.0 CreateDelegate () methods.
507 2007-07-07 Gert Driesen <drieseng@users.sourceforge.net>
509 * DateTime.cs: In ParseExact, throw ArgumentNullException if format
510 is null; throw FormatException if formats array is empty or if one of
511 items is null or a zero-length string.
513 2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
515 * Double.cs (Parse): Fix for string ending in garbaga, it was just ignoring it
516 instead of throwing FormatException. Fixes #81777
518 2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
520 * Double.cs (Parse): Fix for whitespace only strings, it was returning zero
521 instead of throwing FormatException. Fixes #81630
523 2007-07-06 Alan McGovern <amcgovern@novell.com>
525 * DateTime.cs: If the format is null or empty, it should default to 'G'.
528 2007-07-06 Jonathan Chambers <joncham@gmail.com>
530 * __ComObject.cs: Support ExtensibleClassFactory.
533 2007-07-06 Aaron Bockover <abockover@novell.com>
535 * Environment.cs (InternalGetFolderPath): Try reading some
536 paths from ~/.config/user-dirs.dirs (XDG user dirs spec);
537 always return something for MyPictures
539 2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
541 * Type.cs : 2.0 TypeHandle and ContainsGenericParameters are virtual
542 (required fix for 2.0 reflection API fixes).
544 2007-06-22 Jonathan Chambers <joncham@gmail.com>
546 * __ComObject.cs: Move interface lookup to unmanaged.
548 2007-06-21 Zoltan Varga <vargaz@gmail.com>
550 * Environment.cs: Bump corlib version.
552 * Delegate.cs: Applied patch from Robert Jordan (robertj@gmx.net). Keep
553 the dynamic method referenced by a delegate alive.
555 2007-06-05 David Ferguson <davecferguson@gmail.com>
557 * DateTime.cs: Changed DateTime.Parse() to throw a FormatException
558 instead of an ArgumentOutOfRangeException for .NET 2.0. An
559 ArgumentOutOfRangeException is still thrown for .NET 1.1.
562 Mon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>
564 * String.cs: optimized CompareOrdinal ().
566 2007-06-02 Zoltan Varga <vargaz@gmail.com>
568 * MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.
570 * MonoCustomAttrs.cs (GetBase): Handle properties correctly. Fixes #81797.
572 2007-05-31 Zoltan Varga <vargaz@gmail.com>
574 * Delegate.cs: Add invoke_impl field. Reorder fields for better cache behavior. Add
575 SetMulticastDelegate icall.
577 * MulticastDelegate.cs (CombineImpl): Call SetMulticastDelegate () on newly created
580 * Environment.cs: Bump corlib version.
582 2007-05-25 Jonathan Chambers <joncham@gmail.com>
584 * __ComObject.cs: Add overload to GetInterface to allow
585 not throwing exceptions. Fixes as and is operators for COM objects.
587 2007-05-23 Atsushi Enomoto <atsushi@ximian.com>
589 * Array.cs : reverting Array.cs fixes since the runtime depends on
590 those method attributes.
592 2007-05-23 Atsushi Enomoto <atsushi@ximian.com>
594 * Int16.cs UInt64.cs UIntPtr.cs Double.cs CrossAppDomainDelegate.cs
595 ResolveEventHandler.cs IntPtr.cs UnhandledExceptionEventHandler.cs
596 Void.cs AssemblyLoadEventHandler.cs SByte.cs UInt16.cs DateTime.cs
597 Byte.cs TimeSpan.cs Decimal.cs Int32.cs Delegate.cs
598 AppDomainInitializer.cs MulticastDelegate.cs Int64.cs
599 EventHandler.cs Single.cs UInt32.cs AsyncCallback.cs :
600 cosmetic attribute fixes (ComVisible/Serializable).
602 2007-05-22 Atsushi Enomoto <atsushi@ximian.com>
604 * Convert.cs : completed 2.0 (ToBase64CharArray).
605 * String.cs : removed MonoTODO.
606 * DataMisalignedException.cs : removed extra .ctor().
607 * Array.cs : internalize extra members. Fixed reliability contract.
609 2007-05-17 Atsushi Enomoto <atsushi@ximian.com>
611 * DateTime.cs : added support for 'K'.
613 2007-05-11 Jonathan Chambers <joncham@gmail.com>
615 * __ComObject.cs: No need to call CoInitialize anymore since
616 Thread.ApartmentState was implemented.
618 2007-05-11 Jeffrey Stedfast <fejj@novell.com>
622 * TermInfoDriver.cs (WriteSpecialKey): Actually clear the screen
623 and reset the cursor position to 0,0 when the key is
625 (Clear): Reset the cursor position to 0,0
627 2007-05-09 Marek Safar <marek.safar@gmail.com>
629 * MulticastDelegate.cs: Fixed operators logic.
631 2007-05-09 Marek Habersack <mhabersack@novell.com>
633 * DateTime.cs: add a format used in ASP.NET QuickStarts
634 ("HH':'mm tt MM/dd/yyyy")
636 2007-04-30 Zoltan Varga <vargaz@gmail.com>
638 * Type.cs (Equals): Allow a null argument.
640 2007-04-27 Zoltan Varga <vargaz@gmail.com>
642 * Environment.cs (StackTrace): Avoid skipping a frame to be
645 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
647 * DateTimeTest.cs : looks like 'F' even removes preceding '.' ...
649 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
651 * DateTime.cs : implemented new-2.0 'F' pattern letter.
653 2007-04-24 Jeffrey Stedfast <fejj@novell.com>
655 Fixes the last of the bugs listed in bug #77525
657 * TermInfoDriver.cs (ctor): For known terminal types, set color16
658 to true (since we know they support 16 colours).
659 (Init): set the setlfgcolor and setlbgcolor format strings.
660 (BackgroundColor): Use the appropriate formatter string for
662 (ForegroundColor): Use the appropriate formatter string for
664 (TranslateColor): Now takes (and sets appropriately) an output
665 'bool light' argument.
667 2007-04-24 Marek Habersack <mhabersack@novell.com>
669 * TermInfoDriver.cs: don't include debug stuff by default - it
670 breaks multithreaded applications (they all attempt to open
671 console.log and fail because of sharing violation).
673 2007-04-23 Jeffrey Stedfast <fejj@novell.com>
675 * TermInfoDriver.cs (ReadKeyInternal): Since our input stream is
676 buffered, check if it has more buffered input in addition to our
677 timeout check. This makes it such that we will actually correctly
678 match multi-char escape sequences.
679 (Read): Changed the logic slightly wrt 'fresh' echoing. Once we
680 encounter a fresh char, all chars afterward should also be
681 considered 'fresh' even if 'fresh' is returned as false later.
682 (ReadLine): Same logic here.
684 2007-04-23 Jeffrey Stedfast <fejj@novell.com>
686 Fixes bug #80702 (via getting rid of the casting) and more.
688 The following change makes it such that even if an application
689 calls Console.SetOut() with its own output stream, we can still
690 properly echo user-input from stdin to the real stdout.
692 * TermInfoDriver.cs (ctor): Grab a reference to the original
693 Console.stdout so we can be sure we always echo to console.
694 (QueueEcho): No need to cast Console.stdout anymore.
696 (WriteConsole: Here too.
698 2007-04-20 Jeffrey Stedfast <fejj@novell.com>
700 * TermInfoDriver.cs (QueueEcho): Renamed from Echo(char). Use
701 CStreamWriter's new InternalWriteChars().
702 (Echo): Since we can no longer go thru CStreamWriter's ::Write()
703 method that does checks for special keys, do the checks here
704 instead - if it is a special key, flush the echo buffer and then
705 write the special key.
706 (EchoFlush): Also updated to use CStreamWriter's new
707 InternalWriteChars().
708 (Read): Use the Echo(key) variety.
710 (ReadLine): And here too.
712 * CStreamWriter.cs (InternalWriteChars): Write a char array
713 directly to stdout. Do not pass Go, do not collect $200.
715 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
717 Optimization for echoing keypresses back to the console when the
718 user pastes a block of text rather than manually typing text.
720 * TermInfoDriver.cs (Echo): A new convenience function for echoing
721 characters/keys back to the console with an optimization twist and
723 (EchoFlush): Flush our pending echo queue
724 (Read): Make use of Echo() both for convenience and for speed.
726 (ReadKey): Make use of Echo()/EchoFlush() for simplicity of code,
727 but we won't get the same optimization out of it.
729 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
733 * TermInfoDriver.cs: Changed 'buffer' to be a char array instead
734 of a byte array and stdin is now a StreamReader rather than a
736 (Init): Setup stdin as a StreamReader using Console.InputEncoding
738 (GetCursorPosition): Use stdin.Read() instead of the old
740 (AddToBuffer): Updated to allocate the correct array type for
742 (ReadKeyInternal): Updated to use stdin.Read() rather than
743 stdin.ReadByte(). This is the main reason we needed to use chars
744 instead of bytes. Characters entered by the user need to be
745 represented as unicode chars and not bytes like before.
746 (Match): Now takes a char[] buffer argument instad of byte[] and
747 compares the input buffer to the byte-map as chars.
749 2007-04-18 Jeffrey Stedfast <fejj@novell.com>
751 Fixes bug #81159: behave the same as mscorlib
753 * TermInfoDriver.cs (ReadKeyInternal): Now has an 'out bool fresh'
754 argument which is used to tell our caller if the key was freshly
755 read from the console or pre-buffered.
756 (Read): New implementation of Console.In.Read(char[], int, int)
757 that behaves exactly like mscorlib's implementation.
758 (ReadKey): Updated for the ReadKeyInternal() API change - only
759 echo if the key was fresh.
762 * CStreamReader.cs (Read): Call the new TermInfoDriver.Read()
764 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
766 * CStreamWriter.cs (Write): Optimized this some more, we don't
767 need a temporary buffer. Just blit chunks of the src buffer
770 * CStreamReader.cs (Read): Need to increment our array index so
771 that we don't store each byte read into the same
772 position. Discovered this while testing bug #81159 (which appears
773 to work as expected with current svn, other than this buglet).
775 * TermInfoDriver.cs (CursorTop::set): SetCursorPosition() sets our
776 internal cursorTop variable, so no need to explicitly set it again
777 after calling SetCursorPosition().
778 (CursorLeft::set): Same idea here.
780 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
782 * TermInfoDriver.cs (ReadLine): Implemented a workaround for
783 IronPython going behind System.Console's back when writing text to
784 the screen (it doesn't seem to use Console.stdout, instead it
785 creates its own file stream or something which just so happens to
786 write to the same file descriptor) by querying for the cursor
787 position in ReadLine(), so we lose no real performance (since we
788 have to wait for user input anyway).
790 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
792 * TermInfoDriver.cs (Init): SetEcho(false), we'll be manually
793 echoing from now on (ReadLine() has already been doing this, might
794 as well make ReadKey() behave the same).
795 (GetCursorPosition): No longer need to disable/re-enable echo
796 anymore since it is now always false.
797 (ReadKey): Manually echo the key back to the console just like
798 ReadLine() has been doing (in the interest of consistancy) if
800 (ReadLine): No longer need to disable/re-enable echo, echo is
801 always off now. Also, fixed what appears to have been a typo.
803 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
805 * TermInfoDriver.cs (IsSpecialKey): Oops, Enter should not be
806 treated as a special key. Just update out cursor state here like
807 we do with normal chars.
808 (WriteSpecialKey): Enter is a no-op now because it is not treated
809 as a special key anymore.
811 * CStreamWriter.cs (Write): Only flush our buffer if j > 0
813 2007-04-17 Jeffrey Stedfast <fejj@gnome.org>
815 Turns out my last patch was broken wrt handling some special keys
816 like Backspace and anything else that changed the cursor position
817 in some non-standard way.
819 * CStreamWriter.cs (Write): Instead of calling NotifyWrite(), we
820 instead need to check IsSpecialKey(), and, if so, flush whatever
821 we have saved in our temporary buffer and then call
822 WriteSpecialKey(). Otherwise go on as we did in the last patch.
824 * TermInfoDriver.cs (NotifyWrite): Broken up into 2 functions:
825 (IsSpecialKey): Returns true if we need to do some special voodoo
827 (WriteSpecialKey): Write the special key (using whatever voodoo
830 2007-04-16 Jeffrey Stedfast <fejj@gnome.org>
832 * CStreamWriter.cs (Write): Instead of writing 1 char at a time,
833 copy the bytes into a temporary char array (with a fixed max size)
834 so that we can minimize the number of Write() calls we make on the
835 underlying stream (and thus on the write() system call).
837 2007-04-17 Alp Toker <alp@atoker.com>
839 * Array.cs: Make GetRank() icall private. Subclasses should use the
840 public Rank property.
842 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
844 * WindowsConsoleDriver.cs: Get rid of unused Echo property.
846 * NullConsoleDriver.cs: Get rid of Echo property.
848 * IConsoleDriver.cs: Get rid of Echo property.
850 * ConsoleDriver.cs (Echo::get/set): Removed, not needed.
852 * TermInfoDriver.cs (Echo::get/set): Removed, this isn't necessary
854 (ReadKey): If we are intercepting the key, call SetEcho (false)
855 and then reset back to true after reading the key.
856 (ReadLine): Same idea here.
857 (GetCursorPosition): We no longer need to keep track of the
858 previous echo state, we no longer have it :)
860 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
862 Fix for bug #80710 (and a bug I introduced in my last fix due to
863 this code assuming the underlying term echo state was always
864 false) and other buglets that I noticed.
866 * TermInfoDriver.cs (ReadLine): Set (term) Echo to false as we do
867 our own manual echoing which prevents ^H from getting displayed on
868 the screen when the user hits backspace.
869 (ReadLine): If the user hits Backspace and builder.Length is 0, DO
870 NOT echo the backspace back to the console, ever.
871 (ReadLine): Only echo characters back to the console if echo is
872 set to true. Seems the Echo ConsoleDriver property is a Mono
873 extension, and I'm assuming this is the intended behavior? I can't
874 see what else the Echo property would be useful for...
876 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
880 * TermInfoDriver.cs: Renamed the noEcho variable to echo, makes
881 the logic cleaner/simpler/etc. Plus it was never actually used
882 other than in the property methods which are called Echo.
883 (Init): Call ConsoleDriver.SetEcho() with the 'echo' value -
884 allows for a slight optimization if called from within the
886 (GetCursorPosition): Instead of calling the Echo property methods,
887 call ConsoleDriver.SetEcho() directly to toggle echo off (if echo
888 isn't already off, and then back on once we're finished getting
889 the position - assuming the echo state is on, of course) - this
890 avoids calling back into Init() which just felt dirty.
891 (Echo::set): If the Echo state differs from our current state,
892 call ConsoleDriver.SetEcho() with the new state (this is the
893 important piece of the fix for bug #81050).
894 (ReadKey): Simplified the echo logic to make it a bit clearer.
897 2007-04-16 Marek Safar <marek.safar@gmail.com>
899 * Char.cs (IsLetter): Faster version.
901 2007-04-15 Alp Toker <alp@atoker.com>
903 * Decimal.cs: Provide 2.0 Round() overloads using System.Math.
905 2007-04-15 Alp Toker <alp@atoker.com>
907 * Activator.cs: CreateInstance(Type,object[]) was not params before
910 2007-04-15 Alp Toker <alp@atoker.com>
912 * NonSerializedAttribute.cs: Inherited=false in 2.0.
914 2007-04-05 Dick Porter <dick@ximian.com>
916 * Environment.cs: Increment mono_corlib_version
918 2007-04-03 Alp Toker <alp@atoker.com>
920 * Array.cs: CreateInstance(Type,int[]) is params.
921 * AppDomain.cs: ExecuteAssemblyByName(string,Evidence,string[]) is
924 2007-04-03 Alp Toker <alp@atoker.com>
927 * Math.cs: Should be static classes in 2.0.
929 2007-04-03 Alp Toker <alp@atoker.com>
931 * Delegate.cs: DynamicInvoke(object[]) is params in 2.0.
933 2007-04-03 Alp Toker <alp@atoker.com>
935 * Delegate.cs: Combine(Delegate[]) is params in 2.0.
937 2007-03-27 Dick Porter <dick@ximian.com>
939 * Environment.cs: Increment mono_corlib_version;
941 2007-03-16 Miguel de Icaza <miguel@novell.com>
943 * BitConverter.cs: Revert the patch from 72237 as that introduces
944 a regression and we are not sure yet what we will be doing about
947 Introduce a new InternalInt64BitsToDouble method that provides the
948 fixed functionality, mark it as internal.
950 Introduce a new SwappableToDouble method that includes the
951 swapping ToDouble routine as introduced by Zoltan on 72237, this
952 is used by InternalInt64BitsToDouble.
954 * Math.cs (IEEERemainder): Use the InternalInt64BitsToDouble
955 routine here to preserve the semantics from Zoltan.
957 The problem with BitConverter.cs is that it is completely hossed.
958 In .NET 1.1 it is a bitwise copy, no attempt is ever done to do
959 endian-specific swapping. In .NET 2.0 it is *almost* like that,
960 but it is subtly broken: if data is unaligned then endian
961 conversions happen. If the data is properly aligned it behaves
964 In general BitConverter is a sad class that offers little control,
965 we will be introducing a new mono bit converter and encourage
966 users to use that instead of the entirely broken
969 2007-03-11 Gert Driesen <drieseng@users.sourceforge.net>
971 * Delegate.cs: Fixed bootstrap build.
973 2007-03-08 Gert Driesen <drieseng@users.sourceforge.net>
975 * StringComparer.cs: Renamed StringComparer classes and promoted them
976 to top-level classes. Merged Ordinal and OrdinalIgnoreCase comparers.
977 Fixes binary serialization compatibility with MS.
979 2007-03-06 Zoltan Varga <vargaz@gmail.com>
981 * Type.cs (Equals): Remove a useless check.
983 * Type.cs: Rename Type:Equals(Type) to EqualsInternal, and add support for checking
984 UnderlyingSystemType. Fixes #81037.
986 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
988 * TermInfoDriver.cs: adjust buffer indexes after *every* read. Fixes
989 bug #80329. Robert Jordan attached a similar patch to the bug report
990 but I didn't see it until after my commit...
992 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
994 * Enum.cs: The above patch makes the formatting for specifiers 'x'
995 and 'X' behave like MS.NET, including the correct length for each
996 possible underlying type, and correctly using capital letters for
999 Patch also includes some more test cases in EnumTests.cs.
1001 2007-02-25 Gert Driesen <drieseng@users.sourceforge.net>
1003 * AppDomainSetup.cs: If configuration file is not an absolute path,
1004 then throw a MemberAccessException if ApplicationBase is not set,
1005 or otherwise consider it as a path relative to ApplicationBase.
1006 Fixes bug #80934. Patch provided by Jamie Cansdale.
1007 * AppDomain.cs: In CreateDomain, construct AppDomain with
1008 ApplicationBase of default domain if not explicitly set in specified
1009 AppDomainSetup. If config file is not set, then use filename of the
1010 default domain config file. Base on patch provided by Jamie Cansdale.
1012 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
1014 * Random.cs: Fix exception messages ("then" -> "than"). Spotted by
1015 Mark A. Nicolosi (#80873).
1017 2007-02-12 Miguel de Icaza <miguel@novell.com>
1019 * CStreamWriter.cs (Write with char []): take the lock once for
1020 all characters and call manually the InternalWriteChar properly to
1023 (Write with string parameter): same thing, if the driver is not
1024 initialized use a fast path.
1026 If the driver has not been initialized, use a fast path instead.
1028 Mon Feb 12 21:54:57 CET 2007 Paolo Molaro <lupus@ximian.com>
1030 * MonoType.cs: patch from Cedric Vivier <cedricv@neonux.com> to
1031 get correctly non-public fields from generic types.
1033 2007-02-08 Jonathan Chambers <joncham@gmail.com>
1035 * __ComObject.cs: Add IUnknown field to object. Cleanup icalls.
1037 2007-02-03 Zoltan Varga <vargaz@gmail.com>
1039 * BitConverter.cs (ToDouble): Fix this on big-endian machines.
1041 2007-01-30 Atsushi Enomoto <atsushi@ximian.com>
1043 * TimeZone.cs: According to the docs, we should not throw when
1044 converting to Localtime if we are a negative value. Instead we
1045 return DateTime.MinValue.
1047 2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
1049 * DateTime.cs : copy Kind in those members that return DateTime.
1052 2007-01-20 Miguel de Icaza <miguel@novell.com>
1054 * Array.cs (InternalArray__ICollection_Contains,
1055 InternalArray__IndexOf): Cope with null values in the array (See
1058 2007-01-19 Marek Habersack <grendello@gmail.com>
1060 * AppDomain.cs: Make sure that domain
1061 SetupInformation.ConfigurationFile is never null. MS.NET by
1062 default copies the default domain's ConfigurationFile value
1063 there. Fixes bug #80547.
1065 2007-01-14 Jensen Somers <jensen.somers@gmail.com>
1067 * ArraySegment.cs: Added Equals() method, operator == and !=
1068 overloading and GetHashCode().
1070 2007-01-10 Andy Hume <andyhume32@yahoo.co.uk>
1072 * Fixes to a number of exception classes.
1074 A project of mine uses #ctor(String,Exception) on
1075 ObjectDisposedException, so I looked at adding that, and any
1076 other similar constructors missing as per the class status report.
1078 I also spotted inconsistent setting of HResult, and fixed
1079 those too. For instance, ArgumentNullException sets HResult
1080 only in three out of the four constuctors; not setting it in
1081 the v2 (String,Exception) one -- and correctly not in the
1082 Serialization constructor.
1085 So, I fixed the remaining missing (String,Exception)
1086 constructors in corlib (2 of), and fixed the Hresult setting
1087 in all exceptions there (4 of).
1089 The remaining Exception constructor omission listed was
1090 InvalidCastException.ctor(System.String, System.Int32). MSDN says:
1091 "This constructor supplies an HRESULT value that is
1092 accessible to inheritors of the InvalidCastException class,
1093 via the protected HResult property of the Exception class."
1094 I added that method too, setting the HResult property from
1097 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
1099 * String.cs, StringComparer.cs : avoid extra string creation in
1100 StringComparer.OrdinalIgnoreCase.
1102 2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
1104 * DateTime.cs: Under 2.0 fix ParseExact to set DateTimeKind.Utc when
1105 DateTimeStyles.AdjustToUniversal is used.
1107 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1109 * TermInfoDriver.cs: honor the backspace in ReadLine.
1111 2006-12-30 Marek Safar <marek.safar@gmail.com>
1113 * String.cs: Character based method only.
1114 (IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
1115 (Substring): Returns same instance when index is 0.
1117 2006-12-30 Alp Toker <alp@atoker.com>
1120 * Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
1123 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
1125 * DateTime.cs: Implement missing [To|From]Binary methods for 2.0.
1126 * OperatingSystem.cs: Implement missing ServicePack and VersionString
1128 * Version.cs: Add missing Major|MinorRevision properties for 2.0.
1130 2006-12-14 Raja R Harinath <rharinath@novell.com>
1132 * Type.cs (MakeGenericType): Can only be called on a generic type
1135 2006-12-03 Miguel de Icaza <miguel@novell.com>
1137 * DateTime.cs: Fix this on the 2.0 profile, return the
1138 DateTimeKind for the Now property
1140 2006-12-01 Duncan Mak <duncan@a-chinaman.com>
1142 * ArgumentOutOfRangeException.cs (.ctor):
1143 * NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
1144 that takes a string and an inner Exception.
1146 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
1149 When comparing enumerations, two or more enumeration values might
1150 match. Thus basically we should do complete matching, but right
1151 now just do reverse order search since only numbered abbrev month
1152 names matter (and full iteration is a mess). Fixed bug #80094.
1154 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
1157 use new internal clone-less DateTimeFormatInfo members.
1159 2006-11-29 Martin Baulig <martin@ximian.com>
1161 * INullableValue.cs: Removed.
1163 2006-11-28 Duncan Mak <duncan@novell.com>
1165 * ArgumentNullException.cs (.ctor): Added new constructor that's
1168 * InsufficientMemoryException.cs: Added missing 2.0 exception.
1170 2006-11-27 Jonathan Chambers <joncham@gmail.com>
1172 * __ComObject.cs: Removed IDispatchMono.
1174 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1176 * TermInfoDriver.cs:
1177 * Console.cs: lazy initialization of Console 2.0 (also when
1178 CancelKeyPress is used).
1180 2006-11-27 Miguel de Icaza <miguel@novell.com>
1182 * Exception.cs (GetType): New method in 2.x, Another Moma catch.
1184 Mon Nov 27 19:34:16 CET 2006 Paolo Molaro <lupus@ximian.com>
1186 * GC.cs: implemented the needed methods with icalls.
1188 2006-11-26 Miguel de Icaza <miguel@novell.com>
1190 * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.
1192 Go Moma! http://www.mono-project.com/Moma
1194 * Decimal.cs: Refactor code to implement TryParse.
1196 Also, avoid initializing messages on every call to stripStyles
1198 2006-11-22 Miguel de Icaza <miguel@novell.com>
1200 * DateTime.cs: A small performance hit, we store the actual time
1201 span in a boxed object. This way, it can be updated from other
1202 threads if necessary. We always unbox to get the value before
1203 any potential updates.
1205 Thanks to Gonzalo for catching this.
1207 2006-11-21 Miguel de Icaza <miguel@novell.com>
1209 * TimeZone.cs (CurrentSystemTimeZone): Cache the current year
1210 daylight savings time in static variables.
1212 (CurrentSystemTimeZone.OnDeserialization): Initialize
1213 this_year_dlt and this_year on this method.
1215 (TimeZone): init statically the currentTimeZone instead of
1216 delaying that to the static property, avoiding a compare.
1218 2006-11-22 Lluis Sanchez Gual <lluis@novell.com>
1220 * Array.cs: (compare<T>) if a comparer is provided, it has
1221 priority over other comparison methods.
1223 2006-11-14 Miguel de Icaza <miguel@novell.com>
1225 * Array.cs: TODOs will from now on be used to flag information
1226 that will be developer-visible, not to flag internal information
1227 that none of us reads or bothers about.
1229 For those, use "FIXME" strings in the source code instead.
1231 * AppDomain.cs: Update to be more useful.
1233 2006-11-13 Atsushi Enomoto <atsushi@ximian.com>
1235 * String.cs : fixed incorrect startIndex/length count in
1236 IndexOf(string,StringComparison).
1238 2006-11-07 Marek Safar <marek.safar@gmail.com>
1240 * String.cs (LastIndexOf): If value is Empty, the return value is
1241 the start index position in value.
1243 2006-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1245 * TermInfoDriver.cs: prevent an invalid cast.
1247 2006-10-26 Marek Safar <marek.safar@seznam.cz>
1249 * String.cs (Concat): Add fast-path for empty strings.
1251 2006-10-20 Jonathan Chambers <joncham@gmail.com>
1253 * Variant.cs: Add support for bool and interfaces.
1255 2006-10-18 Kornél Pál <kornelpal@gmail.com>
1257 * Type.cs: Removed is_subtype_of because IsSubclassOf should be used
1258 that is public and virtual. IsClass: Checking for ValueType is
1259 unnecessary. IsEnum: UnderlyingSystemType is not used anymore so
1260 no EnumBuilder hack is necessary. Checking for Enum is
1261 unnecessary. IsSerializable: Walk BaseType for user defined types.
1262 IsSubclassOf: Walk BaseType for user defined types.
1264 * MonoType.cs: IsValueTypeImpl is unnecessary. IsSubclassOf: Unlike
1265 Type system types throw ArgumentNullException on null Type
1268 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
1270 * BadImageFormatException.cs: Changed message for default ctor to
1271 match MS. Use internal message field of Exception to check whether
1272 Message is null. Match MS default messages when no message is
1273 set. Fixed ToString to match MS.
1275 2006-10-09 Miguel de Icaza <miguel@novell.com>
1277 * Environment.cs: Handle SpecialFolder.MyMusic
1279 2006-10-07 Gert Driesen <drieseng@users.sourceforge.net>
1281 * Enum.cs: Use different exception message depending on whether the
1282 type of the passed in value is an Enum or not. Avoid looking up the
1283 enum's underlying type twice in case of "D" or "d" format specifier.
1285 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1287 * TermInfoDriver.cs: don't allow backspace if we're at the beginning
1288 position for a ReadLine.
1290 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1292 * TermInfoDriver.cs: ironpython autocompletion works now.
1294 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1296 * Console.cs: avoid casting on windows.
1298 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1301 * TermInfoDriver.cs:
1302 * IConsoleDriver.cs:
1304 * ConsoleKeyInfo.cs:
1305 * NullConsoleDriver.cs:
1308 * WindowsConsoleDriver.cs: initial changes to handle cursor position
1311 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
1313 * ArithmeticException.cs: Modified default message to match MS, to
1314 ensure a local regression test passes on both Mono and .NET.
1316 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
1318 * Exception.cs: Marked message internal to allow derived classes to
1319 access the raw message (without changing the public API).
1321 2006-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1324 * TermInfoDriver.cs:
1325 * IConsoleDriver.cs:
1327 * WindowsConsoleDriver.cs: don't switch to the alternate window.
1328 Trigger the cancel event. Retrieve the cursor position at the
1329 beginning, as we're going to keep track of it instead of querying it
1332 2006-09-14 Jonathan Chambers <joncham@gmail.com>
1334 * Environment.cs (ProcessorCount): Implement as icall.
1335 Patch by Jason McFall.
1337 2006-09-05 Raja R Harinath <rharinath@novell.com>
1339 * DateTime.cs (Today) [NET_2_0]: Set kind to Local.
1341 2006-09-02 Zoltan Varga <vargaz@gmail.com>
1343 * Enum.cs (Equals): Use the generic Equals implementation from ValueType which
1344 is faster and avoids allocations.
1346 2006-09-01 Martin Baulig <martin@ximian.com>
1348 * Array.cs (Array.InternalArray): Removed the helper class;
1349 instead we use private generic methods in System.Array which are
1350 inserted into the vtable at runtime.
1352 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1354 * ConsoleCancelEventArgs.cs: fix my build.
1356 2006-08-22 Miguel de Icaza <miguel@novell.com>
1358 * MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0
1360 * Converter.cs: update signature to final.
1362 * ModuleHandle.cs: Removed the [Obsolete] flags as they removed
1363 those in the final 2.0
1365 * DateTime.cs: Fixed the signature.
1367 * Convert.cs: Removed API calls that were deprecated in final 2.0
1369 * Enum.cs: Updated to use the obsoletes flagged in 2.0.
1371 * ConsoleCancelEventArgs.cs: Updated to 2.0
1373 2006-08-19 Miguel de Icaza <miguel@novell.com>
1375 * Attribute.cs: This needs to do a deep compare, not a shallow
1376 one. Ran into this bug with the VBNC compiler that compares two
1377 separate attributes for equality using this.
1379 * String.cs (StartsWith): Fix the overloaded constructor that
1380 takes a CultureInfo, if that is null, it means to use the current
1383 * TermInfoDriver.cs: Do not throw exceptions on the driver for
1384 SetWindowSize and SetWindowPosition, they can be treated as nops.
1386 2006-08-18 Zoltan Varga <vargaz@gmail.com>
1388 * *.cs: Use String.Empty instead of "" in a lot of places.
1390 2006-08-17 Sebastien Pouliot <sebastien@ximian.com>
1392 * DateTime.cs: Remove last patch to DateTime as the fix wasn't correct
1393 and made most x.509 unit tests fails. However the original problem is
1396 2006-08-14 Raja R Harinath <rharinath@novell.com>
1399 * Activator.cs (CreateInstance): Throw ArgumentException on open
1402 2006-08-14 Miguel de Icaza <miguel@novell.com>
1404 * MonoType.cs: Do the argument testinf for SetField later,
1405 otherwise the implicit (and not documented, but already considered
1406 side effect of checking SetProperty) did not work.
1410 2006-08-13 Atsushi Enomoto <atsushi@ximian.com>
1412 * String.cs : Normalize() and IsNormalized() implementation.
1414 2006-08-10 Jonathan Chambers <joncham@gmail.com>
1416 * __ComObject.cs: Added defintion of IDispatch interface, and
1417 property. Get CLSID of supertype for creation if class not
1418 ComImport attributed (allows for inheritance of RCW).
1419 * MonoType.cs: Implement IsCOMObjectImpl.
1421 2006-08-09 Atsushi Enomoto <atsushi@ximian.com>
1423 * DateTime.cs : fixed X509Certificate() case that regressed only
1426 2006-08-07 Kornél Pál <kornelpal@gmail.com>
1428 * Console.cs: Use correct code pages on Windows and initialize
1429 InputEncoding and OutputEncoding to the actual encodings used.
1431 2006-08-05 Duncan Mak <duncan@novell.com>
1433 * Char.cs (TryParse): Implemented missing 2.0 method, which fixed
1436 2006-07-28 Jonathan Chambers <joncham@gmail.com>
1438 * __ComObject.cs: Added support for marshalling objects.
1440 2006-07-24 Atsushi Enomoto <atsushi@ximian.com>
1442 * Char.cs : implemented utf32 conversion methods thus fixed bug #78856.
1444 2006-07-19 John Luke <john.luke@gmail.com>
1446 * TermInfoDriver.cs: switch order of alt and control when
1447 calling new ConsoleKeyInfo()
1449 2006-07-19 Kornél Pál <kornelpal@gmail.com>
1451 * String.cs: Improve CreateString () performance when length is zero.
1453 2006-07-18 Kornél Pál <kornelpal@gmail.com>
1455 * String.cs: Added CreateString () methods. Constructors with matching
1456 argument list are redirected to these methods that improves
1457 performance as well as fixes bug #78703.
1459 2006-07-15 Jonathan Chambers <joncham@gmail.com>
1461 * __ComObject.cs: Begin implementing COM Interop.
1462 * Environment.cs: Increment corlib version.
1464 2006-07-12 Zoltan Varga <vargaz@gmail.com>
1466 * Delegate.cs (DynamicInvokeImpl): Add support for bound delegates in Net 2.0.
1468 2006-07-11 Zoltan Varga <vargaz@gmail.com>
1470 * Double.cs (Parse): Fix handling of inner whitespace.
1472 2006-07-09 Zoltan Varga <vargaz@gmail.com>
1474 * Int32.cs: Fix a warning.
1476 2006-07-07 Atsushi Enomoto <atsushi@ximian.com>
1478 * TimeZone.cs : consider DateTimeKind in ToLocalTime() and
1479 ToUniversalTime(). Fixed bug #78784. Patch by Thong Nguyen.
1480 * DateTime.cs : DateTimeKind for UtcNow should be Utc.
1482 2006-06-28 Kornél Pál <kornelpal@gmail.com>
1484 * Char.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.
1486 2006-06-27 Atsushi Enomoto <atsushi@ximian.com>
1488 * Double.cs : don't throw Exception in TryParse() for 'E'.
1491 2006-06-20 Jb Evain <jbevain@gmail.com>
1493 * Math.cs: implement Math.Truncate.
1495 2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
1498 Another lame win32 dependent pattern. Fixed bug #78618.
1500 2006-06-09 Jonathan Chambers <jonathan.chambers@ansys.com>
1502 * Environment.cs: Implement Set/GetEnvironmentVariable for User/Machine.
1504 2006-06-07 Kornél Pál <kornelpal@gmail.com>
1506 * Environment.cs: Use Consts.FxFileVersion for Environment.Version
1507 as Consts.RuntimeVersion was removed.
1509 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
1511 * Variant.cs: Added.
1512 * Environment.cs: Incremented corlib version since adding Variant.
1514 2006-06-01 Raja R Harinath <rharinath@novell.com>
1516 * Nullable.cs (operator==, operator!=): Remove.
1518 2006-05-31 Zoltan Varga <vargaz@gmail.com>
1520 * MonoDummy.cs: Removed as it is no longer needed.
1522 * Environment.cs: Bump corlib version.
1524 * Environment.cs: Revert the last change.
1526 * Environment.cs: Bump corlib version.
1528 * MonoAsyncCall.cs: New file.
1530 2006-05-30 Gert Driesen <drieseng@users.sourceforge.net>
1532 * Char.cs: Removed duplicate (explicit) interface implementation.
1533 * String.cs: Removed duplicate (explicit) interface implemenation.
1534 * MulticastDelegate.cs: Fixed API mismatches.
1536 2006-05-29 Paolo Molaro <lupus@ximian.com>
1538 * String.cs: make sure that the chars truncated by a stringbuilder
1541 2006-05-29 Martin Baulig <martin@ximian.com>
1544 (Exception.StackTrace): Use the new stack trace format which is
1545 very similar to the one of MS.NET - method name goes first,
1546 file / line number last and in the method name, we separate class
1547 and method name by `.'.
1550 (Environment.StackTrace): Enable line-number information.
1552 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
1555 Implement 2.0 TryParseExact(). Patch by Seo Sanghyeon.
1557 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
1559 * Array.cs : added internal sort method used
1560 in System.Collections.Generics.List<T>.Sort(Comparison<T>).
1562 2006-05-15 Zoltan Varga <vargaz@gmail.com>
1564 * Environment.cs: Bump corlib version.
1566 2006-05-10 Zoltan Varga <vargaz@gmail.com>
1568 * MonoType.cs (GetMethodImpl): Fix a warning.
1570 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
1572 * ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
1573 Patch by Kazuki Oikawa. Fixed bug #77277.
1575 2006-05-07 Zoltan Varga <vargaz@gmail.com>
1577 * Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
1579 2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
1581 * Nullable.cs : updated Nullable<T> API to 2.0 RTM.
1583 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
1585 * Double.cs : (Parse) handle currency symbol when
1586 AllowCurrencySymbol is passed as part of the style. Patch by
1587 nede@aliquant.com, modified to eliminate redundant Substring().
1588 This fixes bug #77721.
1590 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
1592 * MonoType.cs : (GetMethod) when zero-length type[] is explicitly
1593 passed, don't return methods with some arguments. Fixed bug #77367.
1595 2006-04-21 Gert Driesen <drieseng@users.souceforge.net>
1597 * Enum.cs: Provide meaningful message when type of passed in value
1598 does not match enum type.
1600 2006-04-19 Raja R Harinath <rharinath@novell.com>
1602 * Char.cs (Equals): Don't access 'm_value' field of other
1603 instances. Cast directly to 'char'.
1605 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
1607 * DateTime.cs : implement SpecifyKind(). Patch by Thong Nguyen.
1609 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
1611 * NumberFormatter.cs : general performance improvements. Avoid
1612 extraneous evaluation for simple formatting. Details are seen in
1613 bug #77792. Patch by Kazuki Oikawa.
1615 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
1617 * DateTime.cs : implement IsDaylightSavingTime().
1618 Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>.
1620 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
1623 added some more [ReliabilityContract].
1624 removed some [CLSCompliant].
1625 renamed generic method parameter names.
1627 2006-03-31 Zoltan Varga <vargaz@gmail.com>
1629 * Environment.cs (SetEnvironmentVariable): Implement.
1631 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
1633 * Array.cs : oops, the last change caused regression. The array must
1634 be transparent to ReadOnlyCollection, not create another list.
1636 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
1638 * Array.cs : AsReadOnly<T>() in RTM returns ReadOnlyCollection<T>.
1639 Thus removed ReadOnlyArray<T> and ReadOnlyArrayEnumerator<T>.
1640 In 2.0 some members became non-virtual.
1642 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
1644 * String.cs : oops, NET_2_0.
1646 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
1648 * String.cs : added new IndexOf() and LastIndexOf() overloads, and
1649 IEnumerable<char>.GetEnumerator().
1651 2006-03-21 Kornél Pál <kornelpal@gmail.com>
1653 * String.cs: Make memcpy4 private as it is a helper method.
1654 Make memcpy internal to can be used from UnicodeEncoding.
1656 2006-03-19 Marek Safar <marek.safar@seznam.cz>
1658 * Nullable.cs (Compare, Equals): Added constrain as gmcs now correctly
1659 reports an error here.
1661 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
1663 * Double.cs : (Parse) reject String.Empty.
1665 Wed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>
1667 * LocalDataStoreSlot.cs: implement as index in an array.
1668 Implemented finalizer and allow it to remove the data stored
1671 2006-03-15 Zoltan Varga <vargaz@gmail.com>
1673 * Environment.cs: Bump corlib version.
1675 2006-03-10 Zoltan Varga <vargaz@gmail.com>
1677 * MonoCustomAttrs.cs (IsDefined): Avoid a runtime assert if a type
1678 overwrites GetCustomAttributes () but not IsDefined ().
1680 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
1682 * Environment.cs: Bumped corlib version to 48 (due to r57532)
1684 2006-03-07 Martin Baulig <martin@ximian.com>
1686 * String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
1687 from the `provider' if possible.
1689 2006-02-26 Gert Driesen <drieseng@users.souceforge.net>
1691 * DecimalFormatter.cs: Removed obsolete class, as it has been replaced
1693 * DoubleFormatter.cs: Same.
1694 * SingleFormatter.cs: Same.
1696 2006-02-21 Marek Safar <marek.safar@seznam.cz>
1698 * String.cs (Equals): Optimized for speed.
1700 2006-02-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1702 * TermInfoDriver.cs: patch by Mike Hull that fixes bug #77518.
1704 Mon Feb 20 11:19:54 CET 2006 Paolo Molaro <lupus@ximian.com>
1706 * MonoType.cs: patch from Joachim Ante <joe@otee.dk> to
1707 improve error messages.
1709 2006-02-15 Martin Baulig <martin@ximian.com>
1711 * Type.cs (Type.IsGenericInstance): Removed.
1713 2006-02-14 Ankit Jain <jankit@novell.com>
1714 Raja R Harinath <rharinath@novell.com>
1716 * ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
1719 2006-02-11 Zoltan Varga <vargaz@gmail.com>
1721 * TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
1724 * TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
1725 size using an icall.
1726 (GetCursorPosition): Convert the row and column to 0 based indexing.
1727 Also fix reading of large values.
1728 (CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.
1730 * ConsoleDriver.cs (GetTtySize): New icall.
1732 2006-02-10 Zoltan Varga <vargaz@gmail.com>
1734 * Array.cs: Fix some methods which previously returned Nullable<T>.
1736 * Nullable.cs: Add T: struct constraint and fix constructor.
1738 Fri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
1740 * String.cs: changed StartsWith/EndsWith to faster versions.
1742 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1744 * String.cs: implement 2.0 StartsWith and EndsWith new overloads. Based
1745 on a patch by Thong Nguyen.
1747 2006-01-31 Zoltan Varga <vargaz@gmail.com>
1749 * String.cs: Implement one of the new net 2.0 Split methods.
1751 2006-01-31 Atsushi Enomoto <atsushi@ximian.com>
1753 * String.cs : (LastIndexOf) Fixed bug #77412. It should not expect
1754 that value length is bigger than its index.
1756 2006-01-27 Zoltan Varga <vargaz@gmail.com>
1758 * DateTime.cs: Add some 2.0 methods and properties.
1760 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1762 * Console.cs: if InternalCodePage returns -1, use the default encoding.
1763 Also match the UTF8 one properly. Patch by wall_john@sohu.com.
1765 2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
1767 * ModuleHandle.cs : GetPEKind() is not public in 2.0 RTM.
1769 2006-01-16 Alp Toker <alp@atoker.com>
1771 * TimeSpan.cs: Simple implementation of NET 2.0 TryParse() using
1774 2006-01-05 Raja R Harinath <rharinath@novell.com>
1776 Fix regressions introduced by the fix to #71300.
1777 * Activator.cs (CreateInstance): Use Binder.SelectMethod instead
1778 of home-grown FindBestCtor.
1779 (FindBestCtor): Delete.
1781 2006-01-03 Zoltan Varga <vargaz@gmail.com>
1783 * Nullable.cs: Update to Net 2.0 RTM.
1785 * Nullable.cs: Add comments about runtime dependencies on the layout of
1788 2006-01-02 Sebastien Pouliot <sebastien@ximian.com>
1790 * Activator.cs: Now find the best ctor when null are used for
1791 paramaters. Fix bug #71300. Added checks for specific types (void,
1792 TypedReference, ArgIterator and RuntimeArgumentHandle).
1793 * Console.cs: Re-use Environment logic to detect Windows.
1794 * Type.cs: Re-applied r45150 as the real bug was in Activator.
1796 2006-01-02 Zoltan Varga <vargaz@gmail.com>
1798 * Activator.cs: Add a 'params' to one of the CreateInstance overloads.
1800 * RuntimeTypeHandle.cs RuntimeMethodHandle.cs RuntimeFieldHandle.cs:
1801 Add == and != operators.
1803 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
1805 * Environment.cs: Bump corlib version to 46.
1806 * TimeZone.cs: Partial fix for #76094. Added [Serializable] attribute
1807 and renamed internal CurrentTimeZone class to CurrentSystemTimeZone
1808 (like MS). This allows serialization roundtrip to work in Mono but
1809 there's still an issue when deserializing a stream from MS.
1811 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
1813 * NumberFormatter.cs: Fixed rounding for float and the string output
1814 now includes all the precision (not counting preceding zeros). This
1815 fix the DecimalTest.TestConstructSingleRounding_NotWorking test cases.
1817 2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
1819 * Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
1821 2005-12-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1823 * Array.cs: Added the Sort<T> methods (generics).
1825 2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
1827 * Array.cs: Fixed BinarySearch when the array is empty (#77030). Added
1828 some null check which throws ArgumentNullException under 2.0.
1830 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
1832 * DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
1833 * Double.cs: Under 2.0 throw a ArgumentException when parsing with
1834 NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
1835 second, simpler, TryParse method (2.0).
1836 * Single.cs: Added the TryParse methods for 2.0.
1838 2005-12-15 Raja R Harinath <rharinath@novell.com>
1840 * Type.cs (IsGenericType): Make virtual.
1842 2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
1844 * AppDomainSetup.cs: ApplicationBase throw exception on get (not on
1845 set). New behaviour is more like MS - but most issues (unit tests)
1846 were really path issues. Fix bug #71291.
1847 * DateTime.cs: Add more information when throwing an exception in
1848 ctor(long). Useful for debugging.
1850 2005-12-07 Zoltan Varga <vargaz@gmail.com>
1852 * Single.cs Double.cs: Fix warnings.
1854 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
1856 * Convert.cs: ToBase64String method didn't use the option parameter so
1857 we always included new lines. Fix bug #76876.
1859 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
1861 * AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC
1862 (the docs were fixed).
1863 * NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was
1864 misrounded compared to MS implementation. Extra care is required when
1865 dealing with the extra 2 digits information (e.g. double precision is
1866 15 digits but 17 are kept - for a reason ;-)
1868 2005-12-05 Ben Maurer <bmaurer@ximian.com>
1870 * Environment.cs: Bump version
1872 * Nullable.cs: New Box and Unbox methods for the jit
1874 2004-12-05 Peter Dennis Bartok <pbartok@novell.com>
1876 * Enum.cs: Properly handle "No bits set" case even if the sorted numbers
1877 list does not have enum value 0 as the first item. Fixes #76921
1879 2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
1881 * AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
1883 Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
1885 * Double.cs: remove unused icall.
1886 * BitConverter.cs: handle double binary format on ARM FPA.
1888 2005-12-02 Alp Toker <alp@atoker.com>
1891 * Type.cs: DeclaringMethod should return MethodBase, not MethodInfo
1893 2005-12-02 Alp Toker <alp@atoker.com>
1895 * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
1896 ReflectionOnlyAssemblyResolve in 2.0 final
1898 2005-12-01 Alp Toker <alp@atoker.com>
1900 * String.cs: Add static and non-static Equals(... StringComparison) for
1903 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1905 * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
1907 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1909 * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
1910 have to add 1 to x and y when setting the cursor position.
1913 * Convert.cs: remove unused variables.
1915 Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
1917 * NumberFormatter.cs: work around arch-specific ulong cast behaviour
1920 Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
1922 * Convert.cs: fix endianess issue when converting to base-8
1923 format. All the base code would need a rewrite for efficience.
1925 2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
1927 * String.cs: Added support for Compare(... StringComparison) in 2.0.
1929 2005-11-25 Alp Toker <alp@atoker.com>
1931 * Type.cs (IsVisible): New 2.0 property, implemented recursively.
1933 2005-11-17 Dick Porter <dick@ximian.com>
1935 * Environment.cs: Incremented corlib version
1937 2005-11-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1939 * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
1940 UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
1941 methods to return the exception as an out parameter,
1942 instead of throwing it. This will be of special help
1943 to TryParse methods.
1944 * Environment.cs: Update corlib version to 42.
1946 2005-11-14 Raja R Harinath <rharinath@novell.com>
1948 * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
1950 2005-11-11 Zoltan Varga <vargaz@gmail.com>
1952 * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
1954 2005-11-11 Lluis Sanchez Gual <lluis@novell.com>
1956 * TimeZone.cs: Removed incorrect double-check lock and unneeded
1959 2005-11-11 Marek Safar <marek.safar@seznam.cz>
1961 * Type.cs: IsNested implemented, signature fixes.
1963 2005-11-11 Raja R Harinath <rharinath@novell.com>
1965 * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
1967 2005-11-10 Zoltan Varga <vargaz@gmail.com>
1969 * Array.cs (Resize<T>): New internal method which takes a 'length' argument
1970 as well to avoid copying the whole array.
1972 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
1974 * Int64.cs : ditto for long.
1976 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
1978 * Int32.cs : Parse("2147483648", format_provider) should be rejected.
1980 2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
1982 * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable]
1984 * Base64FormattingOptions.cs: Added missing [Flags] attribute.
1985 * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were
1986 already replaced by Backspace and Whitespace)
1987 * DateTime.cs: Moved DayOfWeek enum to it's own file.
1988 * DateTimeKind.cs: New (2.0) enum.
1989 * DayOfWeek.cs: New file (extracted from DateTime.cs).
1990 * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
1991 * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed
1992 values (-1 to all of them).
1993 * Exception.cs: Added a LinkDemand for SerializationFormatter on
1994 GetObjectData method.
1995 * LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable]
1996 on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
1998 * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0
2000 * StringComparison.cs: New (2.0) enum (needed for Uri).
2001 * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
2002 * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0
2005 2005-11-08 Atsushi Enomoto <atsushi@ximian.com>
2007 * Type.cs : I forgot to mention, some '(' were missing in the
2010 2005-11-08 Zoltan Varga <vargaz@freemail.hu>
2012 * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
2013 IsSerializable property, since the latter returns true for delegates/enums.
2015 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
2017 * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
2018 makes maintenance easier.
2020 2005-10-24 Martin Baulig <martin@ximian.com>
2022 * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
2024 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2026 * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
2028 2005-10-20 Raja R Harinath <rharinath@novell.com>
2030 * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
2032 2005-10-16 Michal Moskal <malekith@nemerle.org>
2034 * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
2036 2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
2038 * DateTime.cs : another crappy Windows dependent format.
2040 2005-10-14 Ben Maurer <bmaurer@ximian.com>
2042 * DateTime.cs: Speed up when parsing date time objects by not
2043 duplicating cultureinfo arrays.
2045 2005-10-13 Zoltan Varga <vargaz@gmail.com>
2047 * Type.cs (GetTypeCode): Applied patch from
2048 Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
2051 2005-10-07 Zoltan Varga <vargaz@gmail.com>
2053 * Delegate.cs: Add support for delegate covariance and contravariance
2056 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
2058 * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
2060 2005-09-26 Zoltan Varga <vargaz@gmail.com>
2062 * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
2065 2005-09-23 Miguel de Icaza <miguel@novell.com>
2067 * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
2069 2005-09-19 Zoltan Varga <vargaz@gmail.com>
2071 * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
2072 attributeType parameter.
2073 (IsDefined): New icall.
2075 * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
2076 object when only a specific attribute type is requested. Fixes #76062.
2078 * Environment.cs: Bump corlib version.
2080 2005-09-09 Zoltan Varga <vargaz@gmail.com>
2082 * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
2084 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
2086 * DateTime.cs : (_DoParse) don't check ticks range before computing
2087 the actual value. Fixed bug #76082.
2089 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
2091 * TimeZone.cs : When the target DateTime is in the range of
2092 DST end to DST + delta, don't adjust UtcOffset gap between that of
2093 DST and that of STD. This should fix bug #75985.
2095 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
2097 * TimeZone.cs, DateTime.cs :
2098 - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
2099 - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
2100 - use ToLocalTime() and don't depend on the own offset computation.
2101 Parse() with 'Z' pattern is closer to correct value on switching
2102 Daylight Saving Time. See bug #75985.
2104 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
2106 * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
2107 handled as expected and it kept time value as local one.
2108 Patch by Brion Vibber. Fixed bug #75995.
2110 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
2112 * DateTime.cs : Literal escape (\) was not checking format as
2113 expected. Fixed bug #75213.
2115 2005-09-05 Miguel de Icaza <miguel@novell.com>
2117 * MonoType.cs: Patch from Jonathan Chambers to implement
2120 2005-09-05 Martin Baulig <martin@ximian.com>
2122 Reflect latest API changes in the August CTP.
2124 * Type.cs (Type.HasGenericArguments): Removed.
2125 (Type.BindGenericParameters): Renamed to MakeGenericType().
2127 2005-09-01 Atsushi Enomoto <atsushi@ximian.com>
2129 * DateTime.cs : another idiotic COM dependent format.
2131 2005-09-01 Kornél Pál <kornelpal@hotmail.com>
2133 * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
2134 Added some comments about the class.
2136 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
2138 * AppDomain.cs: Use the more concise property syntax for declarative
2140 * AppDomainManager.cs: Default HostSecurityManager is null.
2142 2005-08-25 Atsushi Enomoto <atsushi@ximian.com>
2144 * NumberFormatter.cs : eliminate non-ASCII character.
2146 2005-08-25 Marek Safar <marek.safar@seznam.cz>
2148 * Enum.cs: Better exception message.
2150 2005-08-21 Gert Driesen <drieseng@users.sourceforge.net>
2152 * Convert.cs: In FromBase64String, return empty byte array for zero
2153 length string. Pass bool to InternalFromBase64String to control
2154 whether to allow a whitespace-only string.
2155 * Environment.cs: Bump corlib version.
2157 2005-08-20 Zoltan Varga <vargaz@freemail.hu>
2159 * Environment.cs: Bump corlib version.
2161 2005-08-19 Zoltan Varga <vargaz@freemail.hu>
2163 * Math.cs: Implement a new 2.0 Round method.
2165 2005-08-19 Gert Driesen <drieseng@users.sourceforge.net>
2167 * Convert.cs: Throw OverflowException if result is larger than
2168 ushort.MaxValue to match MS.NET. Remove commented code.
2170 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
2172 * Convert.cs: For now, do not throw OverflowException if hex prefixed
2173 value is negative for signed types (other than int64). Need to look
2176 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
2178 * Convert.cs: Numerous fixed in overloads taking base to match
2179 behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
2180 empty. If base is 16, 8 or 2, then throw ArgumentException if first
2181 character is a negative sign. Throw OverflowException if hex prefixed
2182 value is negative for signed types (other than int64) to match MS.NET.
2184 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
2186 * DateTime.cs : added another COM dependent pattern (rather to describe
2187 how it works on .NET than to add the pattern itself...).
2189 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
2191 * DateTime.cs : added case for bug #53023.
2193 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
2195 * Type.cs: Add IsGenericType property from NET 2.0.
2197 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
2199 * String.cs : added new StartsWith()/EndsWith() override, fixing
2200 existing EndsWith() which incorrectly assumed that both string
2201 lengths must be equivalent (they are not always equal).
2202 * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
2204 2005-08-09 Zoltan Varga <vargaz@freemail.hu>
2206 * String.cs: Implement Split(String[]) methods.
2208 2005-08-09 Miguel de Icaza <miguel@novell.com>
2210 * AppDomainSetup.cs: Full-pathization of the appBase should only
2211 be done on Windows, the ":" condition never applied to Linux.
2213 * ConsoleKey.cs: Include a few aliases for a few values that were
2214 introduced recently.
2216 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2218 * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
2221 2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
2223 * String.cs : (StartsWith) compared string lengths are not always the
2224 same in culture-sensitive comparison.
2226 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
2228 * Array.cs: Changed protected ctor to private. Fixes API compatibility
2230 * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
2231 be exposed in 2.0 profile.
2232 * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
2233 be exposed in 2.0 profile.
2234 * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
2235 be exposed in 2.0 profile.
2236 * Type.cs: Added GetType method and implemented _Type interface.
2237 Fixes API compatibility with MS.NET.
2239 2005-07-28 Marek Safar <marek.safar@seznam.cz>
2241 * StringComparer.cs: Add generics version of string interfaces.
2243 2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
2245 * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
2247 2005-07-26 Zoltan Varga <vargaz@freemail.hu>
2249 * StringSplitOptions.cs MidpointRounding.cs: New files.
2251 * String.cs Math.cs: Add stubs for some new 2.0 APIs.
2253 2005-07-26 Marek Safar <marek.safar@seznam.cz>
2255 * StringComparer.cs: New file.
2257 2005-07-26 Raja R Harinath <harinath@gmail.com>
2259 * Enum.cs (GetValue): Make private. Return an ulong.
2260 (Parse): Tighten scope of couple of variables. Use ulong when
2263 2005-07-25 Raja R Harinath <rharinath@novell.com>
2265 * Enum.cs (FindName, GetValue): New. Carved out of ...
2266 (Parse): ... this. Refactor and simplify code. Avoid incurring
2267 exceptions when parsing names. Avoid allocating arrays unless
2268 necessary. Avoid conversion of an enumeration constant to its own
2269 type. (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
2271 2005-07-13 Lluis Sanchez Gual <lluis@novell.com>
2273 * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
2276 2005-07-13 Miguel de Icaza <miguel@novell.com>
2278 * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
2279 signature for GetValue and SetValue to make the long [] argument
2280 be a params argument.
2282 2005-07-11 Pedro MartÃnez Juliá <pedromj@gmail.com>
2284 * Convert.cs: Fix the bug when Convert.ChangeType was using
2285 NumberFormatInfo instead of DateTimeFormatInfo when the type to
2286 change is a DateTime.
2288 2005-07-11 Martin Baulig <martin@ximian.com>
2290 * Array.cs: Use Type.Equals() instead of `==' to compare type
2293 2005-07-10 Kamil Skalski <nazgul@nemerle.org>
2295 * Type.cs: Mark BindGenericParameters as deprecated. Use
2296 MakeGenericType as default implementation with updated signature.
2298 2005-07-09 Zoltan Varga <vargaz@freemail.hu>
2300 * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
2303 2005-07-05 Lluis Sanchez Gual <lluis@novell.com>
2305 * DelegateSerializationHolder.cs: When the deserialized target is
2306 a proxy, call IsInstanceOfType to force the proxy to load the
2307 real type of the remote object. This is needed to make sure that
2308 subsequent calls to GetType() return the expected type. This fixes
2311 2005-07-03 Ben Maurer <bmaurer@ximian.com>
2313 * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
2316 2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
2318 * Guid.cs: Avoid code duplication between overriden methods (new in
2319 2.0). Avoid exception processing when possible. Renamed parameters to
2320 match the framework. Added ComVisible to NET_2_0.
2322 2005-06-28 Elliott Draper <el@eldiablo.co.uk>
2324 * Activator.cs: This implements the generic Activator.CreateInstance<T>()
2325 function for NET_2_0. It's full signature is:
2326 public static T CreateInstance<T>();
2328 2005-06-28 Lluis Sanchez Gual <lluis@novell.com>
2330 * Decimal.cs: Renamed internal fields for the sake of serialization
2331 interoperability with MS.NET.
2332 * Exception.cs: In the StackTrace property, return the stack trace
2333 if it has a value, even if the exception has not been thrown
2334 (it may have been deserialized).
2336 2005-06-28 Martin Baulig <martin@ximian.com>
2338 * Array.cs (Array.InternalArray<T>): New nested class; derives
2339 from Array. This is now used by the runtime for arrays; fixes #74953.
2341 2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
2343 * String.cs : added some extra whitespace characters for Trim().
2346 2005-06-13 Michal Moskal <malekith@nemerle.org>
2348 * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
2349 since it now throws on MethodBuilders. Don't use FieldHandle in
2350 GetField (throws on FieldBuilder) - just use the name.
2352 2005-06-13 Martin Baulig <martin@ximian.com>
2355 (MonoType.getFullName): Added `bool assembly_qualified' argument.
2356 (MonoType.AssemblyQualifiedName): The interncall now adds the
2357 assembly name, so we don't need to do it here.
2358 (MonoType.FullName): Use the new getFullName() API.
2360 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
2362 * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in
2363 NET_2_0. Added "new" white char and ComVisible for 2.0.
2365 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2367 * Convert.cs: FromBase64String and FromBase64CharArray are now internal
2368 calls to avoid extra allocations.
2370 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
2372 * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
2374 * Type.cs MonoType.cs: Add internal virtual
2375 Get{Method,Constructor,Field} for obtaining instanciated *Info objects
2376 from non-instanciated counterparts
2378 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
2380 * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
2382 2005-06-08 Zoltan Varga <vargaz@freemail.hu>
2384 * Type.cs: Add missing 2.0 attributes.
2386 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
2388 * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
2389 also internal method GetCustomAttributesData, used by
2390 System.Reflection.CustomAttributeData.
2392 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
2394 * Activator.cs: Added _Activator interface (and members) for 1.1 and
2395 missing attributes (for both 1.1 and 2.0).
2396 * String.cs: Made internal To[Lower|Upper]Invariant methods public for
2397 2.0. Reworked Trim() to skip a useless call. Added missing attribute
2399 * Type.cs: Added _Type, _MemberInfo interfaces (1.1/2.0). Added
2400 missing attribute for 2.0. Hided some public/protected methods.
2402 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
2404 * ModuleHandle.cs: Update after PortableExecutableKinds name change.
2406 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
2408 * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
2409 * AppDomain.cs: Added new members from _AppDomain interface.
2410 * AppDomainManager.cs: Fixed flags and added attributes.
2411 * DomainManagerInitializationFlags.cs: The flag has been renamed to
2412 AppDomainManagerInitializationOptions in beta2.
2414 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
2416 * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
2418 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
2420 * Exception.cs: Implements _Exception only for 2.0.
2422 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
2426 * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs
2427 String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs
2428 RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
2430 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2433 * AppDomain.cs: if the assembly is loaded from a byte array, Location
2434 returns "". Fixes bug #74958.
2436 2005-06-04 Ben Maurer <bmaurer@ximian.com>
2438 * *.cs: More 2.0 API fixups
2440 * *.cs: In beta 2, generics are no longer non-cls-compliant.
2442 2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
2444 * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
2445 that was different from MSFT.
2446 * String.cs: Fixed IndexOfAny thrown an exception
2447 when startIndex of arguments equals Length. (Closes bug #75083.)
2449 * Decimal.cs: Changed to use NumberFormatter in ToString.
2450 * NumberFormatter.cs: Implemented decimal formatter.
2452 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2454 * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
2455 support in System.Net work again.
2457 2005-06-01 Ben Maurer <bmaurer@ximian.com>
2459 * CharEnumerator.cs: add IEnumerable <char> support
2461 2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
2463 * Activator.cs: Added missing validation on parameters.
2465 2005-05-28 Ben Maurer <bmaurer@ximian.com>
2467 * Type.cs: Check that the arguments of the `types' array are
2468 non-null. Fixes bug 71300
2470 2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
2472 * AppDomainSetup.cs: Added new 2,0 constructors and the
2473 ActivationArguments property.
2474 * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
2475 new location for the ApplicationActivator class.
2476 * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
2478 2005-05-27 Vladimir Vukicevic <vladimir@pobox.com>
2480 * Environment.cs: bump corlib version for bug #75060.
2482 2005-05-27 Raja R Harinath <rharinath@novell.com>
2484 * Environment.cs (ExpandEnvironmentVariables): Rewrite
2485 sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
2486 * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
2487 sb.Append (s, a, s.Length - a). Avoid allocating 'pad' string --
2488 StringBuilder has an appropriate Append overload.
2490 2005-05-26 Zoltan Varga <vargaz@freemail.hu>
2492 * Type.cs (IsEnum): Special case EnumBuilder here.
2494 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
2496 * MonoType.cs: Changed call from GetName to UnprotectedGetName to
2497 allow call to work with serialization under a restrictive policy.
2498 The code path (the protected information) isn't being used.
2500 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
2502 * Exception.cs: Use the new StackTrace ctor.
2504 * Type.cs: Improve support for user defined type subclasses.
2506 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
2508 * DateTime.cs : Added minimum digit parameter to ParseNumber() to
2509 reject 2 digit years for "yyyy".
2510 Use GetAllDateTimePatterns() instead of constant string.
2513 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
2515 * DateTime.cs : next_not_digit prevented some valid parse.
2516 Just remove it, since now we pass max length to ParseNumber() and
2517 thus it is not needed anymore. Fixed bug 63137.
2519 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
2521 * DateTime.cs : HH should not always block tt. Fixed bug #60912.
2522 Reset num after whitespace parsing.
2523 Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
2525 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
2527 * DateTime.cs : Allow ',' where whitespaces are allowed.
2530 2005-05-22 Ben Maurer <bmaurer@ximian.com>
2532 * BitConverter.cs: Speed this up, fixing 74014. Patch from
2533 `Aleksandar Dezelin'.
2535 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
2537 * Type.cs: Add some helper methods needed by other classes.
2539 * Array.cs: Improve support for user defined Type subclasses.
2541 * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
2542 wrapper function, not used yet.
2544 * Type.cs Array.cs: Revert this as it breaks the build.
2546 * Type.cs Array.cs: Improve support for user defined Type subclasses.
2548 2005-05-19 Ben Maurer <bmaurer@ximian.com>
2550 * Delegate.cs (Equals): Use `as' to protect in the case where !
2553 2005-05-19 Raja R Harinath <rharinath@novell.com>
2555 * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
2558 2005-05-19 Miguel de Icaza <miguel@novell.com>
2560 * TermInfoDriver.cs: Removed warning.
2562 * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
2563 FindLastIndex<T>: Parameter names are normative.
2564 Fix coding style ("Method<T>" not "Method <T>")
2565 Throw argument exceptions per argument.
2567 (FindAll): Fix bug, actually return the values that were computed,
2568 not a short version of the original array.
2570 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2572 * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
2573 for each framework version.
2575 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2578 * Exception.cs: .Net 1.1 already has these interfaces
2580 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
2582 * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
2583 object on GetCustomAttributes (fixes bug #74717).
2585 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
2587 * DateTime.cs : for 'z' next_not_digit didn't work as expected.
2590 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
2592 * DateTime.cs : don't allow extraneous pattern characters also for
2593 non-exact parsing (ParseExact() was fine). Bug #74936 fixed
2595 2005-05-13 Gert Driesen <drieseng@users.sourceforge.net>
2597 * Activator.cs: Match exceptions thrown by MS.NET for
2598 CreateInstance overloads if type is abstract. Fixes bug #74861.
2600 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2602 * OperatingSystem.cs: PlatformID.Unix.
2604 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
2606 * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
2607 Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
2609 2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
2611 * NumberFormatter.cs : roundtrip number is already rounded before
2612 FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
2615 2005-05-07 Ben Maurer <bmaurer@ximian.com>
2617 * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
2618 the comparer in the same order as msft. Fixes #70725
2620 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2622 * Enum.cs: the hashtable don't need to be synchronized any more, since
2623 it's only accessed from withint a lock.
2625 * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
2628 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
2630 * Array.cs: Remove CLSCompliant (false) attributes.
2632 2005-05-06 Martin Baulig <martin@ximian.com>
2634 * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
2635 [CLSCompliant(true)] attribute.
2637 2005-05-04 Miguel de Icaza <miguel@novell.com>
2639 * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
2640 initialize cache as a static method. Fixes #74828.
2642 2005-05-03 Marek Safar <marek.safar@seznam.cz>
2644 * Console.cs: CancelKeyPress is stubbed.
2646 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
2648 * ActivationContext.cs: Updated for beta2.
2649 * AppDomainManager.cs: Updated for beta2.
2650 * ApplicationId.cs: Updated for beta2.
2651 * ApplicationIdentity.cs: Updated for beta2.
2652 * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception
2653 doesn't leak the code base from the returned AssemblyName.
2655 2005-04-25 Martin Baulig <martin@ximian.com>
2657 * Environment.cs (Environment.Version): Changed to 2.0.50215.
2659 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
2661 * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the
2662 number of "missing" in the class status pages.
2664 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2666 * MulticastDelegate.cs: (GetInvocationList) when building the list that
2667 is later traversed forward, mark 'this' as the end of the chain.
2670 2005-04-19 Zoltan Varga <vargaz@freemail.hu>
2672 * Environment.cs: Bump corlib version.
2674 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2676 * WindowsConsoleDriver.cs: ignore key release events.
2678 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
2680 * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
2682 2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
2684 * _AppDomain.cs: Add security checks to the interface. Declarative
2685 security on events requires BOOTSTRAP_WITH_OLDLIB to work properly
2687 * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
2688 blocking some cases from working properly. Declarative security on
2689 events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
2691 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
2693 * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
2694 on the AppDomain. Added an internal property to get the granted set.
2696 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
2699 Char.cs : use TextInfo for ToLower() and ToUpper().
2701 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
2703 * Exception.cs: Added Assert for TypeInformation to GetObjectData and
2704 ToString methods (not required for 2.0 as TypeInformation will be
2705 deprecated). Added null check for GetObjectData.
2707 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
2709 * Delegate.cs: allow IronPython 0.7 to compile.
2711 2005-03-24 Miguel de Icaza <miguel@novell.com>
2713 * Delegate.cs: Add CreateDelegate with a target option, currently
2714 internal as it is not exposed by the framework yet.
2716 2005-03-24 Zoltan Varga <vargaz@freemail.hu>
2718 * String.cs: Add some 2.0 methods.
2720 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
2722 * Activator.cs: Now use the supplied evidences when loading
2723 assemblies. Added LinkDemand for RemotingConfiguration on both
2725 * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
2726 Input|Output] as they use a handle on a FileStream (which is
2727 restricted otherwise). Added Demand for UnmanagedCode for the
2728 Set[Error|In|Out] methods.
2729 * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on
2730 CreateObjRef, GetLifetimeService and InitializeLifetimeService.
2731 * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on
2732 GetFunctionPointer method.
2733 * TypedReference.cs: Added LinkDemand for ReflectionPermission's
2734 MemberAccess on MakeTypedReference.
2736 2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
2738 * Environment.cs: Fix CAS unit tests for NET_1_1.
2739 * Exception.cs: Fix CAS unit tests for NET_1_1.
2741 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2743 * Version.cs: don't ignore the last number. Fixes bug #73539.
2745 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
2747 * MonoType.cs: When the security manager is active, constructors and
2748 methods will return null if a linkdemand fails during reflection
2751 2005-03-11 Zoltan Varga <vargaz@freemail.hu>
2753 * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
2755 2005-03-10 Zoltan Varga <vargaz@freemail.hu>
2757 * Environment.cs: Bump corlib version.
2759 2005-03-10 Martin Baulig <martin@ximian.com>
2761 * Nullable.cs (Nullable<T>.ToString): Return an empty string if
2764 2005-03-09 Zoltan Varga <vargaz@freemail.hu>
2766 * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
2767 (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
2770 2005-03-04 Zoltan Varga <vargaz@freemail.hu>
2772 * Environment.cs: Bump corlib version.
2774 * Exception.cs (StackTrace): Return the wrapper info as well.
2776 2005-03-02 Kazuki Oikawa <kazuki@panicode.com>
2778 * NumberFormatter.cs: Some internal classes was converted to structs,
2779 and improved some points.
2781 2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
2783 * NumberFormatter.cs: Improved performance and memory usage
2784 when integer standard format.
2795 * TimeSpan.cs: Improved these directly call to NumberFormatter.
2797 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2799 * TermInfoDriver.cs: set the xmit mode if available. Handle key input
2800 and translate them into a ConsoleKeyInfo.
2801 * TermInfoReader.cs: added a method to return the bytes of a string
2803 * ConsoleKeyInfo.cs: added copy constructor and setters.
2805 2005-02-24 Zoltan Varga <vargaz@freemail.hu>
2807 * Array.cs: Add missing 2.0 attributes and correct some parameter names.
2809 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
2811 * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
2812 and added some to support the reflection only methods. DoAssemblyResolve
2813 was modified to invoke the new PreBindAssemblyResolve event when the
2814 assembly is reflection only.
2816 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
2818 * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
2819 Add net 2.0 ReliabilityContractAttributes.
2821 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2823 * TermInfoDriver.cs: cygwin terminals are handled by the windows
2826 * TermInfoReader.cs:
2827 * TermInfoNumbers.cs:
2828 * KnownTerminals.cs:
2829 * TermInfoBooleans.cs:
2830 * TermInfoStrings.cs: documented.
2832 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
2834 * Array.cs: Reverse the order in the Equals calls.
2836 2005-02-18 Zoltan Varga <vargaz@freemail.hu>
2838 * Exception.cs (StackTrace): Implement this in managed code since it is
2839 needed by CAS. Fixes #72146.
2841 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2843 * WindowsConsoleDriver.cs: implemented MoveBufferArea.
2845 2005-02-14 Raja R Harinath <rharinath@novell.com>
2847 * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
2850 2005-02-12 Ben Maurer <bmaurer@ximian.com>
2852 * Version.cs (CompareTo, Equals): Make sure the versions for
2853 generics handle `null'. The non-generics versions now just call
2854 the regular versions, to reduce code duplication.
2856 * Boolean.cs (CompareTo): make this really work for generics
2858 * Type.cs (GetProperty): Passing new Type [0] is different than
2859 null. null means `I don't care how many types this has,' while new
2860 Type [0] means `this must have 0 types.'
2862 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2864 * corlib.dll.sources: added WindowsConsoleDriver.cs
2866 * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
2867 implemented the few missing properties/methods.
2869 * System/IConsoleDriver.cs: uncommented all methods/properties.
2870 * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
2871 * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
2872 windows. Only missing MoveBufferArea by now.
2874 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
2876 * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
2878 * Int32.cs AppDomain.cs: Fix warnings.
2880 2005-02-10 Marek Safar <marek.safar@seznam.cz>
2882 * IServiceProvider.cs: Is not ComVisible.
2884 * NonSerializedAttribute.cs: Fix AttributeUsage flags.
2886 * Type.cs: Fix ClassInterface attribute.
2888 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
2890 * Delegate.cs: remove the finalizer from Delegate: this
2891 is handled internally by the runtime now.
2893 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2895 * Activator.cs: provide the Type name when throwing an exception.
2897 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2899 * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
2902 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
2904 * Array.cs: provide specialized versions of some methods.
2906 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
2908 * String.cs: provide a managed memcpy and memset method
2909 for use both in corlib and from the JIT. Implement
2910 some methods with the managed helpers and remove some icalls.
2912 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
2914 * Exception.cs: Added Data property for NET_2_0 (required for new
2917 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2920 * TermInfoDriver.cs:
2921 * IConsoleDriver.cs:
2922 * Console.cs: added BufferWidth and BufferHeight.
2924 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2928 * TermInfoDriver.cs:
2929 * IConsoleDriver.cs: added a few more properties and fixed cursor
2932 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2934 * ConsoleDriver.cs: static class that forwards the Console 2.0 class
2935 calls to the proper driver.
2936 * TermInfoDriver.cs: terminfo based console driver.
2937 * IConsoleDriver.cs: interface implemented by console drivers.
2939 * ConsoleCancelEventArgs.cs:
2940 * ConsoleCancelEventHandler.cs:
2942 * ConsoleModifiers.cs:
2943 * ConsoleSpecialKey.cs:
2945 * ConsoleKey.cs: new enumerations.
2947 * ConsoleKeyInfo.cs: New file.
2949 * TermInfoReader.cs: reader for terminfo capabilities files.
2951 * TermInfoNumbers.cs:
2952 * TermInfoBooleans.cs:
2953 * TermInfoStrings.cs: enumations for terminfo property names.
2955 * KnownTerminals.cs: byte arrays for selected terminals.
2957 * Console.cs: added more 2.0 methods and implemented some of them.
2960 2005-01-30 Atsushi Enomoto <atsushi@ximian.com>
2962 * Int32.cs : (FindSign) IndexOf() is better than creating substring.
2964 2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
2966 * BadImageFormatException.cs: Protect the fusion (GAC) log from being
2967 disclosed unless code has ControlPolicy and ControlEvidence.
2969 2005-01-27 Zoltan Varga <vargaz@freemail.hu>
2971 * Exception.cs: Compute stack trace on demand.
2973 2005-01-26 Sebastien Pouliot <sebastien@ximian.com>
2975 * Environment.cs: Removed hack for static class (NET_2_0). Added
2976 proper security for FailFast (documented in FDBK20543). Added new
2977 method IsRunningOnWindows to replace (Platform == 128) as the logic is
2978 gonna change in the future (Unix is id #4 in NET_2_0).
2980 2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
2982 * Environment.cs: Added CAS security (both declarative and imperative)
2983 as a test. This shouldn't affect execution unless --security is
2986 2005-01-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2987 * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
2988 and Type.FilterName delegates They weren't dealing with the optional '*'
2989 at the end of the filter mask
2991 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
2993 * Array.cs: Fix a typo in the previous patch.
2995 * Array.cs: Fix some test failures in the generic methods.
2997 * Array.cs: Implement AsReadOnly.
2999 2005-01-13 Geoff Norton <gnorton@customerdna.com>
3001 * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE). Fixes
3004 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
3006 * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
3007 have been removed from 2.0.
3009 2005-01-11 Zoltan Varga <vargaz@freemail.hu>
3011 * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
3014 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
3016 * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
3017 Add default culture (neutral) to the name when none is specified.
3018 * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we
3021 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
3023 * DateTime.cs: Reverted last patch for utc as it broke all certificate
3024 handling and another unit test in DateTime.
3026 2005-01-09 Miguel de Icaza <miguel@ximian.com>
3028 * DateTime.cs: Return immediately if useutc is set to true, there
3029 is no need to do the extra computation (which also happened to
3030 create a new DateTime using the `use_localtime' constructor, which
3031 lead to the erroneous date returns when using 'u' or `U'
3034 Fixes another bug in the regression test suite.
3036 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
3038 * AppDomain.cs: Fix the DefaultDomain property to return the root
3039 domain (as it seems that the root's Id isn't always 0).
3040 * BitConverter.cs: The "special support" for ToString(new byte[0]) is
3041 only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
3043 2005-01-08 Miguel de Icaza <miguel@ximian.com>
3045 * IntegerFormatter.cs: The - sign inside the "negative" section in
3046 a multi-format string means `show the sign' only if it is the
3047 first token, not `copy verbatim'. In the other sections it means
3050 This makes things like: (-34).ToString ("#;-#") show up as "-34"
3053 The bad news is that this code needs to be rewritten to handle all
3054 the formatting cases, see bug #71112 for details.
3056 * Convert.cs (Convert.ToType): Throw an InvalidCastException if
3057 the conversion is invalid, not ArgumentException, this fixes
3058 another regression in our test suite.
3060 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
3062 * AppDomain.cs: Add ApplicationIdentity property for 2.0;
3063 * AppDomainManager.cs: Remove HostRefusedSet support (it does not
3066 2005-01-08 Zoltan Varga <vargaz@freemail.hu>
3068 * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static
3069 initialization problems.
3071 2005-01-02 Ben Maurer <bmaurer@ximian.com>
3073 * Int32.cs: NumberStyles.AllowExponent was supported by the
3074 Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
3077 2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
3079 * Base64FormattingOptions.cs : it was not in System namespace.
3081 2004-12-21 Atsushi Enomoto <atsushi@ximian.com>
3083 * DateTime.cs : If no progress on value string, don't regard as
3084 matched. This fixes bug #70707.
3086 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
3088 * Environment.cs: Bump corlib version.
3090 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
3092 * Array.cs (DoBinarySearch): Fix a warning.
3094 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
3096 * Environment.cs: Bump corlib version.
3098 * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
3100 2004-12-06 Ben Maurer <bmaurer@ximian.com>
3102 * Exception.cs: Prevent stringifying the type name on the
3103 ctor. this gets called a few times on every execution to create a
3106 2004-12-06 Martin Baulig <martin@ximian.com>
3108 * Decimal.cs: Decimal constant support has been merged into GMCS,
3111 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
3113 * Environment.cs: Bump corlib version.
3115 * Environment.cs: Bump corlib version.
3117 2004-11-30 Zoltan Varga <vargaz@freemail.hu>
3119 * MonoType.cs (UnderlyingSystemType): Make this return this as in
3120 MS.NET. Fixes #56245.
3122 2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
3124 * GC.cs : Collect(generation) actually does not throw an exception
3125 even if generation > MaxGeneration (MS document bug).
3127 2004-11-28 Zoltan Varga <vargaz@freemail.hu>
3129 * Exception.cs: Implement _Exception under NET_2_0.
3131 * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
3133 * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
3134 NotCancelableException.cs TimeoutException.cs: New files.
3136 2004-11-23 Raja R Harinath <rharinath@novell.com>
3138 * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
3141 2004-11-23 Raja R Harinath <rharinath@novell.com>
3143 * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
3144 without decimal constant support.
3146 2004-11-23 Marek Safar <marek.safar@seznam.cz>
3148 * Decimal.cs: Updated to use compiler decimal constant support.
3150 2004-11-20 Zoltan Varga <vargaz@freemail.hu>
3152 * MonoType.cs: Revert last change since it breaks remoting.
3154 2004-11-18 Zoltan Varga <vargaz@freemail.hu>
3156 * MonoType.cs (UnderlyingSystemType): Make this return this as in
3157 MS.NET. Fixes #56245.
3159 2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
3161 * INullable.cs: New interface added.
3162 * Nullable.cs: Methods added. Also a static Nullable class
3163 containing static methods.
3165 2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
3167 * BitConverter.cs: Added support for special case when ToString is
3168 called with (new byte [0]).
3170 2004-11-10 Lluis Sanchez <lluis@novell.com>
3172 * Exception.cs: Added setter for StackTrace.
3174 2004-11-07 Ben Maurer <bmaurer@ximian.com>
3176 * IntegerFormatter.cs: Avoid .ToCharArray
3178 2004-11-06 Ben Maurer <bmaurer@ximian.com>
3180 * Single.cs, Double.cs (GetHashCode): Better hashcode impl
3182 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3184 * InvalidOperationException.cs: make the message more meaningful and
3185 real. Fixes bug #69055.
3187 2004-10-28 Ben Maurer <bmaurer@ximian.com>
3189 * String.cs: Rather than == String.Empty, use .Length == 0. It
3190 is a bit faster (avoids a method call, and the code is less complex).
3192 2004-10-24 Fawad Halim <fawad@fawad.net>
3193 * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
3194 Add text between end of current lookup window and next % match if we just got a match, or add all text to the end if there are no further % matches.
3195 This fixes bug #64995.
3197 2004-10-19 Lluis Sanchez <lluis@novell.com>
3199 * MarshalByRefObject.cs: Field _identity is not serializable.
3200 This fixes bug #68567.
3202 2004-10-17 Ben Maurer <bmaurer@ximian.com>
3204 * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
3205 avoid entering slow integer formatting code.
3207 (_ToString): Use ZeroPad here when possible, as it is faster.
3209 2004-10-11 Martin Baulig <martin@ximian.com>
3211 * Environment.cs: Bump corlib version to 28.
3213 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
3215 * Convert.cs (ToType): Throw an exception when converting null to a
3216 valuetype. Fixes #67780.
3218 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
3220 * DateTime.cs : Performance fix. ParseExact() implementation should
3221 avoid s = s.Substring(1).
3223 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
3225 * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
3226 of m/s/t/z. This fixes bug 66723.
3228 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
3230 * String.cs: make GetHashCode() managed.
3232 2004-10-04 Zoltan Varga <vargaz@freemail.hu>
3234 * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
3236 * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
3238 * ModuleHandle.cs: Add missing methods.
3240 * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
3242 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
3244 * AttributeTargets.cs: Add 2.0 GenericParameter value.
3246 * Environment.cs: Bump corlib version.
3248 2004-10-02 Zoltan Varga <vargaz@freemail.hu>
3250 * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
3252 2004-09-30 Geoff Norton <gnorton@customerdna.com>
3254 * Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
3255 and swapping of all values before going into the BitConverter so that values
3256 are returned with proper endianess.
3258 2004-09-23 Martin Garton <martin@wrasse.demon.co.uk>
3260 * Convert.cs: ToType was returning unconverted object when it should
3261 fail with an ArgumentException.
3263 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
3265 * Array.cs: Add stub for AsReadOnly<T>.
3267 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
3269 * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
3271 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
3274 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
3276 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
3279 * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
3282 * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
3284 * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
3285 sealed' optimization.
3287 * Type.cs: Implement 2.0 StructLayoutAttribute property.
3289 * Type.cs Add GetPseudoCustomAttributes () method.
3291 2004-09-24 Martin Baulig <martin@ximian.com>
3293 * Type.cs (Type.GetGenericParameterConstraints): New public method.
3295 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
3297 * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
3298 GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
3300 * Type.cs: Tweak Module property in 2.0 build.
3302 2004-09-23 Martin Baulig <martin@ximian.com>
3304 * Type.cs (Type.GenericParameterAttributes): New public property.
3306 2004-09-23 Martin Baulig <martin@ximian.com>
3308 * GenericParameterAttributes.cs: New file.
3310 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
3312 * ModuleHandle.cs: Updated after changes to Module class.
3314 2004-09-21 Geoff Norton <gnorton@customerdna.com>
3316 * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
3317 this filter. Fixes bug #65778.
3319 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
3321 * Environment.cs: Bump corlib version.
3323 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
3325 * ModuleHandle.cs: New file.
3327 * RuntimeFieldHandle.cs: Add an internal ctor.
3329 2004-09-19 Dick Porter <dick@ximian.com>
3331 * Console.cs: Use the internal wrappers for StreamReader and
3332 StreamWriter that catch IOException.
3334 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
3336 * Environment.cs: Bumped mono_corlib_version to 25.
3338 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3340 * AppDomain.cs: added SetupInformationNoCopy property, since
3341 SetupInformation creates a copy now, all updates to it should use the
3342 actual data. Fixes bug #61991 take 2.
3344 2004-09-09 Tim Coleman <tim@timcoleman.com>
3345 * Base64FormattingOptions.cs: New enum
3346 * Convert.cs: Add new ToBase64String methods for Fx 2.0
3348 2004-09-08 Marek Safar <marek.safar@seznam.cz>
3351 * GC.cs: Class is static for NET_2_0.
3353 2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
3355 * Activator.cs: Make sure not to call .GetType on a
3356 null argument. fixes 63852
3358 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
3360 * Array.cs (Clear): make this an icall.
3362 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
3364 * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
3366 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3368 * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
3369 insensitive enironment variables hashtable once we create it.
3371 2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
3373 * AppDomain.cs: Changed 2 imperative security demands to declarative
3374 (unsupported) so it doesn't (for now) call the security runtime.
3376 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
3378 * Delegate.cs: Free the delegate trampoline in the finalizer.
3380 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
3382 * ApplicationId.cs: Completed GetHashCode using information from MS
3385 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
3387 * Boolean.cs: Added TryParse static method for NET_2_0 profile.
3389 2004-08-19 Atsushi Enomoto <atsushi@ximian.com>
3391 * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
3392 allows 12, that should not be accepted (13 is rejected) and
3393 interpreted as 0. This fixes bug 63376.
3395 2004-08-17 Sebastien Pouliot <sebastien@ximian.com>
3397 * Version.cs: Fixed Clone so we can use it on versions with only
3398 major/minor or major/minor/build.
3400 2004-08-17 Martin Baulig <martin@ximian.com>
3402 * MonoType.cs (MonoType.getFullName): Added `bool full_name'
3403 argument specifying whether or not to include the type arguments.
3404 (MonoType.FullName): Don't include the type arguments.
3405 (MonoType.ToString): Include them here.
3407 * Environment.cs: Bumped mono_corlib_version to 24.
3409 2004-08-16 Duncan Mak <duncan@ximian.com>
3411 * AttributeUsageAttribute.cs: Change the AttributeUsage to
3412 AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
3415 2004-08-11 Marek Safar <marek.safar@seznam.cz>
3417 * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
3418 Added call to AddPermissionRequests to pass permissions
3420 * Environment.cs: Added a few Fx 2.0 methods
3422 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
3424 * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
3425 * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
3426 references). Added (non-obsolete) Fx 2.0 properties and methods.
3427 * AppDomainSetup.cs: Added internal copy constructor.
3428 * DomainManagerInitializationFlags.cs: Fixed values.
3430 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
3432 * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
3433 * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
3434 * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
3435 * ApplicationId.cs: New Fx 2.0 class.
3436 * ApplicationIdentity.cs: Fixed ToString.
3437 * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
3439 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
3441 * AppDomain.cs: Added a new icall, getDomainByID, to get the an
3442 AppDomain using it's Id. Completed SetAppDomainPolicy.
3443 * Environment.cs: Bumped mono_corlib_version to 23.
3445 2004-08-02 Martin Baulig <martin@ximian.com>
3447 * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
3449 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
3451 * Environment.cs : GacPath on windows is based on mscorlib.dll, and
3452 now its location is changed.
3454 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
3456 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
3459 2004-07-18 Martin Baulig <martin@ximian.com>
3461 * Array.cs: Ben Maurer implemented all the new generic methods
3464 2004-07-17 Martin Baulig <martin@ximian.com>
3466 * Decimal.cs: Implement IComparable<Decimal>.
3468 2004-07-17 Martin Baulig <martin@ximian.com>
3470 * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
3471 UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.
3473 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
3475 * ActivationContext.cs: New class in Fx 2.0. Required for
3476 System.Security.Policy.
3477 * ApplicationIdentity.cs: New class in Fx 2.0. Required for
3478 System.Security.Policy.
3479 * IApplicationDescription.cs: New interface in Fx 2.0. Required for
3480 System.Security.Policy.
3481 * IHostContext.cs: New interface in Fx 2.0. Required for
3482 System.Security.Policy.
3484 2004-07-12 Geoff Norton <gnorton@customerdna.com>
3486 * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
3487 boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
3488 and will add/subtract the hour if needed
3490 2004-07-07 Geoff Norton <gnorton@customerdna.com>
3492 * Monotype.cs: Patch for bug #58844. Dont throw exceptions right away;
3493 pass through all the possibly BindingInfo's and keep a bool value as to the type
3494 of exception we might need to throw;
3496 2004-07-07 Geoff Norton <gnorton@customerdna.com>
3498 * Patch to fix bug #58973
3500 2004-07-02 Jackson Harper <jackson@ximian.com>
3502 * PlatformID.cs: New 2.0 values.
3504 2004-06-25 Ben Maurer <bmaurer@ximian.com>
3506 * Environment.cs: GetFolderPath has new behavior. r=miguel
3508 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
3510 * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
3511 bigger than 9999. Fix bug #41845.
3512 * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
3513 the "R"eversible format for negative numbers.
3515 2004-06-21 Jackson Harper <jackson@ximian.com>
3517 * Decimal.cs: Make sure to use invariant culture when parsing
3518 floats stringified with the invariant culture. Patch by Rodrigo
3521 2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
3523 * FloatingPointFormatter.cs : Literal string should be kept in the
3526 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
3528 * DateTime.cs : Concatenating whitespace removal was not working fine.
3529 Modified FormatException message (1 cent kindness).
3531 2004-06-18 Ben Maurer <bmaurer@ximian.com>
3533 * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
3534 new generics classes
3535 * IComparable.cs: add the new <T> version.
3536 * EventHandler.cs: new <T> version.
3538 2004-06-18 Dick Porter <dick@ximian.com>
3540 * String.cs: The icall can cope with embedded \0 now.
3542 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
3545 - Added new common pattern "yyyy/M/dZ"
3546 - empty string should not be compared in _ParseEnum()
3547 - Use culture independent string comparison in _ParseString()
3548 - Whitespace removal should be checked after '..' token check (some
3549 pattern such like es-ES LongDatePattern contains spaces in '..').
3550 - formats null check should be done (to throw ArgumentNullException)
3552 - When specified one character format, dates are incorrectly regarded
3553 as to use invariant culture.
3555 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
3557 * ArgIterator.cs: changed layout to Auto
3558 * DateTime.cs: changed layout to Auto
3560 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
3562 * DateTime.cs: CRLF to LF
3564 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
3566 * Decimal.cs: Fixed regression in System.Data caused by the recent
3567 changes. Adapted (and moved) the code to correct the scale from
3568 SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
3569 scale has no importance).
3571 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
3573 * Activator.cs: In CreateInstance(), use Public|Instance if access binding
3574 attributes are omitted.
3576 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
3578 * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
3579 check if the format character is valid.
3581 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
3583 * DateTime.cs : AddDays(double) rounds the input.
3585 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
3587 * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
3588 Fixed ToLocalTime() as well, but it does check range for MinValue.
3590 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
3592 * DateTime.cs : Added overflow check in ToUniversalTime() and
3593 ToLocalTime(). Fixed bug #60253.
3595 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
3597 * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
3598 source code (with permission). Fix (biggest) part of bug #60110.
3599 http://www.yoda.arachsys.com/csharp/floatingpoint.html
3601 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
3603 * Decimal.cs: Fixed scale after Round (a different scale is correct
3604 from a math point of view but affect the string representation of the
3605 value). Note: other operations also have scale problems!
3606 * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
3607 * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
3608 rounding (which is the rounding provided by Math.Round). This fix bug
3609 #60111. The code (new Round methods) should be moved elsewhere (as it
3610 may also be required elsewhere) post Mono 1.0.
3612 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
3614 * AppDomainSetup.cs: added TODO for serialization
3615 * ExecutionEngineException.cs: added missing serialization ctor
3616 * InvalidProgramException.cs: added missing serialization ctor
3617 * MulticastNotSupportedException.cs: added missing serialization ctor
3618 * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
3619 * Random.cs: fixed serialization compatibility with MS.NET
3621 2004-06-15 Paolo Molaro <lupus@ximian.com>
3623 * Type.cs: removed unused (and non-existing) icall type_is_instance.
3625 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3627 * Environment.cs: use internalGetHome instead of getting "HOME" as
3628 that variable may not be defined.
3630 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
3632 * TimeSpan.cs: Fixed timespan with large values for hours or minutes
3633 (overflow is only checked for days but can also occurs in hours and
3634 minutes which uses Int32 when multiplying). The new results match MS
3637 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
3639 * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
3640 them with matching NumberFormatInfo properties.
3642 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
3644 * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
3645 * FloatingPointFormatter.cs :
3646 Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
3648 Format Permille pattern (It is undocumented but actually available,
3649 and used in xsl:format-number).
3651 2004-06-14 Raja R Harinath <rharinath@novell.com>
3653 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
3654 version with BOOTSTRAP_WITH_OLDLIB.
3655 * String.cs (STring.Concat): Likewise.
3657 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
3659 * FloatingPointFormatter.cs :
3660 - Don't format more than 15 fraction digits. Don't report to Pedro
3661 directly (removing the error message with his concent).
3662 - When format string starts with '.', it means integral part format
3663 is not specified. Ignore '.' characters after the first
3664 appearance. Fixed bug #59890.
3665 - 0.0 is formatted only before the third ';' appearance.
3667 2004-06-11 Sebastien Pouliot <sebastien@ximian.com>
3669 * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
3670 rounding logic which worked for FromOADate (while the newer didn't).
3671 * TimeSpan.cs: Now throw an OverflowException when the timespan is
3672 over MaxValue or under MinValue.
3674 2004-06-11 Martin Baulig <martin@ximian.com>
3676 * Console.cs (Write, WriteLine): Implemented the varargs versions.
3678 2004-06-11 Martin Baulig <martin@ximian.com>
3680 * String.cs (Concat): Implemented the varargs version.
3682 2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
3684 * Decimal.cs: Hacked the Parse method to allow the runtime C code to
3685 decode it properly (i.e. matching MS results). Fixed the Round method
3686 for negative decimal numbers (moved code from Math.cs).
3687 * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
3688 fix a bug when rounding a negative decimal.
3690 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3692 * AppDomain.cs: set the _principal to null when changing the policy.
3693 * Console.cs: remove ClsCompliant attribute from a method marked as
3694 internal and added comment.
3696 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
3698 * Delegate.cs: marked protected fields private to match public
3699 API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
3700 protected to fix public API
3701 * Enum.cs: marked ctor protected to match public API of MS.NET
3702 * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
3703 match public API of MS.NET
3705 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
3707 * DateTime.cs : Added more common patterns.
3709 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
3711 * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
3712 be a performance winner (the actual Math code has a note to wait a
3713 better Decimal implementation) but it returns the correct results
3714 (without adding new code in corlib or the runtime). Fix #37744.
3716 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
3719 - A bunch of fixes (patch by Steven Brown). Fraction seconds are
3720 now represented as double. Strict token check for 'Z'.
3721 - Pattern validity check in GetDateTimeFormats(char).
3722 - Fixed pattern "yyyy/M/d HH:mm:ss".
3724 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
3726 * Decimal.cs: Fixed remainder (and optimized some cases not to call
3727 unmanaged code). Simplified divide. Removed workaround for bug #59793.
3728 Fixed GetHashCode to return different result for X and -X.
3730 2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
3733 - Now re-checked all common format patterns. They should be tried
3734 with both current culture and invariant culture. Since '/' covers
3735 '-', removed extraneous patterns. Added more common patterns
3736 such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
3737 only after NET_1_1). Commented out 1 character format patterns.
3738 - The format patterns we should try should not be obtained by
3739 GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
3740 character patterns), to handle UTC correctly. Examined patterns
3741 are changed, to 1) common patterns with specified (or current)
3742 culture, 2) common patterns with invariant, 3) The above "one
3743 character patterns" with specified (or current) culture.
3744 - When trying to parse some kind of patterns such as RFC1123,
3745 always use invariant DateTimeFormatInfo so that they can avoid
3746 parsing with culture-dependent calendar.
3747 - Check "GMT" only when doing Parse(). Don't it when ParseExact().
3748 - Removed extraneous '-' case. It is not special one.
3749 - When ParseExact(), allow only '/' for '/' pattern character.
3750 - When Parse(), allow any non-letter & non-number characters.
3751 - When pattern is not fully parsed, reject that format.
3752 - Added "exact" parameter to some ParseExact().
3753 - RFC1123 pattern is (again) now parsed in local time. I regressed
3754 some problems in previous fix.
3756 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
3758 * Decimal.cs: Fixed cast to integer types to truncate (not round) the
3761 2004-06-07 Duncan Mak <duncan@ximian.com>
3763 * Exception.cs (Source): This can return null.
3765 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
3767 * DateTime.cs: Fixed FromFileTime for negative values. Fixed
3768 constructor to limit range of milliseconds from 0,999. Fixed
3769 ToType method to work for object, string and DateTime.
3771 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
3773 * DateTime.cs: Fixed OLE Automation date conversions: timezone
3774 insensitive, wrong exception in FromOADate, handling of Min/Max
3775 values, negative doubles where integer part is negative but
3776 decimals are positive! Charming format ;-)
3778 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
3780 * String.cs: Fixed Join in case separator parameter is null.
3781 * TimeSpan.cs: Cache format errors during parsing and throw
3782 FormatException only if there was no overflow.
3784 2004-06-06 Gert Driesen <drieseng@users.sourceforge.net>
3786 * MonoCustomAttrs.cs: fixed issue where an empty array was
3787 returned when GetCustomAttributes was invoked with null
3788 attribute type and there was only one result
3790 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
3792 * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
3793 * Int16.cs: Fixed ToString(String.Empty) to default ("G").
3794 * Int32.cs: Fixed ToString(String.Empty) to default ("G").
3795 * Int64.cs: Fixed ToString(String.Empty) to default ("G").
3796 * SByte.cs: Fixed ToString(String.Empty) to default ("G").
3797 * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
3798 * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
3799 * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
3801 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
3803 * Convert.cs: Fixed the convertion of negative integers (byte, short,
3804 int and long) into string in a specific base (2, 8, 10 or 16).
3806 2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
3808 * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
3809 the dividend is negative and the result is 0 (remainder).
3811 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
3813 * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
3815 2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
3817 * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
3818 spans. Fixed parsing when only days are presents in the string (which
3819 should be illegal according to the documentation but is supported).
3821 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
3823 * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
3824 somewhat different from the documentation.
3826 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
3828 * Type.cs: added missing attributes on InvokeMember
3830 2004-06-01 Miguel de Icaza <miguel@ximian.com>
3832 * String.cs: Flag concat with four arguments internal.
3834 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
3836 * Array.cs: Fixed legal case where value is null.
3837 * Byte.cs: Fixed ToString when format is an empty string (use "G").
3838 * Guid.cs: Renamed private fields (and changed some to signed) to
3839 match MS implementation and allow serialization to work. Fix
3842 2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3844 * DateTime.cs: adjust milliseconds for fraction specifier ('f').
3846 2004-05-30 Miguel de Icaza <miguel@ximian.com>
3848 * Console.cs: Remove *again* the version of WriteLine with four
3849 arguments; That should *not* be added.
3851 Flag it as internal as people migrate their code.
3853 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
3855 * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
3856 ArgumentNullException (only case, all other returns 0). Fixed exception
3857 reporting for hex prefix only strings. Fixed ChangeTo where null could
3858 be misinterpreted between null and Empty.
3860 2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
3862 * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
3863 16), non-base 10 negative numbers ... see new unit tests. Fixed the
3864 case when we parse Int64.MinValue (positive doesn't fit a signed long).
3866 2004-05-28 Jackson Harper <jackson@ximian.com>
3868 * Environment.cs: Increment version number.
3870 2004-05-28 Zoltan Varga <vargaz@freemail.hu>
3872 * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
3875 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
3877 * DateTime.cs : I reverted my fix by accident :(
3879 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
3882 - In ToString(), Don't use culture-dependent daynames to format
3883 Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
3884 - Fixed GetDateTimeFormats () that generated incorrect 'U' value
3885 (since the format string is the same as 'F').
3887 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
3889 * DateTime.cs : don't adjust utc value in ToString(). It must output
3890 the same time value, just adding 'Z' for UTC.
3892 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
3894 * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
3897 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3899 * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
3901 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
3903 * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
3904 * Convert.cs: Convert with a base parameter cannot parse negative
3905 string numbers, even "-0".
3906 * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
3907 * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
3908 * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
3910 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
3913 - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
3914 to common formats (yes, I know it is nothing more than hack)
3915 - Fixed some GetDateTimeFormats() that just returned patterns.
3916 - For InvariantCulture, now try both supported formats and our
3918 - It was accepting incorrectly extraneous characters. That caused
3919 some UTC/non-UTC bug.
3920 - RFC1123 string should return universal time. Uncomment again (the
3921 problem should went away because of the extra characters fix above.
3923 With some of the changes above, fixed bug #47720.
3925 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
3927 * DateTime.cs : quick revert 'Z' support for certificate verifications.
3929 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
3931 * Array.cs: Removed duplicate condition if LastIndexOf.
3933 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
3936 - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
3938 - As a quick remedy to accept more patterns, Parse() now also tries
3939 InvariantInfo patterns (this is because we have no more than one
3940 pattern for each pattern component.)
3941 - In _DoParse(), 'Z' should not be read as timezone specifier. Some
3942 culture uses 'Z' as AM/PM designer, and it should be recognized as
3943 part of the UTCpattern (if it actually UTC pattern for the culture
3946 2004-05-26 Gert Driesen (drieseng@users.sourceforge.net)
3948 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
3949 seems to allow multiple attributes with AllowMultiple at
3952 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
3954 * Byte.cs: Throw an OverflowException for negative numbers.
3955 * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
3956 * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
3958 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
3960 * Array.cs: Fixed possible integer overflow.
3961 * BitConverter.cs: Fixed a possible integer overflow in ToString.
3962 * Guid.cs: Added an internal method to create a random Guid without
3963 using CryptoConfig (which is heavy on first use). This is only used
3964 in S.R.E.ModuleBuilder to speedup MCS compilation.
3965 * String.cs: Fixed reported exception for PadLeft|Right. Fixed
3966 possible integer overflow in methods that takes index and count
3969 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
3971 * String.cs: Add new Strcpy icalls which take a char array as
3974 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
3976 * DateTime.cs : added more invariant format patterns. This should
3977 really fix bug #57656.
3979 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
3981 * BitConverter.cs (ToBoolean): Return true or false instead
3982 of unsafe returing byte as bool. Fixes bug #58874.
3984 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
3986 * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
3987 string format argument is null.
3989 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
3991 * Version.cs: Rename of data fields to match those in Microsoft.NET.
3992 Patch by PAF@design.ru.
3994 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3996 * DateTime.cs: allow double quotes in the formats. Don't set
3997 next_not_digit to true in presence of single or double quotes. Patch by
4000 2004-05-24 Zoltan Varga <vargaz@freemail.hu>
4002 * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
4004 2004-05-23 Sebastien Pouliot <sebastien@ximian.com>
4006 * Array.cs: Fixed exception when we try to Clear outside bounds.
4007 * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
4008 * BitConverter.cs: Fixed negative index and integer overflow in
4010 * Buffer.cs: Fixed integer overflow in BlockCopy.
4012 2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
4014 * Array.cs: Clear can now work on multidimentional arrays.
4015 * IntPtr.cs: We now only accept 32bits values in the long constructor
4016 unless we're on a 64 bits machine.
4017 * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
4018 constructor unless we're on a 64 bits machine.
4020 2004-05-22 Duncan Mak <duncan@ximian.com>
4022 * Convert.cs: The file was mostly in DOS endings already, for the
4023 sake of consistency, converted it all to DOS endings.
4024 (ToType): When value is null, immediately return null and don't
4025 ever throw a NullReferenceException. When conversionType is null,
4026 throw an InvalidCastException. Give a better error message when
4027 attempting to convert to a DBNull as well.
4029 2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
4031 * Decimal.cs: Fixed To... methods that needs to trunk the integer part
4032 of Decimal (and not use the banker's rounding like Convert.To...).
4033 * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
4034 to NaN compares (see new unit tests).
4036 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
4038 * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
4039 Also fixed the case where wide (16 bits) characters were converted to
4042 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
4044 * ThreadStaticAttribute.cs
4045 * ContextStaticAttribute.cs
4047 * ObsoleteAttribute.cs : now that Inherited is false by
4048 default on AttributeUsageAttribute (as it should be) we
4049 need to explicitly set Inherited to false for those
4050 attributes should it be be false.
4052 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
4054 * AttributeUsageAttribute.cs: Inherited property should be
4055 true by defaultrs.cs: respect Inherited property, and
4057 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
4059 * MonoCustomAttrs.cs: respect Inherited property, and
4060 AllowMultiple property of a CustomAttribute. This fixes
4061 a major issue we had with respect to custom attributes.
4063 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
4065 * MonoType.cs: throw ArgumentNullException when type parameter in
4066 GetCustomAttributes(Type, bool) is null
4068 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
4070 * Buffer.cs: Added checks for null source and destination. Fix failing
4071 CryptoStream unit test.
4072 * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
4073 pseudo-random numbers to generate GUIDs (as per section 3.4 of the
4074 spec). This removes the TODO to get the computer MAC address and
4075 the chances to get a duplicate GUID (across different machines).
4077 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4079 * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
4080 than OverflowExceptions then something went wrong internally
4082 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4084 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
4087 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
4089 * Buffer.cs: Optimize BlockCopy.
4091 * Environment.cs: Bump corlib version.
4093 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
4095 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
4096 See also bug #58478.
4098 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4100 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
4101 been set. Just return null as MS. Fixes bug #58120.
4103 2004-05-14 Marek Safar <marek.safar@seznam.cz>
4105 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
4106 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
4107 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
4108 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
4109 useless [CLSCompliant (false)]
4112 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
4114 * __ComObject.cs: To please corcompare (no implementation).
4116 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
4118 * Environment.cs: Bump corlib version.
4120 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
4122 * Environement.cs: Removed two security attributes for CurrentDirectory
4123 that weren't documented (and anyway we don't support them).
4125 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4127 * Char.cs: Fix exceptions
4129 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
4131 * MissingMemberException.cs: Fix in serialization constructor.
4133 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4135 * Environment.cs: GetGacPath return value is resolved at runtime on
4138 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
4140 * Convert.cs: ToBase64CharArray method was depending on a bug in
4141 S.S.C.ToBase64Transform class to work. Added an internal method to
4142 provide the same functionality (multiple block processing).
4144 2004-05-06 Jackson Harper <jackson@ximian.com>
4146 * Environment.cs: Make $HOME the personal directory.
4148 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
4150 * Convert.cs: ToBase64String method was depending on a bug in
4151 S.S.C.ToBase64Transform class to work. Added an internal method to
4152 provide the same functionality (multiple block processing).
4154 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
4156 * Environment.cs: Completed OSVersion property.
4157 * Version.cs: Added internal CreateFromString() to "try" to build the
4158 best version number form the specified string.
4160 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4162 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
4163 Fixes several potential bugs and makes things way faster.
4165 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4167 * TimeSpan.cs: Formatting changes
4169 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
4171 * Activator.cs: change _flags to a const.
4172 * IntegerFormatter.cs: make tables readonly.
4173 * Convert.cs: tables readonly
4174 * DateTime.cs: ditto.
4175 * IntPtr.cs: avoid a cctor.
4177 2004-04-29 Jackson Harper <jackson@ximian.com>
4180 * Type.cs: NET_2_0 now instead of 1_2.
4182 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4184 * Environment.cs: implemented GetLogicalDrives.
4186 2004-04-28 Miguel de Icaza <miguel@ximian.com>
4188 * Applied patch from Atsushi Enomoto that allows Synchronized
4189 writers to have a `dont close' flag, this fixes 52094
4191 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
4193 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
4194 return the method if it is private (it did until now because of a
4195 bug). Make sure it works as it worked before the fix.
4196 * Type.cs: Implemented FilterAttribute delegate.
4198 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4200 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
4202 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4204 * IntegerFormatter.cs: Made functions internal (needed by other patches)
4206 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
4208 * DateTime.cs: TODO cleaning.
4209 * Delegate.cs: GetObjectData should be virtual.
4210 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
4211 30 methods almost identical.
4212 * MulticastDelegate.cs: Implemented GetObjectData.
4214 2004-04-26 Jackson Harper <jackson@ximian.com>
4216 * Environment.cs: Things going bump in the night.
4218 2004-04-25 Miguel de Icaza <miguel@ximian.com>
4220 * Convert.cs (toBase64Transform): Make private.
4222 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4226 * DecimalFormatter.cs:
4227 * FloatingPointFormatter.cs: Call invariant Char functions
4228 * Guid.cs: Call invariant Char and String functions
4229 * String.cs: Call invariant Char functions
4231 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4233 * String.cs: Refactored the Invariant ToXXX into its own internal methods
4234 so they are directly callable within corlib (can prevent early
4235 construction of CultureInfo, InvariantCulture and related classes)
4237 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4239 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
4240 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
4242 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4244 * String.cs: Check for null values
4246 2004-04-23 Peter Bartok <pbartok@novell.com>
4248 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
4249 will do a better fix in the future, but this way apps can at least use it.
4251 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
4253 * Environment.cs: Better support for GetFolderPath (same results as MS
4256 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
4258 * Activator.cs: Removed TODOs for finished methods.
4259 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
4260 must be relative to the current directory, not the temp directory.
4261 Implemented DynamicBase.
4262 * Convert.cs: No need to create a ToBase64Transform instance at every call
4263 to ToBase64CharArray.
4264 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
4266 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
4267 * Delegate.cs: Removed class TODO.
4268 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
4270 * Type.cs: Removed TODOs for things already implemented.
4272 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
4274 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
4275 * MulticastDelegate.cs: Removed unused code.
4277 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
4279 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
4280 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
4281 * BadImageFormatException.cs: TODO reformat.
4282 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
4283 * DelegateSerializationHolder.cs: Made class internal.
4284 * Enum.cs: Removed TODO for localization, since this is something that has
4285 to be done for all classes.
4286 * Environment.cs: Removed TODO.
4287 * Exception.cs: Changed ToString to use StringBuilder.
4288 * MonoDummy.cs: Made class internal.
4289 * UnitySerializationHolder.cs: Added support for modules.
4291 2004-04-16 David Sheldon <dave-mono@earth.li>
4293 * DecimalFormatter.cs: Don't append a decimal point after the
4294 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
4297 2004-04-09 Miguel de Icaza <miguel@ximian.com>
4299 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
4302 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
4304 * MonoDummy.cs: added MonoTODO to make sure we remove this class
4305 when its no longer needed
4307 2004-04-09 David Sheldon <dave-mono@earth.li>
4309 * Convert.cs: Allow + signs in strings for ToInt32, and
4312 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
4314 * Nullable.cs : usingdecl should also be conditional.
4316 2004-04-07 Martin Baulig <martin@ximian.com>
4318 * Nullable.cs: New file.
4320 2004-04-07 Martin Baulig <martin@ximian.com>
4322 * Type.cs (Type.GetGenericArguments): Make this abstract.
4324 2004-04-07 Jackson Harper <jackson@ximian.com>
4326 * Environment.cs: Increase corlib version number.
4328 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4331 (ExpandEnvironmentVariables): on windows, env. vars. are case
4334 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
4336 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
4337 Removed [ThreadStatic] for _principalPolicy (not required).
4339 2004-04-06 Miguel de Icaza <miguel@ximian.com>
4341 * Guid.cs: Flag as Sequential.
4343 2004-04-02 Dick Porter <dick@ximian.com>
4345 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
4347 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
4349 * Environment.cs: Implement ExpandEnvironmentVariables static method.
4350 Now call the runtime to get the username (fix #56144).
4352 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4354 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
4357 2004-03-29 Miguel de Icaza <miguel@ximian.com>
4359 * Console.cs: If we fail to open stdin/stdout/stderr, create
4360 readers with a NullStream. This can happen if our caller does not
4361 setup stdin/stoud/stderr file handles. #56158 exposed this, but
4362 it will happen elsewhere.
4364 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
4366 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
4367 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
4368 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
4369 the constructor. This fixes bug #54019.
4371 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
4373 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
4374 internal variables to structures that are moved around methods.
4375 Factorized some common formatting code into FormatNumberInternal.
4377 2004-03-23 Dick Porter <dick@ximian.com>
4379 * DateTime.cs: Allow any character for DateSeparator when parsing,
4380 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
4381 deleted the previous fix for 54721, because this covers it too.
4383 2004-03-23 Dick Porter <dick@ximian.com>
4385 * DateTime.cs: Check the date string for too many digits when
4386 parsing. Fixes bugs 53023 and 53025.
4388 2004-03-22 Dick Porter <dick@ximian.com>
4390 * String.cs: Use the provider when converting strings to other
4393 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
4394 formats. Fixes bug 54721.
4396 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4398 * Console.cs: Styled, optimized calls
4399 * CrossAppDomainDelegate.cs: Small header fix
4400 * Buffer.cs: Style, improve errors
4401 * BitConverter.cs: Style, improve errors, remove obsolete comment
4402 * Attribute.cs: Style, improve errors, small fix
4403 * Array.cs: Style, improve errors, small fix, added TODOs
4404 * Activator.cs: Style, localized errors, added error checks
4405 * Byte.cs: Style, localized errors, fixed wrong exception parameters
4408 * AppDomainSetup.cs: Style
4409 * AppDomain.cs: Style, implemented two methods (redirect)
4411 2004-03-21 Jackson Harper <jackson@ximian.com>
4413 * FloatingPointFormatter.cs: Set precision from number format info
4414 when it is not specified. This fixes bug #54983.
4416 2004-03-18 Nick Drochak <ndrochak@ieee.org>
4418 * Math.cs: Use IsNaN() method not "x == NaN".
4420 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4422 * EntryPointNotFoundException.cs
4423 * DuplicateWaitObjectException.cs
4424 * DllNotFoundException.cs
4425 * DivideByZeroException.cs
4426 * ContextMarshalException.cs
4427 * CannotUnloadAppDomainException.cs
4428 * BadImageFormatException.cs
4429 * ArrayTypeMismatchException.cs
4430 * ArithmeticException.cs
4431 * ArgumentOutOfRangeException.cs
4432 * ArgumentNullException.cs
4433 * ArgumentException.cs
4434 * ApplicationException.cs
4435 * AppDomainUnloadedException.cs: Added missing HResult overrides
4437 * BadImageFormatException.cs: Improved/ Fixed implementation
4439 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
4441 * Random.cs: Corrected random value when Next is called with a
4442 negative value. Testing indictae that our results aren't exactly the
4443 same as MS, we have a +/- 1 (probably rounding errors due to
4444 different implementation).
4446 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4448 * Environment.cs: updated corlib version.
4450 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
4452 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
4453 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
4454 field "value" to "m_value", so it is interoperable with MS.NET when
4455 serializing and deserializing data. Based on the patch from Daniel
4458 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4460 * TypeInitializationException.cs
4461 * SystemException.cs
4462 * StackOverflowException.cs
4464 * OverflowExceptionException.cs
4465 * OutOfMemoryException.cs
4466 * NullReferenceException.cs
4467 * NotSupportedException.cs
4468 * NotFiniteNumberException.cs
4469 * InvalidOperationException.cs
4470 * InvalidCastException.cs
4471 * IndexOutOfRangeException.cs
4472 * FormatException.cs
4473 * ExecutionEngineException.cs: improved parameter names
4475 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4478 * EntryPointNotFoundException.cs
4479 * DuplicateWaitObjectException.cs
4480 * DoubleFormatter.cs
4481 * DllNotFoundException.cs
4482 * DivideByZeroException.cs
4483 * DelegateSerializationHolder.cs
4486 * ContextStaticAttribute.cs
4487 * ContextMarshalException.cs
4488 * ContextBoundObject.cs
4489 * CLSCompliantAttribute.cs
4491 * CannotUnloadAppDomainException.cs
4492 * BadImageFormatException.cs
4493 * AttributeUsageAttribute.cs
4494 * AttributeTargets.cs
4496 * AssemblyLoadEventHandler.cs
4497 * AssemblyLoadEventArgs.cs
4498 * ArrayTypeMismatchException.cs
4499 * ArithmeticException.cs
4500 * ArgumentOutOfRangeException.cs
4501 * ArgumentNullException.cs
4502 * ArgumentException.cs
4504 * ApplicationException.cs
4505 * AppDomainUnloadedException.cs
4506 * AppDomain.cs: Mono styled, fixed exceptions/ locales
4507 removed excess usings
4509 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
4511 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
4512 spaces) which fixed #54939. Changed the way that the length is
4513 validated (multiple of 4) because the ignored characters must not be
4514 included in the count.
4516 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4518 * String.cs: Monostyled
4520 2004-03-09 Jackson Harper <jackson@ximian.com>
4522 * Char.cs: Only use a byte for numeric data.
4524 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4526 * TypedReference.cs: Added missing Attributes
4527 * ParamArrayAttribute.cs: Small style fix
4528 * OperatingSystem.cs: Added .Net 1.1 member
4530 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4532 * FieldAccessException.cs
4533 * FormatException.cs
4534 * InvalidCastException.cs
4535 * InvalidOperationException.cs
4536 * MemberAccessException.cs
4537 * MethodAccessException.cs
4538 * MissingFieldException.cs: Locale strings
4539 * MissingMemberException.cs: Locale strings
4540 * MissingMethodException.cs: Locale strings
4541 * NotFiniteNumberException.cs
4542 * NotImplementedException.cs
4543 * NotSupportedException.cs
4544 * NullReferenceException.cs
4545 * ObjectDisposedException.cs
4546 * OutOfMemoryException.cs
4547 * OverflowExceptionException.cs
4548 * PlatformNotSupportedException.cs
4549 * RankException.cs: Added missing HResult overrides
4551 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4553 * RuntimeTypeHandle.cs
4554 * RuntimeMethodHandle.cs
4555 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
4557 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4561 * ExecutionEngineException.cs
4562 * FieldAccessException.cs
4563 * FormatException.cs
4566 * IndexOutOfRangeException.cs
4568 * InvalidCastException.cs
4569 * InvalidOperationException.cs
4570 * InvalidProgramException.cs
4571 * IServiceProvider.cs
4572 * LoaderOptimization.cs
4573 * LoaderOptimizationAttribute.cs
4574 * MarshalByRefObject.cs
4576 * MemberAccessException.cs
4577 * MethodAccessException.cs
4578 * MissingFieldException.cs
4579 * MissingMemberException.cs
4580 * MissingMethodException.cs
4581 * MultiCastDelegate.cs
4582 * MulticastNotSupportedException.cs
4583 * NonSerializedAttribute.cs
4584 * NotFiniteNumberException.cs
4585 * NotImplementedException.cs
4586 * NotSupportedException.cs
4587 * NullReferenceException.cs
4588 * ObjectDisposedException.cs
4589 * ObsoleteAttribute.cs
4590 * OperatingSystem.cs
4591 * OutOfMemoryException.cs
4592 * OverflowExceptionException.cs
4594 * PlatformNotSupportedException.cs
4597 * ResolveEventArgs.cs
4598 * ResolveEventHandler.cs
4599 * RuntimeFieldHandle.cs
4600 * RuntimeMethodHandle.cs
4601 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
4602 removed excess usings
4604 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4606 * SystemException.cs: Exceptions set the HResult
4607 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
4608 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
4610 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4613 * TypeLoadException.cs
4614 * TypeInitializationException.cs
4617 * ThreadStaticAttribute.cs
4618 * SystemException.cs
4619 * STAThreadAttribute.cs
4620 * StackOverflowException.cs
4621 * SingleFormatter.cs
4623 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
4624 removed excess usings
4626 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4628 * UnauthorizedAccessException.cs: Exceptions set the HResult
4629 * UInt64.cs: Implemented two missing methods
4630 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
4631 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
4633 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4639 * UnitySerializationHolder.cs
4640 * UnhandledExceptionEventHandler.cs
4641 * UnauthorizedAccessException.cs
4645 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
4647 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
4649 * Environment.cs: Bump corlib version.
4651 2004-03-04 Jackson Harper <jackson@ximian.com>
4653 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
4655 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
4657 * String.cs: Concat() fixed crash when one of the arguments is an object
4658 whose ToString() method returns null.
4659 * TypeLoadException.cs: Added some serialization fiels, needed for
4660 compatibility with MS.NET.
4662 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
4664 * String.cs (Equals): Speed up this method by avoiding Array
4665 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
4667 This gives between 0x (for 1 char) and >2x (for large strings)
4668 factor of improvement.
4670 A big thanks to Miguel, who suggested the integer compares.
4672 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4674 * MonoType.cs: use the binder in GetPropertyImpl.
4676 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4678 * Math.cs: MonoStyled, replaced space with tabs,
4679 speedup of some methods by avoiding method calls
4681 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
4683 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
4684 (Moved from InternalCall to Managed code).
4686 2004-02-17 Martin Baulig <martin@ximian.com>
4688 * MonoType.cs (GetConstructors): Renamed the interncall to
4689 GetConstructors_internal(), made it internal and added a `Type
4690 reflected_type' argument to it.
4691 (GetEvents, GetFields): Likewise.
4692 (GetMethodsByName): Added `Type reflected_type' argument.
4693 (GetPropertiesByName): Likewise.
4695 2004-02-16 Jackson Harper <jackson@ximian.com>
4697 * FloatingPointFormater.cs: Allow precision to be up to the number
4698 of decimals without rounding.
4700 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
4702 * Delegate.cs (Equals): Do not compare method_ptr, since it might
4703 point to a trampoline.
4705 2004-02-12 Jackson Harper <jackson@ximian.com>
4707 * AppDomainSetup.cs: If relative paths are used they should be
4708 rooted in the temp directory.
4710 2004-02-11 Marek Safar <marek.safar@seznam.cz>
4712 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
4714 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
4716 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
4717 avoid an assert in the runtime.
4719 2004-02-08 Duncan Mak <duncan@ximian.com>
4721 * Convert.cs (ToType): Always let a Convert.ChangeType call
4722 succeed if the source object is already of the destination type.
4724 Patch by Ian MacLean (ianm@activestate.com).
4726 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
4728 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
4730 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
4732 * Environment.cs: Bump corlib version.
4734 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
4736 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
4739 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
4741 * Exception.cs: Changed ToString to remove the \n when no stack trace
4742 is present (which fixed a unit test for SecurityException). Changed
4743 all \n to Environment.NewLine.
4745 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
4747 * ContextBoundObject.cs: Removed TODO.
4749 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4751 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
4752 (double), which might round up.
4754 2004-01-19 Jackson Harper <jackson@ximian.com>
4756 * FloatingPointFormatter.cs: Use the default decimal digits count
4757 if they are not specified. This fixes bug #52927.
4759 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
4761 * Environment.cs: Bump version number.
4763 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
4765 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
4766 uses IsAssignableFrom(o.GetType()), which is not always valid for
4767 transparent proxies (because GetType will not return the type of the remote
4768 object if its assembly is not present).
4770 2004-01-18 David Sheldon <dave-mono@earth.li>
4772 * FloatingPointFormatter.cs: Skip the decimal point if we have an
4773 integer mantassa. So: 1E+15, rather than 1.E+15.
4775 2004-01-18 David Sheldon <dave-mono@earth.li>
4777 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
4778 even though docs say it should be an ArgumentNull. Two test cases now
4779 pass. See also nickd's commit of 2003-12-24.
4781 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4783 * Environment.cs: increased corlib version.
4785 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
4787 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
4788 be reused because they could be modified. This fixes bug #52655.
4790 2004-01-12 Patrik Torstensson
4792 * Environment.cs: Bump corlib version number due to new StringBuilder
4794 * String.cs: New internal method to support the new StringBuilder that
4795 uses the string as a buffer (until ToString is called)
4797 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
4799 * Environment.cs: Bump corlib version number for real this time.
4801 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
4802 the runtime, so it can take into account the Culture etc.
4804 * Environment.cs: Bump corlib version number.
4806 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4808 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
4809 new parameter with the method name and a boolean for ignoring case.
4810 Removed some string comparisons no longer needed.
4812 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4814 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
4815 new parameter with the property name and a boolean for ignoring case.
4818 2004-01-11 David Sheldon <dave-mono@earth.li>
4820 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
4823 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
4825 * AppDomain.cs: Keep track of type resolve and assembly resolve
4826 events in progress to prevent infinite recursion.
4828 2004-01-06 Miguel de Icaza <miguel@ximian.com>
4830 * Console.cs: Test for UTF-8 being present anywhere on the
4831 string, also do ToUpper instead of ToLower, which will work even
4832 around the ICU bug with different locales (#52065), and addresses #52101
4834 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
4836 * Environment.cs: Bump version.
4838 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
4840 * Type.cs (IsNotPublic): One would normally assume that
4841 IsNotPublic == !IsPublic, but this is not the case (note to MS,
4842 make better names ;-). Fixes #52547, `Type.IsNotPublic not
4843 correct for Nested types'
4845 2003-12-24 Nick Drochak <ndrochak@ieee.org>
4847 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
4848 even though docs say it should be an ArgumentNull. Sent email to MS
4851 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
4853 * Exception.cs: Several changes to make it compatible with MS.NET (needed
4854 for remoting interoperability): set a default value for hresult, added
4855 initialization of class_name, serialization field RemoteStackTrace must
4856 be RemoteStackTraceString, added ser. field ExceptionMethod.
4858 * IndexOutOfRangeException.cs: Added serialization constructor.
4860 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
4863 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
4865 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
4867 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
4868 user supplied no parameter info, but not when the user supplied an
4869 empty parameter list. This fixes IKVM.
4871 * Environment.cs: Bump corlib version.
4873 2003-12-19 Dick Porter <dick@ximian.com>
4875 * String.cs: Added Compare shortcut for length==0.
4877 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
4879 * Environment.cs: Bump corlib version.
4881 2003-12-17 Dick Porter <dick@ximian.com>
4883 * String.cs: Fix StartsWith and EndsWith when the argument is the
4884 empty string. Fixes bug 52283.
4886 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
4888 * Environment.cs (HasShutdownStarted): Implement.
4890 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
4892 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
4894 * Environment.cs: Bump version number.
4896 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4898 * DateTime.cs: don't bail out with that year out of range error on
4899 stuff like "MM/dd/yyyy HH:MM:ss".
4901 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
4903 * Environment.cs: Make it a const instead.
4905 * Environment.cs: Make version field static.
4907 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
4909 * Type.cs: Make DefaultBindingFlags protected.
4911 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
4912 Add new GacPath property + its associated icall.
4914 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
4916 * DateTime.cs : Bugs fixed (41845, 51422)
4917 * MonoType.cs : Exception message changed
4919 2003-12-08 Martin Baulig <martin@ximian.com>
4921 * Type.cs (MakeByRefType): New public method.
4923 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
4925 * Environment.cs: Add a version number for the corlib-runtime interface
4926 to make it easier to diagnose problems resulting from a mismatch
4929 2003-12-08 Patrik Torstensson <p@rxc.se>
4931 * Type.cs (GetMethod): Check type arguments within array
4932 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
4933 (same signature but different classes (derived level)
4935 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
4937 * Type.cs (MakeArrayType): Add argument checking.
4939 2003-12-06 Dick Porter <dick@ximian.com>
4941 * String.cs: Don't use CompareInfo for non-culture-sensitive
4942 IndexOf and LastIndexOf methods.
4944 2003-12-06 Ravindra <rkumar@novell.com>
4946 * DateTime.cs: Made Parse(string, IFormatProvider) method to
4947 use second argument. Fixed bug #51464.
4949 2003-12-04 Martin Baulig <martin@ximian.com>
4951 * Type.cs (Type.MakeArrayType): New public method.
4953 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4956 (BlockCopy): make the exception thrown helpful.
4958 2003-12-03 Dick Porter <dick@ximian.com>
4960 * String.cs: Calling Replace on an empty string returns itself.
4962 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
4964 * MonoType.cs: Get rid of get_type_info, use a separate icall for
4965 each property instead.
4967 2003-12-02 Dick Porter <dick@ximian.com>
4969 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
4970 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
4972 2003-12-01 Dick Porter <dick@ximian.com>
4974 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
4975 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
4977 2003-11-28 Dick Porter <dick@ximian.com>
4982 * Boolean.cs: Do string compares with the Invariant culture.
4984 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
4986 * Array.cs: make the enumerator ICloneable
4988 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
4990 * Decimal.cs (ToXXX): Call Convert.ToXXX.
4992 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
4994 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
4995 Implement Load(byte[]) methods.
4997 * BadImageFormatException.cs: Fix ToString.
4999 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
5001 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
5002 GetConstructor, as done by MS.
5004 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5006 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
5008 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
5010 * TypeInitializationException.cs: Added missing serialization constructor.
5012 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5014 * AppDomainSetup.cs: Don't add an extra '/' at the end of
5015 ApplicationBase. The tests pass now with mono.
5017 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
5019 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
5021 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5023 * Environment.cs: use Directory in CurrentDirectory property.
5024 We were not throwing any exception when setting the directory to an
5027 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5030 * Delegate.cs: implemented 1.1 stuff.
5033 * IntPtr.cs: removed extra attribute.
5034 * PlatformID.cs: added WinCE.
5036 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5039 (Equals): compare the fields of structs too.
5040 (GetHashCode): combine the hash code of all the fields.
5041 Fixes bug #50901 (will remove the icall in a couple of days).
5043 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5045 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
5047 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5049 * DateTime.cs: handle century when we try to parse 4-digit years and
5050 only 2 digits are present. Fixes bug #49394.
5052 2003-11-13 Miguel de Icaza <miguel@ximian.com>
5054 * Console.cs: On utf-8 consoles, use unmarked output.
5056 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5058 * IAppDomainSetup.cs:
5061 * Type.cs: Added missing attribute
5063 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
5065 * Environment.cs: Added internal method for getting the path to
5068 2003-11-12 Jackson Harper <jackson@ximian.com>
5070 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
5071 enum. This fixes the SWF build.
5073 2003-11-12 Miguel de Icaza <miguel@ximian.com>
5075 * PlatformID.cs: Remove Unix platform, we cant expose constants
5076 that are not in the framework.
5078 * OperatingSystem.cs: Adjust for the breakage.
5080 * RuntimeMethodHandle.cs: Fix signature.
5082 * Double.cs: Fix signature of TryParse.
5084 * String.cs (Concat (object, object, object, object)): Add missing method.
5086 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
5087 in the .NET Framework.
5089 * Enum.cs: Hide constructor.
5091 Fix ToUint16 to be explicitly implemented.
5093 * Console.cs: Add couple of extra missing methods (Write and
5094 WriteLine overloaded)
5096 2003-11-11 Miguel de Icaza <miguel@ximian.com>
5098 * AppDomain.cs, Activator.cs: New unimplmented entry points from
5099 1.1 (Com activation related).
5101 * Exception.cs: Formatting.
5103 * IServiceProvider.cs: Add ComVisible (true).
5105 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
5107 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
5109 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
5112 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
5114 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
5115 on MonoMethod instead of Invoke.
5117 2003-11-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5119 * DateTime.cs: Fixed Add* methods handling. Now it works properly
5120 with extreme values (there is a bug with Overflow and Underflow in
5123 2003-10-31 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5125 * DateTime.cs: Fixed a few format bugs.
5127 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
5129 * AppDomain.cs (InternalPushDomainRef): New icalls.
5131 * AppDomain.cs (InvokeInDomain): New method to execute code in a
5132 different appdomain.
5134 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
5136 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
5138 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
5140 * AppDomain.cs (IsFinalizingForUnload): Implement.
5142 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
5145 2003-10-25 Martin Baulig <martin@ximian.com>
5147 * MonoType.cs: Don't make this sealed.
5149 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
5151 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
5153 2003-10-24 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5155 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
5156 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
5158 2003-10-22 Dick Porter <dick@ximian.com>
5160 * DateTime.cs: Handle '-' as a date separator when parsing formats.
5162 2003-10-20 Duncan Mak <duncan@ximian.com>
5164 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
5165 and merge the two iterations into one.
5167 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
5169 * TypedReference.cs: Add new field used by the runtime.
5171 2003-10-15 Martin Baulig <martin@ximian.com>
5173 * Type.cs (Type.DeclaringMethod): For a generic method's type
5174 parameter, return this method - otherwise, return null.
5176 2003-10-14 Martin Baulig <martin@ximian.com>
5178 The generics API has changed in the spec since it was added here;
5179 these modifications make it match the spec again.
5182 (GetGenericParameters): Renamed to `GetGenericArguments'.
5183 (HasGenericParameters): Renamed to `HasGenericArguments'.
5184 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
5185 (IsGenericTypeDefinition): New property.
5186 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
5188 * MonoType.cs (ContainsGenericParameters): Implement this here;
5189 this is no interncall anymore.
5191 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5193 * Delegate.cs: add the method name to the exception when it cannot be
5195 * Exception.cs: fix nullref in Source.
5197 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
5199 * Array.cs: Add argument checking to GetValue and SetValue.
5201 2003-10-09 Miguel de Icaza <miguel@ximian.com>
5203 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
5204 should not be TimeSpan.MaxValue, because it overflow. Set this to
5207 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5209 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
5210 duplicate entry exception.
5212 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
5214 * DateTime.cs (ToString): Total rewrite, fixes #49358.
5216 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
5218 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
5220 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5223 (Equals): check that the object is an Enum before comparing the types.
5225 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5227 * Array.cs: reduced xsp allocated memory by 1/2.
5229 2003-09-25 Martin Baulig <martin@ximian.com>
5231 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
5232 since it was identical to GetGenericTypeDefinition().
5233 (Type.IsGenericInstance): New property.
5235 2003-09-24 Duncan Mak <duncan@ximian.com>
5237 * Math.cs (Abs): Fix double Locale.GetText bug reported by
5238 davejp@volny.cz. This fixes #48788.
5240 2003-09-14 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5242 * FloatingPointFormatter.cs: Add the necessary castings to char
5245 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5247 * FloatingPointFormatter.cs: Make the method calls more functional
5248 for protecting the values from different threads (make it more
5251 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5253 * FloatingPointFormatter.cs: Fix a bug with the negative value of
5256 2003-09-12 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5258 * FloatingPointFormatter.cs: Applied a lot of improvements in string
5259 construction, make use of Append/Insert with the "count" parameter.
5260 Thanks to Ben Maurer.
5262 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5264 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
5266 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
5269 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5271 * DoubleFormatter.cs: A few optimizations. Now, only one object
5272 is created to convert all double numbers.
5274 * SingleFormatter.cs: A few optimizations. Now, only one object
5275 is created to convert all float numbers.
5277 * FloatingPointFormatter.cs: Split the "number type parameters" from
5278 the "numver value and format parameters". The first ones are in the
5279 constructor and the others are in a method.
5281 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
5283 * Array.cs: Added argument checking to some NET_1_1 methods.
5285 2003-09-04 Martin Baulig <martin@ximian.com>
5287 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
5289 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5291 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
5292 taking 'longs'. All tests pass.
5294 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
5296 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
5297 Source. Remove MonoTODO attributes (class is 100% done). Also
5298 passes all Rotor tests for Exception!
5300 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
5302 * Enum.cs: Remove [MonoTODO]'s that had been completed.
5304 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5306 * String.cs: fixed bug #47802.
5308 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
5310 * String.cs: Created method FormatHelper that does formatting,
5311 using a StringBuilder.
5313 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5315 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
5317 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5319 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
5322 2003-08-11 Duncan Mak <duncan@ximian.com>
5324 * Environment.cs (Version): Return the same numbers as the MS
5327 2003-08-10 Miguel de Icaza <miguel@ximian.com>
5329 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
5330 replicated tests, and have a routine that does the heavy lifting.
5332 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
5334 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
5336 * Environment.cs: return $HOME for ApplicationData folder.
5338 2003-08-04 Duncan Mak <duncan@ximian.com>
5340 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
5341 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
5342 floating point values. This fixes bug #46175.
5344 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
5345 noted by c5n4kh6u02@sneakemail.com in
5346 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
5348 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
5350 * Double.cs: added icall Double.AssertEndianity.
5352 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
5354 * Type.cs, MonoType.cs: implemented generic-specific methods.
5356 2003-07-29 Miguel de Icaza <miguel@ximian.com>
5358 * Buffer.cs: Add new internal MemCopy call.
5362 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
5364 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
5365 to icalls, to avoid special cases in some call conventions.
5367 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5369 * Enum.cs: added Serializable attribute.
5371 2003-07-25 Duncan Mak <duncan@ximian.com>
5373 * AppDomain.cs (Equals):
5374 (GetHashCode): Removed because they do not need to be defined
5377 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5379 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
5380 cannot even get the type.
5382 2003-07-24 Miguel de Icaza <miguel@ximian.com>
5384 * Type.cs: Added generics stubs.
5386 2003-07-23 Duncan Mak <duncan@ximian.com>
5388 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
5389 as values for NET_1_1.
5390 (GetFolderPath): Return the empty string ("") for values of
5391 SpecialFolder that have no corresponding equivalents in
5392 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
5393 and "$HOME" for SpecialFolder.Personal.
5395 * IntPtr.cs (GetObjectData): Mark it as an interface
5396 implementation, instead of a public method.
5398 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
5400 * TypeLoadException.cs (GetObjectData):
5401 Create stubs for the fields that are being serialized.
5403 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
5405 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
5407 * Enum.cs: Fixed enum formatting. For flag enums, if one of
5408 the flags is unnamed, ToString() returns the integer value.
5410 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
5412 * Guid.cs: Fixed ToString (), was producing incorrect string.
5414 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5416 * AppDomainSetup.cs: fixed bug #46609.
5418 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
5420 * MonoType.cs: use an icall for IsPrimitiveImpl ().
5422 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
5424 * Guid.cs: faster ToString ().
5426 2003-07-15 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5428 * FloatingPointFormatter.cs: Few changes for get working Rotor
5431 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
5433 * Type.cs (IsAssignableFrom): Implement this as an icall since the
5434 runtime already includes the neccessary logic.
5436 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5438 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
5439 if it's present and get the full path for non-Uri paths.
5441 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
5443 * DateTime.cs: Fixed formatting of fractions of second.
5445 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
5447 * Console.cs: Turn off buffering for the streams returned by
5448 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
5450 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
5452 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
5453 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
5454 a new random number (although it is not needed), while mono did not.
5455 As a result, the sequence of random numbers could be different for the
5458 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
5460 * FloatingPointFormatter.cs: use dec_len2 as default precision.
5462 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
5464 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
5465 be done after the correspondig UTC offset has been applied.
5467 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
5469 * Object.cs: Object must have the Serializable attribute.
5470 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
5471 to the resulting date. Also fixed _ToString so now correctly formates the
5474 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
5476 * Enum.cs: fix race in cache (bug#41841).
5478 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
5480 * FloatingPointFormatter.cs: if the precision is not specified, use
5481 the default precision for the data type.
5483 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
5485 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
5486 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
5488 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5490 * MonoType.cs: don't throw nullref when the return type for a property
5491 is specified and the property doesn't have a get accessor.
5493 2003-06-10 Duncan Mak <duncan@ximian.com>
5495 * Array.cs (CreateInstance): Fixed a typo. It should throw
5496 ArgumentNullException instead of ArgumentException.
5498 2003-06-09 Duncan Mak <duncan@ximian.com>
5500 * Array.cs: Revert the last revert. I fixed it.
5501 (Sort): Put a try-catch block around qsort, and wrap whatever
5502 Exception we get into a InvalidOperationException.
5504 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
5506 * Array.cs: Revert last patch, it broke some other functionality.
5508 2003-06-08 Duncan Mak <duncan@ximian.com>
5510 * Array.cs: Throw more exceptions. This fixes the errors we see
5511 from the Rotor testsuite.
5513 (CreateInstance): Throw ArgumentNullException when the input are
5514 null. Throw ArgumentOutOfRangeException when bounds + length is
5515 greater than Int32.MaxValue.
5516 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
5517 the valid range of indices of array.
5518 (Sort): Throw InvalidOperationException when comparer is null and
5519 none of the elements in keys implements IComparable.
5521 2003-06-08 Duncan Mak <duncan@ximian.com>
5523 * Array.cs (CreateInstance): Throw a TypeLoadException if the
5524 Length of the input array 'lengths' is greater than 255 so that we
5525 won't see the g_assert that is in mono_array_class_get in class.c.
5527 This fixes bug #44304.
5529 2003-06-05 Nick Drochak <ndrochak@gol.com>
5531 * UnitySerializataionHolder.cs: Cleanups according to class status page
5533 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
5535 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
5536 RuntimeTypeHandle.cs: implemented the needed stuff to handle
5539 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
5541 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
5542 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
5543 for Ben Maurer after review and testing.
5545 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
5547 * Array.cs: Added better argument checking to Array.Sort ()
5548 * DBNull.cs: Made the conversions throw like they do in MS.
5550 2003-05-24 Philip Van Hoof <me@freax.org>
5552 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
5554 2003-05-21 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5556 * FloatingPointFormatter.cs: Take care with the explicit precision
5557 and round the number to that precision.
5559 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
5561 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
5563 2003-05-20 Philip Van Hoof <me@freax.org>
5565 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
5568 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
5570 * AppDomainSetup.cs: Added new field which is used to notify the
5571 runtime that the search path has changed.
5573 2003-05-18 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5575 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
5576 introduced the last change I've done.
5578 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
5580 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
5581 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
5582 behaving correctly).
5584 2003-05-17 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5586 * FloatingPointFormatter.cs: Fixed little format mismatches.
5588 2003-05-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5590 * FloatingPointFormatter.cs: Fixed "-0" result emited.
5592 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5594 * AppDomain.cs: Added null argument check in Load().
5595 * Activator.cs: fixed bug #39926.
5597 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5599 * Enum.cs: fixed bugs #41522 and #42879.
5601 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
5603 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
5604 undocumented MS behaviour.
5606 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5608 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
5611 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5613 * String.cs: fixed bug #41411 and another similar problem in
5614 LastIndexOf (string).
5616 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5618 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
5621 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
5623 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
5624 construction if the delegate list only has one element.
5626 2003-05-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5628 * Environment.cs: Changed the method GetFolderPath because it must
5629 return at least a directory name (not null).
5631 * Convert.cs: In ToType, if the destination type is unknown, try to
5632 cast the value to object (then, the calling method will downcast it
5633 to the type it wants).
5635 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5637 * Enum.cs: fixed bug #41522.
5639 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
5641 * Enum.cs: protect with the lock also the lookup (bug #41841).
5643 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
5645 * MonoType.cs: allow a null name if InvokeMember is called with
5646 BindingFlags.CreateInstance set.
5648 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5650 * Enum.cs: reverted my previous patch.
5652 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5654 * Enum.cs: fixed bug #41841.
5656 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5659 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
5661 2003-04-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5663 * FloatingPointFormatter.cs: Little fixes for get the same results
5664 as MS.NET and show a message when something goes wrong with the
5665 parser of Custom Formats.
5667 2003-04-22 Nick Drochak <ndrochak@gol.com>
5669 * Double.cs (ToString):
5670 * Single.cs (ToString): Handle case where param is a CultureInfo.
5672 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
5674 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
5675 ValueType::Equals() icalls static non-virtual, so they can be called
5676 by the code in RuntimeHelpers.
5678 2003-04-18 Miguel de Icaza <miguel@ximian.com>
5680 * Delegate.cs (operator ==): Do not crash if the second argument
5681 is null. Bug fix submitted by Juan Cri.
5683 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
5685 * Array.cs: Deleted the exception in Array.Initialize(), it looks
5686 like the method do nothing for C#, is still a MonoTODO until
5687 we find a compiler that uses that.
5689 2003-04-14 Miguel de Icaza <miguel@ximian.com>
5691 * Delegate.cs (Delegate): Seems like a typo, we were checking the
5692 a field rather than the argument
5694 * MonoType.cs: Make GetNestedType an external method implementation.
5696 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5698 * Enum.cs: fixed bug #41294.
5700 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5702 * DateTime.cs: fixes bug #40910, part 2.
5704 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
5706 * String.cs (Equals): avoid the internal call, code cleanups
5708 2003-04-11 Alan Tam <Tam@SiuLung.com>
5710 * Convert.cs: fixed bug #41085.
5712 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
5714 * AppDomain.cs: Added internal method for getting process guid.
5716 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
5718 * Array.cs: Little fix to compare () method.
5720 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
5722 * String.cs (Equals): Add trivial optimization.
5724 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5726 * DateTime.cs: fixed bug #40910.
5728 2003-04-05 Miguel de Icaza <miguel@ximian.com>
5730 * Console.cs: Make stderr, stdout and stdin use synchronized
5731 versions of the their readers/writers.
5733 2003-04-04 Dick Porter <dick@ximian.com>
5735 * Version.cs: Make operator== and operator!= cope with null
5736 objects. Didn't change operator<, operator<=, operator> or
5737 operator>= because its not meaningful to use those to compare
5738 against null, and throwing a NullReferenceException is probably
5739 the best thing to do there anyway.
5743 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5745 * AppDomain.cs: fixed InvalidCastException.
5747 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
5749 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
5750 type checks and let it decide whenever a fast copy is possible.
5752 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5755 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
5757 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
5759 * Activator.cs (CreateInstance): Call GetConstructor with the right
5760 arguments so the nonPublic argument is handled correctly.
5762 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5764 * Type.cs: fixed bug #40123.
5766 2003-03-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5768 * FloatingPointFormatter.cs: Fixed some bugs for get the same
5769 results than MS.NET. Added simple error recovering, now ToString
5770 will return a general format if there is any exception in the
5771 process of formatting. This make the library more robust while the
5772 formatters are refined.
5774 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5776 * FloatingPointFormatter.cs: Added support for group separators.
5778 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5781 * Double.cs: Apply changes of .ToString methods.
5782 * SingleFormatter.cs:
5783 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
5784 * FloatingPointFormatter.cs: New class. Implementation of double and
5785 single formatters. It is unified now and parametrized with precission
5788 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
5790 * AppDomain.cs: fixes bugs #39380 and #39331.
5792 2003-03-06 Nick Drochak <ndrochak@gol.com>
5794 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
5796 2003-03-04 Dick Porter <dick@ximian.com>
5799 * Double.cs: Temporarily reverted the Double and Single ToString()
5800 change, because it broke nunit.
5803 2003-03-04 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5805 * Double.cs: Changed ToString method. Added NumberFormatInfo support
5806 with DoubleFormatter class.
5807 * Single.cs: Changed ToString method. Added NumberFormatInfo support
5808 with SingleFormatter class.
5809 * DoubleFormatter.cs: New class with Double formatting functions.
5810 * SingleFormatter.cs: New class with Single formatting functions.
5812 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
5814 * Activator.cs: Added support for activation using activation attributes.
5815 * AppDomain.cs: Added internal method to get the default context from the runtime.
5817 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
5819 * DateTime.cs: FileTime is expressed in Universal time, and as such must
5820 be converted before subtracting the magic offset.
5821 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
5822 the timezone at the end) *must* be parsed by DateTime.Parse() for
5823 compatibility with Microsoft.
5825 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5828 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
5831 * IntPtr.cs: added serialization .ctor
5833 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5835 * AppDomain.cs: check for null in Unload and changed method name.
5837 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5839 * MonoCustomAttrs.cs: fixed bug #38238.
5841 2003-02-17 Martin Baulig <martin@ximian.com>
5843 * Exception.cs (Exception.ToString): Print a newline between the
5844 exception message and the stack trace.
5846 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5848 * AppDomain.cs: implemented GetCurrentThreadId ().
5850 2003-02-14 Patrik Torstensson
5852 * Exception.cs: Fixed message output formating
5854 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5857 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
5859 2003-02-12 Miguel de Icaza <miguel@ximian.com>
5861 * Type.cs: IsClass should return false for Enumerations
5863 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5865 * MonoCustomAttrs.cs: return the correct array type in the short case.
5868 2003-02-08 Pedro MartÃenz Juliá <yoros@wanadoo.es>
5870 * Math.cs: Fix a few methods (like Round) and add with comments the
5871 new methods: BigMul and DivRem that were in ECMA specs.
5873 2003-02-07 Patrik Torstensson
5875 * Exception.cs: Fixed formating
5877 2003-02-05 Patrik Torstensson
5879 * AppDomain.cs: Partly fixed the unload method
5881 2003-02-04 Patrik Torstensson
5883 * AppDomain.cs: Fixed lease issue with appdomain
5885 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
5887 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
5888 InitializeLifetimeService().
5890 2003-02-03 Patrik Torstensson
5892 * AppDomain.cs: New internalcalls for handling domain/context switches
5893 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
5895 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5897 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
5898 and ClearShadowCopyPath and fixed GetType ().
5900 * Attribute.cs: clean up.
5902 * Console.cs: removed UnixConsoleEncoding. Use Default.
5904 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5906 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
5907 GetCustomAttributes later.
5909 2003-01-31 Patrik Torstensson
5911 * Buffer.cs: Changed access level of BlockCopyInternal
5913 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
5915 * String.cs, IntegerFormatter.cs: use const where appropriate.
5917 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5919 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
5922 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5924 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
5925 The argument ICustomAttributeProvider can be of other types different
5926 from Type. Handle it.
5928 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
5930 * DateTime.cs: fix FromFileTime so the time returned by
5931 File::GetLastModificationTime etc. is in the correct timezone.
5933 2003-01-28 Patrik Torstensson
5934 * Exception.cs: reverted formating/endline changes (sorry guys)
5936 2003-01-28 Patrik Torstensson
5938 * MarshalByRefObject.cs: implemented GetObjectIdentity
5939 * Exception.cs: added support for remote exceptions
5941 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5943 * DateTime.cs: fixed bug #37225.
5945 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5947 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
5949 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
5951 * AppDomain.cs: Added DoTypeResolve method which will be called by
5952 the runtime to raise TypeResolve events.
5954 2003-01-27 Duncan Mak <duncan@ximian.com>
5956 * Enum.cs (ToType): Implement this using Convert.ToType.
5958 2003-01-21 Miguel de Icaza <miguel@ximian.com>
5960 * Math.cs: Remove Pow's implementation body as it was wrong. The
5961 C code does the right thing. The code was trying to handle a
5962 number of cases, and that was incorrect.
5964 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5966 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
5969 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5971 * Enum.cs: added caching to GetInfo.
5973 2003-01-23 Dick Porter <dick@ximian.com>
5975 * Environment.cs (System): Implemented ExitCode
5977 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
5979 * Type.cs (IsInstanceOfType): fixed regression caused by the change
5982 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5984 * MonoType.cs: re-added lines that were removed in the previous commit.
5986 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
5988 * Type.cs: corrected property IsSerializable. It should always return
5989 true for enums and delegates
5990 * MonoType.cs: added serialization support.
5991 * Delegate.cs: added serialization support.
5992 * DBNull.cs: added serialization support.
5993 * UnitySerializationHolder.cs: supports serialization of Assembly,
5994 MonoType and DBNull.
5995 * DelegateSerializationHolder.cs: added.
5997 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5999 * Exception.cs: changed default message to match MS one.
6001 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
6003 * String.cs: Fixed bug with CompareOrdinal
6005 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6007 * Enum.cs: implements IFormattable.
6009 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6011 * AppDomain.cs: implemented DoCallBack method.
6013 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
6016 NUnit2 tests start moving.
6018 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6020 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
6021 instantiate an abstract class.
6023 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6026 (IsSubclassOf): return false when null. Use != instead of Equals.
6028 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6030 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
6032 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
6034 * MonoType.cs: fixed Namespace property for nested types.
6036 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
6038 * MonoCustomAttrs.cs: create properly typed arrays when returning
6039 arrays of attributes of a given type.
6041 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
6043 * MonoType.cs: fixed MemberType property for nested types.
6045 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6047 * String.cs: fixed bug #36209.
6049 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
6051 * Activator.cs: implemented method GetObject.
6053 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
6055 * Activator.cs: Since the documentation indicates the method
6056 either succeeds or throws one of the listed exceptions, we weren't
6057 expecting that CreateInstance might be returning null.
6059 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
6061 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
6063 * MarshalByRefObject.cs: implemented CreateObjRef.
6065 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6067 * DateTime.cs: fixed bug #30076.
6068 * TimeZone.cs: provide the parameter name in a exception.
6070 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6072 * DecimalFormatter.cs: fixed bug #35560.
6074 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
6076 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
6078 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6080 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
6081 nulls. Fixes #34909.
6083 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6085 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
6086 returns a non-null assembly.
6088 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6090 * MulticastDelegate.cs: make GetInvocationList work for more than 1
6093 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6095 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
6096 if this is the correct order of invocation.
6098 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6100 * Type.cs: changed the signature of internal_from_name. Modified
6101 the overloads of GetType to use it and check the typeName argument.
6102 Implemented FindInterfaces.
6104 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6106 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
6107 some obscure reasons (try make -f makefile.gnu using a corlib which has
6108 the modified version).
6110 2002-11-26 Miguel de Icaza <miguel@ximian.com>
6112 * String.cs (Concat): Reduce the number of compares required.
6114 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
6116 * Activator.cs: throw a MissingMethodException if the default
6117 constructor is not found in CreateInstance.
6119 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6122 (Equals (str, str)): use 'as' instead of casting to object.
6123 (Equals (obj)): check the length of the strings (until now,
6124 "Hello".Equals ((object) "Hellow World!) was true!).
6126 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6128 * MonoType.cs: implemented GetEvent (name, flags).
6130 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6132 * AppDomain.cs: implemented a couple of methods called from the runtime
6133 to fire AssemblyLoad and AssemblyResolve events.
6135 2002-10-31 Dick Porter <dick@ximian.com>
6137 * Environment.cs: MonoIO methods now have an error parameter
6139 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
6141 * Enum.cs: Added support for whitespaces in Enum:Parse().
6143 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6145 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
6146 internal call. Closes bug #32992.
6148 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6150 * Exception.cs: display the inner exception, if any, in ToString ().
6152 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6154 * Environment.cs: fixed StackTrace property.
6156 2002-10-16 Nick Drochak <ndrochak@gol.com>
6158 * Enum.cs (Parse): Then fix the code so that it works too.
6160 2002-10-15 Nick Drochak <ndrochak@gol.com>
6162 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
6164 2002-10-12 Nick Drochak <ndrochak@gol.com>
6166 * IntegerFormatter.cs: Fix compiler warnings.
6168 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
6170 * Type.cs (GetConstructors): Use the correct flags.
6172 2002-10-09 Nick Drochak <ndrochak@gol.com>
6174 * IntegerFormatter.cs: Suppress insignificant leading zeros
6176 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
6178 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
6179 <stonewell@21cn.com> to return also derived types.
6181 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6183 * Activator.cs: little fix in CreateInstance (Type, bool).
6185 2002-09-19 Duncan Mak <duncan@ximian.com>
6187 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
6188 I18N/Common from building right now.
6190 2002-09-19 Nick Drochak <ndrochak@gol.com>
6192 * Array.cs (CopyTo): Account for Object type and base (primitive) types
6193 * Type.cs (IsAssignableFrom): return false for a null parameter
6195 2002-09-19 Nick Drochak <ndrochak@gol.com>
6197 * Array.cs (CopyTo): Check that source type can be cast automatically
6198 to the destination type.
6200 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6202 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
6205 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6207 * Char.cs: implemented ToString (char)
6208 * IntegerFormatter.cs: made it internal.
6210 2002-09-13 Nick Drochak <ndrochak@gol.com>
6212 * Enum.cs (Format): handle the "d" format for both signed and unsigned
6215 2002-09-12 Dick Porter <dick@ximian.com>
6217 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
6218 attribute, as there doesn't appear to be any struct
6219 layout-depending code here (and corcompare says it should be
6220 LayoutKind.Sequential)
6222 * Decimal.cs: Stub out missing methods, add
6223 [DecimalConstantAttribute] to the constant fields (as shown by
6226 * LocalDataStoreSlot.cs:
6229 * Array.cs: Stub out missing methods.
6231 * TypedReference.cs:
6232 * ArgIterator.cs: Stub out
6234 * AppDomainSetup.cs:
6235 * AppDomain.cs: Stub out missing methods, add missing
6236 ClassInterface(ClassInterfaceType.None) attribute.
6238 2002-09-12 Nick Drochak <ndrochak@gol.com>
6240 * Double.cs (ToString): Throw exception when "X" format is passed in.
6242 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
6244 * MonoType.cs: implemented Module property.
6246 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
6248 * MonoType.cs, Type.cs: implemented InvokeMember.
6250 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
6252 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
6253 type. Check the method signature matches.
6255 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
6257 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
6259 2002-09-06 Miguel de Icaza <miguel@ximian.com>
6261 * Console.cs: Specify an encoder, otherwise we will get the UTF8
6262 encoder that by default emits the byte markers.
6264 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
6266 * Delegate.cs: look also for non-public methods until we have the
6267 security checks in place.
6269 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
6271 * MonoType.cs: consider also the full name in GetInterface.
6273 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
6275 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
6276 GetMethodImpl using the binder.
6277 * Type.cs: GetConstructorImpl/GetConstructor fixes.
6279 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
6280 * Enum.cs: Get rid of warning CS0162.
6282 2002-09-04 Miguel de Icaza <miguel@ximian.com>
6284 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
6285 actual value instead of public.
6287 * LocalDataStoreSlot.cs: Make constructor internal.
6289 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
6290 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
6293 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
6294 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
6297 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6299 * DateTime.cs: fixed buglet.
6301 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
6303 * MonoType.cs: speedup access to common data.
6305 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6307 * Double.cs: implemented TryParse.
6309 * Math.cs: PowImpl is now private.
6311 * MissingFieldException.cs: implemented Message.
6313 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
6315 * _AppDomain.cs: Uncommented ToString.
6317 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6320 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
6322 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6324 * ArgumentException.cs: use the field instead of the property for
6327 * ArgumentOutOfRangeException.cs: modified Message.
6330 (_DoParse): throw out of range exception for year. Removed check
6331 for month (it's done in the constructor).
6333 2002-08-21 Miguel de Icaza <miguel@ximian.com>
6335 * Environment.cs: Implemented OSVersion property.
6337 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
6339 * Exception.cs: set stack_trace to null
6341 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
6343 * AppDomain.cs: implemented ToString().
6345 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6347 * AppDomain.cs: securityInfo can be null in CreateDomain.
6349 2002-08-19 Dick Porter <dick@ximian.com>
6351 * MonoType.cs: Add a space before the Assembly name in
6352 AssemblyQualifiedName (needed for resource files so the MS runtime
6355 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6357 * AppDomain.cs: parameter name when throwing ArgumentNullException.
6359 * ArgumentException.cs: modified Message to do what MS does.
6361 * ArgumentNullException.cs: don't use {0} in message.
6363 * Exception.cs: use Message property in ToString ().
6365 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
6367 * WeakReference.cs: Changed the constructor and GetObjectData
6368 method needed for ISerializable implementation in order to be
6369 compatible with SOAP generated by MS.
6371 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
6373 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
6375 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
6377 * Exception.cs (ToString): changed the ouput format.
6379 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
6381 * MonoType.cs: moved get_method icall to this class, we can
6382 remove it as soon someone provides a full featured GetMethodImpl.
6384 * Type.cs: use GetMethodImpl everywhere.
6386 * Delegate.cs: new CreateDelegate implementations.
6388 2002-08-06 Tim Coleman <tim@timcoleman.com>
6390 Fix bug #28582. Now checks parameters for properties
6393 2002-08-04 Nick Drochak <ndrochak@gol.com>
6395 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
6397 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6400 (FormatSpecifier): allow white space between the comman and the width
6403 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6408 * UInt64.cs: fixed bug #28050. May be a MS bug?
6410 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
6412 * MonoType.cs: fix IsArrayImpl.
6414 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6416 * String.cs: make ToLower (culture) and ToUpper (culture) use the
6417 default ToLower and ToUpper and don't throw NotImplemented.
6419 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
6421 * Type.cs: make GettTypeCode an icall. Test implementation of
6424 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6426 * AppDomainSetup.cs: implemented LoaderOptimization.
6428 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6430 * Activator.cs: some more intermediate results checking in
6431 in CreateInstance and CreateInstanceFrom and use GetConstructor and
6432 Invoke only with Type [] until the other overloaded versions work.
6434 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6436 * Activator.cs: reformatted. Implemented CreateInstance* methods
6437 that return ObjectHandle.
6439 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
6441 2002-07-03 Nick Drochak <ndrochak@gol.com>
6443 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
6444 the divisor is not) and avoid the icall, which seems to have a bug.
6446 2002-07-03 Nick Drochak <ndrochak@gol.com>
6448 * Double.cs (CompareTo): Correctly handle the case where the instance
6449 is NaN. Also return 0 if the values are equal.
6451 2002/07/03 Nick Drochak <ndrochak@gol.com>
6453 * MissingMethodException: Add missing Message property
6454 * MissingMemberException: Add missing Message property
6456 2002-06-30 Nick Drochak <ndrochak@gol.com>
6458 * Double.cs (CompareTo): Just see which is bigger. Don't use the
6459 subtraction trick, it doesn't work when the values have a diference of
6462 * Single.cs (CompareTo): same
6464 2002-06-27 Martin Baulig <martin@gnome.org>
6466 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
6467 constructor argument. [FIXME: The implicit conversion to an
6468 unsigned integer doesn't work with mcs.]
6470 2002-06-26 Martin Baulig <martin@gnome.org>
6472 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
6473 not `S = System'. This file now compiles with mcs.
6475 * String.cs: Removed the already ifdef-outed __arglist Concat function
6476 to make it compile with mcs.
6478 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6480 * IntegerFormatter.cs:
6481 (FormatParse.FormatNumber): fixed custom format for negative numbers.
6483 2002-06-21 Martin Baulig <martin@gnome.org>
6485 * Double.cs: Replace the private `enum State' with constants since this
6486 will avoid some bigger headaches in mcs.
6488 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
6490 * TimeSpan.cs: do not pollute the namespace with the
6493 2002-06-18 Nick Drochak <ndrochak@gol.com>
6495 * ArgumentException.cs: Use the message given in the constructor when
6496 accessing the Message property. Thanks to Dietmar for the help with
6499 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
6501 * MonoType.cs: GetField is now a InternalCall
6503 2002-06-13 Nick Drochak <ndrochak@gol.com>
6505 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
6506 sortable format(s), e.g. "2002-02-25"
6508 2002/06/12 Nick Drochak <ndrochak@gol.com>
6510 * Random.cs (Next): Fix math error. Return a number within the range.
6512 2002-06-12 Nick Drochak <ndrochak@gol.com>
6514 * String.cs (IndexOf): Return -1 if start index is equal to string
6517 2002-06-10 Duncan Mak <duncan@ximian.com>
6519 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
6520 (ToType): Added null field in conversionTable to avoid
6521 IndexOutOfRangeException. Changed what exceptions we throw to match
6524 2002-06-11 Nick Drochak <ndrochak@gol.com>
6526 * Int64.cs (Parse): Added unique strings to the messages where we throw
6527 a FormatException. Needed these to debug, so just left them in since
6528 they might be useful later. Fixed Currency parsing where we weren't
6529 looking at CurrencyDecimalSeparator, etc.
6531 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
6533 * DateTime.cs: fixes to pass tests M0 to M6:
6534 if yy pattern then year values >= 30 are in 20th century
6535 rfc1123 pattern is always in GMT, therefor useutc must be false
6536 made GetNow() internal static so it can be called from TimeZone.
6537 * TimeZone.cs: removed dependency on year 2002 from initialization of
6540 2002-06-09 Duncan Mak <duncan@ximian.com>
6542 * Convert.cs (ToType): Rearranged what Exceptions we throw to
6545 2002-06-08 Duncan Mak <duncan@ximian.com>
6547 * Decimal.cs: Added support for the IConvertible interface.
6549 2002-06-08 Martin Baulig <martin@gnome.org>
6551 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
6552 doesn't necessarily need to be of the enum's underlying type.
6554 2002/06/07 Nick Drochak <ndrochak@gol.com>
6556 * String.cs: Add [Serializable] to class
6557 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
6559 2002-06-04 Nick Drochak <ndrochak@gol.com>
6561 * Double.cs (Parse): Recognize the group separator string, but still we
6562 don't check the format for the proper number of digits between
6563 separators. Also throw OverflowException when we get Pos or Neg
6564 Infinity from runtime.
6566 2002-06-03 Duncan Mak <duncan@ximian.com>
6568 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
6570 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
6572 * Type.cs: fixed GetTypeCode.
6574 2002-06-02 Duncan Mak <duncan@ximian.com>
6576 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
6577 cast from an int so that we throw OverFlowException correctly.
6579 (ToInt64): Use a new 64bit version of ConvertToBase.
6581 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
6582 and Int32.MaxValue).
6584 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
6586 2002-06-02 Nick Drochak <ndrochak@gol.com>
6588 * Convert.cs (ToSByte): Check for special value.
6589 * Single.cs (Parse):
6590 * UInt16.cs (Parse):
6591 * UInt32.cs (Parse): Throw OverflowException if negative
6593 2002-06-02 Duncan Mak <duncan@ximian.com>
6595 * Convert.cs (DBNull): Point it to DBNull.Value.
6596 (IsDBNull): Instead of checking typecodes, just check to see if
6597 it's the same as the DBNull field.
6599 2002-06-02 Nick Drochak <ndrochak@gol.com>
6601 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
6603 2002-06-02 Duncan Mak <duncan@ximian.com>
6605 * Char.cs (Parse): Simplify the Exception handling.
6607 * Convert.cs (ToDecimal): Remove call to Math.Round () when
6608 converting from a float.
6610 2002-05-30 Martin Baulig <martin@gnome.org>
6612 * MonoType.cs (GetInterface): Implemented.
6614 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
6616 * Activator.cs: implemented CreateInstance ().
6618 2002-05-22 Duncan Mak <duncan@ximian.com>
6620 * Convert.cs (ConvertToBase): Added new 64bit version.
6621 (BuildConvertedString64): New 64bit version of
6622 BuildConvertedString.
6624 This fixes bug 25068.
6626 (ConvertFromBase): Added additional test for checking if the
6627 digits are valid. Thanks to Miguel for coming up with this test.
6629 This fixes bug 25071.
6631 2002-05-21 Duncan Mak <duncan@ximian.com>
6633 * Convert.cs (ToType): Rearranged to fit the new layout of
6636 (conversionTable): Rearranged to fit the layout of the
6637 System.TypeCode enum.
6639 This should fix bug 25075.
6641 2002-05-21 Duncan Mak <duncan@ximian.com>
6643 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
6644 mixed up the two code paths, one for converting to a specific base
6645 (this case), another from converting from a foreign base to base10
6646 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
6648 * Convert.cs (ToByte)
6649 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
6650 that we won't confuse FormatException with OverflowException.
6652 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
6654 * Environment.cs: CommandLine missed spaces between arguments.
6655 Implemented StackTrace. Returning MachineName in UserDomainName
6658 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
6660 * MonoCustomAttrs.cs: handle inherit argument.
6662 2002-05-21 Nick Drochak <ndrochak@gol.com>
6664 * Math.cs (Pow): Change icall method name and insert parameter
6665 checks in for infinities and NaN.
6667 2002-05-13 Miguel de Icaza <miguel@ximian.com>
6669 * Double.cs (Parse): Reimplement by cleaning up the string first,
6670 and then passing to strtof in the mono runtime.
6672 * Single.cs (Parse): Use the Double implementation and cast to
6675 2002-05-21 Nick Drochak <ndrochak@gol.com>
6678 (Ceiling): Check for "special" values
6679 (Floor): Check for "special" values
6680 (Round): Fix off-by-one error on decimal shifting
6682 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
6684 * DateTime.cs: ToString () using "G" format specifier
6686 2002-05-19 Martin Baulig <martin@gnome.org>
6688 * Convert.cs (FromBase64CharArray): Do correct exception handling.
6690 2002-05-19 Martin Baulig <martin@gnome.org>
6692 * Convert.cs (FromBase64CharArray): Convert the char array using
6693 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
6696 2002-05-17 Miguel de Icaza <miguel@ximian.com>
6698 * MonoType.cs: Style changes.
6700 * Type.cs: Style changes.
6702 2002-05-16 Piers Haken <piersh@friksit.com
6704 * UInt64.cs: fix declaration of IConvertible.To* overrides.
6706 2002-05-16 Nick Drochak <ndrochak@gol.com>
6708 * BitConverter.cs (ToString): Add parameter check for invalid start
6711 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
6712 now that StreamWriter uses buffering
6714 2002-05-14 Miguel de Icaza <miguel@ximian.com>
6716 * Double.cs: Oops. Also handle exponents without finding a dot.
6718 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6720 * ChangeLog: removed empty entry at the top of the file.
6722 * Int32.cs: made static functions used by Parse internal.
6726 * UInt64.cs: removed static fucntions used by Parse and use the ones
6729 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
6731 * IServiceProvider.cs: added using System
6733 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
6735 * Single.cs: copied ToString() and Parse() methods from
6736 Double to Single and modified a tiny bit for Single.
6737 There is still a FIXME for Double and Single about
6738 passing the format and provider info to the icall too.
6740 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6745 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
6746 Don't use a delegate to test for valid digits.
6748 2002-05-01 Duncan Mak <duncan@ximian.com>
6751 * Math.cs: Added missing CLSCompliant attributes where necessary.
6753 2002-04-30 Duncan Mak <duncan@ximian.com>
6755 * ArgumentException.cs (Message):
6756 * ArgumentOutOfRangeException.cs (Message): Added.
6758 2002-04-30 Nick Drochak <ndrochak@gol.com>
6760 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
6762 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
6764 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
6766 2002-04-28 Duncan Mak <duncan@ximian.com>
6768 * DivideByZeroException.cs: Added missing serialization constructor.
6770 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
6772 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6774 * Math.cs: fix Floor () and Round (). Closes #23960.
6776 2002-04-27 Nick Drochak <ndrochak@gol.com>
6778 * Array.cs (IList.Contains): Should throw a RankException if this is
6779 called on a Rank > 1 array. Not in the docs, but this is what the
6782 2002-04-26 Duncan Mak <duncan@ximian.com>
6784 * MissingMemberException.cs: Made the message variable 'protected'
6785 instead of 'private', so that we can see it in
6786 MissingMethodException and MissingFieldException.
6788 * MissingFieldException.cs:
6789 * MissingMethodException.cs: Added missing (string, string)
6790 constructor, and also the Message property.
6792 2002-04-26 Martin Baulig <martin@gnome.org>
6794 * Enum.cs: Implemented the IConvertible methods.
6796 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6798 * SByte.cs: little change in Parse (string) to avoid incorrect
6799 OverflowException thrown (reported by nickd).
6801 2002-04-22 Miguel de Icaza <miguel@ximian.com>
6803 * ValueType.cs: Add Serializable attribute.
6805 * String.cs: ifdef-out out the __arglist Concat function until I
6806 add support for that to mcs.
6808 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
6810 * AppDomain.cs (GetValue): usage of the correct icall (bug)
6812 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
6814 * GC.cs: implement most of the methods as icalls.
6816 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6818 * DecimalFormatter.cs (ToString): return correct value when the
6819 decimal number is 0.
6821 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
6823 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
6824 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
6826 2002-04-24 Nick Drochak <ndrochak@gol.com>
6828 * Double.cs (Parse): Handle case where there are no digits before the
6829 decimal point, such as ".1".
6831 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6836 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
6838 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
6840 * String.cs (Split): fixed invalid split of count 0 and 1.
6842 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
6844 * String.cs (LastIndexOf): fixed argument checking.
6845 * String.cs (Equals): made internal for performace.
6847 2002-04-23 Nick Drochak <ndrochak@gol.com>
6849 * String.cs (Join): check argument and throw exception if needed
6851 2002-04-23 Nick Drochak <ndrochak@gol.com>
6853 * String.cs (StartsWith): check argument and throw exception if needed
6855 2002-04-22 Nick Drochak <ndrochak@gol.com>
6857 * String.cs (IndexOfAny): check arguments and throw exceptions as
6858 neccessary. ALso remove some debug WriteLines.
6860 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
6862 * String.cs: use internal constructors
6865 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
6867 * MonoType.cs: make GetElementType its own icall.
6869 2002-04-18 Nick Drochak <ndrochak@gol.com>
6871 * String.cs: Modified file. Re-add methods needed by the unit tests.
6873 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
6875 * String.cs: some code speedups and restored GetTypeCode().
6877 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
6879 * String.cs: New implementation using internal calls.
6881 2002-04-16 Nick Drochak <ndrochak@gol.com>
6883 * DecimalFormatter.cs: Trim off excess null characters from the string
6884 that decimal2string gives back.
6886 2002-04-16 Nick Drochak <ndrochak@gol.com>
6888 * String.cs (SubString): revert my change. I can't reproduce the
6891 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6893 * Attribute.cs: added GetHashCode and Equals.
6895 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6897 * Enum.cs: little improvements to Format ().
6899 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
6901 * String.cs: internalcall GetHashCode().
6902 * Array.cS: optimize access to elements.
6904 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
6906 * String.cs: make IndexOfAny() use an internalcall.
6908 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6913 * UInt64.cs: fixed error when testing for validity of flags.
6915 2002-04-11 Nick Drochak <ndrochak@gol.com>
6917 * Double.cs: Use an internal call for ToString(). This is just a simple
6918 implementation to get away from throwing a NotImplementedException.
6920 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6925 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
6929 * Int64.cs: throw an OverFlowException when parsing a string
6930 containing a dot followed by any non '0' number.
6932 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6937 * UInt64.cs: added complex Parse ().
6939 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6944 * Int64.cs: added complex Parse ().
6946 2002-04-09 Nick Drochak <ndrochak@gol.com>
6948 * Array.cs (BinarySearch): Add checks on paramters before using them
6949 and throw exceptions as needed.
6951 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
6952 "G" format to "F" if so.
6954 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
6956 * MonoCustomAttrs.cs: return arrays of type Attribute[]
6957 instead of object[].
6959 2002/04/09 Nick Drochak <ndrochak@gol.com>
6961 * String.cs (Substring): Copy only non-null characters to the new
6964 2002-04-09 Nick Drochak <ndrochak@gol.com>
6966 * IntegerFormatter.cs: Don't use a format character to indicate a
6967 custom format was passed in. It was using 'z' to indicate a custom
6968 format, but really it should throw a format exception if the user
6969 tries to use "z" as the format string. Now it does.
6971 * Activator.cs: New File.
6973 2002-04-08 Nick Drochak <ndrochak@gol.com>
6975 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
6976 applied to an enum. Need to handle the different possible integer
6977 types of an enum somehow. Can anyone say generics?
6979 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
6981 * Convert.cs: switched the To*(object) methods to use
6982 IConvertible directly instead of calling ChangeType
6984 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
6986 * ValueType.cs: make Equals() an internalcall.
6988 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
6990 * Type.cs: also look for nested types in FindMembers.
6991 * MonoType.cs: make GetNestedTypes() an internalcall.
6993 2002-04-05 Nick Drochak <ndrochak@gol.com>
6995 * Enum.cs (Parse): Handle different underlying types.
6997 2002/04/04 Nick Drochak <ndrochak@gol.com>
6999 * Enum.cs (IsDefined): Throw exception when type of value to look for
7000 is not the correct one. Attempt to have it work with string values
7001 too, but not sure if the unit tests are getting that far yet.
7003 2002-04-04 Nick Drochak <ndrochak@gol.com>
7005 * Decimal.cs: Fix a couple of typos.
7007 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
7009 * Enum.cs: the values array is of the enum and not of the underlying
7010 type. Updates and some bug fixes.
7011 * MonoType.cs: make the internalcall return FullName instead of the
7012 assembly qualified name.
7013 * Type.cs: make ToString () simply return FullName.
7015 2002-04-03 Nick Drochak <ndrochak@gol.com>
7017 * Type.cs (GetTypeCode): provide some of the implementation for this
7018 method. It's still too simplistic to be considered complete.
7020 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
7022 * Object.cs: fixed FieldGetter/FieldSetter signature
7024 2002-04-02 Nick Drochak <ndrochak@gol.com>
7026 * Environment.cs: add MonoTODO's on parts that should have it.
7028 2002-04-01 Nick Drochak <ndrochak@gol.com>
7030 * Enum.cs: added reality checks (check parameters to most methods that
7033 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
7035 * Object.cs: added FieldGetter/FieldSetter
7037 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7039 * IntegerFormatter.cs: fixed initialization error in static
7042 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
7044 * Delegate.cs: added new field to store a trampoline function
7046 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7048 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
7049 make custom format strings work (not fully functional yet).
7051 2002/03/28 Nick Drochak <ndrochak@gol.com>
7053 * IntegerFormatter.cs: Change class from internal to public. Add
7054 necessary [CLSCompliant(false)] attributes.
7056 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
7057 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
7060 2002-03-28 Nick Drochak <ndrochak@gol.com>
7062 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
7064 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
7066 * Console.cs: Modified to get std handles from MonoIO.
7067 * Environment.cs: removed PAL dependencies.
7069 2002-03-25 Miguel de Icaza <miguel@ximian.com>
7071 * String.cs (System): Removed internal enumeration, because
7072 bootstrapping the corlib at this point does not support
7075 * IntPtr.cs: Temporary work-around until I fix the assembly
7078 2002-03-24 Martin Baulig <martin@gnome.org>
7080 * Enum.cs (GetValues): According to the docu this is sorted after
7083 * String.cs (System): Removed enumeration, because it is pretty
7084 hard to support enumerations in /nostdlib mode for the core types.
7086 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
7088 * Array.cs: move error handling in the catch block.
7089 * MulticastDelegate.cs: remove == and != operators that were
7090 removed with the delegate changes (when you add stuff, please do not
7091 remove existing functionality!).
7092 * Type.cs: if a property is not found in a type, search for it
7093 in the parent types, too.
7095 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
7097 * Math.cs: changed to use icall instead of PAL.
7099 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
7101 * Double.cs: added check for NaN (Bug [22082])
7103 2002-03-19 Nick Drochak <ndrochak@gol.com>
7105 * Enum.cs (Equals): check for null and throw if it is.
7106 * Enum.cs (Format): check for null parameters and throw if necessary.
7107 This method still needs more argument checking.
7109 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
7111 * Enum.cs (Equals): check if Enums are of the same type
7113 2002-03-18 Nick Drochak <ndrochak@gol.com>
7115 * Double.cs: Explicitly handle comparisons in CompareTo() for
7116 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
7118 * Enum.cs(CompareTo): Check types of values before trying to compare.
7119 Throw exceptions if types are invalid or don't match.
7121 2002-03-14 Miguel de Icaza <miguel@ximian.com>
7123 * Array.cs: Add some extra debugging information.
7125 2002-03-15 Nick Drochak <ndrochak@gol.com>
7127 * Array.cs: Added IList and IEnumerable.
7129 2002-03-14 Miguel de Icaza <miguel@ximian.com>
7131 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
7134 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
7136 * Delegate.cs (Equals): also compare method_ptr
7137 (GetHashCode): returm method_ptr as hash
7139 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
7140 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
7141 such as 42.ToString("0000000"), as these are (currently) not implemented
7142 in System.IntegerFormatter. TimeSpan luckely can do with Standard
7143 Numeric Format Strings, such as 42.ToString("D7").
7145 2002-03-12 Duncan Mak <duncan@ximian.com>
7147 * FieldAccessException.cs:
7148 * MethodAccessException.cs:
7149 * PlatformNotSupportedException.cs: Inherit from
7150 MemberAccessException, not SystemException.
7152 * ObsoleteAttribute.cs: Made Message and IsError properties
7155 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
7157 * GC.cs: make SuppressFinalize() a nop.
7158 * Delegate.cs: fix == operator.
7160 2002-03-13 Nick Drochak <ndrochak@gol.com>
7162 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
7163 runtime that goes with this patch.
7165 2002-03-10 Martin Baulig <martin@gnome.org>
7167 * Int32.cs (Parse): Correctly parse negative numbers.
7169 2002-03-08 Martin Baulig <martin@gnome.org>
7171 * String.cs (Split): Really fix it this time. Also adding several new
7172 testcase to the testsuite.
7174 2002-03-08 Martin Baulig <martin@gnome.org>
7176 * Array.cs (Copy): Optimized: removed duplicate null check, removed
7177 two duplicate GetLowerBound() calls and one duplicate IsValueType.
7179 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
7181 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
7182 * String.cs: use the dumb code for IndexOf(string): this is worth
7183 15-20 % speedup in mcs compile with mint.
7185 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
7187 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
7189 2002-03-07 Martin Baulig <martin@gnome.org>
7191 * String.cs (Join): Throw an ArgumentNullException.
7192 (LastIndexOf (string,int,int)): This method does a backwards search,
7193 so startIndex points to the end of value, not to its beginning. Don't
7194 throw an exception if startIndex equals this.Length. Always return -1
7195 if startIndex is smaller than the length of value.
7196 (Replace (string,string)): Replace all occurences of oldValue.
7197 If newValue is null, all occurences of oldValue are to be removed.
7198 (Split (char[],int)): Return an empty array if maxCount is zero, throw
7199 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
7200 elements, not maxValue+1.
7202 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
7204 * MonoType.cs: make GetEvents() an internal call.
7205 * MulticastDelegate.cs: copy the passed in array.
7207 2002-03-06 Martin Baulig <martin@gnome.org>
7209 * Array.cs (Copy): Use FastCopy when appropriate and do correct
7212 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
7213 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
7214 some of the failures found be new tests (see ChangeLog in
7215 Test/System). Comments added to this method, based on
7216 the representation invariant of this class, that (try to) explain
7217 why it now should be correct.
7219 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
7221 * Int64.cs (Parse): bug fix for max. negative value.
7223 2002-03-07 Nick Drochak <ndrochak@gol.com>
7225 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
7226 I need to understand what the difference between the attribute and
7229 2002-03-06 Martin Baulig <martin@gnome.org>
7231 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
7232 an InvalidCastException if the widening conversion failed. See
7233 testcases #M94-#M96.
7235 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
7236 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
7239 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
7240 (Copy): Actually allow copying multi-dimensional arrays.
7242 2002-03-05 Duncan Mak <duncan@ximian.com>
7245 (DBNull) Added the missing field.
7246 (IsDBNull) Fixed typo.
7247 (ToByte (string, int)) Implemented.
7248 (ToString (byte, int)) Implemented.
7250 (BuildConvertedString) internal functions used for converting values to
7258 * UInt32.cs: Implemented the IConvertible interface.
7260 * CharEnumerator.cs: Renamed to variables to be clearer and
7261 changed some of the tests to conform to the 1.0 spec.
7263 2002-03-06 Martin Baulig <martin@gnome.org>
7265 * Array.cs (Copy): Calculate absolute array position here and use
7266 GetValueImpl() and SetValueImpl() with that position. We can now
7267 copy multi-dimensional arrays.
7268 (CopyTo): Small bug fix.
7270 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
7272 * Version.cs: CompareTo changed according the LAMESPEC discovered by
7273 Nick (See VersionTest.cs).
7274 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
7275 error comparing the current position (idx) against the length of the
7276 string iterated and it set idx to an unrecognized special value (-2)
7278 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
7280 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
7281 to do this dirty work, but someone has to do it (and I need it to pass
7282 the "200 sample tests compiled on linux" mark).
7284 2002-03-06 Nick Drochak <ndrochak@gol.com>
7287 * DecimalFormatter.cs
7294 * RuntimeMethodHandle.cs
7295 * RuntimeTypeHandle.cs
7298 Add [MonoTODO]'s to places where we currently throw a
7299 NotImplementedException.
7301 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
7303 * Int16.cs (Parse): do not overflow on max negative value
7305 * Int32.cs (Parse): do not overflow on max negative value
7307 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
7309 * Type.cs: fixed IsClass.
7310 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
7311 IsByRefImpl. Added GetInterfaces().
7312 * IServiceProvider.cs: compilation fix.
7314 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
7316 * Array.cs: allow copying an empty array to an empty array.
7318 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
7320 * String.cs: fixed LastIndexOf (string) to do a bit of argument
7323 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
7324 * Version.cs: many fixes to failures found by the newly created
7325 test cases for this class. Specifically, the CompareTo member
7326 returned wrong values due to the use of Int32.MaxValue as a special
7327 value indicating an "undefined" version component. Also implemented the
7328 missing operators (==, <, >, etc.), one missing constructor and
7329 and some exception throwing.
7331 2002-03-04 Nick Drochak <ndrochak@gol.com>
7333 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
7334 * Attribute.cs: Add missing attributes: Serializable and
7335 AttributeUsage(AttributeTargets.All)
7337 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
7339 * MonoType.cs: implemented GetConstructors(), GetFields(),
7340 GetMethods(), GetProperties().
7341 * Object.cs: added debugging icall obj_address().
7342 * Type.cs: fixed the binding flags for some Get* methods.
7343 Implemented FindMembers() as calls to the specific GetMember
7346 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
7347 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
7348 should give an exception for n>=s.Length.
7350 2002-03-01 Martin Baulig <martin@gnome.org>
7352 * Array.cs: More argument checking and bug fixing.
7354 2002-03-01 Miguel de Icaza <miguel@ximian.com>
7356 * BitConverter.cs: Indentation match
7358 * AppDomain.cs: Added MonoTODOs to this too.
7360 * Buffer.cs: Added MonoTODOs to this.
7362 2002-03-01 Martin Baulig <martin@gnome.org>
7364 * Array.cs: Added argument checking to all methods where it was missing.
7366 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
7368 * BitConverter.cs: Fixed bugs in ToString methods
7370 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
7372 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
7374 2002-03-01 Nick Drochak <ndrochak@gol.com>
7376 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
7377 ArgumentOutOfRangeException like the docs say.
7379 2002-03-01 Martin Baulig <martin@gnome.org>
7381 * Enum.cs (CompareTo): Correctly override this method from IComparable.
7383 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
7385 2002-02-28 Martin Baulig <martin@gnome.org>
7387 * String.cs: This file now passes the testsuite on Linux :-)
7389 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
7390 make them private and provide C# wrappers which do proper argument checking.
7392 * String.cs (Format): Correctly handle escaped brackets.
7394 * String.cs (_CompareChar): New internal function which compares two chars.
7395 (_Compare): Provide an internal compare method which can do all sorts of
7396 comparision and call it from all the Compare() methods. Also fixed a lot of
7397 bugs here, this code now actually passes the testsuite.
7399 2002-02-28 Duncan Mak <duncan@ximian.com>
7401 * Convert.cs: Added the missing methods. The new class status page
7402 kicks ass, it even found my typos! Woohoo!
7403 (ConvertFromBase): Moved the Exception throwing in here and
7404 removed the other occurances so it's all centralized now.
7405 (ISDBNull): Implemented.
7406 (GetTypeCode): Implemented.
7408 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
7409 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
7410 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
7411 states that a lacking format should be interpreted as "N".
7412 Also added [Serializable] attribute
7413 * TimeSpan.cs: some formatting and added the [Serializable] attribute
7415 2002-02-26 Duncan Mak <duncan@ximian.com>
7417 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
7419 2002-02-26 Martin Baulig <martin@gnome.org>
7421 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
7422 fields of the interncall GetTimeZoneData.
7424 * DateTime.cs: Implemented Parse and fixed a few bugs.
7426 * String.cs (TrimStart): Small fix.
7428 2002-02-26 Martin Baulig <martin@gnome.org>
7430 * DateTime.cs: ParseExact is now fully functional.
7432 * String.cs (TrimEnd): Small fix.
7434 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
7435 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
7436 missing for about six months.
7438 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
7440 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
7442 2002-02-26 Martin Baulig <martin@gnome.org>
7444 * DateTime.cs: Miguel already committed this, but there was still a
7445 ChangeLog entry for this missing ....
7446 We're now reusing functionality from TimeSpan, printing dates is
7447 fully implemented, currently working on parsing.
7449 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
7452 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
7454 * MonoType.cs: disable constructor.
7455 * Object.cs: make GetType() an internalcall.
7456 * Type.cs: added correct bindingflags to GetMethods ().
7457 All such calls should be reviewed to use the correct flags.
7459 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
7461 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
7464 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
7466 * Type.cs: implemented IsAssignableFrom.
7468 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
7469 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
7470 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
7471 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
7472 The former is documented by Microsoft. The latter is how they
7473 actually implemented it in mscorlib:-)
7475 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
7477 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
7479 * MonoType.cs: Implemented custom attributes methods.
7482 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
7485 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
7487 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
7489 * MonoType.cs: Implemented custom attributes methods.
7491 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
7493 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
7495 2002-02-19 Duncan Mak <duncan@ximian.com>
7497 * Convert.cs: Finished up the missing methods in Convert. Added a
7498 new private method ConvertFromBase.
7500 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
7502 * String.cs: impl. IConvertible interface
7504 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
7505 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
7507 2002-02-18 Duncan Mak <duncan@ximian.com>
7509 * Convert.cs: Changed from using Type.GetType (string) to just
7510 typeof (). Probably will speed things up a bit?
7512 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
7515 1. Fix for GetUpperBound to return correct values
7516 2. made some Properties virtual
7517 3. Adds IsFixedSize and IsReadOnly properties.
7518 4. changes CreateInstance(Type,int[],int[]) to throw Exception
7519 when third arg is null. InternalCall CreateInstance changed to
7521 5. Fixed array.GetUpperBound at a couple of places
7522 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
7523 7. Added two FIXME's in BinarySearch functions.
7525 2002-02-17 Duncan Mak <duncan@ximian.com>
7527 * TimeZone.cs: Applied the rest of Ajay's patch for
7528 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
7531 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
7532 * Guid.cs: added stub for Guid(string) ctor
7534 2002-02-17 Duncan Mak <duncan@ximian.com>
7536 * Convert.cs: Near-complete implementation of Convert.cs
7538 Added all the To* methods taking (object) and
7539 (object, IFormatProvider) as parameters.
7541 Added [CLSCompliant (false)] attributes to methods dealing with
7544 Added the missing section on converting to and from DateTime. Only
7545 6 missing methods, all marked with MonoTODOs. Will tackle them later.
7547 2002-02-16 Duncan Mak <duncan@ximian.com>
7549 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
7550 make IsDaylightSavingTime (DateTime) call
7551 IsDaylightSavingTime (DateTime, DaylightTime).
7553 Added internal class CurrentTimeZone from Ajay. It needs more work
7554 to fill in the appropriate internal calls.
7556 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
7558 * Type.cs: fix IsClass.
7560 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
7562 * String.cs: fix Trim().
7564 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
7566 * String.cs: fix more off by one errors.
7568 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
7570 * MonoType.cs: fix IsValueTypeImpl.
7571 * Type.cs: fix IsEnum. Implement Equals methods.
7573 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
7575 * Int32.cs: implement IConvertible interface.
7577 2002-02-12 Duncan Mak <duncan@ximian.com>
7579 * TimeZone.cs: Implemented and added to CVS.
7581 2002-02-11 Duncan Mak <duncan@ximian.com>
7583 * Convert.cs: Implemented the ChangeType () methods.
7585 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
7587 * Array.cs: make Clone() an internal call.
7589 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
7590 * Changed Guid.NewGuid so that it can use both System.Random and
7591 System.Security.Cryptography.RandomNumberGenerator
7593 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
7594 * First version of Guid.NewGuid
7596 2002-02-08 Duncan Mak <duncan@ximian.com>
7598 * RuntimeArgumentHandle.cs: Added to CVS.
7600 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
7602 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
7603 UnhandledExceptionEventHandler.cs: added delegates.
7605 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
7607 * MarshalByRefObject.cs: add ToString () method
7608 (apparently needed by nunit).
7609 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
7610 by it in the runtime.
7612 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
7614 * String.cs (Format): implemented
7616 2002-02-07 Duncan Mak <duncan@ximian.com>
7618 * DuplicateWaitObjectException:
7619 * InvalidCastException:
7620 * NotImplementedException:
7621 * NotSupportedException:
7622 * NullReferenceException:
7623 * OutOfMemoryException:
7624 * OverflowException:
7626 * StackOverflowException.cs:
7627 * UnauthorizedAccessException: Added missing constructor used for serialization.
7629 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
7631 * String.cs (System.Compare): bug fix
7633 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
7635 * Enum.cs (Parse, GetHashCode): impl.
7637 2002-02-05 Duncan Mak <duncan@ximian.com>
7639 * DBNull.cs: This is my first crack at the DBNull class. I think I
7640 actually got most of the IConvertible methods right, but I haven't
7641 done the research to test whether or not this is the correct
7642 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
7644 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
7646 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
7648 * Enum.cs: added more functionality (GetName, ToObject, Equals)
7650 2002-01-31 Duncan Mak <duncan@ximian.com>
7652 * InvalidOperationException.cs:
7653 * NotFiniteNumberException.cs:
7654 * ObjectDisposedException.cs:
7655 * TypeInitializationException.cs: Added missing bits for serialization/
7657 * AppDomainUnloadedException.cs:
7658 * ApplicationException.cs:
7659 * ArgumentOutOfRangeException.cs:
7660 * ArithmeticException.cs:
7661 * ArrayTypeMismatchException:
7662 * BadImageFormatException.cs:
7664 * MissingMemberException.cs:
7665 * TypeLoadException.cs: Added missing bits for serialization.
7667 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
7668 * Guid.cs: implemented everything but Guid.NewGuid
7670 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
7672 * _AppDomain.cs: remove ToString() method: it doesn't seem right
7673 to have it in this interface and it screws up the method vtable setup.
7675 2002-01-28 Andrei Zmievski <andrei@php.net>
7677 * Double.cs: implemented IConvertible interface.
7679 2002-01-28 Miguel de Icaza <miguel@ximian.com>
7681 * ArgumentException.cs: Implement serialization constructor.
7682 (GetObjectData): Implement serializer.
7684 * ArgumentNullException.cs: Implement serialization constructor.
7686 * Exception.cs: Implement serialization constructor.
7687 (GetObjectData): Implement serializer.
7689 2002-01-23 Miguel de Icaza <miguel@ximian.com>
7691 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
7693 2002-01-23 Duncan Mak <duncan@ximian.com>
7695 * EntryPointNotFoundException.cs:
7696 * FormatException: Added missing constructor and related bits.
7698 * TypeLoadException: Added missing constructor, methods and properties.
7700 2002-01-23 Miguel de Icaza <miguel@ximian.com>
7702 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
7703 manually getting the enumerator.
7705 (AppDomain.AppDomain): Prime the loaded assemblies with the
7706 assemblies loaded by the runtime in our behalf.
7708 * AppDomainSetup.cs: Remove private keyword, that is the default.
7709 Add a new property DisallowPublisherPolicy.
7711 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
7713 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
7715 * MonoType.cs, Type.cs: many updates, corrected implementation,
7718 2002-01-20 Andrei Zmievski <andrei@php.net>
7721 * Char.cs: implemented IConvertible interface.
7723 * Boolean.cs: use our own ToString() method directly.
7725 2002-01-20 Duncan Mak <duncan@ximian.com>
7727 * Files I commited recently: Fixed indentation style.
7729 2002-01-20 Nick Drochak <ndrochak@gol.com>
7731 * SerializableAttribute.cs: this attrib can be used on enums, structs,
7732 and delegates too. Added the appropriate usage flags.
7734 2002-01-18 Duncan Mak <duncan@ximian.com>
7736 * CharEnumerator.cs: Implemented.
7737 * String.cs (System): Fixed the GetEnumerator () method(s).
7739 * ObsoleteAttribute.cs:
7740 * STAThreadAttribute.cs:
7741 * MTAThreadAttribute.cs:
7742 * ThreadStaticAttribute.cs:
7743 * LoaderOptimizationAttribute.cs:
7744 * PlatformNotSupportedException.cs:
7745 * LoaderOptimization.cs: Added to CVS.
7747 2002-01-18 Duncan Mak <duncan@ximian.com>
7749 * AppDomainUnloadedException.cs:
7750 * MethodAccessException.cs:
7751 * ContextMarshalException.cs:
7752 * CannotUnloadAppDomainException.cs:
7753 * DllNotFoundException.cs:
7754 * EntryPointNotFoundException.cs:
7755 * FieldAccessException.cs:
7756 * TypeUnloadedException.cs:
7757 * MissingFieldException.cs: Added to CVS.
7759 * ApplicationException.cs:
7760 * MemberAccessException.cs:
7761 * MissingMemberException.cs
7762 * MissingMethodException.cs:
7763 * SystemException.cs: Added [Serializable] attribute.
7765 * Exception.cs: Added [Serializable] attribute, made properties
7766 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
7769 * ContextStaticAttribute.cs: Added [Serializable] attribute and
7770 put in the missing constructor.
7772 * Environment.cs: Commented out references to
7773 EnvironmentPermissionAttribute, because they're just stubbed out
7774 right now and has no implementation.
7776 2002-01-16 Andrei Zmievski <andrei@php.net>
7778 * Boolean.cs: implemented IConvertible interface
7780 2002-01-15 Nick Drochak <ndrochak@gol.com>
7782 * ResolveEventArgs.cs: class should derive from EventArgs.
7784 2002-01-14 Miguel de Icaza <miguel@ximian.com>
7786 * String.cs (System): Use DefaultMemberName for the String class.
7788 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
7790 * String.cs: use IndexerName in index char accessor.
7792 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
7794 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
7795 * String.c: eliminate 64k+ method calls in search.
7796 * Type.cs: handle byref and array types in ToString ().
7798 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
7800 * Guid.cs: created first version
7802 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
7804 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
7806 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
7808 * MulticastDelegate.cs: add == and != operator stubs.
7809 * String.cs: check for null in == operator.
7810 * Type.cs: use a virtual method to get TypeAttributes.
7812 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
7813 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
7815 2002-01-09 Nick Drochak <ndrochak@gol.com>
7817 * Environment.cs: Comment out Security attribute and put a MonoTODO
7818 there as a reminder. We need mcs magic to handle security attributes in
7821 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
7822 * Created IAppDomainSetup.cs
7824 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
7825 * Created System._AppDomain interface in _AppDomain.cs
7827 2002-01-06 Nick Drochak <ndrochak@gol.com>
7829 * ResolveEventArgs.cs: New File, completely implemented! ;)
7831 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
7833 * Enum.cs: dummy ToString impl.
7834 * String.cs: dummy format implementations to get compiler errors
7836 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
7838 2002-01-05 Ravi Pratap <ravi@ximian.com>
7840 * TODOAttribute.cs : Augment some more; provide two constructors
7841 with support for a comment too.
7843 2002-01-05 Nick Drochak <ndrochak@gol.com>
7845 * Uncommented those MonoTODO's now that Ravi's got
7848 2001-01-04 Ravi Pratap <ravi@ximian.com>
7850 * TODOAttribute.cs : Actually add this time ;-)
7852 Change name to MonoTODO.
7854 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
7856 * String.cs (Trim): Fixed a few logic bugs in the code that
7857 calculated how much to trim off the end of the string.
7859 2001-01-04 Nick Drochak <ndrochak@gol.com>
7861 * Commented out the [TODO] attributes for now. We don't have the
7862 class written. Also changed it to [MonoTODO]
7864 2002-01-04 Ravi Pratap <ravi@ximian.com>
7866 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
7867 our class libraries that are incomplete.
7869 * Array.cs : Apply attribute wherever we find a FIXME which says
7870 we need something to be implemented there.
7874 * MulticastDelegate.cs : Ditto.
7876 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
7877 RuntimeTypeHandle.cs : Ditto.
7879 * String.cs : Ditto.
7883 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
7885 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
7886 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
7888 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
7889 Delegate.cs : Ditto.
7891 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
7892 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
7894 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
7896 * Delegate.cs: add Remove() stub.
7897 * Enum.cs: add ToObject().
7898 * Type.cs: add IsEnum property.
7900 2002-01-03 Kristian Rietveld <kris@gtk.org>
7902 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
7903 DateTime and object.
7905 2001-12-30 Nick Drochak <ndrochak@gol.com>
7907 * Byte.cs (Parse): Add comments to aid in testing.
7909 2001-12-21 Miguel de Icaza <miguel@ximian.com>
7911 * Char.cs (Parse): Implement.
7913 * Byte.cs (Parse): Implement a fast parser.
7915 * SByte.cs (Parse): Implement a fast parser.
7917 * UInt16.cs (Parse): Implement a fast parser.
7919 * Int16.cs (Parse): Implement a fast parser.
7921 * UInt32.cs (Parse): Implement a fast parser.
7923 * Int32.cs (Parse): Implement a fast parser.
7925 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
7927 * Array.cs: fix null ref in sort code.
7928 * UInt64.cs: add bare-bones parse.
7930 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
7932 * Byte.cs: removed use of Regexes.
7934 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
7936 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
7937 IsDefined(), GetUnderlyingType().
7938 * String.cs: fix one instance of Compare().
7939 * Type.cs: implemented GetProperties(), GetProperty().
7941 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
7943 * Array.cs: implement CopyTo ().
7944 * Char.cs: implement ToString ().
7945 * Exception.cs: bugfix.
7946 * Int32.cs: bare-bones Parse ().
7947 * MonoType.cs: query the needed info with an internalcall.
7948 * String.cs: speedups, bugfixes, reduced copies.
7949 * Type.cs: added missing fields. Implemented many of the Is*
7950 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
7951 GetFields(), FindMembers(), ToString().
7953 2001-12-11 Dick Porter <dick@ximian.com>
7955 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
7957 * Console.cs: Use handles rather than casting file descriptors
7959 2001-12-08 Nick Drochak <ndrochak@gol.com>
7961 * Byte.cs (Parse): Start implementation. Parse(string) works, but
7962 now we need to handle other formats
7964 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
7966 * DateTime.cs: added an icall to GetNow()
7968 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
7970 * Double.cs: added the parse method from Bob Smith
7972 2001-11-28 Miguel de Icaza <miguel@ximian.com>
7978 * Int32.cs (Int32.CompareTo): Fix because we can not just
7979 substract the values.
7981 Return possitive value if the object is null.
7983 * Boolean.cs: (Boolean.CompareTo): ditto.
7985 * Int16.cs (Int16.CompareTo): ditto.
7987 * Byte.cs (Byte.CompareTo): ditto.
7989 * SByte.cs (SByte.CompareTo): ditto.
7991 * Char.cs (Char.CompareTo): ditto.
7993 * Decimal.cs (Decimal.CompareTo): ditto.
7995 * Int64.cs (Int64.CompareTo): ditto.
8001 2001-11-28 Nick Drochak <ndrochak@gol.com>
8003 * Byte.cs: Throw NotImplementedException for Parse.
8005 2001-11-27 Derek Holden <dholden@draper.com>
8007 * IntegerFormatter.cs: Formatting of type "Number" was not
8008 using NumberFormatInfo.NumberNegativePattern.
8010 2001-11-26 Dick Porter <dick@ximian.com>
8012 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
8013 the finalise routine any more
8015 2001-11-21 Miguel de Icaza <miguel@ximian.com>
8017 * ApplicationException.cs: internationalize by adding calls to
8018 Locale.GetText (). And throw NotImplementedExceptions on calls
8019 that we have to implement.
8021 * Version.cs: Ditto.
8023 * ValueType.cs: ditto.
8025 * UnauthorizedAccessException.cs: ditto.
8033 * TypeLoadException.cs: ditto
8035 * TypeInitializationException.cs: ditto.
8039 * TimeSpan.cs: ditto.
8041 * SystemException.cs: ditto.
8045 * StackOverflowException.cs: ditto.x
8051 * RuntimeTypeHandle.cs: ditto.
8053 * RuntimeMethodHandle.cs: ditto.
8055 * RuntimeFieldHandle.cs: ditto.
8059 * OutOfMemoryException.cs: ditto.
8061 * OperatingSystem.cs: ditto.
8063 * ObjectDisposedException.cs: ditto.
8065 * NullReferenceException.cs: ditto.
8067 * NotImplementedException.cs: ditto.
8069 * NotFiniteNumberException.cs: ditto.o
8071 * MulticastNotSupportedException.cs: ditto.
8073 * MissingMethodException.cs: ditto.
8075 * MemberAccessException.cs: ditto.
8079 * InvalidCastException.cs: ditto.
8081 * IntegerFormatter.cs: ditto.
8087 * IndexOutOfRangeException.cs: ditto.
8089 * Environment.cs: ditto
8093 * DuplicateWaitObjectException.cs: ditto.
8095 * DivideByZeroException.cs: ditto.
8097 * Delegate.cs: ditto
8099 * DecimalFormatter.cs: ditto.
8101 * Decimal.cs: ditto.
8103 * DateTime.cs: ditto.
8105 * Convert.cs: ditto.
8111 * Boolean.cs: ditto.
8113 * ArrayTypeMismatchException.cs: ditto.
8115 * ArithmeticException.cs: ditto.
8117 * ArgumentOutOfRangeException.cs: ditto.
8119 * ArgumentNullException.cs: ditto.
8121 * Enum.cs: Make it derive from ValueType, add CompareTo method.
8123 * Attribute.cs: Reformat.
8125 2001-11-14 Miguel de Icaza <miguel@ximian.com>
8127 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
8128 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
8129 exception if the value is null too.
8131 * Char.cs (CompareTo): ditto.
8133 * ApplicationException.cs: Added constructor that does serialization.
8135 * ParamArrayAttribute.cs: Define attribute correctly.
8137 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
8139 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
8140 * Array.cs: fix Array.Copy.
8141 * AssemblyLoadEventArgs.cs: rename field.
8142 * CLSCompliantAttribute.cs: use correct name for the class.
8143 * Char.cs: fix IsLetter.
8144 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
8145 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
8146 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
8147 * Delegate.cs: renamed target field to m_target.
8148 * Enum.cs: added missing methods.
8149 * MonoType.cs: add a constructor and some needed properties.
8150 * Object.cs: implement GetType().
8151 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
8153 * Type.cs: add missing methods/properties.
8155 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
8157 * AttributeUseage.cs: Should define AttributeUsageAttribute.
8159 * CLSCompliant.cs: Marked with AttributeUsage attribute.
8161 * Decimal.cs: Fixed CLSCompliant attributes.
8163 * Type.cs: changed _impl to internal (needs to be accessable by
8166 (TypeHandle): Marked as abstract, implementation removed.
8168 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
8169 GetMethod): Added stub implementations so NUnit would link against
8172 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
8174 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
8176 2001-11-05 Miguel de Icaza <miguel@ximian.com>
8178 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
8181 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
8183 * String.cs: fix a couple of bugs.
8184 * AppDomain.cs: use new AppBuilder constructor.
8185 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
8186 NotImplementedException.cs, ObjectDisposedException.cs,
8187 UnauthorizedAccessException.cs: add implementation.
8188 * OverflowException.cs: fix class name.
8190 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
8192 * String.cs: Don't use a terminating nil char for our internal
8195 2001-10-27 Miguel de Icaza <miguel@ximian.com>
8197 * Delegate.cs (Delegate.CombineImpl): Implement.
8198 (Delegate.Combine): Implement.
8200 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
8202 (MulticastDelegate.CombineImpl): This was not as trivial as I
8205 * ContextStaticAttribute.cs: Added AttributeUsage to
8206 ContextStaticAttribute.
8208 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
8210 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
8212 * added Decimal.cs * added DecimalFormatter.cs (internal class
8213 used from System.Decimal)
8215 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
8217 * Convert.cs: Added methods for Base64 transforming just used the
8218 existing System.Security.Cryptography.ToBase64Transform, should
8219 be changed to use a stand-alone class, e.g. Base64Encoder
8221 2001-10-10 Derek Holden <dholden@draper.com>
8223 * IntegerFormatter.cs: Added. Implements ToString for all the
8224 integer data types for all the format types.
8226 * Byte.cs: Using IntegerFormatter for ToString's.
8228 * SByte.cs: Using IntegerFormatter for ToString's.
8230 * Int16.cs: Using IntegerFormatter for ToString's.
8232 * Int32.cs: Using IntegerFormatter for ToString's.
8234 * Int64.cs: Using IntegerFormatter for ToString's.
8236 * UInt16.cs: Using IntegerFormatter for ToString's.
8238 * UInt32.cs: Using IntegerFormatter for ToString's.
8240 * UInt64.cs: Using IntegerFormatter for ToString's.
8242 2001-10-07 Miguel de Icaza <miguel@ximian.com>
8244 * Exception.cs: Implement bits of serialization.
8246 * RuntimeFieldHandle.cs: Implement Serialization features.
8248 * Type.cs: Implement TypeHandle property.
8250 2001-09-28 Dick Porter <dick@ximian.com>
8252 * LocalDataStoreSlot.cs: Implemented
8254 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
8256 * String.cs: fix off-by-one error in Trim().
8258 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
8260 * Type.cs: added GetType () method.
8262 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
8264 * MissingMethodException.cs, MissingMemberException.cs,
8265 MemberAccessException.cs: added.
8267 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
8269 * String.cs: don't access the string array out of bounds in
8270 LastIndexOf. * Type.cs: fix return type of the Assembly property.
8272 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
8274 * String.cs: make Intern and IsIntern internalcalls.
8276 2001-09-13 Dick Porter <dick@ximian.com>
8278 * Type.cs: Added a stub for the IsValueType property.
8280 * SystemException.cs (System): Added the other constructor, so
8281 that System.Threading exceptions can inherit it.
8283 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
8285 * String.cs (TrimStart): Don't keep looping through the trimchars
8286 once we've found a match.
8287 (TrimEnd): Same here.
8288 (Trim): And finally here.
8290 2001-09-07 Ravi Pratap <ravi@ximian.com>
8292 * Char.cs (IsLetterOrDigit): Implement.
8293 (IsLower): Implement, but we need to be Unicode aware.
8294 (IsNumber): Implement.
8295 (IsPunctuation): Implement.
8296 (IsWhiteSpace): Implement.
8297 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
8298 (ToLower): Same here.
8300 2001-09-04 Miguel de Icaza <miguel@ximian.com>
8302 * Object.cs: Shortcut, if (a == b) then return true.
8304 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
8306 * Delegate.cs: we need a pointer to the method thunk in
8307 the delegate object.
8309 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
8311 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
8313 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
8315 * String.cs (System): Don't mix uint and int.
8317 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
8319 * String.cs (BoyerMoore): Modified to not use pointers and to instead
8321 (IndexOf): Use BoyerMoore.
8323 2001-09-02 Miguel de Icaza <miguel@ximian.com>
8325 * All over: Use the autogenerated enumerations from the ECMA
8326 documentation that Sergey wrote.
8328 * PlatformID.cs: Add Unix definition.
8330 * OperatingSystem.cs: Use Unix instead of Linux here.
8332 * MarshalByRefObject.cs: Mark class as [Serializable].
8334 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
8336 * Console.cs: impl. (write only)
8337 implemented the stdin stuff
8339 * Int32.cs: impl. real op_Equal
8341 2001-08-24 Miguel de Icaza <miguel@ximian.com>
8343 * (common.src): Removed IAsyncResult as it is not on CVS yet.
8345 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
8346 as it breaks the build.
8348 2001-08-23 Michael Lambert <michaellambert@email.com>
8350 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
8351 added CLSCompliant attribute
8353 * IAsyncResult.cs: Added
8355 * common.src: Added IAsyncResult.cs
8357 2001-08-23 Michael Lambert <michaellambert@email.com>
8361 * common.src: Added UIntPtr.cs
8363 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
8365 * Attribute.cs: uncomment some code to make it compile again
8367 * mono.src: removed duplicated Attribute.cs
8369 2001-08-16 Nick Drochak <ndrochak@gol.com>
8371 * Attribute.cs: implemented all methods except GetHashCode()
8373 * common.src: added Attribute.cs so it would compile in
8375 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
8377 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
8378 marked it as InternalCall
8380 * common.src: removed UriFormatException.cs because the file is
8383 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
8384 * Char.cs: replaced byte with char
8386 * Array.cs: make it work with the mono interpreter
8388 2001-08-06 Miguel de Icaza <miguel@ximian.com>
8390 * Version.cs: Make the class sealed
8392 2001-08-08 Bob Smith <bob@thestuff.net>
8394 * Random.cs: Many compile fixes.
8395 * Random.cs: I read a bad spec. Class updated to match real spec.
8397 2001-08-06 Miguel de Icaza <miguel@ximian.com>
8399 * IntPtr.cs: Added and Completed implementation.
8401 * Uri.cs: Add a note.
8403 2001-08-06 Bob Smith <bob@thestuff.net>
8405 * Random.cs: Compile fix. Needs more testing.
8407 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
8409 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
8410 into account IPv6 addresses, url encoding needs to be implemented, and
8411 various minor methods need to be written, but this is a decent start.
8413 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
8415 * common.src: added Object.cs
8417 * mono.src: added ValueType.cs
8419 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
8421 * Math.cs: replaced libc with libm
8423 2001-08-02 Bob Smith <bob@thestuff.net>
8425 * Random.cs: Implemented. Needs testing.
8427 2001-08-02 Miguel de Icaza <miguel@ximian.com>
8429 * IServiceProvider.cs, EventHandler.cs: New files.
8431 2001-08-02 Marcel Narings <marcel@narings.nl>
8433 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
8434 Added exceptions. Added IConvertible. Still needs some platform
8435 dependend stuff, the Parse and ToString members
8437 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
8439 * Type.cs (GetTypeFromHandle): added placeholder
8441 2001-07-24 Derek Holden <dholden@draper.com>
8443 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
8444 which is really an IConvertible defined method.
8446 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
8447 behavior, still need to do the main Parse and ToString.
8449 * Char.cs: Added a bunch of missing ECMA methods. Commented a
8450 specification discrepency. Still didn't any unicode stuff, though
8451 every IsFoo(char c) method has an IsFoo(string, index)
8452 counterpart, added wrappers for those.
8454 * Convert.cs: Fixed NaN/Inf checking and double/float
8455 rounding. Added ToType for IConvertible classes
8457 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
8458 IsNaN methods. Changed Inf/NaN internals.
8460 * IConvertible.cs: Added comments for using
8461 Convert.ToType. Changed return values to draft base values.
8463 * Int16.cs: Added a missing Parse statement. Put in behavior for
8464 overloaded ToString and Parse methods.
8466 * Int32.cs: Added a missing Parse statement. Put in behavior for
8467 overloaded ToString and Parse methods.
8469 * Int64.cs: Added a missing Parse statement. Put in behavior for
8470 overloaded ToString and Parse methods.
8472 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
8473 methods. Changed Inf/NaN internals.
8475 * SByte.cs: Added a missing Parse method. Put in Parse and
8476 ToString behavior, still need to do the main Parse and ToString.
8478 * UInt16.cs: Added a missing Parse statement. Put in behavior for
8479 overloaded ToString and Parse methods.
8481 * UInt32.cs: Added a missing Parse statement. Put in behavior for
8482 overloaded ToString and Parse methods.
8484 * UInt64.cs: Added a missing Parse statement. Put in behavior for
8485 overloaded ToString and Parse methods.
8487 2001-07-20 Miguel de Icaza <miguel@ximian.com>
8489 * MulticastDelegate.cs: New File.
8491 * Delegate.cs: New file.
8493 * Enum.cs: New file.
8495 * Attribute.cs: New file.
8497 * Type.cs: New file.
8499 * ParamArrayAttribute.cs: New file.
8501 * RuntimeTypeHandle.cs: New file.
8503 * MulticastDelegate.cs: Added.
8505 * DateTime.cs: Added
8507 * Delegate.cs: Added
8509 2001-07-18 Michael Lambert <michaellambert@email.com>
8511 * AttributeTargets.cs: Add.
8513 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
8515 * Char.cs: Made ToUpper and ToLower public methods.
8517 * String.cs: Lots and lots of compile fixes - just need to write
8518 DateTime.cs and this should build completely now.
8520 2001-07-19 Bob Smith (bob@thestuff.net)
8522 * Math.cs: Implemented.
8524 2001-07-19 Miguel de Icaza <miguel@ximian.com>
8526 * String.cs: Removed tolower and toupper.
8528 * Char.cs: Moved ToLower and ToUpper from string to here.
8530 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
8531 instead of comparing the value to Nan.
8533 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
8535 * TimeSpan.cs: New implementation.
8537 2001-07-18 Scott Sanders <scott@stonecobra.com>
8539 * UriFormatExcpetion.cs: Add - 85% complete
8541 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
8543 * String.cs (IndexOf): Slight optimization that allows skipping
8544 over a few chars here and there. This isn't as good as using my
8545 Boyer-Moore implementation, however, Boyer-Moore is only really
8546 good for long strings (I plan on making the code decide which
8547 string search algorithm it should use on-the-fly at some point).
8548 (LastIndexOf): Fix to work correctly.
8549 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
8551 2001-07-16 Michael Lambert <michaellambert@email.com>
8553 * EventArgs.cs: Add.
8555 2001-07-16 Miguel de Icaza <miguel@ximian.com>
8557 * Version.cs: Remove my buggy comment.
8559 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
8561 * String.cs: Spelling error of IComparable, object's
8562 MemberwiseClone cannot be overridden. Made indexer valid for now,
8563 but not sure what to do about this in the long run. Seems to be a
8564 couple bugs in csc.exe having to do with multiple pointer defs in
8565 the same statement, and returning subclasses of a class in the
8566 return type of an interface function implementation. Also moved
8567 operators inside of class definition.
8569 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
8571 * String.cs: A tom of compile fixes, although we still don't compile.
8573 * IConvertible.cs: The To*Int64() methods return *Int64's, not
8574 *Int32's. Also, it's ToDateTime() not ToDateType().
8576 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
8578 * String.cs: Apparently I needed to at least write stubs for the
8579 IConvertible interfaces. *sigh*
8581 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
8583 * String.cs: Many logic/other fixes and better usage of the
8585 (tolower): New convenience method to help condense code.
8586 (toupper): Another new helper method.
8587 (Compare): Use the new helper methods.
8588 (ToLower): use tolower().
8589 (ToUpper): use toupper().
8590 (LastIndexOfAny): Implemented.
8591 (BoyerMoore): New private helper method that implements a modified
8592 version of the Boyer-Moore search algorithm. Noothing uses it yet
8593 as I'm not 100% sure it even works properly with unicode strings
8594 not to mention it uses a huge lookup-table :-)
8595 (Split): Implemented.
8597 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
8599 * TODO: Added things that need to be finished in System.String
8601 * String.cs: New source file implementing the System.String class
8603 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
8605 * TypeCode.cs: UInt64 was UInt63.
8607 * Object.cs: Fixed a numer of compiler errors.
8609 * Array.cs: Fixed some compiler errors.
8611 * IComparable.cs: Fixed some compiler errors.
8613 * ICloneable.cs: Fixed some compiler errors.
8615 * IConvertible.cs: Fixed some compiler errors.
8617 * IFormattable.cs: Fixed a compiler error.
8619 * IFormatProvider.cs: Fixed a compiler error.
8621 * IDisposable.cs: Fixed a compiler error.
8623 * IFormatProvider.cs: Added public accesability type to
8626 * Exception.cs: Added a using statement to remove compile time
8629 * ApplicationException.cs: Removed a ; that was causing a compiler
8632 * Int16.cs: Fixed some compiler errors.
8634 * Int32.cs: Fixed some compiler errors.
8636 * Int64.cs: Fixed some compiler errors.
8638 * SystemException.cs: Fixed a compiler error.
8640 * UInt16.cs: Fixed some compiler errors.
8642 * UInt32.cs: Fixed some compiler errors.
8644 * UInt64.cs: Fixed some compiler errors.
8646 * Void.cs: Fixed a compiler error.
8648 2001-07-12 Joe Shaw <joe@ximian.com>
8650 * Array.cs: Fix backwards parameters to Array.SetValue()
8652 (BinarySearch): Fix backward logic surrounding whether to call
8653 value.CompareTo or comparer.Compare.
8654 (LastIndexOf): Stop being stupid. I am so not used to strongly
8656 (Sort): Implement a quicksort.
8658 2001-07-11 Joe Shaw <joe@ximian.com>
8660 * Array.cs: Change all instances of trying to access an array with
8661 the index operator to calls to GetValue and SetValue, and add
8662 InternalGetValue and InternalSetValue which are internal calls
8663 into the runtime. Ew.
8665 2001-07-10 Joe Shaw <joe@ximian.com>
8667 * Array.cs: Implemented everything but Sort().
8669 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
8671 * Object.cs (Object::Equals): Object variable name is `o'.
8673 2001-07-06 Joe Shaw <joe@ximian.com>
8675 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
8676 Implement the IComparable and IFormattable interfaces. Fix a typo
8679 * ApplicationException.cs, ArgumentException.cs,
8680 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
8681 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
8682 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
8683 ExecutionEngineException.cs, FormatException.cs,
8684 IndexOutOfRangeException.cs, InvalidCastException.cs,
8685 InvalidOperationException.cs, InvalidProgramException.cs,
8686 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
8687 NotSupportedException.cs, NullReferenceException.cs,
8688 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
8689 StackOverflowException.cs, SystemException.cs,
8690 TypeInitializationException.cs: Added all of the exceptions
8691 specified by the language spec. Mmmm... bloat.
8693 2001-07-06 Miguel de Icaza <miguel@ximian.com>
8695 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
8696 do a generic routine all of these guys use.
8698 * Int16.cs: identified missing methods.
8700 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
8702 2001-06-26 Miguel de Icaza <miguel@ximian.com>
8704 * TypeCode.cs: Implement
8706 * Void.cs: Implement.
8708 * TODO: Add file to keep track of pending tasks.
8710 * Object.cs, ValueType.cs: Implement.