Sebastien Pouliot [Wed, 7 Jul 2004 19:39:07 +0000 (19:39 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* StorePermissionFlags.cs: New. CAS-related enum for StorePermission.
Adding it "creates" the namespace for corcompare.
svn path=/trunk/mcs/; revision=30855
Sebastien Pouliot [Wed, 7 Jul 2004 19:37:27 +0000 (19:37 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* X509Store.cs: Removed old store code (as it has changed a lot in
Mono.Security).
svn path=/trunk/mcs/; revision=30854
Sebastien Pouliot [Wed, 7 Jul 2004 19:36:05 +0000 (19:36 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* EncryptedXml.cs: Fixed Urls for XmlEncElementUrl and
XmlEncElementContentUrl.
* X509IssuerSerial.cs: Make constructor internal so it doesn't show up
in corcompare results for NET_2_0 profile.
svn path=/trunk/mcs/; revision=30853
Sebastien Pouliot [Wed, 7 Jul 2004 19:34:25 +0000 (19:34 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* AlgorithmIdentifier.cs: Added missing #if NET_2_0.
* ContentInfo.cs: Fixed OID due to changes in Mono.Security.
* EnvelopedPkcs7.cs: Fixed OID due to changes in Mono.Security.
* SignedPkcs7.cs: Fixed OID due to changes in Mono.Security.
svn path=/trunk/mcs/; revision=30852
Sebastien Pouliot [Wed, 7 Jul 2004 19:28:49 +0000 (19:28 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* FileDialogPermission.cs: Removed the unrequired override ToString
from the NET_2_0 profile.
svn path=/trunk/mcs/; revision=30851
Sebastien Pouliot [Wed, 7 Jul 2004 19:26:53 +0000 (19:26 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* corlib.dll.sources: Added new files for NET_2_0:
System.Security.AccessControl/AccessControlActions.cs
System.Security.Cryptography.X509Certificates/X509ContentType.cs
System.Security.Cryptography.X509Certificates/X509KeyStorageFlags.cs
svn path=/trunk/mcs/; revision=30850
Sebastien Pouliot [Wed, 7 Jul 2004 19:24:06 +0000 (19:24 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* AccessControlActions.cs: New enum in Fx 2.0. Required for new stuff
in System.Security.Permissions. Will also "creates" the namespace for
"corcompare".
svn path=/trunk/mcs/; revision=30849
Sebastien Pouliot [Wed, 7 Jul 2004 19:15:19 +0000 (19:15 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: Fixed NET_2_0 directives.
* X509ContentType.cs: New enum in Fx 2.0.
* X509KeyStorageFlags.cs: New flags in Fx 2.0.
svn path=/trunk/mcs/; revision=30848
Sebastien Pouliot [Wed, 7 Jul 2004 17:06:02 +0000 (17:06 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* DES.cs: Fixed FeedbackSizeValue to 8.
* RC2.cs: Fixed FeedbackSizeValue to 8.
* RC2CryptoServiceProvider.cs: When key size is different from
effective key size we throw CryptographicUnexpectedOperationException.
* TripleDES.cs: Fixed FeedbackSizeValue to 8.
svn path=/trunk/mcs/; revision=30846
Sebastien Pouliot [Wed, 7 Jul 2004 17:01:41 +0000 (17:01 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Throw CryptographicException when CipherMode
CTS or OFB is being used (to match MS implementation).
svn path=/trunk/mcs/; revision=30845
Gonzalo Paniagua Javier [Wed, 7 Jul 2004 16:57:16 +0000 (16:57 -0000)]
2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: don't keep the session around if we got it from
the context. Fixes bug #61232.
svn path=/trunk/mcs/; revision=30843
Sebastien Pouliot [Wed, 7 Jul 2004 16:55:25 +0000 (16:55 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* DESTest.cs: Added a new test case to check default values.
* HMACSHA1.cs: Fixed bad test (and renamed it).
* RC2Test.cs: Added a new test case to check default values.
* RijndaelTest.cs: Added a new test case to check default values.
Convert tests from NUnit 1 to 2.2.
* TripleDESTest.cs: Added a new test case to check default values.
Convert tests to NUnit 2.2.
svn path=/trunk/mcs/; revision=30842
Sebastien Pouliot [Wed, 7 Jul 2004 14:25:40 +0000 (14:25 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* corlib.dll.sources: Added new tests for CipherMode and
CspProviderFlags.
svn path=/trunk/mcs/; revision=30837
Sebastien Pouliot [Wed, 7 Jul 2004 14:20:04 +0000 (14:20 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* AllTests2.cs: Updated to NUnit 2.2 Assert.
* CipherModeTest.cs: New. Tests supported CipherMode for all
SymmetricAlgorithm included in the framework (enum contains two more
modes that aren't implemented in any Fx version).
* CryptoConfigTest.cs: Ajusted new OID (for old names) in Fx 2.0.
* CryptoStreamTest.cs: Fixed different reported exception in Fx 2.0.
Fixed a bad test.
* CspProviderFlagsTest.cs: New. Test the values of the enum.
* DSACryptoServiceProviderTest.cs: Added new tests for new public
properties and methods added in Fx 2.0. Duplicated test to import a
key pair into a disposed instance (works in Fx 2.0). Removed all
[Ignore]s in NET_2_0 as the MS class/runtime has been fixed.
* DSASignatureDeformatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
different reported exception in Fx 2.0.
* DSASignatureFormatterTest.cs: Converted from NUnit 1 to 2.2. Fixed
different reported exception in Fx 2.0.
* HMACRIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
* HMACSHA1Test.cs: Fixed tests so they work on both NET_1_1 and
NET_2_0 profiles (as HMACSHA1 changed it's base class).
* HashAlgorithmTest.cs: Fixed different reported exception in Fx 2.0.
Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
* MACTripleDESTest.cs: Fixed tests so they work on both NET_1_1 and
NET_2_0 profiles.
* PKCS1MaskGenerationMethodTest.cs: Removed [Ignore] in NET_2_0 as the
MS class has been fixed.
* PaddingModeTest.cs: Added new tests for the two new padding mode
introduced in Fx 2.0. Converted to NUnit 2.2.
* PasswordDeriveBytesTest.cs: Removed [ExpectedException] for
StrangeBehaviour test as it is fixed in Fx 2.0.
* RC2Test.cs: Changed exception from CryptographicException to
CryptographicUnexpectedOperationException for Fx 1.1/2.0.
* RIPEMD160Test.cs: Fixed tests using TransformFinalBlock.
* RSACryptoServiceProviderTest.cs: Added new tests for new public
properties and methods added in Fx 2.0. Duplicated test to import a
key pair into a disposed instance (works in Fx 2.0). Duplicated test
to sign with a null OID (Fx 2.0 use SHA1 oid in this case).
* RSAOAEPKeyExchangeDeformatterTest.cs: Changed exception for a key
exchange with no key (to match Fx 2.0).
* RSAOAEPKeyExchangeFormatterTest.cs: Changed exception for a key
exchange with no key (to match Fx 2.0).
* RSAPKCS1KeyExchangeFormatterTest.cs: Changed exception for a key
exchange with no key (to match Fx 2.0). Removed [Ignore] in NET_2_0 as
the MS class/runtime has been fixed.
* RSAPKCS1SignatureDeformatterTest.cs: Null keys, in constructor or in
SetKey method, now throw an ArgumentNullException in Fx 2.0.
* RSAPKCS1SignatureFormatterTest.cs: Null keys, in constructor or in
SetKey method, now throw an ArgumentNullException in Fx 2.0.
* Rfc2898DeriveBytesTest.cs: Typecasted a null as a string.
* SymmetricAlgorithm2Test.cs: In Fx 2.0 an empty IV now throws a
CryptographicException.
* ToBase64TransformTest.cs: Fixed different reported exception in Fx 2.0.
Removed [Ignore] in NET_2_0 as the MS class/runtime has been fixed.
svn path=/trunk/mcs/; revision=30836
Sebastien Pouliot [Wed, 7 Jul 2004 14:12:08 +0000 (14:12 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* corlib.dll.sources: Added new files for NET_2_0:
System.Runtime.InteropServices/_Exception.cs
System.Security.Cryptography/RijndaelManagedTransform.cs
System.Security.Cryptography/RIPEMD160.cs
System.Security.Cryptography/RIPEMD160Managed.cs
svn path=/trunk/mcs/; revision=30835
Sebastien Pouliot [Wed, 7 Jul 2004 14:08:08 +0000 (14:08 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* MACAlgorithm.cs: Removed the hardcoded PaddingMode.Zeros as this is
now selectable in Fx 2.0.
svn path=/trunk/mcs/; revision=30834
Sebastien Pouliot [Wed, 7 Jul 2004 14:02:27 +0000 (14:02 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* CryptoAPITransform.cs: Added the new Reset method for NET_2_0. This
is a NOP as this class isn't used by Mono (all crypto transforms are
managed).
* CryptographicException.cs: Added _Exception interface for NET_2_0
profile.
* CspProviderFlags.cs: Added new enum's members for NET_2_0.
* DSA.cs: Changed constructor to protected for NET_2_0. It is now
possible to inherit from DSA in other assemblies.
* DSACryptoServiceProvider.cs: NET_2_0 cleanup. Added interface
ICspAsymmetricAlgorithm (stub), removed (unrequired) LegalKeySizes
override, fixed visibility of PublicOnly property.
* HMACSHA1.cs: Fixed #if for NET_2_0 profile.
* KeyNumber.cs: Fixed values for new enum in Fx 2.0.
* MACTripleDES.cs: Added new Padding property to NET_2_0 profile.
* ProtectedData.cs: Added missing private constructor.
* ProtectedMemory.cs: Added missing private constructor.
* RC2CryptoServiceProvider.cs: Added UseSalt property to NET_2_0
profile. Salt usage must be added to the transforms.
* RIPEMD160Managed.cs: Removed unrequired [CLSCompliant] attributes.
* RSACryptoServiceProvider.cs: NET_2_0 cleanup. Added interface
ICspAsymmetricAlgorithm (stub), fixed visibility of PublicOnly
property.
* RijndaelManaged.cs: Use the new RijndaelManagedTransform for Fx 2.0.
* RijndaelManagedTransform.cs: New. Class is now public in Fx 2.0.
svn path=/trunk/mcs/; revision=30833
Sebastien Pouliot [Wed, 7 Jul 2004 13:49:39 +0000 (13:49 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* _Exception.cs: New interface in Fx 2.0 to preserve member's order
for COM interop.
svn path=/trunk/mcs/; revision=30832
Paolo Molaro [Wed, 7 Jul 2004 10:17:05 +0000 (10:17 -0000)]
Rewrote to explain how things are done and why.
Removed misleading and incorrect info.
svn path=/trunk/mono/; revision=30831
Umadevi S [Wed, 7 Jul 2004 09:39:02 +0000 (09:39 -0000)]
2004-07-07 Umadevi S <sumadevi@novell.com>
* DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
SetItemForDataRecord method for the DateTimeClass
(patch submitted by Aleksey Demakov)
svn path=/trunk/mcs/; revision=30829
Paolo Molaro [Wed, 7 Jul 2004 09:38:17 +0000 (09:38 -0000)]
Wed Jul 7 12:32:29 CEST 2004 Paolo Molaro <lupus@ximian.com>
* gc.c, object.h: add nice GC handle API for embedders.
svn path=/trunk/mono/; revision=30828
Umadevi S [Wed, 7 Jul 2004 09:19:12 +0000 (09:19 -0000)]
2004-07-07 Umadevi S (sumadevi@novell.com)
* OdbcConnection.cs - Allowed Close to be called multiple times
- Implementation of Dispose method
(patch submitted by Sebastien Robitaille), corrected a typo
svn path=/trunk/mcs/; revision=30826
Umadevi S [Wed, 7 Jul 2004 09:15:52 +0000 (09:15 -0000)]
2004-07-07 Umadevi S (sumadevi@novell.com)
* OdbcConnection.cs - Allowed Close to be called multiple times
- Implementation of Dispose method
(patch submitted by Sebastien Robitaille)
svn path=/trunk/mcs/; revision=30825
Umadevi S [Wed, 7 Jul 2004 08:39:49 +0000 (08:39 -0000)]
2004-07-07 Umadevi S (sumadevi@novell.com)
* OdbcCommand.cs : fixed set method for Transaction
(patch submitted by Sebastien Robitaille)
svn path=/trunk/mcs/; revision=30824
Juraj Skripsky [Wed, 7 Jul 2004 04:53:46 +0000 (04:53 -0000)]
2004-07-07 Juraj Skripsky <juraj@hotfeet.ch>
* SessionStateModule.cs: set path in session cookie to application
path.
svn path=/trunk/mcs/; revision=30820
Miguel de Icaza [Wed, 7 Jul 2004 04:24:19 +0000 (04:24 -0000)]
Update TODO OTODO
svn path=/trunk/mcs/; revision=30816
Miguel de Icaza [Wed, 7 Jul 2004 03:55:54 +0000 (03:55 -0000)]
2004-07-07 Miguel de Icaza <miguel@ximian.com>
* cs-parser.jay (fixed_statement): flag this as Pinned.
2004-07-06 Miguel de Icaza <miguel@ximian.com>
* typemanager.cs (TypeManager): Removed MakePinned method, this
mechanism is replaced with the .NET 2.x compatible mechanism of
calling `ILGenerator.DeclareLocal (Type t, bool pinned)'.
* statement.cs (LocalInfo): Remove MakePinned, add Pinned property
Rename `Fixed' to `Pinned' as a flag, to distinguish from the
`IsFixed' property which has a different meaning.
svn path=/trunk/mcs/; revision=30815
Miguel de Icaza [Wed, 7 Jul 2004 03:53:54 +0000 (03:53 -0000)]
2004-07-07 Miguel de Icaza <miguel@ximian.com>
* LocalBuilder.cs: Remove MakePinned, we are now going to use
ILGenerator.DeclaraLocal that takes the `bool pinned' argument.
* ILGenerator.cs (DeclareLocal): Add `pinned' version of the
method on the 2.0 profile.
svn path=/trunk/mcs/; revision=30814
Gonzalo Paniagua Javier [Wed, 7 Jul 2004 00:45:56 +0000 (00:45 -0000)]
2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/TraceContext.cs: added internal HaveTrace property whose
value is true when the page has a Trace attribute.
* System.Web.Handlers/TraceHandler.cs: check that trace is enabled or
throw.
* System.Web.UI/Page.cs: added additional checks for saving/displaying
trace data.
* System.Web.UI/PageParser.cs: removed checks for trace enabled in
configuration files.
Thanks to David Taylor for most of these patch and the tests.
svn path=/trunk/mcs/; revision=30808
Zoltan Varga [Tue, 6 Jul 2004 20:23:57 +0000 (20:23 -0000)]
2004-07-06 Zoltan Varga <vargaz@freemail.hu>
* mini-ops.h: Add OP_SAVE_LMF and OP_RESTORE_LMF.
svn path=/trunk/mono/; revision=30802
Ben Maurer [Tue, 6 Jul 2004 20:19:17 +0000 (20:19 -0000)]
document about gc roots in C
svn path=/trunk/mono/; revision=30800
Zoltan Varga [Tue, 6 Jul 2004 19:48:50 +0000 (19:48 -0000)]
2004-07-06 Zoltan Varga <vargaz@freemail.hu>
* Makefile.am (EXTRA_DIST): Add inssel-long[32].brg.
svn path=/trunk/mono/; revision=30798
Zoltan Varga [Tue, 6 Jul 2004 19:28:01 +0000 (19:28 -0000)]
2004-07-06 Zoltan Varga <vargaz@freemail.hu>
* inssel.brg: Fix warning. Add rules for SAVE_LMF and RESTORE_LMF.
svn path=/trunk/mono/; revision=30797
Jackson Harper [Tue, 6 Jul 2004 17:00:06 +0000 (17:00 -0000)]
* NumberHelper.cs: Handle real numbers. Thanks to steve brown for
pointing this out. Also don't bother scanning the string again,
its allready been scanned.
svn path=/trunk/mcs/; revision=30796
Ben Maurer [Tue, 6 Jul 2004 15:35:03 +0000 (15:35 -0000)]
2004-07-06 Ben Maurer <bmaurer@ximian.com>
* reflection.c: more changes for the new api
* object.c: When we reflect on a field w/ a constant value, it
will not have a memory location, so we must access metadata. Also,
allow easier reading of strings so that we can read them from
the constant data.
* class.c (mono_class_layout_fields): no need for literal fields here.
* class-internals.h: api changes for const fields
* icall.c (ves_icall_get_enum_info): use new apis for const fields
svn path=/trunk/mono/; revision=30794
Ben Maurer [Tue, 6 Jul 2004 15:24:42 +0000 (15:24 -0000)]
2004-07-06 Ben Maurer <bmaurer@ximian.com>
* reflection-const-field.cs: New test for reflection on
constant fields.
svn path=/trunk/mono/; revision=30793
Ben Maurer [Tue, 6 Jul 2004 15:00:51 +0000 (15:00 -0000)]
2004-07-06 Ben Maurer <bmaurer@ximian.com>
* liveness.c: If liveness is recomputated we need to reset the information
for each variable. This way, if the liveness range has been narrowed
by optimizations that happened after the last computation, we can return
a smaller range.
For example, if you have
{
int i = 0;
// Tons of code that does not affect i
i = foo ();
...
}
i = 0 is dead code and will be removed by SSA. However, when
linear scan gets to the code, i will still appear to be live
throughout the entire block. This prevents good register allocation.
svn path=/trunk/mono/; revision=30791
Jackson Harper [Tue, 6 Jul 2004 14:24:34 +0000 (14:24 -0000)]
* get.c: Add float cast for outputing floats. Patch by Steve
Brown.
svn path=/trunk/mono/; revision=30790
Dick Porter [Tue, 6 Jul 2004 13:49:44 +0000 (13:49 -0000)]
2004-07-06 Dick Porter <dick@ximian.com>
* MonoIO.cs: Add ERROR_INVALID_PARAMETER to the exception list.
Don't blow away the SetFileTime() error before the caller gets to
see it. Part of the bug fix to 60970.
svn path=/trunk/mcs/; revision=30787
Dick Porter [Tue, 6 Jul 2004 13:49:41 +0000 (13:49 -0000)]
2004-07-06 Dick Porter <dick@ximian.com>
* io.c (file_setfiletime): Check for underflow when converting to
time_t values. Set error codes when returning failure. Fixes bug
60970.
svn path=/trunk/mono/; revision=30786
Lluis Sanchez [Tue, 6 Jul 2004 08:51:47 +0000 (08:51 -0000)]
* SoapMessageFormatter.cs: In BuildMethodCallFromSoapMessage, set get the
parameters from the SoapMessage by position, not by name, since names
may be different. This fixes bug #60427.
svn path=/trunk/mcs/; revision=30783
Raja R Harinath [Tue, 6 Jul 2004 05:56:25 +0000 (05:56 -0000)]
List newly added NET 2.0 stubs.
svn path=/trunk/mcs/; revision=30780
Gonzalo Paniagua Javier [Mon, 5 Jul 2004 23:50:41 +0000 (23:50 -0000)]
2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
#61181.
svn path=/trunk/mcs/; revision=30765
Martin Baulig [Mon, 5 Jul 2004 23:35:35 +0000 (23:35 -0000)]
2004-07-06 Martin Baulig <martin@ximian.com>
* debug-mini.c (mono_debug_init_method): Allow
MONO_WRAPPER_MANAGED_TO_NATIVE wrappers.
(mono_debug_add_icall_wrapper): New method.
* mini.c (mono_icall_get_wrapper): Call mono_debug_add_icall_wrapper().
svn path=/trunk/mono/; revision=30764
Martin Baulig [Mon, 5 Jul 2004 23:33:29 +0000 (23:33 -0000)]
2004-07-06 Martin Baulig <martin@ximian.com>
* mono-debug.h: Increment version number to 44.
* mono-debug.c (mono_debug_add_wrapper): The second argument is
now a gpointer, rewrote this whole method.
* mono-debug-debugger.c (mono_debugger_add_wrapper): New
function. Add information about the wrapper in a new "misc table".
* mono-debug-debugger.h (MonoDebuggerSymbolTable): Added fields
for the new misc table.
svn path=/trunk/mono/; revision=30763
Lluis Sanchez [Mon, 5 Jul 2004 18:12:19 +0000 (18:12 -0000)]
* CodeIdentifier.cs: Removed constructor for NET_2_0.
* SoapCodeExporter.cs, SoapSchemaImporter.cs, XmlCodeExporter.cs,
XmlMapping.cs, XmlMemberMapping.cs, XmlReflectionImporter.cs,
XmlSchemaExporter.cs, XmlSchemaImporter.cs, XmlSchemas.cs,
XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs,
XmlSerializerNamespaces.cs: Added 2.0 stubs.
* XmlMembersMapping.cs, XmlTypeMapping.cs: 2.0 fixage.
* IXmlTextParser.cs, CodeExporter.cs, CodeGenerationOptions.cs,
ImportContext.cs, SchemaImporter.cs, SchemaImporterExtension.cs,
SchemaImporterExtensionCollection.cs, XmlDeserializationEvents.cs,
XmlSchemaProviderAttribute.cs, XmlSerializationGeneratedCode.cs,
XmlSerializerAssemblyAttribute.cs, XmlSerializerFactory.cs,
XmlSerializerVersionAttribute.cs: New files. More 2.0 stubs.
svn path=/trunk/mcs/; revision=30757
Zoltan Varga [Mon, 5 Jul 2004 16:47:38 +0000 (16:47 -0000)]
2004-07-05 Zoltan Varga <vargaz@freemail.hu>
* metadata-internals.h image.c: Add a cache for helper signatures.
svn path=/trunk/mono/; revision=30751
Jackson Harper [Mon, 5 Jul 2004 16:30:06 +0000 (16:30 -0000)]
* RegexTest.cs: Add some simple tests for debugging/zen
building.
svn path=/trunk/mcs/; revision=30750
Jackson Harper [Mon, 5 Jul 2004 16:11:37 +0000 (16:11 -0000)]
* RegexTest.cs: Add some simple tests for debugging/zen
building.
svn path=/trunk/mcs/; revision=30749
Dick Porter [Mon, 5 Jul 2004 15:29:06 +0000 (15:29 -0000)]
2004-07-05 Dick Porter <dick@ximian.com>
* mutexes.c (mutex_ops_init): Make the named mutex mutex sharable.
* daemon.c (unref_handle): Only destroy a handle if all processes
have released it, not just the current one. Fixes bug 60887.
svn path=/trunk/mono/; revision=30746
Dick Porter [Mon, 5 Jul 2004 15:05:43 +0000 (15:05 -0000)]
2004-07-05 Dick Porter <dick@ximian.com>
* CheckPermission.cs:
* File.cs:
* FileInfo.cs:
* MonoIO.cs:
* FileStream.cs: Give the filename when throwing
FileNotFoundException. Fixes bug 61120, based on patch from
Carlos Alberto Cesario <carloscesario@gmail.com>.
svn path=/trunk/mcs/; revision=30744
Zoltan Varga [Mon, 5 Jul 2004 14:37:03 +0000 (14:37 -0000)]
2004-07-05 Zoltan Varga <vargaz@freemail.hu>
* Makefile.am pinvoke3.cs pinvoke9.cs: Merge pinvoke9 into pinvoke3.
svn path=/trunk/mono/; revision=30743
Dick Porter [Mon, 5 Jul 2004 14:30:28 +0000 (14:30 -0000)]
2004-07-05 Dick Porter <dick@ximian.com>
* File.cs: File.Move() should check that the destination doesn't
already exist. Fixes bug 60915, patch based on one from Carlos
Alberto Cesario <carloscesario@gmail.com>.
svn path=/trunk/mcs/; revision=30741
Rafael Teixeira [Mon, 5 Jul 2004 14:13:02 +0000 (14:13 -0000)]
oops
svn path=/trunk/mcs/; revision=30740
Rafael Teixeira [Mon, 5 Jul 2004 14:09:20 +0000 (14:09 -0000)]
2004-07-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Strings.cs: corrected 3 long-standing errors as detected by our nunit tests
svn path=/trunk/mcs/; revision=30739
Zoltan Varga [Mon, 5 Jul 2004 12:29:38 +0000 (12:29 -0000)]
2004-07-05 Zoltan Varga <vargaz@freemail.hu>
* mintops.h: Applied patch from Marcin Krzyzanowski (krzak@pld-linux.org). Add support for unaligned access on little endian machines.
* interp.c:Applied patch from Marcin Krzyzanowski (krzak@pld-linux.org). Fix crash seen on amd64.
svn path=/trunk/mono/; revision=30737
Zoltan Varga [Mon, 5 Jul 2004 12:06:41 +0000 (12:06 -0000)]
2004-07-05 Zoltan Varga <vargaz@freemail.hu>
* monosn.c: Applied patch from "grompf" (grompf@sublimeintervention.com). Fix compilation under OSX.
svn path=/trunk/mono/; revision=30736
Lluis Sanchez [Mon, 5 Jul 2004 09:52:18 +0000 (09:52 -0000)]
* Methods.cs: When using RPC, ignore RequestElementName and MessageName,
and always uses the method name (MS.NET seems to do this).
svn path=/trunk/mcs/; revision=30735
Zoltan Varga [Mon, 5 Jul 2004 08:30:33 +0000 (08:30 -0000)]
2004-07-05 Zoltan Varga <vargaz@freemail.hu>
* mini.c (optimize_branches): Fix linking of bblocks in branch->branch
optimization.
svn path=/trunk/mono/; revision=30733
Anirban Bhattacharjee [Mon, 5 Jul 2004 07:41:12 +0000 (07:41 -0000)]
2004-07-04 Anirban Bhattacharjee <banirban@novell.com>
* StringType.cs: Fix for bug #60983 - submitted by mauricioc@gmail.com
svn path=/trunk/mcs/; revision=30732
Zoltan Varga [Sat, 3 Jul 2004 19:02:09 +0000 (19:02 -0000)]
2004-07-03 Zoltan Varga <vargaz@freemail.hu>
* aot.c (mono_aot_load_method): Fix loading of debug info.
svn path=/trunk/mono/; revision=30707
Zoltan Varga [Sat, 3 Jul 2004 16:12:12 +0000 (16:12 -0000)]
2004-07-03 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Add --with-tls option to replace the misnamed
--with-nptl option.
svn path=/trunk/mono/; revision=30703
Jackson Harper [Fri, 2 Jul 2004 23:29:51 +0000 (23:29 -0000)]
oops
svn path=/trunk/mcs/; revision=30697
Jackson Harper [Fri, 2 Jul 2004 23:25:49 +0000 (23:25 -0000)]
* PlatformID.cs: New 2.0 values.
svn path=/trunk/mcs/; revision=30696
Jackson Harper [Fri, 2 Jul 2004 21:25:28 +0000 (21:25 -0000)]
* Compiler.cs:
* CompilerError.cs:
* ErrorLevel.cs: Make obsolete in 2.0
svn path=/trunk/mcs/; revision=30692
Lluis Sanchez [Fri, 2 Jul 2004 15:25:27 +0000 (15:25 -0000)]
* BinaryCommon.cs: Added CheckSerializable method.
* ObjectWriter.cs: Check for type serializability even for members with
null values.
svn path=/trunk/mcs/; revision=30684
Lluis Sanchez [Fri, 2 Jul 2004 14:08:17 +0000 (14:08 -0000)]
* ChannelServices.cs: In UnregisterChannel, look for registered channels
using reference compares.
svn path=/trunk/mcs/; revision=30671
Lluis Sanchez [Fri, 2 Jul 2004 14:03:47 +0000 (14:03 -0000)]
* ServerIdentity.cs: When disposing an identity, detach the identity from
the object, so it can be safely marshalled again.
* RemotingServices.cs: Fixed IsObjectOutOfContext and
IsObjectOutOfAppDomain. In SetObjectUriForMarshal, take into account
contextful objects.
svn path=/trunk/mcs/; revision=30670
Lluis Sanchez [Fri, 2 Jul 2004 13:59:56 +0000 (13:59 -0000)]
* SerializationCodeGenerator.cs: Generate check that the object being
serialized has a known type. Little cast fix.
* XmlCustomFormatter.cs: Little fix in Single conversion.
svn path=/trunk/mcs/; revision=30669
Lluis Sanchez [Fri, 2 Jul 2004 13:57:28 +0000 (13:57 -0000)]
* XmlReturnWriter.cs: Add XmlIncludes to the reflection importer when
reflecting the return type.
svn path=/trunk/mcs/; revision=30668
Zoltan Varga [Fri, 2 Jul 2004 13:54:02 +0000 (13:54 -0000)]
2004-07-03 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_get_managed_wrapper): Handle returning
delegates from a delegate. Fixes #61033.
svn path=/trunk/mono/; revision=30667
Zoltan Varga [Fri, 2 Jul 2004 13:52:25 +0000 (13:52 -0000)]
2004-07-03 Zoltan Varga <vargaz@freemail.hu>
* pinvoke3.cs libtest.c: New test for returning delegates from a
delegate.
svn path=/trunk/mono/; revision=30666
Lluis Sanchez [Fri, 2 Jul 2004 13:29:58 +0000 (13:29 -0000)]
* ActivationTests.cs: Fixed and enhanced tests.
* RemotingServicesTest.cs: Added.
svn path=/trunk/mcs/; revision=30665
Zoltan Varga [Fri, 2 Jul 2004 12:56:18 +0000 (12:56 -0000)]
2004-07-03 Zoltan Varga <vargaz@freemail.hu>
* ModuleTest.cs: New tests for FindTypes.
svn path=/trunk/mcs/; revision=30663
Zoltan Varga [Fri, 2 Jul 2004 12:55:44 +0000 (12:55 -0000)]
2004-07-03 Zoltan Varga <vargaz@freemail.hu>
* Module.cs: Initialize FilterTypeName[IgnoreCase]. Fixes #61048.
svn path=/trunk/mcs/; revision=30662
Zoltan Varga [Fri, 2 Jul 2004 12:21:17 +0000 (12:21 -0000)]
2004-07-03 Zoltan Varga <vargaz@freemail.hu>
* marshal.c: Fix managed->native stringbuilder marshalling. Implement
marshalling of stringbuilder arrays. Fixes #59900.
svn path=/trunk/mono/; revision=30659
Zoltan Varga [Fri, 2 Jul 2004 12:15:55 +0000 (12:15 -0000)]
2004-07-03 Zoltan Varga <vargaz@freemail.hu>
* pinvoke2.cs libtest.c: New tests for stringbuilder marshalling.
svn path=/trunk/mono/; revision=30658
Jordi Mas i Hernandez [Fri, 2 Jul 2004 10:08:07 +0000 (10:08 -0000)]
fixes bug 61050
svn path=/trunk/mcs/; revision=30655
Raja R Harinath [Fri, 2 Jul 2004 10:06:01 +0000 (10:06 -0000)]
(DoSimpleNameResolve): Expand CS0038 check to all names
visible from inside a nested class, not just the names of the
immediately enclosing class.
Fix for bug #60730.
svn path=/trunk/mcs/; revision=30654
Raja R Harinath [Fri, 2 Jul 2004 10:05:18 +0000 (10:05 -0000)]
* cs0038-3.cs: New testcase from #60730.
* cs0038-4.cs: Likewise.
svn path=/trunk/mcs/; revision=30653
Jochen Wezel [Fri, 2 Jul 2004 09:42:23 +0000 (09:42 -0000)]
File had moved to /system/Microsoft.VisualBasic a long time ago
svn path=/trunk/mcs/; revision=30650
Raja R Harinath [Fri, 2 Jul 2004 08:54:08 +0000 (08:54 -0000)]
Support for avoiding "sharing violations" while compiling core
libraries with an in-tree compiler.
* build/library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
($(the_lib)): Use it.
* class/Mono.CSharp.Debugger/Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.
(LIBRARY_COMPILE): Simplify.
* class/corlib/Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.
* class/System/Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.
* class/System.XML/Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.
svn path=/trunk/mcs/; revision=30648
Raja R Harinath [Fri, 2 Jul 2004 08:31:03 +0000 (08:31 -0000)]
* Makefile (OVERRIDE_BARE_TARGETS): Remove.
(OVERRIDE_TARGET_ALL): Define.
(all-recursive,$(STD_TARGETS:=-recursive)): Depend on
'platform-check' and 'profile-check'.
(all.override): New. Run two passes: once to build, and once to
sign libraries.
build/:
* rules.make (OVERRIDE_BARE_TARGETS): Remove.
(OVERRIDE_TARGET_ALL): New control for overriding the default all:
rule. If set, 'make all' will run 'all.override' from the client
Makefile.
(all): Move commands ...
(all.real): ... here. Make ordering assumptions explicit, and
parallel-safe.
(test,run-test,run-test-ondotnet,clean,install,uninstall):
Consolidate into ...
(STD_TARGETS): ... this new variable. Make ordering assumption
between -recursive and -local targets explicit.
(%-recursive): Handle W32 GNU make that has --unix as the first
argument in $(MAKE).
* README.makefiles (Special recursion needs): Update to reflect
changes.
* library.make (all-local): Build $(the_lib_signature_stamp) when
NO_SIGN_ASSEMBLY is defined.
($(gacutil),$(sn)): Consolidate rules.
(test-local,run-test-local,run-test-ondotnet-local): Likewise.
class/:
* IBM.Data.DB2/Makefile (all-local $(STD_TARGETS:=-local)):
Simplify dummy rule somewhat.
class/Npgsql/:
* Makefile (OVERRIDE_BARE_TARGETS): Remove.
($(the_lib)): Make dependency explicit.
class/corlib/:
* Makefile ($(net20bootstrap_makefrag)): Build from net_2_0
profile response file.
(gmcs): Style update.
svn path=/trunk/mcs/; revision=30643
Raja R Harinath [Fri, 2 Jul 2004 08:15:53 +0000 (08:15 -0000)]
(mcs-do-basic-build, mcs-do-short-build):
Pass NO_SIGN_ASSEMBLY=yes to sub-make.
($(tmpinst)/bin/mono) [PLATFORM_WIN32]: Make it work.
svn path=/trunk/mono/; revision=30642
Raja R Harinath [Fri, 2 Jul 2004 07:25:17 +0000 (07:25 -0000)]
* config-default.make (TEST_RUNTIME): Use 'mono' by default.
* platforms/win32.make (TEST_RUNTIME): Remove.
* profiles/default.make (TEST_RUNTIME): Remove.
svn path=/trunk/mcs/; revision=30640
Gonzalo Paniagua Javier [Fri, 2 Jul 2004 01:54:48 +0000 (01:54 -0000)]
2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/TraceContext.cs: added internal HaveTrace property whose
value is true when the page has a Trace attribute.
* System.Web.Handlers/TraceHandler.cs: check that trace is enabled or
throw.
* System.Web.UI/Page.cs: added additional checks for saving/displaying
trace data.
* System.Web.UI/PageParser.cs: removed checks for trace enabled in
configuration files.
Thanks to David Taylor for most of these patch and the tests.
svn path=/trunk/mcs/; revision=30638
Lluis Sanchez [Thu, 1 Jul 2004 17:32:17 +0000 (17:32 -0000)]
* TypeData.cs: In the constructor, set the correct xml type name if the
type is an array (for example, instead of StringCollection, use
ArrayOfString).
svn path=/trunk/mcs/; revision=30629
Lluis Sanchez [Thu, 1 Jul 2004 17:29:48 +0000 (17:29 -0000)]
* Conv.asmx.template, Conv.cs.template, client/localhost/ConvDoc*,
server/Conv*: Added tests for unknown headers.
* proxies.net.xml.gz, wsdlfiles.tar.gz: Updated.
svn path=/trunk/mcs/; revision=30628
Lluis Sanchez [Thu, 1 Jul 2004 17:24:21 +0000 (17:24 -0000)]
* Methods.cs: Check for null when looking for a header serializer, since
unknown headers don't have a serializer.
* SoapHeader.cs: Check for empty string before setting
EncodedMustUnderstand.
svn path=/trunk/mcs/; revision=30627
Lluis Sanchez [Thu, 1 Jul 2004 17:20:52 +0000 (17:20 -0000)]
* SoapProtocolReflector.cs: Don't generate wsdl for unknown header
attributes.
svn path=/trunk/mcs/; revision=30626
Lluis Sanchez [Thu, 1 Jul 2004 14:11:28 +0000 (14:11 -0000)]
* Methods.cs, SoapMessage.cs: Added support for unknown headers.
* SoapHeader.cs, SoapUnknownHeader.cs: Added new constructor that takes an
XmlElement with header info.
* WebServiceHelper.cs: Write the encodingStyle attribute when using the
encoded format. Added support for unknown headers.
svn path=/trunk/mcs/; revision=30622
Lluis Sanchez [Thu, 1 Jul 2004 14:04:31 +0000 (14:04 -0000)]
* WebServiceTest.cs, client/external/BankCodeEJBHomeTest.cs,
client/external/GlobalWeatherTest.cs, client/external/HPcatalogTest.cs,
client/external/IODCODESPOSTAUXTest.cs,
client/external/TemperatureServiceTest.cs,
client/localhost/DataServiceTest.cs,
client/localhost/DuplicateArrayTestTest.cs,
client/localhost/IncludeTestTest.cs,
client/localhost/TestBinding4Test.cs: Use new nunit 2.2 api.
* server/ConvDocLitWra.asmx, server/ConvDocEncWra.asmx,
server/ConvDocLitBar.asmx, server/ConvDocLitWra.asmx,
server/ConvRpc.asmx,
* wstest.cs: Added support for generating tests cases from a template.
Useful to test the same case in all formats and protocols.
* proxies.net.xml.gz, wsdlfiles.tar.gz: Updated.
* client/localhost/ConvDocEncBarTest.cs,
client/localhost/ConvDocLitBarTest.cs,
client/localhost/ConvDocLitWraTest.cs,
client/localhost/ConvRpcTest.cs,
client/localhost/ConvDocEncBar.asmx:
Improved tests. Use new nunit 2.2 api.
* Conv.cs.template: template for ConverterService client tests.
* Conv.asmx.template: template for ConverterService services.
* templates.xml: Configuration file for generating the tests.
svn path=/trunk/mcs/; revision=30621
Zoltan Varga [Thu, 1 Jul 2004 12:59:57 +0000 (12:59 -0000)]
2004-07-02 Zoltan Varga <vargaz@freemail.hu>
* EnumBuilder.cs (CreateType): Call a new icall to set the internal
type field. Fixes #59833.
svn path=/trunk/mcs/; revision=30620
Zoltan Varga [Thu, 1 Jul 2004 12:58:31 +0000 (12:58 -0000)]
2004-07-02 Zoltan Varga <vargaz@freemail.hu>
* icall.c: Add EnumBuilder:setup_enum_type icall.
svn path=/trunk/mono/; revision=30619
Zoltan Varga [Thu, 1 Jul 2004 11:29:54 +0000 (11:29 -0000)]
2004-07-02 Zoltan Varga <vargaz@freemail.hu>
* aot.c: Add logging support.
svn path=/trunk/mono/; revision=30615
Zoltan Varga [Thu, 1 Jul 2004 11:28:20 +0000 (11:28 -0000)]
2004-07-02 Zoltan Varga <vargaz@freemail.hu>
* man/mono.1: Added 'aot' to trace options.
svn path=/trunk/mono/; revision=30614
Zoltan Varga [Thu, 1 Jul 2004 11:27:16 +0000 (11:27 -0000)]
2004-07-02 Zoltan Varga <vargaz@freemail.hu>
* mono-logger.h mono-logger.c: Added AOT component.
svn path=/trunk/mono/; revision=30613
Zoltan Varga [Thu, 1 Jul 2004 11:05:40 +0000 (11:05 -0000)]
2004-07-01 Zoltan Varga <vargaz@freemail.hu>
* mini.h: Add prototype for mono_print_method_from_ip.
svn path=/trunk/mono/; revision=30612
Zoltan Varga [Thu, 1 Jul 2004 11:03:12 +0000 (11:03 -0000)]
2004-07-01 Zoltan Varga <vargaz@freemail.hu>
* mini.c: 64 bit fixes. Use LCOMPARE for comparing longs.
* inssel.brg: 64 bit fixes.
* inssel.brg inssel-long32.brg: Move 32 bit arithmetic rules to
inssel-long32.brg.
svn path=/trunk/mono/; revision=30611
Lluis Sanchez [Thu, 1 Jul 2004 11:02:33 +0000 (11:02 -0000)]
* RemotingConfiguration.cs: Avoid adding "id" and "type" as custom
properties of providers. This fixes bug #60934.
svn path=/trunk/mcs/; revision=30610