1 2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
3 * Lazy.cs: Implement all lazy modes.
5 2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
7 * ExecutionEngineException.cs: Type is obsolete.
9 2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
11 * Type.cs: Implement new v4 IsEnumDefined ().
13 2010-02-24 Rodrigo Kumpera <rkumpera@novell.com>
15 * Type.cs: Implement new v4 GetEnumValue ().
17 2010-02-24 Rodrigo Kumpera <rkumpera@novell.com>
19 * Type.cs: Implement new v4 GetEnumValues ().
23 2010-02-23 Rodrigo Kumpera <rkumpera@novell.com>
25 * Type.cs: Use the right kind of annotations.
27 2010-02-23 Rodrigo Kumpera <rkumpera@novell.com>
29 * Type.cs: Implement new v4 GetEnumNames ().
31 2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
33 * Type.cs: Implement new v4 GetEnumUnderlyingType ().
35 2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
37 * Type.cs: Implement new v4 GetTypeCodeImpl ().
39 2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
41 * Type.cs: Implement new v4 behavior for Equals.
43 Fri Feb 19 09:05:36 CET 2010 Paolo Molaro <lupus@ximian.com>
45 * Decimal.cs: fixed Remainder (bug #576341).
47 2010-02-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
49 * Environment.cs: implement SystemPageSize.
51 Fri Feb 12 18:38:01 CET 2010 Paolo Molaro <lupus@ximian.com>
53 * InsufficientExecutionStackException.cs: new exception type in 4.0.
55 2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
57 * MonoType.cs: Implement GetCustomAttributesData.
59 2010-02-06 Chris Toshok <toshok@ximian.com>
61 * AppDomain.cs (SetupInformationNoCopy): make this internal for
64 2010-02-02 Jérémie Laval <jeremie.laval@gmail.com>
66 * AggregateException.cs:
67 * OperationCanceledException.cs: Port to .NET 4 beta 2 API
69 2010-01-31 Zoltan Varga <vargaz@gmail.com>
71 * Enum.cs: Fix a warning.
73 2010-01-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
75 * Version.cs: Implement Parse and TryParse.
77 2010-01-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
79 * AppDomain.cs: LoadSatellite: add a boolean parameter specifiying
80 whether we should throw on exceptions or not.
82 2010-01-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
84 * TimeSpan.cs: TryParse: Handle null values to not throw ANEs.
86 2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
88 * Array.cs: updates to the API from beta2.
89 * _AppDomain.cs: no GetLifeTimeService() in 4.0
91 2010-01-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
93 * Enum.cs: Implement TryParse and do the required refactoring of our
94 Parse method to support it.
96 2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
98 * Single.cs : parse MaxValue and PositiveInfinity as expected.
99 Patch by Tiaan Geldenhuys.
101 2010-01-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
103 * Activator.cs: When calling CreateInstance() and no default .ctor is
104 found for the type, don't pass the member argument to the
105 MissingMethodException, to have a better and simpler error message.
108 2010-01-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
110 * Tuples.cs: explicitly implement IStructural*.
112 2010-01-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
114 * UInt64.cs: Implement a lightweight version of the Parse method for
115 the overload that does not take IFormatProvider/NumberStyle
116 parameters - this gets us a nice speed up, just like we do for the
120 2010-01-15 Rodrigo Kumpera <rkumpera@novell.com>
122 * Array.cs: Implement IStructuralComparer.
124 2010-01-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
126 * Int32.cs: In Parse() cast the parsed value to long *before* changing
127 its sign - this way we preserve the original value, instead of
128 accidentally changing it. This was happening parsing _exactly_
132 2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
134 * DateTime.cs : In AddMilliseconds(), it seems fractional
135 milliseconds are first rounded and then added.
137 2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
139 * DateTimeOffset.cs : preserve fractions (it is somehow dropped).
141 2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
143 * Double.cs : no need to preserve old code.
145 2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
147 * Double.cs : AllowLeading/TrailingWhite should also check those
148 surrounding string constants such as "NaN".
150 2010-01-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
152 * Int32.cs: Implement support for exponent in the Parse methods.
155 2010-01-10 Zoltan Varga <vargaz@gmail.com>
157 * GC.cs: Add stubs for new net 4.0 methods.
159 2010-01-07 Jb Evain <jbevain@novell.com>
161 * MonoType.cs (.MemberType): return the proper member type
162 for generic parameters.
164 2010-01-07 Sebastien Pouliot <sebastien@ximian.com>
166 * Convert.cs: Fix line endings in ToBase64String (bug #568778)
167 and also the default line length. Code changed to not require
168 a BinaryReader over a MemoryStream to reduce memory requirements.
170 2010-01-07 Zoltan Varga <vargaz@gmail.com>
172 * TermInfoDriver.cs (GetCursorPosition): Avoid waiting 1 sec here.
174 2010-01-03 Zoltan Varga <vargaz@gmail.com>
176 * Array.cs: Fix ArrayReadOnlyList.CopyTo. Fixes #564095.
178 2010-01-03 Zoltan Varga <vargaz@gmail.com>
180 * DateTime.cs (TryParseExact): Handle exceptions. Fixes #567857.
182 2009-12-21 Marek Habersack <mhabersack@novell.com>
184 * Int32.cs: treat terminating null as whitespace
186 2009-12-19 Zoltan Varga <vargaz@gmail.com>
188 * String.cs: Fix the various IndexOf and LastIndexOf methods so they handle
189 "" and a non-zero startIndex correctly. Fixes #566106.
191 2009-12-17 Sebastien Pouliot <sebastien@ximian.com>
193 * String.cs: Fix #565602 right-padding empty strings.
195 2009-12-15 Marek Safar <marek.safar@gmail.com>
197 * Array.cs: Optimize sort operations on all primitive types.
199 2009-12-14 Rodrigo Kumpera <rkumpera@novell.com>
201 Type.cs (IsCompilerContext): The default implementation now checks if the
202 type's assembly is under compiler context or not.
204 2009-12-12 Rodrigo Kumpera <rkumpera@novell.com>
206 * Environment.cs: Bump corlib version.
208 2009-12-12 Rodrigo Kumpera <rkumpera@novell.com>
210 * MonoType.cs: Make the GetConstructorImpl machinery available
211 to be used by others.
213 * Type.cs (MakeGenericType): Is any of the arguments is not a system
214 type create an instance of MonoGenericClass instead.
216 2009-12-09 Jb Evain <jbevain@novell.com>
218 * StringComparer.cs (GetHashCode): properly throw
219 an ANE instead of an NRE.
221 2009-12-09 Miguel de Icaza <miguel@novell.com>
223 * Enum.cs: Add new .NET 4.0 API.
225 2009-12-08 Marek Habersack <mhabersack@novell.com>
227 * Type.cs: added overloads for the == and != operators (4.0).
229 2009-12-08 Rodrigo Kumpera <rkumpera@novell.com>
231 * Type.cs: Add virtual property IsCompilerContext to cleanup
232 compiler context resolution across SRE.
234 2009-12-05 Mark Probst <mark.probst@gmail.com>
236 * String.cs: A new LOS_limit variable which gives the maximum
237 string length that's not put in the LOS.
239 * StringBuilder.cs: Copy the string also if it's in the LOS and
240 chopping it would bring its size below the LOS limit.
242 * Environment.cs: Bump corlib version.
244 2009-12-03 Stephane Delcroix <stephane@delcroix.org>
246 * DateTimeOffset.cs: fix dates arithmetic to avoid throwing
247 while crossing dst boundaries.
249 2009-12-03 Jb Evain <jbevain@novell.com>
251 * Attribute.cs: remove code duplication.
253 2009-12-02 Jb Evain <jbevain@novell.com>
255 * Enum.cs (IConvertible.ToType): properly convert enum values
256 to strings instead of their numeric value.
258 2009-12-02 Jb Evain <jbevain@novell.com>
260 * Environment.cs (mono_corlib_version): bump.
261 * Attribute.cs: when retrieving custom attributes defined
262 on parameters belonging to a virtual method, walk
263 the inheritance chain to check for parameters attributes
266 2009-12-01 Jb Evain <jbevain@novell.com>
268 * Type.cs (MakeByRefType): throw a TypeLoadException when being
269 called on type which is already ByRef.
271 2009-11-26 Sebastien Pouliot <sebastien@ximian.com>
273 * Random.cs: Fix case where the diff between min and max
274 is very large in Next(int,int). Fix bug #558593
276 2009-11-25 Zoltan Varga <vargaz@gmail.com>
278 * Delegate.cs (GetHashCode): Fix this so it is constant.
280 2009-11-24 Jb Evain <jbevain@novell.com>
282 * Array.cs: use ContainsGenericParameters instead of
283 IsGenericTypeDefinition as it catches more cases.
285 2009-11-24 Jb Evain <jbevain@novell.com>
287 * Array.cs (IList.this[int]): prevent the use of the IList indexer
288 when dealing with a multi dimensional array.
290 2009-11-24 Jb Evain <jbevain@novell.com>
292 * Array.cs (Clear): throw an IndexOutOfRangeException instead
293 of an ArgumentOutRangeException for a negative length.
295 2009-11-24 Jb Evain <jbevain@novell.com>
297 * Array.cs (CreateInstance): do not allow open generic types.
299 2009-11-24 Jb Evain <jbevain@novell.com>
301 * Array.cs (CreateInstance): do not allow void arrays.
303 2009-11-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
305 * Array.cs: When sorting and we are sorting value types implementing
306 IComparable<T>, use its corresponding Comparer<T>.Default helper.
307 This way we avoid casting our values to IComparable<T>, and thus we
308 avoid *all* the boxing for them. Using Comparer<T>.Default seems to be
309 slower for reference types, so we don't use it for those ones.
311 2009-11-22 Miguel de Icaza <miguel@novell.com>
313 * Environment (IsUnix): expose this common property, so we avoid
316 2009-11-18 Marek Safar <marek.safar@gmail.com>
318 * Type.cs: Use faster string comparers.
320 2009-11-17 Atsushi Enomoto <atsushi@ximian.com>
322 * DateTimeOffset.cs : fix parse failure on missing colon.
323 Fixed bug #547675, patch by Santa Marta (see bugzilla).
325 2009-11-13 Marek Safar <marek.safar@gmail.com>
327 * Lazy.cs: Check recursive initializations.
329 2009-11-11 Rodrigo Kumpera <rkumpera@novell.com>
331 * Type.cs: Fix Make(Array|ByRef|Pointer)Type to not crash
334 * Type.cs (MakeGenericType): Don't crash with user types.
336 * Type.cs (GetGenericParameterConstraints): Don't crash with user types.
338 * Type.cs (GenericParameterAttributes): Don't crash with user types.
340 * Type.cs (IsInstanceOfType): Don't crash with user types.
342 * Type.cs (IsAssignableFrom): Better handle User Types.
344 * Type.cs (GetInterfaceMap): Don't crash with user types.
346 * Type.cs (Equals): Fix behavior to be more MS compatible.
348 2009-11-11 Sebastien Pouliot <sebastien@ximian.com>
350 * Console.cs: Reduce duplication between OpenStandard[Input|
351 Output|Error] and, for Moonlight, don't return a NullStream if
352 security is disabled (e.g. when smcs executes) r: alan
353 Note: include changes from r145773 (2-6) from toshok
355 2009-11-10 Miguel de Icaza <miguel@novell.com>
357 * Lazy.cs: Updated API to 4.0 Beta 2
359 2009-11-08 Juraj Skripsky <js@hotfeet.ch>
362 - Sort(..) without IComparer param call Sort(.., (IComparer)null) siblings
363 - Sort(keys, items,..) with items == null call Sort(keys,..) siblings
364 Add missing argument checks. Add SortImpl method to be used by
365 List<T>.Sort(Comparison <T>).
367 Part 3 of 3 fixing bug #351638.
369 2009-11-08 Juraj Skripsky <js@hotfeet.ch>
371 * Array.cs (Sort): Add and call
372 - SortImpl methods which do the real work without argument checking
373 - MoveNullKeysToFront methods which do a null <-> non-null sorting and
374 ensure that all non-null object implement IComparable/IComparable<T>
376 Part 2 of 3 fixing bug #351638.
378 2009-11-08 Juraj Skripsky <js@hotfeet.ch>
380 * Array.cs (Sort): optimize qsort by employing multiple, faster copies
381 of the inner-most loops:
382 - for case "comparer != null"
383 - for case "pivot is IComparable<T>"
384 - for case "pivot is IComparable"
385 Remove compare methods as the inner loops now do their work.
386 Use GetValueImpl instead of GetValue in swap.
388 Part 1 of 3 fixing bug #351638.
390 2009-11-03 Miguel de Icaza <miguel@novell.com>
392 * TermInfoDriver.cs (CheckWindowDimensions) Avoid extra checks, as
393 the condition was always checked previously.
395 (WriteSpecialKey): Actually write the tab character.
397 2009-11-02 Miguel de Icaza <miguel@novell.com>
399 * More NET_2_0 define removal, assume that it is now always true.
401 2009-10-30 Sebastien Pouliot <sebastien@ximian.com>
403 * MonoType.cs: Don't pass null value to icalls
404 GetCorrespondingInflated[Constructor|Method]
406 2009-10-28 Lluis Sanchez Gual <lluis@novell.com>
408 * MarshalByRefObject.cs: In InitializeLifetimeService, if a lease
409 exists for the object return it, instead of always creating
410 a new one. Fixes bug #544357.
412 2009-10-27 Sebastien Pouliot <sebastien@ximian.com>
414 * String.cs: Remove unused (and unneeded) internal call defs.
415 Reduce duplication (and fix test) for Concat (object,object).
416 Avoid allocating zero-length strings in the cases where the
419 2009-10-22 Miguel de Icaza <miguel@novell.com>
421 * String.cs (IsNullOrWhiteSpace, Concat, Join): New 4.0 methods.
423 * IntPtr.cs (Add, Subtract): New 4.0 methods.
425 * Tuple.cs: Updated signature.
427 2009-10-19 Marek Safar <marek.safar@gmail.com>
429 * IObservable.cs, IObserver.cs: New files.
431 * EventHandler.cs: Cleanup.
433 2009-10-16 Miguel de Icaza <miguel@novell.com>
435 * Jumbo patch to drop support for pre-NET_2_0 code:
438 Remove NET_1_0 only code
439 Remove NET_2_0 defines assuming the value is true.
441 Improve one MonoTODO; Implement one MonoTODO/Niex.
443 Ran a textual diff on the resulting assembly to validate that the
444 restul is the same on NET_2_0
446 2009-10-14 Jonathan Pryor <jpryor@novell.com>
448 * AppDomain.cs: Re-add BaseDirectory in the MonoTouch profile.
450 2009-10-14 Sebastien Pouliot <sebastien@ximian.com>
452 * Exception.cs: Use StackFrame.GetSecureFileName to display (or
453 not) the file names (and paths). Don't serialize Source for
455 * ValueType.cs: Change InternalEquals (icall) visibility to
456 private since it is not used elsewhere outside the type.
458 2009-10-08 Sebastien Pouliot <sebastien@ximian.com>
460 * AppDomain.cs: Remove NET_2_1 specific DefineDynamicAssembly(
461 AssemblyName,AssemblyBuilderAccess,bool) since it is not part
462 of SL. Provide a ToString implementation similar to Silverlight
463 for Moonlight (and without directly using an icall)
465 2009-10-07 Sebastien Pouliot <sebastien@ximian.com>
467 * String.cs: Remove unsafe code duplication in ToCharArray.
468 Define out the unused InternalStrcpy icalls
469 * StringComparer.cs: Seal internal/private inner classes.
471 2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
473 * Decimal.cs: Use Compare method instead of directly using the
474 decimalCompare internal call.
476 2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
478 * Enum.cs: Add an internal Value property as a single point to
479 call the internal call get_value.
481 2009-10-06 Sebastien Pouliot <sebastien@ximian.com>
483 * String.cs: Remove normalization methods for Moonlight
485 2009-10-06 Jonathan Chambers <joncham@gmail.com>
487 * String.cs (Contains): Use CompareOptions.Ordinal. Fixes bug
490 2009-10-04 Mark Probst <mark.probst@gmail.com>
492 * AppDomain.cs: Check for static AppDomainInitializer earlier to
493 throw the appropriate exception instead of failing at
496 2009-10-04 Mark Probst <mark.probst@gmail.com>
498 * AppDomainSetup.cs: Functionality for serializing a few members
499 to simplify cross-domain copying from within the runtime.
501 * AppDomain.cs (CreateDomain): Make AppDomainSetup serialize the
502 necessary members in preparation for the cross-domain copy.
504 * Environment.cs: Corlib version bump.
506 2009-10-02 Marek Safar <marek.safar@gmail.com>
508 * Array.cs, Decimal.cs, String.cs, Console.cs, _AppDomain.cs,
509 AppDomain.cs: Removed prehistoric mcs workarounds.
511 2009-09-30 Mark Probst <mark.probst@gmail.com>
513 * Thread.cs: Remove serialized culture icall stuff from
514 InternalThread. Implement it by using the cross-domain byte array
517 * Environment.cs: Corlib version bump.
519 2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
521 * TermInfoDriver.cs: attempt to fix bug #527487.
523 2009-09-28 Atsushi Enomoto <atsushi@ximian.com>
525 * Console.cs : do not use codepage 28591. It breaks build on
528 2009-09-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
530 * TermInfoDriver.cs: avoid segv if the pointer is not properly
533 2009-09-26 Mark Probst <mark.probst@gmail.com>
535 * NumberFormatter.cs: Remove the _thread field.
537 2009-09-26 Mark Probst <mark.probst@gmail.com>
539 * Environment.cs: Corlib version bump.
541 2009-09-24 Zoltan Varga <vargaz@gmail.com>
543 * Type.cs: Initialize the Missing field.
545 2009-09-22 Sebastien Pouliot <sebastien@ximian.com>
547 * Environment.cs: Remove imperative CAS environment
548 permission checks under NET_2_1
550 2009-09-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
552 * Console.cs: mark methods/properties that only work on windows.
555 2009-09-21 Sebastien Pouliot <sebastien@ximian.com>
557 * AppDomain.cs: Remove use of IPrincipal, Evidence and
558 PermissionSet types for NET_2_1
560 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
562 * Activator.cs: Remove COM related method for NET_2_1
563 * AppDomain.cs: Remove extra methods and properties for NET_2_1
564 * AppDomainSetup.cs: Remove some properties for NET_2_1
566 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
568 * AppDomain.cs, Environment.cs: Remove imperative CAS file IO
569 permission checks under NET_2_1
571 2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
573 * AppDomainManager.cs: Remove NET_2_1 defines
574 * AppDomainManager_2_1.cs: New. NET_2_1 specific implementation
576 2009-09-04 Miguel de Icaza <miguel@novell.com>
578 * TermInfoDriver.cs: Handle a few more key combinations.
580 2009-08-14 Miguel de Icaza <miguel@novell.com>
582 * TermInfoDriver.cs (GetCursorPosition): Before we probe the
583 terminal for the cursor location, read all the pending console
584 input into our internal buffer and then send the cursor location
587 2009-08-26 Sebastien Pouliot <sebastien@ximian.com>
589 * TimeSpan.cs: Fix parsing when seconds are not specified.
591 2009-08-14 Marek Safar <marek.safar@gmail.com>
593 * Type.cs: Made IsClass work under compiler context.
595 2009-08-12 Zoltan Varga <vargaz@gmail.com>
597 * ResolveEventArgs.cs: Add net 4.0 RequestingAssembly property.
599 2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
603 * AggregateException.cs: Add BOOTSTRAP_NET_4_0.
605 2009-08-07 Marek Safar <marek.safar@gmail.com>
607 * AppDomain.cs: IsHomogenous always returns true for now.
609 2009-08-06 Rodrigo Kumpera <rkumpera@novell.com>
611 * Environment.cs: Bump corlib version.
613 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
615 * Environment.cs: Bump corlib version.
617 2009-08-03 Zoltan Varga <vargaz@gmail.com>
619 * Environment.cs: Bump corlib version.
621 2009-07-30 Marek Safar <marek.safar@gmail.com>
623 * AppDomain.cs: Implemented 2.0 CreateDomain.
625 2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
627 Type.cs (MakeArrayType): Handle one-dym multidimensional array
628 created with Type::MakeArrayType (1).
630 2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
632 * Type.cs (FindMembers): Fix the ordering of returned members
633 to method, ctor, property, event, field and nested type.
635 2009-07-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
637 * Array.cs: empty arrays just return -1 in LastIndexOf().
639 2009-07-27 Miguel de Icaza <miguel@novell.com>
641 * Value types implementing IConvertible.ToType now throw an
642 ArgumentNullException if they are passed a null as the
643 "targetType" argument.
645 This code can not be put directly in the Convert.ToType method, as
646 this method is used by Convert.ToType (object o, TypeCode tc)
647 which uses null as a target to throw a different kind of error
648 (InvalidCastException).
650 Fixes a few more bugs in the Silverlight BCL test suite.
652 Additionally, the parameter type has been renamed.
654 2009-07-26 Miguel de Icaza <miguel@novell.com>
656 * Type.cs: (GetMember) call directly the worker method, instead of
657 calling through an intermediary.
659 (GetMember, full): throw if the name is null.
661 2009-07-19 Robert Jordan <robertj@gmx.net>
663 * __ComObject.cs: Factor out Initialize method and expose it to
664 ComInteropProxy. Fixes bug #520437.
666 2009-07-14 Rodrigo Kumpera <rkumpera@novell.com>
668 * Attribute.cs (GetCustomAttributes): Pass typeof(Attribute)
669 to GetCustomAttributes to match MS.
671 * MonoCustomAttrs.cs (GetCustomAttributesBase): Do proper
672 checking of which types are handled by the runtime.
674 * MonoCustomAttrs.cs (IsDefined): Same.
678 2009-07-14 Zoltan Varga <vargaz@gmail.com>
680 * Environment.cs: Bump corlib version.
682 2009-07-07 Rodrigo Kumpera <rkumpera@novell.com>
684 * Type.cs (IsUserType): Only TypeDelegator and types
685 outside of corlib are unhandled usertypes.
687 2009-07-02 Marek Safar <marek.safar@gmail.com>
689 * Type.cs, AppDomain.cs: 4.0 bits.
691 2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
693 * DateTime.cs: if the DateTimeOffset is out of bounds, let Parse
694 report the error. Fix stupid harmless typo.
695 * DateTimeOffset.cs: report error if the UTC date/time is out of
698 2009-06-25 Miguel de Icaza <miguel@novell.com>
700 * Array.cs: IList.this needs to throw IndexOutOfRangeException
701 when the index is invalid, not ArgumentOutOfRangeException.
703 * Int32.cs: Do not crash if the FormatProvider returns a null
704 value on the call to GetFormat (Type).
706 Validate the NumberStyles, passes Int/Int32Parse2.exe
708 Fix regression introduced in 2005, we need to throw
709 ArgumentNullException on Parse.
711 2009-06-25 Miguel de Icaza <miguel@novell.com>
713 * Int32.cs: Fix regression introduced in 2005, we need to throw
714 ArgumentNullException on Parse.
716 2009-06-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
718 * DateTime.cs: ignore MinValue to avoid DateTimeOffset ctor throwing
719 when adjusting for TZ.
721 2009-06-22 Miguel de Icaza <miguel@novell.com>
723 * String.cs: In Silverlight the whitespace characters 0x202f and
724 0x205f are considered for Trim and Split purposes.
726 2009-06-21 Marek Safar <marek.safar@gmail.com>
728 * Tuples.cs: Add Equals, GetHashCode.
730 2009-06-21 Zoltan Varga <vargaz@gmail.com>
732 * IntPtr.cs (.ctor): Disable the check in the long ctor until we
733 can figure out how to do it properly.
735 2009-06-20 Zoltan Varga <vargaz@gmail.com>
737 * IntPtr.cs (.ctor): Allow long values whose 31th bit is set.
739 2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
741 * DateTime.cs: quick fix for the 1.x build.
743 2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
745 * AppDomainSetup.cs: update attribute.
746 * TermInfoDriver.cs: ensure we are initialized in CheckWindowDimensions().
747 * DateTimeOffset.cs: Implement Parse().
748 * DateTime.cs: add 'zzz' to the list of default time formats. Return a
749 DateTimeOffset from _DoParse. Fixed the offset minutes when the
750 timezone is specified as a negative one.
751 * Console.cs: updates for MoveBufferArea().
752 * AppDomainManager.cs: implement EntryAssembly.
753 * AppDomain.cs: update attribute.
755 2009-06-15 Atsushi Enomoto <atsushi@ximian.com>
757 * Environment.cs : bump corlib version.
759 2009-06-12 Bill Holmes <billholmes54@gmail.com>
761 * Variant.cs (GetValue): Changing the bool case to use the short value.
762 This is to avoid junk in the high word.
764 Contributed under MIT/X11 license.
766 2009-06-10 Marek Safar <marek.safar@gmail.com>
768 * Predicate.cs, Action.cs, Funcs.cs, Comparison.cs, IComparable.cs,
769 Converter.cs, EventHandler.cs: Add type variance.
771 * InvalidTimeZoneException.cs,
772 TimeZoneNotFoundException.cs: New file.
774 2009-05-27 Zoltan Varga <vargaz@gmail.com>
776 * AppDomain.cs (DoAssemblyResolve): Fix recursion detection. Fixes #507003.
778 2009-05-26 Mark Probst <mark.probst@gmail.com>
780 * Thread.cs: Don't set the execution context when creating a
781 thread because the _ec member is thread static and we set the
782 wrong one. It's now set by the runtime. We just provide the
785 * Environment.cs: Bump corlib version.
787 2009-05-22 Zoltan Varga <vargaz@gmail.com>
789 * Tuple.cs Tuples.cs: New files.
791 * Lazy.cs LazyExecutionMode.cs Funcs.cs: New files.
793 2009-05-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
795 * Type.cs: (GetInterfaceMap) 'this' can't be an interface itself.
798 2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
800 * TermInfoDriver.cs: replace Peek with DataAvailable.
802 2009-05-02 Sebastien Pouliot <sebastien@ximian.com>
804 * Console.cs: Remove Windows-specific p/invokes and SSC code
805 from the NET_2_1 build.
807 2009-05-01 Sebastien Pouliot <sebastien@ximian.com>
809 * AppDomainManager.cs: Fix base class for NET_2_1 and implement
810 CheckSecuritySettings (added in 2.0SP and part of SL API)
812 2009-04-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
814 * Enum.cs: return the value as an enum of the right type.
816 2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
818 * Enum.cs: avoid exceptions from ToObject and use Try* instead.
820 2009-04-25 Miguel de Icaza <miguel@novell.com>
822 * TermInfoDriver.cs: Use the new StreamReader.DataAvailable to
823 load all the data that was added into the `stdin' stream when we
826 2009-04-24 Sebastien Pouliot <sebastien@ximian.com>
828 * Environment.cs: #ifdef out code that use the registry for the
829 NET_2_1 profile and some other properties (2) that added
830 [SecuritySafeCritical] methods to audit inside Moonlight.
832 2009-04-21 Mark Probst <mark.probst@gmail.com>
834 * Environment.cs: Bump corlib version.
836 2009-04-21 Miguel de Icaza <miguel@novell.com>
838 * TermInfoDriver.cs: Prevent race condition if two threads try to
839 initialize the Console at the same time.
841 What happens is that inited is set, and elsewhere we try to
842 dereference native_terminal_size before it is set.
844 * Reduce code size by using a table instead of manually making a
847 2009-04-20 Miguel de Icaza <miguel@novell.com>
849 * Enum.cs (MonoEnumInfo): Compare bytes, shorts, ints and longs as
850 unsigned values as specified and to fix 371559, from the bug:
852 So the actual difference is that MSFT's Enum.GetValues
853 orders the members as unsigned even when the underlying
854 type is int. See the following. Perhaps that's what's
855 being implied by "binary values" in that Enum.GetValues
858 2009-04-18 Mark Probst <mark.probst@gmail.com>
860 * NumberFormatter.cs: Keep the current thread's number formatter
861 as a ThreadStatic member.
863 2009-04-18 Mark Probst <mark.probst@gmail.com>
865 * Environment.cs: Bump corlib version.
867 2009-04-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
869 * GCNotificationStatus.cs: new enum.
871 2009-04-10 Zoltan Varga <vargaz@gmail.com>
873 * Array.cs: Make some of the InternalArray methods non-generic to cut down
874 on the number of instantiations. Add implementation for
875 ICollection:IsReadOnly.
877 2009-03-26 Jb Evain <jbevain@novell.com>
879 * Delegate.cs (CreateDelegate): Support for delegates
880 on static methods closed on a null target.
882 2009-03-26 Zoltan Varga <vargaz@gmail.com>
884 * Environment.cs: Bump corlib version.
886 2009-03-25 Sebastien Pouliot <sebastien@ximian.com>
888 * Delegate.cs: Add new parameter to CreateDelegate_internal (icall)
889 * Environment.cs: Bump mono_corlib_version to 73
891 2009-03-25 Jb Evain <jbevain@novell.com>
893 * Delegate.cs (CreateDelegate): fix checks to deal with
894 valuetypes -> obj conversions for arguments, and avoid
895 issues with such unallowed conversion for return types.
897 2009-03-23 Zoltan Varga <vargaz@gmail.com>
899 * String.cs (LastIndexOf): Handle empty strings correctly. Fixes #486234.
901 2009-03-18 Zoltan Varga <vargaz@gmail.com>
903 * Type.cs (GetGenericTypeDefinition): Make this throw an exception to be
904 consistent with MS.NET. Move the real implementation to MonoType.
906 2009-03-18 Marek Safar <marek.safar@gmail.com>
908 * Decimal.cs: Initialize all fields.
910 2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
913 * TermInfoDriver.cs: handle Ctrl-D (or similar) in ReadLine.
916 * ControlCharacters.cs: index to the control characters list.
917 * Environment.cs: bumped corlib version.
919 2009-03-14 Miguel de Icaza <miguel@novell.com>
921 * Convert.cs (ToType): Control whether this internal function will
922 call an IConvertible.ToType method or not.
924 Classes and structs implementing IConvertible in mscorlib (the
925 only callers that can access Convert.ToType) must pass false to
926 avoid a infinite recursion problem and callers from the public
927 Convert API must call it with true.
929 This fixes the regression reported in #485377 that was introduced
930 by the fix for #481687.
932 * Int16.cs, UInt64.cs, Double.cs, Enum.cs, SByte.cs, UInt16.cs,
933 Byte.cs, Decimal.cs, Int32.cs, String.cs, Int64.cs, Char.cs,
934 Boolean.cs, Single.cs, UInt32.cs: Update the call sites.
936 2009-03-07 Gert Driesen <drieseng@users.sourceforge.net>
938 * Convert.cs: Do not throw InvalidCastException if
939 IConvertible.ToType returns null.
941 2009-03-06 Andrés G. Aragoneses <aaragoneses@novell.com>
943 * Convert.cs: Correct typo in exception message.
945 2009-03-06 Miguel de Icaza <miguel@novell.com>
947 * Convert.cs: Apply patch from Tom Hindle that uses
948 IConvertible.ToType if there are no other possible conversions
953 2009-03-06 Rodrigo Kumpera <rkumpera@novell.com>
955 * MonoType.cs (MonoTypeInfo): Add default_ctor field.
957 * MonoType.cs: Add GetDefaultConstructor that caches using
958 type_info.default_ctor.
960 * MonoType.cs (FullName): Protects against type_info been replaced
963 * Activator.cs (CreateInstance): If the type is a MonoType resolve the
964 default constructor using the new method from MonoType.
966 Improves Activator::CreateInstance performance by at least 30%, reduces object churn
967 and domain lock contention.
969 2009-03-03 Rodrigo Kumpera <rkumpera@novell.com>
971 * Guid.cs (BaseToString): Reduce allocations.
973 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
975 * Environment.cs: Bump corlib version.
977 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
979 * Enum.cs (IsDefined): If the enum underlying type is int32, use
980 the generic version, which doesn't box every element of the array.
982 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
984 * Enum.cs (GetName): If the enum underlying type is int32, use
985 the generic version, which doesn't box every element of the array.
987 2009-03-02 Rodrigo Kumpera <rkumpera@novell.com>
989 * Enum.cs (MonoEnumInfo::GetInfo): Share the boxed form of the
990 MonoEnumInfo between both caches.
992 2009-02-28 Zoltan Varga <vargaz@gmail.com>
994 * Enum.cs (FindName): Use a hash table for looking up names instead of
995 a linear search for enums with a lot of values.
997 2009-02-27 Rodrigo Kumpera <rkumpera@novell.com>
999 * UInt16.cs (CompareTo/short): Make it return the
1000 same values as the /object version.
1002 * Enum.cs (CompareTo): Use new compare_value_to icall to do the comparison.
1003 This avoids two allocations and reduce the number of trips to unmanaged land
1006 The performance improvement is up to 3.5x with the bonus of reducing the generated
1009 2009-02-26 Marek Safar <marek.safar@gmail.com>
1011 * Nullable.cs: Inline GetValueOrDefault.
1013 2009-02-26 Zoltan Varga <vargaz@gmail.com>
1015 * String.cs (FormatHelper): If all the arguments are strings, compute an
1016 initial length for the stringbuilder to avoid reallocations.
1018 * MonoType.cs (FullName): Cache the result of this in a field, as
1019 computing it is expensive.
1021 * Environment.cs: Bump corlib version.
1023 2009-02-25 Zoltan Varga <vargaz@gmail.com>
1025 * Enum.cs (GetInfo): Add a global cache in addition to the thread-local
1026 caches to accomodate short living threads like threadpool threads.
1028 2009-02-23 Zoltan Varga <vargaz@gmail.com>
1030 * Type.cs: Add IsUserType internal property.
1032 2009-02-21 Jb Evain <jbevain@novell.com>
1034 * MonoType.cs (InvokeMember): don't pass a null args to
1035 Binder.BindToMethod. Fix for #471275.
1037 2009-02-12 Robert Jordan <robertj@gmx.net>
1039 * Exception.cs: Rename remote_stack_trace for MS.NET
1040 compatibility. Fixes #425512.
1042 2009-02-12 Lluis Sanchez Gual <lluis@novell.com>
1044 * MarshalByRefObject.cs: Implemented MemberwiseClone(bool).
1046 2009-02-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
1048 * AppDomain.cs: this fixes the remoting tests.
1049 Zoltan found out that there was a domain improperly using shadow
1052 2009-02-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
1054 * DateTime.cs: check for null and empty strings before anything else
1057 2009-01-27 Zoltan Varga <vargaz@gmail.com>
1059 * Type.cs (GetHashCode): Work on UnderlyingSystemType. Fixes #467229.
1061 2009-01-24 Zoltan Varga <vargaz@gmail.com>
1063 * Variant.cs ApplicationIdentity.cs ActivationContext.cs Environment.cs
1064 AppDomain.cs: Fix warnings.
1066 2009-01-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
1068 * AppDomain.cs: LoadAssembly() returns null instead of throwing now.
1069 Add new LoadSatellite method.
1071 2009-01-20 Mark Probst <mark.probst@gmail.com>
1073 * Exception.cs: Added a comment explaining the use of trace_ips.
1075 2009-01-12 Bill Holmes <billholmes54@gmail.com>
1077 * Variant.cs (GetValue): Handling the NULL IDispatch
1080 Contributed under MIT/X11 license.
1082 2009-01-09 Miguel de Icaza <miguel@novell.com>
1084 * DateTime.cs: Implement TryParse in a way that will not depend on
1085 the try/catch statement. The try/catch statement is still there
1086 *just in case*, I might have missed some codepaths.
1088 2009-01-06 Atsushi Enomoto <atsushi@ximian.com>
1090 * DateTime.cs : when ".FF..." is specified, allow milliseconds-less
1093 2008-12-19 Bill Holmes <billholmes54@gmail.com>
1095 * Environment.cs (GetEnvironmentVariable) : Avoiding an nre if
1096 the variable is not set.
1098 * Environment.cs (SetEnvironmentVariable) : Adding a call to
1099 internalBroadcastSettingChange to notify Windows that an environment
1100 variable has changed.
1102 Contributed under MIT/X11 license.
1104 2008-12-18 Jb Evain <jbevain@novell.com>
1106 * String.cs: the Compare methods that were specific to SL2 are now
1107 also in .net 2/3.5 sp1.
1109 2008-12-10 Bill Holmes <billholmes54@gmail.com>
1111 * Variant.cs (SetValue): Changing the behavior for COM object in
1112 VARIANTs to match MS. Also adding support for BStrWrapper,
1113 UnknownWrapper, and DispatchWrapper.
1115 Contributed under MIT/X11 license.
1117 2008-11-28 Miguel De Icaza <miguel@novell.com>
1119 * TermInfoDriver.cs: Also register a mapping to make verase be the
1120 backspace key. Funny thing: verase was fetched from the termios,
1121 but it was *never* actually used in this file.
1123 VSUSP and VINTR are likewise ignored. Must ponder this.
1125 This makes the backspace key in MacOS work on interactive
1128 2008-11-15 Kornél Pál <kornelpal@gmail.com>
1130 * Convert.cs: Removed useless check from ToChar (ushort).
1132 2008-11-06 Bill Holmes <billholmes54@gmail.com>
1134 * Type.cs (FindMembers): Changing the instantiated type of the
1135 returned MemberInfo array to match the MemberTypes flag
1136 passed in argument 1.
1138 Contributed under MIT/X11 license.
1140 Mon Nov 3 16:39:37 CET 2008 Paolo Molaro <lupus@ximian.com>
1142 * Array.cs: in the IList set_Item, ensure the array
1143 element is set using the proper type checks (bug #440819).
1145 Mon Oct 13 16:40:56 CEST 2008 Paolo Molaro <lupus@ximian.com>
1147 * Environment.cs, OperatingSystem.cs: complete support for
1148 PlatformID (bug #433108).
1150 2008-10-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
1152 * AppDomain.cs: (Load(AssemblyName)) Use the CodeBase after the Name
1153 when both are provided.
1156 2008-10-08 Bill Holmes <billholmes54@gmail.com>
1158 * Variant.cs : Adding the BRECORD field to ensure the right size on
1159 a 64-bit OS. 32-bit 16 bytes, 32-bit 24 bytes.
1161 Contributed under MIT/X11 license.
1163 2008-10-08 Bill Holmes <billholmes54@gmail.com>
1165 * Variant.cs (SetValue) : Adding code to handle enums.
1167 Contributed under MIT/X11 license.
1169 2008-10-08 Bill Holmes <billholmes54@gmail.com>
1171 * Variant.cs : Cleaning up some tab formatting problems.
1173 Contributed under MIT/X11 license.
1175 2008-10-08 Zoltan Varga <vargaz@gmail.com>
1177 * PlatformID.cs: Define Xbox/MacOSX on the 2.0 profile too, since it
1178 is part of NET 3.5 SP1.
1180 2008-10-07 Marek Habersack <mhabersack@novell.com>
1182 * Math.cs: implemented the away from zero rounding for the Round
1183 (double, int, MidpointRounding) overload.
1185 2008-10-06 Zoltan Varga <vargaz@gmail.com>
1187 * Activator.cs (CreateInstance): Don't return the return value of the
1188 ctor.Invoke (object, ...) overload since it is null, return 'newOb' instead.
1190 Mon Oct 6 15:12:25 CEST 2008 Paolo Molaro <lupus@ximian.com>
1192 * Array.cs: better message when keys cannot be compared
1193 when sorting (bug #368455).
1195 2008-09-29 Rodrigo Kumpera <rkumpera@novell.com>
1197 * Type.cs (MakeGenericType): Only use UnderlyingSystemType for user types.
1198 This must exclude TypeBuilder and EnumBuilder. Fixes #430508.
1200 2008-09-28 Juraj Skripsky <js@hotfeet.ch>
1202 * String.cs (ReplaceUnchecked): Avoid any unnecessary work and
1203 string allocations by returning early when no oldValue was found.
1205 2008-09-24 Marek Habersack <mhabersack@novell.com>
1207 * Double.cs: check whether decimal_separator, group_separator and
1208 currency_symbol strings aren't empty before trying to index them
1211 2008-09-24 Jb Evain <jbevain@novell.com>
1213 * AppDomain.cs (CreateDomain): call the domain initializer in
1214 the newly created AppDomain. Fixes #429545.
1216 2008-09-24 Jb Evain <jbevain@novell.com>
1218 * AppDomain.cs: implement the CreateDomain overload which
1219 takes an AppDomain initializer. Fixes #429545.
1221 2008-09-17 Robert Jordan <robertj@gmx.net>
1223 * DelegateSerializationHolder.cs: Starting with .NET 2.0, delegates
1224 of non-public methods are allowed to be serialized. Fixes #425345.
1226 2008-09-15 Andy Hume <andyhume32@yahoo.co.uk>
1228 * DateTimeOffset.cs: DateTimeOffset currently has no
1229 deserialization constructor, thus deserialization
1230 fails ("SerializationException: The constructor to deserialize an
1231 object of type System.DateTimeOffset was not found.")
1233 Patch attached, implements GetObjectData and that constructor.
1234 Also includes tests, which include round-tripping to/from MSFT.
1236 2008-09-14 Zoltan Varga <vargaz@gmail.com>
1238 * ConsoleDriver.cs: Remove obsolete GetTtySize icall.
1240 2008-09-09 Marek Safar <marek.safar@gmail.com>
1242 * Convert.cs, Decimal.cs: Fixed float/double to decimal range check.
1244 2008-09-07 Miguel de Icaza <miguel@novell.com>
1246 * TermInfoDriver.cs: Add support for updating the size of the
1247 terminal when it changes.
1249 2008-08-27 Miguel de Icaza <miguel@novell.com>
1251 * TermInfoDriver.cs: Adds support for the Insert and Delete keys
1254 2008-08-26 Miguel de Icaza <miguel@novell.com>
1256 * New console features are used by gmcs.exe, but since we only
1257 build gmcs.exe with the bootstrap corlib, we need to ensure all
1258 the new stuff is included in BOOTSTRAP_NET_2_0
1260 2008-08-26 Robert Jordan <robertj@gmx.net>
1262 * AppDomain.cs (get_Evidence): Fix endless recursion exposed
1263 by the test case of bug #420197.
1265 2008-08-24 Miguel de Icaza <miguel@novell.com>
1267 * TermInfoDriver.cs (GetKeyFromBuffer): Add support for reporting
1268 Alt-LETTER sequences. They were ignored previously.
1270 2008-08-22 Sebastien Pouliot <sebastien@ximian.com>
1272 * AppDomainSetup.cs: Remove IAppDomainSetup for SL2. This helps
1273 the tuner since the methods are then defined correctly (wrt to the
1274 implicit implementation of the interfaces)/
1276 2008-08-21 Sebastien Pouliot <sebastien@ximian.com>
1278 * Nullable.cs: Add two ComVisible(false) for SL2 profile.
1279 * PlatformID.cs: Add Xbox and MacOX for SL2 profile.
1280 * WeakReference.cs: Add default, protected, ctor for SL2.
1282 2008-08-20 Miguel de Icaza <miguel@novell.com>
1284 * ConsoleDriver.cs: TtySetup now takes an extra argument: the
1287 2008-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1289 * Exception.cs: Fixed value of HResult to match MS. Added support for
1290 (de)serializing Data. Use deserialized ClassName, if available, to
1291 when name of type is used.
1293 2008-08-10 Gert Driesen <drieseng@users.sourceforge.net>
1295 * IServiceProvider.cs: Added ComVisible attribute (1.0 only).
1296 * String.cs: Fixed argument names to match MS.
1298 2008-08-10 Gert Driesen <drieseng@users.sourceforge.net>
1315 * UInt64.cs: Added missing CLSCompliant attributes for 1.0 profile.
1317 2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
1319 * DateTime.cs : zzzz format allows non-fixed length of number, even
1320 in exact parsing mode. Fixed bug #377042.
1322 2008-08-05 Jb Evain <jbevain@novell.com>
1324 * String.cs: add new NET_2_1 Compare methods.
1326 2008-08-03 Miguel de Icaza <miguel@novell.com>
1328 * ConsoleDriver.cs: If the terminal is dumb, do not activate the
1329 full terminal support.
1331 2008-08-02 Marek Safar <marek.safar@gmail.com>
1333 * Type.cs: Removed _MemberInfo from base classes list.
1335 2008-07-28 Marek Safar <marek.safar@gmail.com>
1337 * KnownTerminals.cs: Don't initialize rarely used static data.
1339 2008-07-24 Zoltan Varga <vargaz@gmail.com>
1341 * Delegate.cs: Move the rarely used fields to a separate object, add
1342 'method_code' field.
1344 * Environment.cs: Bump corlib version.
1346 * ConsoleDriver.cs: Remove unused Suspend icall.
1348 2008-07-21 Marek Safar <marek.safar@gmail.com>
1350 * AppDomain.cs (Load): Check for 0-length assembly name.
1352 2008-07-21 Rodrigo Kumpera <rkumpera@novell.com>
1354 * Enum.cs (GetHashCode): Use new icall get_hashcode to
1355 avoid allocating a boxed version of the enum basetype.
1357 2008-07-17 Marek Safar <marek.safar@gmail.com>
1359 * String.cs: reverted GetHashCode changes.
1361 2008-07-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1363 * Char.cs: Remove obsolete lamespecs (it implements IConvertible, small formatting)
1365 2008-07-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1367 * Char.cs: Optimize some Is* checks
1369 2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1371 * DateTimeOffset.cs: Fix parameter name
1373 2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1375 * DateTimeOffset.cs: Remove public, make implicit method
1377 2008-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1379 * Environment.cs: Add missing attribute
1381 2008-07-04 Rodrigo Kumpera <rkumpera@novell.com>
1383 * Delegate.cs (get_Method): Use the internal version
1384 of GetMethodFromHandle to avoid the generic class check.
1386 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1388 * GCCollectionMode.cs: Add attribute
1389 * GC.cs: Add semi-stubbed missing method, remove obsolete Lamespec, hide non-public method
1391 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1393 * Delegate.cs: Fix parameter names for 2.0 profile
1394 * Int64.cs: Fix parameter names
1396 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1398 * IntPtr.cs: Fix parameter names, change internal name to accomodate for parameter changes
1400 2008-07-04 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1405 * MultiCastDelegate.cs
1408 * MarshalByRefObject.cs
1418 * AppDomain.cs: Fix parameter names
1420 2008-07-03 Rodrigo Kumpera <rkumpera@novell.com>
1422 * Exception.cs (GetFullNameForStackTrace): Don't do string
1425 2008-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1427 * ContextMarshalException.cs:
1428 * DllNotFoundException.cs:
1429 * EntryPointNotFoundException.cs:
1430 * FieldAccessException.cs:
1431 * MethodAccessException.cs:
1432 * MissingFieldException.cs:
1433 * PlatformNotSupportedException.cs: Fix parameter names
1435 2008-06-30 Marek Safar <marek.safar@gmail.com>
1437 * String.cs: Tweaked hash code methods for better distibution, and speed-up.
1439 2008-06-29 Zoltan Varga <vargaz@gmail.com>
1441 * MonoCustomAttrs.cs (IsDefined): Avoid calling the .Assembly property in some
1444 2008-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1446 * Char.cs: Fix formatting, rename wrong named param, remove code duplication
1448 2008-06-28 Zoltan Varga <vargaz@gmail.com>
1450 * Enum.cs (GetUnderlyingType): Implement this using an icall.
1452 * Enum.cs (Format): Call IsDefined with inherited=false.
1454 * Exception.cs: Fix a warning.
1456 2008-06-27 Zoltan Varga <vargaz@gmail.com>
1458 * Enum.cs (FindName): Avoid calling String.Compare for the !ignoreCase case.
1460 2008-06-27 Rodrigo Kumpera <rkumpera@novell.com>
1462 * Exception.cs: Build method traces using the
1463 stack trace StringBuilder.
1465 2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1467 * Version.cs: Fix parameter names
1471 * Int64.cs: Fix parameter names
1472 * Int32.cs: Fix parameter names; some small formatting
1473 * Int16.cs: Fix parameter names
1474 * Double.cs: Fix parameter names; small formatting
1481 * Decimal.cs: Fix parameter names
1483 2008-06-14 Zoltan Varga <vargaz@gmail.com>
1485 * Environment.cs: Bump corlib version.
1487 2008-06-10 Zoltan Varga <vargaz@gmail.com>
1489 * Math.cs (IEERemainder): Use the normal BitConverter.Int64BitsToDouble method
1490 here to fix this on sparc.
1492 2008-06-07 Marek Safar <marek.safar@gmail.com>
1494 * Array.cs (IndexOf, LastIndexOf): Fixed more array element comparers used
1495 instead of tested value comparers.
1497 2008-06-07 Zoltan Varga <vargaz@gmail.com>
1499 * Environment.cs: Bump corlib version.
1501 2008-06-05 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1503 * String.cs: Managed replacement for Replace method ;)
1505 2008-06-03 Zoltan Varga <vargaz@gmail.com>
1507 * Decimal.cs (Divide): Move expensive equality checks to unmanaged code.
1509 2008-06-02 Ivan N. Zlatev <contact@i-nz.net>
1511 * MonoType.cs: For property reflection we should strictly match the return
1514 2008-06-01 Juraj Skripsky <js@hotfeet.ch>
1516 * String.cs (Substring): Blocking bug #395904 has been fixed,
1517 re-enable optimization.
1519 2008-06-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1521 * String.cs: Replace Split IndexOf
1523 2008-05-30 Marek Safar <marek.safar@gmail.com>
1525 * Array.cs (IndexOf): Use an array element comparer instead of tested value
1528 2008-05-28 Zoltan Varga <vargaz@gmail.com>
1530 * Console.cs (.cctor): Make sdout synchronized in the console case too.
1533 2008-05-27 Eyal Alaluf <eyala@mainsoft.com>
1535 * NumberFormatter.jvm.cs: Fix tables to avoid arithemtic overflow
1536 in Double.ToString as exposed by Bug #383531.
1538 2008-05-24 Gert Driesen <drieseng@users.sourceforge.net>
1540 * String.cs: Comment out 2.0 compatibility fix for SubString, since it
1541 causes regressions in System.Xml.
1543 2008-05-24 Gert Driesen <drieseng@users.sourceforge.net>
1545 * String.cs: Changed exception to match MS. Fixed ToCharArray to use
1546 startindex for source. In PadLeft and PadRight, only return current
1547 string if totalWidth is less than length.
1549 2008-05-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
1551 * Enum.cs: use Array.BinarySearch on the values in IsDefined and
1552 GetName instead of looping through the list. Made the cache in
1553 MonoEnumInfo thread static to avoid contention.
1555 2008-05-20 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1557 * String.cs: Replace Split function
1559 2008-05-19 Sebastien Pouliot <sebastien@ximian.com>
1567 * UInt64.cs: Avoid unboxing primitive types more than one time.
1568 [Found using Gendarme]
1570 2008-05-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1572 * String.cs: Update Trim functions
1574 2008-05-19 Zoltan Varga <vargaz@gmail.com>
1576 * ConsoleDriver.cs: Avoid initializing the three driver classes when only one
1579 2008-05-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1581 * String.cs: Update Join and Pad functions
1583 2008-05-18 Sebastien Pouliot <sebastien@ximian.com>
1585 * Environment.cs: Use String.IsNullOrEmpty inside 2.0 code.
1586 [Found using Gendarme]
1588 2008-05-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1590 * String.cs: Directly create charenumerator
1592 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1594 * String.cs: Resubmit uncritical parts of String patch
1596 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1598 * DateTime.cs: Fix parameter names
1600 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1602 * Decimal.cs: Fix parameter names
1604 2008-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1606 * Decimal.cs: Tabbify/Format
1608 2008-05-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1611 UnhandledExceptionEventHandler.cs
1614 UInt16.cs: Fix parameter names
1615 Type.cs: Fix parameter names, formatting
1619 SByte.cs: Fix parameter names
1621 2008-05-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1630 InsufficientMemoryException.cs: Fix parameter names
1632 2008-05-14 Jb Evain <jbevain@novell.com>
1634 * Exception.cs (ToString): output a new line before the
1635 inner exception separator. Fixes #390150.
1637 2008-05-12 Gert Driesen <drieseng@users.sourceforge.net>
1639 * Type.cs: Modifies exceptions to match MS. Changed GetTypeFromHandle
1640 on 1.0 profile to throw ArgumentException when handle is invalid,
1642 2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
1644 * Activator.cs (CreateInstance): Check for null types when creating
1647 2008-05-07 Robert Jordan <robertj@gmx.net>
1649 * RuntimeFieldHandle.cs, RuntimeTypeHandle.cs, RuntimeMethodHandle.cs:
1650 Don't try to serialize uninitialized handles. Fixes #386641.
1652 2008-05-06 Marek Safar <marek.safar@gmail.com>
1654 * IntPtr.cs (eplicit long, GetObjectData): Use ToInt64.
1656 2008-05-05 Zoltan Varga <vargaz@gmail.com>
1658 * Type.cs (GetTypeFromHandle): Apparently, it is possible to create a
1659 RuntimeTypeHandle with a zero handle value by calling its ctor. Add an argument
1662 * IntPtr.cs (ToInt64): Use (long)(int) on 32 bit platforms to avoid the default
1663 unsigned conversion done by the compiler. Fixes #386466.
1665 2008-05-04 Zoltan Varga <vargaz@gmail.com>
1667 * Type.cs (UnderlyingSystemType): Add a comment pointing people to
1668 Enum.GetUnderlyingType ().
1670 2008-04-26 Zoltan Varga <vargaz@gmail.com>
1672 * Array.cs (LastIndexOf): Return GetLowerBound (0) -1 instead of -1.
1674 * Array.cs (LastIndexOf): Fix handling of empty arrays. Fixes #383876.
1676 2008-04-13 Zoltan Varga <vargaz@gmail.com>
1678 * String.cs (Split): Fix the handling of RemoveEmptyEntries when the separator
1679 matches at the beginning of the string. Fixes #374511.
1681 2008-04-13 Jb Evain <jbevain@novell.com>
1683 * ICloneable.cs: use the INSIDE_CORLIB pattern to
1684 internalize code that is used outside the corlib.
1685 Merged from the Moonlight 2 branch.
1687 2008-04-04 Raja R Harinath <harinath@hurrynot.org>
1689 * String.cs (EndsWith) [CultureInfo variant]: Handle null 'culture'.
1690 (StartsWith, EndsWith, IndexOf, LastIndexOf) [StringComparison variant]:
1691 Throw exception on invalid StringComparison.
1693 2008-04-01 Eyal Alaluf <eyala@mainsoft.com>
1695 * NumberFormatter.cs NumberFormatter.jvm.cs: Performance optimizations.
1696 Reuse a per thread instance to format all the primitive types. Modify
1697 class accordingly so the same
1698 instance can be used multiple times.
1699 * Int16.cs UInt64.cs Double.cs SByte.cs UInt16.cs Byte.csDecimal.cs
1700 TimeSpan.cs Int32.cs Int64.cs Single.cs UInt32.cs: Change use of
1701 NumberFormatter to adapt to above changes in class interface.
1703 2008-03-31 Mark Probst <mark.probst@gmail.com>
1705 * MonoType.cs: Don't do CAS security checks in CheckMethodSecurity
1708 2008-03-28 Marek Safar <marek.safar@gmail.com>
1710 * Nullable.cs (Box): Do things explicitly and not rely on broken gmcs
1713 2008-03-25 Zoltan Varga <vargaz@gmail.com>
1715 * AppDomain.cs: Update after MonoMethod.InternalInvoke signature change.
1717 * Environment.cs: Bump corlib version.
1719 * DateTime.cs: Fix a warning.
1721 2008-03-21 Sebastien Pouliot <sebastien@ximian.com>
1723 * String.cs: Use "this" in Split method instead of calling ToString.
1724 Found using Gendarme.
1726 2008-03-06 Marek Safar <marek.safar@gmail.com>
1728 * MonoCustomAttrs (GetCustomAttributes): Type cannot be null with
1729 typeof (MonoCustomAttrs) hack.
1731 Wed Mar 5 19:39:01 CET 2008 Paolo Molaro <lupus@ximian.com>
1733 * Type.cs: optimize GetTypeCode () for the common case
1734 (fixes bug #367354).
1736 2008-03-02 Roei Erez <roeie@mainsoft.com>
1738 * DateTime.cs: Improve the patch supplied by James Purcell to be
1739 dotnet-compatible, and add support for RoundTripKind parsing.
1740 Fixed reopened bug #352210.
1743 Tue Feb 26 17:50:17 CET 2008 Paolo Molaro <lupus@ximian.com>
1745 * DateTime.cs: instroduce a method that returns ticks monotonically.
1747 2008-02-26 Ivan N. Zlatev <contact@i-nz.net>
1749 * Attribute.cs, MonoCustomAttrs: MS ignores the inherit param in
1750 PropertyInfo's ICustomAttributeProvider implementation, but not
1751 in the Attributes, so directly get the attributes from
1752 MonoCustomAttrs instead of going throught the PropertyInfo's
1753 ICustomAttributeProvider.
1754 [Fixes bugs #324472 and #322464]
1756 2008-02-26 Atsushi Enomoto <atsushi@ximian.com>
1758 * DateTime.cs : fix roundtrip regression in Sys.Xml.XmlConvertTests,
1759 patch by James Purcell (at #352210).
1761 2008-02-25 Atsushi Enomoto <atsushi@ximian.com>
1763 * DateTime.cs, DateTimeUtils.cs : make Kind value from parse result
1764 as dotnet-compatible. Patch by James Purcell, fixed bug #352210.
1766 2008-02-18 Atsushi Enomoto <atsushi@ximian.com>
1768 * DBNull.cs : ToType(typeof(DBNull),...) should be allowed.
1770 2008-02-16 Sebastien Pouliot <sebastien@ximian.com>
1772 * Object.cs: Fix parameter name to match MS implementation. Found
1774 * ValueType.cs: Fix parameter name to match MS implementation.
1775 Found using Gendarme.
1777 2008-02-14 Jb Evain <jbevain@novell.com>
1779 * Delegate.cs (CreateDelegate): refactor. DRY!
1781 2008-02-12 Gert Driesen <drieseng@users.sourceforge.net>
1783 * Delegate.cs (CreateDelegate): Walk the inheritance change to find
1784 matching method. Skip methods for which the return type does not match
1785 the delegate. Fixes bug #360784.
1787 2008-02-11 Eyal Alaluf <eyala@mainsoft.com>
1789 * NumberFormatter.cs: Fix ToString("R") for +-Infinity & NaN.
1791 2008-02-08 Sebastien Pouliot <sebastien@ximian.com>
1793 * Random.cs: Explain (and extend) special case in Next(min,max)
1795 2008-02-08 Juraj Skripsky <js@hotfeet.ch>
1797 * Random.cs (Next): Use rounding (via implicit conversion) only on
1798 positive values. Fixes bug 359918.
1800 2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
1802 * Environment.cs: Remove unused method found with Gendarme.
1804 2008-02-02 Gert Driesen <drieseng@users.sourceforge.net>
1806 * Variant.cs: Fixed line endings.
1807 * MonoType.cs: Fixed parameter name for ArgumentException to match MS.
1809 2008-01-29 Zoltan Varga <vargaz@gmail.com>
1811 * Type.cs (MakeGenericType): Fix exception message.
1813 2008-01-29 Jb Evain <jbevain@novell.com>
1815 * AppDomain.cs: add SL overload of DefineDynamicAssembly.
1817 2008-01-29 Marek Safar <marek.safar@gmail.com>
1819 * Type.cs (MakeGenericType): More argument checks. Fixes #356863 by
1822 2008-01-25 Rodrigo Kumpera <rkumpera@novell.com>
1824 * MonoType.cs (InvokeMember): Fixed exceptions arguments for last comit.
1826 2008-01-24 Rodrigo Kumpera <rkumpera@novell.com>
1828 * MonoType.cs (InvokeMember): Check for parameters without default value which
1829 the supplied argument is Missing.Value. Fixes one of the issues of #348522.
1831 2008-01-21 Sebastien Pouliot <sebastien@ximian.com>
1833 * DateTimeOffset.cs: Avoid NRE on bad cast if null is provided to
1834 Equals(object). Found using Gendarme.
1836 2008-01-16 Zoltan Varga <vargaz@gmail.com>
1838 * DateTimeOffset.cs: Fix warnings.
1840 2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
1842 * DateTimeOffset.cs: ParseExact: parse f, F, s too.
1844 2008-01-15 Stephane Delcroix <sdelcroix@novell.com>
1846 * DateTimeOffset.cs: ParseExact: honor the DateTimeStyles parameter.
1848 2008-01-15 Zoltan Varga <vargaz@gmail.com>
1850 * AppDomainSetup.cs Buffer.cs Action.cs Array.cs BadImageFormatException.cs Byte.cs
1851 Attribute.cs _AppDomain.cs Boolean.cs AppDomain.cs: Fix some argument names to be
1854 2008-01-14 Sephane Delcroix <sdelcroix@novell.com>
1856 * DateTimeOffset.cs: start refactoring DoParse.
1858 2008-01-14 Zoltan Varga <vargaz@gmail.com>
1860 * Type.cs (GetConstructor): Use correct binding flags in type (Type[]) overload.
1863 2008-01-13 Eyal Alaluf <eyala@mainsoft.com>
1865 * NumberFormatter.cs, Double.cs, Single.cs: Fix Single & Double default
1866 ToString to handle +-Infinity & NaN.
1868 2008-01-14 Sephane Delcroix <sdelcroix@novell.com>
1870 * DateTimeOffset.cs: ParseExact (string, string, IFormatProvider)
1874 2008-01-14 Zoltan Varga <vargaz@gmail.com>
1876 * NumberFormatter.cs: Remove some redundant assignments.
1878 2008-01-13 Gert Driesen <drieseng@users.sourceforge.net>
1880 * AppDomain.cs: Also fix bug #350530 for overload taking evidence and
1881 args. On 1.0 profile, throw COMException to match MS and to allow
1882 our unit tests to pass on MS.
1884 2008-01-13 Eyal Alaluf <eyala@mainsoft.com>
1886 * NumberFormatter.cs: Check in redesigned implementation. Improves
1887 double.ToString performance by 2-3 orders of magnitude and other
1888 primitive numeric types ToString performance.
1889 * NumberFormatter.jvm.cs: The TARGET_JVM managed tables for NumberFormatter
1890 class for reuse if a completely managed NumberFormatter is required.
1891 * Int16.cs UInt64.cs Double.cs UInt16.cs SByte.cs Byte.cs TimeSpan.cs
1892 Int32.cs Int64.cs Single.cs UInt32.cs: Adapt to new NumberFormatter.
1894 2008-01-13 Zoltan Varga <vargaz@gmail.com>
1896 * AppDomain.cs: Check for a missing entry point in the ExecuteAssembly methods.
1899 2008-01-11 Stephane Delcroix <sdelcroix@novell.com>
1901 * DateTimeOffset.cs: Fixes the MinValue (was equal to MaxValue)...
1903 2008-01-10 Zoltan Varga <vargaz@gmail.com>
1905 * Delegate.cs: Implement argument checking in CreateDelegate(Type,object,MethodInfo)
1906 method. Make the CreateDelegate(Type,MethodInfo) overload calls this version.
1909 2008-01-10 Stephane Delcroix <sdelcroix@novell.com>
1911 * DateTimeOffset.cs: chain the Parse* methods together.
1913 2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
1915 * DateTime.cs : revert the previous fix. It caused regression on
1918 2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
1920 * DateTime.cs : fixed bug #352210. Kind is unspecified by default,
1921 while the tick is for local time by default. This fix also involved
1922 special x509 handling.
1924 2008-01-08 Marek Safar <marek.safar@gmail.com>
1926 * Array.cs (LastIndexOf<T>): Fixed bound checking.
1928 2008-01-06 Zoltan Varga <vargaz@gmail.com>
1930 * AppDomain.cs: Move the assembly loading in ExecuteAssembly and
1931 ExecuteAssemblyByName to managed to as said by the MSDN docs. Fixes #350530.
1933 * Environment.cs: Bump corlib version.
1935 2008-01-02 Marek Habersack <mhabersack@novell.com>
1937 * Array.cs: fix a typo to unbreak the build.
1939 2008-1-1 Scott Peterson <lunchtimemama@gmail.com>
1941 * Array.cs: Slight improvement to the quicksort algorithm.
1943 2007-12-28 Gert Driesen <drieseng@users.sourceforge.net>
1945 * Environment.cs: Bump corlib version.
1947 2007-12-20 Gert Driesen <drieseng@users.sourceforge.net>
1949 * AppDomain.cs: Added check for null AssemblyName, and invalid
1950 AssemblyName.Name to DefineDynamicAssembly overloads. Loosely based on
1951 patch provided by Cedric Vivier. Fixes bug #349272.
1953 2007-12-20 Stephane Delcroix <sdelcroix@novell.com>
1955 * DateTimeOffset.cs: set [Min|Max]Value to UTC. Fixes #349621.
1957 2007-12-19 Stephane Delcroix <sdelcroix@novell.com>
1960 * DateTimeOffset.cs:
1961 * DateTimeUtils.cs: factored out the common pieces of DT and DTO into DTU.
1963 2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
1965 * DateTimeOffset.cs: implementing the 4 ToString overloads by reusing
1966 large chunks of System.DateTime code.
1968 2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
1970 * DateTimeOffset.cs: some bugfix discovered by unit tests.
1972 2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
1974 * DateTimeOffset.cs: almost complete implementation, still missing the
1975 Parse* and ToString methods.
1977 2007-12-11 Zoltan Varga <vargaz@gmail.com>
1979 * AppDomain.cs (DoAssemblyResolve): Fix detection of whenever there is a
1980 reflection-only assembly resolve hook.
1982 2007-12-10 Stephane Delcroix <sdelcroix@novell.com>
1984 * DateTimeOffset.cs: partial implementation. no longer just a stub.
1986 2007-11-30 Zoltan Varga <vargaz@gmail.com>
1988 * Delegate.cs: Compute the Method property lazily.
1990 * Delegate.cs: Add a 'method' field.
1992 * Environment.cs: Bump corlib version.
1994 2007-11-21 Zoltan Varga <vargaz@gmail.com>
1996 * Array.cs: Make the InternalArray_... methods internal.
1998 * Environment.cs: Bump corlib version.
2000 2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
2002 * AppDomain.cs : filled 2.0 API (extra ones are from 2.0 SP1).
2003 * ContextMarshalException.cs : obsolete in 2.0.
2005 2007-11-21 Atsushi Enomoto <atsushi@ximian.com>
2007 * MarshalByRefObject.cs : Added MemberwiseClose() stub.
2008 GetLifetimeService() is not virtual (in both 2.0 and 1.1).
2009 * Console.cs : implemented missing 2.0 key members.
2011 2007-11-18 Gert Driesen <drieseng@users.sourceforge.net>
2013 * Enum.cs: Provided ParamName of Argument(Null)Exceptions. Rewrote
2014 some exception messages.
2016 2007-11-16 Gert Driesen <drieseng@users.sourceforge.net>
2018 * AppDomain.cs: Added some obsolete messages.
2020 2007-11-15 Gert Driesen <drieseng@users.sourceforge.net>
2022 * MonoType.cs: Modified ParamName for ArgumentException to match
2023 MS. Provide meaningful exception messages. On 2.0, throw ANE instead
2024 of ArgumentException when args is null.
2026 2007-11-15 Zoltan Varga <vargaz@gmail.com>
2028 * MonoType.cs (Invoke): Allow BindingFlags.SetField and
2029 BindingFlags.SetProperty to be specified together. Fixes #321735.
2031 2007-11-14 Miguel de Icaza <miguel@novell.com>
2033 * Console.cs, ConsoleDriver.cs, TermInfoDriver.cs,
2034 TermInfoReader.cs, TermInfoNumber.cs, TermInfoStrings.cs,
2035 CStreamReader.cs, CStreamWriter.cs, NullConsoleDriver.cs,
2036 WindowsConsoleDriver.cs: In the 2.1 profile we do not need the
2037 full-blown Console (the terminal-addressable console) so we shrink
2038 it down to the basic 1.0 Console.
2040 2007-11-14 Marek Safar <marek.safar@gmail.com>
2042 * Nullable.cs: Optimized to use generic comparers.
2044 2007-11-14 Zoltan Varga <vargaz@gmail.com>
2046 * Array.cs (Copy): Throw InvalidCastException in more cases.
2048 2007-11-13 Zoltan Varga <vargaz@gmail.com>
2050 * GCCollectionMode.cs GCLatencyMode.cs: New net 3.5 types.
2052 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
2054 * NumberFormatter.cs : revert previous two changes. It does not
2055 really work for float and hence will rather bring confusion.
2057 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
2059 * NumberFormatter.cs : limit the situation that needs roundtrip
2060 verification in the previous change to Double.
2062 2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
2064 * NumberFormatter.cs : applied a quick fix for bug #320433. It needs
2065 true fix to avoid extra perf. loss.
2067 2007-11-08 Sebastien Pouliot <sebastien@ximian.com>
2069 * TimeZone.cs: Under 2.0 we must return a Local DateTime.MinValue.
2070 Fix the regression on the x86_64 bot which seems to be in it's own
2073 2007-11-07 Gert Driesen <drieseng@users.sourceforge.net>
2075 * Exception.cs: Cosmetic change to default exception message on
2078 2007-11-05 Gert Driesen <drieseng@users.sourceforge.net>
2080 * Array.cs: Distinguish between notstarted and finished state when
2081 throwing IOE in Current, and provide meaningful exception message.
2083 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
2085 * Array.cs: Fix Enumerator<T>.Reset (#322248).
2087 2007-11-05 Rodrigo Kumpera <rkumpera@novell.com>
2089 * Type.cs (MakeGenericType): fix for #331199. If an user-defined type
2090 was used, the runtime would crash. Now we apply UnderlyingSystemType to
2091 all types before handling to the runtime.
2093 2007-11-05 Stephane Delcroix <sdelcroix@novell.com>
2095 * TimeZone.cs: fix for #323911. The our after DST.Start is already DST.
2097 2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
2099 * DateTime.cs : fix for #330085. for Local time, convert to Utc
2100 before getting ticks.
2102 2007-11-03 Gert Driesen <drieseng@users.sourceforge.net>
2104 * ArgumentException.cs: Change default message to match MS. Removed
2105 unnecessary check from Message, since base.Message can never be null.
2107 2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
2109 * DateTime.cs : ParseExact() should ignore 'K' when there is no
2112 2007-11-01 Atsushi Enomoto <atsushi@ximian.com>
2114 * DateTime.cs : in roundtrip mode, 'Z' should turn the tick value to
2115 utc time and should not result in different ticks.
2118 2007-10-30 Miguel de Icaza <miguel@novell.com>
2120 * UInt32.cs (Parse): Use Jeff Stedfast's parsing code which is
2121 smaller and does not need checked() constructs.
2123 * Int64.cs, Int32.cs, Int16.cs: small tuneup: do not throw
2124 exception, instead return the exception like every other place in
2127 * Int16.cs, Int32.cs, Int64.cs: Use the Jeff Stedfast parsing code
2128 which is smaller. We no longer use "checked" to check for
2129 overflows, I refactored some stuff and cleaned up the rest and
2132 2007-10-27 Zoltan Varga <vargaz@gmail.com>
2134 * MonoType.cs: Applied patch from Mario A Chavez
2135 <mario.chavez@gmail.com>. Add support for invoking members with the
2136 ParamArray attribute. Fixes #336841.
2138 2007-10-26 Zoltan Varga <vargaz@gmail.com>
2140 * MonoType.cs (InvokeMember): Make sure one operation is passed in the binding
2141 flags. Fixes #336936.
2143 Fri Oct 26 19:43:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
2145 * Environment.cs, String.cs: patch from Tyler Larson
2146 <mono-devel@tlarson.com> to fix the handling of the RemoveEmptyEntries
2147 option in string.Split (bug #322375).
2149 2007-10-26 Dick Porter <dick@ximian.com>
2151 * Environment.cs: Bump version because of Thread initialisation
2154 2007-10-25 Lluis Sanchez Gual <lluis@novell.com>
2156 * AppDomain.cs: In DefaultDomain, wrap the returned domain with
2157 a proxy if the current domain is not the root domain.
2159 2007-10-24 Atsushi Enomoto <atsushi@ximian.com>
2161 * Type.cs : implemented ReflectionOnlyGetType().
2163 2007-10-19 Zoltan Varga <vargaz@gmail.com>
2165 * AppDomain.cs: Add NET 3.5 DefineDynamicAssembly () overloads.
2167 2007-10-13 Zoltan Varga <vargaz@gmail.com>
2169 * Delegate.cs (CreateDelegate): Allow binding instance methods to
2170 delegates with an extra argument, a NET 2.0 feature. Fixes #333647.
2172 Fri Oct 12 08:11:50 CEST 2007 Paolo Molaro <lupus@ximian.com>
2174 * String.cs: reverted unapproved patch that breaks the build.
2176 2007-10-11 Joel Reed <joelwreed@comcast.com>
2178 * String.cs: fix String.Split(char[],int,StringSplitOptions)
2179 with StringSplitOptions.RemoveEmptyEntries option. The correct
2180 behavior is to remove empty entries while the string is being split,
2181 and always return the maximum number of elements possible.
2182 Patch from: Tyler Larson <mono-devel@tlarson.com>
2184 2007-09-28 Jb Evain <jbevain@novell.com>
2186 * Object.cs: Make ToString return Type.ToString ()
2187 by default instead of Type.FullName to match .net
2188 behavior. Fix #329419.
2190 2007-09-28 William Holmes <billholmes54@gmail.com>
2192 * DateTime.cs: Check for AssumeUniversal when parsing string.
2195 2007-09-21 Gert Driesen <drieseng@users.sourceforge.net>
2197 * Enum.cs: Use regular single quotes in exception message.
2199 2007-09-14 Paolo Molaro <lupus@ximian.com>
2201 * String.cs: implemented all the string ctors using CreateString
2202 methods, so they can run completely in managed code.
2204 2007-09-13 Marek Safar <marek.safar@gmail.com>
2206 * DateTimeOffset.cs: Implemented few properties.
2208 2007-09-13 Atsushi Enomoto <atsushi@ximian.com>
2210 * Decimal.cs, Math.cs : implemented midpoint rounding.
2212 2007-09-13 Atsushi Enomoto <atsushi@ximian.com>
2214 * Activator.cs : implemented 2.0 CreateInstance()
2215 and CreateInstanceFrom () overloads.
2217 2007-09-12 Sebastien Pouliot <sebastien@ximian.com>
2219 * Decimal.cs: More explicit text in exception (old and almost
2220 forgetten patch on laptop ;-)
2222 2007-09-10 Atsushi Enomoto <atsushi@ximian.com>
2224 * OperatingSystem.cs : implemented ISerializable.
2226 2007-08-28 Zoltan Varga <vargaz@gmail.com>
2228 * DateTime.cs: Fix a warning.
2230 2007-08-25 Robert Jordan <robertj@gmx.net>
2232 * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
2234 2007-08-25 Alan McGovern <amcgovern@novell.com>
2236 * DateTime.cs: Reverted DateTime changes.
2238 2007-08-25 Robert Jordan <robertj@gmx.net>
2240 * DateTime.cs: Implement internal To/FromBinary for the 1.1 profile.
2242 2007-08-24 Zoltan Varga <vargaz@gmail.com>
2244 * Array.cs: Fix min + max / 2 overflows in the BinarySearch and qsort methods.
2247 2007-08-23 Marek Safar <marek.safar@gmail.com>
2249 * DateTimeOffset.cs: New .NET 3.5 struct for 2.0 mscorlib.
2251 2007-08-23 Eyal Alaluf <eyala@mainsoft.com>
2253 * DateTime.cs: Numerous improvements to DateTime.Parse. It handles a lot
2254 more possible formats and more correctly at that. It is also now easier
2255 to manage the formats DateTime.Parse supports.
2257 2007-08-17 Zoltan Varga <vargaz@gmail.com>
2259 * Exception.cs: Make 1.0 and 2.0 object layout the same since this class is seen
2260 by the runtime. Fixes #82459.
2262 2007-08-16 Gert Driesen <drieseng@users.sourceforge.net>
2264 * MonoCustomAttrs.cs: In IsDefined, throw ArgumentNullException if
2265 attributeType is null to avoid a SIGSEGV (and match MS). Only partial
2266 fix for bug #82431 on 1.0 profile; it fully fixes the problem for the
2267 1.0 profile, but more changes (in the runtime) are required for the
2268 2.0 profile. Added a FIXME explaining the problem.
2270 2007-08-15 Gert Driesen <drieseng@users.sourceforge.net>
2272 * MonoCustomAttrs.cs: In IsDefined, only walk inheritance chain if
2273 both AttributeUsage.Inherited and inherit are true. Fixed bug #82431.
2275 2007-08-13 Gert Driesen <drieseng@users.sourceforge.net>
2277 * ArgumentException.cs: Ignore zero-length ParamName for Message.
2278 Use ParamName property instead of field, since the property is marked
2280 * Array.cs: Provide more meaningful exception message when destination
2281 array is not long enough.
2283 2007-08-11 Zoltan Varga <vargaz@gmail.com>
2285 * Array.cs: Implement InternalArray__set_Item. Fixes #82345.
2287 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
2289 * IntPtr.cs : oops, do not ignore format in ToString(string).
2291 2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
2293 * GC.cs, Exception.cs, IntPtr.cs, Enum.cs, DateTime.cs, Convert.cs
2294 ConsoleKeyInfo.cs, String.cs, Object.cs, Attribute.cs,
2295 Version.cs : couple of cosmetic 2.0 API fixes.
2297 2007-08-06 Aaron Bockover <abockover@novell.com>
2299 * Environment.cs (ReadXdgUserDir): Support the changes to the
2300 xdg-user-dirs spec that allow $HOME to start the path; also allows
2301 for quotes surrounding the path (Patch ported from Banshee,
2304 2007-07-28 Miguel de Icaza <miguel@novell.com>
2306 * MulticastDelegate.cs (Equals): do not cast to avoid exceptions,
2307 instead use the "as" operator, as pointed out by Jesse Jones'
2310 2007-07-21 Gert Driesen <drieseng@users.sourceforge.net>
2312 * BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
2313 of ArgumentOutOfRangeException and ArgumentException ctors that take
2314 both parameter name and message. In ToString throws ArgumentException
2315 instead of ArgumentOutOfRangeException when length is negative, and
2316 return zero-length string when length is 0.
2318 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
2320 * AppDomainSetup.cs : fix serialization regression.
2322 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
2324 * AppDomainSetup.cs :
2325 MonoTODO AppDomainInitializer as its implementation is wrong.
2327 2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
2329 * AppDomainSetup.cs : added missing 2.0 members.
2330 * AppDomain.cs : support AppDomainInitializer.
2332 2007-06-06 Miguel de Icaza <miguel@novell.com>
2334 * Int16.cs, UInt64.cs, SByte.cs, UInt16.cs, Byte.cs, Int32.cs,
2335 Int64.cs, UInt32.cs: Fix for 81775.
2337 I removed Parse from a Byte.cs and UInt16.cs as in various cases
2338 they still depended on UInt32.cs for parsing, there is no reason
2339 to keep all of this code duplicated (UInt64 is a different case
2342 I was hoping for some feedback on whether my tests are correct,
2343 but so far no takers.
2345 2007-07-14 Zoltan Varga <vargaz@gmail.com>
2347 * ModuleHandle.cs: Implement the generic versions of the ResolveXXXHandle () methods.
2349 * ModuleHandle.cs: Add stubs for generic ResolveXXXHandle () methods.
2351 2007-07-10 Alan McGovern <amcgovern@novell.com>
2353 * Guid.cs: All whitespace should be trimmed from before and
2354 after a string passed into the Guid constructor. Fixes #81958
2356 2007-07-10 Zoltan Varga <vargaz@gmail.com>
2358 * RuntimeTypeHandle.cs: Fix signatures of == and != operators.
2360 * ModuleHandle.cs: Add missing 2.0 stuff.
2362 2007-07-08 Zoltan Varga <vargaz@gmail.com>
2364 * *.cs: Add missing ComVisible attributes.
2366 * Delegate.cs: Add missing 2.0 CreateDelegate () methods.
2368 2007-07-07 Gert Driesen <drieseng@users.sourceforge.net>
2370 * DateTime.cs: In ParseExact, throw ArgumentNullException if format
2371 is null; throw FormatException if formats array is empty or if one of
2372 items is null or a zero-length string.
2374 2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
2376 * Double.cs (Parse): Fix for string ending in garbaga, it was just ignoring it
2377 instead of throwing FormatException. Fixes #81777
2379 2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
2381 * Double.cs (Parse): Fix for whitespace only strings, it was returning zero
2382 instead of throwing FormatException. Fixes #81630
2384 2007-07-06 Alan McGovern <amcgovern@novell.com>
2386 * DateTime.cs: If the format is null or empty, it should default to 'G'.
2389 2007-07-06 Jonathan Chambers <joncham@gmail.com>
2391 * __ComObject.cs: Support ExtensibleClassFactory.
2394 2007-07-06 Aaron Bockover <abockover@novell.com>
2396 * Environment.cs (InternalGetFolderPath): Try reading some
2397 paths from ~/.config/user-dirs.dirs (XDG user dirs spec);
2398 always return something for MyPictures
2400 2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
2402 * Type.cs : 2.0 TypeHandle and ContainsGenericParameters are virtual
2403 (required fix for 2.0 reflection API fixes).
2405 2007-06-22 Jonathan Chambers <joncham@gmail.com>
2407 * __ComObject.cs: Move interface lookup to unmanaged.
2409 2007-06-21 Zoltan Varga <vargaz@gmail.com>
2411 * Environment.cs: Bump corlib version.
2413 * Delegate.cs: Applied patch from Robert Jordan (robertj@gmx.net). Keep
2414 the dynamic method referenced by a delegate alive.
2416 2007-06-05 David Ferguson <davecferguson@gmail.com>
2418 * DateTime.cs: Changed DateTime.Parse() to throw a FormatException
2419 instead of an ArgumentOutOfRangeException for .NET 2.0. An
2420 ArgumentOutOfRangeException is still thrown for .NET 1.1.
2423 Mon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>
2425 * String.cs: optimized CompareOrdinal ().
2427 2007-06-02 Zoltan Varga <vargaz@gmail.com>
2429 * MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.
2431 * MonoCustomAttrs.cs (GetBase): Handle properties correctly. Fixes #81797.
2433 2007-05-31 Zoltan Varga <vargaz@gmail.com>
2435 * Delegate.cs: Add invoke_impl field. Reorder fields for better cache behavior. Add
2436 SetMulticastDelegate icall.
2438 * MulticastDelegate.cs (CombineImpl): Call SetMulticastDelegate () on newly created
2441 * Environment.cs: Bump corlib version.
2443 2007-05-25 Jonathan Chambers <joncham@gmail.com>
2445 * __ComObject.cs: Add overload to GetInterface to allow
2446 not throwing exceptions. Fixes as and is operators for COM objects.
2448 2007-05-23 Atsushi Enomoto <atsushi@ximian.com>
2450 * Array.cs : reverting Array.cs fixes since the runtime depends on
2451 those method attributes.
2453 2007-05-23 Atsushi Enomoto <atsushi@ximian.com>
2455 * Int16.cs UInt64.cs UIntPtr.cs Double.cs CrossAppDomainDelegate.cs
2456 ResolveEventHandler.cs IntPtr.cs UnhandledExceptionEventHandler.cs
2457 Void.cs AssemblyLoadEventHandler.cs SByte.cs UInt16.cs DateTime.cs
2458 Byte.cs TimeSpan.cs Decimal.cs Int32.cs Delegate.cs
2459 AppDomainInitializer.cs MulticastDelegate.cs Int64.cs
2460 EventHandler.cs Single.cs UInt32.cs AsyncCallback.cs :
2461 cosmetic attribute fixes (ComVisible/Serializable).
2463 2007-05-22 Atsushi Enomoto <atsushi@ximian.com>
2465 * Convert.cs : completed 2.0 (ToBase64CharArray).
2466 * String.cs : removed MonoTODO.
2467 * DataMisalignedException.cs : removed extra .ctor().
2468 * Array.cs : internalize extra members. Fixed reliability contract.
2470 2007-05-17 Atsushi Enomoto <atsushi@ximian.com>
2472 * DateTime.cs : added support for 'K'.
2474 2007-05-11 Jonathan Chambers <joncham@gmail.com>
2476 * __ComObject.cs: No need to call CoInitialize anymore since
2477 Thread.ApartmentState was implemented.
2479 2007-05-11 Jeffrey Stedfast <fejj@novell.com>
2483 * TermInfoDriver.cs (WriteSpecialKey): Actually clear the screen
2484 and reset the cursor position to 0,0 when the key is
2486 (Clear): Reset the cursor position to 0,0
2488 2007-05-09 Marek Safar <marek.safar@gmail.com>
2490 * MulticastDelegate.cs: Fixed operators logic.
2492 2007-05-09 Marek Habersack <mhabersack@novell.com>
2494 * DateTime.cs: add a format used in ASP.NET QuickStarts
2495 ("HH':'mm tt MM/dd/yyyy")
2497 2007-04-30 Zoltan Varga <vargaz@gmail.com>
2499 * Type.cs (Equals): Allow a null argument.
2501 2007-04-27 Zoltan Varga <vargaz@gmail.com>
2503 * Environment.cs (StackTrace): Avoid skipping a frame to be
2506 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
2508 * DateTimeTest.cs : looks like 'F' even removes preceding '.' ...
2510 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
2512 * DateTime.cs : implemented new-2.0 'F' pattern letter.
2514 2007-04-24 Jeffrey Stedfast <fejj@novell.com>
2516 Fixes the last of the bugs listed in bug #77525
2518 * TermInfoDriver.cs (ctor): For known terminal types, set color16
2519 to true (since we know they support 16 colours).
2520 (Init): set the setlfgcolor and setlbgcolor format strings.
2521 (BackgroundColor): Use the appropriate formatter string for
2522 setting the bgcolor.
2523 (ForegroundColor): Use the appropriate formatter string for
2524 setting the fgcolor.
2525 (TranslateColor): Now takes (and sets appropriately) an output
2526 'bool light' argument.
2528 2007-04-24 Marek Habersack <mhabersack@novell.com>
2530 * TermInfoDriver.cs: don't include debug stuff by default - it
2531 breaks multithreaded applications (they all attempt to open
2532 console.log and fail because of sharing violation).
2534 2007-04-23 Jeffrey Stedfast <fejj@novell.com>
2536 * TermInfoDriver.cs (ReadKeyInternal): Since our input stream is
2537 buffered, check if it has more buffered input in addition to our
2538 timeout check. This makes it such that we will actually correctly
2539 match multi-char escape sequences.
2540 (Read): Changed the logic slightly wrt 'fresh' echoing. Once we
2541 encounter a fresh char, all chars afterward should also be
2542 considered 'fresh' even if 'fresh' is returned as false later.
2543 (ReadLine): Same logic here.
2545 2007-04-23 Jeffrey Stedfast <fejj@novell.com>
2547 Fixes bug #80702 (via getting rid of the casting) and more.
2549 The following change makes it such that even if an application
2550 calls Console.SetOut() with its own output stream, we can still
2551 properly echo user-input from stdin to the real stdout.
2553 * TermInfoDriver.cs (ctor): Grab a reference to the original
2554 Console.stdout so we can be sure we always echo to console.
2555 (QueueEcho): No need to cast Console.stdout anymore.
2557 (WriteConsole: Here too.
2559 2007-04-20 Jeffrey Stedfast <fejj@novell.com>
2561 * TermInfoDriver.cs (QueueEcho): Renamed from Echo(char). Use
2562 CStreamWriter's new InternalWriteChars().
2563 (Echo): Since we can no longer go thru CStreamWriter's ::Write()
2564 method that does checks for special keys, do the checks here
2565 instead - if it is a special key, flush the echo buffer and then
2566 write the special key.
2567 (EchoFlush): Also updated to use CStreamWriter's new
2568 InternalWriteChars().
2569 (Read): Use the Echo(key) variety.
2571 (ReadLine): And here too.
2573 * CStreamWriter.cs (InternalWriteChars): Write a char array
2574 directly to stdout. Do not pass Go, do not collect $200.
2576 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
2578 Optimization for echoing keypresses back to the console when the
2579 user pastes a block of text rather than manually typing text.
2581 * TermInfoDriver.cs (Echo): A new convenience function for echoing
2582 characters/keys back to the console with an optimization twist and
2584 (EchoFlush): Flush our pending echo queue
2585 (Read): Make use of Echo() both for convenience and for speed.
2587 (ReadKey): Make use of Echo()/EchoFlush() for simplicity of code,
2588 but we won't get the same optimization out of it.
2590 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
2594 * TermInfoDriver.cs: Changed 'buffer' to be a char array instead
2595 of a byte array and stdin is now a StreamReader rather than a
2597 (Init): Setup stdin as a StreamReader using Console.InputEncoding
2599 (GetCursorPosition): Use stdin.Read() instead of the old
2601 (AddToBuffer): Updated to allocate the correct array type for
2603 (ReadKeyInternal): Updated to use stdin.Read() rather than
2604 stdin.ReadByte(). This is the main reason we needed to use chars
2605 instead of bytes. Characters entered by the user need to be
2606 represented as unicode chars and not bytes like before.
2607 (Match): Now takes a char[] buffer argument instad of byte[] and
2608 compares the input buffer to the byte-map as chars.
2610 2007-04-18 Jeffrey Stedfast <fejj@novell.com>
2612 Fixes bug #81159: behave the same as mscorlib
2614 * TermInfoDriver.cs (ReadKeyInternal): Now has an 'out bool fresh'
2615 argument which is used to tell our caller if the key was freshly
2616 read from the console or pre-buffered.
2617 (Read): New implementation of Console.In.Read(char[], int, int)
2618 that behaves exactly like mscorlib's implementation.
2619 (ReadKey): Updated for the ReadKeyInternal() API change - only
2620 echo if the key was fresh.
2623 * CStreamReader.cs (Read): Call the new TermInfoDriver.Read()
2625 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
2627 * CStreamWriter.cs (Write): Optimized this some more, we don't
2628 need a temporary buffer. Just blit chunks of the src buffer
2631 * CStreamReader.cs (Read): Need to increment our array index so
2632 that we don't store each byte read into the same
2633 position. Discovered this while testing bug #81159 (which appears
2634 to work as expected with current svn, other than this buglet).
2636 * TermInfoDriver.cs (CursorTop::set): SetCursorPosition() sets our
2637 internal cursorTop variable, so no need to explicitly set it again
2638 after calling SetCursorPosition().
2639 (CursorLeft::set): Same idea here.
2641 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
2643 * TermInfoDriver.cs (ReadLine): Implemented a workaround for
2644 IronPython going behind System.Console's back when writing text to
2645 the screen (it doesn't seem to use Console.stdout, instead it
2646 creates its own file stream or something which just so happens to
2647 write to the same file descriptor) by querying for the cursor
2648 position in ReadLine(), so we lose no real performance (since we
2649 have to wait for user input anyway).
2651 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
2653 * TermInfoDriver.cs (Init): SetEcho(false), we'll be manually
2654 echoing from now on (ReadLine() has already been doing this, might
2655 as well make ReadKey() behave the same).
2656 (GetCursorPosition): No longer need to disable/re-enable echo
2657 anymore since it is now always false.
2658 (ReadKey): Manually echo the key back to the console just like
2659 ReadLine() has been doing (in the interest of consistancy) if
2661 (ReadLine): No longer need to disable/re-enable echo, echo is
2662 always off now. Also, fixed what appears to have been a typo.
2664 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
2666 * TermInfoDriver.cs (IsSpecialKey): Oops, Enter should not be
2667 treated as a special key. Just update out cursor state here like
2668 we do with normal chars.
2669 (WriteSpecialKey): Enter is a no-op now because it is not treated
2670 as a special key anymore.
2672 * CStreamWriter.cs (Write): Only flush our buffer if j > 0
2674 2007-04-17 Jeffrey Stedfast <fejj@gnome.org>
2676 Turns out my last patch was broken wrt handling some special keys
2677 like Backspace and anything else that changed the cursor position
2678 in some non-standard way.
2680 * CStreamWriter.cs (Write): Instead of calling NotifyWrite(), we
2681 instead need to check IsSpecialKey(), and, if so, flush whatever
2682 we have saved in our temporary buffer and then call
2683 WriteSpecialKey(). Otherwise go on as we did in the last patch.
2685 * TermInfoDriver.cs (NotifyWrite): Broken up into 2 functions:
2686 (IsSpecialKey): Returns true if we need to do some special voodoo
2688 (WriteSpecialKey): Write the special key (using whatever voodoo
2691 2007-04-16 Jeffrey Stedfast <fejj@gnome.org>
2693 * CStreamWriter.cs (Write): Instead of writing 1 char at a time,
2694 copy the bytes into a temporary char array (with a fixed max size)
2695 so that we can minimize the number of Write() calls we make on the
2696 underlying stream (and thus on the write() system call).
2698 2007-04-17 Alp Toker <alp@atoker.com>
2700 * Array.cs: Make GetRank() icall private. Subclasses should use the
2701 public Rank property.
2703 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
2705 * WindowsConsoleDriver.cs: Get rid of unused Echo property.
2707 * NullConsoleDriver.cs: Get rid of Echo property.
2709 * IConsoleDriver.cs: Get rid of Echo property.
2711 * ConsoleDriver.cs (Echo::get/set): Removed, not needed.
2713 * TermInfoDriver.cs (Echo::get/set): Removed, this isn't necessary
2715 (ReadKey): If we are intercepting the key, call SetEcho (false)
2716 and then reset back to true after reading the key.
2717 (ReadLine): Same idea here.
2718 (GetCursorPosition): We no longer need to keep track of the
2719 previous echo state, we no longer have it :)
2721 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
2723 Fix for bug #80710 (and a bug I introduced in my last fix due to
2724 this code assuming the underlying term echo state was always
2725 false) and other buglets that I noticed.
2727 * TermInfoDriver.cs (ReadLine): Set (term) Echo to false as we do
2728 our own manual echoing which prevents ^H from getting displayed on
2729 the screen when the user hits backspace.
2730 (ReadLine): If the user hits Backspace and builder.Length is 0, DO
2731 NOT echo the backspace back to the console, ever.
2732 (ReadLine): Only echo characters back to the console if echo is
2733 set to true. Seems the Echo ConsoleDriver property is a Mono
2734 extension, and I'm assuming this is the intended behavior? I can't
2735 see what else the Echo property would be useful for...
2737 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
2741 * TermInfoDriver.cs: Renamed the noEcho variable to echo, makes
2742 the logic cleaner/simpler/etc. Plus it was never actually used
2743 other than in the property methods which are called Echo.
2744 (Init): Call ConsoleDriver.SetEcho() with the 'echo' value -
2745 allows for a slight optimization if called from within the
2747 (GetCursorPosition): Instead of calling the Echo property methods,
2748 call ConsoleDriver.SetEcho() directly to toggle echo off (if echo
2749 isn't already off, and then back on once we're finished getting
2750 the position - assuming the echo state is on, of course) - this
2751 avoids calling back into Init() which just felt dirty.
2752 (Echo::set): If the Echo state differs from our current state,
2753 call ConsoleDriver.SetEcho() with the new state (this is the
2754 important piece of the fix for bug #81050).
2755 (ReadKey): Simplified the echo logic to make it a bit clearer.
2758 2007-04-16 Marek Safar <marek.safar@gmail.com>
2760 * Char.cs (IsLetter): Faster version.
2762 2007-04-15 Alp Toker <alp@atoker.com>
2764 * Decimal.cs: Provide 2.0 Round() overloads using System.Math.
2766 2007-04-15 Alp Toker <alp@atoker.com>
2768 * Activator.cs: CreateInstance(Type,object[]) was not params before
2771 2007-04-15 Alp Toker <alp@atoker.com>
2773 * NonSerializedAttribute.cs: Inherited=false in 2.0.
2775 2007-04-05 Dick Porter <dick@ximian.com>
2777 * Environment.cs: Increment mono_corlib_version
2779 2007-04-03 Alp Toker <alp@atoker.com>
2781 * Array.cs: CreateInstance(Type,int[]) is params.
2782 * AppDomain.cs: ExecuteAssemblyByName(string,Evidence,string[]) is
2785 2007-04-03 Alp Toker <alp@atoker.com>
2788 * Math.cs: Should be static classes in 2.0.
2790 2007-04-03 Alp Toker <alp@atoker.com>
2792 * Delegate.cs: DynamicInvoke(object[]) is params in 2.0.
2794 2007-04-03 Alp Toker <alp@atoker.com>
2796 * Delegate.cs: Combine(Delegate[]) is params in 2.0.
2798 2007-03-27 Dick Porter <dick@ximian.com>
2800 * Environment.cs: Increment mono_corlib_version;
2802 2007-03-16 Miguel de Icaza <miguel@novell.com>
2804 * BitConverter.cs: Revert the patch from 72237 as that introduces
2805 a regression and we are not sure yet what we will be doing about
2808 Introduce a new InternalInt64BitsToDouble method that provides the
2809 fixed functionality, mark it as internal.
2811 Introduce a new SwappableToDouble method that includes the
2812 swapping ToDouble routine as introduced by Zoltan on 72237, this
2813 is used by InternalInt64BitsToDouble.
2815 * Math.cs (IEEERemainder): Use the InternalInt64BitsToDouble
2816 routine here to preserve the semantics from Zoltan.
2818 The problem with BitConverter.cs is that it is completely hossed.
2819 In .NET 1.1 it is a bitwise copy, no attempt is ever done to do
2820 endian-specific swapping. In .NET 2.0 it is *almost* like that,
2821 but it is subtly broken: if data is unaligned then endian
2822 conversions happen. If the data is properly aligned it behaves
2825 In general BitConverter is a sad class that offers little control,
2826 we will be introducing a new mono bit converter and encourage
2827 users to use that instead of the entirely broken
2828 System.BitConverter.
2830 2007-03-11 Gert Driesen <drieseng@users.sourceforge.net>
2832 * Delegate.cs: Fixed bootstrap build.
2834 2007-03-08 Gert Driesen <drieseng@users.sourceforge.net>
2836 * StringComparer.cs: Renamed StringComparer classes and promoted them
2837 to top-level classes. Merged Ordinal and OrdinalIgnoreCase comparers.
2838 Fixes binary serialization compatibility with MS.
2840 2007-03-06 Zoltan Varga <vargaz@gmail.com>
2842 * Type.cs (Equals): Remove a useless check.
2844 * Type.cs: Rename Type:Equals(Type) to EqualsInternal, and add support for checking
2845 UnderlyingSystemType. Fixes #81037.
2847 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
2849 * TermInfoDriver.cs: adjust buffer indexes after *every* read. Fixes
2850 bug #80329. Robert Jordan attached a similar patch to the bug report
2851 but I didn't see it until after my commit...
2853 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
2855 * Enum.cs: The above patch makes the formatting for specifiers 'x'
2856 and 'X' behave like MS.NET, including the correct length for each
2857 possible underlying type, and correctly using capital letters for
2860 Patch also includes some more test cases in EnumTests.cs.
2862 2007-02-25 Gert Driesen <drieseng@users.sourceforge.net>
2864 * AppDomainSetup.cs: If configuration file is not an absolute path,
2865 then throw a MemberAccessException if ApplicationBase is not set,
2866 or otherwise consider it as a path relative to ApplicationBase.
2867 Fixes bug #80934. Patch provided by Jamie Cansdale.
2868 * AppDomain.cs: In CreateDomain, construct AppDomain with
2869 ApplicationBase of default domain if not explicitly set in specified
2870 AppDomainSetup. If config file is not set, then use filename of the
2871 default domain config file. Base on patch provided by Jamie Cansdale.
2873 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
2875 * Random.cs: Fix exception messages ("then" -> "than"). Spotted by
2876 Mark A. Nicolosi (#80873).
2878 2007-02-12 Miguel de Icaza <miguel@novell.com>
2880 * CStreamWriter.cs (Write with char []): take the lock once for
2881 all characters and call manually the InternalWriteChar properly to
2884 (Write with string parameter): same thing, if the driver is not
2885 initialized use a fast path.
2887 If the driver has not been initialized, use a fast path instead.
2889 Mon Feb 12 21:54:57 CET 2007 Paolo Molaro <lupus@ximian.com>
2891 * MonoType.cs: patch from Cedric Vivier <cedricv@neonux.com> to
2892 get correctly non-public fields from generic types.
2894 2007-02-08 Jonathan Chambers <joncham@gmail.com>
2896 * __ComObject.cs: Add IUnknown field to object. Cleanup icalls.
2898 2007-02-03 Zoltan Varga <vargaz@gmail.com>
2900 * BitConverter.cs (ToDouble): Fix this on big-endian machines.
2902 2007-01-30 Atsushi Enomoto <atsushi@ximian.com>
2904 * TimeZone.cs: According to the docs, we should not throw when
2905 converting to Localtime if we are a negative value. Instead we
2906 return DateTime.MinValue.
2908 2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
2910 * DateTime.cs : copy Kind in those members that return DateTime.
2913 2007-01-20 Miguel de Icaza <miguel@novell.com>
2915 * Array.cs (InternalArray__ICollection_Contains,
2916 InternalArray__IndexOf): Cope with null values in the array (See
2919 2007-01-19 Marek Habersack <grendello@gmail.com>
2921 * AppDomain.cs: Make sure that domain
2922 SetupInformation.ConfigurationFile is never null. MS.NET by
2923 default copies the default domain's ConfigurationFile value
2924 there. Fixes bug #80547.
2926 2007-01-14 Jensen Somers <jensen.somers@gmail.com>
2928 * ArraySegment.cs: Added Equals() method, operator == and !=
2929 overloading and GetHashCode().
2931 2007-01-10 Andy Hume <andyhume32@yahoo.co.uk>
2933 * Fixes to a number of exception classes.
2935 A project of mine uses #ctor(String,Exception) on
2936 ObjectDisposedException, so I looked at adding that, and any
2937 other similar constructors missing as per the class status report.
2939 I also spotted inconsistent setting of HResult, and fixed
2940 those too. For instance, ArgumentNullException sets HResult
2941 only in three out of the four constuctors; not setting it in
2942 the v2 (String,Exception) one -- and correctly not in the
2943 Serialization constructor.
2946 So, I fixed the remaining missing (String,Exception)
2947 constructors in corlib (2 of), and fixed the Hresult setting
2948 in all exceptions there (4 of).
2950 The remaining Exception constructor omission listed was
2951 InvalidCastException.ctor(System.String, System.Int32). MSDN says:
2952 "This constructor supplies an HRESULT value that is
2953 accessible to inheritors of the InvalidCastException class,
2954 via the protected HResult property of the Exception class."
2955 I added that method too, setting the HResult property from
2958 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
2960 * String.cs, StringComparer.cs : avoid extra string creation in
2961 StringComparer.OrdinalIgnoreCase.
2963 2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
2965 * DateTime.cs: Under 2.0 fix ParseExact to set DateTimeKind.Utc when
2966 DateTimeStyles.AdjustToUniversal is used.
2968 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2970 * TermInfoDriver.cs: honor the backspace in ReadLine.
2972 2006-12-30 Marek Safar <marek.safar@gmail.com>
2974 * String.cs: Character based method only.
2975 (IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
2976 (Substring): Returns same instance when index is 0.
2978 2006-12-30 Alp Toker <alp@atoker.com>
2981 * Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
2984 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
2986 * DateTime.cs: Implement missing [To|From]Binary methods for 2.0.
2987 * OperatingSystem.cs: Implement missing ServicePack and VersionString
2989 * Version.cs: Add missing Major|MinorRevision properties for 2.0.
2991 2006-12-14 Raja R Harinath <rharinath@novell.com>
2993 * Type.cs (MakeGenericType): Can only be called on a generic type
2996 2006-12-03 Miguel de Icaza <miguel@novell.com>
2998 * DateTime.cs: Fix this on the 2.0 profile, return the
2999 DateTimeKind for the Now property
3001 2006-12-01 Duncan Mak <duncan@a-chinaman.com>
3003 * ArgumentOutOfRangeException.cs (.ctor):
3004 * NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
3005 that takes a string and an inner Exception.
3007 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
3010 When comparing enumerations, two or more enumeration values might
3011 match. Thus basically we should do complete matching, but right
3012 now just do reverse order search since only numbered abbrev month
3013 names matter (and full iteration is a mess). Fixed bug #80094.
3015 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
3018 use new internal clone-less DateTimeFormatInfo members.
3020 2006-11-29 Martin Baulig <martin@ximian.com>
3022 * INullableValue.cs: Removed.
3024 2006-11-28 Duncan Mak <duncan@novell.com>
3026 * ArgumentNullException.cs (.ctor): Added new constructor that's
3029 * InsufficientMemoryException.cs: Added missing 2.0 exception.
3031 2006-11-27 Jonathan Chambers <joncham@gmail.com>
3033 * __ComObject.cs: Removed IDispatchMono.
3035 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3037 * TermInfoDriver.cs:
3038 * Console.cs: lazy initialization of Console 2.0 (also when
3039 CancelKeyPress is used).
3041 2006-11-27 Miguel de Icaza <miguel@novell.com>
3043 * Exception.cs (GetType): New method in 2.x, Another Moma catch.
3045 Mon Nov 27 19:34:16 CET 2006 Paolo Molaro <lupus@ximian.com>
3047 * GC.cs: implemented the needed methods with icalls.
3049 2006-11-26 Miguel de Icaza <miguel@novell.com>
3051 * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.
3053 Go Moma! http://www.mono-project.com/Moma
3055 * Decimal.cs: Refactor code to implement TryParse.
3057 Also, avoid initializing messages on every call to stripStyles
3059 2006-11-22 Miguel de Icaza <miguel@novell.com>
3061 * DateTime.cs: A small performance hit, we store the actual time
3062 span in a boxed object. This way, it can be updated from other
3063 threads if necessary. We always unbox to get the value before
3064 any potential updates.
3066 Thanks to Gonzalo for catching this.
3068 2006-11-21 Miguel de Icaza <miguel@novell.com>
3070 * TimeZone.cs (CurrentSystemTimeZone): Cache the current year
3071 daylight savings time in static variables.
3073 (CurrentSystemTimeZone.OnDeserialization): Initialize
3074 this_year_dlt and this_year on this method.
3076 (TimeZone): init statically the currentTimeZone instead of
3077 delaying that to the static property, avoiding a compare.
3079 2006-11-22 Lluis Sanchez Gual <lluis@novell.com>
3081 * Array.cs: (compare<T>) if a comparer is provided, it has
3082 priority over other comparison methods.
3084 2006-11-14 Miguel de Icaza <miguel@novell.com>
3086 * Array.cs: TODOs will from now on be used to flag information
3087 that will be developer-visible, not to flag internal information
3088 that none of us reads or bothers about.
3090 For those, use "FIXME" strings in the source code instead.
3092 * AppDomain.cs: Update to be more useful.
3094 2006-11-13 Atsushi Enomoto <atsushi@ximian.com>
3096 * String.cs : fixed incorrect startIndex/length count in
3097 IndexOf(string,StringComparison).
3099 2006-11-07 Marek Safar <marek.safar@gmail.com>
3101 * String.cs (LastIndexOf): If value is Empty, the return value is
3102 the start index position in value.
3104 2006-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3106 * TermInfoDriver.cs: prevent an invalid cast.
3108 2006-10-26 Marek Safar <marek.safar@seznam.cz>
3110 * String.cs (Concat): Add fast-path for empty strings.
3112 2006-10-20 Jonathan Chambers <joncham@gmail.com>
3114 * Variant.cs: Add support for bool and interfaces.
3116 2006-10-18 Kornél Pál <kornelpal@gmail.com>
3118 * Type.cs: Removed is_subtype_of because IsSubclassOf should be used
3119 that is public and virtual. IsClass: Checking for ValueType is
3120 unnecessary. IsEnum: UnderlyingSystemType is not used anymore so
3121 no EnumBuilder hack is necessary. Checking for Enum is
3122 unnecessary. IsSerializable: Walk BaseType for user defined types.
3123 IsSubclassOf: Walk BaseType for user defined types.
3125 * MonoType.cs: IsValueTypeImpl is unnecessary. IsSubclassOf: Unlike
3126 Type system types throw ArgumentNullException on null Type
3129 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
3131 * BadImageFormatException.cs: Changed message for default ctor to
3132 match MS. Use internal message field of Exception to check whether
3133 Message is null. Match MS default messages when no message is
3134 set. Fixed ToString to match MS.
3136 2006-10-09 Miguel de Icaza <miguel@novell.com>
3138 * Environment.cs: Handle SpecialFolder.MyMusic
3140 2006-10-07 Gert Driesen <drieseng@users.sourceforge.net>
3142 * Enum.cs: Use different exception message depending on whether the
3143 type of the passed in value is an Enum or not. Avoid looking up the
3144 enum's underlying type twice in case of "D" or "d" format specifier.
3146 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3148 * TermInfoDriver.cs: don't allow backspace if we're at the beginning
3149 position for a ReadLine.
3151 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3153 * TermInfoDriver.cs: ironpython autocompletion works now.
3155 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3157 * Console.cs: avoid casting on windows.
3159 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3162 * TermInfoDriver.cs:
3163 * IConsoleDriver.cs:
3165 * ConsoleKeyInfo.cs:
3166 * NullConsoleDriver.cs:
3169 * WindowsConsoleDriver.cs: initial changes to handle cursor position
3172 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
3174 * ArithmeticException.cs: Modified default message to match MS, to
3175 ensure a local regression test passes on both Mono and .NET.
3177 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
3179 * Exception.cs: Marked message internal to allow derived classes to
3180 access the raw message (without changing the public API).
3182 2006-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3185 * TermInfoDriver.cs:
3186 * IConsoleDriver.cs:
3188 * WindowsConsoleDriver.cs: don't switch to the alternate window.
3189 Trigger the cancel event. Retrieve the cursor position at the
3190 beginning, as we're going to keep track of it instead of querying it
3193 2006-09-14 Jonathan Chambers <joncham@gmail.com>
3195 * Environment.cs (ProcessorCount): Implement as icall.
3196 Patch by Jason McFall.
3198 2006-09-05 Raja R Harinath <rharinath@novell.com>
3200 * DateTime.cs (Today) [NET_2_0]: Set kind to Local.
3202 2006-09-02 Zoltan Varga <vargaz@gmail.com>
3204 * Enum.cs (Equals): Use the generic Equals implementation from ValueType which
3205 is faster and avoids allocations.
3207 2006-09-01 Martin Baulig <martin@ximian.com>
3209 * Array.cs (Array.InternalArray): Removed the helper class;
3210 instead we use private generic methods in System.Array which are
3211 inserted into the vtable at runtime.
3213 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3215 * ConsoleCancelEventArgs.cs: fix my build.
3217 2006-08-22 Miguel de Icaza <miguel@novell.com>
3219 * MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0
3221 * Converter.cs: update signature to final.
3223 * ModuleHandle.cs: Removed the [Obsolete] flags as they removed
3224 those in the final 2.0
3226 * DateTime.cs: Fixed the signature.
3228 * Convert.cs: Removed API calls that were deprecated in final 2.0
3230 * Enum.cs: Updated to use the obsoletes flagged in 2.0.
3232 * ConsoleCancelEventArgs.cs: Updated to 2.0
3234 2006-08-19 Miguel de Icaza <miguel@novell.com>
3236 * Attribute.cs: This needs to do a deep compare, not a shallow
3237 one. Ran into this bug with the VBNC compiler that compares two
3238 separate attributes for equality using this.
3240 * String.cs (StartsWith): Fix the overloaded constructor that
3241 takes a CultureInfo, if that is null, it means to use the current
3244 * TermInfoDriver.cs: Do not throw exceptions on the driver for
3245 SetWindowSize and SetWindowPosition, they can be treated as nops.
3247 2006-08-18 Zoltan Varga <vargaz@gmail.com>
3249 * *.cs: Use String.Empty instead of "" in a lot of places.
3251 2006-08-17 Sebastien Pouliot <sebastien@ximian.com>
3253 * DateTime.cs: Remove last patch to DateTime as the fix wasn't correct
3254 and made most x.509 unit tests fails. However the original problem is
3257 2006-08-14 Raja R Harinath <rharinath@novell.com>
3260 * Activator.cs (CreateInstance): Throw ArgumentException on open
3263 2006-08-14 Miguel de Icaza <miguel@novell.com>
3265 * MonoType.cs: Do the argument testinf for SetField later,
3266 otherwise the implicit (and not documented, but already considered
3267 side effect of checking SetProperty) did not work.
3271 2006-08-13 Atsushi Enomoto <atsushi@ximian.com>
3273 * String.cs : Normalize() and IsNormalized() implementation.
3275 2006-08-10 Jonathan Chambers <joncham@gmail.com>
3277 * __ComObject.cs: Added defintion of IDispatch interface, and
3278 property. Get CLSID of supertype for creation if class not
3279 ComImport attributed (allows for inheritance of RCW).
3280 * MonoType.cs: Implement IsCOMObjectImpl.
3282 2006-08-09 Atsushi Enomoto <atsushi@ximian.com>
3284 * DateTime.cs : fixed X509Certificate() case that regressed only
3287 2006-08-07 Kornél Pál <kornelpal@gmail.com>
3289 * Console.cs: Use correct code pages on Windows and initialize
3290 InputEncoding and OutputEncoding to the actual encodings used.
3292 2006-08-05 Duncan Mak <duncan@novell.com>
3294 * Char.cs (TryParse): Implemented missing 2.0 method, which fixed
3297 2006-07-28 Jonathan Chambers <joncham@gmail.com>
3299 * __ComObject.cs: Added support for marshalling objects.
3301 2006-07-24 Atsushi Enomoto <atsushi@ximian.com>
3303 * Char.cs : implemented utf32 conversion methods thus fixed bug #78856.
3305 2006-07-19 John Luke <john.luke@gmail.com>
3307 * TermInfoDriver.cs: switch order of alt and control when
3308 calling new ConsoleKeyInfo()
3310 2006-07-19 Kornél Pál <kornelpal@gmail.com>
3312 * String.cs: Improve CreateString () performance when length is zero.
3314 2006-07-18 Kornél Pál <kornelpal@gmail.com>
3316 * String.cs: Added CreateString () methods. Constructors with matching
3317 argument list are redirected to these methods that improves
3318 performance as well as fixes bug #78703.
3320 2006-07-15 Jonathan Chambers <joncham@gmail.com>
3322 * __ComObject.cs: Begin implementing COM Interop.
3323 * Environment.cs: Increment corlib version.
3325 2006-07-12 Zoltan Varga <vargaz@gmail.com>
3327 * Delegate.cs (DynamicInvokeImpl): Add support for bound delegates in Net 2.0.
3329 2006-07-11 Zoltan Varga <vargaz@gmail.com>
3331 * Double.cs (Parse): Fix handling of inner whitespace.
3333 2006-07-09 Zoltan Varga <vargaz@gmail.com>
3335 * Int32.cs: Fix a warning.
3337 2006-07-07 Atsushi Enomoto <atsushi@ximian.com>
3339 * TimeZone.cs : consider DateTimeKind in ToLocalTime() and
3340 ToUniversalTime(). Fixed bug #78784. Patch by Thong Nguyen.
3341 * DateTime.cs : DateTimeKind for UtcNow should be Utc.
3343 2006-06-28 Kornél Pál <kornelpal@gmail.com>
3345 * Char.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.
3347 2006-06-27 Atsushi Enomoto <atsushi@ximian.com>
3349 * Double.cs : don't throw Exception in TryParse() for 'E'.
3352 2006-06-20 Jb Evain <jbevain@gmail.com>
3354 * Math.cs: implement Math.Truncate.
3356 2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
3359 Another lame win32 dependent pattern. Fixed bug #78618.
3361 2006-06-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3363 * Environment.cs: Implement Set/GetEnvironmentVariable for User/Machine.
3365 2006-06-07 Kornél Pál <kornelpal@gmail.com>
3367 * Environment.cs: Use Consts.FxFileVersion for Environment.Version
3368 as Consts.RuntimeVersion was removed.
3370 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
3372 * Variant.cs: Added.
3373 * Environment.cs: Incremented corlib version since adding Variant.
3375 2006-06-01 Raja R Harinath <rharinath@novell.com>
3377 * Nullable.cs (operator==, operator!=): Remove.
3379 2006-05-31 Zoltan Varga <vargaz@gmail.com>
3381 * MonoDummy.cs: Removed as it is no longer needed.
3383 * Environment.cs: Bump corlib version.
3385 * Environment.cs: Revert the last change.
3387 * Environment.cs: Bump corlib version.
3389 * MonoAsyncCall.cs: New file.
3391 2006-05-30 Gert Driesen <drieseng@users.sourceforge.net>
3393 * Char.cs: Removed duplicate (explicit) interface implementation.
3394 * String.cs: Removed duplicate (explicit) interface implemenation.
3395 * MulticastDelegate.cs: Fixed API mismatches.
3397 2006-05-29 Paolo Molaro <lupus@ximian.com>
3399 * String.cs: make sure that the chars truncated by a stringbuilder
3402 2006-05-29 Martin Baulig <martin@ximian.com>
3405 (Exception.StackTrace): Use the new stack trace format which is
3406 very similar to the one of MS.NET - method name goes first,
3407 file / line number last and in the method name, we separate class
3408 and method name by `.'.
3411 (Environment.StackTrace): Enable line-number information.
3413 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
3416 Implement 2.0 TryParseExact(). Patch by Seo Sanghyeon.
3418 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
3420 * Array.cs : added internal sort method used
3421 in System.Collections.Generics.List<T>.Sort(Comparison<T>).
3423 2006-05-15 Zoltan Varga <vargaz@gmail.com>
3425 * Environment.cs: Bump corlib version.
3427 2006-05-10 Zoltan Varga <vargaz@gmail.com>
3429 * MonoType.cs (GetMethodImpl): Fix a warning.
3431 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
3433 * ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
3434 Patch by Kazuki Oikawa. Fixed bug #77277.
3436 2006-05-07 Zoltan Varga <vargaz@gmail.com>
3438 * Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
3440 2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
3442 * Nullable.cs : updated Nullable<T> API to 2.0 RTM.
3444 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
3446 * Double.cs : (Parse) handle currency symbol when
3447 AllowCurrencySymbol is passed as part of the style. Patch by
3448 nede@aliquant.com, modified to eliminate redundant Substring().
3449 This fixes bug #77721.
3451 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
3453 * MonoType.cs : (GetMethod) when zero-length type[] is explicitly
3454 passed, don't return methods with some arguments. Fixed bug #77367.
3456 2006-04-21 Gert Driesen <drieseng@users.souceforge.net>
3458 * Enum.cs: Provide meaningful message when type of passed in value
3459 does not match enum type.
3461 2006-04-19 Raja R Harinath <rharinath@novell.com>
3463 * Char.cs (Equals): Don't access 'm_value' field of other
3464 instances. Cast directly to 'char'.
3466 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
3468 * DateTime.cs : implement SpecifyKind(). Patch by Thong Nguyen.
3470 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
3472 * NumberFormatter.cs : general performance improvements. Avoid
3473 extraneous evaluation for simple formatting. Details are seen in
3474 bug #77792. Patch by Kazuki Oikawa.
3476 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
3478 * DateTime.cs : implement IsDaylightSavingTime().
3479 Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>.
3481 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
3484 added some more [ReliabilityContract].
3485 removed some [CLSCompliant].
3486 renamed generic method parameter names.
3488 2006-03-31 Zoltan Varga <vargaz@gmail.com>
3490 * Environment.cs (SetEnvironmentVariable): Implement.
3492 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
3494 * Array.cs : oops, the last change caused regression. The array must
3495 be transparent to ReadOnlyCollection, not create another list.
3497 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
3499 * Array.cs : AsReadOnly<T>() in RTM returns ReadOnlyCollection<T>.
3500 Thus removed ReadOnlyArray<T> and ReadOnlyArrayEnumerator<T>.
3501 In 2.0 some members became non-virtual.
3503 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3505 * String.cs : oops, NET_2_0.
3507 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
3509 * String.cs : added new IndexOf() and LastIndexOf() overloads, and
3510 IEnumerable<char>.GetEnumerator().
3512 2006-03-21 Kornél Pál <kornelpal@gmail.com>
3514 * String.cs: Make memcpy4 private as it is a helper method.
3515 Make memcpy internal to can be used from UnicodeEncoding.
3517 2006-03-19 Marek Safar <marek.safar@seznam.cz>
3519 * Nullable.cs (Compare, Equals): Added constrain as gmcs now correctly
3520 reports an error here.
3522 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
3524 * Double.cs : (Parse) reject String.Empty.
3526 Wed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>
3528 * LocalDataStoreSlot.cs: implement as index in an array.
3529 Implemented finalizer and allow it to remove the data stored
3532 2006-03-15 Zoltan Varga <vargaz@gmail.com>
3534 * Environment.cs: Bump corlib version.
3536 2006-03-10 Zoltan Varga <vargaz@gmail.com>
3538 * MonoCustomAttrs.cs (IsDefined): Avoid a runtime assert if a type
3539 overwrites GetCustomAttributes () but not IsDefined ().
3541 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
3543 * Environment.cs: Bumped corlib version to 48 (due to r57532)
3545 2006-03-07 Martin Baulig <martin@ximian.com>
3547 * String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
3548 from the `provider' if possible.
3550 2006-02-26 Gert Driesen <drieseng@users.souceforge.net>
3552 * DecimalFormatter.cs: Removed obsolete class, as it has been replaced
3554 * DoubleFormatter.cs: Same.
3555 * SingleFormatter.cs: Same.
3557 2006-02-21 Marek Safar <marek.safar@seznam.cz>
3559 * String.cs (Equals): Optimized for speed.
3561 2006-02-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3563 * TermInfoDriver.cs: patch by Mike Hull that fixes bug #77518.
3565 Mon Feb 20 11:19:54 CET 2006 Paolo Molaro <lupus@ximian.com>
3567 * MonoType.cs: patch from Joachim Ante <joe@otee.dk> to
3568 improve error messages.
3570 2006-02-15 Martin Baulig <martin@ximian.com>
3572 * Type.cs (Type.IsGenericInstance): Removed.
3574 2006-02-14 Ankit Jain <jankit@novell.com>
3575 Raja R Harinath <rharinath@novell.com>
3577 * ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
3580 2006-02-11 Zoltan Varga <vargaz@gmail.com>
3582 * TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
3585 * TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
3586 size using an icall.
3587 (GetCursorPosition): Convert the row and column to 0 based indexing.
3588 Also fix reading of large values.
3589 (CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.
3591 * ConsoleDriver.cs (GetTtySize): New icall.
3593 2006-02-10 Zoltan Varga <vargaz@gmail.com>
3595 * Array.cs: Fix some methods which previously returned Nullable<T>.
3597 * Nullable.cs: Add T: struct constraint and fix constructor.
3599 Fri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
3601 * String.cs: changed StartsWith/EndsWith to faster versions.
3603 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3605 * String.cs: implement 2.0 StartsWith and EndsWith new overloads. Based
3606 on a patch by Thong Nguyen.
3608 2006-01-31 Zoltan Varga <vargaz@gmail.com>
3610 * String.cs: Implement one of the new net 2.0 Split methods.
3612 2006-01-31 Atsushi Enomoto <atsushi@ximian.com>
3614 * String.cs : (LastIndexOf) Fixed bug #77412. It should not expect
3615 that value length is bigger than its index.
3617 2006-01-27 Zoltan Varga <vargaz@gmail.com>
3619 * DateTime.cs: Add some 2.0 methods and properties.
3621 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3623 * Console.cs: if InternalCodePage returns -1, use the default encoding.
3624 Also match the UTF8 one properly. Patch by wall_john@sohu.com.
3626 2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
3628 * ModuleHandle.cs : GetPEKind() is not public in 2.0 RTM.
3630 2006-01-16 Alp Toker <alp@atoker.com>
3632 * TimeSpan.cs: Simple implementation of NET 2.0 TryParse() using
3635 2006-01-05 Raja R Harinath <rharinath@novell.com>
3637 Fix regressions introduced by the fix to #71300.
3638 * Activator.cs (CreateInstance): Use Binder.SelectMethod instead
3639 of home-grown FindBestCtor.
3640 (FindBestCtor): Delete.
3642 2006-01-03 Zoltan Varga <vargaz@gmail.com>
3644 * Nullable.cs: Update to Net 2.0 RTM.
3646 * Nullable.cs: Add comments about runtime dependencies on the layout of
3649 2006-01-02 Sebastien Pouliot <sebastien@ximian.com>
3651 * Activator.cs: Now find the best ctor when null are used for
3652 paramaters. Fix bug #71300. Added checks for specific types (void,
3653 TypedReference, ArgIterator and RuntimeArgumentHandle).
3654 * Console.cs: Re-use Environment logic to detect Windows.
3655 * Type.cs: Re-applied r45150 as the real bug was in Activator.
3657 2006-01-02 Zoltan Varga <vargaz@gmail.com>
3659 * Activator.cs: Add a 'params' to one of the CreateInstance overloads.
3661 * RuntimeTypeHandle.cs RuntimeMethodHandle.cs RuntimeFieldHandle.cs:
3662 Add == and != operators.
3664 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
3666 * Environment.cs: Bump corlib version to 46.
3667 * TimeZone.cs: Partial fix for #76094. Added [Serializable] attribute
3668 and renamed internal CurrentTimeZone class to CurrentSystemTimeZone
3669 (like MS). This allows serialization roundtrip to work in Mono but
3670 there's still an issue when deserializing a stream from MS.
3672 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
3674 * NumberFormatter.cs: Fixed rounding for float and the string output
3675 now includes all the precision (not counting preceding zeros). This
3676 fix the DecimalTest.TestConstructSingleRounding_NotWorking test cases.
3678 2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
3680 * Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
3682 2005-12-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
3684 * Array.cs: Added the Sort<T> methods (generics).
3686 2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
3688 * Array.cs: Fixed BinarySearch when the array is empty (#77030). Added
3689 some null check which throws ArgumentNullException under 2.0.
3691 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
3693 * DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
3694 * Double.cs: Under 2.0 throw a ArgumentException when parsing with
3695 NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
3696 second, simpler, TryParse method (2.0).
3697 * Single.cs: Added the TryParse methods for 2.0.
3699 2005-12-15 Raja R Harinath <rharinath@novell.com>
3701 * Type.cs (IsGenericType): Make virtual.
3703 2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
3705 * AppDomainSetup.cs: ApplicationBase throw exception on get (not on
3706 set). New behaviour is more like MS - but most issues (unit tests)
3707 were really path issues. Fix bug #71291.
3708 * DateTime.cs: Add more information when throwing an exception in
3709 ctor(long). Useful for debugging.
3711 2005-12-07 Zoltan Varga <vargaz@gmail.com>
3713 * Single.cs Double.cs: Fix warnings.
3715 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
3717 * Convert.cs: ToBase64String method didn't use the option parameter so
3718 we always included new lines. Fix bug #76876.
3720 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
3722 * AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC
3723 (the docs were fixed).
3724 * NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was
3725 misrounded compared to MS implementation. Extra care is required when
3726 dealing with the extra 2 digits information (e.g. double precision is
3727 15 digits but 17 are kept - for a reason ;-)
3729 2005-12-05 Ben Maurer <bmaurer@ximian.com>
3731 * Environment.cs: Bump version
3733 * Nullable.cs: New Box and Unbox methods for the jit
3735 2004-12-05 Peter Dennis Bartok <pbartok@novell.com>
3737 * Enum.cs: Properly handle "No bits set" case even if the sorted numbers
3738 list does not have enum value 0 as the first item. Fixes #76921
3740 2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
3742 * AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
3744 Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
3746 * Double.cs: remove unused icall.
3747 * BitConverter.cs: handle double binary format on ARM FPA.
3749 2005-12-02 Alp Toker <alp@atoker.com>
3752 * Type.cs: DeclaringMethod should return MethodBase, not MethodInfo
3754 2005-12-02 Alp Toker <alp@atoker.com>
3756 * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
3757 ReflectionOnlyAssemblyResolve in 2.0 final
3759 2005-12-01 Alp Toker <alp@atoker.com>
3761 * String.cs: Add static and non-static Equals(... StringComparison) for
3764 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3766 * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
3768 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3770 * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
3771 have to add 1 to x and y when setting the cursor position.
3774 * Convert.cs: remove unused variables.
3776 Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
3778 * NumberFormatter.cs: work around arch-specific ulong cast behaviour
3781 Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
3783 * Convert.cs: fix endianess issue when converting to base-8
3784 format. All the base code would need a rewrite for efficience.
3786 2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
3788 * String.cs: Added support for Compare(... StringComparison) in 2.0.
3790 2005-11-25 Alp Toker <alp@atoker.com>
3792 * Type.cs (IsVisible): New 2.0 property, implemented recursively.
3794 2005-11-17 Dick Porter <dick@ximian.com>
3796 * Environment.cs: Incremented corlib version
3798 2005-11-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
3800 * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
3801 UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
3802 methods to return the exception as an out parameter,
3803 instead of throwing it. This will be of special help
3804 to TryParse methods.
3805 * Environment.cs: Update corlib version to 42.
3807 2005-11-14 Raja R Harinath <rharinath@novell.com>
3809 * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
3811 2005-11-11 Zoltan Varga <vargaz@gmail.com>
3813 * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
3815 2005-11-11 Lluis Sanchez Gual <lluis@novell.com>
3817 * TimeZone.cs: Removed incorrect double-check lock and unneeded
3820 2005-11-11 Marek Safar <marek.safar@seznam.cz>
3822 * Type.cs: IsNested implemented, signature fixes.
3824 2005-11-11 Raja R Harinath <rharinath@novell.com>
3826 * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
3828 2005-11-10 Zoltan Varga <vargaz@gmail.com>
3830 * Array.cs (Resize<T>): New internal method which takes a 'length' argument
3831 as well to avoid copying the whole array.
3833 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
3835 * Int64.cs : ditto for long.
3837 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
3839 * Int32.cs : Parse("2147483648", format_provider) should be rejected.
3841 2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
3843 * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable]
3845 * Base64FormattingOptions.cs: Added missing [Flags] attribute.
3846 * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were
3847 already replaced by Backspace and Whitespace)
3848 * DateTime.cs: Moved DayOfWeek enum to it's own file.
3849 * DateTimeKind.cs: New (2.0) enum.
3850 * DayOfWeek.cs: New file (extracted from DateTime.cs).
3851 * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
3852 * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed
3853 values (-1 to all of them).
3854 * Exception.cs: Added a LinkDemand for SerializationFormatter on
3855 GetObjectData method.
3856 * LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable]
3857 on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
3859 * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0
3861 * StringComparison.cs: New (2.0) enum (needed for Uri).
3862 * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
3863 * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0
3866 2005-11-08 Atsushi Enomoto <atsushi@ximian.com>
3868 * Type.cs : I forgot to mention, some '(' were missing in the
3871 2005-11-08 Zoltan Varga <vargaz@freemail.hu>
3873 * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
3874 IsSerializable property, since the latter returns true for delegates/enums.
3876 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
3878 * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
3879 makes maintenance easier.
3881 2005-10-24 Martin Baulig <martin@ximian.com>
3883 * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
3885 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3887 * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
3889 2005-10-20 Raja R Harinath <rharinath@novell.com>
3891 * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
3893 2005-10-16 Michal Moskal <malekith@nemerle.org>
3895 * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
3897 2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
3899 * DateTime.cs : another crappy Windows dependent format.
3901 2005-10-14 Ben Maurer <bmaurer@ximian.com>
3903 * DateTime.cs: Speed up when parsing date time objects by not
3904 duplicating cultureinfo arrays.
3906 2005-10-13 Zoltan Varga <vargaz@gmail.com>
3908 * Type.cs (GetTypeCode): Applied patch from
3909 Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
3912 2005-10-07 Zoltan Varga <vargaz@gmail.com>
3914 * Delegate.cs: Add support for delegate covariance and contravariance
3917 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
3919 * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
3921 2005-09-26 Zoltan Varga <vargaz@gmail.com>
3923 * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
3926 2005-09-23 Miguel de Icaza <miguel@novell.com>
3928 * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
3930 2005-09-19 Zoltan Varga <vargaz@gmail.com>
3932 * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
3933 attributeType parameter.
3934 (IsDefined): New icall.
3936 * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
3937 object when only a specific attribute type is requested. Fixes #76062.
3939 * Environment.cs: Bump corlib version.
3941 2005-09-09 Zoltan Varga <vargaz@gmail.com>
3943 * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
3945 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
3947 * DateTime.cs : (_DoParse) don't check ticks range before computing
3948 the actual value. Fixed bug #76082.
3950 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
3952 * TimeZone.cs : When the target DateTime is in the range of
3953 DST end to DST + delta, don't adjust UtcOffset gap between that of
3954 DST and that of STD. This should fix bug #75985.
3956 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
3958 * TimeZone.cs, DateTime.cs :
3959 - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
3960 - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
3961 - use ToLocalTime() and don't depend on the own offset computation.
3962 Parse() with 'Z' pattern is closer to correct value on switching
3963 Daylight Saving Time. See bug #75985.
3965 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
3967 * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
3968 handled as expected and it kept time value as local one.
3969 Patch by Brion Vibber. Fixed bug #75995.
3971 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
3973 * DateTime.cs : Literal escape (\) was not checking format as
3974 expected. Fixed bug #75213.
3976 2005-09-05 Miguel de Icaza <miguel@novell.com>
3978 * MonoType.cs: Patch from Jonathan Chambers to implement
3981 2005-09-05 Martin Baulig <martin@ximian.com>
3983 Reflect latest API changes in the August CTP.
3985 * Type.cs (Type.HasGenericArguments): Removed.
3986 (Type.BindGenericParameters): Renamed to MakeGenericType().
3988 2005-09-01 Atsushi Enomoto <atsushi@ximian.com>
3990 * DateTime.cs : another idiotic COM dependent format.
3992 2005-09-01 Kornél Pál <kornelpal@hotmail.com>
3994 * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
3995 Added some comments about the class.
3997 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
3999 * AppDomain.cs: Use the more concise property syntax for declarative
4001 * AppDomainManager.cs: Default HostSecurityManager is null.
4003 2005-08-25 Atsushi Enomoto <atsushi@ximian.com>
4005 * NumberFormatter.cs : eliminate non-ASCII character.
4007 2005-08-25 Marek Safar <marek.safar@seznam.cz>
4009 * Enum.cs: Better exception message.
4011 2005-08-21 Gert Driesen <drieseng@users.sourceforge.net>
4013 * Convert.cs: In FromBase64String, return empty byte array for zero
4014 length string. Pass bool to InternalFromBase64String to control
4015 whether to allow a whitespace-only string.
4016 * Environment.cs: Bump corlib version.
4018 2005-08-20 Zoltan Varga <vargaz@freemail.hu>
4020 * Environment.cs: Bump corlib version.
4022 2005-08-19 Zoltan Varga <vargaz@freemail.hu>
4024 * Math.cs: Implement a new 2.0 Round method.
4026 2005-08-19 Gert Driesen <drieseng@users.sourceforge.net>
4028 * Convert.cs: Throw OverflowException if result is larger than
4029 ushort.MaxValue to match MS.NET. Remove commented code.
4031 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
4033 * Convert.cs: For now, do not throw OverflowException if hex prefixed
4034 value is negative for signed types (other than int64). Need to look
4037 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
4039 * Convert.cs: Numerous fixed in overloads taking base to match
4040 behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
4041 empty. If base is 16, 8 or 2, then throw ArgumentException if first
4042 character is a negative sign. Throw OverflowException if hex prefixed
4043 value is negative for signed types (other than int64) to match MS.NET.
4045 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
4047 * DateTime.cs : added another COM dependent pattern (rather to describe
4048 how it works on .NET than to add the pattern itself...).
4050 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
4052 * DateTime.cs : added case for bug #53023.
4054 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
4056 * Type.cs: Add IsGenericType property from NET 2.0.
4058 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
4060 * String.cs : added new StartsWith()/EndsWith() override, fixing
4061 existing EndsWith() which incorrectly assumed that both string
4062 lengths must be equivalent (they are not always equal).
4063 * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
4065 2005-08-09 Zoltan Varga <vargaz@freemail.hu>
4067 * String.cs: Implement Split(String[]) methods.
4069 2005-08-09 Miguel de Icaza <miguel@novell.com>
4071 * AppDomainSetup.cs: Full-pathization of the appBase should only
4072 be done on Windows, the ":" condition never applied to Linux.
4074 * ConsoleKey.cs: Include a few aliases for a few values that were
4075 introduced recently.
4077 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4079 * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
4082 2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
4084 * String.cs : (StartsWith) compared string lengths are not always the
4085 same in culture-sensitive comparison.
4087 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
4089 * Array.cs: Changed protected ctor to private. Fixes API compatibility
4091 * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
4092 be exposed in 2.0 profile.
4093 * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
4094 be exposed in 2.0 profile.
4095 * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
4096 be exposed in 2.0 profile.
4097 * Type.cs: Added GetType method and implemented _Type interface.
4098 Fixes API compatibility with MS.NET.
4100 2005-07-28 Marek Safar <marek.safar@seznam.cz>
4102 * StringComparer.cs: Add generics version of string interfaces.
4104 2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
4106 * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
4108 2005-07-26 Zoltan Varga <vargaz@freemail.hu>
4110 * StringSplitOptions.cs MidpointRounding.cs: New files.
4112 * String.cs Math.cs: Add stubs for some new 2.0 APIs.
4114 2005-07-26 Marek Safar <marek.safar@seznam.cz>
4116 * StringComparer.cs: New file.
4118 2005-07-26 Raja R Harinath <harinath@gmail.com>
4120 * Enum.cs (GetValue): Make private. Return an ulong.
4121 (Parse): Tighten scope of couple of variables. Use ulong when
4124 2005-07-25 Raja R Harinath <rharinath@novell.com>
4126 * Enum.cs (FindName, GetValue): New. Carved out of ...
4127 (Parse): ... this. Refactor and simplify code. Avoid incurring
4128 exceptions when parsing names. Avoid allocating arrays unless
4129 necessary. Avoid conversion of an enumeration constant to its own
4130 type. (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
4132 2005-07-13 Lluis Sanchez Gual <lluis@novell.com>
4134 * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
4137 2005-07-13 Miguel de Icaza <miguel@novell.com>
4139 * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
4140 signature for GetValue and SetValue to make the long [] argument
4141 be a params argument.
4143 2005-07-11 Pedro Martínez Juliá <pedromj@gmail.com>
4145 * Convert.cs: Fix the bug when Convert.ChangeType was using
4146 NumberFormatInfo instead of DateTimeFormatInfo when the type to
4147 change is a DateTime.
4149 2005-07-11 Martin Baulig <martin@ximian.com>
4151 * Array.cs: Use Type.Equals() instead of `==' to compare type
4154 2005-07-10 Kamil Skalski <nazgul@nemerle.org>
4156 * Type.cs: Mark BindGenericParameters as deprecated. Use
4157 MakeGenericType as default implementation with updated signature.
4159 2005-07-09 Zoltan Varga <vargaz@freemail.hu>
4161 * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
4164 2005-07-05 Lluis Sanchez Gual <lluis@novell.com>
4166 * DelegateSerializationHolder.cs: When the deserialized target is
4167 a proxy, call IsInstanceOfType to force the proxy to load the
4168 real type of the remote object. This is needed to make sure that
4169 subsequent calls to GetType() return the expected type. This fixes
4172 2005-07-03 Ben Maurer <bmaurer@ximian.com>
4174 * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
4177 2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
4179 * Guid.cs: Avoid code duplication between overriden methods (new in
4180 2.0). Avoid exception processing when possible. Renamed parameters to
4181 match the framework. Added ComVisible to NET_2_0.
4183 2005-06-28 Elliott Draper <el@eldiablo.co.uk>
4185 * Activator.cs: This implements the generic Activator.CreateInstance<T>()
4186 function for NET_2_0. It's full signature is:
4187 public static T CreateInstance<T>();
4189 2005-06-28 Lluis Sanchez Gual <lluis@novell.com>
4191 * Decimal.cs: Renamed internal fields for the sake of serialization
4192 interoperability with MS.NET.
4193 * Exception.cs: In the StackTrace property, return the stack trace
4194 if it has a value, even if the exception has not been thrown
4195 (it may have been deserialized).
4197 2005-06-28 Martin Baulig <martin@ximian.com>
4199 * Array.cs (Array.InternalArray<T>): New nested class; derives
4200 from Array. This is now used by the runtime for arrays; fixes #74953.
4202 2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
4204 * String.cs : added some extra whitespace characters for Trim().
4207 2005-06-13 Michal Moskal <malekith@nemerle.org>
4209 * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
4210 since it now throws on MethodBuilders. Don't use FieldHandle in
4211 GetField (throws on FieldBuilder) - just use the name.
4213 2005-06-13 Martin Baulig <martin@ximian.com>
4216 (MonoType.getFullName): Added `bool assembly_qualified' argument.
4217 (MonoType.AssemblyQualifiedName): The interncall now adds the
4218 assembly name, so we don't need to do it here.
4219 (MonoType.FullName): Use the new getFullName() API.
4221 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
4223 * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in
4224 NET_2_0. Added "new" white char and ComVisible for 2.0.
4226 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4228 * Convert.cs: FromBase64String and FromBase64CharArray are now internal
4229 calls to avoid extra allocations.
4231 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
4233 * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
4235 * Type.cs MonoType.cs: Add internal virtual
4236 Get{Method,Constructor,Field} for obtaining instanciated *Info objects
4237 from non-instanciated counterparts
4239 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
4241 * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
4243 2005-06-08 Zoltan Varga <vargaz@freemail.hu>
4245 * Type.cs: Add missing 2.0 attributes.
4247 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
4249 * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
4250 also internal method GetCustomAttributesData, used by
4251 System.Reflection.CustomAttributeData.
4253 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
4255 * Activator.cs: Added _Activator interface (and members) for 1.1 and
4256 missing attributes (for both 1.1 and 2.0).
4257 * String.cs: Made internal To[Lower|Upper]Invariant methods public for
4258 2.0. Reworked Trim() to skip a useless call. Added missing attribute
4260 * Type.cs: Added _Type, _MemberInfo interfaces (1.1/2.0). Added
4261 missing attribute for 2.0. Hided some public/protected methods.
4263 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
4265 * ModuleHandle.cs: Update after PortableExecutableKinds name change.
4267 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
4269 * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
4270 * AppDomain.cs: Added new members from _AppDomain interface.
4271 * AppDomainManager.cs: Fixed flags and added attributes.
4272 * DomainManagerInitializationFlags.cs: The flag has been renamed to
4273 AppDomainManagerInitializationOptions in beta2.
4275 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
4277 * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
4279 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
4281 * Exception.cs: Implements _Exception only for 2.0.
4283 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
4287 * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs
4288 String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs
4289 RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
4291 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4294 * AppDomain.cs: if the assembly is loaded from a byte array, Location
4295 returns "". Fixes bug #74958.
4297 2005-06-04 Ben Maurer <bmaurer@ximian.com>
4299 * *.cs: More 2.0 API fixups
4301 * *.cs: In beta 2, generics are no longer non-cls-compliant.
4303 2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
4305 * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
4306 that was different from MSFT.
4307 * String.cs: Fixed IndexOfAny thrown an exception
4308 when startIndex of arguments equals Length. (Closes bug #75083.)
4310 * Decimal.cs: Changed to use NumberFormatter in ToString.
4311 * NumberFormatter.cs: Implemented decimal formatter.
4313 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4315 * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
4316 support in System.Net work again.
4318 2005-06-01 Ben Maurer <bmaurer@ximian.com>
4320 * CharEnumerator.cs: add IEnumerable <char> support
4322 2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
4324 * Activator.cs: Added missing validation on parameters.
4326 2005-05-28 Ben Maurer <bmaurer@ximian.com>
4328 * Type.cs: Check that the arguments of the `types' array are
4329 non-null. Fixes bug 71300
4331 2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
4333 * AppDomainSetup.cs: Added new 2,0 constructors and the
4334 ActivationArguments property.
4335 * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
4336 new location for the ApplicationActivator class.
4337 * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
4339 2005-05-27 Vladimir Vukicevic <vladimir@pobox.com>
4341 * Environment.cs: bump corlib version for bug #75060.
4343 2005-05-27 Raja R Harinath <rharinath@novell.com>
4345 * Environment.cs (ExpandEnvironmentVariables): Rewrite
4346 sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
4347 * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
4348 sb.Append (s, a, s.Length - a). Avoid allocating 'pad' string --
4349 StringBuilder has an appropriate Append overload.
4351 2005-05-26 Zoltan Varga <vargaz@freemail.hu>
4353 * Type.cs (IsEnum): Special case EnumBuilder here.
4355 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
4357 * MonoType.cs: Changed call from GetName to UnprotectedGetName to
4358 allow call to work with serialization under a restrictive policy.
4359 The code path (the protected information) isn't being used.
4361 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
4363 * Exception.cs: Use the new StackTrace ctor.
4365 * Type.cs: Improve support for user defined type subclasses.
4367 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
4369 * DateTime.cs : Added minimum digit parameter to ParseNumber() to
4370 reject 2 digit years for "yyyy".
4371 Use GetAllDateTimePatterns() instead of constant string.
4374 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
4376 * DateTime.cs : next_not_digit prevented some valid parse.
4377 Just remove it, since now we pass max length to ParseNumber() and
4378 thus it is not needed anymore. Fixed bug 63137.
4380 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
4382 * DateTime.cs : HH should not always block tt. Fixed bug #60912.
4383 Reset num after whitespace parsing.
4384 Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
4386 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
4388 * DateTime.cs : Allow ',' where whitespaces are allowed.
4391 2005-05-22 Ben Maurer <bmaurer@ximian.com>
4393 * BitConverter.cs: Speed this up, fixing 74014. Patch from
4394 `Aleksandar Dezelin'.
4396 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
4398 * Type.cs: Add some helper methods needed by other classes.
4400 * Array.cs: Improve support for user defined Type subclasses.
4402 * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
4403 wrapper function, not used yet.
4405 * Type.cs Array.cs: Revert this as it breaks the build.
4407 * Type.cs Array.cs: Improve support for user defined Type subclasses.
4409 2005-05-19 Ben Maurer <bmaurer@ximian.com>
4411 * Delegate.cs (Equals): Use `as' to protect in the case where !
4414 2005-05-19 Raja R Harinath <rharinath@novell.com>
4416 * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
4419 2005-05-19 Miguel de Icaza <miguel@novell.com>
4421 * TermInfoDriver.cs: Removed warning.
4423 * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
4424 FindLastIndex<T>: Parameter names are normative.
4425 Fix coding style ("Method<T>" not "Method <T>")
4426 Throw argument exceptions per argument.
4428 (FindAll): Fix bug, actually return the values that were computed,
4429 not a short version of the original array.
4431 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4433 * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
4434 for each framework version.
4436 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4439 * Exception.cs: .Net 1.1 already has these interfaces
4441 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
4443 * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
4444 object on GetCustomAttributes (fixes bug #74717).
4446 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
4448 * DateTime.cs : for 'z' next_not_digit didn't work as expected.
4451 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
4453 * DateTime.cs : don't allow extraneous pattern characters also for
4454 non-exact parsing (ParseExact() was fine). Bug #74936 fixed
4456 2005-05-13 Gert Driesen <drieseng@users.sourceforge.net>
4458 * Activator.cs: Match exceptions thrown by MS.NET for
4459 CreateInstance overloads if type is abstract. Fixes bug #74861.
4461 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4463 * OperatingSystem.cs: PlatformID.Unix.
4465 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
4467 * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
4468 Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
4470 2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
4472 * NumberFormatter.cs : roundtrip number is already rounded before
4473 FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
4476 2005-05-07 Ben Maurer <bmaurer@ximian.com>
4478 * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
4479 the comparer in the same order as msft. Fixes #70725
4481 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4483 * Enum.cs: the hashtable don't need to be synchronized any more, since
4484 it's only accessed from withint a lock.
4486 * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
4489 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
4491 * Array.cs: Remove CLSCompliant (false) attributes.
4493 2005-05-06 Martin Baulig <martin@ximian.com>
4495 * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
4496 [CLSCompliant(true)] attribute.
4498 2005-05-04 Miguel de Icaza <miguel@novell.com>
4500 * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
4501 initialize cache as a static method. Fixes #74828.
4503 2005-05-03 Marek Safar <marek.safar@seznam.cz>
4505 * Console.cs: CancelKeyPress is stubbed.
4507 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
4509 * ActivationContext.cs: Updated for beta2.
4510 * AppDomainManager.cs: Updated for beta2.
4511 * ApplicationId.cs: Updated for beta2.
4512 * ApplicationIdentity.cs: Updated for beta2.
4513 * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception
4514 doesn't leak the code base from the returned AssemblyName.
4516 2005-04-25 Martin Baulig <martin@ximian.com>
4518 * Environment.cs (Environment.Version): Changed to 2.0.50215.
4520 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
4522 * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the
4523 number of "missing" in the class status pages.
4525 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4527 * MulticastDelegate.cs: (GetInvocationList) when building the list that
4528 is later traversed forward, mark 'this' as the end of the chain.
4531 2005-04-19 Zoltan Varga <vargaz@freemail.hu>
4533 * Environment.cs: Bump corlib version.
4535 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4537 * WindowsConsoleDriver.cs: ignore key release events.
4539 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
4541 * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
4543 2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
4545 * _AppDomain.cs: Add security checks to the interface. Declarative
4546 security on events requires BOOTSTRAP_WITH_OLDLIB to work properly
4548 * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
4549 blocking some cases from working properly. Declarative security on
4550 events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
4552 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
4554 * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
4555 on the AppDomain. Added an internal property to get the granted set.
4557 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
4560 Char.cs : use TextInfo for ToLower() and ToUpper().
4562 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
4564 * Exception.cs: Added Assert for TypeInformation to GetObjectData and
4565 ToString methods (not required for 2.0 as TypeInformation will be
4566 deprecated). Added null check for GetObjectData.
4568 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
4570 * Delegate.cs: allow IronPython 0.7 to compile.
4572 2005-03-24 Miguel de Icaza <miguel@novell.com>
4574 * Delegate.cs: Add CreateDelegate with a target option, currently
4575 internal as it is not exposed by the framework yet.
4577 2005-03-24 Zoltan Varga <vargaz@freemail.hu>
4579 * String.cs: Add some 2.0 methods.
4581 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
4583 * Activator.cs: Now use the supplied evidences when loading
4584 assemblies. Added LinkDemand for RemotingConfiguration on both
4586 * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
4587 Input|Output] as they use a handle on a FileStream (which is
4588 restricted otherwise). Added Demand for UnmanagedCode for the
4589 Set[Error|In|Out] methods.
4590 * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on
4591 CreateObjRef, GetLifetimeService and InitializeLifetimeService.
4592 * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on
4593 GetFunctionPointer method.
4594 * TypedReference.cs: Added LinkDemand for ReflectionPermission's
4595 MemberAccess on MakeTypedReference.
4597 2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
4599 * Environment.cs: Fix CAS unit tests for NET_1_1.
4600 * Exception.cs: Fix CAS unit tests for NET_1_1.
4602 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4604 * Version.cs: don't ignore the last number. Fixes bug #73539.
4606 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
4608 * MonoType.cs: When the security manager is active, constructors and
4609 methods will return null if a linkdemand fails during reflection
4612 2005-03-11 Zoltan Varga <vargaz@freemail.hu>
4614 * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
4616 2005-03-10 Zoltan Varga <vargaz@freemail.hu>
4618 * Environment.cs: Bump corlib version.
4620 2005-03-10 Martin Baulig <martin@ximian.com>
4622 * Nullable.cs (Nullable<T>.ToString): Return an empty string if
4625 2005-03-09 Zoltan Varga <vargaz@freemail.hu>
4627 * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
4628 (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
4631 2005-03-04 Zoltan Varga <vargaz@freemail.hu>
4633 * Environment.cs: Bump corlib version.
4635 * Exception.cs (StackTrace): Return the wrapper info as well.
4637 2005-03-02 Kazuki Oikawa <kazuki@panicode.com>
4639 * NumberFormatter.cs: Some internal classes was converted to structs,
4640 and improved some points.
4642 2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
4644 * NumberFormatter.cs: Improved performance and memory usage
4645 when integer standard format.
4656 * TimeSpan.cs: Improved these directly call to NumberFormatter.
4658 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4660 * TermInfoDriver.cs: set the xmit mode if available. Handle key input
4661 and translate them into a ConsoleKeyInfo.
4662 * TermInfoReader.cs: added a method to return the bytes of a string
4664 * ConsoleKeyInfo.cs: added copy constructor and setters.
4666 2005-02-24 Zoltan Varga <vargaz@freemail.hu>
4668 * Array.cs: Add missing 2.0 attributes and correct some parameter names.
4670 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
4672 * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
4673 and added some to support the reflection only methods. DoAssemblyResolve
4674 was modified to invoke the new PreBindAssemblyResolve event when the
4675 assembly is reflection only.
4677 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
4679 * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
4680 Add net 2.0 ReliabilityContractAttributes.
4682 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4684 * TermInfoDriver.cs: cygwin terminals are handled by the windows
4687 * TermInfoReader.cs:
4688 * TermInfoNumbers.cs:
4689 * KnownTerminals.cs:
4690 * TermInfoBooleans.cs:
4691 * TermInfoStrings.cs: documented.
4693 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
4695 * Array.cs: Reverse the order in the Equals calls.
4697 2005-02-18 Zoltan Varga <vargaz@freemail.hu>
4699 * Exception.cs (StackTrace): Implement this in managed code since it is
4700 needed by CAS. Fixes #72146.
4702 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4704 * WindowsConsoleDriver.cs: implemented MoveBufferArea.
4706 2005-02-14 Raja R Harinath <rharinath@novell.com>
4708 * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
4711 2005-02-12 Ben Maurer <bmaurer@ximian.com>
4713 * Version.cs (CompareTo, Equals): Make sure the versions for
4714 generics handle `null'. The non-generics versions now just call
4715 the regular versions, to reduce code duplication.
4717 * Boolean.cs (CompareTo): make this really work for generics
4719 * Type.cs (GetProperty): Passing new Type [0] is different than
4720 null. null means `I don't care how many types this has,' while new
4721 Type [0] means `this must have 0 types.'
4723 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4725 * corlib.dll.sources: added WindowsConsoleDriver.cs
4727 * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
4728 implemented the few missing properties/methods.
4730 * System/IConsoleDriver.cs: uncommented all methods/properties.
4731 * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
4732 * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
4733 windows. Only missing MoveBufferArea by now.
4735 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
4737 * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
4739 * Int32.cs AppDomain.cs: Fix warnings.
4741 2005-02-10 Marek Safar <marek.safar@seznam.cz>
4743 * IServiceProvider.cs: Is not ComVisible.
4745 * NonSerializedAttribute.cs: Fix AttributeUsage flags.
4747 * Type.cs: Fix ClassInterface attribute.
4749 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
4751 * Delegate.cs: remove the finalizer from Delegate: this
4752 is handled internally by the runtime now.
4754 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4756 * Activator.cs: provide the Type name when throwing an exception.
4758 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4760 * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
4763 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
4765 * Array.cs: provide specialized versions of some methods.
4767 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
4769 * String.cs: provide a managed memcpy and memset method
4770 for use both in corlib and from the JIT. Implement
4771 some methods with the managed helpers and remove some icalls.
4773 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
4775 * Exception.cs: Added Data property for NET_2_0 (required for new
4778 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4781 * TermInfoDriver.cs:
4782 * IConsoleDriver.cs:
4783 * Console.cs: added BufferWidth and BufferHeight.
4785 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4789 * TermInfoDriver.cs:
4790 * IConsoleDriver.cs: added a few more properties and fixed cursor
4793 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4795 * ConsoleDriver.cs: static class that forwards the Console 2.0 class
4796 calls to the proper driver.
4797 * TermInfoDriver.cs: terminfo based console driver.
4798 * IConsoleDriver.cs: interface implemented by console drivers.
4800 * ConsoleCancelEventArgs.cs:
4801 * ConsoleCancelEventHandler.cs:
4803 * ConsoleModifiers.cs:
4804 * ConsoleSpecialKey.cs:
4806 * ConsoleKey.cs: new enumerations.
4808 * ConsoleKeyInfo.cs: New file.
4810 * TermInfoReader.cs: reader for terminfo capabilities files.
4812 * TermInfoNumbers.cs:
4813 * TermInfoBooleans.cs:
4814 * TermInfoStrings.cs: enumations for terminfo property names.
4816 * KnownTerminals.cs: byte arrays for selected terminals.
4818 * Console.cs: added more 2.0 methods and implemented some of them.
4821 2005-01-30 Atsushi Enomoto <atsushi@ximian.com>
4823 * Int32.cs : (FindSign) IndexOf() is better than creating substring.
4825 2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
4827 * BadImageFormatException.cs: Protect the fusion (GAC) log from being
4828 disclosed unless code has ControlPolicy and ControlEvidence.
4830 2005-01-27 Zoltan Varga <vargaz@freemail.hu>
4832 * Exception.cs: Compute stack trace on demand.
4834 2005-01-26 Sebastien Pouliot <sebastien@ximian.com>
4836 * Environment.cs: Removed hack for static class (NET_2_0). Added
4837 proper security for FailFast (documented in FDBK20543). Added new
4838 method IsRunningOnWindows to replace (Platform == 128) as the logic is
4839 gonna change in the future (Unix is id #4 in NET_2_0).
4841 2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
4843 * Environment.cs: Added CAS security (both declarative and imperative)
4844 as a test. This shouldn't affect execution unless --security is
4847 2005-01-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4848 * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
4849 and Type.FilterName delegates They weren't dealing with the optional '*'
4850 at the end of the filter mask
4852 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
4854 * Array.cs: Fix a typo in the previous patch.
4856 * Array.cs: Fix some test failures in the generic methods.
4858 * Array.cs: Implement AsReadOnly.
4860 2005-01-13 Geoff Norton <gnorton@customerdna.com>
4862 * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE). Fixes
4865 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
4867 * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
4868 have been removed from 2.0.
4870 2005-01-11 Zoltan Varga <vargaz@freemail.hu>
4872 * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
4875 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
4877 * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
4878 Add default culture (neutral) to the name when none is specified.
4879 * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we
4882 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
4884 * DateTime.cs: Reverted last patch for utc as it broke all certificate
4885 handling and another unit test in DateTime.
4887 2005-01-09 Miguel de Icaza <miguel@ximian.com>
4889 * DateTime.cs: Return immediately if useutc is set to true, there
4890 is no need to do the extra computation (which also happened to
4891 create a new DateTime using the `use_localtime' constructor, which
4892 lead to the erroneous date returns when using 'u' or `U'
4895 Fixes another bug in the regression test suite.
4897 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
4899 * AppDomain.cs: Fix the DefaultDomain property to return the root
4900 domain (as it seems that the root's Id isn't always 0).
4901 * BitConverter.cs: The "special support" for ToString(new byte[0]) is
4902 only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
4904 2005-01-08 Miguel de Icaza <miguel@ximian.com>
4906 * IntegerFormatter.cs: The - sign inside the "negative" section in
4907 a multi-format string means `show the sign' only if it is the
4908 first token, not `copy verbatim'. In the other sections it means
4911 This makes things like: (-34).ToString ("#;-#") show up as "-34"
4914 The bad news is that this code needs to be rewritten to handle all
4915 the formatting cases, see bug #71112 for details.
4917 * Convert.cs (Convert.ToType): Throw an InvalidCastException if
4918 the conversion is invalid, not ArgumentException, this fixes
4919 another regression in our test suite.
4921 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
4923 * AppDomain.cs: Add ApplicationIdentity property for 2.0;
4924 * AppDomainManager.cs: Remove HostRefusedSet support (it does not
4927 2005-01-08 Zoltan Varga <vargaz@freemail.hu>
4929 * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static
4930 initialization problems.
4932 2005-01-02 Ben Maurer <bmaurer@ximian.com>
4934 * Int32.cs: NumberStyles.AllowExponent was supported by the
4935 Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
4938 2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
4940 * Base64FormattingOptions.cs : it was not in System namespace.
4942 2004-12-21 Atsushi Enomoto <atsushi@ximian.com>
4944 * DateTime.cs : If no progress on value string, don't regard as
4945 matched. This fixes bug #70707.
4947 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
4949 * Environment.cs: Bump corlib version.
4951 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
4953 * Array.cs (DoBinarySearch): Fix a warning.
4955 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
4957 * Environment.cs: Bump corlib version.
4959 * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
4961 2004-12-06 Ben Maurer <bmaurer@ximian.com>
4963 * Exception.cs: Prevent stringifying the type name on the
4964 ctor. this gets called a few times on every execution to create a
4967 2004-12-06 Martin Baulig <martin@ximian.com>
4969 * Decimal.cs: Decimal constant support has been merged into GMCS,
4972 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
4974 * Environment.cs: Bump corlib version.
4976 * Environment.cs: Bump corlib version.
4978 2004-11-30 Zoltan Varga <vargaz@freemail.hu>
4980 * MonoType.cs (UnderlyingSystemType): Make this return this as in
4981 MS.NET. Fixes #56245.
4983 2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
4985 * GC.cs : Collect(generation) actually does not throw an exception
4986 even if generation > MaxGeneration (MS document bug).
4988 2004-11-28 Zoltan Varga <vargaz@freemail.hu>
4990 * Exception.cs: Implement _Exception under NET_2_0.
4992 * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
4994 * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
4995 NotCancelableException.cs TimeoutException.cs: New files.
4997 2004-11-23 Raja R Harinath <rharinath@novell.com>
4999 * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
5002 2004-11-23 Raja R Harinath <rharinath@novell.com>
5004 * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
5005 without decimal constant support.
5007 2004-11-23 Marek Safar <marek.safar@seznam.cz>
5009 * Decimal.cs: Updated to use compiler decimal constant support.
5011 2004-11-20 Zoltan Varga <vargaz@freemail.hu>
5013 * MonoType.cs: Revert last change since it breaks remoting.
5015 2004-11-18 Zoltan Varga <vargaz@freemail.hu>
5017 * MonoType.cs (UnderlyingSystemType): Make this return this as in
5018 MS.NET. Fixes #56245.
5020 2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
5022 * INullable.cs: New interface added.
5023 * Nullable.cs: Methods added. Also a static Nullable class
5024 containing static methods.
5026 2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
5028 * BitConverter.cs: Added support for special case when ToString is
5029 called with (new byte [0]).
5031 2004-11-10 Lluis Sanchez <lluis@novell.com>
5033 * Exception.cs: Added setter for StackTrace.
5035 2004-11-07 Ben Maurer <bmaurer@ximian.com>
5037 * IntegerFormatter.cs: Avoid .ToCharArray
5039 2004-11-06 Ben Maurer <bmaurer@ximian.com>
5041 * Single.cs, Double.cs (GetHashCode): Better hashcode impl
5043 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5045 * InvalidOperationException.cs: make the message more meaningful and
5046 real. Fixes bug #69055.
5048 2004-10-28 Ben Maurer <bmaurer@ximian.com>
5050 * String.cs: Rather than == String.Empty, use .Length == 0. It
5051 is a bit faster (avoids a method call, and the code is less complex).
5053 2004-10-24 Fawad Halim <fawad@fawad.net>
5054 * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
5055 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.
5056 This fixes bug #64995.
5058 2004-10-19 Lluis Sanchez <lluis@novell.com>
5060 * MarshalByRefObject.cs: Field _identity is not serializable.
5061 This fixes bug #68567.
5063 2004-10-17 Ben Maurer <bmaurer@ximian.com>
5065 * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
5066 avoid entering slow integer formatting code.
5068 (_ToString): Use ZeroPad here when possible, as it is faster.
5070 2004-10-11 Martin Baulig <martin@ximian.com>
5072 * Environment.cs: Bump corlib version to 28.
5074 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
5076 * Convert.cs (ToType): Throw an exception when converting null to a
5077 valuetype. Fixes #67780.
5079 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
5081 * DateTime.cs : Performance fix. ParseExact() implementation should
5082 avoid s = s.Substring(1).
5084 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
5086 * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
5087 of m/s/t/z. This fixes bug 66723.
5089 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
5091 * String.cs: make GetHashCode() managed.
5093 2004-10-04 Zoltan Varga <vargaz@freemail.hu>
5095 * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
5097 * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
5099 * ModuleHandle.cs: Add missing methods.
5101 * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
5103 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
5105 * AttributeTargets.cs: Add 2.0 GenericParameter value.
5107 * Environment.cs: Bump corlib version.
5109 2004-10-02 Zoltan Varga <vargaz@freemail.hu>
5111 * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
5113 2004-09-30 Geoff Norton <gnorton@customerdna.com>
5115 * Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
5116 and swapping of all values before going into the BitConverter so that values
5117 are returned with proper endianess.
5119 2004-09-23 Martin Garton <martin@wrasse.demon.co.uk>
5121 * Convert.cs: ToType was returning unconverted object when it should
5122 fail with an ArgumentException.
5124 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
5126 * Array.cs: Add stub for AsReadOnly<T>.
5128 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
5130 * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
5132 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
5135 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
5137 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
5140 * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
5143 * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
5145 * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
5146 sealed' optimization.
5148 * Type.cs: Implement 2.0 StructLayoutAttribute property.
5150 * Type.cs Add GetPseudoCustomAttributes () method.
5152 2004-09-24 Martin Baulig <martin@ximian.com>
5154 * Type.cs (Type.GetGenericParameterConstraints): New public method.
5156 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
5158 * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
5159 GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
5161 * Type.cs: Tweak Module property in 2.0 build.
5163 2004-09-23 Martin Baulig <martin@ximian.com>
5165 * Type.cs (Type.GenericParameterAttributes): New public property.
5167 2004-09-23 Martin Baulig <martin@ximian.com>
5169 * GenericParameterAttributes.cs: New file.
5171 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
5173 * ModuleHandle.cs: Updated after changes to Module class.
5175 2004-09-21 Geoff Norton <gnorton@customerdna.com>
5177 * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
5178 this filter. Fixes bug #65778.
5180 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
5182 * Environment.cs: Bump corlib version.
5184 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
5186 * ModuleHandle.cs: New file.
5188 * RuntimeFieldHandle.cs: Add an internal ctor.
5190 2004-09-19 Dick Porter <dick@ximian.com>
5192 * Console.cs: Use the internal wrappers for StreamReader and
5193 StreamWriter that catch IOException.
5195 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
5197 * Environment.cs: Bumped mono_corlib_version to 25.
5199 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5201 * AppDomain.cs: added SetupInformationNoCopy property, since
5202 SetupInformation creates a copy now, all updates to it should use the
5203 actual data. Fixes bug #61991 take 2.
5205 2004-09-09 Tim Coleman <tim@timcoleman.com>
5206 * Base64FormattingOptions.cs: New enum
5207 * Convert.cs: Add new ToBase64String methods for Fx 2.0
5209 2004-09-08 Marek Safar <marek.safar@seznam.cz>
5212 * GC.cs: Class is static for NET_2_0.
5214 2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
5216 * Activator.cs: Make sure not to call .GetType on a
5217 null argument. fixes 63852
5219 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
5221 * Array.cs (Clear): make this an icall.
5223 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
5225 * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
5227 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5229 * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
5230 insensitive enironment variables hashtable once we create it.
5232 2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
5234 * AppDomain.cs: Changed 2 imperative security demands to declarative
5235 (unsupported) so it doesn't (for now) call the security runtime.
5237 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
5239 * Delegate.cs: Free the delegate trampoline in the finalizer.
5241 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
5243 * ApplicationId.cs: Completed GetHashCode using information from MS
5246 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
5248 * Boolean.cs: Added TryParse static method for NET_2_0 profile.
5250 2004-08-19 Atsushi Enomoto <atsushi@ximian.com>
5252 * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
5253 allows 12, that should not be accepted (13 is rejected) and
5254 interpreted as 0. This fixes bug 63376.
5256 2004-08-17 Sebastien Pouliot <sebastien@ximian.com>
5258 * Version.cs: Fixed Clone so we can use it on versions with only
5259 major/minor or major/minor/build.
5261 2004-08-17 Martin Baulig <martin@ximian.com>
5263 * MonoType.cs (MonoType.getFullName): Added `bool full_name'
5264 argument specifying whether or not to include the type arguments.
5265 (MonoType.FullName): Don't include the type arguments.
5266 (MonoType.ToString): Include them here.
5268 * Environment.cs: Bumped mono_corlib_version to 24.
5270 2004-08-16 Duncan Mak <duncan@ximian.com>
5272 * AttributeUsageAttribute.cs: Change the AttributeUsage to
5273 AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
5276 2004-08-11 Marek Safar <marek.safar@seznam.cz>
5278 * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
5279 Added call to AddPermissionRequests to pass permissions
5281 * Environment.cs: Added a few Fx 2.0 methods
5283 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
5285 * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
5286 * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
5287 references). Added (non-obsolete) Fx 2.0 properties and methods.
5288 * AppDomainSetup.cs: Added internal copy constructor.
5289 * DomainManagerInitializationFlags.cs: Fixed values.
5291 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
5293 * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
5294 * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
5295 * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
5296 * ApplicationId.cs: New Fx 2.0 class.
5297 * ApplicationIdentity.cs: Fixed ToString.
5298 * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
5300 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
5302 * AppDomain.cs: Added a new icall, getDomainByID, to get the an
5303 AppDomain using it's Id. Completed SetAppDomainPolicy.
5304 * Environment.cs: Bumped mono_corlib_version to 23.
5306 2004-08-02 Martin Baulig <martin@ximian.com>
5308 * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
5310 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
5312 * Environment.cs : GacPath on windows is based on mscorlib.dll, and
5313 now its location is changed.
5315 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
5317 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
5320 2004-07-18 Martin Baulig <martin@ximian.com>
5322 * Array.cs: Ben Maurer implemented all the new generic methods
5325 2004-07-17 Martin Baulig <martin@ximian.com>
5327 * Decimal.cs: Implement IComparable<Decimal>.
5329 2004-07-17 Martin Baulig <martin@ximian.com>
5331 * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
5332 UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.
5334 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
5336 * ActivationContext.cs: New class in Fx 2.0. Required for
5337 System.Security.Policy.
5338 * ApplicationIdentity.cs: New class in Fx 2.0. Required for
5339 System.Security.Policy.
5340 * IApplicationDescription.cs: New interface in Fx 2.0. Required for
5341 System.Security.Policy.
5342 * IHostContext.cs: New interface in Fx 2.0. Required for
5343 System.Security.Policy.
5345 2004-07-12 Geoff Norton <gnorton@customerdna.com>
5347 * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
5348 boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
5349 and will add/subtract the hour if needed
5351 2004-07-07 Geoff Norton <gnorton@customerdna.com>
5353 * Monotype.cs: Patch for bug #58844. Dont throw exceptions right away;
5354 pass through all the possibly BindingInfo's and keep a bool value as to the type
5355 of exception we might need to throw;
5357 2004-07-07 Geoff Norton <gnorton@customerdna.com>
5359 * Patch to fix bug #58973
5361 2004-07-02 Jackson Harper <jackson@ximian.com>
5363 * PlatformID.cs: New 2.0 values.
5365 2004-06-25 Ben Maurer <bmaurer@ximian.com>
5367 * Environment.cs: GetFolderPath has new behavior. r=miguel
5369 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
5371 * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
5372 bigger than 9999. Fix bug #41845.
5373 * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
5374 the "R"eversible format for negative numbers.
5376 2004-06-21 Jackson Harper <jackson@ximian.com>
5378 * Decimal.cs: Make sure to use invariant culture when parsing
5379 floats stringified with the invariant culture. Patch by Rodrigo
5382 2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
5384 * FloatingPointFormatter.cs : Literal string should be kept in the
5387 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
5389 * DateTime.cs : Concatenating whitespace removal was not working fine.
5390 Modified FormatException message (1 cent kindness).
5392 2004-06-18 Ben Maurer <bmaurer@ximian.com>
5394 * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
5395 new generics classes
5396 * IComparable.cs: add the new <T> version.
5397 * EventHandler.cs: new <T> version.
5399 2004-06-18 Dick Porter <dick@ximian.com>
5401 * String.cs: The icall can cope with embedded \0 now.
5403 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
5406 - Added new common pattern "yyyy/M/dZ"
5407 - empty string should not be compared in _ParseEnum()
5408 - Use culture independent string comparison in _ParseString()
5409 - Whitespace removal should be checked after '..' token check (some
5410 pattern such like es-ES LongDatePattern contains spaces in '..').
5411 - formats null check should be done (to throw ArgumentNullException)
5413 - When specified one character format, dates are incorrectly regarded
5414 as to use invariant culture.
5416 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
5418 * ArgIterator.cs: changed layout to Auto
5419 * DateTime.cs: changed layout to Auto
5421 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
5423 * DateTime.cs: CRLF to LF
5425 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
5427 * Decimal.cs: Fixed regression in System.Data caused by the recent
5428 changes. Adapted (and moved) the code to correct the scale from
5429 SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
5430 scale has no importance).
5432 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
5434 * Activator.cs: In CreateInstance(), use Public|Instance if access binding
5435 attributes are omitted.
5437 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
5439 * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
5440 check if the format character is valid.
5442 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
5444 * DateTime.cs : AddDays(double) rounds the input.
5446 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
5448 * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
5449 Fixed ToLocalTime() as well, but it does check range for MinValue.
5451 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
5453 * DateTime.cs : Added overflow check in ToUniversalTime() and
5454 ToLocalTime(). Fixed bug #60253.
5456 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
5458 * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
5459 source code (with permission). Fix (biggest) part of bug #60110.
5460 http://www.yoda.arachsys.com/csharp/floatingpoint.html
5462 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
5464 * Decimal.cs: Fixed scale after Round (a different scale is correct
5465 from a math point of view but affect the string representation of the
5466 value). Note: other operations also have scale problems!
5467 * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
5468 * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
5469 rounding (which is the rounding provided by Math.Round). This fix bug
5470 #60111. The code (new Round methods) should be moved elsewhere (as it
5471 may also be required elsewhere) post Mono 1.0.
5473 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
5475 * AppDomainSetup.cs: added TODO for serialization
5476 * ExecutionEngineException.cs: added missing serialization ctor
5477 * InvalidProgramException.cs: added missing serialization ctor
5478 * MulticastNotSupportedException.cs: added missing serialization ctor
5479 * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
5480 * Random.cs: fixed serialization compatibility with MS.NET
5482 2004-06-15 Paolo Molaro <lupus@ximian.com>
5484 * Type.cs: removed unused (and non-existing) icall type_is_instance.
5486 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5488 * Environment.cs: use internalGetHome instead of getting "HOME" as
5489 that variable may not be defined.
5491 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
5493 * TimeSpan.cs: Fixed timespan with large values for hours or minutes
5494 (overflow is only checked for days but can also occurs in hours and
5495 minutes which uses Int32 when multiplying). The new results match MS
5498 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
5500 * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
5501 them with matching NumberFormatInfo properties.
5503 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
5505 * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
5506 * FloatingPointFormatter.cs :
5507 Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
5509 Format Permille pattern (It is undocumented but actually available,
5510 and used in xsl:format-number).
5512 2004-06-14 Raja R Harinath <rharinath@novell.com>
5514 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
5515 version with BOOTSTRAP_WITH_OLDLIB.
5516 * String.cs (STring.Concat): Likewise.
5518 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
5520 * FloatingPointFormatter.cs :
5521 - Don't format more than 15 fraction digits. Don't report to Pedro
5522 directly (removing the error message with his concent).
5523 - When format string starts with '.', it means integral part format
5524 is not specified. Ignore '.' characters after the first
5525 appearance. Fixed bug #59890.
5526 - 0.0 is formatted only before the third ';' appearance.
5528 2004-06-11 Sebastien Pouliot <sebastien@ximian.com>
5530 * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
5531 rounding logic which worked for FromOADate (while the newer didn't).
5532 * TimeSpan.cs: Now throw an OverflowException when the timespan is
5533 over MaxValue or under MinValue.
5535 2004-06-11 Martin Baulig <martin@ximian.com>
5537 * Console.cs (Write, WriteLine): Implemented the varargs versions.
5539 2004-06-11 Martin Baulig <martin@ximian.com>
5541 * String.cs (Concat): Implemented the varargs version.
5543 2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
5545 * Decimal.cs: Hacked the Parse method to allow the runtime C code to
5546 decode it properly (i.e. matching MS results). Fixed the Round method
5547 for negative decimal numbers (moved code from Math.cs).
5548 * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
5549 fix a bug when rounding a negative decimal.
5551 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5553 * AppDomain.cs: set the _principal to null when changing the policy.
5554 * Console.cs: remove ClsCompliant attribute from a method marked as
5555 internal and added comment.
5557 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
5559 * Delegate.cs: marked protected fields private to match public
5560 API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
5561 protected to fix public API
5562 * Enum.cs: marked ctor protected to match public API of MS.NET
5563 * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
5564 match public API of MS.NET
5566 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
5568 * DateTime.cs : Added more common patterns.
5570 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
5572 * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
5573 be a performance winner (the actual Math code has a note to wait a
5574 better Decimal implementation) but it returns the correct results
5575 (without adding new code in corlib or the runtime). Fix #37744.
5577 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
5580 - A bunch of fixes (patch by Steven Brown). Fraction seconds are
5581 now represented as double. Strict token check for 'Z'.
5582 - Pattern validity check in GetDateTimeFormats(char).
5583 - Fixed pattern "yyyy/M/d HH:mm:ss".
5585 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
5587 * Decimal.cs: Fixed remainder (and optimized some cases not to call
5588 unmanaged code). Simplified divide. Removed workaround for bug #59793.
5589 Fixed GetHashCode to return different result for X and -X.
5591 2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
5594 - Now re-checked all common format patterns. They should be tried
5595 with both current culture and invariant culture. Since '/' covers
5596 '-', removed extraneous patterns. Added more common patterns
5597 such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
5598 only after NET_1_1). Commented out 1 character format patterns.
5599 - The format patterns we should try should not be obtained by
5600 GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
5601 character patterns), to handle UTC correctly. Examined patterns
5602 are changed, to 1) common patterns with specified (or current)
5603 culture, 2) common patterns with invariant, 3) The above "one
5604 character patterns" with specified (or current) culture.
5605 - When trying to parse some kind of patterns such as RFC1123,
5606 always use invariant DateTimeFormatInfo so that they can avoid
5607 parsing with culture-dependent calendar.
5608 - Check "GMT" only when doing Parse(). Don't it when ParseExact().
5609 - Removed extraneous '-' case. It is not special one.
5610 - When ParseExact(), allow only '/' for '/' pattern character.
5611 - When Parse(), allow any non-letter & non-number characters.
5612 - When pattern is not fully parsed, reject that format.
5613 - Added "exact" parameter to some ParseExact().
5614 - RFC1123 pattern is (again) now parsed in local time. I regressed
5615 some problems in previous fix.
5617 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
5619 * Decimal.cs: Fixed cast to integer types to truncate (not round) the
5622 2004-06-07 Duncan Mak <duncan@ximian.com>
5624 * Exception.cs (Source): This can return null.
5626 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
5628 * DateTime.cs: Fixed FromFileTime for negative values. Fixed
5629 constructor to limit range of milliseconds from 0,999. Fixed
5630 ToType method to work for object, string and DateTime.
5632 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
5634 * DateTime.cs: Fixed OLE Automation date conversions: timezone
5635 insensitive, wrong exception in FromOADate, handling of Min/Max
5636 values, negative doubles where integer part is negative but
5637 decimals are positive! Charming format ;-)
5639 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
5641 * String.cs: Fixed Join in case separator parameter is null.
5642 * TimeSpan.cs: Cache format errors during parsing and throw
5643 FormatException only if there was no overflow.
5645 2004-06-06 Gert Driesen <drieseng@users.sourceforge.net>
5647 * MonoCustomAttrs.cs: fixed issue where an empty array was
5648 returned when GetCustomAttributes was invoked with null
5649 attribute type and there was only one result
5651 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
5653 * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
5654 * Int16.cs: Fixed ToString(String.Empty) to default ("G").
5655 * Int32.cs: Fixed ToString(String.Empty) to default ("G").
5656 * Int64.cs: Fixed ToString(String.Empty) to default ("G").
5657 * SByte.cs: Fixed ToString(String.Empty) to default ("G").
5658 * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
5659 * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
5660 * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
5662 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
5664 * Convert.cs: Fixed the convertion of negative integers (byte, short,
5665 int and long) into string in a specific base (2, 8, 10 or 16).
5667 2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
5669 * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
5670 the dividend is negative and the result is 0 (remainder).
5672 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
5674 * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
5676 2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
5678 * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
5679 spans. Fixed parsing when only days are presents in the string (which
5680 should be illegal according to the documentation but is supported).
5682 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
5684 * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
5685 somewhat different from the documentation.
5687 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
5689 * Type.cs: added missing attributes on InvokeMember
5691 2004-06-01 Miguel de Icaza <miguel@ximian.com>
5693 * String.cs: Flag concat with four arguments internal.
5695 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
5697 * Array.cs: Fixed legal case where value is null.
5698 * Byte.cs: Fixed ToString when format is an empty string (use "G").
5699 * Guid.cs: Renamed private fields (and changed some to signed) to
5700 match MS implementation and allow serialization to work. Fix
5703 2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5705 * DateTime.cs: adjust milliseconds for fraction specifier ('f').
5707 2004-05-30 Miguel de Icaza <miguel@ximian.com>
5709 * Console.cs: Remove *again* the version of WriteLine with four
5710 arguments; That should *not* be added.
5712 Flag it as internal as people migrate their code.
5714 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
5716 * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
5717 ArgumentNullException (only case, all other returns 0). Fixed exception
5718 reporting for hex prefix only strings. Fixed ChangeTo where null could
5719 be misinterpreted between null and Empty.
5721 2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
5723 * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
5724 16), non-base 10 negative numbers ... see new unit tests. Fixed the
5725 case when we parse Int64.MinValue (positive doesn't fit a signed long).
5727 2004-05-28 Jackson Harper <jackson@ximian.com>
5729 * Environment.cs: Increment version number.
5731 2004-05-28 Zoltan Varga <vargaz@freemail.hu>
5733 * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
5736 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
5738 * DateTime.cs : I reverted my fix by accident :(
5740 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
5743 - In ToString(), Don't use culture-dependent daynames to format
5744 Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
5745 - Fixed GetDateTimeFormats () that generated incorrect 'U' value
5746 (since the format string is the same as 'F').
5748 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
5750 * DateTime.cs : don't adjust utc value in ToString(). It must output
5751 the same time value, just adding 'Z' for UTC.
5753 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
5755 * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
5758 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5760 * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
5762 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
5764 * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
5765 * Convert.cs: Convert with a base parameter cannot parse negative
5766 string numbers, even "-0".
5767 * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
5768 * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
5769 * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
5771 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
5774 - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
5775 to common formats (yes, I know it is nothing more than hack)
5776 - Fixed some GetDateTimeFormats() that just returned patterns.
5777 - For InvariantCulture, now try both supported formats and our
5779 - It was accepting incorrectly extraneous characters. That caused
5780 some UTC/non-UTC bug.
5781 - RFC1123 string should return universal time. Uncomment again (the
5782 problem should went away because of the extra characters fix above.
5784 With some of the changes above, fixed bug #47720.
5786 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
5788 * DateTime.cs : quick revert 'Z' support for certificate verifications.
5790 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
5792 * Array.cs: Removed duplicate condition if LastIndexOf.
5794 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
5797 - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
5799 - As a quick remedy to accept more patterns, Parse() now also tries
5800 InvariantInfo patterns (this is because we have no more than one
5801 pattern for each pattern component.)
5802 - In _DoParse(), 'Z' should not be read as timezone specifier. Some
5803 culture uses 'Z' as AM/PM designer, and it should be recognized as
5804 part of the UTCpattern (if it actually UTC pattern for the culture
5807 2004-05-26 Gert Driesen (drieseng@users.sourceforge.net)
5809 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
5810 seems to allow multiple attributes with AllowMultiple at
5813 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
5815 * Byte.cs: Throw an OverflowException for negative numbers.
5816 * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
5817 * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
5819 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
5821 * Array.cs: Fixed possible integer overflow.
5822 * BitConverter.cs: Fixed a possible integer overflow in ToString.
5823 * Guid.cs: Added an internal method to create a random Guid without
5824 using CryptoConfig (which is heavy on first use). This is only used
5825 in S.R.E.ModuleBuilder to speedup MCS compilation.
5826 * String.cs: Fixed reported exception for PadLeft|Right. Fixed
5827 possible integer overflow in methods that takes index and count
5830 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
5832 * String.cs: Add new Strcpy icalls which take a char array as
5835 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
5837 * DateTime.cs : added more invariant format patterns. This should
5838 really fix bug #57656.
5840 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
5842 * BitConverter.cs (ToBoolean): Return true or false instead
5843 of unsafe returing byte as bool. Fixes bug #58874.
5845 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
5847 * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
5848 string format argument is null.
5850 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
5852 * Version.cs: Rename of data fields to match those in Microsoft.NET.
5853 Patch by PAF@design.ru.
5855 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5857 * DateTime.cs: allow double quotes in the formats. Don't set
5858 next_not_digit to true in presence of single or double quotes. Patch by
5861 2004-05-24 Zoltan Varga <vargaz@freemail.hu>
5863 * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
5865 2004-05-23 Sebastien Pouliot <sebastien@ximian.com>
5867 * Array.cs: Fixed exception when we try to Clear outside bounds.
5868 * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
5869 * BitConverter.cs: Fixed negative index and integer overflow in
5871 * Buffer.cs: Fixed integer overflow in BlockCopy.
5873 2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
5875 * Array.cs: Clear can now work on multidimentional arrays.
5876 * IntPtr.cs: We now only accept 32bits values in the long constructor
5877 unless we're on a 64 bits machine.
5878 * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
5879 constructor unless we're on a 64 bits machine.
5881 2004-05-22 Duncan Mak <duncan@ximian.com>
5883 * Convert.cs: The file was mostly in DOS endings already, for the
5884 sake of consistency, converted it all to DOS endings.
5885 (ToType): When value is null, immediately return null and don't
5886 ever throw a NullReferenceException. When conversionType is null,
5887 throw an InvalidCastException. Give a better error message when
5888 attempting to convert to a DBNull as well.
5890 2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
5892 * Decimal.cs: Fixed To... methods that needs to trunk the integer part
5893 of Decimal (and not use the banker's rounding like Convert.To...).
5894 * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
5895 to NaN compares (see new unit tests).
5897 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
5899 * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
5900 Also fixed the case where wide (16 bits) characters were converted to
5903 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
5905 * ThreadStaticAttribute.cs
5906 * ContextStaticAttribute.cs
5908 * ObsoleteAttribute.cs : now that Inherited is false by
5909 default on AttributeUsageAttribute (as it should be) we
5910 need to explicitly set Inherited to false for those
5911 attributes should it be be false.
5913 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
5915 * AttributeUsageAttribute.cs: Inherited property should be
5916 true by defaultrs.cs: respect Inherited property, and
5918 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
5920 * MonoCustomAttrs.cs: respect Inherited property, and
5921 AllowMultiple property of a CustomAttribute. This fixes
5922 a major issue we had with respect to custom attributes.
5924 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
5926 * MonoType.cs: throw ArgumentNullException when type parameter in
5927 GetCustomAttributes(Type, bool) is null
5929 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
5931 * Buffer.cs: Added checks for null source and destination. Fix failing
5932 CryptoStream unit test.
5933 * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
5934 pseudo-random numbers to generate GUIDs (as per section 3.4 of the
5935 spec). This removes the TODO to get the computer MAC address and
5936 the chances to get a duplicate GUID (across different machines).
5938 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5940 * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
5941 than OverflowExceptions then something went wrong internally
5943 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5945 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
5948 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
5950 * Buffer.cs: Optimize BlockCopy.
5952 * Environment.cs: Bump corlib version.
5954 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
5956 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
5957 See also bug #58478.
5959 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5961 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
5962 been set. Just return null as MS. Fixes bug #58120.
5964 2004-05-14 Marek Safar <marek.safar@seznam.cz>
5966 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
5967 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
5968 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
5969 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
5970 useless [CLSCompliant (false)]
5973 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
5975 * __ComObject.cs: To please corcompare (no implementation).
5977 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
5979 * Environment.cs: Bump corlib version.
5981 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
5983 * Environement.cs: Removed two security attributes for CurrentDirectory
5984 that weren't documented (and anyway we don't support them).
5986 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5988 * Char.cs: Fix exceptions
5990 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
5992 * MissingMemberException.cs: Fix in serialization constructor.
5994 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5996 * Environment.cs: GetGacPath return value is resolved at runtime on
5999 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
6001 * Convert.cs: ToBase64CharArray method was depending on a bug in
6002 S.S.C.ToBase64Transform class to work. Added an internal method to
6003 provide the same functionality (multiple block processing).
6005 2004-05-06 Jackson Harper <jackson@ximian.com>
6007 * Environment.cs: Make $HOME the personal directory.
6009 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
6011 * Convert.cs: ToBase64String method was depending on a bug in
6012 S.S.C.ToBase64Transform class to work. Added an internal method to
6013 provide the same functionality (multiple block processing).
6015 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
6017 * Environment.cs: Completed OSVersion property.
6018 * Version.cs: Added internal CreateFromString() to "try" to build the
6019 best version number form the specified string.
6021 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6023 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
6024 Fixes several potential bugs and makes things way faster.
6026 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6028 * TimeSpan.cs: Formatting changes
6030 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
6032 * Activator.cs: change _flags to a const.
6033 * IntegerFormatter.cs: make tables readonly.
6034 * Convert.cs: tables readonly
6035 * DateTime.cs: ditto.
6036 * IntPtr.cs: avoid a cctor.
6038 2004-04-29 Jackson Harper <jackson@ximian.com>
6041 * Type.cs: NET_2_0 now instead of 1_2.
6043 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6045 * Environment.cs: implemented GetLogicalDrives.
6047 2004-04-28 Miguel de Icaza <miguel@ximian.com>
6049 * Applied patch from Atsushi Enomoto that allows Synchronized
6050 writers to have a `dont close' flag, this fixes 52094
6052 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
6054 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
6055 return the method if it is private (it did until now because of a
6056 bug). Make sure it works as it worked before the fix.
6057 * Type.cs: Implemented FilterAttribute delegate.
6059 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6061 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
6063 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6065 * IntegerFormatter.cs: Made functions internal (needed by other patches)
6067 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
6069 * DateTime.cs: TODO cleaning.
6070 * Delegate.cs: GetObjectData should be virtual.
6071 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
6072 30 methods almost identical.
6073 * MulticastDelegate.cs: Implemented GetObjectData.
6075 2004-04-26 Jackson Harper <jackson@ximian.com>
6077 * Environment.cs: Things going bump in the night.
6079 2004-04-25 Miguel de Icaza <miguel@ximian.com>
6081 * Convert.cs (toBase64Transform): Make private.
6083 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6087 * DecimalFormatter.cs:
6088 * FloatingPointFormatter.cs: Call invariant Char functions
6089 * Guid.cs: Call invariant Char and String functions
6090 * String.cs: Call invariant Char functions
6092 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6094 * String.cs: Refactored the Invariant ToXXX into its own internal methods
6095 so they are directly callable within corlib (can prevent early
6096 construction of CultureInfo, InvariantCulture and related classes)
6098 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6100 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
6101 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
6103 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6105 * String.cs: Check for null values
6107 2004-04-23 Peter Bartok <pbartok@novell.com>
6109 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
6110 will do a better fix in the future, but this way apps can at least use it.
6112 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
6114 * Environment.cs: Better support for GetFolderPath (same results as MS
6117 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
6119 * Activator.cs: Removed TODOs for finished methods.
6120 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
6121 must be relative to the current directory, not the temp directory.
6122 Implemented DynamicBase.
6123 * Convert.cs: No need to create a ToBase64Transform instance at every call
6124 to ToBase64CharArray.
6125 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
6127 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
6128 * Delegate.cs: Removed class TODO.
6129 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
6131 * Type.cs: Removed TODOs for things already implemented.
6133 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
6135 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
6136 * MulticastDelegate.cs: Removed unused code.
6138 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
6140 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
6141 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
6142 * BadImageFormatException.cs: TODO reformat.
6143 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
6144 * DelegateSerializationHolder.cs: Made class internal.
6145 * Enum.cs: Removed TODO for localization, since this is something that has
6146 to be done for all classes.
6147 * Environment.cs: Removed TODO.
6148 * Exception.cs: Changed ToString to use StringBuilder.
6149 * MonoDummy.cs: Made class internal.
6150 * UnitySerializationHolder.cs: Added support for modules.
6152 2004-04-16 David Sheldon <dave-mono@earth.li>
6154 * DecimalFormatter.cs: Don't append a decimal point after the
6155 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
6158 2004-04-09 Miguel de Icaza <miguel@ximian.com>
6160 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
6163 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
6165 * MonoDummy.cs: added MonoTODO to make sure we remove this class
6166 when its no longer needed
6168 2004-04-09 David Sheldon <dave-mono@earth.li>
6170 * Convert.cs: Allow + signs in strings for ToInt32, and
6173 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
6175 * Nullable.cs : usingdecl should also be conditional.
6177 2004-04-07 Martin Baulig <martin@ximian.com>
6179 * Nullable.cs: New file.
6181 2004-04-07 Martin Baulig <martin@ximian.com>
6183 * Type.cs (Type.GetGenericArguments): Make this abstract.
6185 2004-04-07 Jackson Harper <jackson@ximian.com>
6187 * Environment.cs: Increase corlib version number.
6189 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6192 (ExpandEnvironmentVariables): on windows, env. vars. are case
6195 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
6197 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
6198 Removed [ThreadStatic] for _principalPolicy (not required).
6200 2004-04-06 Miguel de Icaza <miguel@ximian.com>
6202 * Guid.cs: Flag as Sequential.
6204 2004-04-02 Dick Porter <dick@ximian.com>
6206 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
6208 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
6210 * Environment.cs: Implement ExpandEnvironmentVariables static method.
6211 Now call the runtime to get the username (fix #56144).
6213 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6215 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
6218 2004-03-29 Miguel de Icaza <miguel@ximian.com>
6220 * Console.cs: If we fail to open stdin/stdout/stderr, create
6221 readers with a NullStream. This can happen if our caller does not
6222 setup stdin/stoud/stderr file handles. #56158 exposed this, but
6223 it will happen elsewhere.
6225 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
6227 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
6228 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
6229 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
6230 the constructor. This fixes bug #54019.
6232 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
6234 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
6235 internal variables to structures that are moved around methods.
6236 Factorized some common formatting code into FormatNumberInternal.
6238 2004-03-23 Dick Porter <dick@ximian.com>
6240 * DateTime.cs: Allow any character for DateSeparator when parsing,
6241 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
6242 deleted the previous fix for 54721, because this covers it too.
6244 2004-03-23 Dick Porter <dick@ximian.com>
6246 * DateTime.cs: Check the date string for too many digits when
6247 parsing. Fixes bugs 53023 and 53025.
6249 2004-03-22 Dick Porter <dick@ximian.com>
6251 * String.cs: Use the provider when converting strings to other
6254 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
6255 formats. Fixes bug 54721.
6257 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6259 * Console.cs: Styled, optimized calls
6260 * CrossAppDomainDelegate.cs: Small header fix
6261 * Buffer.cs: Style, improve errors
6262 * BitConverter.cs: Style, improve errors, remove obsolete comment
6263 * Attribute.cs: Style, improve errors, small fix
6264 * Array.cs: Style, improve errors, small fix, added TODOs
6265 * Activator.cs: Style, localized errors, added error checks
6266 * Byte.cs: Style, localized errors, fixed wrong exception parameters
6269 * AppDomainSetup.cs: Style
6270 * AppDomain.cs: Style, implemented two methods (redirect)
6272 2004-03-21 Jackson Harper <jackson@ximian.com>
6274 * FloatingPointFormatter.cs: Set precision from number format info
6275 when it is not specified. This fixes bug #54983.
6277 2004-03-18 Nick Drochak <ndrochak@ieee.org>
6279 * Math.cs: Use IsNaN() method not "x == NaN".
6281 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6283 * EntryPointNotFoundException.cs
6284 * DuplicateWaitObjectException.cs
6285 * DllNotFoundException.cs
6286 * DivideByZeroException.cs
6287 * ContextMarshalException.cs
6288 * CannotUnloadAppDomainException.cs
6289 * BadImageFormatException.cs
6290 * ArrayTypeMismatchException.cs
6291 * ArithmeticException.cs
6292 * ArgumentOutOfRangeException.cs
6293 * ArgumentNullException.cs
6294 * ArgumentException.cs
6295 * ApplicationException.cs
6296 * AppDomainUnloadedException.cs: Added missing HResult overrides
6298 * BadImageFormatException.cs: Improved/ Fixed implementation
6300 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
6302 * Random.cs: Corrected random value when Next is called with a
6303 negative value. Testing indictae that our results aren't exactly the
6304 same as MS, we have a +/- 1 (probably rounding errors due to
6305 different implementation).
6307 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6309 * Environment.cs: updated corlib version.
6311 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
6313 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
6314 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
6315 field "value" to "m_value", so it is interoperable with MS.NET when
6316 serializing and deserializing data. Based on the patch from Daniel
6319 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6321 * TypeInitializationException.cs
6322 * SystemException.cs
6323 * StackOverflowException.cs
6325 * OverflowExceptionException.cs
6326 * OutOfMemoryException.cs
6327 * NullReferenceException.cs
6328 * NotSupportedException.cs
6329 * NotFiniteNumberException.cs
6330 * InvalidOperationException.cs
6331 * InvalidCastException.cs
6332 * IndexOutOfRangeException.cs
6333 * FormatException.cs
6334 * ExecutionEngineException.cs: improved parameter names
6336 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6339 * EntryPointNotFoundException.cs
6340 * DuplicateWaitObjectException.cs
6341 * DoubleFormatter.cs
6342 * DllNotFoundException.cs
6343 * DivideByZeroException.cs
6344 * DelegateSerializationHolder.cs
6347 * ContextStaticAttribute.cs
6348 * ContextMarshalException.cs
6349 * ContextBoundObject.cs
6350 * CLSCompliantAttribute.cs
6352 * CannotUnloadAppDomainException.cs
6353 * BadImageFormatException.cs
6354 * AttributeUsageAttribute.cs
6355 * AttributeTargets.cs
6357 * AssemblyLoadEventHandler.cs
6358 * AssemblyLoadEventArgs.cs
6359 * ArrayTypeMismatchException.cs
6360 * ArithmeticException.cs
6361 * ArgumentOutOfRangeException.cs
6362 * ArgumentNullException.cs
6363 * ArgumentException.cs
6365 * ApplicationException.cs
6366 * AppDomainUnloadedException.cs
6367 * AppDomain.cs: Mono styled, fixed exceptions/ locales
6368 removed excess usings
6370 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
6372 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
6373 spaces) which fixed #54939. Changed the way that the length is
6374 validated (multiple of 4) because the ignored characters must not be
6375 included in the count.
6377 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6379 * String.cs: Monostyled
6381 2004-03-09 Jackson Harper <jackson@ximian.com>
6383 * Char.cs: Only use a byte for numeric data.
6385 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6387 * TypedReference.cs: Added missing Attributes
6388 * ParamArrayAttribute.cs: Small style fix
6389 * OperatingSystem.cs: Added .Net 1.1 member
6391 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6393 * FieldAccessException.cs
6394 * FormatException.cs
6395 * InvalidCastException.cs
6396 * InvalidOperationException.cs
6397 * MemberAccessException.cs
6398 * MethodAccessException.cs
6399 * MissingFieldException.cs: Locale strings
6400 * MissingMemberException.cs: Locale strings
6401 * MissingMethodException.cs: Locale strings
6402 * NotFiniteNumberException.cs
6403 * NotImplementedException.cs
6404 * NotSupportedException.cs
6405 * NullReferenceException.cs
6406 * ObjectDisposedException.cs
6407 * OutOfMemoryException.cs
6408 * OverflowExceptionException.cs
6409 * PlatformNotSupportedException.cs
6410 * RankException.cs: Added missing HResult overrides
6412 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6414 * RuntimeTypeHandle.cs
6415 * RuntimeMethodHandle.cs
6416 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
6418 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6422 * ExecutionEngineException.cs
6423 * FieldAccessException.cs
6424 * FormatException.cs
6427 * IndexOutOfRangeException.cs
6429 * InvalidCastException.cs
6430 * InvalidOperationException.cs
6431 * InvalidProgramException.cs
6432 * IServiceProvider.cs
6433 * LoaderOptimization.cs
6434 * LoaderOptimizationAttribute.cs
6435 * MarshalByRefObject.cs
6437 * MemberAccessException.cs
6438 * MethodAccessException.cs
6439 * MissingFieldException.cs
6440 * MissingMemberException.cs
6441 * MissingMethodException.cs
6442 * MultiCastDelegate.cs
6443 * MulticastNotSupportedException.cs
6444 * NonSerializedAttribute.cs
6445 * NotFiniteNumberException.cs
6446 * NotImplementedException.cs
6447 * NotSupportedException.cs
6448 * NullReferenceException.cs
6449 * ObjectDisposedException.cs
6450 * ObsoleteAttribute.cs
6451 * OperatingSystem.cs
6452 * OutOfMemoryException.cs
6453 * OverflowExceptionException.cs
6455 * PlatformNotSupportedException.cs
6458 * ResolveEventArgs.cs
6459 * ResolveEventHandler.cs
6460 * RuntimeFieldHandle.cs
6461 * RuntimeMethodHandle.cs
6462 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
6463 removed excess usings
6465 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6467 * SystemException.cs: Exceptions set the HResult
6468 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
6469 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
6471 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6474 * TypeLoadException.cs
6475 * TypeInitializationException.cs
6478 * ThreadStaticAttribute.cs
6479 * SystemException.cs
6480 * STAThreadAttribute.cs
6481 * StackOverflowException.cs
6482 * SingleFormatter.cs
6484 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
6485 removed excess usings
6487 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6489 * UnauthorizedAccessException.cs: Exceptions set the HResult
6490 * UInt64.cs: Implemented two missing methods
6491 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
6492 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
6494 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6500 * UnitySerializationHolder.cs
6501 * UnhandledExceptionEventHandler.cs
6502 * UnauthorizedAccessException.cs
6506 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
6508 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
6510 * Environment.cs: Bump corlib version.
6512 2004-03-04 Jackson Harper <jackson@ximian.com>
6514 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
6516 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
6518 * String.cs: Concat() fixed crash when one of the arguments is an object
6519 whose ToString() method returns null.
6520 * TypeLoadException.cs: Added some serialization fiels, needed for
6521 compatibility with MS.NET.
6523 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
6525 * String.cs (Equals): Speed up this method by avoiding Array
6526 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
6528 This gives between 0x (for 1 char) and >2x (for large strings)
6529 factor of improvement.
6531 A big thanks to Miguel, who suggested the integer compares.
6533 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6535 * MonoType.cs: use the binder in GetPropertyImpl.
6537 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6539 * Math.cs: MonoStyled, replaced space with tabs,
6540 speedup of some methods by avoiding method calls
6542 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
6544 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
6545 (Moved from InternalCall to Managed code).
6547 2004-02-17 Martin Baulig <martin@ximian.com>
6549 * MonoType.cs (GetConstructors): Renamed the interncall to
6550 GetConstructors_internal(), made it internal and added a `Type
6551 reflected_type' argument to it.
6552 (GetEvents, GetFields): Likewise.
6553 (GetMethodsByName): Added `Type reflected_type' argument.
6554 (GetPropertiesByName): Likewise.
6556 2004-02-16 Jackson Harper <jackson@ximian.com>
6558 * FloatingPointFormater.cs: Allow precision to be up to the number
6559 of decimals without rounding.
6561 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
6563 * Delegate.cs (Equals): Do not compare method_ptr, since it might
6564 point to a trampoline.
6566 2004-02-12 Jackson Harper <jackson@ximian.com>
6568 * AppDomainSetup.cs: If relative paths are used they should be
6569 rooted in the temp directory.
6571 2004-02-11 Marek Safar <marek.safar@seznam.cz>
6573 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
6575 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
6577 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
6578 avoid an assert in the runtime.
6580 2004-02-08 Duncan Mak <duncan@ximian.com>
6582 * Convert.cs (ToType): Always let a Convert.ChangeType call
6583 succeed if the source object is already of the destination type.
6585 Patch by Ian MacLean (ianm@activestate.com).
6587 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
6589 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
6591 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
6593 * Environment.cs: Bump corlib version.
6595 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
6597 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
6600 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
6602 * Exception.cs: Changed ToString to remove the \n when no stack trace
6603 is present (which fixed a unit test for SecurityException). Changed
6604 all \n to Environment.NewLine.
6606 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
6608 * ContextBoundObject.cs: Removed TODO.
6610 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6612 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
6613 (double), which might round up.
6615 2004-01-19 Jackson Harper <jackson@ximian.com>
6617 * FloatingPointFormatter.cs: Use the default decimal digits count
6618 if they are not specified. This fixes bug #52927.
6620 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
6622 * Environment.cs: Bump version number.
6624 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
6626 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
6627 uses IsAssignableFrom(o.GetType()), which is not always valid for
6628 transparent proxies (because GetType will not return the type of the remote
6629 object if its assembly is not present).
6631 2004-01-18 David Sheldon <dave-mono@earth.li>
6633 * FloatingPointFormatter.cs: Skip the decimal point if we have an
6634 integer mantassa. So: 1E+15, rather than 1.E+15.
6636 2004-01-18 David Sheldon <dave-mono@earth.li>
6638 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
6639 even though docs say it should be an ArgumentNull. Two test cases now
6640 pass. See also nickd's commit of 2003-12-24.
6642 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6644 * Environment.cs: increased corlib version.
6646 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
6648 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
6649 be reused because they could be modified. This fixes bug #52655.
6651 2004-01-12 Patrik Torstensson
6653 * Environment.cs: Bump corlib version number due to new StringBuilder
6655 * String.cs: New internal method to support the new StringBuilder that
6656 uses the string as a buffer (until ToString is called)
6658 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
6660 * Environment.cs: Bump corlib version number for real this time.
6662 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
6663 the runtime, so it can take into account the Culture etc.
6665 * Environment.cs: Bump corlib version number.
6667 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6669 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
6670 new parameter with the method name and a boolean for ignoring case.
6671 Removed some string comparisons no longer needed.
6673 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6675 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
6676 new parameter with the property name and a boolean for ignoring case.
6679 2004-01-11 David Sheldon <dave-mono@earth.li>
6681 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
6684 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
6686 * AppDomain.cs: Keep track of type resolve and assembly resolve
6687 events in progress to prevent infinite recursion.
6689 2004-01-06 Miguel de Icaza <miguel@ximian.com>
6691 * Console.cs: Test for UTF-8 being present anywhere on the
6692 string, also do ToUpper instead of ToLower, which will work even
6693 around the ICU bug with different locales (#52065), and addresses #52101
6695 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
6697 * Environment.cs: Bump version.
6699 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
6701 * Type.cs (IsNotPublic): One would normally assume that
6702 IsNotPublic == !IsPublic, but this is not the case (note to MS,
6703 make better names ;-). Fixes #52547, `Type.IsNotPublic not
6704 correct for Nested types'
6706 2003-12-24 Nick Drochak <ndrochak@ieee.org>
6708 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
6709 even though docs say it should be an ArgumentNull. Sent email to MS
6712 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
6714 * Exception.cs: Several changes to make it compatible with MS.NET (needed
6715 for remoting interoperability): set a default value for hresult, added
6716 initialization of class_name, serialization field RemoteStackTrace must
6717 be RemoteStackTraceString, added ser. field ExceptionMethod.
6719 * IndexOutOfRangeException.cs: Added serialization constructor.
6721 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
6724 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
6726 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
6728 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
6729 user supplied no parameter info, but not when the user supplied an
6730 empty parameter list. This fixes IKVM.
6732 * Environment.cs: Bump corlib version.
6734 2003-12-19 Dick Porter <dick@ximian.com>
6736 * String.cs: Added Compare shortcut for length==0.
6738 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
6740 * Environment.cs: Bump corlib version.
6742 2003-12-17 Dick Porter <dick@ximian.com>
6744 * String.cs: Fix StartsWith and EndsWith when the argument is the
6745 empty string. Fixes bug 52283.
6747 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
6749 * Environment.cs (HasShutdownStarted): Implement.
6751 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
6753 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
6755 * Environment.cs: Bump version number.
6757 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6759 * DateTime.cs: don't bail out with that year out of range error on
6760 stuff like "MM/dd/yyyy HH:MM:ss".
6762 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
6764 * Environment.cs: Make it a const instead.
6766 * Environment.cs: Make version field static.
6768 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
6770 * Type.cs: Make DefaultBindingFlags protected.
6772 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
6773 Add new GacPath property + its associated icall.
6775 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
6777 * DateTime.cs : Bugs fixed (41845, 51422)
6778 * MonoType.cs : Exception message changed
6780 2003-12-08 Martin Baulig <martin@ximian.com>
6782 * Type.cs (MakeByRefType): New public method.
6784 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
6786 * Environment.cs: Add a version number for the corlib-runtime interface
6787 to make it easier to diagnose problems resulting from a mismatch
6790 2003-12-08 Patrik Torstensson <p@rxc.se>
6792 * Type.cs (GetMethod): Check type arguments within array
6793 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
6794 (same signature but different classes (derived level)
6796 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
6798 * Type.cs (MakeArrayType): Add argument checking.
6800 2003-12-06 Dick Porter <dick@ximian.com>
6802 * String.cs: Don't use CompareInfo for non-culture-sensitive
6803 IndexOf and LastIndexOf methods.
6805 2003-12-06 Ravindra <rkumar@novell.com>
6807 * DateTime.cs: Made Parse(string, IFormatProvider) method to
6808 use second argument. Fixed bug #51464.
6810 2003-12-04 Martin Baulig <martin@ximian.com>
6812 * Type.cs (Type.MakeArrayType): New public method.
6814 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6817 (BlockCopy): make the exception thrown helpful.
6819 2003-12-03 Dick Porter <dick@ximian.com>
6821 * String.cs: Calling Replace on an empty string returns itself.
6823 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
6825 * MonoType.cs: Get rid of get_type_info, use a separate icall for
6826 each property instead.
6828 2003-12-02 Dick Porter <dick@ximian.com>
6830 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
6831 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
6833 2003-12-01 Dick Porter <dick@ximian.com>
6835 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
6836 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
6838 2003-11-28 Dick Porter <dick@ximian.com>
6843 * Boolean.cs: Do string compares with the Invariant culture.
6845 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
6847 * Array.cs: make the enumerator ICloneable
6849 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
6851 * Decimal.cs (ToXXX): Call Convert.ToXXX.
6853 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
6855 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
6856 Implement Load(byte[]) methods.
6858 * BadImageFormatException.cs: Fix ToString.
6860 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
6862 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
6863 GetConstructor, as done by MS.
6865 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6867 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
6869 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
6871 * TypeInitializationException.cs: Added missing serialization constructor.
6873 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6875 * AppDomainSetup.cs: Don't add an extra '/' at the end of
6876 ApplicationBase. The tests pass now with mono.
6878 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
6880 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
6882 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6884 * Environment.cs: use Directory in CurrentDirectory property.
6885 We were not throwing any exception when setting the directory to an
6888 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6891 * Delegate.cs: implemented 1.1 stuff.
6894 * IntPtr.cs: removed extra attribute.
6895 * PlatformID.cs: added WinCE.
6897 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6900 (Equals): compare the fields of structs too.
6901 (GetHashCode): combine the hash code of all the fields.
6902 Fixes bug #50901 (will remove the icall in a couple of days).
6904 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6906 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
6908 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6910 * DateTime.cs: handle century when we try to parse 4-digit years and
6911 only 2 digits are present. Fixes bug #49394.
6913 2003-11-13 Miguel de Icaza <miguel@ximian.com>
6915 * Console.cs: On utf-8 consoles, use unmarked output.
6917 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6919 * IAppDomainSetup.cs:
6922 * Type.cs: Added missing attribute
6924 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
6926 * Environment.cs: Added internal method for getting the path to
6929 2003-11-12 Jackson Harper <jackson@ximian.com>
6931 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
6932 enum. This fixes the SWF build.
6934 2003-11-12 Miguel de Icaza <miguel@ximian.com>
6936 * PlatformID.cs: Remove Unix platform, we cant expose constants
6937 that are not in the framework.
6939 * OperatingSystem.cs: Adjust for the breakage.
6941 * RuntimeMethodHandle.cs: Fix signature.
6943 * Double.cs: Fix signature of TryParse.
6945 * String.cs (Concat (object, object, object, object)): Add missing method.
6947 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
6948 in the .NET Framework.
6950 * Enum.cs: Hide constructor.
6952 Fix ToUint16 to be explicitly implemented.
6954 * Console.cs: Add couple of extra missing methods (Write and
6955 WriteLine overloaded)
6957 2003-11-11 Miguel de Icaza <miguel@ximian.com>
6959 * AppDomain.cs, Activator.cs: New unimplmented entry points from
6960 1.1 (Com activation related).
6962 * Exception.cs: Formatting.
6964 * IServiceProvider.cs: Add ComVisible (true).
6966 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
6968 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
6970 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
6973 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
6975 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
6976 on MonoMethod instead of Invoke.
6978 2003-11-01 Pedro Martínez Juliá <yoros@wanadoo.es>
6980 * DateTime.cs: Fixed Add* methods handling. Now it works properly
6981 with extreme values (there is a bug with Overflow and Underflow in
6984 2003-10-31 Pedro Martínez Juliá <yoros@wanadoo.es>
6986 * DateTime.cs: Fixed a few format bugs.
6988 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
6990 * AppDomain.cs (InternalPushDomainRef): New icalls.
6992 * AppDomain.cs (InvokeInDomain): New method to execute code in a
6993 different appdomain.
6995 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
6997 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
6999 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
7001 * AppDomain.cs (IsFinalizingForUnload): Implement.
7003 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
7006 2003-10-25 Martin Baulig <martin@ximian.com>
7008 * MonoType.cs: Don't make this sealed.
7010 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
7012 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
7014 2003-10-24 Pedro Martínez Juliá <yoros@wanadoo.es>
7016 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
7017 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
7019 2003-10-22 Dick Porter <dick@ximian.com>
7021 * DateTime.cs: Handle '-' as a date separator when parsing formats.
7023 2003-10-20 Duncan Mak <duncan@ximian.com>
7025 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
7026 and merge the two iterations into one.
7028 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
7030 * TypedReference.cs: Add new field used by the runtime.
7032 2003-10-15 Martin Baulig <martin@ximian.com>
7034 * Type.cs (Type.DeclaringMethod): For a generic method's type
7035 parameter, return this method - otherwise, return null.
7037 2003-10-14 Martin Baulig <martin@ximian.com>
7039 The generics API has changed in the spec since it was added here;
7040 these modifications make it match the spec again.
7043 (GetGenericParameters): Renamed to `GetGenericArguments'.
7044 (HasGenericParameters): Renamed to `HasGenericArguments'.
7045 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
7046 (IsGenericTypeDefinition): New property.
7047 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
7049 * MonoType.cs (ContainsGenericParameters): Implement this here;
7050 this is no interncall anymore.
7052 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7054 * Delegate.cs: add the method name to the exception when it cannot be
7056 * Exception.cs: fix nullref in Source.
7058 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
7060 * Array.cs: Add argument checking to GetValue and SetValue.
7062 2003-10-09 Miguel de Icaza <miguel@ximian.com>
7064 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
7065 should not be TimeSpan.MaxValue, because it overflow. Set this to
7068 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7070 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
7071 duplicate entry exception.
7073 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
7075 * DateTime.cs (ToString): Total rewrite, fixes #49358.
7077 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
7079 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
7081 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7084 (Equals): check that the object is an Enum before comparing the types.
7086 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7088 * Array.cs: reduced xsp allocated memory by 1/2.
7090 2003-09-25 Martin Baulig <martin@ximian.com>
7092 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
7093 since it was identical to GetGenericTypeDefinition().
7094 (Type.IsGenericInstance): New property.
7096 2003-09-24 Duncan Mak <duncan@ximian.com>
7098 * Math.cs (Abs): Fix double Locale.GetText bug reported by
7099 davejp@volny.cz. This fixes #48788.
7101 2003-09-14 Pedro Martínez Juliá <yoros@wanadoo.es>
7103 * FloatingPointFormatter.cs: Add the necessary castings to char
7106 2003-09-13 Pedro Martínez Juliá <yoros@wanadoo.es>
7108 * FloatingPointFormatter.cs: Make the method calls more functional
7109 for protecting the values from different threads (make it more
7112 2003-09-13 Pedro Martínez Juliá <yoros@wanadoo.es>
7114 * FloatingPointFormatter.cs: Fix a bug with the negative value of
7117 2003-09-12 Pedro Martínez Juliá <yoros@wanadoo.es>
7119 * FloatingPointFormatter.cs: Applied a lot of improvements in string
7120 construction, make use of Append/Insert with the "count" parameter.
7121 Thanks to Ben Maurer.
7123 2003-09-10 Pedro Martínez Juliá <yoros@wanadoo.es>
7125 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
7127 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
7130 2003-09-10 Pedro Martínez Juliá <yoros@wanadoo.es>
7132 * DoubleFormatter.cs: A few optimizations. Now, only one object
7133 is created to convert all double numbers.
7135 * SingleFormatter.cs: A few optimizations. Now, only one object
7136 is created to convert all float numbers.
7138 * FloatingPointFormatter.cs: Split the "number type parameters" from
7139 the "numver value and format parameters". The first ones are in the
7140 constructor and the others are in a method.
7142 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
7144 * Array.cs: Added argument checking to some NET_1_1 methods.
7146 2003-09-04 Martin Baulig <martin@ximian.com>
7148 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
7150 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7152 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
7153 taking 'longs'. All tests pass.
7155 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
7157 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
7158 Source. Remove MonoTODO attributes (class is 100% done). Also
7159 passes all Rotor tests for Exception!
7161 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
7163 * Enum.cs: Remove [MonoTODO]'s that had been completed.
7165 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7167 * String.cs: fixed bug #47802.
7169 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
7171 * String.cs: Created method FormatHelper that does formatting,
7172 using a StringBuilder.
7174 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7176 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
7178 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7180 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
7183 2003-08-11 Duncan Mak <duncan@ximian.com>
7185 * Environment.cs (Version): Return the same numbers as the MS
7188 2003-08-10 Miguel de Icaza <miguel@ximian.com>
7190 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
7191 replicated tests, and have a routine that does the heavy lifting.
7193 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
7195 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
7197 * Environment.cs: return $HOME for ApplicationData folder.
7199 2003-08-04 Duncan Mak <duncan@ximian.com>
7201 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
7202 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
7203 floating point values. This fixes bug #46175.
7205 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
7206 noted by c5n4kh6u02@sneakemail.com in
7207 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
7209 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
7211 * Double.cs: added icall Double.AssertEndianity.
7213 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
7215 * Type.cs, MonoType.cs: implemented generic-specific methods.
7217 2003-07-29 Miguel de Icaza <miguel@ximian.com>
7219 * Buffer.cs: Add new internal MemCopy call.
7223 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
7225 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
7226 to icalls, to avoid special cases in some call conventions.
7228 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7230 * Enum.cs: added Serializable attribute.
7232 2003-07-25 Duncan Mak <duncan@ximian.com>
7234 * AppDomain.cs (Equals):
7235 (GetHashCode): Removed because they do not need to be defined
7238 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7240 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
7241 cannot even get the type.
7243 2003-07-24 Miguel de Icaza <miguel@ximian.com>
7245 * Type.cs: Added generics stubs.
7247 2003-07-23 Duncan Mak <duncan@ximian.com>
7249 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
7250 as values for NET_1_1.
7251 (GetFolderPath): Return the empty string ("") for values of
7252 SpecialFolder that have no corresponding equivalents in
7253 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
7254 and "$HOME" for SpecialFolder.Personal.
7256 * IntPtr.cs (GetObjectData): Mark it as an interface
7257 implementation, instead of a public method.
7259 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
7261 * TypeLoadException.cs (GetObjectData):
7262 Create stubs for the fields that are being serialized.
7264 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
7266 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
7268 * Enum.cs: Fixed enum formatting. For flag enums, if one of
7269 the flags is unnamed, ToString() returns the integer value.
7271 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
7273 * Guid.cs: Fixed ToString (), was producing incorrect string.
7275 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7277 * AppDomainSetup.cs: fixed bug #46609.
7279 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
7281 * MonoType.cs: use an icall for IsPrimitiveImpl ().
7283 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
7285 * Guid.cs: faster ToString ().
7287 2003-07-15 Pedro Martínez Juliá <yoros@wanadoo.es>
7289 * FloatingPointFormatter.cs: Few changes for get working Rotor
7292 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
7294 * Type.cs (IsAssignableFrom): Implement this as an icall since the
7295 runtime already includes the neccessary logic.
7297 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7299 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
7300 if it's present and get the full path for non-Uri paths.
7302 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
7304 * DateTime.cs: Fixed formatting of fractions of second.
7306 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
7308 * Console.cs: Turn off buffering for the streams returned by
7309 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
7311 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
7313 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
7314 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
7315 a new random number (although it is not needed), while mono did not.
7316 As a result, the sequence of random numbers could be different for the
7319 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
7321 * FloatingPointFormatter.cs: use dec_len2 as default precision.
7323 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
7325 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
7326 be done after the correspondig UTC offset has been applied.
7328 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
7330 * Object.cs: Object must have the Serializable attribute.
7331 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
7332 to the resulting date. Also fixed _ToString so now correctly formates the
7335 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
7337 * Enum.cs: fix race in cache (bug#41841).
7339 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
7341 * FloatingPointFormatter.cs: if the precision is not specified, use
7342 the default precision for the data type.
7344 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
7346 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
7347 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
7349 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7351 * MonoType.cs: don't throw nullref when the return type for a property
7352 is specified and the property doesn't have a get accessor.
7354 2003-06-10 Duncan Mak <duncan@ximian.com>
7356 * Array.cs (CreateInstance): Fixed a typo. It should throw
7357 ArgumentNullException instead of ArgumentException.
7359 2003-06-09 Duncan Mak <duncan@ximian.com>
7361 * Array.cs: Revert the last revert. I fixed it.
7362 (Sort): Put a try-catch block around qsort, and wrap whatever
7363 Exception we get into a InvalidOperationException.
7365 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
7367 * Array.cs: Revert last patch, it broke some other functionality.
7369 2003-06-08 Duncan Mak <duncan@ximian.com>
7371 * Array.cs: Throw more exceptions. This fixes the errors we see
7372 from the Rotor testsuite.
7374 (CreateInstance): Throw ArgumentNullException when the input are
7375 null. Throw ArgumentOutOfRangeException when bounds + length is
7376 greater than Int32.MaxValue.
7377 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
7378 the valid range of indices of array.
7379 (Sort): Throw InvalidOperationException when comparer is null and
7380 none of the elements in keys implements IComparable.
7382 2003-06-08 Duncan Mak <duncan@ximian.com>
7384 * Array.cs (CreateInstance): Throw a TypeLoadException if the
7385 Length of the input array 'lengths' is greater than 255 so that we
7386 won't see the g_assert that is in mono_array_class_get in class.c.
7388 This fixes bug #44304.
7390 2003-06-05 Nick Drochak <ndrochak@gol.com>
7392 * UnitySerializataionHolder.cs: Cleanups according to class status page
7394 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
7396 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
7397 RuntimeTypeHandle.cs: implemented the needed stuff to handle
7400 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
7402 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
7403 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
7404 for Ben Maurer after review and testing.
7406 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
7408 * Array.cs: Added better argument checking to Array.Sort ()
7409 * DBNull.cs: Made the conversions throw like they do in MS.
7411 2003-05-24 Philip Van Hoof <me@freax.org>
7413 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
7415 2003-05-21 Pedro Martínez Juliá <yoros@wanadoo.es>
7417 * FloatingPointFormatter.cs: Take care with the explicit precision
7418 and round the number to that precision.
7420 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
7422 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
7424 2003-05-20 Philip Van Hoof <me@freax.org>
7426 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
7429 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
7431 * AppDomainSetup.cs: Added new field which is used to notify the
7432 runtime that the search path has changed.
7434 2003-05-18 Pedro Martínez Juliá <yoros@wanadoo.es>
7436 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
7437 introduced the last change I've done.
7439 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
7441 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
7442 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
7443 behaving correctly).
7445 2003-05-17 Pedro Martínez Juliá <yoros@wanadoo.es>
7447 * FloatingPointFormatter.cs: Fixed little format mismatches.
7449 2003-05-16 Pedro Martínez Juliá <yoros@wanadoo.es>
7451 * FloatingPointFormatter.cs: Fixed "-0" result emited.
7453 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7455 * AppDomain.cs: Added null argument check in Load().
7456 * Activator.cs: fixed bug #39926.
7458 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7460 * Enum.cs: fixed bugs #41522 and #42879.
7462 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
7464 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
7465 undocumented MS behaviour.
7467 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7469 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
7472 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7474 * String.cs: fixed bug #41411 and another similar problem in
7475 LastIndexOf (string).
7477 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7479 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
7482 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
7484 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
7485 construction if the delegate list only has one element.
7487 2003-05-01 Pedro Martínez Juliá <yoros@wanadoo.es>
7489 * Environment.cs: Changed the method GetFolderPath because it must
7490 return at least a directory name (not null).
7492 * Convert.cs: In ToType, if the destination type is unknown, try to
7493 cast the value to object (then, the calling method will downcast it
7494 to the type it wants).
7496 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7498 * Enum.cs: fixed bug #41522.
7500 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
7502 * Enum.cs: protect with the lock also the lookup (bug #41841).
7504 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
7506 * MonoType.cs: allow a null name if InvokeMember is called with
7507 BindingFlags.CreateInstance set.
7509 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7511 * Enum.cs: reverted my previous patch.
7513 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7515 * Enum.cs: fixed bug #41841.
7517 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7520 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
7522 2003-04-22 Pedro Martínez Juliá <yoros@wanadoo.es>
7524 * FloatingPointFormatter.cs: Little fixes for get the same results
7525 as MS.NET and show a message when something goes wrong with the
7526 parser of Custom Formats.
7528 2003-04-22 Nick Drochak <ndrochak@gol.com>
7530 * Double.cs (ToString):
7531 * Single.cs (ToString): Handle case where param is a CultureInfo.
7533 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
7535 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
7536 ValueType::Equals() icalls static non-virtual, so they can be called
7537 by the code in RuntimeHelpers.
7539 2003-04-18 Miguel de Icaza <miguel@ximian.com>
7541 * Delegate.cs (operator ==): Do not crash if the second argument
7542 is null. Bug fix submitted by Juan Cri.
7544 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
7546 * Array.cs: Deleted the exception in Array.Initialize(), it looks
7547 like the method do nothing for C#, is still a MonoTODO until
7548 we find a compiler that uses that.
7550 2003-04-14 Miguel de Icaza <miguel@ximian.com>
7552 * Delegate.cs (Delegate): Seems like a typo, we were checking the
7553 a field rather than the argument
7555 * MonoType.cs: Make GetNestedType an external method implementation.
7557 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7559 * Enum.cs: fixed bug #41294.
7561 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7563 * DateTime.cs: fixes bug #40910, part 2.
7565 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
7567 * String.cs (Equals): avoid the internal call, code cleanups
7569 2003-04-11 Alan Tam <Tam@SiuLung.com>
7571 * Convert.cs: fixed bug #41085.
7573 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
7575 * AppDomain.cs: Added internal method for getting process guid.
7577 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
7579 * Array.cs: Little fix to compare () method.
7581 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
7583 * String.cs (Equals): Add trivial optimization.
7585 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7587 * DateTime.cs: fixed bug #40910.
7589 2003-04-05 Miguel de Icaza <miguel@ximian.com>
7591 * Console.cs: Make stderr, stdout and stdin use synchronized
7592 versions of the their readers/writers.
7594 2003-04-04 Dick Porter <dick@ximian.com>
7596 * Version.cs: Make operator== and operator!= cope with null
7597 objects. Didn't change operator<, operator<=, operator> or
7598 operator>= because its not meaningful to use those to compare
7599 against null, and throwing a NullReferenceException is probably
7600 the best thing to do there anyway.
7604 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7606 * AppDomain.cs: fixed InvalidCastException.
7608 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
7610 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
7611 type checks and let it decide whenever a fast copy is possible.
7613 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7616 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
7618 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
7620 * Activator.cs (CreateInstance): Call GetConstructor with the right
7621 arguments so the nonPublic argument is handled correctly.
7623 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7625 * Type.cs: fixed bug #40123.
7627 2003-03-22 Pedro Martínez Juliá <yoros@wanadoo.es>
7629 * FloatingPointFormatter.cs: Fixed some bugs for get the same
7630 results than MS.NET. Added simple error recovering, now ToString
7631 will return a general format if there is any exception in the
7632 process of formatting. This make the library more robust while the
7633 formatters are refined.
7635 2003-03-16 Pedro Martínez Juliá <yoros@wanadoo.es>
7637 * FloatingPointFormatter.cs: Added support for group separators.
7639 2003-03-16 Pedro Martínez Juliá <yoros@wanadoo.es>
7642 * Double.cs: Apply changes of .ToString methods.
7643 * SingleFormatter.cs:
7644 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
7645 * FloatingPointFormatter.cs: New class. Implementation of double and
7646 single formatters. It is unified now and parametrized with precission
7649 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
7651 * AppDomain.cs: fixes bugs #39380 and #39331.
7653 2003-03-06 Nick Drochak <ndrochak@gol.com>
7655 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
7657 2003-03-04 Dick Porter <dick@ximian.com>
7660 * Double.cs: Temporarily reverted the Double and Single ToString()
7661 change, because it broke nunit.
7664 2003-03-04 Pedro Martínez Juliá <yoros@wanadoo.es>
7666 * Double.cs: Changed ToString method. Added NumberFormatInfo support
7667 with DoubleFormatter class.
7668 * Single.cs: Changed ToString method. Added NumberFormatInfo support
7669 with SingleFormatter class.
7670 * DoubleFormatter.cs: New class with Double formatting functions.
7671 * SingleFormatter.cs: New class with Single formatting functions.
7673 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
7675 * Activator.cs: Added support for activation using activation attributes.
7676 * AppDomain.cs: Added internal method to get the default context from the runtime.
7678 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
7680 * DateTime.cs: FileTime is expressed in Universal time, and as such must
7681 be converted before subtracting the magic offset.
7682 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
7683 the timezone at the end) *must* be parsed by DateTime.Parse() for
7684 compatibility with Microsoft.
7686 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7689 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
7692 * IntPtr.cs: added serialization .ctor
7694 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7696 * AppDomain.cs: check for null in Unload and changed method name.
7698 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7700 * MonoCustomAttrs.cs: fixed bug #38238.
7702 2003-02-17 Martin Baulig <martin@ximian.com>
7704 * Exception.cs (Exception.ToString): Print a newline between the
7705 exception message and the stack trace.
7707 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7709 * AppDomain.cs: implemented GetCurrentThreadId ().
7711 2003-02-14 Patrik Torstensson
7713 * Exception.cs: Fixed message output formating
7715 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7718 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
7720 2003-02-12 Miguel de Icaza <miguel@ximian.com>
7722 * Type.cs: IsClass should return false for Enumerations
7724 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7726 * MonoCustomAttrs.cs: return the correct array type in the short case.
7729 2003-02-08 Pedro Martíenz Juliá <yoros@wanadoo.es>
7731 * Math.cs: Fix a few methods (like Round) and add with comments the
7732 new methods: BigMul and DivRem that were in ECMA specs.
7734 2003-02-07 Patrik Torstensson
7736 * Exception.cs: Fixed formating
7738 2003-02-05 Patrik Torstensson
7740 * AppDomain.cs: Partly fixed the unload method
7742 2003-02-04 Patrik Torstensson
7744 * AppDomain.cs: Fixed lease issue with appdomain
7746 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
7748 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
7749 InitializeLifetimeService().
7751 2003-02-03 Patrik Torstensson
7753 * AppDomain.cs: New internalcalls for handling domain/context switches
7754 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
7756 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7758 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
7759 and ClearShadowCopyPath and fixed GetType ().
7761 * Attribute.cs: clean up.
7763 * Console.cs: removed UnixConsoleEncoding. Use Default.
7765 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7767 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
7768 GetCustomAttributes later.
7770 2003-01-31 Patrik Torstensson
7772 * Buffer.cs: Changed access level of BlockCopyInternal
7774 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
7776 * String.cs, IntegerFormatter.cs: use const where appropriate.
7778 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7780 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
7783 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7785 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
7786 The argument ICustomAttributeProvider can be of other types different
7787 from Type. Handle it.
7789 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
7791 * DateTime.cs: fix FromFileTime so the time returned by
7792 File::GetLastModificationTime etc. is in the correct timezone.
7794 2003-01-28 Patrik Torstensson
7795 * Exception.cs: reverted formating/endline changes (sorry guys)
7797 2003-01-28 Patrik Torstensson
7799 * MarshalByRefObject.cs: implemented GetObjectIdentity
7800 * Exception.cs: added support for remote exceptions
7802 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7804 * DateTime.cs: fixed bug #37225.
7806 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7808 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
7810 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
7812 * AppDomain.cs: Added DoTypeResolve method which will be called by
7813 the runtime to raise TypeResolve events.
7815 2003-01-27 Duncan Mak <duncan@ximian.com>
7817 * Enum.cs (ToType): Implement this using Convert.ToType.
7819 2003-01-21 Miguel de Icaza <miguel@ximian.com>
7821 * Math.cs: Remove Pow's implementation body as it was wrong. The
7822 C code does the right thing. The code was trying to handle a
7823 number of cases, and that was incorrect.
7825 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7827 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
7830 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7832 * Enum.cs: added caching to GetInfo.
7834 2003-01-23 Dick Porter <dick@ximian.com>
7836 * Environment.cs (System): Implemented ExitCode
7838 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
7840 * Type.cs (IsInstanceOfType): fixed regression caused by the change
7843 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7845 * MonoType.cs: re-added lines that were removed in the previous commit.
7847 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
7849 * Type.cs: corrected property IsSerializable. It should always return
7850 true for enums and delegates
7851 * MonoType.cs: added serialization support.
7852 * Delegate.cs: added serialization support.
7853 * DBNull.cs: added serialization support.
7854 * UnitySerializationHolder.cs: supports serialization of Assembly,
7855 MonoType and DBNull.
7856 * DelegateSerializationHolder.cs: added.
7858 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7860 * Exception.cs: changed default message to match MS one.
7862 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
7864 * String.cs: Fixed bug with CompareOrdinal
7866 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7868 * Enum.cs: implements IFormattable.
7870 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7872 * AppDomain.cs: implemented DoCallBack method.
7874 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
7877 NUnit2 tests start moving.
7879 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7881 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
7882 instantiate an abstract class.
7884 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7887 (IsSubclassOf): return false when null. Use != instead of Equals.
7889 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7891 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
7893 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
7895 * MonoType.cs: fixed Namespace property for nested types.
7897 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
7899 * MonoCustomAttrs.cs: create properly typed arrays when returning
7900 arrays of attributes of a given type.
7902 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
7904 * MonoType.cs: fixed MemberType property for nested types.
7906 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7908 * String.cs: fixed bug #36209.
7910 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
7912 * Activator.cs: implemented method GetObject.
7914 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
7916 * Activator.cs: Since the documentation indicates the method
7917 either succeeds or throws one of the listed exceptions, we weren't
7918 expecting that CreateInstance might be returning null.
7920 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
7922 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
7924 * MarshalByRefObject.cs: implemented CreateObjRef.
7926 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7928 * DateTime.cs: fixed bug #30076.
7929 * TimeZone.cs: provide the parameter name in a exception.
7931 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7933 * DecimalFormatter.cs: fixed bug #35560.
7935 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
7937 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
7939 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7941 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
7942 nulls. Fixes #34909.
7944 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7946 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
7947 returns a non-null assembly.
7949 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7951 * MulticastDelegate.cs: make GetInvocationList work for more than 1
7954 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7956 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
7957 if this is the correct order of invocation.
7959 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7961 * Type.cs: changed the signature of internal_from_name. Modified
7962 the overloads of GetType to use it and check the typeName argument.
7963 Implemented FindInterfaces.
7965 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7967 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
7968 some obscure reasons (try make -f makefile.gnu using a corlib which has
7969 the modified version).
7971 2002-11-26 Miguel de Icaza <miguel@ximian.com>
7973 * String.cs (Concat): Reduce the number of compares required.
7975 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
7977 * Activator.cs: throw a MissingMethodException if the default
7978 constructor is not found in CreateInstance.
7980 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7983 (Equals (str, str)): use 'as' instead of casting to object.
7984 (Equals (obj)): check the length of the strings (until now,
7985 "Hello".Equals ((object) "Hellow World!) was true!).
7987 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7989 * MonoType.cs: implemented GetEvent (name, flags).
7991 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7993 * AppDomain.cs: implemented a couple of methods called from the runtime
7994 to fire AssemblyLoad and AssemblyResolve events.
7996 2002-10-31 Dick Porter <dick@ximian.com>
7998 * Environment.cs: MonoIO methods now have an error parameter
8000 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
8002 * Enum.cs: Added support for whitespaces in Enum:Parse().
8004 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8006 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
8007 internal call. Closes bug #32992.
8009 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8011 * Exception.cs: display the inner exception, if any, in ToString ().
8013 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8015 * Environment.cs: fixed StackTrace property.
8017 2002-10-16 Nick Drochak <ndrochak@gol.com>
8019 * Enum.cs (Parse): Then fix the code so that it works too.
8021 2002-10-15 Nick Drochak <ndrochak@gol.com>
8023 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
8025 2002-10-12 Nick Drochak <ndrochak@gol.com>
8027 * IntegerFormatter.cs: Fix compiler warnings.
8029 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
8031 * Type.cs (GetConstructors): Use the correct flags.
8033 2002-10-09 Nick Drochak <ndrochak@gol.com>
8035 * IntegerFormatter.cs: Suppress insignificant leading zeros
8037 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
8039 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
8040 <stonewell@21cn.com> to return also derived types.
8042 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8044 * Activator.cs: little fix in CreateInstance (Type, bool).
8046 2002-09-19 Duncan Mak <duncan@ximian.com>
8048 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
8049 I18N/Common from building right now.
8051 2002-09-19 Nick Drochak <ndrochak@gol.com>
8053 * Array.cs (CopyTo): Account for Object type and base (primitive) types
8054 * Type.cs (IsAssignableFrom): return false for a null parameter
8056 2002-09-19 Nick Drochak <ndrochak@gol.com>
8058 * Array.cs (CopyTo): Check that source type can be cast automatically
8059 to the destination type.
8061 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8063 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
8066 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8068 * Char.cs: implemented ToString (char)
8069 * IntegerFormatter.cs: made it internal.
8071 2002-09-13 Nick Drochak <ndrochak@gol.com>
8073 * Enum.cs (Format): handle the "d" format for both signed and unsigned
8076 2002-09-12 Dick Porter <dick@ximian.com>
8078 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
8079 attribute, as there doesn't appear to be any struct
8080 layout-depending code here (and corcompare says it should be
8081 LayoutKind.Sequential)
8083 * Decimal.cs: Stub out missing methods, add
8084 [DecimalConstantAttribute] to the constant fields (as shown by
8087 * LocalDataStoreSlot.cs:
8090 * Array.cs: Stub out missing methods.
8092 * TypedReference.cs:
8093 * ArgIterator.cs: Stub out
8095 * AppDomainSetup.cs:
8096 * AppDomain.cs: Stub out missing methods, add missing
8097 ClassInterface(ClassInterfaceType.None) attribute.
8099 2002-09-12 Nick Drochak <ndrochak@gol.com>
8101 * Double.cs (ToString): Throw exception when "X" format is passed in.
8103 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
8105 * MonoType.cs: implemented Module property.
8107 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
8109 * MonoType.cs, Type.cs: implemented InvokeMember.
8111 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
8113 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
8114 type. Check the method signature matches.
8116 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
8118 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
8120 2002-09-06 Miguel de Icaza <miguel@ximian.com>
8122 * Console.cs: Specify an encoder, otherwise we will get the UTF8
8123 encoder that by default emits the byte markers.
8125 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
8127 * Delegate.cs: look also for non-public methods until we have the
8128 security checks in place.
8130 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
8132 * MonoType.cs: consider also the full name in GetInterface.
8134 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
8136 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
8137 GetMethodImpl using the binder.
8138 * Type.cs: GetConstructorImpl/GetConstructor fixes.
8140 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
8141 * Enum.cs: Get rid of warning CS0162.
8143 2002-09-04 Miguel de Icaza <miguel@ximian.com>
8145 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
8146 actual value instead of public.
8148 * LocalDataStoreSlot.cs: Make constructor internal.
8150 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
8151 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
8154 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
8155 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
8158 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8160 * DateTime.cs: fixed buglet.
8162 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
8164 * MonoType.cs: speedup access to common data.
8166 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8168 * Double.cs: implemented TryParse.
8170 * Math.cs: PowImpl is now private.
8172 * MissingFieldException.cs: implemented Message.
8174 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
8176 * _AppDomain.cs: Uncommented ToString.
8178 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8181 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
8183 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8185 * ArgumentException.cs: use the field instead of the property for
8188 * ArgumentOutOfRangeException.cs: modified Message.
8191 (_DoParse): throw out of range exception for year. Removed check
8192 for month (it's done in the constructor).
8194 2002-08-21 Miguel de Icaza <miguel@ximian.com>
8196 * Environment.cs: Implemented OSVersion property.
8198 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
8200 * Exception.cs: set stack_trace to null
8202 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
8204 * AppDomain.cs: implemented ToString().
8206 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8208 * AppDomain.cs: securityInfo can be null in CreateDomain.
8210 2002-08-19 Dick Porter <dick@ximian.com>
8212 * MonoType.cs: Add a space before the Assembly name in
8213 AssemblyQualifiedName (needed for resource files so the MS runtime
8216 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8218 * AppDomain.cs: parameter name when throwing ArgumentNullException.
8220 * ArgumentException.cs: modified Message to do what MS does.
8222 * ArgumentNullException.cs: don't use {0} in message.
8224 * Exception.cs: use Message property in ToString ().
8226 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
8228 * WeakReference.cs: Changed the constructor and GetObjectData
8229 method needed for ISerializable implementation in order to be
8230 compatible with SOAP generated by MS.
8232 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
8234 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
8236 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
8238 * Exception.cs (ToString): changed the ouput format.
8240 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
8242 * MonoType.cs: moved get_method icall to this class, we can
8243 remove it as soon someone provides a full featured GetMethodImpl.
8245 * Type.cs: use GetMethodImpl everywhere.
8247 * Delegate.cs: new CreateDelegate implementations.
8249 2002-08-06 Tim Coleman <tim@timcoleman.com>
8251 Fix bug #28582. Now checks parameters for properties
8254 2002-08-04 Nick Drochak <ndrochak@gol.com>
8256 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
8258 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8261 (FormatSpecifier): allow white space between the comman and the width
8264 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8269 * UInt64.cs: fixed bug #28050. May be a MS bug?
8271 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
8273 * MonoType.cs: fix IsArrayImpl.
8275 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8277 * String.cs: make ToLower (culture) and ToUpper (culture) use the
8278 default ToLower and ToUpper and don't throw NotImplemented.
8280 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
8282 * Type.cs: make GettTypeCode an icall. Test implementation of
8285 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8287 * AppDomainSetup.cs: implemented LoaderOptimization.
8289 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8291 * Activator.cs: some more intermediate results checking in
8292 in CreateInstance and CreateInstanceFrom and use GetConstructor and
8293 Invoke only with Type [] until the other overloaded versions work.
8295 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8297 * Activator.cs: reformatted. Implemented CreateInstance* methods
8298 that return ObjectHandle.
8300 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
8302 2002-07-03 Nick Drochak <ndrochak@gol.com>
8304 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
8305 the divisor is not) and avoid the icall, which seems to have a bug.
8307 2002-07-03 Nick Drochak <ndrochak@gol.com>
8309 * Double.cs (CompareTo): Correctly handle the case where the instance
8310 is NaN. Also return 0 if the values are equal.
8312 2002/07/03 Nick Drochak <ndrochak@gol.com>
8314 * MissingMethodException: Add missing Message property
8315 * MissingMemberException: Add missing Message property
8317 2002-06-30 Nick Drochak <ndrochak@gol.com>
8319 * Double.cs (CompareTo): Just see which is bigger. Don't use the
8320 subtraction trick, it doesn't work when the values have a diference of
8323 * Single.cs (CompareTo): same
8325 2002-06-27 Martin Baulig <martin@gnome.org>
8327 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
8328 constructor argument. [FIXME: The implicit conversion to an
8329 unsigned integer doesn't work with mcs.]
8331 2002-06-26 Martin Baulig <martin@gnome.org>
8333 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
8334 not `S = System'. This file now compiles with mcs.
8336 * String.cs: Removed the already ifdef-outed __arglist Concat function
8337 to make it compile with mcs.
8339 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8341 * IntegerFormatter.cs:
8342 (FormatParse.FormatNumber): fixed custom format for negative numbers.
8344 2002-06-21 Martin Baulig <martin@gnome.org>
8346 * Double.cs: Replace the private `enum State' with constants since this
8347 will avoid some bigger headaches in mcs.
8349 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
8351 * TimeSpan.cs: do not pollute the namespace with the
8354 2002-06-18 Nick Drochak <ndrochak@gol.com>
8356 * ArgumentException.cs: Use the message given in the constructor when
8357 accessing the Message property. Thanks to Dietmar for the help with
8360 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
8362 * MonoType.cs: GetField is now a InternalCall
8364 2002-06-13 Nick Drochak <ndrochak@gol.com>
8366 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
8367 sortable format(s), e.g. "2002-02-25"
8369 2002/06/12 Nick Drochak <ndrochak@gol.com>
8371 * Random.cs (Next): Fix math error. Return a number within the range.
8373 2002-06-12 Nick Drochak <ndrochak@gol.com>
8375 * String.cs (IndexOf): Return -1 if start index is equal to string
8378 2002-06-10 Duncan Mak <duncan@ximian.com>
8380 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
8381 (ToType): Added null field in conversionTable to avoid
8382 IndexOutOfRangeException. Changed what exceptions we throw to match
8385 2002-06-11 Nick Drochak <ndrochak@gol.com>
8387 * Int64.cs (Parse): Added unique strings to the messages where we throw
8388 a FormatException. Needed these to debug, so just left them in since
8389 they might be useful later. Fixed Currency parsing where we weren't
8390 looking at CurrencyDecimalSeparator, etc.
8392 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
8394 * DateTime.cs: fixes to pass tests M0 to M6:
8395 if yy pattern then year values >= 30 are in 20th century
8396 rfc1123 pattern is always in GMT, therefor useutc must be false
8397 made GetNow() internal static so it can be called from TimeZone.
8398 * TimeZone.cs: removed dependency on year 2002 from initialization of
8401 2002-06-09 Duncan Mak <duncan@ximian.com>
8403 * Convert.cs (ToType): Rearranged what Exceptions we throw to
8406 2002-06-08 Duncan Mak <duncan@ximian.com>
8408 * Decimal.cs: Added support for the IConvertible interface.
8410 2002-06-08 Martin Baulig <martin@gnome.org>
8412 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
8413 doesn't necessarily need to be of the enum's underlying type.
8415 2002/06/07 Nick Drochak <ndrochak@gol.com>
8417 * String.cs: Add [Serializable] to class
8418 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
8420 2002-06-04 Nick Drochak <ndrochak@gol.com>
8422 * Double.cs (Parse): Recognize the group separator string, but still we
8423 don't check the format for the proper number of digits between
8424 separators. Also throw OverflowException when we get Pos or Neg
8425 Infinity from runtime.
8427 2002-06-03 Duncan Mak <duncan@ximian.com>
8429 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
8431 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
8433 * Type.cs: fixed GetTypeCode.
8435 2002-06-02 Duncan Mak <duncan@ximian.com>
8437 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
8438 cast from an int so that we throw OverFlowException correctly.
8440 (ToInt64): Use a new 64bit version of ConvertToBase.
8442 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
8443 and Int32.MaxValue).
8445 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
8447 2002-06-02 Nick Drochak <ndrochak@gol.com>
8449 * Convert.cs (ToSByte): Check for special value.
8450 * Single.cs (Parse):
8451 * UInt16.cs (Parse):
8452 * UInt32.cs (Parse): Throw OverflowException if negative
8454 2002-06-02 Duncan Mak <duncan@ximian.com>
8456 * Convert.cs (DBNull): Point it to DBNull.Value.
8457 (IsDBNull): Instead of checking typecodes, just check to see if
8458 it's the same as the DBNull field.
8460 2002-06-02 Nick Drochak <ndrochak@gol.com>
8462 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
8464 2002-06-02 Duncan Mak <duncan@ximian.com>
8466 * Char.cs (Parse): Simplify the Exception handling.
8468 * Convert.cs (ToDecimal): Remove call to Math.Round () when
8469 converting from a float.
8471 2002-05-30 Martin Baulig <martin@gnome.org>
8473 * MonoType.cs (GetInterface): Implemented.
8475 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
8477 * Activator.cs: implemented CreateInstance ().
8479 2002-05-22 Duncan Mak <duncan@ximian.com>
8481 * Convert.cs (ConvertToBase): Added new 64bit version.
8482 (BuildConvertedString64): New 64bit version of
8483 BuildConvertedString.
8485 This fixes bug 25068.
8487 (ConvertFromBase): Added additional test for checking if the
8488 digits are valid. Thanks to Miguel for coming up with this test.
8490 This fixes bug 25071.
8492 2002-05-21 Duncan Mak <duncan@ximian.com>
8494 * Convert.cs (ToType): Rearranged to fit the new layout of
8497 (conversionTable): Rearranged to fit the layout of the
8498 System.TypeCode enum.
8500 This should fix bug 25075.
8502 2002-05-21 Duncan Mak <duncan@ximian.com>
8504 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
8505 mixed up the two code paths, one for converting to a specific base
8506 (this case), another from converting from a foreign base to base10
8507 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
8509 * Convert.cs (ToByte)
8510 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
8511 that we won't confuse FormatException with OverflowException.
8513 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
8515 * Environment.cs: CommandLine missed spaces between arguments.
8516 Implemented StackTrace. Returning MachineName in UserDomainName
8519 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
8521 * MonoCustomAttrs.cs: handle inherit argument.
8523 2002-05-21 Nick Drochak <ndrochak@gol.com>
8525 * Math.cs (Pow): Change icall method name and insert parameter
8526 checks in for infinities and NaN.
8528 2002-05-13 Miguel de Icaza <miguel@ximian.com>
8530 * Double.cs (Parse): Reimplement by cleaning up the string first,
8531 and then passing to strtof in the mono runtime.
8533 * Single.cs (Parse): Use the Double implementation and cast to
8536 2002-05-21 Nick Drochak <ndrochak@gol.com>
8539 (Ceiling): Check for "special" values
8540 (Floor): Check for "special" values
8541 (Round): Fix off-by-one error on decimal shifting
8543 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
8545 * DateTime.cs: ToString () using "G" format specifier
8547 2002-05-19 Martin Baulig <martin@gnome.org>
8549 * Convert.cs (FromBase64CharArray): Do correct exception handling.
8551 2002-05-19 Martin Baulig <martin@gnome.org>
8553 * Convert.cs (FromBase64CharArray): Convert the char array using
8554 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
8557 2002-05-17 Miguel de Icaza <miguel@ximian.com>
8559 * MonoType.cs: Style changes.
8561 * Type.cs: Style changes.
8563 2002-05-16 Piers Haken <piersh@friksit.com
8565 * UInt64.cs: fix declaration of IConvertible.To* overrides.
8567 2002-05-16 Nick Drochak <ndrochak@gol.com>
8569 * BitConverter.cs (ToString): Add parameter check for invalid start
8572 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
8573 now that StreamWriter uses buffering
8575 2002-05-14 Miguel de Icaza <miguel@ximian.com>
8577 * Double.cs: Oops. Also handle exponents without finding a dot.
8579 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8581 * ChangeLog: removed empty entry at the top of the file.
8583 * Int32.cs: made static functions used by Parse internal.
8587 * UInt64.cs: removed static fucntions used by Parse and use the ones
8590 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
8592 * IServiceProvider.cs: added using System
8594 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
8596 * Single.cs: copied ToString() and Parse() methods from
8597 Double to Single and modified a tiny bit for Single.
8598 There is still a FIXME for Double and Single about
8599 passing the format and provider info to the icall too.
8601 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8606 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
8607 Don't use a delegate to test for valid digits.
8609 2002-05-01 Duncan Mak <duncan@ximian.com>
8612 * Math.cs: Added missing CLSCompliant attributes where necessary.
8614 2002-04-30 Duncan Mak <duncan@ximian.com>
8616 * ArgumentException.cs (Message):
8617 * ArgumentOutOfRangeException.cs (Message): Added.
8619 2002-04-30 Nick Drochak <ndrochak@gol.com>
8621 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
8623 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
8625 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
8627 2002-04-28 Duncan Mak <duncan@ximian.com>
8629 * DivideByZeroException.cs: Added missing serialization constructor.
8631 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
8633 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8635 * Math.cs: fix Floor () and Round (). Closes #23960.
8637 2002-04-27 Nick Drochak <ndrochak@gol.com>
8639 * Array.cs (IList.Contains): Should throw a RankException if this is
8640 called on a Rank > 1 array. Not in the docs, but this is what the
8643 2002-04-26 Duncan Mak <duncan@ximian.com>
8645 * MissingMemberException.cs: Made the message variable 'protected'
8646 instead of 'private', so that we can see it in
8647 MissingMethodException and MissingFieldException.
8649 * MissingFieldException.cs:
8650 * MissingMethodException.cs: Added missing (string, string)
8651 constructor, and also the Message property.
8653 2002-04-26 Martin Baulig <martin@gnome.org>
8655 * Enum.cs: Implemented the IConvertible methods.
8657 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8659 * SByte.cs: little change in Parse (string) to avoid incorrect
8660 OverflowException thrown (reported by nickd).
8662 2002-04-22 Miguel de Icaza <miguel@ximian.com>
8664 * ValueType.cs: Add Serializable attribute.
8666 * String.cs: ifdef-out out the __arglist Concat function until I
8667 add support for that to mcs.
8669 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
8671 * AppDomain.cs (GetValue): usage of the correct icall (bug)
8673 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
8675 * GC.cs: implement most of the methods as icalls.
8677 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8679 * DecimalFormatter.cs (ToString): return correct value when the
8680 decimal number is 0.
8682 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
8684 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
8685 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
8687 2002-04-24 Nick Drochak <ndrochak@gol.com>
8689 * Double.cs (Parse): Handle case where there are no digits before the
8690 decimal point, such as ".1".
8692 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8697 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
8699 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
8701 * String.cs (Split): fixed invalid split of count 0 and 1.
8703 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
8705 * String.cs (LastIndexOf): fixed argument checking.
8706 * String.cs (Equals): made internal for performace.
8708 2002-04-23 Nick Drochak <ndrochak@gol.com>
8710 * String.cs (Join): check argument and throw exception if needed
8712 2002-04-23 Nick Drochak <ndrochak@gol.com>
8714 * String.cs (StartsWith): check argument and throw exception if needed
8716 2002-04-22 Nick Drochak <ndrochak@gol.com>
8718 * String.cs (IndexOfAny): check arguments and throw exceptions as
8719 neccessary. ALso remove some debug WriteLines.
8721 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
8723 * String.cs: use internal constructors
8726 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
8728 * MonoType.cs: make GetElementType its own icall.
8730 2002-04-18 Nick Drochak <ndrochak@gol.com>
8732 * String.cs: Modified file. Re-add methods needed by the unit tests.
8734 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
8736 * String.cs: some code speedups and restored GetTypeCode().
8738 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
8740 * String.cs: New implementation using internal calls.
8742 2002-04-16 Nick Drochak <ndrochak@gol.com>
8744 * DecimalFormatter.cs: Trim off excess null characters from the string
8745 that decimal2string gives back.
8747 2002-04-16 Nick Drochak <ndrochak@gol.com>
8749 * String.cs (SubString): revert my change. I can't reproduce the
8752 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8754 * Attribute.cs: added GetHashCode and Equals.
8756 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8758 * Enum.cs: little improvements to Format ().
8760 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
8762 * String.cs: internalcall GetHashCode().
8763 * Array.cS: optimize access to elements.
8765 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
8767 * String.cs: make IndexOfAny() use an internalcall.
8769 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8774 * UInt64.cs: fixed error when testing for validity of flags.
8776 2002-04-11 Nick Drochak <ndrochak@gol.com>
8778 * Double.cs: Use an internal call for ToString(). This is just a simple
8779 implementation to get away from throwing a NotImplementedException.
8781 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8786 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
8790 * Int64.cs: throw an OverFlowException when parsing a string
8791 containing a dot followed by any non '0' number.
8793 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8798 * UInt64.cs: added complex Parse ().
8800 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8805 * Int64.cs: added complex Parse ().
8807 2002-04-09 Nick Drochak <ndrochak@gol.com>
8809 * Array.cs (BinarySearch): Add checks on paramters before using them
8810 and throw exceptions as needed.
8812 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
8813 "G" format to "F" if so.
8815 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
8817 * MonoCustomAttrs.cs: return arrays of type Attribute[]
8818 instead of object[].
8820 2002/04/09 Nick Drochak <ndrochak@gol.com>
8822 * String.cs (Substring): Copy only non-null characters to the new
8825 2002-04-09 Nick Drochak <ndrochak@gol.com>
8827 * IntegerFormatter.cs: Don't use a format character to indicate a
8828 custom format was passed in. It was using 'z' to indicate a custom
8829 format, but really it should throw a format exception if the user
8830 tries to use "z" as the format string. Now it does.
8832 * Activator.cs: New File.
8834 2002-04-08 Nick Drochak <ndrochak@gol.com>
8836 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
8837 applied to an enum. Need to handle the different possible integer
8838 types of an enum somehow. Can anyone say generics?
8840 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
8842 * Convert.cs: switched the To*(object) methods to use
8843 IConvertible directly instead of calling ChangeType
8845 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
8847 * ValueType.cs: make Equals() an internalcall.
8849 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
8851 * Type.cs: also look for nested types in FindMembers.
8852 * MonoType.cs: make GetNestedTypes() an internalcall.
8854 2002-04-05 Nick Drochak <ndrochak@gol.com>
8856 * Enum.cs (Parse): Handle different underlying types.
8858 2002/04/04 Nick Drochak <ndrochak@gol.com>
8860 * Enum.cs (IsDefined): Throw exception when type of value to look for
8861 is not the correct one. Attempt to have it work with string values
8862 too, but not sure if the unit tests are getting that far yet.
8864 2002-04-04 Nick Drochak <ndrochak@gol.com>
8866 * Decimal.cs: Fix a couple of typos.
8868 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
8870 * Enum.cs: the values array is of the enum and not of the underlying
8871 type. Updates and some bug fixes.
8872 * MonoType.cs: make the internalcall return FullName instead of the
8873 assembly qualified name.
8874 * Type.cs: make ToString () simply return FullName.
8876 2002-04-03 Nick Drochak <ndrochak@gol.com>
8878 * Type.cs (GetTypeCode): provide some of the implementation for this
8879 method. It's still too simplistic to be considered complete.
8881 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
8883 * Object.cs: fixed FieldGetter/FieldSetter signature
8885 2002-04-02 Nick Drochak <ndrochak@gol.com>
8887 * Environment.cs: add MonoTODO's on parts that should have it.
8889 2002-04-01 Nick Drochak <ndrochak@gol.com>
8891 * Enum.cs: added reality checks (check parameters to most methods that
8894 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
8896 * Object.cs: added FieldGetter/FieldSetter
8898 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8900 * IntegerFormatter.cs: fixed initialization error in static
8903 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
8905 * Delegate.cs: added new field to store a trampoline function
8907 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8909 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
8910 make custom format strings work (not fully functional yet).
8912 2002/03/28 Nick Drochak <ndrochak@gol.com>
8914 * IntegerFormatter.cs: Change class from internal to public. Add
8915 necessary [CLSCompliant(false)] attributes.
8917 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
8918 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
8921 2002-03-28 Nick Drochak <ndrochak@gol.com>
8923 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
8925 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
8927 * Console.cs: Modified to get std handles from MonoIO.
8928 * Environment.cs: removed PAL dependencies.
8930 2002-03-25 Miguel de Icaza <miguel@ximian.com>
8932 * String.cs (System): Removed internal enumeration, because
8933 bootstrapping the corlib at this point does not support
8936 * IntPtr.cs: Temporary work-around until I fix the assembly
8939 2002-03-24 Martin Baulig <martin@gnome.org>
8941 * Enum.cs (GetValues): According to the docu this is sorted after
8944 * String.cs (System): Removed enumeration, because it is pretty
8945 hard to support enumerations in /nostdlib mode for the core types.
8947 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
8949 * Array.cs: move error handling in the catch block.
8950 * MulticastDelegate.cs: remove == and != operators that were
8951 removed with the delegate changes (when you add stuff, please do not
8952 remove existing functionality!).
8953 * Type.cs: if a property is not found in a type, search for it
8954 in the parent types, too.
8956 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
8958 * Math.cs: changed to use icall instead of PAL.
8960 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
8962 * Double.cs: added check for NaN (Bug [22082])
8964 2002-03-19 Nick Drochak <ndrochak@gol.com>
8966 * Enum.cs (Equals): check for null and throw if it is.
8967 * Enum.cs (Format): check for null parameters and throw if necessary.
8968 This method still needs more argument checking.
8970 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
8972 * Enum.cs (Equals): check if Enums are of the same type
8974 2002-03-18 Nick Drochak <ndrochak@gol.com>
8976 * Double.cs: Explicitly handle comparisons in CompareTo() for
8977 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
8979 * Enum.cs(CompareTo): Check types of values before trying to compare.
8980 Throw exceptions if types are invalid or don't match.
8982 2002-03-14 Miguel de Icaza <miguel@ximian.com>
8984 * Array.cs: Add some extra debugging information.
8986 2002-03-15 Nick Drochak <ndrochak@gol.com>
8988 * Array.cs: Added IList and IEnumerable.
8990 2002-03-14 Miguel de Icaza <miguel@ximian.com>
8992 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
8995 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
8997 * Delegate.cs (Equals): also compare method_ptr
8998 (GetHashCode): returm method_ptr as hash
9000 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
9001 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
9002 such as 42.ToString("0000000"), as these are (currently) not implemented
9003 in System.IntegerFormatter. TimeSpan luckely can do with Standard
9004 Numeric Format Strings, such as 42.ToString("D7").
9006 2002-03-12 Duncan Mak <duncan@ximian.com>
9008 * FieldAccessException.cs:
9009 * MethodAccessException.cs:
9010 * PlatformNotSupportedException.cs: Inherit from
9011 MemberAccessException, not SystemException.
9013 * ObsoleteAttribute.cs: Made Message and IsError properties
9016 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
9018 * GC.cs: make SuppressFinalize() a nop.
9019 * Delegate.cs: fix == operator.
9021 2002-03-13 Nick Drochak <ndrochak@gol.com>
9023 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
9024 runtime that goes with this patch.
9026 2002-03-10 Martin Baulig <martin@gnome.org>
9028 * Int32.cs (Parse): Correctly parse negative numbers.
9030 2002-03-08 Martin Baulig <martin@gnome.org>
9032 * String.cs (Split): Really fix it this time. Also adding several new
9033 testcase to the testsuite.
9035 2002-03-08 Martin Baulig <martin@gnome.org>
9037 * Array.cs (Copy): Optimized: removed duplicate null check, removed
9038 two duplicate GetLowerBound() calls and one duplicate IsValueType.
9040 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
9042 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
9043 * String.cs: use the dumb code for IndexOf(string): this is worth
9044 15-20 % speedup in mcs compile with mint.
9046 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
9048 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
9050 2002-03-07 Martin Baulig <martin@gnome.org>
9052 * String.cs (Join): Throw an ArgumentNullException.
9053 (LastIndexOf (string,int,int)): This method does a backwards search,
9054 so startIndex points to the end of value, not to its beginning. Don't
9055 throw an exception if startIndex equals this.Length. Always return -1
9056 if startIndex is smaller than the length of value.
9057 (Replace (string,string)): Replace all occurences of oldValue.
9058 If newValue is null, all occurences of oldValue are to be removed.
9059 (Split (char[],int)): Return an empty array if maxCount is zero, throw
9060 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
9061 elements, not maxValue+1.
9063 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
9065 * MonoType.cs: make GetEvents() an internal call.
9066 * MulticastDelegate.cs: copy the passed in array.
9068 2002-03-06 Martin Baulig <martin@gnome.org>
9070 * Array.cs (Copy): Use FastCopy when appropriate and do correct
9073 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
9074 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
9075 some of the failures found be new tests (see ChangeLog in
9076 Test/System). Comments added to this method, based on
9077 the representation invariant of this class, that (try to) explain
9078 why it now should be correct.
9080 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
9082 * Int64.cs (Parse): bug fix for max. negative value.
9084 2002-03-07 Nick Drochak <ndrochak@gol.com>
9086 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
9087 I need to understand what the difference between the attribute and
9090 2002-03-06 Martin Baulig <martin@gnome.org>
9092 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
9093 an InvalidCastException if the widening conversion failed. See
9094 testcases #M94-#M96.
9096 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
9097 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
9100 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
9101 (Copy): Actually allow copying multi-dimensional arrays.
9103 2002-03-05 Duncan Mak <duncan@ximian.com>
9106 (DBNull) Added the missing field.
9107 (IsDBNull) Fixed typo.
9108 (ToByte (string, int)) Implemented.
9109 (ToString (byte, int)) Implemented.
9111 (BuildConvertedString) internal functions used for converting values to
9119 * UInt32.cs: Implemented the IConvertible interface.
9121 * CharEnumerator.cs: Renamed to variables to be clearer and
9122 changed some of the tests to conform to the 1.0 spec.
9124 2002-03-06 Martin Baulig <martin@gnome.org>
9126 * Array.cs (Copy): Calculate absolute array position here and use
9127 GetValueImpl() and SetValueImpl() with that position. We can now
9128 copy multi-dimensional arrays.
9129 (CopyTo): Small bug fix.
9131 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
9133 * Version.cs: CompareTo changed according the LAMESPEC discovered by
9134 Nick (See VersionTest.cs).
9135 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
9136 error comparing the current position (idx) against the length of the
9137 string iterated and it set idx to an unrecognized special value (-2)
9139 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
9141 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
9142 to do this dirty work, but someone has to do it (and I need it to pass
9143 the "200 sample tests compiled on linux" mark).
9145 2002-03-06 Nick Drochak <ndrochak@gol.com>
9148 * DecimalFormatter.cs
9155 * RuntimeMethodHandle.cs
9156 * RuntimeTypeHandle.cs
9159 Add [MonoTODO]'s to places where we currently throw a
9160 NotImplementedException.
9162 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
9164 * Int16.cs (Parse): do not overflow on max negative value
9166 * Int32.cs (Parse): do not overflow on max negative value
9168 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
9170 * Type.cs: fixed IsClass.
9171 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
9172 IsByRefImpl. Added GetInterfaces().
9173 * IServiceProvider.cs: compilation fix.
9175 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
9177 * Array.cs: allow copying an empty array to an empty array.
9179 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
9181 * String.cs: fixed LastIndexOf (string) to do a bit of argument
9184 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
9185 * Version.cs: many fixes to failures found by the newly created
9186 test cases for this class. Specifically, the CompareTo member
9187 returned wrong values due to the use of Int32.MaxValue as a special
9188 value indicating an "undefined" version component. Also implemented the
9189 missing operators (==, <, >, etc.), one missing constructor and
9190 and some exception throwing.
9192 2002-03-04 Nick Drochak <ndrochak@gol.com>
9194 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
9195 * Attribute.cs: Add missing attributes: Serializable and
9196 AttributeUsage(AttributeTargets.All)
9198 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
9200 * MonoType.cs: implemented GetConstructors(), GetFields(),
9201 GetMethods(), GetProperties().
9202 * Object.cs: added debugging icall obj_address().
9203 * Type.cs: fixed the binding flags for some Get* methods.
9204 Implemented FindMembers() as calls to the specific GetMember
9207 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
9208 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
9209 should give an exception for n>=s.Length.
9211 2002-03-01 Martin Baulig <martin@gnome.org>
9213 * Array.cs: More argument checking and bug fixing.
9215 2002-03-01 Miguel de Icaza <miguel@ximian.com>
9217 * BitConverter.cs: Indentation match
9219 * AppDomain.cs: Added MonoTODOs to this too.
9221 * Buffer.cs: Added MonoTODOs to this.
9223 2002-03-01 Martin Baulig <martin@gnome.org>
9225 * Array.cs: Added argument checking to all methods where it was missing.
9227 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
9229 * BitConverter.cs: Fixed bugs in ToString methods
9231 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
9233 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
9235 2002-03-01 Nick Drochak <ndrochak@gol.com>
9237 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
9238 ArgumentOutOfRangeException like the docs say.
9240 2002-03-01 Martin Baulig <martin@gnome.org>
9242 * Enum.cs (CompareTo): Correctly override this method from IComparable.
9244 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
9246 2002-02-28 Martin Baulig <martin@gnome.org>
9248 * String.cs: This file now passes the testsuite on Linux :-)
9250 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
9251 make them private and provide C# wrappers which do proper argument checking.
9253 * String.cs (Format): Correctly handle escaped brackets.
9255 * String.cs (_CompareChar): New internal function which compares two chars.
9256 (_Compare): Provide an internal compare method which can do all sorts of
9257 comparision and call it from all the Compare() methods. Also fixed a lot of
9258 bugs here, this code now actually passes the testsuite.
9260 2002-02-28 Duncan Mak <duncan@ximian.com>
9262 * Convert.cs: Added the missing methods. The new class status page
9263 kicks ass, it even found my typos! Woohoo!
9264 (ConvertFromBase): Moved the Exception throwing in here and
9265 removed the other occurances so it's all centralized now.
9266 (ISDBNull): Implemented.
9267 (GetTypeCode): Implemented.
9269 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
9270 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
9271 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
9272 states that a lacking format should be interpreted as "N".
9273 Also added [Serializable] attribute
9274 * TimeSpan.cs: some formatting and added the [Serializable] attribute
9276 2002-02-26 Duncan Mak <duncan@ximian.com>
9278 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
9280 2002-02-26 Martin Baulig <martin@gnome.org>
9282 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
9283 fields of the interncall GetTimeZoneData.
9285 * DateTime.cs: Implemented Parse and fixed a few bugs.
9287 * String.cs (TrimStart): Small fix.
9289 2002-02-26 Martin Baulig <martin@gnome.org>
9291 * DateTime.cs: ParseExact is now fully functional.
9293 * String.cs (TrimEnd): Small fix.
9295 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
9296 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
9297 missing for about six months.
9299 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
9301 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
9303 2002-02-26 Martin Baulig <martin@gnome.org>
9305 * DateTime.cs: Miguel already committed this, but there was still a
9306 ChangeLog entry for this missing ....
9307 We're now reusing functionality from TimeSpan, printing dates is
9308 fully implemented, currently working on parsing.
9310 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
9313 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
9315 * MonoType.cs: disable constructor.
9316 * Object.cs: make GetType() an internalcall.
9317 * Type.cs: added correct bindingflags to GetMethods ().
9318 All such calls should be reviewed to use the correct flags.
9320 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
9322 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
9325 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
9327 * Type.cs: implemented IsAssignableFrom.
9329 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
9330 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
9331 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
9332 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
9333 The former is documented by Microsoft. The latter is how they
9334 actually implemented it in mscorlib:-)
9336 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
9338 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
9340 * MonoType.cs: Implemented custom attributes methods.
9343 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
9346 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
9348 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
9350 * MonoType.cs: Implemented custom attributes methods.
9352 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
9354 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
9356 2002-02-19 Duncan Mak <duncan@ximian.com>
9358 * Convert.cs: Finished up the missing methods in Convert. Added a
9359 new private method ConvertFromBase.
9361 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
9363 * String.cs: impl. IConvertible interface
9365 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
9366 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
9368 2002-02-18 Duncan Mak <duncan@ximian.com>
9370 * Convert.cs: Changed from using Type.GetType (string) to just
9371 typeof (). Probably will speed things up a bit?
9373 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
9376 1. Fix for GetUpperBound to return correct values
9377 2. made some Properties virtual
9378 3. Adds IsFixedSize and IsReadOnly properties.
9379 4. changes CreateInstance(Type,int[],int[]) to throw Exception
9380 when third arg is null. InternalCall CreateInstance changed to
9382 5. Fixed array.GetUpperBound at a couple of places
9383 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
9384 7. Added two FIXME's in BinarySearch functions.
9386 2002-02-17 Duncan Mak <duncan@ximian.com>
9388 * TimeZone.cs: Applied the rest of Ajay's patch for
9389 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
9392 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
9393 * Guid.cs: added stub for Guid(string) ctor
9395 2002-02-17 Duncan Mak <duncan@ximian.com>
9397 * Convert.cs: Near-complete implementation of Convert.cs
9399 Added all the To* methods taking (object) and
9400 (object, IFormatProvider) as parameters.
9402 Added [CLSCompliant (false)] attributes to methods dealing with
9405 Added the missing section on converting to and from DateTime. Only
9406 6 missing methods, all marked with MonoTODOs. Will tackle them later.
9408 2002-02-16 Duncan Mak <duncan@ximian.com>
9410 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
9411 make IsDaylightSavingTime (DateTime) call
9412 IsDaylightSavingTime (DateTime, DaylightTime).
9414 Added internal class CurrentTimeZone from Ajay. It needs more work
9415 to fill in the appropriate internal calls.
9417 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
9419 * Type.cs: fix IsClass.
9421 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
9423 * String.cs: fix Trim().
9425 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
9427 * String.cs: fix more off by one errors.
9429 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
9431 * MonoType.cs: fix IsValueTypeImpl.
9432 * Type.cs: fix IsEnum. Implement Equals methods.
9434 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
9436 * Int32.cs: implement IConvertible interface.
9438 2002-02-12 Duncan Mak <duncan@ximian.com>
9440 * TimeZone.cs: Implemented and added to CVS.
9442 2002-02-11 Duncan Mak <duncan@ximian.com>
9444 * Convert.cs: Implemented the ChangeType () methods.
9446 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
9448 * Array.cs: make Clone() an internal call.
9450 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
9451 * Changed Guid.NewGuid so that it can use both System.Random and
9452 System.Security.Cryptography.RandomNumberGenerator
9454 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
9455 * First version of Guid.NewGuid
9457 2002-02-08 Duncan Mak <duncan@ximian.com>
9459 * RuntimeArgumentHandle.cs: Added to CVS.
9461 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
9463 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
9464 UnhandledExceptionEventHandler.cs: added delegates.
9466 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
9468 * MarshalByRefObject.cs: add ToString () method
9469 (apparently needed by nunit).
9470 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
9471 by it in the runtime.
9473 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
9475 * String.cs (Format): implemented
9477 2002-02-07 Duncan Mak <duncan@ximian.com>
9479 * DuplicateWaitObjectException:
9480 * InvalidCastException:
9481 * NotImplementedException:
9482 * NotSupportedException:
9483 * NullReferenceException:
9484 * OutOfMemoryException:
9485 * OverflowException:
9487 * StackOverflowException.cs:
9488 * UnauthorizedAccessException: Added missing constructor used for serialization.
9490 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
9492 * String.cs (System.Compare): bug fix
9494 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
9496 * Enum.cs (Parse, GetHashCode): impl.
9498 2002-02-05 Duncan Mak <duncan@ximian.com>
9500 * DBNull.cs: This is my first crack at the DBNull class. I think I
9501 actually got most of the IConvertible methods right, but I haven't
9502 done the research to test whether or not this is the correct
9503 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
9505 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
9507 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
9509 * Enum.cs: added more functionality (GetName, ToObject, Equals)
9511 2002-01-31 Duncan Mak <duncan@ximian.com>
9513 * InvalidOperationException.cs:
9514 * NotFiniteNumberException.cs:
9515 * ObjectDisposedException.cs:
9516 * TypeInitializationException.cs: Added missing bits for serialization/
9518 * AppDomainUnloadedException.cs:
9519 * ApplicationException.cs:
9520 * ArgumentOutOfRangeException.cs:
9521 * ArithmeticException.cs:
9522 * ArrayTypeMismatchException:
9523 * BadImageFormatException.cs:
9525 * MissingMemberException.cs:
9526 * TypeLoadException.cs: Added missing bits for serialization.
9528 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
9529 * Guid.cs: implemented everything but Guid.NewGuid
9531 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
9533 * _AppDomain.cs: remove ToString() method: it doesn't seem right
9534 to have it in this interface and it screws up the method vtable setup.
9536 2002-01-28 Andrei Zmievski <andrei@php.net>
9538 * Double.cs: implemented IConvertible interface.
9540 2002-01-28 Miguel de Icaza <miguel@ximian.com>
9542 * ArgumentException.cs: Implement serialization constructor.
9543 (GetObjectData): Implement serializer.
9545 * ArgumentNullException.cs: Implement serialization constructor.
9547 * Exception.cs: Implement serialization constructor.
9548 (GetObjectData): Implement serializer.
9550 2002-01-23 Miguel de Icaza <miguel@ximian.com>
9552 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
9554 2002-01-23 Duncan Mak <duncan@ximian.com>
9556 * EntryPointNotFoundException.cs:
9557 * FormatException: Added missing constructor and related bits.
9559 * TypeLoadException: Added missing constructor, methods and properties.
9561 2002-01-23 Miguel de Icaza <miguel@ximian.com>
9563 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
9564 manually getting the enumerator.
9566 (AppDomain.AppDomain): Prime the loaded assemblies with the
9567 assemblies loaded by the runtime in our behalf.
9569 * AppDomainSetup.cs: Remove private keyword, that is the default.
9570 Add a new property DisallowPublisherPolicy.
9572 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
9574 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
9576 * MonoType.cs, Type.cs: many updates, corrected implementation,
9579 2002-01-20 Andrei Zmievski <andrei@php.net>
9582 * Char.cs: implemented IConvertible interface.
9584 * Boolean.cs: use our own ToString() method directly.
9586 2002-01-20 Duncan Mak <duncan@ximian.com>
9588 * Files I commited recently: Fixed indentation style.
9590 2002-01-20 Nick Drochak <ndrochak@gol.com>
9592 * SerializableAttribute.cs: this attrib can be used on enums, structs,
9593 and delegates too. Added the appropriate usage flags.
9595 2002-01-18 Duncan Mak <duncan@ximian.com>
9597 * CharEnumerator.cs: Implemented.
9598 * String.cs (System): Fixed the GetEnumerator () method(s).
9600 * ObsoleteAttribute.cs:
9601 * STAThreadAttribute.cs:
9602 * MTAThreadAttribute.cs:
9603 * ThreadStaticAttribute.cs:
9604 * LoaderOptimizationAttribute.cs:
9605 * PlatformNotSupportedException.cs:
9606 * LoaderOptimization.cs: Added to CVS.
9608 2002-01-18 Duncan Mak <duncan@ximian.com>
9610 * AppDomainUnloadedException.cs:
9611 * MethodAccessException.cs:
9612 * ContextMarshalException.cs:
9613 * CannotUnloadAppDomainException.cs:
9614 * DllNotFoundException.cs:
9615 * EntryPointNotFoundException.cs:
9616 * FieldAccessException.cs:
9617 * TypeUnloadedException.cs:
9618 * MissingFieldException.cs: Added to CVS.
9620 * ApplicationException.cs:
9621 * MemberAccessException.cs:
9622 * MissingMemberException.cs
9623 * MissingMethodException.cs:
9624 * SystemException.cs: Added [Serializable] attribute.
9626 * Exception.cs: Added [Serializable] attribute, made properties
9627 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
9630 * ContextStaticAttribute.cs: Added [Serializable] attribute and
9631 put in the missing constructor.
9633 * Environment.cs: Commented out references to
9634 EnvironmentPermissionAttribute, because they're just stubbed out
9635 right now and has no implementation.
9637 2002-01-16 Andrei Zmievski <andrei@php.net>
9639 * Boolean.cs: implemented IConvertible interface
9641 2002-01-15 Nick Drochak <ndrochak@gol.com>
9643 * ResolveEventArgs.cs: class should derive from EventArgs.
9645 2002-01-14 Miguel de Icaza <miguel@ximian.com>
9647 * String.cs (System): Use DefaultMemberName for the String class.
9649 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
9651 * String.cs: use IndexerName in index char accessor.
9653 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
9655 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
9656 * String.c: eliminate 64k+ method calls in search.
9657 * Type.cs: handle byref and array types in ToString ().
9659 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
9661 * Guid.cs: created first version
9663 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
9665 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
9667 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
9669 * MulticastDelegate.cs: add == and != operator stubs.
9670 * String.cs: check for null in == operator.
9671 * Type.cs: use a virtual method to get TypeAttributes.
9673 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
9674 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
9676 2002-01-09 Nick Drochak <ndrochak@gol.com>
9678 * Environment.cs: Comment out Security attribute and put a MonoTODO
9679 there as a reminder. We need mcs magic to handle security attributes in
9682 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
9683 * Created IAppDomainSetup.cs
9685 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
9686 * Created System._AppDomain interface in _AppDomain.cs
9688 2002-01-06 Nick Drochak <ndrochak@gol.com>
9690 * ResolveEventArgs.cs: New File, completely implemented! ;)
9692 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
9694 * Enum.cs: dummy ToString impl.
9695 * String.cs: dummy format implementations to get compiler errors
9697 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
9699 2002-01-05 Ravi Pratap <ravi@ximian.com>
9701 * TODOAttribute.cs : Augment some more; provide two constructors
9702 with support for a comment too.
9704 2002-01-05 Nick Drochak <ndrochak@gol.com>
9706 * Uncommented those MonoTODO's now that Ravi's got
9709 2001-01-04 Ravi Pratap <ravi@ximian.com>
9711 * TODOAttribute.cs : Actually add this time ;-)
9713 Change name to MonoTODO.
9715 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
9717 * String.cs (Trim): Fixed a few logic bugs in the code that
9718 calculated how much to trim off the end of the string.
9720 2001-01-04 Nick Drochak <ndrochak@gol.com>
9722 * Commented out the [TODO] attributes for now. We don't have the
9723 class written. Also changed it to [MonoTODO]
9725 2002-01-04 Ravi Pratap <ravi@ximian.com>
9727 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
9728 our class libraries that are incomplete.
9730 * Array.cs : Apply attribute wherever we find a FIXME which says
9731 we need something to be implemented there.
9735 * MulticastDelegate.cs : Ditto.
9737 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
9738 RuntimeTypeHandle.cs : Ditto.
9740 * String.cs : Ditto.
9744 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
9746 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
9747 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
9749 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
9750 Delegate.cs : Ditto.
9752 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
9753 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
9755 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
9757 * Delegate.cs: add Remove() stub.
9758 * Enum.cs: add ToObject().
9759 * Type.cs: add IsEnum property.
9761 2002-01-03 Kristian Rietveld <kris@gtk.org>
9763 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
9764 DateTime and object.
9766 2001-12-30 Nick Drochak <ndrochak@gol.com>
9768 * Byte.cs (Parse): Add comments to aid in testing.
9770 2001-12-21 Miguel de Icaza <miguel@ximian.com>
9772 * Char.cs (Parse): Implement.
9774 * Byte.cs (Parse): Implement a fast parser.
9776 * SByte.cs (Parse): Implement a fast parser.
9778 * UInt16.cs (Parse): Implement a fast parser.
9780 * Int16.cs (Parse): Implement a fast parser.
9782 * UInt32.cs (Parse): Implement a fast parser.
9784 * Int32.cs (Parse): Implement a fast parser.
9786 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
9788 * Array.cs: fix null ref in sort code.
9789 * UInt64.cs: add bare-bones parse.
9791 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
9793 * Byte.cs: removed use of Regexes.
9795 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
9797 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
9798 IsDefined(), GetUnderlyingType().
9799 * String.cs: fix one instance of Compare().
9800 * Type.cs: implemented GetProperties(), GetProperty().
9802 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
9804 * Array.cs: implement CopyTo ().
9805 * Char.cs: implement ToString ().
9806 * Exception.cs: bugfix.
9807 * Int32.cs: bare-bones Parse ().
9808 * MonoType.cs: query the needed info with an internalcall.
9809 * String.cs: speedups, bugfixes, reduced copies.
9810 * Type.cs: added missing fields. Implemented many of the Is*
9811 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
9812 GetFields(), FindMembers(), ToString().
9814 2001-12-11 Dick Porter <dick@ximian.com>
9816 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
9818 * Console.cs: Use handles rather than casting file descriptors
9820 2001-12-08 Nick Drochak <ndrochak@gol.com>
9822 * Byte.cs (Parse): Start implementation. Parse(string) works, but
9823 now we need to handle other formats
9825 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
9827 * DateTime.cs: added an icall to GetNow()
9829 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
9831 * Double.cs: added the parse method from Bob Smith
9833 2001-11-28 Miguel de Icaza <miguel@ximian.com>
9839 * Int32.cs (Int32.CompareTo): Fix because we can not just
9840 substract the values.
9842 Return possitive value if the object is null.
9844 * Boolean.cs: (Boolean.CompareTo): ditto.
9846 * Int16.cs (Int16.CompareTo): ditto.
9848 * Byte.cs (Byte.CompareTo): ditto.
9850 * SByte.cs (SByte.CompareTo): ditto.
9852 * Char.cs (Char.CompareTo): ditto.
9854 * Decimal.cs (Decimal.CompareTo): ditto.
9856 * Int64.cs (Int64.CompareTo): ditto.
9862 2001-11-28 Nick Drochak <ndrochak@gol.com>
9864 * Byte.cs: Throw NotImplementedException for Parse.
9866 2001-11-27 Derek Holden <dholden@draper.com>
9868 * IntegerFormatter.cs: Formatting of type "Number" was not
9869 using NumberFormatInfo.NumberNegativePattern.
9871 2001-11-26 Dick Porter <dick@ximian.com>
9873 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
9874 the finalise routine any more
9876 2001-11-21 Miguel de Icaza <miguel@ximian.com>
9878 * ApplicationException.cs: internationalize by adding calls to
9879 Locale.GetText (). And throw NotImplementedExceptions on calls
9880 that we have to implement.
9882 * Version.cs: Ditto.
9884 * ValueType.cs: ditto.
9886 * UnauthorizedAccessException.cs: ditto.
9894 * TypeLoadException.cs: ditto
9896 * TypeInitializationException.cs: ditto.
9900 * TimeSpan.cs: ditto.
9902 * SystemException.cs: ditto.
9906 * StackOverflowException.cs: ditto.x
9912 * RuntimeTypeHandle.cs: ditto.
9914 * RuntimeMethodHandle.cs: ditto.
9916 * RuntimeFieldHandle.cs: ditto.
9920 * OutOfMemoryException.cs: ditto.
9922 * OperatingSystem.cs: ditto.
9924 * ObjectDisposedException.cs: ditto.
9926 * NullReferenceException.cs: ditto.
9928 * NotImplementedException.cs: ditto.
9930 * NotFiniteNumberException.cs: ditto.o
9932 * MulticastNotSupportedException.cs: ditto.
9934 * MissingMethodException.cs: ditto.
9936 * MemberAccessException.cs: ditto.
9940 * InvalidCastException.cs: ditto.
9942 * IntegerFormatter.cs: ditto.
9948 * IndexOutOfRangeException.cs: ditto.
9950 * Environment.cs: ditto
9954 * DuplicateWaitObjectException.cs: ditto.
9956 * DivideByZeroException.cs: ditto.
9958 * Delegate.cs: ditto
9960 * DecimalFormatter.cs: ditto.
9962 * Decimal.cs: ditto.
9964 * DateTime.cs: ditto.
9966 * Convert.cs: ditto.
9972 * Boolean.cs: ditto.
9974 * ArrayTypeMismatchException.cs: ditto.
9976 * ArithmeticException.cs: ditto.
9978 * ArgumentOutOfRangeException.cs: ditto.
9980 * ArgumentNullException.cs: ditto.
9982 * Enum.cs: Make it derive from ValueType, add CompareTo method.
9984 * Attribute.cs: Reformat.
9986 2001-11-14 Miguel de Icaza <miguel@ximian.com>
9988 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
9989 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
9990 exception if the value is null too.
9992 * Char.cs (CompareTo): ditto.
9994 * ApplicationException.cs: Added constructor that does serialization.
9996 * ParamArrayAttribute.cs: Define attribute correctly.
9998 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
10000 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
10001 * Array.cs: fix Array.Copy.
10002 * AssemblyLoadEventArgs.cs: rename field.
10003 * CLSCompliantAttribute.cs: use correct name for the class.
10004 * Char.cs: fix IsLetter.
10005 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
10006 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
10007 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
10008 * Delegate.cs: renamed target field to m_target.
10009 * Enum.cs: added missing methods.
10010 * MonoType.cs: add a constructor and some needed properties.
10011 * Object.cs: implement GetType().
10012 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
10014 * Type.cs: add missing methods/properties.
10016 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
10018 * AttributeUseage.cs: Should define AttributeUsageAttribute.
10020 * CLSCompliant.cs: Marked with AttributeUsage attribute.
10022 * Decimal.cs: Fixed CLSCompliant attributes.
10024 * Type.cs: changed _impl to internal (needs to be accessable by
10027 (TypeHandle): Marked as abstract, implementation removed.
10029 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
10030 GetMethod): Added stub implementations so NUnit would link against
10033 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
10035 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
10037 2001-11-05 Miguel de Icaza <miguel@ximian.com>
10039 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
10042 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
10044 * String.cs: fix a couple of bugs.
10045 * AppDomain.cs: use new AppBuilder constructor.
10046 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
10047 NotImplementedException.cs, ObjectDisposedException.cs,
10048 UnauthorizedAccessException.cs: add implementation.
10049 * OverflowException.cs: fix class name.
10051 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
10053 * String.cs: Don't use a terminating nil char for our internal
10056 2001-10-27 Miguel de Icaza <miguel@ximian.com>
10058 * Delegate.cs (Delegate.CombineImpl): Implement.
10059 (Delegate.Combine): Implement.
10061 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
10063 (MulticastDelegate.CombineImpl): This was not as trivial as I
10066 * ContextStaticAttribute.cs: Added AttributeUsage to
10067 ContextStaticAttribute.
10069 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
10071 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
10073 * added Decimal.cs * added DecimalFormatter.cs (internal class
10074 used from System.Decimal)
10076 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
10078 * Convert.cs: Added methods for Base64 transforming just used the
10079 existing System.Security.Cryptography.ToBase64Transform, should
10080 be changed to use a stand-alone class, e.g. Base64Encoder
10082 2001-10-10 Derek Holden <dholden@draper.com>
10084 * IntegerFormatter.cs: Added. Implements ToString for all the
10085 integer data types for all the format types.
10087 * Byte.cs: Using IntegerFormatter for ToString's.
10089 * SByte.cs: Using IntegerFormatter for ToString's.
10091 * Int16.cs: Using IntegerFormatter for ToString's.
10093 * Int32.cs: Using IntegerFormatter for ToString's.
10095 * Int64.cs: Using IntegerFormatter for ToString's.
10097 * UInt16.cs: Using IntegerFormatter for ToString's.
10099 * UInt32.cs: Using IntegerFormatter for ToString's.
10101 * UInt64.cs: Using IntegerFormatter for ToString's.
10103 2001-10-07 Miguel de Icaza <miguel@ximian.com>
10105 * Exception.cs: Implement bits of serialization.
10107 * RuntimeFieldHandle.cs: Implement Serialization features.
10109 * Type.cs: Implement TypeHandle property.
10111 2001-09-28 Dick Porter <dick@ximian.com>
10113 * LocalDataStoreSlot.cs: Implemented
10115 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
10117 * String.cs: fix off-by-one error in Trim().
10119 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
10121 * Type.cs: added GetType () method.
10123 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
10125 * MissingMethodException.cs, MissingMemberException.cs,
10126 MemberAccessException.cs: added.
10128 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
10130 * String.cs: don't access the string array out of bounds in
10131 LastIndexOf. * Type.cs: fix return type of the Assembly property.
10133 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
10135 * String.cs: make Intern and IsIntern internalcalls.
10137 2001-09-13 Dick Porter <dick@ximian.com>
10139 * Type.cs: Added a stub for the IsValueType property.
10141 * SystemException.cs (System): Added the other constructor, so
10142 that System.Threading exceptions can inherit it.
10144 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
10146 * String.cs (TrimStart): Don't keep looping through the trimchars
10147 once we've found a match.
10148 (TrimEnd): Same here.
10149 (Trim): And finally here.
10151 2001-09-07 Ravi Pratap <ravi@ximian.com>
10153 * Char.cs (IsLetterOrDigit): Implement.
10154 (IsLower): Implement, but we need to be Unicode aware.
10155 (IsNumber): Implement.
10156 (IsPunctuation): Implement.
10157 (IsWhiteSpace): Implement.
10158 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
10159 (ToLower): Same here.
10161 2001-09-04 Miguel de Icaza <miguel@ximian.com>
10163 * Object.cs: Shortcut, if (a == b) then return true.
10165 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
10167 * Delegate.cs: we need a pointer to the method thunk in
10168 the delegate object.
10170 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
10172 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
10174 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
10176 * String.cs (System): Don't mix uint and int.
10178 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
10180 * String.cs (BoyerMoore): Modified to not use pointers and to instead
10182 (IndexOf): Use BoyerMoore.
10184 2001-09-02 Miguel de Icaza <miguel@ximian.com>
10186 * All over: Use the autogenerated enumerations from the ECMA
10187 documentation that Sergey wrote.
10189 * PlatformID.cs: Add Unix definition.
10191 * OperatingSystem.cs: Use Unix instead of Linux here.
10193 * MarshalByRefObject.cs: Mark class as [Serializable].
10195 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
10197 * Console.cs: impl. (write only)
10198 implemented the stdin stuff
10200 * Int32.cs: impl. real op_Equal
10202 2001-08-24 Miguel de Icaza <miguel@ximian.com>
10204 * (common.src): Removed IAsyncResult as it is not on CVS yet.
10206 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
10207 as it breaks the build.
10209 2001-08-23 Michael Lambert <michaellambert@email.com>
10211 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
10212 added CLSCompliant attribute
10214 * IAsyncResult.cs: Added
10216 * common.src: Added IAsyncResult.cs
10218 2001-08-23 Michael Lambert <michaellambert@email.com>
10220 * UIntPtr.cs: Added
10222 * common.src: Added UIntPtr.cs
10224 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
10226 * Attribute.cs: uncomment some code to make it compile again
10228 * mono.src: removed duplicated Attribute.cs
10230 2001-08-16 Nick Drochak <ndrochak@gol.com>
10232 * Attribute.cs: implemented all methods except GetHashCode()
10234 * common.src: added Attribute.cs so it would compile in
10236 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
10238 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
10239 marked it as InternalCall
10241 * common.src: removed UriFormatException.cs because the file is
10244 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
10245 * Char.cs: replaced byte with char
10247 * Array.cs: make it work with the mono interpreter
10249 2001-08-06 Miguel de Icaza <miguel@ximian.com>
10251 * Version.cs: Make the class sealed
10253 2001-08-08 Bob Smith <bob@thestuff.net>
10255 * Random.cs: Many compile fixes.
10256 * Random.cs: I read a bad spec. Class updated to match real spec.
10258 2001-08-06 Miguel de Icaza <miguel@ximian.com>
10260 * IntPtr.cs: Added and Completed implementation.
10262 * Uri.cs: Add a note.
10264 2001-08-06 Bob Smith <bob@thestuff.net>
10266 * Random.cs: Compile fix. Needs more testing.
10268 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
10270 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
10271 into account IPv6 addresses, url encoding needs to be implemented, and
10272 various minor methods need to be written, but this is a decent start.
10274 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
10276 * common.src: added Object.cs
10278 * mono.src: added ValueType.cs
10280 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
10282 * Math.cs: replaced libc with libm
10284 2001-08-02 Bob Smith <bob@thestuff.net>
10286 * Random.cs: Implemented. Needs testing.
10288 2001-08-02 Miguel de Icaza <miguel@ximian.com>
10290 * IServiceProvider.cs, EventHandler.cs: New files.
10292 2001-08-02 Marcel Narings <marcel@narings.nl>
10294 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
10295 Added exceptions. Added IConvertible. Still needs some platform
10296 dependend stuff, the Parse and ToString members
10298 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
10300 * Type.cs (GetTypeFromHandle): added placeholder
10302 2001-07-24 Derek Holden <dholden@draper.com>
10304 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
10305 which is really an IConvertible defined method.
10307 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
10308 behavior, still need to do the main Parse and ToString.
10310 * Char.cs: Added a bunch of missing ECMA methods. Commented a
10311 specification discrepency. Still didn't any unicode stuff, though
10312 every IsFoo(char c) method has an IsFoo(string, index)
10313 counterpart, added wrappers for those.
10315 * Convert.cs: Fixed NaN/Inf checking and double/float
10316 rounding. Added ToType for IConvertible classes
10318 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
10319 IsNaN methods. Changed Inf/NaN internals.
10321 * IConvertible.cs: Added comments for using
10322 Convert.ToType. Changed return values to draft base values.
10324 * Int16.cs: Added a missing Parse statement. Put in behavior for
10325 overloaded ToString and Parse methods.
10327 * Int32.cs: Added a missing Parse statement. Put in behavior for
10328 overloaded ToString and Parse methods.
10330 * Int64.cs: Added a missing Parse statement. Put in behavior for
10331 overloaded ToString and Parse methods.
10333 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
10334 methods. Changed Inf/NaN internals.
10336 * SByte.cs: Added a missing Parse method. Put in Parse and
10337 ToString behavior, still need to do the main Parse and ToString.
10339 * UInt16.cs: Added a missing Parse statement. Put in behavior for
10340 overloaded ToString and Parse methods.
10342 * UInt32.cs: Added a missing Parse statement. Put in behavior for
10343 overloaded ToString and Parse methods.
10345 * UInt64.cs: Added a missing Parse statement. Put in behavior for
10346 overloaded ToString and Parse methods.
10348 2001-07-20 Miguel de Icaza <miguel@ximian.com>
10350 * MulticastDelegate.cs: New File.
10352 * Delegate.cs: New file.
10354 * Enum.cs: New file.
10356 * Attribute.cs: New file.
10358 * Type.cs: New file.
10360 * ParamArrayAttribute.cs: New file.
10362 * RuntimeTypeHandle.cs: New file.
10364 * MulticastDelegate.cs: Added.
10366 * DateTime.cs: Added
10368 * Delegate.cs: Added
10370 2001-07-18 Michael Lambert <michaellambert@email.com>
10372 * AttributeTargets.cs: Add.
10374 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
10376 * Char.cs: Made ToUpper and ToLower public methods.
10378 * String.cs: Lots and lots of compile fixes - just need to write
10379 DateTime.cs and this should build completely now.
10381 2001-07-19 Bob Smith (bob@thestuff.net)
10383 * Math.cs: Implemented.
10385 2001-07-19 Miguel de Icaza <miguel@ximian.com>
10387 * String.cs: Removed tolower and toupper.
10389 * Char.cs: Moved ToLower and ToUpper from string to here.
10391 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
10392 instead of comparing the value to Nan.
10394 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
10396 * TimeSpan.cs: New implementation.
10398 2001-07-18 Scott Sanders <scott@stonecobra.com>
10400 * UriFormatExcpetion.cs: Add - 85% complete
10402 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
10404 * String.cs (IndexOf): Slight optimization that allows skipping
10405 over a few chars here and there. This isn't as good as using my
10406 Boyer-Moore implementation, however, Boyer-Moore is only really
10407 good for long strings (I plan on making the code decide which
10408 string search algorithm it should use on-the-fly at some point).
10409 (LastIndexOf): Fix to work correctly.
10410 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
10412 2001-07-16 Michael Lambert <michaellambert@email.com>
10414 * EventArgs.cs: Add.
10416 2001-07-16 Miguel de Icaza <miguel@ximian.com>
10418 * Version.cs: Remove my buggy comment.
10420 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
10422 * String.cs: Spelling error of IComparable, object's
10423 MemberwiseClone cannot be overridden. Made indexer valid for now,
10424 but not sure what to do about this in the long run. Seems to be a
10425 couple bugs in csc.exe having to do with multiple pointer defs in
10426 the same statement, and returning subclasses of a class in the
10427 return type of an interface function implementation. Also moved
10428 operators inside of class definition.
10430 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
10432 * String.cs: A tom of compile fixes, although we still don't compile.
10434 * IConvertible.cs: The To*Int64() methods return *Int64's, not
10435 *Int32's. Also, it's ToDateTime() not ToDateType().
10437 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
10439 * String.cs: Apparently I needed to at least write stubs for the
10440 IConvertible interfaces. *sigh*
10442 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
10444 * String.cs: Many logic/other fixes and better usage of the
10446 (tolower): New convenience method to help condense code.
10447 (toupper): Another new helper method.
10448 (Compare): Use the new helper methods.
10449 (ToLower): use tolower().
10450 (ToUpper): use toupper().
10451 (LastIndexOfAny): Implemented.
10452 (BoyerMoore): New private helper method that implements a modified
10453 version of the Boyer-Moore search algorithm. Noothing uses it yet
10454 as I'm not 100% sure it even works properly with unicode strings
10455 not to mention it uses a huge lookup-table :-)
10456 (Split): Implemented.
10458 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
10460 * TODO: Added things that need to be finished in System.String
10462 * String.cs: New source file implementing the System.String class
10464 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
10466 * TypeCode.cs: UInt64 was UInt63.
10468 * Object.cs: Fixed a numer of compiler errors.
10470 * Array.cs: Fixed some compiler errors.
10472 * IComparable.cs: Fixed some compiler errors.
10474 * ICloneable.cs: Fixed some compiler errors.
10476 * IConvertible.cs: Fixed some compiler errors.
10478 * IFormattable.cs: Fixed a compiler error.
10480 * IFormatProvider.cs: Fixed a compiler error.
10482 * IDisposable.cs: Fixed a compiler error.
10484 * IFormatProvider.cs: Added public accesability type to
10487 * Exception.cs: Added a using statement to remove compile time
10490 * ApplicationException.cs: Removed a ; that was causing a compiler
10493 * Int16.cs: Fixed some compiler errors.
10495 * Int32.cs: Fixed some compiler errors.
10497 * Int64.cs: Fixed some compiler errors.
10499 * SystemException.cs: Fixed a compiler error.
10501 * UInt16.cs: Fixed some compiler errors.
10503 * UInt32.cs: Fixed some compiler errors.
10505 * UInt64.cs: Fixed some compiler errors.
10507 * Void.cs: Fixed a compiler error.
10509 2001-07-12 Joe Shaw <joe@ximian.com>
10511 * Array.cs: Fix backwards parameters to Array.SetValue()
10513 (BinarySearch): Fix backward logic surrounding whether to call
10514 value.CompareTo or comparer.Compare.
10515 (LastIndexOf): Stop being stupid. I am so not used to strongly
10517 (Sort): Implement a quicksort.
10519 2001-07-11 Joe Shaw <joe@ximian.com>
10521 * Array.cs: Change all instances of trying to access an array with
10522 the index operator to calls to GetValue and SetValue, and add
10523 InternalGetValue and InternalSetValue which are internal calls
10524 into the runtime. Ew.
10526 2001-07-10 Joe Shaw <joe@ximian.com>
10528 * Array.cs: Implemented everything but Sort().
10530 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
10532 * Object.cs (Object::Equals): Object variable name is `o'.
10534 2001-07-06 Joe Shaw <joe@ximian.com>
10536 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
10537 Implement the IComparable and IFormattable interfaces. Fix a typo
10540 * ApplicationException.cs, ArgumentException.cs,
10541 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
10542 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
10543 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
10544 ExecutionEngineException.cs, FormatException.cs,
10545 IndexOutOfRangeException.cs, InvalidCastException.cs,
10546 InvalidOperationException.cs, InvalidProgramException.cs,
10547 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
10548 NotSupportedException.cs, NullReferenceException.cs,
10549 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
10550 StackOverflowException.cs, SystemException.cs,
10551 TypeInitializationException.cs: Added all of the exceptions
10552 specified by the language spec. Mmmm... bloat.
10554 2001-07-06 Miguel de Icaza <miguel@ximian.com>
10556 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
10557 do a generic routine all of these guys use.
10559 * Int16.cs: identified missing methods.
10561 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
10563 2001-06-26 Miguel de Icaza <miguel@ximian.com>
10565 * TypeCode.cs: Implement
10567 * Void.cs: Implement.
10569 * TODO: Add file to keep track of pending tasks.
10571 * Object.cs, ValueType.cs: Implement.