1 2005-03-24 Zoltan Varga <vargaz@freemail.hu>
3 * String.cs: Add some 2.0 methods.
5 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
7 * Activator.cs: Now use the supplied evidences when loading
8 assemblies. Added LinkDemand for RemotingConfiguration on both
10 * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
11 Input|Output] as they use a handle on a FileStream (which is
12 restricted otherwise). Added Demand for UnmanagedCode for the
13 Set[Error|In|Out] methods.
14 * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on
15 CreateObjRef, GetLifetimeService and InitializeLifetimeService.
16 * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on
17 GetFunctionPointer method.
18 * TypedReference.cs: Added LinkDemand for ReflectionPermission's
19 MemberAccess on MakeTypedReference.
21 2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
23 * Environment.cs: Fix CAS unit tests for NET_1_1.
24 * Exception.cs: Fix CAS unit tests for NET_1_1.
26 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
28 * Version.cs: don't ignore the last number. Fixes bug #73539.
30 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
32 * MonoType.cs: When the security manager is active, constructors and
33 methods will return null if a linkdemand fails during reflection
36 2005-03-11 Zoltan Varga <vargaz@freemail.hu>
38 * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
40 2005-03-10 Zoltan Varga <vargaz@freemail.hu>
42 * Environment.cs: Bump corlib version.
44 2005-03-10 Martin Baulig <martin@ximian.com>
46 * Nullable.cs (Nullable<T>.ToString): Return an empty string if
49 2005-03-09 Zoltan Varga <vargaz@freemail.hu>
51 * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
52 (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
55 2005-03-04 Zoltan Varga <vargaz@freemail.hu>
57 * Environment.cs: Bump corlib version.
59 * Exception.cs (StackTrace): Return the wrapper info as well.
61 2005-03-02 Kazuki Oikawa <kazuki@panicode.com>
63 * NumberFormatter.cs: Some internal classes was converted to structs,
64 and improved some points.
66 2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
68 * NumberFormatter.cs: Improved performance and memory usage
69 when integer standard format.
80 * TimeSpan.cs: Improved these directly call to NumberFormatter.
82 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
84 * TermInfoDriver.cs: set the xmit mode if available. Handle key input
85 and translate them into a ConsoleKeyInfo.
86 * TermInfoReader.cs: added a method to return the bytes of a string
88 * ConsoleKeyInfo.cs: added copy constructor and setters.
90 2005-02-24 Zoltan Varga <vargaz@freemail.hu>
92 * Array.cs: Add missing 2.0 attributes and correct some parameter names.
94 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
96 * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
97 and added some to support the reflection only methods. DoAssemblyResolve
98 was modified to invoke the new PreBindAssemblyResolve event when the
99 assembly is reflection only.
101 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
103 * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
104 Add net 2.0 ReliabilityContractAttributes.
106 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
108 * TermInfoDriver.cs: cygwin terminals are handled by the windows
112 * TermInfoNumbers.cs:
114 * TermInfoBooleans.cs:
115 * TermInfoStrings.cs: documented.
117 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
119 * Array.cs: Reverse the order in the Equals calls.
121 2005-02-18 Zoltan Varga <vargaz@freemail.hu>
123 * Exception.cs (StackTrace): Implement this in managed code since it is
124 needed by CAS. Fixes #72146.
126 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
128 * WindowsConsoleDriver.cs: implemented MoveBufferArea.
130 2005-02-14 Raja R Harinath <rharinath@novell.com>
132 * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
135 2005-02-12 Ben Maurer <bmaurer@ximian.com>
137 * Version.cs (CompareTo, Equals): Make sure the versions for
138 generics handle `null'. The non-generics versions now just call
139 the regular versions, to reduce code duplication.
141 * Boolean.cs (CompareTo): make this really work for generics
143 * Type.cs (GetProperty): Passing new Type [0] is different than
144 null. null means `I don't care how many types this has,' while new
145 Type [0] means `this must have 0 types.'
147 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
149 * corlib.dll.sources: added WindowsConsoleDriver.cs
151 * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
152 implemented the few missing properties/methods.
154 * System/IConsoleDriver.cs: uncommented all methods/properties.
155 * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
156 * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
157 windows. Only missing MoveBufferArea by now.
159 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
161 * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
163 * Int32.cs AppDomain.cs: Fix warnings.
165 2005-02-10 Marek Safar <marek.safar@seznam.cz>
167 * IServiceProvider.cs: Is not ComVisible.
169 * NonSerializedAttribute.cs: Fix AttributeUsage flags.
171 * Type.cs: Fix ClassInterface attribute.
173 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
175 * Delegate.cs: remove the finalizer from Delegate: this
176 is handled internally by the runtime now.
178 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
180 * Activator.cs: provide the Type name when throwing an exception.
182 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
184 * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
187 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
189 * Array.cs: provide specialized versions of some methods.
191 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
193 * String.cs: provide a managed memcpy and memset method
194 for use both in corlib and from the JIT. Implement
195 some methods with the managed helpers and remove some icalls.
197 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
199 * Exception.cs: Added Data property for NET_2_0 (required for new
202 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
207 * Console.cs: added BufferWidth and BufferHeight.
209 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
214 * IConsoleDriver.cs: added a few more properties and fixed cursor
217 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
219 * ConsoleDriver.cs: static class that forwards the Console 2.0 class
220 calls to the proper driver.
221 * TermInfoDriver.cs: terminfo based console driver.
222 * IConsoleDriver.cs: interface implemented by console drivers.
224 * ConsoleCancelEventArgs.cs:
225 * ConsoleCancelEventHandler.cs:
227 * ConsoleModifiers.cs:
228 * ConsoleSpecialKey.cs:
230 * ConsoleKey.cs: new enumerations.
232 * ConsoleKeyInfo.cs: New file.
234 * TermInfoReader.cs: reader for terminfo capabilities files.
236 * TermInfoNumbers.cs:
237 * TermInfoBooleans.cs:
238 * TermInfoStrings.cs: enumations for terminfo property names.
240 * KnownTerminals.cs: byte arrays for selected terminals.
242 * Console.cs: added more 2.0 methods and implemented some of them.
245 2005-01-30 Atsushi Enomoto <atsushi@ximian.com>
247 * Int32.cs : (FindSign) IndexOf() is better than creating substring.
249 2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
251 * BadImageFormatException.cs: Protect the fusion (GAC) log from being
252 disclosed unless code has ControlPolicy and ControlEvidence.
254 2005-01-27 Zoltan Varga <vargaz@freemail.hu>
256 * Exception.cs: Compute stack trace on demand.
258 2005-01-26 Sebastien Pouliot <sebastien@ximian.com>
260 * Environment.cs: Removed hack for static class (NET_2_0). Added
261 proper security for FailFast (documented in FDBK20543). Added new
262 method IsRunningOnWindows to replace (Platform == 128) as the logic is
263 gonna change in the future (Unix is id #4 in NET_2_0).
265 2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
267 * Environment.cs: Added CAS security (both declarative and imperative)
268 as a test. This shouldn't affect execution unless --security is
271 2005-01-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
272 * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
273 and Type.FilterName delegates They weren't dealing with the optional '*'
274 at the end of the filter mask
276 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
278 * Array.cs: Fix a typo in the previous patch.
280 * Array.cs: Fix some test failures in the generic methods.
282 * Array.cs: Implement AsReadOnly.
284 2005-01-13 Geoff Norton <gnorton@customerdna.com>
286 * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE). Fixes
289 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
291 * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
292 have been removed from 2.0.
294 2005-01-11 Zoltan Varga <vargaz@freemail.hu>
296 * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
299 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
301 * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
302 Add default culture (neutral) to the name when none is specified.
303 * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we
306 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
308 * DateTime.cs: Reverted last patch for utc as it broke all certificate
309 handling and another unit test in DateTime.
311 2005-01-09 Miguel de Icaza <miguel@ximian.com>
313 * DateTime.cs: Return immediately if useutc is set to true, there
314 is no need to do the extra computation (which also happened to
315 create a new DateTime using the `use_localtime' constructor, which
316 lead to the erroneous date returns when using 'u' or `U'
319 Fixes another bug in the regression test suite.
321 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
323 * AppDomain.cs: Fix the DefaultDomain property to return the root
324 domain (as it seems that the root's Id isn't always 0).
325 * BitConverter.cs: The "special support" for ToString(new byte[0]) is
326 only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
328 2005-01-08 Miguel de Icaza <miguel@ximian.com>
330 * IntegerFormatter.cs: The - sign inside the "negative" section in
331 a multi-format string means `show the sign' only if it is the
332 first token, not `copy verbatim'. In the other sections it means
335 This makes things like: (-34).ToString ("#;-#") show up as "-34"
338 The bad news is that this code needs to be rewritten to handle all
339 the formatting cases, see bug #71112 for details.
341 * Convert.cs (Convert.ToType): Throw an InvalidCastException if
342 the conversion is invalid, not ArgumentException, this fixes
343 another regression in our test suite.
345 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
347 * AppDomain.cs: Add ApplicationIdentity property for 2.0;
348 * AppDomainManager.cs: Remove HostRefusedSet support (it does not
351 2005-01-08 Zoltan Varga <vargaz@freemail.hu>
353 * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static
354 initialization problems.
356 2005-01-02 Ben Maurer <bmaurer@ximian.com>
358 * Int32.cs: NumberStyles.AllowExponent was supported by the
359 Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
362 2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
364 * Base64FormattingOptions.cs : it was not in System namespace.
366 2004-12-21 Atsushi Enomoto <atsushi@ximian.com>
368 * DateTime.cs : If no progress on value string, don't regard as
369 matched. This fixes bug #70707.
371 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
373 * Environment.cs: Bump corlib version.
375 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
377 * Array.cs (DoBinarySearch): Fix a warning.
379 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
381 * Environment.cs: Bump corlib version.
383 * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
385 2004-12-06 Ben Maurer <bmaurer@ximian.com>
387 * Exception.cs: Prevent stringifying the type name on the
388 ctor. this gets called a few times on every execution to create a
391 2004-12-06 Martin Baulig <martin@ximian.com>
393 * Decimal.cs: Decimal constant support has been merged into GMCS,
396 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
398 * Environment.cs: Bump corlib version.
400 * Environment.cs: Bump corlib version.
402 2004-11-30 Zoltan Varga <vargaz@freemail.hu>
404 * MonoType.cs (UnderlyingSystemType): Make this return this as in
405 MS.NET. Fixes #56245.
407 2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
409 * GC.cs : Collect(generation) actually does not throw an exception
410 even if generation > MaxGeneration (MS document bug).
412 2004-11-28 Zoltan Varga <vargaz@freemail.hu>
414 * Exception.cs: Implement _Exception under NET_2_0.
416 * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
418 * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
419 NotCancelableException.cs TimeoutException.cs: New files.
421 2004-11-23 Raja R Harinath <rharinath@novell.com>
423 * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
426 2004-11-23 Raja R Harinath <rharinath@novell.com>
428 * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
429 without decimal constant support.
431 2004-11-23 Marek Safar <marek.safar@seznam.cz>
433 * Decimal.cs: Updated to use compiler decimal constant support.
435 2004-11-20 Zoltan Varga <vargaz@freemail.hu>
437 * MonoType.cs: Revert last change since it breaks remoting.
439 2004-11-18 Zoltan Varga <vargaz@freemail.hu>
441 * MonoType.cs (UnderlyingSystemType): Make this return this as in
442 MS.NET. Fixes #56245.
444 2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
446 * INullable.cs: New interface added.
447 * Nullable.cs: Methods added. Also a static Nullable class
448 containing static methods.
450 2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
452 * BitConverter.cs: Added support for special case when ToString is
453 called with (new byte [0]).
455 2004-11-10 Lluis Sanchez <lluis@novell.com>
457 * Exception.cs: Added setter for StackTrace.
459 2004-11-07 Ben Maurer <bmaurer@ximian.com>
461 * IntegerFormatter.cs: Avoid .ToCharArray
463 2004-11-06 Ben Maurer <bmaurer@ximian.com>
465 * Single.cs, Double.cs (GetHashCode): Better hashcode impl
467 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
469 * InvalidOperationException.cs: make the message more meaningful and
470 real. Fixes bug #69055.
472 2004-10-28 Ben Maurer <bmaurer@ximian.com>
474 * String.cs: Rather than == String.Empty, use .Length == 0. It
475 is a bit faster (avoids a method call, and the code is less complex).
477 2004-10-24 Fawad Halim <fawad@fawad.net>
478 * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
479 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.
480 This fixes bug #64995.
482 2004-10-19 Lluis Sanchez <lluis@novell.com>
484 * MarshalByRefObject.cs: Field _identity is not serializable.
485 This fixes bug #68567.
487 2004-10-17 Ben Maurer <bmaurer@ximian.com>
489 * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
490 avoid entering slow integer formatting code.
492 (_ToString): Use ZeroPad here when possible, as it is faster.
494 2004-10-11 Martin Baulig <martin@ximian.com>
496 * Environment.cs: Bump corlib version to 28.
498 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
500 * Convert.cs (ToType): Throw an exception when converting null to a
501 valuetype. Fixes #67780.
503 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
505 * DateTime.cs : Performance fix. ParseExact() implementation should
506 avoid s = s.Substring(1).
508 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
510 * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
511 of m/s/t/z. This fixes bug 66723.
513 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
515 * String.cs: make GetHashCode() managed.
517 2004-10-04 Zoltan Varga <vargaz@freemail.hu>
519 * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
521 * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
523 * ModuleHandle.cs: Add missing methods.
525 * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
527 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
529 * AttributeTargets.cs: Add 2.0 GenericParameter value.
531 * Environment.cs: Bump corlib version.
533 2004-10-02 Zoltan Varga <vargaz@freemail.hu>
535 * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
537 2004-09-30 Geoff Norton <gnorton@customerdna.com>
539 * Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
540 and swapping of all values before going into the BitConverter so that values
541 are returned with proper endianess.
543 2004-09-23 Martin Garton <martin@wrasse.demon.co.uk>
545 * Convert.cs: ToType was returning unconverted object when it should
546 fail with an ArgumentException.
548 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
550 * Array.cs: Add stub for AsReadOnly<T>.
552 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
554 * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
556 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
559 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
561 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
564 * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
567 * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
569 * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
570 sealed' optimization.
572 * Type.cs: Implement 2.0 StructLayoutAttribute property.
574 * Type.cs Add GetPseudoCustomAttributes () method.
576 2004-09-24 Martin Baulig <martin@ximian.com>
578 * Type.cs (Type.GetGenericParameterConstraints): New public method.
580 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
582 * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
583 GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
585 * Type.cs: Tweak Module property in 2.0 build.
587 2004-09-23 Martin Baulig <martin@ximian.com>
589 * Type.cs (Type.GenericParameterAttributes): New public property.
591 2004-09-23 Martin Baulig <martin@ximian.com>
593 * GenericParameterAttributes.cs: New file.
595 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
597 * ModuleHandle.cs: Updated after changes to Module class.
599 2004-09-21 Geoff Norton <gnorton@customerdna.com>
601 * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
602 this filter. Fixes bug #65778.
604 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
606 * Environment.cs: Bump corlib version.
608 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
610 * ModuleHandle.cs: New file.
612 * RuntimeFieldHandle.cs: Add an internal ctor.
614 2004-09-19 Dick Porter <dick@ximian.com>
616 * Console.cs: Use the internal wrappers for StreamReader and
617 StreamWriter that catch IOException.
619 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
621 * Environment.cs: Bumped mono_corlib_version to 25.
623 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
625 * AppDomain.cs: added SetupInformationNoCopy property, since
626 SetupInformation creates a copy now, all updates to it should use the
627 actual data. Fixes bug #61991 take 2.
629 2004-09-09 Tim Coleman <tim@timcoleman.com>
630 * Base64FormattingOptions.cs: New enum
631 * Convert.cs: Add new ToBase64String methods for Fx 2.0
633 2004-09-08 Marek Safar <marek.safar@seznam.cz>
636 * GC.cs: Class is static for NET_2_0.
638 2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
640 * Activator.cs: Make sure not to call .GetType on a
641 null argument. fixes 63852
643 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
645 * Array.cs (Clear): make this an icall.
647 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
649 * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
651 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
653 * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
654 insensitive enironment variables hashtable once we create it.
656 2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
658 * AppDomain.cs: Changed 2 imperative security demands to declarative
659 (unsupported) so it doesn't (for now) call the security runtime.
661 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
663 * Delegate.cs: Free the delegate trampoline in the finalizer.
665 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
667 * ApplicationId.cs: Completed GetHashCode using information from MS
670 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
672 * Boolean.cs: Added TryParse static method for NET_2_0 profile.
674 2004-08-19 Atsushi Enomoto <atsushi@ximian.com>
676 * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
677 allows 12, that should not be accepted (13 is rejected) and
678 interpreted as 0. This fixes bug 63376.
680 2004-08-17 Sebastien Pouliot <sebastien@ximian.com>
682 * Version.cs: Fixed Clone so we can use it on versions with only
683 major/minor or major/minor/build.
685 2004-08-17 Martin Baulig <martin@ximian.com>
687 * MonoType.cs (MonoType.getFullName): Added `bool full_name'
688 argument specifying whether or not to include the type arguments.
689 (MonoType.FullName): Don't include the type arguments.
690 (MonoType.ToString): Include them here.
692 * Environment.cs: Bumped mono_corlib_version to 24.
694 2004-08-16 Duncan Mak <duncan@ximian.com>
696 * AttributeUsageAttribute.cs: Change the AttributeUsage to
697 AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
700 2004-08-11 Marek Safar <marek.safar@seznam.cz>
702 * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
703 Added call to AddPermissionRequests to pass permissions
705 * Environment.cs: Added a few Fx 2.0 methods
707 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
709 * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
710 * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
711 references). Added (non-obsolete) Fx 2.0 properties and methods.
712 * AppDomainSetup.cs: Added internal copy constructor.
713 * DomainManagerInitializationFlags.cs: Fixed values.
715 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
717 * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
718 * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
719 * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
720 * ApplicationId.cs: New Fx 2.0 class.
721 * ApplicationIdentity.cs: Fixed ToString.
722 * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
724 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
726 * AppDomain.cs: Added a new icall, getDomainByID, to get the an
727 AppDomain using it's Id. Completed SetAppDomainPolicy.
728 * Environment.cs: Bumped mono_corlib_version to 23.
730 2004-08-02 Martin Baulig <martin@ximian.com>
732 * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
734 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
736 * Environment.cs : GacPath on windows is based on mscorlib.dll, and
737 now its location is changed.
739 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
741 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
744 2004-07-18 Martin Baulig <martin@ximian.com>
746 * Array.cs: Ben Maurer implemented all the new generic methods
749 2004-07-17 Martin Baulig <martin@ximian.com>
751 * Decimal.cs: Implement IComparable<Decimal>.
753 2004-07-17 Martin Baulig <martin@ximian.com>
755 * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
756 UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.
758 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
760 * ActivationContext.cs: New class in Fx 2.0. Required for
761 System.Security.Policy.
762 * ApplicationIdentity.cs: New class in Fx 2.0. Required for
763 System.Security.Policy.
764 * IApplicationDescription.cs: New interface in Fx 2.0. Required for
765 System.Security.Policy.
766 * IHostContext.cs: New interface in Fx 2.0. Required for
767 System.Security.Policy.
769 2004-07-12 Geoff Norton <gnorton@customerdna.com>
771 * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
772 boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
773 and will add/subtract the hour if needed
775 2004-07-07 Geoff Norton <gnorton@customerdna.com>
777 * Monotype.cs: Patch for bug #58844. Dont throw exceptions right away;
778 pass through all the possibly BindingInfo's and keep a bool value as to the type
779 of exception we might need to throw;
781 2004-07-07 Geoff Norton <gnorton@customerdna.com>
783 * Patch to fix bug #58973
785 2004-07-02 Jackson Harper <jackson@ximian.com>
787 * PlatformID.cs: New 2.0 values.
789 2004-06-25 Ben Maurer <bmaurer@ximian.com>
791 * Environment.cs: GetFolderPath has new behavior. r=miguel
793 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
795 * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
796 bigger than 9999. Fix bug #41845.
797 * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
798 the "R"eversible format for negative numbers.
800 2004-06-21 Jackson Harper <jackson@ximian.com>
802 * Decimal.cs: Make sure to use invariant culture when parsing
803 floats stringified with the invariant culture. Patch by Rodrigo
806 2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
808 * FloatingPointFormatter.cs : Literal string should be kept in the
811 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
813 * DateTime.cs : Concatenating whitespace removal was not working fine.
814 Modified FormatException message (1 cent kindness).
816 2004-06-18 Ben Maurer <bmaurer@ximian.com>
818 * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
820 * IComparable.cs: add the new <T> version.
821 * EventHandler.cs: new <T> version.
823 2004-06-18 Dick Porter <dick@ximian.com>
825 * String.cs: The icall can cope with embedded \0 now.
827 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
830 - Added new common pattern "yyyy/M/dZ"
831 - empty string should not be compared in _ParseEnum()
832 - Use culture independent string comparison in _ParseString()
833 - Whitespace removal should be checked after '..' token check (some
834 pattern such like es-ES LongDatePattern contains spaces in '..').
835 - formats null check should be done (to throw ArgumentNullException)
837 - When specified one character format, dates are incorrectly regarded
838 as to use invariant culture.
840 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
842 * ArgIterator.cs: changed layout to Auto
843 * DateTime.cs: changed layout to Auto
845 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
847 * DateTime.cs: CRLF to LF
849 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
851 * Decimal.cs: Fixed regression in System.Data caused by the recent
852 changes. Adapted (and moved) the code to correct the scale from
853 SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
854 scale has no importance).
856 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
858 * Activator.cs: In CreateInstance(), use Public|Instance if access binding
859 attributes are omitted.
861 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
863 * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
864 check if the format character is valid.
866 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
868 * DateTime.cs : AddDays(double) rounds the input.
870 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
872 * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
873 Fixed ToLocalTime() as well, but it does check range for MinValue.
875 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
877 * DateTime.cs : Added overflow check in ToUniversalTime() and
878 ToLocalTime(). Fixed bug #60253.
880 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
882 * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
883 source code (with permission). Fix (biggest) part of bug #60110.
884 http://www.yoda.arachsys.com/csharp/floatingpoint.html
886 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
888 * Decimal.cs: Fixed scale after Round (a different scale is correct
889 from a math point of view but affect the string representation of the
890 value). Note: other operations also have scale problems!
891 * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
892 * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
893 rounding (which is the rounding provided by Math.Round). This fix bug
894 #60111. The code (new Round methods) should be moved elsewhere (as it
895 may also be required elsewhere) post Mono 1.0.
897 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
899 * AppDomainSetup.cs: added TODO for serialization
900 * ExecutionEngineException.cs: added missing serialization ctor
901 * InvalidProgramException.cs: added missing serialization ctor
902 * MulticastNotSupportedException.cs: added missing serialization ctor
903 * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
904 * Random.cs: fixed serialization compatibility with MS.NET
906 2004-06-15 Paolo Molaro <lupus@ximian.com>
908 * Type.cs: removed unused (and non-existing) icall type_is_instance.
910 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
912 * Environment.cs: use internalGetHome instead of getting "HOME" as
913 that variable may not be defined.
915 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
917 * TimeSpan.cs: Fixed timespan with large values for hours or minutes
918 (overflow is only checked for days but can also occurs in hours and
919 minutes which uses Int32 when multiplying). The new results match MS
922 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
924 * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
925 them with matching NumberFormatInfo properties.
927 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
929 * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
930 * FloatingPointFormatter.cs :
931 Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
933 Format Permille pattern (It is undocumented but actually available,
934 and used in xsl:format-number).
936 2004-06-14 Raja R Harinath <rharinath@novell.com>
938 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
939 version with BOOTSTRAP_WITH_OLDLIB.
940 * String.cs (STring.Concat): Likewise.
942 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
944 * FloatingPointFormatter.cs :
945 - Don't format more than 15 fraction digits. Don't report to Pedro
946 directly (removing the error message with his concent).
947 - When format string starts with '.', it means integral part format
948 is not specified. Ignore '.' characters after the first
949 appearance. Fixed bug #59890.
950 - 0.0 is formatted only before the third ';' appearance.
952 2004-06-11 Sebastien Pouliot <sebastien@ximian.com>
954 * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
955 rounding logic which worked for FromOADate (while the newer didn't).
956 * TimeSpan.cs: Now throw an OverflowException when the timespan is
957 over MaxValue or under MinValue.
959 2004-06-11 Martin Baulig <martin@ximian.com>
961 * Console.cs (Write, WriteLine): Implemented the varargs versions.
963 2004-06-11 Martin Baulig <martin@ximian.com>
965 * String.cs (Concat): Implemented the varargs version.
967 2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
969 * Decimal.cs: Hacked the Parse method to allow the runtime C code to
970 decode it properly (i.e. matching MS results). Fixed the Round method
971 for negative decimal numbers (moved code from Math.cs).
972 * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
973 fix a bug when rounding a negative decimal.
975 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
977 * AppDomain.cs: set the _principal to null when changing the policy.
978 * Console.cs: remove ClsCompliant attribute from a method marked as
979 internal and added comment.
981 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
983 * Delegate.cs: marked protected fields private to match public
984 API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
985 protected to fix public API
986 * Enum.cs: marked ctor protected to match public API of MS.NET
987 * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
988 match public API of MS.NET
990 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
992 * DateTime.cs : Added more common patterns.
994 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
996 * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
997 be a performance winner (the actual Math code has a note to wait a
998 better Decimal implementation) but it returns the correct results
999 (without adding new code in corlib or the runtime). Fix #37744.
1001 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
1004 - A bunch of fixes (patch by Steven Brown). Fraction seconds are
1005 now represented as double. Strict token check for 'Z'.
1006 - Pattern validity check in GetDateTimeFormats(char).
1007 - Fixed pattern "yyyy/M/d HH:mm:ss".
1009 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
1011 * Decimal.cs: Fixed remainder (and optimized some cases not to call
1012 unmanaged code). Simplified divide. Removed workaround for bug #59793.
1013 Fixed GetHashCode to return different result for X and -X.
1015 2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
1018 - Now re-checked all common format patterns. They should be tried
1019 with both current culture and invariant culture. Since '/' covers
1020 '-', removed extraneous patterns. Added more common patterns
1021 such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
1022 only after NET_1_1). Commented out 1 character format patterns.
1023 - The format patterns we should try should not be obtained by
1024 GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
1025 character patterns), to handle UTC correctly. Examined patterns
1026 are changed, to 1) common patterns with specified (or current)
1027 culture, 2) common patterns with invariant, 3) The above "one
1028 character patterns" with specified (or current) culture.
1029 - When trying to parse some kind of patterns such as RFC1123,
1030 always use invariant DateTimeFormatInfo so that they can avoid
1031 parsing with culture-dependent calendar.
1032 - Check "GMT" only when doing Parse(). Don't it when ParseExact().
1033 - Removed extraneous '-' case. It is not special one.
1034 - When ParseExact(), allow only '/' for '/' pattern character.
1035 - When Parse(), allow any non-letter & non-number characters.
1036 - When pattern is not fully parsed, reject that format.
1037 - Added "exact" parameter to some ParseExact().
1038 - RFC1123 pattern is (again) now parsed in local time. I regressed
1039 some problems in previous fix.
1041 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
1043 * Decimal.cs: Fixed cast to integer types to truncate (not round) the
1046 2004-06-07 Duncan Mak <duncan@ximian.com>
1048 * Exception.cs (Source): This can return null.
1050 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
1052 * DateTime.cs: Fixed FromFileTime for negative values. Fixed
1053 constructor to limit range of milliseconds from 0,999. Fixed
1054 ToType method to work for object, string and DateTime.
1056 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
1058 * DateTime.cs: Fixed OLE Automation date conversions: timezone
1059 insensitive, wrong exception in FromOADate, handling of Min/Max
1060 values, negative doubles where integer part is negative but
1061 decimals are positive! Charming format ;-)
1063 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
1065 * String.cs: Fixed Join in case separator parameter is null.
1066 * TimeSpan.cs: Cache format errors during parsing and throw
1067 FormatException only if there was no overflow.
1069 2004-06-06 Gert Driesen <drieseng@users.sourceforge.net>
1071 * MonoCustomAttrs.cs: fixed issue where an empty array was
1072 returned when GetCustomAttributes was invoked with null
1073 attribute type and there was only one result
1075 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
1077 * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
1078 * Int16.cs: Fixed ToString(String.Empty) to default ("G").
1079 * Int32.cs: Fixed ToString(String.Empty) to default ("G").
1080 * Int64.cs: Fixed ToString(String.Empty) to default ("G").
1081 * SByte.cs: Fixed ToString(String.Empty) to default ("G").
1082 * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
1083 * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
1084 * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
1086 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
1088 * Convert.cs: Fixed the convertion of negative integers (byte, short,
1089 int and long) into string in a specific base (2, 8, 10 or 16).
1091 2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
1093 * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
1094 the dividend is negative and the result is 0 (remainder).
1096 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
1098 * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
1100 2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
1102 * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
1103 spans. Fixed parsing when only days are presents in the string (which
1104 should be illegal according to the documentation but is supported).
1106 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
1108 * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
1109 somewhat different from the documentation.
1111 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1113 * Type.cs: added missing attributes on InvokeMember
1115 2004-06-01 Miguel de Icaza <miguel@ximian.com>
1117 * String.cs: Flag concat with four arguments internal.
1119 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
1121 * Array.cs: Fixed legal case where value is null.
1122 * Byte.cs: Fixed ToString when format is an empty string (use "G").
1123 * Guid.cs: Renamed private fields (and changed some to signed) to
1124 match MS implementation and allow serialization to work. Fix
1127 2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1129 * DateTime.cs: adjust milliseconds for fraction specifier ('f').
1131 2004-05-30 Miguel de Icaza <miguel@ximian.com>
1133 * Console.cs: Remove *again* the version of WriteLine with four
1134 arguments; That should *not* be added.
1136 Flag it as internal as people migrate their code.
1138 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
1140 * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
1141 ArgumentNullException (only case, all other returns 0). Fixed exception
1142 reporting for hex prefix only strings. Fixed ChangeTo where null could
1143 be misinterpreted between null and Empty.
1145 2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
1147 * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
1148 16), non-base 10 negative numbers ... see new unit tests. Fixed the
1149 case when we parse Int64.MinValue (positive doesn't fit a signed long).
1151 2004-05-28 Jackson Harper <jackson@ximian.com>
1153 * Environment.cs: Increment version number.
1155 2004-05-28 Zoltan Varga <vargaz@freemail.hu>
1157 * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
1160 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
1162 * DateTime.cs : I reverted my fix by accident :(
1164 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
1167 - In ToString(), Don't use culture-dependent daynames to format
1168 Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
1169 - Fixed GetDateTimeFormats () that generated incorrect 'U' value
1170 (since the format string is the same as 'F').
1172 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
1174 * DateTime.cs : don't adjust utc value in ToString(). It must output
1175 the same time value, just adding 'Z' for UTC.
1177 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
1179 * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
1182 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1184 * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
1186 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
1188 * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
1189 * Convert.cs: Convert with a base parameter cannot parse negative
1190 string numbers, even "-0".
1191 * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
1192 * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
1193 * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
1195 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
1198 - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
1199 to common formats (yes, I know it is nothing more than hack)
1200 - Fixed some GetDateTimeFormats() that just returned patterns.
1201 - For InvariantCulture, now try both supported formats and our
1203 - It was accepting incorrectly extraneous characters. That caused
1204 some UTC/non-UTC bug.
1205 - RFC1123 string should return universal time. Uncomment again (the
1206 problem should went away because of the extra characters fix above.
1208 With some of the changes above, fixed bug #47720.
1210 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
1212 * DateTime.cs : quick revert 'Z' support for certificate verifications.
1214 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
1216 * Array.cs: Removed duplicate condition if LastIndexOf.
1218 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
1221 - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
1223 - As a quick remedy to accept more patterns, Parse() now also tries
1224 InvariantInfo patterns (this is because we have no more than one
1225 pattern for each pattern component.)
1226 - In _DoParse(), 'Z' should not be read as timezone specifier. Some
1227 culture uses 'Z' as AM/PM designer, and it should be recognized as
1228 part of the UTCpattern (if it actually UTC pattern for the culture
1231 2004-05-26 Gert Driesen (drieseng@users.sourceforge.net)
1233 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
1234 seems to allow multiple attributes with AllowMultiple at
1237 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
1239 * Byte.cs: Throw an OverflowException for negative numbers.
1240 * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
1241 * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
1243 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
1245 * Array.cs: Fixed possible integer overflow.
1246 * BitConverter.cs: Fixed a possible integer overflow in ToString.
1247 * Guid.cs: Added an internal method to create a random Guid without
1248 using CryptoConfig (which is heavy on first use). This is only used
1249 in S.R.E.ModuleBuilder to speedup MCS compilation.
1250 * String.cs: Fixed reported exception for PadLeft|Right. Fixed
1251 possible integer overflow in methods that takes index and count
1254 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
1256 * String.cs: Add new Strcpy icalls which take a char array as
1259 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
1261 * DateTime.cs : added more invariant format patterns. This should
1262 really fix bug #57656.
1264 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
1266 * BitConverter.cs (ToBoolean): Return true or false instead
1267 of unsafe returing byte as bool. Fixes bug #58874.
1269 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
1271 * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
1272 string format argument is null.
1274 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
1276 * Version.cs: Rename of data fields to match those in Microsoft.NET.
1277 Patch by PAF@design.ru.
1279 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1281 * DateTime.cs: allow double quotes in the formats. Don't set
1282 next_not_digit to true in presence of single or double quotes. Patch by
1285 2004-05-24 Zoltan Varga <vargaz@freemail.hu>
1287 * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
1289 2004-05-23 Sebastien Pouliot <sebastien@ximian.com>
1291 * Array.cs: Fixed exception when we try to Clear outside bounds.
1292 * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
1293 * BitConverter.cs: Fixed negative index and integer overflow in
1295 * Buffer.cs: Fixed integer overflow in BlockCopy.
1297 2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
1299 * Array.cs: Clear can now work on multidimentional arrays.
1300 * IntPtr.cs: We now only accept 32bits values in the long constructor
1301 unless we're on a 64 bits machine.
1302 * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
1303 constructor unless we're on a 64 bits machine.
1305 2004-05-22 Duncan Mak <duncan@ximian.com>
1307 * Convert.cs: The file was mostly in DOS endings already, for the
1308 sake of consistency, converted it all to DOS endings.
1309 (ToType): When value is null, immediately return null and don't
1310 ever throw a NullReferenceException. When conversionType is null,
1311 throw an InvalidCastException. Give a better error message when
1312 attempting to convert to a DBNull as well.
1314 2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
1316 * Decimal.cs: Fixed To... methods that needs to trunk the integer part
1317 of Decimal (and not use the banker's rounding like Convert.To...).
1318 * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
1319 to NaN compares (see new unit tests).
1321 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
1323 * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
1324 Also fixed the case where wide (16 bits) characters were converted to
1327 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
1329 * ThreadStaticAttribute.cs
1330 * ContextStaticAttribute.cs
1332 * ObsoleteAttribute.cs : now that Inherited is false by
1333 default on AttributeUsageAttribute (as it should be) we
1334 need to explicitly set Inherited to false for those
1335 attributes should it be be false.
1337 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
1339 * AttributeUsageAttribute.cs: Inherited property should be
1340 true by defaultrs.cs: respect Inherited property, and
1342 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
1344 * MonoCustomAttrs.cs: respect Inherited property, and
1345 AllowMultiple property of a CustomAttribute. This fixes
1346 a major issue we had with respect to custom attributes.
1348 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
1350 * MonoType.cs: throw ArgumentNullException when type parameter in
1351 GetCustomAttributes(Type, bool) is null
1353 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
1355 * Buffer.cs: Added checks for null source and destination. Fix failing
1356 CryptoStream unit test.
1357 * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
1358 pseudo-random numbers to generate GUIDs (as per section 3.4 of the
1359 spec). This removes the TODO to get the computer MAC address and
1360 the chances to get a duplicate GUID (across different machines).
1362 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1364 * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
1365 than OverflowExceptions then something went wrong internally
1367 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1369 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
1372 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
1374 * Buffer.cs: Optimize BlockCopy.
1376 * Environment.cs: Bump corlib version.
1378 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
1380 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
1381 See also bug #58478.
1383 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1385 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
1386 been set. Just return null as MS. Fixes bug #58120.
1388 2004-05-14 Marek Safar <marek.safar@seznam.cz>
1390 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
1391 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
1392 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
1393 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
1394 useless [CLSCompliant (false)]
1397 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
1399 * __ComObject.cs: To please corcompare (no implementation).
1401 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
1403 * Environment.cs: Bump corlib version.
1405 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
1407 * Environement.cs: Removed two security attributes for CurrentDirectory
1408 that weren't documented (and anyway we don't support them).
1410 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1412 * Char.cs: Fix exceptions
1414 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
1416 * MissingMemberException.cs: Fix in serialization constructor.
1418 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1420 * Environment.cs: GetGacPath return value is resolved at runtime on
1423 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
1425 * Convert.cs: ToBase64CharArray method was depending on a bug in
1426 S.S.C.ToBase64Transform class to work. Added an internal method to
1427 provide the same functionality (multiple block processing).
1429 2004-05-06 Jackson Harper <jackson@ximian.com>
1431 * Environment.cs: Make $HOME the personal directory.
1433 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
1435 * Convert.cs: ToBase64String method was depending on a bug in
1436 S.S.C.ToBase64Transform class to work. Added an internal method to
1437 provide the same functionality (multiple block processing).
1439 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
1441 * Environment.cs: Completed OSVersion property.
1442 * Version.cs: Added internal CreateFromString() to "try" to build the
1443 best version number form the specified string.
1445 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1447 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
1448 Fixes several potential bugs and makes things way faster.
1450 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1452 * TimeSpan.cs: Formatting changes
1454 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
1456 * Activator.cs: change _flags to a const.
1457 * IntegerFormatter.cs: make tables readonly.
1458 * Convert.cs: tables readonly
1459 * DateTime.cs: ditto.
1460 * IntPtr.cs: avoid a cctor.
1462 2004-04-29 Jackson Harper <jackson@ximian.com>
1465 * Type.cs: NET_2_0 now instead of 1_2.
1467 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1469 * Environment.cs: implemented GetLogicalDrives.
1471 2004-04-28 Miguel de Icaza <miguel@ximian.com>
1473 * Applied patch from Atsushi Enomoto that allows Synchronized
1474 writers to have a `dont close' flag, this fixes 52094
1476 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
1478 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
1479 return the method if it is private (it did until now because of a
1480 bug). Make sure it works as it worked before the fix.
1481 * Type.cs: Implemented FilterAttribute delegate.
1483 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1485 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
1487 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1489 * IntegerFormatter.cs: Made functions internal (needed by other patches)
1491 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
1493 * DateTime.cs: TODO cleaning.
1494 * Delegate.cs: GetObjectData should be virtual.
1495 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
1496 30 methods almost identical.
1497 * MulticastDelegate.cs: Implemented GetObjectData.
1499 2004-04-26 Jackson Harper <jackson@ximian.com>
1501 * Environment.cs: Things going bump in the night.
1503 2004-04-25 Miguel de Icaza <miguel@ximian.com>
1505 * Convert.cs (toBase64Transform): Make private.
1507 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1511 * DecimalFormatter.cs:
1512 * FloatingPointFormatter.cs: Call invariant Char functions
1513 * Guid.cs: Call invariant Char and String functions
1514 * String.cs: Call invariant Char functions
1516 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1518 * String.cs: Refactored the Invariant ToXXX into its own internal methods
1519 so they are directly callable within corlib (can prevent early
1520 construction of CultureInfo, InvariantCulture and related classes)
1522 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1524 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
1525 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
1527 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1529 * String.cs: Check for null values
1531 2004-04-23 Peter Bartok <pbartok@novell.com>
1533 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
1534 will do a better fix in the future, but this way apps can at least use it.
1536 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
1538 * Environment.cs: Better support for GetFolderPath (same results as MS
1541 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
1543 * Activator.cs: Removed TODOs for finished methods.
1544 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
1545 must be relative to the current directory, not the temp directory.
1546 Implemented DynamicBase.
1547 * Convert.cs: No need to create a ToBase64Transform instance at every call
1548 to ToBase64CharArray.
1549 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
1551 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
1552 * Delegate.cs: Removed class TODO.
1553 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
1555 * Type.cs: Removed TODOs for things already implemented.
1557 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
1559 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
1560 * MulticastDelegate.cs: Removed unused code.
1562 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
1564 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
1565 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
1566 * BadImageFormatException.cs: TODO reformat.
1567 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
1568 * DelegateSerializationHolder.cs: Made class internal.
1569 * Enum.cs: Removed TODO for localization, since this is something that has
1570 to be done for all classes.
1571 * Environment.cs: Removed TODO.
1572 * Exception.cs: Changed ToString to use StringBuilder.
1573 * MonoDummy.cs: Made class internal.
1574 * UnitySerializationHolder.cs: Added support for modules.
1576 2004-04-16 David Sheldon <dave-mono@earth.li>
1578 * DecimalFormatter.cs: Don't append a decimal point after the
1579 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
1582 2004-04-09 Miguel de Icaza <miguel@ximian.com>
1584 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
1587 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
1589 * MonoDummy.cs: added MonoTODO to make sure we remove this class
1590 when its no longer needed
1592 2004-04-09 David Sheldon <dave-mono@earth.li>
1594 * Convert.cs: Allow + signs in strings for ToInt32, and
1597 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
1599 * Nullable.cs : usingdecl should also be conditional.
1601 2004-04-07 Martin Baulig <martin@ximian.com>
1603 * Nullable.cs: New file.
1605 2004-04-07 Martin Baulig <martin@ximian.com>
1607 * Type.cs (Type.GetGenericArguments): Make this abstract.
1609 2004-04-07 Jackson Harper <jackson@ximian.com>
1611 * Environment.cs: Increase corlib version number.
1613 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1616 (ExpandEnvironmentVariables): on windows, env. vars. are case
1619 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
1621 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
1622 Removed [ThreadStatic] for _principalPolicy (not required).
1624 2004-04-06 Miguel de Icaza <miguel@ximian.com>
1626 * Guid.cs: Flag as Sequential.
1628 2004-04-02 Dick Porter <dick@ximian.com>
1630 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
1632 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
1634 * Environment.cs: Implement ExpandEnvironmentVariables static method.
1635 Now call the runtime to get the username (fix #56144).
1637 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1639 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
1642 2004-03-29 Miguel de Icaza <miguel@ximian.com>
1644 * Console.cs: If we fail to open stdin/stdout/stderr, create
1645 readers with a NullStream. This can happen if our caller does not
1646 setup stdin/stoud/stderr file handles. #56158 exposed this, but
1647 it will happen elsewhere.
1649 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
1651 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
1652 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
1653 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
1654 the constructor. This fixes bug #54019.
1656 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
1658 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
1659 internal variables to structures that are moved around methods.
1660 Factorized some common formatting code into FormatNumberInternal.
1662 2004-03-23 Dick Porter <dick@ximian.com>
1664 * DateTime.cs: Allow any character for DateSeparator when parsing,
1665 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
1666 deleted the previous fix for 54721, because this covers it too.
1668 2004-03-23 Dick Porter <dick@ximian.com>
1670 * DateTime.cs: Check the date string for too many digits when
1671 parsing. Fixes bugs 53023 and 53025.
1673 2004-03-22 Dick Porter <dick@ximian.com>
1675 * String.cs: Use the provider when converting strings to other
1678 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
1679 formats. Fixes bug 54721.
1681 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1683 * Console.cs: Styled, optimized calls
1684 * CrossAppDomainDelegate.cs: Small header fix
1685 * Buffer.cs: Style, improve errors
1686 * BitConverter.cs: Style, improve errors, remove obsolete comment
1687 * Attribute.cs: Style, improve errors, small fix
1688 * Array.cs: Style, improve errors, small fix, added TODOs
1689 * Activator.cs: Style, localized errors, added error checks
1690 * Byte.cs: Style, localized errors, fixed wrong exception parameters
1693 * AppDomainSetup.cs: Style
1694 * AppDomain.cs: Style, implemented two methods (redirect)
1696 2004-03-21 Jackson Harper <jackson@ximian.com>
1698 * FloatingPointFormatter.cs: Set precision from number format info
1699 when it is not specified. This fixes bug #54983.
1701 2004-03-18 Nick Drochak <ndrochak@ieee.org>
1703 * Math.cs: Use IsNaN() method not "x == NaN".
1705 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1707 * EntryPointNotFoundException.cs
1708 * DuplicateWaitObjectException.cs
1709 * DllNotFoundException.cs
1710 * DivideByZeroException.cs
1711 * ContextMarshalException.cs
1712 * CannotUnloadAppDomainException.cs
1713 * BadImageFormatException.cs
1714 * ArrayTypeMismatchException.cs
1715 * ArithmeticException.cs
1716 * ArgumentOutOfRangeException.cs
1717 * ArgumentNullException.cs
1718 * ArgumentException.cs
1719 * ApplicationException.cs
1720 * AppDomainUnloadedException.cs: Added missing HResult overrides
1722 * BadImageFormatException.cs: Improved/ Fixed implementation
1724 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
1726 * Random.cs: Corrected random value when Next is called with a
1727 negative value. Testing indictae that our results aren't exactly the
1728 same as MS, we have a +/- 1 (probably rounding errors due to
1729 different implementation).
1731 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1733 * Environment.cs: updated corlib version.
1735 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
1737 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
1738 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
1739 field "value" to "m_value", so it is interoperable with MS.NET when
1740 serializing and deserializing data. Based on the patch from Daniel
1743 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1745 * TypeInitializationException.cs
1746 * SystemException.cs
1747 * StackOverflowException.cs
1749 * OverflowExceptionException.cs
1750 * OutOfMemoryException.cs
1751 * NullReferenceException.cs
1752 * NotSupportedException.cs
1753 * NotFiniteNumberException.cs
1754 * InvalidOperationException.cs
1755 * InvalidCastException.cs
1756 * IndexOutOfRangeException.cs
1757 * FormatException.cs
1758 * ExecutionEngineException.cs: improved parameter names
1760 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1763 * EntryPointNotFoundException.cs
1764 * DuplicateWaitObjectException.cs
1765 * DoubleFormatter.cs
1766 * DllNotFoundException.cs
1767 * DivideByZeroException.cs
1768 * DelegateSerializationHolder.cs
1771 * ContextStaticAttribute.cs
1772 * ContextMarshalException.cs
1773 * ContextBoundObject.cs
1774 * CLSCompliantAttribute.cs
1776 * CannotUnloadAppDomainException.cs
1777 * BadImageFormatException.cs
1778 * AttributeUsageAttribute.cs
1779 * AttributeTargets.cs
1781 * AssemblyLoadEventHandler.cs
1782 * AssemblyLoadEventArgs.cs
1783 * ArrayTypeMismatchException.cs
1784 * ArithmeticException.cs
1785 * ArgumentOutOfRangeException.cs
1786 * ArgumentNullException.cs
1787 * ArgumentException.cs
1789 * ApplicationException.cs
1790 * AppDomainUnloadedException.cs
1791 * AppDomain.cs: Mono styled, fixed exceptions/ locales
1792 removed excess usings
1794 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
1796 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
1797 spaces) which fixed #54939. Changed the way that the length is
1798 validated (multiple of 4) because the ignored characters must not be
1799 included in the count.
1801 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1803 * String.cs: Monostyled
1805 2004-03-09 Jackson Harper <jackson@ximian.com>
1807 * Char.cs: Only use a byte for numeric data.
1809 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1811 * TypedReference.cs: Added missing Attributes
1812 * ParamArrayAttribute.cs: Small style fix
1813 * OperatingSystem.cs: Added .Net 1.1 member
1815 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1817 * FieldAccessException.cs
1818 * FormatException.cs
1819 * InvalidCastException.cs
1820 * InvalidOperationException.cs
1821 * MemberAccessException.cs
1822 * MethodAccessException.cs
1823 * MissingFieldException.cs: Locale strings
1824 * MissingMemberException.cs: Locale strings
1825 * MissingMethodException.cs: Locale strings
1826 * NotFiniteNumberException.cs
1827 * NotImplementedException.cs
1828 * NotSupportedException.cs
1829 * NullReferenceException.cs
1830 * ObjectDisposedException.cs
1831 * OutOfMemoryException.cs
1832 * OverflowExceptionException.cs
1833 * PlatformNotSupportedException.cs
1834 * RankException.cs: Added missing HResult overrides
1836 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1838 * RuntimeTypeHandle.cs
1839 * RuntimeMethodHandle.cs
1840 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
1842 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1846 * ExecutionEngineException.cs
1847 * FieldAccessException.cs
1848 * FormatException.cs
1851 * IndexOutOfRangeException.cs
1853 * InvalidCastException.cs
1854 * InvalidOperationException.cs
1855 * InvalidProgramException.cs
1856 * IServiceProvider.cs
1857 * LoaderOptimization.cs
1858 * LoaderOptimizationAttribute.cs
1859 * MarshalByRefObject.cs
1861 * MemberAccessException.cs
1862 * MethodAccessException.cs
1863 * MissingFieldException.cs
1864 * MissingMemberException.cs
1865 * MissingMethodException.cs
1866 * MultiCastDelegate.cs
1867 * MulticastNotSupportedException.cs
1868 * NonSerializedAttribute.cs
1869 * NotFiniteNumberException.cs
1870 * NotImplementedException.cs
1871 * NotSupportedException.cs
1872 * NullReferenceException.cs
1873 * ObjectDisposedException.cs
1874 * ObsoleteAttribute.cs
1875 * OperatingSystem.cs
1876 * OutOfMemoryException.cs
1877 * OverflowExceptionException.cs
1879 * PlatformNotSupportedException.cs
1882 * ResolveEventArgs.cs
1883 * ResolveEventHandler.cs
1884 * RuntimeFieldHandle.cs
1885 * RuntimeMethodHandle.cs
1886 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
1887 removed excess usings
1889 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1891 * SystemException.cs: Exceptions set the HResult
1892 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
1893 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
1895 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1898 * TypeLoadException.cs
1899 * TypeInitializationException.cs
1902 * ThreadStaticAttribute.cs
1903 * SystemException.cs
1904 * STAThreadAttribute.cs
1905 * StackOverflowException.cs
1906 * SingleFormatter.cs
1908 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
1909 removed excess usings
1911 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1913 * UnauthorizedAccessException.cs: Exceptions set the HResult
1914 * UInt64.cs: Implemented two missing methods
1915 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
1916 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
1918 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1924 * UnitySerializationHolder.cs
1925 * UnhandledExceptionEventHandler.cs
1926 * UnauthorizedAccessException.cs
1930 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
1932 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
1934 * Environment.cs: Bump corlib version.
1936 2004-03-04 Jackson Harper <jackson@ximian.com>
1938 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
1940 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
1942 * String.cs: Concat() fixed crash when one of the arguments is an object
1943 whose ToString() method returns null.
1944 * TypeLoadException.cs: Added some serialization fiels, needed for
1945 compatibility with MS.NET.
1947 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
1949 * String.cs (Equals): Speed up this method by avoiding Array
1950 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
1952 This gives between 0x (for 1 char) and >2x (for large strings)
1953 factor of improvement.
1955 A big thanks to Miguel, who suggested the integer compares.
1957 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1959 * MonoType.cs: use the binder in GetPropertyImpl.
1961 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1963 * Math.cs: MonoStyled, replaced space with tabs,
1964 speedup of some methods by avoiding method calls
1966 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
1968 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
1969 (Moved from InternalCall to Managed code).
1971 2004-02-17 Martin Baulig <martin@ximian.com>
1973 * MonoType.cs (GetConstructors): Renamed the interncall to
1974 GetConstructors_internal(), made it internal and added a `Type
1975 reflected_type' argument to it.
1976 (GetEvents, GetFields): Likewise.
1977 (GetMethodsByName): Added `Type reflected_type' argument.
1978 (GetPropertiesByName): Likewise.
1980 2004-02-16 Jackson Harper <jackson@ximian.com>
1982 * FloatingPointFormater.cs: Allow precision to be up to the number
1983 of decimals without rounding.
1985 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
1987 * Delegate.cs (Equals): Do not compare method_ptr, since it might
1988 point to a trampoline.
1990 2004-02-12 Jackson Harper <jackson@ximian.com>
1992 * AppDomainSetup.cs: If relative paths are used they should be
1993 rooted in the temp directory.
1995 2004-02-11 Marek Safar <marek.safar@seznam.cz>
1997 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
1999 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
2001 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
2002 avoid an assert in the runtime.
2004 2004-02-08 Duncan Mak <duncan@ximian.com>
2006 * Convert.cs (ToType): Always let a Convert.ChangeType call
2007 succeed if the source object is already of the destination type.
2009 Patch by Ian MacLean (ianm@activestate.com).
2011 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
2013 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
2015 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
2017 * Environment.cs: Bump corlib version.
2019 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
2021 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
2024 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
2026 * Exception.cs: Changed ToString to remove the \n when no stack trace
2027 is present (which fixed a unit test for SecurityException). Changed
2028 all \n to Environment.NewLine.
2030 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
2032 * ContextBoundObject.cs: Removed TODO.
2034 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2036 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
2037 (double), which might round up.
2039 2004-01-19 Jackson Harper <jackson@ximian.com>
2041 * FloatingPointFormatter.cs: Use the default decimal digits count
2042 if they are not specified. This fixes bug #52927.
2044 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
2046 * Environment.cs: Bump version number.
2048 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
2050 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
2051 uses IsAssignableFrom(o.GetType()), which is not always valid for
2052 transparent proxies (because GetType will not return the type of the remote
2053 object if its assembly is not present).
2055 2004-01-18 David Sheldon <dave-mono@earth.li>
2057 * FloatingPointFormatter.cs: Skip the decimal point if we have an
2058 integer mantassa. So: 1E+15, rather than 1.E+15.
2060 2004-01-18 David Sheldon <dave-mono@earth.li>
2062 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
2063 even though docs say it should be an ArgumentNull. Two test cases now
2064 pass. See also nickd's commit of 2003-12-24.
2066 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2068 * Environment.cs: increased corlib version.
2070 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
2072 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
2073 be reused because they could be modified. This fixes bug #52655.
2075 2004-01-12 Patrik Torstensson
2077 * Environment.cs: Bump corlib version number due to new StringBuilder
2079 * String.cs: New internal method to support the new StringBuilder that
2080 uses the string as a buffer (until ToString is called)
2082 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
2084 * Environment.cs: Bump corlib version number for real this time.
2086 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
2087 the runtime, so it can take into account the Culture etc.
2089 * Environment.cs: Bump corlib version number.
2091 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2093 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
2094 new parameter with the method name and a boolean for ignoring case.
2095 Removed some string comparisons no longer needed.
2097 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2099 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
2100 new parameter with the property name and a boolean for ignoring case.
2103 2004-01-11 David Sheldon <dave-mono@earth.li>
2105 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
2108 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
2110 * AppDomain.cs: Keep track of type resolve and assembly resolve
2111 events in progress to prevent infinite recursion.
2113 2004-01-06 Miguel de Icaza <miguel@ximian.com>
2115 * Console.cs: Test for UTF-8 being present anywhere on the
2116 string, also do ToUpper instead of ToLower, which will work even
2117 around the ICU bug with different locales (#52065), and addresses #52101
2119 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
2121 * Environment.cs: Bump version.
2123 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
2125 * Type.cs (IsNotPublic): One would normally assume that
2126 IsNotPublic == !IsPublic, but this is not the case (note to MS,
2127 make better names ;-). Fixes #52547, `Type.IsNotPublic not
2128 correct for Nested types'
2130 2003-12-24 Nick Drochak <ndrochak@ieee.org>
2132 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
2133 even though docs say it should be an ArgumentNull. Sent email to MS
2136 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
2138 * Exception.cs: Several changes to make it compatible with MS.NET (needed
2139 for remoting interoperability): set a default value for hresult, added
2140 initialization of class_name, serialization field RemoteStackTrace must
2141 be RemoteStackTraceString, added ser. field ExceptionMethod.
2143 * IndexOutOfRangeException.cs: Added serialization constructor.
2145 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
2148 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
2150 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
2152 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
2153 user supplied no parameter info, but not when the user supplied an
2154 empty parameter list. This fixes IKVM.
2156 * Environment.cs: Bump corlib version.
2158 2003-12-19 Dick Porter <dick@ximian.com>
2160 * String.cs: Added Compare shortcut for length==0.
2162 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
2164 * Environment.cs: Bump corlib version.
2166 2003-12-17 Dick Porter <dick@ximian.com>
2168 * String.cs: Fix StartsWith and EndsWith when the argument is the
2169 empty string. Fixes bug 52283.
2171 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
2173 * Environment.cs (HasShutdownStarted): Implement.
2175 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
2177 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
2179 * Environment.cs: Bump version number.
2181 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2183 * DateTime.cs: don't bail out with that year out of range error on
2184 stuff like "MM/dd/yyyy HH:MM:ss".
2186 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
2188 * Environment.cs: Make it a const instead.
2190 * Environment.cs: Make version field static.
2192 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
2194 * Type.cs: Make DefaultBindingFlags protected.
2196 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
2197 Add new GacPath property + its associated icall.
2199 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
2201 * DateTime.cs : Bugs fixed (41845, 51422)
2202 * MonoType.cs : Exception message changed
2204 2003-12-08 Martin Baulig <martin@ximian.com>
2206 * Type.cs (MakeByRefType): New public method.
2208 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
2210 * Environment.cs: Add a version number for the corlib-runtime interface
2211 to make it easier to diagnose problems resulting from a mismatch
2214 2003-12-08 Patrik Torstensson <p@rxc.se>
2216 * Type.cs (GetMethod): Check type arguments within array
2217 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
2218 (same signature but different classes (derived level)
2220 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
2222 * Type.cs (MakeArrayType): Add argument checking.
2224 2003-12-06 Dick Porter <dick@ximian.com>
2226 * String.cs: Don't use CompareInfo for non-culture-sensitive
2227 IndexOf and LastIndexOf methods.
2229 2003-12-06 Ravindra <rkumar@novell.com>
2231 * DateTime.cs: Made Parse(string, IFormatProvider) method to
2232 use second argument. Fixed bug #51464.
2234 2003-12-04 Martin Baulig <martin@ximian.com>
2236 * Type.cs (Type.MakeArrayType): New public method.
2238 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2241 (BlockCopy): make the exception thrown helpful.
2243 2003-12-03 Dick Porter <dick@ximian.com>
2245 * String.cs: Calling Replace on an empty string returns itself.
2247 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
2249 * MonoType.cs: Get rid of get_type_info, use a separate icall for
2250 each property instead.
2252 2003-12-02 Dick Porter <dick@ximian.com>
2254 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
2255 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
2257 2003-12-01 Dick Porter <dick@ximian.com>
2259 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
2260 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
2262 2003-11-28 Dick Porter <dick@ximian.com>
2267 * Boolean.cs: Do string compares with the Invariant culture.
2269 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
2271 * Array.cs: make the enumerator ICloneable
2273 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
2275 * Decimal.cs (ToXXX): Call Convert.ToXXX.
2277 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
2279 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
2280 Implement Load(byte[]) methods.
2282 * BadImageFormatException.cs: Fix ToString.
2284 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
2286 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
2287 GetConstructor, as done by MS.
2289 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2291 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
2293 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
2295 * TypeInitializationException.cs: Added missing serialization constructor.
2297 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2299 * AppDomainSetup.cs: Don't add an extra '/' at the end of
2300 ApplicationBase. The tests pass now with mono.
2302 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
2304 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
2306 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2308 * Environment.cs: use Directory in CurrentDirectory property.
2309 We were not throwing any exception when setting the directory to an
2312 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2315 * Delegate.cs: implemented 1.1 stuff.
2318 * IntPtr.cs: removed extra attribute.
2319 * PlatformID.cs: added WinCE.
2321 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2324 (Equals): compare the fields of structs too.
2325 (GetHashCode): combine the hash code of all the fields.
2326 Fixes bug #50901 (will remove the icall in a couple of days).
2328 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2330 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
2332 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2334 * DateTime.cs: handle century when we try to parse 4-digit years and
2335 only 2 digits are present. Fixes bug #49394.
2337 2003-11-13 Miguel de Icaza <miguel@ximian.com>
2339 * Console.cs: On utf-8 consoles, use unmarked output.
2341 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2343 * IAppDomainSetup.cs:
2346 * Type.cs: Added missing attribute
2348 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
2350 * Environment.cs: Added internal method for getting the path to
2353 2003-11-12 Jackson Harper <jackson@ximian.com>
2355 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
2356 enum. This fixes the SWF build.
2358 2003-11-12 Miguel de Icaza <miguel@ximian.com>
2360 * PlatformID.cs: Remove Unix platform, we cant expose constants
2361 that are not in the framework.
2363 * OperatingSystem.cs: Adjust for the breakage.
2365 * RuntimeMethodHandle.cs: Fix signature.
2367 * Double.cs: Fix signature of TryParse.
2369 * String.cs (Concat (object, object, object, object)): Add missing method.
2371 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
2372 in the .NET Framework.
2374 * Enum.cs: Hide constructor.
2376 Fix ToUint16 to be explicitly implemented.
2378 * Console.cs: Add couple of extra missing methods (Write and
2379 WriteLine overloaded)
2381 2003-11-11 Miguel de Icaza <miguel@ximian.com>
2383 * AppDomain.cs, Activator.cs: New unimplmented entry points from
2384 1.1 (Com activation related).
2386 * Exception.cs: Formatting.
2388 * IServiceProvider.cs: Add ComVisible (true).
2390 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
2392 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
2394 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
2397 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
2399 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
2400 on MonoMethod instead of Invoke.
2402 2003-11-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2404 * DateTime.cs: Fixed Add* methods handling. Now it works properly
2405 with extreme values (there is a bug with Overflow and Underflow in
2408 2003-10-31 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2410 * DateTime.cs: Fixed a few format bugs.
2412 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
2414 * AppDomain.cs (InternalPushDomainRef): New icalls.
2416 * AppDomain.cs (InvokeInDomain): New method to execute code in a
2417 different appdomain.
2419 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
2421 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
2423 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
2425 * AppDomain.cs (IsFinalizingForUnload): Implement.
2427 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
2430 2003-10-25 Martin Baulig <martin@ximian.com>
2432 * MonoType.cs: Don't make this sealed.
2434 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
2436 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
2438 2003-10-24 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2440 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
2441 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
2443 2003-10-22 Dick Porter <dick@ximian.com>
2445 * DateTime.cs: Handle '-' as a date separator when parsing formats.
2447 2003-10-20 Duncan Mak <duncan@ximian.com>
2449 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
2450 and merge the two iterations into one.
2452 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
2454 * TypedReference.cs: Add new field used by the runtime.
2456 2003-10-15 Martin Baulig <martin@ximian.com>
2458 * Type.cs (Type.DeclaringMethod): For a generic method's type
2459 parameter, return this method - otherwise, return null.
2461 2003-10-14 Martin Baulig <martin@ximian.com>
2463 The generics API has changed in the spec since it was added here;
2464 these modifications make it match the spec again.
2467 (GetGenericParameters): Renamed to `GetGenericArguments'.
2468 (HasGenericParameters): Renamed to `HasGenericArguments'.
2469 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
2470 (IsGenericTypeDefinition): New property.
2471 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
2473 * MonoType.cs (ContainsGenericParameters): Implement this here;
2474 this is no interncall anymore.
2476 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2478 * Delegate.cs: add the method name to the exception when it cannot be
2480 * Exception.cs: fix nullref in Source.
2482 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
2484 * Array.cs: Add argument checking to GetValue and SetValue.
2486 2003-10-09 Miguel de Icaza <miguel@ximian.com>
2488 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
2489 should not be TimeSpan.MaxValue, because it overflow. Set this to
2492 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2494 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
2495 duplicate entry exception.
2497 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
2499 * DateTime.cs (ToString): Total rewrite, fixes #49358.
2501 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
2503 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
2505 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2508 (Equals): check that the object is an Enum before comparing the types.
2510 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2512 * Array.cs: reduced xsp allocated memory by 1/2.
2514 2003-09-25 Martin Baulig <martin@ximian.com>
2516 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
2517 since it was identical to GetGenericTypeDefinition().
2518 (Type.IsGenericInstance): New property.
2520 2003-09-24 Duncan Mak <duncan@ximian.com>
2522 * Math.cs (Abs): Fix double Locale.GetText bug reported by
2523 davejp@volny.cz. This fixes #48788.
2525 2003-09-14 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2527 * FloatingPointFormatter.cs: Add the necessary castings to char
2530 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2532 * FloatingPointFormatter.cs: Make the method calls more functional
2533 for protecting the values from different threads (make it more
2536 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2538 * FloatingPointFormatter.cs: Fix a bug with the negative value of
2541 2003-09-12 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2543 * FloatingPointFormatter.cs: Applied a lot of improvements in string
2544 construction, make use of Append/Insert with the "count" parameter.
2545 Thanks to Ben Maurer.
2547 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2549 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
2551 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
2554 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2556 * DoubleFormatter.cs: A few optimizations. Now, only one object
2557 is created to convert all double numbers.
2559 * SingleFormatter.cs: A few optimizations. Now, only one object
2560 is created to convert all float numbers.
2562 * FloatingPointFormatter.cs: Split the "number type parameters" from
2563 the "numver value and format parameters". The first ones are in the
2564 constructor and the others are in a method.
2566 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
2568 * Array.cs: Added argument checking to some NET_1_1 methods.
2570 2003-09-04 Martin Baulig <martin@ximian.com>
2572 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
2574 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2576 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
2577 taking 'longs'. All tests pass.
2579 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
2581 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
2582 Source. Remove MonoTODO attributes (class is 100% done). Also
2583 passes all Rotor tests for Exception!
2585 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
2587 * Enum.cs: Remove [MonoTODO]'s that had been completed.
2589 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2591 * String.cs: fixed bug #47802.
2593 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
2595 * String.cs: Created method FormatHelper that does formatting,
2596 using a StringBuilder.
2598 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2600 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
2602 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2604 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
2607 2003-08-11 Duncan Mak <duncan@ximian.com>
2609 * Environment.cs (Version): Return the same numbers as the MS
2612 2003-08-10 Miguel de Icaza <miguel@ximian.com>
2614 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
2615 replicated tests, and have a routine that does the heavy lifting.
2617 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
2619 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
2621 * Environment.cs: return $HOME for ApplicationData folder.
2623 2003-08-04 Duncan Mak <duncan@ximian.com>
2625 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
2626 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
2627 floating point values. This fixes bug #46175.
2629 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
2630 noted by c5n4kh6u02@sneakemail.com in
2631 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
2633 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
2635 * Double.cs: added icall Double.AssertEndianity.
2637 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
2639 * Type.cs, MonoType.cs: implemented generic-specific methods.
2641 2003-07-29 Miguel de Icaza <miguel@ximian.com>
2643 * Buffer.cs: Add new internal MemCopy call.
2647 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
2649 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
2650 to icalls, to avoid special cases in some call conventions.
2652 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2654 * Enum.cs: added Serializable attribute.
2656 2003-07-25 Duncan Mak <duncan@ximian.com>
2658 * AppDomain.cs (Equals):
2659 (GetHashCode): Removed because they do not need to be defined
2662 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2664 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
2665 cannot even get the type.
2667 2003-07-24 Miguel de Icaza <miguel@ximian.com>
2669 * Type.cs: Added generics stubs.
2671 2003-07-23 Duncan Mak <duncan@ximian.com>
2673 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
2674 as values for NET_1_1.
2675 (GetFolderPath): Return the empty string ("") for values of
2676 SpecialFolder that have no corresponding equivalents in
2677 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
2678 and "$HOME" for SpecialFolder.Personal.
2680 * IntPtr.cs (GetObjectData): Mark it as an interface
2681 implementation, instead of a public method.
2683 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
2685 * TypeLoadException.cs (GetObjectData):
2686 Create stubs for the fields that are being serialized.
2688 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
2690 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
2692 * Enum.cs: Fixed enum formatting. For flag enums, if one of
2693 the flags is unnamed, ToString() returns the integer value.
2695 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
2697 * Guid.cs: Fixed ToString (), was producing incorrect string.
2699 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2701 * AppDomainSetup.cs: fixed bug #46609.
2703 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
2705 * MonoType.cs: use an icall for IsPrimitiveImpl ().
2707 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
2709 * Guid.cs: faster ToString ().
2711 2003-07-15 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2713 * FloatingPointFormatter.cs: Few changes for get working Rotor
2716 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
2718 * Type.cs (IsAssignableFrom): Implement this as an icall since the
2719 runtime already includes the neccessary logic.
2721 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2723 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
2724 if it's present and get the full path for non-Uri paths.
2726 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
2728 * DateTime.cs: Fixed formatting of fractions of second.
2730 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
2732 * Console.cs: Turn off buffering for the streams returned by
2733 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
2735 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
2737 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
2738 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
2739 a new random number (although it is not needed), while mono did not.
2740 As a result, the sequence of random numbers could be different for the
2743 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
2745 * FloatingPointFormatter.cs: use dec_len2 as default precision.
2747 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
2749 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
2750 be done after the correspondig UTC offset has been applied.
2752 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
2754 * Object.cs: Object must have the Serializable attribute.
2755 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
2756 to the resulting date. Also fixed _ToString so now correctly formates the
2759 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
2761 * Enum.cs: fix race in cache (bug#41841).
2763 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
2765 * FloatingPointFormatter.cs: if the precision is not specified, use
2766 the default precision for the data type.
2768 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
2770 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
2771 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
2773 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2775 * MonoType.cs: don't throw nullref when the return type for a property
2776 is specified and the property doesn't have a get accessor.
2778 2003-06-10 Duncan Mak <duncan@ximian.com>
2780 * Array.cs (CreateInstance): Fixed a typo. It should throw
2781 ArgumentNullException instead of ArgumentException.
2783 2003-06-09 Duncan Mak <duncan@ximian.com>
2785 * Array.cs: Revert the last revert. I fixed it.
2786 (Sort): Put a try-catch block around qsort, and wrap whatever
2787 Exception we get into a InvalidOperationException.
2789 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
2791 * Array.cs: Revert last patch, it broke some other functionality.
2793 2003-06-08 Duncan Mak <duncan@ximian.com>
2795 * Array.cs: Throw more exceptions. This fixes the errors we see
2796 from the Rotor testsuite.
2798 (CreateInstance): Throw ArgumentNullException when the input are
2799 null. Throw ArgumentOutOfRangeException when bounds + length is
2800 greater than Int32.MaxValue.
2801 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
2802 the valid range of indices of array.
2803 (Sort): Throw InvalidOperationException when comparer is null and
2804 none of the elements in keys implements IComparable.
2806 2003-06-08 Duncan Mak <duncan@ximian.com>
2808 * Array.cs (CreateInstance): Throw a TypeLoadException if the
2809 Length of the input array 'lengths' is greater than 255 so that we
2810 won't see the g_assert that is in mono_array_class_get in class.c.
2812 This fixes bug #44304.
2814 2003-06-05 Nick Drochak <ndrochak@gol.com>
2816 * UnitySerializataionHolder.cs: Cleanups according to class status page
2818 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
2820 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
2821 RuntimeTypeHandle.cs: implemented the needed stuff to handle
2824 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
2826 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
2827 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
2828 for Ben Maurer after review and testing.
2830 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
2832 * Array.cs: Added better argument checking to Array.Sort ()
2833 * DBNull.cs: Made the conversions throw like they do in MS.
2835 2003-05-24 Philip Van Hoof <me@freax.org>
2837 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
2839 2003-05-21 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2841 * FloatingPointFormatter.cs: Take care with the explicit precision
2842 and round the number to that precision.
2844 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
2846 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
2848 2003-05-20 Philip Van Hoof <me@freax.org>
2850 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
2853 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
2855 * AppDomainSetup.cs: Added new field which is used to notify the
2856 runtime that the search path has changed.
2858 2003-05-18 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2860 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
2861 introduced the last change I've done.
2863 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
2865 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
2866 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
2867 behaving correctly).
2869 2003-05-17 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2871 * FloatingPointFormatter.cs: Fixed little format mismatches.
2873 2003-05-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2875 * FloatingPointFormatter.cs: Fixed "-0" result emited.
2877 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2879 * AppDomain.cs: Added null argument check in Load().
2880 * Activator.cs: fixed bug #39926.
2882 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2884 * Enum.cs: fixed bugs #41522 and #42879.
2886 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
2888 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
2889 undocumented MS behaviour.
2891 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2893 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
2896 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2898 * String.cs: fixed bug #41411 and another similar problem in
2899 LastIndexOf (string).
2901 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2903 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
2906 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
2908 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
2909 construction if the delegate list only has one element.
2911 2003-05-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2913 * Environment.cs: Changed the method GetFolderPath because it must
2914 return at least a directory name (not null).
2916 * Convert.cs: In ToType, if the destination type is unknown, try to
2917 cast the value to object (then, the calling method will downcast it
2918 to the type it wants).
2920 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2922 * Enum.cs: fixed bug #41522.
2924 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
2926 * Enum.cs: protect with the lock also the lookup (bug #41841).
2928 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
2930 * MonoType.cs: allow a null name if InvokeMember is called with
2931 BindingFlags.CreateInstance set.
2933 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2935 * Enum.cs: reverted my previous patch.
2937 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2939 * Enum.cs: fixed bug #41841.
2941 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2944 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
2946 2003-04-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2948 * FloatingPointFormatter.cs: Little fixes for get the same results
2949 as MS.NET and show a message when something goes wrong with the
2950 parser of Custom Formats.
2952 2003-04-22 Nick Drochak <ndrochak@gol.com>
2954 * Double.cs (ToString):
2955 * Single.cs (ToString): Handle case where param is a CultureInfo.
2957 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
2959 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
2960 ValueType::Equals() icalls static non-virtual, so they can be called
2961 by the code in RuntimeHelpers.
2963 2003-04-18 Miguel de Icaza <miguel@ximian.com>
2965 * Delegate.cs (operator ==): Do not crash if the second argument
2966 is null. Bug fix submitted by Juan Cri.
2968 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
2970 * Array.cs: Deleted the exception in Array.Initialize(), it looks
2971 like the method do nothing for C#, is still a MonoTODO until
2972 we find a compiler that uses that.
2974 2003-04-14 Miguel de Icaza <miguel@ximian.com>
2976 * Delegate.cs (Delegate): Seems like a typo, we were checking the
2977 a field rather than the argument
2979 * MonoType.cs: Make GetNestedType an external method implementation.
2981 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2983 * Enum.cs: fixed bug #41294.
2985 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2987 * DateTime.cs: fixes bug #40910, part 2.
2989 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
2991 * String.cs (Equals): avoid the internal call, code cleanups
2993 2003-04-11 Alan Tam <Tam@SiuLung.com>
2995 * Convert.cs: fixed bug #41085.
2997 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
2999 * AppDomain.cs: Added internal method for getting process guid.
3001 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
3003 * Array.cs: Little fix to compare () method.
3005 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
3007 * String.cs (Equals): Add trivial optimization.
3009 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3011 * DateTime.cs: fixed bug #40910.
3013 2003-04-05 Miguel de Icaza <miguel@ximian.com>
3015 * Console.cs: Make stderr, stdout and stdin use synchronized
3016 versions of the their readers/writers.
3018 2003-04-04 Dick Porter <dick@ximian.com>
3020 * Version.cs: Make operator== and operator!= cope with null
3021 objects. Didn't change operator<, operator<=, operator> or
3022 operator>= because its not meaningful to use those to compare
3023 against null, and throwing a NullReferenceException is probably
3024 the best thing to do there anyway.
3028 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3030 * AppDomain.cs: fixed InvalidCastException.
3032 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
3034 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
3035 type checks and let it decide whenever a fast copy is possible.
3037 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3040 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
3042 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
3044 * Activator.cs (CreateInstance): Call GetConstructor with the right
3045 arguments so the nonPublic argument is handled correctly.
3047 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3049 * Type.cs: fixed bug #40123.
3051 2003-03-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
3053 * FloatingPointFormatter.cs: Fixed some bugs for get the same
3054 results than MS.NET. Added simple error recovering, now ToString
3055 will return a general format if there is any exception in the
3056 process of formatting. This make the library more robust while the
3057 formatters are refined.
3059 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
3061 * FloatingPointFormatter.cs: Added support for group separators.
3063 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
3066 * Double.cs: Apply changes of .ToString methods.
3067 * SingleFormatter.cs:
3068 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
3069 * FloatingPointFormatter.cs: New class. Implementation of double and
3070 single formatters. It is unified now and parametrized with precission
3073 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
3075 * AppDomain.cs: fixes bugs #39380 and #39331.
3077 2003-03-06 Nick Drochak <ndrochak@gol.com>
3079 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
3081 2003-03-04 Dick Porter <dick@ximian.com>
3084 * Double.cs: Temporarily reverted the Double and Single ToString()
3085 change, because it broke nunit.
3088 2003-03-04 Pedro MartÃnez Juliá <yoros@wanadoo.es>
3090 * Double.cs: Changed ToString method. Added NumberFormatInfo support
3091 with DoubleFormatter class.
3092 * Single.cs: Changed ToString method. Added NumberFormatInfo support
3093 with SingleFormatter class.
3094 * DoubleFormatter.cs: New class with Double formatting functions.
3095 * SingleFormatter.cs: New class with Single formatting functions.
3097 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
3099 * Activator.cs: Added support for activation using activation attributes.
3100 * AppDomain.cs: Added internal method to get the default context from the runtime.
3102 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
3104 * DateTime.cs: FileTime is expressed in Universal time, and as such must
3105 be converted before subtracting the magic offset.
3106 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
3107 the timezone at the end) *must* be parsed by DateTime.Parse() for
3108 compatibility with Microsoft.
3110 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3113 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
3116 * IntPtr.cs: added serialization .ctor
3118 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3120 * AppDomain.cs: check for null in Unload and changed method name.
3122 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3124 * MonoCustomAttrs.cs: fixed bug #38238.
3126 2003-02-17 Martin Baulig <martin@ximian.com>
3128 * Exception.cs (Exception.ToString): Print a newline between the
3129 exception message and the stack trace.
3131 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3133 * AppDomain.cs: implemented GetCurrentThreadId ().
3135 2003-02-14 Patrik Torstensson
3137 * Exception.cs: Fixed message output formating
3139 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3142 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
3144 2003-02-12 Miguel de Icaza <miguel@ximian.com>
3146 * Type.cs: IsClass should return false for Enumerations
3148 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3150 * MonoCustomAttrs.cs: return the correct array type in the short case.
3153 2003-02-08 Pedro MartÃenz Juliá <yoros@wanadoo.es>
3155 * Math.cs: Fix a few methods (like Round) and add with comments the
3156 new methods: BigMul and DivRem that were in ECMA specs.
3158 2003-02-07 Patrik Torstensson
3160 * Exception.cs: Fixed formating
3162 2003-02-05 Patrik Torstensson
3164 * AppDomain.cs: Partly fixed the unload method
3166 2003-02-04 Patrik Torstensson
3168 * AppDomain.cs: Fixed lease issue with appdomain
3170 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
3172 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
3173 InitializeLifetimeService().
3175 2003-02-03 Patrik Torstensson
3177 * AppDomain.cs: New internalcalls for handling domain/context switches
3178 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
3180 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3182 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
3183 and ClearShadowCopyPath and fixed GetType ().
3185 * Attribute.cs: clean up.
3187 * Console.cs: removed UnixConsoleEncoding. Use Default.
3189 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3191 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
3192 GetCustomAttributes later.
3194 2003-01-31 Patrik Torstensson
3196 * Buffer.cs: Changed access level of BlockCopyInternal
3198 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
3200 * String.cs, IntegerFormatter.cs: use const where appropriate.
3202 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3204 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
3207 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3209 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
3210 The argument ICustomAttributeProvider can be of other types different
3211 from Type. Handle it.
3213 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
3215 * DateTime.cs: fix FromFileTime so the time returned by
3216 File::GetLastModificationTime etc. is in the correct timezone.
3218 2003-01-28 Patrik Torstensson
3219 * Exception.cs: reverted formating/endline changes (sorry guys)
3221 2003-01-28 Patrik Torstensson
3223 * MarshalByRefObject.cs: implemented GetObjectIdentity
3224 * Exception.cs: added support for remote exceptions
3226 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3228 * DateTime.cs: fixed bug #37225.
3230 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3232 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
3234 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
3236 * AppDomain.cs: Added DoTypeResolve method which will be called by
3237 the runtime to raise TypeResolve events.
3239 2003-01-27 Duncan Mak <duncan@ximian.com>
3241 * Enum.cs (ToType): Implement this using Convert.ToType.
3243 2003-01-21 Miguel de Icaza <miguel@ximian.com>
3245 * Math.cs: Remove Pow's implementation body as it was wrong. The
3246 C code does the right thing. The code was trying to handle a
3247 number of cases, and that was incorrect.
3249 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3251 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
3254 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3256 * Enum.cs: added caching to GetInfo.
3258 2003-01-23 Dick Porter <dick@ximian.com>
3260 * Environment.cs (System): Implemented ExitCode
3262 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
3264 * Type.cs (IsInstanceOfType): fixed regression caused by the change
3267 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3269 * MonoType.cs: re-added lines that were removed in the previous commit.
3271 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
3273 * Type.cs: corrected property IsSerializable. It should always return
3274 true for enums and delegates
3275 * MonoType.cs: added serialization support.
3276 * Delegate.cs: added serialization support.
3277 * DBNull.cs: added serialization support.
3278 * UnitySerializationHolder.cs: supports serialization of Assembly,
3279 MonoType and DBNull.
3280 * DelegateSerializationHolder.cs: added.
3282 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3284 * Exception.cs: changed default message to match MS one.
3286 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
3288 * String.cs: Fixed bug with CompareOrdinal
3290 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3292 * Enum.cs: implements IFormattable.
3294 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3296 * AppDomain.cs: implemented DoCallBack method.
3298 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
3301 NUnit2 tests start moving.
3303 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3305 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
3306 instantiate an abstract class.
3308 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3311 (IsSubclassOf): return false when null. Use != instead of Equals.
3313 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3315 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
3317 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
3319 * MonoType.cs: fixed Namespace property for nested types.
3321 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
3323 * MonoCustomAttrs.cs: create properly typed arrays when returning
3324 arrays of attributes of a given type.
3326 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
3328 * MonoType.cs: fixed MemberType property for nested types.
3330 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3332 * String.cs: fixed bug #36209.
3334 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
3336 * Activator.cs: implemented method GetObject.
3338 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
3340 * Activator.cs: Since the documentation indicates the method
3341 either succeeds or throws one of the listed exceptions, we weren't
3342 expecting that CreateInstance might be returning null.
3344 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
3346 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
3348 * MarshalByRefObject.cs: implemented CreateObjRef.
3350 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3352 * DateTime.cs: fixed bug #30076.
3353 * TimeZone.cs: provide the parameter name in a exception.
3355 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3357 * DecimalFormatter.cs: fixed bug #35560.
3359 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
3361 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
3363 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3365 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
3366 nulls. Fixes #34909.
3368 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3370 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
3371 returns a non-null assembly.
3373 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3375 * MulticastDelegate.cs: make GetInvocationList work for more than 1
3378 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3380 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
3381 if this is the correct order of invocation.
3383 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3385 * Type.cs: changed the signature of internal_from_name. Modified
3386 the overloads of GetType to use it and check the typeName argument.
3387 Implemented FindInterfaces.
3389 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3391 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
3392 some obscure reasons (try make -f makefile.gnu using a corlib which has
3393 the modified version).
3395 2002-11-26 Miguel de Icaza <miguel@ximian.com>
3397 * String.cs (Concat): Reduce the number of compares required.
3399 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
3401 * Activator.cs: throw a MissingMethodException if the default
3402 constructor is not found in CreateInstance.
3404 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3407 (Equals (str, str)): use 'as' instead of casting to object.
3408 (Equals (obj)): check the length of the strings (until now,
3409 "Hello".Equals ((object) "Hellow World!) was true!).
3411 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3413 * MonoType.cs: implemented GetEvent (name, flags).
3415 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3417 * AppDomain.cs: implemented a couple of methods called from the runtime
3418 to fire AssemblyLoad and AssemblyResolve events.
3420 2002-10-31 Dick Porter <dick@ximian.com>
3422 * Environment.cs: MonoIO methods now have an error parameter
3424 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
3426 * Enum.cs: Added support for whitespaces in Enum:Parse().
3428 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3430 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
3431 internal call. Closes bug #32992.
3433 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3435 * Exception.cs: display the inner exception, if any, in ToString ().
3437 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3439 * Environment.cs: fixed StackTrace property.
3441 2002-10-16 Nick Drochak <ndrochak@gol.com>
3443 * Enum.cs (Parse): Then fix the code so that it works too.
3445 2002-10-15 Nick Drochak <ndrochak@gol.com>
3447 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
3449 2002-10-12 Nick Drochak <ndrochak@gol.com>
3451 * IntegerFormatter.cs: Fix compiler warnings.
3453 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
3455 * Type.cs (GetConstructors): Use the correct flags.
3457 2002-10-09 Nick Drochak <ndrochak@gol.com>
3459 * IntegerFormatter.cs: Suppress insignificant leading zeros
3461 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
3463 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
3464 <stonewell@21cn.com> to return also derived types.
3466 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3468 * Activator.cs: little fix in CreateInstance (Type, bool).
3470 2002-09-19 Duncan Mak <duncan@ximian.com>
3472 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
3473 I18N/Common from building right now.
3475 2002-09-19 Nick Drochak <ndrochak@gol.com>
3477 * Array.cs (CopyTo): Account for Object type and base (primitive) types
3478 * Type.cs (IsAssignableFrom): return false for a null parameter
3480 2002-09-19 Nick Drochak <ndrochak@gol.com>
3482 * Array.cs (CopyTo): Check that source type can be cast automatically
3483 to the destination type.
3485 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3487 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
3490 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3492 * Char.cs: implemented ToString (char)
3493 * IntegerFormatter.cs: made it internal.
3495 2002-09-13 Nick Drochak <ndrochak@gol.com>
3497 * Enum.cs (Format): handle the "d" format for both signed and unsigned
3500 2002-09-12 Dick Porter <dick@ximian.com>
3502 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
3503 attribute, as there doesn't appear to be any struct
3504 layout-depending code here (and corcompare says it should be
3505 LayoutKind.Sequential)
3507 * Decimal.cs: Stub out missing methods, add
3508 [DecimalConstantAttribute] to the constant fields (as shown by
3511 * LocalDataStoreSlot.cs:
3514 * Array.cs: Stub out missing methods.
3516 * TypedReference.cs:
3517 * ArgIterator.cs: Stub out
3519 * AppDomainSetup.cs:
3520 * AppDomain.cs: Stub out missing methods, add missing
3521 ClassInterface(ClassInterfaceType.None) attribute.
3523 2002-09-12 Nick Drochak <ndrochak@gol.com>
3525 * Double.cs (ToString): Throw exception when "X" format is passed in.
3527 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
3529 * MonoType.cs: implemented Module property.
3531 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
3533 * MonoType.cs, Type.cs: implemented InvokeMember.
3535 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
3537 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
3538 type. Check the method signature matches.
3540 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
3542 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
3544 2002-09-06 Miguel de Icaza <miguel@ximian.com>
3546 * Console.cs: Specify an encoder, otherwise we will get the UTF8
3547 encoder that by default emits the byte markers.
3549 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
3551 * Delegate.cs: look also for non-public methods until we have the
3552 security checks in place.
3554 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
3556 * MonoType.cs: consider also the full name in GetInterface.
3558 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
3560 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
3561 GetMethodImpl using the binder.
3562 * Type.cs: GetConstructorImpl/GetConstructor fixes.
3564 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
3565 * Enum.cs: Get rid of warning CS0162.
3567 2002-09-04 Miguel de Icaza <miguel@ximian.com>
3569 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
3570 actual value instead of public.
3572 * LocalDataStoreSlot.cs: Make constructor internal.
3574 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
3575 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
3578 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
3579 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
3582 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3584 * DateTime.cs: fixed buglet.
3586 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
3588 * MonoType.cs: speedup access to common data.
3590 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3592 * Double.cs: implemented TryParse.
3594 * Math.cs: PowImpl is now private.
3596 * MissingFieldException.cs: implemented Message.
3598 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
3600 * _AppDomain.cs: Uncommented ToString.
3602 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3605 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
3607 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3609 * ArgumentException.cs: use the field instead of the property for
3612 * ArgumentOutOfRangeException.cs: modified Message.
3615 (_DoParse): throw out of range exception for year. Removed check
3616 for month (it's done in the constructor).
3618 2002-08-21 Miguel de Icaza <miguel@ximian.com>
3620 * Environment.cs: Implemented OSVersion property.
3622 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
3624 * Exception.cs: set stack_trace to null
3626 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
3628 * AppDomain.cs: implemented ToString().
3630 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3632 * AppDomain.cs: securityInfo can be null in CreateDomain.
3634 2002-08-19 Dick Porter <dick@ximian.com>
3636 * MonoType.cs: Add a space before the Assembly name in
3637 AssemblyQualifiedName (needed for resource files so the MS runtime
3640 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3642 * AppDomain.cs: parameter name when throwing ArgumentNullException.
3644 * ArgumentException.cs: modified Message to do what MS does.
3646 * ArgumentNullException.cs: don't use {0} in message.
3648 * Exception.cs: use Message property in ToString ().
3650 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
3652 * WeakReference.cs: Changed the constructor and GetObjectData
3653 method needed for ISerializable implementation in order to be
3654 compatible with SOAP generated by MS.
3656 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
3658 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
3660 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
3662 * Exception.cs (ToString): changed the ouput format.
3664 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
3666 * MonoType.cs: moved get_method icall to this class, we can
3667 remove it as soon someone provides a full featured GetMethodImpl.
3669 * Type.cs: use GetMethodImpl everywhere.
3671 * Delegate.cs: new CreateDelegate implementations.
3673 2002-08-06 Tim Coleman <tim@timcoleman.com>
3675 Fix bug #28582. Now checks parameters for properties
3678 2002-08-04 Nick Drochak <ndrochak@gol.com>
3680 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
3682 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3685 (FormatSpecifier): allow white space between the comman and the width
3688 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3693 * UInt64.cs: fixed bug #28050. May be a MS bug?
3695 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
3697 * MonoType.cs: fix IsArrayImpl.
3699 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3701 * String.cs: make ToLower (culture) and ToUpper (culture) use the
3702 default ToLower and ToUpper and don't throw NotImplemented.
3704 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
3706 * Type.cs: make GettTypeCode an icall. Test implementation of
3709 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3711 * AppDomainSetup.cs: implemented LoaderOptimization.
3713 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3715 * Activator.cs: some more intermediate results checking in
3716 in CreateInstance and CreateInstanceFrom and use GetConstructor and
3717 Invoke only with Type [] until the other overloaded versions work.
3719 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3721 * Activator.cs: reformatted. Implemented CreateInstance* methods
3722 that return ObjectHandle.
3724 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
3726 2002-07-03 Nick Drochak <ndrochak@gol.com>
3728 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
3729 the divisor is not) and avoid the icall, which seems to have a bug.
3731 2002-07-03 Nick Drochak <ndrochak@gol.com>
3733 * Double.cs (CompareTo): Correctly handle the case where the instance
3734 is NaN. Also return 0 if the values are equal.
3736 2002/07/03 Nick Drochak <ndrochak@gol.com>
3738 * MissingMethodException: Add missing Message property
3739 * MissingMemberException: Add missing Message property
3741 2002-06-30 Nick Drochak <ndrochak@gol.com>
3743 * Double.cs (CompareTo): Just see which is bigger. Don't use the
3744 subtraction trick, it doesn't work when the values have a diference of
3747 * Single.cs (CompareTo): same
3749 2002-06-27 Martin Baulig <martin@gnome.org>
3751 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
3752 constructor argument. [FIXME: The implicit conversion to an
3753 unsigned integer doesn't work with mcs.]
3755 2002-06-26 Martin Baulig <martin@gnome.org>
3757 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
3758 not `S = System'. This file now compiles with mcs.
3760 * String.cs: Removed the already ifdef-outed __arglist Concat function
3761 to make it compile with mcs.
3763 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3765 * IntegerFormatter.cs:
3766 (FormatParse.FormatNumber): fixed custom format for negative numbers.
3768 2002-06-21 Martin Baulig <martin@gnome.org>
3770 * Double.cs: Replace the private `enum State' with constants since this
3771 will avoid some bigger headaches in mcs.
3773 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
3775 * TimeSpan.cs: do not pollute the namespace with the
3778 2002-06-18 Nick Drochak <ndrochak@gol.com>
3780 * ArgumentException.cs: Use the message given in the constructor when
3781 accessing the Message property. Thanks to Dietmar for the help with
3784 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
3786 * MonoType.cs: GetField is now a InternalCall
3788 2002-06-13 Nick Drochak <ndrochak@gol.com>
3790 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
3791 sortable format(s), e.g. "2002-02-25"
3793 2002/06/12 Nick Drochak <ndrochak@gol.com>
3795 * Random.cs (Next): Fix math error. Return a number within the range.
3797 2002-06-12 Nick Drochak <ndrochak@gol.com>
3799 * String.cs (IndexOf): Return -1 if start index is equal to string
3802 2002-06-10 Duncan Mak <duncan@ximian.com>
3804 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
3805 (ToType): Added null field in conversionTable to avoid
3806 IndexOutOfRangeException. Changed what exceptions we throw to match
3809 2002-06-11 Nick Drochak <ndrochak@gol.com>
3811 * Int64.cs (Parse): Added unique strings to the messages where we throw
3812 a FormatException. Needed these to debug, so just left them in since
3813 they might be useful later. Fixed Currency parsing where we weren't
3814 looking at CurrencyDecimalSeparator, etc.
3816 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
3818 * DateTime.cs: fixes to pass tests M0 to M6:
3819 if yy pattern then year values >= 30 are in 20th century
3820 rfc1123 pattern is always in GMT, therefor useutc must be false
3821 made GetNow() internal static so it can be called from TimeZone.
3822 * TimeZone.cs: removed dependency on year 2002 from initialization of
3825 2002-06-09 Duncan Mak <duncan@ximian.com>
3827 * Convert.cs (ToType): Rearranged what Exceptions we throw to
3830 2002-06-08 Duncan Mak <duncan@ximian.com>
3832 * Decimal.cs: Added support for the IConvertible interface.
3834 2002-06-08 Martin Baulig <martin@gnome.org>
3836 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
3837 doesn't necessarily need to be of the enum's underlying type.
3839 2002/06/07 Nick Drochak <ndrochak@gol.com>
3841 * String.cs: Add [Serializable] to class
3842 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
3844 2002-06-04 Nick Drochak <ndrochak@gol.com>
3846 * Double.cs (Parse): Recognize the group separator string, but still we
3847 don't check the format for the proper number of digits between
3848 separators. Also throw OverflowException when we get Pos or Neg
3849 Infinity from runtime.
3851 2002-06-03 Duncan Mak <duncan@ximian.com>
3853 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
3855 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
3857 * Type.cs: fixed GetTypeCode.
3859 2002-06-02 Duncan Mak <duncan@ximian.com>
3861 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
3862 cast from an int so that we throw OverFlowException correctly.
3864 (ToInt64): Use a new 64bit version of ConvertToBase.
3866 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
3867 and Int32.MaxValue).
3869 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
3871 2002-06-02 Nick Drochak <ndrochak@gol.com>
3873 * Convert.cs (ToSByte): Check for special value.
3874 * Single.cs (Parse):
3875 * UInt16.cs (Parse):
3876 * UInt32.cs (Parse): Throw OverflowException if negative
3878 2002-06-02 Duncan Mak <duncan@ximian.com>
3880 * Convert.cs (DBNull): Point it to DBNull.Value.
3881 (IsDBNull): Instead of checking typecodes, just check to see if
3882 it's the same as the DBNull field.
3884 2002-06-02 Nick Drochak <ndrochak@gol.com>
3886 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
3888 2002-06-02 Duncan Mak <duncan@ximian.com>
3890 * Char.cs (Parse): Simplify the Exception handling.
3892 * Convert.cs (ToDecimal): Remove call to Math.Round () when
3893 converting from a float.
3895 2002-05-30 Martin Baulig <martin@gnome.org>
3897 * MonoType.cs (GetInterface): Implemented.
3899 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
3901 * Activator.cs: implemented CreateInstance ().
3903 2002-05-22 Duncan Mak <duncan@ximian.com>
3905 * Convert.cs (ConvertToBase): Added new 64bit version.
3906 (BuildConvertedString64): New 64bit version of
3907 BuildConvertedString.
3909 This fixes bug 25068.
3911 (ConvertFromBase): Added additional test for checking if the
3912 digits are valid. Thanks to Miguel for coming up with this test.
3914 This fixes bug 25071.
3916 2002-05-21 Duncan Mak <duncan@ximian.com>
3918 * Convert.cs (ToType): Rearranged to fit the new layout of
3921 (conversionTable): Rearranged to fit the layout of the
3922 System.TypeCode enum.
3924 This should fix bug 25075.
3926 2002-05-21 Duncan Mak <duncan@ximian.com>
3928 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
3929 mixed up the two code paths, one for converting to a specific base
3930 (this case), another from converting from a foreign base to base10
3931 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
3933 * Convert.cs (ToByte)
3934 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
3935 that we won't confuse FormatException with OverflowException.
3937 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
3939 * Environment.cs: CommandLine missed spaces between arguments.
3940 Implemented StackTrace. Returning MachineName in UserDomainName
3943 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
3945 * MonoCustomAttrs.cs: handle inherit argument.
3947 2002-05-21 Nick Drochak <ndrochak@gol.com>
3949 * Math.cs (Pow): Change icall method name and insert parameter
3950 checks in for infinities and NaN.
3952 2002-05-13 Miguel de Icaza <miguel@ximian.com>
3954 * Double.cs (Parse): Reimplement by cleaning up the string first,
3955 and then passing to strtof in the mono runtime.
3957 * Single.cs (Parse): Use the Double implementation and cast to
3960 2002-05-21 Nick Drochak <ndrochak@gol.com>
3963 (Ceiling): Check for "special" values
3964 (Floor): Check for "special" values
3965 (Round): Fix off-by-one error on decimal shifting
3967 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
3969 * DateTime.cs: ToString () using "G" format specifier
3971 2002-05-19 Martin Baulig <martin@gnome.org>
3973 * Convert.cs (FromBase64CharArray): Do correct exception handling.
3975 2002-05-19 Martin Baulig <martin@gnome.org>
3977 * Convert.cs (FromBase64CharArray): Convert the char array using
3978 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
3981 2002-05-17 Miguel de Icaza <miguel@ximian.com>
3983 * MonoType.cs: Style changes.
3985 * Type.cs: Style changes.
3987 2002-05-16 Piers Haken <piersh@friksit.com
3989 * UInt64.cs: fix declaration of IConvertible.To* overrides.
3991 2002-05-16 Nick Drochak <ndrochak@gol.com>
3993 * BitConverter.cs (ToString): Add parameter check for invalid start
3996 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
3997 now that StreamWriter uses buffering
3999 2002-05-14 Miguel de Icaza <miguel@ximian.com>
4001 * Double.cs: Oops. Also handle exponents without finding a dot.
4003 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4005 * ChangeLog: removed empty entry at the top of the file.
4007 * Int32.cs: made static functions used by Parse internal.
4011 * UInt64.cs: removed static fucntions used by Parse and use the ones
4014 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
4016 * IServiceProvider.cs: added using System
4018 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
4020 * Single.cs: copied ToString() and Parse() methods from
4021 Double to Single and modified a tiny bit for Single.
4022 There is still a FIXME for Double and Single about
4023 passing the format and provider info to the icall too.
4025 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4030 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
4031 Don't use a delegate to test for valid digits.
4033 2002-05-01 Duncan Mak <duncan@ximian.com>
4036 * Math.cs: Added missing CLSCompliant attributes where necessary.
4038 2002-04-30 Duncan Mak <duncan@ximian.com>
4040 * ArgumentException.cs (Message):
4041 * ArgumentOutOfRangeException.cs (Message): Added.
4043 2002-04-30 Nick Drochak <ndrochak@gol.com>
4045 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
4047 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
4049 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
4051 2002-04-28 Duncan Mak <duncan@ximian.com>
4053 * DivideByZeroException.cs: Added missing serialization constructor.
4055 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
4057 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4059 * Math.cs: fix Floor () and Round (). Closes #23960.
4061 2002-04-27 Nick Drochak <ndrochak@gol.com>
4063 * Array.cs (IList.Contains): Should throw a RankException if this is
4064 called on a Rank > 1 array. Not in the docs, but this is what the
4067 2002-04-26 Duncan Mak <duncan@ximian.com>
4069 * MissingMemberException.cs: Made the message variable 'protected'
4070 instead of 'private', so that we can see it in
4071 MissingMethodException and MissingFieldException.
4073 * MissingFieldException.cs:
4074 * MissingMethodException.cs: Added missing (string, string)
4075 constructor, and also the Message property.
4077 2002-04-26 Martin Baulig <martin@gnome.org>
4079 * Enum.cs: Implemented the IConvertible methods.
4081 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4083 * SByte.cs: little change in Parse (string) to avoid incorrect
4084 OverflowException thrown (reported by nickd).
4086 2002-04-22 Miguel de Icaza <miguel@ximian.com>
4088 * ValueType.cs: Add Serializable attribute.
4090 * String.cs: ifdef-out out the __arglist Concat function until I
4091 add support for that to mcs.
4093 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
4095 * AppDomain.cs (GetValue): usage of the correct icall (bug)
4097 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
4099 * GC.cs: implement most of the methods as icalls.
4101 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4103 * DecimalFormatter.cs (ToString): return correct value when the
4104 decimal number is 0.
4106 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
4108 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
4109 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
4111 2002-04-24 Nick Drochak <ndrochak@gol.com>
4113 * Double.cs (Parse): Handle case where there are no digits before the
4114 decimal point, such as ".1".
4116 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4121 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
4123 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
4125 * String.cs (Split): fixed invalid split of count 0 and 1.
4127 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
4129 * String.cs (LastIndexOf): fixed argument checking.
4130 * String.cs (Equals): made internal for performace.
4132 2002-04-23 Nick Drochak <ndrochak@gol.com>
4134 * String.cs (Join): check argument and throw exception if needed
4136 2002-04-23 Nick Drochak <ndrochak@gol.com>
4138 * String.cs (StartsWith): check argument and throw exception if needed
4140 2002-04-22 Nick Drochak <ndrochak@gol.com>
4142 * String.cs (IndexOfAny): check arguments and throw exceptions as
4143 neccessary. ALso remove some debug WriteLines.
4145 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
4147 * String.cs: use internal constructors
4150 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
4152 * MonoType.cs: make GetElementType its own icall.
4154 2002-04-18 Nick Drochak <ndrochak@gol.com>
4156 * String.cs: Modified file. Re-add methods needed by the unit tests.
4158 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
4160 * String.cs: some code speedups and restored GetTypeCode().
4162 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
4164 * String.cs: New implementation using internal calls.
4166 2002-04-16 Nick Drochak <ndrochak@gol.com>
4168 * DecimalFormatter.cs: Trim off excess null characters from the string
4169 that decimal2string gives back.
4171 2002-04-16 Nick Drochak <ndrochak@gol.com>
4173 * String.cs (SubString): revert my change. I can't reproduce the
4176 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4178 * Attribute.cs: added GetHashCode and Equals.
4180 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4182 * Enum.cs: little improvements to Format ().
4184 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
4186 * String.cs: internalcall GetHashCode().
4187 * Array.cS: optimize access to elements.
4189 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
4191 * String.cs: make IndexOfAny() use an internalcall.
4193 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4198 * UInt64.cs: fixed error when testing for validity of flags.
4200 2002-04-11 Nick Drochak <ndrochak@gol.com>
4202 * Double.cs: Use an internal call for ToString(). This is just a simple
4203 implementation to get away from throwing a NotImplementedException.
4205 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4210 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
4214 * Int64.cs: throw an OverFlowException when parsing a string
4215 containing a dot followed by any non '0' number.
4217 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4222 * UInt64.cs: added complex Parse ().
4224 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4229 * Int64.cs: added complex Parse ().
4231 2002-04-09 Nick Drochak <ndrochak@gol.com>
4233 * Array.cs (BinarySearch): Add checks on paramters before using them
4234 and throw exceptions as needed.
4236 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
4237 "G" format to "F" if so.
4239 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
4241 * MonoCustomAttrs.cs: return arrays of type Attribute[]
4242 instead of object[].
4244 2002/04/09 Nick Drochak <ndrochak@gol.com>
4246 * String.cs (Substring): Copy only non-null characters to the new
4249 2002-04-09 Nick Drochak <ndrochak@gol.com>
4251 * IntegerFormatter.cs: Don't use a format character to indicate a
4252 custom format was passed in. It was using 'z' to indicate a custom
4253 format, but really it should throw a format exception if the user
4254 tries to use "z" as the format string. Now it does.
4256 * Activator.cs: New File.
4258 2002-04-08 Nick Drochak <ndrochak@gol.com>
4260 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
4261 applied to an enum. Need to handle the different possible integer
4262 types of an enum somehow. Can anyone say generics?
4264 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
4266 * Convert.cs: switched the To*(object) methods to use
4267 IConvertible directly instead of calling ChangeType
4269 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
4271 * ValueType.cs: make Equals() an internalcall.
4273 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
4275 * Type.cs: also look for nested types in FindMembers.
4276 * MonoType.cs: make GetNestedTypes() an internalcall.
4278 2002-04-05 Nick Drochak <ndrochak@gol.com>
4280 * Enum.cs (Parse): Handle different underlying types.
4282 2002/04/04 Nick Drochak <ndrochak@gol.com>
4284 * Enum.cs (IsDefined): Throw exception when type of value to look for
4285 is not the correct one. Attempt to have it work with string values
4286 too, but not sure if the unit tests are getting that far yet.
4288 2002-04-04 Nick Drochak <ndrochak@gol.com>
4290 * Decimal.cs: Fix a couple of typos.
4292 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
4294 * Enum.cs: the values array is of the enum and not of the underlying
4295 type. Updates and some bug fixes.
4296 * MonoType.cs: make the internalcall return FullName instead of the
4297 assembly qualified name.
4298 * Type.cs: make ToString () simply return FullName.
4300 2002-04-03 Nick Drochak <ndrochak@gol.com>
4302 * Type.cs (GetTypeCode): provide some of the implementation for this
4303 method. It's still too simplistic to be considered complete.
4305 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
4307 * Object.cs: fixed FieldGetter/FieldSetter signature
4309 2002-04-02 Nick Drochak <ndrochak@gol.com>
4311 * Environment.cs: add MonoTODO's on parts that should have it.
4313 2002-04-01 Nick Drochak <ndrochak@gol.com>
4315 * Enum.cs: added reality checks (check parameters to most methods that
4318 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
4320 * Object.cs: added FieldGetter/FieldSetter
4322 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4324 * IntegerFormatter.cs: fixed initialization error in static
4327 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
4329 * Delegate.cs: added new field to store a trampoline function
4331 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4333 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
4334 make custom format strings work (not fully functional yet).
4336 2002/03/28 Nick Drochak <ndrochak@gol.com>
4338 * IntegerFormatter.cs: Change class from internal to public. Add
4339 necessary [CLSCompliant(false)] attributes.
4341 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
4342 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
4345 2002-03-28 Nick Drochak <ndrochak@gol.com>
4347 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
4349 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
4351 * Console.cs: Modified to get std handles from MonoIO.
4352 * Environment.cs: removed PAL dependencies.
4354 2002-03-25 Miguel de Icaza <miguel@ximian.com>
4356 * String.cs (System): Removed internal enumeration, because
4357 bootstrapping the corlib at this point does not support
4360 * IntPtr.cs: Temporary work-around until I fix the assembly
4363 2002-03-24 Martin Baulig <martin@gnome.org>
4365 * Enum.cs (GetValues): According to the docu this is sorted after
4368 * String.cs (System): Removed enumeration, because it is pretty
4369 hard to support enumerations in /nostdlib mode for the core types.
4371 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
4373 * Array.cs: move error handling in the catch block.
4374 * MulticastDelegate.cs: remove == and != operators that were
4375 removed with the delegate changes (when you add stuff, please do not
4376 remove existing functionality!).
4377 * Type.cs: if a property is not found in a type, search for it
4378 in the parent types, too.
4380 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
4382 * Math.cs: changed to use icall instead of PAL.
4384 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
4386 * Double.cs: added check for NaN (Bug [22082])
4388 2002-03-19 Nick Drochak <ndrochak@gol.com>
4390 * Enum.cs (Equals): check for null and throw if it is.
4391 * Enum.cs (Format): check for null parameters and throw if necessary.
4392 This method still needs more argument checking.
4394 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
4396 * Enum.cs (Equals): check if Enums are of the same type
4398 2002-03-18 Nick Drochak <ndrochak@gol.com>
4400 * Double.cs: Explicitly handle comparisons in CompareTo() for
4401 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
4403 * Enum.cs(CompareTo): Check types of values before trying to compare.
4404 Throw exceptions if types are invalid or don't match.
4406 2002-03-14 Miguel de Icaza <miguel@ximian.com>
4408 * Array.cs: Add some extra debugging information.
4410 2002-03-15 Nick Drochak <ndrochak@gol.com>
4412 * Array.cs: Added IList and IEnumerable.
4414 2002-03-14 Miguel de Icaza <miguel@ximian.com>
4416 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
4419 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
4421 * Delegate.cs (Equals): also compare method_ptr
4422 (GetHashCode): returm method_ptr as hash
4424 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
4425 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
4426 such as 42.ToString("0000000"), as these are (currently) not implemented
4427 in System.IntegerFormatter. TimeSpan luckely can do with Standard
4428 Numeric Format Strings, such as 42.ToString("D7").
4430 2002-03-12 Duncan Mak <duncan@ximian.com>
4432 * FieldAccessException.cs:
4433 * MethodAccessException.cs:
4434 * PlatformNotSupportedException.cs: Inherit from
4435 MemberAccessException, not SystemException.
4437 * ObsoleteAttribute.cs: Made Message and IsError properties
4440 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
4442 * GC.cs: make SuppressFinalize() a nop.
4443 * Delegate.cs: fix == operator.
4445 2002-03-13 Nick Drochak <ndrochak@gol.com>
4447 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
4448 runtime that goes with this patch.
4450 2002-03-10 Martin Baulig <martin@gnome.org>
4452 * Int32.cs (Parse): Correctly parse negative numbers.
4454 2002-03-08 Martin Baulig <martin@gnome.org>
4456 * String.cs (Split): Really fix it this time. Also adding several new
4457 testcase to the testsuite.
4459 2002-03-08 Martin Baulig <martin@gnome.org>
4461 * Array.cs (Copy): Optimized: removed duplicate null check, removed
4462 two duplicate GetLowerBound() calls and one duplicate IsValueType.
4464 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
4466 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
4467 * String.cs: use the dumb code for IndexOf(string): this is worth
4468 15-20 % speedup in mcs compile with mint.
4470 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
4472 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
4474 2002-03-07 Martin Baulig <martin@gnome.org>
4476 * String.cs (Join): Throw an ArgumentNullException.
4477 (LastIndexOf (string,int,int)): This method does a backwards search,
4478 so startIndex points to the end of value, not to its beginning. Don't
4479 throw an exception if startIndex equals this.Length. Always return -1
4480 if startIndex is smaller than the length of value.
4481 (Replace (string,string)): Replace all occurences of oldValue.
4482 If newValue is null, all occurences of oldValue are to be removed.
4483 (Split (char[],int)): Return an empty array if maxCount is zero, throw
4484 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
4485 elements, not maxValue+1.
4487 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
4489 * MonoType.cs: make GetEvents() an internal call.
4490 * MulticastDelegate.cs: copy the passed in array.
4492 2002-03-06 Martin Baulig <martin@gnome.org>
4494 * Array.cs (Copy): Use FastCopy when appropriate and do correct
4497 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
4498 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
4499 some of the failures found be new tests (see ChangeLog in
4500 Test/System). Comments added to this method, based on
4501 the representation invariant of this class, that (try to) explain
4502 why it now should be correct.
4504 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
4506 * Int64.cs (Parse): bug fix for max. negative value.
4508 2002-03-07 Nick Drochak <ndrochak@gol.com>
4510 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
4511 I need to understand what the difference between the attribute and
4514 2002-03-06 Martin Baulig <martin@gnome.org>
4516 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
4517 an InvalidCastException if the widening conversion failed. See
4518 testcases #M94-#M96.
4520 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
4521 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
4524 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
4525 (Copy): Actually allow copying multi-dimensional arrays.
4527 2002-03-05 Duncan Mak <duncan@ximian.com>
4530 (DBNull) Added the missing field.
4531 (IsDBNull) Fixed typo.
4532 (ToByte (string, int)) Implemented.
4533 (ToString (byte, int)) Implemented.
4535 (BuildConvertedString) internal functions used for converting values to
4543 * UInt32.cs: Implemented the IConvertible interface.
4545 * CharEnumerator.cs: Renamed to variables to be clearer and
4546 changed some of the tests to conform to the 1.0 spec.
4548 2002-03-06 Martin Baulig <martin@gnome.org>
4550 * Array.cs (Copy): Calculate absolute array position here and use
4551 GetValueImpl() and SetValueImpl() with that position. We can now
4552 copy multi-dimensional arrays.
4553 (CopyTo): Small bug fix.
4555 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
4557 * Version.cs: CompareTo changed according the LAMESPEC discovered by
4558 Nick (See VersionTest.cs).
4559 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
4560 error comparing the current position (idx) against the length of the
4561 string iterated and it set idx to an unrecognized special value (-2)
4563 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
4565 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
4566 to do this dirty work, but someone has to do it (and I need it to pass
4567 the "200 sample tests compiled on linux" mark).
4569 2002-03-06 Nick Drochak <ndrochak@gol.com>
4572 * DecimalFormatter.cs
4579 * RuntimeMethodHandle.cs
4580 * RuntimeTypeHandle.cs
4583 Add [MonoTODO]'s to places where we currently throw a
4584 NotImplementedException.
4586 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
4588 * Int16.cs (Parse): do not overflow on max negative value
4590 * Int32.cs (Parse): do not overflow on max negative value
4592 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
4594 * Type.cs: fixed IsClass.
4595 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
4596 IsByRefImpl. Added GetInterfaces().
4597 * IServiceProvider.cs: compilation fix.
4599 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
4601 * Array.cs: allow copying an empty array to an empty array.
4603 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
4605 * String.cs: fixed LastIndexOf (string) to do a bit of argument
4608 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
4609 * Version.cs: many fixes to failures found by the newly created
4610 test cases for this class. Specifically, the CompareTo member
4611 returned wrong values due to the use of Int32.MaxValue as a special
4612 value indicating an "undefined" version component. Also implemented the
4613 missing operators (==, <, >, etc.), one missing constructor and
4614 and some exception throwing.
4616 2002-03-04 Nick Drochak <ndrochak@gol.com>
4618 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
4619 * Attribute.cs: Add missing attributes: Serializable and
4620 AttributeUsage(AttributeTargets.All)
4622 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
4624 * MonoType.cs: implemented GetConstructors(), GetFields(),
4625 GetMethods(), GetProperties().
4626 * Object.cs: added debugging icall obj_address().
4627 * Type.cs: fixed the binding flags for some Get* methods.
4628 Implemented FindMembers() as calls to the specific GetMember
4631 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
4632 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
4633 should give an exception for n>=s.Length.
4635 2002-03-01 Martin Baulig <martin@gnome.org>
4637 * Array.cs: More argument checking and bug fixing.
4639 2002-03-01 Miguel de Icaza <miguel@ximian.com>
4641 * BitConverter.cs: Indentation match
4643 * AppDomain.cs: Added MonoTODOs to this too.
4645 * Buffer.cs: Added MonoTODOs to this.
4647 2002-03-01 Martin Baulig <martin@gnome.org>
4649 * Array.cs: Added argument checking to all methods where it was missing.
4651 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
4653 * BitConverter.cs: Fixed bugs in ToString methods
4655 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
4657 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
4659 2002-03-01 Nick Drochak <ndrochak@gol.com>
4661 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
4662 ArgumentOutOfRangeException like the docs say.
4664 2002-03-01 Martin Baulig <martin@gnome.org>
4666 * Enum.cs (CompareTo): Correctly override this method from IComparable.
4668 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
4670 2002-02-28 Martin Baulig <martin@gnome.org>
4672 * String.cs: This file now passes the testsuite on Linux :-)
4674 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
4675 make them private and provide C# wrappers which do proper argument checking.
4677 * String.cs (Format): Correctly handle escaped brackets.
4679 * String.cs (_CompareChar): New internal function which compares two chars.
4680 (_Compare): Provide an internal compare method which can do all sorts of
4681 comparision and call it from all the Compare() methods. Also fixed a lot of
4682 bugs here, this code now actually passes the testsuite.
4684 2002-02-28 Duncan Mak <duncan@ximian.com>
4686 * Convert.cs: Added the missing methods. The new class status page
4687 kicks ass, it even found my typos! Woohoo!
4688 (ConvertFromBase): Moved the Exception throwing in here and
4689 removed the other occurances so it's all centralized now.
4690 (ISDBNull): Implemented.
4691 (GetTypeCode): Implemented.
4693 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
4694 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
4695 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
4696 states that a lacking format should be interpreted as "N".
4697 Also added [Serializable] attribute
4698 * TimeSpan.cs: some formatting and added the [Serializable] attribute
4700 2002-02-26 Duncan Mak <duncan@ximian.com>
4702 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
4704 2002-02-26 Martin Baulig <martin@gnome.org>
4706 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
4707 fields of the interncall GetTimeZoneData.
4709 * DateTime.cs: Implemented Parse and fixed a few bugs.
4711 * String.cs (TrimStart): Small fix.
4713 2002-02-26 Martin Baulig <martin@gnome.org>
4715 * DateTime.cs: ParseExact is now fully functional.
4717 * String.cs (TrimEnd): Small fix.
4719 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
4720 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
4721 missing for about six months.
4723 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
4725 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
4727 2002-02-26 Martin Baulig <martin@gnome.org>
4729 * DateTime.cs: Miguel already committed this, but there was still a
4730 ChangeLog entry for this missing ....
4731 We're now reusing functionality from TimeSpan, printing dates is
4732 fully implemented, currently working on parsing.
4734 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
4737 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
4739 * MonoType.cs: disable constructor.
4740 * Object.cs: make GetType() an internalcall.
4741 * Type.cs: added correct bindingflags to GetMethods ().
4742 All such calls should be reviewed to use the correct flags.
4744 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
4746 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
4749 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
4751 * Type.cs: implemented IsAssignableFrom.
4753 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
4754 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
4755 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
4756 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
4757 The former is documented by Microsoft. The latter is how they
4758 actually implemented it in mscorlib:-)
4760 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
4762 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
4764 * MonoType.cs: Implemented custom attributes methods.
4767 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
4770 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
4772 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
4774 * MonoType.cs: Implemented custom attributes methods.
4776 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
4778 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
4780 2002-02-19 Duncan Mak <duncan@ximian.com>
4782 * Convert.cs: Finished up the missing methods in Convert. Added a
4783 new private method ConvertFromBase.
4785 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
4787 * String.cs: impl. IConvertible interface
4789 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
4790 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
4792 2002-02-18 Duncan Mak <duncan@ximian.com>
4794 * Convert.cs: Changed from using Type.GetType (string) to just
4795 typeof (). Probably will speed things up a bit?
4797 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
4800 1. Fix for GetUpperBound to return correct values
4801 2. made some Properties virtual
4802 3. Adds IsFixedSize and IsReadOnly properties.
4803 4. changes CreateInstance(Type,int[],int[]) to throw Exception
4804 when third arg is null. InternalCall CreateInstance changed to
4806 5. Fixed array.GetUpperBound at a couple of places
4807 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
4808 7. Added two FIXME's in BinarySearch functions.
4810 2002-02-17 Duncan Mak <duncan@ximian.com>
4812 * TimeZone.cs: Applied the rest of Ajay's patch for
4813 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
4816 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
4817 * Guid.cs: added stub for Guid(string) ctor
4819 2002-02-17 Duncan Mak <duncan@ximian.com>
4821 * Convert.cs: Near-complete implementation of Convert.cs
4823 Added all the To* methods taking (object) and
4824 (object, IFormatProvider) as parameters.
4826 Added [CLSCompliant (false)] attributes to methods dealing with
4829 Added the missing section on converting to and from DateTime. Only
4830 6 missing methods, all marked with MonoTODOs. Will tackle them later.
4832 2002-02-16 Duncan Mak <duncan@ximian.com>
4834 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
4835 make IsDaylightSavingTime (DateTime) call
4836 IsDaylightSavingTime (DateTime, DaylightTime).
4838 Added internal class CurrentTimeZone from Ajay. It needs more work
4839 to fill in the appropriate internal calls.
4841 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
4843 * Type.cs: fix IsClass.
4845 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
4847 * String.cs: fix Trim().
4849 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
4851 * String.cs: fix more off by one errors.
4853 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
4855 * MonoType.cs: fix IsValueTypeImpl.
4856 * Type.cs: fix IsEnum. Implement Equals methods.
4858 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
4860 * Int32.cs: implement IConvertible interface.
4862 2002-02-12 Duncan Mak <duncan@ximian.com>
4864 * TimeZone.cs: Implemented and added to CVS.
4866 2002-02-11 Duncan Mak <duncan@ximian.com>
4868 * Convert.cs: Implemented the ChangeType () methods.
4870 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
4872 * Array.cs: make Clone() an internal call.
4874 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
4875 * Changed Guid.NewGuid so that it can use both System.Random and
4876 System.Security.Cryptography.RandomNumberGenerator
4878 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
4879 * First version of Guid.NewGuid
4881 2002-02-08 Duncan Mak <duncan@ximian.com>
4883 * RuntimeArgumentHandle.cs: Added to CVS.
4885 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
4887 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
4888 UnhandledExceptionEventHandler.cs: added delegates.
4890 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
4892 * MarshalByRefObject.cs: add ToString () method
4893 (apparently needed by nunit).
4894 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
4895 by it in the runtime.
4897 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
4899 * String.cs (Format): implemented
4901 2002-02-07 Duncan Mak <duncan@ximian.com>
4903 * DuplicateWaitObjectException:
4904 * InvalidCastException:
4905 * NotImplementedException:
4906 * NotSupportedException:
4907 * NullReferenceException:
4908 * OutOfMemoryException:
4909 * OverflowException:
4911 * StackOverflowException.cs:
4912 * UnauthorizedAccessException: Added missing constructor used for serialization.
4914 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
4916 * String.cs (System.Compare): bug fix
4918 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
4920 * Enum.cs (Parse, GetHashCode): impl.
4922 2002-02-05 Duncan Mak <duncan@ximian.com>
4924 * DBNull.cs: This is my first crack at the DBNull class. I think I
4925 actually got most of the IConvertible methods right, but I haven't
4926 done the research to test whether or not this is the correct
4927 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
4929 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
4931 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
4933 * Enum.cs: added more functionality (GetName, ToObject, Equals)
4935 2002-01-31 Duncan Mak <duncan@ximian.com>
4937 * InvalidOperationException.cs:
4938 * NotFiniteNumberException.cs:
4939 * ObjectDisposedException.cs:
4940 * TypeInitializationException.cs: Added missing bits for serialization/
4942 * AppDomainUnloadedException.cs:
4943 * ApplicationException.cs:
4944 * ArgumentOutOfRangeException.cs:
4945 * ArithmeticException.cs:
4946 * ArrayTypeMismatchException:
4947 * BadImageFormatException.cs:
4949 * MissingMemberException.cs:
4950 * TypeLoadException.cs: Added missing bits for serialization.
4952 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
4953 * Guid.cs: implemented everything but Guid.NewGuid
4955 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
4957 * _AppDomain.cs: remove ToString() method: it doesn't seem right
4958 to have it in this interface and it screws up the method vtable setup.
4960 2002-01-28 Andrei Zmievski <andrei@php.net>
4962 * Double.cs: implemented IConvertible interface.
4964 2002-01-28 Miguel de Icaza <miguel@ximian.com>
4966 * ArgumentException.cs: Implement serialization constructor.
4967 (GetObjectData): Implement serializer.
4969 * ArgumentNullException.cs: Implement serialization constructor.
4971 * Exception.cs: Implement serialization constructor.
4972 (GetObjectData): Implement serializer.
4974 2002-01-23 Miguel de Icaza <miguel@ximian.com>
4976 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
4978 2002-01-23 Duncan Mak <duncan@ximian.com>
4980 * EntryPointNotFoundException.cs:
4981 * FormatException: Added missing constructor and related bits.
4983 * TypeLoadException: Added missing constructor, methods and properties.
4985 2002-01-23 Miguel de Icaza <miguel@ximian.com>
4987 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
4988 manually getting the enumerator.
4990 (AppDomain.AppDomain): Prime the loaded assemblies with the
4991 assemblies loaded by the runtime in our behalf.
4993 * AppDomainSetup.cs: Remove private keyword, that is the default.
4994 Add a new property DisallowPublisherPolicy.
4996 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
4998 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
5000 * MonoType.cs, Type.cs: many updates, corrected implementation,
5003 2002-01-20 Andrei Zmievski <andrei@php.net>
5006 * Char.cs: implemented IConvertible interface.
5008 * Boolean.cs: use our own ToString() method directly.
5010 2002-01-20 Duncan Mak <duncan@ximian.com>
5012 * Files I commited recently: Fixed indentation style.
5014 2002-01-20 Nick Drochak <ndrochak@gol.com>
5016 * SerializableAttribute.cs: this attrib can be used on enums, structs,
5017 and delegates too. Added the appropriate usage flags.
5019 2002-01-18 Duncan Mak <duncan@ximian.com>
5021 * CharEnumerator.cs: Implemented.
5022 * String.cs (System): Fixed the GetEnumerator () method(s).
5024 * ObsoleteAttribute.cs:
5025 * STAThreadAttribute.cs:
5026 * MTAThreadAttribute.cs:
5027 * ThreadStaticAttribute.cs:
5028 * LoaderOptimizationAttribute.cs:
5029 * PlatformNotSupportedException.cs:
5030 * LoaderOptimization.cs: Added to CVS.
5032 2002-01-18 Duncan Mak <duncan@ximian.com>
5034 * AppDomainUnloadedException.cs:
5035 * MethodAccessException.cs:
5036 * ContextMarshalException.cs:
5037 * CannotUnloadAppDomainException.cs:
5038 * DllNotFoundException.cs:
5039 * EntryPointNotFoundException.cs:
5040 * FieldAccessException.cs:
5041 * TypeUnloadedException.cs:
5042 * MissingFieldException.cs: Added to CVS.
5044 * ApplicationException.cs:
5045 * MemberAccessException.cs:
5046 * MissingMemberException.cs
5047 * MissingMethodException.cs:
5048 * SystemException.cs: Added [Serializable] attribute.
5050 * Exception.cs: Added [Serializable] attribute, made properties
5051 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
5054 * ContextStaticAttribute.cs: Added [Serializable] attribute and
5055 put in the missing constructor.
5057 * Environment.cs: Commented out references to
5058 EnvironmentPermissionAttribute, because they're just stubbed out
5059 right now and has no implementation.
5061 2002-01-16 Andrei Zmievski <andrei@php.net>
5063 * Boolean.cs: implemented IConvertible interface
5065 2002-01-15 Nick Drochak <ndrochak@gol.com>
5067 * ResolveEventArgs.cs: class should derive from EventArgs.
5069 2002-01-14 Miguel de Icaza <miguel@ximian.com>
5071 * String.cs (System): Use DefaultMemberName for the String class.
5073 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
5075 * String.cs: use IndexerName in index char accessor.
5077 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
5079 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
5080 * String.c: eliminate 64k+ method calls in search.
5081 * Type.cs: handle byref and array types in ToString ().
5083 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
5085 * Guid.cs: created first version
5087 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
5089 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
5091 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
5093 * MulticastDelegate.cs: add == and != operator stubs.
5094 * String.cs: check for null in == operator.
5095 * Type.cs: use a virtual method to get TypeAttributes.
5097 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
5098 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
5100 2002-01-09 Nick Drochak <ndrochak@gol.com>
5102 * Environment.cs: Comment out Security attribute and put a MonoTODO
5103 there as a reminder. We need mcs magic to handle security attributes in
5106 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
5107 * Created IAppDomainSetup.cs
5109 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
5110 * Created System._AppDomain interface in _AppDomain.cs
5112 2002-01-06 Nick Drochak <ndrochak@gol.com>
5114 * ResolveEventArgs.cs: New File, completely implemented! ;)
5116 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
5118 * Enum.cs: dummy ToString impl.
5119 * String.cs: dummy format implementations to get compiler errors
5121 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
5123 2002-01-05 Ravi Pratap <ravi@ximian.com>
5125 * TODOAttribute.cs : Augment some more; provide two constructors
5126 with support for a comment too.
5128 2002-01-05 Nick Drochak <ndrochak@gol.com>
5130 * Uncommented those MonoTODO's now that Ravi's got
5133 2001-01-04 Ravi Pratap <ravi@ximian.com>
5135 * TODOAttribute.cs : Actually add this time ;-)
5137 Change name to MonoTODO.
5139 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
5141 * String.cs (Trim): Fixed a few logic bugs in the code that
5142 calculated how much to trim off the end of the string.
5144 2001-01-04 Nick Drochak <ndrochak@gol.com>
5146 * Commented out the [TODO] attributes for now. We don't have the
5147 class written. Also changed it to [MonoTODO]
5149 2002-01-04 Ravi Pratap <ravi@ximian.com>
5151 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
5152 our class libraries that are incomplete.
5154 * Array.cs : Apply attribute wherever we find a FIXME which says
5155 we need something to be implemented there.
5159 * MulticastDelegate.cs : Ditto.
5161 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
5162 RuntimeTypeHandle.cs : Ditto.
5164 * String.cs : Ditto.
5168 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
5170 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
5171 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
5173 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
5174 Delegate.cs : Ditto.
5176 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
5177 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
5179 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
5181 * Delegate.cs: add Remove() stub.
5182 * Enum.cs: add ToObject().
5183 * Type.cs: add IsEnum property.
5185 2002-01-03 Kristian Rietveld <kris@gtk.org>
5187 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
5188 DateTime and object.
5190 2001-12-30 Nick Drochak <ndrochak@gol.com>
5192 * Byte.cs (Parse): Add comments to aid in testing.
5194 2001-12-21 Miguel de Icaza <miguel@ximian.com>
5196 * Char.cs (Parse): Implement.
5198 * Byte.cs (Parse): Implement a fast parser.
5200 * SByte.cs (Parse): Implement a fast parser.
5202 * UInt16.cs (Parse): Implement a fast parser.
5204 * Int16.cs (Parse): Implement a fast parser.
5206 * UInt32.cs (Parse): Implement a fast parser.
5208 * Int32.cs (Parse): Implement a fast parser.
5210 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
5212 * Array.cs: fix null ref in sort code.
5213 * UInt64.cs: add bare-bones parse.
5215 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
5217 * Byte.cs: removed use of Regexes.
5219 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
5221 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
5222 IsDefined(), GetUnderlyingType().
5223 * String.cs: fix one instance of Compare().
5224 * Type.cs: implemented GetProperties(), GetProperty().
5226 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
5228 * Array.cs: implement CopyTo ().
5229 * Char.cs: implement ToString ().
5230 * Exception.cs: bugfix.
5231 * Int32.cs: bare-bones Parse ().
5232 * MonoType.cs: query the needed info with an internalcall.
5233 * String.cs: speedups, bugfixes, reduced copies.
5234 * Type.cs: added missing fields. Implemented many of the Is*
5235 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
5236 GetFields(), FindMembers(), ToString().
5238 2001-12-11 Dick Porter <dick@ximian.com>
5240 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
5242 * Console.cs: Use handles rather than casting file descriptors
5244 2001-12-08 Nick Drochak <ndrochak@gol.com>
5246 * Byte.cs (Parse): Start implementation. Parse(string) works, but
5247 now we need to handle other formats
5249 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
5251 * DateTime.cs: added an icall to GetNow()
5253 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
5255 * Double.cs: added the parse method from Bob Smith
5257 2001-11-28 Miguel de Icaza <miguel@ximian.com>
5263 * Int32.cs (Int32.CompareTo): Fix because we can not just
5264 substract the values.
5266 Return possitive value if the object is null.
5268 * Boolean.cs: (Boolean.CompareTo): ditto.
5270 * Int16.cs (Int16.CompareTo): ditto.
5272 * Byte.cs (Byte.CompareTo): ditto.
5274 * SByte.cs (SByte.CompareTo): ditto.
5276 * Char.cs (Char.CompareTo): ditto.
5278 * Decimal.cs (Decimal.CompareTo): ditto.
5280 * Int64.cs (Int64.CompareTo): ditto.
5286 2001-11-28 Nick Drochak <ndrochak@gol.com>
5288 * Byte.cs: Throw NotImplementedException for Parse.
5290 2001-11-27 Derek Holden <dholden@draper.com>
5292 * IntegerFormatter.cs: Formatting of type "Number" was not
5293 using NumberFormatInfo.NumberNegativePattern.
5295 2001-11-26 Dick Porter <dick@ximian.com>
5297 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
5298 the finalise routine any more
5300 2001-11-21 Miguel de Icaza <miguel@ximian.com>
5302 * ApplicationException.cs: internationalize by adding calls to
5303 Locale.GetText (). And throw NotImplementedExceptions on calls
5304 that we have to implement.
5306 * Version.cs: Ditto.
5308 * ValueType.cs: ditto.
5310 * UnauthorizedAccessException.cs: ditto.
5318 * TypeLoadException.cs: ditto
5320 * TypeInitializationException.cs: ditto.
5324 * TimeSpan.cs: ditto.
5326 * SystemException.cs: ditto.
5330 * StackOverflowException.cs: ditto.x
5336 * RuntimeTypeHandle.cs: ditto.
5338 * RuntimeMethodHandle.cs: ditto.
5340 * RuntimeFieldHandle.cs: ditto.
5344 * OutOfMemoryException.cs: ditto.
5346 * OperatingSystem.cs: ditto.
5348 * ObjectDisposedException.cs: ditto.
5350 * NullReferenceException.cs: ditto.
5352 * NotImplementedException.cs: ditto.
5354 * NotFiniteNumberException.cs: ditto.o
5356 * MulticastNotSupportedException.cs: ditto.
5358 * MissingMethodException.cs: ditto.
5360 * MemberAccessException.cs: ditto.
5364 * InvalidCastException.cs: ditto.
5366 * IntegerFormatter.cs: ditto.
5372 * IndexOutOfRangeException.cs: ditto.
5374 * Environment.cs: ditto
5378 * DuplicateWaitObjectException.cs: ditto.
5380 * DivideByZeroException.cs: ditto.
5382 * Delegate.cs: ditto
5384 * DecimalFormatter.cs: ditto.
5386 * Decimal.cs: ditto.
5388 * DateTime.cs: ditto.
5390 * Convert.cs: ditto.
5396 * Boolean.cs: ditto.
5398 * ArrayTypeMismatchException.cs: ditto.
5400 * ArithmeticException.cs: ditto.
5402 * ArgumentOutOfRangeException.cs: ditto.
5404 * ArgumentNullException.cs: ditto.
5406 * Enum.cs: Make it derive from ValueType, add CompareTo method.
5408 * Attribute.cs: Reformat.
5410 2001-11-14 Miguel de Icaza <miguel@ximian.com>
5412 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
5413 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
5414 exception if the value is null too.
5416 * Char.cs (CompareTo): ditto.
5418 * ApplicationException.cs: Added constructor that does serialization.
5420 * ParamArrayAttribute.cs: Define attribute correctly.
5422 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
5424 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
5425 * Array.cs: fix Array.Copy.
5426 * AssemblyLoadEventArgs.cs: rename field.
5427 * CLSCompliantAttribute.cs: use correct name for the class.
5428 * Char.cs: fix IsLetter.
5429 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
5430 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
5431 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
5432 * Delegate.cs: renamed target field to m_target.
5433 * Enum.cs: added missing methods.
5434 * MonoType.cs: add a constructor and some needed properties.
5435 * Object.cs: implement GetType().
5436 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
5438 * Type.cs: add missing methods/properties.
5440 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
5442 * AttributeUseage.cs: Should define AttributeUsageAttribute.
5444 * CLSCompliant.cs: Marked with AttributeUsage attribute.
5446 * Decimal.cs: Fixed CLSCompliant attributes.
5448 * Type.cs: changed _impl to internal (needs to be accessable by
5451 (TypeHandle): Marked as abstract, implementation removed.
5453 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
5454 GetMethod): Added stub implementations so NUnit would link against
5457 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
5459 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
5461 2001-11-05 Miguel de Icaza <miguel@ximian.com>
5463 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
5466 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
5468 * String.cs: fix a couple of bugs.
5469 * AppDomain.cs: use new AppBuilder constructor.
5470 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
5471 NotImplementedException.cs, ObjectDisposedException.cs,
5472 UnauthorizedAccessException.cs: add implementation.
5473 * OverflowException.cs: fix class name.
5475 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
5477 * String.cs: Don't use a terminating nil char for our internal
5480 2001-10-27 Miguel de Icaza <miguel@ximian.com>
5482 * Delegate.cs (Delegate.CombineImpl): Implement.
5483 (Delegate.Combine): Implement.
5485 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
5487 (MulticastDelegate.CombineImpl): This was not as trivial as I
5490 * ContextStaticAttribute.cs: Added AttributeUsage to
5491 ContextStaticAttribute.
5493 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
5495 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
5497 * added Decimal.cs * added DecimalFormatter.cs (internal class
5498 used from System.Decimal)
5500 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
5502 * Convert.cs: Added methods for Base64 transforming just used the
5503 existing System.Security.Cryptography.ToBase64Transform, should
5504 be changed to use a stand-alone class, e.g. Base64Encoder
5506 2001-10-10 Derek Holden <dholden@draper.com>
5508 * IntegerFormatter.cs: Added. Implements ToString for all the
5509 integer data types for all the format types.
5511 * Byte.cs: Using IntegerFormatter for ToString's.
5513 * SByte.cs: Using IntegerFormatter for ToString's.
5515 * Int16.cs: Using IntegerFormatter for ToString's.
5517 * Int32.cs: Using IntegerFormatter for ToString's.
5519 * Int64.cs: Using IntegerFormatter for ToString's.
5521 * UInt16.cs: Using IntegerFormatter for ToString's.
5523 * UInt32.cs: Using IntegerFormatter for ToString's.
5525 * UInt64.cs: Using IntegerFormatter for ToString's.
5527 2001-10-07 Miguel de Icaza <miguel@ximian.com>
5529 * Exception.cs: Implement bits of serialization.
5531 * RuntimeFieldHandle.cs: Implement Serialization features.
5533 * Type.cs: Implement TypeHandle property.
5535 2001-09-28 Dick Porter <dick@ximian.com>
5537 * LocalDataStoreSlot.cs: Implemented
5539 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
5541 * String.cs: fix off-by-one error in Trim().
5543 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
5545 * Type.cs: added GetType () method.
5547 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
5549 * MissingMethodException.cs, MissingMemberException.cs,
5550 MemberAccessException.cs: added.
5552 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
5554 * String.cs: don't access the string array out of bounds in
5555 LastIndexOf. * Type.cs: fix return type of the Assembly property.
5557 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
5559 * String.cs: make Intern and IsIntern internalcalls.
5561 2001-09-13 Dick Porter <dick@ximian.com>
5563 * Type.cs: Added a stub for the IsValueType property.
5565 * SystemException.cs (System): Added the other constructor, so
5566 that System.Threading exceptions can inherit it.
5568 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
5570 * String.cs (TrimStart): Don't keep looping through the trimchars
5571 once we've found a match.
5572 (TrimEnd): Same here.
5573 (Trim): And finally here.
5575 2001-09-07 Ravi Pratap <ravi@ximian.com>
5577 * Char.cs (IsLetterOrDigit): Implement.
5578 (IsLower): Implement, but we need to be Unicode aware.
5579 (IsNumber): Implement.
5580 (IsPunctuation): Implement.
5581 (IsWhiteSpace): Implement.
5582 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
5583 (ToLower): Same here.
5585 2001-09-04 Miguel de Icaza <miguel@ximian.com>
5587 * Object.cs: Shortcut, if (a == b) then return true.
5589 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
5591 * Delegate.cs: we need a pointer to the method thunk in
5592 the delegate object.
5594 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
5596 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
5598 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
5600 * String.cs (System): Don't mix uint and int.
5602 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
5604 * String.cs (BoyerMoore): Modified to not use pointers and to instead
5606 (IndexOf): Use BoyerMoore.
5608 2001-09-02 Miguel de Icaza <miguel@ximian.com>
5610 * All over: Use the autogenerated enumerations from the ECMA
5611 documentation that Sergey wrote.
5613 * PlatformID.cs: Add Unix definition.
5615 * OperatingSystem.cs: Use Unix instead of Linux here.
5617 * MarshalByRefObject.cs: Mark class as [Serializable].
5619 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
5621 * Console.cs: impl. (write only)
5622 implemented the stdin stuff
5624 * Int32.cs: impl. real op_Equal
5626 2001-08-24 Miguel de Icaza <miguel@ximian.com>
5628 * (common.src): Removed IAsyncResult as it is not on CVS yet.
5630 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
5631 as it breaks the build.
5633 2001-08-23 Michael Lambert <michaellambert@email.com>
5635 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
5636 added CLSCompliant attribute
5638 * IAsyncResult.cs: Added
5640 * common.src: Added IAsyncResult.cs
5642 2001-08-23 Michael Lambert <michaellambert@email.com>
5646 * common.src: Added UIntPtr.cs
5648 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
5650 * Attribute.cs: uncomment some code to make it compile again
5652 * mono.src: removed duplicated Attribute.cs
5654 2001-08-16 Nick Drochak <ndrochak@gol.com>
5656 * Attribute.cs: implemented all methods except GetHashCode()
5658 * common.src: added Attribute.cs so it would compile in
5660 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
5662 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
5663 marked it as InternalCall
5665 * common.src: removed UriFormatException.cs because the file is
5668 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
5669 * Char.cs: replaced byte with char
5671 * Array.cs: make it work with the mono interpreter
5673 2001-08-06 Miguel de Icaza <miguel@ximian.com>
5675 * Version.cs: Make the class sealed
5677 2001-08-08 Bob Smith <bob@thestuff.net>
5679 * Random.cs: Many compile fixes.
5680 * Random.cs: I read a bad spec. Class updated to match real spec.
5682 2001-08-06 Miguel de Icaza <miguel@ximian.com>
5684 * IntPtr.cs: Added and Completed implementation.
5686 * Uri.cs: Add a note.
5688 2001-08-06 Bob Smith <bob@thestuff.net>
5690 * Random.cs: Compile fix. Needs more testing.
5692 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
5694 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
5695 into account IPv6 addresses, url encoding needs to be implemented, and
5696 various minor methods need to be written, but this is a decent start.
5698 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
5700 * common.src: added Object.cs
5702 * mono.src: added ValueType.cs
5704 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
5706 * Math.cs: replaced libc with libm
5708 2001-08-02 Bob Smith <bob@thestuff.net>
5710 * Random.cs: Implemented. Needs testing.
5712 2001-08-02 Miguel de Icaza <miguel@ximian.com>
5714 * IServiceProvider.cs, EventHandler.cs: New files.
5716 2001-08-02 Marcel Narings <marcel@narings.nl>
5718 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
5719 Added exceptions. Added IConvertible. Still needs some platform
5720 dependend stuff, the Parse and ToString members
5722 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
5724 * Type.cs (GetTypeFromHandle): added placeholder
5726 2001-07-24 Derek Holden <dholden@draper.com>
5728 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
5729 which is really an IConvertible defined method.
5731 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
5732 behavior, still need to do the main Parse and ToString.
5734 * Char.cs: Added a bunch of missing ECMA methods. Commented a
5735 specification discrepency. Still didn't any unicode stuff, though
5736 every IsFoo(char c) method has an IsFoo(string, index)
5737 counterpart, added wrappers for those.
5739 * Convert.cs: Fixed NaN/Inf checking and double/float
5740 rounding. Added ToType for IConvertible classes
5742 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
5743 IsNaN methods. Changed Inf/NaN internals.
5745 * IConvertible.cs: Added comments for using
5746 Convert.ToType. Changed return values to draft base values.
5748 * Int16.cs: Added a missing Parse statement. Put in behavior for
5749 overloaded ToString and Parse methods.
5751 * Int32.cs: Added a missing Parse statement. Put in behavior for
5752 overloaded ToString and Parse methods.
5754 * Int64.cs: Added a missing Parse statement. Put in behavior for
5755 overloaded ToString and Parse methods.
5757 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
5758 methods. Changed Inf/NaN internals.
5760 * SByte.cs: Added a missing Parse method. Put in Parse and
5761 ToString behavior, still need to do the main Parse and ToString.
5763 * UInt16.cs: Added a missing Parse statement. Put in behavior for
5764 overloaded ToString and Parse methods.
5766 * UInt32.cs: Added a missing Parse statement. Put in behavior for
5767 overloaded ToString and Parse methods.
5769 * UInt64.cs: Added a missing Parse statement. Put in behavior for
5770 overloaded ToString and Parse methods.
5772 2001-07-20 Miguel de Icaza <miguel@ximian.com>
5774 * MulticastDelegate.cs: New File.
5776 * Delegate.cs: New file.
5778 * Enum.cs: New file.
5780 * Attribute.cs: New file.
5782 * Type.cs: New file.
5784 * ParamArrayAttribute.cs: New file.
5786 * RuntimeTypeHandle.cs: New file.
5788 * MulticastDelegate.cs: Added.
5790 * DateTime.cs: Added
5792 * Delegate.cs: Added
5794 2001-07-18 Michael Lambert <michaellambert@email.com>
5796 * AttributeTargets.cs: Add.
5798 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
5800 * Char.cs: Made ToUpper and ToLower public methods.
5802 * String.cs: Lots and lots of compile fixes - just need to write
5803 DateTime.cs and this should build completely now.
5805 2001-07-19 Bob Smith (bob@thestuff.net)
5807 * Math.cs: Implemented.
5809 2001-07-19 Miguel de Icaza <miguel@ximian.com>
5811 * String.cs: Removed tolower and toupper.
5813 * Char.cs: Moved ToLower and ToUpper from string to here.
5815 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
5816 instead of comparing the value to Nan.
5818 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
5820 * TimeSpan.cs: New implementation.
5822 2001-07-18 Scott Sanders <scott@stonecobra.com>
5824 * UriFormatExcpetion.cs: Add - 85% complete
5826 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
5828 * String.cs (IndexOf): Slight optimization that allows skipping
5829 over a few chars here and there. This isn't as good as using my
5830 Boyer-Moore implementation, however, Boyer-Moore is only really
5831 good for long strings (I plan on making the code decide which
5832 string search algorithm it should use on-the-fly at some point).
5833 (LastIndexOf): Fix to work correctly.
5834 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
5836 2001-07-16 Michael Lambert <michaellambert@email.com>
5838 * EventArgs.cs: Add.
5840 2001-07-16 Miguel de Icaza <miguel@ximian.com>
5842 * Version.cs: Remove my buggy comment.
5844 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
5846 * String.cs: Spelling error of IComparable, object's
5847 MemberwiseClone cannot be overridden. Made indexer valid for now,
5848 but not sure what to do about this in the long run. Seems to be a
5849 couple bugs in csc.exe having to do with multiple pointer defs in
5850 the same statement, and returning subclasses of a class in the
5851 return type of an interface function implementation. Also moved
5852 operators inside of class definition.
5854 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
5856 * String.cs: A tom of compile fixes, although we still don't compile.
5858 * IConvertible.cs: The To*Int64() methods return *Int64's, not
5859 *Int32's. Also, it's ToDateTime() not ToDateType().
5861 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
5863 * String.cs: Apparently I needed to at least write stubs for the
5864 IConvertible interfaces. *sigh*
5866 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
5868 * String.cs: Many logic/other fixes and better usage of the
5870 (tolower): New convenience method to help condense code.
5871 (toupper): Another new helper method.
5872 (Compare): Use the new helper methods.
5873 (ToLower): use tolower().
5874 (ToUpper): use toupper().
5875 (LastIndexOfAny): Implemented.
5876 (BoyerMoore): New private helper method that implements a modified
5877 version of the Boyer-Moore search algorithm. Noothing uses it yet
5878 as I'm not 100% sure it even works properly with unicode strings
5879 not to mention it uses a huge lookup-table :-)
5880 (Split): Implemented.
5882 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
5884 * TODO: Added things that need to be finished in System.String
5886 * String.cs: New source file implementing the System.String class
5888 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
5890 * TypeCode.cs: UInt64 was UInt63.
5892 * Object.cs: Fixed a numer of compiler errors.
5894 * Array.cs: Fixed some compiler errors.
5896 * IComparable.cs: Fixed some compiler errors.
5898 * ICloneable.cs: Fixed some compiler errors.
5900 * IConvertible.cs: Fixed some compiler errors.
5902 * IFormattable.cs: Fixed a compiler error.
5904 * IFormatProvider.cs: Fixed a compiler error.
5906 * IDisposable.cs: Fixed a compiler error.
5908 * IFormatProvider.cs: Added public accesability type to
5911 * Exception.cs: Added a using statement to remove compile time
5914 * ApplicationException.cs: Removed a ; that was causing a compiler
5917 * Int16.cs: Fixed some compiler errors.
5919 * Int32.cs: Fixed some compiler errors.
5921 * Int64.cs: Fixed some compiler errors.
5923 * SystemException.cs: Fixed a compiler error.
5925 * UInt16.cs: Fixed some compiler errors.
5927 * UInt32.cs: Fixed some compiler errors.
5929 * UInt64.cs: Fixed some compiler errors.
5931 * Void.cs: Fixed a compiler error.
5933 2001-07-12 Joe Shaw <joe@ximian.com>
5935 * Array.cs: Fix backwards parameters to Array.SetValue()
5937 (BinarySearch): Fix backward logic surrounding whether to call
5938 value.CompareTo or comparer.Compare.
5939 (LastIndexOf): Stop being stupid. I am so not used to strongly
5941 (Sort): Implement a quicksort.
5943 2001-07-11 Joe Shaw <joe@ximian.com>
5945 * Array.cs: Change all instances of trying to access an array with
5946 the index operator to calls to GetValue and SetValue, and add
5947 InternalGetValue and InternalSetValue which are internal calls
5948 into the runtime. Ew.
5950 2001-07-10 Joe Shaw <joe@ximian.com>
5952 * Array.cs: Implemented everything but Sort().
5954 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
5956 * Object.cs (Object::Equals): Object variable name is `o'.
5958 2001-07-06 Joe Shaw <joe@ximian.com>
5960 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
5961 Implement the IComparable and IFormattable interfaces. Fix a typo
5964 * ApplicationException.cs, ArgumentException.cs,
5965 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
5966 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
5967 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
5968 ExecutionEngineException.cs, FormatException.cs,
5969 IndexOutOfRangeException.cs, InvalidCastException.cs,
5970 InvalidOperationException.cs, InvalidProgramException.cs,
5971 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
5972 NotSupportedException.cs, NullReferenceException.cs,
5973 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
5974 StackOverflowException.cs, SystemException.cs,
5975 TypeInitializationException.cs: Added all of the exceptions
5976 specified by the language spec. Mmmm... bloat.
5978 2001-07-06 Miguel de Icaza <miguel@ximian.com>
5980 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
5981 do a generic routine all of these guys use.
5983 * Int16.cs: identified missing methods.
5985 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
5987 2001-06-26 Miguel de Icaza <miguel@ximian.com>
5989 * TypeCode.cs: Implement
5991 * Void.cs: Implement.
5993 * TODO: Add file to keep track of pending tasks.
5995 * Object.cs, ValueType.cs: Implement.