1 2008-05-05 Zoltan Varga <vargaz@gmail.com>
3 * Type.cs (GetTypeFromHandle): Apparently, it is possible to create a
4 RuntimeTypeHandle with a zero handle value by calling its ctor. Add an argument
7 * IntPtr.cs (ToInt64): Use (long)(int) on 32 bit platforms to avoid the default
8 unsigned conversion done by the compiler. Fixes #386466.
10 2008-05-04 Zoltan Varga <vargaz@gmail.com>
12 * Type.cs (UnderlyingSystemType): Add a comment pointing people to
13 Enum.GetUnderlyingType ().
15 2008-04-26 Zoltan Varga <vargaz@gmail.com>
17 * Array.cs (LastIndexOf): Return GetLowerBound (0) -1 instead of -1.
19 * Array.cs (LastIndexOf): Fix handling of empty arrays. Fixes #383876.
21 2008-04-13 Zoltan Varga <vargaz@gmail.com>
23 * String.cs (Split): Fix the handling of RemoveEmptyEntries when the separator
24 matches at the beginning of the string. Fixes #374511.
26 2008-04-13 Jb Evain <jbevain@novell.com>
28 * ICloneable.cs: use the INSIDE_CORLIB pattern to
29 internalize code that is used outside the corlib.
30 Merged from the Moonlight 2 branch.
32 2008-04-04 Raja R Harinath <harinath@hurrynot.org>
34 * String.cs (EndsWith) [CultureInfo variant]: Handle null 'culture'.
35 (StartsWith, EndsWith, IndexOf, LastIndexOf) [StringComparison variant]:
36 Throw exception on invalid StringComparison.
38 2008-04-01 Eyal Alaluf <eyala@mainsoft.com>
40 * NumberFormatter.cs NumberFormatter.jvm.cs: Performance optimizations.
41 Reuse a per thread instance to format all the primitive types. Modify
42 class accordingly so the same
43 instance can be used multiple times.
44 * Int16.cs UInt64.cs Double.cs SByte.cs UInt16.cs Byte.csDecimal.cs
45 TimeSpan.cs Int32.cs Int64.cs Single.cs UInt32.cs: Change use of
46 NumberFormatter to adapt to above changes in class interface.
48 2008-03-31 Mark Probst <mark.probst@gmail.com>
50 * MonoType.cs: Don't do CAS security checks in CheckMethodSecurity
53 2008-03-28 Marek Safar <marek.safar@gmail.com>
55 * Nullable.cs (Box): Do things explicitly and not rely on broken gmcs
58 2008-03-25 Zoltan Varga <vargaz@gmail.com>
60 * AppDomain.cs: Update after MonoMethod.InternalInvoke signature change.
62 * Environment.cs: Bump corlib version.
64 * DateTime.cs: Fix a warning.
66 2008-03-21 Sebastien Pouliot <sebastien@ximian.com>
68 * String.cs: Use "this" in Split method instead of calling ToString.
71 2008-03-06 Marek Safar <marek.safar@gmail.com>
73 * MonoCustomAttrs (GetCustomAttributes): Type cannot be null with
74 typeof (MonoCustomAttrs) hack.
76 Wed Mar 5 19:39:01 CET 2008 Paolo Molaro <lupus@ximian.com>
78 * Type.cs: optimize GetTypeCode () for the common case
81 2008-03-02 Roei Erez <roeie@mainsoft.com>
83 * DateTime.cs: Improve the patch supplied by James Purcell to be
84 dotnet-compatible, and add support for RoundTripKind parsing.
85 Fixed reopened bug #352210.
88 Tue Feb 26 17:50:17 CET 2008 Paolo Molaro <lupus@ximian.com>
90 * DateTime.cs: instroduce a method that returns ticks monotonically.
92 2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
94 * Attribute.cs, MonoCustomAttrs: MS ignores the inherit param in
95 PropertyInfo's ICustomAttributeProvider implementation, but not
96 in the Attributes, so directly get the attributes from
97 MonoCustomAttrs instead of going throught the PropertyInfo's
98 ICustomAttributeProvider.
99 [Fixes bugs #324472 and #322464]
101 2008-02-26 Atsushi Enomoto <atsushi@ximian.com>
103 * DateTime.cs : fix roundtrip regression in Sys.Xml.XmlConvertTests,
104 patch by James Purcell (at #352210).
106 2008-02-25 Atsushi Enomoto <atsushi@ximian.com>
108 * DateTime.cs, DateTimeUtils.cs : make Kind value from parse result
109 as dotnet-compatible. Patch by James Purcell, fixed bug #352210.
111 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
113 * DBNull.cs : ToType(typeof(DBNull),...) should be allowed.
115 2008-02-16 Sebastien Pouliot <sebastien@ximian.com>
117 * Object.cs: Fix parameter name to match MS implementation. Found
119 * ValueType.cs: Fix parameter name to match MS implementation.
120 Found using Gendarme.
122 2008-02-14 Jb Evain <jbevain@novell.com>
124 * Delegate.cs (CreateDelegate): refactor. DRY!
126 2008-02-12 Gert Driesen <drieseng@users.sourceforge.net>
128 * Delegate.cs (CreateDelegate): Walk the inheritance change to find
129 matching method. Skip methods for which the return type does not match
130 the delegate. Fixes bug #360784.
132 2008-02-11 Eyal Alaluf <eyala@mainsoft.com>
134 * NumberFormatter.cs: Fix ToString("R") for +-Infinity & NaN.
136 2008-02-08 Sebastien Pouliot <sebastien@ximian.com>
138 * Random.cs: Explain (and extend) special case in Next(min,max)
140 2008-02-08 Juraj Skripsky <js@hotfeet.ch>
142 * Random.cs (Next): Use rounding (via implicit conversion) only on
143 positive values. Fixes bug 359918.
145 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
147 * Environment.cs: Remove unused method found with Gendarme.
149 2008-02-02 Gert Driesen <drieseng@users.sourceforge.net>
151 * Variant.cs: Fixed line endings.
152 * MonoType.cs: Fixed parameter name for ArgumentException to match MS.
154 2008-01-29 Zoltan Varga <vargaz@gmail.com>
156 * Type.cs (MakeGenericType): Fix exception message.
158 2008-01-29 Jb Evain <jbevain@novell.com>
160 * AppDomain.cs: add SL overload of DefineDynamicAssembly.
162 2008-01-29 Marek Safar <marek.safar@gmail.com>
164 * Type.cs (MakeGenericType): More argument checks. Fixes #356863 by
167 2008-01-25 Rodrigo Kumpera <rkumpera@novell.com>
169 * MonoType.cs (InvokeMember): Fixed exceptions arguments for last comit.
171 2008-01-24 Rodrigo Kumpera <rkumpera@novell.com>
173 * MonoType.cs (InvokeMember): Check for parameters without default value which
174 the supplied argument is Missing.Value. Fixes one of the issues of #348522.
176 2008-01-21 Sebastien Pouliot <sebastien@ximian.com>
178 * DateTimeOffset.cs: Avoid NRE on bad cast if null is provided to
179 Equals(object). Found using Gendarme.
181 2008-01-16 Zoltan Varga <vargaz@gmail.com>
183 * DateTimeOffset.cs: Fix warnings.
185 2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
187 * DateTimeOffset.cs: ParseExact: parse f, F, s too.
189 2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
191 * DateTimeOffset.cs: ParseExact: honor the DateTimeStyles parameter.
193 2008-01-15 Zoltan Varga <vargaz@gmail.com>
195 * AppDomainSetup.cs Buffer.cs Action.cs Array.cs BadImageFormatException.cs Byte.cs
196 Attribute.cs _AppDomain.cs Boolean.cs AppDomain.cs: Fix some argument names to be
199 2008-01-14 Sephane Delcroix <sdelcroix@novell.com>
201 * DateTimeOffset.cs: start refactoring DoParse.
203 2008-01-14 Zoltan Varga <vargaz@gmail.com>
205 * Type.cs (GetConstructor): Use correct binding flags in type (Type[]) overload.
208 2008-01-13 Eyal Alaluf <eyala@mainsoft.com>
210 * NumberFormatter.cs, Double.cs, Single.cs: Fix Single & Double default
211 ToString to handle +-Infinity & NaN.
213 2008-01-14 Sephane Delcroix <sdelcroix@novell.com>
215 * DateTimeOffset.cs: ParseExact (string, string, IFormatProvider)
219 2008-01-14 Zoltan Varga <vargaz@gmail.com>
221 * NumberFormatter.cs: Remove some redundant assignments.
223 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
225 * AppDomain.cs: Also fix bug #350530 for overload taking evidence and
226 args. On 1.0 profile, throw COMException to match MS and to allow
227 our unit tests to pass on MS.
229 2008-01-13 Eyal Alaluf <eyala@mainsoft.com>
231 * NumberFormatter.cs: Check in redesigned implementation. Improves
232 double.ToString performance by 2-3 orders of magnitude and other
233 primitive numeric types ToString performance.
234 * NumberFormatter.jvm.cs: The TARGET_JVM managed tables for NumberFormatter
235 class for reuse if a completely managed NumberFormatter is required.
236 * Int16.cs UInt64.cs Double.cs UInt16.cs SByte.cs Byte.cs TimeSpan.cs
237 Int32.cs Int64.cs Single.cs UInt32.cs: Adapt to new NumberFormatter.
239 2008-01-13 Zoltan Varga <vargaz@gmail.com>
241 * AppDomain.cs: Check for a missing entry point in the ExecuteAssembly methods.
244 2008-01-11 Stephane Delcroix <sdelcroix@novell.com>
246 * DateTimeOffset.cs: Fixes the MinValue (was equal to MaxValue)...
248 2008-01-10 Zoltan Varga <vargaz@gmail.com>
250 * Delegate.cs: Implement argument checking in CreateDelegate(Type,object,MethodInfo)
251 method. Make the CreateDelegate(Type,MethodInfo) overload calls this version.
254 2008-01-10 Stephane Delcroix <sdelcroix@novell.com>
256 * DateTimeOffset.cs: chain the Parse* methods together.
258 2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
260 * DateTime.cs : revert the previous fix. It caused regression on
263 2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
265 * DateTime.cs : fixed bug #352210. Kind is unspecified by default,
266 while the tick is for local time by default. This fix also involved
267 special x509 handling.
269 2008-01-08 Marek Safar <marek.safar@gmail.com>
271 * Array.cs (LastIndexOf<T>): Fixed bound checking.
273 2008-01-06 Zoltan Varga <vargaz@gmail.com>
275 * AppDomain.cs: Move the assembly loading in ExecuteAssembly and
276 ExecuteAssemblyByName to managed to as said by the MSDN docs. Fixes #350530.
278 * Environment.cs: Bump corlib version.
280 2008-01-02 Marek Habersack <mhabersack@novell.com>
282 * Array.cs: fix a typo to unbreak the build.
284 2008-1-1 Scott Peterson <lunchtimemama@gmail.com>
286 * Array.cs: Slight improvement to the quicksort algorithm.
288 2007-12-28 Gert Driesen <drieseng@users.sourceforge.net>
290 * Environment.cs: Bump corlib version.
292 2007-12-20 Gert Driesen <drieseng@users.sourceforge.net>
294 * AppDomain.cs: Added check for null AssemblyName, and invalid
295 AssemblyName.Name to DefineDynamicAssembly overloads. Loosely based on
296 patch provided by Cedric Vivier. Fixes bug #349272.
298 2007-12-20 Stephane Delcroix <sdelcroix@novell.com>
300 * DateTimeOffset.cs: set [Min|Max]Value to UTC. Fixes #349621.
302 2007-12-19 Stephane Delcroix <sdelcroix@novell.com>
306 * DateTimeUtils.cs: factored out the common pieces of DT and DTO into DTU.
308 2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
310 * DateTimeOffset.cs: implementing the 4 ToString overloads by reusing
311 large chunks of System.DateTime code.
313 2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
315 * DateTimeOffset.cs: some bugfix discovered by unit tests.
317 2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
319 * DateTimeOffset.cs: almost complete implementation, still missing the
320 Parse* and ToString methods.
322 2007-12-11 Zoltan Varga <vargaz@gmail.com>
324 * AppDomain.cs (DoAssemblyResolve): Fix detection of whenever there is a
325 reflection-only assembly resolve hook.
327 2007-12-10 Stephane Delcroix <sdelcroix@novell.com>
329 * DateTimeOffset.cs: partial implementation. no longer just a stub.
331 2007-11-30 Zoltan Varga <vargaz@gmail.com>
333 * Delegate.cs: Compute the Method property lazily.
335 * Delegate.cs: Add a 'method' field.
337 * Environment.cs: Bump corlib version.
339 2007-11-21 Zoltan Varga <vargaz@gmail.com>
341 * Array.cs: Make the InternalArray_... methods internal.
343 * Environment.cs: Bump corlib version.
345 2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
347 * AppDomain.cs : filled 2.0 API (extra ones are from 2.0 SP1).
348 * ContextMarshalException.cs : obsolete in 2.0.
350 2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
352 * MarshalByRefObject.cs : Added MemberwiseClose() stub.
353 GetLifetimeService() is not virtual (in both 2.0 and 1.1).
354 * Console.cs : implemented missing 2.0 key members.
356 2007-11-18 Gert Driesen <drieseng@users.sourceforge.net>
358 * Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
359 some exception messages.
361 2007-11-16 Gert Driesen <drieseng@users.sourceforge.net>
363 * AppDomain.cs: Added some obsolete messages.
365 2007-11-15 Gert Driesen <drieseng@users.sourceforge.net>
367 * MonoType.cs: Modified ParamName for ArgumentException to match
368 MS. Provide meaningful exception messages. On 2.0, throw ANE instead
369 of ArgumentException when args is null.
371 2007-11-15 Zoltan Varga <vargaz@gmail.com>
373 * MonoType.cs (Invoke): Allow BindingFlags.SetField and
374 BindingFlags.SetProperty to be specified together. Fixes #321735.
376 2007-11-14 Miguel de Icaza <miguel@novell.com>
378 * Console.cs, ConsoleDriver.cs, TermInfoDriver.cs,
379 TermInfoReader.cs, TermInfoNumber.cs, TermInfoStrings.cs,
380 CStreamReader.cs, CStreamWriter.cs, NullConsoleDriver.cs,
381 WindowsConsoleDriver.cs: In the 2.1 profile we do not need the
382 full-blown Console (the terminal-addressable console) so we shrink
383 it down to the basic 1.0 Console.
385 2007-11-14 Marek Safar <marek.safar@gmail.com>
387 * Nullable.cs: Optimized to use generic comparers.
389 2007-11-14 Zoltan Varga <vargaz@gmail.com>
391 * Array.cs (Copy): Throw InvalidCastException in more cases.
393 2007-11-13 Zoltan Varga <vargaz@gmail.com>
395 * GCCollectionMode.cs GCLatencyMode.cs: New net 3.5 types.
397 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
399 * NumberFormatter.cs : revert previous two changes. It does not
400 really work for float and hence will rather bring confusion.
402 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
404 * NumberFormatter.cs : limit the situation that needs roundtrip
405 verification in the previous change to Double.
407 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
409 * NumberFormatter.cs : applied a quick fix for bug #320433. It needs
410 true fix to avoid extra perf. loss.
412 2007-11-08 Sebastien Pouliot <sebastien@ximian.com>
414 * TimeZone.cs: Under 2.0 we must return a Local DateTime.MinValue.
415 Fix the regression on the x86_64 bot which seems to be in it's own
418 2007-11-07 Gert Driesen <drieseng@users.sourceforge.net>
420 * Exception.cs: Cosmetic change to default exception message on
423 2007-11-05 Gert Driesen <drieseng@users.sourceforge.net>
425 * Array.cs: Distinguish between notstarted and finished state when
426 throwing IOE in Current, and provide meaningful exception message.
428 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
430 * Array.cs: Fix Enumerator<T>.Reset (#322248).
432 2007-11-05 Rodrigo Kumpera <rkumpera@novell.com>
434 * Type.cs (MakeGenericType): fix for #331199. If an user-defined type
435 was used, the runtime would crash. Now we apply UnderlyingSystemType to
436 all types before handling to the runtime.
438 2007-11-05 Stephane Delcroix <sdelcroix@novell.com>
440 * TimeZone.cs: fix for #323911. The our after DST.Start is already DST.
442 2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
444 * DateTime.cs : fix for #330085. for Local time, convert to Utc
445 before getting ticks.
447 2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
449 * ArgumentException.cs: Change default message to match MS. Removed
450 unnecessary check from Message, since base.Message can never be null.
452 2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
454 * DateTime.cs : ParseExact() should ignore 'K' when there is no
457 2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
459 * DateTime.cs : in roundtrip mode, 'Z' should turn the tick value to
460 utc time and should not result in different ticks.
463 2007-10-30 Miguel de Icaza <miguel@novell.com>
465 * UInt32.cs (Parse): Use Jeff Stedfast's parsing code which is
466 smaller and does not need checked() constructs.
468 * Int64.cs, Int32.cs, Int16.cs: small tuneup: do not throw
469 exception, instead return the exception like every other place in
472 * Int16.cs, Int32.cs, Int64.cs: Use the Jeff Stedfast parsing code
473 which is smaller. We no longer use "checked" to check for
474 overflows, I refactored some stuff and cleaned up the rest and
477 2007-10-27 Zoltan Varga <vargaz@gmail.com>
479 * MonoType.cs: Applied patch from Mario A Chavez
480 <mario.chavez@gmail.com>. Add support for invoking members with the
481 ParamArray attribute. Fixes #336841.
483 2007-10-26 Zoltan Varga <vargaz@gmail.com>
485 * MonoType.cs (InvokeMember): Make sure one operation is passed in the binding
486 flags. Fixes #336936.
488 Fri Oct 26 19:43:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
490 * Environment.cs, String.cs: patch from Tyler Larson
491 <mono-devel@tlarson.com> to fix the handling of the RemoveEmptyEntries
492 option in string.Split (bug #322375).
494 2007-10-26 Dick Porter <dick@ximian.com>
496 * Environment.cs: Bump version because of Thread initialisation
499 2007-10-25 Lluis Sanchez Gual <lluis@novell.com>
501 * AppDomain.cs: In DefaultDomain, wrap the returned domain with
502 a proxy if the current domain is not the root domain.
504 2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
506 * Type.cs : implemented ReflectionOnlyGetType().
508 2007-10-19 Zoltan Varga <vargaz@gmail.com>
510 * AppDomain.cs: Add NET 3.5 DefineDynamicAssembly () overloads.
512 2007-10-13 Zoltan Varga <vargaz@gmail.com>
514 * Delegate.cs (CreateDelegate): Allow binding instance methods to
515 delegates with an extra argument, a NET 2.0 feature. Fixes #333647.
517 Fri Oct 12 08:11:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
519 * String.cs: reverted unapproved patch that breaks the build.
521 2007-10-11 Joel Reed <joelwreed@comcast.com>
523 * String.cs: fix String.Split(char[],int,StringSplitOptions)
524 with StringSplitOptions.RemoveEmptyEntries option. The correct
525 behavior is to remove empty entries while the string is being split,
526 and always return the maximum number of elements possible.
527 Patch from: Tyler Larson <mono-devel@tlarson.com>
529 2007-09-28 Jb Evain <jbevain@novell.com>
531 * Object.cs: Make ToString return Type.ToString ()
532 by default instead of Type.FullName to match .net
533 behavior. Fix #329419.
535 2007-09-28 William Holmes <billholmes54@gmail.com>
537 * DateTime.cs: Check for AssumeUniversal when parsing string.
540 2007-09-21 Gert Driesen <drieseng@users.sourceforge.net>
542 * Enum.cs: Use regular single quotes in exception message.
544 2007-09-14 Paolo Molaro <lupus@ximian.com>
546 * String.cs: implemented all the string ctors using CreateString
547 methods, so they can run completely in managed code.
549 2007-09-13 Marek Safar <marek.safar@gmail.com>
551 * DateTimeOffset.cs: Implemented few properties.
553 2007-09-13 Atsushi Enomoto <atsushi@ximian.com>
555 * Decimal.cs, Math.cs : implemented midpoint rounding.
557 2007-09-13 Atsushi Enomoto <atsushi@ximian.com>
559 * Activator.cs : implemented 2.0 CreateInstance()
560 and CreateInstanceFrom () overloads.
562 2007-09-12 Sebastien Pouliot <sebastien@ximian.com>
564 * Decimal.cs: More explicit text in exception (old and almost
565 forgetten patch on laptop ;-)
567 2007-09-10 Atsushi Enomoto <atsushi@ximian.com>
569 * OperatingSystem.cs : implemented ISerializable.
571 2007-08-28 Zoltan Varga <vargaz@gmail.com>
573 * DateTime.cs: Fix a warning.
575 2007-08-25 Robert Jordan <robertj@gmx.net>
577 * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
579 2007-08-25 Alan McGovern <amcgovern@novell.com>
581 * DateTime.cs: Reverted DateTime changes.
583 2007-08-25 Robert Jordan <robertj@gmx.net>
585 * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
587 2007-08-24 Zoltan Varga <vargaz@gmail.com>
589 * Array.cs: Fix min + max / 2 overflows in the BinarySearch and qsort methods.
592 2007-08-23 Marek Safar <marek.safar@gmail.com>
594 * DateTimeOffset.cs: New .NET 3.5 struct for 2.0 mscorlib.
596 2007-08-23 Eyal Alaluf <eyala@mainsoft.com>
598 * DateTime.cs: Numerous improvements to DateTime.Parse. It handles a lot
599 more possible formats and more correctly at that. It is also now easier
600 to manage the formats DateTime.Parse supports.
602 2007-08-17 Zoltan Varga <vargaz@gmail.com>
604 * Exception.cs: Make 1.0 and 2.0 object layout the same since this class is seen
605 by the runtime. Fixes #82459.
607 2007-08-16 Gert Driesen <drieseng@users.sourceforge.net>
609 * MonoCustomAttrs.cs: In IsDefined, throw ArgumentNullException if
610 attributeType is null to avoid a SIGSEGV (and match MS). Only partial
611 fix for bug #82431 on 1.0 profile; it fully fixes the problem for the
612 1.0 profile, but more changes (in the runtime) are required for the
613 2.0 profile. Added a FIXME explaining the problem.
615 2007-08-15 Gert Driesen <drieseng@users.sourceforge.net>
617 * MonoCustomAttrs.cs: In IsDefined, only walk inheritance chain if
618 both AttributeUsage.Inherited and inherit are true. Fixed bug #82431.
620 2007-08-13 Gert Driesen <drieseng@users.sourceforge.net>
622 * ArgumentException.cs: Ignore zero-length ParamName for Message.
623 Use ParamName property instead of field, since the property is marked
625 * Array.cs: Provide more meaningful exception message when destination
626 array is not long enough.
628 2007-08-11 Zoltan Varga <vargaz@gmail.com>
630 * Array.cs: Implement InternalArray__set_Item. Fixes #82345.
632 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
634 * IntPtr.cs : oops, do not ignore format in ToString(string).
636 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
638 * GC.cs, Exception.cs, IntPtr.cs, Enum.cs, DateTime.cs, Convert.cs
639 ConsoleKeyInfo.cs, String.cs, Object.cs, Attribute.cs,
640 Version.cs : couple of cosmetic 2.0 API fixes.
642 2007-08-06 Aaron Bockover <abockover@novell.com>
644 * Environment.cs (ReadXdgUserDir): Support the changes to the
645 xdg-user-dirs spec that allow $HOME to start the path; also allows
646 for quotes surrounding the path (Patch ported from Banshee,
649 2007-07-28 Miguel de Icaza <miguel@novell.com>
651 * MulticastDelegate.cs (Equals): do not cast to avoid exceptions,
652 instead use the "as" operator, as pointed out by Jesse Jones'
655 2007-07-21 Gert Driesen <drieseng@users.sourceforge.net>
657 * BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
658 of ArgumentOutOfRangeException and ArgumentException ctors that take
659 both parameter name and message. In ToString throws ArgumentException
660 instead of ArgumentOutOfRangeException when length is negative, and
661 return zero-length string when length is 0.
663 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
665 * AppDomainSetup.cs : fix serialization regression.
667 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
669 * AppDomainSetup.cs :
670 MonoTODO AppDomainInitializer as its implementation is wrong.
672 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
674 * AppDomainSetup.cs : added missing 2.0 members.
675 * AppDomain.cs : support AppDomainInitializer.
677 2007-06-06 Miguel de Icaza <miguel@novell.com>
679 * Int16.cs, UInt64.cs, SByte.cs, UInt16.cs, Byte.cs, Int32.cs,
680 Int64.cs, UInt32.cs: Fix for 81775.
682 I removed Parse from a Byte.cs and UInt16.cs as in various cases
683 they still depended on UInt32.cs for parsing, there is no reason
684 to keep all of this code duplicated (UInt64 is a different case
687 I was hoping for some feedback on whether my tests are correct,
688 but so far no takers.
690 2007-07-14 Zoltan Varga <vargaz@gmail.com>
692 * ModuleHandle.cs: Implement the generic versions of the ResolveXXXHandle () methods.
694 * ModuleHandle.cs: Add stubs for generic ResolveXXXHandle () methods.
696 2007-07-10 Alan McGovern <amcgovern@novell.com>
698 * Guid.cs: All whitespace should be trimmed from before and
699 after a string passed into the Guid constructor. Fixes #81958
701 2007-07-10 Zoltan Varga <vargaz@gmail.com>
703 * RuntimeTypeHandle.cs: Fix signatures of == and != operators.
705 * ModuleHandle.cs: Add missing 2.0 stuff.
707 2007-07-08 Zoltan Varga <vargaz@gmail.com>
709 * *.cs: Add missing ComVisible attributes.
711 * Delegate.cs: Add missing 2.0 CreateDelegate () methods.
713 2007-07-07 Gert Driesen <drieseng@users.sourceforge.net>
715 * DateTime.cs: In ParseExact, throw ArgumentNullException if format
716 is null; throw FormatException if formats array is empty or if one of
717 items is null or a zero-length string.
719 2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
721 * Double.cs (Parse): Fix for string ending in garbaga, it was just ignoring it
722 instead of throwing FormatException. Fixes #81777
724 2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
726 * Double.cs (Parse): Fix for whitespace only strings, it was returning zero
727 instead of throwing FormatException. Fixes #81630
729 2007-07-06 Alan McGovern <amcgovern@novell.com>
731 * DateTime.cs: If the format is null or empty, it should default to 'G'.
734 2007-07-06 Jonathan Chambers <joncham@gmail.com>
736 * __ComObject.cs: Support ExtensibleClassFactory.
739 2007-07-06 Aaron Bockover <abockover@novell.com>
741 * Environment.cs (InternalGetFolderPath): Try reading some
742 paths from ~/.config/user-dirs.dirs (XDG user dirs spec);
743 always return something for MyPictures
745 2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
747 * Type.cs : 2.0 TypeHandle and ContainsGenericParameters are virtual
748 (required fix for 2.0 reflection API fixes).
750 2007-06-22 Jonathan Chambers <joncham@gmail.com>
752 * __ComObject.cs: Move interface lookup to unmanaged.
754 2007-06-21 Zoltan Varga <vargaz@gmail.com>
756 * Environment.cs: Bump corlib version.
758 * Delegate.cs: Applied patch from Robert Jordan (robertj@gmx.net). Keep
759 the dynamic method referenced by a delegate alive.
761 2007-06-05 David Ferguson <davecferguson@gmail.com>
763 * DateTime.cs: Changed DateTime.Parse() to throw a FormatException
764 instead of an ArgumentOutOfRangeException for .NET 2.0. An
765 ArgumentOutOfRangeException is still thrown for .NET 1.1.
768 Mon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>
770 * String.cs: optimized CompareOrdinal ().
772 2007-06-02 Zoltan Varga <vargaz@gmail.com>
774 * MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.
776 * MonoCustomAttrs.cs (GetBase): Handle properties correctly. Fixes #81797.
778 2007-05-31 Zoltan Varga <vargaz@gmail.com>
780 * Delegate.cs: Add invoke_impl field. Reorder fields for better cache behavior. Add
781 SetMulticastDelegate icall.
783 * MulticastDelegate.cs (CombineImpl): Call SetMulticastDelegate () on newly created
786 * Environment.cs: Bump corlib version.
788 2007-05-25 Jonathan Chambers <joncham@gmail.com>
790 * __ComObject.cs: Add overload to GetInterface to allow
791 not throwing exceptions. Fixes as and is operators for COM objects.
793 2007-05-23 Atsushi Enomoto <atsushi@ximian.com>
795 * Array.cs : reverting Array.cs fixes since the runtime depends on
796 those method attributes.
798 2007-05-23 Atsushi Enomoto <atsushi@ximian.com>
800 * Int16.cs UInt64.cs UIntPtr.cs Double.cs CrossAppDomainDelegate.cs
801 ResolveEventHandler.cs IntPtr.cs UnhandledExceptionEventHandler.cs
802 Void.cs AssemblyLoadEventHandler.cs SByte.cs UInt16.cs DateTime.cs
803 Byte.cs TimeSpan.cs Decimal.cs Int32.cs Delegate.cs
804 AppDomainInitializer.cs MulticastDelegate.cs Int64.cs
805 EventHandler.cs Single.cs UInt32.cs AsyncCallback.cs :
806 cosmetic attribute fixes (ComVisible/Serializable).
808 2007-05-22 Atsushi Enomoto <atsushi@ximian.com>
810 * Convert.cs : completed 2.0 (ToBase64CharArray).
811 * String.cs : removed MonoTODO.
812 * DataMisalignedException.cs : removed extra .ctor().
813 * Array.cs : internalize extra members. Fixed reliability contract.
815 2007-05-17 Atsushi Enomoto <atsushi@ximian.com>
817 * DateTime.cs : added support for 'K'.
819 2007-05-11 Jonathan Chambers <joncham@gmail.com>
821 * __ComObject.cs: No need to call CoInitialize anymore since
822 Thread.ApartmentState was implemented.
824 2007-05-11 Jeffrey Stedfast <fejj@novell.com>
828 * TermInfoDriver.cs (WriteSpecialKey): Actually clear the screen
829 and reset the cursor position to 0,0 when the key is
831 (Clear): Reset the cursor position to 0,0
833 2007-05-09 Marek Safar <marek.safar@gmail.com>
835 * MulticastDelegate.cs: Fixed operators logic.
837 2007-05-09 Marek Habersack <mhabersack@novell.com>
839 * DateTime.cs: add a format used in ASP.NET QuickStarts
840 ("HH':'mm tt MM/dd/yyyy")
842 2007-04-30 Zoltan Varga <vargaz@gmail.com>
844 * Type.cs (Equals): Allow a null argument.
846 2007-04-27 Zoltan Varga <vargaz@gmail.com>
848 * Environment.cs (StackTrace): Avoid skipping a frame to be
851 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
853 * DateTimeTest.cs : looks like 'F' even removes preceding '.' ...
855 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
857 * DateTime.cs : implemented new-2.0 'F' pattern letter.
859 2007-04-24 Jeffrey Stedfast <fejj@novell.com>
861 Fixes the last of the bugs listed in bug #77525
863 * TermInfoDriver.cs (ctor): For known terminal types, set color16
864 to true (since we know they support 16 colours).
865 (Init): set the setlfgcolor and setlbgcolor format strings.
866 (BackgroundColor): Use the appropriate formatter string for
868 (ForegroundColor): Use the appropriate formatter string for
870 (TranslateColor): Now takes (and sets appropriately) an output
871 'bool light' argument.
873 2007-04-24 Marek Habersack <mhabersack@novell.com>
875 * TermInfoDriver.cs: don't include debug stuff by default - it
876 breaks multithreaded applications (they all attempt to open
877 console.log and fail because of sharing violation).
879 2007-04-23 Jeffrey Stedfast <fejj@novell.com>
881 * TermInfoDriver.cs (ReadKeyInternal): Since our input stream is
882 buffered, check if it has more buffered input in addition to our
883 timeout check. This makes it such that we will actually correctly
884 match multi-char escape sequences.
885 (Read): Changed the logic slightly wrt 'fresh' echoing. Once we
886 encounter a fresh char, all chars afterward should also be
887 considered 'fresh' even if 'fresh' is returned as false later.
888 (ReadLine): Same logic here.
890 2007-04-23 Jeffrey Stedfast <fejj@novell.com>
892 Fixes bug #80702 (via getting rid of the casting) and more.
894 The following change makes it such that even if an application
895 calls Console.SetOut() with its own output stream, we can still
896 properly echo user-input from stdin to the real stdout.
898 * TermInfoDriver.cs (ctor): Grab a reference to the original
899 Console.stdout so we can be sure we always echo to console.
900 (QueueEcho): No need to cast Console.stdout anymore.
902 (WriteConsole: Here too.
904 2007-04-20 Jeffrey Stedfast <fejj@novell.com>
906 * TermInfoDriver.cs (QueueEcho): Renamed from Echo(char). Use
907 CStreamWriter's new InternalWriteChars().
908 (Echo): Since we can no longer go thru CStreamWriter's ::Write()
909 method that does checks for special keys, do the checks here
910 instead - if it is a special key, flush the echo buffer and then
911 write the special key.
912 (EchoFlush): Also updated to use CStreamWriter's new
913 InternalWriteChars().
914 (Read): Use the Echo(key) variety.
916 (ReadLine): And here too.
918 * CStreamWriter.cs (InternalWriteChars): Write a char array
919 directly to stdout. Do not pass Go, do not collect $200.
921 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
923 Optimization for echoing keypresses back to the console when the
924 user pastes a block of text rather than manually typing text.
926 * TermInfoDriver.cs (Echo): A new convenience function for echoing
927 characters/keys back to the console with an optimization twist and
929 (EchoFlush): Flush our pending echo queue
930 (Read): Make use of Echo() both for convenience and for speed.
932 (ReadKey): Make use of Echo()/EchoFlush() for simplicity of code,
933 but we won't get the same optimization out of it.
935 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
939 * TermInfoDriver.cs: Changed 'buffer' to be a char array instead
940 of a byte array and stdin is now a StreamReader rather than a
942 (Init): Setup stdin as a StreamReader using Console.InputEncoding
944 (GetCursorPosition): Use stdin.Read() instead of the old
946 (AddToBuffer): Updated to allocate the correct array type for
948 (ReadKeyInternal): Updated to use stdin.Read() rather than
949 stdin.ReadByte(). This is the main reason we needed to use chars
950 instead of bytes. Characters entered by the user need to be
951 represented as unicode chars and not bytes like before.
952 (Match): Now takes a char[] buffer argument instad of byte[] and
953 compares the input buffer to the byte-map as chars.
955 2007-04-18 Jeffrey Stedfast <fejj@novell.com>
957 Fixes bug #81159: behave the same as mscorlib
959 * TermInfoDriver.cs (ReadKeyInternal): Now has an 'out bool fresh'
960 argument which is used to tell our caller if the key was freshly
961 read from the console or pre-buffered.
962 (Read): New implementation of Console.In.Read(char[], int, int)
963 that behaves exactly like mscorlib's implementation.
964 (ReadKey): Updated for the ReadKeyInternal() API change - only
965 echo if the key was fresh.
968 * CStreamReader.cs (Read): Call the new TermInfoDriver.Read()
970 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
972 * CStreamWriter.cs (Write): Optimized this some more, we don't
973 need a temporary buffer. Just blit chunks of the src buffer
976 * CStreamReader.cs (Read): Need to increment our array index so
977 that we don't store each byte read into the same
978 position. Discovered this while testing bug #81159 (which appears
979 to work as expected with current svn, other than this buglet).
981 * TermInfoDriver.cs (CursorTop::set): SetCursorPosition() sets our
982 internal cursorTop variable, so no need to explicitly set it again
983 after calling SetCursorPosition().
984 (CursorLeft::set): Same idea here.
986 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
988 * TermInfoDriver.cs (ReadLine): Implemented a workaround for
989 IronPython going behind System.Console's back when writing text to
990 the screen (it doesn't seem to use Console.stdout, instead it
991 creates its own file stream or something which just so happens to
992 write to the same file descriptor) by querying for the cursor
993 position in ReadLine(), so we lose no real performance (since we
994 have to wait for user input anyway).
996 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
998 * TermInfoDriver.cs (Init): SetEcho(false), we'll be manually
999 echoing from now on (ReadLine() has already been doing this, might
1000 as well make ReadKey() behave the same).
1001 (GetCursorPosition): No longer need to disable/re-enable echo
1002 anymore since it is now always false.
1003 (ReadKey): Manually echo the key back to the console just like
1004 ReadLine() has been doing (in the interest of consistancy) if
1006 (ReadLine): No longer need to disable/re-enable echo, echo is
1007 always off now. Also, fixed what appears to have been a typo.
1009 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
1011 * TermInfoDriver.cs (IsSpecialKey): Oops, Enter should not be
1012 treated as a special key. Just update out cursor state here like
1013 we do with normal chars.
1014 (WriteSpecialKey): Enter is a no-op now because it is not treated
1015 as a special key anymore.
1017 * CStreamWriter.cs (Write): Only flush our buffer if j > 0
1019 2007-04-17 Jeffrey Stedfast <fejj@gnome.org>
1021 Turns out my last patch was broken wrt handling some special keys
1022 like Backspace and anything else that changed the cursor position
1023 in some non-standard way.
1025 * CStreamWriter.cs (Write): Instead of calling NotifyWrite(), we
1026 instead need to check IsSpecialKey(), and, if so, flush whatever
1027 we have saved in our temporary buffer and then call
1028 WriteSpecialKey(). Otherwise go on as we did in the last patch.
1030 * TermInfoDriver.cs (NotifyWrite): Broken up into 2 functions:
1031 (IsSpecialKey): Returns true if we need to do some special voodoo
1033 (WriteSpecialKey): Write the special key (using whatever voodoo
1036 2007-04-16 Jeffrey Stedfast <fejj@gnome.org>
1038 * CStreamWriter.cs (Write): Instead of writing 1 char at a time,
1039 copy the bytes into a temporary char array (with a fixed max size)
1040 so that we can minimize the number of Write() calls we make on the
1041 underlying stream (and thus on the write() system call).
1043 2007-04-17 Alp Toker <alp@atoker.com>
1045 * Array.cs: Make GetRank() icall private. Subclasses should use the
1046 public Rank property.
1048 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
1050 * WindowsConsoleDriver.cs: Get rid of unused Echo property.
1052 * NullConsoleDriver.cs: Get rid of Echo property.
1054 * IConsoleDriver.cs: Get rid of Echo property.
1056 * ConsoleDriver.cs (Echo::get/set): Removed, not needed.
1058 * TermInfoDriver.cs (Echo::get/set): Removed, this isn't necessary
1060 (ReadKey): If we are intercepting the key, call SetEcho (false)
1061 and then reset back to true after reading the key.
1062 (ReadLine): Same idea here.
1063 (GetCursorPosition): We no longer need to keep track of the
1064 previous echo state, we no longer have it :)
1066 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
1068 Fix for bug #80710 (and a bug I introduced in my last fix due to
1069 this code assuming the underlying term echo state was always
1070 false) and other buglets that I noticed.
1072 * TermInfoDriver.cs (ReadLine): Set (term) Echo to false as we do
1073 our own manual echoing which prevents ^H from getting displayed on
1074 the screen when the user hits backspace.
1075 (ReadLine): If the user hits Backspace and builder.Length is 0, DO
1076 NOT echo the backspace back to the console, ever.
1077 (ReadLine): Only echo characters back to the console if echo is
1078 set to true. Seems the Echo ConsoleDriver property is a Mono
1079 extension, and I'm assuming this is the intended behavior? I can't
1080 see what else the Echo property would be useful for...
1082 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
1086 * TermInfoDriver.cs: Renamed the noEcho variable to echo, makes
1087 the logic cleaner/simpler/etc. Plus it was never actually used
1088 other than in the property methods which are called Echo.
1089 (Init): Call ConsoleDriver.SetEcho() with the 'echo' value -
1090 allows for a slight optimization if called from within the
1092 (GetCursorPosition): Instead of calling the Echo property methods,
1093 call ConsoleDriver.SetEcho() directly to toggle echo off (if echo
1094 isn't already off, and then back on once we're finished getting
1095 the position - assuming the echo state is on, of course) - this
1096 avoids calling back into Init() which just felt dirty.
1097 (Echo::set): If the Echo state differs from our current state,
1098 call ConsoleDriver.SetEcho() with the new state (this is the
1099 important piece of the fix for bug #81050).
1100 (ReadKey): Simplified the echo logic to make it a bit clearer.
1103 2007-04-16 Marek Safar <marek.safar@gmail.com>
1105 * Char.cs (IsLetter): Faster version.
1107 2007-04-15 Alp Toker <alp@atoker.com>
1109 * Decimal.cs: Provide 2.0 Round() overloads using System.Math.
1111 2007-04-15 Alp Toker <alp@atoker.com>
1113 * Activator.cs: CreateInstance(Type,object[]) was not params before
1116 2007-04-15 Alp Toker <alp@atoker.com>
1118 * NonSerializedAttribute.cs: Inherited=false in 2.0.
1120 2007-04-05 Dick Porter <dick@ximian.com>
1122 * Environment.cs: Increment mono_corlib_version
1124 2007-04-03 Alp Toker <alp@atoker.com>
1126 * Array.cs: CreateInstance(Type,int[]) is params.
1127 * AppDomain.cs: ExecuteAssemblyByName(string,Evidence,string[]) is
1130 2007-04-03 Alp Toker <alp@atoker.com>
1133 * Math.cs: Should be static classes in 2.0.
1135 2007-04-03 Alp Toker <alp@atoker.com>
1137 * Delegate.cs: DynamicInvoke(object[]) is params in 2.0.
1139 2007-04-03 Alp Toker <alp@atoker.com>
1141 * Delegate.cs: Combine(Delegate[]) is params in 2.0.
1143 2007-03-27 Dick Porter <dick@ximian.com>
1145 * Environment.cs: Increment mono_corlib_version;
1147 2007-03-16 Miguel de Icaza <miguel@novell.com>
1149 * BitConverter.cs: Revert the patch from 72237 as that introduces
1150 a regression and we are not sure yet what we will be doing about
1153 Introduce a new InternalInt64BitsToDouble method that provides the
1154 fixed functionality, mark it as internal.
1156 Introduce a new SwappableToDouble method that includes the
1157 swapping ToDouble routine as introduced by Zoltan on 72237, this
1158 is used by InternalInt64BitsToDouble.
1160 * Math.cs (IEEERemainder): Use the InternalInt64BitsToDouble
1161 routine here to preserve the semantics from Zoltan.
1163 The problem with BitConverter.cs is that it is completely hossed.
1164 In .NET 1.1 it is a bitwise copy, no attempt is ever done to do
1165 endian-specific swapping. In .NET 2.0 it is *almost* like that,
1166 but it is subtly broken: if data is unaligned then endian
1167 conversions happen. If the data is properly aligned it behaves
1170 In general BitConverter is a sad class that offers little control,
1171 we will be introducing a new mono bit converter and encourage
1172 users to use that instead of the entirely broken
1173 System.BitConverter.
1175 2007-03-11 Gert Driesen <drieseng@users.sourceforge.net>
1177 * Delegate.cs: Fixed bootstrap build.
1179 2007-03-08 Gert Driesen <drieseng@users.sourceforge.net>
1181 * StringComparer.cs: Renamed StringComparer classes and promoted them
1182 to top-level classes. Merged Ordinal and OrdinalIgnoreCase comparers.
1183 Fixes binary serialization compatibility with MS.
1185 2007-03-06 Zoltan Varga <vargaz@gmail.com>
1187 * Type.cs (Equals): Remove a useless check.
1189 * Type.cs: Rename Type:Equals(Type) to EqualsInternal, and add support for checking
1190 UnderlyingSystemType. Fixes #81037.
1192 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
1194 * TermInfoDriver.cs: adjust buffer indexes after *every* read. Fixes
1195 bug #80329. Robert Jordan attached a similar patch to the bug report
1196 but I didn't see it until after my commit...
1198 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
1200 * Enum.cs: The above patch makes the formatting for specifiers 'x'
1201 and 'X' behave like MS.NET, including the correct length for each
1202 possible underlying type, and correctly using capital letters for
1205 Patch also includes some more test cases in EnumTests.cs.
1207 2007-02-25 Gert Driesen <drieseng@users.sourceforge.net>
1209 * AppDomainSetup.cs: If configuration file is not an absolute path,
1210 then throw a MemberAccessException if ApplicationBase is not set,
1211 or otherwise consider it as a path relative to ApplicationBase.
1212 Fixes bug #80934. Patch provided by Jamie Cansdale.
1213 * AppDomain.cs: In CreateDomain, construct AppDomain with
1214 ApplicationBase of default domain if not explicitly set in specified
1215 AppDomainSetup. If config file is not set, then use filename of the
1216 default domain config file. Base on patch provided by Jamie Cansdale.
1218 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
1220 * Random.cs: Fix exception messages ("then" -> "than"). Spotted by
1221 Mark A. Nicolosi (#80873).
1223 2007-02-12 Miguel de Icaza <miguel@novell.com>
1225 * CStreamWriter.cs (Write with char []): take the lock once for
1226 all characters and call manually the InternalWriteChar properly to
1229 (Write with string parameter): same thing, if the driver is not
1230 initialized use a fast path.
1232 If the driver has not been initialized, use a fast path instead.
1234 Mon Feb 12 21:54:57 CET 2007 Paolo Molaro <lupus@ximian.com>
1236 * MonoType.cs: patch from Cedric Vivier <cedricv@neonux.com> to
1237 get correctly non-public fields from generic types.
1239 2007-02-08 Jonathan Chambers <joncham@gmail.com>
1241 * __ComObject.cs: Add IUnknown field to object. Cleanup icalls.
1243 2007-02-03 Zoltan Varga <vargaz@gmail.com>
1245 * BitConverter.cs (ToDouble): Fix this on big-endian machines.
1247 2007-01-30 Atsushi Enomoto <atsushi@ximian.com>
1249 * TimeZone.cs: According to the docs, we should not throw when
1250 converting to Localtime if we are a negative value. Instead we
1251 return DateTime.MinValue.
1253 2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
1255 * DateTime.cs : copy Kind in those members that return DateTime.
1258 2007-01-20 Miguel de Icaza <miguel@novell.com>
1260 * Array.cs (InternalArray__ICollection_Contains,
1261 InternalArray__IndexOf): Cope with null values in the array (See
1264 2007-01-19 Marek Habersack <grendello@gmail.com>
1266 * AppDomain.cs: Make sure that domain
1267 SetupInformation.ConfigurationFile is never null. MS.NET by
1268 default copies the default domain's ConfigurationFile value
1269 there. Fixes bug #80547.
1271 2007-01-14 Jensen Somers <jensen.somers@gmail.com>
1273 * ArraySegment.cs: Added Equals() method, operator == and !=
1274 overloading and GetHashCode().
1276 2007-01-10 Andy Hume <andyhume32@yahoo.co.uk>
1278 * Fixes to a number of exception classes.
1280 A project of mine uses #ctor(String,Exception) on
1281 ObjectDisposedException, so I looked at adding that, and any
1282 other similar constructors missing as per the class status report.
1284 I also spotted inconsistent setting of HResult, and fixed
1285 those too. For instance, ArgumentNullException sets HResult
1286 only in three out of the four constuctors; not setting it in
1287 the v2 (String,Exception) one -- and correctly not in the
1288 Serialization constructor.
1291 So, I fixed the remaining missing (String,Exception)
1292 constructors in corlib (2 of), and fixed the Hresult setting
1293 in all exceptions there (4 of).
1295 The remaining Exception constructor omission listed was
1296 InvalidCastException.ctor(System.String, System.Int32). MSDN says:
1297 "This constructor supplies an HRESULT value that is
1298 accessible to inheritors of the InvalidCastException class,
1299 via the protected HResult property of the Exception class."
1300 I added that method too, setting the HResult property from
1303 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
1305 * String.cs, StringComparer.cs : avoid extra string creation in
1306 StringComparer.OrdinalIgnoreCase.
1308 2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
1310 * DateTime.cs: Under 2.0 fix ParseExact to set DateTimeKind.Utc when
1311 DateTimeStyles.AdjustToUniversal is used.
1313 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1315 * TermInfoDriver.cs: honor the backspace in ReadLine.
1317 2006-12-30 Marek Safar <marek.safar@gmail.com>
1319 * String.cs: Character based method only.
1320 (IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
1321 (Substring): Returns same instance when index is 0.
1323 2006-12-30 Alp Toker <alp@atoker.com>
1326 * Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
1329 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
1331 * DateTime.cs: Implement missing [To|From]Binary methods for 2.0.
1332 * OperatingSystem.cs: Implement missing ServicePack and VersionString
1334 * Version.cs: Add missing Major|MinorRevision properties for 2.0.
1336 2006-12-14 Raja R Harinath <rharinath@novell.com>
1338 * Type.cs (MakeGenericType): Can only be called on a generic type
1341 2006-12-03 Miguel de Icaza <miguel@novell.com>
1343 * DateTime.cs: Fix this on the 2.0 profile, return the
1344 DateTimeKind for the Now property
1346 2006-12-01 Duncan Mak <duncan@a-chinaman.com>
1348 * ArgumentOutOfRangeException.cs (.ctor):
1349 * NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
1350 that takes a string and an inner Exception.
1352 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
1355 When comparing enumerations, two or more enumeration values might
1356 match. Thus basically we should do complete matching, but right
1357 now just do reverse order search since only numbered abbrev month
1358 names matter (and full iteration is a mess). Fixed bug #80094.
1360 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
1363 use new internal clone-less DateTimeFormatInfo members.
1365 2006-11-29 Martin Baulig <martin@ximian.com>
1367 * INullableValue.cs: Removed.
1369 2006-11-28 Duncan Mak <duncan@novell.com>
1371 * ArgumentNullException.cs (.ctor): Added new constructor that's
1374 * InsufficientMemoryException.cs: Added missing 2.0 exception.
1376 2006-11-27 Jonathan Chambers <joncham@gmail.com>
1378 * __ComObject.cs: Removed IDispatchMono.
1380 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1382 * TermInfoDriver.cs:
1383 * Console.cs: lazy initialization of Console 2.0 (also when
1384 CancelKeyPress is used).
1386 2006-11-27 Miguel de Icaza <miguel@novell.com>
1388 * Exception.cs (GetType): New method in 2.x, Another Moma catch.
1390 Mon Nov 27 19:34:16 CET 2006 Paolo Molaro <lupus@ximian.com>
1392 * GC.cs: implemented the needed methods with icalls.
1394 2006-11-26 Miguel de Icaza <miguel@novell.com>
1396 * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.
1398 Go Moma! http://www.mono-project.com/Moma
1400 * Decimal.cs: Refactor code to implement TryParse.
1402 Also, avoid initializing messages on every call to stripStyles
1404 2006-11-22 Miguel de Icaza <miguel@novell.com>
1406 * DateTime.cs: A small performance hit, we store the actual time
1407 span in a boxed object. This way, it can be updated from other
1408 threads if necessary. We always unbox to get the value before
1409 any potential updates.
1411 Thanks to Gonzalo for catching this.
1413 2006-11-21 Miguel de Icaza <miguel@novell.com>
1415 * TimeZone.cs (CurrentSystemTimeZone): Cache the current year
1416 daylight savings time in static variables.
1418 (CurrentSystemTimeZone.OnDeserialization): Initialize
1419 this_year_dlt and this_year on this method.
1421 (TimeZone): init statically the currentTimeZone instead of
1422 delaying that to the static property, avoiding a compare.
1424 2006-11-22 Lluis Sanchez Gual <lluis@novell.com>
1426 * Array.cs: (compare<T>) if a comparer is provided, it has
1427 priority over other comparison methods.
1429 2006-11-14 Miguel de Icaza <miguel@novell.com>
1431 * Array.cs: TODOs will from now on be used to flag information
1432 that will be developer-visible, not to flag internal information
1433 that none of us reads or bothers about.
1435 For those, use "FIXME" strings in the source code instead.
1437 * AppDomain.cs: Update to be more useful.
1439 2006-11-13 Atsushi Enomoto <atsushi@ximian.com>
1441 * String.cs : fixed incorrect startIndex/length count in
1442 IndexOf(string,StringComparison).
1444 2006-11-07 Marek Safar <marek.safar@gmail.com>
1446 * String.cs (LastIndexOf): If value is Empty, the return value is
1447 the start index position in value.
1449 2006-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1451 * TermInfoDriver.cs: prevent an invalid cast.
1453 2006-10-26 Marek Safar <marek.safar@seznam.cz>
1455 * String.cs (Concat): Add fast-path for empty strings.
1457 2006-10-20 Jonathan Chambers <joncham@gmail.com>
1459 * Variant.cs: Add support for bool and interfaces.
1461 2006-10-18 Kornél Pál <kornelpal@gmail.com>
1463 * Type.cs: Removed is_subtype_of because IsSubclassOf should be used
1464 that is public and virtual. IsClass: Checking for ValueType is
1465 unnecessary. IsEnum: UnderlyingSystemType is not used anymore so
1466 no EnumBuilder hack is necessary. Checking for Enum is
1467 unnecessary. IsSerializable: Walk BaseType for user defined types.
1468 IsSubclassOf: Walk BaseType for user defined types.
1470 * MonoType.cs: IsValueTypeImpl is unnecessary. IsSubclassOf: Unlike
1471 Type system types throw ArgumentNullException on null Type
1474 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
1476 * BadImageFormatException.cs: Changed message for default ctor to
1477 match MS. Use internal message field of Exception to check whether
1478 Message is null. Match MS default messages when no message is
1479 set. Fixed ToString to match MS.
1481 2006-10-09 Miguel de Icaza <miguel@novell.com>
1483 * Environment.cs: Handle SpecialFolder.MyMusic
1485 2006-10-07 Gert Driesen <drieseng@users.sourceforge.net>
1487 * Enum.cs: Use different exception message depending on whether the
1488 type of the passed in value is an Enum or not. Avoid looking up the
1489 enum's underlying type twice in case of "D" or "d" format specifier.
1491 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1493 * TermInfoDriver.cs: don't allow backspace if we're at the beginning
1494 position for a ReadLine.
1496 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1498 * TermInfoDriver.cs: ironpython autocompletion works now.
1500 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1502 * Console.cs: avoid casting on windows.
1504 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1507 * TermInfoDriver.cs:
1508 * IConsoleDriver.cs:
1510 * ConsoleKeyInfo.cs:
1511 * NullConsoleDriver.cs:
1514 * WindowsConsoleDriver.cs: initial changes to handle cursor position
1517 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
1519 * ArithmeticException.cs: Modified default message to match MS, to
1520 ensure a local regression test passes on both Mono and .NET.
1522 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
1524 * Exception.cs: Marked message internal to allow derived classes to
1525 access the raw message (without changing the public API).
1527 2006-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1530 * TermInfoDriver.cs:
1531 * IConsoleDriver.cs:
1533 * WindowsConsoleDriver.cs: don't switch to the alternate window.
1534 Trigger the cancel event. Retrieve the cursor position at the
1535 beginning, as we're going to keep track of it instead of querying it
1538 2006-09-14 Jonathan Chambers <joncham@gmail.com>
1540 * Environment.cs (ProcessorCount): Implement as icall.
1541 Patch by Jason McFall.
1543 2006-09-05 Raja R Harinath <rharinath@novell.com>
1545 * DateTime.cs (Today) [NET_2_0]: Set kind to Local.
1547 2006-09-02 Zoltan Varga <vargaz@gmail.com>
1549 * Enum.cs (Equals): Use the generic Equals implementation from ValueType which
1550 is faster and avoids allocations.
1552 2006-09-01 Martin Baulig <martin@ximian.com>
1554 * Array.cs (Array.InternalArray): Removed the helper class;
1555 instead we use private generic methods in System.Array which are
1556 inserted into the vtable at runtime.
1558 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1560 * ConsoleCancelEventArgs.cs: fix my build.
1562 2006-08-22 Miguel de Icaza <miguel@novell.com>
1564 * MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0
1566 * Converter.cs: update signature to final.
1568 * ModuleHandle.cs: Removed the [Obsolete] flags as they removed
1569 those in the final 2.0
1571 * DateTime.cs: Fixed the signature.
1573 * Convert.cs: Removed API calls that were deprecated in final 2.0
1575 * Enum.cs: Updated to use the obsoletes flagged in 2.0.
1577 * ConsoleCancelEventArgs.cs: Updated to 2.0
1579 2006-08-19 Miguel de Icaza <miguel@novell.com>
1581 * Attribute.cs: This needs to do a deep compare, not a shallow
1582 one. Ran into this bug with the VBNC compiler that compares two
1583 separate attributes for equality using this.
1585 * String.cs (StartsWith): Fix the overloaded constructor that
1586 takes a CultureInfo, if that is null, it means to use the current
1589 * TermInfoDriver.cs: Do not throw exceptions on the driver for
1590 SetWindowSize and SetWindowPosition, they can be treated as nops.
1592 2006-08-18 Zoltan Varga <vargaz@gmail.com>
1594 * *.cs: Use String.Empty instead of "" in a lot of places.
1596 2006-08-17 Sebastien Pouliot <sebastien@ximian.com>
1598 * DateTime.cs: Remove last patch to DateTime as the fix wasn't correct
1599 and made most x.509 unit tests fails. However the original problem is
1602 2006-08-14 Raja R Harinath <rharinath@novell.com>
1605 * Activator.cs (CreateInstance): Throw ArgumentException on open
1608 2006-08-14 Miguel de Icaza <miguel@novell.com>
1610 * MonoType.cs: Do the argument testinf for SetField later,
1611 otherwise the implicit (and not documented, but already considered
1612 side effect of checking SetProperty) did not work.
1616 2006-08-13 Atsushi Enomoto <atsushi@ximian.com>
1618 * String.cs : Normalize() and IsNormalized() implementation.
1620 2006-08-10 Jonathan Chambers <joncham@gmail.com>
1622 * __ComObject.cs: Added defintion of IDispatch interface, and
1623 property. Get CLSID of supertype for creation if class not
1624 ComImport attributed (allows for inheritance of RCW).
1625 * MonoType.cs: Implement IsCOMObjectImpl.
1627 2006-08-09 Atsushi Enomoto <atsushi@ximian.com>
1629 * DateTime.cs : fixed X509Certificate() case that regressed only
1632 2006-08-07 Kornél Pál <kornelpal@gmail.com>
1634 * Console.cs: Use correct code pages on Windows and initialize
1635 InputEncoding and OutputEncoding to the actual encodings used.
1637 2006-08-05 Duncan Mak <duncan@novell.com>
1639 * Char.cs (TryParse): Implemented missing 2.0 method, which fixed
1642 2006-07-28 Jonathan Chambers <joncham@gmail.com>
1644 * __ComObject.cs: Added support for marshalling objects.
1646 2006-07-24 Atsushi Enomoto <atsushi@ximian.com>
1648 * Char.cs : implemented utf32 conversion methods thus fixed bug #78856.
1650 2006-07-19 John Luke <john.luke@gmail.com>
1652 * TermInfoDriver.cs: switch order of alt and control when
1653 calling new ConsoleKeyInfo()
1655 2006-07-19 Kornél Pál <kornelpal@gmail.com>
1657 * String.cs: Improve CreateString () performance when length is zero.
1659 2006-07-18 Kornél Pál <kornelpal@gmail.com>
1661 * String.cs: Added CreateString () methods. Constructors with matching
1662 argument list are redirected to these methods that improves
1663 performance as well as fixes bug #78703.
1665 2006-07-15 Jonathan Chambers <joncham@gmail.com>
1667 * __ComObject.cs: Begin implementing COM Interop.
1668 * Environment.cs: Increment corlib version.
1670 2006-07-12 Zoltan Varga <vargaz@gmail.com>
1672 * Delegate.cs (DynamicInvokeImpl): Add support for bound delegates in Net 2.0.
1674 2006-07-11 Zoltan Varga <vargaz@gmail.com>
1676 * Double.cs (Parse): Fix handling of inner whitespace.
1678 2006-07-09 Zoltan Varga <vargaz@gmail.com>
1680 * Int32.cs: Fix a warning.
1682 2006-07-07 Atsushi Enomoto <atsushi@ximian.com>
1684 * TimeZone.cs : consider DateTimeKind in ToLocalTime() and
1685 ToUniversalTime(). Fixed bug #78784. Patch by Thong Nguyen.
1686 * DateTime.cs : DateTimeKind for UtcNow should be Utc.
1688 2006-06-28 Kornél Pál <kornelpal@gmail.com>
1690 * Char.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.
1692 2006-06-27 Atsushi Enomoto <atsushi@ximian.com>
1694 * Double.cs : don't throw Exception in TryParse() for 'E'.
1697 2006-06-20 Jb Evain <jbevain@gmail.com>
1699 * Math.cs: implement Math.Truncate.
1701 2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
1704 Another lame win32 dependent pattern. Fixed bug #78618.
1706 2006-06-09 Jonathan Chambers <jonathan.chambers@ansys.com>
1708 * Environment.cs: Implement Set/GetEnvironmentVariable for User/Machine.
1710 2006-06-07 Kornél Pál <kornelpal@gmail.com>
1712 * Environment.cs: Use Consts.FxFileVersion for Environment.Version
1713 as Consts.RuntimeVersion was removed.
1715 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
1717 * Variant.cs: Added.
1718 * Environment.cs: Incremented corlib version since adding Variant.
1720 2006-06-01 Raja R Harinath <rharinath@novell.com>
1722 * Nullable.cs (operator==, operator!=): Remove.
1724 2006-05-31 Zoltan Varga <vargaz@gmail.com>
1726 * MonoDummy.cs: Removed as it is no longer needed.
1728 * Environment.cs: Bump corlib version.
1730 * Environment.cs: Revert the last change.
1732 * Environment.cs: Bump corlib version.
1734 * MonoAsyncCall.cs: New file.
1736 2006-05-30 Gert Driesen <drieseng@users.sourceforge.net>
1738 * Char.cs: Removed duplicate (explicit) interface implementation.
1739 * String.cs: Removed duplicate (explicit) interface implemenation.
1740 * MulticastDelegate.cs: Fixed API mismatches.
1742 2006-05-29 Paolo Molaro <lupus@ximian.com>
1744 * String.cs: make sure that the chars truncated by a stringbuilder
1747 2006-05-29 Martin Baulig <martin@ximian.com>
1750 (Exception.StackTrace): Use the new stack trace format which is
1751 very similar to the one of MS.NET - method name goes first,
1752 file / line number last and in the method name, we separate class
1753 and method name by `.'.
1756 (Environment.StackTrace): Enable line-number information.
1758 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
1761 Implement 2.0 TryParseExact(). Patch by Seo Sanghyeon.
1763 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
1765 * Array.cs : added internal sort method used
1766 in System.Collections.Generics.List<T>.Sort(Comparison<T>).
1768 2006-05-15 Zoltan Varga <vargaz@gmail.com>
1770 * Environment.cs: Bump corlib version.
1772 2006-05-10 Zoltan Varga <vargaz@gmail.com>
1774 * MonoType.cs (GetMethodImpl): Fix a warning.
1776 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
1778 * ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
1779 Patch by Kazuki Oikawa. Fixed bug #77277.
1781 2006-05-07 Zoltan Varga <vargaz@gmail.com>
1783 * Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
1785 2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
1787 * Nullable.cs : updated Nullable<T> API to 2.0 RTM.
1789 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
1791 * Double.cs : (Parse) handle currency symbol when
1792 AllowCurrencySymbol is passed as part of the style. Patch by
1793 nede@aliquant.com, modified to eliminate redundant Substring().
1794 This fixes bug #77721.
1796 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
1798 * MonoType.cs : (GetMethod) when zero-length type[] is explicitly
1799 passed, don't return methods with some arguments. Fixed bug #77367.
1801 2006-04-21 Gert Driesen <drieseng@users.souceforge.net>
1803 * Enum.cs: Provide meaningful message when type of passed in value
1804 does not match enum type.
1806 2006-04-19 Raja R Harinath <rharinath@novell.com>
1808 * Char.cs (Equals): Don't access 'm_value' field of other
1809 instances. Cast directly to 'char'.
1811 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
1813 * DateTime.cs : implement SpecifyKind(). Patch by Thong Nguyen.
1815 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
1817 * NumberFormatter.cs : general performance improvements. Avoid
1818 extraneous evaluation for simple formatting. Details are seen in
1819 bug #77792. Patch by Kazuki Oikawa.
1821 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
1823 * DateTime.cs : implement IsDaylightSavingTime().
1824 Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>.
1826 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
1829 added some more [ReliabilityContract].
1830 removed some [CLSCompliant].
1831 renamed generic method parameter names.
1833 2006-03-31 Zoltan Varga <vargaz@gmail.com>
1835 * Environment.cs (SetEnvironmentVariable): Implement.
1837 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
1839 * Array.cs : oops, the last change caused regression. The array must
1840 be transparent to ReadOnlyCollection, not create another list.
1842 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
1844 * Array.cs : AsReadOnly<T>() in RTM returns ReadOnlyCollection<T>.
1845 Thus removed ReadOnlyArray<T> and ReadOnlyArrayEnumerator<T>.
1846 In 2.0 some members became non-virtual.
1848 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
1850 * String.cs : oops, NET_2_0.
1852 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
1854 * String.cs : added new IndexOf() and LastIndexOf() overloads, and
1855 IEnumerable<char>.GetEnumerator().
1857 2006-03-21 Kornél Pál <kornelpal@gmail.com>
1859 * String.cs: Make memcpy4 private as it is a helper method.
1860 Make memcpy internal to can be used from UnicodeEncoding.
1862 2006-03-19 Marek Safar <marek.safar@seznam.cz>
1864 * Nullable.cs (Compare, Equals): Added constrain as gmcs now correctly
1865 reports an error here.
1867 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
1869 * Double.cs : (Parse) reject String.Empty.
1871 Wed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>
1873 * LocalDataStoreSlot.cs: implement as index in an array.
1874 Implemented finalizer and allow it to remove the data stored
1877 2006-03-15 Zoltan Varga <vargaz@gmail.com>
1879 * Environment.cs: Bump corlib version.
1881 2006-03-10 Zoltan Varga <vargaz@gmail.com>
1883 * MonoCustomAttrs.cs (IsDefined): Avoid a runtime assert if a type
1884 overwrites GetCustomAttributes () but not IsDefined ().
1886 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
1888 * Environment.cs: Bumped corlib version to 48 (due to r57532)
1890 2006-03-07 Martin Baulig <martin@ximian.com>
1892 * String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
1893 from the `provider' if possible.
1895 2006-02-26 Gert Driesen <drieseng@users.souceforge.net>
1897 * DecimalFormatter.cs: Removed obsolete class, as it has been replaced
1899 * DoubleFormatter.cs: Same.
1900 * SingleFormatter.cs: Same.
1902 2006-02-21 Marek Safar <marek.safar@seznam.cz>
1904 * String.cs (Equals): Optimized for speed.
1906 2006-02-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1908 * TermInfoDriver.cs: patch by Mike Hull that fixes bug #77518.
1910 Mon Feb 20 11:19:54 CET 2006 Paolo Molaro <lupus@ximian.com>
1912 * MonoType.cs: patch from Joachim Ante <joe@otee.dk> to
1913 improve error messages.
1915 2006-02-15 Martin Baulig <martin@ximian.com>
1917 * Type.cs (Type.IsGenericInstance): Removed.
1919 2006-02-14 Ankit Jain <jankit@novell.com>
1920 Raja R Harinath <rharinath@novell.com>
1922 * ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
1925 2006-02-11 Zoltan Varga <vargaz@gmail.com>
1927 * TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
1930 * TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
1931 size using an icall.
1932 (GetCursorPosition): Convert the row and column to 0 based indexing.
1933 Also fix reading of large values.
1934 (CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.
1936 * ConsoleDriver.cs (GetTtySize): New icall.
1938 2006-02-10 Zoltan Varga <vargaz@gmail.com>
1940 * Array.cs: Fix some methods which previously returned Nullable<T>.
1942 * Nullable.cs: Add T: struct constraint and fix constructor.
1944 Fri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
1946 * String.cs: changed StartsWith/EndsWith to faster versions.
1948 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1950 * String.cs: implement 2.0 StartsWith and EndsWith new overloads. Based
1951 on a patch by Thong Nguyen.
1953 2006-01-31 Zoltan Varga <vargaz@gmail.com>
1955 * String.cs: Implement one of the new net 2.0 Split methods.
1957 2006-01-31 Atsushi Enomoto <atsushi@ximian.com>
1959 * String.cs : (LastIndexOf) Fixed bug #77412. It should not expect
1960 that value length is bigger than its index.
1962 2006-01-27 Zoltan Varga <vargaz@gmail.com>
1964 * DateTime.cs: Add some 2.0 methods and properties.
1966 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1968 * Console.cs: if InternalCodePage returns -1, use the default encoding.
1969 Also match the UTF8 one properly. Patch by wall_john@sohu.com.
1971 2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
1973 * ModuleHandle.cs : GetPEKind() is not public in 2.0 RTM.
1975 2006-01-16 Alp Toker <alp@atoker.com>
1977 * TimeSpan.cs: Simple implementation of NET 2.0 TryParse() using
1980 2006-01-05 Raja R Harinath <rharinath@novell.com>
1982 Fix regressions introduced by the fix to #71300.
1983 * Activator.cs (CreateInstance): Use Binder.SelectMethod instead
1984 of home-grown FindBestCtor.
1985 (FindBestCtor): Delete.
1987 2006-01-03 Zoltan Varga <vargaz@gmail.com>
1989 * Nullable.cs: Update to Net 2.0 RTM.
1991 * Nullable.cs: Add comments about runtime dependencies on the layout of
1994 2006-01-02 Sebastien Pouliot <sebastien@ximian.com>
1996 * Activator.cs: Now find the best ctor when null are used for
1997 paramaters. Fix bug #71300. Added checks for specific types (void,
1998 TypedReference, ArgIterator and RuntimeArgumentHandle).
1999 * Console.cs: Re-use Environment logic to detect Windows.
2000 * Type.cs: Re-applied r45150 as the real bug was in Activator.
2002 2006-01-02 Zoltan Varga <vargaz@gmail.com>
2004 * Activator.cs: Add a 'params' to one of the CreateInstance overloads.
2006 * RuntimeTypeHandle.cs RuntimeMethodHandle.cs RuntimeFieldHandle.cs:
2007 Add == and != operators.
2009 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
2011 * Environment.cs: Bump corlib version to 46.
2012 * TimeZone.cs: Partial fix for #76094. Added [Serializable] attribute
2013 and renamed internal CurrentTimeZone class to CurrentSystemTimeZone
2014 (like MS). This allows serialization roundtrip to work in Mono but
2015 there's still an issue when deserializing a stream from MS.
2017 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
2019 * NumberFormatter.cs: Fixed rounding for float and the string output
2020 now includes all the precision (not counting preceding zeros). This
2021 fix the DecimalTest.TestConstructSingleRounding_NotWorking test cases.
2023 2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
2025 * Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
2027 2005-12-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
2029 * Array.cs: Added the Sort<T> methods (generics).
2031 2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
2033 * Array.cs: Fixed BinarySearch when the array is empty (#77030). Added
2034 some null check which throws ArgumentNullException under 2.0.
2036 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
2038 * DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
2039 * Double.cs: Under 2.0 throw a ArgumentException when parsing with
2040 NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
2041 second, simpler, TryParse method (2.0).
2042 * Single.cs: Added the TryParse methods for 2.0.
2044 2005-12-15 Raja R Harinath <rharinath@novell.com>
2046 * Type.cs (IsGenericType): Make virtual.
2048 2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
2050 * AppDomainSetup.cs: ApplicationBase throw exception on get (not on
2051 set). New behaviour is more like MS - but most issues (unit tests)
2052 were really path issues. Fix bug #71291.
2053 * DateTime.cs: Add more information when throwing an exception in
2054 ctor(long). Useful for debugging.
2056 2005-12-07 Zoltan Varga <vargaz@gmail.com>
2058 * Single.cs Double.cs: Fix warnings.
2060 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
2062 * Convert.cs: ToBase64String method didn't use the option parameter so
2063 we always included new lines. Fix bug #76876.
2065 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
2067 * AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC
2068 (the docs were fixed).
2069 * NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was
2070 misrounded compared to MS implementation. Extra care is required when
2071 dealing with the extra 2 digits information (e.g. double precision is
2072 15 digits but 17 are kept - for a reason ;-)
2074 2005-12-05 Ben Maurer <bmaurer@ximian.com>
2076 * Environment.cs: Bump version
2078 * Nullable.cs: New Box and Unbox methods for the jit
2080 2004-12-05 Peter Dennis Bartok <pbartok@novell.com>
2082 * Enum.cs: Properly handle "No bits set" case even if the sorted numbers
2083 list does not have enum value 0 as the first item. Fixes #76921
2085 2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
2087 * AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
2089 Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
2091 * Double.cs: remove unused icall.
2092 * BitConverter.cs: handle double binary format on ARM FPA.
2094 2005-12-02 Alp Toker <alp@atoker.com>
2097 * Type.cs: DeclaringMethod should return MethodBase, not MethodInfo
2099 2005-12-02 Alp Toker <alp@atoker.com>
2101 * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
2102 ReflectionOnlyAssemblyResolve in 2.0 final
2104 2005-12-01 Alp Toker <alp@atoker.com>
2106 * String.cs: Add static and non-static Equals(... StringComparison) for
2109 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2111 * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
2113 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2115 * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
2116 have to add 1 to x and y when setting the cursor position.
2119 * Convert.cs: remove unused variables.
2121 Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
2123 * NumberFormatter.cs: work around arch-specific ulong cast behaviour
2126 Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
2128 * Convert.cs: fix endianess issue when converting to base-8
2129 format. All the base code would need a rewrite for efficience.
2131 2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
2133 * String.cs: Added support for Compare(... StringComparison) in 2.0.
2135 2005-11-25 Alp Toker <alp@atoker.com>
2137 * Type.cs (IsVisible): New 2.0 property, implemented recursively.
2139 2005-11-17 Dick Porter <dick@ximian.com>
2141 * Environment.cs: Incremented corlib version
2143 2005-11-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
2145 * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
2146 UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
2147 methods to return the exception as an out parameter,
2148 instead of throwing it. This will be of special help
2149 to TryParse methods.
2150 * Environment.cs: Update corlib version to 42.
2152 2005-11-14 Raja R Harinath <rharinath@novell.com>
2154 * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
2156 2005-11-11 Zoltan Varga <vargaz@gmail.com>
2158 * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
2160 2005-11-11 Lluis Sanchez Gual <lluis@novell.com>
2162 * TimeZone.cs: Removed incorrect double-check lock and unneeded
2165 2005-11-11 Marek Safar <marek.safar@seznam.cz>
2167 * Type.cs: IsNested implemented, signature fixes.
2169 2005-11-11 Raja R Harinath <rharinath@novell.com>
2171 * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
2173 2005-11-10 Zoltan Varga <vargaz@gmail.com>
2175 * Array.cs (Resize<T>): New internal method which takes a 'length' argument
2176 as well to avoid copying the whole array.
2178 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
2180 * Int64.cs : ditto for long.
2182 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
2184 * Int32.cs : Parse("2147483648", format_provider) should be rejected.
2186 2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
2188 * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable]
2190 * Base64FormattingOptions.cs: Added missing [Flags] attribute.
2191 * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were
2192 already replaced by Backspace and Whitespace)
2193 * DateTime.cs: Moved DayOfWeek enum to it's own file.
2194 * DateTimeKind.cs: New (2.0) enum.
2195 * DayOfWeek.cs: New file (extracted from DateTime.cs).
2196 * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
2197 * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed
2198 values (-1 to all of them).
2199 * Exception.cs: Added a LinkDemand for SerializationFormatter on
2200 GetObjectData method.
2201 * LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable]
2202 on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
2204 * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0
2206 * StringComparison.cs: New (2.0) enum (needed for Uri).
2207 * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
2208 * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0
2211 2005-11-08 Atsushi Enomoto <atsushi@ximian.com>
2213 * Type.cs : I forgot to mention, some '(' were missing in the
2216 2005-11-08 Zoltan Varga <vargaz@freemail.hu>
2218 * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
2219 IsSerializable property, since the latter returns true for delegates/enums.
2221 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
2223 * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
2224 makes maintenance easier.
2226 2005-10-24 Martin Baulig <martin@ximian.com>
2228 * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
2230 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2232 * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
2234 2005-10-20 Raja R Harinath <rharinath@novell.com>
2236 * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
2238 2005-10-16 Michal Moskal <malekith@nemerle.org>
2240 * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
2242 2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
2244 * DateTime.cs : another crappy Windows dependent format.
2246 2005-10-14 Ben Maurer <bmaurer@ximian.com>
2248 * DateTime.cs: Speed up when parsing date time objects by not
2249 duplicating cultureinfo arrays.
2251 2005-10-13 Zoltan Varga <vargaz@gmail.com>
2253 * Type.cs (GetTypeCode): Applied patch from
2254 Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
2257 2005-10-07 Zoltan Varga <vargaz@gmail.com>
2259 * Delegate.cs: Add support for delegate covariance and contravariance
2262 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
2264 * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
2266 2005-09-26 Zoltan Varga <vargaz@gmail.com>
2268 * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
2271 2005-09-23 Miguel de Icaza <miguel@novell.com>
2273 * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
2275 2005-09-19 Zoltan Varga <vargaz@gmail.com>
2277 * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
2278 attributeType parameter.
2279 (IsDefined): New icall.
2281 * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
2282 object when only a specific attribute type is requested. Fixes #76062.
2284 * Environment.cs: Bump corlib version.
2286 2005-09-09 Zoltan Varga <vargaz@gmail.com>
2288 * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
2290 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
2292 * DateTime.cs : (_DoParse) don't check ticks range before computing
2293 the actual value. Fixed bug #76082.
2295 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
2297 * TimeZone.cs : When the target DateTime is in the range of
2298 DST end to DST + delta, don't adjust UtcOffset gap between that of
2299 DST and that of STD. This should fix bug #75985.
2301 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
2303 * TimeZone.cs, DateTime.cs :
2304 - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
2305 - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
2306 - use ToLocalTime() and don't depend on the own offset computation.
2307 Parse() with 'Z' pattern is closer to correct value on switching
2308 Daylight Saving Time. See bug #75985.
2310 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
2312 * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
2313 handled as expected and it kept time value as local one.
2314 Patch by Brion Vibber. Fixed bug #75995.
2316 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
2318 * DateTime.cs : Literal escape (\) was not checking format as
2319 expected. Fixed bug #75213.
2321 2005-09-05 Miguel de Icaza <miguel@novell.com>
2323 * MonoType.cs: Patch from Jonathan Chambers to implement
2326 2005-09-05 Martin Baulig <martin@ximian.com>
2328 Reflect latest API changes in the August CTP.
2330 * Type.cs (Type.HasGenericArguments): Removed.
2331 (Type.BindGenericParameters): Renamed to MakeGenericType().
2333 2005-09-01 Atsushi Enomoto <atsushi@ximian.com>
2335 * DateTime.cs : another idiotic COM dependent format.
2337 2005-09-01 Kornél Pál <kornelpal@hotmail.com>
2339 * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
2340 Added some comments about the class.
2342 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
2344 * AppDomain.cs: Use the more concise property syntax for declarative
2346 * AppDomainManager.cs: Default HostSecurityManager is null.
2348 2005-08-25 Atsushi Enomoto <atsushi@ximian.com>
2350 * NumberFormatter.cs : eliminate non-ASCII character.
2352 2005-08-25 Marek Safar <marek.safar@seznam.cz>
2354 * Enum.cs: Better exception message.
2356 2005-08-21 Gert Driesen <drieseng@users.sourceforge.net>
2358 * Convert.cs: In FromBase64String, return empty byte array for zero
2359 length string. Pass bool to InternalFromBase64String to control
2360 whether to allow a whitespace-only string.
2361 * Environment.cs: Bump corlib version.
2363 2005-08-20 Zoltan Varga <vargaz@freemail.hu>
2365 * Environment.cs: Bump corlib version.
2367 2005-08-19 Zoltan Varga <vargaz@freemail.hu>
2369 * Math.cs: Implement a new 2.0 Round method.
2371 2005-08-19 Gert Driesen <drieseng@users.sourceforge.net>
2373 * Convert.cs: Throw OverflowException if result is larger than
2374 ushort.MaxValue to match MS.NET. Remove commented code.
2376 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
2378 * Convert.cs: For now, do not throw OverflowException if hex prefixed
2379 value is negative for signed types (other than int64). Need to look
2382 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
2384 * Convert.cs: Numerous fixed in overloads taking base to match
2385 behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
2386 empty. If base is 16, 8 or 2, then throw ArgumentException if first
2387 character is a negative sign. Throw OverflowException if hex prefixed
2388 value is negative for signed types (other than int64) to match MS.NET.
2390 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
2392 * DateTime.cs : added another COM dependent pattern (rather to describe
2393 how it works on .NET than to add the pattern itself...).
2395 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
2397 * DateTime.cs : added case for bug #53023.
2399 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
2401 * Type.cs: Add IsGenericType property from NET 2.0.
2403 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
2405 * String.cs : added new StartsWith()/EndsWith() override, fixing
2406 existing EndsWith() which incorrectly assumed that both string
2407 lengths must be equivalent (they are not always equal).
2408 * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
2410 2005-08-09 Zoltan Varga <vargaz@freemail.hu>
2412 * String.cs: Implement Split(String[]) methods.
2414 2005-08-09 Miguel de Icaza <miguel@novell.com>
2416 * AppDomainSetup.cs: Full-pathization of the appBase should only
2417 be done on Windows, the ":" condition never applied to Linux.
2419 * ConsoleKey.cs: Include a few aliases for a few values that were
2420 introduced recently.
2422 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2424 * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
2427 2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
2429 * String.cs : (StartsWith) compared string lengths are not always the
2430 same in culture-sensitive comparison.
2432 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
2434 * Array.cs: Changed protected ctor to private. Fixes API compatibility
2436 * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
2437 be exposed in 2.0 profile.
2438 * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
2439 be exposed in 2.0 profile.
2440 * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
2441 be exposed in 2.0 profile.
2442 * Type.cs: Added GetType method and implemented _Type interface.
2443 Fixes API compatibility with MS.NET.
2445 2005-07-28 Marek Safar <marek.safar@seznam.cz>
2447 * StringComparer.cs: Add generics version of string interfaces.
2449 2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
2451 * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
2453 2005-07-26 Zoltan Varga <vargaz@freemail.hu>
2455 * StringSplitOptions.cs MidpointRounding.cs: New files.
2457 * String.cs Math.cs: Add stubs for some new 2.0 APIs.
2459 2005-07-26 Marek Safar <marek.safar@seznam.cz>
2461 * StringComparer.cs: New file.
2463 2005-07-26 Raja R Harinath <harinath@gmail.com>
2465 * Enum.cs (GetValue): Make private. Return an ulong.
2466 (Parse): Tighten scope of couple of variables. Use ulong when
2469 2005-07-25 Raja R Harinath <rharinath@novell.com>
2471 * Enum.cs (FindName, GetValue): New. Carved out of ...
2472 (Parse): ... this. Refactor and simplify code. Avoid incurring
2473 exceptions when parsing names. Avoid allocating arrays unless
2474 necessary. Avoid conversion of an enumeration constant to its own
2475 type. (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
2477 2005-07-13 Lluis Sanchez Gual <lluis@novell.com>
2479 * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
2482 2005-07-13 Miguel de Icaza <miguel@novell.com>
2484 * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
2485 signature for GetValue and SetValue to make the long [] argument
2486 be a params argument.
2488 2005-07-11 Pedro MartÃnez Juliá <pedromj@gmail.com>
2490 * Convert.cs: Fix the bug when Convert.ChangeType was using
2491 NumberFormatInfo instead of DateTimeFormatInfo when the type to
2492 change is a DateTime.
2494 2005-07-11 Martin Baulig <martin@ximian.com>
2496 * Array.cs: Use Type.Equals() instead of `==' to compare type
2499 2005-07-10 Kamil Skalski <nazgul@nemerle.org>
2501 * Type.cs: Mark BindGenericParameters as deprecated. Use
2502 MakeGenericType as default implementation with updated signature.
2504 2005-07-09 Zoltan Varga <vargaz@freemail.hu>
2506 * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
2509 2005-07-05 Lluis Sanchez Gual <lluis@novell.com>
2511 * DelegateSerializationHolder.cs: When the deserialized target is
2512 a proxy, call IsInstanceOfType to force the proxy to load the
2513 real type of the remote object. This is needed to make sure that
2514 subsequent calls to GetType() return the expected type. This fixes
2517 2005-07-03 Ben Maurer <bmaurer@ximian.com>
2519 * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
2522 2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
2524 * Guid.cs: Avoid code duplication between overriden methods (new in
2525 2.0). Avoid exception processing when possible. Renamed parameters to
2526 match the framework. Added ComVisible to NET_2_0.
2528 2005-06-28 Elliott Draper <el@eldiablo.co.uk>
2530 * Activator.cs: This implements the generic Activator.CreateInstance<T>()
2531 function for NET_2_0. It's full signature is:
2532 public static T CreateInstance<T>();
2534 2005-06-28 Lluis Sanchez Gual <lluis@novell.com>
2536 * Decimal.cs: Renamed internal fields for the sake of serialization
2537 interoperability with MS.NET.
2538 * Exception.cs: In the StackTrace property, return the stack trace
2539 if it has a value, even if the exception has not been thrown
2540 (it may have been deserialized).
2542 2005-06-28 Martin Baulig <martin@ximian.com>
2544 * Array.cs (Array.InternalArray<T>): New nested class; derives
2545 from Array. This is now used by the runtime for arrays; fixes #74953.
2547 2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
2549 * String.cs : added some extra whitespace characters for Trim().
2552 2005-06-13 Michal Moskal <malekith@nemerle.org>
2554 * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
2555 since it now throws on MethodBuilders. Don't use FieldHandle in
2556 GetField (throws on FieldBuilder) - just use the name.
2558 2005-06-13 Martin Baulig <martin@ximian.com>
2561 (MonoType.getFullName): Added `bool assembly_qualified' argument.
2562 (MonoType.AssemblyQualifiedName): The interncall now adds the
2563 assembly name, so we don't need to do it here.
2564 (MonoType.FullName): Use the new getFullName() API.
2566 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
2568 * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in
2569 NET_2_0. Added "new" white char and ComVisible for 2.0.
2571 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2573 * Convert.cs: FromBase64String and FromBase64CharArray are now internal
2574 calls to avoid extra allocations.
2576 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
2578 * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
2580 * Type.cs MonoType.cs: Add internal virtual
2581 Get{Method,Constructor,Field} for obtaining instanciated *Info objects
2582 from non-instanciated counterparts
2584 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
2586 * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
2588 2005-06-08 Zoltan Varga <vargaz@freemail.hu>
2590 * Type.cs: Add missing 2.0 attributes.
2592 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
2594 * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
2595 also internal method GetCustomAttributesData, used by
2596 System.Reflection.CustomAttributeData.
2598 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
2600 * Activator.cs: Added _Activator interface (and members) for 1.1 and
2601 missing attributes (for both 1.1 and 2.0).
2602 * String.cs: Made internal To[Lower|Upper]Invariant methods public for
2603 2.0. Reworked Trim() to skip a useless call. Added missing attribute
2605 * Type.cs: Added _Type, _MemberInfo interfaces (1.1/2.0). Added
2606 missing attribute for 2.0. Hided some public/protected methods.
2608 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
2610 * ModuleHandle.cs: Update after PortableExecutableKinds name change.
2612 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
2614 * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
2615 * AppDomain.cs: Added new members from _AppDomain interface.
2616 * AppDomainManager.cs: Fixed flags and added attributes.
2617 * DomainManagerInitializationFlags.cs: The flag has been renamed to
2618 AppDomainManagerInitializationOptions in beta2.
2620 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
2622 * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
2624 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
2626 * Exception.cs: Implements _Exception only for 2.0.
2628 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
2632 * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs
2633 String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs
2634 RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
2636 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2639 * AppDomain.cs: if the assembly is loaded from a byte array, Location
2640 returns "". Fixes bug #74958.
2642 2005-06-04 Ben Maurer <bmaurer@ximian.com>
2644 * *.cs: More 2.0 API fixups
2646 * *.cs: In beta 2, generics are no longer non-cls-compliant.
2648 2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
2650 * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
2651 that was different from MSFT.
2652 * String.cs: Fixed IndexOfAny thrown an exception
2653 when startIndex of arguments equals Length. (Closes bug #75083.)
2655 * Decimal.cs: Changed to use NumberFormatter in ToString.
2656 * NumberFormatter.cs: Implemented decimal formatter.
2658 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2660 * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
2661 support in System.Net work again.
2663 2005-06-01 Ben Maurer <bmaurer@ximian.com>
2665 * CharEnumerator.cs: add IEnumerable <char> support
2667 2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
2669 * Activator.cs: Added missing validation on parameters.
2671 2005-05-28 Ben Maurer <bmaurer@ximian.com>
2673 * Type.cs: Check that the arguments of the `types' array are
2674 non-null. Fixes bug 71300
2676 2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
2678 * AppDomainSetup.cs: Added new 2,0 constructors and the
2679 ActivationArguments property.
2680 * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
2681 new location for the ApplicationActivator class.
2682 * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
2684 2005-05-27 Vladimir Vukicevic <vladimir@pobox.com>
2686 * Environment.cs: bump corlib version for bug #75060.
2688 2005-05-27 Raja R Harinath <rharinath@novell.com>
2690 * Environment.cs (ExpandEnvironmentVariables): Rewrite
2691 sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
2692 * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
2693 sb.Append (s, a, s.Length - a). Avoid allocating 'pad' string --
2694 StringBuilder has an appropriate Append overload.
2696 2005-05-26 Zoltan Varga <vargaz@freemail.hu>
2698 * Type.cs (IsEnum): Special case EnumBuilder here.
2700 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
2702 * MonoType.cs: Changed call from GetName to UnprotectedGetName to
2703 allow call to work with serialization under a restrictive policy.
2704 The code path (the protected information) isn't being used.
2706 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
2708 * Exception.cs: Use the new StackTrace ctor.
2710 * Type.cs: Improve support for user defined type subclasses.
2712 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
2714 * DateTime.cs : Added minimum digit parameter to ParseNumber() to
2715 reject 2 digit years for "yyyy".
2716 Use GetAllDateTimePatterns() instead of constant string.
2719 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
2721 * DateTime.cs : next_not_digit prevented some valid parse.
2722 Just remove it, since now we pass max length to ParseNumber() and
2723 thus it is not needed anymore. Fixed bug 63137.
2725 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
2727 * DateTime.cs : HH should not always block tt. Fixed bug #60912.
2728 Reset num after whitespace parsing.
2729 Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
2731 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
2733 * DateTime.cs : Allow ',' where whitespaces are allowed.
2736 2005-05-22 Ben Maurer <bmaurer@ximian.com>
2738 * BitConverter.cs: Speed this up, fixing 74014. Patch from
2739 `Aleksandar Dezelin'.
2741 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
2743 * Type.cs: Add some helper methods needed by other classes.
2745 * Array.cs: Improve support for user defined Type subclasses.
2747 * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
2748 wrapper function, not used yet.
2750 * Type.cs Array.cs: Revert this as it breaks the build.
2752 * Type.cs Array.cs: Improve support for user defined Type subclasses.
2754 2005-05-19 Ben Maurer <bmaurer@ximian.com>
2756 * Delegate.cs (Equals): Use `as' to protect in the case where !
2759 2005-05-19 Raja R Harinath <rharinath@novell.com>
2761 * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
2764 2005-05-19 Miguel de Icaza <miguel@novell.com>
2766 * TermInfoDriver.cs: Removed warning.
2768 * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
2769 FindLastIndex<T>: Parameter names are normative.
2770 Fix coding style ("Method<T>" not "Method <T>")
2771 Throw argument exceptions per argument.
2773 (FindAll): Fix bug, actually return the values that were computed,
2774 not a short version of the original array.
2776 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2778 * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
2779 for each framework version.
2781 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2784 * Exception.cs: .Net 1.1 already has these interfaces
2786 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
2788 * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
2789 object on GetCustomAttributes (fixes bug #74717).
2791 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
2793 * DateTime.cs : for 'z' next_not_digit didn't work as expected.
2796 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
2798 * DateTime.cs : don't allow extraneous pattern characters also for
2799 non-exact parsing (ParseExact() was fine). Bug #74936 fixed
2801 2005-05-13 Gert Driesen <drieseng@users.sourceforge.net>
2803 * Activator.cs: Match exceptions thrown by MS.NET for
2804 CreateInstance overloads if type is abstract. Fixes bug #74861.
2806 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2808 * OperatingSystem.cs: PlatformID.Unix.
2810 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
2812 * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
2813 Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
2815 2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
2817 * NumberFormatter.cs : roundtrip number is already rounded before
2818 FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
2821 2005-05-07 Ben Maurer <bmaurer@ximian.com>
2823 * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
2824 the comparer in the same order as msft. Fixes #70725
2826 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2828 * Enum.cs: the hashtable don't need to be synchronized any more, since
2829 it's only accessed from withint a lock.
2831 * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
2834 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
2836 * Array.cs: Remove CLSCompliant (false) attributes.
2838 2005-05-06 Martin Baulig <martin@ximian.com>
2840 * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
2841 [CLSCompliant(true)] attribute.
2843 2005-05-04 Miguel de Icaza <miguel@novell.com>
2845 * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
2846 initialize cache as a static method. Fixes #74828.
2848 2005-05-03 Marek Safar <marek.safar@seznam.cz>
2850 * Console.cs: CancelKeyPress is stubbed.
2852 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
2854 * ActivationContext.cs: Updated for beta2.
2855 * AppDomainManager.cs: Updated for beta2.
2856 * ApplicationId.cs: Updated for beta2.
2857 * ApplicationIdentity.cs: Updated for beta2.
2858 * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception
2859 doesn't leak the code base from the returned AssemblyName.
2861 2005-04-25 Martin Baulig <martin@ximian.com>
2863 * Environment.cs (Environment.Version): Changed to 2.0.50215.
2865 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
2867 * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the
2868 number of "missing" in the class status pages.
2870 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2872 * MulticastDelegate.cs: (GetInvocationList) when building the list that
2873 is later traversed forward, mark 'this' as the end of the chain.
2876 2005-04-19 Zoltan Varga <vargaz@freemail.hu>
2878 * Environment.cs: Bump corlib version.
2880 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2882 * WindowsConsoleDriver.cs: ignore key release events.
2884 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
2886 * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
2888 2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
2890 * _AppDomain.cs: Add security checks to the interface. Declarative
2891 security on events requires BOOTSTRAP_WITH_OLDLIB to work properly
2893 * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
2894 blocking some cases from working properly. Declarative security on
2895 events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
2897 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
2899 * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
2900 on the AppDomain. Added an internal property to get the granted set.
2902 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
2905 Char.cs : use TextInfo for ToLower() and ToUpper().
2907 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
2909 * Exception.cs: Added Assert for TypeInformation to GetObjectData and
2910 ToString methods (not required for 2.0 as TypeInformation will be
2911 deprecated). Added null check for GetObjectData.
2913 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
2915 * Delegate.cs: allow IronPython 0.7 to compile.
2917 2005-03-24 Miguel de Icaza <miguel@novell.com>
2919 * Delegate.cs: Add CreateDelegate with a target option, currently
2920 internal as it is not exposed by the framework yet.
2922 2005-03-24 Zoltan Varga <vargaz@freemail.hu>
2924 * String.cs: Add some 2.0 methods.
2926 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
2928 * Activator.cs: Now use the supplied evidences when loading
2929 assemblies. Added LinkDemand for RemotingConfiguration on both
2931 * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
2932 Input|Output] as they use a handle on a FileStream (which is
2933 restricted otherwise). Added Demand for UnmanagedCode for the
2934 Set[Error|In|Out] methods.
2935 * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on
2936 CreateObjRef, GetLifetimeService and InitializeLifetimeService.
2937 * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on
2938 GetFunctionPointer method.
2939 * TypedReference.cs: Added LinkDemand for ReflectionPermission's
2940 MemberAccess on MakeTypedReference.
2942 2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
2944 * Environment.cs: Fix CAS unit tests for NET_1_1.
2945 * Exception.cs: Fix CAS unit tests for NET_1_1.
2947 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2949 * Version.cs: don't ignore the last number. Fixes bug #73539.
2951 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
2953 * MonoType.cs: When the security manager is active, constructors and
2954 methods will return null if a linkdemand fails during reflection
2957 2005-03-11 Zoltan Varga <vargaz@freemail.hu>
2959 * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
2961 2005-03-10 Zoltan Varga <vargaz@freemail.hu>
2963 * Environment.cs: Bump corlib version.
2965 2005-03-10 Martin Baulig <martin@ximian.com>
2967 * Nullable.cs (Nullable<T>.ToString): Return an empty string if
2970 2005-03-09 Zoltan Varga <vargaz@freemail.hu>
2972 * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
2973 (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
2976 2005-03-04 Zoltan Varga <vargaz@freemail.hu>
2978 * Environment.cs: Bump corlib version.
2980 * Exception.cs (StackTrace): Return the wrapper info as well.
2982 2005-03-02 Kazuki Oikawa <kazuki@panicode.com>
2984 * NumberFormatter.cs: Some internal classes was converted to structs,
2985 and improved some points.
2987 2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
2989 * NumberFormatter.cs: Improved performance and memory usage
2990 when integer standard format.
3001 * TimeSpan.cs: Improved these directly call to NumberFormatter.
3003 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3005 * TermInfoDriver.cs: set the xmit mode if available. Handle key input
3006 and translate them into a ConsoleKeyInfo.
3007 * TermInfoReader.cs: added a method to return the bytes of a string
3009 * ConsoleKeyInfo.cs: added copy constructor and setters.
3011 2005-02-24 Zoltan Varga <vargaz@freemail.hu>
3013 * Array.cs: Add missing 2.0 attributes and correct some parameter names.
3015 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
3017 * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
3018 and added some to support the reflection only methods. DoAssemblyResolve
3019 was modified to invoke the new PreBindAssemblyResolve event when the
3020 assembly is reflection only.
3022 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
3024 * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
3025 Add net 2.0 ReliabilityContractAttributes.
3027 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3029 * TermInfoDriver.cs: cygwin terminals are handled by the windows
3032 * TermInfoReader.cs:
3033 * TermInfoNumbers.cs:
3034 * KnownTerminals.cs:
3035 * TermInfoBooleans.cs:
3036 * TermInfoStrings.cs: documented.
3038 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
3040 * Array.cs: Reverse the order in the Equals calls.
3042 2005-02-18 Zoltan Varga <vargaz@freemail.hu>
3044 * Exception.cs (StackTrace): Implement this in managed code since it is
3045 needed by CAS. Fixes #72146.
3047 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3049 * WindowsConsoleDriver.cs: implemented MoveBufferArea.
3051 2005-02-14 Raja R Harinath <rharinath@novell.com>
3053 * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
3056 2005-02-12 Ben Maurer <bmaurer@ximian.com>
3058 * Version.cs (CompareTo, Equals): Make sure the versions for
3059 generics handle `null'. The non-generics versions now just call
3060 the regular versions, to reduce code duplication.
3062 * Boolean.cs (CompareTo): make this really work for generics
3064 * Type.cs (GetProperty): Passing new Type [0] is different than
3065 null. null means `I don't care how many types this has,' while new
3066 Type [0] means `this must have 0 types.'
3068 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3070 * corlib.dll.sources: added WindowsConsoleDriver.cs
3072 * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
3073 implemented the few missing properties/methods.
3075 * System/IConsoleDriver.cs: uncommented all methods/properties.
3076 * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
3077 * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
3078 windows. Only missing MoveBufferArea by now.
3080 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
3082 * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
3084 * Int32.cs AppDomain.cs: Fix warnings.
3086 2005-02-10 Marek Safar <marek.safar@seznam.cz>
3088 * IServiceProvider.cs: Is not ComVisible.
3090 * NonSerializedAttribute.cs: Fix AttributeUsage flags.
3092 * Type.cs: Fix ClassInterface attribute.
3094 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
3096 * Delegate.cs: remove the finalizer from Delegate: this
3097 is handled internally by the runtime now.
3099 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3101 * Activator.cs: provide the Type name when throwing an exception.
3103 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3105 * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
3108 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
3110 * Array.cs: provide specialized versions of some methods.
3112 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
3114 * String.cs: provide a managed memcpy and memset method
3115 for use both in corlib and from the JIT. Implement
3116 some methods with the managed helpers and remove some icalls.
3118 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
3120 * Exception.cs: Added Data property for NET_2_0 (required for new
3123 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3126 * TermInfoDriver.cs:
3127 * IConsoleDriver.cs:
3128 * Console.cs: added BufferWidth and BufferHeight.
3130 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3134 * TermInfoDriver.cs:
3135 * IConsoleDriver.cs: added a few more properties and fixed cursor
3138 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3140 * ConsoleDriver.cs: static class that forwards the Console 2.0 class
3141 calls to the proper driver.
3142 * TermInfoDriver.cs: terminfo based console driver.
3143 * IConsoleDriver.cs: interface implemented by console drivers.
3145 * ConsoleCancelEventArgs.cs:
3146 * ConsoleCancelEventHandler.cs:
3148 * ConsoleModifiers.cs:
3149 * ConsoleSpecialKey.cs:
3151 * ConsoleKey.cs: new enumerations.
3153 * ConsoleKeyInfo.cs: New file.
3155 * TermInfoReader.cs: reader for terminfo capabilities files.
3157 * TermInfoNumbers.cs:
3158 * TermInfoBooleans.cs:
3159 * TermInfoStrings.cs: enumations for terminfo property names.
3161 * KnownTerminals.cs: byte arrays for selected terminals.
3163 * Console.cs: added more 2.0 methods and implemented some of them.
3166 2005-01-30 Atsushi Enomoto <atsushi@ximian.com>
3168 * Int32.cs : (FindSign) IndexOf() is better than creating substring.
3170 2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
3172 * BadImageFormatException.cs: Protect the fusion (GAC) log from being
3173 disclosed unless code has ControlPolicy and ControlEvidence.
3175 2005-01-27 Zoltan Varga <vargaz@freemail.hu>
3177 * Exception.cs: Compute stack trace on demand.
3179 2005-01-26 Sebastien Pouliot <sebastien@ximian.com>
3181 * Environment.cs: Removed hack for static class (NET_2_0). Added
3182 proper security for FailFast (documented in FDBK20543). Added new
3183 method IsRunningOnWindows to replace (Platform == 128) as the logic is
3184 gonna change in the future (Unix is id #4 in NET_2_0).
3186 2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
3188 * Environment.cs: Added CAS security (both declarative and imperative)
3189 as a test. This shouldn't affect execution unless --security is
3192 2005-01-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
3193 * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
3194 and Type.FilterName delegates They weren't dealing with the optional '*'
3195 at the end of the filter mask
3197 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
3199 * Array.cs: Fix a typo in the previous patch.
3201 * Array.cs: Fix some test failures in the generic methods.
3203 * Array.cs: Implement AsReadOnly.
3205 2005-01-13 Geoff Norton <gnorton@customerdna.com>
3207 * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE). Fixes
3210 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
3212 * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
3213 have been removed from 2.0.
3215 2005-01-11 Zoltan Varga <vargaz@freemail.hu>
3217 * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
3220 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
3222 * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
3223 Add default culture (neutral) to the name when none is specified.
3224 * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we
3227 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
3229 * DateTime.cs: Reverted last patch for utc as it broke all certificate
3230 handling and another unit test in DateTime.
3232 2005-01-09 Miguel de Icaza <miguel@ximian.com>
3234 * DateTime.cs: Return immediately if useutc is set to true, there
3235 is no need to do the extra computation (which also happened to
3236 create a new DateTime using the `use_localtime' constructor, which
3237 lead to the erroneous date returns when using 'u' or `U'
3240 Fixes another bug in the regression test suite.
3242 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
3244 * AppDomain.cs: Fix the DefaultDomain property to return the root
3245 domain (as it seems that the root's Id isn't always 0).
3246 * BitConverter.cs: The "special support" for ToString(new byte[0]) is
3247 only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
3249 2005-01-08 Miguel de Icaza <miguel@ximian.com>
3251 * IntegerFormatter.cs: The - sign inside the "negative" section in
3252 a multi-format string means `show the sign' only if it is the
3253 first token, not `copy verbatim'. In the other sections it means
3256 This makes things like: (-34).ToString ("#;-#") show up as "-34"
3259 The bad news is that this code needs to be rewritten to handle all
3260 the formatting cases, see bug #71112 for details.
3262 * Convert.cs (Convert.ToType): Throw an InvalidCastException if
3263 the conversion is invalid, not ArgumentException, this fixes
3264 another regression in our test suite.
3266 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
3268 * AppDomain.cs: Add ApplicationIdentity property for 2.0;
3269 * AppDomainManager.cs: Remove HostRefusedSet support (it does not
3272 2005-01-08 Zoltan Varga <vargaz@freemail.hu>
3274 * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static
3275 initialization problems.
3277 2005-01-02 Ben Maurer <bmaurer@ximian.com>
3279 * Int32.cs: NumberStyles.AllowExponent was supported by the
3280 Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
3283 2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
3285 * Base64FormattingOptions.cs : it was not in System namespace.
3287 2004-12-21 Atsushi Enomoto <atsushi@ximian.com>
3289 * DateTime.cs : If no progress on value string, don't regard as
3290 matched. This fixes bug #70707.
3292 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
3294 * Environment.cs: Bump corlib version.
3296 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
3298 * Array.cs (DoBinarySearch): Fix a warning.
3300 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
3302 * Environment.cs: Bump corlib version.
3304 * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
3306 2004-12-06 Ben Maurer <bmaurer@ximian.com>
3308 * Exception.cs: Prevent stringifying the type name on the
3309 ctor. this gets called a few times on every execution to create a
3312 2004-12-06 Martin Baulig <martin@ximian.com>
3314 * Decimal.cs: Decimal constant support has been merged into GMCS,
3317 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
3319 * Environment.cs: Bump corlib version.
3321 * Environment.cs: Bump corlib version.
3323 2004-11-30 Zoltan Varga <vargaz@freemail.hu>
3325 * MonoType.cs (UnderlyingSystemType): Make this return this as in
3326 MS.NET. Fixes #56245.
3328 2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
3330 * GC.cs : Collect(generation) actually does not throw an exception
3331 even if generation > MaxGeneration (MS document bug).
3333 2004-11-28 Zoltan Varga <vargaz@freemail.hu>
3335 * Exception.cs: Implement _Exception under NET_2_0.
3337 * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
3339 * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
3340 NotCancelableException.cs TimeoutException.cs: New files.
3342 2004-11-23 Raja R Harinath <rharinath@novell.com>
3344 * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
3347 2004-11-23 Raja R Harinath <rharinath@novell.com>
3349 * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
3350 without decimal constant support.
3352 2004-11-23 Marek Safar <marek.safar@seznam.cz>
3354 * Decimal.cs: Updated to use compiler decimal constant support.
3356 2004-11-20 Zoltan Varga <vargaz@freemail.hu>
3358 * MonoType.cs: Revert last change since it breaks remoting.
3360 2004-11-18 Zoltan Varga <vargaz@freemail.hu>
3362 * MonoType.cs (UnderlyingSystemType): Make this return this as in
3363 MS.NET. Fixes #56245.
3365 2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
3367 * INullable.cs: New interface added.
3368 * Nullable.cs: Methods added. Also a static Nullable class
3369 containing static methods.
3371 2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
3373 * BitConverter.cs: Added support for special case when ToString is
3374 called with (new byte [0]).
3376 2004-11-10 Lluis Sanchez <lluis@novell.com>
3378 * Exception.cs: Added setter for StackTrace.
3380 2004-11-07 Ben Maurer <bmaurer@ximian.com>
3382 * IntegerFormatter.cs: Avoid .ToCharArray
3384 2004-11-06 Ben Maurer <bmaurer@ximian.com>
3386 * Single.cs, Double.cs (GetHashCode): Better hashcode impl
3388 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3390 * InvalidOperationException.cs: make the message more meaningful and
3391 real. Fixes bug #69055.
3393 2004-10-28 Ben Maurer <bmaurer@ximian.com>
3395 * String.cs: Rather than == String.Empty, use .Length == 0. It
3396 is a bit faster (avoids a method call, and the code is less complex).
3398 2004-10-24 Fawad Halim <fawad@fawad.net>
3399 * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
3400 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.
3401 This fixes bug #64995.
3403 2004-10-19 Lluis Sanchez <lluis@novell.com>
3405 * MarshalByRefObject.cs: Field _identity is not serializable.
3406 This fixes bug #68567.
3408 2004-10-17 Ben Maurer <bmaurer@ximian.com>
3410 * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
3411 avoid entering slow integer formatting code.
3413 (_ToString): Use ZeroPad here when possible, as it is faster.
3415 2004-10-11 Martin Baulig <martin@ximian.com>
3417 * Environment.cs: Bump corlib version to 28.
3419 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
3421 * Convert.cs (ToType): Throw an exception when converting null to a
3422 valuetype. Fixes #67780.
3424 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
3426 * DateTime.cs : Performance fix. ParseExact() implementation should
3427 avoid s = s.Substring(1).
3429 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
3431 * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
3432 of m/s/t/z. This fixes bug 66723.
3434 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
3436 * String.cs: make GetHashCode() managed.
3438 2004-10-04 Zoltan Varga <vargaz@freemail.hu>
3440 * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
3442 * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
3444 * ModuleHandle.cs: Add missing methods.
3446 * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
3448 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
3450 * AttributeTargets.cs: Add 2.0 GenericParameter value.
3452 * Environment.cs: Bump corlib version.
3454 2004-10-02 Zoltan Varga <vargaz@freemail.hu>
3456 * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
3458 2004-09-30 Geoff Norton <gnorton@customerdna.com>
3460 * Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
3461 and swapping of all values before going into the BitConverter so that values
3462 are returned with proper endianess.
3464 2004-09-23 Martin Garton <martin@wrasse.demon.co.uk>
3466 * Convert.cs: ToType was returning unconverted object when it should
3467 fail with an ArgumentException.
3469 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
3471 * Array.cs: Add stub for AsReadOnly<T>.
3473 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
3475 * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
3477 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
3480 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
3482 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
3485 * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
3488 * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
3490 * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
3491 sealed' optimization.
3493 * Type.cs: Implement 2.0 StructLayoutAttribute property.
3495 * Type.cs Add GetPseudoCustomAttributes () method.
3497 2004-09-24 Martin Baulig <martin@ximian.com>
3499 * Type.cs (Type.GetGenericParameterConstraints): New public method.
3501 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
3503 * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
3504 GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
3506 * Type.cs: Tweak Module property in 2.0 build.
3508 2004-09-23 Martin Baulig <martin@ximian.com>
3510 * Type.cs (Type.GenericParameterAttributes): New public property.
3512 2004-09-23 Martin Baulig <martin@ximian.com>
3514 * GenericParameterAttributes.cs: New file.
3516 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
3518 * ModuleHandle.cs: Updated after changes to Module class.
3520 2004-09-21 Geoff Norton <gnorton@customerdna.com>
3522 * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
3523 this filter. Fixes bug #65778.
3525 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
3527 * Environment.cs: Bump corlib version.
3529 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
3531 * ModuleHandle.cs: New file.
3533 * RuntimeFieldHandle.cs: Add an internal ctor.
3535 2004-09-19 Dick Porter <dick@ximian.com>
3537 * Console.cs: Use the internal wrappers for StreamReader and
3538 StreamWriter that catch IOException.
3540 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
3542 * Environment.cs: Bumped mono_corlib_version to 25.
3544 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3546 * AppDomain.cs: added SetupInformationNoCopy property, since
3547 SetupInformation creates a copy now, all updates to it should use the
3548 actual data. Fixes bug #61991 take 2.
3550 2004-09-09 Tim Coleman <tim@timcoleman.com>
3551 * Base64FormattingOptions.cs: New enum
3552 * Convert.cs: Add new ToBase64String methods for Fx 2.0
3554 2004-09-08 Marek Safar <marek.safar@seznam.cz>
3557 * GC.cs: Class is static for NET_2_0.
3559 2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
3561 * Activator.cs: Make sure not to call .GetType on a
3562 null argument. fixes 63852
3564 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
3566 * Array.cs (Clear): make this an icall.
3568 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
3570 * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
3572 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3574 * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
3575 insensitive enironment variables hashtable once we create it.
3577 2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
3579 * AppDomain.cs: Changed 2 imperative security demands to declarative
3580 (unsupported) so it doesn't (for now) call the security runtime.
3582 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
3584 * Delegate.cs: Free the delegate trampoline in the finalizer.
3586 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
3588 * ApplicationId.cs: Completed GetHashCode using information from MS
3591 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
3593 * Boolean.cs: Added TryParse static method for NET_2_0 profile.
3595 2004-08-19 Atsushi Enomoto <atsushi@ximian.com>
3597 * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
3598 allows 12, that should not be accepted (13 is rejected) and
3599 interpreted as 0. This fixes bug 63376.
3601 2004-08-17 Sebastien Pouliot <sebastien@ximian.com>
3603 * Version.cs: Fixed Clone so we can use it on versions with only
3604 major/minor or major/minor/build.
3606 2004-08-17 Martin Baulig <martin@ximian.com>
3608 * MonoType.cs (MonoType.getFullName): Added `bool full_name'
3609 argument specifying whether or not to include the type arguments.
3610 (MonoType.FullName): Don't include the type arguments.
3611 (MonoType.ToString): Include them here.
3613 * Environment.cs: Bumped mono_corlib_version to 24.
3615 2004-08-16 Duncan Mak <duncan@ximian.com>
3617 * AttributeUsageAttribute.cs: Change the AttributeUsage to
3618 AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
3621 2004-08-11 Marek Safar <marek.safar@seznam.cz>
3623 * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
3624 Added call to AddPermissionRequests to pass permissions
3626 * Environment.cs: Added a few Fx 2.0 methods
3628 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
3630 * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
3631 * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
3632 references). Added (non-obsolete) Fx 2.0 properties and methods.
3633 * AppDomainSetup.cs: Added internal copy constructor.
3634 * DomainManagerInitializationFlags.cs: Fixed values.
3636 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
3638 * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
3639 * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
3640 * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
3641 * ApplicationId.cs: New Fx 2.0 class.
3642 * ApplicationIdentity.cs: Fixed ToString.
3643 * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
3645 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
3647 * AppDomain.cs: Added a new icall, getDomainByID, to get the an
3648 AppDomain using it's Id. Completed SetAppDomainPolicy.
3649 * Environment.cs: Bumped mono_corlib_version to 23.
3651 2004-08-02 Martin Baulig <martin@ximian.com>
3653 * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
3655 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
3657 * Environment.cs : GacPath on windows is based on mscorlib.dll, and
3658 now its location is changed.
3660 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
3662 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
3665 2004-07-18 Martin Baulig <martin@ximian.com>
3667 * Array.cs: Ben Maurer implemented all the new generic methods
3670 2004-07-17 Martin Baulig <martin@ximian.com>
3672 * Decimal.cs: Implement IComparable<Decimal>.
3674 2004-07-17 Martin Baulig <martin@ximian.com>
3676 * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
3677 UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.
3679 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
3681 * ActivationContext.cs: New class in Fx 2.0. Required for
3682 System.Security.Policy.
3683 * ApplicationIdentity.cs: New class in Fx 2.0. Required for
3684 System.Security.Policy.
3685 * IApplicationDescription.cs: New interface in Fx 2.0. Required for
3686 System.Security.Policy.
3687 * IHostContext.cs: New interface in Fx 2.0. Required for
3688 System.Security.Policy.
3690 2004-07-12 Geoff Norton <gnorton@customerdna.com>
3692 * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
3693 boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
3694 and will add/subtract the hour if needed
3696 2004-07-07 Geoff Norton <gnorton@customerdna.com>
3698 * Monotype.cs: Patch for bug #58844. Dont throw exceptions right away;
3699 pass through all the possibly BindingInfo's and keep a bool value as to the type
3700 of exception we might need to throw;
3702 2004-07-07 Geoff Norton <gnorton@customerdna.com>
3704 * Patch to fix bug #58973
3706 2004-07-02 Jackson Harper <jackson@ximian.com>
3708 * PlatformID.cs: New 2.0 values.
3710 2004-06-25 Ben Maurer <bmaurer@ximian.com>
3712 * Environment.cs: GetFolderPath has new behavior. r=miguel
3714 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
3716 * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
3717 bigger than 9999. Fix bug #41845.
3718 * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
3719 the "R"eversible format for negative numbers.
3721 2004-06-21 Jackson Harper <jackson@ximian.com>
3723 * Decimal.cs: Make sure to use invariant culture when parsing
3724 floats stringified with the invariant culture. Patch by Rodrigo
3727 2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
3729 * FloatingPointFormatter.cs : Literal string should be kept in the
3732 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
3734 * DateTime.cs : Concatenating whitespace removal was not working fine.
3735 Modified FormatException message (1 cent kindness).
3737 2004-06-18 Ben Maurer <bmaurer@ximian.com>
3739 * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
3740 new generics classes
3741 * IComparable.cs: add the new <T> version.
3742 * EventHandler.cs: new <T> version.
3744 2004-06-18 Dick Porter <dick@ximian.com>
3746 * String.cs: The icall can cope with embedded \0 now.
3748 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
3751 - Added new common pattern "yyyy/M/dZ"
3752 - empty string should not be compared in _ParseEnum()
3753 - Use culture independent string comparison in _ParseString()
3754 - Whitespace removal should be checked after '..' token check (some
3755 pattern such like es-ES LongDatePattern contains spaces in '..').
3756 - formats null check should be done (to throw ArgumentNullException)
3758 - When specified one character format, dates are incorrectly regarded
3759 as to use invariant culture.
3761 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
3763 * ArgIterator.cs: changed layout to Auto
3764 * DateTime.cs: changed layout to Auto
3766 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
3768 * DateTime.cs: CRLF to LF
3770 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
3772 * Decimal.cs: Fixed regression in System.Data caused by the recent
3773 changes. Adapted (and moved) the code to correct the scale from
3774 SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
3775 scale has no importance).
3777 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
3779 * Activator.cs: In CreateInstance(), use Public|Instance if access binding
3780 attributes are omitted.
3782 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
3784 * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
3785 check if the format character is valid.
3787 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
3789 * DateTime.cs : AddDays(double) rounds the input.
3791 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
3793 * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
3794 Fixed ToLocalTime() as well, but it does check range for MinValue.
3796 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
3798 * DateTime.cs : Added overflow check in ToUniversalTime() and
3799 ToLocalTime(). Fixed bug #60253.
3801 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
3803 * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
3804 source code (with permission). Fix (biggest) part of bug #60110.
3805 http://www.yoda.arachsys.com/csharp/floatingpoint.html
3807 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
3809 * Decimal.cs: Fixed scale after Round (a different scale is correct
3810 from a math point of view but affect the string representation of the
3811 value). Note: other operations also have scale problems!
3812 * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
3813 * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
3814 rounding (which is the rounding provided by Math.Round). This fix bug
3815 #60111. The code (new Round methods) should be moved elsewhere (as it
3816 may also be required elsewhere) post Mono 1.0.
3818 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
3820 * AppDomainSetup.cs: added TODO for serialization
3821 * ExecutionEngineException.cs: added missing serialization ctor
3822 * InvalidProgramException.cs: added missing serialization ctor
3823 * MulticastNotSupportedException.cs: added missing serialization ctor
3824 * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
3825 * Random.cs: fixed serialization compatibility with MS.NET
3827 2004-06-15 Paolo Molaro <lupus@ximian.com>
3829 * Type.cs: removed unused (and non-existing) icall type_is_instance.
3831 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3833 * Environment.cs: use internalGetHome instead of getting "HOME" as
3834 that variable may not be defined.
3836 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
3838 * TimeSpan.cs: Fixed timespan with large values for hours or minutes
3839 (overflow is only checked for days but can also occurs in hours and
3840 minutes which uses Int32 when multiplying). The new results match MS
3843 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
3845 * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
3846 them with matching NumberFormatInfo properties.
3848 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
3850 * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
3851 * FloatingPointFormatter.cs :
3852 Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
3854 Format Permille pattern (It is undocumented but actually available,
3855 and used in xsl:format-number).
3857 2004-06-14 Raja R Harinath <rharinath@novell.com>
3859 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
3860 version with BOOTSTRAP_WITH_OLDLIB.
3861 * String.cs (STring.Concat): Likewise.
3863 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
3865 * FloatingPointFormatter.cs :
3866 - Don't format more than 15 fraction digits. Don't report to Pedro
3867 directly (removing the error message with his concent).
3868 - When format string starts with '.', it means integral part format
3869 is not specified. Ignore '.' characters after the first
3870 appearance. Fixed bug #59890.
3871 - 0.0 is formatted only before the third ';' appearance.
3873 2004-06-11 Sebastien Pouliot <sebastien@ximian.com>
3875 * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
3876 rounding logic which worked for FromOADate (while the newer didn't).
3877 * TimeSpan.cs: Now throw an OverflowException when the timespan is
3878 over MaxValue or under MinValue.
3880 2004-06-11 Martin Baulig <martin@ximian.com>
3882 * Console.cs (Write, WriteLine): Implemented the varargs versions.
3884 2004-06-11 Martin Baulig <martin@ximian.com>
3886 * String.cs (Concat): Implemented the varargs version.
3888 2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
3890 * Decimal.cs: Hacked the Parse method to allow the runtime C code to
3891 decode it properly (i.e. matching MS results). Fixed the Round method
3892 for negative decimal numbers (moved code from Math.cs).
3893 * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
3894 fix a bug when rounding a negative decimal.
3896 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3898 * AppDomain.cs: set the _principal to null when changing the policy.
3899 * Console.cs: remove ClsCompliant attribute from a method marked as
3900 internal and added comment.
3902 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
3904 * Delegate.cs: marked protected fields private to match public
3905 API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
3906 protected to fix public API
3907 * Enum.cs: marked ctor protected to match public API of MS.NET
3908 * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
3909 match public API of MS.NET
3911 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
3913 * DateTime.cs : Added more common patterns.
3915 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
3917 * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
3918 be a performance winner (the actual Math code has a note to wait a
3919 better Decimal implementation) but it returns the correct results
3920 (without adding new code in corlib or the runtime). Fix #37744.
3922 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
3925 - A bunch of fixes (patch by Steven Brown). Fraction seconds are
3926 now represented as double. Strict token check for 'Z'.
3927 - Pattern validity check in GetDateTimeFormats(char).
3928 - Fixed pattern "yyyy/M/d HH:mm:ss".
3930 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
3932 * Decimal.cs: Fixed remainder (and optimized some cases not to call
3933 unmanaged code). Simplified divide. Removed workaround for bug #59793.
3934 Fixed GetHashCode to return different result for X and -X.
3936 2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
3939 - Now re-checked all common format patterns. They should be tried
3940 with both current culture and invariant culture. Since '/' covers
3941 '-', removed extraneous patterns. Added more common patterns
3942 such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
3943 only after NET_1_1). Commented out 1 character format patterns.
3944 - The format patterns we should try should not be obtained by
3945 GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
3946 character patterns), to handle UTC correctly. Examined patterns
3947 are changed, to 1) common patterns with specified (or current)
3948 culture, 2) common patterns with invariant, 3) The above "one
3949 character patterns" with specified (or current) culture.
3950 - When trying to parse some kind of patterns such as RFC1123,
3951 always use invariant DateTimeFormatInfo so that they can avoid
3952 parsing with culture-dependent calendar.
3953 - Check "GMT" only when doing Parse(). Don't it when ParseExact().
3954 - Removed extraneous '-' case. It is not special one.
3955 - When ParseExact(), allow only '/' for '/' pattern character.
3956 - When Parse(), allow any non-letter & non-number characters.
3957 - When pattern is not fully parsed, reject that format.
3958 - Added "exact" parameter to some ParseExact().
3959 - RFC1123 pattern is (again) now parsed in local time. I regressed
3960 some problems in previous fix.
3962 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
3964 * Decimal.cs: Fixed cast to integer types to truncate (not round) the
3967 2004-06-07 Duncan Mak <duncan@ximian.com>
3969 * Exception.cs (Source): This can return null.
3971 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
3973 * DateTime.cs: Fixed FromFileTime for negative values. Fixed
3974 constructor to limit range of milliseconds from 0,999. Fixed
3975 ToType method to work for object, string and DateTime.
3977 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
3979 * DateTime.cs: Fixed OLE Automation date conversions: timezone
3980 insensitive, wrong exception in FromOADate, handling of Min/Max
3981 values, negative doubles where integer part is negative but
3982 decimals are positive! Charming format ;-)
3984 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
3986 * String.cs: Fixed Join in case separator parameter is null.
3987 * TimeSpan.cs: Cache format errors during parsing and throw
3988 FormatException only if there was no overflow.
3990 2004-06-06 Gert Driesen <drieseng@users.sourceforge.net>
3992 * MonoCustomAttrs.cs: fixed issue where an empty array was
3993 returned when GetCustomAttributes was invoked with null
3994 attribute type and there was only one result
3996 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
3998 * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
3999 * Int16.cs: Fixed ToString(String.Empty) to default ("G").
4000 * Int32.cs: Fixed ToString(String.Empty) to default ("G").
4001 * Int64.cs: Fixed ToString(String.Empty) to default ("G").
4002 * SByte.cs: Fixed ToString(String.Empty) to default ("G").
4003 * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
4004 * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
4005 * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
4007 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
4009 * Convert.cs: Fixed the convertion of negative integers (byte, short,
4010 int and long) into string in a specific base (2, 8, 10 or 16).
4012 2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
4014 * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
4015 the dividend is negative and the result is 0 (remainder).
4017 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
4019 * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
4021 2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
4023 * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
4024 spans. Fixed parsing when only days are presents in the string (which
4025 should be illegal according to the documentation but is supported).
4027 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
4029 * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
4030 somewhat different from the documentation.
4032 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
4034 * Type.cs: added missing attributes on InvokeMember
4036 2004-06-01 Miguel de Icaza <miguel@ximian.com>
4038 * String.cs: Flag concat with four arguments internal.
4040 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
4042 * Array.cs: Fixed legal case where value is null.
4043 * Byte.cs: Fixed ToString when format is an empty string (use "G").
4044 * Guid.cs: Renamed private fields (and changed some to signed) to
4045 match MS implementation and allow serialization to work. Fix
4048 2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4050 * DateTime.cs: adjust milliseconds for fraction specifier ('f').
4052 2004-05-30 Miguel de Icaza <miguel@ximian.com>
4054 * Console.cs: Remove *again* the version of WriteLine with four
4055 arguments; That should *not* be added.
4057 Flag it as internal as people migrate their code.
4059 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
4061 * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
4062 ArgumentNullException (only case, all other returns 0). Fixed exception
4063 reporting for hex prefix only strings. Fixed ChangeTo where null could
4064 be misinterpreted between null and Empty.
4066 2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
4068 * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
4069 16), non-base 10 negative numbers ... see new unit tests. Fixed the
4070 case when we parse Int64.MinValue (positive doesn't fit a signed long).
4072 2004-05-28 Jackson Harper <jackson@ximian.com>
4074 * Environment.cs: Increment version number.
4076 2004-05-28 Zoltan Varga <vargaz@freemail.hu>
4078 * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
4081 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
4083 * DateTime.cs : I reverted my fix by accident :(
4085 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
4088 - In ToString(), Don't use culture-dependent daynames to format
4089 Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
4090 - Fixed GetDateTimeFormats () that generated incorrect 'U' value
4091 (since the format string is the same as 'F').
4093 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
4095 * DateTime.cs : don't adjust utc value in ToString(). It must output
4096 the same time value, just adding 'Z' for UTC.
4098 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
4100 * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
4103 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4105 * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
4107 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
4109 * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
4110 * Convert.cs: Convert with a base parameter cannot parse negative
4111 string numbers, even "-0".
4112 * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
4113 * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
4114 * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
4116 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
4119 - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
4120 to common formats (yes, I know it is nothing more than hack)
4121 - Fixed some GetDateTimeFormats() that just returned patterns.
4122 - For InvariantCulture, now try both supported formats and our
4124 - It was accepting incorrectly extraneous characters. That caused
4125 some UTC/non-UTC bug.
4126 - RFC1123 string should return universal time. Uncomment again (the
4127 problem should went away because of the extra characters fix above.
4129 With some of the changes above, fixed bug #47720.
4131 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
4133 * DateTime.cs : quick revert 'Z' support for certificate verifications.
4135 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
4137 * Array.cs: Removed duplicate condition if LastIndexOf.
4139 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
4142 - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
4144 - As a quick remedy to accept more patterns, Parse() now also tries
4145 InvariantInfo patterns (this is because we have no more than one
4146 pattern for each pattern component.)
4147 - In _DoParse(), 'Z' should not be read as timezone specifier. Some
4148 culture uses 'Z' as AM/PM designer, and it should be recognized as
4149 part of the UTCpattern (if it actually UTC pattern for the culture
4152 2004-05-26 Gert Driesen (drieseng@users.sourceforge.net)
4154 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
4155 seems to allow multiple attributes with AllowMultiple at
4158 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
4160 * Byte.cs: Throw an OverflowException for negative numbers.
4161 * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
4162 * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
4164 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
4166 * Array.cs: Fixed possible integer overflow.
4167 * BitConverter.cs: Fixed a possible integer overflow in ToString.
4168 * Guid.cs: Added an internal method to create a random Guid without
4169 using CryptoConfig (which is heavy on first use). This is only used
4170 in S.R.E.ModuleBuilder to speedup MCS compilation.
4171 * String.cs: Fixed reported exception for PadLeft|Right. Fixed
4172 possible integer overflow in methods that takes index and count
4175 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
4177 * String.cs: Add new Strcpy icalls which take a char array as
4180 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
4182 * DateTime.cs : added more invariant format patterns. This should
4183 really fix bug #57656.
4185 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
4187 * BitConverter.cs (ToBoolean): Return true or false instead
4188 of unsafe returing byte as bool. Fixes bug #58874.
4190 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
4192 * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
4193 string format argument is null.
4195 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
4197 * Version.cs: Rename of data fields to match those in Microsoft.NET.
4198 Patch by PAF@design.ru.
4200 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4202 * DateTime.cs: allow double quotes in the formats. Don't set
4203 next_not_digit to true in presence of single or double quotes. Patch by
4206 2004-05-24 Zoltan Varga <vargaz@freemail.hu>
4208 * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
4210 2004-05-23 Sebastien Pouliot <sebastien@ximian.com>
4212 * Array.cs: Fixed exception when we try to Clear outside bounds.
4213 * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
4214 * BitConverter.cs: Fixed negative index and integer overflow in
4216 * Buffer.cs: Fixed integer overflow in BlockCopy.
4218 2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
4220 * Array.cs: Clear can now work on multidimentional arrays.
4221 * IntPtr.cs: We now only accept 32bits values in the long constructor
4222 unless we're on a 64 bits machine.
4223 * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
4224 constructor unless we're on a 64 bits machine.
4226 2004-05-22 Duncan Mak <duncan@ximian.com>
4228 * Convert.cs: The file was mostly in DOS endings already, for the
4229 sake of consistency, converted it all to DOS endings.
4230 (ToType): When value is null, immediately return null and don't
4231 ever throw a NullReferenceException. When conversionType is null,
4232 throw an InvalidCastException. Give a better error message when
4233 attempting to convert to a DBNull as well.
4235 2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
4237 * Decimal.cs: Fixed To... methods that needs to trunk the integer part
4238 of Decimal (and not use the banker's rounding like Convert.To...).
4239 * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
4240 to NaN compares (see new unit tests).
4242 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
4244 * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
4245 Also fixed the case where wide (16 bits) characters were converted to
4248 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
4250 * ThreadStaticAttribute.cs
4251 * ContextStaticAttribute.cs
4253 * ObsoleteAttribute.cs : now that Inherited is false by
4254 default on AttributeUsageAttribute (as it should be) we
4255 need to explicitly set Inherited to false for those
4256 attributes should it be be false.
4258 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
4260 * AttributeUsageAttribute.cs: Inherited property should be
4261 true by defaultrs.cs: respect Inherited property, and
4263 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
4265 * MonoCustomAttrs.cs: respect Inherited property, and
4266 AllowMultiple property of a CustomAttribute. This fixes
4267 a major issue we had with respect to custom attributes.
4269 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
4271 * MonoType.cs: throw ArgumentNullException when type parameter in
4272 GetCustomAttributes(Type, bool) is null
4274 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
4276 * Buffer.cs: Added checks for null source and destination. Fix failing
4277 CryptoStream unit test.
4278 * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
4279 pseudo-random numbers to generate GUIDs (as per section 3.4 of the
4280 spec). This removes the TODO to get the computer MAC address and
4281 the chances to get a duplicate GUID (across different machines).
4283 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4285 * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
4286 than OverflowExceptions then something went wrong internally
4288 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4290 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
4293 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
4295 * Buffer.cs: Optimize BlockCopy.
4297 * Environment.cs: Bump corlib version.
4299 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
4301 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
4302 See also bug #58478.
4304 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4306 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
4307 been set. Just return null as MS. Fixes bug #58120.
4309 2004-05-14 Marek Safar <marek.safar@seznam.cz>
4311 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
4312 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
4313 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
4314 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
4315 useless [CLSCompliant (false)]
4318 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
4320 * __ComObject.cs: To please corcompare (no implementation).
4322 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
4324 * Environment.cs: Bump corlib version.
4326 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
4328 * Environement.cs: Removed two security attributes for CurrentDirectory
4329 that weren't documented (and anyway we don't support them).
4331 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4333 * Char.cs: Fix exceptions
4335 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
4337 * MissingMemberException.cs: Fix in serialization constructor.
4339 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4341 * Environment.cs: GetGacPath return value is resolved at runtime on
4344 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
4346 * Convert.cs: ToBase64CharArray method was depending on a bug in
4347 S.S.C.ToBase64Transform class to work. Added an internal method to
4348 provide the same functionality (multiple block processing).
4350 2004-05-06 Jackson Harper <jackson@ximian.com>
4352 * Environment.cs: Make $HOME the personal directory.
4354 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
4356 * Convert.cs: ToBase64String method was depending on a bug in
4357 S.S.C.ToBase64Transform class to work. Added an internal method to
4358 provide the same functionality (multiple block processing).
4360 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
4362 * Environment.cs: Completed OSVersion property.
4363 * Version.cs: Added internal CreateFromString() to "try" to build the
4364 best version number form the specified string.
4366 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4368 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
4369 Fixes several potential bugs and makes things way faster.
4371 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4373 * TimeSpan.cs: Formatting changes
4375 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
4377 * Activator.cs: change _flags to a const.
4378 * IntegerFormatter.cs: make tables readonly.
4379 * Convert.cs: tables readonly
4380 * DateTime.cs: ditto.
4381 * IntPtr.cs: avoid a cctor.
4383 2004-04-29 Jackson Harper <jackson@ximian.com>
4386 * Type.cs: NET_2_0 now instead of 1_2.
4388 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4390 * Environment.cs: implemented GetLogicalDrives.
4392 2004-04-28 Miguel de Icaza <miguel@ximian.com>
4394 * Applied patch from Atsushi Enomoto that allows Synchronized
4395 writers to have a `dont close' flag, this fixes 52094
4397 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
4399 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
4400 return the method if it is private (it did until now because of a
4401 bug). Make sure it works as it worked before the fix.
4402 * Type.cs: Implemented FilterAttribute delegate.
4404 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4406 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
4408 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4410 * IntegerFormatter.cs: Made functions internal (needed by other patches)
4412 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
4414 * DateTime.cs: TODO cleaning.
4415 * Delegate.cs: GetObjectData should be virtual.
4416 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
4417 30 methods almost identical.
4418 * MulticastDelegate.cs: Implemented GetObjectData.
4420 2004-04-26 Jackson Harper <jackson@ximian.com>
4422 * Environment.cs: Things going bump in the night.
4424 2004-04-25 Miguel de Icaza <miguel@ximian.com>
4426 * Convert.cs (toBase64Transform): Make private.
4428 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4432 * DecimalFormatter.cs:
4433 * FloatingPointFormatter.cs: Call invariant Char functions
4434 * Guid.cs: Call invariant Char and String functions
4435 * String.cs: Call invariant Char functions
4437 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4439 * String.cs: Refactored the Invariant ToXXX into its own internal methods
4440 so they are directly callable within corlib (can prevent early
4441 construction of CultureInfo, InvariantCulture and related classes)
4443 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4445 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
4446 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
4448 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4450 * String.cs: Check for null values
4452 2004-04-23 Peter Bartok <pbartok@novell.com>
4454 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
4455 will do a better fix in the future, but this way apps can at least use it.
4457 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
4459 * Environment.cs: Better support for GetFolderPath (same results as MS
4462 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
4464 * Activator.cs: Removed TODOs for finished methods.
4465 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
4466 must be relative to the current directory, not the temp directory.
4467 Implemented DynamicBase.
4468 * Convert.cs: No need to create a ToBase64Transform instance at every call
4469 to ToBase64CharArray.
4470 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
4472 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
4473 * Delegate.cs: Removed class TODO.
4474 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
4476 * Type.cs: Removed TODOs for things already implemented.
4478 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
4480 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
4481 * MulticastDelegate.cs: Removed unused code.
4483 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
4485 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
4486 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
4487 * BadImageFormatException.cs: TODO reformat.
4488 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
4489 * DelegateSerializationHolder.cs: Made class internal.
4490 * Enum.cs: Removed TODO for localization, since this is something that has
4491 to be done for all classes.
4492 * Environment.cs: Removed TODO.
4493 * Exception.cs: Changed ToString to use StringBuilder.
4494 * MonoDummy.cs: Made class internal.
4495 * UnitySerializationHolder.cs: Added support for modules.
4497 2004-04-16 David Sheldon <dave-mono@earth.li>
4499 * DecimalFormatter.cs: Don't append a decimal point after the
4500 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
4503 2004-04-09 Miguel de Icaza <miguel@ximian.com>
4505 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
4508 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
4510 * MonoDummy.cs: added MonoTODO to make sure we remove this class
4511 when its no longer needed
4513 2004-04-09 David Sheldon <dave-mono@earth.li>
4515 * Convert.cs: Allow + signs in strings for ToInt32, and
4518 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
4520 * Nullable.cs : usingdecl should also be conditional.
4522 2004-04-07 Martin Baulig <martin@ximian.com>
4524 * Nullable.cs: New file.
4526 2004-04-07 Martin Baulig <martin@ximian.com>
4528 * Type.cs (Type.GetGenericArguments): Make this abstract.
4530 2004-04-07 Jackson Harper <jackson@ximian.com>
4532 * Environment.cs: Increase corlib version number.
4534 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4537 (ExpandEnvironmentVariables): on windows, env. vars. are case
4540 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
4542 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
4543 Removed [ThreadStatic] for _principalPolicy (not required).
4545 2004-04-06 Miguel de Icaza <miguel@ximian.com>
4547 * Guid.cs: Flag as Sequential.
4549 2004-04-02 Dick Porter <dick@ximian.com>
4551 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
4553 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
4555 * Environment.cs: Implement ExpandEnvironmentVariables static method.
4556 Now call the runtime to get the username (fix #56144).
4558 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4560 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
4563 2004-03-29 Miguel de Icaza <miguel@ximian.com>
4565 * Console.cs: If we fail to open stdin/stdout/stderr, create
4566 readers with a NullStream. This can happen if our caller does not
4567 setup stdin/stoud/stderr file handles. #56158 exposed this, but
4568 it will happen elsewhere.
4570 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
4572 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
4573 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
4574 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
4575 the constructor. This fixes bug #54019.
4577 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
4579 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
4580 internal variables to structures that are moved around methods.
4581 Factorized some common formatting code into FormatNumberInternal.
4583 2004-03-23 Dick Porter <dick@ximian.com>
4585 * DateTime.cs: Allow any character for DateSeparator when parsing,
4586 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
4587 deleted the previous fix for 54721, because this covers it too.
4589 2004-03-23 Dick Porter <dick@ximian.com>
4591 * DateTime.cs: Check the date string for too many digits when
4592 parsing. Fixes bugs 53023 and 53025.
4594 2004-03-22 Dick Porter <dick@ximian.com>
4596 * String.cs: Use the provider when converting strings to other
4599 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
4600 formats. Fixes bug 54721.
4602 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4604 * Console.cs: Styled, optimized calls
4605 * CrossAppDomainDelegate.cs: Small header fix
4606 * Buffer.cs: Style, improve errors
4607 * BitConverter.cs: Style, improve errors, remove obsolete comment
4608 * Attribute.cs: Style, improve errors, small fix
4609 * Array.cs: Style, improve errors, small fix, added TODOs
4610 * Activator.cs: Style, localized errors, added error checks
4611 * Byte.cs: Style, localized errors, fixed wrong exception parameters
4614 * AppDomainSetup.cs: Style
4615 * AppDomain.cs: Style, implemented two methods (redirect)
4617 2004-03-21 Jackson Harper <jackson@ximian.com>
4619 * FloatingPointFormatter.cs: Set precision from number format info
4620 when it is not specified. This fixes bug #54983.
4622 2004-03-18 Nick Drochak <ndrochak@ieee.org>
4624 * Math.cs: Use IsNaN() method not "x == NaN".
4626 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4628 * EntryPointNotFoundException.cs
4629 * DuplicateWaitObjectException.cs
4630 * DllNotFoundException.cs
4631 * DivideByZeroException.cs
4632 * ContextMarshalException.cs
4633 * CannotUnloadAppDomainException.cs
4634 * BadImageFormatException.cs
4635 * ArrayTypeMismatchException.cs
4636 * ArithmeticException.cs
4637 * ArgumentOutOfRangeException.cs
4638 * ArgumentNullException.cs
4639 * ArgumentException.cs
4640 * ApplicationException.cs
4641 * AppDomainUnloadedException.cs: Added missing HResult overrides
4643 * BadImageFormatException.cs: Improved/ Fixed implementation
4645 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
4647 * Random.cs: Corrected random value when Next is called with a
4648 negative value. Testing indictae that our results aren't exactly the
4649 same as MS, we have a +/- 1 (probably rounding errors due to
4650 different implementation).
4652 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4654 * Environment.cs: updated corlib version.
4656 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
4658 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
4659 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
4660 field "value" to "m_value", so it is interoperable with MS.NET when
4661 serializing and deserializing data. Based on the patch from Daniel
4664 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4666 * TypeInitializationException.cs
4667 * SystemException.cs
4668 * StackOverflowException.cs
4670 * OverflowExceptionException.cs
4671 * OutOfMemoryException.cs
4672 * NullReferenceException.cs
4673 * NotSupportedException.cs
4674 * NotFiniteNumberException.cs
4675 * InvalidOperationException.cs
4676 * InvalidCastException.cs
4677 * IndexOutOfRangeException.cs
4678 * FormatException.cs
4679 * ExecutionEngineException.cs: improved parameter names
4681 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4684 * EntryPointNotFoundException.cs
4685 * DuplicateWaitObjectException.cs
4686 * DoubleFormatter.cs
4687 * DllNotFoundException.cs
4688 * DivideByZeroException.cs
4689 * DelegateSerializationHolder.cs
4692 * ContextStaticAttribute.cs
4693 * ContextMarshalException.cs
4694 * ContextBoundObject.cs
4695 * CLSCompliantAttribute.cs
4697 * CannotUnloadAppDomainException.cs
4698 * BadImageFormatException.cs
4699 * AttributeUsageAttribute.cs
4700 * AttributeTargets.cs
4702 * AssemblyLoadEventHandler.cs
4703 * AssemblyLoadEventArgs.cs
4704 * ArrayTypeMismatchException.cs
4705 * ArithmeticException.cs
4706 * ArgumentOutOfRangeException.cs
4707 * ArgumentNullException.cs
4708 * ArgumentException.cs
4710 * ApplicationException.cs
4711 * AppDomainUnloadedException.cs
4712 * AppDomain.cs: Mono styled, fixed exceptions/ locales
4713 removed excess usings
4715 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
4717 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
4718 spaces) which fixed #54939. Changed the way that the length is
4719 validated (multiple of 4) because the ignored characters must not be
4720 included in the count.
4722 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4724 * String.cs: Monostyled
4726 2004-03-09 Jackson Harper <jackson@ximian.com>
4728 * Char.cs: Only use a byte for numeric data.
4730 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4732 * TypedReference.cs: Added missing Attributes
4733 * ParamArrayAttribute.cs: Small style fix
4734 * OperatingSystem.cs: Added .Net 1.1 member
4736 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4738 * FieldAccessException.cs
4739 * FormatException.cs
4740 * InvalidCastException.cs
4741 * InvalidOperationException.cs
4742 * MemberAccessException.cs
4743 * MethodAccessException.cs
4744 * MissingFieldException.cs: Locale strings
4745 * MissingMemberException.cs: Locale strings
4746 * MissingMethodException.cs: Locale strings
4747 * NotFiniteNumberException.cs
4748 * NotImplementedException.cs
4749 * NotSupportedException.cs
4750 * NullReferenceException.cs
4751 * ObjectDisposedException.cs
4752 * OutOfMemoryException.cs
4753 * OverflowExceptionException.cs
4754 * PlatformNotSupportedException.cs
4755 * RankException.cs: Added missing HResult overrides
4757 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4759 * RuntimeTypeHandle.cs
4760 * RuntimeMethodHandle.cs
4761 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
4763 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4767 * ExecutionEngineException.cs
4768 * FieldAccessException.cs
4769 * FormatException.cs
4772 * IndexOutOfRangeException.cs
4774 * InvalidCastException.cs
4775 * InvalidOperationException.cs
4776 * InvalidProgramException.cs
4777 * IServiceProvider.cs
4778 * LoaderOptimization.cs
4779 * LoaderOptimizationAttribute.cs
4780 * MarshalByRefObject.cs
4782 * MemberAccessException.cs
4783 * MethodAccessException.cs
4784 * MissingFieldException.cs
4785 * MissingMemberException.cs
4786 * MissingMethodException.cs
4787 * MultiCastDelegate.cs
4788 * MulticastNotSupportedException.cs
4789 * NonSerializedAttribute.cs
4790 * NotFiniteNumberException.cs
4791 * NotImplementedException.cs
4792 * NotSupportedException.cs
4793 * NullReferenceException.cs
4794 * ObjectDisposedException.cs
4795 * ObsoleteAttribute.cs
4796 * OperatingSystem.cs
4797 * OutOfMemoryException.cs
4798 * OverflowExceptionException.cs
4800 * PlatformNotSupportedException.cs
4803 * ResolveEventArgs.cs
4804 * ResolveEventHandler.cs
4805 * RuntimeFieldHandle.cs
4806 * RuntimeMethodHandle.cs
4807 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
4808 removed excess usings
4810 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4812 * SystemException.cs: Exceptions set the HResult
4813 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
4814 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
4816 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4819 * TypeLoadException.cs
4820 * TypeInitializationException.cs
4823 * ThreadStaticAttribute.cs
4824 * SystemException.cs
4825 * STAThreadAttribute.cs
4826 * StackOverflowException.cs
4827 * SingleFormatter.cs
4829 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
4830 removed excess usings
4832 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4834 * UnauthorizedAccessException.cs: Exceptions set the HResult
4835 * UInt64.cs: Implemented two missing methods
4836 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
4837 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
4839 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4845 * UnitySerializationHolder.cs
4846 * UnhandledExceptionEventHandler.cs
4847 * UnauthorizedAccessException.cs
4851 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
4853 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
4855 * Environment.cs: Bump corlib version.
4857 2004-03-04 Jackson Harper <jackson@ximian.com>
4859 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
4861 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
4863 * String.cs: Concat() fixed crash when one of the arguments is an object
4864 whose ToString() method returns null.
4865 * TypeLoadException.cs: Added some serialization fiels, needed for
4866 compatibility with MS.NET.
4868 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
4870 * String.cs (Equals): Speed up this method by avoiding Array
4871 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
4873 This gives between 0x (for 1 char) and >2x (for large strings)
4874 factor of improvement.
4876 A big thanks to Miguel, who suggested the integer compares.
4878 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4880 * MonoType.cs: use the binder in GetPropertyImpl.
4882 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4884 * Math.cs: MonoStyled, replaced space with tabs,
4885 speedup of some methods by avoiding method calls
4887 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
4889 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
4890 (Moved from InternalCall to Managed code).
4892 2004-02-17 Martin Baulig <martin@ximian.com>
4894 * MonoType.cs (GetConstructors): Renamed the interncall to
4895 GetConstructors_internal(), made it internal and added a `Type
4896 reflected_type' argument to it.
4897 (GetEvents, GetFields): Likewise.
4898 (GetMethodsByName): Added `Type reflected_type' argument.
4899 (GetPropertiesByName): Likewise.
4901 2004-02-16 Jackson Harper <jackson@ximian.com>
4903 * FloatingPointFormater.cs: Allow precision to be up to the number
4904 of decimals without rounding.
4906 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
4908 * Delegate.cs (Equals): Do not compare method_ptr, since it might
4909 point to a trampoline.
4911 2004-02-12 Jackson Harper <jackson@ximian.com>
4913 * AppDomainSetup.cs: If relative paths are used they should be
4914 rooted in the temp directory.
4916 2004-02-11 Marek Safar <marek.safar@seznam.cz>
4918 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
4920 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
4922 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
4923 avoid an assert in the runtime.
4925 2004-02-08 Duncan Mak <duncan@ximian.com>
4927 * Convert.cs (ToType): Always let a Convert.ChangeType call
4928 succeed if the source object is already of the destination type.
4930 Patch by Ian MacLean (ianm@activestate.com).
4932 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
4934 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
4936 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
4938 * Environment.cs: Bump corlib version.
4940 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
4942 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
4945 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
4947 * Exception.cs: Changed ToString to remove the \n when no stack trace
4948 is present (which fixed a unit test for SecurityException). Changed
4949 all \n to Environment.NewLine.
4951 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
4953 * ContextBoundObject.cs: Removed TODO.
4955 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4957 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
4958 (double), which might round up.
4960 2004-01-19 Jackson Harper <jackson@ximian.com>
4962 * FloatingPointFormatter.cs: Use the default decimal digits count
4963 if they are not specified. This fixes bug #52927.
4965 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
4967 * Environment.cs: Bump version number.
4969 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
4971 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
4972 uses IsAssignableFrom(o.GetType()), which is not always valid for
4973 transparent proxies (because GetType will not return the type of the remote
4974 object if its assembly is not present).
4976 2004-01-18 David Sheldon <dave-mono@earth.li>
4978 * FloatingPointFormatter.cs: Skip the decimal point if we have an
4979 integer mantassa. So: 1E+15, rather than 1.E+15.
4981 2004-01-18 David Sheldon <dave-mono@earth.li>
4983 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
4984 even though docs say it should be an ArgumentNull. Two test cases now
4985 pass. See also nickd's commit of 2003-12-24.
4987 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4989 * Environment.cs: increased corlib version.
4991 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
4993 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
4994 be reused because they could be modified. This fixes bug #52655.
4996 2004-01-12 Patrik Torstensson
4998 * Environment.cs: Bump corlib version number due to new StringBuilder
5000 * String.cs: New internal method to support the new StringBuilder that
5001 uses the string as a buffer (until ToString is called)
5003 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
5005 * Environment.cs: Bump corlib version number for real this time.
5007 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
5008 the runtime, so it can take into account the Culture etc.
5010 * Environment.cs: Bump corlib version number.
5012 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5014 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
5015 new parameter with the method name and a boolean for ignoring case.
5016 Removed some string comparisons no longer needed.
5018 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5020 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
5021 new parameter with the property name and a boolean for ignoring case.
5024 2004-01-11 David Sheldon <dave-mono@earth.li>
5026 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
5029 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
5031 * AppDomain.cs: Keep track of type resolve and assembly resolve
5032 events in progress to prevent infinite recursion.
5034 2004-01-06 Miguel de Icaza <miguel@ximian.com>
5036 * Console.cs: Test for UTF-8 being present anywhere on the
5037 string, also do ToUpper instead of ToLower, which will work even
5038 around the ICU bug with different locales (#52065), and addresses #52101
5040 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
5042 * Environment.cs: Bump version.
5044 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
5046 * Type.cs (IsNotPublic): One would normally assume that
5047 IsNotPublic == !IsPublic, but this is not the case (note to MS,
5048 make better names ;-). Fixes #52547, `Type.IsNotPublic not
5049 correct for Nested types'
5051 2003-12-24 Nick Drochak <ndrochak@ieee.org>
5053 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
5054 even though docs say it should be an ArgumentNull. Sent email to MS
5057 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
5059 * Exception.cs: Several changes to make it compatible with MS.NET (needed
5060 for remoting interoperability): set a default value for hresult, added
5061 initialization of class_name, serialization field RemoteStackTrace must
5062 be RemoteStackTraceString, added ser. field ExceptionMethod.
5064 * IndexOutOfRangeException.cs: Added serialization constructor.
5066 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
5069 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
5071 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
5073 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
5074 user supplied no parameter info, but not when the user supplied an
5075 empty parameter list. This fixes IKVM.
5077 * Environment.cs: Bump corlib version.
5079 2003-12-19 Dick Porter <dick@ximian.com>
5081 * String.cs: Added Compare shortcut for length==0.
5083 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
5085 * Environment.cs: Bump corlib version.
5087 2003-12-17 Dick Porter <dick@ximian.com>
5089 * String.cs: Fix StartsWith and EndsWith when the argument is the
5090 empty string. Fixes bug 52283.
5092 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
5094 * Environment.cs (HasShutdownStarted): Implement.
5096 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
5098 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
5100 * Environment.cs: Bump version number.
5102 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5104 * DateTime.cs: don't bail out with that year out of range error on
5105 stuff like "MM/dd/yyyy HH:MM:ss".
5107 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
5109 * Environment.cs: Make it a const instead.
5111 * Environment.cs: Make version field static.
5113 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
5115 * Type.cs: Make DefaultBindingFlags protected.
5117 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
5118 Add new GacPath property + its associated icall.
5120 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
5122 * DateTime.cs : Bugs fixed (41845, 51422)
5123 * MonoType.cs : Exception message changed
5125 2003-12-08 Martin Baulig <martin@ximian.com>
5127 * Type.cs (MakeByRefType): New public method.
5129 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
5131 * Environment.cs: Add a version number for the corlib-runtime interface
5132 to make it easier to diagnose problems resulting from a mismatch
5135 2003-12-08 Patrik Torstensson <p@rxc.se>
5137 * Type.cs (GetMethod): Check type arguments within array
5138 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
5139 (same signature but different classes (derived level)
5141 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
5143 * Type.cs (MakeArrayType): Add argument checking.
5145 2003-12-06 Dick Porter <dick@ximian.com>
5147 * String.cs: Don't use CompareInfo for non-culture-sensitive
5148 IndexOf and LastIndexOf methods.
5150 2003-12-06 Ravindra <rkumar@novell.com>
5152 * DateTime.cs: Made Parse(string, IFormatProvider) method to
5153 use second argument. Fixed bug #51464.
5155 2003-12-04 Martin Baulig <martin@ximian.com>
5157 * Type.cs (Type.MakeArrayType): New public method.
5159 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5162 (BlockCopy): make the exception thrown helpful.
5164 2003-12-03 Dick Porter <dick@ximian.com>
5166 * String.cs: Calling Replace on an empty string returns itself.
5168 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
5170 * MonoType.cs: Get rid of get_type_info, use a separate icall for
5171 each property instead.
5173 2003-12-02 Dick Porter <dick@ximian.com>
5175 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
5176 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
5178 2003-12-01 Dick Porter <dick@ximian.com>
5180 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
5181 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
5183 2003-11-28 Dick Porter <dick@ximian.com>
5188 * Boolean.cs: Do string compares with the Invariant culture.
5190 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
5192 * Array.cs: make the enumerator ICloneable
5194 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
5196 * Decimal.cs (ToXXX): Call Convert.ToXXX.
5198 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
5200 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
5201 Implement Load(byte[]) methods.
5203 * BadImageFormatException.cs: Fix ToString.
5205 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
5207 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
5208 GetConstructor, as done by MS.
5210 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5212 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
5214 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
5216 * TypeInitializationException.cs: Added missing serialization constructor.
5218 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5220 * AppDomainSetup.cs: Don't add an extra '/' at the end of
5221 ApplicationBase. The tests pass now with mono.
5223 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
5225 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
5227 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5229 * Environment.cs: use Directory in CurrentDirectory property.
5230 We were not throwing any exception when setting the directory to an
5233 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5236 * Delegate.cs: implemented 1.1 stuff.
5239 * IntPtr.cs: removed extra attribute.
5240 * PlatformID.cs: added WinCE.
5242 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5245 (Equals): compare the fields of structs too.
5246 (GetHashCode): combine the hash code of all the fields.
5247 Fixes bug #50901 (will remove the icall in a couple of days).
5249 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5251 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
5253 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5255 * DateTime.cs: handle century when we try to parse 4-digit years and
5256 only 2 digits are present. Fixes bug #49394.
5258 2003-11-13 Miguel de Icaza <miguel@ximian.com>
5260 * Console.cs: On utf-8 consoles, use unmarked output.
5262 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5264 * IAppDomainSetup.cs:
5267 * Type.cs: Added missing attribute
5269 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
5271 * Environment.cs: Added internal method for getting the path to
5274 2003-11-12 Jackson Harper <jackson@ximian.com>
5276 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
5277 enum. This fixes the SWF build.
5279 2003-11-12 Miguel de Icaza <miguel@ximian.com>
5281 * PlatformID.cs: Remove Unix platform, we cant expose constants
5282 that are not in the framework.
5284 * OperatingSystem.cs: Adjust for the breakage.
5286 * RuntimeMethodHandle.cs: Fix signature.
5288 * Double.cs: Fix signature of TryParse.
5290 * String.cs (Concat (object, object, object, object)): Add missing method.
5292 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
5293 in the .NET Framework.
5295 * Enum.cs: Hide constructor.
5297 Fix ToUint16 to be explicitly implemented.
5299 * Console.cs: Add couple of extra missing methods (Write and
5300 WriteLine overloaded)
5302 2003-11-11 Miguel de Icaza <miguel@ximian.com>
5304 * AppDomain.cs, Activator.cs: New unimplmented entry points from
5305 1.1 (Com activation related).
5307 * Exception.cs: Formatting.
5309 * IServiceProvider.cs: Add ComVisible (true).
5311 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
5313 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
5315 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
5318 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
5320 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
5321 on MonoMethod instead of Invoke.
5323 2003-11-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5325 * DateTime.cs: Fixed Add* methods handling. Now it works properly
5326 with extreme values (there is a bug with Overflow and Underflow in
5329 2003-10-31 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5331 * DateTime.cs: Fixed a few format bugs.
5333 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
5335 * AppDomain.cs (InternalPushDomainRef): New icalls.
5337 * AppDomain.cs (InvokeInDomain): New method to execute code in a
5338 different appdomain.
5340 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
5342 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
5344 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
5346 * AppDomain.cs (IsFinalizingForUnload): Implement.
5348 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
5351 2003-10-25 Martin Baulig <martin@ximian.com>
5353 * MonoType.cs: Don't make this sealed.
5355 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
5357 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
5359 2003-10-24 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5361 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
5362 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
5364 2003-10-22 Dick Porter <dick@ximian.com>
5366 * DateTime.cs: Handle '-' as a date separator when parsing formats.
5368 2003-10-20 Duncan Mak <duncan@ximian.com>
5370 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
5371 and merge the two iterations into one.
5373 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
5375 * TypedReference.cs: Add new field used by the runtime.
5377 2003-10-15 Martin Baulig <martin@ximian.com>
5379 * Type.cs (Type.DeclaringMethod): For a generic method's type
5380 parameter, return this method - otherwise, return null.
5382 2003-10-14 Martin Baulig <martin@ximian.com>
5384 The generics API has changed in the spec since it was added here;
5385 these modifications make it match the spec again.
5388 (GetGenericParameters): Renamed to `GetGenericArguments'.
5389 (HasGenericParameters): Renamed to `HasGenericArguments'.
5390 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
5391 (IsGenericTypeDefinition): New property.
5392 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
5394 * MonoType.cs (ContainsGenericParameters): Implement this here;
5395 this is no interncall anymore.
5397 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5399 * Delegate.cs: add the method name to the exception when it cannot be
5401 * Exception.cs: fix nullref in Source.
5403 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
5405 * Array.cs: Add argument checking to GetValue and SetValue.
5407 2003-10-09 Miguel de Icaza <miguel@ximian.com>
5409 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
5410 should not be TimeSpan.MaxValue, because it overflow. Set this to
5413 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5415 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
5416 duplicate entry exception.
5418 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
5420 * DateTime.cs (ToString): Total rewrite, fixes #49358.
5422 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
5424 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
5426 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5429 (Equals): check that the object is an Enum before comparing the types.
5431 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5433 * Array.cs: reduced xsp allocated memory by 1/2.
5435 2003-09-25 Martin Baulig <martin@ximian.com>
5437 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
5438 since it was identical to GetGenericTypeDefinition().
5439 (Type.IsGenericInstance): New property.
5441 2003-09-24 Duncan Mak <duncan@ximian.com>
5443 * Math.cs (Abs): Fix double Locale.GetText bug reported by
5444 davejp@volny.cz. This fixes #48788.
5446 2003-09-14 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5448 * FloatingPointFormatter.cs: Add the necessary castings to char
5451 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5453 * FloatingPointFormatter.cs: Make the method calls more functional
5454 for protecting the values from different threads (make it more
5457 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5459 * FloatingPointFormatter.cs: Fix a bug with the negative value of
5462 2003-09-12 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5464 * FloatingPointFormatter.cs: Applied a lot of improvements in string
5465 construction, make use of Append/Insert with the "count" parameter.
5466 Thanks to Ben Maurer.
5468 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5470 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
5472 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
5475 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5477 * DoubleFormatter.cs: A few optimizations. Now, only one object
5478 is created to convert all double numbers.
5480 * SingleFormatter.cs: A few optimizations. Now, only one object
5481 is created to convert all float numbers.
5483 * FloatingPointFormatter.cs: Split the "number type parameters" from
5484 the "numver value and format parameters". The first ones are in the
5485 constructor and the others are in a method.
5487 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
5489 * Array.cs: Added argument checking to some NET_1_1 methods.
5491 2003-09-04 Martin Baulig <martin@ximian.com>
5493 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
5495 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5497 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
5498 taking 'longs'. All tests pass.
5500 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
5502 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
5503 Source. Remove MonoTODO attributes (class is 100% done). Also
5504 passes all Rotor tests for Exception!
5506 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
5508 * Enum.cs: Remove [MonoTODO]'s that had been completed.
5510 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5512 * String.cs: fixed bug #47802.
5514 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
5516 * String.cs: Created method FormatHelper that does formatting,
5517 using a StringBuilder.
5519 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5521 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
5523 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5525 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
5528 2003-08-11 Duncan Mak <duncan@ximian.com>
5530 * Environment.cs (Version): Return the same numbers as the MS
5533 2003-08-10 Miguel de Icaza <miguel@ximian.com>
5535 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
5536 replicated tests, and have a routine that does the heavy lifting.
5538 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
5540 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
5542 * Environment.cs: return $HOME for ApplicationData folder.
5544 2003-08-04 Duncan Mak <duncan@ximian.com>
5546 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
5547 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
5548 floating point values. This fixes bug #46175.
5550 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
5551 noted by c5n4kh6u02@sneakemail.com in
5552 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
5554 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
5556 * Double.cs: added icall Double.AssertEndianity.
5558 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
5560 * Type.cs, MonoType.cs: implemented generic-specific methods.
5562 2003-07-29 Miguel de Icaza <miguel@ximian.com>
5564 * Buffer.cs: Add new internal MemCopy call.
5568 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
5570 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
5571 to icalls, to avoid special cases in some call conventions.
5573 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5575 * Enum.cs: added Serializable attribute.
5577 2003-07-25 Duncan Mak <duncan@ximian.com>
5579 * AppDomain.cs (Equals):
5580 (GetHashCode): Removed because they do not need to be defined
5583 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5585 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
5586 cannot even get the type.
5588 2003-07-24 Miguel de Icaza <miguel@ximian.com>
5590 * Type.cs: Added generics stubs.
5592 2003-07-23 Duncan Mak <duncan@ximian.com>
5594 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
5595 as values for NET_1_1.
5596 (GetFolderPath): Return the empty string ("") for values of
5597 SpecialFolder that have no corresponding equivalents in
5598 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
5599 and "$HOME" for SpecialFolder.Personal.
5601 * IntPtr.cs (GetObjectData): Mark it as an interface
5602 implementation, instead of a public method.
5604 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
5606 * TypeLoadException.cs (GetObjectData):
5607 Create stubs for the fields that are being serialized.
5609 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
5611 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
5613 * Enum.cs: Fixed enum formatting. For flag enums, if one of
5614 the flags is unnamed, ToString() returns the integer value.
5616 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
5618 * Guid.cs: Fixed ToString (), was producing incorrect string.
5620 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5622 * AppDomainSetup.cs: fixed bug #46609.
5624 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
5626 * MonoType.cs: use an icall for IsPrimitiveImpl ().
5628 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
5630 * Guid.cs: faster ToString ().
5632 2003-07-15 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5634 * FloatingPointFormatter.cs: Few changes for get working Rotor
5637 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
5639 * Type.cs (IsAssignableFrom): Implement this as an icall since the
5640 runtime already includes the neccessary logic.
5642 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5644 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
5645 if it's present and get the full path for non-Uri paths.
5647 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
5649 * DateTime.cs: Fixed formatting of fractions of second.
5651 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
5653 * Console.cs: Turn off buffering for the streams returned by
5654 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
5656 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
5658 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
5659 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
5660 a new random number (although it is not needed), while mono did not.
5661 As a result, the sequence of random numbers could be different for the
5664 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
5666 * FloatingPointFormatter.cs: use dec_len2 as default precision.
5668 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
5670 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
5671 be done after the correspondig UTC offset has been applied.
5673 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
5675 * Object.cs: Object must have the Serializable attribute.
5676 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
5677 to the resulting date. Also fixed _ToString so now correctly formates the
5680 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
5682 * Enum.cs: fix race in cache (bug#41841).
5684 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
5686 * FloatingPointFormatter.cs: if the precision is not specified, use
5687 the default precision for the data type.
5689 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
5691 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
5692 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
5694 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5696 * MonoType.cs: don't throw nullref when the return type for a property
5697 is specified and the property doesn't have a get accessor.
5699 2003-06-10 Duncan Mak <duncan@ximian.com>
5701 * Array.cs (CreateInstance): Fixed a typo. It should throw
5702 ArgumentNullException instead of ArgumentException.
5704 2003-06-09 Duncan Mak <duncan@ximian.com>
5706 * Array.cs: Revert the last revert. I fixed it.
5707 (Sort): Put a try-catch block around qsort, and wrap whatever
5708 Exception we get into a InvalidOperationException.
5710 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
5712 * Array.cs: Revert last patch, it broke some other functionality.
5714 2003-06-08 Duncan Mak <duncan@ximian.com>
5716 * Array.cs: Throw more exceptions. This fixes the errors we see
5717 from the Rotor testsuite.
5719 (CreateInstance): Throw ArgumentNullException when the input are
5720 null. Throw ArgumentOutOfRangeException when bounds + length is
5721 greater than Int32.MaxValue.
5722 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
5723 the valid range of indices of array.
5724 (Sort): Throw InvalidOperationException when comparer is null and
5725 none of the elements in keys implements IComparable.
5727 2003-06-08 Duncan Mak <duncan@ximian.com>
5729 * Array.cs (CreateInstance): Throw a TypeLoadException if the
5730 Length of the input array 'lengths' is greater than 255 so that we
5731 won't see the g_assert that is in mono_array_class_get in class.c.
5733 This fixes bug #44304.
5735 2003-06-05 Nick Drochak <ndrochak@gol.com>
5737 * UnitySerializataionHolder.cs: Cleanups according to class status page
5739 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
5741 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
5742 RuntimeTypeHandle.cs: implemented the needed stuff to handle
5745 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
5747 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
5748 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
5749 for Ben Maurer after review and testing.
5751 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
5753 * Array.cs: Added better argument checking to Array.Sort ()
5754 * DBNull.cs: Made the conversions throw like they do in MS.
5756 2003-05-24 Philip Van Hoof <me@freax.org>
5758 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
5760 2003-05-21 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5762 * FloatingPointFormatter.cs: Take care with the explicit precision
5763 and round the number to that precision.
5765 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
5767 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
5769 2003-05-20 Philip Van Hoof <me@freax.org>
5771 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
5774 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
5776 * AppDomainSetup.cs: Added new field which is used to notify the
5777 runtime that the search path has changed.
5779 2003-05-18 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5781 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
5782 introduced the last change I've done.
5784 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
5786 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
5787 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
5788 behaving correctly).
5790 2003-05-17 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5792 * FloatingPointFormatter.cs: Fixed little format mismatches.
5794 2003-05-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5796 * FloatingPointFormatter.cs: Fixed "-0" result emited.
5798 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5800 * AppDomain.cs: Added null argument check in Load().
5801 * Activator.cs: fixed bug #39926.
5803 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5805 * Enum.cs: fixed bugs #41522 and #42879.
5807 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
5809 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
5810 undocumented MS behaviour.
5812 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5814 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
5817 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5819 * String.cs: fixed bug #41411 and another similar problem in
5820 LastIndexOf (string).
5822 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5824 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
5827 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
5829 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
5830 construction if the delegate list only has one element.
5832 2003-05-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5834 * Environment.cs: Changed the method GetFolderPath because it must
5835 return at least a directory name (not null).
5837 * Convert.cs: In ToType, if the destination type is unknown, try to
5838 cast the value to object (then, the calling method will downcast it
5839 to the type it wants).
5841 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5843 * Enum.cs: fixed bug #41522.
5845 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
5847 * Enum.cs: protect with the lock also the lookup (bug #41841).
5849 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
5851 * MonoType.cs: allow a null name if InvokeMember is called with
5852 BindingFlags.CreateInstance set.
5854 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5856 * Enum.cs: reverted my previous patch.
5858 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5860 * Enum.cs: fixed bug #41841.
5862 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5865 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
5867 2003-04-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5869 * FloatingPointFormatter.cs: Little fixes for get the same results
5870 as MS.NET and show a message when something goes wrong with the
5871 parser of Custom Formats.
5873 2003-04-22 Nick Drochak <ndrochak@gol.com>
5875 * Double.cs (ToString):
5876 * Single.cs (ToString): Handle case where param is a CultureInfo.
5878 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
5880 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
5881 ValueType::Equals() icalls static non-virtual, so they can be called
5882 by the code in RuntimeHelpers.
5884 2003-04-18 Miguel de Icaza <miguel@ximian.com>
5886 * Delegate.cs (operator ==): Do not crash if the second argument
5887 is null. Bug fix submitted by Juan Cri.
5889 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
5891 * Array.cs: Deleted the exception in Array.Initialize(), it looks
5892 like the method do nothing for C#, is still a MonoTODO until
5893 we find a compiler that uses that.
5895 2003-04-14 Miguel de Icaza <miguel@ximian.com>
5897 * Delegate.cs (Delegate): Seems like a typo, we were checking the
5898 a field rather than the argument
5900 * MonoType.cs: Make GetNestedType an external method implementation.
5902 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5904 * Enum.cs: fixed bug #41294.
5906 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5908 * DateTime.cs: fixes bug #40910, part 2.
5910 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
5912 * String.cs (Equals): avoid the internal call, code cleanups
5914 2003-04-11 Alan Tam <Tam@SiuLung.com>
5916 * Convert.cs: fixed bug #41085.
5918 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
5920 * AppDomain.cs: Added internal method for getting process guid.
5922 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
5924 * Array.cs: Little fix to compare () method.
5926 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
5928 * String.cs (Equals): Add trivial optimization.
5930 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5932 * DateTime.cs: fixed bug #40910.
5934 2003-04-05 Miguel de Icaza <miguel@ximian.com>
5936 * Console.cs: Make stderr, stdout and stdin use synchronized
5937 versions of the their readers/writers.
5939 2003-04-04 Dick Porter <dick@ximian.com>
5941 * Version.cs: Make operator== and operator!= cope with null
5942 objects. Didn't change operator<, operator<=, operator> or
5943 operator>= because its not meaningful to use those to compare
5944 against null, and throwing a NullReferenceException is probably
5945 the best thing to do there anyway.
5949 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5951 * AppDomain.cs: fixed InvalidCastException.
5953 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
5955 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
5956 type checks and let it decide whenever a fast copy is possible.
5958 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5961 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
5963 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
5965 * Activator.cs (CreateInstance): Call GetConstructor with the right
5966 arguments so the nonPublic argument is handled correctly.
5968 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5970 * Type.cs: fixed bug #40123.
5972 2003-03-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5974 * FloatingPointFormatter.cs: Fixed some bugs for get the same
5975 results than MS.NET. Added simple error recovering, now ToString
5976 will return a general format if there is any exception in the
5977 process of formatting. This make the library more robust while the
5978 formatters are refined.
5980 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5982 * FloatingPointFormatter.cs: Added support for group separators.
5984 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5987 * Double.cs: Apply changes of .ToString methods.
5988 * SingleFormatter.cs:
5989 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
5990 * FloatingPointFormatter.cs: New class. Implementation of double and
5991 single formatters. It is unified now and parametrized with precission
5994 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
5996 * AppDomain.cs: fixes bugs #39380 and #39331.
5998 2003-03-06 Nick Drochak <ndrochak@gol.com>
6000 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
6002 2003-03-04 Dick Porter <dick@ximian.com>
6005 * Double.cs: Temporarily reverted the Double and Single ToString()
6006 change, because it broke nunit.
6009 2003-03-04 Pedro MartÃnez Juliá <yoros@wanadoo.es>
6011 * Double.cs: Changed ToString method. Added NumberFormatInfo support
6012 with DoubleFormatter class.
6013 * Single.cs: Changed ToString method. Added NumberFormatInfo support
6014 with SingleFormatter class.
6015 * DoubleFormatter.cs: New class with Double formatting functions.
6016 * SingleFormatter.cs: New class with Single formatting functions.
6018 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
6020 * Activator.cs: Added support for activation using activation attributes.
6021 * AppDomain.cs: Added internal method to get the default context from the runtime.
6023 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
6025 * DateTime.cs: FileTime is expressed in Universal time, and as such must
6026 be converted before subtracting the magic offset.
6027 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
6028 the timezone at the end) *must* be parsed by DateTime.Parse() for
6029 compatibility with Microsoft.
6031 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6034 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
6037 * IntPtr.cs: added serialization .ctor
6039 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6041 * AppDomain.cs: check for null in Unload and changed method name.
6043 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6045 * MonoCustomAttrs.cs: fixed bug #38238.
6047 2003-02-17 Martin Baulig <martin@ximian.com>
6049 * Exception.cs (Exception.ToString): Print a newline between the
6050 exception message and the stack trace.
6052 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6054 * AppDomain.cs: implemented GetCurrentThreadId ().
6056 2003-02-14 Patrik Torstensson
6058 * Exception.cs: Fixed message output formating
6060 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6063 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
6065 2003-02-12 Miguel de Icaza <miguel@ximian.com>
6067 * Type.cs: IsClass should return false for Enumerations
6069 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6071 * MonoCustomAttrs.cs: return the correct array type in the short case.
6074 2003-02-08 Pedro MartÃenz Juliá <yoros@wanadoo.es>
6076 * Math.cs: Fix a few methods (like Round) and add with comments the
6077 new methods: BigMul and DivRem that were in ECMA specs.
6079 2003-02-07 Patrik Torstensson
6081 * Exception.cs: Fixed formating
6083 2003-02-05 Patrik Torstensson
6085 * AppDomain.cs: Partly fixed the unload method
6087 2003-02-04 Patrik Torstensson
6089 * AppDomain.cs: Fixed lease issue with appdomain
6091 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
6093 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
6094 InitializeLifetimeService().
6096 2003-02-03 Patrik Torstensson
6098 * AppDomain.cs: New internalcalls for handling domain/context switches
6099 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
6101 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6103 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
6104 and ClearShadowCopyPath and fixed GetType ().
6106 * Attribute.cs: clean up.
6108 * Console.cs: removed UnixConsoleEncoding. Use Default.
6110 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6112 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
6113 GetCustomAttributes later.
6115 2003-01-31 Patrik Torstensson
6117 * Buffer.cs: Changed access level of BlockCopyInternal
6119 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
6121 * String.cs, IntegerFormatter.cs: use const where appropriate.
6123 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6125 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
6128 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6130 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
6131 The argument ICustomAttributeProvider can be of other types different
6132 from Type. Handle it.
6134 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
6136 * DateTime.cs: fix FromFileTime so the time returned by
6137 File::GetLastModificationTime etc. is in the correct timezone.
6139 2003-01-28 Patrik Torstensson
6140 * Exception.cs: reverted formating/endline changes (sorry guys)
6142 2003-01-28 Patrik Torstensson
6144 * MarshalByRefObject.cs: implemented GetObjectIdentity
6145 * Exception.cs: added support for remote exceptions
6147 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6149 * DateTime.cs: fixed bug #37225.
6151 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6153 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
6155 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
6157 * AppDomain.cs: Added DoTypeResolve method which will be called by
6158 the runtime to raise TypeResolve events.
6160 2003-01-27 Duncan Mak <duncan@ximian.com>
6162 * Enum.cs (ToType): Implement this using Convert.ToType.
6164 2003-01-21 Miguel de Icaza <miguel@ximian.com>
6166 * Math.cs: Remove Pow's implementation body as it was wrong. The
6167 C code does the right thing. The code was trying to handle a
6168 number of cases, and that was incorrect.
6170 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6172 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
6175 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6177 * Enum.cs: added caching to GetInfo.
6179 2003-01-23 Dick Porter <dick@ximian.com>
6181 * Environment.cs (System): Implemented ExitCode
6183 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
6185 * Type.cs (IsInstanceOfType): fixed regression caused by the change
6188 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6190 * MonoType.cs: re-added lines that were removed in the previous commit.
6192 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
6194 * Type.cs: corrected property IsSerializable. It should always return
6195 true for enums and delegates
6196 * MonoType.cs: added serialization support.
6197 * Delegate.cs: added serialization support.
6198 * DBNull.cs: added serialization support.
6199 * UnitySerializationHolder.cs: supports serialization of Assembly,
6200 MonoType and DBNull.
6201 * DelegateSerializationHolder.cs: added.
6203 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6205 * Exception.cs: changed default message to match MS one.
6207 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
6209 * String.cs: Fixed bug with CompareOrdinal
6211 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6213 * Enum.cs: implements IFormattable.
6215 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6217 * AppDomain.cs: implemented DoCallBack method.
6219 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
6222 NUnit2 tests start moving.
6224 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6226 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
6227 instantiate an abstract class.
6229 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6232 (IsSubclassOf): return false when null. Use != instead of Equals.
6234 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6236 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
6238 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
6240 * MonoType.cs: fixed Namespace property for nested types.
6242 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
6244 * MonoCustomAttrs.cs: create properly typed arrays when returning
6245 arrays of attributes of a given type.
6247 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
6249 * MonoType.cs: fixed MemberType property for nested types.
6251 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6253 * String.cs: fixed bug #36209.
6255 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
6257 * Activator.cs: implemented method GetObject.
6259 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
6261 * Activator.cs: Since the documentation indicates the method
6262 either succeeds or throws one of the listed exceptions, we weren't
6263 expecting that CreateInstance might be returning null.
6265 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
6267 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
6269 * MarshalByRefObject.cs: implemented CreateObjRef.
6271 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6273 * DateTime.cs: fixed bug #30076.
6274 * TimeZone.cs: provide the parameter name in a exception.
6276 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6278 * DecimalFormatter.cs: fixed bug #35560.
6280 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
6282 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
6284 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6286 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
6287 nulls. Fixes #34909.
6289 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6291 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
6292 returns a non-null assembly.
6294 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6296 * MulticastDelegate.cs: make GetInvocationList work for more than 1
6299 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6301 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
6302 if this is the correct order of invocation.
6304 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6306 * Type.cs: changed the signature of internal_from_name. Modified
6307 the overloads of GetType to use it and check the typeName argument.
6308 Implemented FindInterfaces.
6310 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6312 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
6313 some obscure reasons (try make -f makefile.gnu using a corlib which has
6314 the modified version).
6316 2002-11-26 Miguel de Icaza <miguel@ximian.com>
6318 * String.cs (Concat): Reduce the number of compares required.
6320 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
6322 * Activator.cs: throw a MissingMethodException if the default
6323 constructor is not found in CreateInstance.
6325 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6328 (Equals (str, str)): use 'as' instead of casting to object.
6329 (Equals (obj)): check the length of the strings (until now,
6330 "Hello".Equals ((object) "Hellow World!) was true!).
6332 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6334 * MonoType.cs: implemented GetEvent (name, flags).
6336 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6338 * AppDomain.cs: implemented a couple of methods called from the runtime
6339 to fire AssemblyLoad and AssemblyResolve events.
6341 2002-10-31 Dick Porter <dick@ximian.com>
6343 * Environment.cs: MonoIO methods now have an error parameter
6345 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
6347 * Enum.cs: Added support for whitespaces in Enum:Parse().
6349 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6351 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
6352 internal call. Closes bug #32992.
6354 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6356 * Exception.cs: display the inner exception, if any, in ToString ().
6358 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6360 * Environment.cs: fixed StackTrace property.
6362 2002-10-16 Nick Drochak <ndrochak@gol.com>
6364 * Enum.cs (Parse): Then fix the code so that it works too.
6366 2002-10-15 Nick Drochak <ndrochak@gol.com>
6368 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
6370 2002-10-12 Nick Drochak <ndrochak@gol.com>
6372 * IntegerFormatter.cs: Fix compiler warnings.
6374 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
6376 * Type.cs (GetConstructors): Use the correct flags.
6378 2002-10-09 Nick Drochak <ndrochak@gol.com>
6380 * IntegerFormatter.cs: Suppress insignificant leading zeros
6382 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
6384 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
6385 <stonewell@21cn.com> to return also derived types.
6387 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6389 * Activator.cs: little fix in CreateInstance (Type, bool).
6391 2002-09-19 Duncan Mak <duncan@ximian.com>
6393 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
6394 I18N/Common from building right now.
6396 2002-09-19 Nick Drochak <ndrochak@gol.com>
6398 * Array.cs (CopyTo): Account for Object type and base (primitive) types
6399 * Type.cs (IsAssignableFrom): return false for a null parameter
6401 2002-09-19 Nick Drochak <ndrochak@gol.com>
6403 * Array.cs (CopyTo): Check that source type can be cast automatically
6404 to the destination type.
6406 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6408 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
6411 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6413 * Char.cs: implemented ToString (char)
6414 * IntegerFormatter.cs: made it internal.
6416 2002-09-13 Nick Drochak <ndrochak@gol.com>
6418 * Enum.cs (Format): handle the "d" format for both signed and unsigned
6421 2002-09-12 Dick Porter <dick@ximian.com>
6423 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
6424 attribute, as there doesn't appear to be any struct
6425 layout-depending code here (and corcompare says it should be
6426 LayoutKind.Sequential)
6428 * Decimal.cs: Stub out missing methods, add
6429 [DecimalConstantAttribute] to the constant fields (as shown by
6432 * LocalDataStoreSlot.cs:
6435 * Array.cs: Stub out missing methods.
6437 * TypedReference.cs:
6438 * ArgIterator.cs: Stub out
6440 * AppDomainSetup.cs:
6441 * AppDomain.cs: Stub out missing methods, add missing
6442 ClassInterface(ClassInterfaceType.None) attribute.
6444 2002-09-12 Nick Drochak <ndrochak@gol.com>
6446 * Double.cs (ToString): Throw exception when "X" format is passed in.
6448 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
6450 * MonoType.cs: implemented Module property.
6452 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
6454 * MonoType.cs, Type.cs: implemented InvokeMember.
6456 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
6458 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
6459 type. Check the method signature matches.
6461 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
6463 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
6465 2002-09-06 Miguel de Icaza <miguel@ximian.com>
6467 * Console.cs: Specify an encoder, otherwise we will get the UTF8
6468 encoder that by default emits the byte markers.
6470 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
6472 * Delegate.cs: look also for non-public methods until we have the
6473 security checks in place.
6475 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
6477 * MonoType.cs: consider also the full name in GetInterface.
6479 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
6481 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
6482 GetMethodImpl using the binder.
6483 * Type.cs: GetConstructorImpl/GetConstructor fixes.
6485 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
6486 * Enum.cs: Get rid of warning CS0162.
6488 2002-09-04 Miguel de Icaza <miguel@ximian.com>
6490 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
6491 actual value instead of public.
6493 * LocalDataStoreSlot.cs: Make constructor internal.
6495 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
6496 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
6499 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
6500 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
6503 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6505 * DateTime.cs: fixed buglet.
6507 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
6509 * MonoType.cs: speedup access to common data.
6511 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6513 * Double.cs: implemented TryParse.
6515 * Math.cs: PowImpl is now private.
6517 * MissingFieldException.cs: implemented Message.
6519 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
6521 * _AppDomain.cs: Uncommented ToString.
6523 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6526 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
6528 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6530 * ArgumentException.cs: use the field instead of the property for
6533 * ArgumentOutOfRangeException.cs: modified Message.
6536 (_DoParse): throw out of range exception for year. Removed check
6537 for month (it's done in the constructor).
6539 2002-08-21 Miguel de Icaza <miguel@ximian.com>
6541 * Environment.cs: Implemented OSVersion property.
6543 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
6545 * Exception.cs: set stack_trace to null
6547 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
6549 * AppDomain.cs: implemented ToString().
6551 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6553 * AppDomain.cs: securityInfo can be null in CreateDomain.
6555 2002-08-19 Dick Porter <dick@ximian.com>
6557 * MonoType.cs: Add a space before the Assembly name in
6558 AssemblyQualifiedName (needed for resource files so the MS runtime
6561 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6563 * AppDomain.cs: parameter name when throwing ArgumentNullException.
6565 * ArgumentException.cs: modified Message to do what MS does.
6567 * ArgumentNullException.cs: don't use {0} in message.
6569 * Exception.cs: use Message property in ToString ().
6571 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
6573 * WeakReference.cs: Changed the constructor and GetObjectData
6574 method needed for ISerializable implementation in order to be
6575 compatible with SOAP generated by MS.
6577 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
6579 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
6581 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
6583 * Exception.cs (ToString): changed the ouput format.
6585 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
6587 * MonoType.cs: moved get_method icall to this class, we can
6588 remove it as soon someone provides a full featured GetMethodImpl.
6590 * Type.cs: use GetMethodImpl everywhere.
6592 * Delegate.cs: new CreateDelegate implementations.
6594 2002-08-06 Tim Coleman <tim@timcoleman.com>
6596 Fix bug #28582. Now checks parameters for properties
6599 2002-08-04 Nick Drochak <ndrochak@gol.com>
6601 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
6603 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6606 (FormatSpecifier): allow white space between the comman and the width
6609 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6614 * UInt64.cs: fixed bug #28050. May be a MS bug?
6616 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
6618 * MonoType.cs: fix IsArrayImpl.
6620 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6622 * String.cs: make ToLower (culture) and ToUpper (culture) use the
6623 default ToLower and ToUpper and don't throw NotImplemented.
6625 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
6627 * Type.cs: make GettTypeCode an icall. Test implementation of
6630 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6632 * AppDomainSetup.cs: implemented LoaderOptimization.
6634 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6636 * Activator.cs: some more intermediate results checking in
6637 in CreateInstance and CreateInstanceFrom and use GetConstructor and
6638 Invoke only with Type [] until the other overloaded versions work.
6640 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6642 * Activator.cs: reformatted. Implemented CreateInstance* methods
6643 that return ObjectHandle.
6645 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
6647 2002-07-03 Nick Drochak <ndrochak@gol.com>
6649 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
6650 the divisor is not) and avoid the icall, which seems to have a bug.
6652 2002-07-03 Nick Drochak <ndrochak@gol.com>
6654 * Double.cs (CompareTo): Correctly handle the case where the instance
6655 is NaN. Also return 0 if the values are equal.
6657 2002/07/03 Nick Drochak <ndrochak@gol.com>
6659 * MissingMethodException: Add missing Message property
6660 * MissingMemberException: Add missing Message property
6662 2002-06-30 Nick Drochak <ndrochak@gol.com>
6664 * Double.cs (CompareTo): Just see which is bigger. Don't use the
6665 subtraction trick, it doesn't work when the values have a diference of
6668 * Single.cs (CompareTo): same
6670 2002-06-27 Martin Baulig <martin@gnome.org>
6672 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
6673 constructor argument. [FIXME: The implicit conversion to an
6674 unsigned integer doesn't work with mcs.]
6676 2002-06-26 Martin Baulig <martin@gnome.org>
6678 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
6679 not `S = System'. This file now compiles with mcs.
6681 * String.cs: Removed the already ifdef-outed __arglist Concat function
6682 to make it compile with mcs.
6684 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6686 * IntegerFormatter.cs:
6687 (FormatParse.FormatNumber): fixed custom format for negative numbers.
6689 2002-06-21 Martin Baulig <martin@gnome.org>
6691 * Double.cs: Replace the private `enum State' with constants since this
6692 will avoid some bigger headaches in mcs.
6694 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
6696 * TimeSpan.cs: do not pollute the namespace with the
6699 2002-06-18 Nick Drochak <ndrochak@gol.com>
6701 * ArgumentException.cs: Use the message given in the constructor when
6702 accessing the Message property. Thanks to Dietmar for the help with
6705 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
6707 * MonoType.cs: GetField is now a InternalCall
6709 2002-06-13 Nick Drochak <ndrochak@gol.com>
6711 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
6712 sortable format(s), e.g. "2002-02-25"
6714 2002/06/12 Nick Drochak <ndrochak@gol.com>
6716 * Random.cs (Next): Fix math error. Return a number within the range.
6718 2002-06-12 Nick Drochak <ndrochak@gol.com>
6720 * String.cs (IndexOf): Return -1 if start index is equal to string
6723 2002-06-10 Duncan Mak <duncan@ximian.com>
6725 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
6726 (ToType): Added null field in conversionTable to avoid
6727 IndexOutOfRangeException. Changed what exceptions we throw to match
6730 2002-06-11 Nick Drochak <ndrochak@gol.com>
6732 * Int64.cs (Parse): Added unique strings to the messages where we throw
6733 a FormatException. Needed these to debug, so just left them in since
6734 they might be useful later. Fixed Currency parsing where we weren't
6735 looking at CurrencyDecimalSeparator, etc.
6737 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
6739 * DateTime.cs: fixes to pass tests M0 to M6:
6740 if yy pattern then year values >= 30 are in 20th century
6741 rfc1123 pattern is always in GMT, therefor useutc must be false
6742 made GetNow() internal static so it can be called from TimeZone.
6743 * TimeZone.cs: removed dependency on year 2002 from initialization of
6746 2002-06-09 Duncan Mak <duncan@ximian.com>
6748 * Convert.cs (ToType): Rearranged what Exceptions we throw to
6751 2002-06-08 Duncan Mak <duncan@ximian.com>
6753 * Decimal.cs: Added support for the IConvertible interface.
6755 2002-06-08 Martin Baulig <martin@gnome.org>
6757 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
6758 doesn't necessarily need to be of the enum's underlying type.
6760 2002/06/07 Nick Drochak <ndrochak@gol.com>
6762 * String.cs: Add [Serializable] to class
6763 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
6765 2002-06-04 Nick Drochak <ndrochak@gol.com>
6767 * Double.cs (Parse): Recognize the group separator string, but still we
6768 don't check the format for the proper number of digits between
6769 separators. Also throw OverflowException when we get Pos or Neg
6770 Infinity from runtime.
6772 2002-06-03 Duncan Mak <duncan@ximian.com>
6774 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
6776 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
6778 * Type.cs: fixed GetTypeCode.
6780 2002-06-02 Duncan Mak <duncan@ximian.com>
6782 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
6783 cast from an int so that we throw OverFlowException correctly.
6785 (ToInt64): Use a new 64bit version of ConvertToBase.
6787 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
6788 and Int32.MaxValue).
6790 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
6792 2002-06-02 Nick Drochak <ndrochak@gol.com>
6794 * Convert.cs (ToSByte): Check for special value.
6795 * Single.cs (Parse):
6796 * UInt16.cs (Parse):
6797 * UInt32.cs (Parse): Throw OverflowException if negative
6799 2002-06-02 Duncan Mak <duncan@ximian.com>
6801 * Convert.cs (DBNull): Point it to DBNull.Value.
6802 (IsDBNull): Instead of checking typecodes, just check to see if
6803 it's the same as the DBNull field.
6805 2002-06-02 Nick Drochak <ndrochak@gol.com>
6807 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
6809 2002-06-02 Duncan Mak <duncan@ximian.com>
6811 * Char.cs (Parse): Simplify the Exception handling.
6813 * Convert.cs (ToDecimal): Remove call to Math.Round () when
6814 converting from a float.
6816 2002-05-30 Martin Baulig <martin@gnome.org>
6818 * MonoType.cs (GetInterface): Implemented.
6820 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
6822 * Activator.cs: implemented CreateInstance ().
6824 2002-05-22 Duncan Mak <duncan@ximian.com>
6826 * Convert.cs (ConvertToBase): Added new 64bit version.
6827 (BuildConvertedString64): New 64bit version of
6828 BuildConvertedString.
6830 This fixes bug 25068.
6832 (ConvertFromBase): Added additional test for checking if the
6833 digits are valid. Thanks to Miguel for coming up with this test.
6835 This fixes bug 25071.
6837 2002-05-21 Duncan Mak <duncan@ximian.com>
6839 * Convert.cs (ToType): Rearranged to fit the new layout of
6842 (conversionTable): Rearranged to fit the layout of the
6843 System.TypeCode enum.
6845 This should fix bug 25075.
6847 2002-05-21 Duncan Mak <duncan@ximian.com>
6849 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
6850 mixed up the two code paths, one for converting to a specific base
6851 (this case), another from converting from a foreign base to base10
6852 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
6854 * Convert.cs (ToByte)
6855 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
6856 that we won't confuse FormatException with OverflowException.
6858 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
6860 * Environment.cs: CommandLine missed spaces between arguments.
6861 Implemented StackTrace. Returning MachineName in UserDomainName
6864 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
6866 * MonoCustomAttrs.cs: handle inherit argument.
6868 2002-05-21 Nick Drochak <ndrochak@gol.com>
6870 * Math.cs (Pow): Change icall method name and insert parameter
6871 checks in for infinities and NaN.
6873 2002-05-13 Miguel de Icaza <miguel@ximian.com>
6875 * Double.cs (Parse): Reimplement by cleaning up the string first,
6876 and then passing to strtof in the mono runtime.
6878 * Single.cs (Parse): Use the Double implementation and cast to
6881 2002-05-21 Nick Drochak <ndrochak@gol.com>
6884 (Ceiling): Check for "special" values
6885 (Floor): Check for "special" values
6886 (Round): Fix off-by-one error on decimal shifting
6888 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
6890 * DateTime.cs: ToString () using "G" format specifier
6892 2002-05-19 Martin Baulig <martin@gnome.org>
6894 * Convert.cs (FromBase64CharArray): Do correct exception handling.
6896 2002-05-19 Martin Baulig <martin@gnome.org>
6898 * Convert.cs (FromBase64CharArray): Convert the char array using
6899 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
6902 2002-05-17 Miguel de Icaza <miguel@ximian.com>
6904 * MonoType.cs: Style changes.
6906 * Type.cs: Style changes.
6908 2002-05-16 Piers Haken <piersh@friksit.com
6910 * UInt64.cs: fix declaration of IConvertible.To* overrides.
6912 2002-05-16 Nick Drochak <ndrochak@gol.com>
6914 * BitConverter.cs (ToString): Add parameter check for invalid start
6917 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
6918 now that StreamWriter uses buffering
6920 2002-05-14 Miguel de Icaza <miguel@ximian.com>
6922 * Double.cs: Oops. Also handle exponents without finding a dot.
6924 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6926 * ChangeLog: removed empty entry at the top of the file.
6928 * Int32.cs: made static functions used by Parse internal.
6932 * UInt64.cs: removed static fucntions used by Parse and use the ones
6935 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
6937 * IServiceProvider.cs: added using System
6939 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
6941 * Single.cs: copied ToString() and Parse() methods from
6942 Double to Single and modified a tiny bit for Single.
6943 There is still a FIXME for Double and Single about
6944 passing the format and provider info to the icall too.
6946 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6951 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
6952 Don't use a delegate to test for valid digits.
6954 2002-05-01 Duncan Mak <duncan@ximian.com>
6957 * Math.cs: Added missing CLSCompliant attributes where necessary.
6959 2002-04-30 Duncan Mak <duncan@ximian.com>
6961 * ArgumentException.cs (Message):
6962 * ArgumentOutOfRangeException.cs (Message): Added.
6964 2002-04-30 Nick Drochak <ndrochak@gol.com>
6966 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
6968 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
6970 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
6972 2002-04-28 Duncan Mak <duncan@ximian.com>
6974 * DivideByZeroException.cs: Added missing serialization constructor.
6976 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
6978 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6980 * Math.cs: fix Floor () and Round (). Closes #23960.
6982 2002-04-27 Nick Drochak <ndrochak@gol.com>
6984 * Array.cs (IList.Contains): Should throw a RankException if this is
6985 called on a Rank > 1 array. Not in the docs, but this is what the
6988 2002-04-26 Duncan Mak <duncan@ximian.com>
6990 * MissingMemberException.cs: Made the message variable 'protected'
6991 instead of 'private', so that we can see it in
6992 MissingMethodException and MissingFieldException.
6994 * MissingFieldException.cs:
6995 * MissingMethodException.cs: Added missing (string, string)
6996 constructor, and also the Message property.
6998 2002-04-26 Martin Baulig <martin@gnome.org>
7000 * Enum.cs: Implemented the IConvertible methods.
7002 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7004 * SByte.cs: little change in Parse (string) to avoid incorrect
7005 OverflowException thrown (reported by nickd).
7007 2002-04-22 Miguel de Icaza <miguel@ximian.com>
7009 * ValueType.cs: Add Serializable attribute.
7011 * String.cs: ifdef-out out the __arglist Concat function until I
7012 add support for that to mcs.
7014 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
7016 * AppDomain.cs (GetValue): usage of the correct icall (bug)
7018 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
7020 * GC.cs: implement most of the methods as icalls.
7022 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7024 * DecimalFormatter.cs (ToString): return correct value when the
7025 decimal number is 0.
7027 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
7029 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
7030 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
7032 2002-04-24 Nick Drochak <ndrochak@gol.com>
7034 * Double.cs (Parse): Handle case where there are no digits before the
7035 decimal point, such as ".1".
7037 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7042 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
7044 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
7046 * String.cs (Split): fixed invalid split of count 0 and 1.
7048 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
7050 * String.cs (LastIndexOf): fixed argument checking.
7051 * String.cs (Equals): made internal for performace.
7053 2002-04-23 Nick Drochak <ndrochak@gol.com>
7055 * String.cs (Join): check argument and throw exception if needed
7057 2002-04-23 Nick Drochak <ndrochak@gol.com>
7059 * String.cs (StartsWith): check argument and throw exception if needed
7061 2002-04-22 Nick Drochak <ndrochak@gol.com>
7063 * String.cs (IndexOfAny): check arguments and throw exceptions as
7064 neccessary. ALso remove some debug WriteLines.
7066 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
7068 * String.cs: use internal constructors
7071 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
7073 * MonoType.cs: make GetElementType its own icall.
7075 2002-04-18 Nick Drochak <ndrochak@gol.com>
7077 * String.cs: Modified file. Re-add methods needed by the unit tests.
7079 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
7081 * String.cs: some code speedups and restored GetTypeCode().
7083 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
7085 * String.cs: New implementation using internal calls.
7087 2002-04-16 Nick Drochak <ndrochak@gol.com>
7089 * DecimalFormatter.cs: Trim off excess null characters from the string
7090 that decimal2string gives back.
7092 2002-04-16 Nick Drochak <ndrochak@gol.com>
7094 * String.cs (SubString): revert my change. I can't reproduce the
7097 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7099 * Attribute.cs: added GetHashCode and Equals.
7101 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7103 * Enum.cs: little improvements to Format ().
7105 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
7107 * String.cs: internalcall GetHashCode().
7108 * Array.cS: optimize access to elements.
7110 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
7112 * String.cs: make IndexOfAny() use an internalcall.
7114 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7119 * UInt64.cs: fixed error when testing for validity of flags.
7121 2002-04-11 Nick Drochak <ndrochak@gol.com>
7123 * Double.cs: Use an internal call for ToString(). This is just a simple
7124 implementation to get away from throwing a NotImplementedException.
7126 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7131 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
7135 * Int64.cs: throw an OverFlowException when parsing a string
7136 containing a dot followed by any non '0' number.
7138 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7143 * UInt64.cs: added complex Parse ().
7145 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7150 * Int64.cs: added complex Parse ().
7152 2002-04-09 Nick Drochak <ndrochak@gol.com>
7154 * Array.cs (BinarySearch): Add checks on paramters before using them
7155 and throw exceptions as needed.
7157 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
7158 "G" format to "F" if so.
7160 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
7162 * MonoCustomAttrs.cs: return arrays of type Attribute[]
7163 instead of object[].
7165 2002/04/09 Nick Drochak <ndrochak@gol.com>
7167 * String.cs (Substring): Copy only non-null characters to the new
7170 2002-04-09 Nick Drochak <ndrochak@gol.com>
7172 * IntegerFormatter.cs: Don't use a format character to indicate a
7173 custom format was passed in. It was using 'z' to indicate a custom
7174 format, but really it should throw a format exception if the user
7175 tries to use "z" as the format string. Now it does.
7177 * Activator.cs: New File.
7179 2002-04-08 Nick Drochak <ndrochak@gol.com>
7181 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
7182 applied to an enum. Need to handle the different possible integer
7183 types of an enum somehow. Can anyone say generics?
7185 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
7187 * Convert.cs: switched the To*(object) methods to use
7188 IConvertible directly instead of calling ChangeType
7190 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
7192 * ValueType.cs: make Equals() an internalcall.
7194 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
7196 * Type.cs: also look for nested types in FindMembers.
7197 * MonoType.cs: make GetNestedTypes() an internalcall.
7199 2002-04-05 Nick Drochak <ndrochak@gol.com>
7201 * Enum.cs (Parse): Handle different underlying types.
7203 2002/04/04 Nick Drochak <ndrochak@gol.com>
7205 * Enum.cs (IsDefined): Throw exception when type of value to look for
7206 is not the correct one. Attempt to have it work with string values
7207 too, but not sure if the unit tests are getting that far yet.
7209 2002-04-04 Nick Drochak <ndrochak@gol.com>
7211 * Decimal.cs: Fix a couple of typos.
7213 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
7215 * Enum.cs: the values array is of the enum and not of the underlying
7216 type. Updates and some bug fixes.
7217 * MonoType.cs: make the internalcall return FullName instead of the
7218 assembly qualified name.
7219 * Type.cs: make ToString () simply return FullName.
7221 2002-04-03 Nick Drochak <ndrochak@gol.com>
7223 * Type.cs (GetTypeCode): provide some of the implementation for this
7224 method. It's still too simplistic to be considered complete.
7226 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
7228 * Object.cs: fixed FieldGetter/FieldSetter signature
7230 2002-04-02 Nick Drochak <ndrochak@gol.com>
7232 * Environment.cs: add MonoTODO's on parts that should have it.
7234 2002-04-01 Nick Drochak <ndrochak@gol.com>
7236 * Enum.cs: added reality checks (check parameters to most methods that
7239 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
7241 * Object.cs: added FieldGetter/FieldSetter
7243 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7245 * IntegerFormatter.cs: fixed initialization error in static
7248 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
7250 * Delegate.cs: added new field to store a trampoline function
7252 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7254 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
7255 make custom format strings work (not fully functional yet).
7257 2002/03/28 Nick Drochak <ndrochak@gol.com>
7259 * IntegerFormatter.cs: Change class from internal to public. Add
7260 necessary [CLSCompliant(false)] attributes.
7262 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
7263 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
7266 2002-03-28 Nick Drochak <ndrochak@gol.com>
7268 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
7270 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
7272 * Console.cs: Modified to get std handles from MonoIO.
7273 * Environment.cs: removed PAL dependencies.
7275 2002-03-25 Miguel de Icaza <miguel@ximian.com>
7277 * String.cs (System): Removed internal enumeration, because
7278 bootstrapping the corlib at this point does not support
7281 * IntPtr.cs: Temporary work-around until I fix the assembly
7284 2002-03-24 Martin Baulig <martin@gnome.org>
7286 * Enum.cs (GetValues): According to the docu this is sorted after
7289 * String.cs (System): Removed enumeration, because it is pretty
7290 hard to support enumerations in /nostdlib mode for the core types.
7292 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
7294 * Array.cs: move error handling in the catch block.
7295 * MulticastDelegate.cs: remove == and != operators that were
7296 removed with the delegate changes (when you add stuff, please do not
7297 remove existing functionality!).
7298 * Type.cs: if a property is not found in a type, search for it
7299 in the parent types, too.
7301 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
7303 * Math.cs: changed to use icall instead of PAL.
7305 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
7307 * Double.cs: added check for NaN (Bug [22082])
7309 2002-03-19 Nick Drochak <ndrochak@gol.com>
7311 * Enum.cs (Equals): check for null and throw if it is.
7312 * Enum.cs (Format): check for null parameters and throw if necessary.
7313 This method still needs more argument checking.
7315 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
7317 * Enum.cs (Equals): check if Enums are of the same type
7319 2002-03-18 Nick Drochak <ndrochak@gol.com>
7321 * Double.cs: Explicitly handle comparisons in CompareTo() for
7322 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
7324 * Enum.cs(CompareTo): Check types of values before trying to compare.
7325 Throw exceptions if types are invalid or don't match.
7327 2002-03-14 Miguel de Icaza <miguel@ximian.com>
7329 * Array.cs: Add some extra debugging information.
7331 2002-03-15 Nick Drochak <ndrochak@gol.com>
7333 * Array.cs: Added IList and IEnumerable.
7335 2002-03-14 Miguel de Icaza <miguel@ximian.com>
7337 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
7340 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
7342 * Delegate.cs (Equals): also compare method_ptr
7343 (GetHashCode): returm method_ptr as hash
7345 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
7346 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
7347 such as 42.ToString("0000000"), as these are (currently) not implemented
7348 in System.IntegerFormatter. TimeSpan luckely can do with Standard
7349 Numeric Format Strings, such as 42.ToString("D7").
7351 2002-03-12 Duncan Mak <duncan@ximian.com>
7353 * FieldAccessException.cs:
7354 * MethodAccessException.cs:
7355 * PlatformNotSupportedException.cs: Inherit from
7356 MemberAccessException, not SystemException.
7358 * ObsoleteAttribute.cs: Made Message and IsError properties
7361 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
7363 * GC.cs: make SuppressFinalize() a nop.
7364 * Delegate.cs: fix == operator.
7366 2002-03-13 Nick Drochak <ndrochak@gol.com>
7368 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
7369 runtime that goes with this patch.
7371 2002-03-10 Martin Baulig <martin@gnome.org>
7373 * Int32.cs (Parse): Correctly parse negative numbers.
7375 2002-03-08 Martin Baulig <martin@gnome.org>
7377 * String.cs (Split): Really fix it this time. Also adding several new
7378 testcase to the testsuite.
7380 2002-03-08 Martin Baulig <martin@gnome.org>
7382 * Array.cs (Copy): Optimized: removed duplicate null check, removed
7383 two duplicate GetLowerBound() calls and one duplicate IsValueType.
7385 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
7387 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
7388 * String.cs: use the dumb code for IndexOf(string): this is worth
7389 15-20 % speedup in mcs compile with mint.
7391 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
7393 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
7395 2002-03-07 Martin Baulig <martin@gnome.org>
7397 * String.cs (Join): Throw an ArgumentNullException.
7398 (LastIndexOf (string,int,int)): This method does a backwards search,
7399 so startIndex points to the end of value, not to its beginning. Don't
7400 throw an exception if startIndex equals this.Length. Always return -1
7401 if startIndex is smaller than the length of value.
7402 (Replace (string,string)): Replace all occurences of oldValue.
7403 If newValue is null, all occurences of oldValue are to be removed.
7404 (Split (char[],int)): Return an empty array if maxCount is zero, throw
7405 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
7406 elements, not maxValue+1.
7408 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
7410 * MonoType.cs: make GetEvents() an internal call.
7411 * MulticastDelegate.cs: copy the passed in array.
7413 2002-03-06 Martin Baulig <martin@gnome.org>
7415 * Array.cs (Copy): Use FastCopy when appropriate and do correct
7418 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
7419 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
7420 some of the failures found be new tests (see ChangeLog in
7421 Test/System). Comments added to this method, based on
7422 the representation invariant of this class, that (try to) explain
7423 why it now should be correct.
7425 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
7427 * Int64.cs (Parse): bug fix for max. negative value.
7429 2002-03-07 Nick Drochak <ndrochak@gol.com>
7431 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
7432 I need to understand what the difference between the attribute and
7435 2002-03-06 Martin Baulig <martin@gnome.org>
7437 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
7438 an InvalidCastException if the widening conversion failed. See
7439 testcases #M94-#M96.
7441 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
7442 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
7445 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
7446 (Copy): Actually allow copying multi-dimensional arrays.
7448 2002-03-05 Duncan Mak <duncan@ximian.com>
7451 (DBNull) Added the missing field.
7452 (IsDBNull) Fixed typo.
7453 (ToByte (string, int)) Implemented.
7454 (ToString (byte, int)) Implemented.
7456 (BuildConvertedString) internal functions used for converting values to
7464 * UInt32.cs: Implemented the IConvertible interface.
7466 * CharEnumerator.cs: Renamed to variables to be clearer and
7467 changed some of the tests to conform to the 1.0 spec.
7469 2002-03-06 Martin Baulig <martin@gnome.org>
7471 * Array.cs (Copy): Calculate absolute array position here and use
7472 GetValueImpl() and SetValueImpl() with that position. We can now
7473 copy multi-dimensional arrays.
7474 (CopyTo): Small bug fix.
7476 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
7478 * Version.cs: CompareTo changed according the LAMESPEC discovered by
7479 Nick (See VersionTest.cs).
7480 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
7481 error comparing the current position (idx) against the length of the
7482 string iterated and it set idx to an unrecognized special value (-2)
7484 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
7486 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
7487 to do this dirty work, but someone has to do it (and I need it to pass
7488 the "200 sample tests compiled on linux" mark).
7490 2002-03-06 Nick Drochak <ndrochak@gol.com>
7493 * DecimalFormatter.cs
7500 * RuntimeMethodHandle.cs
7501 * RuntimeTypeHandle.cs
7504 Add [MonoTODO]'s to places where we currently throw a
7505 NotImplementedException.
7507 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
7509 * Int16.cs (Parse): do not overflow on max negative value
7511 * Int32.cs (Parse): do not overflow on max negative value
7513 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
7515 * Type.cs: fixed IsClass.
7516 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
7517 IsByRefImpl. Added GetInterfaces().
7518 * IServiceProvider.cs: compilation fix.
7520 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
7522 * Array.cs: allow copying an empty array to an empty array.
7524 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
7526 * String.cs: fixed LastIndexOf (string) to do a bit of argument
7529 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
7530 * Version.cs: many fixes to failures found by the newly created
7531 test cases for this class. Specifically, the CompareTo member
7532 returned wrong values due to the use of Int32.MaxValue as a special
7533 value indicating an "undefined" version component. Also implemented the
7534 missing operators (==, <, >, etc.), one missing constructor and
7535 and some exception throwing.
7537 2002-03-04 Nick Drochak <ndrochak@gol.com>
7539 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
7540 * Attribute.cs: Add missing attributes: Serializable and
7541 AttributeUsage(AttributeTargets.All)
7543 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
7545 * MonoType.cs: implemented GetConstructors(), GetFields(),
7546 GetMethods(), GetProperties().
7547 * Object.cs: added debugging icall obj_address().
7548 * Type.cs: fixed the binding flags for some Get* methods.
7549 Implemented FindMembers() as calls to the specific GetMember
7552 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
7553 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
7554 should give an exception for n>=s.Length.
7556 2002-03-01 Martin Baulig <martin@gnome.org>
7558 * Array.cs: More argument checking and bug fixing.
7560 2002-03-01 Miguel de Icaza <miguel@ximian.com>
7562 * BitConverter.cs: Indentation match
7564 * AppDomain.cs: Added MonoTODOs to this too.
7566 * Buffer.cs: Added MonoTODOs to this.
7568 2002-03-01 Martin Baulig <martin@gnome.org>
7570 * Array.cs: Added argument checking to all methods where it was missing.
7572 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
7574 * BitConverter.cs: Fixed bugs in ToString methods
7576 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
7578 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
7580 2002-03-01 Nick Drochak <ndrochak@gol.com>
7582 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
7583 ArgumentOutOfRangeException like the docs say.
7585 2002-03-01 Martin Baulig <martin@gnome.org>
7587 * Enum.cs (CompareTo): Correctly override this method from IComparable.
7589 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
7591 2002-02-28 Martin Baulig <martin@gnome.org>
7593 * String.cs: This file now passes the testsuite on Linux :-)
7595 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
7596 make them private and provide C# wrappers which do proper argument checking.
7598 * String.cs (Format): Correctly handle escaped brackets.
7600 * String.cs (_CompareChar): New internal function which compares two chars.
7601 (_Compare): Provide an internal compare method which can do all sorts of
7602 comparision and call it from all the Compare() methods. Also fixed a lot of
7603 bugs here, this code now actually passes the testsuite.
7605 2002-02-28 Duncan Mak <duncan@ximian.com>
7607 * Convert.cs: Added the missing methods. The new class status page
7608 kicks ass, it even found my typos! Woohoo!
7609 (ConvertFromBase): Moved the Exception throwing in here and
7610 removed the other occurances so it's all centralized now.
7611 (ISDBNull): Implemented.
7612 (GetTypeCode): Implemented.
7614 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
7615 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
7616 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
7617 states that a lacking format should be interpreted as "N".
7618 Also added [Serializable] attribute
7619 * TimeSpan.cs: some formatting and added the [Serializable] attribute
7621 2002-02-26 Duncan Mak <duncan@ximian.com>
7623 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
7625 2002-02-26 Martin Baulig <martin@gnome.org>
7627 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
7628 fields of the interncall GetTimeZoneData.
7630 * DateTime.cs: Implemented Parse and fixed a few bugs.
7632 * String.cs (TrimStart): Small fix.
7634 2002-02-26 Martin Baulig <martin@gnome.org>
7636 * DateTime.cs: ParseExact is now fully functional.
7638 * String.cs (TrimEnd): Small fix.
7640 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
7641 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
7642 missing for about six months.
7644 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
7646 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
7648 2002-02-26 Martin Baulig <martin@gnome.org>
7650 * DateTime.cs: Miguel already committed this, but there was still a
7651 ChangeLog entry for this missing ....
7652 We're now reusing functionality from TimeSpan, printing dates is
7653 fully implemented, currently working on parsing.
7655 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
7658 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
7660 * MonoType.cs: disable constructor.
7661 * Object.cs: make GetType() an internalcall.
7662 * Type.cs: added correct bindingflags to GetMethods ().
7663 All such calls should be reviewed to use the correct flags.
7665 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
7667 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
7670 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
7672 * Type.cs: implemented IsAssignableFrom.
7674 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
7675 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
7676 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
7677 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
7678 The former is documented by Microsoft. The latter is how they
7679 actually implemented it in mscorlib:-)
7681 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
7683 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
7685 * MonoType.cs: Implemented custom attributes methods.
7688 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
7691 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
7693 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
7695 * MonoType.cs: Implemented custom attributes methods.
7697 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
7699 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
7701 2002-02-19 Duncan Mak <duncan@ximian.com>
7703 * Convert.cs: Finished up the missing methods in Convert. Added a
7704 new private method ConvertFromBase.
7706 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
7708 * String.cs: impl. IConvertible interface
7710 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
7711 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
7713 2002-02-18 Duncan Mak <duncan@ximian.com>
7715 * Convert.cs: Changed from using Type.GetType (string) to just
7716 typeof (). Probably will speed things up a bit?
7718 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
7721 1. Fix for GetUpperBound to return correct values
7722 2. made some Properties virtual
7723 3. Adds IsFixedSize and IsReadOnly properties.
7724 4. changes CreateInstance(Type,int[],int[]) to throw Exception
7725 when third arg is null. InternalCall CreateInstance changed to
7727 5. Fixed array.GetUpperBound at a couple of places
7728 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
7729 7. Added two FIXME's in BinarySearch functions.
7731 2002-02-17 Duncan Mak <duncan@ximian.com>
7733 * TimeZone.cs: Applied the rest of Ajay's patch for
7734 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
7737 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
7738 * Guid.cs: added stub for Guid(string) ctor
7740 2002-02-17 Duncan Mak <duncan@ximian.com>
7742 * Convert.cs: Near-complete implementation of Convert.cs
7744 Added all the To* methods taking (object) and
7745 (object, IFormatProvider) as parameters.
7747 Added [CLSCompliant (false)] attributes to methods dealing with
7750 Added the missing section on converting to and from DateTime. Only
7751 6 missing methods, all marked with MonoTODOs. Will tackle them later.
7753 2002-02-16 Duncan Mak <duncan@ximian.com>
7755 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
7756 make IsDaylightSavingTime (DateTime) call
7757 IsDaylightSavingTime (DateTime, DaylightTime).
7759 Added internal class CurrentTimeZone from Ajay. It needs more work
7760 to fill in the appropriate internal calls.
7762 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
7764 * Type.cs: fix IsClass.
7766 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
7768 * String.cs: fix Trim().
7770 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
7772 * String.cs: fix more off by one errors.
7774 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
7776 * MonoType.cs: fix IsValueTypeImpl.
7777 * Type.cs: fix IsEnum. Implement Equals methods.
7779 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
7781 * Int32.cs: implement IConvertible interface.
7783 2002-02-12 Duncan Mak <duncan@ximian.com>
7785 * TimeZone.cs: Implemented and added to CVS.
7787 2002-02-11 Duncan Mak <duncan@ximian.com>
7789 * Convert.cs: Implemented the ChangeType () methods.
7791 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
7793 * Array.cs: make Clone() an internal call.
7795 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
7796 * Changed Guid.NewGuid so that it can use both System.Random and
7797 System.Security.Cryptography.RandomNumberGenerator
7799 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
7800 * First version of Guid.NewGuid
7802 2002-02-08 Duncan Mak <duncan@ximian.com>
7804 * RuntimeArgumentHandle.cs: Added to CVS.
7806 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
7808 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
7809 UnhandledExceptionEventHandler.cs: added delegates.
7811 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
7813 * MarshalByRefObject.cs: add ToString () method
7814 (apparently needed by nunit).
7815 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
7816 by it in the runtime.
7818 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
7820 * String.cs (Format): implemented
7822 2002-02-07 Duncan Mak <duncan@ximian.com>
7824 * DuplicateWaitObjectException:
7825 * InvalidCastException:
7826 * NotImplementedException:
7827 * NotSupportedException:
7828 * NullReferenceException:
7829 * OutOfMemoryException:
7830 * OverflowException:
7832 * StackOverflowException.cs:
7833 * UnauthorizedAccessException: Added missing constructor used for serialization.
7835 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
7837 * String.cs (System.Compare): bug fix
7839 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
7841 * Enum.cs (Parse, GetHashCode): impl.
7843 2002-02-05 Duncan Mak <duncan@ximian.com>
7845 * DBNull.cs: This is my first crack at the DBNull class. I think I
7846 actually got most of the IConvertible methods right, but I haven't
7847 done the research to test whether or not this is the correct
7848 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
7850 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
7852 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
7854 * Enum.cs: added more functionality (GetName, ToObject, Equals)
7856 2002-01-31 Duncan Mak <duncan@ximian.com>
7858 * InvalidOperationException.cs:
7859 * NotFiniteNumberException.cs:
7860 * ObjectDisposedException.cs:
7861 * TypeInitializationException.cs: Added missing bits for serialization/
7863 * AppDomainUnloadedException.cs:
7864 * ApplicationException.cs:
7865 * ArgumentOutOfRangeException.cs:
7866 * ArithmeticException.cs:
7867 * ArrayTypeMismatchException:
7868 * BadImageFormatException.cs:
7870 * MissingMemberException.cs:
7871 * TypeLoadException.cs: Added missing bits for serialization.
7873 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
7874 * Guid.cs: implemented everything but Guid.NewGuid
7876 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
7878 * _AppDomain.cs: remove ToString() method: it doesn't seem right
7879 to have it in this interface and it screws up the method vtable setup.
7881 2002-01-28 Andrei Zmievski <andrei@php.net>
7883 * Double.cs: implemented IConvertible interface.
7885 2002-01-28 Miguel de Icaza <miguel@ximian.com>
7887 * ArgumentException.cs: Implement serialization constructor.
7888 (GetObjectData): Implement serializer.
7890 * ArgumentNullException.cs: Implement serialization constructor.
7892 * Exception.cs: Implement serialization constructor.
7893 (GetObjectData): Implement serializer.
7895 2002-01-23 Miguel de Icaza <miguel@ximian.com>
7897 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
7899 2002-01-23 Duncan Mak <duncan@ximian.com>
7901 * EntryPointNotFoundException.cs:
7902 * FormatException: Added missing constructor and related bits.
7904 * TypeLoadException: Added missing constructor, methods and properties.
7906 2002-01-23 Miguel de Icaza <miguel@ximian.com>
7908 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
7909 manually getting the enumerator.
7911 (AppDomain.AppDomain): Prime the loaded assemblies with the
7912 assemblies loaded by the runtime in our behalf.
7914 * AppDomainSetup.cs: Remove private keyword, that is the default.
7915 Add a new property DisallowPublisherPolicy.
7917 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
7919 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
7921 * MonoType.cs, Type.cs: many updates, corrected implementation,
7924 2002-01-20 Andrei Zmievski <andrei@php.net>
7927 * Char.cs: implemented IConvertible interface.
7929 * Boolean.cs: use our own ToString() method directly.
7931 2002-01-20 Duncan Mak <duncan@ximian.com>
7933 * Files I commited recently: Fixed indentation style.
7935 2002-01-20 Nick Drochak <ndrochak@gol.com>
7937 * SerializableAttribute.cs: this attrib can be used on enums, structs,
7938 and delegates too. Added the appropriate usage flags.
7940 2002-01-18 Duncan Mak <duncan@ximian.com>
7942 * CharEnumerator.cs: Implemented.
7943 * String.cs (System): Fixed the GetEnumerator () method(s).
7945 * ObsoleteAttribute.cs:
7946 * STAThreadAttribute.cs:
7947 * MTAThreadAttribute.cs:
7948 * ThreadStaticAttribute.cs:
7949 * LoaderOptimizationAttribute.cs:
7950 * PlatformNotSupportedException.cs:
7951 * LoaderOptimization.cs: Added to CVS.
7953 2002-01-18 Duncan Mak <duncan@ximian.com>
7955 * AppDomainUnloadedException.cs:
7956 * MethodAccessException.cs:
7957 * ContextMarshalException.cs:
7958 * CannotUnloadAppDomainException.cs:
7959 * DllNotFoundException.cs:
7960 * EntryPointNotFoundException.cs:
7961 * FieldAccessException.cs:
7962 * TypeUnloadedException.cs:
7963 * MissingFieldException.cs: Added to CVS.
7965 * ApplicationException.cs:
7966 * MemberAccessException.cs:
7967 * MissingMemberException.cs
7968 * MissingMethodException.cs:
7969 * SystemException.cs: Added [Serializable] attribute.
7971 * Exception.cs: Added [Serializable] attribute, made properties
7972 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
7975 * ContextStaticAttribute.cs: Added [Serializable] attribute and
7976 put in the missing constructor.
7978 * Environment.cs: Commented out references to
7979 EnvironmentPermissionAttribute, because they're just stubbed out
7980 right now and has no implementation.
7982 2002-01-16 Andrei Zmievski <andrei@php.net>
7984 * Boolean.cs: implemented IConvertible interface
7986 2002-01-15 Nick Drochak <ndrochak@gol.com>
7988 * ResolveEventArgs.cs: class should derive from EventArgs.
7990 2002-01-14 Miguel de Icaza <miguel@ximian.com>
7992 * String.cs (System): Use DefaultMemberName for the String class.
7994 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
7996 * String.cs: use IndexerName in index char accessor.
7998 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
8000 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
8001 * String.c: eliminate 64k+ method calls in search.
8002 * Type.cs: handle byref and array types in ToString ().
8004 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
8006 * Guid.cs: created first version
8008 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
8010 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
8012 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
8014 * MulticastDelegate.cs: add == and != operator stubs.
8015 * String.cs: check for null in == operator.
8016 * Type.cs: use a virtual method to get TypeAttributes.
8018 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
8019 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
8021 2002-01-09 Nick Drochak <ndrochak@gol.com>
8023 * Environment.cs: Comment out Security attribute and put a MonoTODO
8024 there as a reminder. We need mcs magic to handle security attributes in
8027 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
8028 * Created IAppDomainSetup.cs
8030 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
8031 * Created System._AppDomain interface in _AppDomain.cs
8033 2002-01-06 Nick Drochak <ndrochak@gol.com>
8035 * ResolveEventArgs.cs: New File, completely implemented! ;)
8037 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
8039 * Enum.cs: dummy ToString impl.
8040 * String.cs: dummy format implementations to get compiler errors
8042 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
8044 2002-01-05 Ravi Pratap <ravi@ximian.com>
8046 * TODOAttribute.cs : Augment some more; provide two constructors
8047 with support for a comment too.
8049 2002-01-05 Nick Drochak <ndrochak@gol.com>
8051 * Uncommented those MonoTODO's now that Ravi's got
8054 2001-01-04 Ravi Pratap <ravi@ximian.com>
8056 * TODOAttribute.cs : Actually add this time ;-)
8058 Change name to MonoTODO.
8060 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
8062 * String.cs (Trim): Fixed a few logic bugs in the code that
8063 calculated how much to trim off the end of the string.
8065 2001-01-04 Nick Drochak <ndrochak@gol.com>
8067 * Commented out the [TODO] attributes for now. We don't have the
8068 class written. Also changed it to [MonoTODO]
8070 2002-01-04 Ravi Pratap <ravi@ximian.com>
8072 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
8073 our class libraries that are incomplete.
8075 * Array.cs : Apply attribute wherever we find a FIXME which says
8076 we need something to be implemented there.
8080 * MulticastDelegate.cs : Ditto.
8082 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
8083 RuntimeTypeHandle.cs : Ditto.
8085 * String.cs : Ditto.
8089 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
8091 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
8092 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
8094 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
8095 Delegate.cs : Ditto.
8097 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
8098 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
8100 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
8102 * Delegate.cs: add Remove() stub.
8103 * Enum.cs: add ToObject().
8104 * Type.cs: add IsEnum property.
8106 2002-01-03 Kristian Rietveld <kris@gtk.org>
8108 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
8109 DateTime and object.
8111 2001-12-30 Nick Drochak <ndrochak@gol.com>
8113 * Byte.cs (Parse): Add comments to aid in testing.
8115 2001-12-21 Miguel de Icaza <miguel@ximian.com>
8117 * Char.cs (Parse): Implement.
8119 * Byte.cs (Parse): Implement a fast parser.
8121 * SByte.cs (Parse): Implement a fast parser.
8123 * UInt16.cs (Parse): Implement a fast parser.
8125 * Int16.cs (Parse): Implement a fast parser.
8127 * UInt32.cs (Parse): Implement a fast parser.
8129 * Int32.cs (Parse): Implement a fast parser.
8131 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
8133 * Array.cs: fix null ref in sort code.
8134 * UInt64.cs: add bare-bones parse.
8136 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
8138 * Byte.cs: removed use of Regexes.
8140 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
8142 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
8143 IsDefined(), GetUnderlyingType().
8144 * String.cs: fix one instance of Compare().
8145 * Type.cs: implemented GetProperties(), GetProperty().
8147 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
8149 * Array.cs: implement CopyTo ().
8150 * Char.cs: implement ToString ().
8151 * Exception.cs: bugfix.
8152 * Int32.cs: bare-bones Parse ().
8153 * MonoType.cs: query the needed info with an internalcall.
8154 * String.cs: speedups, bugfixes, reduced copies.
8155 * Type.cs: added missing fields. Implemented many of the Is*
8156 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
8157 GetFields(), FindMembers(), ToString().
8159 2001-12-11 Dick Porter <dick@ximian.com>
8161 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
8163 * Console.cs: Use handles rather than casting file descriptors
8165 2001-12-08 Nick Drochak <ndrochak@gol.com>
8167 * Byte.cs (Parse): Start implementation. Parse(string) works, but
8168 now we need to handle other formats
8170 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
8172 * DateTime.cs: added an icall to GetNow()
8174 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
8176 * Double.cs: added the parse method from Bob Smith
8178 2001-11-28 Miguel de Icaza <miguel@ximian.com>
8184 * Int32.cs (Int32.CompareTo): Fix because we can not just
8185 substract the values.
8187 Return possitive value if the object is null.
8189 * Boolean.cs: (Boolean.CompareTo): ditto.
8191 * Int16.cs (Int16.CompareTo): ditto.
8193 * Byte.cs (Byte.CompareTo): ditto.
8195 * SByte.cs (SByte.CompareTo): ditto.
8197 * Char.cs (Char.CompareTo): ditto.
8199 * Decimal.cs (Decimal.CompareTo): ditto.
8201 * Int64.cs (Int64.CompareTo): ditto.
8207 2001-11-28 Nick Drochak <ndrochak@gol.com>
8209 * Byte.cs: Throw NotImplementedException for Parse.
8211 2001-11-27 Derek Holden <dholden@draper.com>
8213 * IntegerFormatter.cs: Formatting of type "Number" was not
8214 using NumberFormatInfo.NumberNegativePattern.
8216 2001-11-26 Dick Porter <dick@ximian.com>
8218 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
8219 the finalise routine any more
8221 2001-11-21 Miguel de Icaza <miguel@ximian.com>
8223 * ApplicationException.cs: internationalize by adding calls to
8224 Locale.GetText (). And throw NotImplementedExceptions on calls
8225 that we have to implement.
8227 * Version.cs: Ditto.
8229 * ValueType.cs: ditto.
8231 * UnauthorizedAccessException.cs: ditto.
8239 * TypeLoadException.cs: ditto
8241 * TypeInitializationException.cs: ditto.
8245 * TimeSpan.cs: ditto.
8247 * SystemException.cs: ditto.
8251 * StackOverflowException.cs: ditto.x
8257 * RuntimeTypeHandle.cs: ditto.
8259 * RuntimeMethodHandle.cs: ditto.
8261 * RuntimeFieldHandle.cs: ditto.
8265 * OutOfMemoryException.cs: ditto.
8267 * OperatingSystem.cs: ditto.
8269 * ObjectDisposedException.cs: ditto.
8271 * NullReferenceException.cs: ditto.
8273 * NotImplementedException.cs: ditto.
8275 * NotFiniteNumberException.cs: ditto.o
8277 * MulticastNotSupportedException.cs: ditto.
8279 * MissingMethodException.cs: ditto.
8281 * MemberAccessException.cs: ditto.
8285 * InvalidCastException.cs: ditto.
8287 * IntegerFormatter.cs: ditto.
8293 * IndexOutOfRangeException.cs: ditto.
8295 * Environment.cs: ditto
8299 * DuplicateWaitObjectException.cs: ditto.
8301 * DivideByZeroException.cs: ditto.
8303 * Delegate.cs: ditto
8305 * DecimalFormatter.cs: ditto.
8307 * Decimal.cs: ditto.
8309 * DateTime.cs: ditto.
8311 * Convert.cs: ditto.
8317 * Boolean.cs: ditto.
8319 * ArrayTypeMismatchException.cs: ditto.
8321 * ArithmeticException.cs: ditto.
8323 * ArgumentOutOfRangeException.cs: ditto.
8325 * ArgumentNullException.cs: ditto.
8327 * Enum.cs: Make it derive from ValueType, add CompareTo method.
8329 * Attribute.cs: Reformat.
8331 2001-11-14 Miguel de Icaza <miguel@ximian.com>
8333 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
8334 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
8335 exception if the value is null too.
8337 * Char.cs (CompareTo): ditto.
8339 * ApplicationException.cs: Added constructor that does serialization.
8341 * ParamArrayAttribute.cs: Define attribute correctly.
8343 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
8345 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
8346 * Array.cs: fix Array.Copy.
8347 * AssemblyLoadEventArgs.cs: rename field.
8348 * CLSCompliantAttribute.cs: use correct name for the class.
8349 * Char.cs: fix IsLetter.
8350 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
8351 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
8352 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
8353 * Delegate.cs: renamed target field to m_target.
8354 * Enum.cs: added missing methods.
8355 * MonoType.cs: add a constructor and some needed properties.
8356 * Object.cs: implement GetType().
8357 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
8359 * Type.cs: add missing methods/properties.
8361 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
8363 * AttributeUseage.cs: Should define AttributeUsageAttribute.
8365 * CLSCompliant.cs: Marked with AttributeUsage attribute.
8367 * Decimal.cs: Fixed CLSCompliant attributes.
8369 * Type.cs: changed _impl to internal (needs to be accessable by
8372 (TypeHandle): Marked as abstract, implementation removed.
8374 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
8375 GetMethod): Added stub implementations so NUnit would link against
8378 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
8380 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
8382 2001-11-05 Miguel de Icaza <miguel@ximian.com>
8384 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
8387 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
8389 * String.cs: fix a couple of bugs.
8390 * AppDomain.cs: use new AppBuilder constructor.
8391 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
8392 NotImplementedException.cs, ObjectDisposedException.cs,
8393 UnauthorizedAccessException.cs: add implementation.
8394 * OverflowException.cs: fix class name.
8396 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
8398 * String.cs: Don't use a terminating nil char for our internal
8401 2001-10-27 Miguel de Icaza <miguel@ximian.com>
8403 * Delegate.cs (Delegate.CombineImpl): Implement.
8404 (Delegate.Combine): Implement.
8406 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
8408 (MulticastDelegate.CombineImpl): This was not as trivial as I
8411 * ContextStaticAttribute.cs: Added AttributeUsage to
8412 ContextStaticAttribute.
8414 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
8416 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
8418 * added Decimal.cs * added DecimalFormatter.cs (internal class
8419 used from System.Decimal)
8421 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
8423 * Convert.cs: Added methods for Base64 transforming just used the
8424 existing System.Security.Cryptography.ToBase64Transform, should
8425 be changed to use a stand-alone class, e.g. Base64Encoder
8427 2001-10-10 Derek Holden <dholden@draper.com>
8429 * IntegerFormatter.cs: Added. Implements ToString for all the
8430 integer data types for all the format types.
8432 * Byte.cs: Using IntegerFormatter for ToString's.
8434 * SByte.cs: Using IntegerFormatter for ToString's.
8436 * Int16.cs: Using IntegerFormatter for ToString's.
8438 * Int32.cs: Using IntegerFormatter for ToString's.
8440 * Int64.cs: Using IntegerFormatter for ToString's.
8442 * UInt16.cs: Using IntegerFormatter for ToString's.
8444 * UInt32.cs: Using IntegerFormatter for ToString's.
8446 * UInt64.cs: Using IntegerFormatter for ToString's.
8448 2001-10-07 Miguel de Icaza <miguel@ximian.com>
8450 * Exception.cs: Implement bits of serialization.
8452 * RuntimeFieldHandle.cs: Implement Serialization features.
8454 * Type.cs: Implement TypeHandle property.
8456 2001-09-28 Dick Porter <dick@ximian.com>
8458 * LocalDataStoreSlot.cs: Implemented
8460 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
8462 * String.cs: fix off-by-one error in Trim().
8464 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
8466 * Type.cs: added GetType () method.
8468 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
8470 * MissingMethodException.cs, MissingMemberException.cs,
8471 MemberAccessException.cs: added.
8473 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
8475 * String.cs: don't access the string array out of bounds in
8476 LastIndexOf. * Type.cs: fix return type of the Assembly property.
8478 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
8480 * String.cs: make Intern and IsIntern internalcalls.
8482 2001-09-13 Dick Porter <dick@ximian.com>
8484 * Type.cs: Added a stub for the IsValueType property.
8486 * SystemException.cs (System): Added the other constructor, so
8487 that System.Threading exceptions can inherit it.
8489 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
8491 * String.cs (TrimStart): Don't keep looping through the trimchars
8492 once we've found a match.
8493 (TrimEnd): Same here.
8494 (Trim): And finally here.
8496 2001-09-07 Ravi Pratap <ravi@ximian.com>
8498 * Char.cs (IsLetterOrDigit): Implement.
8499 (IsLower): Implement, but we need to be Unicode aware.
8500 (IsNumber): Implement.
8501 (IsPunctuation): Implement.
8502 (IsWhiteSpace): Implement.
8503 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
8504 (ToLower): Same here.
8506 2001-09-04 Miguel de Icaza <miguel@ximian.com>
8508 * Object.cs: Shortcut, if (a == b) then return true.
8510 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
8512 * Delegate.cs: we need a pointer to the method thunk in
8513 the delegate object.
8515 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
8517 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
8519 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
8521 * String.cs (System): Don't mix uint and int.
8523 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
8525 * String.cs (BoyerMoore): Modified to not use pointers and to instead
8527 (IndexOf): Use BoyerMoore.
8529 2001-09-02 Miguel de Icaza <miguel@ximian.com>
8531 * All over: Use the autogenerated enumerations from the ECMA
8532 documentation that Sergey wrote.
8534 * PlatformID.cs: Add Unix definition.
8536 * OperatingSystem.cs: Use Unix instead of Linux here.
8538 * MarshalByRefObject.cs: Mark class as [Serializable].
8540 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
8542 * Console.cs: impl. (write only)
8543 implemented the stdin stuff
8545 * Int32.cs: impl. real op_Equal
8547 2001-08-24 Miguel de Icaza <miguel@ximian.com>
8549 * (common.src): Removed IAsyncResult as it is not on CVS yet.
8551 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
8552 as it breaks the build.
8554 2001-08-23 Michael Lambert <michaellambert@email.com>
8556 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
8557 added CLSCompliant attribute
8559 * IAsyncResult.cs: Added
8561 * common.src: Added IAsyncResult.cs
8563 2001-08-23 Michael Lambert <michaellambert@email.com>
8567 * common.src: Added UIntPtr.cs
8569 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
8571 * Attribute.cs: uncomment some code to make it compile again
8573 * mono.src: removed duplicated Attribute.cs
8575 2001-08-16 Nick Drochak <ndrochak@gol.com>
8577 * Attribute.cs: implemented all methods except GetHashCode()
8579 * common.src: added Attribute.cs so it would compile in
8581 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
8583 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
8584 marked it as InternalCall
8586 * common.src: removed UriFormatException.cs because the file is
8589 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
8590 * Char.cs: replaced byte with char
8592 * Array.cs: make it work with the mono interpreter
8594 2001-08-06 Miguel de Icaza <miguel@ximian.com>
8596 * Version.cs: Make the class sealed
8598 2001-08-08 Bob Smith <bob@thestuff.net>
8600 * Random.cs: Many compile fixes.
8601 * Random.cs: I read a bad spec. Class updated to match real spec.
8603 2001-08-06 Miguel de Icaza <miguel@ximian.com>
8605 * IntPtr.cs: Added and Completed implementation.
8607 * Uri.cs: Add a note.
8609 2001-08-06 Bob Smith <bob@thestuff.net>
8611 * Random.cs: Compile fix. Needs more testing.
8613 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
8615 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
8616 into account IPv6 addresses, url encoding needs to be implemented, and
8617 various minor methods need to be written, but this is a decent start.
8619 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
8621 * common.src: added Object.cs
8623 * mono.src: added ValueType.cs
8625 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
8627 * Math.cs: replaced libc with libm
8629 2001-08-02 Bob Smith <bob@thestuff.net>
8631 * Random.cs: Implemented. Needs testing.
8633 2001-08-02 Miguel de Icaza <miguel@ximian.com>
8635 * IServiceProvider.cs, EventHandler.cs: New files.
8637 2001-08-02 Marcel Narings <marcel@narings.nl>
8639 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
8640 Added exceptions. Added IConvertible. Still needs some platform
8641 dependend stuff, the Parse and ToString members
8643 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
8645 * Type.cs (GetTypeFromHandle): added placeholder
8647 2001-07-24 Derek Holden <dholden@draper.com>
8649 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
8650 which is really an IConvertible defined method.
8652 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
8653 behavior, still need to do the main Parse and ToString.
8655 * Char.cs: Added a bunch of missing ECMA methods. Commented a
8656 specification discrepency. Still didn't any unicode stuff, though
8657 every IsFoo(char c) method has an IsFoo(string, index)
8658 counterpart, added wrappers for those.
8660 * Convert.cs: Fixed NaN/Inf checking and double/float
8661 rounding. Added ToType for IConvertible classes
8663 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
8664 IsNaN methods. Changed Inf/NaN internals.
8666 * IConvertible.cs: Added comments for using
8667 Convert.ToType. Changed return values to draft base values.
8669 * Int16.cs: Added a missing Parse statement. Put in behavior for
8670 overloaded ToString and Parse methods.
8672 * Int32.cs: Added a missing Parse statement. Put in behavior for
8673 overloaded ToString and Parse methods.
8675 * Int64.cs: Added a missing Parse statement. Put in behavior for
8676 overloaded ToString and Parse methods.
8678 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
8679 methods. Changed Inf/NaN internals.
8681 * SByte.cs: Added a missing Parse method. Put in Parse and
8682 ToString behavior, still need to do the main Parse and ToString.
8684 * UInt16.cs: Added a missing Parse statement. Put in behavior for
8685 overloaded ToString and Parse methods.
8687 * UInt32.cs: Added a missing Parse statement. Put in behavior for
8688 overloaded ToString and Parse methods.
8690 * UInt64.cs: Added a missing Parse statement. Put in behavior for
8691 overloaded ToString and Parse methods.
8693 2001-07-20 Miguel de Icaza <miguel@ximian.com>
8695 * MulticastDelegate.cs: New File.
8697 * Delegate.cs: New file.
8699 * Enum.cs: New file.
8701 * Attribute.cs: New file.
8703 * Type.cs: New file.
8705 * ParamArrayAttribute.cs: New file.
8707 * RuntimeTypeHandle.cs: New file.
8709 * MulticastDelegate.cs: Added.
8711 * DateTime.cs: Added
8713 * Delegate.cs: Added
8715 2001-07-18 Michael Lambert <michaellambert@email.com>
8717 * AttributeTargets.cs: Add.
8719 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
8721 * Char.cs: Made ToUpper and ToLower public methods.
8723 * String.cs: Lots and lots of compile fixes - just need to write
8724 DateTime.cs and this should build completely now.
8726 2001-07-19 Bob Smith (bob@thestuff.net)
8728 * Math.cs: Implemented.
8730 2001-07-19 Miguel de Icaza <miguel@ximian.com>
8732 * String.cs: Removed tolower and toupper.
8734 * Char.cs: Moved ToLower and ToUpper from string to here.
8736 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
8737 instead of comparing the value to Nan.
8739 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
8741 * TimeSpan.cs: New implementation.
8743 2001-07-18 Scott Sanders <scott@stonecobra.com>
8745 * UriFormatExcpetion.cs: Add - 85% complete
8747 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
8749 * String.cs (IndexOf): Slight optimization that allows skipping
8750 over a few chars here and there. This isn't as good as using my
8751 Boyer-Moore implementation, however, Boyer-Moore is only really
8752 good for long strings (I plan on making the code decide which
8753 string search algorithm it should use on-the-fly at some point).
8754 (LastIndexOf): Fix to work correctly.
8755 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
8757 2001-07-16 Michael Lambert <michaellambert@email.com>
8759 * EventArgs.cs: Add.
8761 2001-07-16 Miguel de Icaza <miguel@ximian.com>
8763 * Version.cs: Remove my buggy comment.
8765 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
8767 * String.cs: Spelling error of IComparable, object's
8768 MemberwiseClone cannot be overridden. Made indexer valid for now,
8769 but not sure what to do about this in the long run. Seems to be a
8770 couple bugs in csc.exe having to do with multiple pointer defs in
8771 the same statement, and returning subclasses of a class in the
8772 return type of an interface function implementation. Also moved
8773 operators inside of class definition.
8775 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
8777 * String.cs: A tom of compile fixes, although we still don't compile.
8779 * IConvertible.cs: The To*Int64() methods return *Int64's, not
8780 *Int32's. Also, it's ToDateTime() not ToDateType().
8782 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
8784 * String.cs: Apparently I needed to at least write stubs for the
8785 IConvertible interfaces. *sigh*
8787 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
8789 * String.cs: Many logic/other fixes and better usage of the
8791 (tolower): New convenience method to help condense code.
8792 (toupper): Another new helper method.
8793 (Compare): Use the new helper methods.
8794 (ToLower): use tolower().
8795 (ToUpper): use toupper().
8796 (LastIndexOfAny): Implemented.
8797 (BoyerMoore): New private helper method that implements a modified
8798 version of the Boyer-Moore search algorithm. Noothing uses it yet
8799 as I'm not 100% sure it even works properly with unicode strings
8800 not to mention it uses a huge lookup-table :-)
8801 (Split): Implemented.
8803 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
8805 * TODO: Added things that need to be finished in System.String
8807 * String.cs: New source file implementing the System.String class
8809 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
8811 * TypeCode.cs: UInt64 was UInt63.
8813 * Object.cs: Fixed a numer of compiler errors.
8815 * Array.cs: Fixed some compiler errors.
8817 * IComparable.cs: Fixed some compiler errors.
8819 * ICloneable.cs: Fixed some compiler errors.
8821 * IConvertible.cs: Fixed some compiler errors.
8823 * IFormattable.cs: Fixed a compiler error.
8825 * IFormatProvider.cs: Fixed a compiler error.
8827 * IDisposable.cs: Fixed a compiler error.
8829 * IFormatProvider.cs: Added public accesability type to
8832 * Exception.cs: Added a using statement to remove compile time
8835 * ApplicationException.cs: Removed a ; that was causing a compiler
8838 * Int16.cs: Fixed some compiler errors.
8840 * Int32.cs: Fixed some compiler errors.
8842 * Int64.cs: Fixed some compiler errors.
8844 * SystemException.cs: Fixed a compiler error.
8846 * UInt16.cs: Fixed some compiler errors.
8848 * UInt32.cs: Fixed some compiler errors.
8850 * UInt64.cs: Fixed some compiler errors.
8852 * Void.cs: Fixed a compiler error.
8854 2001-07-12 Joe Shaw <joe@ximian.com>
8856 * Array.cs: Fix backwards parameters to Array.SetValue()
8858 (BinarySearch): Fix backward logic surrounding whether to call
8859 value.CompareTo or comparer.Compare.
8860 (LastIndexOf): Stop being stupid. I am so not used to strongly
8862 (Sort): Implement a quicksort.
8864 2001-07-11 Joe Shaw <joe@ximian.com>
8866 * Array.cs: Change all instances of trying to access an array with
8867 the index operator to calls to GetValue and SetValue, and add
8868 InternalGetValue and InternalSetValue which are internal calls
8869 into the runtime. Ew.
8871 2001-07-10 Joe Shaw <joe@ximian.com>
8873 * Array.cs: Implemented everything but Sort().
8875 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
8877 * Object.cs (Object::Equals): Object variable name is `o'.
8879 2001-07-06 Joe Shaw <joe@ximian.com>
8881 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
8882 Implement the IComparable and IFormattable interfaces. Fix a typo
8885 * ApplicationException.cs, ArgumentException.cs,
8886 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
8887 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
8888 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
8889 ExecutionEngineException.cs, FormatException.cs,
8890 IndexOutOfRangeException.cs, InvalidCastException.cs,
8891 InvalidOperationException.cs, InvalidProgramException.cs,
8892 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
8893 NotSupportedException.cs, NullReferenceException.cs,
8894 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
8895 StackOverflowException.cs, SystemException.cs,
8896 TypeInitializationException.cs: Added all of the exceptions
8897 specified by the language spec. Mmmm... bloat.
8899 2001-07-06 Miguel de Icaza <miguel@ximian.com>
8901 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
8902 do a generic routine all of these guys use.
8904 * Int16.cs: identified missing methods.
8906 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
8908 2001-06-26 Miguel de Icaza <miguel@ximian.com>
8910 * TypeCode.cs: Implement
8912 * Void.cs: Implement.
8914 * TODO: Add file to keep track of pending tasks.
8916 * Object.cs, ValueType.cs: Implement.