1 2007-03-06 Zoltan Varga <vargaz@gmail.com>
3 * Type.cs: Rename Type:Equals(Type) to EqualsInternal, and add support for checking
4 UnderlyingSystemType. Fixes #81037.
6 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
8 * TermInfoDriver.cs: adjust buffer indexes after *every* read. Fixes
11 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
13 * Enum.cs: The above patch makes the formatting for specifiers 'x'
14 and 'X' behave like MS.NET, including the correct length for each
15 possible underlying type, and correctly using capital letters for
18 Patch also includes some more test cases in EnumTests.cs.
20 2007-02-25 Gert Driesen <drieseng@users.sourceforge.net>
22 * AppDomainSetup.cs: If configuration file is not an absolute path,
23 then throw a MemberAccessException if ApplicationBase is not set,
24 or otherwise consider it as a path relative to ApplicationBase.
25 Fixes bug #80934. Patch provided by Jamie Cansdale.
26 * AppDomain.cs: In CreateDomain, construct AppDomain with
27 ApplicationBase of default domain if not explicitly set in specified
28 AppDomainSetup. If config file is not set, then use filename of the
29 default domain config file. Base on patch provided by Jamie Cansdale.
31 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
33 * Random.cs: Fix exception messages ("then" -> "than"). Spotted by
34 Mark A. Nicolosi (#80873).
36 2007-02-12 Miguel de Icaza <miguel@novell.com>
38 * CStreamWriter.cs (Write with char []): take the lock once for
39 all characters and call manually the InternalWriteChar properly to
42 (Write with string parameter): same thing, if the driver is not
43 initialized use a fast path.
45 If the driver has not been initialized, use a fast path instead.
47 Mon Feb 12 21:54:57 CET 2007 Paolo Molaro <lupus@ximian.com>
49 * MonoType.cs: patch from Cedric Vivier <cedricv@neonux.com> to
50 get correctly non-public fields from generic types.
52 2007-02-08 Jonathan Chambers <joncham@gmail.com>
54 * __ComObject.cs: Add IUnknown field to object. Cleanup icalls.
56 2007-02-03 Zoltan Varga <vargaz@gmail.com>
58 * BitConverter.cs (ToDouble): Fix this on big-endian machines.
60 2007-01-30 Atsushi Enomoto <atsushi@ximian.com>
62 * TimeZone.cs: According to the docs, we should not throw when
63 converting to Localtime if we are a negative value. Instead we
64 return DateTime.MinValue.
66 2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
68 * DateTime.cs : copy Kind in those members that return DateTime.
71 2007-01-20 Miguel de Icaza <miguel@novell.com>
73 * Array.cs (InternalArray__ICollection_Contains,
74 InternalArray__IndexOf): Cope with null values in the array (See
77 2007-01-19 Marek Habersack <grendello@gmail.com>
79 * AppDomain.cs: Make sure that domain
80 SetupInformation.ConfigurationFile is never null. MS.NET by
81 default copies the default domain's ConfigurationFile value
82 there. Fixes bug #80547.
84 2007-01-14 Jensen Somers <jensen.somers@gmail.com>
86 * ArraySegment.cs: Added Equals() method, operator == and !=
87 overloading and GetHashCode().
89 2007-01-10 Andy Hume <andyhume32@yahoo.co.uk>
91 * Fixes to a number of exception classes.
93 A project of mine uses #ctor(String,Exception) on
94 ObjectDisposedException, so I looked at adding that, and any
95 other similar constructors missing as per the class status report.
97 I also spotted inconsistent setting of HResult, and fixed
98 those too. For instance, ArgumentNullException sets HResult
99 only in three out of the four constuctors; not setting it in
100 the v2 (String,Exception) one -- and correctly not in the
101 Serialization constructor.
104 So, I fixed the remaining missing (String,Exception)
105 constructors in corlib (2 of), and fixed the Hresult setting
106 in all exceptions there (4 of).
108 The remaining Exception constructor omission listed was
109 InvalidCastException.ctor(System.String, System.Int32). MSDN says:
110 "This constructor supplies an HRESULT value that is
111 accessible to inheritors of the InvalidCastException class,
112 via the protected HResult property of the Exception class."
113 I added that method too, setting the HResult property from
116 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
118 * String.cs, StringComparer.cs : avoid extra string creation in
119 StringComparer.OrdinalIgnoreCase.
121 2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
123 * DateTime.cs: Under 2.0 fix ParseExact to set DateTimeKind.Utc when
124 DateTimeStyles.AdjustToUniversal is used.
126 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
128 * TermInfoDriver.cs: honor the backspace in ReadLine.
130 2006-12-30 Marek Safar <marek.safar@gmail.com>
132 * String.cs: Character based method only.
133 (IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
134 (Substring): Returns same instance when index is 0.
136 2006-12-30 Alp Toker <alp@atoker.com>
139 * Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
142 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
144 * DateTime.cs: Implement missing [To|From]Binary methods for 2.0.
145 * OperatingSystem.cs: Implement missing ServicePack and VersionString
147 * Version.cs: Add missing Major|MinorRevision properties for 2.0.
149 2006-12-14 Raja R Harinath <rharinath@novell.com>
151 * Type.cs (MakeGenericType): Can only be called on a generic type
154 2006-12-03 Miguel de Icaza <miguel@novell.com>
156 * DateTime.cs: Fix this on the 2.0 profile, return the
157 DateTimeKind for the Now property
159 2006-12-01 Duncan Mak <duncan@a-chinaman.com>
161 * ArgumentOutOfRangeException.cs (.ctor):
162 * NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
163 that takes a string and an inner Exception.
165 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
168 When comparing enumerations, two or more enumeration values might
169 match. Thus basically we should do complete matching, but right
170 now just do reverse order search since only numbered abbrev month
171 names matter (and full iteration is a mess). Fixed bug #80094.
173 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
176 use new internal clone-less DateTimeFormatInfo members.
178 2006-11-29 Martin Baulig <martin@ximian.com>
180 * INullableValue.cs: Removed.
182 2006-11-28 Duncan Mak <duncan@novell.com>
184 * ArgumentNullException.cs (.ctor): Added new constructor that's
187 * InsufficientMemoryException.cs: Added missing 2.0 exception.
189 2006-11-27 Jonathan Chambers <joncham@gmail.com>
191 * __ComObject.cs: Removed IDispatchMono.
193 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
196 * Console.cs: lazy initialization of Console 2.0 (also when
197 CancelKeyPress is used).
199 2006-11-27 Miguel de Icaza <miguel@novell.com>
201 * Exception.cs (GetType): New method in 2.x, Another Moma catch.
203 Mon Nov 27 19:34:16 CET 2006 Paolo Molaro <lupus@ximian.com>
205 * GC.cs: implemented the needed methods with icalls.
207 2006-11-26 Miguel de Icaza <miguel@novell.com>
209 * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.
211 Go Moma! http://www.mono-project.com/Moma
213 * Decimal.cs: Refactor code to implement TryParse.
215 Also, avoid initializing messages on every call to stripStyles
217 2006-11-22 Miguel de Icaza <miguel@novell.com>
219 * DateTime.cs: A small performance hit, we store the actual time
220 span in a boxed object. This way, it can be updated from other
221 threads if necessary. We always unbox to get the value before
222 any potential updates.
224 Thanks to Gonzalo for catching this.
226 2006-11-21 Miguel de Icaza <miguel@novell.com>
228 * TimeZone.cs (CurrentSystemTimeZone): Cache the current year
229 daylight savings time in static variables.
231 (CurrentSystemTimeZone.OnDeserialization): Initialize
232 this_year_dlt and this_year on this method.
234 (TimeZone): init statically the currentTimeZone instead of
235 delaying that to the static property, avoiding a compare.
237 2006-11-22 Lluis Sanchez Gual <lluis@novell.com>
239 * Array.cs: (compare<T>) if a comparer is provided, it has
240 priority over other comparison methods.
242 2006-11-14 Miguel de Icaza <miguel@novell.com>
244 * Array.cs: TODOs will from now on be used to flag information
245 that will be developer-visible, not to flag internal information
246 that none of us reads or bothers about.
248 For those, use "FIXME" strings in the source code instead.
250 * AppDomain.cs: Update to be more useful.
252 2006-11-13 Atsushi Enomoto <atsushi@ximian.com>
254 * String.cs : fixed incorrect startIndex/length count in
255 IndexOf(string,StringComparison).
257 2006-11-07 Marek Safar <marek.safar@gmail.com>
259 * String.cs (LastIndexOf): If value is Empty, the return value is
260 the start index position in value.
262 2006-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
264 * TermInfoDriver.cs: prevent an invalid cast.
266 2006-10-26 Marek Safar <marek.safar@seznam.cz>
268 * String.cs (Concat): Add fast-path for empty strings.
270 2006-10-20 Jonathan Chambers <joncham@gmail.com>
272 * Variant.cs: Add support for bool and interfaces.
274 2006-10-18 Kornél Pál <kornelpal@gmail.com>
276 * Type.cs: Removed is_subtype_of because IsSubclassOf should be used
277 that is public and virtual. IsClass: Checking for ValueType is
278 unnecessary. IsEnum: UnderlyingSystemType is not used anymore so
279 no EnumBuilder hack is necessary. Checking for Enum is
280 unnecessary. IsSerializable: Walk BaseType for user defined types.
281 IsSubclassOf: Walk BaseType for user defined types.
283 * MonoType.cs: IsValueTypeImpl is unnecessary. IsSubclassOf: Unlike
284 Type system types throw ArgumentNullException on null Type
287 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
289 * BadImageFormatException.cs: Changed message for default ctor to
290 match MS. Use internal message field of Exception to check whether
291 Message is null. Match MS default messages when no message is
292 set. Fixed ToString to match MS.
294 2006-10-09 Miguel de Icaza <miguel@novell.com>
296 * Environment.cs: Handle SpecialFolder.MyMusic
298 2006-10-07 Gert Driesen <drieseng@users.sourceforge.net>
300 * Enum.cs: Use different exception message depending on whether the
301 type of the passed in value is an Enum or not. Avoid looking up the
302 enum's underlying type twice in case of "D" or "d" format specifier.
304 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
306 * TermInfoDriver.cs: don't allow backspace if we're at the beginning
307 position for a ReadLine.
309 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
311 * TermInfoDriver.cs: ironpython autocompletion works now.
313 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
315 * Console.cs: avoid casting on windows.
317 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
324 * NullConsoleDriver.cs:
327 * WindowsConsoleDriver.cs: initial changes to handle cursor position
330 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
332 * ArithmeticException.cs: Modified default message to match MS, to
333 ensure a local regression test passes on both Mono and .NET.
335 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
337 * Exception.cs: Marked message internal to allow derived classes to
338 access the raw message (without changing the public API).
340 2006-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
346 * WindowsConsoleDriver.cs: don't switch to the alternate window.
347 Trigger the cancel event. Retrieve the cursor position at the
348 beginning, as we're going to keep track of it instead of querying it
351 2006-09-14 Jonathan Chambers <joncham@gmail.com>
353 * Environment.cs (ProcessorCount): Implement as icall.
354 Patch by Jason McFall.
356 2006-09-05 Raja R Harinath <rharinath@novell.com>
358 * DateTime.cs (Today) [NET_2_0]: Set kind to Local.
360 2006-09-02 Zoltan Varga <vargaz@gmail.com>
362 * Enum.cs (Equals): Use the generic Equals implementation from ValueType which
363 is faster and avoids allocations.
365 2006-09-01 Martin Baulig <martin@ximian.com>
367 * Array.cs (Array.InternalArray): Removed the helper class;
368 instead we use private generic methods in System.Array which are
369 inserted into the vtable at runtime.
371 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
373 * ConsoleCancelEventArgs.cs: fix my build.
375 2006-08-22 Miguel de Icaza <miguel@novell.com>
377 * MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0
379 * Converter.cs: update signature to final.
381 * ModuleHandle.cs: Removed the [Obsolete] flags as they removed
382 those in the final 2.0
384 * DateTime.cs: Fixed the signature.
386 * Convert.cs: Removed API calls that were deprecated in final 2.0
388 * Enum.cs: Updated to use the obsoletes flagged in 2.0.
390 * ConsoleCancelEventArgs.cs: Updated to 2.0
392 2006-08-19 Miguel de Icaza <miguel@novell.com>
394 * Attribute.cs: This needs to do a deep compare, not a shallow
395 one. Ran into this bug with the VBNC compiler that compares two
396 separate attributes for equality using this.
398 * String.cs (StartsWith): Fix the overloaded constructor that
399 takes a CultureInfo, if that is null, it means to use the current
402 * TermInfoDriver.cs: Do not throw exceptions on the driver for
403 SetWindowSize and SetWindowPosition, they can be treated as nops.
405 2006-08-18 Zoltan Varga <vargaz@gmail.com>
407 * *.cs: Use String.Empty instead of "" in a lot of places.
409 2006-08-17 Sebastien Pouliot <sebastien@ximian.com>
411 * DateTime.cs: Remove last patch to DateTime as the fix wasn't correct
412 and made most x.509 unit tests fails. However the original problem is
415 2006-08-14 Raja R Harinath <rharinath@novell.com>
418 * Activator.cs (CreateInstance): Throw ArgumentException on open
421 2006-08-14 Miguel de Icaza <miguel@novell.com>
423 * MonoType.cs: Do the argument testinf for SetField later,
424 otherwise the implicit (and not documented, but already considered
425 side effect of checking SetProperty) did not work.
429 2006-08-13 Atsushi Enomoto <atsushi@ximian.com>
431 * String.cs : Normalize() and IsNormalized() implementation.
433 2006-08-10 Jonathan Chambers <joncham@gmail.com>
435 * __ComObject.cs: Added defintion of IDispatch interface, and
436 property. Get CLSID of supertype for creation if class not
437 ComImport attributed (allows for inheritance of RCW).
438 * MonoType.cs: Implement IsCOMObjectImpl.
440 2006-08-09 Atsushi Enomoto <atsushi@ximian.com>
442 * DateTime.cs : fixed X509Certificate() case that regressed only
445 2006-08-07 Kornél Pál <kornelpal@gmail.com>
447 * Console.cs: Use correct code pages on Windows and initialize
448 InputEncoding and OutputEncoding to the actual encodings used.
450 2006-08-05 Duncan Mak <duncan@novell.com>
452 * Char.cs (TryParse): Implemented missing 2.0 method, which fixed
455 2006-07-28 Jonathan Chambers <joncham@gmail.com>
457 * __ComObject.cs: Added support for marshalling objects.
459 2006-07-24 Atsushi Enomoto <atsushi@ximian.com>
461 * Char.cs : implemented utf32 conversion methods thus fixed bug #78856.
463 2006-07-19 John Luke <john.luke@gmail.com>
465 * TermInfoDriver.cs: switch order of alt and control when
466 calling new ConsoleKeyInfo()
468 2006-07-19 Kornél Pál <kornelpal@gmail.com>
470 * String.cs: Improve CreateString () performance when length is zero.
472 2006-07-18 Kornél Pál <kornelpal@gmail.com>
474 * String.cs: Added CreateString () methods. Constructors with matching
475 argument list are redirected to these methods that improves
476 performance as well as fixes bug #78703.
478 2006-07-15 Jonathan Chambers <joncham@gmail.com>
480 * __ComObject.cs: Begin implementing COM Interop.
481 * Environment.cs: Increment corlib version.
483 2006-07-12 Zoltan Varga <vargaz@gmail.com>
485 * Delegate.cs (DynamicInvokeImpl): Add support for bound delegates in Net 2.0.
487 2006-07-11 Zoltan Varga <vargaz@gmail.com>
489 * Double.cs (Parse): Fix handling of inner whitespace.
491 2006-07-09 Zoltan Varga <vargaz@gmail.com>
493 * Int32.cs: Fix a warning.
495 2006-07-07 Atsushi Enomoto <atsushi@ximian.com>
497 * TimeZone.cs : consider DateTimeKind in ToLocalTime() and
498 ToUniversalTime(). Fixed bug #78784. Patch by Thong Nguyen.
499 * DateTime.cs : DateTimeKind for UtcNow should be Utc.
501 2006-06-28 Kornél Pál <kornelpal@gmail.com>
503 * Char.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.
505 2006-06-27 Atsushi Enomoto <atsushi@ximian.com>
507 * Double.cs : don't throw Exception in TryParse() for 'E'.
510 2006-06-20 Jb Evain <jbevain@gmail.com>
512 * Math.cs: implement Math.Truncate.
514 2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
517 Another lame win32 dependent pattern. Fixed bug #78618.
519 2006-06-09 Jonathan Chambers <jonathan.chambers@ansys.com>
521 * Environment.cs: Implement Set/GetEnvironmentVariable for User/Machine.
523 2006-06-07 Kornél Pál <kornelpal@gmail.com>
525 * Environment.cs: Use Consts.FxFileVersion for Environment.Version
526 as Consts.RuntimeVersion was removed.
528 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
531 * Environment.cs: Incremented corlib version since adding Variant.
533 2006-06-01 Raja R Harinath <rharinath@novell.com>
535 * Nullable.cs (operator==, operator!=): Remove.
537 2006-05-31 Zoltan Varga <vargaz@gmail.com>
539 * MonoDummy.cs: Removed as it is no longer needed.
541 * Environment.cs: Bump corlib version.
543 * Environment.cs: Revert the last change.
545 * Environment.cs: Bump corlib version.
547 * MonoAsyncCall.cs: New file.
549 2006-05-30 Gert Driesen <drieseng@users.sourceforge.net>
551 * Char.cs: Removed duplicate (explicit) interface implementation.
552 * String.cs: Removed duplicate (explicit) interface implemenation.
553 * MulticastDelegate.cs: Fixed API mismatches.
555 2006-05-29 Paolo Molaro <lupus@ximian.com>
557 * String.cs: make sure that the chars truncated by a stringbuilder
560 2006-05-29 Martin Baulig <martin@ximian.com>
563 (Exception.StackTrace): Use the new stack trace format which is
564 very similar to the one of MS.NET - method name goes first,
565 file / line number last and in the method name, we separate class
566 and method name by `.'.
569 (Environment.StackTrace): Enable line-number information.
571 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
574 Implement 2.0 TryParseExact(). Patch by Seo Sanghyeon.
576 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
578 * Array.cs : added internal sort method used
579 in System.Collections.Generics.List<T>.Sort(Comparison<T>).
581 2006-05-15 Zoltan Varga <vargaz@gmail.com>
583 * Environment.cs: Bump corlib version.
585 2006-05-10 Zoltan Varga <vargaz@gmail.com>
587 * MonoType.cs (GetMethodImpl): Fix a warning.
589 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
591 * ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
592 Patch by Kazuki Oikawa. Fixed bug #77277.
594 2006-05-07 Zoltan Varga <vargaz@gmail.com>
596 * Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
598 2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
600 * Nullable.cs : updated Nullable<T> API to 2.0 RTM.
602 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
604 * Double.cs : (Parse) handle currency symbol when
605 AllowCurrencySymbol is passed as part of the style. Patch by
606 nede@aliquant.com, modified to eliminate redundant Substring().
607 This fixes bug #77721.
609 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
611 * MonoType.cs : (GetMethod) when zero-length type[] is explicitly
612 passed, don't return methods with some arguments. Fixed bug #77367.
614 2006-04-21 Gert Driesen <drieseng@users.souceforge.net>
616 * Enum.cs: Provide meaningful message when type of passed in value
617 does not match enum type.
619 2006-04-19 Raja R Harinath <rharinath@novell.com>
621 * Char.cs (Equals): Don't access 'm_value' field of other
622 instances. Cast directly to 'char'.
624 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
626 * DateTime.cs : implement SpecifyKind(). Patch by Thong Nguyen.
628 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
630 * NumberFormatter.cs : general performance improvements. Avoid
631 extraneous evaluation for simple formatting. Details are seen in
632 bug #77792. Patch by Kazuki Oikawa.
634 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
636 * DateTime.cs : implement IsDaylightSavingTime().
637 Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>.
639 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
642 added some more [ReliabilityContract].
643 removed some [CLSCompliant].
644 renamed generic method parameter names.
646 2006-03-31 Zoltan Varga <vargaz@gmail.com>
648 * Environment.cs (SetEnvironmentVariable): Implement.
650 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
652 * Array.cs : oops, the last change caused regression. The array must
653 be transparent to ReadOnlyCollection, not create another list.
655 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
657 * Array.cs : AsReadOnly<T>() in RTM returns ReadOnlyCollection<T>.
658 Thus removed ReadOnlyArray<T> and ReadOnlyArrayEnumerator<T>.
659 In 2.0 some members became non-virtual.
661 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
663 * String.cs : oops, NET_2_0.
665 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
667 * String.cs : added new IndexOf() and LastIndexOf() overloads, and
668 IEnumerable<char>.GetEnumerator().
670 2006-03-21 Kornél Pál <kornelpal@gmail.com>
672 * String.cs: Make memcpy4 private as it is a helper method.
673 Make memcpy internal to can be used from UnicodeEncoding.
675 2006-03-19 Marek Safar <marek.safar@seznam.cz>
677 * Nullable.cs (Compare, Equals): Added constrain as gmcs now correctly
678 reports an error here.
680 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
682 * Double.cs : (Parse) reject String.Empty.
684 Wed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>
686 * LocalDataStoreSlot.cs: implement as index in an array.
687 Implemented finalizer and allow it to remove the data stored
690 2006-03-15 Zoltan Varga <vargaz@gmail.com>
692 * Environment.cs: Bump corlib version.
694 2006-03-10 Zoltan Varga <vargaz@gmail.com>
696 * MonoCustomAttrs.cs (IsDefined): Avoid a runtime assert if a type
697 overwrites GetCustomAttributes () but not IsDefined ().
699 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
701 * Environment.cs: Bumped corlib version to 48 (due to r57532)
703 2006-03-07 Martin Baulig <martin@ximian.com>
705 * String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
706 from the `provider' if possible.
708 2006-02-26 Gert Driesen <drieseng@users.souceforge.net>
710 * DecimalFormatter.cs: Removed obsolete class, as it has been replaced
712 * DoubleFormatter.cs: Same.
713 * SingleFormatter.cs: Same.
715 2006-02-21 Marek Safar <marek.safar@seznam.cz>
717 * String.cs (Equals): Optimized for speed.
719 2006-02-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
721 * TermInfoDriver.cs: patch by Mike Hull that fixes bug #77518.
723 Mon Feb 20 11:19:54 CET 2006 Paolo Molaro <lupus@ximian.com>
725 * MonoType.cs: patch from Joachim Ante <joe@otee.dk> to
726 improve error messages.
728 2006-02-15 Martin Baulig <martin@ximian.com>
730 * Type.cs (Type.IsGenericInstance): Removed.
732 2006-02-14 Ankit Jain <jankit@novell.com>
733 Raja R Harinath <rharinath@novell.com>
735 * ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
738 2006-02-11 Zoltan Varga <vargaz@gmail.com>
740 * TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
743 * TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
745 (GetCursorPosition): Convert the row and column to 0 based indexing.
746 Also fix reading of large values.
747 (CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.
749 * ConsoleDriver.cs (GetTtySize): New icall.
751 2006-02-10 Zoltan Varga <vargaz@gmail.com>
753 * Array.cs: Fix some methods which previously returned Nullable<T>.
755 * Nullable.cs: Add T: struct constraint and fix constructor.
757 Fri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
759 * String.cs: changed StartsWith/EndsWith to faster versions.
761 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
763 * String.cs: implement 2.0 StartsWith and EndsWith new overloads. Based
764 on a patch by Thong Nguyen.
766 2006-01-31 Zoltan Varga <vargaz@gmail.com>
768 * String.cs: Implement one of the new net 2.0 Split methods.
770 2006-01-31 Atsushi Enomoto <atsushi@ximian.com>
772 * String.cs : (LastIndexOf) Fixed bug #77412. It should not expect
773 that value length is bigger than its index.
775 2006-01-27 Zoltan Varga <vargaz@gmail.com>
777 * DateTime.cs: Add some 2.0 methods and properties.
779 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
781 * Console.cs: if InternalCodePage returns -1, use the default encoding.
782 Also match the UTF8 one properly. Patch by wall_john@sohu.com.
784 2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
786 * ModuleHandle.cs : GetPEKind() is not public in 2.0 RTM.
788 2006-01-16 Alp Toker <alp@atoker.com>
790 * TimeSpan.cs: Simple implementation of NET 2.0 TryParse() using
793 2006-01-05 Raja R Harinath <rharinath@novell.com>
795 Fix regressions introduced by the fix to #71300.
796 * Activator.cs (CreateInstance): Use Binder.SelectMethod instead
797 of home-grown FindBestCtor.
798 (FindBestCtor): Delete.
800 2006-01-03 Zoltan Varga <vargaz@gmail.com>
802 * Nullable.cs: Update to Net 2.0 RTM.
804 * Nullable.cs: Add comments about runtime dependencies on the layout of
807 2006-01-02 Sebastien Pouliot <sebastien@ximian.com>
809 * Activator.cs: Now find the best ctor when null are used for
810 paramaters. Fix bug #71300. Added checks for specific types (void,
811 TypedReference, ArgIterator and RuntimeArgumentHandle).
812 * Console.cs: Re-use Environment logic to detect Windows.
813 * Type.cs: Re-applied r45150 as the real bug was in Activator.
815 2006-01-02 Zoltan Varga <vargaz@gmail.com>
817 * Activator.cs: Add a 'params' to one of the CreateInstance overloads.
819 * RuntimeTypeHandle.cs RuntimeMethodHandle.cs RuntimeFieldHandle.cs:
820 Add == and != operators.
822 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
824 * Environment.cs: Bump corlib version to 46.
825 * TimeZone.cs: Partial fix for #76094. Added [Serializable] attribute
826 and renamed internal CurrentTimeZone class to CurrentSystemTimeZone
827 (like MS). This allows serialization roundtrip to work in Mono but
828 there's still an issue when deserializing a stream from MS.
830 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
832 * NumberFormatter.cs: Fixed rounding for float and the string output
833 now includes all the precision (not counting preceding zeros). This
834 fix the DecimalTest.TestConstructSingleRounding_NotWorking test cases.
836 2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
838 * Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
840 2005-12-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
842 * Array.cs: Added the Sort<T> methods (generics).
844 2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
846 * Array.cs: Fixed BinarySearch when the array is empty (#77030). Added
847 some null check which throws ArgumentNullException under 2.0.
849 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
851 * DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
852 * Double.cs: Under 2.0 throw a ArgumentException when parsing with
853 NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
854 second, simpler, TryParse method (2.0).
855 * Single.cs: Added the TryParse methods for 2.0.
857 2005-12-15 Raja R Harinath <rharinath@novell.com>
859 * Type.cs (IsGenericType): Make virtual.
861 2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
863 * AppDomainSetup.cs: ApplicationBase throw exception on get (not on
864 set). New behaviour is more like MS - but most issues (unit tests)
865 were really path issues. Fix bug #71291.
866 * DateTime.cs: Add more information when throwing an exception in
867 ctor(long). Useful for debugging.
869 2005-12-07 Zoltan Varga <vargaz@gmail.com>
871 * Single.cs Double.cs: Fix warnings.
873 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
875 * Convert.cs: ToBase64String method didn't use the option parameter so
876 we always included new lines. Fix bug #76876.
878 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
880 * AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC
881 (the docs were fixed).
882 * NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was
883 misrounded compared to MS implementation. Extra care is required when
884 dealing with the extra 2 digits information (e.g. double precision is
885 15 digits but 17 are kept - for a reason ;-)
887 2005-12-05 Ben Maurer <bmaurer@ximian.com>
889 * Environment.cs: Bump version
891 * Nullable.cs: New Box and Unbox methods for the jit
893 2004-12-05 Peter Dennis Bartok <pbartok@novell.com>
895 * Enum.cs: Properly handle "No bits set" case even if the sorted numbers
896 list does not have enum value 0 as the first item. Fixes #76921
898 2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
900 * AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
902 Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
904 * Double.cs: remove unused icall.
905 * BitConverter.cs: handle double binary format on ARM FPA.
907 2005-12-02 Alp Toker <alp@atoker.com>
910 * Type.cs: DeclaringMethod should return MethodBase, not MethodInfo
912 2005-12-02 Alp Toker <alp@atoker.com>
914 * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
915 ReflectionOnlyAssemblyResolve in 2.0 final
917 2005-12-01 Alp Toker <alp@atoker.com>
919 * String.cs: Add static and non-static Equals(... StringComparison) for
922 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
924 * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
926 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
928 * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
929 have to add 1 to x and y when setting the cursor position.
932 * Convert.cs: remove unused variables.
934 Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
936 * NumberFormatter.cs: work around arch-specific ulong cast behaviour
939 Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
941 * Convert.cs: fix endianess issue when converting to base-8
942 format. All the base code would need a rewrite for efficience.
944 2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
946 * String.cs: Added support for Compare(... StringComparison) in 2.0.
948 2005-11-25 Alp Toker <alp@atoker.com>
950 * Type.cs (IsVisible): New 2.0 property, implemented recursively.
952 2005-11-17 Dick Porter <dick@ximian.com>
954 * Environment.cs: Incremented corlib version
956 2005-11-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
958 * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
959 UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
960 methods to return the exception as an out parameter,
961 instead of throwing it. This will be of special help
963 * Environment.cs: Update corlib version to 42.
965 2005-11-14 Raja R Harinath <rharinath@novell.com>
967 * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
969 2005-11-11 Zoltan Varga <vargaz@gmail.com>
971 * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
973 2005-11-11 Lluis Sanchez Gual <lluis@novell.com>
975 * TimeZone.cs: Removed incorrect double-check lock and unneeded
978 2005-11-11 Marek Safar <marek.safar@seznam.cz>
980 * Type.cs: IsNested implemented, signature fixes.
982 2005-11-11 Raja R Harinath <rharinath@novell.com>
984 * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
986 2005-11-10 Zoltan Varga <vargaz@gmail.com>
988 * Array.cs (Resize<T>): New internal method which takes a 'length' argument
989 as well to avoid copying the whole array.
991 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
993 * Int64.cs : ditto for long.
995 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
997 * Int32.cs : Parse("2147483648", format_provider) should be rejected.
999 2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
1001 * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable]
1003 * Base64FormattingOptions.cs: Added missing [Flags] attribute.
1004 * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were
1005 already replaced by Backspace and Whitespace)
1006 * DateTime.cs: Moved DayOfWeek enum to it's own file.
1007 * DateTimeKind.cs: New (2.0) enum.
1008 * DayOfWeek.cs: New file (extracted from DateTime.cs).
1009 * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
1010 * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed
1011 values (-1 to all of them).
1012 * Exception.cs: Added a LinkDemand for SerializationFormatter on
1013 GetObjectData method.
1014 * LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable]
1015 on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
1017 * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0
1019 * StringComparison.cs: New (2.0) enum (needed for Uri).
1020 * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
1021 * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0
1024 2005-11-08 Atsushi Enomoto <atsushi@ximian.com>
1026 * Type.cs : I forgot to mention, some '(' were missing in the
1029 2005-11-08 Zoltan Varga <vargaz@freemail.hu>
1031 * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
1032 IsSerializable property, since the latter returns true for delegates/enums.
1034 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
1036 * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
1037 makes maintenance easier.
1039 2005-10-24 Martin Baulig <martin@ximian.com>
1041 * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
1043 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1045 * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
1047 2005-10-20 Raja R Harinath <rharinath@novell.com>
1049 * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
1051 2005-10-16 Michal Moskal <malekith@nemerle.org>
1053 * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
1055 2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
1057 * DateTime.cs : another crappy Windows dependent format.
1059 2005-10-14 Ben Maurer <bmaurer@ximian.com>
1061 * DateTime.cs: Speed up when parsing date time objects by not
1062 duplicating cultureinfo arrays.
1064 2005-10-13 Zoltan Varga <vargaz@gmail.com>
1066 * Type.cs (GetTypeCode): Applied patch from
1067 Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
1070 2005-10-07 Zoltan Varga <vargaz@gmail.com>
1072 * Delegate.cs: Add support for delegate covariance and contravariance
1075 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
1077 * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
1079 2005-09-26 Zoltan Varga <vargaz@gmail.com>
1081 * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
1084 2005-09-23 Miguel de Icaza <miguel@novell.com>
1086 * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
1088 2005-09-19 Zoltan Varga <vargaz@gmail.com>
1090 * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
1091 attributeType parameter.
1092 (IsDefined): New icall.
1094 * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
1095 object when only a specific attribute type is requested. Fixes #76062.
1097 * Environment.cs: Bump corlib version.
1099 2005-09-09 Zoltan Varga <vargaz@gmail.com>
1101 * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
1103 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
1105 * DateTime.cs : (_DoParse) don't check ticks range before computing
1106 the actual value. Fixed bug #76082.
1108 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
1110 * TimeZone.cs : When the target DateTime is in the range of
1111 DST end to DST + delta, don't adjust UtcOffset gap between that of
1112 DST and that of STD. This should fix bug #75985.
1114 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
1116 * TimeZone.cs, DateTime.cs :
1117 - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
1118 - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
1119 - use ToLocalTime() and don't depend on the own offset computation.
1120 Parse() with 'Z' pattern is closer to correct value on switching
1121 Daylight Saving Time. See bug #75985.
1123 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
1125 * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
1126 handled as expected and it kept time value as local one.
1127 Patch by Brion Vibber. Fixed bug #75995.
1129 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
1131 * DateTime.cs : Literal escape (\) was not checking format as
1132 expected. Fixed bug #75213.
1134 2005-09-05 Miguel de Icaza <miguel@novell.com>
1136 * MonoType.cs: Patch from Jonathan Chambers to implement
1139 2005-09-05 Martin Baulig <martin@ximian.com>
1141 Reflect latest API changes in the August CTP.
1143 * Type.cs (Type.HasGenericArguments): Removed.
1144 (Type.BindGenericParameters): Renamed to MakeGenericType().
1146 2005-09-01 Atsushi Enomoto <atsushi@ximian.com>
1148 * DateTime.cs : another idiotic COM dependent format.
1150 2005-09-01 Kornél Pál <kornelpal@hotmail.com>
1152 * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
1153 Added some comments about the class.
1155 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
1157 * AppDomain.cs: Use the more concise property syntax for declarative
1159 * AppDomainManager.cs: Default HostSecurityManager is null.
1161 2005-08-25 Atsushi Enomoto <atsushi@ximian.com>
1163 * NumberFormatter.cs : eliminate non-ASCII character.
1165 2005-08-25 Marek Safar <marek.safar@seznam.cz>
1167 * Enum.cs: Better exception message.
1169 2005-08-21 Gert Driesen <drieseng@users.sourceforge.net>
1171 * Convert.cs: In FromBase64String, return empty byte array for zero
1172 length string. Pass bool to InternalFromBase64String to control
1173 whether to allow a whitespace-only string.
1174 * Environment.cs: Bump corlib version.
1176 2005-08-20 Zoltan Varga <vargaz@freemail.hu>
1178 * Environment.cs: Bump corlib version.
1180 2005-08-19 Zoltan Varga <vargaz@freemail.hu>
1182 * Math.cs: Implement a new 2.0 Round method.
1184 2005-08-19 Gert Driesen <drieseng@users.sourceforge.net>
1186 * Convert.cs: Throw OverflowException if result is larger than
1187 ushort.MaxValue to match MS.NET. Remove commented code.
1189 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
1191 * Convert.cs: For now, do not throw OverflowException if hex prefixed
1192 value is negative for signed types (other than int64). Need to look
1195 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
1197 * Convert.cs: Numerous fixed in overloads taking base to match
1198 behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
1199 empty. If base is 16, 8 or 2, then throw ArgumentException if first
1200 character is a negative sign. Throw OverflowException if hex prefixed
1201 value is negative for signed types (other than int64) to match MS.NET.
1203 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
1205 * DateTime.cs : added another COM dependent pattern (rather to describe
1206 how it works on .NET than to add the pattern itself...).
1208 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
1210 * DateTime.cs : added case for bug #53023.
1212 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
1214 * Type.cs: Add IsGenericType property from NET 2.0.
1216 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
1218 * String.cs : added new StartsWith()/EndsWith() override, fixing
1219 existing EndsWith() which incorrectly assumed that both string
1220 lengths must be equivalent (they are not always equal).
1221 * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
1223 2005-08-09 Zoltan Varga <vargaz@freemail.hu>
1225 * String.cs: Implement Split(String[]) methods.
1227 2005-08-09 Miguel de Icaza <miguel@novell.com>
1229 * AppDomainSetup.cs: Full-pathization of the appBase should only
1230 be done on Windows, the ":" condition never applied to Linux.
1232 * ConsoleKey.cs: Include a few aliases for a few values that were
1233 introduced recently.
1235 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1237 * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
1240 2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
1242 * String.cs : (StartsWith) compared string lengths are not always the
1243 same in culture-sensitive comparison.
1245 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
1247 * Array.cs: Changed protected ctor to private. Fixes API compatibility
1249 * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
1250 be exposed in 2.0 profile.
1251 * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
1252 be exposed in 2.0 profile.
1253 * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
1254 be exposed in 2.0 profile.
1255 * Type.cs: Added GetType method and implemented _Type interface.
1256 Fixes API compatibility with MS.NET.
1258 2005-07-28 Marek Safar <marek.safar@seznam.cz>
1260 * StringComparer.cs: Add generics version of string interfaces.
1262 2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
1264 * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
1266 2005-07-26 Zoltan Varga <vargaz@freemail.hu>
1268 * StringSplitOptions.cs MidpointRounding.cs: New files.
1270 * String.cs Math.cs: Add stubs for some new 2.0 APIs.
1272 2005-07-26 Marek Safar <marek.safar@seznam.cz>
1274 * StringComparer.cs: New file.
1276 2005-07-26 Raja R Harinath <harinath@gmail.com>
1278 * Enum.cs (GetValue): Make private. Return an ulong.
1279 (Parse): Tighten scope of couple of variables. Use ulong when
1282 2005-07-25 Raja R Harinath <rharinath@novell.com>
1284 * Enum.cs (FindName, GetValue): New. Carved out of ...
1285 (Parse): ... this. Refactor and simplify code. Avoid incurring
1286 exceptions when parsing names. Avoid allocating arrays unless
1287 necessary. Avoid conversion of an enumeration constant to its own
1288 type. (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
1290 2005-07-13 Lluis Sanchez Gual <lluis@novell.com>
1292 * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
1295 2005-07-13 Miguel de Icaza <miguel@novell.com>
1297 * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
1298 signature for GetValue and SetValue to make the long [] argument
1299 be a params argument.
1301 2005-07-11 Pedro MartÃnez Juliá <pedromj@gmail.com>
1303 * Convert.cs: Fix the bug when Convert.ChangeType was using
1304 NumberFormatInfo instead of DateTimeFormatInfo when the type to
1305 change is a DateTime.
1307 2005-07-11 Martin Baulig <martin@ximian.com>
1309 * Array.cs: Use Type.Equals() instead of `==' to compare type
1312 2005-07-10 Kamil Skalski <nazgul@nemerle.org>
1314 * Type.cs: Mark BindGenericParameters as deprecated. Use
1315 MakeGenericType as default implementation with updated signature.
1317 2005-07-09 Zoltan Varga <vargaz@freemail.hu>
1319 * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
1322 2005-07-05 Lluis Sanchez Gual <lluis@novell.com>
1324 * DelegateSerializationHolder.cs: When the deserialized target is
1325 a proxy, call IsInstanceOfType to force the proxy to load the
1326 real type of the remote object. This is needed to make sure that
1327 subsequent calls to GetType() return the expected type. This fixes
1330 2005-07-03 Ben Maurer <bmaurer@ximian.com>
1332 * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
1335 2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
1337 * Guid.cs: Avoid code duplication between overriden methods (new in
1338 2.0). Avoid exception processing when possible. Renamed parameters to
1339 match the framework. Added ComVisible to NET_2_0.
1341 2005-06-28 Elliott Draper <el@eldiablo.co.uk>
1343 * Activator.cs: This implements the generic Activator.CreateInstance<T>()
1344 function for NET_2_0. It's full signature is:
1345 public static T CreateInstance<T>();
1347 2005-06-28 Lluis Sanchez Gual <lluis@novell.com>
1349 * Decimal.cs: Renamed internal fields for the sake of serialization
1350 interoperability with MS.NET.
1351 * Exception.cs: In the StackTrace property, return the stack trace
1352 if it has a value, even if the exception has not been thrown
1353 (it may have been deserialized).
1355 2005-06-28 Martin Baulig <martin@ximian.com>
1357 * Array.cs (Array.InternalArray<T>): New nested class; derives
1358 from Array. This is now used by the runtime for arrays; fixes #74953.
1360 2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
1362 * String.cs : added some extra whitespace characters for Trim().
1365 2005-06-13 Michal Moskal <malekith@nemerle.org>
1367 * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
1368 since it now throws on MethodBuilders. Don't use FieldHandle in
1369 GetField (throws on FieldBuilder) - just use the name.
1371 2005-06-13 Martin Baulig <martin@ximian.com>
1374 (MonoType.getFullName): Added `bool assembly_qualified' argument.
1375 (MonoType.AssemblyQualifiedName): The interncall now adds the
1376 assembly name, so we don't need to do it here.
1377 (MonoType.FullName): Use the new getFullName() API.
1379 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
1381 * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in
1382 NET_2_0. Added "new" white char and ComVisible for 2.0.
1384 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1386 * Convert.cs: FromBase64String and FromBase64CharArray are now internal
1387 calls to avoid extra allocations.
1389 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
1391 * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
1393 * Type.cs MonoType.cs: Add internal virtual
1394 Get{Method,Constructor,Field} for obtaining instanciated *Info objects
1395 from non-instanciated counterparts
1397 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
1399 * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
1401 2005-06-08 Zoltan Varga <vargaz@freemail.hu>
1403 * Type.cs: Add missing 2.0 attributes.
1405 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1407 * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
1408 also internal method GetCustomAttributesData, used by
1409 System.Reflection.CustomAttributeData.
1411 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
1413 * Activator.cs: Added _Activator interface (and members) for 1.1 and
1414 missing attributes (for both 1.1 and 2.0).
1415 * String.cs: Made internal To[Lower|Upper]Invariant methods public for
1416 2.0. Reworked Trim() to skip a useless call. Added missing attribute
1418 * Type.cs: Added _Type, _MemberInfo interfaces (1.1/2.0). Added
1419 missing attribute for 2.0. Hided some public/protected methods.
1421 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
1423 * ModuleHandle.cs: Update after PortableExecutableKinds name change.
1425 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
1427 * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
1428 * AppDomain.cs: Added new members from _AppDomain interface.
1429 * AppDomainManager.cs: Fixed flags and added attributes.
1430 * DomainManagerInitializationFlags.cs: The flag has been renamed to
1431 AppDomainManagerInitializationOptions in beta2.
1433 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
1435 * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
1437 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
1439 * Exception.cs: Implements _Exception only for 2.0.
1441 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
1445 * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs
1446 String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs
1447 RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
1449 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1452 * AppDomain.cs: if the assembly is loaded from a byte array, Location
1453 returns "". Fixes bug #74958.
1455 2005-06-04 Ben Maurer <bmaurer@ximian.com>
1457 * *.cs: More 2.0 API fixups
1459 * *.cs: In beta 2, generics are no longer non-cls-compliant.
1461 2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
1463 * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
1464 that was different from MSFT.
1465 * String.cs: Fixed IndexOfAny thrown an exception
1466 when startIndex of arguments equals Length. (Closes bug #75083.)
1468 * Decimal.cs: Changed to use NumberFormatter in ToString.
1469 * NumberFormatter.cs: Implemented decimal formatter.
1471 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1473 * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
1474 support in System.Net work again.
1476 2005-06-01 Ben Maurer <bmaurer@ximian.com>
1478 * CharEnumerator.cs: add IEnumerable <char> support
1480 2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
1482 * Activator.cs: Added missing validation on parameters.
1484 2005-05-28 Ben Maurer <bmaurer@ximian.com>
1486 * Type.cs: Check that the arguments of the `types' array are
1487 non-null. Fixes bug 71300
1489 2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
1491 * AppDomainSetup.cs: Added new 2,0 constructors and the
1492 ActivationArguments property.
1493 * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
1494 new location for the ApplicationActivator class.
1495 * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
1497 2005-05-27 Vladimir Vukicevic <vladimir@pobox.com>
1499 * Environment.cs: bump corlib version for bug #75060.
1501 2005-05-27 Raja R Harinath <rharinath@novell.com>
1503 * Environment.cs (ExpandEnvironmentVariables): Rewrite
1504 sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
1505 * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
1506 sb.Append (s, a, s.Length - a). Avoid allocating 'pad' string --
1507 StringBuilder has an appropriate Append overload.
1509 2005-05-26 Zoltan Varga <vargaz@freemail.hu>
1511 * Type.cs (IsEnum): Special case EnumBuilder here.
1513 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
1515 * MonoType.cs: Changed call from GetName to UnprotectedGetName to
1516 allow call to work with serialization under a restrictive policy.
1517 The code path (the protected information) isn't being used.
1519 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
1521 * Exception.cs: Use the new StackTrace ctor.
1523 * Type.cs: Improve support for user defined type subclasses.
1525 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
1527 * DateTime.cs : Added minimum digit parameter to ParseNumber() to
1528 reject 2 digit years for "yyyy".
1529 Use GetAllDateTimePatterns() instead of constant string.
1532 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
1534 * DateTime.cs : next_not_digit prevented some valid parse.
1535 Just remove it, since now we pass max length to ParseNumber() and
1536 thus it is not needed anymore. Fixed bug 63137.
1538 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
1540 * DateTime.cs : HH should not always block tt. Fixed bug #60912.
1541 Reset num after whitespace parsing.
1542 Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
1544 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
1546 * DateTime.cs : Allow ',' where whitespaces are allowed.
1549 2005-05-22 Ben Maurer <bmaurer@ximian.com>
1551 * BitConverter.cs: Speed this up, fixing 74014. Patch from
1552 `Aleksandar Dezelin'.
1554 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
1556 * Type.cs: Add some helper methods needed by other classes.
1558 * Array.cs: Improve support for user defined Type subclasses.
1560 * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
1561 wrapper function, not used yet.
1563 * Type.cs Array.cs: Revert this as it breaks the build.
1565 * Type.cs Array.cs: Improve support for user defined Type subclasses.
1567 2005-05-19 Ben Maurer <bmaurer@ximian.com>
1569 * Delegate.cs (Equals): Use `as' to protect in the case where !
1572 2005-05-19 Raja R Harinath <rharinath@novell.com>
1574 * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
1577 2005-05-19 Miguel de Icaza <miguel@novell.com>
1579 * TermInfoDriver.cs: Removed warning.
1581 * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
1582 FindLastIndex<T>: Parameter names are normative.
1583 Fix coding style ("Method<T>" not "Method <T>")
1584 Throw argument exceptions per argument.
1586 (FindAll): Fix bug, actually return the values that were computed,
1587 not a short version of the original array.
1589 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1591 * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
1592 for each framework version.
1594 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1597 * Exception.cs: .Net 1.1 already has these interfaces
1599 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
1601 * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
1602 object on GetCustomAttributes (fixes bug #74717).
1604 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
1606 * DateTime.cs : for 'z' next_not_digit didn't work as expected.
1609 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
1611 * DateTime.cs : don't allow extraneous pattern characters also for
1612 non-exact parsing (ParseExact() was fine). Bug #74936 fixed
1614 2005-05-13 Gert Driesen <drieseng@users.sourceforge.net>
1616 * Activator.cs: Match exceptions thrown by MS.NET for
1617 CreateInstance overloads if type is abstract. Fixes bug #74861.
1619 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1621 * OperatingSystem.cs: PlatformID.Unix.
1623 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
1625 * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
1626 Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
1628 2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
1630 * NumberFormatter.cs : roundtrip number is already rounded before
1631 FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
1634 2005-05-07 Ben Maurer <bmaurer@ximian.com>
1636 * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
1637 the comparer in the same order as msft. Fixes #70725
1639 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1641 * Enum.cs: the hashtable don't need to be synchronized any more, since
1642 it's only accessed from withint a lock.
1644 * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
1647 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
1649 * Array.cs: Remove CLSCompliant (false) attributes.
1651 2005-05-06 Martin Baulig <martin@ximian.com>
1653 * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
1654 [CLSCompliant(true)] attribute.
1656 2005-05-04 Miguel de Icaza <miguel@novell.com>
1658 * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
1659 initialize cache as a static method. Fixes #74828.
1661 2005-05-03 Marek Safar <marek.safar@seznam.cz>
1663 * Console.cs: CancelKeyPress is stubbed.
1665 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
1667 * ActivationContext.cs: Updated for beta2.
1668 * AppDomainManager.cs: Updated for beta2.
1669 * ApplicationId.cs: Updated for beta2.
1670 * ApplicationIdentity.cs: Updated for beta2.
1671 * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception
1672 doesn't leak the code base from the returned AssemblyName.
1674 2005-04-25 Martin Baulig <martin@ximian.com>
1676 * Environment.cs (Environment.Version): Changed to 2.0.50215.
1678 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
1680 * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the
1681 number of "missing" in the class status pages.
1683 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1685 * MulticastDelegate.cs: (GetInvocationList) when building the list that
1686 is later traversed forward, mark 'this' as the end of the chain.
1689 2005-04-19 Zoltan Varga <vargaz@freemail.hu>
1691 * Environment.cs: Bump corlib version.
1693 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1695 * WindowsConsoleDriver.cs: ignore key release events.
1697 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
1699 * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
1701 2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
1703 * _AppDomain.cs: Add security checks to the interface. Declarative
1704 security on events requires BOOTSTRAP_WITH_OLDLIB to work properly
1706 * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
1707 blocking some cases from working properly. Declarative security on
1708 events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
1710 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
1712 * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
1713 on the AppDomain. Added an internal property to get the granted set.
1715 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
1718 Char.cs : use TextInfo for ToLower() and ToUpper().
1720 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
1722 * Exception.cs: Added Assert for TypeInformation to GetObjectData and
1723 ToString methods (not required for 2.0 as TypeInformation will be
1724 deprecated). Added null check for GetObjectData.
1726 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
1728 * Delegate.cs: allow IronPython 0.7 to compile.
1730 2005-03-24 Miguel de Icaza <miguel@novell.com>
1732 * Delegate.cs: Add CreateDelegate with a target option, currently
1733 internal as it is not exposed by the framework yet.
1735 2005-03-24 Zoltan Varga <vargaz@freemail.hu>
1737 * String.cs: Add some 2.0 methods.
1739 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
1741 * Activator.cs: Now use the supplied evidences when loading
1742 assemblies. Added LinkDemand for RemotingConfiguration on both
1744 * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
1745 Input|Output] as they use a handle on a FileStream (which is
1746 restricted otherwise). Added Demand for UnmanagedCode for the
1747 Set[Error|In|Out] methods.
1748 * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on
1749 CreateObjRef, GetLifetimeService and InitializeLifetimeService.
1750 * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on
1751 GetFunctionPointer method.
1752 * TypedReference.cs: Added LinkDemand for ReflectionPermission's
1753 MemberAccess on MakeTypedReference.
1755 2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
1757 * Environment.cs: Fix CAS unit tests for NET_1_1.
1758 * Exception.cs: Fix CAS unit tests for NET_1_1.
1760 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1762 * Version.cs: don't ignore the last number. Fixes bug #73539.
1764 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
1766 * MonoType.cs: When the security manager is active, constructors and
1767 methods will return null if a linkdemand fails during reflection
1770 2005-03-11 Zoltan Varga <vargaz@freemail.hu>
1772 * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
1774 2005-03-10 Zoltan Varga <vargaz@freemail.hu>
1776 * Environment.cs: Bump corlib version.
1778 2005-03-10 Martin Baulig <martin@ximian.com>
1780 * Nullable.cs (Nullable<T>.ToString): Return an empty string if
1783 2005-03-09 Zoltan Varga <vargaz@freemail.hu>
1785 * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
1786 (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
1789 2005-03-04 Zoltan Varga <vargaz@freemail.hu>
1791 * Environment.cs: Bump corlib version.
1793 * Exception.cs (StackTrace): Return the wrapper info as well.
1795 2005-03-02 Kazuki Oikawa <kazuki@panicode.com>
1797 * NumberFormatter.cs: Some internal classes was converted to structs,
1798 and improved some points.
1800 2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
1802 * NumberFormatter.cs: Improved performance and memory usage
1803 when integer standard format.
1814 * TimeSpan.cs: Improved these directly call to NumberFormatter.
1816 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1818 * TermInfoDriver.cs: set the xmit mode if available. Handle key input
1819 and translate them into a ConsoleKeyInfo.
1820 * TermInfoReader.cs: added a method to return the bytes of a string
1822 * ConsoleKeyInfo.cs: added copy constructor and setters.
1824 2005-02-24 Zoltan Varga <vargaz@freemail.hu>
1826 * Array.cs: Add missing 2.0 attributes and correct some parameter names.
1828 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1830 * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
1831 and added some to support the reflection only methods. DoAssemblyResolve
1832 was modified to invoke the new PreBindAssemblyResolve event when the
1833 assembly is reflection only.
1835 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
1837 * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
1838 Add net 2.0 ReliabilityContractAttributes.
1840 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1842 * TermInfoDriver.cs: cygwin terminals are handled by the windows
1845 * TermInfoReader.cs:
1846 * TermInfoNumbers.cs:
1847 * KnownTerminals.cs:
1848 * TermInfoBooleans.cs:
1849 * TermInfoStrings.cs: documented.
1851 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
1853 * Array.cs: Reverse the order in the Equals calls.
1855 2005-02-18 Zoltan Varga <vargaz@freemail.hu>
1857 * Exception.cs (StackTrace): Implement this in managed code since it is
1858 needed by CAS. Fixes #72146.
1860 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1862 * WindowsConsoleDriver.cs: implemented MoveBufferArea.
1864 2005-02-14 Raja R Harinath <rharinath@novell.com>
1866 * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
1869 2005-02-12 Ben Maurer <bmaurer@ximian.com>
1871 * Version.cs (CompareTo, Equals): Make sure the versions for
1872 generics handle `null'. The non-generics versions now just call
1873 the regular versions, to reduce code duplication.
1875 * Boolean.cs (CompareTo): make this really work for generics
1877 * Type.cs (GetProperty): Passing new Type [0] is different than
1878 null. null means `I don't care how many types this has,' while new
1879 Type [0] means `this must have 0 types.'
1881 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1883 * corlib.dll.sources: added WindowsConsoleDriver.cs
1885 * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
1886 implemented the few missing properties/methods.
1888 * System/IConsoleDriver.cs: uncommented all methods/properties.
1889 * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
1890 * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
1891 windows. Only missing MoveBufferArea by now.
1893 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
1895 * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
1897 * Int32.cs AppDomain.cs: Fix warnings.
1899 2005-02-10 Marek Safar <marek.safar@seznam.cz>
1901 * IServiceProvider.cs: Is not ComVisible.
1903 * NonSerializedAttribute.cs: Fix AttributeUsage flags.
1905 * Type.cs: Fix ClassInterface attribute.
1907 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
1909 * Delegate.cs: remove the finalizer from Delegate: this
1910 is handled internally by the runtime now.
1912 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1914 * Activator.cs: provide the Type name when throwing an exception.
1916 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1918 * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
1921 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
1923 * Array.cs: provide specialized versions of some methods.
1925 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
1927 * String.cs: provide a managed memcpy and memset method
1928 for use both in corlib and from the JIT. Implement
1929 some methods with the managed helpers and remove some icalls.
1931 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
1933 * Exception.cs: Added Data property for NET_2_0 (required for new
1936 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1939 * TermInfoDriver.cs:
1940 * IConsoleDriver.cs:
1941 * Console.cs: added BufferWidth and BufferHeight.
1943 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1947 * TermInfoDriver.cs:
1948 * IConsoleDriver.cs: added a few more properties and fixed cursor
1951 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1953 * ConsoleDriver.cs: static class that forwards the Console 2.0 class
1954 calls to the proper driver.
1955 * TermInfoDriver.cs: terminfo based console driver.
1956 * IConsoleDriver.cs: interface implemented by console drivers.
1958 * ConsoleCancelEventArgs.cs:
1959 * ConsoleCancelEventHandler.cs:
1961 * ConsoleModifiers.cs:
1962 * ConsoleSpecialKey.cs:
1964 * ConsoleKey.cs: new enumerations.
1966 * ConsoleKeyInfo.cs: New file.
1968 * TermInfoReader.cs: reader for terminfo capabilities files.
1970 * TermInfoNumbers.cs:
1971 * TermInfoBooleans.cs:
1972 * TermInfoStrings.cs: enumations for terminfo property names.
1974 * KnownTerminals.cs: byte arrays for selected terminals.
1976 * Console.cs: added more 2.0 methods and implemented some of them.
1979 2005-01-30 Atsushi Enomoto <atsushi@ximian.com>
1981 * Int32.cs : (FindSign) IndexOf() is better than creating substring.
1983 2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
1985 * BadImageFormatException.cs: Protect the fusion (GAC) log from being
1986 disclosed unless code has ControlPolicy and ControlEvidence.
1988 2005-01-27 Zoltan Varga <vargaz@freemail.hu>
1990 * Exception.cs: Compute stack trace on demand.
1992 2005-01-26 Sebastien Pouliot <sebastien@ximian.com>
1994 * Environment.cs: Removed hack for static class (NET_2_0). Added
1995 proper security for FailFast (documented in FDBK20543). Added new
1996 method IsRunningOnWindows to replace (Platform == 128) as the logic is
1997 gonna change in the future (Unix is id #4 in NET_2_0).
1999 2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
2001 * Environment.cs: Added CAS security (both declarative and imperative)
2002 as a test. This shouldn't affect execution unless --security is
2005 2005-01-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2006 * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
2007 and Type.FilterName delegates They weren't dealing with the optional '*'
2008 at the end of the filter mask
2010 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
2012 * Array.cs: Fix a typo in the previous patch.
2014 * Array.cs: Fix some test failures in the generic methods.
2016 * Array.cs: Implement AsReadOnly.
2018 2005-01-13 Geoff Norton <gnorton@customerdna.com>
2020 * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE). Fixes
2023 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
2025 * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
2026 have been removed from 2.0.
2028 2005-01-11 Zoltan Varga <vargaz@freemail.hu>
2030 * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
2033 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
2035 * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
2036 Add default culture (neutral) to the name when none is specified.
2037 * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we
2040 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
2042 * DateTime.cs: Reverted last patch for utc as it broke all certificate
2043 handling and another unit test in DateTime.
2045 2005-01-09 Miguel de Icaza <miguel@ximian.com>
2047 * DateTime.cs: Return immediately if useutc is set to true, there
2048 is no need to do the extra computation (which also happened to
2049 create a new DateTime using the `use_localtime' constructor, which
2050 lead to the erroneous date returns when using 'u' or `U'
2053 Fixes another bug in the regression test suite.
2055 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
2057 * AppDomain.cs: Fix the DefaultDomain property to return the root
2058 domain (as it seems that the root's Id isn't always 0).
2059 * BitConverter.cs: The "special support" for ToString(new byte[0]) is
2060 only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
2062 2005-01-08 Miguel de Icaza <miguel@ximian.com>
2064 * IntegerFormatter.cs: The - sign inside the "negative" section in
2065 a multi-format string means `show the sign' only if it is the
2066 first token, not `copy verbatim'. In the other sections it means
2069 This makes things like: (-34).ToString ("#;-#") show up as "-34"
2072 The bad news is that this code needs to be rewritten to handle all
2073 the formatting cases, see bug #71112 for details.
2075 * Convert.cs (Convert.ToType): Throw an InvalidCastException if
2076 the conversion is invalid, not ArgumentException, this fixes
2077 another regression in our test suite.
2079 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
2081 * AppDomain.cs: Add ApplicationIdentity property for 2.0;
2082 * AppDomainManager.cs: Remove HostRefusedSet support (it does not
2085 2005-01-08 Zoltan Varga <vargaz@freemail.hu>
2087 * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static
2088 initialization problems.
2090 2005-01-02 Ben Maurer <bmaurer@ximian.com>
2092 * Int32.cs: NumberStyles.AllowExponent was supported by the
2093 Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
2096 2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
2098 * Base64FormattingOptions.cs : it was not in System namespace.
2100 2004-12-21 Atsushi Enomoto <atsushi@ximian.com>
2102 * DateTime.cs : If no progress on value string, don't regard as
2103 matched. This fixes bug #70707.
2105 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
2107 * Environment.cs: Bump corlib version.
2109 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
2111 * Array.cs (DoBinarySearch): Fix a warning.
2113 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
2115 * Environment.cs: Bump corlib version.
2117 * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
2119 2004-12-06 Ben Maurer <bmaurer@ximian.com>
2121 * Exception.cs: Prevent stringifying the type name on the
2122 ctor. this gets called a few times on every execution to create a
2125 2004-12-06 Martin Baulig <martin@ximian.com>
2127 * Decimal.cs: Decimal constant support has been merged into GMCS,
2130 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
2132 * Environment.cs: Bump corlib version.
2134 * Environment.cs: Bump corlib version.
2136 2004-11-30 Zoltan Varga <vargaz@freemail.hu>
2138 * MonoType.cs (UnderlyingSystemType): Make this return this as in
2139 MS.NET. Fixes #56245.
2141 2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
2143 * GC.cs : Collect(generation) actually does not throw an exception
2144 even if generation > MaxGeneration (MS document bug).
2146 2004-11-28 Zoltan Varga <vargaz@freemail.hu>
2148 * Exception.cs: Implement _Exception under NET_2_0.
2150 * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
2152 * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
2153 NotCancelableException.cs TimeoutException.cs: New files.
2155 2004-11-23 Raja R Harinath <rharinath@novell.com>
2157 * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
2160 2004-11-23 Raja R Harinath <rharinath@novell.com>
2162 * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
2163 without decimal constant support.
2165 2004-11-23 Marek Safar <marek.safar@seznam.cz>
2167 * Decimal.cs: Updated to use compiler decimal constant support.
2169 2004-11-20 Zoltan Varga <vargaz@freemail.hu>
2171 * MonoType.cs: Revert last change since it breaks remoting.
2173 2004-11-18 Zoltan Varga <vargaz@freemail.hu>
2175 * MonoType.cs (UnderlyingSystemType): Make this return this as in
2176 MS.NET. Fixes #56245.
2178 2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
2180 * INullable.cs: New interface added.
2181 * Nullable.cs: Methods added. Also a static Nullable class
2182 containing static methods.
2184 2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
2186 * BitConverter.cs: Added support for special case when ToString is
2187 called with (new byte [0]).
2189 2004-11-10 Lluis Sanchez <lluis@novell.com>
2191 * Exception.cs: Added setter for StackTrace.
2193 2004-11-07 Ben Maurer <bmaurer@ximian.com>
2195 * IntegerFormatter.cs: Avoid .ToCharArray
2197 2004-11-06 Ben Maurer <bmaurer@ximian.com>
2199 * Single.cs, Double.cs (GetHashCode): Better hashcode impl
2201 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2203 * InvalidOperationException.cs: make the message more meaningful and
2204 real. Fixes bug #69055.
2206 2004-10-28 Ben Maurer <bmaurer@ximian.com>
2208 * String.cs: Rather than == String.Empty, use .Length == 0. It
2209 is a bit faster (avoids a method call, and the code is less complex).
2211 2004-10-24 Fawad Halim <fawad@fawad.net>
2212 * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
2213 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.
2214 This fixes bug #64995.
2216 2004-10-19 Lluis Sanchez <lluis@novell.com>
2218 * MarshalByRefObject.cs: Field _identity is not serializable.
2219 This fixes bug #68567.
2221 2004-10-17 Ben Maurer <bmaurer@ximian.com>
2223 * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
2224 avoid entering slow integer formatting code.
2226 (_ToString): Use ZeroPad here when possible, as it is faster.
2228 2004-10-11 Martin Baulig <martin@ximian.com>
2230 * Environment.cs: Bump corlib version to 28.
2232 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
2234 * Convert.cs (ToType): Throw an exception when converting null to a
2235 valuetype. Fixes #67780.
2237 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
2239 * DateTime.cs : Performance fix. ParseExact() implementation should
2240 avoid s = s.Substring(1).
2242 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
2244 * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
2245 of m/s/t/z. This fixes bug 66723.
2247 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
2249 * String.cs: make GetHashCode() managed.
2251 2004-10-04 Zoltan Varga <vargaz@freemail.hu>
2253 * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
2255 * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
2257 * ModuleHandle.cs: Add missing methods.
2259 * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
2261 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
2263 * AttributeTargets.cs: Add 2.0 GenericParameter value.
2265 * Environment.cs: Bump corlib version.
2267 2004-10-02 Zoltan Varga <vargaz@freemail.hu>
2269 * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
2271 2004-09-30 Geoff Norton <gnorton@customerdna.com>
2273 * Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
2274 and swapping of all values before going into the BitConverter so that values
2275 are returned with proper endianess.
2277 2004-09-23 Martin Garton <martin@wrasse.demon.co.uk>
2279 * Convert.cs: ToType was returning unconverted object when it should
2280 fail with an ArgumentException.
2282 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
2284 * Array.cs: Add stub for AsReadOnly<T>.
2286 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
2288 * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
2290 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
2293 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
2295 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
2298 * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
2301 * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
2303 * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
2304 sealed' optimization.
2306 * Type.cs: Implement 2.0 StructLayoutAttribute property.
2308 * Type.cs Add GetPseudoCustomAttributes () method.
2310 2004-09-24 Martin Baulig <martin@ximian.com>
2312 * Type.cs (Type.GetGenericParameterConstraints): New public method.
2314 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
2316 * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
2317 GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
2319 * Type.cs: Tweak Module property in 2.0 build.
2321 2004-09-23 Martin Baulig <martin@ximian.com>
2323 * Type.cs (Type.GenericParameterAttributes): New public property.
2325 2004-09-23 Martin Baulig <martin@ximian.com>
2327 * GenericParameterAttributes.cs: New file.
2329 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
2331 * ModuleHandle.cs: Updated after changes to Module class.
2333 2004-09-21 Geoff Norton <gnorton@customerdna.com>
2335 * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
2336 this filter. Fixes bug #65778.
2338 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
2340 * Environment.cs: Bump corlib version.
2342 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
2344 * ModuleHandle.cs: New file.
2346 * RuntimeFieldHandle.cs: Add an internal ctor.
2348 2004-09-19 Dick Porter <dick@ximian.com>
2350 * Console.cs: Use the internal wrappers for StreamReader and
2351 StreamWriter that catch IOException.
2353 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
2355 * Environment.cs: Bumped mono_corlib_version to 25.
2357 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2359 * AppDomain.cs: added SetupInformationNoCopy property, since
2360 SetupInformation creates a copy now, all updates to it should use the
2361 actual data. Fixes bug #61991 take 2.
2363 2004-09-09 Tim Coleman <tim@timcoleman.com>
2364 * Base64FormattingOptions.cs: New enum
2365 * Convert.cs: Add new ToBase64String methods for Fx 2.0
2367 2004-09-08 Marek Safar <marek.safar@seznam.cz>
2370 * GC.cs: Class is static for NET_2_0.
2372 2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
2374 * Activator.cs: Make sure not to call .GetType on a
2375 null argument. fixes 63852
2377 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
2379 * Array.cs (Clear): make this an icall.
2381 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
2383 * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
2385 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2387 * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
2388 insensitive enironment variables hashtable once we create it.
2390 2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
2392 * AppDomain.cs: Changed 2 imperative security demands to declarative
2393 (unsupported) so it doesn't (for now) call the security runtime.
2395 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
2397 * Delegate.cs: Free the delegate trampoline in the finalizer.
2399 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
2401 * ApplicationId.cs: Completed GetHashCode using information from MS
2404 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
2406 * Boolean.cs: Added TryParse static method for NET_2_0 profile.
2408 2004-08-19 Atsushi Enomoto <atsushi@ximian.com>
2410 * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
2411 allows 12, that should not be accepted (13 is rejected) and
2412 interpreted as 0. This fixes bug 63376.
2414 2004-08-17 Sebastien Pouliot <sebastien@ximian.com>
2416 * Version.cs: Fixed Clone so we can use it on versions with only
2417 major/minor or major/minor/build.
2419 2004-08-17 Martin Baulig <martin@ximian.com>
2421 * MonoType.cs (MonoType.getFullName): Added `bool full_name'
2422 argument specifying whether or not to include the type arguments.
2423 (MonoType.FullName): Don't include the type arguments.
2424 (MonoType.ToString): Include them here.
2426 * Environment.cs: Bumped mono_corlib_version to 24.
2428 2004-08-16 Duncan Mak <duncan@ximian.com>
2430 * AttributeUsageAttribute.cs: Change the AttributeUsage to
2431 AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
2434 2004-08-11 Marek Safar <marek.safar@seznam.cz>
2436 * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
2437 Added call to AddPermissionRequests to pass permissions
2439 * Environment.cs: Added a few Fx 2.0 methods
2441 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
2443 * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
2444 * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
2445 references). Added (non-obsolete) Fx 2.0 properties and methods.
2446 * AppDomainSetup.cs: Added internal copy constructor.
2447 * DomainManagerInitializationFlags.cs: Fixed values.
2449 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
2451 * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
2452 * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
2453 * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
2454 * ApplicationId.cs: New Fx 2.0 class.
2455 * ApplicationIdentity.cs: Fixed ToString.
2456 * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
2458 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
2460 * AppDomain.cs: Added a new icall, getDomainByID, to get the an
2461 AppDomain using it's Id. Completed SetAppDomainPolicy.
2462 * Environment.cs: Bumped mono_corlib_version to 23.
2464 2004-08-02 Martin Baulig <martin@ximian.com>
2466 * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
2468 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
2470 * Environment.cs : GacPath on windows is based on mscorlib.dll, and
2471 now its location is changed.
2473 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
2475 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
2478 2004-07-18 Martin Baulig <martin@ximian.com>
2480 * Array.cs: Ben Maurer implemented all the new generic methods
2483 2004-07-17 Martin Baulig <martin@ximian.com>
2485 * Decimal.cs: Implement IComparable<Decimal>.
2487 2004-07-17 Martin Baulig <martin@ximian.com>
2489 * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
2490 UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.
2492 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
2494 * ActivationContext.cs: New class in Fx 2.0. Required for
2495 System.Security.Policy.
2496 * ApplicationIdentity.cs: New class in Fx 2.0. Required for
2497 System.Security.Policy.
2498 * IApplicationDescription.cs: New interface in Fx 2.0. Required for
2499 System.Security.Policy.
2500 * IHostContext.cs: New interface in Fx 2.0. Required for
2501 System.Security.Policy.
2503 2004-07-12 Geoff Norton <gnorton@customerdna.com>
2505 * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
2506 boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
2507 and will add/subtract the hour if needed
2509 2004-07-07 Geoff Norton <gnorton@customerdna.com>
2511 * Monotype.cs: Patch for bug #58844. Dont throw exceptions right away;
2512 pass through all the possibly BindingInfo's and keep a bool value as to the type
2513 of exception we might need to throw;
2515 2004-07-07 Geoff Norton <gnorton@customerdna.com>
2517 * Patch to fix bug #58973
2519 2004-07-02 Jackson Harper <jackson@ximian.com>
2521 * PlatformID.cs: New 2.0 values.
2523 2004-06-25 Ben Maurer <bmaurer@ximian.com>
2525 * Environment.cs: GetFolderPath has new behavior. r=miguel
2527 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
2529 * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
2530 bigger than 9999. Fix bug #41845.
2531 * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
2532 the "R"eversible format for negative numbers.
2534 2004-06-21 Jackson Harper <jackson@ximian.com>
2536 * Decimal.cs: Make sure to use invariant culture when parsing
2537 floats stringified with the invariant culture. Patch by Rodrigo
2540 2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
2542 * FloatingPointFormatter.cs : Literal string should be kept in the
2545 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
2547 * DateTime.cs : Concatenating whitespace removal was not working fine.
2548 Modified FormatException message (1 cent kindness).
2550 2004-06-18 Ben Maurer <bmaurer@ximian.com>
2552 * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
2553 new generics classes
2554 * IComparable.cs: add the new <T> version.
2555 * EventHandler.cs: new <T> version.
2557 2004-06-18 Dick Porter <dick@ximian.com>
2559 * String.cs: The icall can cope with embedded \0 now.
2561 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
2564 - Added new common pattern "yyyy/M/dZ"
2565 - empty string should not be compared in _ParseEnum()
2566 - Use culture independent string comparison in _ParseString()
2567 - Whitespace removal should be checked after '..' token check (some
2568 pattern such like es-ES LongDatePattern contains spaces in '..').
2569 - formats null check should be done (to throw ArgumentNullException)
2571 - When specified one character format, dates are incorrectly regarded
2572 as to use invariant culture.
2574 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2576 * ArgIterator.cs: changed layout to Auto
2577 * DateTime.cs: changed layout to Auto
2579 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2581 * DateTime.cs: CRLF to LF
2583 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
2585 * Decimal.cs: Fixed regression in System.Data caused by the recent
2586 changes. Adapted (and moved) the code to correct the scale from
2587 SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
2588 scale has no importance).
2590 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
2592 * Activator.cs: In CreateInstance(), use Public|Instance if access binding
2593 attributes are omitted.
2595 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
2597 * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
2598 check if the format character is valid.
2600 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
2602 * DateTime.cs : AddDays(double) rounds the input.
2604 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
2606 * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
2607 Fixed ToLocalTime() as well, but it does check range for MinValue.
2609 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
2611 * DateTime.cs : Added overflow check in ToUniversalTime() and
2612 ToLocalTime(). Fixed bug #60253.
2614 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
2616 * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
2617 source code (with permission). Fix (biggest) part of bug #60110.
2618 http://www.yoda.arachsys.com/csharp/floatingpoint.html
2620 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
2622 * Decimal.cs: Fixed scale after Round (a different scale is correct
2623 from a math point of view but affect the string representation of the
2624 value). Note: other operations also have scale problems!
2625 * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
2626 * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
2627 rounding (which is the rounding provided by Math.Round). This fix bug
2628 #60111. The code (new Round methods) should be moved elsewhere (as it
2629 may also be required elsewhere) post Mono 1.0.
2631 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
2633 * AppDomainSetup.cs: added TODO for serialization
2634 * ExecutionEngineException.cs: added missing serialization ctor
2635 * InvalidProgramException.cs: added missing serialization ctor
2636 * MulticastNotSupportedException.cs: added missing serialization ctor
2637 * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
2638 * Random.cs: fixed serialization compatibility with MS.NET
2640 2004-06-15 Paolo Molaro <lupus@ximian.com>
2642 * Type.cs: removed unused (and non-existing) icall type_is_instance.
2644 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2646 * Environment.cs: use internalGetHome instead of getting "HOME" as
2647 that variable may not be defined.
2649 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
2651 * TimeSpan.cs: Fixed timespan with large values for hours or minutes
2652 (overflow is only checked for days but can also occurs in hours and
2653 minutes which uses Int32 when multiplying). The new results match MS
2656 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
2658 * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
2659 them with matching NumberFormatInfo properties.
2661 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
2663 * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
2664 * FloatingPointFormatter.cs :
2665 Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
2667 Format Permille pattern (It is undocumented but actually available,
2668 and used in xsl:format-number).
2670 2004-06-14 Raja R Harinath <rharinath@novell.com>
2672 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
2673 version with BOOTSTRAP_WITH_OLDLIB.
2674 * String.cs (STring.Concat): Likewise.
2676 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
2678 * FloatingPointFormatter.cs :
2679 - Don't format more than 15 fraction digits. Don't report to Pedro
2680 directly (removing the error message with his concent).
2681 - When format string starts with '.', it means integral part format
2682 is not specified. Ignore '.' characters after the first
2683 appearance. Fixed bug #59890.
2684 - 0.0 is formatted only before the third ';' appearance.
2686 2004-06-11 Sebastien Pouliot <sebastien@ximian.com>
2688 * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
2689 rounding logic which worked for FromOADate (while the newer didn't).
2690 * TimeSpan.cs: Now throw an OverflowException when the timespan is
2691 over MaxValue or under MinValue.
2693 2004-06-11 Martin Baulig <martin@ximian.com>
2695 * Console.cs (Write, WriteLine): Implemented the varargs versions.
2697 2004-06-11 Martin Baulig <martin@ximian.com>
2699 * String.cs (Concat): Implemented the varargs version.
2701 2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
2703 * Decimal.cs: Hacked the Parse method to allow the runtime C code to
2704 decode it properly (i.e. matching MS results). Fixed the Round method
2705 for negative decimal numbers (moved code from Math.cs).
2706 * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
2707 fix a bug when rounding a negative decimal.
2709 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2711 * AppDomain.cs: set the _principal to null when changing the policy.
2712 * Console.cs: remove ClsCompliant attribute from a method marked as
2713 internal and added comment.
2715 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
2717 * Delegate.cs: marked protected fields private to match public
2718 API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
2719 protected to fix public API
2720 * Enum.cs: marked ctor protected to match public API of MS.NET
2721 * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
2722 match public API of MS.NET
2724 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
2726 * DateTime.cs : Added more common patterns.
2728 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
2730 * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
2731 be a performance winner (the actual Math code has a note to wait a
2732 better Decimal implementation) but it returns the correct results
2733 (without adding new code in corlib or the runtime). Fix #37744.
2735 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
2738 - A bunch of fixes (patch by Steven Brown). Fraction seconds are
2739 now represented as double. Strict token check for 'Z'.
2740 - Pattern validity check in GetDateTimeFormats(char).
2741 - Fixed pattern "yyyy/M/d HH:mm:ss".
2743 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
2745 * Decimal.cs: Fixed remainder (and optimized some cases not to call
2746 unmanaged code). Simplified divide. Removed workaround for bug #59793.
2747 Fixed GetHashCode to return different result for X and -X.
2749 2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
2752 - Now re-checked all common format patterns. They should be tried
2753 with both current culture and invariant culture. Since '/' covers
2754 '-', removed extraneous patterns. Added more common patterns
2755 such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
2756 only after NET_1_1). Commented out 1 character format patterns.
2757 - The format patterns we should try should not be obtained by
2758 GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
2759 character patterns), to handle UTC correctly. Examined patterns
2760 are changed, to 1) common patterns with specified (or current)
2761 culture, 2) common patterns with invariant, 3) The above "one
2762 character patterns" with specified (or current) culture.
2763 - When trying to parse some kind of patterns such as RFC1123,
2764 always use invariant DateTimeFormatInfo so that they can avoid
2765 parsing with culture-dependent calendar.
2766 - Check "GMT" only when doing Parse(). Don't it when ParseExact().
2767 - Removed extraneous '-' case. It is not special one.
2768 - When ParseExact(), allow only '/' for '/' pattern character.
2769 - When Parse(), allow any non-letter & non-number characters.
2770 - When pattern is not fully parsed, reject that format.
2771 - Added "exact" parameter to some ParseExact().
2772 - RFC1123 pattern is (again) now parsed in local time. I regressed
2773 some problems in previous fix.
2775 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
2777 * Decimal.cs: Fixed cast to integer types to truncate (not round) the
2780 2004-06-07 Duncan Mak <duncan@ximian.com>
2782 * Exception.cs (Source): This can return null.
2784 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
2786 * DateTime.cs: Fixed FromFileTime for negative values. Fixed
2787 constructor to limit range of milliseconds from 0,999. Fixed
2788 ToType method to work for object, string and DateTime.
2790 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
2792 * DateTime.cs: Fixed OLE Automation date conversions: timezone
2793 insensitive, wrong exception in FromOADate, handling of Min/Max
2794 values, negative doubles where integer part is negative but
2795 decimals are positive! Charming format ;-)
2797 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
2799 * String.cs: Fixed Join in case separator parameter is null.
2800 * TimeSpan.cs: Cache format errors during parsing and throw
2801 FormatException only if there was no overflow.
2803 2004-06-06 Gert Driesen <drieseng@users.sourceforge.net>
2805 * MonoCustomAttrs.cs: fixed issue where an empty array was
2806 returned when GetCustomAttributes was invoked with null
2807 attribute type and there was only one result
2809 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
2811 * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
2812 * Int16.cs: Fixed ToString(String.Empty) to default ("G").
2813 * Int32.cs: Fixed ToString(String.Empty) to default ("G").
2814 * Int64.cs: Fixed ToString(String.Empty) to default ("G").
2815 * SByte.cs: Fixed ToString(String.Empty) to default ("G").
2816 * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
2817 * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
2818 * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
2820 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
2822 * Convert.cs: Fixed the convertion of negative integers (byte, short,
2823 int and long) into string in a specific base (2, 8, 10 or 16).
2825 2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
2827 * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
2828 the dividend is negative and the result is 0 (remainder).
2830 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
2832 * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
2834 2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
2836 * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
2837 spans. Fixed parsing when only days are presents in the string (which
2838 should be illegal according to the documentation but is supported).
2840 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
2842 * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
2843 somewhat different from the documentation.
2845 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
2847 * Type.cs: added missing attributes on InvokeMember
2849 2004-06-01 Miguel de Icaza <miguel@ximian.com>
2851 * String.cs: Flag concat with four arguments internal.
2853 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
2855 * Array.cs: Fixed legal case where value is null.
2856 * Byte.cs: Fixed ToString when format is an empty string (use "G").
2857 * Guid.cs: Renamed private fields (and changed some to signed) to
2858 match MS implementation and allow serialization to work. Fix
2861 2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2863 * DateTime.cs: adjust milliseconds for fraction specifier ('f').
2865 2004-05-30 Miguel de Icaza <miguel@ximian.com>
2867 * Console.cs: Remove *again* the version of WriteLine with four
2868 arguments; That should *not* be added.
2870 Flag it as internal as people migrate their code.
2872 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
2874 * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
2875 ArgumentNullException (only case, all other returns 0). Fixed exception
2876 reporting for hex prefix only strings. Fixed ChangeTo where null could
2877 be misinterpreted between null and Empty.
2879 2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
2881 * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
2882 16), non-base 10 negative numbers ... see new unit tests. Fixed the
2883 case when we parse Int64.MinValue (positive doesn't fit a signed long).
2885 2004-05-28 Jackson Harper <jackson@ximian.com>
2887 * Environment.cs: Increment version number.
2889 2004-05-28 Zoltan Varga <vargaz@freemail.hu>
2891 * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
2894 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
2896 * DateTime.cs : I reverted my fix by accident :(
2898 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
2901 - In ToString(), Don't use culture-dependent daynames to format
2902 Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
2903 - Fixed GetDateTimeFormats () that generated incorrect 'U' value
2904 (since the format string is the same as 'F').
2906 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
2908 * DateTime.cs : don't adjust utc value in ToString(). It must output
2909 the same time value, just adding 'Z' for UTC.
2911 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
2913 * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
2916 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2918 * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
2920 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
2922 * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
2923 * Convert.cs: Convert with a base parameter cannot parse negative
2924 string numbers, even "-0".
2925 * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
2926 * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
2927 * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
2929 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2932 - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
2933 to common formats (yes, I know it is nothing more than hack)
2934 - Fixed some GetDateTimeFormats() that just returned patterns.
2935 - For InvariantCulture, now try both supported formats and our
2937 - It was accepting incorrectly extraneous characters. That caused
2938 some UTC/non-UTC bug.
2939 - RFC1123 string should return universal time. Uncomment again (the
2940 problem should went away because of the extra characters fix above.
2942 With some of the changes above, fixed bug #47720.
2944 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2946 * DateTime.cs : quick revert 'Z' support for certificate verifications.
2948 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
2950 * Array.cs: Removed duplicate condition if LastIndexOf.
2952 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
2955 - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
2957 - As a quick remedy to accept more patterns, Parse() now also tries
2958 InvariantInfo patterns (this is because we have no more than one
2959 pattern for each pattern component.)
2960 - In _DoParse(), 'Z' should not be read as timezone specifier. Some
2961 culture uses 'Z' as AM/PM designer, and it should be recognized as
2962 part of the UTCpattern (if it actually UTC pattern for the culture
2965 2004-05-26 Gert Driesen (drieseng@users.sourceforge.net)
2967 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
2968 seems to allow multiple attributes with AllowMultiple at
2971 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
2973 * Byte.cs: Throw an OverflowException for negative numbers.
2974 * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
2975 * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
2977 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
2979 * Array.cs: Fixed possible integer overflow.
2980 * BitConverter.cs: Fixed a possible integer overflow in ToString.
2981 * Guid.cs: Added an internal method to create a random Guid without
2982 using CryptoConfig (which is heavy on first use). This is only used
2983 in S.R.E.ModuleBuilder to speedup MCS compilation.
2984 * String.cs: Fixed reported exception for PadLeft|Right. Fixed
2985 possible integer overflow in methods that takes index and count
2988 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
2990 * String.cs: Add new Strcpy icalls which take a char array as
2993 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
2995 * DateTime.cs : added more invariant format patterns. This should
2996 really fix bug #57656.
2998 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
3000 * BitConverter.cs (ToBoolean): Return true or false instead
3001 of unsafe returing byte as bool. Fixes bug #58874.
3003 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
3005 * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
3006 string format argument is null.
3008 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
3010 * Version.cs: Rename of data fields to match those in Microsoft.NET.
3011 Patch by PAF@design.ru.
3013 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3015 * DateTime.cs: allow double quotes in the formats. Don't set
3016 next_not_digit to true in presence of single or double quotes. Patch by
3019 2004-05-24 Zoltan Varga <vargaz@freemail.hu>
3021 * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
3023 2004-05-23 Sebastien Pouliot <sebastien@ximian.com>
3025 * Array.cs: Fixed exception when we try to Clear outside bounds.
3026 * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
3027 * BitConverter.cs: Fixed negative index and integer overflow in
3029 * Buffer.cs: Fixed integer overflow in BlockCopy.
3031 2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
3033 * Array.cs: Clear can now work on multidimentional arrays.
3034 * IntPtr.cs: We now only accept 32bits values in the long constructor
3035 unless we're on a 64 bits machine.
3036 * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
3037 constructor unless we're on a 64 bits machine.
3039 2004-05-22 Duncan Mak <duncan@ximian.com>
3041 * Convert.cs: The file was mostly in DOS endings already, for the
3042 sake of consistency, converted it all to DOS endings.
3043 (ToType): When value is null, immediately return null and don't
3044 ever throw a NullReferenceException. When conversionType is null,
3045 throw an InvalidCastException. Give a better error message when
3046 attempting to convert to a DBNull as well.
3048 2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
3050 * Decimal.cs: Fixed To... methods that needs to trunk the integer part
3051 of Decimal (and not use the banker's rounding like Convert.To...).
3052 * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
3053 to NaN compares (see new unit tests).
3055 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
3057 * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
3058 Also fixed the case where wide (16 bits) characters were converted to
3061 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
3063 * ThreadStaticAttribute.cs
3064 * ContextStaticAttribute.cs
3066 * ObsoleteAttribute.cs : now that Inherited is false by
3067 default on AttributeUsageAttribute (as it should be) we
3068 need to explicitly set Inherited to false for those
3069 attributes should it be be false.
3071 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
3073 * AttributeUsageAttribute.cs: Inherited property should be
3074 true by defaultrs.cs: respect Inherited property, and
3076 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
3078 * MonoCustomAttrs.cs: respect Inherited property, and
3079 AllowMultiple property of a CustomAttribute. This fixes
3080 a major issue we had with respect to custom attributes.
3082 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
3084 * MonoType.cs: throw ArgumentNullException when type parameter in
3085 GetCustomAttributes(Type, bool) is null
3087 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
3089 * Buffer.cs: Added checks for null source and destination. Fix failing
3090 CryptoStream unit test.
3091 * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
3092 pseudo-random numbers to generate GUIDs (as per section 3.4 of the
3093 spec). This removes the TODO to get the computer MAC address and
3094 the chances to get a duplicate GUID (across different machines).
3096 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3098 * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
3099 than OverflowExceptions then something went wrong internally
3101 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3103 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
3106 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
3108 * Buffer.cs: Optimize BlockCopy.
3110 * Environment.cs: Bump corlib version.
3112 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
3114 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
3115 See also bug #58478.
3117 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3119 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
3120 been set. Just return null as MS. Fixes bug #58120.
3122 2004-05-14 Marek Safar <marek.safar@seznam.cz>
3124 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
3125 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
3126 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
3127 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
3128 useless [CLSCompliant (false)]
3131 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
3133 * __ComObject.cs: To please corcompare (no implementation).
3135 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
3137 * Environment.cs: Bump corlib version.
3139 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
3141 * Environement.cs: Removed two security attributes for CurrentDirectory
3142 that weren't documented (and anyway we don't support them).
3144 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3146 * Char.cs: Fix exceptions
3148 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
3150 * MissingMemberException.cs: Fix in serialization constructor.
3152 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3154 * Environment.cs: GetGacPath return value is resolved at runtime on
3157 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
3159 * Convert.cs: ToBase64CharArray method was depending on a bug in
3160 S.S.C.ToBase64Transform class to work. Added an internal method to
3161 provide the same functionality (multiple block processing).
3163 2004-05-06 Jackson Harper <jackson@ximian.com>
3165 * Environment.cs: Make $HOME the personal directory.
3167 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
3169 * Convert.cs: ToBase64String method was depending on a bug in
3170 S.S.C.ToBase64Transform class to work. Added an internal method to
3171 provide the same functionality (multiple block processing).
3173 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
3175 * Environment.cs: Completed OSVersion property.
3176 * Version.cs: Added internal CreateFromString() to "try" to build the
3177 best version number form the specified string.
3179 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3181 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
3182 Fixes several potential bugs and makes things way faster.
3184 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3186 * TimeSpan.cs: Formatting changes
3188 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
3190 * Activator.cs: change _flags to a const.
3191 * IntegerFormatter.cs: make tables readonly.
3192 * Convert.cs: tables readonly
3193 * DateTime.cs: ditto.
3194 * IntPtr.cs: avoid a cctor.
3196 2004-04-29 Jackson Harper <jackson@ximian.com>
3199 * Type.cs: NET_2_0 now instead of 1_2.
3201 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3203 * Environment.cs: implemented GetLogicalDrives.
3205 2004-04-28 Miguel de Icaza <miguel@ximian.com>
3207 * Applied patch from Atsushi Enomoto that allows Synchronized
3208 writers to have a `dont close' flag, this fixes 52094
3210 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
3212 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
3213 return the method if it is private (it did until now because of a
3214 bug). Make sure it works as it worked before the fix.
3215 * Type.cs: Implemented FilterAttribute delegate.
3217 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3219 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
3221 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3223 * IntegerFormatter.cs: Made functions internal (needed by other patches)
3225 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
3227 * DateTime.cs: TODO cleaning.
3228 * Delegate.cs: GetObjectData should be virtual.
3229 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
3230 30 methods almost identical.
3231 * MulticastDelegate.cs: Implemented GetObjectData.
3233 2004-04-26 Jackson Harper <jackson@ximian.com>
3235 * Environment.cs: Things going bump in the night.
3237 2004-04-25 Miguel de Icaza <miguel@ximian.com>
3239 * Convert.cs (toBase64Transform): Make private.
3241 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3245 * DecimalFormatter.cs:
3246 * FloatingPointFormatter.cs: Call invariant Char functions
3247 * Guid.cs: Call invariant Char and String functions
3248 * String.cs: Call invariant Char functions
3250 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3252 * String.cs: Refactored the Invariant ToXXX into its own internal methods
3253 so they are directly callable within corlib (can prevent early
3254 construction of CultureInfo, InvariantCulture and related classes)
3256 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3258 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
3259 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
3261 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3263 * String.cs: Check for null values
3265 2004-04-23 Peter Bartok <pbartok@novell.com>
3267 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
3268 will do a better fix in the future, but this way apps can at least use it.
3270 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
3272 * Environment.cs: Better support for GetFolderPath (same results as MS
3275 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
3277 * Activator.cs: Removed TODOs for finished methods.
3278 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
3279 must be relative to the current directory, not the temp directory.
3280 Implemented DynamicBase.
3281 * Convert.cs: No need to create a ToBase64Transform instance at every call
3282 to ToBase64CharArray.
3283 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
3285 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
3286 * Delegate.cs: Removed class TODO.
3287 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
3289 * Type.cs: Removed TODOs for things already implemented.
3291 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
3293 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
3294 * MulticastDelegate.cs: Removed unused code.
3296 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
3298 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
3299 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
3300 * BadImageFormatException.cs: TODO reformat.
3301 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
3302 * DelegateSerializationHolder.cs: Made class internal.
3303 * Enum.cs: Removed TODO for localization, since this is something that has
3304 to be done for all classes.
3305 * Environment.cs: Removed TODO.
3306 * Exception.cs: Changed ToString to use StringBuilder.
3307 * MonoDummy.cs: Made class internal.
3308 * UnitySerializationHolder.cs: Added support for modules.
3310 2004-04-16 David Sheldon <dave-mono@earth.li>
3312 * DecimalFormatter.cs: Don't append a decimal point after the
3313 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
3316 2004-04-09 Miguel de Icaza <miguel@ximian.com>
3318 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
3321 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
3323 * MonoDummy.cs: added MonoTODO to make sure we remove this class
3324 when its no longer needed
3326 2004-04-09 David Sheldon <dave-mono@earth.li>
3328 * Convert.cs: Allow + signs in strings for ToInt32, and
3331 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
3333 * Nullable.cs : usingdecl should also be conditional.
3335 2004-04-07 Martin Baulig <martin@ximian.com>
3337 * Nullable.cs: New file.
3339 2004-04-07 Martin Baulig <martin@ximian.com>
3341 * Type.cs (Type.GetGenericArguments): Make this abstract.
3343 2004-04-07 Jackson Harper <jackson@ximian.com>
3345 * Environment.cs: Increase corlib version number.
3347 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3350 (ExpandEnvironmentVariables): on windows, env. vars. are case
3353 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
3355 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
3356 Removed [ThreadStatic] for _principalPolicy (not required).
3358 2004-04-06 Miguel de Icaza <miguel@ximian.com>
3360 * Guid.cs: Flag as Sequential.
3362 2004-04-02 Dick Porter <dick@ximian.com>
3364 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
3366 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
3368 * Environment.cs: Implement ExpandEnvironmentVariables static method.
3369 Now call the runtime to get the username (fix #56144).
3371 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3373 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
3376 2004-03-29 Miguel de Icaza <miguel@ximian.com>
3378 * Console.cs: If we fail to open stdin/stdout/stderr, create
3379 readers with a NullStream. This can happen if our caller does not
3380 setup stdin/stoud/stderr file handles. #56158 exposed this, but
3381 it will happen elsewhere.
3383 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
3385 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
3386 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
3387 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
3388 the constructor. This fixes bug #54019.
3390 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
3392 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
3393 internal variables to structures that are moved around methods.
3394 Factorized some common formatting code into FormatNumberInternal.
3396 2004-03-23 Dick Porter <dick@ximian.com>
3398 * DateTime.cs: Allow any character for DateSeparator when parsing,
3399 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
3400 deleted the previous fix for 54721, because this covers it too.
3402 2004-03-23 Dick Porter <dick@ximian.com>
3404 * DateTime.cs: Check the date string for too many digits when
3405 parsing. Fixes bugs 53023 and 53025.
3407 2004-03-22 Dick Porter <dick@ximian.com>
3409 * String.cs: Use the provider when converting strings to other
3412 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
3413 formats. Fixes bug 54721.
3415 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3417 * Console.cs: Styled, optimized calls
3418 * CrossAppDomainDelegate.cs: Small header fix
3419 * Buffer.cs: Style, improve errors
3420 * BitConverter.cs: Style, improve errors, remove obsolete comment
3421 * Attribute.cs: Style, improve errors, small fix
3422 * Array.cs: Style, improve errors, small fix, added TODOs
3423 * Activator.cs: Style, localized errors, added error checks
3424 * Byte.cs: Style, localized errors, fixed wrong exception parameters
3427 * AppDomainSetup.cs: Style
3428 * AppDomain.cs: Style, implemented two methods (redirect)
3430 2004-03-21 Jackson Harper <jackson@ximian.com>
3432 * FloatingPointFormatter.cs: Set precision from number format info
3433 when it is not specified. This fixes bug #54983.
3435 2004-03-18 Nick Drochak <ndrochak@ieee.org>
3437 * Math.cs: Use IsNaN() method not "x == NaN".
3439 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3441 * EntryPointNotFoundException.cs
3442 * DuplicateWaitObjectException.cs
3443 * DllNotFoundException.cs
3444 * DivideByZeroException.cs
3445 * ContextMarshalException.cs
3446 * CannotUnloadAppDomainException.cs
3447 * BadImageFormatException.cs
3448 * ArrayTypeMismatchException.cs
3449 * ArithmeticException.cs
3450 * ArgumentOutOfRangeException.cs
3451 * ArgumentNullException.cs
3452 * ArgumentException.cs
3453 * ApplicationException.cs
3454 * AppDomainUnloadedException.cs: Added missing HResult overrides
3456 * BadImageFormatException.cs: Improved/ Fixed implementation
3458 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
3460 * Random.cs: Corrected random value when Next is called with a
3461 negative value. Testing indictae that our results aren't exactly the
3462 same as MS, we have a +/- 1 (probably rounding errors due to
3463 different implementation).
3465 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3467 * Environment.cs: updated corlib version.
3469 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
3471 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
3472 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
3473 field "value" to "m_value", so it is interoperable with MS.NET when
3474 serializing and deserializing data. Based on the patch from Daniel
3477 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3479 * TypeInitializationException.cs
3480 * SystemException.cs
3481 * StackOverflowException.cs
3483 * OverflowExceptionException.cs
3484 * OutOfMemoryException.cs
3485 * NullReferenceException.cs
3486 * NotSupportedException.cs
3487 * NotFiniteNumberException.cs
3488 * InvalidOperationException.cs
3489 * InvalidCastException.cs
3490 * IndexOutOfRangeException.cs
3491 * FormatException.cs
3492 * ExecutionEngineException.cs: improved parameter names
3494 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3497 * EntryPointNotFoundException.cs
3498 * DuplicateWaitObjectException.cs
3499 * DoubleFormatter.cs
3500 * DllNotFoundException.cs
3501 * DivideByZeroException.cs
3502 * DelegateSerializationHolder.cs
3505 * ContextStaticAttribute.cs
3506 * ContextMarshalException.cs
3507 * ContextBoundObject.cs
3508 * CLSCompliantAttribute.cs
3510 * CannotUnloadAppDomainException.cs
3511 * BadImageFormatException.cs
3512 * AttributeUsageAttribute.cs
3513 * AttributeTargets.cs
3515 * AssemblyLoadEventHandler.cs
3516 * AssemblyLoadEventArgs.cs
3517 * ArrayTypeMismatchException.cs
3518 * ArithmeticException.cs
3519 * ArgumentOutOfRangeException.cs
3520 * ArgumentNullException.cs
3521 * ArgumentException.cs
3523 * ApplicationException.cs
3524 * AppDomainUnloadedException.cs
3525 * AppDomain.cs: Mono styled, fixed exceptions/ locales
3526 removed excess usings
3528 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
3530 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
3531 spaces) which fixed #54939. Changed the way that the length is
3532 validated (multiple of 4) because the ignored characters must not be
3533 included in the count.
3535 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3537 * String.cs: Monostyled
3539 2004-03-09 Jackson Harper <jackson@ximian.com>
3541 * Char.cs: Only use a byte for numeric data.
3543 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3545 * TypedReference.cs: Added missing Attributes
3546 * ParamArrayAttribute.cs: Small style fix
3547 * OperatingSystem.cs: Added .Net 1.1 member
3549 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3551 * FieldAccessException.cs
3552 * FormatException.cs
3553 * InvalidCastException.cs
3554 * InvalidOperationException.cs
3555 * MemberAccessException.cs
3556 * MethodAccessException.cs
3557 * MissingFieldException.cs: Locale strings
3558 * MissingMemberException.cs: Locale strings
3559 * MissingMethodException.cs: Locale strings
3560 * NotFiniteNumberException.cs
3561 * NotImplementedException.cs
3562 * NotSupportedException.cs
3563 * NullReferenceException.cs
3564 * ObjectDisposedException.cs
3565 * OutOfMemoryException.cs
3566 * OverflowExceptionException.cs
3567 * PlatformNotSupportedException.cs
3568 * RankException.cs: Added missing HResult overrides
3570 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3572 * RuntimeTypeHandle.cs
3573 * RuntimeMethodHandle.cs
3574 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
3576 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3580 * ExecutionEngineException.cs
3581 * FieldAccessException.cs
3582 * FormatException.cs
3585 * IndexOutOfRangeException.cs
3587 * InvalidCastException.cs
3588 * InvalidOperationException.cs
3589 * InvalidProgramException.cs
3590 * IServiceProvider.cs
3591 * LoaderOptimization.cs
3592 * LoaderOptimizationAttribute.cs
3593 * MarshalByRefObject.cs
3595 * MemberAccessException.cs
3596 * MethodAccessException.cs
3597 * MissingFieldException.cs
3598 * MissingMemberException.cs
3599 * MissingMethodException.cs
3600 * MultiCastDelegate.cs
3601 * MulticastNotSupportedException.cs
3602 * NonSerializedAttribute.cs
3603 * NotFiniteNumberException.cs
3604 * NotImplementedException.cs
3605 * NotSupportedException.cs
3606 * NullReferenceException.cs
3607 * ObjectDisposedException.cs
3608 * ObsoleteAttribute.cs
3609 * OperatingSystem.cs
3610 * OutOfMemoryException.cs
3611 * OverflowExceptionException.cs
3613 * PlatformNotSupportedException.cs
3616 * ResolveEventArgs.cs
3617 * ResolveEventHandler.cs
3618 * RuntimeFieldHandle.cs
3619 * RuntimeMethodHandle.cs
3620 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
3621 removed excess usings
3623 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3625 * SystemException.cs: Exceptions set the HResult
3626 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
3627 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
3629 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3632 * TypeLoadException.cs
3633 * TypeInitializationException.cs
3636 * ThreadStaticAttribute.cs
3637 * SystemException.cs
3638 * STAThreadAttribute.cs
3639 * StackOverflowException.cs
3640 * SingleFormatter.cs
3642 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
3643 removed excess usings
3645 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3647 * UnauthorizedAccessException.cs: Exceptions set the HResult
3648 * UInt64.cs: Implemented two missing methods
3649 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
3650 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
3652 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3658 * UnitySerializationHolder.cs
3659 * UnhandledExceptionEventHandler.cs
3660 * UnauthorizedAccessException.cs
3664 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
3666 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
3668 * Environment.cs: Bump corlib version.
3670 2004-03-04 Jackson Harper <jackson@ximian.com>
3672 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
3674 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
3676 * String.cs: Concat() fixed crash when one of the arguments is an object
3677 whose ToString() method returns null.
3678 * TypeLoadException.cs: Added some serialization fiels, needed for
3679 compatibility with MS.NET.
3681 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
3683 * String.cs (Equals): Speed up this method by avoiding Array
3684 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
3686 This gives between 0x (for 1 char) and >2x (for large strings)
3687 factor of improvement.
3689 A big thanks to Miguel, who suggested the integer compares.
3691 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3693 * MonoType.cs: use the binder in GetPropertyImpl.
3695 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3697 * Math.cs: MonoStyled, replaced space with tabs,
3698 speedup of some methods by avoiding method calls
3700 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
3702 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
3703 (Moved from InternalCall to Managed code).
3705 2004-02-17 Martin Baulig <martin@ximian.com>
3707 * MonoType.cs (GetConstructors): Renamed the interncall to
3708 GetConstructors_internal(), made it internal and added a `Type
3709 reflected_type' argument to it.
3710 (GetEvents, GetFields): Likewise.
3711 (GetMethodsByName): Added `Type reflected_type' argument.
3712 (GetPropertiesByName): Likewise.
3714 2004-02-16 Jackson Harper <jackson@ximian.com>
3716 * FloatingPointFormater.cs: Allow precision to be up to the number
3717 of decimals without rounding.
3719 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
3721 * Delegate.cs (Equals): Do not compare method_ptr, since it might
3722 point to a trampoline.
3724 2004-02-12 Jackson Harper <jackson@ximian.com>
3726 * AppDomainSetup.cs: If relative paths are used they should be
3727 rooted in the temp directory.
3729 2004-02-11 Marek Safar <marek.safar@seznam.cz>
3731 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
3733 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
3735 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
3736 avoid an assert in the runtime.
3738 2004-02-08 Duncan Mak <duncan@ximian.com>
3740 * Convert.cs (ToType): Always let a Convert.ChangeType call
3741 succeed if the source object is already of the destination type.
3743 Patch by Ian MacLean (ianm@activestate.com).
3745 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
3747 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
3749 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
3751 * Environment.cs: Bump corlib version.
3753 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
3755 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
3758 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
3760 * Exception.cs: Changed ToString to remove the \n when no stack trace
3761 is present (which fixed a unit test for SecurityException). Changed
3762 all \n to Environment.NewLine.
3764 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
3766 * ContextBoundObject.cs: Removed TODO.
3768 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3770 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
3771 (double), which might round up.
3773 2004-01-19 Jackson Harper <jackson@ximian.com>
3775 * FloatingPointFormatter.cs: Use the default decimal digits count
3776 if they are not specified. This fixes bug #52927.
3778 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
3780 * Environment.cs: Bump version number.
3782 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
3784 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
3785 uses IsAssignableFrom(o.GetType()), which is not always valid for
3786 transparent proxies (because GetType will not return the type of the remote
3787 object if its assembly is not present).
3789 2004-01-18 David Sheldon <dave-mono@earth.li>
3791 * FloatingPointFormatter.cs: Skip the decimal point if we have an
3792 integer mantassa. So: 1E+15, rather than 1.E+15.
3794 2004-01-18 David Sheldon <dave-mono@earth.li>
3796 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
3797 even though docs say it should be an ArgumentNull. Two test cases now
3798 pass. See also nickd's commit of 2003-12-24.
3800 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3802 * Environment.cs: increased corlib version.
3804 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
3806 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
3807 be reused because they could be modified. This fixes bug #52655.
3809 2004-01-12 Patrik Torstensson
3811 * Environment.cs: Bump corlib version number due to new StringBuilder
3813 * String.cs: New internal method to support the new StringBuilder that
3814 uses the string as a buffer (until ToString is called)
3816 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
3818 * Environment.cs: Bump corlib version number for real this time.
3820 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
3821 the runtime, so it can take into account the Culture etc.
3823 * Environment.cs: Bump corlib version number.
3825 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3827 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
3828 new parameter with the method name and a boolean for ignoring case.
3829 Removed some string comparisons no longer needed.
3831 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3833 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
3834 new parameter with the property name and a boolean for ignoring case.
3837 2004-01-11 David Sheldon <dave-mono@earth.li>
3839 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
3842 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
3844 * AppDomain.cs: Keep track of type resolve and assembly resolve
3845 events in progress to prevent infinite recursion.
3847 2004-01-06 Miguel de Icaza <miguel@ximian.com>
3849 * Console.cs: Test for UTF-8 being present anywhere on the
3850 string, also do ToUpper instead of ToLower, which will work even
3851 around the ICU bug with different locales (#52065), and addresses #52101
3853 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
3855 * Environment.cs: Bump version.
3857 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
3859 * Type.cs (IsNotPublic): One would normally assume that
3860 IsNotPublic == !IsPublic, but this is not the case (note to MS,
3861 make better names ;-). Fixes #52547, `Type.IsNotPublic not
3862 correct for Nested types'
3864 2003-12-24 Nick Drochak <ndrochak@ieee.org>
3866 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
3867 even though docs say it should be an ArgumentNull. Sent email to MS
3870 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
3872 * Exception.cs: Several changes to make it compatible with MS.NET (needed
3873 for remoting interoperability): set a default value for hresult, added
3874 initialization of class_name, serialization field RemoteStackTrace must
3875 be RemoteStackTraceString, added ser. field ExceptionMethod.
3877 * IndexOutOfRangeException.cs: Added serialization constructor.
3879 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
3882 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
3884 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
3886 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
3887 user supplied no parameter info, but not when the user supplied an
3888 empty parameter list. This fixes IKVM.
3890 * Environment.cs: Bump corlib version.
3892 2003-12-19 Dick Porter <dick@ximian.com>
3894 * String.cs: Added Compare shortcut for length==0.
3896 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
3898 * Environment.cs: Bump corlib version.
3900 2003-12-17 Dick Porter <dick@ximian.com>
3902 * String.cs: Fix StartsWith and EndsWith when the argument is the
3903 empty string. Fixes bug 52283.
3905 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
3907 * Environment.cs (HasShutdownStarted): Implement.
3909 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
3911 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
3913 * Environment.cs: Bump version number.
3915 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3917 * DateTime.cs: don't bail out with that year out of range error on
3918 stuff like "MM/dd/yyyy HH:MM:ss".
3920 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
3922 * Environment.cs: Make it a const instead.
3924 * Environment.cs: Make version field static.
3926 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
3928 * Type.cs: Make DefaultBindingFlags protected.
3930 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
3931 Add new GacPath property + its associated icall.
3933 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
3935 * DateTime.cs : Bugs fixed (41845, 51422)
3936 * MonoType.cs : Exception message changed
3938 2003-12-08 Martin Baulig <martin@ximian.com>
3940 * Type.cs (MakeByRefType): New public method.
3942 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
3944 * Environment.cs: Add a version number for the corlib-runtime interface
3945 to make it easier to diagnose problems resulting from a mismatch
3948 2003-12-08 Patrik Torstensson <p@rxc.se>
3950 * Type.cs (GetMethod): Check type arguments within array
3951 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
3952 (same signature but different classes (derived level)
3954 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
3956 * Type.cs (MakeArrayType): Add argument checking.
3958 2003-12-06 Dick Porter <dick@ximian.com>
3960 * String.cs: Don't use CompareInfo for non-culture-sensitive
3961 IndexOf and LastIndexOf methods.
3963 2003-12-06 Ravindra <rkumar@novell.com>
3965 * DateTime.cs: Made Parse(string, IFormatProvider) method to
3966 use second argument. Fixed bug #51464.
3968 2003-12-04 Martin Baulig <martin@ximian.com>
3970 * Type.cs (Type.MakeArrayType): New public method.
3972 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3975 (BlockCopy): make the exception thrown helpful.
3977 2003-12-03 Dick Porter <dick@ximian.com>
3979 * String.cs: Calling Replace on an empty string returns itself.
3981 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
3983 * MonoType.cs: Get rid of get_type_info, use a separate icall for
3984 each property instead.
3986 2003-12-02 Dick Porter <dick@ximian.com>
3988 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
3989 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
3991 2003-12-01 Dick Porter <dick@ximian.com>
3993 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
3994 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
3996 2003-11-28 Dick Porter <dick@ximian.com>
4001 * Boolean.cs: Do string compares with the Invariant culture.
4003 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
4005 * Array.cs: make the enumerator ICloneable
4007 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
4009 * Decimal.cs (ToXXX): Call Convert.ToXXX.
4011 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
4013 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
4014 Implement Load(byte[]) methods.
4016 * BadImageFormatException.cs: Fix ToString.
4018 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
4020 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
4021 GetConstructor, as done by MS.
4023 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4025 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
4027 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
4029 * TypeInitializationException.cs: Added missing serialization constructor.
4031 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4033 * AppDomainSetup.cs: Don't add an extra '/' at the end of
4034 ApplicationBase. The tests pass now with mono.
4036 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
4038 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
4040 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4042 * Environment.cs: use Directory in CurrentDirectory property.
4043 We were not throwing any exception when setting the directory to an
4046 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4049 * Delegate.cs: implemented 1.1 stuff.
4052 * IntPtr.cs: removed extra attribute.
4053 * PlatformID.cs: added WinCE.
4055 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4058 (Equals): compare the fields of structs too.
4059 (GetHashCode): combine the hash code of all the fields.
4060 Fixes bug #50901 (will remove the icall in a couple of days).
4062 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4064 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
4066 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4068 * DateTime.cs: handle century when we try to parse 4-digit years and
4069 only 2 digits are present. Fixes bug #49394.
4071 2003-11-13 Miguel de Icaza <miguel@ximian.com>
4073 * Console.cs: On utf-8 consoles, use unmarked output.
4075 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4077 * IAppDomainSetup.cs:
4080 * Type.cs: Added missing attribute
4082 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
4084 * Environment.cs: Added internal method for getting the path to
4087 2003-11-12 Jackson Harper <jackson@ximian.com>
4089 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
4090 enum. This fixes the SWF build.
4092 2003-11-12 Miguel de Icaza <miguel@ximian.com>
4094 * PlatformID.cs: Remove Unix platform, we cant expose constants
4095 that are not in the framework.
4097 * OperatingSystem.cs: Adjust for the breakage.
4099 * RuntimeMethodHandle.cs: Fix signature.
4101 * Double.cs: Fix signature of TryParse.
4103 * String.cs (Concat (object, object, object, object)): Add missing method.
4105 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
4106 in the .NET Framework.
4108 * Enum.cs: Hide constructor.
4110 Fix ToUint16 to be explicitly implemented.
4112 * Console.cs: Add couple of extra missing methods (Write and
4113 WriteLine overloaded)
4115 2003-11-11 Miguel de Icaza <miguel@ximian.com>
4117 * AppDomain.cs, Activator.cs: New unimplmented entry points from
4118 1.1 (Com activation related).
4120 * Exception.cs: Formatting.
4122 * IServiceProvider.cs: Add ComVisible (true).
4124 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
4126 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
4128 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
4131 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
4133 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
4134 on MonoMethod instead of Invoke.
4136 2003-11-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4138 * DateTime.cs: Fixed Add* methods handling. Now it works properly
4139 with extreme values (there is a bug with Overflow and Underflow in
4142 2003-10-31 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4144 * DateTime.cs: Fixed a few format bugs.
4146 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
4148 * AppDomain.cs (InternalPushDomainRef): New icalls.
4150 * AppDomain.cs (InvokeInDomain): New method to execute code in a
4151 different appdomain.
4153 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
4155 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
4157 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
4159 * AppDomain.cs (IsFinalizingForUnload): Implement.
4161 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
4164 2003-10-25 Martin Baulig <martin@ximian.com>
4166 * MonoType.cs: Don't make this sealed.
4168 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
4170 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
4172 2003-10-24 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4174 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
4175 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
4177 2003-10-22 Dick Porter <dick@ximian.com>
4179 * DateTime.cs: Handle '-' as a date separator when parsing formats.
4181 2003-10-20 Duncan Mak <duncan@ximian.com>
4183 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
4184 and merge the two iterations into one.
4186 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
4188 * TypedReference.cs: Add new field used by the runtime.
4190 2003-10-15 Martin Baulig <martin@ximian.com>
4192 * Type.cs (Type.DeclaringMethod): For a generic method's type
4193 parameter, return this method - otherwise, return null.
4195 2003-10-14 Martin Baulig <martin@ximian.com>
4197 The generics API has changed in the spec since it was added here;
4198 these modifications make it match the spec again.
4201 (GetGenericParameters): Renamed to `GetGenericArguments'.
4202 (HasGenericParameters): Renamed to `HasGenericArguments'.
4203 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
4204 (IsGenericTypeDefinition): New property.
4205 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
4207 * MonoType.cs (ContainsGenericParameters): Implement this here;
4208 this is no interncall anymore.
4210 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4212 * Delegate.cs: add the method name to the exception when it cannot be
4214 * Exception.cs: fix nullref in Source.
4216 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
4218 * Array.cs: Add argument checking to GetValue and SetValue.
4220 2003-10-09 Miguel de Icaza <miguel@ximian.com>
4222 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
4223 should not be TimeSpan.MaxValue, because it overflow. Set this to
4226 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4228 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
4229 duplicate entry exception.
4231 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
4233 * DateTime.cs (ToString): Total rewrite, fixes #49358.
4235 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
4237 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
4239 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4242 (Equals): check that the object is an Enum before comparing the types.
4244 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4246 * Array.cs: reduced xsp allocated memory by 1/2.
4248 2003-09-25 Martin Baulig <martin@ximian.com>
4250 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
4251 since it was identical to GetGenericTypeDefinition().
4252 (Type.IsGenericInstance): New property.
4254 2003-09-24 Duncan Mak <duncan@ximian.com>
4256 * Math.cs (Abs): Fix double Locale.GetText bug reported by
4257 davejp@volny.cz. This fixes #48788.
4259 2003-09-14 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4261 * FloatingPointFormatter.cs: Add the necessary castings to char
4264 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4266 * FloatingPointFormatter.cs: Make the method calls more functional
4267 for protecting the values from different threads (make it more
4270 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4272 * FloatingPointFormatter.cs: Fix a bug with the negative value of
4275 2003-09-12 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4277 * FloatingPointFormatter.cs: Applied a lot of improvements in string
4278 construction, make use of Append/Insert with the "count" parameter.
4279 Thanks to Ben Maurer.
4281 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4283 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
4285 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
4288 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4290 * DoubleFormatter.cs: A few optimizations. Now, only one object
4291 is created to convert all double numbers.
4293 * SingleFormatter.cs: A few optimizations. Now, only one object
4294 is created to convert all float numbers.
4296 * FloatingPointFormatter.cs: Split the "number type parameters" from
4297 the "numver value and format parameters". The first ones are in the
4298 constructor and the others are in a method.
4300 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
4302 * Array.cs: Added argument checking to some NET_1_1 methods.
4304 2003-09-04 Martin Baulig <martin@ximian.com>
4306 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
4308 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4310 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
4311 taking 'longs'. All tests pass.
4313 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
4315 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
4316 Source. Remove MonoTODO attributes (class is 100% done). Also
4317 passes all Rotor tests for Exception!
4319 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
4321 * Enum.cs: Remove [MonoTODO]'s that had been completed.
4323 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4325 * String.cs: fixed bug #47802.
4327 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
4329 * String.cs: Created method FormatHelper that does formatting,
4330 using a StringBuilder.
4332 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4334 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
4336 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4338 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
4341 2003-08-11 Duncan Mak <duncan@ximian.com>
4343 * Environment.cs (Version): Return the same numbers as the MS
4346 2003-08-10 Miguel de Icaza <miguel@ximian.com>
4348 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
4349 replicated tests, and have a routine that does the heavy lifting.
4351 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
4353 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
4355 * Environment.cs: return $HOME for ApplicationData folder.
4357 2003-08-04 Duncan Mak <duncan@ximian.com>
4359 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
4360 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
4361 floating point values. This fixes bug #46175.
4363 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
4364 noted by c5n4kh6u02@sneakemail.com in
4365 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
4367 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
4369 * Double.cs: added icall Double.AssertEndianity.
4371 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
4373 * Type.cs, MonoType.cs: implemented generic-specific methods.
4375 2003-07-29 Miguel de Icaza <miguel@ximian.com>
4377 * Buffer.cs: Add new internal MemCopy call.
4381 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
4383 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
4384 to icalls, to avoid special cases in some call conventions.
4386 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4388 * Enum.cs: added Serializable attribute.
4390 2003-07-25 Duncan Mak <duncan@ximian.com>
4392 * AppDomain.cs (Equals):
4393 (GetHashCode): Removed because they do not need to be defined
4396 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4398 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
4399 cannot even get the type.
4401 2003-07-24 Miguel de Icaza <miguel@ximian.com>
4403 * Type.cs: Added generics stubs.
4405 2003-07-23 Duncan Mak <duncan@ximian.com>
4407 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
4408 as values for NET_1_1.
4409 (GetFolderPath): Return the empty string ("") for values of
4410 SpecialFolder that have no corresponding equivalents in
4411 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
4412 and "$HOME" for SpecialFolder.Personal.
4414 * IntPtr.cs (GetObjectData): Mark it as an interface
4415 implementation, instead of a public method.
4417 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
4419 * TypeLoadException.cs (GetObjectData):
4420 Create stubs for the fields that are being serialized.
4422 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
4424 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
4426 * Enum.cs: Fixed enum formatting. For flag enums, if one of
4427 the flags is unnamed, ToString() returns the integer value.
4429 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
4431 * Guid.cs: Fixed ToString (), was producing incorrect string.
4433 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4435 * AppDomainSetup.cs: fixed bug #46609.
4437 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
4439 * MonoType.cs: use an icall for IsPrimitiveImpl ().
4441 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
4443 * Guid.cs: faster ToString ().
4445 2003-07-15 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4447 * FloatingPointFormatter.cs: Few changes for get working Rotor
4450 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
4452 * Type.cs (IsAssignableFrom): Implement this as an icall since the
4453 runtime already includes the neccessary logic.
4455 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4457 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
4458 if it's present and get the full path for non-Uri paths.
4460 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
4462 * DateTime.cs: Fixed formatting of fractions of second.
4464 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
4466 * Console.cs: Turn off buffering for the streams returned by
4467 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
4469 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
4471 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
4472 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
4473 a new random number (although it is not needed), while mono did not.
4474 As a result, the sequence of random numbers could be different for the
4477 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
4479 * FloatingPointFormatter.cs: use dec_len2 as default precision.
4481 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
4483 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
4484 be done after the correspondig UTC offset has been applied.
4486 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
4488 * Object.cs: Object must have the Serializable attribute.
4489 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
4490 to the resulting date. Also fixed _ToString so now correctly formates the
4493 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
4495 * Enum.cs: fix race in cache (bug#41841).
4497 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
4499 * FloatingPointFormatter.cs: if the precision is not specified, use
4500 the default precision for the data type.
4502 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
4504 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
4505 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
4507 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4509 * MonoType.cs: don't throw nullref when the return type for a property
4510 is specified and the property doesn't have a get accessor.
4512 2003-06-10 Duncan Mak <duncan@ximian.com>
4514 * Array.cs (CreateInstance): Fixed a typo. It should throw
4515 ArgumentNullException instead of ArgumentException.
4517 2003-06-09 Duncan Mak <duncan@ximian.com>
4519 * Array.cs: Revert the last revert. I fixed it.
4520 (Sort): Put a try-catch block around qsort, and wrap whatever
4521 Exception we get into a InvalidOperationException.
4523 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
4525 * Array.cs: Revert last patch, it broke some other functionality.
4527 2003-06-08 Duncan Mak <duncan@ximian.com>
4529 * Array.cs: Throw more exceptions. This fixes the errors we see
4530 from the Rotor testsuite.
4532 (CreateInstance): Throw ArgumentNullException when the input are
4533 null. Throw ArgumentOutOfRangeException when bounds + length is
4534 greater than Int32.MaxValue.
4535 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
4536 the valid range of indices of array.
4537 (Sort): Throw InvalidOperationException when comparer is null and
4538 none of the elements in keys implements IComparable.
4540 2003-06-08 Duncan Mak <duncan@ximian.com>
4542 * Array.cs (CreateInstance): Throw a TypeLoadException if the
4543 Length of the input array 'lengths' is greater than 255 so that we
4544 won't see the g_assert that is in mono_array_class_get in class.c.
4546 This fixes bug #44304.
4548 2003-06-05 Nick Drochak <ndrochak@gol.com>
4550 * UnitySerializataionHolder.cs: Cleanups according to class status page
4552 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
4554 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
4555 RuntimeTypeHandle.cs: implemented the needed stuff to handle
4558 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
4560 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
4561 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
4562 for Ben Maurer after review and testing.
4564 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
4566 * Array.cs: Added better argument checking to Array.Sort ()
4567 * DBNull.cs: Made the conversions throw like they do in MS.
4569 2003-05-24 Philip Van Hoof <me@freax.org>
4571 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
4573 2003-05-21 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4575 * FloatingPointFormatter.cs: Take care with the explicit precision
4576 and round the number to that precision.
4578 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
4580 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
4582 2003-05-20 Philip Van Hoof <me@freax.org>
4584 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
4587 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
4589 * AppDomainSetup.cs: Added new field which is used to notify the
4590 runtime that the search path has changed.
4592 2003-05-18 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4594 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
4595 introduced the last change I've done.
4597 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
4599 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
4600 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
4601 behaving correctly).
4603 2003-05-17 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4605 * FloatingPointFormatter.cs: Fixed little format mismatches.
4607 2003-05-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4609 * FloatingPointFormatter.cs: Fixed "-0" result emited.
4611 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4613 * AppDomain.cs: Added null argument check in Load().
4614 * Activator.cs: fixed bug #39926.
4616 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4618 * Enum.cs: fixed bugs #41522 and #42879.
4620 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
4622 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
4623 undocumented MS behaviour.
4625 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4627 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
4630 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4632 * String.cs: fixed bug #41411 and another similar problem in
4633 LastIndexOf (string).
4635 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4637 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
4640 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
4642 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
4643 construction if the delegate list only has one element.
4645 2003-05-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4647 * Environment.cs: Changed the method GetFolderPath because it must
4648 return at least a directory name (not null).
4650 * Convert.cs: In ToType, if the destination type is unknown, try to
4651 cast the value to object (then, the calling method will downcast it
4652 to the type it wants).
4654 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4656 * Enum.cs: fixed bug #41522.
4658 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
4660 * Enum.cs: protect with the lock also the lookup (bug #41841).
4662 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
4664 * MonoType.cs: allow a null name if InvokeMember is called with
4665 BindingFlags.CreateInstance set.
4667 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4669 * Enum.cs: reverted my previous patch.
4671 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4673 * Enum.cs: fixed bug #41841.
4675 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4678 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
4680 2003-04-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4682 * FloatingPointFormatter.cs: Little fixes for get the same results
4683 as MS.NET and show a message when something goes wrong with the
4684 parser of Custom Formats.
4686 2003-04-22 Nick Drochak <ndrochak@gol.com>
4688 * Double.cs (ToString):
4689 * Single.cs (ToString): Handle case where param is a CultureInfo.
4691 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
4693 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
4694 ValueType::Equals() icalls static non-virtual, so they can be called
4695 by the code in RuntimeHelpers.
4697 2003-04-18 Miguel de Icaza <miguel@ximian.com>
4699 * Delegate.cs (operator ==): Do not crash if the second argument
4700 is null. Bug fix submitted by Juan Cri.
4702 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
4704 * Array.cs: Deleted the exception in Array.Initialize(), it looks
4705 like the method do nothing for C#, is still a MonoTODO until
4706 we find a compiler that uses that.
4708 2003-04-14 Miguel de Icaza <miguel@ximian.com>
4710 * Delegate.cs (Delegate): Seems like a typo, we were checking the
4711 a field rather than the argument
4713 * MonoType.cs: Make GetNestedType an external method implementation.
4715 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4717 * Enum.cs: fixed bug #41294.
4719 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4721 * DateTime.cs: fixes bug #40910, part 2.
4723 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
4725 * String.cs (Equals): avoid the internal call, code cleanups
4727 2003-04-11 Alan Tam <Tam@SiuLung.com>
4729 * Convert.cs: fixed bug #41085.
4731 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
4733 * AppDomain.cs: Added internal method for getting process guid.
4735 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
4737 * Array.cs: Little fix to compare () method.
4739 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
4741 * String.cs (Equals): Add trivial optimization.
4743 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4745 * DateTime.cs: fixed bug #40910.
4747 2003-04-05 Miguel de Icaza <miguel@ximian.com>
4749 * Console.cs: Make stderr, stdout and stdin use synchronized
4750 versions of the their readers/writers.
4752 2003-04-04 Dick Porter <dick@ximian.com>
4754 * Version.cs: Make operator== and operator!= cope with null
4755 objects. Didn't change operator<, operator<=, operator> or
4756 operator>= because its not meaningful to use those to compare
4757 against null, and throwing a NullReferenceException is probably
4758 the best thing to do there anyway.
4762 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4764 * AppDomain.cs: fixed InvalidCastException.
4766 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
4768 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
4769 type checks and let it decide whenever a fast copy is possible.
4771 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4774 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
4776 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
4778 * Activator.cs (CreateInstance): Call GetConstructor with the right
4779 arguments so the nonPublic argument is handled correctly.
4781 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4783 * Type.cs: fixed bug #40123.
4785 2003-03-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4787 * FloatingPointFormatter.cs: Fixed some bugs for get the same
4788 results than MS.NET. Added simple error recovering, now ToString
4789 will return a general format if there is any exception in the
4790 process of formatting. This make the library more robust while the
4791 formatters are refined.
4793 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4795 * FloatingPointFormatter.cs: Added support for group separators.
4797 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4800 * Double.cs: Apply changes of .ToString methods.
4801 * SingleFormatter.cs:
4802 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
4803 * FloatingPointFormatter.cs: New class. Implementation of double and
4804 single formatters. It is unified now and parametrized with precission
4807 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
4809 * AppDomain.cs: fixes bugs #39380 and #39331.
4811 2003-03-06 Nick Drochak <ndrochak@gol.com>
4813 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
4815 2003-03-04 Dick Porter <dick@ximian.com>
4818 * Double.cs: Temporarily reverted the Double and Single ToString()
4819 change, because it broke nunit.
4822 2003-03-04 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4824 * Double.cs: Changed ToString method. Added NumberFormatInfo support
4825 with DoubleFormatter class.
4826 * Single.cs: Changed ToString method. Added NumberFormatInfo support
4827 with SingleFormatter class.
4828 * DoubleFormatter.cs: New class with Double formatting functions.
4829 * SingleFormatter.cs: New class with Single formatting functions.
4831 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
4833 * Activator.cs: Added support for activation using activation attributes.
4834 * AppDomain.cs: Added internal method to get the default context from the runtime.
4836 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
4838 * DateTime.cs: FileTime is expressed in Universal time, and as such must
4839 be converted before subtracting the magic offset.
4840 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
4841 the timezone at the end) *must* be parsed by DateTime.Parse() for
4842 compatibility with Microsoft.
4844 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4847 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
4850 * IntPtr.cs: added serialization .ctor
4852 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4854 * AppDomain.cs: check for null in Unload and changed method name.
4856 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4858 * MonoCustomAttrs.cs: fixed bug #38238.
4860 2003-02-17 Martin Baulig <martin@ximian.com>
4862 * Exception.cs (Exception.ToString): Print a newline between the
4863 exception message and the stack trace.
4865 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4867 * AppDomain.cs: implemented GetCurrentThreadId ().
4869 2003-02-14 Patrik Torstensson
4871 * Exception.cs: Fixed message output formating
4873 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4876 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
4878 2003-02-12 Miguel de Icaza <miguel@ximian.com>
4880 * Type.cs: IsClass should return false for Enumerations
4882 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4884 * MonoCustomAttrs.cs: return the correct array type in the short case.
4887 2003-02-08 Pedro MartÃenz Juliá <yoros@wanadoo.es>
4889 * Math.cs: Fix a few methods (like Round) and add with comments the
4890 new methods: BigMul and DivRem that were in ECMA specs.
4892 2003-02-07 Patrik Torstensson
4894 * Exception.cs: Fixed formating
4896 2003-02-05 Patrik Torstensson
4898 * AppDomain.cs: Partly fixed the unload method
4900 2003-02-04 Patrik Torstensson
4902 * AppDomain.cs: Fixed lease issue with appdomain
4904 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
4906 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
4907 InitializeLifetimeService().
4909 2003-02-03 Patrik Torstensson
4911 * AppDomain.cs: New internalcalls for handling domain/context switches
4912 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
4914 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4916 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
4917 and ClearShadowCopyPath and fixed GetType ().
4919 * Attribute.cs: clean up.
4921 * Console.cs: removed UnixConsoleEncoding. Use Default.
4923 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4925 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
4926 GetCustomAttributes later.
4928 2003-01-31 Patrik Torstensson
4930 * Buffer.cs: Changed access level of BlockCopyInternal
4932 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
4934 * String.cs, IntegerFormatter.cs: use const where appropriate.
4936 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4938 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
4941 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4943 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
4944 The argument ICustomAttributeProvider can be of other types different
4945 from Type. Handle it.
4947 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
4949 * DateTime.cs: fix FromFileTime so the time returned by
4950 File::GetLastModificationTime etc. is in the correct timezone.
4952 2003-01-28 Patrik Torstensson
4953 * Exception.cs: reverted formating/endline changes (sorry guys)
4955 2003-01-28 Patrik Torstensson
4957 * MarshalByRefObject.cs: implemented GetObjectIdentity
4958 * Exception.cs: added support for remote exceptions
4960 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4962 * DateTime.cs: fixed bug #37225.
4964 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4966 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
4968 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
4970 * AppDomain.cs: Added DoTypeResolve method which will be called by
4971 the runtime to raise TypeResolve events.
4973 2003-01-27 Duncan Mak <duncan@ximian.com>
4975 * Enum.cs (ToType): Implement this using Convert.ToType.
4977 2003-01-21 Miguel de Icaza <miguel@ximian.com>
4979 * Math.cs: Remove Pow's implementation body as it was wrong. The
4980 C code does the right thing. The code was trying to handle a
4981 number of cases, and that was incorrect.
4983 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4985 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
4988 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4990 * Enum.cs: added caching to GetInfo.
4992 2003-01-23 Dick Porter <dick@ximian.com>
4994 * Environment.cs (System): Implemented ExitCode
4996 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
4998 * Type.cs (IsInstanceOfType): fixed regression caused by the change
5001 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5003 * MonoType.cs: re-added lines that were removed in the previous commit.
5005 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
5007 * Type.cs: corrected property IsSerializable. It should always return
5008 true for enums and delegates
5009 * MonoType.cs: added serialization support.
5010 * Delegate.cs: added serialization support.
5011 * DBNull.cs: added serialization support.
5012 * UnitySerializationHolder.cs: supports serialization of Assembly,
5013 MonoType and DBNull.
5014 * DelegateSerializationHolder.cs: added.
5016 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5018 * Exception.cs: changed default message to match MS one.
5020 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
5022 * String.cs: Fixed bug with CompareOrdinal
5024 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5026 * Enum.cs: implements IFormattable.
5028 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5030 * AppDomain.cs: implemented DoCallBack method.
5032 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
5035 NUnit2 tests start moving.
5037 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5039 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
5040 instantiate an abstract class.
5042 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5045 (IsSubclassOf): return false when null. Use != instead of Equals.
5047 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5049 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
5051 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
5053 * MonoType.cs: fixed Namespace property for nested types.
5055 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
5057 * MonoCustomAttrs.cs: create properly typed arrays when returning
5058 arrays of attributes of a given type.
5060 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
5062 * MonoType.cs: fixed MemberType property for nested types.
5064 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5066 * String.cs: fixed bug #36209.
5068 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
5070 * Activator.cs: implemented method GetObject.
5072 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
5074 * Activator.cs: Since the documentation indicates the method
5075 either succeeds or throws one of the listed exceptions, we weren't
5076 expecting that CreateInstance might be returning null.
5078 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
5080 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
5082 * MarshalByRefObject.cs: implemented CreateObjRef.
5084 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5086 * DateTime.cs: fixed bug #30076.
5087 * TimeZone.cs: provide the parameter name in a exception.
5089 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5091 * DecimalFormatter.cs: fixed bug #35560.
5093 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
5095 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
5097 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5099 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
5100 nulls. Fixes #34909.
5102 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5104 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
5105 returns a non-null assembly.
5107 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5109 * MulticastDelegate.cs: make GetInvocationList work for more than 1
5112 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5114 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
5115 if this is the correct order of invocation.
5117 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5119 * Type.cs: changed the signature of internal_from_name. Modified
5120 the overloads of GetType to use it and check the typeName argument.
5121 Implemented FindInterfaces.
5123 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5125 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
5126 some obscure reasons (try make -f makefile.gnu using a corlib which has
5127 the modified version).
5129 2002-11-26 Miguel de Icaza <miguel@ximian.com>
5131 * String.cs (Concat): Reduce the number of compares required.
5133 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
5135 * Activator.cs: throw a MissingMethodException if the default
5136 constructor is not found in CreateInstance.
5138 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5141 (Equals (str, str)): use 'as' instead of casting to object.
5142 (Equals (obj)): check the length of the strings (until now,
5143 "Hello".Equals ((object) "Hellow World!) was true!).
5145 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5147 * MonoType.cs: implemented GetEvent (name, flags).
5149 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5151 * AppDomain.cs: implemented a couple of methods called from the runtime
5152 to fire AssemblyLoad and AssemblyResolve events.
5154 2002-10-31 Dick Porter <dick@ximian.com>
5156 * Environment.cs: MonoIO methods now have an error parameter
5158 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
5160 * Enum.cs: Added support for whitespaces in Enum:Parse().
5162 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5164 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
5165 internal call. Closes bug #32992.
5167 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5169 * Exception.cs: display the inner exception, if any, in ToString ().
5171 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5173 * Environment.cs: fixed StackTrace property.
5175 2002-10-16 Nick Drochak <ndrochak@gol.com>
5177 * Enum.cs (Parse): Then fix the code so that it works too.
5179 2002-10-15 Nick Drochak <ndrochak@gol.com>
5181 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
5183 2002-10-12 Nick Drochak <ndrochak@gol.com>
5185 * IntegerFormatter.cs: Fix compiler warnings.
5187 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
5189 * Type.cs (GetConstructors): Use the correct flags.
5191 2002-10-09 Nick Drochak <ndrochak@gol.com>
5193 * IntegerFormatter.cs: Suppress insignificant leading zeros
5195 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
5197 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
5198 <stonewell@21cn.com> to return also derived types.
5200 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5202 * Activator.cs: little fix in CreateInstance (Type, bool).
5204 2002-09-19 Duncan Mak <duncan@ximian.com>
5206 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
5207 I18N/Common from building right now.
5209 2002-09-19 Nick Drochak <ndrochak@gol.com>
5211 * Array.cs (CopyTo): Account for Object type and base (primitive) types
5212 * Type.cs (IsAssignableFrom): return false for a null parameter
5214 2002-09-19 Nick Drochak <ndrochak@gol.com>
5216 * Array.cs (CopyTo): Check that source type can be cast automatically
5217 to the destination type.
5219 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5221 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
5224 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5226 * Char.cs: implemented ToString (char)
5227 * IntegerFormatter.cs: made it internal.
5229 2002-09-13 Nick Drochak <ndrochak@gol.com>
5231 * Enum.cs (Format): handle the "d" format for both signed and unsigned
5234 2002-09-12 Dick Porter <dick@ximian.com>
5236 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
5237 attribute, as there doesn't appear to be any struct
5238 layout-depending code here (and corcompare says it should be
5239 LayoutKind.Sequential)
5241 * Decimal.cs: Stub out missing methods, add
5242 [DecimalConstantAttribute] to the constant fields (as shown by
5245 * LocalDataStoreSlot.cs:
5248 * Array.cs: Stub out missing methods.
5250 * TypedReference.cs:
5251 * ArgIterator.cs: Stub out
5253 * AppDomainSetup.cs:
5254 * AppDomain.cs: Stub out missing methods, add missing
5255 ClassInterface(ClassInterfaceType.None) attribute.
5257 2002-09-12 Nick Drochak <ndrochak@gol.com>
5259 * Double.cs (ToString): Throw exception when "X" format is passed in.
5261 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
5263 * MonoType.cs: implemented Module property.
5265 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
5267 * MonoType.cs, Type.cs: implemented InvokeMember.
5269 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
5271 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
5272 type. Check the method signature matches.
5274 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
5276 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
5278 2002-09-06 Miguel de Icaza <miguel@ximian.com>
5280 * Console.cs: Specify an encoder, otherwise we will get the UTF8
5281 encoder that by default emits the byte markers.
5283 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
5285 * Delegate.cs: look also for non-public methods until we have the
5286 security checks in place.
5288 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
5290 * MonoType.cs: consider also the full name in GetInterface.
5292 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
5294 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
5295 GetMethodImpl using the binder.
5296 * Type.cs: GetConstructorImpl/GetConstructor fixes.
5298 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
5299 * Enum.cs: Get rid of warning CS0162.
5301 2002-09-04 Miguel de Icaza <miguel@ximian.com>
5303 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
5304 actual value instead of public.
5306 * LocalDataStoreSlot.cs: Make constructor internal.
5308 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
5309 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
5312 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
5313 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
5316 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5318 * DateTime.cs: fixed buglet.
5320 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
5322 * MonoType.cs: speedup access to common data.
5324 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5326 * Double.cs: implemented TryParse.
5328 * Math.cs: PowImpl is now private.
5330 * MissingFieldException.cs: implemented Message.
5332 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
5334 * _AppDomain.cs: Uncommented ToString.
5336 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5339 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
5341 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5343 * ArgumentException.cs: use the field instead of the property for
5346 * ArgumentOutOfRangeException.cs: modified Message.
5349 (_DoParse): throw out of range exception for year. Removed check
5350 for month (it's done in the constructor).
5352 2002-08-21 Miguel de Icaza <miguel@ximian.com>
5354 * Environment.cs: Implemented OSVersion property.
5356 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
5358 * Exception.cs: set stack_trace to null
5360 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
5362 * AppDomain.cs: implemented ToString().
5364 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5366 * AppDomain.cs: securityInfo can be null in CreateDomain.
5368 2002-08-19 Dick Porter <dick@ximian.com>
5370 * MonoType.cs: Add a space before the Assembly name in
5371 AssemblyQualifiedName (needed for resource files so the MS runtime
5374 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5376 * AppDomain.cs: parameter name when throwing ArgumentNullException.
5378 * ArgumentException.cs: modified Message to do what MS does.
5380 * ArgumentNullException.cs: don't use {0} in message.
5382 * Exception.cs: use Message property in ToString ().
5384 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
5386 * WeakReference.cs: Changed the constructor and GetObjectData
5387 method needed for ISerializable implementation in order to be
5388 compatible with SOAP generated by MS.
5390 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
5392 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
5394 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
5396 * Exception.cs (ToString): changed the ouput format.
5398 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
5400 * MonoType.cs: moved get_method icall to this class, we can
5401 remove it as soon someone provides a full featured GetMethodImpl.
5403 * Type.cs: use GetMethodImpl everywhere.
5405 * Delegate.cs: new CreateDelegate implementations.
5407 2002-08-06 Tim Coleman <tim@timcoleman.com>
5409 Fix bug #28582. Now checks parameters for properties
5412 2002-08-04 Nick Drochak <ndrochak@gol.com>
5414 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
5416 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5419 (FormatSpecifier): allow white space between the comman and the width
5422 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5427 * UInt64.cs: fixed bug #28050. May be a MS bug?
5429 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
5431 * MonoType.cs: fix IsArrayImpl.
5433 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5435 * String.cs: make ToLower (culture) and ToUpper (culture) use the
5436 default ToLower and ToUpper and don't throw NotImplemented.
5438 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
5440 * Type.cs: make GettTypeCode an icall. Test implementation of
5443 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5445 * AppDomainSetup.cs: implemented LoaderOptimization.
5447 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5449 * Activator.cs: some more intermediate results checking in
5450 in CreateInstance and CreateInstanceFrom and use GetConstructor and
5451 Invoke only with Type [] until the other overloaded versions work.
5453 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5455 * Activator.cs: reformatted. Implemented CreateInstance* methods
5456 that return ObjectHandle.
5458 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
5460 2002-07-03 Nick Drochak <ndrochak@gol.com>
5462 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
5463 the divisor is not) and avoid the icall, which seems to have a bug.
5465 2002-07-03 Nick Drochak <ndrochak@gol.com>
5467 * Double.cs (CompareTo): Correctly handle the case where the instance
5468 is NaN. Also return 0 if the values are equal.
5470 2002/07/03 Nick Drochak <ndrochak@gol.com>
5472 * MissingMethodException: Add missing Message property
5473 * MissingMemberException: Add missing Message property
5475 2002-06-30 Nick Drochak <ndrochak@gol.com>
5477 * Double.cs (CompareTo): Just see which is bigger. Don't use the
5478 subtraction trick, it doesn't work when the values have a diference of
5481 * Single.cs (CompareTo): same
5483 2002-06-27 Martin Baulig <martin@gnome.org>
5485 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
5486 constructor argument. [FIXME: The implicit conversion to an
5487 unsigned integer doesn't work with mcs.]
5489 2002-06-26 Martin Baulig <martin@gnome.org>
5491 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
5492 not `S = System'. This file now compiles with mcs.
5494 * String.cs: Removed the already ifdef-outed __arglist Concat function
5495 to make it compile with mcs.
5497 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5499 * IntegerFormatter.cs:
5500 (FormatParse.FormatNumber): fixed custom format for negative numbers.
5502 2002-06-21 Martin Baulig <martin@gnome.org>
5504 * Double.cs: Replace the private `enum State' with constants since this
5505 will avoid some bigger headaches in mcs.
5507 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
5509 * TimeSpan.cs: do not pollute the namespace with the
5512 2002-06-18 Nick Drochak <ndrochak@gol.com>
5514 * ArgumentException.cs: Use the message given in the constructor when
5515 accessing the Message property. Thanks to Dietmar for the help with
5518 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
5520 * MonoType.cs: GetField is now a InternalCall
5522 2002-06-13 Nick Drochak <ndrochak@gol.com>
5524 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
5525 sortable format(s), e.g. "2002-02-25"
5527 2002/06/12 Nick Drochak <ndrochak@gol.com>
5529 * Random.cs (Next): Fix math error. Return a number within the range.
5531 2002-06-12 Nick Drochak <ndrochak@gol.com>
5533 * String.cs (IndexOf): Return -1 if start index is equal to string
5536 2002-06-10 Duncan Mak <duncan@ximian.com>
5538 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
5539 (ToType): Added null field in conversionTable to avoid
5540 IndexOutOfRangeException. Changed what exceptions we throw to match
5543 2002-06-11 Nick Drochak <ndrochak@gol.com>
5545 * Int64.cs (Parse): Added unique strings to the messages where we throw
5546 a FormatException. Needed these to debug, so just left them in since
5547 they might be useful later. Fixed Currency parsing where we weren't
5548 looking at CurrencyDecimalSeparator, etc.
5550 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
5552 * DateTime.cs: fixes to pass tests M0 to M6:
5553 if yy pattern then year values >= 30 are in 20th century
5554 rfc1123 pattern is always in GMT, therefor useutc must be false
5555 made GetNow() internal static so it can be called from TimeZone.
5556 * TimeZone.cs: removed dependency on year 2002 from initialization of
5559 2002-06-09 Duncan Mak <duncan@ximian.com>
5561 * Convert.cs (ToType): Rearranged what Exceptions we throw to
5564 2002-06-08 Duncan Mak <duncan@ximian.com>
5566 * Decimal.cs: Added support for the IConvertible interface.
5568 2002-06-08 Martin Baulig <martin@gnome.org>
5570 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
5571 doesn't necessarily need to be of the enum's underlying type.
5573 2002/06/07 Nick Drochak <ndrochak@gol.com>
5575 * String.cs: Add [Serializable] to class
5576 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
5578 2002-06-04 Nick Drochak <ndrochak@gol.com>
5580 * Double.cs (Parse): Recognize the group separator string, but still we
5581 don't check the format for the proper number of digits between
5582 separators. Also throw OverflowException when we get Pos or Neg
5583 Infinity from runtime.
5585 2002-06-03 Duncan Mak <duncan@ximian.com>
5587 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
5589 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
5591 * Type.cs: fixed GetTypeCode.
5593 2002-06-02 Duncan Mak <duncan@ximian.com>
5595 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
5596 cast from an int so that we throw OverFlowException correctly.
5598 (ToInt64): Use a new 64bit version of ConvertToBase.
5600 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
5601 and Int32.MaxValue).
5603 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
5605 2002-06-02 Nick Drochak <ndrochak@gol.com>
5607 * Convert.cs (ToSByte): Check for special value.
5608 * Single.cs (Parse):
5609 * UInt16.cs (Parse):
5610 * UInt32.cs (Parse): Throw OverflowException if negative
5612 2002-06-02 Duncan Mak <duncan@ximian.com>
5614 * Convert.cs (DBNull): Point it to DBNull.Value.
5615 (IsDBNull): Instead of checking typecodes, just check to see if
5616 it's the same as the DBNull field.
5618 2002-06-02 Nick Drochak <ndrochak@gol.com>
5620 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
5622 2002-06-02 Duncan Mak <duncan@ximian.com>
5624 * Char.cs (Parse): Simplify the Exception handling.
5626 * Convert.cs (ToDecimal): Remove call to Math.Round () when
5627 converting from a float.
5629 2002-05-30 Martin Baulig <martin@gnome.org>
5631 * MonoType.cs (GetInterface): Implemented.
5633 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
5635 * Activator.cs: implemented CreateInstance ().
5637 2002-05-22 Duncan Mak <duncan@ximian.com>
5639 * Convert.cs (ConvertToBase): Added new 64bit version.
5640 (BuildConvertedString64): New 64bit version of
5641 BuildConvertedString.
5643 This fixes bug 25068.
5645 (ConvertFromBase): Added additional test for checking if the
5646 digits are valid. Thanks to Miguel for coming up with this test.
5648 This fixes bug 25071.
5650 2002-05-21 Duncan Mak <duncan@ximian.com>
5652 * Convert.cs (ToType): Rearranged to fit the new layout of
5655 (conversionTable): Rearranged to fit the layout of the
5656 System.TypeCode enum.
5658 This should fix bug 25075.
5660 2002-05-21 Duncan Mak <duncan@ximian.com>
5662 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
5663 mixed up the two code paths, one for converting to a specific base
5664 (this case), another from converting from a foreign base to base10
5665 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
5667 * Convert.cs (ToByte)
5668 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
5669 that we won't confuse FormatException with OverflowException.
5671 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
5673 * Environment.cs: CommandLine missed spaces between arguments.
5674 Implemented StackTrace. Returning MachineName in UserDomainName
5677 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
5679 * MonoCustomAttrs.cs: handle inherit argument.
5681 2002-05-21 Nick Drochak <ndrochak@gol.com>
5683 * Math.cs (Pow): Change icall method name and insert parameter
5684 checks in for infinities and NaN.
5686 2002-05-13 Miguel de Icaza <miguel@ximian.com>
5688 * Double.cs (Parse): Reimplement by cleaning up the string first,
5689 and then passing to strtof in the mono runtime.
5691 * Single.cs (Parse): Use the Double implementation and cast to
5694 2002-05-21 Nick Drochak <ndrochak@gol.com>
5697 (Ceiling): Check for "special" values
5698 (Floor): Check for "special" values
5699 (Round): Fix off-by-one error on decimal shifting
5701 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
5703 * DateTime.cs: ToString () using "G" format specifier
5705 2002-05-19 Martin Baulig <martin@gnome.org>
5707 * Convert.cs (FromBase64CharArray): Do correct exception handling.
5709 2002-05-19 Martin Baulig <martin@gnome.org>
5711 * Convert.cs (FromBase64CharArray): Convert the char array using
5712 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
5715 2002-05-17 Miguel de Icaza <miguel@ximian.com>
5717 * MonoType.cs: Style changes.
5719 * Type.cs: Style changes.
5721 2002-05-16 Piers Haken <piersh@friksit.com
5723 * UInt64.cs: fix declaration of IConvertible.To* overrides.
5725 2002-05-16 Nick Drochak <ndrochak@gol.com>
5727 * BitConverter.cs (ToString): Add parameter check for invalid start
5730 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
5731 now that StreamWriter uses buffering
5733 2002-05-14 Miguel de Icaza <miguel@ximian.com>
5735 * Double.cs: Oops. Also handle exponents without finding a dot.
5737 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5739 * ChangeLog: removed empty entry at the top of the file.
5741 * Int32.cs: made static functions used by Parse internal.
5745 * UInt64.cs: removed static fucntions used by Parse and use the ones
5748 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
5750 * IServiceProvider.cs: added using System
5752 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
5754 * Single.cs: copied ToString() and Parse() methods from
5755 Double to Single and modified a tiny bit for Single.
5756 There is still a FIXME for Double and Single about
5757 passing the format and provider info to the icall too.
5759 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5764 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
5765 Don't use a delegate to test for valid digits.
5767 2002-05-01 Duncan Mak <duncan@ximian.com>
5770 * Math.cs: Added missing CLSCompliant attributes where necessary.
5772 2002-04-30 Duncan Mak <duncan@ximian.com>
5774 * ArgumentException.cs (Message):
5775 * ArgumentOutOfRangeException.cs (Message): Added.
5777 2002-04-30 Nick Drochak <ndrochak@gol.com>
5779 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
5781 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
5783 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
5785 2002-04-28 Duncan Mak <duncan@ximian.com>
5787 * DivideByZeroException.cs: Added missing serialization constructor.
5789 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
5791 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5793 * Math.cs: fix Floor () and Round (). Closes #23960.
5795 2002-04-27 Nick Drochak <ndrochak@gol.com>
5797 * Array.cs (IList.Contains): Should throw a RankException if this is
5798 called on a Rank > 1 array. Not in the docs, but this is what the
5801 2002-04-26 Duncan Mak <duncan@ximian.com>
5803 * MissingMemberException.cs: Made the message variable 'protected'
5804 instead of 'private', so that we can see it in
5805 MissingMethodException and MissingFieldException.
5807 * MissingFieldException.cs:
5808 * MissingMethodException.cs: Added missing (string, string)
5809 constructor, and also the Message property.
5811 2002-04-26 Martin Baulig <martin@gnome.org>
5813 * Enum.cs: Implemented the IConvertible methods.
5815 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5817 * SByte.cs: little change in Parse (string) to avoid incorrect
5818 OverflowException thrown (reported by nickd).
5820 2002-04-22 Miguel de Icaza <miguel@ximian.com>
5822 * ValueType.cs: Add Serializable attribute.
5824 * String.cs: ifdef-out out the __arglist Concat function until I
5825 add support for that to mcs.
5827 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
5829 * AppDomain.cs (GetValue): usage of the correct icall (bug)
5831 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
5833 * GC.cs: implement most of the methods as icalls.
5835 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5837 * DecimalFormatter.cs (ToString): return correct value when the
5838 decimal number is 0.
5840 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
5842 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
5843 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
5845 2002-04-24 Nick Drochak <ndrochak@gol.com>
5847 * Double.cs (Parse): Handle case where there are no digits before the
5848 decimal point, such as ".1".
5850 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5855 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
5857 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
5859 * String.cs (Split): fixed invalid split of count 0 and 1.
5861 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
5863 * String.cs (LastIndexOf): fixed argument checking.
5864 * String.cs (Equals): made internal for performace.
5866 2002-04-23 Nick Drochak <ndrochak@gol.com>
5868 * String.cs (Join): check argument and throw exception if needed
5870 2002-04-23 Nick Drochak <ndrochak@gol.com>
5872 * String.cs (StartsWith): check argument and throw exception if needed
5874 2002-04-22 Nick Drochak <ndrochak@gol.com>
5876 * String.cs (IndexOfAny): check arguments and throw exceptions as
5877 neccessary. ALso remove some debug WriteLines.
5879 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
5881 * String.cs: use internal constructors
5884 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
5886 * MonoType.cs: make GetElementType its own icall.
5888 2002-04-18 Nick Drochak <ndrochak@gol.com>
5890 * String.cs: Modified file. Re-add methods needed by the unit tests.
5892 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
5894 * String.cs: some code speedups and restored GetTypeCode().
5896 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
5898 * String.cs: New implementation using internal calls.
5900 2002-04-16 Nick Drochak <ndrochak@gol.com>
5902 * DecimalFormatter.cs: Trim off excess null characters from the string
5903 that decimal2string gives back.
5905 2002-04-16 Nick Drochak <ndrochak@gol.com>
5907 * String.cs (SubString): revert my change. I can't reproduce the
5910 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5912 * Attribute.cs: added GetHashCode and Equals.
5914 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5916 * Enum.cs: little improvements to Format ().
5918 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
5920 * String.cs: internalcall GetHashCode().
5921 * Array.cS: optimize access to elements.
5923 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
5925 * String.cs: make IndexOfAny() use an internalcall.
5927 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5932 * UInt64.cs: fixed error when testing for validity of flags.
5934 2002-04-11 Nick Drochak <ndrochak@gol.com>
5936 * Double.cs: Use an internal call for ToString(). This is just a simple
5937 implementation to get away from throwing a NotImplementedException.
5939 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5944 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
5948 * Int64.cs: throw an OverFlowException when parsing a string
5949 containing a dot followed by any non '0' number.
5951 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5956 * UInt64.cs: added complex Parse ().
5958 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5963 * Int64.cs: added complex Parse ().
5965 2002-04-09 Nick Drochak <ndrochak@gol.com>
5967 * Array.cs (BinarySearch): Add checks on paramters before using them
5968 and throw exceptions as needed.
5970 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
5971 "G" format to "F" if so.
5973 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
5975 * MonoCustomAttrs.cs: return arrays of type Attribute[]
5976 instead of object[].
5978 2002/04/09 Nick Drochak <ndrochak@gol.com>
5980 * String.cs (Substring): Copy only non-null characters to the new
5983 2002-04-09 Nick Drochak <ndrochak@gol.com>
5985 * IntegerFormatter.cs: Don't use a format character to indicate a
5986 custom format was passed in. It was using 'z' to indicate a custom
5987 format, but really it should throw a format exception if the user
5988 tries to use "z" as the format string. Now it does.
5990 * Activator.cs: New File.
5992 2002-04-08 Nick Drochak <ndrochak@gol.com>
5994 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
5995 applied to an enum. Need to handle the different possible integer
5996 types of an enum somehow. Can anyone say generics?
5998 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
6000 * Convert.cs: switched the To*(object) methods to use
6001 IConvertible directly instead of calling ChangeType
6003 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
6005 * ValueType.cs: make Equals() an internalcall.
6007 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
6009 * Type.cs: also look for nested types in FindMembers.
6010 * MonoType.cs: make GetNestedTypes() an internalcall.
6012 2002-04-05 Nick Drochak <ndrochak@gol.com>
6014 * Enum.cs (Parse): Handle different underlying types.
6016 2002/04/04 Nick Drochak <ndrochak@gol.com>
6018 * Enum.cs (IsDefined): Throw exception when type of value to look for
6019 is not the correct one. Attempt to have it work with string values
6020 too, but not sure if the unit tests are getting that far yet.
6022 2002-04-04 Nick Drochak <ndrochak@gol.com>
6024 * Decimal.cs: Fix a couple of typos.
6026 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
6028 * Enum.cs: the values array is of the enum and not of the underlying
6029 type. Updates and some bug fixes.
6030 * MonoType.cs: make the internalcall return FullName instead of the
6031 assembly qualified name.
6032 * Type.cs: make ToString () simply return FullName.
6034 2002-04-03 Nick Drochak <ndrochak@gol.com>
6036 * Type.cs (GetTypeCode): provide some of the implementation for this
6037 method. It's still too simplistic to be considered complete.
6039 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
6041 * Object.cs: fixed FieldGetter/FieldSetter signature
6043 2002-04-02 Nick Drochak <ndrochak@gol.com>
6045 * Environment.cs: add MonoTODO's on parts that should have it.
6047 2002-04-01 Nick Drochak <ndrochak@gol.com>
6049 * Enum.cs: added reality checks (check parameters to most methods that
6052 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
6054 * Object.cs: added FieldGetter/FieldSetter
6056 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6058 * IntegerFormatter.cs: fixed initialization error in static
6061 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
6063 * Delegate.cs: added new field to store a trampoline function
6065 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6067 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
6068 make custom format strings work (not fully functional yet).
6070 2002/03/28 Nick Drochak <ndrochak@gol.com>
6072 * IntegerFormatter.cs: Change class from internal to public. Add
6073 necessary [CLSCompliant(false)] attributes.
6075 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
6076 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
6079 2002-03-28 Nick Drochak <ndrochak@gol.com>
6081 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
6083 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
6085 * Console.cs: Modified to get std handles from MonoIO.
6086 * Environment.cs: removed PAL dependencies.
6088 2002-03-25 Miguel de Icaza <miguel@ximian.com>
6090 * String.cs (System): Removed internal enumeration, because
6091 bootstrapping the corlib at this point does not support
6094 * IntPtr.cs: Temporary work-around until I fix the assembly
6097 2002-03-24 Martin Baulig <martin@gnome.org>
6099 * Enum.cs (GetValues): According to the docu this is sorted after
6102 * String.cs (System): Removed enumeration, because it is pretty
6103 hard to support enumerations in /nostdlib mode for the core types.
6105 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
6107 * Array.cs: move error handling in the catch block.
6108 * MulticastDelegate.cs: remove == and != operators that were
6109 removed with the delegate changes (when you add stuff, please do not
6110 remove existing functionality!).
6111 * Type.cs: if a property is not found in a type, search for it
6112 in the parent types, too.
6114 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
6116 * Math.cs: changed to use icall instead of PAL.
6118 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
6120 * Double.cs: added check for NaN (Bug [22082])
6122 2002-03-19 Nick Drochak <ndrochak@gol.com>
6124 * Enum.cs (Equals): check for null and throw if it is.
6125 * Enum.cs (Format): check for null parameters and throw if necessary.
6126 This method still needs more argument checking.
6128 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
6130 * Enum.cs (Equals): check if Enums are of the same type
6132 2002-03-18 Nick Drochak <ndrochak@gol.com>
6134 * Double.cs: Explicitly handle comparisons in CompareTo() for
6135 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
6137 * Enum.cs(CompareTo): Check types of values before trying to compare.
6138 Throw exceptions if types are invalid or don't match.
6140 2002-03-14 Miguel de Icaza <miguel@ximian.com>
6142 * Array.cs: Add some extra debugging information.
6144 2002-03-15 Nick Drochak <ndrochak@gol.com>
6146 * Array.cs: Added IList and IEnumerable.
6148 2002-03-14 Miguel de Icaza <miguel@ximian.com>
6150 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
6153 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
6155 * Delegate.cs (Equals): also compare method_ptr
6156 (GetHashCode): returm method_ptr as hash
6158 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
6159 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
6160 such as 42.ToString("0000000"), as these are (currently) not implemented
6161 in System.IntegerFormatter. TimeSpan luckely can do with Standard
6162 Numeric Format Strings, such as 42.ToString("D7").
6164 2002-03-12 Duncan Mak <duncan@ximian.com>
6166 * FieldAccessException.cs:
6167 * MethodAccessException.cs:
6168 * PlatformNotSupportedException.cs: Inherit from
6169 MemberAccessException, not SystemException.
6171 * ObsoleteAttribute.cs: Made Message and IsError properties
6174 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
6176 * GC.cs: make SuppressFinalize() a nop.
6177 * Delegate.cs: fix == operator.
6179 2002-03-13 Nick Drochak <ndrochak@gol.com>
6181 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
6182 runtime that goes with this patch.
6184 2002-03-10 Martin Baulig <martin@gnome.org>
6186 * Int32.cs (Parse): Correctly parse negative numbers.
6188 2002-03-08 Martin Baulig <martin@gnome.org>
6190 * String.cs (Split): Really fix it this time. Also adding several new
6191 testcase to the testsuite.
6193 2002-03-08 Martin Baulig <martin@gnome.org>
6195 * Array.cs (Copy): Optimized: removed duplicate null check, removed
6196 two duplicate GetLowerBound() calls and one duplicate IsValueType.
6198 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
6200 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
6201 * String.cs: use the dumb code for IndexOf(string): this is worth
6202 15-20 % speedup in mcs compile with mint.
6204 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
6206 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
6208 2002-03-07 Martin Baulig <martin@gnome.org>
6210 * String.cs (Join): Throw an ArgumentNullException.
6211 (LastIndexOf (string,int,int)): This method does a backwards search,
6212 so startIndex points to the end of value, not to its beginning. Don't
6213 throw an exception if startIndex equals this.Length. Always return -1
6214 if startIndex is smaller than the length of value.
6215 (Replace (string,string)): Replace all occurences of oldValue.
6216 If newValue is null, all occurences of oldValue are to be removed.
6217 (Split (char[],int)): Return an empty array if maxCount is zero, throw
6218 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
6219 elements, not maxValue+1.
6221 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
6223 * MonoType.cs: make GetEvents() an internal call.
6224 * MulticastDelegate.cs: copy the passed in array.
6226 2002-03-06 Martin Baulig <martin@gnome.org>
6228 * Array.cs (Copy): Use FastCopy when appropriate and do correct
6231 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
6232 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
6233 some of the failures found be new tests (see ChangeLog in
6234 Test/System). Comments added to this method, based on
6235 the representation invariant of this class, that (try to) explain
6236 why it now should be correct.
6238 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
6240 * Int64.cs (Parse): bug fix for max. negative value.
6242 2002-03-07 Nick Drochak <ndrochak@gol.com>
6244 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
6245 I need to understand what the difference between the attribute and
6248 2002-03-06 Martin Baulig <martin@gnome.org>
6250 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
6251 an InvalidCastException if the widening conversion failed. See
6252 testcases #M94-#M96.
6254 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
6255 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
6258 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
6259 (Copy): Actually allow copying multi-dimensional arrays.
6261 2002-03-05 Duncan Mak <duncan@ximian.com>
6264 (DBNull) Added the missing field.
6265 (IsDBNull) Fixed typo.
6266 (ToByte (string, int)) Implemented.
6267 (ToString (byte, int)) Implemented.
6269 (BuildConvertedString) internal functions used for converting values to
6277 * UInt32.cs: Implemented the IConvertible interface.
6279 * CharEnumerator.cs: Renamed to variables to be clearer and
6280 changed some of the tests to conform to the 1.0 spec.
6282 2002-03-06 Martin Baulig <martin@gnome.org>
6284 * Array.cs (Copy): Calculate absolute array position here and use
6285 GetValueImpl() and SetValueImpl() with that position. We can now
6286 copy multi-dimensional arrays.
6287 (CopyTo): Small bug fix.
6289 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
6291 * Version.cs: CompareTo changed according the LAMESPEC discovered by
6292 Nick (See VersionTest.cs).
6293 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
6294 error comparing the current position (idx) against the length of the
6295 string iterated and it set idx to an unrecognized special value (-2)
6297 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
6299 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
6300 to do this dirty work, but someone has to do it (and I need it to pass
6301 the "200 sample tests compiled on linux" mark).
6303 2002-03-06 Nick Drochak <ndrochak@gol.com>
6306 * DecimalFormatter.cs
6313 * RuntimeMethodHandle.cs
6314 * RuntimeTypeHandle.cs
6317 Add [MonoTODO]'s to places where we currently throw a
6318 NotImplementedException.
6320 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
6322 * Int16.cs (Parse): do not overflow on max negative value
6324 * Int32.cs (Parse): do not overflow on max negative value
6326 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
6328 * Type.cs: fixed IsClass.
6329 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
6330 IsByRefImpl. Added GetInterfaces().
6331 * IServiceProvider.cs: compilation fix.
6333 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
6335 * Array.cs: allow copying an empty array to an empty array.
6337 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
6339 * String.cs: fixed LastIndexOf (string) to do a bit of argument
6342 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
6343 * Version.cs: many fixes to failures found by the newly created
6344 test cases for this class. Specifically, the CompareTo member
6345 returned wrong values due to the use of Int32.MaxValue as a special
6346 value indicating an "undefined" version component. Also implemented the
6347 missing operators (==, <, >, etc.), one missing constructor and
6348 and some exception throwing.
6350 2002-03-04 Nick Drochak <ndrochak@gol.com>
6352 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
6353 * Attribute.cs: Add missing attributes: Serializable and
6354 AttributeUsage(AttributeTargets.All)
6356 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
6358 * MonoType.cs: implemented GetConstructors(), GetFields(),
6359 GetMethods(), GetProperties().
6360 * Object.cs: added debugging icall obj_address().
6361 * Type.cs: fixed the binding flags for some Get* methods.
6362 Implemented FindMembers() as calls to the specific GetMember
6365 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
6366 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
6367 should give an exception for n>=s.Length.
6369 2002-03-01 Martin Baulig <martin@gnome.org>
6371 * Array.cs: More argument checking and bug fixing.
6373 2002-03-01 Miguel de Icaza <miguel@ximian.com>
6375 * BitConverter.cs: Indentation match
6377 * AppDomain.cs: Added MonoTODOs to this too.
6379 * Buffer.cs: Added MonoTODOs to this.
6381 2002-03-01 Martin Baulig <martin@gnome.org>
6383 * Array.cs: Added argument checking to all methods where it was missing.
6385 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
6387 * BitConverter.cs: Fixed bugs in ToString methods
6389 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
6391 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
6393 2002-03-01 Nick Drochak <ndrochak@gol.com>
6395 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
6396 ArgumentOutOfRangeException like the docs say.
6398 2002-03-01 Martin Baulig <martin@gnome.org>
6400 * Enum.cs (CompareTo): Correctly override this method from IComparable.
6402 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
6404 2002-02-28 Martin Baulig <martin@gnome.org>
6406 * String.cs: This file now passes the testsuite on Linux :-)
6408 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
6409 make them private and provide C# wrappers which do proper argument checking.
6411 * String.cs (Format): Correctly handle escaped brackets.
6413 * String.cs (_CompareChar): New internal function which compares two chars.
6414 (_Compare): Provide an internal compare method which can do all sorts of
6415 comparision and call it from all the Compare() methods. Also fixed a lot of
6416 bugs here, this code now actually passes the testsuite.
6418 2002-02-28 Duncan Mak <duncan@ximian.com>
6420 * Convert.cs: Added the missing methods. The new class status page
6421 kicks ass, it even found my typos! Woohoo!
6422 (ConvertFromBase): Moved the Exception throwing in here and
6423 removed the other occurances so it's all centralized now.
6424 (ISDBNull): Implemented.
6425 (GetTypeCode): Implemented.
6427 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
6428 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
6429 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
6430 states that a lacking format should be interpreted as "N".
6431 Also added [Serializable] attribute
6432 * TimeSpan.cs: some formatting and added the [Serializable] attribute
6434 2002-02-26 Duncan Mak <duncan@ximian.com>
6436 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
6438 2002-02-26 Martin Baulig <martin@gnome.org>
6440 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
6441 fields of the interncall GetTimeZoneData.
6443 * DateTime.cs: Implemented Parse and fixed a few bugs.
6445 * String.cs (TrimStart): Small fix.
6447 2002-02-26 Martin Baulig <martin@gnome.org>
6449 * DateTime.cs: ParseExact is now fully functional.
6451 * String.cs (TrimEnd): Small fix.
6453 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
6454 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
6455 missing for about six months.
6457 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
6459 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
6461 2002-02-26 Martin Baulig <martin@gnome.org>
6463 * DateTime.cs: Miguel already committed this, but there was still a
6464 ChangeLog entry for this missing ....
6465 We're now reusing functionality from TimeSpan, printing dates is
6466 fully implemented, currently working on parsing.
6468 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
6471 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
6473 * MonoType.cs: disable constructor.
6474 * Object.cs: make GetType() an internalcall.
6475 * Type.cs: added correct bindingflags to GetMethods ().
6476 All such calls should be reviewed to use the correct flags.
6478 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
6480 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
6483 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
6485 * Type.cs: implemented IsAssignableFrom.
6487 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
6488 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
6489 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
6490 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
6491 The former is documented by Microsoft. The latter is how they
6492 actually implemented it in mscorlib:-)
6494 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
6496 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
6498 * MonoType.cs: Implemented custom attributes methods.
6501 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
6504 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
6506 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
6508 * MonoType.cs: Implemented custom attributes methods.
6510 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
6512 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
6514 2002-02-19 Duncan Mak <duncan@ximian.com>
6516 * Convert.cs: Finished up the missing methods in Convert. Added a
6517 new private method ConvertFromBase.
6519 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
6521 * String.cs: impl. IConvertible interface
6523 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
6524 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
6526 2002-02-18 Duncan Mak <duncan@ximian.com>
6528 * Convert.cs: Changed from using Type.GetType (string) to just
6529 typeof (). Probably will speed things up a bit?
6531 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
6534 1. Fix for GetUpperBound to return correct values
6535 2. made some Properties virtual
6536 3. Adds IsFixedSize and IsReadOnly properties.
6537 4. changes CreateInstance(Type,int[],int[]) to throw Exception
6538 when third arg is null. InternalCall CreateInstance changed to
6540 5. Fixed array.GetUpperBound at a couple of places
6541 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
6542 7. Added two FIXME's in BinarySearch functions.
6544 2002-02-17 Duncan Mak <duncan@ximian.com>
6546 * TimeZone.cs: Applied the rest of Ajay's patch for
6547 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
6550 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
6551 * Guid.cs: added stub for Guid(string) ctor
6553 2002-02-17 Duncan Mak <duncan@ximian.com>
6555 * Convert.cs: Near-complete implementation of Convert.cs
6557 Added all the To* methods taking (object) and
6558 (object, IFormatProvider) as parameters.
6560 Added [CLSCompliant (false)] attributes to methods dealing with
6563 Added the missing section on converting to and from DateTime. Only
6564 6 missing methods, all marked with MonoTODOs. Will tackle them later.
6566 2002-02-16 Duncan Mak <duncan@ximian.com>
6568 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
6569 make IsDaylightSavingTime (DateTime) call
6570 IsDaylightSavingTime (DateTime, DaylightTime).
6572 Added internal class CurrentTimeZone from Ajay. It needs more work
6573 to fill in the appropriate internal calls.
6575 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
6577 * Type.cs: fix IsClass.
6579 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
6581 * String.cs: fix Trim().
6583 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
6585 * String.cs: fix more off by one errors.
6587 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
6589 * MonoType.cs: fix IsValueTypeImpl.
6590 * Type.cs: fix IsEnum. Implement Equals methods.
6592 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
6594 * Int32.cs: implement IConvertible interface.
6596 2002-02-12 Duncan Mak <duncan@ximian.com>
6598 * TimeZone.cs: Implemented and added to CVS.
6600 2002-02-11 Duncan Mak <duncan@ximian.com>
6602 * Convert.cs: Implemented the ChangeType () methods.
6604 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
6606 * Array.cs: make Clone() an internal call.
6608 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
6609 * Changed Guid.NewGuid so that it can use both System.Random and
6610 System.Security.Cryptography.RandomNumberGenerator
6612 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
6613 * First version of Guid.NewGuid
6615 2002-02-08 Duncan Mak <duncan@ximian.com>
6617 * RuntimeArgumentHandle.cs: Added to CVS.
6619 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
6621 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
6622 UnhandledExceptionEventHandler.cs: added delegates.
6624 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
6626 * MarshalByRefObject.cs: add ToString () method
6627 (apparently needed by nunit).
6628 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
6629 by it in the runtime.
6631 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
6633 * String.cs (Format): implemented
6635 2002-02-07 Duncan Mak <duncan@ximian.com>
6637 * DuplicateWaitObjectException:
6638 * InvalidCastException:
6639 * NotImplementedException:
6640 * NotSupportedException:
6641 * NullReferenceException:
6642 * OutOfMemoryException:
6643 * OverflowException:
6645 * StackOverflowException.cs:
6646 * UnauthorizedAccessException: Added missing constructor used for serialization.
6648 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
6650 * String.cs (System.Compare): bug fix
6652 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
6654 * Enum.cs (Parse, GetHashCode): impl.
6656 2002-02-05 Duncan Mak <duncan@ximian.com>
6658 * DBNull.cs: This is my first crack at the DBNull class. I think I
6659 actually got most of the IConvertible methods right, but I haven't
6660 done the research to test whether or not this is the correct
6661 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
6663 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
6665 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
6667 * Enum.cs: added more functionality (GetName, ToObject, Equals)
6669 2002-01-31 Duncan Mak <duncan@ximian.com>
6671 * InvalidOperationException.cs:
6672 * NotFiniteNumberException.cs:
6673 * ObjectDisposedException.cs:
6674 * TypeInitializationException.cs: Added missing bits for serialization/
6676 * AppDomainUnloadedException.cs:
6677 * ApplicationException.cs:
6678 * ArgumentOutOfRangeException.cs:
6679 * ArithmeticException.cs:
6680 * ArrayTypeMismatchException:
6681 * BadImageFormatException.cs:
6683 * MissingMemberException.cs:
6684 * TypeLoadException.cs: Added missing bits for serialization.
6686 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
6687 * Guid.cs: implemented everything but Guid.NewGuid
6689 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
6691 * _AppDomain.cs: remove ToString() method: it doesn't seem right
6692 to have it in this interface and it screws up the method vtable setup.
6694 2002-01-28 Andrei Zmievski <andrei@php.net>
6696 * Double.cs: implemented IConvertible interface.
6698 2002-01-28 Miguel de Icaza <miguel@ximian.com>
6700 * ArgumentException.cs: Implement serialization constructor.
6701 (GetObjectData): Implement serializer.
6703 * ArgumentNullException.cs: Implement serialization constructor.
6705 * Exception.cs: Implement serialization constructor.
6706 (GetObjectData): Implement serializer.
6708 2002-01-23 Miguel de Icaza <miguel@ximian.com>
6710 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
6712 2002-01-23 Duncan Mak <duncan@ximian.com>
6714 * EntryPointNotFoundException.cs:
6715 * FormatException: Added missing constructor and related bits.
6717 * TypeLoadException: Added missing constructor, methods and properties.
6719 2002-01-23 Miguel de Icaza <miguel@ximian.com>
6721 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
6722 manually getting the enumerator.
6724 (AppDomain.AppDomain): Prime the loaded assemblies with the
6725 assemblies loaded by the runtime in our behalf.
6727 * AppDomainSetup.cs: Remove private keyword, that is the default.
6728 Add a new property DisallowPublisherPolicy.
6730 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
6732 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
6734 * MonoType.cs, Type.cs: many updates, corrected implementation,
6737 2002-01-20 Andrei Zmievski <andrei@php.net>
6740 * Char.cs: implemented IConvertible interface.
6742 * Boolean.cs: use our own ToString() method directly.
6744 2002-01-20 Duncan Mak <duncan@ximian.com>
6746 * Files I commited recently: Fixed indentation style.
6748 2002-01-20 Nick Drochak <ndrochak@gol.com>
6750 * SerializableAttribute.cs: this attrib can be used on enums, structs,
6751 and delegates too. Added the appropriate usage flags.
6753 2002-01-18 Duncan Mak <duncan@ximian.com>
6755 * CharEnumerator.cs: Implemented.
6756 * String.cs (System): Fixed the GetEnumerator () method(s).
6758 * ObsoleteAttribute.cs:
6759 * STAThreadAttribute.cs:
6760 * MTAThreadAttribute.cs:
6761 * ThreadStaticAttribute.cs:
6762 * LoaderOptimizationAttribute.cs:
6763 * PlatformNotSupportedException.cs:
6764 * LoaderOptimization.cs: Added to CVS.
6766 2002-01-18 Duncan Mak <duncan@ximian.com>
6768 * AppDomainUnloadedException.cs:
6769 * MethodAccessException.cs:
6770 * ContextMarshalException.cs:
6771 * CannotUnloadAppDomainException.cs:
6772 * DllNotFoundException.cs:
6773 * EntryPointNotFoundException.cs:
6774 * FieldAccessException.cs:
6775 * TypeUnloadedException.cs:
6776 * MissingFieldException.cs: Added to CVS.
6778 * ApplicationException.cs:
6779 * MemberAccessException.cs:
6780 * MissingMemberException.cs
6781 * MissingMethodException.cs:
6782 * SystemException.cs: Added [Serializable] attribute.
6784 * Exception.cs: Added [Serializable] attribute, made properties
6785 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
6788 * ContextStaticAttribute.cs: Added [Serializable] attribute and
6789 put in the missing constructor.
6791 * Environment.cs: Commented out references to
6792 EnvironmentPermissionAttribute, because they're just stubbed out
6793 right now and has no implementation.
6795 2002-01-16 Andrei Zmievski <andrei@php.net>
6797 * Boolean.cs: implemented IConvertible interface
6799 2002-01-15 Nick Drochak <ndrochak@gol.com>
6801 * ResolveEventArgs.cs: class should derive from EventArgs.
6803 2002-01-14 Miguel de Icaza <miguel@ximian.com>
6805 * String.cs (System): Use DefaultMemberName for the String class.
6807 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
6809 * String.cs: use IndexerName in index char accessor.
6811 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
6813 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
6814 * String.c: eliminate 64k+ method calls in search.
6815 * Type.cs: handle byref and array types in ToString ().
6817 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
6819 * Guid.cs: created first version
6821 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
6823 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
6825 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
6827 * MulticastDelegate.cs: add == and != operator stubs.
6828 * String.cs: check for null in == operator.
6829 * Type.cs: use a virtual method to get TypeAttributes.
6831 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
6832 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
6834 2002-01-09 Nick Drochak <ndrochak@gol.com>
6836 * Environment.cs: Comment out Security attribute and put a MonoTODO
6837 there as a reminder. We need mcs magic to handle security attributes in
6840 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
6841 * Created IAppDomainSetup.cs
6843 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
6844 * Created System._AppDomain interface in _AppDomain.cs
6846 2002-01-06 Nick Drochak <ndrochak@gol.com>
6848 * ResolveEventArgs.cs: New File, completely implemented! ;)
6850 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
6852 * Enum.cs: dummy ToString impl.
6853 * String.cs: dummy format implementations to get compiler errors
6855 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
6857 2002-01-05 Ravi Pratap <ravi@ximian.com>
6859 * TODOAttribute.cs : Augment some more; provide two constructors
6860 with support for a comment too.
6862 2002-01-05 Nick Drochak <ndrochak@gol.com>
6864 * Uncommented those MonoTODO's now that Ravi's got
6867 2001-01-04 Ravi Pratap <ravi@ximian.com>
6869 * TODOAttribute.cs : Actually add this time ;-)
6871 Change name to MonoTODO.
6873 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
6875 * String.cs (Trim): Fixed a few logic bugs in the code that
6876 calculated how much to trim off the end of the string.
6878 2001-01-04 Nick Drochak <ndrochak@gol.com>
6880 * Commented out the [TODO] attributes for now. We don't have the
6881 class written. Also changed it to [MonoTODO]
6883 2002-01-04 Ravi Pratap <ravi@ximian.com>
6885 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
6886 our class libraries that are incomplete.
6888 * Array.cs : Apply attribute wherever we find a FIXME which says
6889 we need something to be implemented there.
6893 * MulticastDelegate.cs : Ditto.
6895 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
6896 RuntimeTypeHandle.cs : Ditto.
6898 * String.cs : Ditto.
6902 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
6904 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
6905 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
6907 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
6908 Delegate.cs : Ditto.
6910 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
6911 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
6913 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
6915 * Delegate.cs: add Remove() stub.
6916 * Enum.cs: add ToObject().
6917 * Type.cs: add IsEnum property.
6919 2002-01-03 Kristian Rietveld <kris@gtk.org>
6921 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
6922 DateTime and object.
6924 2001-12-30 Nick Drochak <ndrochak@gol.com>
6926 * Byte.cs (Parse): Add comments to aid in testing.
6928 2001-12-21 Miguel de Icaza <miguel@ximian.com>
6930 * Char.cs (Parse): Implement.
6932 * Byte.cs (Parse): Implement a fast parser.
6934 * SByte.cs (Parse): Implement a fast parser.
6936 * UInt16.cs (Parse): Implement a fast parser.
6938 * Int16.cs (Parse): Implement a fast parser.
6940 * UInt32.cs (Parse): Implement a fast parser.
6942 * Int32.cs (Parse): Implement a fast parser.
6944 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
6946 * Array.cs: fix null ref in sort code.
6947 * UInt64.cs: add bare-bones parse.
6949 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
6951 * Byte.cs: removed use of Regexes.
6953 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
6955 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
6956 IsDefined(), GetUnderlyingType().
6957 * String.cs: fix one instance of Compare().
6958 * Type.cs: implemented GetProperties(), GetProperty().
6960 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
6962 * Array.cs: implement CopyTo ().
6963 * Char.cs: implement ToString ().
6964 * Exception.cs: bugfix.
6965 * Int32.cs: bare-bones Parse ().
6966 * MonoType.cs: query the needed info with an internalcall.
6967 * String.cs: speedups, bugfixes, reduced copies.
6968 * Type.cs: added missing fields. Implemented many of the Is*
6969 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
6970 GetFields(), FindMembers(), ToString().
6972 2001-12-11 Dick Porter <dick@ximian.com>
6974 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
6976 * Console.cs: Use handles rather than casting file descriptors
6978 2001-12-08 Nick Drochak <ndrochak@gol.com>
6980 * Byte.cs (Parse): Start implementation. Parse(string) works, but
6981 now we need to handle other formats
6983 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
6985 * DateTime.cs: added an icall to GetNow()
6987 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
6989 * Double.cs: added the parse method from Bob Smith
6991 2001-11-28 Miguel de Icaza <miguel@ximian.com>
6997 * Int32.cs (Int32.CompareTo): Fix because we can not just
6998 substract the values.
7000 Return possitive value if the object is null.
7002 * Boolean.cs: (Boolean.CompareTo): ditto.
7004 * Int16.cs (Int16.CompareTo): ditto.
7006 * Byte.cs (Byte.CompareTo): ditto.
7008 * SByte.cs (SByte.CompareTo): ditto.
7010 * Char.cs (Char.CompareTo): ditto.
7012 * Decimal.cs (Decimal.CompareTo): ditto.
7014 * Int64.cs (Int64.CompareTo): ditto.
7020 2001-11-28 Nick Drochak <ndrochak@gol.com>
7022 * Byte.cs: Throw NotImplementedException for Parse.
7024 2001-11-27 Derek Holden <dholden@draper.com>
7026 * IntegerFormatter.cs: Formatting of type "Number" was not
7027 using NumberFormatInfo.NumberNegativePattern.
7029 2001-11-26 Dick Porter <dick@ximian.com>
7031 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
7032 the finalise routine any more
7034 2001-11-21 Miguel de Icaza <miguel@ximian.com>
7036 * ApplicationException.cs: internationalize by adding calls to
7037 Locale.GetText (). And throw NotImplementedExceptions on calls
7038 that we have to implement.
7040 * Version.cs: Ditto.
7042 * ValueType.cs: ditto.
7044 * UnauthorizedAccessException.cs: ditto.
7052 * TypeLoadException.cs: ditto
7054 * TypeInitializationException.cs: ditto.
7058 * TimeSpan.cs: ditto.
7060 * SystemException.cs: ditto.
7064 * StackOverflowException.cs: ditto.x
7070 * RuntimeTypeHandle.cs: ditto.
7072 * RuntimeMethodHandle.cs: ditto.
7074 * RuntimeFieldHandle.cs: ditto.
7078 * OutOfMemoryException.cs: ditto.
7080 * OperatingSystem.cs: ditto.
7082 * ObjectDisposedException.cs: ditto.
7084 * NullReferenceException.cs: ditto.
7086 * NotImplementedException.cs: ditto.
7088 * NotFiniteNumberException.cs: ditto.o
7090 * MulticastNotSupportedException.cs: ditto.
7092 * MissingMethodException.cs: ditto.
7094 * MemberAccessException.cs: ditto.
7098 * InvalidCastException.cs: ditto.
7100 * IntegerFormatter.cs: ditto.
7106 * IndexOutOfRangeException.cs: ditto.
7108 * Environment.cs: ditto
7112 * DuplicateWaitObjectException.cs: ditto.
7114 * DivideByZeroException.cs: ditto.
7116 * Delegate.cs: ditto
7118 * DecimalFormatter.cs: ditto.
7120 * Decimal.cs: ditto.
7122 * DateTime.cs: ditto.
7124 * Convert.cs: ditto.
7130 * Boolean.cs: ditto.
7132 * ArrayTypeMismatchException.cs: ditto.
7134 * ArithmeticException.cs: ditto.
7136 * ArgumentOutOfRangeException.cs: ditto.
7138 * ArgumentNullException.cs: ditto.
7140 * Enum.cs: Make it derive from ValueType, add CompareTo method.
7142 * Attribute.cs: Reformat.
7144 2001-11-14 Miguel de Icaza <miguel@ximian.com>
7146 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
7147 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
7148 exception if the value is null too.
7150 * Char.cs (CompareTo): ditto.
7152 * ApplicationException.cs: Added constructor that does serialization.
7154 * ParamArrayAttribute.cs: Define attribute correctly.
7156 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
7158 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
7159 * Array.cs: fix Array.Copy.
7160 * AssemblyLoadEventArgs.cs: rename field.
7161 * CLSCompliantAttribute.cs: use correct name for the class.
7162 * Char.cs: fix IsLetter.
7163 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
7164 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
7165 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
7166 * Delegate.cs: renamed target field to m_target.
7167 * Enum.cs: added missing methods.
7168 * MonoType.cs: add a constructor and some needed properties.
7169 * Object.cs: implement GetType().
7170 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
7172 * Type.cs: add missing methods/properties.
7174 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
7176 * AttributeUseage.cs: Should define AttributeUsageAttribute.
7178 * CLSCompliant.cs: Marked with AttributeUsage attribute.
7180 * Decimal.cs: Fixed CLSCompliant attributes.
7182 * Type.cs: changed _impl to internal (needs to be accessable by
7185 (TypeHandle): Marked as abstract, implementation removed.
7187 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
7188 GetMethod): Added stub implementations so NUnit would link against
7191 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
7193 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
7195 2001-11-05 Miguel de Icaza <miguel@ximian.com>
7197 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
7200 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
7202 * String.cs: fix a couple of bugs.
7203 * AppDomain.cs: use new AppBuilder constructor.
7204 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
7205 NotImplementedException.cs, ObjectDisposedException.cs,
7206 UnauthorizedAccessException.cs: add implementation.
7207 * OverflowException.cs: fix class name.
7209 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
7211 * String.cs: Don't use a terminating nil char for our internal
7214 2001-10-27 Miguel de Icaza <miguel@ximian.com>
7216 * Delegate.cs (Delegate.CombineImpl): Implement.
7217 (Delegate.Combine): Implement.
7219 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
7221 (MulticastDelegate.CombineImpl): This was not as trivial as I
7224 * ContextStaticAttribute.cs: Added AttributeUsage to
7225 ContextStaticAttribute.
7227 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
7229 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
7231 * added Decimal.cs * added DecimalFormatter.cs (internal class
7232 used from System.Decimal)
7234 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
7236 * Convert.cs: Added methods for Base64 transforming just used the
7237 existing System.Security.Cryptography.ToBase64Transform, should
7238 be changed to use a stand-alone class, e.g. Base64Encoder
7240 2001-10-10 Derek Holden <dholden@draper.com>
7242 * IntegerFormatter.cs: Added. Implements ToString for all the
7243 integer data types for all the format types.
7245 * Byte.cs: Using IntegerFormatter for ToString's.
7247 * SByte.cs: Using IntegerFormatter for ToString's.
7249 * Int16.cs: Using IntegerFormatter for ToString's.
7251 * Int32.cs: Using IntegerFormatter for ToString's.
7253 * Int64.cs: Using IntegerFormatter for ToString's.
7255 * UInt16.cs: Using IntegerFormatter for ToString's.
7257 * UInt32.cs: Using IntegerFormatter for ToString's.
7259 * UInt64.cs: Using IntegerFormatter for ToString's.
7261 2001-10-07 Miguel de Icaza <miguel@ximian.com>
7263 * Exception.cs: Implement bits of serialization.
7265 * RuntimeFieldHandle.cs: Implement Serialization features.
7267 * Type.cs: Implement TypeHandle property.
7269 2001-09-28 Dick Porter <dick@ximian.com>
7271 * LocalDataStoreSlot.cs: Implemented
7273 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
7275 * String.cs: fix off-by-one error in Trim().
7277 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
7279 * Type.cs: added GetType () method.
7281 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
7283 * MissingMethodException.cs, MissingMemberException.cs,
7284 MemberAccessException.cs: added.
7286 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
7288 * String.cs: don't access the string array out of bounds in
7289 LastIndexOf. * Type.cs: fix return type of the Assembly property.
7291 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
7293 * String.cs: make Intern and IsIntern internalcalls.
7295 2001-09-13 Dick Porter <dick@ximian.com>
7297 * Type.cs: Added a stub for the IsValueType property.
7299 * SystemException.cs (System): Added the other constructor, so
7300 that System.Threading exceptions can inherit it.
7302 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
7304 * String.cs (TrimStart): Don't keep looping through the trimchars
7305 once we've found a match.
7306 (TrimEnd): Same here.
7307 (Trim): And finally here.
7309 2001-09-07 Ravi Pratap <ravi@ximian.com>
7311 * Char.cs (IsLetterOrDigit): Implement.
7312 (IsLower): Implement, but we need to be Unicode aware.
7313 (IsNumber): Implement.
7314 (IsPunctuation): Implement.
7315 (IsWhiteSpace): Implement.
7316 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
7317 (ToLower): Same here.
7319 2001-09-04 Miguel de Icaza <miguel@ximian.com>
7321 * Object.cs: Shortcut, if (a == b) then return true.
7323 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
7325 * Delegate.cs: we need a pointer to the method thunk in
7326 the delegate object.
7328 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
7330 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
7332 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
7334 * String.cs (System): Don't mix uint and int.
7336 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
7338 * String.cs (BoyerMoore): Modified to not use pointers and to instead
7340 (IndexOf): Use BoyerMoore.
7342 2001-09-02 Miguel de Icaza <miguel@ximian.com>
7344 * All over: Use the autogenerated enumerations from the ECMA
7345 documentation that Sergey wrote.
7347 * PlatformID.cs: Add Unix definition.
7349 * OperatingSystem.cs: Use Unix instead of Linux here.
7351 * MarshalByRefObject.cs: Mark class as [Serializable].
7353 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
7355 * Console.cs: impl. (write only)
7356 implemented the stdin stuff
7358 * Int32.cs: impl. real op_Equal
7360 2001-08-24 Miguel de Icaza <miguel@ximian.com>
7362 * (common.src): Removed IAsyncResult as it is not on CVS yet.
7364 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
7365 as it breaks the build.
7367 2001-08-23 Michael Lambert <michaellambert@email.com>
7369 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
7370 added CLSCompliant attribute
7372 * IAsyncResult.cs: Added
7374 * common.src: Added IAsyncResult.cs
7376 2001-08-23 Michael Lambert <michaellambert@email.com>
7380 * common.src: Added UIntPtr.cs
7382 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
7384 * Attribute.cs: uncomment some code to make it compile again
7386 * mono.src: removed duplicated Attribute.cs
7388 2001-08-16 Nick Drochak <ndrochak@gol.com>
7390 * Attribute.cs: implemented all methods except GetHashCode()
7392 * common.src: added Attribute.cs so it would compile in
7394 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
7396 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
7397 marked it as InternalCall
7399 * common.src: removed UriFormatException.cs because the file is
7402 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
7403 * Char.cs: replaced byte with char
7405 * Array.cs: make it work with the mono interpreter
7407 2001-08-06 Miguel de Icaza <miguel@ximian.com>
7409 * Version.cs: Make the class sealed
7411 2001-08-08 Bob Smith <bob@thestuff.net>
7413 * Random.cs: Many compile fixes.
7414 * Random.cs: I read a bad spec. Class updated to match real spec.
7416 2001-08-06 Miguel de Icaza <miguel@ximian.com>
7418 * IntPtr.cs: Added and Completed implementation.
7420 * Uri.cs: Add a note.
7422 2001-08-06 Bob Smith <bob@thestuff.net>
7424 * Random.cs: Compile fix. Needs more testing.
7426 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
7428 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
7429 into account IPv6 addresses, url encoding needs to be implemented, and
7430 various minor methods need to be written, but this is a decent start.
7432 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
7434 * common.src: added Object.cs
7436 * mono.src: added ValueType.cs
7438 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
7440 * Math.cs: replaced libc with libm
7442 2001-08-02 Bob Smith <bob@thestuff.net>
7444 * Random.cs: Implemented. Needs testing.
7446 2001-08-02 Miguel de Icaza <miguel@ximian.com>
7448 * IServiceProvider.cs, EventHandler.cs: New files.
7450 2001-08-02 Marcel Narings <marcel@narings.nl>
7452 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
7453 Added exceptions. Added IConvertible. Still needs some platform
7454 dependend stuff, the Parse and ToString members
7456 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
7458 * Type.cs (GetTypeFromHandle): added placeholder
7460 2001-07-24 Derek Holden <dholden@draper.com>
7462 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
7463 which is really an IConvertible defined method.
7465 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
7466 behavior, still need to do the main Parse and ToString.
7468 * Char.cs: Added a bunch of missing ECMA methods. Commented a
7469 specification discrepency. Still didn't any unicode stuff, though
7470 every IsFoo(char c) method has an IsFoo(string, index)
7471 counterpart, added wrappers for those.
7473 * Convert.cs: Fixed NaN/Inf checking and double/float
7474 rounding. Added ToType for IConvertible classes
7476 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
7477 IsNaN methods. Changed Inf/NaN internals.
7479 * IConvertible.cs: Added comments for using
7480 Convert.ToType. Changed return values to draft base values.
7482 * Int16.cs: Added a missing Parse statement. Put in behavior for
7483 overloaded ToString and Parse methods.
7485 * Int32.cs: Added a missing Parse statement. Put in behavior for
7486 overloaded ToString and Parse methods.
7488 * Int64.cs: Added a missing Parse statement. Put in behavior for
7489 overloaded ToString and Parse methods.
7491 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
7492 methods. Changed Inf/NaN internals.
7494 * SByte.cs: Added a missing Parse method. Put in Parse and
7495 ToString behavior, still need to do the main Parse and ToString.
7497 * UInt16.cs: Added a missing Parse statement. Put in behavior for
7498 overloaded ToString and Parse methods.
7500 * UInt32.cs: Added a missing Parse statement. Put in behavior for
7501 overloaded ToString and Parse methods.
7503 * UInt64.cs: Added a missing Parse statement. Put in behavior for
7504 overloaded ToString and Parse methods.
7506 2001-07-20 Miguel de Icaza <miguel@ximian.com>
7508 * MulticastDelegate.cs: New File.
7510 * Delegate.cs: New file.
7512 * Enum.cs: New file.
7514 * Attribute.cs: New file.
7516 * Type.cs: New file.
7518 * ParamArrayAttribute.cs: New file.
7520 * RuntimeTypeHandle.cs: New file.
7522 * MulticastDelegate.cs: Added.
7524 * DateTime.cs: Added
7526 * Delegate.cs: Added
7528 2001-07-18 Michael Lambert <michaellambert@email.com>
7530 * AttributeTargets.cs: Add.
7532 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
7534 * Char.cs: Made ToUpper and ToLower public methods.
7536 * String.cs: Lots and lots of compile fixes - just need to write
7537 DateTime.cs and this should build completely now.
7539 2001-07-19 Bob Smith (bob@thestuff.net)
7541 * Math.cs: Implemented.
7543 2001-07-19 Miguel de Icaza <miguel@ximian.com>
7545 * String.cs: Removed tolower and toupper.
7547 * Char.cs: Moved ToLower and ToUpper from string to here.
7549 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
7550 instead of comparing the value to Nan.
7552 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
7554 * TimeSpan.cs: New implementation.
7556 2001-07-18 Scott Sanders <scott@stonecobra.com>
7558 * UriFormatExcpetion.cs: Add - 85% complete
7560 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
7562 * String.cs (IndexOf): Slight optimization that allows skipping
7563 over a few chars here and there. This isn't as good as using my
7564 Boyer-Moore implementation, however, Boyer-Moore is only really
7565 good for long strings (I plan on making the code decide which
7566 string search algorithm it should use on-the-fly at some point).
7567 (LastIndexOf): Fix to work correctly.
7568 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
7570 2001-07-16 Michael Lambert <michaellambert@email.com>
7572 * EventArgs.cs: Add.
7574 2001-07-16 Miguel de Icaza <miguel@ximian.com>
7576 * Version.cs: Remove my buggy comment.
7578 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
7580 * String.cs: Spelling error of IComparable, object's
7581 MemberwiseClone cannot be overridden. Made indexer valid for now,
7582 but not sure what to do about this in the long run. Seems to be a
7583 couple bugs in csc.exe having to do with multiple pointer defs in
7584 the same statement, and returning subclasses of a class in the
7585 return type of an interface function implementation. Also moved
7586 operators inside of class definition.
7588 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
7590 * String.cs: A tom of compile fixes, although we still don't compile.
7592 * IConvertible.cs: The To*Int64() methods return *Int64's, not
7593 *Int32's. Also, it's ToDateTime() not ToDateType().
7595 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
7597 * String.cs: Apparently I needed to at least write stubs for the
7598 IConvertible interfaces. *sigh*
7600 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
7602 * String.cs: Many logic/other fixes and better usage of the
7604 (tolower): New convenience method to help condense code.
7605 (toupper): Another new helper method.
7606 (Compare): Use the new helper methods.
7607 (ToLower): use tolower().
7608 (ToUpper): use toupper().
7609 (LastIndexOfAny): Implemented.
7610 (BoyerMoore): New private helper method that implements a modified
7611 version of the Boyer-Moore search algorithm. Noothing uses it yet
7612 as I'm not 100% sure it even works properly with unicode strings
7613 not to mention it uses a huge lookup-table :-)
7614 (Split): Implemented.
7616 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
7618 * TODO: Added things that need to be finished in System.String
7620 * String.cs: New source file implementing the System.String class
7622 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
7624 * TypeCode.cs: UInt64 was UInt63.
7626 * Object.cs: Fixed a numer of compiler errors.
7628 * Array.cs: Fixed some compiler errors.
7630 * IComparable.cs: Fixed some compiler errors.
7632 * ICloneable.cs: Fixed some compiler errors.
7634 * IConvertible.cs: Fixed some compiler errors.
7636 * IFormattable.cs: Fixed a compiler error.
7638 * IFormatProvider.cs: Fixed a compiler error.
7640 * IDisposable.cs: Fixed a compiler error.
7642 * IFormatProvider.cs: Added public accesability type to
7645 * Exception.cs: Added a using statement to remove compile time
7648 * ApplicationException.cs: Removed a ; that was causing a compiler
7651 * Int16.cs: Fixed some compiler errors.
7653 * Int32.cs: Fixed some compiler errors.
7655 * Int64.cs: Fixed some compiler errors.
7657 * SystemException.cs: Fixed a compiler error.
7659 * UInt16.cs: Fixed some compiler errors.
7661 * UInt32.cs: Fixed some compiler errors.
7663 * UInt64.cs: Fixed some compiler errors.
7665 * Void.cs: Fixed a compiler error.
7667 2001-07-12 Joe Shaw <joe@ximian.com>
7669 * Array.cs: Fix backwards parameters to Array.SetValue()
7671 (BinarySearch): Fix backward logic surrounding whether to call
7672 value.CompareTo or comparer.Compare.
7673 (LastIndexOf): Stop being stupid. I am so not used to strongly
7675 (Sort): Implement a quicksort.
7677 2001-07-11 Joe Shaw <joe@ximian.com>
7679 * Array.cs: Change all instances of trying to access an array with
7680 the index operator to calls to GetValue and SetValue, and add
7681 InternalGetValue and InternalSetValue which are internal calls
7682 into the runtime. Ew.
7684 2001-07-10 Joe Shaw <joe@ximian.com>
7686 * Array.cs: Implemented everything but Sort().
7688 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
7690 * Object.cs (Object::Equals): Object variable name is `o'.
7692 2001-07-06 Joe Shaw <joe@ximian.com>
7694 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
7695 Implement the IComparable and IFormattable interfaces. Fix a typo
7698 * ApplicationException.cs, ArgumentException.cs,
7699 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
7700 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
7701 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
7702 ExecutionEngineException.cs, FormatException.cs,
7703 IndexOutOfRangeException.cs, InvalidCastException.cs,
7704 InvalidOperationException.cs, InvalidProgramException.cs,
7705 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
7706 NotSupportedException.cs, NullReferenceException.cs,
7707 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
7708 StackOverflowException.cs, SystemException.cs,
7709 TypeInitializationException.cs: Added all of the exceptions
7710 specified by the language spec. Mmmm... bloat.
7712 2001-07-06 Miguel de Icaza <miguel@ximian.com>
7714 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
7715 do a generic routine all of these guys use.
7717 * Int16.cs: identified missing methods.
7719 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
7721 2001-06-26 Miguel de Icaza <miguel@ximian.com>
7723 * TypeCode.cs: Implement
7725 * Void.cs: Implement.
7727 * TODO: Add file to keep track of pending tasks.
7729 * Object.cs, ValueType.cs: Implement.