1 2004-12-06 Ben Maurer <bmaurer@ximian.com>
3 * Exception.cs: Prevent stringifying the type name on the
4 ctor. this gets called a few times on every execution to create a
7 2004-12-06 Martin Baulig <martin@ximian.com>
9 * Decimal.cs: Decimal constant support has been merged into GMCS,
12 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
14 * Environment.cs: Bump corlib version.
16 * Environment.cs: Bump corlib version.
18 2004-11-30 Zoltan Varga <vargaz@freemail.hu>
20 * MonoType.cs (UnderlyingSystemType): Make this return this as in
23 2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
25 * GC.cs : Collect(generation) actually does not throw an exception
26 even if generation > MaxGeneration (MS document bug).
28 2004-11-28 Zoltan Varga <vargaz@freemail.hu>
30 * Exception.cs: Implement _Exception under NET_2_0.
32 * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
34 * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
35 NotCancelableException.cs TimeoutException.cs: New files.
37 2004-11-23 Raja R Harinath <rharinath@novell.com>
39 * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
42 2004-11-23 Raja R Harinath <rharinath@novell.com>
44 * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
45 without decimal constant support.
47 2004-11-23 Marek Safar <marek.safar@seznam.cz>
49 * Decimal.cs: Updated to use compiler decimal constant support.
51 2004-11-20 Zoltan Varga <vargaz@freemail.hu>
53 * MonoType.cs: Revert last change since it breaks remoting.
55 2004-11-18 Zoltan Varga <vargaz@freemail.hu>
57 * MonoType.cs (UnderlyingSystemType): Make this return this as in
60 2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
62 * INullable.cs: New interface added.
63 * Nullable.cs: Methods added. Also a static Nullable class
64 containing static methods.
66 2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
68 * BitConverter.cs: Added support for special case when ToString is
69 called with (new byte [0]).
71 2004-11-10 Lluis Sanchez <lluis@novell.com>
73 * Exception.cs: Added setter for StackTrace.
75 2004-11-07 Ben Maurer <bmaurer@ximian.com>
77 * IntegerFormatter.cs: Avoid .ToCharArray
79 2004-11-06 Ben Maurer <bmaurer@ximian.com>
81 * Single.cs, Double.cs (GetHashCode): Better hashcode impl
83 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
85 * InvalidOperationException.cs: make the message more meaningful and
86 real. Fixes bug #69055.
88 2004-10-28 Ben Maurer <bmaurer@ximian.com>
90 * String.cs: Rather than == String.Empty, use .Length == 0. It
91 is a bit faster (avoids a method call, and the code is less complex).
93 2004-10-24 Fawad Halim <fawad@fawad.net>
94 * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
95 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.
96 This fixes bug #64995.
98 2004-10-19 Lluis Sanchez <lluis@novell.com>
100 * MarshalByRefObject.cs: Field _identity is not serializable.
101 This fixes bug #68567.
103 2004-10-17 Ben Maurer <bmaurer@ximian.com>
105 * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
106 avoid entering slow integer formatting code.
108 (_ToString): Use ZeroPad here when possible, as it is faster.
110 2004-10-11 Martin Baulig <martin@ximian.com>
112 * Environment.cs: Bump corlib version to 28.
114 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
116 * Convert.cs (ToType): Throw an exception when converting null to a
117 valuetype. Fixes #67780.
119 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
121 * DateTime.cs : Performance fix. ParseExact() implementation should
122 avoid s = s.Substring(1).
124 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
126 * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
127 of m/s/t/z. This fixes bug 66723.
129 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
131 * String.cs: make GetHashCode() managed.
133 2004-10-04 Zoltan Varga <vargaz@freemail.hu>
135 * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
137 * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
139 * ModuleHandle.cs: Add missing methods.
141 * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
143 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
145 * AttributeTargets.cs: Add 2.0 GenericParameter value.
147 * Environment.cs: Bump corlib version.
149 2004-10-02 Zoltan Varga <vargaz@freemail.hu>
151 * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
153 2004-09-30 Geoff Norton <gnorton@customerdna.com>
155 * Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
156 and swapping of all values before going into the BitConverter so that values
157 are returned with proper endianess.
159 2004-09-23 Martin Garton <martin@wrasse.demon.co.uk>
161 * Convert.cs: ToType was returning unconverted object when it should
162 fail with an ArgumentException.
164 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
166 * Array.cs: Add stub for AsReadOnly<T>.
168 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
170 * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
172 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
175 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
177 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
180 * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
183 * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
185 * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
186 sealed' optimization.
188 * Type.cs: Implement 2.0 StructLayoutAttribute property.
190 * Type.cs Add GetPseudoCustomAttributes () method.
192 2004-09-24 Martin Baulig <martin@ximian.com>
194 * Type.cs (Type.GetGenericParameterConstraints): New public method.
196 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
198 * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
199 GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
201 * Type.cs: Tweak Module property in 2.0 build.
203 2004-09-23 Martin Baulig <martin@ximian.com>
205 * Type.cs (Type.GenericParameterAttributes): New public property.
207 2004-09-23 Martin Baulig <martin@ximian.com>
209 * GenericParameterAttributes.cs: New file.
211 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
213 * ModuleHandle.cs: Updated after changes to Module class.
215 2004-09-21 Geoff Norton <gnorton@customerdna.com>
217 * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
218 this filter. Fixes bug #65778.
220 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
222 * Environment.cs: Bump corlib version.
224 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
226 * ModuleHandle.cs: New file.
228 * RuntimeFieldHandle.cs: Add an internal ctor.
230 2004-09-19 Dick Porter <dick@ximian.com>
232 * Console.cs: Use the internal wrappers for StreamReader and
233 StreamWriter that catch IOException.
235 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
237 * Environment.cs: Bumped mono_corlib_version to 25.
239 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
241 * AppDomain.cs: added SetupInformationNoCopy property, since
242 SetupInformation creates a copy now, all updates to it should use the
243 actual data. Fixes bug #61991 take 2.
245 2004-09-09 Tim Coleman <tim@timcoleman.com>
246 * Base64FormattingOptions.cs: New enum
247 * Convert.cs: Add new ToBase64String methods for Fx 2.0
249 2004-09-08 Marek Safar <marek.safar@seznam.cz>
252 * GC.cs: Class is static for NET_2_0.
254 2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
256 * Activator.cs: Make sure not to call .GetType on a
257 null argument. fixes 63852
259 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
261 * Array.cs (Clear): make this an icall.
263 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
265 * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
267 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
269 * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
270 insensitive enironment variables hashtable once we create it.
272 2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
274 * AppDomain.cs: Changed 2 imperative security demands to declarative
275 (unsupported) so it doesn't (for now) call the security runtime.
277 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
279 * Delegate.cs: Free the delegate trampoline in the finalizer.
281 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
283 * ApplicationId.cs: Completed GetHashCode using information from MS
286 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
288 * Boolean.cs: Added TryParse static method for NET_2_0 profile.
290 2004-08-19 Atsushi Enomoto <atsushi@ximian.com>
292 * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
293 allows 12, that should not be accepted (13 is rejected) and
294 interpreted as 0. This fixes bug 63376.
296 2004-08-17 Sebastien Pouliot <sebastien@ximian.com>
298 * Version.cs: Fixed Clone so we can use it on versions with only
299 major/minor or major/minor/build.
301 2004-08-17 Martin Baulig <martin@ximian.com>
303 * MonoType.cs (MonoType.getFullName): Added `bool full_name'
304 argument specifying whether or not to include the type arguments.
305 (MonoType.FullName): Don't include the type arguments.
306 (MonoType.ToString): Include them here.
308 * Environment.cs: Bumped mono_corlib_version to 24.
310 2004-08-16 Duncan Mak <duncan@ximian.com>
312 * AttributeUsageAttribute.cs: Change the AttributeUsage to
313 AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
316 2004-08-11 Marek Safar <marek.safar@seznam.cz>
318 * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
319 Added call to AddPermissionRequests to pass permissions
321 * Environment.cs: Added a few Fx 2.0 methods
323 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
325 * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
326 * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
327 references). Added (non-obsolete) Fx 2.0 properties and methods.
328 * AppDomainSetup.cs: Added internal copy constructor.
329 * DomainManagerInitializationFlags.cs: Fixed values.
331 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
333 * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
334 * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
335 * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
336 * ApplicationId.cs: New Fx 2.0 class.
337 * ApplicationIdentity.cs: Fixed ToString.
338 * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
340 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
342 * AppDomain.cs: Added a new icall, getDomainByID, to get the an
343 AppDomain using it's Id. Completed SetAppDomainPolicy.
344 * Environment.cs: Bumped mono_corlib_version to 23.
346 2004-08-02 Martin Baulig <martin@ximian.com>
348 * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
350 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
352 * Environment.cs : GacPath on windows is based on mscorlib.dll, and
353 now its location is changed.
355 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
357 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
360 2004-07-18 Martin Baulig <martin@ximian.com>
362 * Array.cs: Ben Maurer implemented all the new generic methods
365 2004-07-17 Martin Baulig <martin@ximian.com>
367 * Decimal.cs: Implement IComparable<Decimal>.
369 2004-07-17 Martin Baulig <martin@ximian.com>
371 * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
372 UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.
374 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
376 * ActivationContext.cs: New class in Fx 2.0. Required for
377 System.Security.Policy.
378 * ApplicationIdentity.cs: New class in Fx 2.0. Required for
379 System.Security.Policy.
380 * IApplicationDescription.cs: New interface in Fx 2.0. Required for
381 System.Security.Policy.
382 * IHostContext.cs: New interface in Fx 2.0. Required for
383 System.Security.Policy.
385 2004-07-12 Geoff Norton <gnorton@customerdna.com>
387 * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
388 boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
389 and will add/subtract the hour if needed
391 2004-07-07 Geoff Norton <gnorton@customerdna.com>
393 * Monotype.cs: Patch for bug #58844. Dont throw exceptions right away;
394 pass through all the possibly BindingInfo's and keep a bool value as to the type
395 of exception we might need to throw;
397 2004-07-07 Geoff Norton <gnorton@customerdna.com>
399 * Patch to fix bug #58973
401 2004-07-02 Jackson Harper <jackson@ximian.com>
403 * PlatformID.cs: New 2.0 values.
405 2004-06-25 Ben Maurer <bmaurer@ximian.com>
407 * Environment.cs: GetFolderPath has new behavior. r=miguel
409 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
411 * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
412 bigger than 9999. Fix bug #41845.
413 * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
414 the "R"eversible format for negative numbers.
416 2004-06-21 Jackson Harper <jackson@ximian.com>
418 * Decimal.cs: Make sure to use invariant culture when parsing
419 floats stringified with the invariant culture. Patch by Rodrigo
422 2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
424 * FloatingPointFormatter.cs : Literal string should be kept in the
427 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
429 * DateTime.cs : Concatenating whitespace removal was not working fine.
430 Modified FormatException message (1 cent kindness).
432 2004-06-18 Ben Maurer <bmaurer@ximian.com>
434 * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
436 * IComparable.cs: add the new <T> version.
437 * EventHandler.cs: new <T> version.
439 2004-06-18 Dick Porter <dick@ximian.com>
441 * String.cs: The icall can cope with embedded \0 now.
443 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
446 - Added new common pattern "yyyy/M/dZ"
447 - empty string should not be compared in _ParseEnum()
448 - Use culture independent string comparison in _ParseString()
449 - Whitespace removal should be checked after '..' token check (some
450 pattern such like es-ES LongDatePattern contains spaces in '..').
451 - formats null check should be done (to throw ArgumentNullException)
453 - When specified one character format, dates are incorrectly regarded
454 as to use invariant culture.
456 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
458 * ArgIterator.cs: changed layout to Auto
459 * DateTime.cs: changed layout to Auto
461 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
463 * DateTime.cs: CRLF to LF
465 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
467 * Decimal.cs: Fixed regression in System.Data caused by the recent
468 changes. Adapted (and moved) the code to correct the scale from
469 SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
470 scale has no importance).
472 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
474 * Activator.cs: In CreateInstance(), use Public|Instance if access binding
475 attributes are omitted.
477 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
479 * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
480 check if the format character is valid.
482 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
484 * DateTime.cs : AddDays(double) rounds the input.
486 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
488 * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
489 Fixed ToLocalTime() as well, but it does check range for MinValue.
491 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
493 * DateTime.cs : Added overflow check in ToUniversalTime() and
494 ToLocalTime(). Fixed bug #60253.
496 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
498 * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
499 source code (with permission). Fix (biggest) part of bug #60110.
500 http://www.yoda.arachsys.com/csharp/floatingpoint.html
502 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
504 * Decimal.cs: Fixed scale after Round (a different scale is correct
505 from a math point of view but affect the string representation of the
506 value). Note: other operations also have scale problems!
507 * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
508 * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
509 rounding (which is the rounding provided by Math.Round). This fix bug
510 #60111. The code (new Round methods) should be moved elsewhere (as it
511 may also be required elsewhere) post Mono 1.0.
513 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
515 * AppDomainSetup.cs: added TODO for serialization
516 * ExecutionEngineException.cs: added missing serialization ctor
517 * InvalidProgramException.cs: added missing serialization ctor
518 * MulticastNotSupportedException.cs: added missing serialization ctor
519 * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
520 * Random.cs: fixed serialization compatibility with MS.NET
522 2004-06-15 Paolo Molaro <lupus@ximian.com>
524 * Type.cs: removed unused (and non-existing) icall type_is_instance.
526 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
528 * Environment.cs: use internalGetHome instead of getting "HOME" as
529 that variable may not be defined.
531 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
533 * TimeSpan.cs: Fixed timespan with large values for hours or minutes
534 (overflow is only checked for days but can also occurs in hours and
535 minutes which uses Int32 when multiplying). The new results match MS
538 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
540 * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
541 them with matching NumberFormatInfo properties.
543 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
545 * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
546 * FloatingPointFormatter.cs :
547 Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
549 Format Permille pattern (It is undocumented but actually available,
550 and used in xsl:format-number).
552 2004-06-14 Raja R Harinath <rharinath@novell.com>
554 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
555 version with BOOTSTRAP_WITH_OLDLIB.
556 * String.cs (STring.Concat): Likewise.
558 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
560 * FloatingPointFormatter.cs :
561 - Don't format more than 15 fraction digits. Don't report to Pedro
562 directly (removing the error message with his concent).
563 - When format string starts with '.', it means integral part format
564 is not specified. Ignore '.' characters after the first
565 appearance. Fixed bug #59890.
566 - 0.0 is formatted only before the third ';' appearance.
568 2004-06-11 Sebastien Pouliot <sebastien@ximian.com>
570 * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
571 rounding logic which worked for FromOADate (while the newer didn't).
572 * TimeSpan.cs: Now throw an OverflowException when the timespan is
573 over MaxValue or under MinValue.
575 2004-06-11 Martin Baulig <martin@ximian.com>
577 * Console.cs (Write, WriteLine): Implemented the varargs versions.
579 2004-06-11 Martin Baulig <martin@ximian.com>
581 * String.cs (Concat): Implemented the varargs version.
583 2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
585 * Decimal.cs: Hacked the Parse method to allow the runtime C code to
586 decode it properly (i.e. matching MS results). Fixed the Round method
587 for negative decimal numbers (moved code from Math.cs).
588 * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
589 fix a bug when rounding a negative decimal.
591 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
593 * AppDomain.cs: set the _principal to null when changing the policy.
594 * Console.cs: remove ClsCompliant attribute from a method marked as
595 internal and added comment.
597 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
599 * Delegate.cs: marked protected fields private to match public
600 API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
601 protected to fix public API
602 * Enum.cs: marked ctor protected to match public API of MS.NET
603 * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
604 match public API of MS.NET
606 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
608 * DateTime.cs : Added more common patterns.
610 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
612 * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
613 be a performance winner (the actual Math code has a note to wait a
614 better Decimal implementation) but it returns the correct results
615 (without adding new code in corlib or the runtime). Fix #37744.
617 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
620 - A bunch of fixes (patch by Steven Brown). Fraction seconds are
621 now represented as double. Strict token check for 'Z'.
622 - Pattern validity check in GetDateTimeFormats(char).
623 - Fixed pattern "yyyy/M/d HH:mm:ss".
625 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
627 * Decimal.cs: Fixed remainder (and optimized some cases not to call
628 unmanaged code). Simplified divide. Removed workaround for bug #59793.
629 Fixed GetHashCode to return different result for X and -X.
631 2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
634 - Now re-checked all common format patterns. They should be tried
635 with both current culture and invariant culture. Since '/' covers
636 '-', removed extraneous patterns. Added more common patterns
637 such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
638 only after NET_1_1). Commented out 1 character format patterns.
639 - The format patterns we should try should not be obtained by
640 GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
641 character patterns), to handle UTC correctly. Examined patterns
642 are changed, to 1) common patterns with specified (or current)
643 culture, 2) common patterns with invariant, 3) The above "one
644 character patterns" with specified (or current) culture.
645 - When trying to parse some kind of patterns such as RFC1123,
646 always use invariant DateTimeFormatInfo so that they can avoid
647 parsing with culture-dependent calendar.
648 - Check "GMT" only when doing Parse(). Don't it when ParseExact().
649 - Removed extraneous '-' case. It is not special one.
650 - When ParseExact(), allow only '/' for '/' pattern character.
651 - When Parse(), allow any non-letter & non-number characters.
652 - When pattern is not fully parsed, reject that format.
653 - Added "exact" parameter to some ParseExact().
654 - RFC1123 pattern is (again) now parsed in local time. I regressed
655 some problems in previous fix.
657 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
659 * Decimal.cs: Fixed cast to integer types to truncate (not round) the
662 2004-06-07 Duncan Mak <duncan@ximian.com>
664 * Exception.cs (Source): This can return null.
666 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
668 * DateTime.cs: Fixed FromFileTime for negative values. Fixed
669 constructor to limit range of milliseconds from 0,999. Fixed
670 ToType method to work for object, string and DateTime.
672 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
674 * DateTime.cs: Fixed OLE Automation date conversions: timezone
675 insensitive, wrong exception in FromOADate, handling of Min/Max
676 values, negative doubles where integer part is negative but
677 decimals are positive! Charming format ;-)
679 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
681 * String.cs: Fixed Join in case separator parameter is null.
682 * TimeSpan.cs: Cache format errors during parsing and throw
683 FormatException only if there was no overflow.
685 2004-06-06 Gert Driesen <drieseng@users.sourceforge.net>
687 * MonoCustomAttrs.cs: fixed issue where an empty array was
688 returned when GetCustomAttributes was invoked with null
689 attribute type and there was only one result
691 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
693 * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
694 * Int16.cs: Fixed ToString(String.Empty) to default ("G").
695 * Int32.cs: Fixed ToString(String.Empty) to default ("G").
696 * Int64.cs: Fixed ToString(String.Empty) to default ("G").
697 * SByte.cs: Fixed ToString(String.Empty) to default ("G").
698 * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
699 * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
700 * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
702 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
704 * Convert.cs: Fixed the convertion of negative integers (byte, short,
705 int and long) into string in a specific base (2, 8, 10 or 16).
707 2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
709 * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
710 the dividend is negative and the result is 0 (remainder).
712 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
714 * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
716 2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
718 * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
719 spans. Fixed parsing when only days are presents in the string (which
720 should be illegal according to the documentation but is supported).
722 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
724 * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
725 somewhat different from the documentation.
727 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
729 * Type.cs: added missing attributes on InvokeMember
731 2004-06-01 Miguel de Icaza <miguel@ximian.com>
733 * String.cs: Flag concat with four arguments internal.
735 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
737 * Array.cs: Fixed legal case where value is null.
738 * Byte.cs: Fixed ToString when format is an empty string (use "G").
739 * Guid.cs: Renamed private fields (and changed some to signed) to
740 match MS implementation and allow serialization to work. Fix
743 2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
745 * DateTime.cs: adjust milliseconds for fraction specifier ('f').
747 2004-05-30 Miguel de Icaza <miguel@ximian.com>
749 * Console.cs: Remove *again* the version of WriteLine with four
750 arguments; That should *not* be added.
752 Flag it as internal as people migrate their code.
754 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
756 * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
757 ArgumentNullException (only case, all other returns 0). Fixed exception
758 reporting for hex prefix only strings. Fixed ChangeTo where null could
759 be misinterpreted between null and Empty.
761 2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
763 * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
764 16), non-base 10 negative numbers ... see new unit tests. Fixed the
765 case when we parse Int64.MinValue (positive doesn't fit a signed long).
767 2004-05-28 Jackson Harper <jackson@ximian.com>
769 * Environment.cs: Increment version number.
771 2004-05-28 Zoltan Varga <vargaz@freemail.hu>
773 * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
776 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
778 * DateTime.cs : I reverted my fix by accident :(
780 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
783 - In ToString(), Don't use culture-dependent daynames to format
784 Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
785 - Fixed GetDateTimeFormats () that generated incorrect 'U' value
786 (since the format string is the same as 'F').
788 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
790 * DateTime.cs : don't adjust utc value in ToString(). It must output
791 the same time value, just adding 'Z' for UTC.
793 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
795 * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
798 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
800 * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
802 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
804 * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
805 * Convert.cs: Convert with a base parameter cannot parse negative
806 string numbers, even "-0".
807 * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
808 * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
809 * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
811 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
814 - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
815 to common formats (yes, I know it is nothing more than hack)
816 - Fixed some GetDateTimeFormats() that just returned patterns.
817 - For InvariantCulture, now try both supported formats and our
819 - It was accepting incorrectly extraneous characters. That caused
820 some UTC/non-UTC bug.
821 - RFC1123 string should return universal time. Uncomment again (the
822 problem should went away because of the extra characters fix above.
824 With some of the changes above, fixed bug #47720.
826 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
828 * DateTime.cs : quick revert 'Z' support for certificate verifications.
830 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
832 * Array.cs: Removed duplicate condition if LastIndexOf.
834 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
837 - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
839 - As a quick remedy to accept more patterns, Parse() now also tries
840 InvariantInfo patterns (this is because we have no more than one
841 pattern for each pattern component.)
842 - In _DoParse(), 'Z' should not be read as timezone specifier. Some
843 culture uses 'Z' as AM/PM designer, and it should be recognized as
844 part of the UTCpattern (if it actually UTC pattern for the culture
847 2004-05-26 Gert Driesen (drieseng@users.sourceforge.net)
849 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
850 seems to allow multiple attributes with AllowMultiple at
853 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
855 * Byte.cs: Throw an OverflowException for negative numbers.
856 * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
857 * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
859 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
861 * Array.cs: Fixed possible integer overflow.
862 * BitConverter.cs: Fixed a possible integer overflow in ToString.
863 * Guid.cs: Added an internal method to create a random Guid without
864 using CryptoConfig (which is heavy on first use). This is only used
865 in S.R.E.ModuleBuilder to speedup MCS compilation.
866 * String.cs: Fixed reported exception for PadLeft|Right. Fixed
867 possible integer overflow in methods that takes index and count
870 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
872 * String.cs: Add new Strcpy icalls which take a char array as
875 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
877 * DateTime.cs : added more invariant format patterns. This should
878 really fix bug #57656.
880 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
882 * BitConverter.cs (ToBoolean): Return true or false instead
883 of unsafe returing byte as bool. Fixes bug #58874.
885 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
887 * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
888 string format argument is null.
890 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
892 * Version.cs: Rename of data fields to match those in Microsoft.NET.
893 Patch by PAF@design.ru.
895 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
897 * DateTime.cs: allow double quotes in the formats. Don't set
898 next_not_digit to true in presence of single or double quotes. Patch by
901 2004-05-24 Zoltan Varga <vargaz@freemail.hu>
903 * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
905 2004-05-23 Sebastien Pouliot <sebastien@ximian.com>
907 * Array.cs: Fixed exception when we try to Clear outside bounds.
908 * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
909 * BitConverter.cs: Fixed negative index and integer overflow in
911 * Buffer.cs: Fixed integer overflow in BlockCopy.
913 2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
915 * Array.cs: Clear can now work on multidimentional arrays.
916 * IntPtr.cs: We now only accept 32bits values in the long constructor
917 unless we're on a 64 bits machine.
918 * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
919 constructor unless we're on a 64 bits machine.
921 2004-05-22 Duncan Mak <duncan@ximian.com>
923 * Convert.cs: The file was mostly in DOS endings already, for the
924 sake of consistency, converted it all to DOS endings.
925 (ToType): When value is null, immediately return null and don't
926 ever throw a NullReferenceException. When conversionType is null,
927 throw an InvalidCastException. Give a better error message when
928 attempting to convert to a DBNull as well.
930 2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
932 * Decimal.cs: Fixed To... methods that needs to trunk the integer part
933 of Decimal (and not use the banker's rounding like Convert.To...).
934 * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
935 to NaN compares (see new unit tests).
937 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
939 * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
940 Also fixed the case where wide (16 bits) characters were converted to
943 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
945 * ThreadStaticAttribute.cs
946 * ContextStaticAttribute.cs
948 * ObsoleteAttribute.cs : now that Inherited is false by
949 default on AttributeUsageAttribute (as it should be) we
950 need to explicitly set Inherited to false for those
951 attributes should it be be false.
953 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
955 * AttributeUsageAttribute.cs: Inherited property should be
956 true by defaultrs.cs: respect Inherited property, and
958 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
960 * MonoCustomAttrs.cs: respect Inherited property, and
961 AllowMultiple property of a CustomAttribute. This fixes
962 a major issue we had with respect to custom attributes.
964 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
966 * MonoType.cs: throw ArgumentNullException when type parameter in
967 GetCustomAttributes(Type, bool) is null
969 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
971 * Buffer.cs: Added checks for null source and destination. Fix failing
972 CryptoStream unit test.
973 * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
974 pseudo-random numbers to generate GUIDs (as per section 3.4 of the
975 spec). This removes the TODO to get the computer MAC address and
976 the chances to get a duplicate GUID (across different machines).
978 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
980 * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
981 than OverflowExceptions then something went wrong internally
983 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
985 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
988 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
990 * Buffer.cs: Optimize BlockCopy.
992 * Environment.cs: Bump corlib version.
994 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
996 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
999 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1001 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
1002 been set. Just return null as MS. Fixes bug #58120.
1004 2004-05-14 Marek Safar <marek.safar@seznam.cz>
1006 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
1007 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
1008 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
1009 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
1010 useless [CLSCompliant (false)]
1013 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
1015 * __ComObject.cs: To please corcompare (no implementation).
1017 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
1019 * Environment.cs: Bump corlib version.
1021 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
1023 * Environement.cs: Removed two security attributes for CurrentDirectory
1024 that weren't documented (and anyway we don't support them).
1026 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1028 * Char.cs: Fix exceptions
1030 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
1032 * MissingMemberException.cs: Fix in serialization constructor.
1034 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1036 * Environment.cs: GetGacPath return value is resolved at runtime on
1039 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
1041 * Convert.cs: ToBase64CharArray method was depending on a bug in
1042 S.S.C.ToBase64Transform class to work. Added an internal method to
1043 provide the same functionality (multiple block processing).
1045 2004-05-06 Jackson Harper <jackson@ximian.com>
1047 * Environment.cs: Make $HOME the personal directory.
1049 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
1051 * Convert.cs: ToBase64String method was depending on a bug in
1052 S.S.C.ToBase64Transform class to work. Added an internal method to
1053 provide the same functionality (multiple block processing).
1055 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
1057 * Environment.cs: Completed OSVersion property.
1058 * Version.cs: Added internal CreateFromString() to "try" to build the
1059 best version number form the specified string.
1061 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1063 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
1064 Fixes several potential bugs and makes things way faster.
1066 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1068 * TimeSpan.cs: Formatting changes
1070 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
1072 * Activator.cs: change _flags to a const.
1073 * IntegerFormatter.cs: make tables readonly.
1074 * Convert.cs: tables readonly
1075 * DateTime.cs: ditto.
1076 * IntPtr.cs: avoid a cctor.
1078 2004-04-29 Jackson Harper <jackson@ximian.com>
1081 * Type.cs: NET_2_0 now instead of 1_2.
1083 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1085 * Environment.cs: implemented GetLogicalDrives.
1087 2004-04-28 Miguel de Icaza <miguel@ximian.com>
1089 * Applied patch from Atsushi Enomoto that allows Synchronized
1090 writers to have a `dont close' flag, this fixes 52094
1092 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
1094 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
1095 return the method if it is private (it did until now because of a
1096 bug). Make sure it works as it worked before the fix.
1097 * Type.cs: Implemented FilterAttribute delegate.
1099 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1101 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
1103 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1105 * IntegerFormatter.cs: Made functions internal (needed by other patches)
1107 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
1109 * DateTime.cs: TODO cleaning.
1110 * Delegate.cs: GetObjectData should be virtual.
1111 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
1112 30 methods almost identical.
1113 * MulticastDelegate.cs: Implemented GetObjectData.
1115 2004-04-26 Jackson Harper <jackson@ximian.com>
1117 * Environment.cs: Things going bump in the night.
1119 2004-04-25 Miguel de Icaza <miguel@ximian.com>
1121 * Convert.cs (toBase64Transform): Make private.
1123 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1127 * DecimalFormatter.cs:
1128 * FloatingPointFormatter.cs: Call invariant Char functions
1129 * Guid.cs: Call invariant Char and String functions
1130 * String.cs: Call invariant Char functions
1132 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1134 * String.cs: Refactored the Invariant ToXXX into its own internal methods
1135 so they are directly callable within corlib (can prevent early
1136 construction of CultureInfo, InvariantCulture and related classes)
1138 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1140 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
1141 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
1143 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1145 * String.cs: Check for null values
1147 2004-04-23 Peter Bartok <pbartok@novell.com>
1149 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
1150 will do a better fix in the future, but this way apps can at least use it.
1152 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
1154 * Environment.cs: Better support for GetFolderPath (same results as MS
1157 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
1159 * Activator.cs: Removed TODOs for finished methods.
1160 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
1161 must be relative to the current directory, not the temp directory.
1162 Implemented DynamicBase.
1163 * Convert.cs: No need to create a ToBase64Transform instance at every call
1164 to ToBase64CharArray.
1165 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
1167 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
1168 * Delegate.cs: Removed class TODO.
1169 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
1171 * Type.cs: Removed TODOs for things already implemented.
1173 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
1175 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
1176 * MulticastDelegate.cs: Removed unused code.
1178 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
1180 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
1181 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
1182 * BadImageFormatException.cs: TODO reformat.
1183 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
1184 * DelegateSerializationHolder.cs: Made class internal.
1185 * Enum.cs: Removed TODO for localization, since this is something that has
1186 to be done for all classes.
1187 * Environment.cs: Removed TODO.
1188 * Exception.cs: Changed ToString to use StringBuilder.
1189 * MonoDummy.cs: Made class internal.
1190 * UnitySerializationHolder.cs: Added support for modules.
1192 2004-04-16 David Sheldon <dave-mono@earth.li>
1194 * DecimalFormatter.cs: Don't append a decimal point after the
1195 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
1198 2004-04-09 Miguel de Icaza <miguel@ximian.com>
1200 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
1203 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
1205 * MonoDummy.cs: added MonoTODO to make sure we remove this class
1206 when its no longer needed
1208 2004-04-09 David Sheldon <dave-mono@earth.li>
1210 * Convert.cs: Allow + signs in strings for ToInt32, and
1213 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
1215 * Nullable.cs : usingdecl should also be conditional.
1217 2004-04-07 Martin Baulig <martin@ximian.com>
1219 * Nullable.cs: New file.
1221 2004-04-07 Martin Baulig <martin@ximian.com>
1223 * Type.cs (Type.GetGenericArguments): Make this abstract.
1225 2004-04-07 Jackson Harper <jackson@ximian.com>
1227 * Environment.cs: Increase corlib version number.
1229 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1232 (ExpandEnvironmentVariables): on windows, env. vars. are case
1235 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
1237 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
1238 Removed [ThreadStatic] for _principalPolicy (not required).
1240 2004-04-06 Miguel de Icaza <miguel@ximian.com>
1242 * Guid.cs: Flag as Sequential.
1244 2004-04-02 Dick Porter <dick@ximian.com>
1246 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
1248 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
1250 * Environment.cs: Implement ExpandEnvironmentVariables static method.
1251 Now call the runtime to get the username (fix #56144).
1253 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1255 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
1258 2004-03-29 Miguel de Icaza <miguel@ximian.com>
1260 * Console.cs: If we fail to open stdin/stdout/stderr, create
1261 readers with a NullStream. This can happen if our caller does not
1262 setup stdin/stoud/stderr file handles. #56158 exposed this, but
1263 it will happen elsewhere.
1265 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
1267 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
1268 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
1269 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
1270 the constructor. This fixes bug #54019.
1272 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
1274 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
1275 internal variables to structures that are moved around methods.
1276 Factorized some common formatting code into FormatNumberInternal.
1278 2004-03-23 Dick Porter <dick@ximian.com>
1280 * DateTime.cs: Allow any character for DateSeparator when parsing,
1281 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
1282 deleted the previous fix for 54721, because this covers it too.
1284 2004-03-23 Dick Porter <dick@ximian.com>
1286 * DateTime.cs: Check the date string for too many digits when
1287 parsing. Fixes bugs 53023 and 53025.
1289 2004-03-22 Dick Porter <dick@ximian.com>
1291 * String.cs: Use the provider when converting strings to other
1294 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
1295 formats. Fixes bug 54721.
1297 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1299 * Console.cs: Styled, optimized calls
1300 * CrossAppDomainDelegate.cs: Small header fix
1301 * Buffer.cs: Style, improve errors
1302 * BitConverter.cs: Style, improve errors, remove obsolete comment
1303 * Attribute.cs: Style, improve errors, small fix
1304 * Array.cs: Style, improve errors, small fix, added TODOs
1305 * Activator.cs: Style, localized errors, added error checks
1306 * Byte.cs: Style, localized errors, fixed wrong exception parameters
1309 * AppDomainSetup.cs: Style
1310 * AppDomain.cs: Style, implemented two methods (redirect)
1312 2004-03-21 Jackson Harper <jackson@ximian.com>
1314 * FloatingPointFormatter.cs: Set precision from number format info
1315 when it is not specified. This fixes bug #54983.
1317 2004-03-18 Nick Drochak <ndrochak@ieee.org>
1319 * Math.cs: Use IsNaN() method not "x == NaN".
1321 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1323 * EntryPointNotFoundException.cs
1324 * DuplicateWaitObjectException.cs
1325 * DllNotFoundException.cs
1326 * DivideByZeroException.cs
1327 * ContextMarshalException.cs
1328 * CannotUnloadAppDomainException.cs
1329 * BadImageFormatException.cs
1330 * ArrayTypeMismatchException.cs
1331 * ArithmeticException.cs
1332 * ArgumentOutOfRangeException.cs
1333 * ArgumentNullException.cs
1334 * ArgumentException.cs
1335 * ApplicationException.cs
1336 * AppDomainUnloadedException.cs: Added missing HResult overrides
1338 * BadImageFormatException.cs: Improved/ Fixed implementation
1340 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
1342 * Random.cs: Corrected random value when Next is called with a
1343 negative value. Testing indictae that our results aren't exactly the
1344 same as MS, we have a +/- 1 (probably rounding errors due to
1345 different implementation).
1347 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1349 * Environment.cs: updated corlib version.
1351 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
1353 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
1354 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
1355 field "value" to "m_value", so it is interoperable with MS.NET when
1356 serializing and deserializing data. Based on the patch from Daniel
1359 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1361 * TypeInitializationException.cs
1362 * SystemException.cs
1363 * StackOverflowException.cs
1365 * OverflowExceptionException.cs
1366 * OutOfMemoryException.cs
1367 * NullReferenceException.cs
1368 * NotSupportedException.cs
1369 * NotFiniteNumberException.cs
1370 * InvalidOperationException.cs
1371 * InvalidCastException.cs
1372 * IndexOutOfRangeException.cs
1373 * FormatException.cs
1374 * ExecutionEngineException.cs: improved parameter names
1376 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1379 * EntryPointNotFoundException.cs
1380 * DuplicateWaitObjectException.cs
1381 * DoubleFormatter.cs
1382 * DllNotFoundException.cs
1383 * DivideByZeroException.cs
1384 * DelegateSerializationHolder.cs
1387 * ContextStaticAttribute.cs
1388 * ContextMarshalException.cs
1389 * ContextBoundObject.cs
1390 * CLSCompliantAttribute.cs
1392 * CannotUnloadAppDomainException.cs
1393 * BadImageFormatException.cs
1394 * AttributeUsageAttribute.cs
1395 * AttributeTargets.cs
1397 * AssemblyLoadEventHandler.cs
1398 * AssemblyLoadEventArgs.cs
1399 * ArrayTypeMismatchException.cs
1400 * ArithmeticException.cs
1401 * ArgumentOutOfRangeException.cs
1402 * ArgumentNullException.cs
1403 * ArgumentException.cs
1405 * ApplicationException.cs
1406 * AppDomainUnloadedException.cs
1407 * AppDomain.cs: Mono styled, fixed exceptions/ locales
1408 removed excess usings
1410 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
1412 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
1413 spaces) which fixed #54939. Changed the way that the length is
1414 validated (multiple of 4) because the ignored characters must not be
1415 included in the count.
1417 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1419 * String.cs: Monostyled
1421 2004-03-09 Jackson Harper <jackson@ximian.com>
1423 * Char.cs: Only use a byte for numeric data.
1425 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1427 * TypedReference.cs: Added missing Attributes
1428 * ParamArrayAttribute.cs: Small style fix
1429 * OperatingSystem.cs: Added .Net 1.1 member
1431 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1433 * FieldAccessException.cs
1434 * FormatException.cs
1435 * InvalidCastException.cs
1436 * InvalidOperationException.cs
1437 * MemberAccessException.cs
1438 * MethodAccessException.cs
1439 * MissingFieldException.cs: Locale strings
1440 * MissingMemberException.cs: Locale strings
1441 * MissingMethodException.cs: Locale strings
1442 * NotFiniteNumberException.cs
1443 * NotImplementedException.cs
1444 * NotSupportedException.cs
1445 * NullReferenceException.cs
1446 * ObjectDisposedException.cs
1447 * OutOfMemoryException.cs
1448 * OverflowExceptionException.cs
1449 * PlatformNotSupportedException.cs
1450 * RankException.cs: Added missing HResult overrides
1452 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1454 * RuntimeTypeHandle.cs
1455 * RuntimeMethodHandle.cs
1456 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
1458 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1462 * ExecutionEngineException.cs
1463 * FieldAccessException.cs
1464 * FormatException.cs
1467 * IndexOutOfRangeException.cs
1469 * InvalidCastException.cs
1470 * InvalidOperationException.cs
1471 * InvalidProgramException.cs
1472 * IServiceProvider.cs
1473 * LoaderOptimization.cs
1474 * LoaderOptimizationAttribute.cs
1475 * MarshalByRefObject.cs
1477 * MemberAccessException.cs
1478 * MethodAccessException.cs
1479 * MissingFieldException.cs
1480 * MissingMemberException.cs
1481 * MissingMethodException.cs
1482 * MultiCastDelegate.cs
1483 * MulticastNotSupportedException.cs
1484 * NonSerializedAttribute.cs
1485 * NotFiniteNumberException.cs
1486 * NotImplementedException.cs
1487 * NotSupportedException.cs
1488 * NullReferenceException.cs
1489 * ObjectDisposedException.cs
1490 * ObsoleteAttribute.cs
1491 * OperatingSystem.cs
1492 * OutOfMemoryException.cs
1493 * OverflowExceptionException.cs
1495 * PlatformNotSupportedException.cs
1498 * ResolveEventArgs.cs
1499 * ResolveEventHandler.cs
1500 * RuntimeFieldHandle.cs
1501 * RuntimeMethodHandle.cs
1502 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
1503 removed excess usings
1505 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1507 * SystemException.cs: Exceptions set the HResult
1508 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
1509 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
1511 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1514 * TypeLoadException.cs
1515 * TypeInitializationException.cs
1518 * ThreadStaticAttribute.cs
1519 * SystemException.cs
1520 * STAThreadAttribute.cs
1521 * StackOverflowException.cs
1522 * SingleFormatter.cs
1524 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
1525 removed excess usings
1527 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1529 * UnauthorizedAccessException.cs: Exceptions set the HResult
1530 * UInt64.cs: Implemented two missing methods
1531 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
1532 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
1534 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1540 * UnitySerializationHolder.cs
1541 * UnhandledExceptionEventHandler.cs
1542 * UnauthorizedAccessException.cs
1546 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
1548 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
1550 * Environment.cs: Bump corlib version.
1552 2004-03-04 Jackson Harper <jackson@ximian.com>
1554 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
1556 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
1558 * String.cs: Concat() fixed crash when one of the arguments is an object
1559 whose ToString() method returns null.
1560 * TypeLoadException.cs: Added some serialization fiels, needed for
1561 compatibility with MS.NET.
1563 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
1565 * String.cs (Equals): Speed up this method by avoiding Array
1566 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
1568 This gives between 0x (for 1 char) and >2x (for large strings)
1569 factor of improvement.
1571 A big thanks to Miguel, who suggested the integer compares.
1573 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1575 * MonoType.cs: use the binder in GetPropertyImpl.
1577 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1579 * Math.cs: MonoStyled, replaced space with tabs,
1580 speedup of some methods by avoiding method calls
1582 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
1584 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
1585 (Moved from InternalCall to Managed code).
1587 2004-02-17 Martin Baulig <martin@ximian.com>
1589 * MonoType.cs (GetConstructors): Renamed the interncall to
1590 GetConstructors_internal(), made it internal and added a `Type
1591 reflected_type' argument to it.
1592 (GetEvents, GetFields): Likewise.
1593 (GetMethodsByName): Added `Type reflected_type' argument.
1594 (GetPropertiesByName): Likewise.
1596 2004-02-16 Jackson Harper <jackson@ximian.com>
1598 * FloatingPointFormater.cs: Allow precision to be up to the number
1599 of decimals without rounding.
1601 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
1603 * Delegate.cs (Equals): Do not compare method_ptr, since it might
1604 point to a trampoline.
1606 2004-02-12 Jackson Harper <jackson@ximian.com>
1608 * AppDomainSetup.cs: If relative paths are used they should be
1609 rooted in the temp directory.
1611 2004-02-11 Marek Safar <marek.safar@seznam.cz>
1613 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
1615 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
1617 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
1618 avoid an assert in the runtime.
1620 2004-02-08 Duncan Mak <duncan@ximian.com>
1622 * Convert.cs (ToType): Always let a Convert.ChangeType call
1623 succeed if the source object is already of the destination type.
1625 Patch by Ian MacLean (ianm@activestate.com).
1627 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
1629 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
1631 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
1633 * Environment.cs: Bump corlib version.
1635 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
1637 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
1640 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
1642 * Exception.cs: Changed ToString to remove the \n when no stack trace
1643 is present (which fixed a unit test for SecurityException). Changed
1644 all \n to Environment.NewLine.
1646 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
1648 * ContextBoundObject.cs: Removed TODO.
1650 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1652 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
1653 (double), which might round up.
1655 2004-01-19 Jackson Harper <jackson@ximian.com>
1657 * FloatingPointFormatter.cs: Use the default decimal digits count
1658 if they are not specified. This fixes bug #52927.
1660 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
1662 * Environment.cs: Bump version number.
1664 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
1666 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
1667 uses IsAssignableFrom(o.GetType()), which is not always valid for
1668 transparent proxies (because GetType will not return the type of the remote
1669 object if its assembly is not present).
1671 2004-01-18 David Sheldon <dave-mono@earth.li>
1673 * FloatingPointFormatter.cs: Skip the decimal point if we have an
1674 integer mantassa. So: 1E+15, rather than 1.E+15.
1676 2004-01-18 David Sheldon <dave-mono@earth.li>
1678 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
1679 even though docs say it should be an ArgumentNull. Two test cases now
1680 pass. See also nickd's commit of 2003-12-24.
1682 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1684 * Environment.cs: increased corlib version.
1686 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
1688 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
1689 be reused because they could be modified. This fixes bug #52655.
1691 2004-01-12 Patrik Torstensson
1693 * Environment.cs: Bump corlib version number due to new StringBuilder
1695 * String.cs: New internal method to support the new StringBuilder that
1696 uses the string as a buffer (until ToString is called)
1698 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
1700 * Environment.cs: Bump corlib version number for real this time.
1702 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
1703 the runtime, so it can take into account the Culture etc.
1705 * Environment.cs: Bump corlib version number.
1707 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1709 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
1710 new parameter with the method name and a boolean for ignoring case.
1711 Removed some string comparisons no longer needed.
1713 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1715 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
1716 new parameter with the property name and a boolean for ignoring case.
1719 2004-01-11 David Sheldon <dave-mono@earth.li>
1721 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
1724 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
1726 * AppDomain.cs: Keep track of type resolve and assembly resolve
1727 events in progress to prevent infinite recursion.
1729 2004-01-06 Miguel de Icaza <miguel@ximian.com>
1731 * Console.cs: Test for UTF-8 being present anywhere on the
1732 string, also do ToUpper instead of ToLower, which will work even
1733 around the ICU bug with different locales (#52065), and addresses #52101
1735 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
1737 * Environment.cs: Bump version.
1739 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
1741 * Type.cs (IsNotPublic): One would normally assume that
1742 IsNotPublic == !IsPublic, but this is not the case (note to MS,
1743 make better names ;-). Fixes #52547, `Type.IsNotPublic not
1744 correct for Nested types'
1746 2003-12-24 Nick Drochak <ndrochak@ieee.org>
1748 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
1749 even though docs say it should be an ArgumentNull. Sent email to MS
1752 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
1754 * Exception.cs: Several changes to make it compatible with MS.NET (needed
1755 for remoting interoperability): set a default value for hresult, added
1756 initialization of class_name, serialization field RemoteStackTrace must
1757 be RemoteStackTraceString, added ser. field ExceptionMethod.
1759 * IndexOutOfRangeException.cs: Added serialization constructor.
1761 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
1764 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
1766 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
1768 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
1769 user supplied no parameter info, but not when the user supplied an
1770 empty parameter list. This fixes IKVM.
1772 * Environment.cs: Bump corlib version.
1774 2003-12-19 Dick Porter <dick@ximian.com>
1776 * String.cs: Added Compare shortcut for length==0.
1778 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
1780 * Environment.cs: Bump corlib version.
1782 2003-12-17 Dick Porter <dick@ximian.com>
1784 * String.cs: Fix StartsWith and EndsWith when the argument is the
1785 empty string. Fixes bug 52283.
1787 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
1789 * Environment.cs (HasShutdownStarted): Implement.
1791 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
1793 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
1795 * Environment.cs: Bump version number.
1797 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1799 * DateTime.cs: don't bail out with that year out of range error on
1800 stuff like "MM/dd/yyyy HH:MM:ss".
1802 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
1804 * Environment.cs: Make it a const instead.
1806 * Environment.cs: Make version field static.
1808 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
1810 * Type.cs: Make DefaultBindingFlags protected.
1812 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
1813 Add new GacPath property + its associated icall.
1815 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
1817 * DateTime.cs : Bugs fixed (41845, 51422)
1818 * MonoType.cs : Exception message changed
1820 2003-12-08 Martin Baulig <martin@ximian.com>
1822 * Type.cs (MakeByRefType): New public method.
1824 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
1826 * Environment.cs: Add a version number for the corlib-runtime interface
1827 to make it easier to diagnose problems resulting from a mismatch
1830 2003-12-08 Patrik Torstensson <p@rxc.se>
1832 * Type.cs (GetMethod): Check type arguments within array
1833 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
1834 (same signature but different classes (derived level)
1836 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
1838 * Type.cs (MakeArrayType): Add argument checking.
1840 2003-12-06 Dick Porter <dick@ximian.com>
1842 * String.cs: Don't use CompareInfo for non-culture-sensitive
1843 IndexOf and LastIndexOf methods.
1845 2003-12-06 Ravindra <rkumar@novell.com>
1847 * DateTime.cs: Made Parse(string, IFormatProvider) method to
1848 use second argument. Fixed bug #51464.
1850 2003-12-04 Martin Baulig <martin@ximian.com>
1852 * Type.cs (Type.MakeArrayType): New public method.
1854 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1857 (BlockCopy): make the exception thrown helpful.
1859 2003-12-03 Dick Porter <dick@ximian.com>
1861 * String.cs: Calling Replace on an empty string returns itself.
1863 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
1865 * MonoType.cs: Get rid of get_type_info, use a separate icall for
1866 each property instead.
1868 2003-12-02 Dick Porter <dick@ximian.com>
1870 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
1871 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
1873 2003-12-01 Dick Porter <dick@ximian.com>
1875 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
1876 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
1878 2003-11-28 Dick Porter <dick@ximian.com>
1883 * Boolean.cs: Do string compares with the Invariant culture.
1885 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
1887 * Array.cs: make the enumerator ICloneable
1889 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
1891 * Decimal.cs (ToXXX): Call Convert.ToXXX.
1893 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
1895 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
1896 Implement Load(byte[]) methods.
1898 * BadImageFormatException.cs: Fix ToString.
1900 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
1902 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
1903 GetConstructor, as done by MS.
1905 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1907 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
1909 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
1911 * TypeInitializationException.cs: Added missing serialization constructor.
1913 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1915 * AppDomainSetup.cs: Don't add an extra '/' at the end of
1916 ApplicationBase. The tests pass now with mono.
1918 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
1920 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
1922 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1924 * Environment.cs: use Directory in CurrentDirectory property.
1925 We were not throwing any exception when setting the directory to an
1928 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1931 * Delegate.cs: implemented 1.1 stuff.
1934 * IntPtr.cs: removed extra attribute.
1935 * PlatformID.cs: added WinCE.
1937 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1940 (Equals): compare the fields of structs too.
1941 (GetHashCode): combine the hash code of all the fields.
1942 Fixes bug #50901 (will remove the icall in a couple of days).
1944 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1946 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
1948 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1950 * DateTime.cs: handle century when we try to parse 4-digit years and
1951 only 2 digits are present. Fixes bug #49394.
1953 2003-11-13 Miguel de Icaza <miguel@ximian.com>
1955 * Console.cs: On utf-8 consoles, use unmarked output.
1957 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1959 * IAppDomainSetup.cs:
1962 * Type.cs: Added missing attribute
1964 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
1966 * Environment.cs: Added internal method for getting the path to
1969 2003-11-12 Jackson Harper <jackson@ximian.com>
1971 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
1972 enum. This fixes the SWF build.
1974 2003-11-12 Miguel de Icaza <miguel@ximian.com>
1976 * PlatformID.cs: Remove Unix platform, we cant expose constants
1977 that are not in the framework.
1979 * OperatingSystem.cs: Adjust for the breakage.
1981 * RuntimeMethodHandle.cs: Fix signature.
1983 * Double.cs: Fix signature of TryParse.
1985 * String.cs (Concat (object, object, object, object)): Add missing method.
1987 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
1988 in the .NET Framework.
1990 * Enum.cs: Hide constructor.
1992 Fix ToUint16 to be explicitly implemented.
1994 * Console.cs: Add couple of extra missing methods (Write and
1995 WriteLine overloaded)
1997 2003-11-11 Miguel de Icaza <miguel@ximian.com>
1999 * AppDomain.cs, Activator.cs: New unimplmented entry points from
2000 1.1 (Com activation related).
2002 * Exception.cs: Formatting.
2004 * IServiceProvider.cs: Add ComVisible (true).
2006 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
2008 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
2010 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
2013 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
2015 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
2016 on MonoMethod instead of Invoke.
2018 2003-11-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2020 * DateTime.cs: Fixed Add* methods handling. Now it works properly
2021 with extreme values (there is a bug with Overflow and Underflow in
2024 2003-10-31 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2026 * DateTime.cs: Fixed a few format bugs.
2028 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
2030 * AppDomain.cs (InternalPushDomainRef): New icalls.
2032 * AppDomain.cs (InvokeInDomain): New method to execute code in a
2033 different appdomain.
2035 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
2037 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
2039 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
2041 * AppDomain.cs (IsFinalizingForUnload): Implement.
2043 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
2046 2003-10-25 Martin Baulig <martin@ximian.com>
2048 * MonoType.cs: Don't make this sealed.
2050 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
2052 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
2054 2003-10-24 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2056 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
2057 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
2059 2003-10-22 Dick Porter <dick@ximian.com>
2061 * DateTime.cs: Handle '-' as a date separator when parsing formats.
2063 2003-10-20 Duncan Mak <duncan@ximian.com>
2065 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
2066 and merge the two iterations into one.
2068 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
2070 * TypedReference.cs: Add new field used by the runtime.
2072 2003-10-15 Martin Baulig <martin@ximian.com>
2074 * Type.cs (Type.DeclaringMethod): For a generic method's type
2075 parameter, return this method - otherwise, return null.
2077 2003-10-14 Martin Baulig <martin@ximian.com>
2079 The generics API has changed in the spec since it was added here;
2080 these modifications make it match the spec again.
2083 (GetGenericParameters): Renamed to `GetGenericArguments'.
2084 (HasGenericParameters): Renamed to `HasGenericArguments'.
2085 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
2086 (IsGenericTypeDefinition): New property.
2087 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
2089 * MonoType.cs (ContainsGenericParameters): Implement this here;
2090 this is no interncall anymore.
2092 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2094 * Delegate.cs: add the method name to the exception when it cannot be
2096 * Exception.cs: fix nullref in Source.
2098 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
2100 * Array.cs: Add argument checking to GetValue and SetValue.
2102 2003-10-09 Miguel de Icaza <miguel@ximian.com>
2104 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
2105 should not be TimeSpan.MaxValue, because it overflow. Set this to
2108 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2110 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
2111 duplicate entry exception.
2113 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
2115 * DateTime.cs (ToString): Total rewrite, fixes #49358.
2117 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
2119 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
2121 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2124 (Equals): check that the object is an Enum before comparing the types.
2126 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2128 * Array.cs: reduced xsp allocated memory by 1/2.
2130 2003-09-25 Martin Baulig <martin@ximian.com>
2132 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
2133 since it was identical to GetGenericTypeDefinition().
2134 (Type.IsGenericInstance): New property.
2136 2003-09-24 Duncan Mak <duncan@ximian.com>
2138 * Math.cs (Abs): Fix double Locale.GetText bug reported by
2139 davejp@volny.cz. This fixes #48788.
2141 2003-09-14 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2143 * FloatingPointFormatter.cs: Add the necessary castings to char
2146 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2148 * FloatingPointFormatter.cs: Make the method calls more functional
2149 for protecting the values from different threads (make it more
2152 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2154 * FloatingPointFormatter.cs: Fix a bug with the negative value of
2157 2003-09-12 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2159 * FloatingPointFormatter.cs: Applied a lot of improvements in string
2160 construction, make use of Append/Insert with the "count" parameter.
2161 Thanks to Ben Maurer.
2163 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2165 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
2167 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
2170 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2172 * DoubleFormatter.cs: A few optimizations. Now, only one object
2173 is created to convert all double numbers.
2175 * SingleFormatter.cs: A few optimizations. Now, only one object
2176 is created to convert all float numbers.
2178 * FloatingPointFormatter.cs: Split the "number type parameters" from
2179 the "numver value and format parameters". The first ones are in the
2180 constructor and the others are in a method.
2182 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
2184 * Array.cs: Added argument checking to some NET_1_1 methods.
2186 2003-09-04 Martin Baulig <martin@ximian.com>
2188 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
2190 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2192 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
2193 taking 'longs'. All tests pass.
2195 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
2197 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
2198 Source. Remove MonoTODO attributes (class is 100% done). Also
2199 passes all Rotor tests for Exception!
2201 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
2203 * Enum.cs: Remove [MonoTODO]'s that had been completed.
2205 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2207 * String.cs: fixed bug #47802.
2209 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
2211 * String.cs: Created method FormatHelper that does formatting,
2212 using a StringBuilder.
2214 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2216 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
2218 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2220 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
2223 2003-08-11 Duncan Mak <duncan@ximian.com>
2225 * Environment.cs (Version): Return the same numbers as the MS
2228 2003-08-10 Miguel de Icaza <miguel@ximian.com>
2230 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
2231 replicated tests, and have a routine that does the heavy lifting.
2233 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
2235 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
2237 * Environment.cs: return $HOME for ApplicationData folder.
2239 2003-08-04 Duncan Mak <duncan@ximian.com>
2241 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
2242 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
2243 floating point values. This fixes bug #46175.
2245 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
2246 noted by c5n4kh6u02@sneakemail.com in
2247 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
2249 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
2251 * Double.cs: added icall Double.AssertEndianity.
2253 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
2255 * Type.cs, MonoType.cs: implemented generic-specific methods.
2257 2003-07-29 Miguel de Icaza <miguel@ximian.com>
2259 * Buffer.cs: Add new internal MemCopy call.
2263 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
2265 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
2266 to icalls, to avoid special cases in some call conventions.
2268 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2270 * Enum.cs: added Serializable attribute.
2272 2003-07-25 Duncan Mak <duncan@ximian.com>
2274 * AppDomain.cs (Equals):
2275 (GetHashCode): Removed because they do not need to be defined
2278 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2280 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
2281 cannot even get the type.
2283 2003-07-24 Miguel de Icaza <miguel@ximian.com>
2285 * Type.cs: Added generics stubs.
2287 2003-07-23 Duncan Mak <duncan@ximian.com>
2289 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
2290 as values for NET_1_1.
2291 (GetFolderPath): Return the empty string ("") for values of
2292 SpecialFolder that have no corresponding equivalents in
2293 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
2294 and "$HOME" for SpecialFolder.Personal.
2296 * IntPtr.cs (GetObjectData): Mark it as an interface
2297 implementation, instead of a public method.
2299 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
2301 * TypeLoadException.cs (GetObjectData):
2302 Create stubs for the fields that are being serialized.
2304 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
2306 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
2308 * Enum.cs: Fixed enum formatting. For flag enums, if one of
2309 the flags is unnamed, ToString() returns the integer value.
2311 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
2313 * Guid.cs: Fixed ToString (), was producing incorrect string.
2315 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2317 * AppDomainSetup.cs: fixed bug #46609.
2319 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
2321 * MonoType.cs: use an icall for IsPrimitiveImpl ().
2323 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
2325 * Guid.cs: faster ToString ().
2327 2003-07-15 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2329 * FloatingPointFormatter.cs: Few changes for get working Rotor
2332 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
2334 * Type.cs (IsAssignableFrom): Implement this as an icall since the
2335 runtime already includes the neccessary logic.
2337 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2339 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
2340 if it's present and get the full path for non-Uri paths.
2342 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
2344 * DateTime.cs: Fixed formatting of fractions of second.
2346 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
2348 * Console.cs: Turn off buffering for the streams returned by
2349 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
2351 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
2353 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
2354 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
2355 a new random number (although it is not needed), while mono did not.
2356 As a result, the sequence of random numbers could be different for the
2359 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
2361 * FloatingPointFormatter.cs: use dec_len2 as default precision.
2363 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
2365 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
2366 be done after the correspondig UTC offset has been applied.
2368 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
2370 * Object.cs: Object must have the Serializable attribute.
2371 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
2372 to the resulting date. Also fixed _ToString so now correctly formates the
2375 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
2377 * Enum.cs: fix race in cache (bug#41841).
2379 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
2381 * FloatingPointFormatter.cs: if the precision is not specified, use
2382 the default precision for the data type.
2384 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
2386 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
2387 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
2389 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2391 * MonoType.cs: don't throw nullref when the return type for a property
2392 is specified and the property doesn't have a get accessor.
2394 2003-06-10 Duncan Mak <duncan@ximian.com>
2396 * Array.cs (CreateInstance): Fixed a typo. It should throw
2397 ArgumentNullException instead of ArgumentException.
2399 2003-06-09 Duncan Mak <duncan@ximian.com>
2401 * Array.cs: Revert the last revert. I fixed it.
2402 (Sort): Put a try-catch block around qsort, and wrap whatever
2403 Exception we get into a InvalidOperationException.
2405 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
2407 * Array.cs: Revert last patch, it broke some other functionality.
2409 2003-06-08 Duncan Mak <duncan@ximian.com>
2411 * Array.cs: Throw more exceptions. This fixes the errors we see
2412 from the Rotor testsuite.
2414 (CreateInstance): Throw ArgumentNullException when the input are
2415 null. Throw ArgumentOutOfRangeException when bounds + length is
2416 greater than Int32.MaxValue.
2417 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
2418 the valid range of indices of array.
2419 (Sort): Throw InvalidOperationException when comparer is null and
2420 none of the elements in keys implements IComparable.
2422 2003-06-08 Duncan Mak <duncan@ximian.com>
2424 * Array.cs (CreateInstance): Throw a TypeLoadException if the
2425 Length of the input array 'lengths' is greater than 255 so that we
2426 won't see the g_assert that is in mono_array_class_get in class.c.
2428 This fixes bug #44304.
2430 2003-06-05 Nick Drochak <ndrochak@gol.com>
2432 * UnitySerializataionHolder.cs: Cleanups according to class status page
2434 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
2436 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
2437 RuntimeTypeHandle.cs: implemented the needed stuff to handle
2440 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
2442 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
2443 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
2444 for Ben Maurer after review and testing.
2446 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
2448 * Array.cs: Added better argument checking to Array.Sort ()
2449 * DBNull.cs: Made the conversions throw like they do in MS.
2451 2003-05-24 Philip Van Hoof <me@freax.org>
2453 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
2455 2003-05-21 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2457 * FloatingPointFormatter.cs: Take care with the explicit precision
2458 and round the number to that precision.
2460 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
2462 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
2464 2003-05-20 Philip Van Hoof <me@freax.org>
2466 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
2469 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
2471 * AppDomainSetup.cs: Added new field which is used to notify the
2472 runtime that the search path has changed.
2474 2003-05-18 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2476 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
2477 introduced the last change I've done.
2479 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
2481 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
2482 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
2483 behaving correctly).
2485 2003-05-17 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2487 * FloatingPointFormatter.cs: Fixed little format mismatches.
2489 2003-05-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2491 * FloatingPointFormatter.cs: Fixed "-0" result emited.
2493 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2495 * AppDomain.cs: Added null argument check in Load().
2496 * Activator.cs: fixed bug #39926.
2498 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2500 * Enum.cs: fixed bugs #41522 and #42879.
2502 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
2504 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
2505 undocumented MS behaviour.
2507 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2509 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
2512 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2514 * String.cs: fixed bug #41411 and another similar problem in
2515 LastIndexOf (string).
2517 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2519 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
2522 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
2524 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
2525 construction if the delegate list only has one element.
2527 2003-05-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2529 * Environment.cs: Changed the method GetFolderPath because it must
2530 return at least a directory name (not null).
2532 * Convert.cs: In ToType, if the destination type is unknown, try to
2533 cast the value to object (then, the calling method will downcast it
2534 to the type it wants).
2536 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2538 * Enum.cs: fixed bug #41522.
2540 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
2542 * Enum.cs: protect with the lock also the lookup (bug #41841).
2544 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
2546 * MonoType.cs: allow a null name if InvokeMember is called with
2547 BindingFlags.CreateInstance set.
2549 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2551 * Enum.cs: reverted my previous patch.
2553 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2555 * Enum.cs: fixed bug #41841.
2557 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2560 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
2562 2003-04-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2564 * FloatingPointFormatter.cs: Little fixes for get the same results
2565 as MS.NET and show a message when something goes wrong with the
2566 parser of Custom Formats.
2568 2003-04-22 Nick Drochak <ndrochak@gol.com>
2570 * Double.cs (ToString):
2571 * Single.cs (ToString): Handle case where param is a CultureInfo.
2573 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
2575 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
2576 ValueType::Equals() icalls static non-virtual, so they can be called
2577 by the code in RuntimeHelpers.
2579 2003-04-18 Miguel de Icaza <miguel@ximian.com>
2581 * Delegate.cs (operator ==): Do not crash if the second argument
2582 is null. Bug fix submitted by Juan Cri.
2584 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
2586 * Array.cs: Deleted the exception in Array.Initialize(), it looks
2587 like the method do nothing for C#, is still a MonoTODO until
2588 we find a compiler that uses that.
2590 2003-04-14 Miguel de Icaza <miguel@ximian.com>
2592 * Delegate.cs (Delegate): Seems like a typo, we were checking the
2593 a field rather than the argument
2595 * MonoType.cs: Make GetNestedType an external method implementation.
2597 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2599 * Enum.cs: fixed bug #41294.
2601 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2603 * DateTime.cs: fixes bug #40910, part 2.
2605 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
2607 * String.cs (Equals): avoid the internal call, code cleanups
2609 2003-04-11 Alan Tam <Tam@SiuLung.com>
2611 * Convert.cs: fixed bug #41085.
2613 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
2615 * AppDomain.cs: Added internal method for getting process guid.
2617 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
2619 * Array.cs: Little fix to compare () method.
2621 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
2623 * String.cs (Equals): Add trivial optimization.
2625 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2627 * DateTime.cs: fixed bug #40910.
2629 2003-04-05 Miguel de Icaza <miguel@ximian.com>
2631 * Console.cs: Make stderr, stdout and stdin use synchronized
2632 versions of the their readers/writers.
2634 2003-04-04 Dick Porter <dick@ximian.com>
2636 * Version.cs: Make operator== and operator!= cope with null
2637 objects. Didn't change operator<, operator<=, operator> or
2638 operator>= because its not meaningful to use those to compare
2639 against null, and throwing a NullReferenceException is probably
2640 the best thing to do there anyway.
2644 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2646 * AppDomain.cs: fixed InvalidCastException.
2648 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
2650 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
2651 type checks and let it decide whenever a fast copy is possible.
2653 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2656 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
2658 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
2660 * Activator.cs (CreateInstance): Call GetConstructor with the right
2661 arguments so the nonPublic argument is handled correctly.
2663 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2665 * Type.cs: fixed bug #40123.
2667 2003-03-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2669 * FloatingPointFormatter.cs: Fixed some bugs for get the same
2670 results than MS.NET. Added simple error recovering, now ToString
2671 will return a general format if there is any exception in the
2672 process of formatting. This make the library more robust while the
2673 formatters are refined.
2675 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2677 * FloatingPointFormatter.cs: Added support for group separators.
2679 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2682 * Double.cs: Apply changes of .ToString methods.
2683 * SingleFormatter.cs:
2684 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
2685 * FloatingPointFormatter.cs: New class. Implementation of double and
2686 single formatters. It is unified now and parametrized with precission
2689 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
2691 * AppDomain.cs: fixes bugs #39380 and #39331.
2693 2003-03-06 Nick Drochak <ndrochak@gol.com>
2695 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
2697 2003-03-04 Dick Porter <dick@ximian.com>
2700 * Double.cs: Temporarily reverted the Double and Single ToString()
2701 change, because it broke nunit.
2704 2003-03-04 Pedro MartÃnez Juliá <yoros@wanadoo.es>
2706 * Double.cs: Changed ToString method. Added NumberFormatInfo support
2707 with DoubleFormatter class.
2708 * Single.cs: Changed ToString method. Added NumberFormatInfo support
2709 with SingleFormatter class.
2710 * DoubleFormatter.cs: New class with Double formatting functions.
2711 * SingleFormatter.cs: New class with Single formatting functions.
2713 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
2715 * Activator.cs: Added support for activation using activation attributes.
2716 * AppDomain.cs: Added internal method to get the default context from the runtime.
2718 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
2720 * DateTime.cs: FileTime is expressed in Universal time, and as such must
2721 be converted before subtracting the magic offset.
2722 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
2723 the timezone at the end) *must* be parsed by DateTime.Parse() for
2724 compatibility with Microsoft.
2726 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2729 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
2732 * IntPtr.cs: added serialization .ctor
2734 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2736 * AppDomain.cs: check for null in Unload and changed method name.
2738 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2740 * MonoCustomAttrs.cs: fixed bug #38238.
2742 2003-02-17 Martin Baulig <martin@ximian.com>
2744 * Exception.cs (Exception.ToString): Print a newline between the
2745 exception message and the stack trace.
2747 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2749 * AppDomain.cs: implemented GetCurrentThreadId ().
2751 2003-02-14 Patrik Torstensson
2753 * Exception.cs: Fixed message output formating
2755 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2758 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
2760 2003-02-12 Miguel de Icaza <miguel@ximian.com>
2762 * Type.cs: IsClass should return false for Enumerations
2764 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2766 * MonoCustomAttrs.cs: return the correct array type in the short case.
2769 2003-02-08 Pedro MartÃenz Juliá <yoros@wanadoo.es>
2771 * Math.cs: Fix a few methods (like Round) and add with comments the
2772 new methods: BigMul and DivRem that were in ECMA specs.
2774 2003-02-07 Patrik Torstensson
2776 * Exception.cs: Fixed formating
2778 2003-02-05 Patrik Torstensson
2780 * AppDomain.cs: Partly fixed the unload method
2782 2003-02-04 Patrik Torstensson
2784 * AppDomain.cs: Fixed lease issue with appdomain
2786 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
2788 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
2789 InitializeLifetimeService().
2791 2003-02-03 Patrik Torstensson
2793 * AppDomain.cs: New internalcalls for handling domain/context switches
2794 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
2796 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2798 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
2799 and ClearShadowCopyPath and fixed GetType ().
2801 * Attribute.cs: clean up.
2803 * Console.cs: removed UnixConsoleEncoding. Use Default.
2805 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2807 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
2808 GetCustomAttributes later.
2810 2003-01-31 Patrik Torstensson
2812 * Buffer.cs: Changed access level of BlockCopyInternal
2814 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
2816 * String.cs, IntegerFormatter.cs: use const where appropriate.
2818 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2820 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
2823 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2825 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
2826 The argument ICustomAttributeProvider can be of other types different
2827 from Type. Handle it.
2829 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
2831 * DateTime.cs: fix FromFileTime so the time returned by
2832 File::GetLastModificationTime etc. is in the correct timezone.
2834 2003-01-28 Patrik Torstensson
2835 * Exception.cs: reverted formating/endline changes (sorry guys)
2837 2003-01-28 Patrik Torstensson
2839 * MarshalByRefObject.cs: implemented GetObjectIdentity
2840 * Exception.cs: added support for remote exceptions
2842 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2844 * DateTime.cs: fixed bug #37225.
2846 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2848 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
2850 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
2852 * AppDomain.cs: Added DoTypeResolve method which will be called by
2853 the runtime to raise TypeResolve events.
2855 2003-01-27 Duncan Mak <duncan@ximian.com>
2857 * Enum.cs (ToType): Implement this using Convert.ToType.
2859 2003-01-21 Miguel de Icaza <miguel@ximian.com>
2861 * Math.cs: Remove Pow's implementation body as it was wrong. The
2862 C code does the right thing. The code was trying to handle a
2863 number of cases, and that was incorrect.
2865 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2867 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
2870 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2872 * Enum.cs: added caching to GetInfo.
2874 2003-01-23 Dick Porter <dick@ximian.com>
2876 * Environment.cs (System): Implemented ExitCode
2878 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
2880 * Type.cs (IsInstanceOfType): fixed regression caused by the change
2883 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2885 * MonoType.cs: re-added lines that were removed in the previous commit.
2887 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
2889 * Type.cs: corrected property IsSerializable. It should always return
2890 true for enums and delegates
2891 * MonoType.cs: added serialization support.
2892 * Delegate.cs: added serialization support.
2893 * DBNull.cs: added serialization support.
2894 * UnitySerializationHolder.cs: supports serialization of Assembly,
2895 MonoType and DBNull.
2896 * DelegateSerializationHolder.cs: added.
2898 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2900 * Exception.cs: changed default message to match MS one.
2902 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
2904 * String.cs: Fixed bug with CompareOrdinal
2906 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2908 * Enum.cs: implements IFormattable.
2910 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2912 * AppDomain.cs: implemented DoCallBack method.
2914 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
2917 NUnit2 tests start moving.
2919 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2921 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
2922 instantiate an abstract class.
2924 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2927 (IsSubclassOf): return false when null. Use != instead of Equals.
2929 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2931 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
2933 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
2935 * MonoType.cs: fixed Namespace property for nested types.
2937 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
2939 * MonoCustomAttrs.cs: create properly typed arrays when returning
2940 arrays of attributes of a given type.
2942 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
2944 * MonoType.cs: fixed MemberType property for nested types.
2946 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2948 * String.cs: fixed bug #36209.
2950 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
2952 * Activator.cs: implemented method GetObject.
2954 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
2956 * Activator.cs: Since the documentation indicates the method
2957 either succeeds or throws one of the listed exceptions, we weren't
2958 expecting that CreateInstance might be returning null.
2960 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
2962 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
2964 * MarshalByRefObject.cs: implemented CreateObjRef.
2966 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2968 * DateTime.cs: fixed bug #30076.
2969 * TimeZone.cs: provide the parameter name in a exception.
2971 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2973 * DecimalFormatter.cs: fixed bug #35560.
2975 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
2977 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
2979 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2981 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
2982 nulls. Fixes #34909.
2984 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2986 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
2987 returns a non-null assembly.
2989 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2991 * MulticastDelegate.cs: make GetInvocationList work for more than 1
2994 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2996 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
2997 if this is the correct order of invocation.
2999 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3001 * Type.cs: changed the signature of internal_from_name. Modified
3002 the overloads of GetType to use it and check the typeName argument.
3003 Implemented FindInterfaces.
3005 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3007 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
3008 some obscure reasons (try make -f makefile.gnu using a corlib which has
3009 the modified version).
3011 2002-11-26 Miguel de Icaza <miguel@ximian.com>
3013 * String.cs (Concat): Reduce the number of compares required.
3015 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
3017 * Activator.cs: throw a MissingMethodException if the default
3018 constructor is not found in CreateInstance.
3020 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3023 (Equals (str, str)): use 'as' instead of casting to object.
3024 (Equals (obj)): check the length of the strings (until now,
3025 "Hello".Equals ((object) "Hellow World!) was true!).
3027 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3029 * MonoType.cs: implemented GetEvent (name, flags).
3031 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3033 * AppDomain.cs: implemented a couple of methods called from the runtime
3034 to fire AssemblyLoad and AssemblyResolve events.
3036 2002-10-31 Dick Porter <dick@ximian.com>
3038 * Environment.cs: MonoIO methods now have an error parameter
3040 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
3042 * Enum.cs: Added support for whitespaces in Enum:Parse().
3044 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3046 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
3047 internal call. Closes bug #32992.
3049 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3051 * Exception.cs: display the inner exception, if any, in ToString ().
3053 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3055 * Environment.cs: fixed StackTrace property.
3057 2002-10-16 Nick Drochak <ndrochak@gol.com>
3059 * Enum.cs (Parse): Then fix the code so that it works too.
3061 2002-10-15 Nick Drochak <ndrochak@gol.com>
3063 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
3065 2002-10-12 Nick Drochak <ndrochak@gol.com>
3067 * IntegerFormatter.cs: Fix compiler warnings.
3069 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
3071 * Type.cs (GetConstructors): Use the correct flags.
3073 2002-10-09 Nick Drochak <ndrochak@gol.com>
3075 * IntegerFormatter.cs: Suppress insignificant leading zeros
3077 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
3079 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
3080 <stonewell@21cn.com> to return also derived types.
3082 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3084 * Activator.cs: little fix in CreateInstance (Type, bool).
3086 2002-09-19 Duncan Mak <duncan@ximian.com>
3088 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
3089 I18N/Common from building right now.
3091 2002-09-19 Nick Drochak <ndrochak@gol.com>
3093 * Array.cs (CopyTo): Account for Object type and base (primitive) types
3094 * Type.cs (IsAssignableFrom): return false for a null parameter
3096 2002-09-19 Nick Drochak <ndrochak@gol.com>
3098 * Array.cs (CopyTo): Check that source type can be cast automatically
3099 to the destination type.
3101 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3103 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
3106 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3108 * Char.cs: implemented ToString (char)
3109 * IntegerFormatter.cs: made it internal.
3111 2002-09-13 Nick Drochak <ndrochak@gol.com>
3113 * Enum.cs (Format): handle the "d" format for both signed and unsigned
3116 2002-09-12 Dick Porter <dick@ximian.com>
3118 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
3119 attribute, as there doesn't appear to be any struct
3120 layout-depending code here (and corcompare says it should be
3121 LayoutKind.Sequential)
3123 * Decimal.cs: Stub out missing methods, add
3124 [DecimalConstantAttribute] to the constant fields (as shown by
3127 * LocalDataStoreSlot.cs:
3130 * Array.cs: Stub out missing methods.
3132 * TypedReference.cs:
3133 * ArgIterator.cs: Stub out
3135 * AppDomainSetup.cs:
3136 * AppDomain.cs: Stub out missing methods, add missing
3137 ClassInterface(ClassInterfaceType.None) attribute.
3139 2002-09-12 Nick Drochak <ndrochak@gol.com>
3141 * Double.cs (ToString): Throw exception when "X" format is passed in.
3143 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
3145 * MonoType.cs: implemented Module property.
3147 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
3149 * MonoType.cs, Type.cs: implemented InvokeMember.
3151 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
3153 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
3154 type. Check the method signature matches.
3156 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
3158 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
3160 2002-09-06 Miguel de Icaza <miguel@ximian.com>
3162 * Console.cs: Specify an encoder, otherwise we will get the UTF8
3163 encoder that by default emits the byte markers.
3165 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
3167 * Delegate.cs: look also for non-public methods until we have the
3168 security checks in place.
3170 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
3172 * MonoType.cs: consider also the full name in GetInterface.
3174 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
3176 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
3177 GetMethodImpl using the binder.
3178 * Type.cs: GetConstructorImpl/GetConstructor fixes.
3180 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
3181 * Enum.cs: Get rid of warning CS0162.
3183 2002-09-04 Miguel de Icaza <miguel@ximian.com>
3185 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
3186 actual value instead of public.
3188 * LocalDataStoreSlot.cs: Make constructor internal.
3190 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
3191 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
3194 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
3195 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
3198 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3200 * DateTime.cs: fixed buglet.
3202 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
3204 * MonoType.cs: speedup access to common data.
3206 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3208 * Double.cs: implemented TryParse.
3210 * Math.cs: PowImpl is now private.
3212 * MissingFieldException.cs: implemented Message.
3214 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
3216 * _AppDomain.cs: Uncommented ToString.
3218 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3221 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
3223 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3225 * ArgumentException.cs: use the field instead of the property for
3228 * ArgumentOutOfRangeException.cs: modified Message.
3231 (_DoParse): throw out of range exception for year. Removed check
3232 for month (it's done in the constructor).
3234 2002-08-21 Miguel de Icaza <miguel@ximian.com>
3236 * Environment.cs: Implemented OSVersion property.
3238 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
3240 * Exception.cs: set stack_trace to null
3242 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
3244 * AppDomain.cs: implemented ToString().
3246 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3248 * AppDomain.cs: securityInfo can be null in CreateDomain.
3250 2002-08-19 Dick Porter <dick@ximian.com>
3252 * MonoType.cs: Add a space before the Assembly name in
3253 AssemblyQualifiedName (needed for resource files so the MS runtime
3256 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3258 * AppDomain.cs: parameter name when throwing ArgumentNullException.
3260 * ArgumentException.cs: modified Message to do what MS does.
3262 * ArgumentNullException.cs: don't use {0} in message.
3264 * Exception.cs: use Message property in ToString ().
3266 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
3268 * WeakReference.cs: Changed the constructor and GetObjectData
3269 method needed for ISerializable implementation in order to be
3270 compatible with SOAP generated by MS.
3272 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
3274 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
3276 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
3278 * Exception.cs (ToString): changed the ouput format.
3280 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
3282 * MonoType.cs: moved get_method icall to this class, we can
3283 remove it as soon someone provides a full featured GetMethodImpl.
3285 * Type.cs: use GetMethodImpl everywhere.
3287 * Delegate.cs: new CreateDelegate implementations.
3289 2002-08-06 Tim Coleman <tim@timcoleman.com>
3291 Fix bug #28582. Now checks parameters for properties
3294 2002-08-04 Nick Drochak <ndrochak@gol.com>
3296 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
3298 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3301 (FormatSpecifier): allow white space between the comman and the width
3304 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3309 * UInt64.cs: fixed bug #28050. May be a MS bug?
3311 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
3313 * MonoType.cs: fix IsArrayImpl.
3315 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3317 * String.cs: make ToLower (culture) and ToUpper (culture) use the
3318 default ToLower and ToUpper and don't throw NotImplemented.
3320 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
3322 * Type.cs: make GettTypeCode an icall. Test implementation of
3325 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3327 * AppDomainSetup.cs: implemented LoaderOptimization.
3329 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3331 * Activator.cs: some more intermediate results checking in
3332 in CreateInstance and CreateInstanceFrom and use GetConstructor and
3333 Invoke only with Type [] until the other overloaded versions work.
3335 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3337 * Activator.cs: reformatted. Implemented CreateInstance* methods
3338 that return ObjectHandle.
3340 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
3342 2002-07-03 Nick Drochak <ndrochak@gol.com>
3344 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
3345 the divisor is not) and avoid the icall, which seems to have a bug.
3347 2002-07-03 Nick Drochak <ndrochak@gol.com>
3349 * Double.cs (CompareTo): Correctly handle the case where the instance
3350 is NaN. Also return 0 if the values are equal.
3352 2002/07/03 Nick Drochak <ndrochak@gol.com>
3354 * MissingMethodException: Add missing Message property
3355 * MissingMemberException: Add missing Message property
3357 2002-06-30 Nick Drochak <ndrochak@gol.com>
3359 * Double.cs (CompareTo): Just see which is bigger. Don't use the
3360 subtraction trick, it doesn't work when the values have a diference of
3363 * Single.cs (CompareTo): same
3365 2002-06-27 Martin Baulig <martin@gnome.org>
3367 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
3368 constructor argument. [FIXME: The implicit conversion to an
3369 unsigned integer doesn't work with mcs.]
3371 2002-06-26 Martin Baulig <martin@gnome.org>
3373 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
3374 not `S = System'. This file now compiles with mcs.
3376 * String.cs: Removed the already ifdef-outed __arglist Concat function
3377 to make it compile with mcs.
3379 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3381 * IntegerFormatter.cs:
3382 (FormatParse.FormatNumber): fixed custom format for negative numbers.
3384 2002-06-21 Martin Baulig <martin@gnome.org>
3386 * Double.cs: Replace the private `enum State' with constants since this
3387 will avoid some bigger headaches in mcs.
3389 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
3391 * TimeSpan.cs: do not pollute the namespace with the
3394 2002-06-18 Nick Drochak <ndrochak@gol.com>
3396 * ArgumentException.cs: Use the message given in the constructor when
3397 accessing the Message property. Thanks to Dietmar for the help with
3400 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
3402 * MonoType.cs: GetField is now a InternalCall
3404 2002-06-13 Nick Drochak <ndrochak@gol.com>
3406 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
3407 sortable format(s), e.g. "2002-02-25"
3409 2002/06/12 Nick Drochak <ndrochak@gol.com>
3411 * Random.cs (Next): Fix math error. Return a number within the range.
3413 2002-06-12 Nick Drochak <ndrochak@gol.com>
3415 * String.cs (IndexOf): Return -1 if start index is equal to string
3418 2002-06-10 Duncan Mak <duncan@ximian.com>
3420 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
3421 (ToType): Added null field in conversionTable to avoid
3422 IndexOutOfRangeException. Changed what exceptions we throw to match
3425 2002-06-11 Nick Drochak <ndrochak@gol.com>
3427 * Int64.cs (Parse): Added unique strings to the messages where we throw
3428 a FormatException. Needed these to debug, so just left them in since
3429 they might be useful later. Fixed Currency parsing where we weren't
3430 looking at CurrencyDecimalSeparator, etc.
3432 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
3434 * DateTime.cs: fixes to pass tests M0 to M6:
3435 if yy pattern then year values >= 30 are in 20th century
3436 rfc1123 pattern is always in GMT, therefor useutc must be false
3437 made GetNow() internal static so it can be called from TimeZone.
3438 * TimeZone.cs: removed dependency on year 2002 from initialization of
3441 2002-06-09 Duncan Mak <duncan@ximian.com>
3443 * Convert.cs (ToType): Rearranged what Exceptions we throw to
3446 2002-06-08 Duncan Mak <duncan@ximian.com>
3448 * Decimal.cs: Added support for the IConvertible interface.
3450 2002-06-08 Martin Baulig <martin@gnome.org>
3452 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
3453 doesn't necessarily need to be of the enum's underlying type.
3455 2002/06/07 Nick Drochak <ndrochak@gol.com>
3457 * String.cs: Add [Serializable] to class
3458 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
3460 2002-06-04 Nick Drochak <ndrochak@gol.com>
3462 * Double.cs (Parse): Recognize the group separator string, but still we
3463 don't check the format for the proper number of digits between
3464 separators. Also throw OverflowException when we get Pos or Neg
3465 Infinity from runtime.
3467 2002-06-03 Duncan Mak <duncan@ximian.com>
3469 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
3471 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
3473 * Type.cs: fixed GetTypeCode.
3475 2002-06-02 Duncan Mak <duncan@ximian.com>
3477 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
3478 cast from an int so that we throw OverFlowException correctly.
3480 (ToInt64): Use a new 64bit version of ConvertToBase.
3482 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
3483 and Int32.MaxValue).
3485 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
3487 2002-06-02 Nick Drochak <ndrochak@gol.com>
3489 * Convert.cs (ToSByte): Check for special value.
3490 * Single.cs (Parse):
3491 * UInt16.cs (Parse):
3492 * UInt32.cs (Parse): Throw OverflowException if negative
3494 2002-06-02 Duncan Mak <duncan@ximian.com>
3496 * Convert.cs (DBNull): Point it to DBNull.Value.
3497 (IsDBNull): Instead of checking typecodes, just check to see if
3498 it's the same as the DBNull field.
3500 2002-06-02 Nick Drochak <ndrochak@gol.com>
3502 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
3504 2002-06-02 Duncan Mak <duncan@ximian.com>
3506 * Char.cs (Parse): Simplify the Exception handling.
3508 * Convert.cs (ToDecimal): Remove call to Math.Round () when
3509 converting from a float.
3511 2002-05-30 Martin Baulig <martin@gnome.org>
3513 * MonoType.cs (GetInterface): Implemented.
3515 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
3517 * Activator.cs: implemented CreateInstance ().
3519 2002-05-22 Duncan Mak <duncan@ximian.com>
3521 * Convert.cs (ConvertToBase): Added new 64bit version.
3522 (BuildConvertedString64): New 64bit version of
3523 BuildConvertedString.
3525 This fixes bug 25068.
3527 (ConvertFromBase): Added additional test for checking if the
3528 digits are valid. Thanks to Miguel for coming up with this test.
3530 This fixes bug 25071.
3532 2002-05-21 Duncan Mak <duncan@ximian.com>
3534 * Convert.cs (ToType): Rearranged to fit the new layout of
3537 (conversionTable): Rearranged to fit the layout of the
3538 System.TypeCode enum.
3540 This should fix bug 25075.
3542 2002-05-21 Duncan Mak <duncan@ximian.com>
3544 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
3545 mixed up the two code paths, one for converting to a specific base
3546 (this case), another from converting from a foreign base to base10
3547 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
3549 * Convert.cs (ToByte)
3550 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
3551 that we won't confuse FormatException with OverflowException.
3553 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
3555 * Environment.cs: CommandLine missed spaces between arguments.
3556 Implemented StackTrace. Returning MachineName in UserDomainName
3559 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
3561 * MonoCustomAttrs.cs: handle inherit argument.
3563 2002-05-21 Nick Drochak <ndrochak@gol.com>
3565 * Math.cs (Pow): Change icall method name and insert parameter
3566 checks in for infinities and NaN.
3568 2002-05-13 Miguel de Icaza <miguel@ximian.com>
3570 * Double.cs (Parse): Reimplement by cleaning up the string first,
3571 and then passing to strtof in the mono runtime.
3573 * Single.cs (Parse): Use the Double implementation and cast to
3576 2002-05-21 Nick Drochak <ndrochak@gol.com>
3579 (Ceiling): Check for "special" values
3580 (Floor): Check for "special" values
3581 (Round): Fix off-by-one error on decimal shifting
3583 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
3585 * DateTime.cs: ToString () using "G" format specifier
3587 2002-05-19 Martin Baulig <martin@gnome.org>
3589 * Convert.cs (FromBase64CharArray): Do correct exception handling.
3591 2002-05-19 Martin Baulig <martin@gnome.org>
3593 * Convert.cs (FromBase64CharArray): Convert the char array using
3594 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
3597 2002-05-17 Miguel de Icaza <miguel@ximian.com>
3599 * MonoType.cs: Style changes.
3601 * Type.cs: Style changes.
3603 2002-05-16 Piers Haken <piersh@friksit.com
3605 * UInt64.cs: fix declaration of IConvertible.To* overrides.
3607 2002-05-16 Nick Drochak <ndrochak@gol.com>
3609 * BitConverter.cs (ToString): Add parameter check for invalid start
3612 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
3613 now that StreamWriter uses buffering
3615 2002-05-14 Miguel de Icaza <miguel@ximian.com>
3617 * Double.cs: Oops. Also handle exponents without finding a dot.
3619 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3621 * ChangeLog: removed empty entry at the top of the file.
3623 * Int32.cs: made static functions used by Parse internal.
3627 * UInt64.cs: removed static fucntions used by Parse and use the ones
3630 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
3632 * IServiceProvider.cs: added using System
3634 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
3636 * Single.cs: copied ToString() and Parse() methods from
3637 Double to Single and modified a tiny bit for Single.
3638 There is still a FIXME for Double and Single about
3639 passing the format and provider info to the icall too.
3641 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3646 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
3647 Don't use a delegate to test for valid digits.
3649 2002-05-01 Duncan Mak <duncan@ximian.com>
3652 * Math.cs: Added missing CLSCompliant attributes where necessary.
3654 2002-04-30 Duncan Mak <duncan@ximian.com>
3656 * ArgumentException.cs (Message):
3657 * ArgumentOutOfRangeException.cs (Message): Added.
3659 2002-04-30 Nick Drochak <ndrochak@gol.com>
3661 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
3663 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
3665 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
3667 2002-04-28 Duncan Mak <duncan@ximian.com>
3669 * DivideByZeroException.cs: Added missing serialization constructor.
3671 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
3673 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3675 * Math.cs: fix Floor () and Round (). Closes #23960.
3677 2002-04-27 Nick Drochak <ndrochak@gol.com>
3679 * Array.cs (IList.Contains): Should throw a RankException if this is
3680 called on a Rank > 1 array. Not in the docs, but this is what the
3683 2002-04-26 Duncan Mak <duncan@ximian.com>
3685 * MissingMemberException.cs: Made the message variable 'protected'
3686 instead of 'private', so that we can see it in
3687 MissingMethodException and MissingFieldException.
3689 * MissingFieldException.cs:
3690 * MissingMethodException.cs: Added missing (string, string)
3691 constructor, and also the Message property.
3693 2002-04-26 Martin Baulig <martin@gnome.org>
3695 * Enum.cs: Implemented the IConvertible methods.
3697 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3699 * SByte.cs: little change in Parse (string) to avoid incorrect
3700 OverflowException thrown (reported by nickd).
3702 2002-04-22 Miguel de Icaza <miguel@ximian.com>
3704 * ValueType.cs: Add Serializable attribute.
3706 * String.cs: ifdef-out out the __arglist Concat function until I
3707 add support for that to mcs.
3709 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
3711 * AppDomain.cs (GetValue): usage of the correct icall (bug)
3713 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
3715 * GC.cs: implement most of the methods as icalls.
3717 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3719 * DecimalFormatter.cs (ToString): return correct value when the
3720 decimal number is 0.
3722 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
3724 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
3725 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
3727 2002-04-24 Nick Drochak <ndrochak@gol.com>
3729 * Double.cs (Parse): Handle case where there are no digits before the
3730 decimal point, such as ".1".
3732 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3737 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
3739 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
3741 * String.cs (Split): fixed invalid split of count 0 and 1.
3743 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
3745 * String.cs (LastIndexOf): fixed argument checking.
3746 * String.cs (Equals): made internal for performace.
3748 2002-04-23 Nick Drochak <ndrochak@gol.com>
3750 * String.cs (Join): check argument and throw exception if needed
3752 2002-04-23 Nick Drochak <ndrochak@gol.com>
3754 * String.cs (StartsWith): check argument and throw exception if needed
3756 2002-04-22 Nick Drochak <ndrochak@gol.com>
3758 * String.cs (IndexOfAny): check arguments and throw exceptions as
3759 neccessary. ALso remove some debug WriteLines.
3761 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
3763 * String.cs: use internal constructors
3766 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
3768 * MonoType.cs: make GetElementType its own icall.
3770 2002-04-18 Nick Drochak <ndrochak@gol.com>
3772 * String.cs: Modified file. Re-add methods needed by the unit tests.
3774 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
3776 * String.cs: some code speedups and restored GetTypeCode().
3778 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
3780 * String.cs: New implementation using internal calls.
3782 2002-04-16 Nick Drochak <ndrochak@gol.com>
3784 * DecimalFormatter.cs: Trim off excess null characters from the string
3785 that decimal2string gives back.
3787 2002-04-16 Nick Drochak <ndrochak@gol.com>
3789 * String.cs (SubString): revert my change. I can't reproduce the
3792 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3794 * Attribute.cs: added GetHashCode and Equals.
3796 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3798 * Enum.cs: little improvements to Format ().
3800 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
3802 * String.cs: internalcall GetHashCode().
3803 * Array.cS: optimize access to elements.
3805 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
3807 * String.cs: make IndexOfAny() use an internalcall.
3809 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3814 * UInt64.cs: fixed error when testing for validity of flags.
3816 2002-04-11 Nick Drochak <ndrochak@gol.com>
3818 * Double.cs: Use an internal call for ToString(). This is just a simple
3819 implementation to get away from throwing a NotImplementedException.
3821 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3826 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
3830 * Int64.cs: throw an OverFlowException when parsing a string
3831 containing a dot followed by any non '0' number.
3833 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3838 * UInt64.cs: added complex Parse ().
3840 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3845 * Int64.cs: added complex Parse ().
3847 2002-04-09 Nick Drochak <ndrochak@gol.com>
3849 * Array.cs (BinarySearch): Add checks on paramters before using them
3850 and throw exceptions as needed.
3852 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
3853 "G" format to "F" if so.
3855 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
3857 * MonoCustomAttrs.cs: return arrays of type Attribute[]
3858 instead of object[].
3860 2002/04/09 Nick Drochak <ndrochak@gol.com>
3862 * String.cs (Substring): Copy only non-null characters to the new
3865 2002-04-09 Nick Drochak <ndrochak@gol.com>
3867 * IntegerFormatter.cs: Don't use a format character to indicate a
3868 custom format was passed in. It was using 'z' to indicate a custom
3869 format, but really it should throw a format exception if the user
3870 tries to use "z" as the format string. Now it does.
3872 * Activator.cs: New File.
3874 2002-04-08 Nick Drochak <ndrochak@gol.com>
3876 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
3877 applied to an enum. Need to handle the different possible integer
3878 types of an enum somehow. Can anyone say generics?
3880 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
3882 * Convert.cs: switched the To*(object) methods to use
3883 IConvertible directly instead of calling ChangeType
3885 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
3887 * ValueType.cs: make Equals() an internalcall.
3889 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
3891 * Type.cs: also look for nested types in FindMembers.
3892 * MonoType.cs: make GetNestedTypes() an internalcall.
3894 2002-04-05 Nick Drochak <ndrochak@gol.com>
3896 * Enum.cs (Parse): Handle different underlying types.
3898 2002/04/04 Nick Drochak <ndrochak@gol.com>
3900 * Enum.cs (IsDefined): Throw exception when type of value to look for
3901 is not the correct one. Attempt to have it work with string values
3902 too, but not sure if the unit tests are getting that far yet.
3904 2002-04-04 Nick Drochak <ndrochak@gol.com>
3906 * Decimal.cs: Fix a couple of typos.
3908 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
3910 * Enum.cs: the values array is of the enum and not of the underlying
3911 type. Updates and some bug fixes.
3912 * MonoType.cs: make the internalcall return FullName instead of the
3913 assembly qualified name.
3914 * Type.cs: make ToString () simply return FullName.
3916 2002-04-03 Nick Drochak <ndrochak@gol.com>
3918 * Type.cs (GetTypeCode): provide some of the implementation for this
3919 method. It's still too simplistic to be considered complete.
3921 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
3923 * Object.cs: fixed FieldGetter/FieldSetter signature
3925 2002-04-02 Nick Drochak <ndrochak@gol.com>
3927 * Environment.cs: add MonoTODO's on parts that should have it.
3929 2002-04-01 Nick Drochak <ndrochak@gol.com>
3931 * Enum.cs: added reality checks (check parameters to most methods that
3934 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
3936 * Object.cs: added FieldGetter/FieldSetter
3938 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3940 * IntegerFormatter.cs: fixed initialization error in static
3943 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
3945 * Delegate.cs: added new field to store a trampoline function
3947 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3949 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
3950 make custom format strings work (not fully functional yet).
3952 2002/03/28 Nick Drochak <ndrochak@gol.com>
3954 * IntegerFormatter.cs: Change class from internal to public. Add
3955 necessary [CLSCompliant(false)] attributes.
3957 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
3958 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
3961 2002-03-28 Nick Drochak <ndrochak@gol.com>
3963 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
3965 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
3967 * Console.cs: Modified to get std handles from MonoIO.
3968 * Environment.cs: removed PAL dependencies.
3970 2002-03-25 Miguel de Icaza <miguel@ximian.com>
3972 * String.cs (System): Removed internal enumeration, because
3973 bootstrapping the corlib at this point does not support
3976 * IntPtr.cs: Temporary work-around until I fix the assembly
3979 2002-03-24 Martin Baulig <martin@gnome.org>
3981 * Enum.cs (GetValues): According to the docu this is sorted after
3984 * String.cs (System): Removed enumeration, because it is pretty
3985 hard to support enumerations in /nostdlib mode for the core types.
3987 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
3989 * Array.cs: move error handling in the catch block.
3990 * MulticastDelegate.cs: remove == and != operators that were
3991 removed with the delegate changes (when you add stuff, please do not
3992 remove existing functionality!).
3993 * Type.cs: if a property is not found in a type, search for it
3994 in the parent types, too.
3996 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
3998 * Math.cs: changed to use icall instead of PAL.
4000 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
4002 * Double.cs: added check for NaN (Bug [22082])
4004 2002-03-19 Nick Drochak <ndrochak@gol.com>
4006 * Enum.cs (Equals): check for null and throw if it is.
4007 * Enum.cs (Format): check for null parameters and throw if necessary.
4008 This method still needs more argument checking.
4010 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
4012 * Enum.cs (Equals): check if Enums are of the same type
4014 2002-03-18 Nick Drochak <ndrochak@gol.com>
4016 * Double.cs: Explicitly handle comparisons in CompareTo() for
4017 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
4019 * Enum.cs(CompareTo): Check types of values before trying to compare.
4020 Throw exceptions if types are invalid or don't match.
4022 2002-03-14 Miguel de Icaza <miguel@ximian.com>
4024 * Array.cs: Add some extra debugging information.
4026 2002-03-15 Nick Drochak <ndrochak@gol.com>
4028 * Array.cs: Added IList and IEnumerable.
4030 2002-03-14 Miguel de Icaza <miguel@ximian.com>
4032 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
4035 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
4037 * Delegate.cs (Equals): also compare method_ptr
4038 (GetHashCode): returm method_ptr as hash
4040 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
4041 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
4042 such as 42.ToString("0000000"), as these are (currently) not implemented
4043 in System.IntegerFormatter. TimeSpan luckely can do with Standard
4044 Numeric Format Strings, such as 42.ToString("D7").
4046 2002-03-12 Duncan Mak <duncan@ximian.com>
4048 * FieldAccessException.cs:
4049 * MethodAccessException.cs:
4050 * PlatformNotSupportedException.cs: Inherit from
4051 MemberAccessException, not SystemException.
4053 * ObsoleteAttribute.cs: Made Message and IsError properties
4056 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
4058 * GC.cs: make SuppressFinalize() a nop.
4059 * Delegate.cs: fix == operator.
4061 2002-03-13 Nick Drochak <ndrochak@gol.com>
4063 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
4064 runtime that goes with this patch.
4066 2002-03-10 Martin Baulig <martin@gnome.org>
4068 * Int32.cs (Parse): Correctly parse negative numbers.
4070 2002-03-08 Martin Baulig <martin@gnome.org>
4072 * String.cs (Split): Really fix it this time. Also adding several new
4073 testcase to the testsuite.
4075 2002-03-08 Martin Baulig <martin@gnome.org>
4077 * Array.cs (Copy): Optimized: removed duplicate null check, removed
4078 two duplicate GetLowerBound() calls and one duplicate IsValueType.
4080 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
4082 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
4083 * String.cs: use the dumb code for IndexOf(string): this is worth
4084 15-20 % speedup in mcs compile with mint.
4086 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
4088 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
4090 2002-03-07 Martin Baulig <martin@gnome.org>
4092 * String.cs (Join): Throw an ArgumentNullException.
4093 (LastIndexOf (string,int,int)): This method does a backwards search,
4094 so startIndex points to the end of value, not to its beginning. Don't
4095 throw an exception if startIndex equals this.Length. Always return -1
4096 if startIndex is smaller than the length of value.
4097 (Replace (string,string)): Replace all occurences of oldValue.
4098 If newValue is null, all occurences of oldValue are to be removed.
4099 (Split (char[],int)): Return an empty array if maxCount is zero, throw
4100 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
4101 elements, not maxValue+1.
4103 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
4105 * MonoType.cs: make GetEvents() an internal call.
4106 * MulticastDelegate.cs: copy the passed in array.
4108 2002-03-06 Martin Baulig <martin@gnome.org>
4110 * Array.cs (Copy): Use FastCopy when appropriate and do correct
4113 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
4114 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
4115 some of the failures found be new tests (see ChangeLog in
4116 Test/System). Comments added to this method, based on
4117 the representation invariant of this class, that (try to) explain
4118 why it now should be correct.
4120 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
4122 * Int64.cs (Parse): bug fix for max. negative value.
4124 2002-03-07 Nick Drochak <ndrochak@gol.com>
4126 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
4127 I need to understand what the difference between the attribute and
4130 2002-03-06 Martin Baulig <martin@gnome.org>
4132 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
4133 an InvalidCastException if the widening conversion failed. See
4134 testcases #M94-#M96.
4136 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
4137 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
4140 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
4141 (Copy): Actually allow copying multi-dimensional arrays.
4143 2002-03-05 Duncan Mak <duncan@ximian.com>
4146 (DBNull) Added the missing field.
4147 (IsDBNull) Fixed typo.
4148 (ToByte (string, int)) Implemented.
4149 (ToString (byte, int)) Implemented.
4151 (BuildConvertedString) internal functions used for converting values to
4159 * UInt32.cs: Implemented the IConvertible interface.
4161 * CharEnumerator.cs: Renamed to variables to be clearer and
4162 changed some of the tests to conform to the 1.0 spec.
4164 2002-03-06 Martin Baulig <martin@gnome.org>
4166 * Array.cs (Copy): Calculate absolute array position here and use
4167 GetValueImpl() and SetValueImpl() with that position. We can now
4168 copy multi-dimensional arrays.
4169 (CopyTo): Small bug fix.
4171 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
4173 * Version.cs: CompareTo changed according the LAMESPEC discovered by
4174 Nick (See VersionTest.cs).
4175 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
4176 error comparing the current position (idx) against the length of the
4177 string iterated and it set idx to an unrecognized special value (-2)
4179 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
4181 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
4182 to do this dirty work, but someone has to do it (and I need it to pass
4183 the "200 sample tests compiled on linux" mark).
4185 2002-03-06 Nick Drochak <ndrochak@gol.com>
4188 * DecimalFormatter.cs
4195 * RuntimeMethodHandle.cs
4196 * RuntimeTypeHandle.cs
4199 Add [MonoTODO]'s to places where we currently throw a
4200 NotImplementedException.
4202 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
4204 * Int16.cs (Parse): do not overflow on max negative value
4206 * Int32.cs (Parse): do not overflow on max negative value
4208 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
4210 * Type.cs: fixed IsClass.
4211 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
4212 IsByRefImpl. Added GetInterfaces().
4213 * IServiceProvider.cs: compilation fix.
4215 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
4217 * Array.cs: allow copying an empty array to an empty array.
4219 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
4221 * String.cs: fixed LastIndexOf (string) to do a bit of argument
4224 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
4225 * Version.cs: many fixes to failures found by the newly created
4226 test cases for this class. Specifically, the CompareTo member
4227 returned wrong values due to the use of Int32.MaxValue as a special
4228 value indicating an "undefined" version component. Also implemented the
4229 missing operators (==, <, >, etc.), one missing constructor and
4230 and some exception throwing.
4232 2002-03-04 Nick Drochak <ndrochak@gol.com>
4234 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
4235 * Attribute.cs: Add missing attributes: Serializable and
4236 AttributeUsage(AttributeTargets.All)
4238 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
4240 * MonoType.cs: implemented GetConstructors(), GetFields(),
4241 GetMethods(), GetProperties().
4242 * Object.cs: added debugging icall obj_address().
4243 * Type.cs: fixed the binding flags for some Get* methods.
4244 Implemented FindMembers() as calls to the specific GetMember
4247 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
4248 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
4249 should give an exception for n>=s.Length.
4251 2002-03-01 Martin Baulig <martin@gnome.org>
4253 * Array.cs: More argument checking and bug fixing.
4255 2002-03-01 Miguel de Icaza <miguel@ximian.com>
4257 * BitConverter.cs: Indentation match
4259 * AppDomain.cs: Added MonoTODOs to this too.
4261 * Buffer.cs: Added MonoTODOs to this.
4263 2002-03-01 Martin Baulig <martin@gnome.org>
4265 * Array.cs: Added argument checking to all methods where it was missing.
4267 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
4269 * BitConverter.cs: Fixed bugs in ToString methods
4271 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
4273 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
4275 2002-03-01 Nick Drochak <ndrochak@gol.com>
4277 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
4278 ArgumentOutOfRangeException like the docs say.
4280 2002-03-01 Martin Baulig <martin@gnome.org>
4282 * Enum.cs (CompareTo): Correctly override this method from IComparable.
4284 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
4286 2002-02-28 Martin Baulig <martin@gnome.org>
4288 * String.cs: This file now passes the testsuite on Linux :-)
4290 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
4291 make them private and provide C# wrappers which do proper argument checking.
4293 * String.cs (Format): Correctly handle escaped brackets.
4295 * String.cs (_CompareChar): New internal function which compares two chars.
4296 (_Compare): Provide an internal compare method which can do all sorts of
4297 comparision and call it from all the Compare() methods. Also fixed a lot of
4298 bugs here, this code now actually passes the testsuite.
4300 2002-02-28 Duncan Mak <duncan@ximian.com>
4302 * Convert.cs: Added the missing methods. The new class status page
4303 kicks ass, it even found my typos! Woohoo!
4304 (ConvertFromBase): Moved the Exception throwing in here and
4305 removed the other occurances so it's all centralized now.
4306 (ISDBNull): Implemented.
4307 (GetTypeCode): Implemented.
4309 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
4310 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
4311 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
4312 states that a lacking format should be interpreted as "N".
4313 Also added [Serializable] attribute
4314 * TimeSpan.cs: some formatting and added the [Serializable] attribute
4316 2002-02-26 Duncan Mak <duncan@ximian.com>
4318 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
4320 2002-02-26 Martin Baulig <martin@gnome.org>
4322 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
4323 fields of the interncall GetTimeZoneData.
4325 * DateTime.cs: Implemented Parse and fixed a few bugs.
4327 * String.cs (TrimStart): Small fix.
4329 2002-02-26 Martin Baulig <martin@gnome.org>
4331 * DateTime.cs: ParseExact is now fully functional.
4333 * String.cs (TrimEnd): Small fix.
4335 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
4336 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
4337 missing for about six months.
4339 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
4341 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
4343 2002-02-26 Martin Baulig <martin@gnome.org>
4345 * DateTime.cs: Miguel already committed this, but there was still a
4346 ChangeLog entry for this missing ....
4347 We're now reusing functionality from TimeSpan, printing dates is
4348 fully implemented, currently working on parsing.
4350 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
4353 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
4355 * MonoType.cs: disable constructor.
4356 * Object.cs: make GetType() an internalcall.
4357 * Type.cs: added correct bindingflags to GetMethods ().
4358 All such calls should be reviewed to use the correct flags.
4360 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
4362 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
4365 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
4367 * Type.cs: implemented IsAssignableFrom.
4369 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
4370 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
4371 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
4372 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
4373 The former is documented by Microsoft. The latter is how they
4374 actually implemented it in mscorlib:-)
4376 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
4378 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
4380 * MonoType.cs: Implemented custom attributes methods.
4383 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
4386 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
4388 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
4390 * MonoType.cs: Implemented custom attributes methods.
4392 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
4394 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
4396 2002-02-19 Duncan Mak <duncan@ximian.com>
4398 * Convert.cs: Finished up the missing methods in Convert. Added a
4399 new private method ConvertFromBase.
4401 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
4403 * String.cs: impl. IConvertible interface
4405 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
4406 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
4408 2002-02-18 Duncan Mak <duncan@ximian.com>
4410 * Convert.cs: Changed from using Type.GetType (string) to just
4411 typeof (). Probably will speed things up a bit?
4413 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
4416 1. Fix for GetUpperBound to return correct values
4417 2. made some Properties virtual
4418 3. Adds IsFixedSize and IsReadOnly properties.
4419 4. changes CreateInstance(Type,int[],int[]) to throw Exception
4420 when third arg is null. InternalCall CreateInstance changed to
4422 5. Fixed array.GetUpperBound at a couple of places
4423 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
4424 7. Added two FIXME's in BinarySearch functions.
4426 2002-02-17 Duncan Mak <duncan@ximian.com>
4428 * TimeZone.cs: Applied the rest of Ajay's patch for
4429 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
4432 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
4433 * Guid.cs: added stub for Guid(string) ctor
4435 2002-02-17 Duncan Mak <duncan@ximian.com>
4437 * Convert.cs: Near-complete implementation of Convert.cs
4439 Added all the To* methods taking (object) and
4440 (object, IFormatProvider) as parameters.
4442 Added [CLSCompliant (false)] attributes to methods dealing with
4445 Added the missing section on converting to and from DateTime. Only
4446 6 missing methods, all marked with MonoTODOs. Will tackle them later.
4448 2002-02-16 Duncan Mak <duncan@ximian.com>
4450 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
4451 make IsDaylightSavingTime (DateTime) call
4452 IsDaylightSavingTime (DateTime, DaylightTime).
4454 Added internal class CurrentTimeZone from Ajay. It needs more work
4455 to fill in the appropriate internal calls.
4457 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
4459 * Type.cs: fix IsClass.
4461 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
4463 * String.cs: fix Trim().
4465 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
4467 * String.cs: fix more off by one errors.
4469 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
4471 * MonoType.cs: fix IsValueTypeImpl.
4472 * Type.cs: fix IsEnum. Implement Equals methods.
4474 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
4476 * Int32.cs: implement IConvertible interface.
4478 2002-02-12 Duncan Mak <duncan@ximian.com>
4480 * TimeZone.cs: Implemented and added to CVS.
4482 2002-02-11 Duncan Mak <duncan@ximian.com>
4484 * Convert.cs: Implemented the ChangeType () methods.
4486 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
4488 * Array.cs: make Clone() an internal call.
4490 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
4491 * Changed Guid.NewGuid so that it can use both System.Random and
4492 System.Security.Cryptography.RandomNumberGenerator
4494 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
4495 * First version of Guid.NewGuid
4497 2002-02-08 Duncan Mak <duncan@ximian.com>
4499 * RuntimeArgumentHandle.cs: Added to CVS.
4501 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
4503 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
4504 UnhandledExceptionEventHandler.cs: added delegates.
4506 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
4508 * MarshalByRefObject.cs: add ToString () method
4509 (apparently needed by nunit).
4510 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
4511 by it in the runtime.
4513 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
4515 * String.cs (Format): implemented
4517 2002-02-07 Duncan Mak <duncan@ximian.com>
4519 * DuplicateWaitObjectException:
4520 * InvalidCastException:
4521 * NotImplementedException:
4522 * NotSupportedException:
4523 * NullReferenceException:
4524 * OutOfMemoryException:
4525 * OverflowException:
4527 * StackOverflowException.cs:
4528 * UnauthorizedAccessException: Added missing constructor used for serialization.
4530 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
4532 * String.cs (System.Compare): bug fix
4534 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
4536 * Enum.cs (Parse, GetHashCode): impl.
4538 2002-02-05 Duncan Mak <duncan@ximian.com>
4540 * DBNull.cs: This is my first crack at the DBNull class. I think I
4541 actually got most of the IConvertible methods right, but I haven't
4542 done the research to test whether or not this is the correct
4543 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
4545 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
4547 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
4549 * Enum.cs: added more functionality (GetName, ToObject, Equals)
4551 2002-01-31 Duncan Mak <duncan@ximian.com>
4553 * InvalidOperationException.cs:
4554 * NotFiniteNumberException.cs:
4555 * ObjectDisposedException.cs:
4556 * TypeInitializationException.cs: Added missing bits for serialization/
4558 * AppDomainUnloadedException.cs:
4559 * ApplicationException.cs:
4560 * ArgumentOutOfRangeException.cs:
4561 * ArithmeticException.cs:
4562 * ArrayTypeMismatchException:
4563 * BadImageFormatException.cs:
4565 * MissingMemberException.cs:
4566 * TypeLoadException.cs: Added missing bits for serialization.
4568 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
4569 * Guid.cs: implemented everything but Guid.NewGuid
4571 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
4573 * _AppDomain.cs: remove ToString() method: it doesn't seem right
4574 to have it in this interface and it screws up the method vtable setup.
4576 2002-01-28 Andrei Zmievski <andrei@php.net>
4578 * Double.cs: implemented IConvertible interface.
4580 2002-01-28 Miguel de Icaza <miguel@ximian.com>
4582 * ArgumentException.cs: Implement serialization constructor.
4583 (GetObjectData): Implement serializer.
4585 * ArgumentNullException.cs: Implement serialization constructor.
4587 * Exception.cs: Implement serialization constructor.
4588 (GetObjectData): Implement serializer.
4590 2002-01-23 Miguel de Icaza <miguel@ximian.com>
4592 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
4594 2002-01-23 Duncan Mak <duncan@ximian.com>
4596 * EntryPointNotFoundException.cs:
4597 * FormatException: Added missing constructor and related bits.
4599 * TypeLoadException: Added missing constructor, methods and properties.
4601 2002-01-23 Miguel de Icaza <miguel@ximian.com>
4603 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
4604 manually getting the enumerator.
4606 (AppDomain.AppDomain): Prime the loaded assemblies with the
4607 assemblies loaded by the runtime in our behalf.
4609 * AppDomainSetup.cs: Remove private keyword, that is the default.
4610 Add a new property DisallowPublisherPolicy.
4612 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
4614 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
4616 * MonoType.cs, Type.cs: many updates, corrected implementation,
4619 2002-01-20 Andrei Zmievski <andrei@php.net>
4622 * Char.cs: implemented IConvertible interface.
4624 * Boolean.cs: use our own ToString() method directly.
4626 2002-01-20 Duncan Mak <duncan@ximian.com>
4628 * Files I commited recently: Fixed indentation style.
4630 2002-01-20 Nick Drochak <ndrochak@gol.com>
4632 * SerializableAttribute.cs: this attrib can be used on enums, structs,
4633 and delegates too. Added the appropriate usage flags.
4635 2002-01-18 Duncan Mak <duncan@ximian.com>
4637 * CharEnumerator.cs: Implemented.
4638 * String.cs (System): Fixed the GetEnumerator () method(s).
4640 * ObsoleteAttribute.cs:
4641 * STAThreadAttribute.cs:
4642 * MTAThreadAttribute.cs:
4643 * ThreadStaticAttribute.cs:
4644 * LoaderOptimizationAttribute.cs:
4645 * PlatformNotSupportedException.cs:
4646 * LoaderOptimization.cs: Added to CVS.
4648 2002-01-18 Duncan Mak <duncan@ximian.com>
4650 * AppDomainUnloadedException.cs:
4651 * MethodAccessException.cs:
4652 * ContextMarshalException.cs:
4653 * CannotUnloadAppDomainException.cs:
4654 * DllNotFoundException.cs:
4655 * EntryPointNotFoundException.cs:
4656 * FieldAccessException.cs:
4657 * TypeUnloadedException.cs:
4658 * MissingFieldException.cs: Added to CVS.
4660 * ApplicationException.cs:
4661 * MemberAccessException.cs:
4662 * MissingMemberException.cs
4663 * MissingMethodException.cs:
4664 * SystemException.cs: Added [Serializable] attribute.
4666 * Exception.cs: Added [Serializable] attribute, made properties
4667 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
4670 * ContextStaticAttribute.cs: Added [Serializable] attribute and
4671 put in the missing constructor.
4673 * Environment.cs: Commented out references to
4674 EnvironmentPermissionAttribute, because they're just stubbed out
4675 right now and has no implementation.
4677 2002-01-16 Andrei Zmievski <andrei@php.net>
4679 * Boolean.cs: implemented IConvertible interface
4681 2002-01-15 Nick Drochak <ndrochak@gol.com>
4683 * ResolveEventArgs.cs: class should derive from EventArgs.
4685 2002-01-14 Miguel de Icaza <miguel@ximian.com>
4687 * String.cs (System): Use DefaultMemberName for the String class.
4689 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
4691 * String.cs: use IndexerName in index char accessor.
4693 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
4695 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
4696 * String.c: eliminate 64k+ method calls in search.
4697 * Type.cs: handle byref and array types in ToString ().
4699 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
4701 * Guid.cs: created first version
4703 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
4705 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
4707 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
4709 * MulticastDelegate.cs: add == and != operator stubs.
4710 * String.cs: check for null in == operator.
4711 * Type.cs: use a virtual method to get TypeAttributes.
4713 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
4714 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
4716 2002-01-09 Nick Drochak <ndrochak@gol.com>
4718 * Environment.cs: Comment out Security attribute and put a MonoTODO
4719 there as a reminder. We need mcs magic to handle security attributes in
4722 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
4723 * Created IAppDomainSetup.cs
4725 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
4726 * Created System._AppDomain interface in _AppDomain.cs
4728 2002-01-06 Nick Drochak <ndrochak@gol.com>
4730 * ResolveEventArgs.cs: New File, completely implemented! ;)
4732 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
4734 * Enum.cs: dummy ToString impl.
4735 * String.cs: dummy format implementations to get compiler errors
4737 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
4739 2002-01-05 Ravi Pratap <ravi@ximian.com>
4741 * TODOAttribute.cs : Augment some more; provide two constructors
4742 with support for a comment too.
4744 2002-01-05 Nick Drochak <ndrochak@gol.com>
4746 * Uncommented those MonoTODO's now that Ravi's got
4749 2001-01-04 Ravi Pratap <ravi@ximian.com>
4751 * TODOAttribute.cs : Actually add this time ;-)
4753 Change name to MonoTODO.
4755 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
4757 * String.cs (Trim): Fixed a few logic bugs in the code that
4758 calculated how much to trim off the end of the string.
4760 2001-01-04 Nick Drochak <ndrochak@gol.com>
4762 * Commented out the [TODO] attributes for now. We don't have the
4763 class written. Also changed it to [MonoTODO]
4765 2002-01-04 Ravi Pratap <ravi@ximian.com>
4767 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
4768 our class libraries that are incomplete.
4770 * Array.cs : Apply attribute wherever we find a FIXME which says
4771 we need something to be implemented there.
4775 * MulticastDelegate.cs : Ditto.
4777 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
4778 RuntimeTypeHandle.cs : Ditto.
4780 * String.cs : Ditto.
4784 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
4786 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
4787 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
4789 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
4790 Delegate.cs : Ditto.
4792 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
4793 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
4795 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
4797 * Delegate.cs: add Remove() stub.
4798 * Enum.cs: add ToObject().
4799 * Type.cs: add IsEnum property.
4801 2002-01-03 Kristian Rietveld <kris@gtk.org>
4803 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
4804 DateTime and object.
4806 2001-12-30 Nick Drochak <ndrochak@gol.com>
4808 * Byte.cs (Parse): Add comments to aid in testing.
4810 2001-12-21 Miguel de Icaza <miguel@ximian.com>
4812 * Char.cs (Parse): Implement.
4814 * Byte.cs (Parse): Implement a fast parser.
4816 * SByte.cs (Parse): Implement a fast parser.
4818 * UInt16.cs (Parse): Implement a fast parser.
4820 * Int16.cs (Parse): Implement a fast parser.
4822 * UInt32.cs (Parse): Implement a fast parser.
4824 * Int32.cs (Parse): Implement a fast parser.
4826 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
4828 * Array.cs: fix null ref in sort code.
4829 * UInt64.cs: add bare-bones parse.
4831 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
4833 * Byte.cs: removed use of Regexes.
4835 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
4837 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
4838 IsDefined(), GetUnderlyingType().
4839 * String.cs: fix one instance of Compare().
4840 * Type.cs: implemented GetProperties(), GetProperty().
4842 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
4844 * Array.cs: implement CopyTo ().
4845 * Char.cs: implement ToString ().
4846 * Exception.cs: bugfix.
4847 * Int32.cs: bare-bones Parse ().
4848 * MonoType.cs: query the needed info with an internalcall.
4849 * String.cs: speedups, bugfixes, reduced copies.
4850 * Type.cs: added missing fields. Implemented many of the Is*
4851 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
4852 GetFields(), FindMembers(), ToString().
4854 2001-12-11 Dick Porter <dick@ximian.com>
4856 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
4858 * Console.cs: Use handles rather than casting file descriptors
4860 2001-12-08 Nick Drochak <ndrochak@gol.com>
4862 * Byte.cs (Parse): Start implementation. Parse(string) works, but
4863 now we need to handle other formats
4865 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
4867 * DateTime.cs: added an icall to GetNow()
4869 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
4871 * Double.cs: added the parse method from Bob Smith
4873 2001-11-28 Miguel de Icaza <miguel@ximian.com>
4879 * Int32.cs (Int32.CompareTo): Fix because we can not just
4880 substract the values.
4882 Return possitive value if the object is null.
4884 * Boolean.cs: (Boolean.CompareTo): ditto.
4886 * Int16.cs (Int16.CompareTo): ditto.
4888 * Byte.cs (Byte.CompareTo): ditto.
4890 * SByte.cs (SByte.CompareTo): ditto.
4892 * Char.cs (Char.CompareTo): ditto.
4894 * Decimal.cs (Decimal.CompareTo): ditto.
4896 * Int64.cs (Int64.CompareTo): ditto.
4902 2001-11-28 Nick Drochak <ndrochak@gol.com>
4904 * Byte.cs: Throw NotImplementedException for Parse.
4906 2001-11-27 Derek Holden <dholden@draper.com>
4908 * IntegerFormatter.cs: Formatting of type "Number" was not
4909 using NumberFormatInfo.NumberNegativePattern.
4911 2001-11-26 Dick Porter <dick@ximian.com>
4913 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
4914 the finalise routine any more
4916 2001-11-21 Miguel de Icaza <miguel@ximian.com>
4918 * ApplicationException.cs: internationalize by adding calls to
4919 Locale.GetText (). And throw NotImplementedExceptions on calls
4920 that we have to implement.
4922 * Version.cs: Ditto.
4924 * ValueType.cs: ditto.
4926 * UnauthorizedAccessException.cs: ditto.
4934 * TypeLoadException.cs: ditto
4936 * TypeInitializationException.cs: ditto.
4940 * TimeSpan.cs: ditto.
4942 * SystemException.cs: ditto.
4946 * StackOverflowException.cs: ditto.x
4952 * RuntimeTypeHandle.cs: ditto.
4954 * RuntimeMethodHandle.cs: ditto.
4956 * RuntimeFieldHandle.cs: ditto.
4960 * OutOfMemoryException.cs: ditto.
4962 * OperatingSystem.cs: ditto.
4964 * ObjectDisposedException.cs: ditto.
4966 * NullReferenceException.cs: ditto.
4968 * NotImplementedException.cs: ditto.
4970 * NotFiniteNumberException.cs: ditto.o
4972 * MulticastNotSupportedException.cs: ditto.
4974 * MissingMethodException.cs: ditto.
4976 * MemberAccessException.cs: ditto.
4980 * InvalidCastException.cs: ditto.
4982 * IntegerFormatter.cs: ditto.
4988 * IndexOutOfRangeException.cs: ditto.
4990 * Environment.cs: ditto
4994 * DuplicateWaitObjectException.cs: ditto.
4996 * DivideByZeroException.cs: ditto.
4998 * Delegate.cs: ditto
5000 * DecimalFormatter.cs: ditto.
5002 * Decimal.cs: ditto.
5004 * DateTime.cs: ditto.
5006 * Convert.cs: ditto.
5012 * Boolean.cs: ditto.
5014 * ArrayTypeMismatchException.cs: ditto.
5016 * ArithmeticException.cs: ditto.
5018 * ArgumentOutOfRangeException.cs: ditto.
5020 * ArgumentNullException.cs: ditto.
5022 * Enum.cs: Make it derive from ValueType, add CompareTo method.
5024 * Attribute.cs: Reformat.
5026 2001-11-14 Miguel de Icaza <miguel@ximian.com>
5028 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
5029 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
5030 exception if the value is null too.
5032 * Char.cs (CompareTo): ditto.
5034 * ApplicationException.cs: Added constructor that does serialization.
5036 * ParamArrayAttribute.cs: Define attribute correctly.
5038 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
5040 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
5041 * Array.cs: fix Array.Copy.
5042 * AssemblyLoadEventArgs.cs: rename field.
5043 * CLSCompliantAttribute.cs: use correct name for the class.
5044 * Char.cs: fix IsLetter.
5045 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
5046 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
5047 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
5048 * Delegate.cs: renamed target field to m_target.
5049 * Enum.cs: added missing methods.
5050 * MonoType.cs: add a constructor and some needed properties.
5051 * Object.cs: implement GetType().
5052 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
5054 * Type.cs: add missing methods/properties.
5056 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
5058 * AttributeUseage.cs: Should define AttributeUsageAttribute.
5060 * CLSCompliant.cs: Marked with AttributeUsage attribute.
5062 * Decimal.cs: Fixed CLSCompliant attributes.
5064 * Type.cs: changed _impl to internal (needs to be accessable by
5067 (TypeHandle): Marked as abstract, implementation removed.
5069 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
5070 GetMethod): Added stub implementations so NUnit would link against
5073 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
5075 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
5077 2001-11-05 Miguel de Icaza <miguel@ximian.com>
5079 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
5082 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
5084 * String.cs: fix a couple of bugs.
5085 * AppDomain.cs: use new AppBuilder constructor.
5086 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
5087 NotImplementedException.cs, ObjectDisposedException.cs,
5088 UnauthorizedAccessException.cs: add implementation.
5089 * OverflowException.cs: fix class name.
5091 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
5093 * String.cs: Don't use a terminating nil char for our internal
5096 2001-10-27 Miguel de Icaza <miguel@ximian.com>
5098 * Delegate.cs (Delegate.CombineImpl): Implement.
5099 (Delegate.Combine): Implement.
5101 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
5103 (MulticastDelegate.CombineImpl): This was not as trivial as I
5106 * ContextStaticAttribute.cs: Added AttributeUsage to
5107 ContextStaticAttribute.
5109 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
5111 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
5113 * added Decimal.cs * added DecimalFormatter.cs (internal class
5114 used from System.Decimal)
5116 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
5118 * Convert.cs: Added methods for Base64 transforming just used the
5119 existing System.Security.Cryptography.ToBase64Transform, should
5120 be changed to use a stand-alone class, e.g. Base64Encoder
5122 2001-10-10 Derek Holden <dholden@draper.com>
5124 * IntegerFormatter.cs: Added. Implements ToString for all the
5125 integer data types for all the format types.
5127 * Byte.cs: Using IntegerFormatter for ToString's.
5129 * SByte.cs: Using IntegerFormatter for ToString's.
5131 * Int16.cs: Using IntegerFormatter for ToString's.
5133 * Int32.cs: Using IntegerFormatter for ToString's.
5135 * Int64.cs: Using IntegerFormatter for ToString's.
5137 * UInt16.cs: Using IntegerFormatter for ToString's.
5139 * UInt32.cs: Using IntegerFormatter for ToString's.
5141 * UInt64.cs: Using IntegerFormatter for ToString's.
5143 2001-10-07 Miguel de Icaza <miguel@ximian.com>
5145 * Exception.cs: Implement bits of serialization.
5147 * RuntimeFieldHandle.cs: Implement Serialization features.
5149 * Type.cs: Implement TypeHandle property.
5151 2001-09-28 Dick Porter <dick@ximian.com>
5153 * LocalDataStoreSlot.cs: Implemented
5155 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
5157 * String.cs: fix off-by-one error in Trim().
5159 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
5161 * Type.cs: added GetType () method.
5163 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
5165 * MissingMethodException.cs, MissingMemberException.cs,
5166 MemberAccessException.cs: added.
5168 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
5170 * String.cs: don't access the string array out of bounds in
5171 LastIndexOf. * Type.cs: fix return type of the Assembly property.
5173 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
5175 * String.cs: make Intern and IsIntern internalcalls.
5177 2001-09-13 Dick Porter <dick@ximian.com>
5179 * Type.cs: Added a stub for the IsValueType property.
5181 * SystemException.cs (System): Added the other constructor, so
5182 that System.Threading exceptions can inherit it.
5184 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
5186 * String.cs (TrimStart): Don't keep looping through the trimchars
5187 once we've found a match.
5188 (TrimEnd): Same here.
5189 (Trim): And finally here.
5191 2001-09-07 Ravi Pratap <ravi@ximian.com>
5193 * Char.cs (IsLetterOrDigit): Implement.
5194 (IsLower): Implement, but we need to be Unicode aware.
5195 (IsNumber): Implement.
5196 (IsPunctuation): Implement.
5197 (IsWhiteSpace): Implement.
5198 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
5199 (ToLower): Same here.
5201 2001-09-04 Miguel de Icaza <miguel@ximian.com>
5203 * Object.cs: Shortcut, if (a == b) then return true.
5205 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
5207 * Delegate.cs: we need a pointer to the method thunk in
5208 the delegate object.
5210 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
5212 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
5214 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
5216 * String.cs (System): Don't mix uint and int.
5218 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
5220 * String.cs (BoyerMoore): Modified to not use pointers and to instead
5222 (IndexOf): Use BoyerMoore.
5224 2001-09-02 Miguel de Icaza <miguel@ximian.com>
5226 * All over: Use the autogenerated enumerations from the ECMA
5227 documentation that Sergey wrote.
5229 * PlatformID.cs: Add Unix definition.
5231 * OperatingSystem.cs: Use Unix instead of Linux here.
5233 * MarshalByRefObject.cs: Mark class as [Serializable].
5235 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
5237 * Console.cs: impl. (write only)
5238 implemented the stdin stuff
5240 * Int32.cs: impl. real op_Equal
5242 2001-08-24 Miguel de Icaza <miguel@ximian.com>
5244 * (common.src): Removed IAsyncResult as it is not on CVS yet.
5246 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
5247 as it breaks the build.
5249 2001-08-23 Michael Lambert <michaellambert@email.com>
5251 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
5252 added CLSCompliant attribute
5254 * IAsyncResult.cs: Added
5256 * common.src: Added IAsyncResult.cs
5258 2001-08-23 Michael Lambert <michaellambert@email.com>
5262 * common.src: Added UIntPtr.cs
5264 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
5266 * Attribute.cs: uncomment some code to make it compile again
5268 * mono.src: removed duplicated Attribute.cs
5270 2001-08-16 Nick Drochak <ndrochak@gol.com>
5272 * Attribute.cs: implemented all methods except GetHashCode()
5274 * common.src: added Attribute.cs so it would compile in
5276 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
5278 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
5279 marked it as InternalCall
5281 * common.src: removed UriFormatException.cs because the file is
5284 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
5285 * Char.cs: replaced byte with char
5287 * Array.cs: make it work with the mono interpreter
5289 2001-08-06 Miguel de Icaza <miguel@ximian.com>
5291 * Version.cs: Make the class sealed
5293 2001-08-08 Bob Smith <bob@thestuff.net>
5295 * Random.cs: Many compile fixes.
5296 * Random.cs: I read a bad spec. Class updated to match real spec.
5298 2001-08-06 Miguel de Icaza <miguel@ximian.com>
5300 * IntPtr.cs: Added and Completed implementation.
5302 * Uri.cs: Add a note.
5304 2001-08-06 Bob Smith <bob@thestuff.net>
5306 * Random.cs: Compile fix. Needs more testing.
5308 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
5310 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
5311 into account IPv6 addresses, url encoding needs to be implemented, and
5312 various minor methods need to be written, but this is a decent start.
5314 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
5316 * common.src: added Object.cs
5318 * mono.src: added ValueType.cs
5320 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
5322 * Math.cs: replaced libc with libm
5324 2001-08-02 Bob Smith <bob@thestuff.net>
5326 * Random.cs: Implemented. Needs testing.
5328 2001-08-02 Miguel de Icaza <miguel@ximian.com>
5330 * IServiceProvider.cs, EventHandler.cs: New files.
5332 2001-08-02 Marcel Narings <marcel@narings.nl>
5334 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
5335 Added exceptions. Added IConvertible. Still needs some platform
5336 dependend stuff, the Parse and ToString members
5338 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
5340 * Type.cs (GetTypeFromHandle): added placeholder
5342 2001-07-24 Derek Holden <dholden@draper.com>
5344 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
5345 which is really an IConvertible defined method.
5347 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
5348 behavior, still need to do the main Parse and ToString.
5350 * Char.cs: Added a bunch of missing ECMA methods. Commented a
5351 specification discrepency. Still didn't any unicode stuff, though
5352 every IsFoo(char c) method has an IsFoo(string, index)
5353 counterpart, added wrappers for those.
5355 * Convert.cs: Fixed NaN/Inf checking and double/float
5356 rounding. Added ToType for IConvertible classes
5358 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
5359 IsNaN methods. Changed Inf/NaN internals.
5361 * IConvertible.cs: Added comments for using
5362 Convert.ToType. Changed return values to draft base values.
5364 * Int16.cs: Added a missing Parse statement. Put in behavior for
5365 overloaded ToString and Parse methods.
5367 * Int32.cs: Added a missing Parse statement. Put in behavior for
5368 overloaded ToString and Parse methods.
5370 * Int64.cs: Added a missing Parse statement. Put in behavior for
5371 overloaded ToString and Parse methods.
5373 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
5374 methods. Changed Inf/NaN internals.
5376 * SByte.cs: Added a missing Parse method. Put in Parse and
5377 ToString behavior, still need to do the main Parse and ToString.
5379 * UInt16.cs: Added a missing Parse statement. Put in behavior for
5380 overloaded ToString and Parse methods.
5382 * UInt32.cs: Added a missing Parse statement. Put in behavior for
5383 overloaded ToString and Parse methods.
5385 * UInt64.cs: Added a missing Parse statement. Put in behavior for
5386 overloaded ToString and Parse methods.
5388 2001-07-20 Miguel de Icaza <miguel@ximian.com>
5390 * MulticastDelegate.cs: New File.
5392 * Delegate.cs: New file.
5394 * Enum.cs: New file.
5396 * Attribute.cs: New file.
5398 * Type.cs: New file.
5400 * ParamArrayAttribute.cs: New file.
5402 * RuntimeTypeHandle.cs: New file.
5404 * MulticastDelegate.cs: Added.
5406 * DateTime.cs: Added
5408 * Delegate.cs: Added
5410 2001-07-18 Michael Lambert <michaellambert@email.com>
5412 * AttributeTargets.cs: Add.
5414 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
5416 * Char.cs: Made ToUpper and ToLower public methods.
5418 * String.cs: Lots and lots of compile fixes - just need to write
5419 DateTime.cs and this should build completely now.
5421 2001-07-19 Bob Smith (bob@thestuff.net)
5423 * Math.cs: Implemented.
5425 2001-07-19 Miguel de Icaza <miguel@ximian.com>
5427 * String.cs: Removed tolower and toupper.
5429 * Char.cs: Moved ToLower and ToUpper from string to here.
5431 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
5432 instead of comparing the value to Nan.
5434 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
5436 * TimeSpan.cs: New implementation.
5438 2001-07-18 Scott Sanders <scott@stonecobra.com>
5440 * UriFormatExcpetion.cs: Add - 85% complete
5442 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
5444 * String.cs (IndexOf): Slight optimization that allows skipping
5445 over a few chars here and there. This isn't as good as using my
5446 Boyer-Moore implementation, however, Boyer-Moore is only really
5447 good for long strings (I plan on making the code decide which
5448 string search algorithm it should use on-the-fly at some point).
5449 (LastIndexOf): Fix to work correctly.
5450 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
5452 2001-07-16 Michael Lambert <michaellambert@email.com>
5454 * EventArgs.cs: Add.
5456 2001-07-16 Miguel de Icaza <miguel@ximian.com>
5458 * Version.cs: Remove my buggy comment.
5460 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
5462 * String.cs: Spelling error of IComparable, object's
5463 MemberwiseClone cannot be overridden. Made indexer valid for now,
5464 but not sure what to do about this in the long run. Seems to be a
5465 couple bugs in csc.exe having to do with multiple pointer defs in
5466 the same statement, and returning subclasses of a class in the
5467 return type of an interface function implementation. Also moved
5468 operators inside of class definition.
5470 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
5472 * String.cs: A tom of compile fixes, although we still don't compile.
5474 * IConvertible.cs: The To*Int64() methods return *Int64's, not
5475 *Int32's. Also, it's ToDateTime() not ToDateType().
5477 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
5479 * String.cs: Apparently I needed to at least write stubs for the
5480 IConvertible interfaces. *sigh*
5482 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
5484 * String.cs: Many logic/other fixes and better usage of the
5486 (tolower): New convenience method to help condense code.
5487 (toupper): Another new helper method.
5488 (Compare): Use the new helper methods.
5489 (ToLower): use tolower().
5490 (ToUpper): use toupper().
5491 (LastIndexOfAny): Implemented.
5492 (BoyerMoore): New private helper method that implements a modified
5493 version of the Boyer-Moore search algorithm. Noothing uses it yet
5494 as I'm not 100% sure it even works properly with unicode strings
5495 not to mention it uses a huge lookup-table :-)
5496 (Split): Implemented.
5498 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
5500 * TODO: Added things that need to be finished in System.String
5502 * String.cs: New source file implementing the System.String class
5504 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
5506 * TypeCode.cs: UInt64 was UInt63.
5508 * Object.cs: Fixed a numer of compiler errors.
5510 * Array.cs: Fixed some compiler errors.
5512 * IComparable.cs: Fixed some compiler errors.
5514 * ICloneable.cs: Fixed some compiler errors.
5516 * IConvertible.cs: Fixed some compiler errors.
5518 * IFormattable.cs: Fixed a compiler error.
5520 * IFormatProvider.cs: Fixed a compiler error.
5522 * IDisposable.cs: Fixed a compiler error.
5524 * IFormatProvider.cs: Added public accesability type to
5527 * Exception.cs: Added a using statement to remove compile time
5530 * ApplicationException.cs: Removed a ; that was causing a compiler
5533 * Int16.cs: Fixed some compiler errors.
5535 * Int32.cs: Fixed some compiler errors.
5537 * Int64.cs: Fixed some compiler errors.
5539 * SystemException.cs: Fixed a compiler error.
5541 * UInt16.cs: Fixed some compiler errors.
5543 * UInt32.cs: Fixed some compiler errors.
5545 * UInt64.cs: Fixed some compiler errors.
5547 * Void.cs: Fixed a compiler error.
5549 2001-07-12 Joe Shaw <joe@ximian.com>
5551 * Array.cs: Fix backwards parameters to Array.SetValue()
5553 (BinarySearch): Fix backward logic surrounding whether to call
5554 value.CompareTo or comparer.Compare.
5555 (LastIndexOf): Stop being stupid. I am so not used to strongly
5557 (Sort): Implement a quicksort.
5559 2001-07-11 Joe Shaw <joe@ximian.com>
5561 * Array.cs: Change all instances of trying to access an array with
5562 the index operator to calls to GetValue and SetValue, and add
5563 InternalGetValue and InternalSetValue which are internal calls
5564 into the runtime. Ew.
5566 2001-07-10 Joe Shaw <joe@ximian.com>
5568 * Array.cs: Implemented everything but Sort().
5570 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
5572 * Object.cs (Object::Equals): Object variable name is `o'.
5574 2001-07-06 Joe Shaw <joe@ximian.com>
5576 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
5577 Implement the IComparable and IFormattable interfaces. Fix a typo
5580 * ApplicationException.cs, ArgumentException.cs,
5581 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
5582 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
5583 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
5584 ExecutionEngineException.cs, FormatException.cs,
5585 IndexOutOfRangeException.cs, InvalidCastException.cs,
5586 InvalidOperationException.cs, InvalidProgramException.cs,
5587 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
5588 NotSupportedException.cs, NullReferenceException.cs,
5589 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
5590 StackOverflowException.cs, SystemException.cs,
5591 TypeInitializationException.cs: Added all of the exceptions
5592 specified by the language spec. Mmmm... bloat.
5594 2001-07-06 Miguel de Icaza <miguel@ximian.com>
5596 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
5597 do a generic routine all of these guys use.
5599 * Int16.cs: identified missing methods.
5601 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
5603 2001-06-26 Miguel de Icaza <miguel@ximian.com>
5605 * TypeCode.cs: Implement
5607 * Void.cs: Implement.
5609 * TODO: Add file to keep track of pending tasks.
5611 * Object.cs, ValueType.cs: Implement.