mono.git
20 years ago2004-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 30 May 2004 17:58:09 +0000 (17:58 -0000)]
2004-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* BufferedStreamTest.cs: Added tests for Position after SetLength,
SetLength after Close and Seek logic exception handling.
* FileStream.cs: Added test for invalid SeekOrigin in Seek.
* MemoryStream.cs: Added test for Seek after Close.

svn path=/trunk/mcs/; revision=28491

20 years ago2004-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 30 May 2004 17:52:35 +0000 (17:52 -0000)]
2004-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* BufferedStream.cs: Fixed Seek logic (check for CanSeek and dispose).
SetLength must also reset Position and check for dispose.
* FileStream.cs: Added missing check for invalid SeekOrigin.

svn path=/trunk/mcs/; revision=28490

20 years ago * reflection.c: Do not hardcode assembly versions or public key
Jackson Harper [Sun, 30 May 2004 17:19:24 +0000 (17:19 -0000)]
    * reflection.c: Do not hardcode assembly versions or public key
tokens anymore. All of this except the corlib section was dead
code anyways.

svn path=/trunk/mono/; revision=28489

20 years agoSmall fix for NET_2_0.
Martin Baulig [Sun, 30 May 2004 17:17:15 +0000 (17:17 -0000)]
Small fix for NET_2_0.

svn path=/trunk/mcs/; revision=28488

20 years agoSmall fix.
Martin Baulig [Sun, 30 May 2004 17:04:33 +0000 (17:04 -0000)]
Small fix.

svn path=/trunk/mcs/; revision=28487

20 years agoMake things work again.
Martin Baulig [Sun, 30 May 2004 16:59:41 +0000 (16:59 -0000)]
Make things work again.
This should have been done during merging.

svn path=/trunk/mcs/; revision=28486

20 years agoFix typo (`base_classs_type' -> `base_class_type').
Martin Baulig [Sun, 30 May 2004 16:20:02 +0000 (16:20 -0000)]
Fix typo (`base_classs_type' -> `base_class_type').

svn path=/trunk/mcs/; revision=28485

20 years agoMoved the marker.
Martin Baulig [Sun, 30 May 2004 16:08:34 +0000 (16:08 -0000)]
Moved the marker.

svn path=/trunk/mcs/; revision=28484

20 years ago**** Merged from MCS ****
Martin Baulig [Sun, 30 May 2004 16:06:13 +0000 (16:06 -0000)]
**** Merged from MCS ****

svn path=/trunk/mcs/; revision=28483

20 years ago2004-05-30 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 30 May 2004 15:48:50 +0000 (15:48 -0000)]
2004-05-30 Ben Maurer  <bmaurer@users.sourceforge.net>

* expression.cs (Invocation.OverloadResolve): Avoid the
use of hashtables and boxing here by allocating on demand.

svn path=/trunk/mcs/; revision=28482

20 years ago2004-05-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 30 May 2004 15:42:56 +0000 (15:42 -0000)]
2004-05-30  Martin Baulig  <martin@ximian.com>

* rootcontext.cs (RootContext.LookupType): Don't cache things if
we're doing a silent lookup.  Don't try to lookup nested types in
TypeManager.object_type (thanks to Ben Maurer).

svn path=/trunk/mcs/; revision=28481

20 years ago2004-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 30 May 2004 15:10:15 +0000 (15:10 -0000)]
2004-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* BinaryReader.cs: Added missing disposed check for most methods.
Reordered some exceptions to match MS implementation.

svn path=/trunk/mcs/; revision=28480

20 years ago2004-05-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 30 May 2004 14:12:23 +0000 (14:12 -0000)]
2004-05-30  Martin Baulig  <martin@ximian.com>

Merged latest changes into gmcs.  Please keep this comment in
here, it makes it easier for me to see what changed in MCS since
the last time I merged.

svn path=/trunk/mcs/; revision=28477

20 years ago**** Merged from MCS ****
Martin Baulig [Sun, 30 May 2004 14:10:53 +0000 (14:10 -0000)]
**** Merged from MCS ****

svn path=/trunk/mcs/; revision=28476

20 years ago2004-05-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 30 May 2004 12:58:09 +0000 (12:58 -0000)]
2004-05-30  Martin Baulig  <martin@ximian.com>

Committing a patch from Ben Maurer.

* rootcontext.cs (RootContext.LookupType): Cache negative results.

svn path=/trunk/mcs/; revision=28475

20 years ago*** empty log message ***
Gonzalo Paniagua Javier [Sun, 30 May 2004 11:57:18 +0000 (11:57 -0000)]
*** empty log message ***

svn path=/trunk/mcs/; revision=28474

20 years ago2004-05-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 30 May 2004 11:45:33 +0000 (11:45 -0000)]
2004-05-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DateTime.cs: adjust milliseconds for fraction specifier ('f').

svn path=/trunk/mcs/; revision=28473

20 years ago2004-05-30 David Sheldon <dave-mono@earth.li>
David Sheldon [Sun, 30 May 2004 08:23:00 +0000 (08:23 -0000)]
2004-05-30  David Sheldon <dave-mono@earth.li>

* StackFrameTest.cs: Mark the failures that have been failing
for months due to bug 45730 as ignored as it doesn't look like
it will be fixed soon.

My aim with these commits is that eventually people will run the test cases,
and see what errors they have caused, rather than tens of pages of stacktraces.

svn path=/trunk/mcs/; revision=28472

20 years ago2004-05-30 David Sheldon <dave-mono@earth.li>
David Sheldon [Sun, 30 May 2004 08:02:01 +0000 (08:02 -0000)]
2004-05-30  David Sheldon <dave-mono@earth.li>

  * DecimalTest.cs: Moved the rounding test that fails due to
    bug 37744 (bankers rounding) into its own test, and annotated it as ignored
    until the bug is fixed.

svn path=/trunk/mcs/; revision=28471

20 years ago2004-05-30 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 30 May 2004 05:39:21 +0000 (05:39 -0000)]
2004-05-30  Miguel de Icaza  <miguel@ximian.com>

* Console.cs: Remove *again* the version of WriteLine with four
arguments;  That should *not* be added.

Flag it as internal as people migrate their code.

svn path=/trunk/mcs/; revision=28469

20 years ago2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 30 May 2004 04:07:19 +0000 (04:07 -0000)]
2004-05-30  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : Fixed version mismatch; ProhibitDtd should be
  NET_2_0.

svn path=/trunk/mcs/; revision=28468

20 years ago2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 29 May 2004 22:44:01 +0000 (22:44 -0000)]
2004-05-29  Sebastien Pouliot  <sebastien@ximian.com>

* BinaryReader.cs: Added new cases to check exceptions thrown by Read
methods.

svn path=/trunk/mcs/; revision=28467

20 years ago2004-05-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 29 May 2004 19:22:32 +0000 (19:22 -0000)]
2004-05-29  Zoltan Varga  <vargaz@freemail.hu>

* invoke.cs: Add an Invoke test.

svn path=/trunk/mono/; revision=28465

20 years ago2004-05-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 29 May 2004 19:20:49 +0000 (19:20 -0000)]
2004-05-29  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_runtime_invoke_array): Automatically create boxed
objects for byref valuetypes if needed. Fixes #59300.

svn path=/trunk/mono/; revision=28464

20 years ago2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 29 May 2004 18:47:09 +0000 (18:47 -0000)]
2004-05-29  Sebastien Pouliot  <sebastien@ximian.com>

* Convert.cs: Fixed ChangeTo where null could be misinterpreted
between null and Empty.

svn path=/trunk/mcs/; revision=28462

20 years ago2004-05-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 29 May 2004 18:29:35 +0000 (18:29 -0000)]
2004-05-29  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_method_return_message_restore): Handle
MONO_TYPE_OBJECT as well.

svn path=/trunk/mono/; revision=28461

20 years ago2004-05-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 29 May 2004 18:16:08 +0000 (18:16 -0000)]
2004-05-29  Zoltan Varga  <vargaz@freemail.hu>

* exceptions.cs: New regression tests.

* jit-icalls.c (mono_llmult_ovf): Fix some boundary conditions.

svn path=/trunk/mono/; revision=28460

20 years ago2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 29 May 2004 18:12:28 +0000 (18:12 -0000)]
2004-05-29  Sebastien Pouliot  <sebastien@ximian.com>

* ConvertTest.cs: Added test to ChangeType to Empty.

svn path=/trunk/mcs/; revision=28459

20 years ago2004-05-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 29 May 2004 18:03:07 +0000 (18:03 -0000)]
2004-05-29  Martin Baulig  <martin@ximian.com>

* class.cs (IMethodData.ShouldIgnore): New method.

* typemanager.cs (TypeManager.MethodFlags): Don't take a
`Location' argument, we don't need it anywhere.  Use
`IMethodData.ShouldIgnore ()' instead of
`MethodData.GetMethodFlags ()'.
(TypeManager.AddMethod): Removed.
(TypeManager.AddMethod2): Renamed to AddMethod.

svn path=/trunk/mcs/; revision=28458

20 years ago2004-05-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 29 May 2004 17:41:42 +0000 (17:41 -0000)]
2004-05-29  Martin Baulig  <martin@ximian.com>

* test-266.cs: New test for #52578.

svn path=/trunk/mcs/; revision=28457

20 years ago2004-05-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 29 May 2004 17:40:21 +0000 (17:40 -0000)]
2004-05-29  Martin Baulig  <martin@ximian.com>

Committing a patch from Benjamin Jemlich <pcgod@gmx.net>.

* convert.cs (Convert.ImplicitReferenceConversion): If we're
converting from a class type S to an interface type and we already
have an object on the stack, don't box it again.  Fixes #52578.

svn path=/trunk/mcs/; revision=28456

20 years ago2004-05-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 29 May 2004 17:29:34 +0000 (17:29 -0000)]
2004-05-29  Martin Baulig  <martin@ximian.com>

* test-265.cs: New test for #59267.

svn path=/trunk/mcs/; revision=28455

20 years ago2004-05-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 29 May 2004 17:28:30 +0000 (17:28 -0000)]
2004-05-29  Martin Baulig  <martin@ximian.com>

* test-264.cs: New test for #59188.

svn path=/trunk/mcs/; revision=28454

20 years ago2004-05-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 29 May 2004 17:27:57 +0000 (17:27 -0000)]
2004-05-29  Martin Baulig  <martin@ximian.com>

* class.cs (ConstructorInitializer.GetOverloadedConstructor):
Added support for `params' parameters.  Fixes #59267.

svn path=/trunk/mcs/; revision=28453

20 years ago2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 29 May 2004 16:56:04 +0000 (16:56 -0000)]
2004-05-29  Sebastien Pouliot  <sebastien@ximian.com>

* Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
ArgumentNullException (only case, all other returns 0). Fixed exception
reporting for hex prefix only strings.

svn path=/trunk/mcs/; revision=28450

20 years agoUpdate
Miguel de Icaza [Sat, 29 May 2004 16:42:23 +0000 (16:42 -0000)]
Update

svn path=/trunk/mono/; revision=28448

20 years agoupdate
Miguel de Icaza [Sat, 29 May 2004 16:41:43 +0000 (16:41 -0000)]
update

svn path=/trunk/mcs/; revision=28447

20 years agoup
Miguel de Icaza [Sat, 29 May 2004 16:40:57 +0000 (16:40 -0000)]
up

svn path=/trunk/mcs/; revision=28446

20 years ago2004-05-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 29 May 2004 16:32:27 +0000 (16:32 -0000)]
2004-05-29  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: export CC instead of passing it to libgc/configure.

svn path=/trunk/mono/; revision=28445

20 years ago2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 29 May 2004 16:31:32 +0000 (16:31 -0000)]
2004-05-29  Sebastien Pouliot  <sebastien@ximian.com>

* ConvertTest.cs: Added new parsing tests including special case for
Convert.ToSByte.
* Int64Test.cs: Added new test cases for overflows.

svn path=/trunk/mcs/; revision=28444

20 years ago2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 29 May 2004 14:56:35 +0000 (14:56 -0000)]
2004-05-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ChangeLog:
* Comparer.cs: reverted last 2 patches from Gert Driesen. Totally wrong.
I wonder why.

svn path=/trunk/mcs/; revision=28441

20 years ago2004-05-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 29 May 2004 14:48:10 +0000 (14:48 -0000)]
2004-05-29  Sebastien Pouliot  <sebastien@ximian.com>

* CspProviderFlags.cs: Reverted previous patch as UseExistingKey isn't
part of the 1.0/1.1 framework.

svn path=/trunk/mcs/; revision=28440

20 years ago2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 29 May 2004 14:23:10 +0000 (14:23 -0000)]
2004-05-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ObjectWriter.cs: reduce contention in GetObjectData.

svn path=/trunk/mcs/; revision=28439

20 years ago* System.Messaging/Acknowledgment.cs: added/corrected values,
Gert Driesen [Sat, 29 May 2004 12:43:03 +0000 (12:43 -0000)]
* System.Messaging/Acknowledgment.cs: added/corrected values,
removed TODO
* System.Messaging/MessageQueueErrorCode.cs: fixed typo
* System.Messaging/MessageQueueAccessRights.cs: removed extra
enum field

svn path=/trunk/mcs/; revision=28438

20 years ago2004-05-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sat, 29 May 2004 12:39:05 +0000 (12:39 -0000)]
2004-05-29  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski
(jaak@zd.com.pl) for the patch.

svn path=/trunk/mcs/; revision=28437

20 years ago* Compare.cs: ISerializable should only be implemented
Gert Driesen [Sat, 29 May 2004 12:18:54 +0000 (12:18 -0000)]
* Compare.cs: ISerializable should only be implemented
for NET_1_1 profile

svn path=/trunk/mcs/; revision=28436

20 years ago* XmlTextReader.cs: Added ProhibitDtd property for NET 1.1 to match
Gert Driesen [Sat, 29 May 2004 12:09:06 +0000 (12:09 -0000)]
* XmlTextReader.cs: Added ProhibitDtd property for NET 1.1 to match
public API in MS.NET 1.1

svn path=/trunk/mcs/; revision=28435

20 years ago2004-05-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 29 May 2004 11:58:51 +0000 (11:58 -0000)]
2004-05-29  Martin Baulig  <martin@ximian.com>

* literal.cs (NullPointer): Provide a private .ctor which sets
`type' to TypeManager.object_type.  Fixes #59048.

svn path=/trunk/mcs/; revision=28434

20 years ago* CspProviderFlags.cs: Added missing enum field UseExistingKey
Gert Driesen [Sat, 29 May 2004 11:54:24 +0000 (11:54 -0000)]
* CspProviderFlags.cs: Added missing enum field UseExistingKey

svn path=/trunk/mcs/; revision=28433

20 years ago2004-05-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 29 May 2004 11:50:44 +0000 (11:50 -0000)]
2004-05-29  Martin Baulig  <martin@ximian.com>

* test-264.cs: New test for #59188.

2004-05-27  Marek Safar <marek.safar@seznam.cz>

* test-263.cs: New test.

svn path=/trunk/mcs/; revision=28432

20 years ago2004-05-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 29 May 2004 11:48:06 +0000 (11:48 -0000)]
2004-05-29  Martin Baulig  <martin@ximian.com>

* expression.cs (MemberAccess.ResolveMemberAccess): If we're an
EventExpr, set `ee.InstanceExpression = left'.  Fixes #59188.

* ecore.cs (EventExpr.instance_expr): Make the field private.

svn path=/trunk/mcs/; revision=28431

20 years ago* corlib.dll.sources: added SetWin32ContextInIDispatchAttribute
Gert Driesen [Sat, 29 May 2004 11:47:40 +0000 (11:47 -0000)]
* corlib.dll.sources: added SetWin32ContextInIDispatchAttribute
and VariantWrapper

svn path=/trunk/mcs/; revision=28430

20 years ago* SetWin32ContextInIDispatchAttribute.cs: added
Gert Driesen [Sat, 29 May 2004 11:47:08 +0000 (11:47 -0000)]
* SetWin32ContextInIDispatchAttribute.cs: added
* VariantWrapper.cs: added

svn path=/trunk/mcs/; revision=28429

20 years ago* Compare.cs: Implemented ISerializable, fixes public API
Gert Driesen [Sat, 29 May 2004 11:10:08 +0000 (11:10 -0000)]
* Compare.cs: Implemented ISerializable, fixes public API

svn path=/trunk/mcs/; revision=28428

20 years agoSat May 29 10:45:58 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 29 May 2004 08:05:51 +0000 (08:05 -0000)]
Sat May 29 10:45:58 CEST 2004 Paolo Molaro <lupus@ximian.com>

* mini.c: emit castclass/isinst in their own trees (bug #54209/59057).

svn path=/trunk/mono/; revision=28427

20 years ago* AssemblyBuilder.cs: removed extra method, fixes public API
Gert Driesen [Sat, 29 May 2004 07:50:08 +0000 (07:50 -0000)]
* AssemblyBuilder.cs: removed extra method, fixes public API
compatibility with MS.NET
* TypeBuilder.cs: removed extra method, fixes public API
compatibility with MS.NET

svn path=/trunk/mcs/; revision=28426

20 years agoupdate version
Gonzalo Paniagua Javier [Sat, 29 May 2004 02:10:28 +0000 (02:10 -0000)]
update version

svn path=/trunk/mcs/; revision=28423

20 years agoupdate and cleanup
Gonzalo Paniagua Javier [Sat, 29 May 2004 02:06:59 +0000 (02:06 -0000)]
update and cleanup

svn path=/trunk/mono/; revision=28422

20 years agoFix
Duncan Mak [Sat, 29 May 2004 01:50:37 +0000 (01:50 -0000)]
Fix

svn path=/trunk/mcs/; revision=28421

20 years ago2004-05-28 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sat, 29 May 2004 01:43:13 +0000 (01:43 -0000)]
2004-05-28  Duncan Mak  <duncan@ximian.com>

* SharpZipLib.pub: Added public key.

* AssemblyInfo.cs: Use the new SharpZipLib.pub.

svn path=/trunk/mcs/; revision=28420

20 years ago2004-05-28 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sat, 29 May 2004 01:21:29 +0000 (01:21 -0000)]
2004-05-28  Duncan Mak  <duncan@ximian.com>

* Zip/Compression/DeflaterHuffman.cs (FlushBlock): Add some
parenthesis to help the generics compiler read this source.

svn path=/trunk/mcs/; revision=28419

20 years ago * reflection.c: The modified type encoding was causing build
Jackson Harper [Sat, 29 May 2004 00:33:48 +0000 (00:33 -0000)]
    * reflection.c: The modified type encoding was causing build
problems. Reverted for now.

svn path=/trunk/mono/; revision=28417

20 years agoWeird! How did that get in there?
Duncan Mak [Sat, 29 May 2004 00:30:26 +0000 (00:30 -0000)]
Weird! How did that get in there?

svn path=/trunk/mono/; revision=28416

20 years agofixeypoo
Ben Maurer [Sat, 29 May 2004 00:19:40 +0000 (00:19 -0000)]
fixeypoo

svn path=/trunk/mcs/; revision=28415

20 years agoFixity fix
Duncan Mak [Sat, 29 May 2004 00:17:56 +0000 (00:17 -0000)]
Fixity fix

svn path=/trunk/mono/; revision=28414

20 years agoAdd mono-find-provides and mono-find-requires
Duncan Mak [Sat, 29 May 2004 00:09:34 +0000 (00:09 -0000)]
Add mono-find-provides and mono-find-requires

svn path=/trunk/mono/; revision=28413

20 years ago2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 May 2004 23:54:19 +0000 (23:54 -0000)]
2004-05-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: fixed CanRead property. Closes bug #59273.

svn path=/trunk/mcs/; revision=28412

20 years ago* runtime/Makefile.am:
Duncan Mak [Fri, 28 May 2004 23:49:32 +0000 (23:49 -0000)]
* runtime/Makefile.am:
* scripts/Makefile.am: Include mono-find-provides and
mono-find-requires.

svn path=/trunk/mono/; revision=28411

20 years ago2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 23:48:05 +0000 (23:48 -0000)]
2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>

* Convert.cs: Fixed the case when we parse Int64.MinValue (positive
doesn't fit a signed long).

svn path=/trunk/mcs/; revision=28410

20 years ago * reflection.c/h: Take an assembly ref so that we dont create
Jackson Harper [Fri, 28 May 2004 23:37:42 +0000 (23:37 -0000)]
    * reflection.c/h: Take an assembly ref so that we dont create
fully qualified names when encoding types in the same assembly as
the custom attribute being emitted.

svn path=/trunk/mono/; revision=28409

20 years ago* scripts/Makefile.am: Include mono-find-provides and
Duncan Mak [Fri, 28 May 2004 23:33:19 +0000 (23:33 -0000)]
* scripts/Makefile.am: Include mono-find-provides and
mono-find-requires.

* scripts/mono-find-provides.in:
* scripts/mono-find-requires.in: New wrapper scripts.

svn path=/trunk/mono/; revision=28408

20 years ago2004-05-26 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 28 May 2004 23:28:44 +0000 (23:28 -0000)]
2004-05-26  Duncan Mak  <duncan@ximian.com>

* icall.c
(ves_icall_System_Reflection_Assembly_GetReferencedAssemblies):
Set the full version number (major, minor, build, revision).

svn path=/trunk/mono/; revision=28407

20 years ago * appdomain.c: Increment version number.
Jackson Harper [Fri, 28 May 2004 22:36:45 +0000 (22:36 -0000)]
    * appdomain.c: Increment version number.

svn path=/trunk/mono/; revision=28404

20 years agoimport .6
Ben Maurer [Fri, 28 May 2004 20:53:20 +0000 (20:53 -0000)]
import .6

svn path=/trunk/mcs/; revision=28391

20 years ago- Fixes for ContainerControl, ScrollableControl and UserControl, fixes some
Peter Dennis Bartok [Fri, 28 May 2004 20:31:10 +0000 (20:31 -0000)]
- Fixes for ContainerControl, ScrollableControl and UserControl, fixes some
  of the issues I found with the pnet Coding Developers (Dining
  Philosophers) sample app. We now at least draw on screen :-)

svn path=/trunk/mcs/; revision=28390

20 years ago2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 20:20:09 +0000 (20:20 -0000)]
2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>

* Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
16), non-base 10 negative numbers ... see new unit tests.

svn path=/trunk/mcs/; revision=28389

20 years ago2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 19:51:19 +0000 (19:51 -0000)]
2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>

* ConvertTest.cs: Added case for a prefixed hexadecimal without a number.

svn path=/trunk/mcs/; revision=28388

20 years ago * Environment.cs: Increment version number.
Jackson Harper [Fri, 28 May 2004 19:01:22 +0000 (19:01 -0000)]
    * Environment.cs: Increment version number.

svn path=/trunk/mcs/; revision=28382

20 years ago * CustomAttributeBuilder.cs: GetBlob now takes a ref to the
Jackson Harper [Fri, 28 May 2004 18:59:37 +0000 (18:59 -0000)]
    * CustomAttributeBuilder.cs: GetBlob now takes a ref to the
assembly so it can encode type names properly.

svn path=/trunk/mcs/; revision=28381

20 years ago2004-05-28 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 28 May 2004 18:47:04 +0000 (18:47 -0000)]
2004-05-28  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* switch.js: added clause after default

svn path=/trunk/mcs/; revision=28379

20 years ago2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 18:46:47 +0000 (18:46 -0000)]
2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>

* ConvertTest.cs: Added new tests for pasring MinValue and MaxValue
of integer types in all supported bases.

svn path=/trunk/mcs/; revision=28378

20 years agoupdates from grammar changes
César Natarén [Fri, 28 May 2004 18:39:31 +0000 (18:39 -0000)]
updates from grammar changes

svn path=/trunk/mcs/; revision=28377

20 years ago2004-05-28 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 28 May 2004 18:37:29 +0000 (18:37 -0000)]
2004-05-28  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Statement.cs: changed parent_is_itr_stm method to ParentIsItrStm
property. Added initial pieces for Break's Resolve. Fixed bug that
did not let Emit the code for case clauses that came after the
default clause (we match the jsc behavior).

svn path=/trunk/mcs/; revision=28376

20 years ago2004-05-28 Vladimir Vukicevic <vladimir@pobox.com>
Zoltan Varga [Fri, 28 May 2004 18:30:22 +0000 (18:30 -0000)]
2004-05-28  Vladimir Vukicevic  <vladimir@pobox.com>

* marshal.c (emit_struct_conv): increment src/dst after blit
(mono_marshal_get_managed_wrapper,
mono_marshal_get_native_wrapper): make sure we have marshalling
info before marshalling params (info computation affects
blittable)

* class.c (class_compute_field_layout): correctly deal with
blittable
(mono_class_layout_fields): Don't do gc_aware_layout for AUTO
value types (as per what windows dows by default)
(mono_class_setup_mono_type): System.ValueType is blittable
(mono_ptr_class_get, mono_fnptr_class_get): Pointer classes are
blittable

* marshal.c (mono_marshal_load_type_info): flag types  as
non-blittable if the native layout doesn't match the managed
layout

svn path=/trunk/mono/; revision=28375

20 years ago2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 May 2004 18:28:21 +0000 (18:28 -0000)]
2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c: don't add stuff in the private search path that is
above the application base. If application base is not set, there's
no private search path.

svn path=/trunk/mono/; revision=28374

20 years agoset parent of switch's clauses
César Natarén [Fri, 28 May 2004 18:25:53 +0000 (18:25 -0000)]
set parent of switch's clauses

svn path=/trunk/mcs/; revision=28373

20 years ago2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 17:54:19 +0000 (17:54 -0000)]
2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Update version number for beta 2.

svn path=/trunk/mcs/; revision=28370

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 17:43:38 +0000 (17:43 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.h (MONO_ARCH_NEED_DIV_CHECK): Define this.

svn path=/trunk/mono/; revision=28368

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 17:27:16 +0000 (17:27 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* cpu-sparc.md mini-sparc.c: Add overflow detection to div opcodes.

svn path=/trunk/mono/; revision=28366

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 17:26:37 +0000 (17:26 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke3.cs libtest.c: New tests for byref struct marshalling.

svn path=/trunk/mono/; revision=28365

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 17:23:50 +0000 (17:23 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_managed_wrapper): Add proper support for
byref struct arguments in native->managed marshalling.

svn path=/trunk/mono/; revision=28364

20 years agoUp
Miguel de Icaza [Fri, 28 May 2004 17:14:27 +0000 (17:14 -0000)]
Up

svn path=/trunk/mono/; revision=28363

20 years ago2004-05-28 Patrik Torstensson <totte@hiddenpeaks.com>
Patrik Torstensson [Fri, 28 May 2004 16:22:40 +0000 (16:22 -0000)]
2004-05-28 Patrik Torstensson <totte@hiddenpeaks.com>

* mini.c (mono_jit_runtime_invoke): Init class in this
method instead of trusting mono_jit_compile_method to
do the work (because wrappers can be in object class)

svn path=/trunk/mono/; revision=28359

20 years ago2004-05-28 Patrik Torstensson <totte@hiddenpeaks.com>
Patrik Torstensson [Fri, 28 May 2004 16:21:23 +0000 (16:21 -0000)]
2004-05-28 Patrik Torstensson <totte@hiddenpeaks.com>

* marshal.c (mono_marshal_get_runtime_invoke): correctly
cache methods using signature (special case for methods
that are value type or string class)

* image.c (mono_image_close): clean up allocated GSList's
in runtime_invoke_cache.

svn path=/trunk/mono/; revision=28358

20 years ago2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 May 2004 16:18:18 +0000 (16:18 -0000)]
2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mono-config.c: set the correct path for mono_cfg_dir on windows when
there's no MONO_CFG_DIR environment variable defined.

svn path=/trunk/mono/; revision=28357

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 16:14:00 +0000 (16:14 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
Fixes #59189.

svn path=/trunk/mcs/; revision=28356

20 years ago2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 May 2004 15:27:12 +0000 (15:27 -0000)]
2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threads.c: windows version must be >= 0x0500 to include OpenThread.

svn path=/trunk/mono/; revision=28352

20 years ago2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 14:21:24 +0000 (14:21 -0000)]
2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>

* ConvertTest.cs: Added overflow testing for integer types convertion.

svn path=/trunk/mcs/; revision=28348

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 13:27:01 +0000 (13:27 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* static-constructor.cs: Add new regression test for bug #59193.

svn path=/trunk/mono/; revision=28347

20 years ago2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 13:18:11 +0000 (13:18 -0000)]
2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>

* ConvertTest.cs: Removed extra 0 from ToInt16_MinValue.

svn path=/trunk/mcs/; revision=28346