1 2007-04-23 Jeffrey Stedfast <fejj@novell.com>
3 Fixes bug #80702 (via getting rid of the casting) and more.
5 The following change makes it such that even if an application
6 calls Console.SetOut() with its own output stream, we can still
7 properly echo user-input from stdin to the real stdout.
9 * TermInfoDriver.cs (ctor): Grab a reference to the original
10 Console.stdout so we can be sure we always echo to console.
11 (QueueEcho): No need to cast Console.stdout anymore.
13 (WriteConsole: Here too.
15 2007-04-20 Jeffrey Stedfast <fejj@novell.com>
17 * TermInfoDriver.cs (QueueEcho): Renamed from Echo(char). Use
18 CStreamWriter's new InternalWriteChars().
19 (Echo): Since we can no longer go thru CStreamWriter's ::Write()
20 method that does checks for special keys, do the checks here
21 instead - if it is a special key, flush the echo buffer and then
22 write the special key.
23 (EchoFlush): Also updated to use CStreamWriter's new
25 (Read): Use the Echo(key) variety.
27 (ReadLine): And here too.
29 * CStreamWriter.cs (InternalWriteChars): Write a char array
30 directly to stdout. Do not pass Go, do not collect $200.
32 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
34 Optimization for echoing keypresses back to the console when the
35 user pastes a block of text rather than manually typing text.
37 * TermInfoDriver.cs (Echo): A new convenience function for echoing
38 characters/keys back to the console with an optimization twist and
40 (EchoFlush): Flush our pending echo queue
41 (Read): Make use of Echo() both for convenience and for speed.
43 (ReadKey): Make use of Echo()/EchoFlush() for simplicity of code,
44 but we won't get the same optimization out of it.
46 2007-04-19 Jeffrey Stedfast <fejj@novell.com>
50 * TermInfoDriver.cs: Changed 'buffer' to be a char array instead
51 of a byte array and stdin is now a StreamReader rather than a
53 (Init): Setup stdin as a StreamReader using Console.InputEncoding
55 (GetCursorPosition): Use stdin.Read() instead of the old
57 (AddToBuffer): Updated to allocate the correct array type for
59 (ReadKeyInternal): Updated to use stdin.Read() rather than
60 stdin.ReadByte(). This is the main reason we needed to use chars
61 instead of bytes. Characters entered by the user need to be
62 represented as unicode chars and not bytes like before.
63 (Match): Now takes a char[] buffer argument instad of byte[] and
64 compares the input buffer to the byte-map as chars.
66 2007-04-18 Jeffrey Stedfast <fejj@novell.com>
68 Fixes bug #81159: behave the same as mscorlib
70 * TermInfoDriver.cs (ReadKeyInternal): Now has an 'out bool fresh'
71 argument which is used to tell our caller if the key was freshly
72 read from the console or pre-buffered.
73 (Read): New implementation of Console.In.Read(char[], int, int)
74 that behaves exactly like mscorlib's implementation.
75 (ReadKey): Updated for the ReadKeyInternal() API change - only
76 echo if the key was fresh.
79 * CStreamReader.cs (Read): Call the new TermInfoDriver.Read()
81 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
83 * CStreamWriter.cs (Write): Optimized this some more, we don't
84 need a temporary buffer. Just blit chunks of the src buffer
87 * CStreamReader.cs (Read): Need to increment our array index so
88 that we don't store each byte read into the same
89 position. Discovered this while testing bug #81159 (which appears
90 to work as expected with current svn, other than this buglet).
92 * TermInfoDriver.cs (CursorTop::set): SetCursorPosition() sets our
93 internal cursorTop variable, so no need to explicitly set it again
94 after calling SetCursorPosition().
95 (CursorLeft::set): Same idea here.
97 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
99 * TermInfoDriver.cs (ReadLine): Implemented a workaround for
100 IronPython going behind System.Console's back when writing text to
101 the screen (it doesn't seem to use Console.stdout, instead it
102 creates its own file stream or something which just so happens to
103 write to the same file descriptor) by querying for the cursor
104 position in ReadLine(), so we lose no real performance (since we
105 have to wait for user input anyway).
107 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
109 * TermInfoDriver.cs (Init): SetEcho(false), we'll be manually
110 echoing from now on (ReadLine() has already been doing this, might
111 as well make ReadKey() behave the same).
112 (GetCursorPosition): No longer need to disable/re-enable echo
113 anymore since it is now always false.
114 (ReadKey): Manually echo the key back to the console just like
115 ReadLine() has been doing (in the interest of consistancy) if
117 (ReadLine): No longer need to disable/re-enable echo, echo is
118 always off now. Also, fixed what appears to have been a typo.
120 2007-04-17 Jeffrey Stedfast <fejj@novell.com>
122 * TermInfoDriver.cs (IsSpecialKey): Oops, Enter should not be
123 treated as a special key. Just update out cursor state here like
124 we do with normal chars.
125 (WriteSpecialKey): Enter is a no-op now because it is not treated
126 as a special key anymore.
128 * CStreamWriter.cs (Write): Only flush our buffer if j > 0
130 2007-04-17 Jeffrey Stedfast <fejj@gnome.org>
132 Turns out my last patch was broken wrt handling some special keys
133 like Backspace and anything else that changed the cursor position
134 in some non-standard way.
136 * CStreamWriter.cs (Write): Instead of calling NotifyWrite(), we
137 instead need to check IsSpecialKey(), and, if so, flush whatever
138 we have saved in our temporary buffer and then call
139 WriteSpecialKey(). Otherwise go on as we did in the last patch.
141 * TermInfoDriver.cs (NotifyWrite): Broken up into 2 functions:
142 (IsSpecialKey): Returns true if we need to do some special voodoo
144 (WriteSpecialKey): Write the special key (using whatever voodoo
147 2007-04-16 Jeffrey Stedfast <fejj@gnome.org>
149 * CStreamWriter.cs (Write): Instead of writing 1 char at a time,
150 copy the bytes into a temporary char array (with a fixed max size)
151 so that we can minimize the number of Write() calls we make on the
152 underlying stream (and thus on the write() system call).
154 2007-04-17 Alp Toker <alp@atoker.com>
156 * Array.cs: Make GetRank() icall private. Subclasses should use the
157 public Rank property.
159 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
161 * WindowsConsoleDriver.cs: Get rid of unused Echo property.
163 * NullConsoleDriver.cs: Get rid of Echo property.
165 * IConsoleDriver.cs: Get rid of Echo property.
167 * ConsoleDriver.cs (Echo::get/set): Removed, not needed.
169 * TermInfoDriver.cs (Echo::get/set): Removed, this isn't necessary
171 (ReadKey): If we are intercepting the key, call SetEcho (false)
172 and then reset back to true after reading the key.
173 (ReadLine): Same idea here.
174 (GetCursorPosition): We no longer need to keep track of the
175 previous echo state, we no longer have it :)
177 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
179 Fix for bug #80710 (and a bug I introduced in my last fix due to
180 this code assuming the underlying term echo state was always
181 false) and other buglets that I noticed.
183 * TermInfoDriver.cs (ReadLine): Set (term) Echo to false as we do
184 our own manual echoing which prevents ^H from getting displayed on
185 the screen when the user hits backspace.
186 (ReadLine): If the user hits Backspace and builder.Length is 0, DO
187 NOT echo the backspace back to the console, ever.
188 (ReadLine): Only echo characters back to the console if echo is
189 set to true. Seems the Echo ConsoleDriver property is a Mono
190 extension, and I'm assuming this is the intended behavior? I can't
191 see what else the Echo property would be useful for...
193 2007-04-16 Jeffrey Stedfast <fejj@novell.com>
197 * TermInfoDriver.cs: Renamed the noEcho variable to echo, makes
198 the logic cleaner/simpler/etc. Plus it was never actually used
199 other than in the property methods which are called Echo.
200 (Init): Call ConsoleDriver.SetEcho() with the 'echo' value -
201 allows for a slight optimization if called from within the
203 (GetCursorPosition): Instead of calling the Echo property methods,
204 call ConsoleDriver.SetEcho() directly to toggle echo off (if echo
205 isn't already off, and then back on once we're finished getting
206 the position - assuming the echo state is on, of course) - this
207 avoids calling back into Init() which just felt dirty.
208 (Echo::set): If the Echo state differs from our current state,
209 call ConsoleDriver.SetEcho() with the new state (this is the
210 important piece of the fix for bug #81050).
211 (ReadKey): Simplified the echo logic to make it a bit clearer.
214 2007-04-16 Marek Safar <marek.safar@gmail.com>
216 * Char.cs (IsLetter): Faster version.
218 2007-04-15 Alp Toker <alp@atoker.com>
220 * Decimal.cs: Provide 2.0 Round() overloads using System.Math.
222 2007-04-15 Alp Toker <alp@atoker.com>
224 * Activator.cs: CreateInstance(Type,object[]) was not params before
227 2007-04-15 Alp Toker <alp@atoker.com>
229 * NonSerializedAttribute.cs: Inherited=false in 2.0.
231 2007-04-05 Dick Porter <dick@ximian.com>
233 * Environment.cs: Increment mono_corlib_version
235 2007-04-03 Alp Toker <alp@atoker.com>
237 * Array.cs: CreateInstance(Type,int[]) is params.
238 * AppDomain.cs: ExecuteAssemblyByName(string,Evidence,string[]) is
241 2007-04-03 Alp Toker <alp@atoker.com>
244 * Math.cs: Should be static classes in 2.0.
246 2007-04-03 Alp Toker <alp@atoker.com>
248 * Delegate.cs: DynamicInvoke(object[]) is params in 2.0.
250 2007-04-03 Alp Toker <alp@atoker.com>
252 * Delegate.cs: Combine(Delegate[]) is params in 2.0.
254 2007-03-27 Dick Porter <dick@ximian.com>
256 * Environment.cs: Increment mono_corlib_version;
258 2007-03-16 Miguel de Icaza <miguel@novell.com>
260 * BitConverter.cs: Revert the patch from 72237 as that introduces
261 a regression and we are not sure yet what we will be doing about
264 Introduce a new InternalInt64BitsToDouble method that provides the
265 fixed functionality, mark it as internal.
267 Introduce a new SwappableToDouble method that includes the
268 swapping ToDouble routine as introduced by Zoltan on 72237, this
269 is used by InternalInt64BitsToDouble.
271 * Math.cs (IEEERemainder): Use the InternalInt64BitsToDouble
272 routine here to preserve the semantics from Zoltan.
274 The problem with BitConverter.cs is that it is completely hossed.
275 In .NET 1.1 it is a bitwise copy, no attempt is ever done to do
276 endian-specific swapping. In .NET 2.0 it is *almost* like that,
277 but it is subtly broken: if data is unaligned then endian
278 conversions happen. If the data is properly aligned it behaves
281 In general BitConverter is a sad class that offers little control,
282 we will be introducing a new mono bit converter and encourage
283 users to use that instead of the entirely broken
286 2007-03-11 Gert Driesen <drieseng@users.sourceforge.net>
288 * Delegate.cs: Fixed bootstrap build.
290 2007-03-08 Gert Driesen <drieseng@users.sourceforge.net>
292 * StringComparer.cs: Renamed StringComparer classes and promoted them
293 to top-level classes. Merged Ordinal and OrdinalIgnoreCase comparers.
294 Fixes binary serialization compatibility with MS.
296 2007-03-06 Zoltan Varga <vargaz@gmail.com>
298 * Type.cs (Equals): Remove a useless check.
300 * Type.cs: Rename Type:Equals(Type) to EqualsInternal, and add support for checking
301 UnderlyingSystemType. Fixes #81037.
303 2007-03-05 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
305 * TermInfoDriver.cs: adjust buffer indexes after *every* read. Fixes
306 bug #80329. Robert Jordan attached a similar patch to the bug report
307 but I didn't see it until after my commit...
309 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
311 * Enum.cs: The above patch makes the formatting for specifiers 'x'
312 and 'X' behave like MS.NET, including the correct length for each
313 possible underlying type, and correctly using capital letters for
316 Patch also includes some more test cases in EnumTests.cs.
318 2007-02-25 Gert Driesen <drieseng@users.sourceforge.net>
320 * AppDomainSetup.cs: If configuration file is not an absolute path,
321 then throw a MemberAccessException if ApplicationBase is not set,
322 or otherwise consider it as a path relative to ApplicationBase.
323 Fixes bug #80934. Patch provided by Jamie Cansdale.
324 * AppDomain.cs: In CreateDomain, construct AppDomain with
325 ApplicationBase of default domain if not explicitly set in specified
326 AppDomainSetup. If config file is not set, then use filename of the
327 default domain config file. Base on patch provided by Jamie Cansdale.
329 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
331 * Random.cs: Fix exception messages ("then" -> "than"). Spotted by
332 Mark A. Nicolosi (#80873).
334 2007-02-12 Miguel de Icaza <miguel@novell.com>
336 * CStreamWriter.cs (Write with char []): take the lock once for
337 all characters and call manually the InternalWriteChar properly to
340 (Write with string parameter): same thing, if the driver is not
341 initialized use a fast path.
343 If the driver has not been initialized, use a fast path instead.
345 Mon Feb 12 21:54:57 CET 2007 Paolo Molaro <lupus@ximian.com>
347 * MonoType.cs: patch from Cedric Vivier <cedricv@neonux.com> to
348 get correctly non-public fields from generic types.
350 2007-02-08 Jonathan Chambers <joncham@gmail.com>
352 * __ComObject.cs: Add IUnknown field to object. Cleanup icalls.
354 2007-02-03 Zoltan Varga <vargaz@gmail.com>
356 * BitConverter.cs (ToDouble): Fix this on big-endian machines.
358 2007-01-30 Atsushi Enomoto <atsushi@ximian.com>
360 * TimeZone.cs: According to the docs, we should not throw when
361 converting to Localtime if we are a negative value. Instead we
362 return DateTime.MinValue.
364 2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
366 * DateTime.cs : copy Kind in those members that return DateTime.
369 2007-01-20 Miguel de Icaza <miguel@novell.com>
371 * Array.cs (InternalArray__ICollection_Contains,
372 InternalArray__IndexOf): Cope with null values in the array (See
375 2007-01-19 Marek Habersack <grendello@gmail.com>
377 * AppDomain.cs: Make sure that domain
378 SetupInformation.ConfigurationFile is never null. MS.NET by
379 default copies the default domain's ConfigurationFile value
380 there. Fixes bug #80547.
382 2007-01-14 Jensen Somers <jensen.somers@gmail.com>
384 * ArraySegment.cs: Added Equals() method, operator == and !=
385 overloading and GetHashCode().
387 2007-01-10 Andy Hume <andyhume32@yahoo.co.uk>
389 * Fixes to a number of exception classes.
391 A project of mine uses #ctor(String,Exception) on
392 ObjectDisposedException, so I looked at adding that, and any
393 other similar constructors missing as per the class status report.
395 I also spotted inconsistent setting of HResult, and fixed
396 those too. For instance, ArgumentNullException sets HResult
397 only in three out of the four constuctors; not setting it in
398 the v2 (String,Exception) one -- and correctly not in the
399 Serialization constructor.
402 So, I fixed the remaining missing (String,Exception)
403 constructors in corlib (2 of), and fixed the Hresult setting
404 in all exceptions there (4 of).
406 The remaining Exception constructor omission listed was
407 InvalidCastException.ctor(System.String, System.Int32). MSDN says:
408 "This constructor supplies an HRESULT value that is
409 accessible to inheritors of the InvalidCastException class,
410 via the protected HResult property of the Exception class."
411 I added that method too, setting the HResult property from
414 2007-01-10 Atsushi Enomoto <atsushi@ximian.com>
416 * String.cs, StringComparer.cs : avoid extra string creation in
417 StringComparer.OrdinalIgnoreCase.
419 2007-01-05 Sebastien Pouliot <sebastien@ximian.com>
421 * DateTime.cs: Under 2.0 fix ParseExact to set DateTimeKind.Utc when
422 DateTimeStyles.AdjustToUniversal is used.
424 2007-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
426 * TermInfoDriver.cs: honor the backspace in ReadLine.
428 2006-12-30 Marek Safar <marek.safar@gmail.com>
430 * String.cs: Character based method only.
431 (IndexOf, LastIndexOf, Replace, IndexOfAny): Performance improvements.
432 (Substring): Returns same instance when index is 0.
434 2006-12-30 Alp Toker <alp@atoker.com>
437 * Math.cs: Implement missing Decimal.Ceiling methods for 2.0.
440 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
442 * DateTime.cs: Implement missing [To|From]Binary methods for 2.0.
443 * OperatingSystem.cs: Implement missing ServicePack and VersionString
445 * Version.cs: Add missing Major|MinorRevision properties for 2.0.
447 2006-12-14 Raja R Harinath <rharinath@novell.com>
449 * Type.cs (MakeGenericType): Can only be called on a generic type
452 2006-12-03 Miguel de Icaza <miguel@novell.com>
454 * DateTime.cs: Fix this on the 2.0 profile, return the
455 DateTimeKind for the Now property
457 2006-12-01 Duncan Mak <duncan@a-chinaman.com>
459 * ArgumentOutOfRangeException.cs (.ctor):
460 * NotFiniteNumberException.cs (.ctor): Add the 2.0 constructor
461 that takes a string and an inner Exception.
463 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
466 When comparing enumerations, two or more enumeration values might
467 match. Thus basically we should do complete matching, but right
468 now just do reverse order search since only numbered abbrev month
469 names matter (and full iteration is a mess). Fixed bug #80094.
471 2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
474 use new internal clone-less DateTimeFormatInfo members.
476 2006-11-29 Martin Baulig <martin@ximian.com>
478 * INullableValue.cs: Removed.
480 2006-11-28 Duncan Mak <duncan@novell.com>
482 * ArgumentNullException.cs (.ctor): Added new constructor that's
485 * InsufficientMemoryException.cs: Added missing 2.0 exception.
487 2006-11-27 Jonathan Chambers <joncham@gmail.com>
489 * __ComObject.cs: Removed IDispatchMono.
491 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
494 * Console.cs: lazy initialization of Console 2.0 (also when
495 CancelKeyPress is used).
497 2006-11-27 Miguel de Icaza <miguel@novell.com>
499 * Exception.cs (GetType): New method in 2.x, Another Moma catch.
501 Mon Nov 27 19:34:16 CET 2006 Paolo Molaro <lupus@ximian.com>
503 * GC.cs: implemented the needed methods with icalls.
505 2006-11-26 Miguel de Icaza <miguel@novell.com>
507 * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.
509 Go Moma! http://www.mono-project.com/Moma
511 * Decimal.cs: Refactor code to implement TryParse.
513 Also, avoid initializing messages on every call to stripStyles
515 2006-11-22 Miguel de Icaza <miguel@novell.com>
517 * DateTime.cs: A small performance hit, we store the actual time
518 span in a boxed object. This way, it can be updated from other
519 threads if necessary. We always unbox to get the value before
520 any potential updates.
522 Thanks to Gonzalo for catching this.
524 2006-11-21 Miguel de Icaza <miguel@novell.com>
526 * TimeZone.cs (CurrentSystemTimeZone): Cache the current year
527 daylight savings time in static variables.
529 (CurrentSystemTimeZone.OnDeserialization): Initialize
530 this_year_dlt and this_year on this method.
532 (TimeZone): init statically the currentTimeZone instead of
533 delaying that to the static property, avoiding a compare.
535 2006-11-22 Lluis Sanchez Gual <lluis@novell.com>
537 * Array.cs: (compare<T>) if a comparer is provided, it has
538 priority over other comparison methods.
540 2006-11-14 Miguel de Icaza <miguel@novell.com>
542 * Array.cs: TODOs will from now on be used to flag information
543 that will be developer-visible, not to flag internal information
544 that none of us reads or bothers about.
546 For those, use "FIXME" strings in the source code instead.
548 * AppDomain.cs: Update to be more useful.
550 2006-11-13 Atsushi Enomoto <atsushi@ximian.com>
552 * String.cs : fixed incorrect startIndex/length count in
553 IndexOf(string,StringComparison).
555 2006-11-07 Marek Safar <marek.safar@gmail.com>
557 * String.cs (LastIndexOf): If value is Empty, the return value is
558 the start index position in value.
560 2006-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
562 * TermInfoDriver.cs: prevent an invalid cast.
564 2006-10-26 Marek Safar <marek.safar@seznam.cz>
566 * String.cs (Concat): Add fast-path for empty strings.
568 2006-10-20 Jonathan Chambers <joncham@gmail.com>
570 * Variant.cs: Add support for bool and interfaces.
572 2006-10-18 Kornél Pál <kornelpal@gmail.com>
574 * Type.cs: Removed is_subtype_of because IsSubclassOf should be used
575 that is public and virtual. IsClass: Checking for ValueType is
576 unnecessary. IsEnum: UnderlyingSystemType is not used anymore so
577 no EnumBuilder hack is necessary. Checking for Enum is
578 unnecessary. IsSerializable: Walk BaseType for user defined types.
579 IsSubclassOf: Walk BaseType for user defined types.
581 * MonoType.cs: IsValueTypeImpl is unnecessary. IsSubclassOf: Unlike
582 Type system types throw ArgumentNullException on null Type
585 2006-10-14 Gert Driesen <drieseng@users.sourceforge.net>
587 * BadImageFormatException.cs: Changed message for default ctor to
588 match MS. Use internal message field of Exception to check whether
589 Message is null. Match MS default messages when no message is
590 set. Fixed ToString to match MS.
592 2006-10-09 Miguel de Icaza <miguel@novell.com>
594 * Environment.cs: Handle SpecialFolder.MyMusic
596 2006-10-07 Gert Driesen <drieseng@users.sourceforge.net>
598 * Enum.cs: Use different exception message depending on whether the
599 type of the passed in value is an Enum or not. Avoid looking up the
600 enum's underlying type twice in case of "D" or "d" format specifier.
602 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
604 * TermInfoDriver.cs: don't allow backspace if we're at the beginning
605 position for a ReadLine.
607 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
609 * TermInfoDriver.cs: ironpython autocompletion works now.
611 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
613 * Console.cs: avoid casting on windows.
615 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
622 * NullConsoleDriver.cs:
625 * WindowsConsoleDriver.cs: initial changes to handle cursor position
628 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
630 * ArithmeticException.cs: Modified default message to match MS, to
631 ensure a local regression test passes on both Mono and .NET.
633 2006-09-21 Gert Driesen <drieseng@users.sourceforge.net>
635 * Exception.cs: Marked message internal to allow derived classes to
636 access the raw message (without changing the public API).
638 2006-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
644 * WindowsConsoleDriver.cs: don't switch to the alternate window.
645 Trigger the cancel event. Retrieve the cursor position at the
646 beginning, as we're going to keep track of it instead of querying it
649 2006-09-14 Jonathan Chambers <joncham@gmail.com>
651 * Environment.cs (ProcessorCount): Implement as icall.
652 Patch by Jason McFall.
654 2006-09-05 Raja R Harinath <rharinath@novell.com>
656 * DateTime.cs (Today) [NET_2_0]: Set kind to Local.
658 2006-09-02 Zoltan Varga <vargaz@gmail.com>
660 * Enum.cs (Equals): Use the generic Equals implementation from ValueType which
661 is faster and avoids allocations.
663 2006-09-01 Martin Baulig <martin@ximian.com>
665 * Array.cs (Array.InternalArray): Removed the helper class;
666 instead we use private generic methods in System.Array which are
667 inserted into the vtable at runtime.
669 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
671 * ConsoleCancelEventArgs.cs: fix my build.
673 2006-08-22 Miguel de Icaza <miguel@novell.com>
675 * MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0
677 * Converter.cs: update signature to final.
679 * ModuleHandle.cs: Removed the [Obsolete] flags as they removed
680 those in the final 2.0
682 * DateTime.cs: Fixed the signature.
684 * Convert.cs: Removed API calls that were deprecated in final 2.0
686 * Enum.cs: Updated to use the obsoletes flagged in 2.0.
688 * ConsoleCancelEventArgs.cs: Updated to 2.0
690 2006-08-19 Miguel de Icaza <miguel@novell.com>
692 * Attribute.cs: This needs to do a deep compare, not a shallow
693 one. Ran into this bug with the VBNC compiler that compares two
694 separate attributes for equality using this.
696 * String.cs (StartsWith): Fix the overloaded constructor that
697 takes a CultureInfo, if that is null, it means to use the current
700 * TermInfoDriver.cs: Do not throw exceptions on the driver for
701 SetWindowSize and SetWindowPosition, they can be treated as nops.
703 2006-08-18 Zoltan Varga <vargaz@gmail.com>
705 * *.cs: Use String.Empty instead of "" in a lot of places.
707 2006-08-17 Sebastien Pouliot <sebastien@ximian.com>
709 * DateTime.cs: Remove last patch to DateTime as the fix wasn't correct
710 and made most x.509 unit tests fails. However the original problem is
713 2006-08-14 Raja R Harinath <rharinath@novell.com>
716 * Activator.cs (CreateInstance): Throw ArgumentException on open
719 2006-08-14 Miguel de Icaza <miguel@novell.com>
721 * MonoType.cs: Do the argument testinf for SetField later,
722 otherwise the implicit (and not documented, but already considered
723 side effect of checking SetProperty) did not work.
727 2006-08-13 Atsushi Enomoto <atsushi@ximian.com>
729 * String.cs : Normalize() and IsNormalized() implementation.
731 2006-08-10 Jonathan Chambers <joncham@gmail.com>
733 * __ComObject.cs: Added defintion of IDispatch interface, and
734 property. Get CLSID of supertype for creation if class not
735 ComImport attributed (allows for inheritance of RCW).
736 * MonoType.cs: Implement IsCOMObjectImpl.
738 2006-08-09 Atsushi Enomoto <atsushi@ximian.com>
740 * DateTime.cs : fixed X509Certificate() case that regressed only
743 2006-08-07 Kornél Pál <kornelpal@gmail.com>
745 * Console.cs: Use correct code pages on Windows and initialize
746 InputEncoding and OutputEncoding to the actual encodings used.
748 2006-08-05 Duncan Mak <duncan@novell.com>
750 * Char.cs (TryParse): Implemented missing 2.0 method, which fixed
753 2006-07-28 Jonathan Chambers <joncham@gmail.com>
755 * __ComObject.cs: Added support for marshalling objects.
757 2006-07-24 Atsushi Enomoto <atsushi@ximian.com>
759 * Char.cs : implemented utf32 conversion methods thus fixed bug #78856.
761 2006-07-19 John Luke <john.luke@gmail.com>
763 * TermInfoDriver.cs: switch order of alt and control when
764 calling new ConsoleKeyInfo()
766 2006-07-19 Kornél Pál <kornelpal@gmail.com>
768 * String.cs: Improve CreateString () performance when length is zero.
770 2006-07-18 Kornél Pál <kornelpal@gmail.com>
772 * String.cs: Added CreateString () methods. Constructors with matching
773 argument list are redirected to these methods that improves
774 performance as well as fixes bug #78703.
776 2006-07-15 Jonathan Chambers <joncham@gmail.com>
778 * __ComObject.cs: Begin implementing COM Interop.
779 * Environment.cs: Increment corlib version.
781 2006-07-12 Zoltan Varga <vargaz@gmail.com>
783 * Delegate.cs (DynamicInvokeImpl): Add support for bound delegates in Net 2.0.
785 2006-07-11 Zoltan Varga <vargaz@gmail.com>
787 * Double.cs (Parse): Fix handling of inner whitespace.
789 2006-07-09 Zoltan Varga <vargaz@gmail.com>
791 * Int32.cs: Fix a warning.
793 2006-07-07 Atsushi Enomoto <atsushi@ximian.com>
795 * TimeZone.cs : consider DateTimeKind in ToLocalTime() and
796 ToUniversalTime(). Fixed bug #78784. Patch by Thong Nguyen.
797 * DateTime.cs : DateTimeKind for UtcNow should be Utc.
799 2006-06-28 Kornél Pál <kornelpal@gmail.com>
801 * Char.cs: Implemented IsHighSurrogate and IsLowSurrogate methods.
803 2006-06-27 Atsushi Enomoto <atsushi@ximian.com>
805 * Double.cs : don't throw Exception in TryParse() for 'E'.
808 2006-06-20 Jb Evain <jbevain@gmail.com>
810 * Math.cs: implement Math.Truncate.
812 2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
815 Another lame win32 dependent pattern. Fixed bug #78618.
817 2006-06-09 Jonathan Chambers <jonathan.chambers@ansys.com>
819 * Environment.cs: Implement Set/GetEnvironmentVariable for User/Machine.
821 2006-06-07 Kornél Pál <kornelpal@gmail.com>
823 * Environment.cs: Use Consts.FxFileVersion for Environment.Version
824 as Consts.RuntimeVersion was removed.
826 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
829 * Environment.cs: Incremented corlib version since adding Variant.
831 2006-06-01 Raja R Harinath <rharinath@novell.com>
833 * Nullable.cs (operator==, operator!=): Remove.
835 2006-05-31 Zoltan Varga <vargaz@gmail.com>
837 * MonoDummy.cs: Removed as it is no longer needed.
839 * Environment.cs: Bump corlib version.
841 * Environment.cs: Revert the last change.
843 * Environment.cs: Bump corlib version.
845 * MonoAsyncCall.cs: New file.
847 2006-05-30 Gert Driesen <drieseng@users.sourceforge.net>
849 * Char.cs: Removed duplicate (explicit) interface implementation.
850 * String.cs: Removed duplicate (explicit) interface implemenation.
851 * MulticastDelegate.cs: Fixed API mismatches.
853 2006-05-29 Paolo Molaro <lupus@ximian.com>
855 * String.cs: make sure that the chars truncated by a stringbuilder
858 2006-05-29 Martin Baulig <martin@ximian.com>
861 (Exception.StackTrace): Use the new stack trace format which is
862 very similar to the one of MS.NET - method name goes first,
863 file / line number last and in the method name, we separate class
864 and method name by `.'.
867 (Environment.StackTrace): Enable line-number information.
869 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
872 Implement 2.0 TryParseExact(). Patch by Seo Sanghyeon.
874 2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
876 * Array.cs : added internal sort method used
877 in System.Collections.Generics.List<T>.Sort(Comparison<T>).
879 2006-05-15 Zoltan Varga <vargaz@gmail.com>
881 * Environment.cs: Bump corlib version.
883 2006-05-10 Zoltan Varga <vargaz@gmail.com>
885 * MonoType.cs (GetMethodImpl): Fix a warning.
887 2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
889 * ArrayTest.cs : use proper comparer in IndexOf() and LastIndexOf().
890 Patch by Kazuki Oikawa. Fixed bug #77277.
892 2006-05-07 Zoltan Varga <vargaz@gmail.com>
894 * Nullable.cs (Equals): Fix comparison to null. Fixes #78322.
896 2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
898 * Nullable.cs : updated Nullable<T> API to 2.0 RTM.
900 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
902 * Double.cs : (Parse) handle currency symbol when
903 AllowCurrencySymbol is passed as part of the style. Patch by
904 nede@aliquant.com, modified to eliminate redundant Substring().
905 This fixes bug #77721.
907 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
909 * MonoType.cs : (GetMethod) when zero-length type[] is explicitly
910 passed, don't return methods with some arguments. Fixed bug #77367.
912 2006-04-21 Gert Driesen <drieseng@users.souceforge.net>
914 * Enum.cs: Provide meaningful message when type of passed in value
915 does not match enum type.
917 2006-04-19 Raja R Harinath <rharinath@novell.com>
919 * Char.cs (Equals): Don't access 'm_value' field of other
920 instances. Cast directly to 'char'.
922 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
924 * DateTime.cs : implement SpecifyKind(). Patch by Thong Nguyen.
926 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
928 * NumberFormatter.cs : general performance improvements. Avoid
929 extraneous evaluation for simple formatting. Details are seen in
930 bug #77792. Patch by Kazuki Oikawa.
932 2006-04-13 Atsushi Enomoto <atsushi@ximian.com>
934 * DateTime.cs : implement IsDaylightSavingTime().
935 Patch by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>.
937 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
940 added some more [ReliabilityContract].
941 removed some [CLSCompliant].
942 renamed generic method parameter names.
944 2006-03-31 Zoltan Varga <vargaz@gmail.com>
946 * Environment.cs (SetEnvironmentVariable): Implement.
948 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
950 * Array.cs : oops, the last change caused regression. The array must
951 be transparent to ReadOnlyCollection, not create another list.
953 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
955 * Array.cs : AsReadOnly<T>() in RTM returns ReadOnlyCollection<T>.
956 Thus removed ReadOnlyArray<T> and ReadOnlyArrayEnumerator<T>.
957 In 2.0 some members became non-virtual.
959 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
961 * String.cs : oops, NET_2_0.
963 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
965 * String.cs : added new IndexOf() and LastIndexOf() overloads, and
966 IEnumerable<char>.GetEnumerator().
968 2006-03-21 Kornél Pál <kornelpal@gmail.com>
970 * String.cs: Make memcpy4 private as it is a helper method.
971 Make memcpy internal to can be used from UnicodeEncoding.
973 2006-03-19 Marek Safar <marek.safar@seznam.cz>
975 * Nullable.cs (Compare, Equals): Added constrain as gmcs now correctly
976 reports an error here.
978 2006-03-16 Atsushi Enomoto <atsushi@ximian.com>
980 * Double.cs : (Parse) reject String.Empty.
982 Wed Mar 15 16:30:51 CET 2006 Paolo Molaro <lupus@ximian.com>
984 * LocalDataStoreSlot.cs: implement as index in an array.
985 Implemented finalizer and allow it to remove the data stored
988 2006-03-15 Zoltan Varga <vargaz@gmail.com>
990 * Environment.cs: Bump corlib version.
992 2006-03-10 Zoltan Varga <vargaz@gmail.com>
994 * MonoCustomAttrs.cs (IsDefined): Avoid a runtime assert if a type
995 overwrites GetCustomAttributes () but not IsDefined ().
997 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
999 * Environment.cs: Bumped corlib version to 48 (due to r57532)
1001 2006-03-07 Martin Baulig <martin@ximian.com>
1003 * String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
1004 from the `provider' if possible.
1006 2006-02-26 Gert Driesen <drieseng@users.souceforge.net>
1008 * DecimalFormatter.cs: Removed obsolete class, as it has been replaced
1010 * DoubleFormatter.cs: Same.
1011 * SingleFormatter.cs: Same.
1013 2006-02-21 Marek Safar <marek.safar@seznam.cz>
1015 * String.cs (Equals): Optimized for speed.
1017 2006-02-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1019 * TermInfoDriver.cs: patch by Mike Hull that fixes bug #77518.
1021 Mon Feb 20 11:19:54 CET 2006 Paolo Molaro <lupus@ximian.com>
1023 * MonoType.cs: patch from Joachim Ante <joe@otee.dk> to
1024 improve error messages.
1026 2006-02-15 Martin Baulig <martin@ximian.com>
1028 * Type.cs (Type.IsGenericInstance): Removed.
1030 2006-02-14 Ankit Jain <jankit@novell.com>
1031 Raja R Harinath <rharinath@novell.com>
1033 * ArraySegment.cs (.ctor): Fix bounds check. Rename param 'length' to
1036 2006-02-11 Zoltan Varga <vargaz@gmail.com>
1038 * TermInfoDriver.cs (CreateKeyInfoFromInt): Fix handling of tab and its
1041 * TermInfoDriver.cs (GetWindowDimensions): Obtain the exact terminal
1042 size using an icall.
1043 (GetCursorPosition): Convert the row and column to 0 based indexing.
1044 Also fix reading of large values.
1045 (CreateKeyInfoFromInt): Convert LF to ConsoleKey.Enter.
1047 * ConsoleDriver.cs (GetTtySize): New icall.
1049 2006-02-10 Zoltan Varga <vargaz@gmail.com>
1051 * Array.cs: Fix some methods which previously returned Nullable<T>.
1053 * Nullable.cs: Add T: struct constraint and fix constructor.
1055 Fri Feb 3 11:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
1057 * String.cs: changed StartsWith/EndsWith to faster versions.
1059 2006-02-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1061 * String.cs: implement 2.0 StartsWith and EndsWith new overloads. Based
1062 on a patch by Thong Nguyen.
1064 2006-01-31 Zoltan Varga <vargaz@gmail.com>
1066 * String.cs: Implement one of the new net 2.0 Split methods.
1068 2006-01-31 Atsushi Enomoto <atsushi@ximian.com>
1070 * String.cs : (LastIndexOf) Fixed bug #77412. It should not expect
1071 that value length is bigger than its index.
1073 2006-01-27 Zoltan Varga <vargaz@gmail.com>
1075 * DateTime.cs: Add some 2.0 methods and properties.
1077 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1079 * Console.cs: if InternalCodePage returns -1, use the default encoding.
1080 Also match the UTF8 one properly. Patch by wall_john@sohu.com.
1082 2006-01-19 Atsushi Enomoto <atsushi@ximian.com>
1084 * ModuleHandle.cs : GetPEKind() is not public in 2.0 RTM.
1086 2006-01-16 Alp Toker <alp@atoker.com>
1088 * TimeSpan.cs: Simple implementation of NET 2.0 TryParse() using
1091 2006-01-05 Raja R Harinath <rharinath@novell.com>
1093 Fix regressions introduced by the fix to #71300.
1094 * Activator.cs (CreateInstance): Use Binder.SelectMethod instead
1095 of home-grown FindBestCtor.
1096 (FindBestCtor): Delete.
1098 2006-01-03 Zoltan Varga <vargaz@gmail.com>
1100 * Nullable.cs: Update to Net 2.0 RTM.
1102 * Nullable.cs: Add comments about runtime dependencies on the layout of
1105 2006-01-02 Sebastien Pouliot <sebastien@ximian.com>
1107 * Activator.cs: Now find the best ctor when null are used for
1108 paramaters. Fix bug #71300. Added checks for specific types (void,
1109 TypedReference, ArgIterator and RuntimeArgumentHandle).
1110 * Console.cs: Re-use Environment logic to detect Windows.
1111 * Type.cs: Re-applied r45150 as the real bug was in Activator.
1113 2006-01-02 Zoltan Varga <vargaz@gmail.com>
1115 * Activator.cs: Add a 'params' to one of the CreateInstance overloads.
1117 * RuntimeTypeHandle.cs RuntimeMethodHandle.cs RuntimeFieldHandle.cs:
1118 Add == and != operators.
1120 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
1122 * Environment.cs: Bump corlib version to 46.
1123 * TimeZone.cs: Partial fix for #76094. Added [Serializable] attribute
1124 and renamed internal CurrentTimeZone class to CurrentSystemTimeZone
1125 (like MS). This allows serialization roundtrip to work in Mono but
1126 there's still an issue when deserializing a stream from MS.
1128 2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
1130 * NumberFormatter.cs: Fixed rounding for float and the string output
1131 now includes all the precision (not counting preceding zeros). This
1132 fix the DecimalTest.TestConstructSingleRounding_NotWorking test cases.
1134 2005-12-21 Sebastien Pouliot <sebastien@ximian.com>
1136 * Array.cs: Fixed Sort<T> with IComparable (generic or not) bug #77039
1138 2005-12-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1140 * Array.cs: Added the Sort<T> methods (generics).
1142 2005-12-19 Sebastien Pouliot <sebastien@ximian.com>
1144 * Array.cs: Fixed BinarySearch when the array is empty (#77030). Added
1145 some null check which throws ArgumentNullException under 2.0.
1147 2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
1149 * DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
1150 * Double.cs: Under 2.0 throw a ArgumentException when parsing with
1151 NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
1152 second, simpler, TryParse method (2.0).
1153 * Single.cs: Added the TryParse methods for 2.0.
1155 2005-12-15 Raja R Harinath <rharinath@novell.com>
1157 * Type.cs (IsGenericType): Make virtual.
1159 2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
1161 * AppDomainSetup.cs: ApplicationBase throw exception on get (not on
1162 set). New behaviour is more like MS - but most issues (unit tests)
1163 were really path issues. Fix bug #71291.
1164 * DateTime.cs: Add more information when throwing an exception in
1165 ctor(long). Useful for debugging.
1167 2005-12-07 Zoltan Varga <vargaz@gmail.com>
1169 * Single.cs Double.cs: Fix warnings.
1171 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
1173 * Convert.cs: ToBase64String method didn't use the option parameter so
1174 we always included new lines. Fix bug #76876.
1176 2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
1178 * AppDomainSetup.cs: Added missing ComVisible and removed LAMESPEC
1179 (the docs were fixed).
1180 * NumberFormatter.cs: Fixed the "NotWorking" case where 1.15 was
1181 misrounded compared to MS implementation. Extra care is required when
1182 dealing with the extra 2 digits information (e.g. double precision is
1183 15 digits but 17 are kept - for a reason ;-)
1185 2005-12-05 Ben Maurer <bmaurer@ximian.com>
1187 * Environment.cs: Bump version
1189 * Nullable.cs: New Box and Unbox methods for the jit
1191 2004-12-05 Peter Dennis Bartok <pbartok@novell.com>
1193 * Enum.cs: Properly handle "No bits set" case even if the sorted numbers
1194 list does not have enum value 0 as the first item. Fixes #76921
1196 2005-12-05 Sebastien Pouliot <sebastien@ximian.com>
1198 * AppDomain.cs: CreateComInstanceFrom isn't static in any profile.
1200 Mon Dec 5 15:14:59 CET 2005 Paolo Molaro <lupus@ximian.com>
1202 * Double.cs: remove unused icall.
1203 * BitConverter.cs: handle double binary format on ARM FPA.
1205 2005-12-02 Alp Toker <alp@atoker.com>
1208 * Type.cs: DeclaringMethod should return MethodBase, not MethodInfo
1210 2005-12-02 Alp Toker <alp@atoker.com>
1212 * AppDomain.cs: ReflectionOnlyPreBindAssemblyResolve renamed to
1213 ReflectionOnlyAssemblyResolve in 2.0 final
1215 2005-12-01 Alp Toker <alp@atoker.com>
1217 * String.cs: Add static and non-static Equals(... StringComparison) for
1220 2005-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1222 * TermInfoDriver.cs: special case for the escape key. Fixes bug #76781.
1224 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1226 * TermInfoDriver.cs: if the cursor_address capability contains a %i, we
1227 have to add 1 to x and y when setting the cursor position.
1230 * Convert.cs: remove unused variables.
1232 Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
1234 * NumberFormatter.cs: work around arch-specific ulong cast behaviour
1237 Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
1239 * Convert.cs: fix endianess issue when converting to base-8
1240 format. All the base code would need a rewrite for efficience.
1242 2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
1244 * String.cs: Added support for Compare(... StringComparison) in 2.0.
1246 2005-11-25 Alp Toker <alp@atoker.com>
1248 * Type.cs (IsVisible): New 2.0 property, implemented recursively.
1250 2005-11-17 Dick Porter <dick@ximian.com>
1252 * Environment.cs: Incremented corlib version
1254 2005-11-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1256 * Int32.cs, UInt32.cs, Int16.cs, UInt16.cs, Int64.cs,
1257 UInt64.cs, Byte.cs, SByte.cs, Double.cs : Modify internal Parse
1258 methods to return the exception as an out parameter,
1259 instead of throwing it. This will be of special help
1260 to TryParse methods.
1261 * Environment.cs: Update corlib version to 42.
1263 2005-11-14 Raja R Harinath <rharinath@novell.com>
1265 * EventHandler.cs (EventHandler<TEventArgs>): Rename from EventHandler<T>.
1267 2005-11-11 Zoltan Varga <vargaz@gmail.com>
1269 * Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
1271 2005-11-11 Lluis Sanchez Gual <lluis@novell.com>
1273 * TimeZone.cs: Removed incorrect double-check lock and unneeded
1276 2005-11-11 Marek Safar <marek.safar@seznam.cz>
1278 * Type.cs: IsNested implemented, signature fixes.
1280 2005-11-11 Raja R Harinath <rharinath@novell.com>
1282 * Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
1284 2005-11-10 Zoltan Varga <vargaz@gmail.com>
1286 * Array.cs (Resize<T>): New internal method which takes a 'length' argument
1287 as well to avoid copying the whole array.
1289 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
1291 * Int64.cs : ditto for long.
1293 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
1295 * Int32.cs : Parse("2147483648", format_provider) should be rejected.
1297 2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
1299 * AttributeTargets.cs: Added [ComVisible (true)] and [Serializable]
1301 * Base64FormattingOptions.cs: Added missing [Flags] attribute.
1302 * ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were
1303 already replaced by Backspace and Whitespace)
1304 * DateTime.cs: Moved DayOfWeek enum to it's own file.
1305 * DateTimeKind.cs: New (2.0) enum.
1306 * DayOfWeek.cs: New file (extracted from DateTime.cs).
1307 * DomainManagerInitializationFlags.cs: Removed extra [Serializable].
1308 * EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed
1309 values (-1 to all of them).
1310 * Exception.cs: Added a LinkDemand for SerializationFormatter on
1311 GetObjectData method.
1312 * LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable]
1313 on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
1315 * PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0
1317 * StringComparison.cs: New (2.0) enum (needed for Uri).
1318 * TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
1319 * TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0
1322 2005-11-08 Atsushi Enomoto <atsushi@ximian.com>
1324 * Type.cs : I forgot to mention, some '(' were missing in the
1327 2005-11-08 Zoltan Varga <vargaz@freemail.hu>
1329 * Type.cs (GetPseudoCustomAttributes): Check for TypeAttributes.Serializable instead of
1330 IsSerializable property, since the latter returns true for delegates/enums.
1332 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
1334 * Environment.cs: Use Consts.RuntimeVersion as Environment.Version that
1335 makes maintenance easier.
1337 2005-10-24 Martin Baulig <martin@ximian.com>
1339 * Type.cs (Type.IsGenericTypeDefinition): Make this virtual.
1341 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1343 * String.cs: fix bound checkings for LastIndexOfAny. Closes bug #76519.
1345 2005-10-20 Raja R Harinath <rharinath@novell.com>
1347 * Array.cs (Swapper): Remove NET_2_0 guards from nested declaration.
1349 2005-10-16 Michal Moskal <malekith@nemerle.org>
1351 * TermInfoDriver.cs: Call Init () in Background/ForegroundColor.
1353 2005-10-14 Atsushi Enomoto <atsushi@ximian.com>
1355 * DateTime.cs : another crappy Windows dependent format.
1357 2005-10-14 Ben Maurer <bmaurer@ximian.com>
1359 * DateTime.cs: Speed up when parsing date time objects by not
1360 duplicating cultureinfo arrays.
1362 2005-10-13 Zoltan Varga <vargaz@gmail.com>
1364 * Type.cs (GetTypeCode): Applied patch from
1365 Mike Welham <mwelham@gmail.com>. Return TypeCode.Empty when null is
1368 2005-10-07 Zoltan Varga <vargaz@gmail.com>
1370 * Delegate.cs: Add support for delegate covariance and contravariance
1373 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
1375 * StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.
1377 2005-09-26 Zoltan Varga <vargaz@gmail.com>
1379 * String.cs (ParseFormatSpecifier): Fix skipping of whitespace. Fixes
1382 2005-09-23 Miguel de Icaza <miguel@novell.com>
1384 * Decimal.cs: Fix typo, patch from Tomas Kukol <tomas.kukol@gmail.com>
1386 2005-09-19 Zoltan Varga <vargaz@gmail.com>
1388 * MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
1389 attributeType parameter.
1390 (IsDefined): New icall.
1392 * MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
1393 object when only a specific attribute type is requested. Fixes #76062.
1395 * Environment.cs: Bump corlib version.
1397 2005-09-09 Zoltan Varga <vargaz@gmail.com>
1399 * TypeLoadException.cs MissingMethodException.cs MissingFieldException.cs: Add new ctors called by the runtime. Improve Message property.
1401 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
1403 * DateTime.cs : (_DoParse) don't check ticks range before computing
1404 the actual value. Fixed bug #76082.
1406 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
1408 * TimeZone.cs : When the target DateTime is in the range of
1409 DST end to DST + delta, don't adjust UtcOffset gap between that of
1410 DST and that of STD. This should fix bug #75985.
1412 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
1414 * TimeZone.cs, DateTime.cs :
1415 - ToLocalTime() and ToUniversalTime() are moved to TimeZone.
1416 - Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
1417 - use ToLocalTime() and don't depend on the own offset computation.
1418 Parse() with 'Z' pattern is closer to correct value on switching
1419 Daylight Saving Time. See bug #75985.
1421 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
1423 * DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
1424 handled as expected and it kept time value as local one.
1425 Patch by Brion Vibber. Fixed bug #75995.
1427 2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
1429 * DateTime.cs : Literal escape (\) was not checking format as
1430 expected. Fixed bug #75213.
1432 2005-09-05 Miguel de Icaza <miguel@novell.com>
1434 * MonoType.cs: Patch from Jonathan Chambers to implement
1437 2005-09-05 Martin Baulig <martin@ximian.com>
1439 Reflect latest API changes in the August CTP.
1441 * Type.cs (Type.HasGenericArguments): Removed.
1442 (Type.BindGenericParameters): Renamed to MakeGenericType().
1444 2005-09-01 Atsushi Enomoto <atsushi@ximian.com>
1446 * DateTime.cs : another idiotic COM dependent format.
1448 2005-09-01 Kornél Pál <kornelpal@hotmail.com>
1450 * __ComObject.cs: Fixed to be internal. Removed CLSCompliant attribute.
1451 Added some comments about the class.
1453 2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
1455 * AppDomain.cs: Use the more concise property syntax for declarative
1457 * AppDomainManager.cs: Default HostSecurityManager is null.
1459 2005-08-25 Atsushi Enomoto <atsushi@ximian.com>
1461 * NumberFormatter.cs : eliminate non-ASCII character.
1463 2005-08-25 Marek Safar <marek.safar@seznam.cz>
1465 * Enum.cs: Better exception message.
1467 2005-08-21 Gert Driesen <drieseng@users.sourceforge.net>
1469 * Convert.cs: In FromBase64String, return empty byte array for zero
1470 length string. Pass bool to InternalFromBase64String to control
1471 whether to allow a whitespace-only string.
1472 * Environment.cs: Bump corlib version.
1474 2005-08-20 Zoltan Varga <vargaz@freemail.hu>
1476 * Environment.cs: Bump corlib version.
1478 2005-08-19 Zoltan Varga <vargaz@freemail.hu>
1480 * Math.cs: Implement a new 2.0 Round method.
1482 2005-08-19 Gert Driesen <drieseng@users.sourceforge.net>
1484 * Convert.cs: Throw OverflowException if result is larger than
1485 ushort.MaxValue to match MS.NET. Remove commented code.
1487 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
1489 * Convert.cs: For now, do not throw OverflowException if hex prefixed
1490 value is negative for signed types (other than int64). Need to look
1493 2005-08-17 Gert Driesen <drieseng@users.sourceforge.net>
1495 * Convert.cs: Numerous fixed in overloads taking base to match
1496 behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
1497 empty. If base is 16, 8 or 2, then throw ArgumentException if first
1498 character is a negative sign. Throw OverflowException if hex prefixed
1499 value is negative for signed types (other than int64) to match MS.NET.
1501 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
1503 * DateTime.cs : added another COM dependent pattern (rather to describe
1504 how it works on .NET than to add the pattern itself...).
1506 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
1508 * DateTime.cs : added case for bug #53023.
1510 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
1512 * Type.cs: Add IsGenericType property from NET 2.0.
1514 2005-08-10 Atsushi Enomoto <atsushi@ximian.com>
1516 * String.cs : added new StartsWith()/EndsWith() override, fixing
1517 existing EndsWith() which incorrectly assumed that both string
1518 lengths must be equivalent (they are not always equal).
1519 * StringComparer.cs : added Ordinal and OrdinalIgnoreCase.
1521 2005-08-09 Zoltan Varga <vargaz@freemail.hu>
1523 * String.cs: Implement Split(String[]) methods.
1525 2005-08-09 Miguel de Icaza <miguel@novell.com>
1527 * AppDomainSetup.cs: Full-pathization of the appBase should only
1528 be done on Windows, the ":" condition never applied to Linux.
1530 * ConsoleKey.cs: Include a few aliases for a few values that were
1531 introduced recently.
1533 2005-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1535 * ConsoleKey.cs: added Backspace, which has the same value as BackSpace.
1538 2005-08-08 Atsushi Enomoto <atsushi@ximian.com>
1540 * String.cs : (StartsWith) compared string lengths are not always the
1541 same in culture-sensitive comparison.
1543 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
1545 * Array.cs: Changed protected ctor to private. Fixes API compatibility
1547 * RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
1548 be exposed in 2.0 profile.
1549 * RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
1550 be exposed in 2.0 profile.
1551 * RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
1552 be exposed in 2.0 profile.
1553 * Type.cs: Added GetType method and implemented _Type interface.
1554 Fixes API compatibility with MS.NET.
1556 2005-07-28 Marek Safar <marek.safar@seznam.cz>
1558 * StringComparer.cs: Add generics version of string interfaces.
1560 2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
1562 * StringComparer.cs : implemented StringCultureComparer.GetHashCode().
1564 2005-07-26 Zoltan Varga <vargaz@freemail.hu>
1566 * StringSplitOptions.cs MidpointRounding.cs: New files.
1568 * String.cs Math.cs: Add stubs for some new 2.0 APIs.
1570 2005-07-26 Marek Safar <marek.safar@seznam.cz>
1572 * StringComparer.cs: New file.
1574 2005-07-26 Raja R Harinath <harinath@gmail.com>
1576 * Enum.cs (GetValue): Make private. Return an ulong.
1577 (Parse): Tighten scope of couple of variables. Use ulong when
1580 2005-07-25 Raja R Harinath <rharinath@novell.com>
1582 * Enum.cs (FindName, GetValue): New. Carved out of ...
1583 (Parse): ... this. Refactor and simplify code. Avoid incurring
1584 exceptions when parsing names. Avoid allocating arrays unless
1585 necessary. Avoid conversion of an enumeration constant to its own
1586 type. (Incorporates ideas from a patch by Gonzalo Paniagua Javier.)
1588 2005-07-13 Lluis Sanchez Gual <lluis@novell.com>
1590 * MarshalByRefObject.cs: GetLifetimeService() should be virtual.
1593 2005-07-13 Miguel de Icaza <miguel@novell.com>
1595 * Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
1596 signature for GetValue and SetValue to make the long [] argument
1597 be a params argument.
1599 2005-07-11 Pedro MartÃnez Juliá <pedromj@gmail.com>
1601 * Convert.cs: Fix the bug when Convert.ChangeType was using
1602 NumberFormatInfo instead of DateTimeFormatInfo when the type to
1603 change is a DateTime.
1605 2005-07-11 Martin Baulig <martin@ximian.com>
1607 * Array.cs: Use Type.Equals() instead of `==' to compare type
1610 2005-07-10 Kamil Skalski <nazgul@nemerle.org>
1612 * Type.cs: Mark BindGenericParameters as deprecated. Use
1613 MakeGenericType as default implementation with updated signature.
1615 2005-07-09 Zoltan Varga <vargaz@freemail.hu>
1617 * Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
1620 2005-07-05 Lluis Sanchez Gual <lluis@novell.com>
1622 * DelegateSerializationHolder.cs: When the deserialized target is
1623 a proxy, call IsInstanceOfType to force the proxy to load the
1624 real type of the remote object. This is needed to make sure that
1625 subsequent calls to GetType() return the expected type. This fixes
1628 2005-07-03 Ben Maurer <bmaurer@ximian.com>
1630 * OperatingSystem.cs: patch from Aleksandar Dezelin to fix
1633 2005-06-30 Sebastien Pouliot <sebastien@ximian.com>
1635 * Guid.cs: Avoid code duplication between overriden methods (new in
1636 2.0). Avoid exception processing when possible. Renamed parameters to
1637 match the framework. Added ComVisible to NET_2_0.
1639 2005-06-28 Elliott Draper <el@eldiablo.co.uk>
1641 * Activator.cs: This implements the generic Activator.CreateInstance<T>()
1642 function for NET_2_0. It's full signature is:
1643 public static T CreateInstance<T>();
1645 2005-06-28 Lluis Sanchez Gual <lluis@novell.com>
1647 * Decimal.cs: Renamed internal fields for the sake of serialization
1648 interoperability with MS.NET.
1649 * Exception.cs: In the StackTrace property, return the stack trace
1650 if it has a value, even if the exception has not been thrown
1651 (it may have been deserialized).
1653 2005-06-28 Martin Baulig <martin@ximian.com>
1655 * Array.cs (Array.InternalArray<T>): New nested class; derives
1656 from Array. This is now used by the runtime for arrays; fixes #74953.
1658 2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
1660 * String.cs : added some extra whitespace characters for Trim().
1663 2005-06-13 Michal Moskal <malekith@nemerle.org>
1665 * MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
1666 since it now throws on MethodBuilders. Don't use FieldHandle in
1667 GetField (throws on FieldBuilder) - just use the name.
1669 2005-06-13 Martin Baulig <martin@ximian.com>
1672 (MonoType.getFullName): Added `bool assembly_qualified' argument.
1673 (MonoType.AssemblyQualifiedName): The interncall now adds the
1674 assembly name, so we don't need to do it here.
1675 (MonoType.FullName): Use the new getFullName() API.
1677 2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
1679 * Char.cs: ToLowerInvariant and ToUpperInvariant are now public in
1680 NET_2_0. Added "new" white char and ComVisible for 2.0.
1682 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1684 * Convert.cs: FromBase64String and FromBase64CharArray are now internal
1685 calls to avoid extra allocations.
1687 2005-06-09 Kamil Skalski <nazgul@nemerle.org>
1689 * Type.cs: Add MakeGenericType method form .NET 2.0 beta 2 API
1691 * Type.cs MonoType.cs: Add internal virtual
1692 Get{Method,Constructor,Field} for obtaining instanciated *Info objects
1693 from non-instanciated counterparts
1695 2005-06-09 Zoltan Varga <vargaz@freemail.hu>
1697 * ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.
1699 2005-06-08 Zoltan Varga <vargaz@freemail.hu>
1701 * Type.cs: Add missing 2.0 attributes.
1703 2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
1705 * MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
1706 also internal method GetCustomAttributesData, used by
1707 System.Reflection.CustomAttributeData.
1709 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
1711 * Activator.cs: Added _Activator interface (and members) for 1.1 and
1712 missing attributes (for both 1.1 and 2.0).
1713 * String.cs: Made internal To[Lower|Upper]Invariant methods public for
1714 2.0. Reworked Trim() to skip a useless call. Added missing attribute
1716 * Type.cs: Added _Type, _MemberInfo interfaces (1.1/2.0). Added
1717 missing attribute for 2.0. Hided some public/protected methods.
1719 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
1721 * ModuleHandle.cs: Update after PortableExecutableKinds name change.
1723 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
1725 * _AppDomain.cs: Added new members in the interface (added in 1.1 SP1)
1726 * AppDomain.cs: Added new members from _AppDomain interface.
1727 * AppDomainManager.cs: Fixed flags and added attributes.
1728 * DomainManagerInitializationFlags.cs: The flag has been renamed to
1729 AppDomainManagerInitializationOptions in beta2.
1731 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
1733 * Type.cs MonoCustomAttrs.cs: Return SerializableAttribute for types as well.
1735 2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
1737 * Exception.cs: Implements _Exception only for 2.0.
1739 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
1743 * GC.cs UnhandledExceptionEventArgs.cs IntPtr.cs RuntimeFieldHandle.cs
1744 String.cs Object.cs Math.cs RuntimeMethodHandle.cs ModuleHandle.cs
1745 RuntimeTypeHandle.cs AppDomain.cs: Add some missing 2.0 methods/attributes.
1747 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1750 * AppDomain.cs: if the assembly is loaded from a byte array, Location
1751 returns "". Fixes bug #74958.
1753 2005-06-04 Ben Maurer <bmaurer@ximian.com>
1755 * *.cs: More 2.0 API fixups
1757 * *.cs: In beta 2, generics are no longer non-cls-compliant.
1759 2005-06-05 Kazuki Oikawa <kazuki@panicode.com>
1761 * NumberFormatter.cs: Fixed the output of 0.ToString("00.00E00")
1762 that was different from MSFT.
1763 * String.cs: Fixed IndexOfAny thrown an exception
1764 when startIndex of arguments equals Length. (Closes bug #75083.)
1766 * Decimal.cs: Changed to use NumberFormatter in ToString.
1767 * NumberFormatter.cs: Implemented decimal formatter.
1769 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1771 * Type.cs: reverted wrong fix for bug #71300 in r45150. This makes SSL
1772 support in System.Net work again.
1774 2005-06-01 Ben Maurer <bmaurer@ximian.com>
1776 * CharEnumerator.cs: add IEnumerable <char> support
1778 2005-05-30 Sebastien Pouliot <sebastien@ximian.com>
1780 * Activator.cs: Added missing validation on parameters.
1782 2005-05-28 Ben Maurer <bmaurer@ximian.com>
1784 * Type.cs: Check that the arguments of the `types' array are
1785 non-null. Fixes bug 71300
1787 2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
1789 * AppDomainSetup.cs: Added new 2,0 constructors and the
1790 ActivationArguments property.
1791 * AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
1792 new location for the ApplicationActivator class.
1793 * ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
1795 2005-05-27 Vladimir Vukicevic <vladimir@pobox.com>
1797 * Environment.cs: bump corlib version for bug #75060.
1799 2005-05-27 Raja R Harinath <rharinath@novell.com>
1801 * Environment.cs (ExpandEnvironmentVariables): Rewrite
1802 sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
1803 * String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
1804 sb.Append (s, a, s.Length - a). Avoid allocating 'pad' string --
1805 StringBuilder has an appropriate Append overload.
1807 2005-05-26 Zoltan Varga <vargaz@freemail.hu>
1809 * Type.cs (IsEnum): Special case EnumBuilder here.
1811 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
1813 * MonoType.cs: Changed call from GetName to UnprotectedGetName to
1814 allow call to work with serialization under a restrictive policy.
1815 The code path (the protected information) isn't being used.
1817 2005-05-25 Zoltan Varga <vargaz@freemail.hu>
1819 * Exception.cs: Use the new StackTrace ctor.
1821 * Type.cs: Improve support for user defined type subclasses.
1823 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
1825 * DateTime.cs : Added minimum digit parameter to ParseNumber() to
1826 reject 2 digit years for "yyyy".
1827 Use GetAllDateTimePatterns() instead of constant string.
1830 2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
1832 * DateTime.cs : next_not_digit prevented some valid parse.
1833 Just remove it, since now we pass max length to ParseNumber() and
1834 thus it is not needed anymore. Fixed bug 63137.
1836 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
1838 * DateTime.cs : HH should not always block tt. Fixed bug #60912.
1839 Reset num after whitespace parsing.
1840 Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.
1842 2005-05-24 Atsushi Enomoto <atsushi@ximian.com>
1844 * DateTime.cs : Allow ',' where whitespaces are allowed.
1847 2005-05-22 Ben Maurer <bmaurer@ximian.com>
1849 * BitConverter.cs: Speed this up, fixing 74014. Patch from
1850 `Aleksandar Dezelin'.
1852 2005-05-20 Zoltan Varga <vargaz@freemail.hu>
1854 * Type.cs: Add some helper methods needed by other classes.
1856 * Array.cs: Improve support for user defined Type subclasses.
1858 * Type.cs: Rename GetTypeCode icall to GetTypeCodeInternal and add a managed
1859 wrapper function, not used yet.
1861 * Type.cs Array.cs: Revert this as it breaks the build.
1863 * Type.cs Array.cs: Improve support for user defined Type subclasses.
1865 2005-05-19 Ben Maurer <bmaurer@ximian.com>
1867 * Delegate.cs (Equals): Use `as' to protect in the case where !
1870 2005-05-19 Raja R Harinath <rharinath@novell.com>
1872 * Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable"
1875 2005-05-19 Miguel de Icaza <miguel@novell.com>
1877 * TermInfoDriver.cs: Removed warning.
1879 * Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
1880 FindLastIndex<T>: Parameter names are normative.
1881 Fix coding style ("Method<T>" not "Method <T>")
1882 Throw argument exceptions per argument.
1884 (FindAll): Fix bug, actually return the values that were computed,
1885 not a short version of the original array.
1887 2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1889 * Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
1890 for each framework version.
1892 2005-05-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1895 * Exception.cs: .Net 1.1 already has these interfaces
1897 Mon May 16 18:23:49 CEST 2005 Paolo Molaro <lupus@ximian.com>
1899 * MonoCustomAttrs.cs, Type.cs: do not create a SerializableAttribute
1900 object on GetCustomAttributes (fixes bug #74717).
1902 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
1904 * DateTime.cs : for 'z' next_not_digit didn't work as expected.
1907 2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
1909 * DateTime.cs : don't allow extraneous pattern characters also for
1910 non-exact parsing (ParseExact() was fine). Bug #74936 fixed
1912 2005-05-13 Gert Driesen <drieseng@users.sourceforge.net>
1914 * Activator.cs: Match exceptions thrown by MS.NET for
1915 CreateInstance overloads if type is abstract. Fixes bug #74861.
1917 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1919 * OperatingSystem.cs: PlatformID.Unix.
1921 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
1923 * Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
1924 Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.
1926 2005-05-07 Atsushi Enomoto <atsushi@ximian.com>
1928 * NumberFormatter.cs : roundtrip number is already rounded before
1929 FormatGeneral() and DefaultMaxPrecision was extraneous. This fixes
1932 2005-05-07 Ben Maurer <bmaurer@ximian.com>
1934 * Array.cs (BinarySearch): Patch from kazuki to pass arguments to
1935 the comparer in the same order as msft. Fixes #70725
1937 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1939 * Enum.cs: the hashtable don't need to be synchronized any more, since
1940 it's only accessed from withint a lock.
1942 * Console.cs: stdin, stdout and stderr will never be finalized. Fixes
1945 2005-05-06 Zoltan Varga <vargaz@freemail.hu>
1947 * Array.cs: Remove CLSCompliant (false) attributes.
1949 2005-05-06 Martin Baulig <martin@ximian.com>
1951 * Predicate.cs, Action.cs, Comparision.cs, Converter.cs: Add
1952 [CLSCompliant(true)] attribute.
1954 2005-05-04 Miguel de Icaza <miguel@novell.com>
1956 * Enum.cs (MonoEnumInfo): Based on a patch from James Willcox,
1957 initialize cache as a static method. Fixes #74828.
1959 2005-05-03 Marek Safar <marek.safar@seznam.cz>
1961 * Console.cs: CancelKeyPress is stubbed.
1963 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
1965 * ActivationContext.cs: Updated for beta2.
1966 * AppDomainManager.cs: Updated for beta2.
1967 * ApplicationId.cs: Updated for beta2.
1968 * ApplicationIdentity.cs: Updated for beta2.
1969 * Exception.cs: Now use Assembly.UnprotectedGetName () as Exception
1970 doesn't leak the code base from the returned AssemblyName.
1972 2005-04-25 Martin Baulig <martin@ximian.com>
1974 * Environment.cs (Environment.Version): Changed to 2.0.50215.
1976 2005-04-22 Sebastien Pouliot <sebastien@ximian.com>
1978 * Attribute.cs: Added _Attribute interface to NET_2_0 to reduce the
1979 number of "missing" in the class status pages.
1981 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1983 * MulticastDelegate.cs: (GetInvocationList) when building the list that
1984 is later traversed forward, mark 'this' as the end of the chain.
1987 2005-04-19 Zoltan Varga <vargaz@freemail.hu>
1989 * Environment.cs: Bump corlib version.
1991 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1993 * WindowsConsoleDriver.cs: ignore key release events.
1995 2005-04-06 Atsushi Enomoto <atsushi@ximian.com>
1997 * Char.cs : ToUpper()/ToLower() comparison ranges were incorrect.
1999 2005-04-05 Sebastien Pouliot <sebastien@ximian.com>
2001 * _AppDomain.cs: Add security checks to the interface. Declarative
2002 security on events requires BOOTSTRAP_WITH_OLDLIB to work properly
2004 * AppDomain.cs: Add some (not complete) security checks. Bug#74411 is
2005 blocking some cases from working properly. Declarative security on
2006 events requires BOOTSTRAP_WITH_OLDLIB to work properly with older MCS.
2008 2005-04-04 Sebastien Pouliot <sebastien@ximian.com>
2010 * AppDomain.cs: Use the PolicyLevel to resolve the granted permissions
2011 on the AppDomain. Added an internal property to get the granted set.
2013 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
2016 Char.cs : use TextInfo for ToLower() and ToUpper().
2018 2005-03-31 Sebastien Pouliot <sebastien@ximian.com>
2020 * Exception.cs: Added Assert for TypeInformation to GetObjectData and
2021 ToString methods (not required for 2.0 as TypeInformation will be
2022 deprecated). Added null check for GetObjectData.
2024 Tue Mar 29 11:47:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
2026 * Delegate.cs: allow IronPython 0.7 to compile.
2028 2005-03-24 Miguel de Icaza <miguel@novell.com>
2030 * Delegate.cs: Add CreateDelegate with a target option, currently
2031 internal as it is not exposed by the framework yet.
2033 2005-03-24 Zoltan Varga <vargaz@freemail.hu>
2035 * String.cs: Add some 2.0 methods.
2037 2005-03-24 Sebastien Pouliot <sebastien@ximian.com>
2039 * Activator.cs: Now use the supplied evidences when loading
2040 assemblies. Added LinkDemand for RemotingConfiguration on both
2042 * Console.cs: Added Assert for UnmanagedCode on OpenStandard[Error|
2043 Input|Output] as they use a handle on a FileStream (which is
2044 restricted otherwise). Added Demand for UnmanagedCode for the
2045 Set[Error|In|Out] methods.
2046 * MarshalByRefObject.cs: Added LinkDemand for Infrastructure on
2047 CreateObjRef, GetLifetimeService and InitializeLifetimeService.
2048 * RuntimeMethodHandle.cs: Added Demand for UnmanagedCode on
2049 GetFunctionPointer method.
2050 * TypedReference.cs: Added LinkDemand for ReflectionPermission's
2051 MemberAccess on MakeTypedReference.
2053 2005-03-14 Sebastien Pouliot <sebastien@ximian.com>
2055 * Environment.cs: Fix CAS unit tests for NET_1_1.
2056 * Exception.cs: Fix CAS unit tests for NET_1_1.
2058 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2060 * Version.cs: don't ignore the last number. Fixes bug #73539.
2062 2005-03-11 Sebastien Pouliot <sebastien@ximian.com>
2064 * MonoType.cs: When the security manager is active, constructors and
2065 methods will return null if a linkdemand fails during reflection
2068 2005-03-11 Zoltan Varga <vargaz@freemail.hu>
2070 * Array.cs (Sort): Bail out early if length <= 1. Fixes #72721.
2072 2005-03-10 Zoltan Varga <vargaz@freemail.hu>
2074 * Environment.cs: Bump corlib version.
2076 2005-03-10 Martin Baulig <martin@ximian.com>
2078 * Nullable.cs (Nullable<T>.ToString): Return an empty string if
2081 2005-03-09 Zoltan Varga <vargaz@freemail.hu>
2083 * Activator.cs MonoType.cs: Applied patch from Carlos Alberto Cortez
2084 (carlos@unixmexico.org). Allow creation of valuetypes with no ctor.
2087 2005-03-04 Zoltan Varga <vargaz@freemail.hu>
2089 * Environment.cs: Bump corlib version.
2091 * Exception.cs (StackTrace): Return the wrapper info as well.
2093 2005-03-02 Kazuki Oikawa <kazuki@panicode.com>
2095 * NumberFormatter.cs: Some internal classes was converted to structs,
2096 and improved some points.
2098 2005-02-26 Kazuki Oikawa <kazuki@panicode.com>
2100 * NumberFormatter.cs: Improved performance and memory usage
2101 when integer standard format.
2112 * TimeSpan.cs: Improved these directly call to NumberFormatter.
2114 2005-02-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2116 * TermInfoDriver.cs: set the xmit mode if available. Handle key input
2117 and translate them into a ConsoleKeyInfo.
2118 * TermInfoReader.cs: added a method to return the bytes of a string
2120 * ConsoleKeyInfo.cs: added copy constructor and setters.
2122 2005-02-24 Zoltan Varga <vargaz@freemail.hu>
2124 * Array.cs: Add missing 2.0 attributes and correct some parameter names.
2126 2005-02-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
2128 * AppDomain.cs: Changed GetAssemblies, LoadAssembly, and Load signatures,
2129 and added some to support the reflection only methods. DoAssemblyResolve
2130 was modified to invoke the new PreBindAssemblyResolve event when the
2131 assembly is reflection only.
2133 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
2135 * GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
2136 Add net 2.0 ReliabilityContractAttributes.
2138 2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2140 * TermInfoDriver.cs: cygwin terminals are handled by the windows
2143 * TermInfoReader.cs:
2144 * TermInfoNumbers.cs:
2145 * KnownTerminals.cs:
2146 * TermInfoBooleans.cs:
2147 * TermInfoStrings.cs: documented.
2149 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
2151 * Array.cs: Reverse the order in the Equals calls.
2153 2005-02-18 Zoltan Varga <vargaz@freemail.hu>
2155 * Exception.cs (StackTrace): Implement this in managed code since it is
2156 needed by CAS. Fixes #72146.
2158 2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2160 * WindowsConsoleDriver.cs: implemented MoveBufferArea.
2162 2005-02-14 Raja R Harinath <rharinath@novell.com>
2164 * Array.cs (Array.Swapper) [!BOOTSTRAP_WITH_OLDLIB]: Make nested.
2167 2005-02-12 Ben Maurer <bmaurer@ximian.com>
2169 * Version.cs (CompareTo, Equals): Make sure the versions for
2170 generics handle `null'. The non-generics versions now just call
2171 the regular versions, to reduce code duplication.
2173 * Boolean.cs (CompareTo): make this really work for generics
2175 * Type.cs (GetProperty): Passing new Type [0] is different than
2176 null. null means `I don't care how many types this has,' while new
2177 Type [0] means `this must have 0 types.'
2179 2005-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2181 * corlib.dll.sources: added WindowsConsoleDriver.cs
2183 * System/ConsoleDriver.cs: use WindowsConsoleDriver on windows and
2184 implemented the few missing properties/methods.
2186 * System/IConsoleDriver.cs: uncommented all methods/properties.
2187 * System/TermInfoDriver.cs: implement changes from IConsoleDriver.
2188 * System/WindowsConsoleDriver.cs: implemented IConsoleDriver for
2189 windows. Only missing MoveBufferArea by now.
2191 2005-02-11 Zoltan Varga <vargaz@freemail.hu>
2193 * Type.cs (IsAssignableFrom): Add support for TypeBuilders.
2195 * Int32.cs AppDomain.cs: Fix warnings.
2197 2005-02-10 Marek Safar <marek.safar@seznam.cz>
2199 * IServiceProvider.cs: Is not ComVisible.
2201 * NonSerializedAttribute.cs: Fix AttributeUsage flags.
2203 * Type.cs: Fix ClassInterface attribute.
2205 Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
2207 * Delegate.cs: remove the finalizer from Delegate: this
2208 is handled internally by the runtime now.
2210 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2212 * Activator.cs: provide the Type name when throwing an exception.
2214 2005-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2216 * TimeZone.cs: lock on the static Hashtable instead of 'this'. Fixes
2219 Fri Feb 4 15:46:04 CET 2005 Paolo Molaro <lupus@ximian.com>
2221 * Array.cs: provide specialized versions of some methods.
2223 Thu Feb 3 15:15:25 CET 2005 Paolo Molaro <lupus@ximian.com>
2225 * String.cs: provide a managed memcpy and memset method
2226 for use both in corlib and from the JIT. Implement
2227 some methods with the managed helpers and remove some icalls.
2229 2005-01-31 Sebastien Pouliot <sebastien@ximian.com>
2231 * Exception.cs: Added Data property for NET_2_0 (required for new
2234 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2237 * TermInfoDriver.cs:
2238 * IConsoleDriver.cs:
2239 * Console.cs: added BufferWidth and BufferHeight.
2241 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2245 * TermInfoDriver.cs:
2246 * IConsoleDriver.cs: added a few more properties and fixed cursor
2249 2005-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2251 * ConsoleDriver.cs: static class that forwards the Console 2.0 class
2252 calls to the proper driver.
2253 * TermInfoDriver.cs: terminfo based console driver.
2254 * IConsoleDriver.cs: interface implemented by console drivers.
2256 * ConsoleCancelEventArgs.cs:
2257 * ConsoleCancelEventHandler.cs:
2259 * ConsoleModifiers.cs:
2260 * ConsoleSpecialKey.cs:
2262 * ConsoleKey.cs: new enumerations.
2264 * ConsoleKeyInfo.cs: New file.
2266 * TermInfoReader.cs: reader for terminfo capabilities files.
2268 * TermInfoNumbers.cs:
2269 * TermInfoBooleans.cs:
2270 * TermInfoStrings.cs: enumations for terminfo property names.
2272 * KnownTerminals.cs: byte arrays for selected terminals.
2274 * Console.cs: added more 2.0 methods and implemented some of them.
2277 2005-01-30 Atsushi Enomoto <atsushi@ximian.com>
2279 * Int32.cs : (FindSign) IndexOf() is better than creating substring.
2281 2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
2283 * BadImageFormatException.cs: Protect the fusion (GAC) log from being
2284 disclosed unless code has ControlPolicy and ControlEvidence.
2286 2005-01-27 Zoltan Varga <vargaz@freemail.hu>
2288 * Exception.cs: Compute stack trace on demand.
2290 2005-01-26 Sebastien Pouliot <sebastien@ximian.com>
2292 * Environment.cs: Removed hack for static class (NET_2_0). Added
2293 proper security for FailFast (documented in FDBK20543). Added new
2294 method IsRunningOnWindows to replace (Platform == 128) as the logic is
2295 gonna change in the future (Unix is id #4 in NET_2_0).
2297 2005-01-24 Sebastien Pouliot <sebastien@ximian.com>
2299 * Environment.cs: Added CAS security (both declarative and imperative)
2300 as a test. This shouldn't affect execution unless --security is
2303 2005-01-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2304 * Type.cs: Corrected implementation for the Type.FilterNameIgnoreCase
2305 and Type.FilterName delegates They weren't dealing with the optional '*'
2306 at the end of the filter mask
2308 2005-01-19 Zoltan Varga <vargaz@freemail.hu>
2310 * Array.cs: Fix a typo in the previous patch.
2312 * Array.cs: Fix some test failures in the generic methods.
2314 * Array.cs: Implement AsReadOnly.
2316 2005-01-13 Geoff Norton <gnorton@customerdna.com>
2318 * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE). Fixes
2321 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
2323 * AppDomain.cs: Removed Activate and ActivateNewProcess methods. They
2324 have been removed from 2.0.
2326 2005-01-11 Zoltan Varga <vargaz@freemail.hu>
2328 * Boolean.cs Char.cs Single.cs Double.cs: Implement IComparable<T> in
2331 2005-01-10 Sebastien Pouliot <sebastien@ximian.com>
2333 * ApplicationIdentity.cs: Throw ArgumentNullException if name is null.
2334 Add default culture (neutral) to the name when none is specified.
2335 * AppDomain.cs: Changed IsDefaultAppDomain (2.0). Is seems that we
2338 2005-01-09 Sebastien Pouliot <sebastien@ximian.com>
2340 * DateTime.cs: Reverted last patch for utc as it broke all certificate
2341 handling and another unit test in DateTime.
2343 2005-01-09 Miguel de Icaza <miguel@ximian.com>
2345 * DateTime.cs: Return immediately if useutc is set to true, there
2346 is no need to do the extra computation (which also happened to
2347 create a new DateTime using the `use_localtime' constructor, which
2348 lead to the erroneous date returns when using 'u' or `U'
2351 Fixes another bug in the regression test suite.
2353 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
2355 * AppDomain.cs: Fix the DefaultDomain property to return the root
2356 domain (as it seems that the root's Id isn't always 0).
2357 * BitConverter.cs: The "special support" for ToString(new byte[0]) is
2358 only for NET_2_0 - previously this was an ArgumentOutOfRangeException.
2360 2005-01-08 Miguel de Icaza <miguel@ximian.com>
2362 * IntegerFormatter.cs: The - sign inside the "negative" section in
2363 a multi-format string means `show the sign' only if it is the
2364 first token, not `copy verbatim'. In the other sections it means
2367 This makes things like: (-34).ToString ("#;-#") show up as "-34"
2370 The bad news is that this code needs to be rewritten to handle all
2371 the formatting cases, see bug #71112 for details.
2373 * Convert.cs (Convert.ToType): Throw an InvalidCastException if
2374 the conversion is invalid, not ArgumentException, this fixes
2375 another regression in our test suite.
2377 2005-01-08 Sebastien Pouliot <sebastien@ximian.com>
2379 * AppDomain.cs: Add ApplicationIdentity property for 2.0;
2380 * AppDomainManager.cs: Remove HostRefusedSet support (it does not
2383 2005-01-08 Zoltan Varga <vargaz@freemail.hu>
2385 * DateTime.cs: Create MaxValue and MinValue using a different constructor to avoid static
2386 initialization problems.
2388 2005-01-02 Ben Maurer <bmaurer@ximian.com>
2390 * Int32.cs: NumberStyles.AllowExponent was supported by the
2391 Int32.Parse function. From Akira <mei@work.email.ne.jp>. Fixes bug
2394 2005-01-01 Atsushi Enomoto <atsushi@ximian.com>
2396 * Base64FormattingOptions.cs : it was not in System namespace.
2398 2004-12-21 Atsushi Enomoto <atsushi@ximian.com>
2400 * DateTime.cs : If no progress on value string, don't regard as
2401 matched. This fixes bug #70707.
2403 2004-12-20 Sebastien Pouliot <sebastien@ximian.com>
2405 * Environment.cs: Bump corlib version.
2407 2004-12-16 Zoltan Varga <vargaz@freemail.hu>
2409 * Array.cs (DoBinarySearch): Fix a warning.
2411 2004-12-08 Zoltan Varga <vargaz@freemail.hu>
2413 * Environment.cs: Bump corlib version.
2415 * AppDomain.cs: Add new DefineInternalDynamicAssembly () method.
2417 2004-12-06 Ben Maurer <bmaurer@ximian.com>
2419 * Exception.cs: Prevent stringifying the type name on the
2420 ctor. this gets called a few times on every execution to create a
2423 2004-12-06 Martin Baulig <martin@ximian.com>
2425 * Decimal.cs: Decimal constant support has been merged into GMCS,
2428 2004-12-06 Zoltan Varga <vargaz@freemail.hu>
2430 * Environment.cs: Bump corlib version.
2432 * Environment.cs: Bump corlib version.
2434 2004-11-30 Zoltan Varga <vargaz@freemail.hu>
2436 * MonoType.cs (UnderlyingSystemType): Make this return this as in
2437 MS.NET. Fixes #56245.
2439 2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
2441 * GC.cs : Collect(generation) actually does not throw an exception
2442 even if generation > MaxGeneration (MS document bug).
2444 2004-11-28 Zoltan Varga <vargaz@freemail.hu>
2446 * Exception.cs: Implement _Exception under NET_2_0.
2448 * Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.
2450 * AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
2451 NotCancelableException.cs TimeoutException.cs: New files.
2453 2004-11-23 Raja R Harinath <rharinath@novell.com>
2455 * Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
2458 2004-11-23 Raja R Harinath <rharinath@novell.com>
2460 * Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
2461 without decimal constant support.
2463 2004-11-23 Marek Safar <marek.safar@seznam.cz>
2465 * Decimal.cs: Updated to use compiler decimal constant support.
2467 2004-11-20 Zoltan Varga <vargaz@freemail.hu>
2469 * MonoType.cs: Revert last change since it breaks remoting.
2471 2004-11-18 Zoltan Varga <vargaz@freemail.hu>
2473 * MonoType.cs (UnderlyingSystemType): Make this return this as in
2474 MS.NET. Fixes #56245.
2476 2004-11-17 Carlos Alberto Cortez <carlos@unixmexico.org>
2478 * INullable.cs: New interface added.
2479 * Nullable.cs: Methods added. Also a static Nullable class
2480 containing static methods.
2482 2004-11-15 Sebastien Pouliot <sebastien@ximian.com>
2484 * BitConverter.cs: Added support for special case when ToString is
2485 called with (new byte [0]).
2487 2004-11-10 Lluis Sanchez <lluis@novell.com>
2489 * Exception.cs: Added setter for StackTrace.
2491 2004-11-07 Ben Maurer <bmaurer@ximian.com>
2493 * IntegerFormatter.cs: Avoid .ToCharArray
2495 2004-11-06 Ben Maurer <bmaurer@ximian.com>
2497 * Single.cs, Double.cs (GetHashCode): Better hashcode impl
2499 2004-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2501 * InvalidOperationException.cs: make the message more meaningful and
2502 real. Fixes bug #69055.
2504 2004-10-28 Ben Maurer <bmaurer@ximian.com>
2506 * String.cs: Rather than == String.Empty, use .Length == 0. It
2507 is a bit faster (avoids a method call, and the code is less complex).
2509 2004-10-24 Fawad Halim <fawad@fawad.net>
2510 * Environment.cs: If an Environment variable value isn't found, leave the trailing % of the reference for further matches.
2511 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.
2512 This fixes bug #64995.
2514 2004-10-19 Lluis Sanchez <lluis@novell.com>
2516 * MarshalByRefObject.cs: Field _identity is not serializable.
2517 This fixes bug #68567.
2519 2004-10-17 Ben Maurer <bmaurer@ximian.com>
2521 * DateTime.cs (ZeroPad): Use unsafe code to speed this up. We
2522 avoid entering slow integer formatting code.
2524 (_ToString): Use ZeroPad here when possible, as it is faster.
2526 2004-10-11 Martin Baulig <martin@ximian.com>
2528 * Environment.cs: Bump corlib version to 28.
2530 2004-10-08 Zoltan Varga <vargaz@freemail.hu>
2532 * Convert.cs (ToType): Throw an exception when converting null to a
2533 valuetype. Fixes #67780.
2535 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
2537 * DateTime.cs : Performance fix. ParseExact() implementation should
2538 avoid s = s.Substring(1).
2540 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
2542 * DateTime.cs : When it it not exact parse, 'Z' is allowed as a suffix
2543 of m/s/t/z. This fixes bug 66723.
2545 Wed Oct 6 12:37:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
2547 * String.cs: make GetHashCode() managed.
2549 2004-10-04 Zoltan Varga <vargaz@freemail.hu>
2551 * AppDomain.cs: Make ThreadStatic variables static. Fixes #56614.
2553 * Runtime*Handle.cs ModuleHandle.cs: Add Equals + GetHashCode.
2555 * ModuleHandle.cs: Add missing methods.
2557 * RuntimeTypeHandle.cs: Add GetModuleHandle () method.
2559 2004-10-03 Zoltan Varga <vargaz@freemail.hu>
2561 * AttributeTargets.cs: Add 2.0 GenericParameter value.
2563 * Environment.cs: Bump corlib version.
2565 2004-10-02 Zoltan Varga <vargaz@freemail.hu>
2567 * Int32.cs UInt32.cs Byte.cs SByte.cs Int16.cs UInt16.cs Int64.cs UInt64.cs: Implement 2.0 TryParse methods.
2569 2004-09-30 Geoff Norton <gnorton@customerdna.com>
2571 * Convert.cs: ConvertToBase* was not endian aware. Implemented EndianSwap
2572 and swapping of all values before going into the BitConverter so that values
2573 are returned with proper endianess.
2575 2004-09-23 Martin Garton <martin@wrasse.demon.co.uk>
2577 * Convert.cs: ToType was returning unconverted object when it should
2578 fail with an ArgumentException.
2580 2004-09-27 Zoltan Varga <vargaz@freemail.hu>
2582 * Array.cs: Add stub for AsReadOnly<T>.
2584 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
2586 * Type.cs: Add MakePointerType && stub for ReflectionOnlyGetType.
2588 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
2591 2004-09-24 Zoltan Varga <vargaz@freemail.hu>
2593 * MonoCustomAttrs.cs (GetCustomAttributesBase): Add support for
2596 * MonoCustomAttrs.cs: Beginnings of support for returning 2.0 pseudo
2599 * MonoCustomAttrs.cs (RetrieveAttributeUsage): Avoid infinite recursion.
2601 * MonoCustomAttrs.cs (GetCustomAttributes): Fix the 'attributeType is
2602 sealed' optimization.
2604 * Type.cs: Implement 2.0 StructLayoutAttribute property.
2606 * Type.cs Add GetPseudoCustomAttributes () method.
2608 2004-09-24 Martin Baulig <martin@ximian.com>
2610 * Type.cs (Type.GetGenericParameterConstraints): New public method.
2612 2004-09-23 Zoltan Varga <vargaz@freemail.hu>
2614 * MonoCustomAttrs.cs (GetCustomAttributes): Rename the icall to
2615 GetCustomAttributesInternal and add a 'pseudoAttrs' argument.
2617 * Type.cs: Tweak Module property in 2.0 build.
2619 2004-09-23 Martin Baulig <martin@ximian.com>
2621 * Type.cs (Type.GenericParameterAttributes): New public property.
2623 2004-09-23 Martin Baulig <martin@ximian.com>
2625 * GenericParameterAttributes.cs: New file.
2627 2004-09-22 Zoltan Varga <vargaz@freemail.hu>
2629 * ModuleHandle.cs: Updated after changes to Module class.
2631 2004-09-21 Geoff Norton <gnorton@customerdna.com>
2633 * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
2634 this filter. Fixes bug #65778.
2636 2004-09-20 Zoltan Varga <vargaz@freemail.hu>
2638 * Environment.cs: Bump corlib version.
2640 2004-09-19 Zoltan Varga <vargaz@freemail.hu>
2642 * ModuleHandle.cs: New file.
2644 * RuntimeFieldHandle.cs: Add an internal ctor.
2646 2004-09-19 Dick Porter <dick@ximian.com>
2648 * Console.cs: Use the internal wrappers for StreamReader and
2649 StreamWriter that catch IOException.
2651 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
2653 * Environment.cs: Bumped mono_corlib_version to 25.
2655 2004-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2657 * AppDomain.cs: added SetupInformationNoCopy property, since
2658 SetupInformation creates a copy now, all updates to it should use the
2659 actual data. Fixes bug #61991 take 2.
2661 2004-09-09 Tim Coleman <tim@timcoleman.com>
2662 * Base64FormattingOptions.cs: New enum
2663 * Convert.cs: Add new ToBase64String methods for Fx 2.0
2665 2004-09-08 Marek Safar <marek.safar@seznam.cz>
2668 * GC.cs: Class is static for NET_2_0.
2670 2004-09-07 Ben Maurer <bmaurer@users.sourceforge.net>
2672 * Activator.cs: Make sure not to call .GetType on a
2673 null argument. fixes 63852
2675 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
2677 * Array.cs (Clear): make this an icall.
2679 2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
2681 * MonoCustomAttribute.cs: Avoid the call to GetBase when possible.
2683 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2685 * Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
2686 insensitive enironment variables hashtable once we create it.
2688 2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
2690 * AppDomain.cs: Changed 2 imperative security demands to declarative
2691 (unsupported) so it doesn't (for now) call the security runtime.
2693 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
2695 * Delegate.cs: Free the delegate trampoline in the finalizer.
2697 2004-08-26 Sebastien Pouliot <sebastien@ximian.com>
2699 * ApplicationId.cs: Completed GetHashCode using information from MS
2702 2004-08-23 Sebastien Pouliot <sebastien@ximian.com>
2704 * Boolean.cs: Added TryParse static method for NET_2_0 profile.
2706 2004-08-19 Atsushi Enomoto <atsushi@ximian.com>
2708 * DateTime.cs : When hour format is "hh", MS.NET (maybe incorrectly)
2709 allows 12, that should not be accepted (13 is rejected) and
2710 interpreted as 0. This fixes bug 63376.
2712 2004-08-17 Sebastien Pouliot <sebastien@ximian.com>
2714 * Version.cs: Fixed Clone so we can use it on versions with only
2715 major/minor or major/minor/build.
2717 2004-08-17 Martin Baulig <martin@ximian.com>
2719 * MonoType.cs (MonoType.getFullName): Added `bool full_name'
2720 argument specifying whether or not to include the type arguments.
2721 (MonoType.FullName): Don't include the type arguments.
2722 (MonoType.ToString): Include them here.
2724 * Environment.cs: Bumped mono_corlib_version to 24.
2726 2004-08-16 Duncan Mak <duncan@ximian.com>
2728 * AttributeUsageAttribute.cs: Change the AttributeUsage to
2729 AttributeTargets.Class, from AttributeTargets.All, fixes Zoltan's
2732 2004-08-11 Marek Safar <marek.safar@seznam.cz>
2734 * AppDomain.cs: Fixed typo of DefineDynamicAssembly argument.
2735 Added call to AddPermissionRequests to pass permissions
2737 * Environment.cs: Added a few Fx 2.0 methods
2739 2004-08-09 Sebastien Pouliot <sebastien@ximian.com>
2741 * ApplicationId.cs: Fixed typo to fix NET_2_0 compilation.
2742 * AppDomain.cs: Fixed use of Evidence and AppDomainSetup (copies, not
2743 references). Added (non-obsolete) Fx 2.0 properties and methods.
2744 * AppDomainSetup.cs: Added internal copy constructor.
2745 * DomainManagerInitializationFlags.cs: Fixed values.
2747 2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
2749 * AppDomainInitializer.cs: New Fx 2.0 class for AppDomain.
2750 * AppDomainManager.cs: New Fx 2.0 class for AppDomain.
2751 * ApplicationActivator.cs: New Fx 2.0 class for AppDomain.
2752 * ApplicationId.cs: New Fx 2.0 class.
2753 * ApplicationIdentity.cs: Fixed ToString.
2754 * DomainManagerInitializationFlags.cs: New Fx 2.0 flags for AppDomain.
2756 2004-08-05 Sebastien Pouliot <sebastien@ximian.com>
2758 * AppDomain.cs: Added a new icall, getDomainByID, to get the an
2759 AppDomain using it's Id. Completed SetAppDomainPolicy.
2760 * Environment.cs: Bumped mono_corlib_version to 23.
2762 2004-08-02 Martin Baulig <martin@ximian.com>
2764 * DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
2766 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
2768 * Environment.cs : GacPath on windows is based on mscorlib.dll, and
2769 now its location is changed.
2771 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
2773 * Environment.cs: Return the MS.NET 2.0 beta1 runtime version for the
2776 2004-07-18 Martin Baulig <martin@ximian.com>
2778 * Array.cs: Ben Maurer implemented all the new generic methods
2781 2004-07-17 Martin Baulig <martin@ximian.com>
2783 * Decimal.cs: Implement IComparable<Decimal>.
2785 2004-07-17 Martin Baulig <martin@ximian.com>
2787 * Byte.cs, Int16.cs, Int32.cs, Int64.cs, SByte.cs, String.cs,
2788 UInt16.cs, UInt32.cs, UInt64.cs: Implement IComparable<T>.
2790 2004-07-13 Sebastien Pouliot <sebastien@ximian.com>
2792 * ActivationContext.cs: New class in Fx 2.0. Required for
2793 System.Security.Policy.
2794 * ApplicationIdentity.cs: New class in Fx 2.0. Required for
2795 System.Security.Policy.
2796 * IApplicationDescription.cs: New interface in Fx 2.0. Required for
2797 System.Security.Policy.
2798 * IHostContext.cs: New interface in Fx 2.0. Required for
2799 System.Security.Policy.
2801 2004-07-12 Geoff Norton <gnorton@customerdna.com>
2803 * DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
2804 boundaries properly. This patch checkes ToLocalTime() to see if we're tripping over a boundary
2805 and will add/subtract the hour if needed
2807 2004-07-07 Geoff Norton <gnorton@customerdna.com>
2809 * Monotype.cs: Patch for bug #58844. Dont throw exceptions right away;
2810 pass through all the possibly BindingInfo's and keep a bool value as to the type
2811 of exception we might need to throw;
2813 2004-07-07 Geoff Norton <gnorton@customerdna.com>
2815 * Patch to fix bug #58973
2817 2004-07-02 Jackson Harper <jackson@ximian.com>
2819 * PlatformID.cs: New 2.0 values.
2821 2004-06-25 Ben Maurer <bmaurer@ximian.com>
2823 * Environment.cs: GetFolderPath has new behavior. r=miguel
2825 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
2827 * DateTime.cs: Throw ArgumentOutOfRangeException if the year is
2828 bigger than 9999. Fix bug #41845.
2829 * FloatingPointFormatter.cs: Applied correction from Jon Skeet on
2830 the "R"eversible format for negative numbers.
2832 2004-06-21 Jackson Harper <jackson@ximian.com>
2834 * Decimal.cs: Make sure to use invariant culture when parsing
2835 floats stringified with the invariant culture. Patch by Rodrigo
2838 2004-06-19 Atsushi Enomoto <atsushi@ximian.com>
2840 * FloatingPointFormatter.cs : Literal string should be kept in the
2843 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
2845 * DateTime.cs : Concatenating whitespace removal was not working fine.
2846 Modified FormatException message (1 cent kindness).
2848 2004-06-18 Ben Maurer <bmaurer@ximian.com>
2850 * Action.cs, ArraySegment.cs, Comparison.cs, Converter.cs, Predicate.cs:
2851 new generics classes
2852 * IComparable.cs: add the new <T> version.
2853 * EventHandler.cs: new <T> version.
2855 2004-06-18 Dick Porter <dick@ximian.com>
2857 * String.cs: The icall can cope with embedded \0 now.
2859 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
2862 - Added new common pattern "yyyy/M/dZ"
2863 - empty string should not be compared in _ParseEnum()
2864 - Use culture independent string comparison in _ParseString()
2865 - Whitespace removal should be checked after '..' token check (some
2866 pattern such like es-ES LongDatePattern contains spaces in '..').
2867 - formats null check should be done (to throw ArgumentNullException)
2869 - When specified one character format, dates are incorrectly regarded
2870 as to use invariant culture.
2872 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2874 * ArgIterator.cs: changed layout to Auto
2875 * DateTime.cs: changed layout to Auto
2877 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2879 * DateTime.cs: CRLF to LF
2881 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
2883 * Decimal.cs: Fixed regression in System.Data caused by the recent
2884 changes. Adapted (and moved) the code to correct the scale from
2885 SqlMoney. Removed unused (and unusable) IsOne and fixed IsZero (where
2886 scale has no importance).
2888 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
2890 * Activator.cs: In CreateInstance(), use Public|Instance if access binding
2891 attributes are omitted.
2893 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
2895 * DateTime.cs : GetDateTimeFormats(char, IFormatProvider) should also
2896 check if the format character is valid.
2898 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
2900 * DateTime.cs : AddDays(double) rounds the input.
2902 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
2904 * DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
2905 Fixed ToLocalTime() as well, but it does check range for MinValue.
2907 2004-06-17 Atsushi Enomoto <atsushi@ximian.com>
2909 * DateTime.cs : Added overflow check in ToUniversalTime() and
2910 ToLocalTime(). Fixed bug #60253.
2912 2004-06-16 Sebastien Pouliot <sebastien@ximian.com>
2914 * FloatingPointFormatter.cs: Implemented "R" format using Jon Skeet
2915 source code (with permission). Fix (biggest) part of bug #60110.
2916 http://www.yoda.arachsys.com/csharp/floatingpoint.html
2918 2004-06-15 Sebastien Pouliot <sebastien@ximian.com>
2920 * Decimal.cs: Fixed scale after Round (a different scale is correct
2921 from a math point of view but affect the string representation of the
2922 value). Note: other operations also have scale problems!
2923 * DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
2924 * FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
2925 rounding (which is the rounding provided by Math.Round). This fix bug
2926 #60111. The code (new Round methods) should be moved elsewhere (as it
2927 may also be required elsewhere) post Mono 1.0.
2929 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
2931 * AppDomainSetup.cs: added TODO for serialization
2932 * ExecutionEngineException.cs: added missing serialization ctor
2933 * InvalidProgramException.cs: added missing serialization ctor
2934 * MulticastNotSupportedException.cs: added missing serialization ctor
2935 * ObsoleteAttribute.cs: fixed serialization compatibility with MS.NET
2936 * Random.cs: fixed serialization compatibility with MS.NET
2938 2004-06-15 Paolo Molaro <lupus@ximian.com>
2940 * Type.cs: removed unused (and non-existing) icall type_is_instance.
2942 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2944 * Environment.cs: use internalGetHome instead of getting "HOME" as
2945 that variable may not be defined.
2947 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
2949 * TimeSpan.cs: Fixed timespan with large values for hours or minutes
2950 (overflow is only checked for days but can also occurs in hours and
2951 minutes which uses Int32 when multiplying). The new results match MS
2954 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
2956 * FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
2957 them with matching NumberFormatInfo properties.
2959 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
2961 * Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
2962 * FloatingPointFormatter.cs :
2963 Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
2965 Format Permille pattern (It is undocumented but actually available,
2966 and used in xsl:format-number).
2968 2004-06-14 Raja R Harinath <rharinath@novell.com>
2970 * Console.cs (Console.Write, Console.WriteLine): Disable __arglist
2971 version with BOOTSTRAP_WITH_OLDLIB.
2972 * String.cs (STring.Concat): Likewise.
2974 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
2976 * FloatingPointFormatter.cs :
2977 - Don't format more than 15 fraction digits. Don't report to Pedro
2978 directly (removing the error message with his concent).
2979 - When format string starts with '.', it means integral part format
2980 is not specified. Ignore '.' characters after the first
2981 appearance. Fixed bug #59890.
2982 - 0.0 is formatted only before the third ';' appearance.
2984 2004-06-11 Sebastien Pouliot <sebastien@ximian.com>
2986 * DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
2987 rounding logic which worked for FromOADate (while the newer didn't).
2988 * TimeSpan.cs: Now throw an OverflowException when the timespan is
2989 over MaxValue or under MinValue.
2991 2004-06-11 Martin Baulig <martin@ximian.com>
2993 * Console.cs (Write, WriteLine): Implemented the varargs versions.
2995 2004-06-11 Martin Baulig <martin@ximian.com>
2997 * String.cs (Concat): Implemented the varargs version.
2999 2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
3001 * Decimal.cs: Hacked the Parse method to allow the runtime C code to
3002 decode it properly (i.e. matching MS results). Fixed the Round method
3003 for negative decimal numbers (moved code from Math.cs).
3004 * Math.cs: Now use Decimal class for Round(Decimal,int). Required to
3005 fix a bug when rounding a negative decimal.
3007 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3009 * AppDomain.cs: set the _principal to null when changing the policy.
3010 * Console.cs: remove ClsCompliant attribute from a method marked as
3011 internal and added comment.
3013 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
3015 * Delegate.cs: marked protected fields private to match public
3016 API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
3017 protected to fix public API
3018 * Enum.cs: marked ctor protected to match public API of MS.NET
3019 * MulticastDelegate.cs: marked DynamicInvokeImpl protected to
3020 match public API of MS.NET
3022 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
3024 * DateTime.cs : Added more common patterns.
3026 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
3028 * Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
3029 be a performance winner (the actual Math code has a note to wait a
3030 better Decimal implementation) but it returns the correct results
3031 (without adding new code in corlib or the runtime). Fix #37744.
3033 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
3036 - A bunch of fixes (patch by Steven Brown). Fraction seconds are
3037 now represented as double. Strict token check for 'Z'.
3038 - Pattern validity check in GetDateTimeFormats(char).
3039 - Fixed pattern "yyyy/M/d HH:mm:ss".
3041 2004-06-09 Sebastien Pouliot <sebastien@ximian.com>
3043 * Decimal.cs: Fixed remainder (and optimized some cases not to call
3044 unmanaged code). Simplified divide. Removed workaround for bug #59793.
3045 Fixed GetHashCode to return different result for X and -X.
3047 2004-06-08 Atsushi Enomoto <atsushi@ximian.com>
3050 - Now re-checked all common format patterns. They should be tried
3051 with both current culture and invariant culture. Since '/' covers
3052 '-', removed extraneous patterns. Added more common patterns
3053 such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
3054 only after NET_1_1). Commented out 1 character format patterns.
3055 - The format patterns we should try should not be obtained by
3056 GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
3057 character patterns), to handle UTC correctly. Examined patterns
3058 are changed, to 1) common patterns with specified (or current)
3059 culture, 2) common patterns with invariant, 3) The above "one
3060 character patterns" with specified (or current) culture.
3061 - When trying to parse some kind of patterns such as RFC1123,
3062 always use invariant DateTimeFormatInfo so that they can avoid
3063 parsing with culture-dependent calendar.
3064 - Check "GMT" only when doing Parse(). Don't it when ParseExact().
3065 - Removed extraneous '-' case. It is not special one.
3066 - When ParseExact(), allow only '/' for '/' pattern character.
3067 - When Parse(), allow any non-letter & non-number characters.
3068 - When pattern is not fully parsed, reject that format.
3069 - Added "exact" parameter to some ParseExact().
3070 - RFC1123 pattern is (again) now parsed in local time. I regressed
3071 some problems in previous fix.
3073 2004-06-08 Sebastien Pouliot <sebastien@ximian.com>
3075 * Decimal.cs: Fixed cast to integer types to truncate (not round) the
3078 2004-06-07 Duncan Mak <duncan@ximian.com>
3080 * Exception.cs (Source): This can return null.
3082 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
3084 * DateTime.cs: Fixed FromFileTime for negative values. Fixed
3085 constructor to limit range of milliseconds from 0,999. Fixed
3086 ToType method to work for object, string and DateTime.
3088 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
3090 * DateTime.cs: Fixed OLE Automation date conversions: timezone
3091 insensitive, wrong exception in FromOADate, handling of Min/Max
3092 values, negative doubles where integer part is negative but
3093 decimals are positive! Charming format ;-)
3095 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
3097 * String.cs: Fixed Join in case separator parameter is null.
3098 * TimeSpan.cs: Cache format errors during parsing and throw
3099 FormatException only if there was no overflow.
3101 2004-06-06 Gert Driesen <drieseng@users.sourceforge.net>
3103 * MonoCustomAttrs.cs: fixed issue where an empty array was
3104 returned when GetCustomAttributes was invoked with null
3105 attribute type and there was only one result
3107 2004-06-06 Sebastien Pouliot <sebastien@ximian.com>
3109 * Decimal.cs: Fixed ToString(String.Empty) to default ("G").
3110 * Int16.cs: Fixed ToString(String.Empty) to default ("G").
3111 * Int32.cs: Fixed ToString(String.Empty) to default ("G").
3112 * Int64.cs: Fixed ToString(String.Empty) to default ("G").
3113 * SByte.cs: Fixed ToString(String.Empty) to default ("G").
3114 * UInt16.cs: Fixed ToString(String.Empty) to default ("G").
3115 * UInt32.cs: Fixed ToString(String.Empty) to default ("G").
3116 * UInt64.cs: Fixed ToString(String.Empty) to default ("G").
3118 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
3120 * Convert.cs: Fixed the convertion of negative integers (byte, short,
3121 int and long) into string in a specific base (2, 8, 10 or 16).
3123 2004-06-04 Sebastien Pouliot <sebastien@ximian.com>
3125 * Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
3126 the dividend is negative and the result is 0 (remainder).
3128 2004-06-03 Sebastien Pouliot <sebastien@ximian.com>
3130 * Delegate.cs: Fix the NullReferenceException in Combine(Delegate[]).
3132 2004-06-02 Sebastien Pouliot <sebastien@ximian.com>
3134 * TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
3135 spans. Fixed parsing when only days are presents in the string (which
3136 should be illegal according to the documentation but is supported).
3138 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
3140 * TimeSpan.cs: Fixed exceptions in FromXXX methods as they are
3141 somewhat different from the documentation.
3143 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
3145 * Type.cs: added missing attributes on InvokeMember
3147 2004-06-01 Miguel de Icaza <miguel@ximian.com>
3149 * String.cs: Flag concat with four arguments internal.
3151 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
3153 * Array.cs: Fixed legal case where value is null.
3154 * Byte.cs: Fixed ToString when format is an empty string (use "G").
3155 * Guid.cs: Renamed private fields (and changed some to signed) to
3156 match MS implementation and allow serialization to work. Fix
3159 2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3161 * DateTime.cs: adjust milliseconds for fraction specifier ('f').
3163 2004-05-30 Miguel de Icaza <miguel@ximian.com>
3165 * Console.cs: Remove *again* the version of WriteLine with four
3166 arguments; That should *not* be added.
3168 Flag it as internal as people migrate their code.
3170 2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
3172 * Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
3173 ArgumentNullException (only case, all other returns 0). Fixed exception
3174 reporting for hex prefix only strings. Fixed ChangeTo where null could
3175 be misinterpreted between null and Empty.
3177 2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
3179 * Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
3180 16), non-base 10 negative numbers ... see new unit tests. Fixed the
3181 case when we parse Int64.MinValue (positive doesn't fit a signed long).
3183 2004-05-28 Jackson Harper <jackson@ximian.com>
3185 * Environment.cs: Increment version number.
3187 2004-05-28 Zoltan Varga <vargaz@freemail.hu>
3189 * AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
3192 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
3194 * DateTime.cs : I reverted my fix by accident :(
3196 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
3199 - In ToString(), Don't use culture-dependent daynames to format
3200 Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
3201 - Fixed GetDateTimeFormats () that generated incorrect 'U' value
3202 (since the format string is the same as 'F').
3204 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
3206 * DateTime.cs : don't adjust utc value in ToString(). It must output
3207 the same time value, just adding 'Z' for UTC.
3209 2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
3211 * DateTime.cs : in 'Z' case, remove the 'Z' char from input before
3214 2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3216 * AppDomainSetup.cs: InitAppDomainSetup is not needed now.
3218 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
3220 * Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
3221 * Convert.cs: Convert with a base parameter cannot parse negative
3222 string numbers, even "-0".
3223 * UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
3224 * UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
3225 * UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.
3227 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
3230 - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
3231 to common formats (yes, I know it is nothing more than hack)
3232 - Fixed some GetDateTimeFormats() that just returned patterns.
3233 - For InvariantCulture, now try both supported formats and our
3235 - It was accepting incorrectly extraneous characters. That caused
3236 some UTC/non-UTC bug.
3237 - RFC1123 string should return universal time. Uncomment again (the
3238 problem should went away because of the extra characters fix above.
3240 With some of the changes above, fixed bug #47720.
3242 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
3244 * DateTime.cs : quick revert 'Z' support for certificate verifications.
3246 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
3248 * Array.cs: Removed duplicate condition if LastIndexOf.
3250 2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
3253 - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
3255 - As a quick remedy to accept more patterns, Parse() now also tries
3256 InvariantInfo patterns (this is because we have no more than one
3257 pattern for each pattern component.)
3258 - In _DoParse(), 'Z' should not be read as timezone specifier. Some
3259 culture uses 'Z' as AM/PM designer, and it should be recognized as
3260 part of the UTCpattern (if it actually UTC pattern for the culture
3263 2004-05-26 Gert Driesen (drieseng@users.sourceforge.net)
3265 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
3266 seems to allow multiple attributes with AllowMultiple at
3269 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
3271 * Byte.cs: Throw an OverflowException for negative numbers.
3272 * Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.
3273 * Environment.cs: Bumped mono_corlib_version to 20 (rng interface).
3275 2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
3277 * Array.cs: Fixed possible integer overflow.
3278 * BitConverter.cs: Fixed a possible integer overflow in ToString.
3279 * Guid.cs: Added an internal method to create a random Guid without
3280 using CryptoConfig (which is heavy on first use). This is only used
3281 in S.R.E.ModuleBuilder to speedup MCS compilation.
3282 * String.cs: Fixed reported exception for PadLeft|Right. Fixed
3283 possible integer overflow in methods that takes index and count
3286 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
3288 * String.cs: Add new Strcpy icalls which take a char array as
3291 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
3293 * DateTime.cs : added more invariant format patterns. This should
3294 really fix bug #57656.
3296 2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
3298 * BitConverter.cs (ToBoolean): Return true or false instead
3299 of unsafe returing byte as bool. Fixes bug #58874.
3301 2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
3303 * DateTime.cs : In ToString(string, IFormatProvider), use "G" if
3304 string format argument is null.
3306 2004-05-25 Lluis Sanchez Gual <lluis@ximian.com>
3308 * Version.cs: Rename of data fields to match those in Microsoft.NET.
3309 Patch by PAF@design.ru.
3311 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3313 * DateTime.cs: allow double quotes in the formats. Don't set
3314 next_not_digit to true in presence of single or double quotes. Patch by
3317 2004-05-24 Zoltan Varga <vargaz@freemail.hu>
3319 * AppDomainSetup.cs (InitAppDomainSetup): This one returns void.
3321 2004-05-23 Sebastien Pouliot <sebastien@ximian.com>
3323 * Array.cs: Fixed exception when we try to Clear outside bounds.
3324 * Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
3325 * BitConverter.cs: Fixed negative index and integer overflow in
3327 * Buffer.cs: Fixed integer overflow in BlockCopy.
3329 2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
3331 * Array.cs: Clear can now work on multidimentional arrays.
3332 * IntPtr.cs: We now only accept 32bits values in the long constructor
3333 unless we're on a 64 bits machine.
3334 * UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
3335 constructor unless we're on a 64 bits machine.
3337 2004-05-22 Duncan Mak <duncan@ximian.com>
3339 * Convert.cs: The file was mostly in DOS endings already, for the
3340 sake of consistency, converted it all to DOS endings.
3341 (ToType): When value is null, immediately return null and don't
3342 ever throw a NullReferenceException. When conversionType is null,
3343 throw an InvalidCastException. Give a better error message when
3344 attempting to convert to a DBNull as well.
3346 2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
3348 * Decimal.cs: Fixed To... methods that needs to trunk the integer part
3349 of Decimal (and not use the banker's rounding like Convert.To...).
3350 * Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
3351 to NaN compares (see new unit tests).
3353 2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
3355 * Convert.cs: Added checks for integer overflow for From|ToBase64Char.
3356 Also fixed the case where wide (16 bits) characters were converted to
3359 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
3361 * ThreadStaticAttribute.cs
3362 * ContextStaticAttribute.cs
3364 * ObsoleteAttribute.cs : now that Inherited is false by
3365 default on AttributeUsageAttribute (as it should be) we
3366 need to explicitly set Inherited to false for those
3367 attributes should it be be false.
3369 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
3371 * AttributeUsageAttribute.cs: Inherited property should be
3372 true by defaultrs.cs: respect Inherited property, and
3374 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
3376 * MonoCustomAttrs.cs: respect Inherited property, and
3377 AllowMultiple property of a CustomAttribute. This fixes
3378 a major issue we had with respect to custom attributes.
3380 2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)
3382 * MonoType.cs: throw ArgumentNullException when type parameter in
3383 GetCustomAttributes(Type, bool) is null
3385 2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
3387 * Buffer.cs: Added checks for null source and destination. Fix failing
3388 CryptoStream unit test.
3389 * Guid.cs: Fixed thread-safety issue. Simplified implementation to use
3390 pseudo-random numbers to generate GUIDs (as per section 3.4 of the
3391 spec). This removes the TODO to get the computer MAC address and
3392 the chances to get a duplicate GUID (across different machines).
3394 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3396 * TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
3397 than OverflowExceptions then something went wrong internally
3399 2004-05-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3401 * Char.cs: Fix long standing bug with ToLower/ToUpper not being
3404 2004-05-14 Zoltan Varga <vargaz@freemail.hu>
3406 * Buffer.cs: Optimize BlockCopy.
3408 * Environment.cs: Bump corlib version.
3410 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
3412 * __ComObject.cs : This class is not regarded as CLSCompliant by csc.
3413 See also bug #58478.
3415 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3417 * AppDomainSetup.cs: don't throw an exception if dynamic_base has not
3418 been set. Just return null as MS. Fixes bug #58120.
3420 2004-05-14 Marek Safar <marek.safar@seznam.cz>
3422 * Boolean.cs, Byte.cs, Char.cs, DBNull.cs, DateTime.cs,
3423 Decimal.cs, Double.cs, Enum.cs, Int16.cs, Int32.cs,
3424 Int64.cs, IntegerFormatter.cs, SByte.cs, Single.cs,
3425 String.cs, UInt16.cs, UInt32.cs, UInt64.cs: Removed
3426 useless [CLSCompliant (false)]
3429 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
3431 * __ComObject.cs: To please corcompare (no implementation).
3433 2004-05-13 Zoltan Varga <vargaz@freemail.hu>
3435 * Environment.cs: Bump corlib version.
3437 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
3439 * Environement.cs: Removed two security attributes for CurrentDirectory
3440 that weren't documented (and anyway we don't support them).
3442 2004-05-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3444 * Char.cs: Fix exceptions
3446 2004-05-11 Lluis Sanchez Gual <lluis@ximian.com>
3448 * MissingMemberException.cs: Fix in serialization constructor.
3450 2004-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3452 * Environment.cs: GetGacPath return value is resolved at runtime on
3455 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
3457 * Convert.cs: ToBase64CharArray method was depending on a bug in
3458 S.S.C.ToBase64Transform class to work. Added an internal method to
3459 provide the same functionality (multiple block processing).
3461 2004-05-06 Jackson Harper <jackson@ximian.com>
3463 * Environment.cs: Make $HOME the personal directory.
3465 2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
3467 * Convert.cs: ToBase64String method was depending on a bug in
3468 S.S.C.ToBase64Transform class to work. Added an internal method to
3469 provide the same functionality (multiple block processing).
3471 2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
3473 * Environment.cs: Completed OSVersion property.
3474 * Version.cs: Added internal CreateFromString() to "try" to build the
3475 best version number form the specified string.
3477 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3479 * TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
3480 Fixes several potential bugs and makes things way faster.
3482 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3484 * TimeSpan.cs: Formatting changes
3486 2004-04-29 Ben Maurer <bmaurer@users.sourceforge.net>
3488 * Activator.cs: change _flags to a const.
3489 * IntegerFormatter.cs: make tables readonly.
3490 * Convert.cs: tables readonly
3491 * DateTime.cs: ditto.
3492 * IntPtr.cs: avoid a cctor.
3494 2004-04-29 Jackson Harper <jackson@ximian.com>
3497 * Type.cs: NET_2_0 now instead of 1_2.
3499 2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3501 * Environment.cs: implemented GetLogicalDrives.
3503 2004-04-28 Miguel de Icaza <miguel@ximian.com>
3505 * Applied patch from Atsushi Enomoto that allows Synchronized
3506 writers to have a `dont close' flag, this fixes 52094
3508 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
3510 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not
3511 return the method if it is private (it did until now because of a
3512 bug). Make sure it works as it worked before the fix.
3513 * Type.cs: Implemented FilterAttribute delegate.
3515 2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3517 * IntegerFormatter.cs: Prevent the use of the explicit static constuctor
3519 2004-04-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3521 * IntegerFormatter.cs: Made functions internal (needed by other patches)
3523 2004-04-27 Lluis Sanchez Gual <lluis@ximian.com>
3525 * DateTime.cs: TODO cleaning.
3526 * Delegate.cs: GetObjectData should be virtual.
3527 * IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
3528 30 methods almost identical.
3529 * MulticastDelegate.cs: Implemented GetObjectData.
3531 2004-04-26 Jackson Harper <jackson@ximian.com>
3533 * Environment.cs: Things going bump in the night.
3535 2004-04-25 Miguel de Icaza <miguel@ximian.com>
3537 * Convert.cs (toBase64Transform): Make private.
3539 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3543 * DecimalFormatter.cs:
3544 * FloatingPointFormatter.cs: Call invariant Char functions
3545 * Guid.cs: Call invariant Char and String functions
3546 * String.cs: Call invariant Char functions
3548 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3550 * String.cs: Refactored the Invariant ToXXX into its own internal methods
3551 so they are directly callable within corlib (can prevent early
3552 construction of CultureInfo, InvariantCulture and related classes)
3554 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3556 * String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
3557 * Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper
3559 2004-04-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3561 * String.cs: Check for null values
3563 2004-04-23 Peter Bartok <pbartok@novell.com>
3565 * Environment.cs: GetLogicalDrives now returns "/" instead of null. Gonzalo
3566 will do a better fix in the future, but this way apps can at least use it.
3568 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
3570 * Environment.cs: Better support for GetFolderPath (same results as MS
3573 2004-04-22 Lluis Sanchez Gual <lluis@ximian.com>
3575 * Activator.cs: Removed TODOs for finished methods.
3576 * AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
3577 must be relative to the current directory, not the temp directory.
3578 Implemented DynamicBase.
3579 * Convert.cs: No need to create a ToBase64Transform instance at every call
3580 to ToBase64CharArray.
3581 * DateTime.cs: Implemented missing methods FromFileTimeUtc and
3583 * Decimal.cs: Implemented FromOACurrency and ToOACurrency.
3584 * Delegate.cs: Removed class TODO.
3585 * IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
3587 * Type.cs: Removed TODOs for things already implemented.
3589 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
3591 * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
3592 * MulticastDelegate.cs: Removed unused code.
3594 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
3596 * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
3597 * Array.cs: Removed some TODOs in CreateInstance and IndexOf.
3598 * BadImageFormatException.cs: TODO reformat.
3599 * DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
3600 * DelegateSerializationHolder.cs: Made class internal.
3601 * Enum.cs: Removed TODO for localization, since this is something that has
3602 to be done for all classes.
3603 * Environment.cs: Removed TODO.
3604 * Exception.cs: Changed ToString to use StringBuilder.
3605 * MonoDummy.cs: Made class internal.
3606 * UnitySerializationHolder.cs: Added support for modules.
3608 2004-04-16 David Sheldon <dave-mono@earth.li>
3610 * DecimalFormatter.cs: Don't append a decimal point after the
3611 end of a number. ((decimal)1).ToString("P0") should be "100 %", not
3614 2004-04-09 Miguel de Icaza <miguel@ximian.com>
3616 * OutOfMemoryException.cs: Removed the call to Locale.GetText from
3619 2004-04-10 Gert Driesen (drieseng@users.sourceforge.net)
3621 * MonoDummy.cs: added MonoTODO to make sure we remove this class
3622 when its no longer needed
3624 2004-04-09 David Sheldon <dave-mono@earth.li>
3626 * Convert.cs: Allow + signs in strings for ToInt32, and
3629 2004-04-08 Atsushi Enomoto <atsushi@ximian.com>
3631 * Nullable.cs : usingdecl should also be conditional.
3633 2004-04-07 Martin Baulig <martin@ximian.com>
3635 * Nullable.cs: New file.
3637 2004-04-07 Martin Baulig <martin@ximian.com>
3639 * Type.cs (Type.GetGenericArguments): Make this abstract.
3641 2004-04-07 Jackson Harper <jackson@ximian.com>
3643 * Environment.cs: Increase corlib version number.
3645 2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3648 (ExpandEnvironmentVariables): on windows, env. vars. are case
3651 2004-04-06 Sebastien Pouliot <sebastien@ximian.com>
3653 * AppDomain.cs: Added static to [ThreadStatic] _principal field.
3654 Removed [ThreadStatic] for _principalPolicy (not required).
3656 2004-04-06 Miguel de Icaza <miguel@ximian.com>
3658 * Guid.cs: Flag as Sequential.
3660 2004-04-02 Dick Porter <dick@ximian.com>
3662 * String.cs: More sanity checks in Replace(). Fixes bug 55822.
3664 2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
3666 * Environment.cs: Implement ExpandEnvironmentVariables static method.
3667 Now call the runtime to get the username (fix #56144).
3669 2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3671 * MonoType.cs: AssemblyQualifiedName now displays culture, version...
3674 2004-03-29 Miguel de Icaza <miguel@ximian.com>
3676 * Console.cs: If we fail to open stdin/stdout/stderr, create
3677 readers with a NullStream. This can happen if our caller does not
3678 setup stdin/stoud/stderr file handles. #56158 exposed this, but
3679 it will happen elsewhere.
3681 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
3683 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue
3684 and Single.MinValue. MS.NET don't do it. This fixes bug #56005.
3685 * Guid.cs: Added support for guid strings in the "N" and "P" formats in
3686 the constructor. This fixes bug #54019.
3688 2004-03-23 Lluis Sanchez Gual <lluis@ximian.com>
3690 * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
3691 internal variables to structures that are moved around methods.
3692 Factorized some common formatting code into FormatNumberInternal.
3694 2004-03-23 Dick Porter <dick@ximian.com>
3696 * DateTime.cs: Allow any character for DateSeparator when parsing,
3697 except TimeSeparator, a digit or a letter. Fixes bug 54047. Also
3698 deleted the previous fix for 54721, because this covers it too.
3700 2004-03-23 Dick Porter <dick@ximian.com>
3702 * DateTime.cs: Check the date string for too many digits when
3703 parsing. Fixes bugs 53023 and 53025.
3705 2004-03-22 Dick Porter <dick@ximian.com>
3707 * String.cs: Use the provider when converting strings to other
3710 * DateTime.cs: Add MM-dd-yyyy to the list of standard date parsing
3711 formats. Fixes bug 54721.
3713 2004-03-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3715 * Console.cs: Styled, optimized calls
3716 * CrossAppDomainDelegate.cs: Small header fix
3717 * Buffer.cs: Style, improve errors
3718 * BitConverter.cs: Style, improve errors, remove obsolete comment
3719 * Attribute.cs: Style, improve errors, small fix
3720 * Array.cs: Style, improve errors, small fix, added TODOs
3721 * Activator.cs: Style, localized errors, added error checks
3722 * Byte.cs: Style, localized errors, fixed wrong exception parameters
3725 * AppDomainSetup.cs: Style
3726 * AppDomain.cs: Style, implemented two methods (redirect)
3728 2004-03-21 Jackson Harper <jackson@ximian.com>
3730 * FloatingPointFormatter.cs: Set precision from number format info
3731 when it is not specified. This fixes bug #54983.
3733 2004-03-18 Nick Drochak <ndrochak@ieee.org>
3735 * Math.cs: Use IsNaN() method not "x == NaN".
3737 2004-03-16 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3739 * EntryPointNotFoundException.cs
3740 * DuplicateWaitObjectException.cs
3741 * DllNotFoundException.cs
3742 * DivideByZeroException.cs
3743 * ContextMarshalException.cs
3744 * CannotUnloadAppDomainException.cs
3745 * BadImageFormatException.cs
3746 * ArrayTypeMismatchException.cs
3747 * ArithmeticException.cs
3748 * ArgumentOutOfRangeException.cs
3749 * ArgumentNullException.cs
3750 * ArgumentException.cs
3751 * ApplicationException.cs
3752 * AppDomainUnloadedException.cs: Added missing HResult overrides
3754 * BadImageFormatException.cs: Improved/ Fixed implementation
3756 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
3758 * Random.cs: Corrected random value when Next is called with a
3759 negative value. Testing indictae that our results aren't exactly the
3760 same as MS, we have a +/- 1 (probably rounding errors due to
3761 different implementation).
3763 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3765 * Environment.cs: updated corlib version.
3767 2004-03-15 Lluis Sanchez Gual <lluis@ximian.com>
3769 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
3770 SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
3771 field "value" to "m_value", so it is interoperable with MS.NET when
3772 serializing and deserializing data. Based on the patch from Daniel
3775 2004-03-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3777 * TypeInitializationException.cs
3778 * SystemException.cs
3779 * StackOverflowException.cs
3781 * OverflowExceptionException.cs
3782 * OutOfMemoryException.cs
3783 * NullReferenceException.cs
3784 * NotSupportedException.cs
3785 * NotFiniteNumberException.cs
3786 * InvalidOperationException.cs
3787 * InvalidCastException.cs
3788 * IndexOutOfRangeException.cs
3789 * FormatException.cs
3790 * ExecutionEngineException.cs: improved parameter names
3792 2004-03-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3795 * EntryPointNotFoundException.cs
3796 * DuplicateWaitObjectException.cs
3797 * DoubleFormatter.cs
3798 * DllNotFoundException.cs
3799 * DivideByZeroException.cs
3800 * DelegateSerializationHolder.cs
3803 * ContextStaticAttribute.cs
3804 * ContextMarshalException.cs
3805 * ContextBoundObject.cs
3806 * CLSCompliantAttribute.cs
3808 * CannotUnloadAppDomainException.cs
3809 * BadImageFormatException.cs
3810 * AttributeUsageAttribute.cs
3811 * AttributeTargets.cs
3813 * AssemblyLoadEventHandler.cs
3814 * AssemblyLoadEventArgs.cs
3815 * ArrayTypeMismatchException.cs
3816 * ArithmeticException.cs
3817 * ArgumentOutOfRangeException.cs
3818 * ArgumentNullException.cs
3819 * ArgumentException.cs
3821 * ApplicationException.cs
3822 * AppDomainUnloadedException.cs
3823 * AppDomain.cs: Mono styled, fixed exceptions/ locales
3824 removed excess usings
3826 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
3828 * Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
3829 spaces) which fixed #54939. Changed the way that the length is
3830 validated (multiple of 4) because the ignored characters must not be
3831 included in the count.
3833 2004-03-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3835 * String.cs: Monostyled
3837 2004-03-09 Jackson Harper <jackson@ximian.com>
3839 * Char.cs: Only use a byte for numeric data.
3841 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3843 * TypedReference.cs: Added missing Attributes
3844 * ParamArrayAttribute.cs: Small style fix
3845 * OperatingSystem.cs: Added .Net 1.1 member
3847 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3849 * FieldAccessException.cs
3850 * FormatException.cs
3851 * InvalidCastException.cs
3852 * InvalidOperationException.cs
3853 * MemberAccessException.cs
3854 * MethodAccessException.cs
3855 * MissingFieldException.cs: Locale strings
3856 * MissingMemberException.cs: Locale strings
3857 * MissingMethodException.cs: Locale strings
3858 * NotFiniteNumberException.cs
3859 * NotImplementedException.cs
3860 * NotSupportedException.cs
3861 * NullReferenceException.cs
3862 * ObjectDisposedException.cs
3863 * OutOfMemoryException.cs
3864 * OverflowExceptionException.cs
3865 * PlatformNotSupportedException.cs
3866 * RankException.cs: Added missing HResult overrides
3868 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3870 * RuntimeTypeHandle.cs
3871 * RuntimeMethodHandle.cs
3872 * RuntimeFieldHandle.cs: Implemented serialization (partially untested)
3874 2004-03-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3878 * ExecutionEngineException.cs
3879 * FieldAccessException.cs
3880 * FormatException.cs
3883 * IndexOutOfRangeException.cs
3885 * InvalidCastException.cs
3886 * InvalidOperationException.cs
3887 * InvalidProgramException.cs
3888 * IServiceProvider.cs
3889 * LoaderOptimization.cs
3890 * LoaderOptimizationAttribute.cs
3891 * MarshalByRefObject.cs
3893 * MemberAccessException.cs
3894 * MethodAccessException.cs
3895 * MissingFieldException.cs
3896 * MissingMemberException.cs
3897 * MissingMethodException.cs
3898 * MultiCastDelegate.cs
3899 * MulticastNotSupportedException.cs
3900 * NonSerializedAttribute.cs
3901 * NotFiniteNumberException.cs
3902 * NotImplementedException.cs
3903 * NotSupportedException.cs
3904 * NullReferenceException.cs
3905 * ObjectDisposedException.cs
3906 * ObsoleteAttribute.cs
3907 * OperatingSystem.cs
3908 * OutOfMemoryException.cs
3909 * OverflowExceptionException.cs
3911 * PlatformNotSupportedException.cs
3914 * ResolveEventArgs.cs
3915 * ResolveEventHandler.cs
3916 * RuntimeFieldHandle.cs
3917 * RuntimeMethodHandle.cs
3918 * RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
3919 removed excess usings
3921 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3923 * SystemException.cs: Exceptions set the HResult
3924 * TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
3925 * SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException
3927 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3930 * TypeLoadException.cs
3931 * TypeInitializationException.cs
3934 * ThreadStaticAttribute.cs
3935 * SystemException.cs
3936 * STAThreadAttribute.cs
3937 * StackOverflowException.cs
3938 * SingleFormatter.cs
3940 * SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
3941 removed excess usings
3943 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3945 * UnauthorizedAccessException.cs: Exceptions set the HResult
3946 * UInt64.cs: Implemented two missing methods
3947 * UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
3948 * UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert
3950 2004-03-08 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3956 * UnitySerializationHolder.cs
3957 * UnhandledExceptionEventHandler.cs
3958 * UnauthorizedAccessException.cs
3962 * UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes
3964 2004-03-04 Lluis Sanchez Gual <lluis@ximian.com>
3966 * Environment.cs: Bump corlib version.
3968 2004-03-04 Jackson Harper <jackson@ximian.com>
3970 * Char.cs: New managed implementation. Modified patch by Andreas Nahr.
3972 2004-02-27 Lluis Sanchez Gual <lluis@ximian.com>
3974 * String.cs: Concat() fixed crash when one of the arguments is an object
3975 whose ToString() method returns null.
3976 * TypeLoadException.cs: Added some serialization fiels, needed for
3977 compatibility with MS.NET.
3979 2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
3981 * String.cs (Equals): Speed up this method by avoiding Array
3982 Bounds Checks and by comparing by 32 bit words rather than 16 bit chars.
3984 This gives between 0x (for 1 char) and >2x (for large strings)
3985 factor of improvement.
3987 A big thanks to Miguel, who suggested the integer compares.
3989 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3991 * MonoType.cs: use the binder in GetPropertyImpl.
3993 2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3995 * Math.cs: MonoStyled, replaced space with tabs,
3996 speedup of some methods by avoiding method calls
3998 2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
4000 * Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
4001 (Moved from InternalCall to Managed code).
4003 2004-02-17 Martin Baulig <martin@ximian.com>
4005 * MonoType.cs (GetConstructors): Renamed the interncall to
4006 GetConstructors_internal(), made it internal and added a `Type
4007 reflected_type' argument to it.
4008 (GetEvents, GetFields): Likewise.
4009 (GetMethodsByName): Added `Type reflected_type' argument.
4010 (GetPropertiesByName): Likewise.
4012 2004-02-16 Jackson Harper <jackson@ximian.com>
4014 * FloatingPointFormater.cs: Allow precision to be up to the number
4015 of decimals without rounding.
4017 2004-02-14 Zoltan Varga <vargaz@freemail.hu>
4019 * Delegate.cs (Equals): Do not compare method_ptr, since it might
4020 point to a trampoline.
4022 2004-02-12 Jackson Harper <jackson@ximian.com>
4024 * AppDomainSetup.cs: If relative paths are used they should be
4025 rooted in the temp directory.
4027 2004-02-11 Marek Safar <marek.safar@seznam.cz>
4029 * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.
4031 2004-02-10 Zoltan Varga <vargaz@freemail.hu>
4033 * AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
4034 avoid an assert in the runtime.
4036 2004-02-08 Duncan Mak <duncan@ximian.com>
4038 * Convert.cs (ToType): Always let a Convert.ChangeType call
4039 succeed if the source object is already of the destination type.
4041 Patch by Ian MacLean (ianm@activestate.com).
4043 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
4045 * AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
4047 2004-02-02 Zoltan Varga <vargaz@freemail.hu>
4049 * Environment.cs: Bump corlib version.
4051 2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
4053 * DateTime.cs: Corrected support for "Z" in the mask (Parse). This
4056 2004-01-27 Sebastien Pouliot <spouliot@videotron.ca>
4058 * Exception.cs: Changed ToString to remove the \n when no stack trace
4059 is present (which fixed a unit test for SecurityException). Changed
4060 all \n to Environment.NewLine.
4062 2004-01-27 Lluis Sanchez Gual <lluis@ximian.com>
4064 * ContextBoundObject.cs: Removed TODO.
4066 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4068 * TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
4069 (double), which might round up.
4071 2004-01-19 Jackson Harper <jackson@ximian.com>
4073 * FloatingPointFormatter.cs: Use the default decimal digits count
4074 if they are not specified. This fixes bug #52927.
4076 2004-01-19 Zoltan Varga <vargaz@freemail.hu>
4078 * Environment.cs: Bump version number.
4080 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
4082 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
4083 uses IsAssignableFrom(o.GetType()), which is not always valid for
4084 transparent proxies (because GetType will not return the type of the remote
4085 object if its assembly is not present).
4087 2004-01-18 David Sheldon <dave-mono@earth.li>
4089 * FloatingPointFormatter.cs: Skip the decimal point if we have an
4090 integer mantassa. So: 1E+15, rather than 1.E+15.
4092 2004-01-18 David Sheldon <dave-mono@earth.li>
4094 * Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
4095 even though docs say it should be an ArgumentNull. Two test cases now
4096 pass. See also nickd's commit of 2003-12-24.
4098 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4100 * Environment.cs: increased corlib version.
4102 2004-01-14 Lluis Sanchez Gual <lluis@ximian.com>
4104 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
4105 be reused because they could be modified. This fixes bug #52655.
4107 2004-01-12 Patrik Torstensson
4109 * Environment.cs: Bump corlib version number due to new StringBuilder
4111 * String.cs: New internal method to support the new StringBuilder that
4112 uses the string as a buffer (until ToString is called)
4114 2004-01-12 Zoltan Varga <vargaz@freemail.hu>
4116 * Environment.cs: Bump corlib version number for real this time.
4118 * AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
4119 the runtime, so it can take into account the Culture etc.
4121 * Environment.cs: Bump corlib version number.
4123 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4125 * MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
4126 new parameter with the method name and a boolean for ignoring case.
4127 Removed some string comparisons no longer needed.
4129 2004-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4131 * MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
4132 new parameter with the property name and a boolean for ignoring case.
4135 2004-01-11 David Sheldon <dave-mono@earth.li>
4137 * DateTime.cs: Correct processing of formats with multiple '-'s, fixing
4140 2004-01-10 Zoltan Varga <vargaz@freemail.hu>
4142 * AppDomain.cs: Keep track of type resolve and assembly resolve
4143 events in progress to prevent infinite recursion.
4145 2004-01-06 Miguel de Icaza <miguel@ximian.com>
4147 * Console.cs: Test for UTF-8 being present anywhere on the
4148 string, also do ToUpper instead of ToLower, which will work even
4149 around the ICU bug with different locales (#52065), and addresses #52101
4151 2004-01-05 Zoltan Varga <vargaz@freemail.hu>
4153 * Environment.cs: Bump version.
4155 2003-12-24 Ben Maurer <bmaurer@users.sourceforge.net>
4157 * Type.cs (IsNotPublic): One would normally assume that
4158 IsNotPublic == !IsPublic, but this is not the case (note to MS,
4159 make better names ;-). Fixes #52547, `Type.IsNotPublic not
4160 correct for Nested types'
4162 2003-12-24 Nick Drochak <ndrochak@ieee.org>
4164 * Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
4165 even though docs say it should be an ArgumentNull. Sent email to MS
4168 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
4170 * Exception.cs: Several changes to make it compatible with MS.NET (needed
4171 for remoting interoperability): set a default value for hresult, added
4172 initialization of class_name, serialization field RemoteStackTrace must
4173 be RemoteStackTraceString, added ser. field ExceptionMethod.
4175 * IndexOutOfRangeException.cs: Added serialization constructor.
4177 2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
4180 Int64 (Parse): Fix overflow checking for AllowHexSpecifier
4182 2003-12-20 Zoltan Varga <vargaz@freemail.hu>
4184 * MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
4185 user supplied no parameter info, but not when the user supplied an
4186 empty parameter list. This fixes IKVM.
4188 * Environment.cs: Bump corlib version.
4190 2003-12-19 Dick Porter <dick@ximian.com>
4192 * String.cs: Added Compare shortcut for length==0.
4194 2003-12-17 Zoltan Varga <vargaz@freemail.hu>
4196 * Environment.cs: Bump corlib version.
4198 2003-12-17 Dick Porter <dick@ximian.com>
4200 * String.cs: Fix StartsWith and EndsWith when the argument is the
4201 empty string. Fixes bug 52283.
4203 2003-12-16 Zoltan Varga <vargaz@freemail.hu>
4205 * Environment.cs (HasShutdownStarted): Implement.
4207 2003-12-15 Zoltan Varga <vargaz@freemail.hu>
4209 * Environment.cs (HasShutdownStarted): Make this static under NET 1.1.
4211 * Environment.cs: Bump version number.
4213 2003-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4215 * DateTime.cs: don't bail out with that year out of range error on
4216 stuff like "MM/dd/yyyy HH:MM:ss".
4218 2003-12-13 Zoltan Varga <vargaz@freemail.hu>
4220 * Environment.cs: Make it a const instead.
4222 * Environment.cs: Make version field static.
4224 2003-12-10 Zoltan Varga <vargaz@freemail.hu>
4226 * Type.cs: Make DefaultBindingFlags protected.
4228 * Environment.cs: Applied patch from Todd Berman (tbermann@gentoo.org).
4229 Add new GacPath property + its associated icall.
4231 2003-12-09 Anirban Bhattacharjee <banirban@novell.com>
4233 * DateTime.cs : Bugs fixed (41845, 51422)
4234 * MonoType.cs : Exception message changed
4236 2003-12-08 Martin Baulig <martin@ximian.com>
4238 * Type.cs (MakeByRefType): New public method.
4240 2003-12-08 Zoltan Varga <vargaz@freemail.hu>
4242 * Environment.cs: Add a version number for the corlib-runtime interface
4243 to make it easier to diagnose problems resulting from a mismatch
4246 2003-12-08 Patrik Torstensson <p@rxc.se>
4248 * Type.cs (GetMethod): Check type arguments within array
4249 * MonoType.cs (GetMethodImpl): Handle methods with a new slot
4250 (same signature but different classes (derived level)
4252 2003-12-07 Zoltan Varga <vargaz@freemail.hu>
4254 * Type.cs (MakeArrayType): Add argument checking.
4256 2003-12-06 Dick Porter <dick@ximian.com>
4258 * String.cs: Don't use CompareInfo for non-culture-sensitive
4259 IndexOf and LastIndexOf methods.
4261 2003-12-06 Ravindra <rkumar@novell.com>
4263 * DateTime.cs: Made Parse(string, IFormatProvider) method to
4264 use second argument. Fixed bug #51464.
4266 2003-12-04 Martin Baulig <martin@ximian.com>
4268 * Type.cs (Type.MakeArrayType): New public method.
4270 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4273 (BlockCopy): make the exception thrown helpful.
4275 2003-12-03 Dick Porter <dick@ximian.com>
4277 * String.cs: Calling Replace on an empty string returns itself.
4279 2003-12-03 Zoltan Varga <vargaz@freemail.hu>
4281 * MonoType.cs: Get rid of get_type_info, use a separate icall for
4282 each property instead.
4284 2003-12-02 Dick Porter <dick@ximian.com>
4286 * Decimal.cs: Fix NumberFormatInfo lookup. Patch by
4287 Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.
4289 2003-12-01 Dick Porter <dick@ximian.com>
4291 * String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
4292 Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
4294 2003-11-28 Dick Porter <dick@ximian.com>
4299 * Boolean.cs: Do string compares with the Invariant culture.
4301 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
4303 * Array.cs: make the enumerator ICloneable
4305 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
4307 * Decimal.cs (ToXXX): Call Convert.ToXXX.
4309 2003-11-26 Zoltan Varga <vargaz@freemail.hu>
4311 * AppDomain.cs: Applied patch from ztashev@openlinksw.co.uk (Zdravko Tashev).
4312 Implement Load(byte[]) methods.
4314 * BadImageFormatException.cs: Fix ToString.
4316 2003-11-24 Zoltan Varga <vargaz@freemail.hu>
4318 * MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
4319 GetConstructor, as done by MS.
4321 2003-11-19 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4323 * FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings
4325 2003-11-18 Lluis Sanchez Gual <lluis@ximian.com>
4327 * TypeInitializationException.cs: Added missing serialization constructor.
4329 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4331 * AppDomainSetup.cs: Don't add an extra '/' at the end of
4332 ApplicationBase. The tests pass now with mono.
4334 2003-11-18 Zoltan Varga <vargaz@freemail.hu>
4336 * ValueType.cs: New optimized implementation for Equals and GetHashCode.
4338 2003-11-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4340 * Environment.cs: use Directory in CurrentDirectory property.
4341 We were not throwing any exception when setting the directory to an
4344 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4347 * Delegate.cs: implemented 1.1 stuff.
4350 * IntPtr.cs: removed extra attribute.
4351 * PlatformID.cs: added WinCE.
4353 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4356 (Equals): compare the fields of structs too.
4357 (GetHashCode): combine the hash code of all the fields.
4358 Fixes bug #50901 (will remove the icall in a couple of days).
4360 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4362 * Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.
4364 2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4366 * DateTime.cs: handle century when we try to parse 4-digit years and
4367 only 2 digits are present. Fixes bug #49394.
4369 2003-11-13 Miguel de Icaza <miguel@ximian.com>
4371 * Console.cs: On utf-8 consoles, use unmarked output.
4373 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4375 * IAppDomainSetup.cs:
4378 * Type.cs: Added missing attribute
4380 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
4382 * Environment.cs: Added internal method for getting the path to
4385 2003-11-12 Jackson Harper <jackson@ximian.com>
4387 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
4388 enum. This fixes the SWF build.
4390 2003-11-12 Miguel de Icaza <miguel@ximian.com>
4392 * PlatformID.cs: Remove Unix platform, we cant expose constants
4393 that are not in the framework.
4395 * OperatingSystem.cs: Adjust for the breakage.
4397 * RuntimeMethodHandle.cs: Fix signature.
4399 * Double.cs: Fix signature of TryParse.
4401 * String.cs (Concat (object, object, object, object)): Add missing method.
4403 * OperatingSystem.cs: Removed Equals, GetHashCode, they were not
4404 in the .NET Framework.
4406 * Enum.cs: Hide constructor.
4408 Fix ToUint16 to be explicitly implemented.
4410 * Console.cs: Add couple of extra missing methods (Write and
4411 WriteLine overloaded)
4413 2003-11-11 Miguel de Icaza <miguel@ximian.com>
4415 * AppDomain.cs, Activator.cs: New unimplmented entry points from
4416 1.1 (Com activation related).
4418 * Exception.cs: Formatting.
4420 * IServiceProvider.cs: Add ComVisible (true).
4422 * AppDomainSetup.cs: Add a couple more properties from .NET 1.1
4424 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
4426 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
4429 2003-11-01 Zoltan Varga <vargaz@freemail.hu>
4431 * AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
4432 on MonoMethod instead of Invoke.
4434 2003-11-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4436 * DateTime.cs: Fixed Add* methods handling. Now it works properly
4437 with extreme values (there is a bug with Overflow and Underflow in
4440 2003-10-31 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4442 * DateTime.cs: Fixed a few format bugs.
4444 2003-10-31 Zoltan Varga <vargaz@freemail.hu>
4446 * AppDomain.cs (InternalPushDomainRef): New icalls.
4448 * AppDomain.cs (InvokeInDomain): New method to execute code in a
4449 different appdomain.
4451 2003-10-27 Zoltan Varga <vargaz@freemail.hu>
4453 * AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.
4455 2003-10-25 Zoltan Varga <vargaz@freemail.hu>
4457 * AppDomain.cs (IsFinalizingForUnload): Implement.
4459 * AppDomain.cs (Unload): Move the notification of OnUnload listeners
4462 2003-10-25 Martin Baulig <martin@ximian.com>
4464 * MonoType.cs: Don't make this sealed.
4466 2003-10-24 Zoltan Varga <vargaz@freemail.hu>
4468 * AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
4470 2003-10-24 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4472 * DateTime.cs: When handling '-' as a date separator, MS.NET uses
4473 the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
4475 2003-10-22 Dick Porter <dick@ximian.com>
4477 * DateTime.cs: Handle '-' as a date separator when parsing formats.
4479 2003-10-20 Duncan Mak <duncan@ximian.com>
4481 * Delegate.cs (CreateDelegate): Avoid creating an extra Type array
4482 and merge the two iterations into one.
4484 2003-10-15 Zoltan Varga <vargaz@freemail.hu>
4486 * TypedReference.cs: Add new field used by the runtime.
4488 2003-10-15 Martin Baulig <martin@ximian.com>
4490 * Type.cs (Type.DeclaringMethod): For a generic method's type
4491 parameter, return this method - otherwise, return null.
4493 2003-10-14 Martin Baulig <martin@ximian.com>
4495 The generics API has changed in the spec since it was added here;
4496 these modifications make it match the spec again.
4499 (GetGenericParameters): Renamed to `GetGenericArguments'.
4500 (HasGenericParameters): Renamed to `HasGenericArguments'.
4501 (HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
4502 (IsGenericTypeDefinition): New property.
4503 (IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
4505 * MonoType.cs (ContainsGenericParameters): Implement this here;
4506 this is no interncall anymore.
4508 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4510 * Delegate.cs: add the method name to the exception when it cannot be
4512 * Exception.cs: fix nullref in Source.
4514 2003-10-10 Zoltan Varga <vargaz@freemail.hu>
4516 * Array.cs: Add argument checking to GetValue and SetValue.
4518 2003-10-09 Miguel de Icaza <miguel@ximian.com>
4520 * DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
4521 should not be TimeSpan.MaxValue, because it overflow. Set this to
4524 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4526 * MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
4527 duplicate entry exception.
4529 2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
4531 * DateTime.cs (ToString): Total rewrite, fixes #49358.
4533 2003-10-03 Zoltan Varga <vargaz@freemail.hu>
4535 * AppDomain.cs: Change accessibility of DoTypeResolve to fix build.
4537 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4540 (Equals): check that the object is an Enum before comparing the types.
4542 2003-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4544 * Array.cs: reduced xsp allocated memory by 1/2.
4546 2003-09-25 Martin Baulig <martin@ximian.com>
4548 * Type.cs (Type.IsGenericTypeDefinition): Removed this method
4549 since it was identical to GetGenericTypeDefinition().
4550 (Type.IsGenericInstance): New property.
4552 2003-09-24 Duncan Mak <duncan@ximian.com>
4554 * Math.cs (Abs): Fix double Locale.GetText bug reported by
4555 davejp@volny.cz. This fixes #48788.
4557 2003-09-14 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4559 * FloatingPointFormatter.cs: Add the necessary castings to char
4562 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4564 * FloatingPointFormatter.cs: Make the method calls more functional
4565 for protecting the values from different threads (make it more
4568 2003-09-13 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4570 * FloatingPointFormatter.cs: Fix a bug with the negative value of
4573 2003-09-12 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4575 * FloatingPointFormatter.cs: Applied a lot of improvements in string
4576 construction, make use of Append/Insert with the "count" parameter.
4577 Thanks to Ben Maurer.
4579 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4581 * FloatingPointFormatter.cs: Fix a bug with Custm Format.
4583 * FloatingPointFormatter.cs: Fix a little bug I've introduced the
4586 2003-09-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4588 * DoubleFormatter.cs: A few optimizations. Now, only one object
4589 is created to convert all double numbers.
4591 * SingleFormatter.cs: A few optimizations. Now, only one object
4592 is created to convert all float numbers.
4594 * FloatingPointFormatter.cs: Split the "number type parameters" from
4595 the "numver value and format parameters". The first ones are in the
4596 constructor and the others are in a method.
4598 2003-09-09 Zoltan Varga <vargaz@freemail.hu>
4600 * Array.cs: Added argument checking to some NET_1_1 methods.
4602 2003-09-04 Martin Baulig <martin@ximian.com>
4604 * Type.cs (GetGenericTypeDefinition): Make this method virtual.
4606 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4608 * Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
4609 taking 'longs'. All tests pass.
4611 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
4613 * Exception.cs: Add ClassInterface attr. Implement TargetSite and
4614 Source. Remove MonoTODO attributes (class is 100% done). Also
4615 passes all Rotor tests for Exception!
4617 2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
4619 * Enum.cs: Remove [MonoTODO]'s that had been completed.
4621 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4623 * String.cs: fixed bug #47802.
4625 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
4627 * String.cs: Created method FormatHelper that does formatting,
4628 using a StringBuilder.
4630 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4632 * Array.cs: patch by lb@lb.ods.org that fixes bug #47707.
4634 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4636 * Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
4639 2003-08-11 Duncan Mak <duncan@ximian.com>
4641 * Environment.cs (Version): Return the same numbers as the MS
4644 2003-08-10 Miguel de Icaza <miguel@ximian.com>
4646 * Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
4647 replicated tests, and have a routine that does the heavy lifting.
4649 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
4651 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
4653 * Environment.cs: return $HOME for ApplicationData folder.
4655 2003-08-04 Duncan Mak <duncan@ximian.com>
4657 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
4658 Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
4659 floating point values. This fixes bug #46175.
4661 * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
4662 noted by c5n4kh6u02@sneakemail.com in
4663 http://bugzilla.ximian.com/show_bug.cgi?id=43098.
4665 Sat Aug 2 13:01:46 BST 2003 Malte Hildingson <malte@amy.udd.htu.se>
4667 * Double.cs: added icall Double.AssertEndianity.
4669 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
4671 * Type.cs, MonoType.cs: implemented generic-specific methods.
4673 2003-07-29 Miguel de Icaza <miguel@ximian.com>
4675 * Buffer.cs: Add new internal MemCopy call.
4679 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
4681 * Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
4682 to icalls, to avoid special cases in some call conventions.
4684 2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4686 * Enum.cs: added Serializable attribute.
4688 2003-07-25 Duncan Mak <duncan@ximian.com>
4690 * AppDomain.cs (Equals):
4691 (GetHashCode): Removed because they do not need to be defined
4694 2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4696 * TypeLoadException.cs: removed unused fields. TypeName returns "" if
4697 cannot even get the type.
4699 2003-07-24 Miguel de Icaza <miguel@ximian.com>
4701 * Type.cs: Added generics stubs.
4703 2003-07-23 Duncan Mak <duncan@ximian.com>
4705 * Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
4706 as values for NET_1_1.
4707 (GetFolderPath): Return the empty string ("") for values of
4708 SpecialFolder that have no corresponding equivalents in
4709 Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
4710 and "$HOME" for SpecialFolder.Personal.
4712 * IntPtr.cs (GetObjectData): Mark it as an interface
4713 implementation, instead of a public method.
4715 * Guid.cs (NewGuid): Remove MonoTODOAttribute.
4717 * TypeLoadException.cs (GetObjectData):
4718 Create stubs for the fields that are being serialized.
4720 * UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
4722 2003-07-23 Lluis Sanchez Gual <lluis@ximian.com>
4724 * Enum.cs: Fixed enum formatting. For flag enums, if one of
4725 the flags is unnamed, ToString() returns the integer value.
4727 2003-07-22 Jerome Laban <jlaban@wanadoo.fr>
4729 * Guid.cs: Fixed ToString (), was producing incorrect string.
4731 2003-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4733 * AppDomainSetup.cs: fixed bug #46609.
4735 Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
4737 * MonoType.cs: use an icall for IsPrimitiveImpl ().
4739 Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
4741 * Guid.cs: faster ToString ().
4743 2003-07-15 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4745 * FloatingPointFormatter.cs: Few changes for get working Rotor
4748 2003-07-13 Zoltan Varga <vargaz@freemail.hu>
4750 * Type.cs (IsAssignableFrom): Implement this as an icall since the
4751 runtime already includes the neccessary logic.
4753 2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4755 * AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
4756 if it's present and get the full path for non-Uri paths.
4758 2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>
4760 * DateTime.cs: Fixed formatting of fractions of second.
4762 2003-06-30 Zoltan Varga <vargaz@freemail.hu>
4764 * Console.cs: Turn off buffering for the streams returned by
4765 OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
4767 2003-06-28 Lluis Sanchez Gual <lluis@ximian.com>
4769 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
4770 called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
4771 a new random number (although it is not needed), while mono did not.
4772 As a result, the sequence of random numbers could be different for the
4775 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
4777 * FloatingPointFormatter.cs: use dec_len2 as default precision.
4779 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
4781 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
4782 be done after the correspondig UTC offset has been applied.
4784 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
4786 * Object.cs: Object must have the Serializable attribute.
4787 * DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
4788 to the resulting date. Also fixed _ToString so now correctly formates the
4791 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <lupus@ximian.com>
4793 * Enum.cs: fix race in cache (bug#41841).
4795 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
4797 * FloatingPointFormatter.cs: if the precision is not specified, use
4798 the default precision for the data type.
4800 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <lupus@ximian.com>
4802 * Array.cs: throw ArgumentOutOfRangeException in Copy if needed
4803 (patch by tum@veridicus.com (Thong (Tum) Nguyen)).
4805 2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4807 * MonoType.cs: don't throw nullref when the return type for a property
4808 is specified and the property doesn't have a get accessor.
4810 2003-06-10 Duncan Mak <duncan@ximian.com>
4812 * Array.cs (CreateInstance): Fixed a typo. It should throw
4813 ArgumentNullException instead of ArgumentException.
4815 2003-06-09 Duncan Mak <duncan@ximian.com>
4817 * Array.cs: Revert the last revert. I fixed it.
4818 (Sort): Put a try-catch block around qsort, and wrap whatever
4819 Exception we get into a InvalidOperationException.
4821 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
4823 * Array.cs: Revert last patch, it broke some other functionality.
4825 2003-06-08 Duncan Mak <duncan@ximian.com>
4827 * Array.cs: Throw more exceptions. This fixes the errors we see
4828 from the Rotor testsuite.
4830 (CreateInstance): Throw ArgumentNullException when the input are
4831 null. Throw ArgumentOutOfRangeException when bounds + length is
4832 greater than Int32.MaxValue.
4833 (LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
4834 the valid range of indices of array.
4835 (Sort): Throw InvalidOperationException when comparer is null and
4836 none of the elements in keys implements IComparable.
4838 2003-06-08 Duncan Mak <duncan@ximian.com>
4840 * Array.cs (CreateInstance): Throw a TypeLoadException if the
4841 Length of the input array 'lengths' is greater than 255 so that we
4842 won't see the g_assert that is in mono_array_class_get in class.c.
4844 This fixes bug #44304.
4846 2003-06-05 Nick Drochak <ndrochak@gol.com>
4848 * UnitySerializataionHolder.cs: Cleanups according to class status page
4850 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <lupus@ximian.com>
4852 * ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
4853 RuntimeTypeHandle.cs: implemented the needed stuff to handle
4856 2003-06-02 Sebastien Pouliot <spouliot@videotron.ca>
4858 * Random.cs: New implementation based on Knuth ran3 to fix #43597.
4859 See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
4860 for Ben Maurer after review and testing.
4862 2003-05-28 Ben Maurer <bmaurer@users.sourceforge.net>
4864 * Array.cs: Added better argument checking to Array.Sort ()
4865 * DBNull.cs: Made the conversions throw like they do in MS.
4867 2003-05-24 Philip Van Hoof <me@freax.org>
4869 * Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).
4871 2003-05-21 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4873 * FloatingPointFormatter.cs: Take care with the explicit precision
4874 and round the number to that precision.
4876 * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).
4878 * SingleFormatter.cs: Adapt to the two level precision (7 - 8).
4880 2003-05-20 Philip Van Hoof <me@freax.org>
4882 * DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
4885 2003-05-20 Zoltan Varga <vargaz@freemail.hu>
4887 * AppDomainSetup.cs: Added new field which is used to notify the
4888 runtime that the search path has changed.
4890 2003-05-18 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4892 * FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
4893 introduced the last change I've done.
4895 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
4897 * Array.cs: Fixed SyncRoot to behave like MS (return this). Removed
4898 MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
4899 behaving correctly).
4901 2003-05-17 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4903 * FloatingPointFormatter.cs: Fixed little format mismatches.
4905 2003-05-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4907 * FloatingPointFormatter.cs: Fixed "-0" result emited.
4909 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4911 * AppDomain.cs: Added null argument check in Load().
4912 * Activator.cs: fixed bug #39926.
4914 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4916 * Enum.cs: fixed bugs #41522 and #42879.
4918 2003-05-12 Zoltan Varga <vargaz@freemail.hu>
4920 * String.cs: Tweak IndexOf and LastIndexOf to match specification and
4921 undocumented MS behaviour.
4923 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4925 * Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
4928 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4930 * String.cs: fixed bug #41411 and another similar problem in
4931 LastIndexOf (string).
4933 2003-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4935 * String.cs: patch by Jean Marc <jean-marc.andre@polymtl.ca> that fixes
4938 2003-05-09 Zoltan Varga <vargaz@freemail.hu>
4940 * MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
4941 construction if the delegate list only has one element.
4943 2003-05-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4945 * Environment.cs: Changed the method GetFolderPath because it must
4946 return at least a directory name (not null).
4948 * Convert.cs: In ToType, if the destination type is unknown, try to
4949 cast the value to object (then, the calling method will downcast it
4950 to the type it wants).
4952 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4954 * Enum.cs: fixed bug #41522.
4956 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
4958 * Enum.cs: protect with the lock also the lookup (bug #41841).
4960 Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
4962 * MonoType.cs: allow a null name if InvokeMember is called with
4963 BindingFlags.CreateInstance set.
4965 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4967 * Enum.cs: reverted my previous patch.
4969 2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4971 * Enum.cs: fixed bug #41841.
4973 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4976 (GetPropertyImpl): handle BindingFlags.IgnoreCase.
4978 2003-04-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4980 * FloatingPointFormatter.cs: Little fixes for get the same results
4981 as MS.NET and show a message when something goes wrong with the
4982 parser of Custom Formats.
4984 2003-04-22 Nick Drochak <ndrochak@gol.com>
4986 * Double.cs (ToString):
4987 * Single.cs (ToString): Handle case where param is a CultureInfo.
4989 2003-04-18 Zoltan Varga <vargaz@freemail.hu>
4991 * Object.cs ValueType.cs: Make the Object::GetHashCode() and
4992 ValueType::Equals() icalls static non-virtual, so they can be called
4993 by the code in RuntimeHelpers.
4995 2003-04-18 Miguel de Icaza <miguel@ximian.com>
4997 * Delegate.cs (operator ==): Do not crash if the second argument
4998 is null. Bug fix submitted by Juan Cri.
5000 2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
5002 * Array.cs: Deleted the exception in Array.Initialize(), it looks
5003 like the method do nothing for C#, is still a MonoTODO until
5004 we find a compiler that uses that.
5006 2003-04-14 Miguel de Icaza <miguel@ximian.com>
5008 * Delegate.cs (Delegate): Seems like a typo, we were checking the
5009 a field rather than the argument
5011 * MonoType.cs: Make GetNestedType an external method implementation.
5013 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5015 * Enum.cs: fixed bug #41294.
5017 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5019 * DateTime.cs: fixes bug #40910, part 2.
5021 2003-04-11 Dietmar Maurer <dietmar@ximian.com>
5023 * String.cs (Equals): avoid the internal call, code cleanups
5025 2003-04-11 Alan Tam <Tam@SiuLung.com>
5027 * Convert.cs: fixed bug #41085.
5029 2003-04-10 Lluis Sanchez Gual <lluis@ideary.com>
5031 * AppDomain.cs: Added internal method for getting process guid.
5033 2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
5035 * Array.cs: Little fix to compare () method.
5037 2003-04-09 Zoltan Varga <vargaz@freemail.hu>
5039 * String.cs (Equals): Add trivial optimization.
5041 2003-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5043 * DateTime.cs: fixed bug #40910.
5045 2003-04-05 Miguel de Icaza <miguel@ximian.com>
5047 * Console.cs: Make stderr, stdout and stdin use synchronized
5048 versions of the their readers/writers.
5050 2003-04-04 Dick Porter <dick@ximian.com>
5052 * Version.cs: Make operator== and operator!= cope with null
5053 objects. Didn't change operator<, operator<=, operator> or
5054 operator>= because its not meaningful to use those to compare
5055 against null, and throwing a NullReferenceException is probably
5056 the best thing to do there anyway.
5060 2003-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5062 * AppDomain.cs: fixed InvalidCastException.
5064 2003-03-30 Zoltan Varga <vargaz@freemail.hu>
5066 * Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
5067 type checks and let it decide whenever a fast copy is possible.
5069 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5072 (GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.
5074 2003-03-25 Zoltan Varga <vargaz@freemail.hu>
5076 * Activator.cs (CreateInstance): Call GetConstructor with the right
5077 arguments so the nonPublic argument is handled correctly.
5079 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5081 * Type.cs: fixed bug #40123.
5083 2003-03-22 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5085 * FloatingPointFormatter.cs: Fixed some bugs for get the same
5086 results than MS.NET. Added simple error recovering, now ToString
5087 will return a general format if there is any exception in the
5088 process of formatting. This make the library more robust while the
5089 formatters are refined.
5091 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5093 * FloatingPointFormatter.cs: Added support for group separators.
5095 2003-03-16 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5098 * Double.cs: Apply changes of .ToString methods.
5099 * SingleFormatter.cs:
5100 * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
5101 * FloatingPointFormatter.cs: New class. Implementation of double and
5102 single formatters. It is unified now and parametrized with precission
5105 2003-03-15 Lluis Sanchez Gual <lluis@ideary.com>
5107 * AppDomain.cs: fixes bugs #39380 and #39331.
5109 2003-03-06 Nick Drochak <ndrochak@gol.com>
5111 * TimeSpan.cs (Negate): Throw exception when value is MinValue.
5113 2003-03-04 Dick Porter <dick@ximian.com>
5116 * Double.cs: Temporarily reverted the Double and Single ToString()
5117 change, because it broke nunit.
5120 2003-03-04 Pedro MartÃnez Juliá <yoros@wanadoo.es>
5122 * Double.cs: Changed ToString method. Added NumberFormatInfo support
5123 with DoubleFormatter class.
5124 * Single.cs: Changed ToString method. Added NumberFormatInfo support
5125 with SingleFormatter class.
5126 * DoubleFormatter.cs: New class with Double formatting functions.
5127 * SingleFormatter.cs: New class with Single formatting functions.
5129 2003-03-03 Lluis Sanchez Gual <lluis@ideary.com>
5131 * Activator.cs: Added support for activation using activation attributes.
5132 * AppDomain.cs: Added internal method to get the default context from the runtime.
5134 2003-02-28 Elan Feingold <efeingold@mn.rr.com>
5136 * DateTime.cs: FileTime is expressed in Universal time, and as such must
5137 be converted before subtracting the magic offset.
5138 * DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
5139 the timezone at the end) *must* be parsed by DateTime.Parse() for
5140 compatibility with Microsoft.
5142 2003-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5145 * MonoCustomAttrs.cs: fix for the regression test failure (see bug
5148 * IntPtr.cs: added serialization .ctor
5150 2003-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5152 * AppDomain.cs: check for null in Unload and changed method name.
5154 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5156 * MonoCustomAttrs.cs: fixed bug #38238.
5158 2003-02-17 Martin Baulig <martin@ximian.com>
5160 * Exception.cs (Exception.ToString): Print a newline between the
5161 exception message and the stack trace.
5163 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5165 * AppDomain.cs: implemented GetCurrentThreadId ().
5167 2003-02-14 Patrik Torstensson
5169 * Exception.cs: Fixed message output formating
5171 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5174 (Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).
5176 2003-02-12 Miguel de Icaza <miguel@ximian.com>
5178 * Type.cs: IsClass should return false for Enumerations
5180 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5182 * MonoCustomAttrs.cs: return the correct array type in the short case.
5185 2003-02-08 Pedro MartÃenz Juliá <yoros@wanadoo.es>
5187 * Math.cs: Fix a few methods (like Round) and add with comments the
5188 new methods: BigMul and DivRem that were in ECMA specs.
5190 2003-02-07 Patrik Torstensson
5192 * Exception.cs: Fixed formating
5194 2003-02-05 Patrik Torstensson
5196 * AppDomain.cs: Partly fixed the unload method
5198 2003-02-04 Patrik Torstensson
5200 * AppDomain.cs: Fixed lease issue with appdomain
5202 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
5204 * MarshalByRefObject.cs: Implemented GetLifetimeService() and
5205 InitializeLifetimeService().
5207 2003-02-03 Patrik Torstensson
5209 * AppDomain.cs: New internalcalls for handling domain/context switches
5210 * AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object
5212 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5214 * AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
5215 and ClearShadowCopyPath and fixed GetType ().
5217 * Attribute.cs: clean up.
5219 * Console.cs: removed UnixConsoleEncoding. Use Default.
5221 2003-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5223 * Attribute.cs: fixed all IsDefined overloads. Gotta fix
5224 GetCustomAttributes later.
5226 2003-01-31 Patrik Torstensson
5228 * Buffer.cs: Changed access level of BlockCopyInternal
5230 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <lupus@ximian.com>
5232 * String.cs, IntegerFormatter.cs: use const where appropriate.
5234 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5236 * MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
5239 2003-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5241 * MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
5242 The argument ICustomAttributeProvider can be of other types different
5243 from Type. Handle it.
5245 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
5247 * DateTime.cs: fix FromFileTime so the time returned by
5248 File::GetLastModificationTime etc. is in the correct timezone.
5250 2003-01-28 Patrik Torstensson
5251 * Exception.cs: reverted formating/endline changes (sorry guys)
5253 2003-01-28 Patrik Torstensson
5255 * MarshalByRefObject.cs: implemented GetObjectIdentity
5256 * Exception.cs: added support for remote exceptions
5258 2003-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5260 * DateTime.cs: fixed bug #37225.
5262 2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5264 * Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!
5266 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
5268 * AppDomain.cs: Added DoTypeResolve method which will be called by
5269 the runtime to raise TypeResolve events.
5271 2003-01-27 Duncan Mak <duncan@ximian.com>
5273 * Enum.cs (ToType): Implement this using Convert.ToType.
5275 2003-01-21 Miguel de Icaza <miguel@ximian.com>
5277 * Math.cs: Remove Pow's implementation body as it was wrong. The
5278 C code does the right thing. The code was trying to handle a
5279 number of cases, and that was incorrect.
5281 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5283 * CharEnumerator.cs: fix to Current by crainaj@hotmail.com. Closes
5286 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5288 * Enum.cs: added caching to GetInfo.
5290 2003-01-23 Dick Porter <dick@ximian.com>
5292 * Environment.cs (System): Implemented ExitCode
5294 2003-01-23 Zoltan Varga <vargaz@freemail.hu>
5296 * Type.cs (IsInstanceOfType): fixed regression caused by the change
5299 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5301 * MonoType.cs: re-added lines that were removed in the previous commit.
5303 2003-01-16 Lluis Sanchez Gual <lsg@ctv.es>
5305 * Type.cs: corrected property IsSerializable. It should always return
5306 true for enums and delegates
5307 * MonoType.cs: added serialization support.
5308 * Delegate.cs: added serialization support.
5309 * DBNull.cs: added serialization support.
5310 * UnitySerializationHolder.cs: supports serialization of Assembly,
5311 MonoType and DBNull.
5312 * DelegateSerializationHolder.cs: added.
5314 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5316 * Exception.cs: changed default message to match MS one.
5318 2003-01-12 Patrik Torstensson <totte@race-x-change.com>
5320 * String.cs: Fixed bug with CompareOrdinal
5322 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5324 * Enum.cs: implements IFormattable.
5326 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5328 * AppDomain.cs: implemented DoCallBack method.
5330 (GetConstructorImpl): when the flag is BindingFlags.Default, set it to
5333 NUnit2 tests start moving.
5335 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5337 * Activator.cs: fixed bug #36052. Also added checks to avoid trying to
5338 instantiate an abstract class.
5340 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5343 (IsSubclassOf): return false when null. Use != instead of Equals.
5345 2003-01-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5347 * Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.
5349 Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <lupus@ximian.com>
5351 * MonoType.cs: fixed Namespace property for nested types.
5353 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <lupus@ximian.com>
5355 * MonoCustomAttrs.cs: create properly typed arrays when returning
5356 arrays of attributes of a given type.
5358 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <lupus@ximian.com>
5360 * MonoType.cs: fixed MemberType property for nested types.
5362 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5364 * String.cs: fixed bug #36209.
5366 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
5368 * Activator.cs: implemented method GetObject.
5370 2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
5372 * Activator.cs: Since the documentation indicates the method
5373 either succeeds or throws one of the listed exceptions, we weren't
5374 expecting that CreateInstance might be returning null.
5376 For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
5378 2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
5380 * MarshalByRefObject.cs: implemented CreateObjRef.
5382 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5384 * DateTime.cs: fixed bug #30076.
5385 * TimeZone.cs: provide the parameter name in a exception.
5387 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5389 * DecimalFormatter.cs: fixed bug #35560.
5391 Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <lupus@ximian.com>
5393 * Type.cs: implemented GetInterfaceMap (needs an updated runtime).
5395 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5397 * Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
5398 nulls. Fixes #34909.
5400 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5402 * AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
5403 returns a non-null assembly.
5405 2002-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5407 * MulticastDelegate.cs: make GetInvocationList work for more than 1
5410 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5412 * MulticastDelegate.cs: implemented GetInvocationList. I'll check later
5413 if this is the correct order of invocation.
5415 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5417 * Type.cs: changed the signature of internal_from_name. Modified
5418 the overloads of GetType to use it and check the typeName argument.
5419 Implemented FindInterfaces.
5421 2002-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5423 * MarshalByRefObject.cs: undo latest changes. It breaks the build by
5424 some obscure reasons (try make -f makefile.gnu using a corlib which has
5425 the modified version).
5427 2002-11-26 Miguel de Icaza <miguel@ximian.com>
5429 * String.cs (Concat): Reduce the number of compares required.
5431 Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <lupus@ximian.com>
5433 * Activator.cs: throw a MissingMethodException if the default
5434 constructor is not found in CreateInstance.
5436 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5439 (Equals (str, str)): use 'as' instead of casting to object.
5440 (Equals (obj)): check the length of the strings (until now,
5441 "Hello".Equals ((object) "Hellow World!) was true!).
5443 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5445 * MonoType.cs: implemented GetEvent (name, flags).
5447 2002-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5449 * AppDomain.cs: implemented a couple of methods called from the runtime
5450 to fire AssemblyLoad and AssemblyResolve events.
5452 2002-10-31 Dick Porter <dick@ximian.com>
5454 * Environment.cs: MonoIO methods now have an error parameter
5456 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
5458 * Enum.cs: Added support for whitespaces in Enum:Parse().
5460 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5462 * Type.cs: fixed GetProperty (string, Type []) and removed get_property
5463 internal call. Closes bug #32992.
5465 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5467 * Exception.cs: display the inner exception, if any, in ToString ().
5469 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5471 * Environment.cs: fixed StackTrace property.
5473 2002-10-16 Nick Drochak <ndrochak@gol.com>
5475 * Enum.cs (Parse): Then fix the code so that it works too.
5477 2002-10-15 Nick Drochak <ndrochak@gol.com>
5479 * Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.
5481 2002-10-12 Nick Drochak <ndrochak@gol.com>
5483 * IntegerFormatter.cs: Fix compiler warnings.
5485 2002-10-11 Tim Haynes <thaynes@openlinksw.com>
5487 * Type.cs (GetConstructors): Use the correct flags.
5489 2002-10-09 Nick Drochak <ndrochak@gol.com>
5491 * IntegerFormatter.cs: Suppress insignificant leading zeros
5493 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
5495 * MonoCustomAttrs.cs: applied patch by "Si Jingnan"
5496 <stonewell@21cn.com> to return also derived types.
5498 2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5500 * Activator.cs: little fix in CreateInstance (Type, bool).
5502 2002-09-19 Duncan Mak <duncan@ximian.com>
5504 * Array.cs (CopyTo): Revert back to 1.40, this is stopping
5505 I18N/Common from building right now.
5507 2002-09-19 Nick Drochak <ndrochak@gol.com>
5509 * Array.cs (CopyTo): Account for Object type and base (primitive) types
5510 * Type.cs (IsAssignableFrom): return false for a null parameter
5512 2002-09-19 Nick Drochak <ndrochak@gol.com>
5514 * Array.cs (CopyTo): Check that source type can be cast automatically
5515 to the destination type.
5517 2002-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5519 * Type.cs: implemented IsAssignableFrom, DefaultBinder and
5522 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5524 * Char.cs: implemented ToString (char)
5525 * IntegerFormatter.cs: made it internal.
5527 2002-09-13 Nick Drochak <ndrochak@gol.com>
5529 * Enum.cs (Format): handle the "d" format for both signed and unsigned
5532 2002-09-12 Dick Porter <dick@ximian.com>
5534 * UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
5535 attribute, as there doesn't appear to be any struct
5536 layout-depending code here (and corcompare says it should be
5537 LayoutKind.Sequential)
5539 * Decimal.cs: Stub out missing methods, add
5540 [DecimalConstantAttribute] to the constant fields (as shown by
5543 * LocalDataStoreSlot.cs:
5546 * Array.cs: Stub out missing methods.
5548 * TypedReference.cs:
5549 * ArgIterator.cs: Stub out
5551 * AppDomainSetup.cs:
5552 * AppDomain.cs: Stub out missing methods, add missing
5553 ClassInterface(ClassInterfaceType.None) attribute.
5555 2002-09-12 Nick Drochak <ndrochak@gol.com>
5557 * Double.cs (ToString): Throw exception when "X" format is passed in.
5559 Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
5561 * MonoType.cs: implemented Module property.
5563 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
5565 * MonoType.cs, Type.cs: implemented InvokeMember.
5567 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
5569 * Delegate.cs: check the type passed to CreateDelegate is a Delegate
5570 type. Check the method signature matches.
5572 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
5574 * RuntimeMethodHandle.cs: implemented GetFunctionPointer().
5576 2002-09-06 Miguel de Icaza <miguel@ximian.com>
5578 * Console.cs: Specify an encoder, otherwise we will get the UTF8
5579 encoder that by default emits the byte markers.
5581 Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
5583 * Delegate.cs: look also for non-public methods until we have the
5584 security checks in place.
5586 Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
5588 * MonoType.cs: consider also the full name in GetInterface.
5590 Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
5592 * MonoType.cs: implemented GetMembers, GetConstructorImpl and
5593 GetMethodImpl using the binder.
5594 * Type.cs: GetConstructorImpl/GetConstructor fixes.
5596 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
5597 * Enum.cs: Get rid of warning CS0162.
5599 2002-09-04 Miguel de Icaza <miguel@ximian.com>
5601 * Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the
5602 actual value instead of public.
5604 * LocalDataStoreSlot.cs: Make constructor internal.
5606 * Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
5607 SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
5610 2002-09-03 Jonathan Pryor <jonpryor@vt.edu>
5611 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
5614 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5616 * DateTime.cs: fixed buglet.
5618 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
5620 * MonoType.cs: speedup access to common data.
5622 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5624 * Double.cs: implemented TryParse.
5626 * Math.cs: PowImpl is now private.
5628 * MissingFieldException.cs: implemented Message.
5630 * RuntimeMethodHandle.cs: stubbed GetFunctionPointer.
5632 * _AppDomain.cs: Uncommented ToString.
5634 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5637 (IsValueTypeImpl): it's virtual, not abstract. Implemented.
5639 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5641 * ArgumentException.cs: use the field instead of the property for
5644 * ArgumentOutOfRangeException.cs: modified Message.
5647 (_DoParse): throw out of range exception for year. Removed check
5648 for month (it's done in the constructor).
5650 2002-08-21 Miguel de Icaza <miguel@ximian.com>
5652 * Environment.cs: Implemented OSVersion property.
5654 2002-08-21 Dietmar Maurer <dietmar@ximian.com>
5656 * Exception.cs: set stack_trace to null
5658 Wed Aug 21 13:02:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
5660 * AppDomain.cs: implemented ToString().
5662 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5664 * AppDomain.cs: securityInfo can be null in CreateDomain.
5666 2002-08-19 Dick Porter <dick@ximian.com>
5668 * MonoType.cs: Add a space before the Assembly name in
5669 AssemblyQualifiedName (needed for resource files so the MS runtime
5672 2002-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5674 * AppDomain.cs: parameter name when throwing ArgumentNullException.
5676 * ArgumentException.cs: modified Message to do what MS does.
5678 * ArgumentNullException.cs: don't use {0} in message.
5680 * Exception.cs: use Message property in ToString ().
5682 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
5684 * WeakReference.cs: Changed the constructor and GetObjectData
5685 method needed for ISerializable implementation in order to be
5686 compatible with SOAP generated by MS.
5688 Wed Aug 14 17:34:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
5690 * MonoType.cs, Type.cs: DeclaringType/ReflectedType fixes.
5692 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
5694 * Exception.cs (ToString): changed the ouput format.
5696 2002-08-07 Dietmar Maurer <dietmar@ximian.com>
5698 * MonoType.cs: moved get_method icall to this class, we can
5699 remove it as soon someone provides a full featured GetMethodImpl.
5701 * Type.cs: use GetMethodImpl everywhere.
5703 * Delegate.cs: new CreateDelegate implementations.
5705 2002-08-06 Tim Coleman <tim@timcoleman.com>
5707 Fix bug #28582. Now checks parameters for properties
5710 2002-08-04 Nick Drochak <ndrochak@gol.com>
5712 * Buffer.cs: Throw correct exception in GetByte() and SetByte().
5714 2002-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5717 (FormatSpecifier): allow white space between the comman and the width
5720 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5725 * UInt64.cs: fixed bug #28050. May be a MS bug?
5727 Thu Jul 18 14:47:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
5729 * MonoType.cs: fix IsArrayImpl.
5731 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5733 * String.cs: make ToLower (culture) and ToUpper (culture) use the
5734 default ToLower and ToUpper and don't throw NotImplemented.
5736 Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>
5738 * Type.cs: make GettTypeCode an icall. Test implementation of
5741 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5743 * AppDomainSetup.cs: implemented LoaderOptimization.
5745 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5747 * Activator.cs: some more intermediate results checking in
5748 in CreateInstance and CreateInstanceFrom and use GetConstructor and
5749 Invoke only with Type [] until the other overloaded versions work.
5751 2002-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5753 * Activator.cs: reformatted. Implemented CreateInstance* methods
5754 that return ObjectHandle.
5756 * AppDomain.cs: implemented CreateInstance*AndUnwrap methods.
5758 2002-07-03 Nick Drochak <ndrochak@gol.com>
5760 * Decimal.cs (Divide): Short cut the case where the dividend is 0 (and
5761 the divisor is not) and avoid the icall, which seems to have a bug.
5763 2002-07-03 Nick Drochak <ndrochak@gol.com>
5765 * Double.cs (CompareTo): Correctly handle the case where the instance
5766 is NaN. Also return 0 if the values are equal.
5768 2002/07/03 Nick Drochak <ndrochak@gol.com>
5770 * MissingMethodException: Add missing Message property
5771 * MissingMemberException: Add missing Message property
5773 2002-06-30 Nick Drochak <ndrochak@gol.com>
5775 * Double.cs (CompareTo): Just see which is bigger. Don't use the
5776 subtraction trick, it doesn't work when the values have a diference of
5779 * Single.cs (CompareTo): same
5781 2002-06-27 Martin Baulig <martin@gnome.org>
5783 * UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
5784 constructor argument. [FIXME: The implicit conversion to an
5785 unsigned integer doesn't work with mcs.]
5787 2002-06-26 Martin Baulig <martin@gnome.org>
5789 * DecimalFormatter.cs: Removed MSTEST stuff, use `System',
5790 not `S = System'. This file now compiles with mcs.
5792 * String.cs: Removed the already ifdef-outed __arglist Concat function
5793 to make it compile with mcs.
5795 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5797 * IntegerFormatter.cs:
5798 (FormatParse.FormatNumber): fixed custom format for negative numbers.
5800 2002-06-21 Martin Baulig <martin@gnome.org>
5802 * Double.cs: Replace the private `enum State' with constants since this
5803 will avoid some bigger headaches in mcs.
5805 Thu Jun 20 17:51:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
5807 * TimeSpan.cs: do not pollute the namespace with the
5810 2002-06-18 Nick Drochak <ndrochak@gol.com>
5812 * ArgumentException.cs: Use the message given in the constructor when
5813 accessing the Message property. Thanks to Dietmar for the help with
5816 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
5818 * MonoType.cs: GetField is now a InternalCall
5820 2002-06-13 Nick Drochak <ndrochak@gol.com>
5822 * DateTime.cs: (Parse): Accept dates that have no hour,min,sec. in the
5823 sortable format(s), e.g. "2002-02-25"
5825 2002/06/12 Nick Drochak <ndrochak@gol.com>
5827 * Random.cs (Next): Fix math error. Return a number within the range.
5829 2002-06-12 Nick Drochak <ndrochak@gol.com>
5831 * String.cs (IndexOf): Return -1 if start index is equal to string
5834 2002-06-10 Duncan Mak <duncan@ximian.com>
5836 * Convert.cs (ToDouble): Remove rounding in ToDouble (float).
5837 (ToType): Added null field in conversionTable to avoid
5838 IndexOutOfRangeException. Changed what exceptions we throw to match
5841 2002-06-11 Nick Drochak <ndrochak@gol.com>
5843 * Int64.cs (Parse): Added unique strings to the messages where we throw
5844 a FormatException. Needed these to debug, so just left them in since
5845 they might be useful later. Fixed Currency parsing where we weren't
5846 looking at CurrencyDecimalSeparator, etc.
5848 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
5850 * DateTime.cs: fixes to pass tests M0 to M6:
5851 if yy pattern then year values >= 30 are in 20th century
5852 rfc1123 pattern is always in GMT, therefor useutc must be false
5853 made GetNow() internal static so it can be called from TimeZone.
5854 * TimeZone.cs: removed dependency on year 2002 from initialization of
5857 2002-06-09 Duncan Mak <duncan@ximian.com>
5859 * Convert.cs (ToType): Rearranged what Exceptions we throw to
5862 2002-06-08 Duncan Mak <duncan@ximian.com>
5864 * Decimal.cs: Added support for the IConvertible interface.
5866 2002-06-08 Martin Baulig <martin@gnome.org>
5868 * Enum.cs (IsDefined): `value' may be of the enum's type itself, it
5869 doesn't necessarily need to be of the enum's underlying type.
5871 2002/06/07 Nick Drochak <ndrochak@gol.com>
5873 * String.cs: Add [Serializable] to class
5874 * SByte.cs (Parse): Add [CLSCompliant(false)] to all the overloads
5876 2002-06-04 Nick Drochak <ndrochak@gol.com>
5878 * Double.cs (Parse): Recognize the group separator string, but still we
5879 don't check the format for the proper number of digits between
5880 separators. Also throw OverflowException when we get Pos or Neg
5881 Infinity from runtime.
5883 2002-06-03 Duncan Mak <duncan@ximian.com>
5885 * Convert.cs (ToDouble): Fixed ToDouble (byte value).
5887 Mon Jun 3 12:18:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
5889 * Type.cs: fixed GetTypeCode.
5891 2002-06-02 Duncan Mak <duncan@ximian.com>
5893 * Convert.cs (ToInt16): use Convert.ToInt16 (int) instead of a direct
5894 cast from an int so that we throw OverFlowException correctly.
5896 (ToInt64): Use a new 64bit version of ConvertToBase.
5898 (ConvertToBase): Add checks for overflow (checks Int32.MinValue
5899 and Int32.MaxValue).
5901 (ConvertFromBase64): New 64-bit version of ConvertFromBase.
5903 2002-06-02 Nick Drochak <ndrochak@gol.com>
5905 * Convert.cs (ToSByte): Check for special value.
5906 * Single.cs (Parse):
5907 * UInt16.cs (Parse):
5908 * UInt32.cs (Parse): Throw OverflowException if negative
5910 2002-06-02 Duncan Mak <duncan@ximian.com>
5912 * Convert.cs (DBNull): Point it to DBNull.Value.
5913 (IsDBNull): Instead of checking typecodes, just check to see if
5914 it's the same as the DBNull field.
5916 2002-06-02 Nick Drochak <ndrochak@gol.com>
5918 * Convert.cs (ConvertFromBase): Detect bad digits correctly.
5920 2002-06-02 Duncan Mak <duncan@ximian.com>
5922 * Char.cs (Parse): Simplify the Exception handling.
5924 * Convert.cs (ToDecimal): Remove call to Math.Round () when
5925 converting from a float.
5927 2002-05-30 Martin Baulig <martin@gnome.org>
5929 * MonoType.cs (GetInterface): Implemented.
5931 Thu May 23 17:17:28 CEST 2002 Paolo Molaro <lupus@ximian.com>
5933 * Activator.cs: implemented CreateInstance ().
5935 2002-05-22 Duncan Mak <duncan@ximian.com>
5937 * Convert.cs (ConvertToBase): Added new 64bit version.
5938 (BuildConvertedString64): New 64bit version of
5939 BuildConvertedString.
5941 This fixes bug 25068.
5943 (ConvertFromBase): Added additional test for checking if the
5944 digits are valid. Thanks to Miguel for coming up with this test.
5946 This fixes bug 25071.
5948 2002-05-21 Duncan Mak <duncan@ximian.com>
5950 * Convert.cs (ToType): Rearranged to fit the new layout of
5953 (conversionTable): Rearranged to fit the layout of the
5954 System.TypeCode enum.
5956 This should fix bug 25075.
5958 2002-05-21 Duncan Mak <duncan@ximian.com>
5960 * Convert.cs (ToString): Fixed the ToString methods. Previously I had
5961 mixed up the two code paths, one for converting to a specific base
5962 (this case), another from converting from a foreign base to base10
5963 (used by ToInt16|32|64 (string, int)). This fixes bug 25068.
5965 * Convert.cs (ToByte)
5966 (ToSByte): Fixed bug 25074. Added more bits to ConvertFromBase so
5967 that we won't confuse FormatException with OverflowException.
5969 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
5971 * Environment.cs: CommandLine missed spaces between arguments.
5972 Implemented StackTrace. Returning MachineName in UserDomainName
5975 Tue May 21 17:25:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
5977 * MonoCustomAttrs.cs: handle inherit argument.
5979 2002-05-21 Nick Drochak <ndrochak@gol.com>
5981 * Math.cs (Pow): Change icall method name and insert parameter
5982 checks in for infinities and NaN.
5984 2002-05-13 Miguel de Icaza <miguel@ximian.com>
5986 * Double.cs (Parse): Reimplement by cleaning up the string first,
5987 and then passing to strtof in the mono runtime.
5989 * Single.cs (Parse): Use the Double implementation and cast to
5992 2002-05-21 Nick Drochak <ndrochak@gol.com>
5995 (Ceiling): Check for "special" values
5996 (Floor): Check for "special" values
5997 (Round): Fix off-by-one error on decimal shifting
5999 2002-05-20 Lawrence Pit <loz@cable.a2000.nl>
6001 * DateTime.cs: ToString () using "G" format specifier
6003 2002-05-19 Martin Baulig <martin@gnome.org>
6005 * Convert.cs (FromBase64CharArray): Do correct exception handling.
6007 2002-05-19 Martin Baulig <martin@gnome.org>
6009 * Convert.cs (FromBase64CharArray): Convert the char array using
6010 System.Text.UTF8Encoding, not UnicodeEncoding (which is UTF-16) to
6013 2002-05-17 Miguel de Icaza <miguel@ximian.com>
6015 * MonoType.cs: Style changes.
6017 * Type.cs: Style changes.
6019 2002-05-16 Piers Haken <piersh@friksit.com
6021 * UInt64.cs: fix declaration of IConvertible.To* overrides.
6023 2002-05-16 Nick Drochak <ndrochak@gol.com>
6025 * BitConverter.cs (ToString): Add parameter check for invalid start
6028 * Console.cs: Use AutoFlush on the StreamWriter for stdin and stdout
6029 now that StreamWriter uses buffering
6031 2002-05-14 Miguel de Icaza <miguel@ximian.com>
6033 * Double.cs: Oops. Also handle exponents without finding a dot.
6035 2002-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6037 * ChangeLog: removed empty entry at the top of the file.
6039 * Int32.cs: made static functions used by Parse internal.
6043 * UInt64.cs: removed static fucntions used by Parse and use the ones
6046 2002-05-12 Daniel Morgan <danmorg@sc.rr.com>
6048 * IServiceProvider.cs: added using System
6050 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
6052 * Single.cs: copied ToString() and Parse() methods from
6053 Double to Single and modified a tiny bit for Single.
6054 There is still a FIXME for Double and Single about
6055 passing the format and provider info to the icall too.
6057 2002-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6062 * UInt64.cs (Parse): don't use Char.IsNumber to test for hex digits.
6063 Don't use a delegate to test for valid digits.
6065 2002-05-01 Duncan Mak <duncan@ximian.com>
6068 * Math.cs: Added missing CLSCompliant attributes where necessary.
6070 2002-04-30 Duncan Mak <duncan@ximian.com>
6072 * ArgumentException.cs (Message):
6073 * ArgumentOutOfRangeException.cs (Message): Added.
6075 2002-04-30 Nick Drochak <ndrochak@gol.com>
6077 * MonoType.cs: Remove unused variable and eliminate a compiler warning.
6079 Mon Apr 29 15:32:02 CEST 2002 Paolo Molaro <lupus@ximian.com>
6081 * Environment.cs: support for Exit(), CommandLine, CommandLineArgs ().
6083 2002-04-28 Duncan Mak <duncan@ximian.com>
6085 * DivideByZeroException.cs: Added missing serialization constructor.
6087 * UnauthorizedAccessException.cs: Added the missing Serializable attribute.
6089 2002-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6091 * Math.cs: fix Floor () and Round (). Closes #23960.
6093 2002-04-27 Nick Drochak <ndrochak@gol.com>
6095 * Array.cs (IList.Contains): Should throw a RankException if this is
6096 called on a Rank > 1 array. Not in the docs, but this is what the
6099 2002-04-26 Duncan Mak <duncan@ximian.com>
6101 * MissingMemberException.cs: Made the message variable 'protected'
6102 instead of 'private', so that we can see it in
6103 MissingMethodException and MissingFieldException.
6105 * MissingFieldException.cs:
6106 * MissingMethodException.cs: Added missing (string, string)
6107 constructor, and also the Message property.
6109 2002-04-26 Martin Baulig <martin@gnome.org>
6111 * Enum.cs: Implemented the IConvertible methods.
6113 2002-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6115 * SByte.cs: little change in Parse (string) to avoid incorrect
6116 OverflowException thrown (reported by nickd).
6118 2002-04-22 Miguel de Icaza <miguel@ximian.com>
6120 * ValueType.cs: Add Serializable attribute.
6122 * String.cs: ifdef-out out the __arglist Concat function until I
6123 add support for that to mcs.
6125 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
6127 * AppDomain.cs (GetValue): usage of the correct icall (bug)
6129 Wed Apr 24 21:15:44 CEST 2002 Paolo Molaro <lupus@ximian.com>
6131 * GC.cs: implement most of the methods as icalls.
6133 2002-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6135 * DecimalFormatter.cs (ToString): return correct value when the
6136 decimal number is 0.
6138 2002-04-24 Patrik Torstensson <patrik.torstensson@labs2.com>
6140 * Type.cs (GetProperty): fixed call syntax (needs an empty array not null)
6141 * MonoType.cs (GetPropertyImpl) : basic implementation (ignores types, bindingAttr, modifiers)
6143 2002-04-24 Nick Drochak <ndrochak@gol.com>
6145 * Double.cs (Parse): Handle case where there are no digits before the
6146 decimal point, such as ".1".
6148 2002-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6153 * UInt64.cs: fixed bug #23738 (hex numbers parsed wrong).
6155 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
6157 * String.cs (Split): fixed invalid split of count 0 and 1.
6159 2002-04-23 Patrik Torstensson <patrik.torstensson@labs2.com>
6161 * String.cs (LastIndexOf): fixed argument checking.
6162 * String.cs (Equals): made internal for performace.
6164 2002-04-23 Nick Drochak <ndrochak@gol.com>
6166 * String.cs (Join): check argument and throw exception if needed
6168 2002-04-23 Nick Drochak <ndrochak@gol.com>
6170 * String.cs (StartsWith): check argument and throw exception if needed
6172 2002-04-22 Nick Drochak <ndrochak@gol.com>
6174 * String.cs (IndexOfAny): check arguments and throw exceptions as
6175 neccessary. ALso remove some debug WriteLines.
6177 2002-04-20 Dietmar Maurer <dietmar@ximian.com>
6179 * String.cs: use internal constructors
6182 Thu Apr 18 17:16:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
6184 * MonoType.cs: make GetElementType its own icall.
6186 2002-04-18 Nick Drochak <ndrochak@gol.com>
6188 * String.cs: Modified file. Re-add methods needed by the unit tests.
6190 Thu Apr 18 12:38:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
6192 * String.cs: some code speedups and restored GetTypeCode().
6194 2002-04-17 Patrik Torstensson <patrik.torstensson@labs2.com>
6196 * String.cs: New implementation using internal calls.
6198 2002-04-16 Nick Drochak <ndrochak@gol.com>
6200 * DecimalFormatter.cs: Trim off excess null characters from the string
6201 that decimal2string gives back.
6203 2002-04-16 Nick Drochak <ndrochak@gol.com>
6205 * String.cs (SubString): revert my change. I can't reproduce the
6208 2002-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6210 * Attribute.cs: added GetHashCode and Equals.
6212 2002-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6214 * Enum.cs: little improvements to Format ().
6216 Thu Apr 11 12:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
6218 * String.cs: internalcall GetHashCode().
6219 * Array.cS: optimize access to elements.
6221 Wed Apr 10 21:20:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
6223 * String.cs: make IndexOfAny() use an internalcall.
6225 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6230 * UInt64.cs: fixed error when testing for validity of flags.
6232 2002-04-11 Nick Drochak <ndrochak@gol.com>
6234 * Double.cs: Use an internal call for ToString(). This is just a simple
6235 implementation to get away from throwing a NotImplementedException.
6237 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6242 * UInt64.cs: changed Type.GetType () by typeof (), as suggested by
6246 * Int64.cs: throw an OverFlowException when parsing a string
6247 containing a dot followed by any non '0' number.
6249 2002-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6254 * UInt64.cs: added complex Parse ().
6256 2002-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6261 * Int64.cs: added complex Parse ().
6263 2002-04-09 Nick Drochak <ndrochak@gol.com>
6265 * Array.cs (BinarySearch): Add checks on paramters before using them
6266 and throw exceptions as needed.
6268 * Enum.cs (Format): Check if [Flags] is applied to enum and convert
6269 "G" format to "F" if so.
6271 Tue Apr 9 13:12:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
6273 * MonoCustomAttrs.cs: return arrays of type Attribute[]
6274 instead of object[].
6276 2002/04/09 Nick Drochak <ndrochak@gol.com>
6278 * String.cs (Substring): Copy only non-null characters to the new
6281 2002-04-09 Nick Drochak <ndrochak@gol.com>
6283 * IntegerFormatter.cs: Don't use a format character to indicate a
6284 custom format was passed in. It was using 'z' to indicate a custom
6285 format, but really it should throw a format exception if the user
6286 tries to use "z" as the format string. Now it does.
6288 * Activator.cs: New File.
6290 2002-04-08 Nick Drochak <ndrochak@gol.com>
6292 * Enum.cs (ToString): Big ugly fix for the case where [Flags] is
6293 applied to an enum. Need to handle the different possible integer
6294 types of an enum somehow. Can anyone say generics?
6296 Mon Apr 8 06:22:42 2002 Piers Haken <piersh@friskit.com>
6298 * Convert.cs: switched the To*(object) methods to use
6299 IConvertible directly instead of calling ChangeType
6301 Sat Apr 6 20:08:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
6303 * ValueType.cs: make Equals() an internalcall.
6305 Fri Apr 5 15:38:54 CEST 2002 Paolo Molaro <lupus@ximian.com>
6307 * Type.cs: also look for nested types in FindMembers.
6308 * MonoType.cs: make GetNestedTypes() an internalcall.
6310 2002-04-05 Nick Drochak <ndrochak@gol.com>
6312 * Enum.cs (Parse): Handle different underlying types.
6314 2002/04/04 Nick Drochak <ndrochak@gol.com>
6316 * Enum.cs (IsDefined): Throw exception when type of value to look for
6317 is not the correct one. Attempt to have it work with string values
6318 too, but not sure if the unit tests are getting that far yet.
6320 2002-04-04 Nick Drochak <ndrochak@gol.com>
6322 * Decimal.cs: Fix a couple of typos.
6324 Wed Apr 3 19:46:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
6326 * Enum.cs: the values array is of the enum and not of the underlying
6327 type. Updates and some bug fixes.
6328 * MonoType.cs: make the internalcall return FullName instead of the
6329 assembly qualified name.
6330 * Type.cs: make ToString () simply return FullName.
6332 2002-04-03 Nick Drochak <ndrochak@gol.com>
6334 * Type.cs (GetTypeCode): provide some of the implementation for this
6335 method. It's still too simplistic to be considered complete.
6337 2002-04-02 Dietmar Maurer <dietmar@ximian.com>
6339 * Object.cs: fixed FieldGetter/FieldSetter signature
6341 2002-04-02 Nick Drochak <ndrochak@gol.com>
6343 * Environment.cs: add MonoTODO's on parts that should have it.
6345 2002-04-01 Nick Drochak <ndrochak@gol.com>
6347 * Enum.cs: added reality checks (check parameters to most methods that
6350 2002-03-30 Dietmar Maurer <dietmar@ximian.com>
6352 * Object.cs: added FieldGetter/FieldSetter
6354 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6356 * IntegerFormatter.cs: fixed initialization error in static
6359 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
6361 * Delegate.cs: added new field to store a trampoline function
6363 2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6365 * IntegerFormatter.cs: added workaround for bug #22668. First patch to
6366 make custom format strings work (not fully functional yet).
6368 2002/03/28 Nick Drochak <ndrochak@gol.com>
6370 * IntegerFormatter.cs: Change class from internal to public. Add
6371 necessary [CLSCompliant(false)] attributes.
6373 2002-03-27 Duco Fijma <duco@lorentz.xs4all.nl>
6374 * _AppDomain.cs, AppDomain.cs: renamed method GetDate to GetData
6377 2002-03-28 Nick Drochak <ndrochak@gol.com>
6379 * Type.cs: Added MonoTODO tags on members that have FIXME, etc.
6381 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
6383 * Console.cs: Modified to get std handles from MonoIO.
6384 * Environment.cs: removed PAL dependencies.
6386 2002-03-25 Miguel de Icaza <miguel@ximian.com>
6388 * String.cs (System): Removed internal enumeration, because
6389 bootstrapping the corlib at this point does not support
6392 * IntPtr.cs: Temporary work-around until I fix the assembly
6395 2002-03-24 Martin Baulig <martin@gnome.org>
6397 * Enum.cs (GetValues): According to the docu this is sorted after
6400 * String.cs (System): Removed enumeration, because it is pretty
6401 hard to support enumerations in /nostdlib mode for the core types.
6403 Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
6405 * Array.cs: move error handling in the catch block.
6406 * MulticastDelegate.cs: remove == and != operators that were
6407 removed with the delegate changes (when you add stuff, please do not
6408 remove existing functionality!).
6409 * Type.cs: if a property is not found in a type, search for it
6410 in the parent types, too.
6412 2002-03-18 Dan Lewis <dihlewis@yahoo.co.uk>
6414 * Math.cs: changed to use icall instead of PAL.
6416 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
6418 * Double.cs: added check for NaN (Bug [22082])
6420 2002-03-19 Nick Drochak <ndrochak@gol.com>
6422 * Enum.cs (Equals): check for null and throw if it is.
6423 * Enum.cs (Format): check for null parameters and throw if necessary.
6424 This method still needs more argument checking.
6426 2002-03-18 Dietmar Maurer <dietmar@ximian.com>
6428 * Enum.cs (Equals): check if Enums are of the same type
6430 2002-03-18 Nick Drochak <ndrochak@gol.com>
6432 * Double.cs: Explicitly handle comparisons in CompareTo() for
6433 Positive/Negative Infinity and NaN. Unit Test now passes on Linux.
6435 * Enum.cs(CompareTo): Check types of values before trying to compare.
6436 Throw exceptions if types are invalid or don't match.
6438 2002-03-14 Miguel de Icaza <miguel@ximian.com>
6440 * Array.cs: Add some extra debugging information.
6442 2002-03-15 Nick Drochak <ndrochak@gol.com>
6444 * Array.cs: Added IList and IEnumerable.
6446 2002-03-14 Miguel de Icaza <miguel@ximian.com>
6448 * UInt64.cs, UInt32.cs, UInt16.cs: Mark public parse methods as
6451 2002-03-14 Dietmar Maurer <dietmar@ximian.com>
6453 * Delegate.cs (Equals): also compare method_ptr
6454 (GetHashCode): returm method_ptr as hash
6456 2002-03-13 Duco Fijma <duco@lorentz.xs4all.n>
6457 * TimeSpan.cs: removed the use of Custom Numeric Format Strings,
6458 such as 42.ToString("0000000"), as these are (currently) not implemented
6459 in System.IntegerFormatter. TimeSpan luckely can do with Standard
6460 Numeric Format Strings, such as 42.ToString("D7").
6462 2002-03-12 Duncan Mak <duncan@ximian.com>
6464 * FieldAccessException.cs:
6465 * MethodAccessException.cs:
6466 * PlatformNotSupportedException.cs: Inherit from
6467 MemberAccessException, not SystemException.
6469 * ObsoleteAttribute.cs: Made Message and IsError properties
6472 Tue Mar 12 19:21:18 CET 2002 Paolo Molaro <lupus@ximian.com>
6474 * GC.cs: make SuppressFinalize() a nop.
6475 * Delegate.cs: fix == operator.
6477 2002-03-13 Nick Drochak <ndrochak@gol.com>
6479 * Enum.cs: Add IConvertible methods. Cyclic dependancy fixed in the
6480 runtime that goes with this patch.
6482 2002-03-10 Martin Baulig <martin@gnome.org>
6484 * Int32.cs (Parse): Correctly parse negative numbers.
6486 2002-03-08 Martin Baulig <martin@gnome.org>
6488 * String.cs (Split): Really fix it this time. Also adding several new
6489 testcase to the testsuite.
6491 2002-03-08 Martin Baulig <martin@gnome.org>
6493 * Array.cs (Copy): Optimized: removed duplicate null check, removed
6494 two duplicate GetLowerBound() calls and one duplicate IsValueType.
6496 Fri Mar 8 18:49:19 CET 2002 Paolo Molaro <lupus@ximian.com>
6498 * Object.cs: commit my hacked GetHashCode(): it's good enough for now.
6499 * String.cs: use the dumb code for IndexOf(string): this is worth
6500 15-20 % speedup in mcs compile with mint.
6502 Fri Mar 8 12:45:44 CET 2002 Paolo Molaro <lupus@ximian.com>
6504 * String.cs: revert change to Split() that broke the compiler (hi martin!:-).
6506 2002-03-07 Martin Baulig <martin@gnome.org>
6508 * String.cs (Join): Throw an ArgumentNullException.
6509 (LastIndexOf (string,int,int)): This method does a backwards search,
6510 so startIndex points to the end of value, not to its beginning. Don't
6511 throw an exception if startIndex equals this.Length. Always return -1
6512 if startIndex is smaller than the length of value.
6513 (Replace (string,string)): Replace all occurences of oldValue.
6514 If newValue is null, all occurences of oldValue are to be removed.
6515 (Split (char[],int)): Return an empty array if maxCount is zero, throw
6516 an ArgumentOutOfRangeException if it's less than zero. Return maxValue
6517 elements, not maxValue+1.
6519 Thu Mar 7 17:16:06 CET 2002 Paolo Molaro <lupus@ximian.com>
6521 * MonoType.cs: make GetEvents() an internal call.
6522 * MulticastDelegate.cs: copy the passed in array.
6524 2002-03-06 Martin Baulig <martin@gnome.org>
6526 * Array.cs (Copy): Use FastCopy when appropriate and do correct
6529 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
6530 * CharEnumerator.cs: fixes to CharEnumertor.MoveNext, fixing
6531 some of the failures found be new tests (see ChangeLog in
6532 Test/System). Comments added to this method, based on
6533 the representation invariant of this class, that (try to) explain
6534 why it now should be correct.
6536 2002-03-06 Dietmar Maurer <dietmar@ximian.com>
6538 * Int64.cs (Parse): bug fix for max. negative value.
6540 2002-03-07 Nick Drochak <ndrochak@gol.com>
6542 * RuntimeTypeHandle.cs: Add Serializable attribute as the docs say.
6543 I need to understand what the difference between the attribute and
6546 2002-03-06 Martin Baulig <martin@gnome.org>
6548 * Array.cs (Copy): Always throw an ArrayTypeMismatchException, not
6549 an InvalidCastException if the widening conversion failed. See
6550 testcases #M94-#M96.
6552 * Array.cs (CopyTo): Bug fix from Ajay Dwivedi, correctly handle
6553 arrays with non-zero lower bounds. Also adding testcases #F10-#F13
6556 * Array.cs (CopyTo): Reverted my last change, it was incorrect.
6557 (Copy): Actually allow copying multi-dimensional arrays.
6559 2002-03-05 Duncan Mak <duncan@ximian.com>
6562 (DBNull) Added the missing field.
6563 (IsDBNull) Fixed typo.
6564 (ToByte (string, int)) Implemented.
6565 (ToString (byte, int)) Implemented.
6567 (BuildConvertedString) internal functions used for converting values to
6575 * UInt32.cs: Implemented the IConvertible interface.
6577 * CharEnumerator.cs: Renamed to variables to be clearer and
6578 changed some of the tests to conform to the 1.0 spec.
6580 2002-03-06 Martin Baulig <martin@gnome.org>
6582 * Array.cs (Copy): Calculate absolute array position here and use
6583 GetValueImpl() and SetValueImpl() with that position. We can now
6584 copy multi-dimensional arrays.
6585 (CopyTo): Small bug fix.
6587 2002-03-05 Duco Fijma <duco@lorentz.xs4all.nl>
6589 * Version.cs: CompareTo changed according the LAMESPEC discovered by
6590 Nick (See VersionTest.cs).
6591 * CharEnumerator.cs: fixed two bugs in MoveNext. It had an off-by-one
6592 error comparing the current position (idx) against the length of the
6593 string iterated and it set idx to an unrecognized special value (-2)
6595 Tue Mar 5 17:34:14 CET 2002 Paolo Molaro <lupus@ximian.com>
6597 * SByte.cs, UInt64.cs: implement IConvertible interface. Nobody wants
6598 to do this dirty work, but someone has to do it (and I need it to pass
6599 the "200 sample tests compiled on linux" mark).
6601 2002-03-06 Nick Drochak <ndrochak@gol.com>
6604 * DecimalFormatter.cs
6611 * RuntimeMethodHandle.cs
6612 * RuntimeTypeHandle.cs
6615 Add [MonoTODO]'s to places where we currently throw a
6616 NotImplementedException.
6618 2002-03-05 Dietmar Maurer <dietmar@ximian.com>
6620 * Int16.cs (Parse): do not overflow on max negative value
6622 * Int32.cs (Parse): do not overflow on max negative value
6624 Mon Mar 4 20:36:05 CET 2002 Paolo Molaro <lupus@ximian.com>
6626 * Type.cs: fixed IsClass.
6627 * MonoType.cs: fixed MemberType, IsPrimitiveImpl, IsPointerImpl,
6628 IsByRefImpl. Added GetInterfaces().
6629 * IServiceProvider.cs: compilation fix.
6631 Mon Mar 4 18:37:03 CET 2002 Paolo Molaro <lupus@ximian.com>
6633 * Array.cs: allow copying an empty array to an empty array.
6635 Mon Mar 4 17:59:16 CET 2002 Paolo Molaro <lupus@ximian.com>
6637 * String.cs: fixed LastIndexOf (string) to do a bit of argument
6640 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
6641 * Version.cs: many fixes to failures found by the newly created
6642 test cases for this class. Specifically, the CompareTo member
6643 returned wrong values due to the use of Int32.MaxValue as a special
6644 value indicating an "undefined" version component. Also implemented the
6645 missing operators (==, <, >, etc.), one missing constructor and
6646 and some exception throwing.
6648 2002-03-04 Nick Drochak <ndrochak@gol.com>
6650 * IServiceProvider.cs: Add missing attribute: ComVisible(false)
6651 * Attribute.cs: Add missing attributes: Serializable and
6652 AttributeUsage(AttributeTargets.All)
6654 Mon Mar 4 11:26:49 CET 2002 Paolo Molaro <lupus@ximian.com>
6656 * MonoType.cs: implemented GetConstructors(), GetFields(),
6657 GetMethods(), GetProperties().
6658 * Object.cs: added debugging icall obj_address().
6659 * Type.cs: fixed the binding flags for some Get* methods.
6660 Implemented FindMembers() as calls to the specific GetMember
6663 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
6664 * BitConverter.cs: fixed one little bug: ToString(s, n, 0)
6665 should give an exception for n>=s.Length.
6667 2002-03-01 Martin Baulig <martin@gnome.org>
6669 * Array.cs: More argument checking and bug fixing.
6671 2002-03-01 Miguel de Icaza <miguel@ximian.com>
6673 * BitConverter.cs: Indentation match
6675 * AppDomain.cs: Added MonoTODOs to this too.
6677 * Buffer.cs: Added MonoTODOs to this.
6679 2002-03-01 Martin Baulig <martin@gnome.org>
6681 * Array.cs: Added argument checking to all methods where it was missing.
6683 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
6685 * BitConverter.cs: Fixed bugs in ToString methods
6687 Fri Mar 1 15:20:00 CET 2002 Paolo Molaro <lupus@ximian.com>
6689 * MulticastDelegate.cs: implement operators so mcs3 can be used on linux.
6691 2002-03-01 Nick Drochak <ndrochak@gol.com>
6693 * BitConverter.cs: Throw ArgumentException like mscorlib, instead of
6694 ArgumentOutOfRangeException like the docs say.
6696 2002-03-01 Martin Baulig <martin@gnome.org>
6698 * Enum.cs (CompareTo): Correctly override this method from IComparable.
6700 * Console.cs (setIn, setOut, setError): It's called SetIn, SetOut, SetError.
6702 2002-02-28 Martin Baulig <martin@gnome.org>
6704 * String.cs: This file now passes the testsuite on Linux :-)
6706 * String.cs (Intern, IsInterned): The interncalls are now called _Intern and _IsInterned;
6707 make them private and provide C# wrappers which do proper argument checking.
6709 * String.cs (Format): Correctly handle escaped brackets.
6711 * String.cs (_CompareChar): New internal function which compares two chars.
6712 (_Compare): Provide an internal compare method which can do all sorts of
6713 comparision and call it from all the Compare() methods. Also fixed a lot of
6714 bugs here, this code now actually passes the testsuite.
6716 2002-02-28 Duncan Mak <duncan@ximian.com>
6718 * Convert.cs: Added the missing methods. The new class status page
6719 kicks ass, it even found my typos! Woohoo!
6720 (ConvertFromBase): Moved the Exception throwing in here and
6721 removed the other occurances so it's all centralized now.
6722 (ISDBNull): Implemented.
6723 (GetTypeCode): Implemented.
6725 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
6726 * Guid.cs: Guid.ToString("") and Guid.ToString(null) is now understood as Guid.ToString("D")
6727 just as in mscorlib. There is (probably) a documentation bug in the MS FrameWork SDK, which
6728 states that a lacking format should be interpreted as "N".
6729 Also added [Serializable] attribute
6730 * TimeSpan.cs: some formatting and added the [Serializable] attribute
6732 2002-02-26 Duncan Mak <duncan@ximian.com>
6734 * WeakReference.cs: Committed for Ajay Kumar Dwivedi.
6736 2002-02-26 Martin Baulig <martin@gnome.org>
6738 * TimeZone.cs: Use an internal enum rather than magic numbers to access the
6739 fields of the interncall GetTimeZoneData.
6741 * DateTime.cs: Implemented Parse and fixed a few bugs.
6743 * String.cs (TrimStart): Small fix.
6745 2002-02-26 Martin Baulig <martin@gnome.org>
6747 * DateTime.cs: ParseExact is now fully functional.
6749 * String.cs (TrimEnd): Small fix.
6751 2002-02-26 Duco Fijma <duco@lorentz.xs4all.nl>
6752 * TimeSpan.cs: Added method TimeSpan.FromMilliseconds, mysteriously
6753 missing for about six months.
6755 Tue Feb 26 14:21:19 CET 2002 Paolo Molaro <lupus@ximian.com>
6757 * UInt64.cs: fixed Parse method () to handle some of the NumberStyle flags.
6759 2002-02-26 Martin Baulig <martin@gnome.org>
6761 * DateTime.cs: Miguel already committed this, but there was still a
6762 ChangeLog entry for this missing ....
6763 We're now reusing functionality from TimeSpan, printing dates is
6764 fully implemented, currently working on parsing.
6766 * TimeZone.cs: Fully implemented this. There's a new InternCall in the
6769 Fri Feb 22 18:47:08 CET 2002 Paolo Molaro <lupus@ximian.com>
6771 * MonoType.cs: disable constructor.
6772 * Object.cs: make GetType() an internalcall.
6773 * Type.cs: added correct bindingflags to GetMethods ().
6774 All such calls should be reviewed to use the correct flags.
6776 Thu Feb 21 19:23:46 CET 2002 Paolo Molaro <lupus@ximian.com>
6778 * Type.cs, MonoType.cs: type_is_subtype_of () changed to include extra
6781 Thu Feb 21 16:56:51 CET 2002 Paolo Molaro <lupus@ximian.com>
6783 * Type.cs: implemented IsAssignableFrom.
6785 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
6786 * Guid.cs: fixed Guid.Guid(string) ctor. Changed format:
6787 "{0xdddddddd,0xdddd,0xdddd,{0xdd},{0xdd},{0xdd},{0xdd},{0xdd},{0xdd}}"
6788 to "{0xdddddddd,0xdddd,0xdddd,{0xdd,0xdd,0xdd,0xdd,0xdd,0xdd}}"
6789 The former is documented by Microsoft. The latter is how they
6790 actually implemented it in mscorlib:-)
6792 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
6794 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
6796 * MonoType.cs: Implemented custom attributes methods.
6799 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
6802 Tue Feb 19 20:34:35 CET 2002 Paolo Molaro <lupus@ximian.com>
6804 * MonoCustomAttrs.cs: hooks to get the custom attributes from the
6806 * MonoType.cs: Implemented custom attributes methods.
6808 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
6810 * Array.cs (CopyTo): use GetLength() instead of GetUpperBound()
6812 2002-02-19 Duncan Mak <duncan@ximian.com>
6814 * Convert.cs: Finished up the missing methods in Convert. Added a
6815 new private method ConvertFromBase.
6817 2002-02-19 Dietmar Maurer <dietmar@ximian.com>
6819 * String.cs: impl. IConvertible interface
6821 2002-02-18 Duco Fijma <duco@lorentz.xs4all.nl>
6822 * Guid.cs: actual implementation for Guid.Guid(string) Ctor
6824 2002-02-18 Duncan Mak <duncan@ximian.com>
6826 * Convert.cs: Changed from using Type.GetType (string) to just
6827 typeof (). Probably will speed things up a bit?
6829 2002-02-18 Ajay Kumar Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>
6832 1. Fix for GetUpperBound to return correct values
6833 2. made some Properties virtual
6834 3. Adds IsFixedSize and IsReadOnly properties.
6835 4. changes CreateInstance(Type,int[],int[]) to throw Exception
6836 when third arg is null. InternalCall CreateInstance changed to
6838 5. Fixed array.GetUpperBound at a couple of places
6839 6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
6840 7. Added two FIXME's in BinarySearch functions.
6842 2002-02-17 Duncan Mak <duncan@ximian.com>
6844 * TimeZone.cs: Applied the rest of Ajay's patch for
6845 IsDaylightSavingTime. Thanks a lot for the nice explanation of how
6848 2002-02-17 Duco Fijma <duco@lorentz.xs4all.nl>
6849 * Guid.cs: added stub for Guid(string) ctor
6851 2002-02-17 Duncan Mak <duncan@ximian.com>
6853 * Convert.cs: Near-complete implementation of Convert.cs
6855 Added all the To* methods taking (object) and
6856 (object, IFormatProvider) as parameters.
6858 Added [CLSCompliant (false)] attributes to methods dealing with
6861 Added the missing section on converting to and from DateTime. Only
6862 6 missing methods, all marked with MonoTODOs. Will tackle them later.
6864 2002-02-16 Duncan Mak <duncan@ximian.com>
6866 * TimeZone.cs: patch from Ajay Kumar Dwivedi (adwiv@yahoo.com) to
6867 make IsDaylightSavingTime (DateTime) call
6868 IsDaylightSavingTime (DateTime, DaylightTime).
6870 Added internal class CurrentTimeZone from Ajay. It needs more work
6871 to fill in the appropriate internal calls.
6873 Sat Feb 16 12:41:41 CET 2002 Paolo Molaro <lupus@ximian.com>
6875 * Type.cs: fix IsClass.
6877 Sat Feb 16 12:02:02 CET 2002 Paolo Molaro <lupus@ximian.com>
6879 * String.cs: fix Trim().
6881 Fri Feb 15 21:02:46 CET 2002 Paolo Molaro <lupus@ximian.com>
6883 * String.cs: fix more off by one errors.
6885 Thu Feb 14 18:54:09 CET 2002 Paolo Molaro <lupus@ximian.com>
6887 * MonoType.cs: fix IsValueTypeImpl.
6888 * Type.cs: fix IsEnum. Implement Equals methods.
6890 Wed Feb 13 21:50:13 CET 2002 Paolo Molaro <lupus@ximian.com>
6892 * Int32.cs: implement IConvertible interface.
6894 2002-02-12 Duncan Mak <duncan@ximian.com>
6896 * TimeZone.cs: Implemented and added to CVS.
6898 2002-02-11 Duncan Mak <duncan@ximian.com>
6900 * Convert.cs: Implemented the ChangeType () methods.
6902 Mon Feb 11 19:48:58 CET 2002 Paolo Molaro <lupus@ximian.com>
6904 * Array.cs: make Clone() an internal call.
6906 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
6907 * Changed Guid.NewGuid so that it can use both System.Random and
6908 System.Security.Cryptography.RandomNumberGenerator
6910 2002-02-09 Duco Fijma <duco@lorentz.xs4all.nl>
6911 * First version of Guid.NewGuid
6913 2002-02-08 Duncan Mak <duncan@ximian.com>
6915 * RuntimeArgumentHandle.cs: Added to CVS.
6917 Fri Feb 8 19:14:54 CET 2002 Paolo Molaro <lupus@ximian.com>
6919 * CrossAppDomainDelegate.cs, AssemblyLoadEventHandler.cs,
6920 UnhandledExceptionEventHandler.cs: added delegates.
6922 Fri Feb 8 18:06:20 CET 2002 Paolo Molaro <lupus@ximian.com>
6924 * MarshalByRefObject.cs: add ToString () method
6925 (apparently needed by nunit).
6926 * _AppDomain.cs: uncomment ToString(): dietmar fixed the bug triggered
6927 by it in the runtime.
6929 2002-02-08 Dan Lewis <dihlewis@yahoo.co.uk>
6931 * String.cs (Format): implemented
6933 2002-02-07 Duncan Mak <duncan@ximian.com>
6935 * DuplicateWaitObjectException:
6936 * InvalidCastException:
6937 * NotImplementedException:
6938 * NotSupportedException:
6939 * NullReferenceException:
6940 * OutOfMemoryException:
6941 * OverflowException:
6943 * StackOverflowException.cs:
6944 * UnauthorizedAccessException: Added missing constructor used for serialization.
6946 2002-02-07 Dietmar Maurer <dietmar@ximian.com>
6948 * String.cs (System.Compare): bug fix
6950 2002-02-06 Dietmar Maurer <dietmar@ximian.com>
6952 * Enum.cs (Parse, GetHashCode): impl.
6954 2002-02-05 Duncan Mak <duncan@ximian.com>
6956 * DBNull.cs: This is my first crack at the DBNull class. I think I
6957 actually got most of the IConvertible methods right, but I haven't
6958 done the research to test whether or not this is the correct
6959 behavior. IConvertible.ToType () is the most iffy of all, IMHO.
6961 * DllNotFoundException.cs: Inherits from TypeLoadException, not SystemException.
6963 2002-02-05 Dietmar Maurer <dietmar@ximian.com>
6965 * Enum.cs: added more functionality (GetName, ToObject, Equals)
6967 2002-01-31 Duncan Mak <duncan@ximian.com>
6969 * InvalidOperationException.cs:
6970 * NotFiniteNumberException.cs:
6971 * ObjectDisposedException.cs:
6972 * TypeInitializationException.cs: Added missing bits for serialization/
6974 * AppDomainUnloadedException.cs:
6975 * ApplicationException.cs:
6976 * ArgumentOutOfRangeException.cs:
6977 * ArithmeticException.cs:
6978 * ArrayTypeMismatchException:
6979 * BadImageFormatException.cs:
6981 * MissingMemberException.cs:
6982 * TypeLoadException.cs: Added missing bits for serialization.
6984 2002-01-30 Duco Fijma <duco@lorentz.xs4all.nl>
6985 * Guid.cs: implemented everything but Guid.NewGuid
6987 Tue Jan 29 22:32:36 CET 2002 Paolo Molaro <lupus@ximian.com>
6989 * _AppDomain.cs: remove ToString() method: it doesn't seem right
6990 to have it in this interface and it screws up the method vtable setup.
6992 2002-01-28 Andrei Zmievski <andrei@php.net>
6994 * Double.cs: implemented IConvertible interface.
6996 2002-01-28 Miguel de Icaza <miguel@ximian.com>
6998 * ArgumentException.cs: Implement serialization constructor.
6999 (GetObjectData): Implement serializer.
7001 * ArgumentNullException.cs: Implement serialization constructor.
7003 * Exception.cs: Implement serialization constructor.
7004 (GetObjectData): Implement serializer.
7006 2002-01-23 Miguel de Icaza <miguel@ximian.com>
7008 * DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
7010 2002-01-23 Duncan Mak <duncan@ximian.com>
7012 * EntryPointNotFoundException.cs:
7013 * FormatException: Added missing constructor and related bits.
7015 * TypeLoadException: Added missing constructor, methods and properties.
7017 2002-01-23 Miguel de Icaza <miguel@ximian.com>
7019 * AppDomain.cs (GetAssemblies): Use foreach construct instead of
7020 manually getting the enumerator.
7022 (AppDomain.AppDomain): Prime the loaded assemblies with the
7023 assemblies loaded by the runtime in our behalf.
7025 * AppDomainSetup.cs: Remove private keyword, that is the default.
7026 Add a new property DisallowPublisherPolicy.
7028 * AppDomain.cs (AppDomain.GetAssemblies): Implement.
7030 Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <lupus@ximian.com>
7032 * MonoType.cs, Type.cs: many updates, corrected implementation,
7035 2002-01-20 Andrei Zmievski <andrei@php.net>
7038 * Char.cs: implemented IConvertible interface.
7040 * Boolean.cs: use our own ToString() method directly.
7042 2002-01-20 Duncan Mak <duncan@ximian.com>
7044 * Files I commited recently: Fixed indentation style.
7046 2002-01-20 Nick Drochak <ndrochak@gol.com>
7048 * SerializableAttribute.cs: this attrib can be used on enums, structs,
7049 and delegates too. Added the appropriate usage flags.
7051 2002-01-18 Duncan Mak <duncan@ximian.com>
7053 * CharEnumerator.cs: Implemented.
7054 * String.cs (System): Fixed the GetEnumerator () method(s).
7056 * ObsoleteAttribute.cs:
7057 * STAThreadAttribute.cs:
7058 * MTAThreadAttribute.cs:
7059 * ThreadStaticAttribute.cs:
7060 * LoaderOptimizationAttribute.cs:
7061 * PlatformNotSupportedException.cs:
7062 * LoaderOptimization.cs: Added to CVS.
7064 2002-01-18 Duncan Mak <duncan@ximian.com>
7066 * AppDomainUnloadedException.cs:
7067 * MethodAccessException.cs:
7068 * ContextMarshalException.cs:
7069 * CannotUnloadAppDomainException.cs:
7070 * DllNotFoundException.cs:
7071 * EntryPointNotFoundException.cs:
7072 * FieldAccessException.cs:
7073 * TypeUnloadedException.cs:
7074 * MissingFieldException.cs: Added to CVS.
7076 * ApplicationException.cs:
7077 * MemberAccessException.cs:
7078 * MissingMemberException.cs
7079 * MissingMethodException.cs:
7080 * SystemException.cs: Added [Serializable] attribute.
7082 * Exception.cs: Added [Serializable] attribute, made properties
7083 'Message', 'Source' and 'StackTrace' virtual methods, per 1.0
7086 * ContextStaticAttribute.cs: Added [Serializable] attribute and
7087 put in the missing constructor.
7089 * Environment.cs: Commented out references to
7090 EnvironmentPermissionAttribute, because they're just stubbed out
7091 right now and has no implementation.
7093 2002-01-16 Andrei Zmievski <andrei@php.net>
7095 * Boolean.cs: implemented IConvertible interface
7097 2002-01-15 Nick Drochak <ndrochak@gol.com>
7099 * ResolveEventArgs.cs: class should derive from EventArgs.
7101 2002-01-14 Miguel de Icaza <miguel@ximian.com>
7103 * String.cs (System): Use DefaultMemberName for the String class.
7105 Mon Jan 14 17:06:40 CET 2002 Paolo Molaro <lupus@ximian.com>
7107 * String.cs: use IndexerName in index char accessor.
7109 Thu Jan 10 21:05:23 CET 2002 Paolo Molaro <lupus@ximian.com>
7111 * MonoType.cs: add rank to MonoTypeInfo and implement GetArrayRank.
7112 * String.c: eliminate 64k+ method calls in search.
7113 * Type.cs: handle byref and array types in ToString ().
7115 2002-01-09 Duco Fijma <duco@lorentz.xs4all.nl>
7117 * Guid.cs: created first version
7119 2002-01-10 Dietmar Maurer <dietmar@ximian.com>
7121 * MonoType.cs: added missing TypeAttributes to MonoTypeInfo
7123 Wed Jan 9 19:35:07 CET 2002 Paolo Molaro <lupus@ximian.com>
7125 * MulticastDelegate.cs: add == and != operator stubs.
7126 * String.cs: check for null in == operator.
7127 * Type.cs: use a virtual method to get TypeAttributes.
7129 Tue Jan 8 23:30:19 EST 2002 Matt Kimball <matt@kimball.net>
7130 * String.cs: Fixed several off-by-one errors in LastIndexOf* methods
7132 2002-01-09 Nick Drochak <ndrochak@gol.com>
7134 * Environment.cs: Comment out Security attribute and put a MonoTODO
7135 there as a reminder. We need mcs magic to handle security attributes in
7138 2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
7139 * Created IAppDomainSetup.cs
7141 2002-01-06 Duco Fijma <duco@lorentz.xs4all.nl>
7142 * Created System._AppDomain interface in _AppDomain.cs
7144 2002-01-06 Nick Drochak <ndrochak@gol.com>
7146 * ResolveEventArgs.cs: New File, completely implemented! ;)
7148 Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <lupus@ximian.com>
7150 * Enum.cs: dummy ToString impl.
7151 * String.cs: dummy format implementations to get compiler errors
7153 * Type.cs: implemented filter delegates. FindMembers runs the filter, now.
7155 2002-01-05 Ravi Pratap <ravi@ximian.com>
7157 * TODOAttribute.cs : Augment some more; provide two constructors
7158 with support for a comment too.
7160 2002-01-05 Nick Drochak <ndrochak@gol.com>
7162 * Uncommented those MonoTODO's now that Ravi's got
7165 2001-01-04 Ravi Pratap <ravi@ximian.com>
7167 * TODOAttribute.cs : Actually add this time ;-)
7169 Change name to MonoTODO.
7171 2002-01-04 Jeffrey Stedfast <fejj@ximian.com>
7173 * String.cs (Trim): Fixed a few logic bugs in the code that
7174 calculated how much to trim off the end of the string.
7176 2001-01-04 Nick Drochak <ndrochak@gol.com>
7178 * Commented out the [TODO] attributes for now. We don't have the
7179 class written. Also changed it to [MonoTODO]
7181 2002-01-04 Ravi Pratap <ravi@ximian.com>
7183 * TODOAttribute.cs : Add. We use this attribute to tag all bits in
7184 our class libraries that are incomplete.
7186 * Array.cs : Apply attribute wherever we find a FIXME which says
7187 we need something to be implemented there.
7191 * MulticastDelegate.cs : Ditto.
7193 * RuntimeFieldHandler.cs, RuntimeMethodHandle.cs,
7194 RuntimeTypeHandle.cs : Ditto.
7196 * String.cs : Ditto.
7200 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs, Delegate.cs : Ditto.
7202 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs, Single.cs,
7203 UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
7205 * Byte.cs, Char.cs, ContextBoundObject.cs, DateTime.cs,
7206 Delegate.cs : Ditto.
7208 * Enum.cs, Environment.cs, Exception.cs, Int64.cs, SByte.cs,
7209 Single.cs, UInt16.cs, UInt32.cs, ValueType.cs: Ditto.
7211 Thu Jan 3 23:24:04 CET 2002 Paolo Molaro <lupus@ximian.com>
7213 * Delegate.cs: add Remove() stub.
7214 * Enum.cs: add ToObject().
7215 * Type.cs: add IsEnum property.
7217 2002-01-03 Kristian Rietveld <kris@gtk.org>
7219 * Convert.cs: add non-CLS-compliant ToBoolean methods for char,
7220 DateTime and object.
7222 2001-12-30 Nick Drochak <ndrochak@gol.com>
7224 * Byte.cs (Parse): Add comments to aid in testing.
7226 2001-12-21 Miguel de Icaza <miguel@ximian.com>
7228 * Char.cs (Parse): Implement.
7230 * Byte.cs (Parse): Implement a fast parser.
7232 * SByte.cs (Parse): Implement a fast parser.
7234 * UInt16.cs (Parse): Implement a fast parser.
7236 * Int16.cs (Parse): Implement a fast parser.
7238 * UInt32.cs (Parse): Implement a fast parser.
7240 * Int32.cs (Parse): Implement a fast parser.
7242 Fri Dec 21 15:14:52 CET 2001 Paolo Molaro <lupus@ximian.com>
7244 * Array.cs: fix null ref in sort code.
7245 * UInt64.cs: add bare-bones parse.
7247 Thu Dec 20 15:29:52 CET 2001 Paolo Molaro <lupus@ximian.com>
7249 * Byte.cs: removed use of Regexes.
7251 Tue Dec 18 18:39:54 CET 2001 Paolo Molaro <lupus@ximian.com>
7253 * Enum.cs: implemented GetValues(), GetNames(), GetName(),
7254 IsDefined(), GetUnderlyingType().
7255 * String.cs: fix one instance of Compare().
7256 * Type.cs: implemented GetProperties(), GetProperty().
7258 Thu Dec 13 20:10:57 CET 2001 Paolo Molaro <lupus@ximian.com>
7260 * Array.cs: implement CopyTo ().
7261 * Char.cs: implement ToString ().
7262 * Exception.cs: bugfix.
7263 * Int32.cs: bare-bones Parse ().
7264 * MonoType.cs: query the needed info with an internalcall.
7265 * String.cs: speedups, bugfixes, reduced copies.
7266 * Type.cs: added missing fields. Implemented many of the Is*
7267 properties. Implemented GetMethod(), GetConstructor(), GetMethods(),
7268 GetFields(), FindMembers(), ToString().
7270 2001-12-11 Dick Porter <dick@ximian.com>
7272 * DateTime.cs: Implemented FromFileTime() and ToFileTime()
7274 * Console.cs: Use handles rather than casting file descriptors
7276 2001-12-08 Nick Drochak <ndrochak@gol.com>
7278 * Byte.cs (Parse): Start implementation. Parse(string) works, but
7279 now we need to handle other formats
7281 2001-12-06 Dietmar Maurer <dietmar@ximian.com>
7283 * DateTime.cs: added an icall to GetNow()
7285 2001-12-04 Dietmar Maurer <dietmar@ximian.com>
7287 * Double.cs: added the parse method from Bob Smith
7289 2001-11-28 Miguel de Icaza <miguel@ximian.com>
7295 * Int32.cs (Int32.CompareTo): Fix because we can not just
7296 substract the values.
7298 Return possitive value if the object is null.
7300 * Boolean.cs: (Boolean.CompareTo): ditto.
7302 * Int16.cs (Int16.CompareTo): ditto.
7304 * Byte.cs (Byte.CompareTo): ditto.
7306 * SByte.cs (SByte.CompareTo): ditto.
7308 * Char.cs (Char.CompareTo): ditto.
7310 * Decimal.cs (Decimal.CompareTo): ditto.
7312 * Int64.cs (Int64.CompareTo): ditto.
7318 2001-11-28 Nick Drochak <ndrochak@gol.com>
7320 * Byte.cs: Throw NotImplementedException for Parse.
7322 2001-11-27 Derek Holden <dholden@draper.com>
7324 * IntegerFormatter.cs: Formatting of type "Number" was not
7325 using NumberFormatInfo.NumberNegativePattern.
7327 2001-11-26 Dick Porter <dick@ximian.com>
7329 * LocalDataStoreSlot.cs: No need to delete a system TLS slot in
7330 the finalise routine any more
7332 2001-11-21 Miguel de Icaza <miguel@ximian.com>
7334 * ApplicationException.cs: internationalize by adding calls to
7335 Locale.GetText (). And throw NotImplementedExceptions on calls
7336 that we have to implement.
7338 * Version.cs: Ditto.
7340 * ValueType.cs: ditto.
7342 * UnauthorizedAccessException.cs: ditto.
7350 * TypeLoadException.cs: ditto
7352 * TypeInitializationException.cs: ditto.
7356 * TimeSpan.cs: ditto.
7358 * SystemException.cs: ditto.
7362 * StackOverflowException.cs: ditto.x
7368 * RuntimeTypeHandle.cs: ditto.
7370 * RuntimeMethodHandle.cs: ditto.
7372 * RuntimeFieldHandle.cs: ditto.
7376 * OutOfMemoryException.cs: ditto.
7378 * OperatingSystem.cs: ditto.
7380 * ObjectDisposedException.cs: ditto.
7382 * NullReferenceException.cs: ditto.
7384 * NotImplementedException.cs: ditto.
7386 * NotFiniteNumberException.cs: ditto.o
7388 * MulticastNotSupportedException.cs: ditto.
7390 * MissingMethodException.cs: ditto.
7392 * MemberAccessException.cs: ditto.
7396 * InvalidCastException.cs: ditto.
7398 * IntegerFormatter.cs: ditto.
7404 * IndexOutOfRangeException.cs: ditto.
7406 * Environment.cs: ditto
7410 * DuplicateWaitObjectException.cs: ditto.
7412 * DivideByZeroException.cs: ditto.
7414 * Delegate.cs: ditto
7416 * DecimalFormatter.cs: ditto.
7418 * Decimal.cs: ditto.
7420 * DateTime.cs: ditto.
7422 * Convert.cs: ditto.
7428 * Boolean.cs: ditto.
7430 * ArrayTypeMismatchException.cs: ditto.
7432 * ArithmeticException.cs: ditto.
7434 * ArgumentOutOfRangeException.cs: ditto.
7436 * ArgumentNullException.cs: ditto.
7438 * Enum.cs: Make it derive from ValueType, add CompareTo method.
7440 * Attribute.cs: Reformat.
7442 2001-11-14 Miguel de Icaza <miguel@ximian.com>
7444 * Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
7445 UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
7446 exception if the value is null too.
7448 * Char.cs (CompareTo): ditto.
7450 * ApplicationException.cs: Added constructor that does serialization.
7452 * ParamArrayAttribute.cs: Define attribute correctly.
7454 Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>
7456 * AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
7457 * Array.cs: fix Array.Copy.
7458 * AssemblyLoadEventArgs.cs: rename field.
7459 * CLSCompliantAttribute.cs: use correct name for the class.
7460 * Char.cs: fix IsLetter.
7461 * Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
7462 SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
7463 * Convert.cs: CLSCompliant updates, add ChangeType() methods.
7464 * Delegate.cs: renamed target field to m_target.
7465 * Enum.cs: added missing methods.
7466 * MonoType.cs: add a constructor and some needed properties.
7467 * Object.cs: implement GetType().
7468 * String.cs: CLSCompliant updates. Fixes everywhere to remove the
7470 * Type.cs: add missing methods/properties.
7472 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
7474 * AttributeUseage.cs: Should define AttributeUsageAttribute.
7476 * CLSCompliant.cs: Marked with AttributeUsage attribute.
7478 * Decimal.cs: Fixed CLSCompliant attributes.
7480 * Type.cs: changed _impl to internal (needs to be accessable by
7483 (TypeHandle): Marked as abstract, implementation removed.
7485 (IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
7486 GetMethod): Added stub implementations so NUnit would link against
7489 Tue Nov 6 09:11:43 CET 2001 Paolo Molaro <lupus@ximian.com>
7491 * AppDomain.cs: use an internal constructor for AssemblyBuilder.
7493 2001-11-05 Miguel de Icaza <miguel@ximian.com>
7495 * NonSerializedAttribute.cs: Add AttributeUsage rules for this
7498 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <lupus@ximian.com>
7500 * String.cs: fix a couple of bugs.
7501 * AppDomain.cs: use new AppBuilder constructor.
7502 * Buffer.cs, GC.cs, NonSerializedAttribute.cs,
7503 NotImplementedException.cs, ObjectDisposedException.cs,
7504 UnauthorizedAccessException.cs: add implementation.
7505 * OverflowException.cs: fix class name.
7507 2001-10-28 Jeffrey Stedfast <fejj@ximian.com>
7509 * String.cs: Don't use a terminating nil char for our internal
7512 2001-10-27 Miguel de Icaza <miguel@ximian.com>
7514 * Delegate.cs (Delegate.CombineImpl): Implement.
7515 (Delegate.Combine): Implement.
7517 * MulticastDelegate.cs (MulticastDelegate.Equals): Implement.
7519 (MulticastDelegate.CombineImpl): This was not as trivial as I
7522 * ContextStaticAttribute.cs: Added AttributeUsage to
7523 ContextStaticAttribute.
7525 * FlagsAttribute.cs: Add AttributeUsage to FlagsAttribute
7527 2001-10-15 Martin Weindel <martin.weindel@t-online.de>
7529 * added Decimal.cs * added DecimalFormatter.cs (internal class
7530 used from System.Decimal)
7532 2001-10-11 Thomas Neidhart <tome@sbox.tugraz.at>
7534 * Convert.cs: Added methods for Base64 transforming just used the
7535 existing System.Security.Cryptography.ToBase64Transform, should
7536 be changed to use a stand-alone class, e.g. Base64Encoder
7538 2001-10-10 Derek Holden <dholden@draper.com>
7540 * IntegerFormatter.cs: Added. Implements ToString for all the
7541 integer data types for all the format types.
7543 * Byte.cs: Using IntegerFormatter for ToString's.
7545 * SByte.cs: Using IntegerFormatter for ToString's.
7547 * Int16.cs: Using IntegerFormatter for ToString's.
7549 * Int32.cs: Using IntegerFormatter for ToString's.
7551 * Int64.cs: Using IntegerFormatter for ToString's.
7553 * UInt16.cs: Using IntegerFormatter for ToString's.
7555 * UInt32.cs: Using IntegerFormatter for ToString's.
7557 * UInt64.cs: Using IntegerFormatter for ToString's.
7559 2001-10-07 Miguel de Icaza <miguel@ximian.com>
7561 * Exception.cs: Implement bits of serialization.
7563 * RuntimeFieldHandle.cs: Implement Serialization features.
7565 * Type.cs: Implement TypeHandle property.
7567 2001-09-28 Dick Porter <dick@ximian.com>
7569 * LocalDataStoreSlot.cs: Implemented
7571 Tue Sep 25 19:58:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
7573 * String.cs: fix off-by-one error in Trim().
7575 Tue Sep 25 18:52:14 CEST 2001 Paolo Molaro <lupus@ximian.com>
7577 * Type.cs: added GetType () method.
7579 Tue Sep 25 17:29:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
7581 * MissingMethodException.cs, MissingMemberException.cs,
7582 MemberAccessException.cs: added.
7584 Tue Sep 25 16:46:43 CEST 2001 Paolo Molaro <lupus@ximian.com>
7586 * String.cs: don't access the string array out of bounds in
7587 LastIndexOf. * Type.cs: fix return type of the Assembly property.
7589 Mon Sep 24 20:35:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
7591 * String.cs: make Intern and IsIntern internalcalls.
7593 2001-09-13 Dick Porter <dick@ximian.com>
7595 * Type.cs: Added a stub for the IsValueType property.
7597 * SystemException.cs (System): Added the other constructor, so
7598 that System.Threading exceptions can inherit it.
7600 2001-09-08 Jeffrey Stedfast <fejj@ximian.com>
7602 * String.cs (TrimStart): Don't keep looping through the trimchars
7603 once we've found a match.
7604 (TrimEnd): Same here.
7605 (Trim): And finally here.
7607 2001-09-07 Ravi Pratap <ravi@ximian.com>
7609 * Char.cs (IsLetterOrDigit): Implement.
7610 (IsLower): Implement, but we need to be Unicode aware.
7611 (IsNumber): Implement.
7612 (IsPunctuation): Implement.
7613 (IsWhiteSpace): Implement.
7614 (ToUpper): Fix to subtract 32 from the ASCII value, not 33 :)
7615 (ToLower): Same here.
7617 2001-09-04 Miguel de Icaza <miguel@ximian.com>
7619 * Object.cs: Shortcut, if (a == b) then return true.
7621 Fri Sep 7 18:34:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
7623 * Delegate.cs: we need a pointer to the method thunk in
7624 the delegate object.
7626 Fri Sep 7 12:28:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
7628 * AsyncCallback.cs, common.src: add AsyncCallback delegate.
7630 2001-09-06 Jeffrey Stedfast <fejj@ximian.com>
7632 * String.cs (System): Don't mix uint and int.
7634 2001-09-04 Jeffrey Stedfast <fejj@ximian.com>
7636 * String.cs (BoyerMoore): Modified to not use pointers and to instead
7638 (IndexOf): Use BoyerMoore.
7640 2001-09-02 Miguel de Icaza <miguel@ximian.com>
7642 * All over: Use the autogenerated enumerations from the ECMA
7643 documentation that Sergey wrote.
7645 * PlatformID.cs: Add Unix definition.
7647 * OperatingSystem.cs: Use Unix instead of Linux here.
7649 * MarshalByRefObject.cs: Mark class as [Serializable].
7651 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
7653 * Console.cs: impl. (write only)
7654 implemented the stdin stuff
7656 * Int32.cs: impl. real op_Equal
7658 2001-08-24 Miguel de Icaza <miguel@ximian.com>
7660 * (common.src): Removed IAsyncResult as it is not on CVS yet.
7662 * UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
7663 as it breaks the build.
7665 2001-08-23 Michael Lambert <michaellambert@email.com>
7667 * IntPtr.cs: Optimized unsafe declaration, implemented GetObjectData,
7668 added CLSCompliant attribute
7670 * IAsyncResult.cs: Added
7672 * common.src: Added IAsyncResult.cs
7674 2001-08-23 Michael Lambert <michaellambert@email.com>
7678 * common.src: Added UIntPtr.cs
7680 2001-08-20 Dietmar Maurer <dietmar@ximian.com>
7682 * Attribute.cs: uncomment some code to make it compile again
7684 * mono.src: removed duplicated Attribute.cs
7686 2001-08-16 Nick Drochak <ndrochak@gol.com>
7688 * Attribute.cs: implemented all methods except GetHashCode()
7690 * common.src: added Attribute.cs so it would compile in
7692 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
7694 * Object.cs: changed MemberWiseClone to MemberwiseClone, and
7695 marked it as InternalCall
7697 * common.src: removed UriFormatException.cs because the file is
7700 * RuntimeTypeHandle.cs: replaced IntrPtr with IntPtr
7701 * Char.cs: replaced byte with char
7703 * Array.cs: make it work with the mono interpreter
7705 2001-08-06 Miguel de Icaza <miguel@ximian.com>
7707 * Version.cs: Make the class sealed
7709 2001-08-08 Bob Smith <bob@thestuff.net>
7711 * Random.cs: Many compile fixes.
7712 * Random.cs: I read a bad spec. Class updated to match real spec.
7714 2001-08-06 Miguel de Icaza <miguel@ximian.com>
7716 * IntPtr.cs: Added and Completed implementation.
7718 * Uri.cs: Add a note.
7720 2001-08-06 Bob Smith <bob@thestuff.net>
7722 * Random.cs: Compile fix. Needs more testing.
7724 2001-08-06 Garrett Rooney <rooneg@electricjellyfish.net>
7726 * Uri.cs: Initial Implementation. Parsing needs to be fixed to take
7727 into account IPv6 addresses, url encoding needs to be implemented, and
7728 various minor methods need to be written, but this is a decent start.
7730 2001-08-06 Dietmar Maurer <dietmar@ximian.com>
7732 * common.src: added Object.cs
7734 * mono.src: added ValueType.cs
7736 2001-08-02 Dietmar Maurer <dietmar@ximian.com>
7738 * Math.cs: replaced libc with libm
7740 2001-08-02 Bob Smith <bob@thestuff.net>
7742 * Random.cs: Implemented. Needs testing.
7744 2001-08-02 Miguel de Icaza <miguel@ximian.com>
7746 * IServiceProvider.cs, EventHandler.cs: New files.
7748 2001-08-02 Marcel Narings <marcel@narings.nl>
7750 * DateTime.cs: Cleaned up a bit. Added the Add* family members.
7751 Added exceptions. Added IConvertible. Still needs some platform
7752 dependend stuff, the Parse and ToString members
7754 2001-08-01 Dietmar Maurer <dietmar@ximian.com>
7756 * Type.cs (GetTypeFromHandle): added placeholder
7758 2001-07-24 Derek Holden <dholden@draper.com>
7760 * Boolean.cs: Formatted to code style standard. Added GetTypeCode
7761 which is really an IConvertible defined method.
7763 * Byte.cs: Added a missing Parse method. Put in Parse and ToString
7764 behavior, still need to do the main Parse and ToString.
7766 * Char.cs: Added a bunch of missing ECMA methods. Commented a
7767 specification discrepency. Still didn't any unicode stuff, though
7768 every IsFoo(char c) method has an IsFoo(string, index)
7769 counterpart, added wrappers for those.
7771 * Convert.cs: Fixed NaN/Inf checking and double/float
7772 rounding. Added ToType for IConvertible classes
7774 * Double.cs: Fixed ECMA min and max values. Added IsInfinity /
7775 IsNaN methods. Changed Inf/NaN internals.
7777 * IConvertible.cs: Added comments for using
7778 Convert.ToType. Changed return values to draft base values.
7780 * Int16.cs: Added a missing Parse statement. Put in behavior for
7781 overloaded ToString and Parse methods.
7783 * Int32.cs: Added a missing Parse statement. Put in behavior for
7784 overloaded ToString and Parse methods.
7786 * Int64.cs: Added a missing Parse statement. Put in behavior for
7787 overloaded ToString and Parse methods.
7789 * Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
7790 methods. Changed Inf/NaN internals.
7792 * SByte.cs: Added a missing Parse method. Put in Parse and
7793 ToString behavior, still need to do the main Parse and ToString.
7795 * UInt16.cs: Added a missing Parse statement. Put in behavior for
7796 overloaded ToString and Parse methods.
7798 * UInt32.cs: Added a missing Parse statement. Put in behavior for
7799 overloaded ToString and Parse methods.
7801 * UInt64.cs: Added a missing Parse statement. Put in behavior for
7802 overloaded ToString and Parse methods.
7804 2001-07-20 Miguel de Icaza <miguel@ximian.com>
7806 * MulticastDelegate.cs: New File.
7808 * Delegate.cs: New file.
7810 * Enum.cs: New file.
7812 * Attribute.cs: New file.
7814 * Type.cs: New file.
7816 * ParamArrayAttribute.cs: New file.
7818 * RuntimeTypeHandle.cs: New file.
7820 * MulticastDelegate.cs: Added.
7822 * DateTime.cs: Added
7824 * Delegate.cs: Added
7826 2001-07-18 Michael Lambert <michaellambert@email.com>
7828 * AttributeTargets.cs: Add.
7830 2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
7832 * Char.cs: Made ToUpper and ToLower public methods.
7834 * String.cs: Lots and lots of compile fixes - just need to write
7835 DateTime.cs and this should build completely now.
7837 2001-07-19 Bob Smith (bob@thestuff.net)
7839 * Math.cs: Implemented.
7841 2001-07-19 Miguel de Icaza <miguel@ximian.com>
7843 * String.cs: Removed tolower and toupper.
7845 * Char.cs: Moved ToLower and ToUpper from string to here.
7847 * Convert.cs ToByte (float value), ToByte (double value) Use IsNan
7848 instead of comparing the value to Nan.
7850 2001-07-19 Duco Fijma (duco@lorentz.xs4all.nl)
7852 * TimeSpan.cs: New implementation.
7854 2001-07-18 Scott Sanders <scott@stonecobra.com>
7856 * UriFormatExcpetion.cs: Add - 85% complete
7858 2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
7860 * String.cs (IndexOf): Slight optimization that allows skipping
7861 over a few chars here and there. This isn't as good as using my
7862 Boyer-Moore implementation, however, Boyer-Moore is only really
7863 good for long strings (I plan on making the code decide which
7864 string search algorithm it should use on-the-fly at some point).
7865 (LastIndexOf): Fix to work correctly.
7866 (BoyerMoore): Took out some unneeded code and fixed an edge-case.
7868 2001-07-16 Michael Lambert <michaellambert@email.com>
7870 * EventArgs.cs: Add.
7872 2001-07-16 Miguel de Icaza <miguel@ximian.com>
7874 * Version.cs: Remove my buggy comment.
7876 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
7878 * String.cs: Spelling error of IComparable, object's
7879 MemberwiseClone cannot be overridden. Made indexer valid for now,
7880 but not sure what to do about this in the long run. Seems to be a
7881 couple bugs in csc.exe having to do with multiple pointer defs in
7882 the same statement, and returning subclasses of a class in the
7883 return type of an interface function implementation. Also moved
7884 operators inside of class definition.
7886 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
7888 * String.cs: A tom of compile fixes, although we still don't compile.
7890 * IConvertible.cs: The To*Int64() methods return *Int64's, not
7891 *Int32's. Also, it's ToDateTime() not ToDateType().
7893 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
7895 * String.cs: Apparently I needed to at least write stubs for the
7896 IConvertible interfaces. *sigh*
7898 2001-07-14 Jeffrey Stedfast <fejj@ximian.com>
7900 * String.cs: Many logic/other fixes and better usage of the
7902 (tolower): New convenience method to help condense code.
7903 (toupper): Another new helper method.
7904 (Compare): Use the new helper methods.
7905 (ToLower): use tolower().
7906 (ToUpper): use toupper().
7907 (LastIndexOfAny): Implemented.
7908 (BoyerMoore): New private helper method that implements a modified
7909 version of the Boyer-Moore search algorithm. Noothing uses it yet
7910 as I'm not 100% sure it even works properly with unicode strings
7911 not to mention it uses a huge lookup-table :-)
7912 (Split): Implemented.
7914 2001-07-13 Jeffrey Stedfast <fejj@ximian.com>
7916 * TODO: Added things that need to be finished in System.String
7918 * String.cs: New source file implementing the System.String class
7920 2001-07-12 Sean MacIsaac <macisaac@ximian.com>
7922 * TypeCode.cs: UInt64 was UInt63.
7924 * Object.cs: Fixed a numer of compiler errors.
7926 * Array.cs: Fixed some compiler errors.
7928 * IComparable.cs: Fixed some compiler errors.
7930 * ICloneable.cs: Fixed some compiler errors.
7932 * IConvertible.cs: Fixed some compiler errors.
7934 * IFormattable.cs: Fixed a compiler error.
7936 * IFormatProvider.cs: Fixed a compiler error.
7938 * IDisposable.cs: Fixed a compiler error.
7940 * IFormatProvider.cs: Added public accesability type to
7943 * Exception.cs: Added a using statement to remove compile time
7946 * ApplicationException.cs: Removed a ; that was causing a compiler
7949 * Int16.cs: Fixed some compiler errors.
7951 * Int32.cs: Fixed some compiler errors.
7953 * Int64.cs: Fixed some compiler errors.
7955 * SystemException.cs: Fixed a compiler error.
7957 * UInt16.cs: Fixed some compiler errors.
7959 * UInt32.cs: Fixed some compiler errors.
7961 * UInt64.cs: Fixed some compiler errors.
7963 * Void.cs: Fixed a compiler error.
7965 2001-07-12 Joe Shaw <joe@ximian.com>
7967 * Array.cs: Fix backwards parameters to Array.SetValue()
7969 (BinarySearch): Fix backward logic surrounding whether to call
7970 value.CompareTo or comparer.Compare.
7971 (LastIndexOf): Stop being stupid. I am so not used to strongly
7973 (Sort): Implement a quicksort.
7975 2001-07-11 Joe Shaw <joe@ximian.com>
7977 * Array.cs: Change all instances of trying to access an array with
7978 the index operator to calls to GetValue and SetValue, and add
7979 InternalGetValue and InternalSetValue which are internal calls
7980 into the runtime. Ew.
7982 2001-07-10 Joe Shaw <joe@ximian.com>
7984 * Array.cs: Implemented everything but Sort().
7986 2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
7988 * Object.cs (Object::Equals): Object variable name is `o'.
7990 2001-07-06 Joe Shaw <joe@ximian.com>
7992 * Int16.cs, Int32.cs, Int64.cs, UInt16.cs, UInt32.cs, UInt64.cs:
7993 Implement the IComparable and IFormattable interfaces. Fix a typo
7996 * ApplicationException.cs, ArgumentException.cs,
7997 ArgumentNullException.cs, ArgumentOutOfRangeException.cs,
7998 ArtithmeticException.cs, ArrayTypeMismatchException.cs,
7999 DivideByZeroException.cs, DuplicateWaitObjectException.cs,
8000 ExecutionEngineException.cs, FormatException.cs,
8001 IndexOutOfRangeException.cs, InvalidCastException.cs,
8002 InvalidOperationException.cs, InvalidProgramException.cs,
8003 MulticateNotSupportedException.cs, NotFiniteNumberException.cs,
8004 NotSupportedException.cs, NullReferenceException.cs,
8005 OutOfMemoryException.cs, OverflowException.cs, RankException.cs,
8006 StackOverflowException.cs, SystemException.cs,
8007 TypeInitializationException.cs: Added all of the exceptions
8008 specified by the language spec. Mmmm... bloat.
8010 2001-07-06 Miguel de Icaza <miguel@ximian.com>
8012 * Int64.cs, Int32.cs: Put. Parsing and ToString missing. Should
8013 do a generic routine all of these guys use.
8015 * Int16.cs: identified missing methods.
8017 * UInt16.cs, UInt32.cs, UInt64.cs: Add.
8019 2001-06-26 Miguel de Icaza <miguel@ximian.com>
8021 * TypeCode.cs: Implement
8023 * Void.cs: Implement.
8025 * TODO: Add file to keep track of pending tasks.
8027 * Object.cs, ValueType.cs: Implement.