Gonzalo Paniagua Javier [Sun, 11 Jul 2004 18:38:03 +0000 (18:38 -0000)]
2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* debug-helpers.c: undo my previous patch and fixed the real issue in
../mini/exceptions-x86.c
svn path=/branches/mono-1-0/mono/; revision=31008
Gonzalo Paniagua Javier [Sun, 11 Jul 2004 18:37:32 +0000 (18:37 -0000)]
2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* exceptions-x86.c: delay appending the method name to the trace until
after mono_jit_info_table_find is called, as this gets the real
MonoMethod.
svn path=/branches/mono-1-0/mono/; revision=31007
Ben Maurer [Sun, 11 Jul 2004 17:37:24 +0000 (17:37 -0000)]
merge
svn path=/branches/mono-1-0/mcs/; revision=31005
Gonzalo Paniagua Javier [Sun, 11 Jul 2004 07:12:42 +0000 (07:12 -0000)]
2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IsolatedStorageInfo.cs: useGetFolderPath instead of getting "HOME".
svn path=/branches/mono-1-0/mcs/; revision=30998
Gonzalo Paniagua Javier [Sun, 11 Jul 2004 07:02:02 +0000 (07:02 -0000)]
2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* debug-helpers.c: prevent SIGSEGV. It happened running xsp on monodoc
when no HOME env. variable was set and a NullRef was thrown in a .cctor
called from other .cctors.
svn path=/branches/mono-1-0/mono/; revision=30996
Paolo Molaro [Sat, 10 Jul 2004 12:54:52 +0000 (12:54 -0000)]
Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
* Modulec.s: return just name in ToString (bug #61287).
svn path=/branches/mono-1-0/mcs/; revision=30984
Dick Porter [Fri, 9 Jul 2004 16:30:30 +0000 (16:30 -0000)]
2004-07-09 Dick Porter <dick@ximian.com>
* PeerCred.cs: Get the unix socket peer credentials.
2004-07-09 Dick Porter <dick@ximian.com>
* Socket.cs: Slight tweak to allow unknown objects to be returned
by GetSocketOption().
svn path=/branches/mono-1-0/mcs/; revision=30958
nobody [Fri, 9 Jul 2004 16:30:30 +0000 (16:30 -0000)]
This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
svn path=/branches/mono-1-0/mcs/; revision=30957
Dick Porter [Fri, 9 Jul 2004 16:28:44 +0000 (16:28 -0000)]
2004-07-09 Dick Porter <dick@ximian.com>
* socket-io.h:
* socket-io.c
(ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal):
Add support for SO_PEERCRED if its available.
svn path=/branches/mono-1-0/mono/; revision=30956
Dick Porter [Fri, 9 Jul 2004 14:10:56 +0000 (14:10 -0000)]
2004-07-09 Dick Porter <dick@ximian.com>
* locales.c (ves_icall_System_String_InternalReplace_Str_Comp):
Don't do any more processing if the matched length was 0. It was
increasing the size of the string before. Fixes bug 61167.
svn path=/branches/mono-1-0/mono/; revision=30933
Dick Porter [Fri, 9 Jul 2004 13:04:11 +0000 (13:04 -0000)]
2004-07-09 Dick Porter <dick@ximian.com>
* PeerCred.cs: Get the unix socket peer credentials.
2004-07-09 Dick Porter <dick@ximian.com>
* Socket.cs: Slight tweak to allow unknown objects to be returned
by GetSocketOption().
svn path=/trunk/mcs/; revision=30928
Dick Porter [Fri, 9 Jul 2004 13:03:03 +0000 (13:03 -0000)]
2004-07-09 Dick Porter <dick@ximian.com>
* socket-io.h:
* socket-io.c
(ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal):
Add support for SO_PEERCRED if its available.
svn path=/trunk/mono/; revision=30927
Atsushi Eno [Fri, 9 Jul 2004 12:25:05 +0000 (12:25 -0000)]
2004-07-09 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.dll.sources: removed XmlItemView.cs and
XmlItemViewCollection.cs (only in 1.2).
svn path=/trunk/mcs/; revision=30926
Umadevi S [Fri, 9 Jul 2004 09:47:32 +0000 (09:47 -0000)]
2004-07-09 Umadevi S <sumadevi@novell.com>
* Modified classes ISqlCommand.cs, ISqlConnection.cs,ISqlExecutionContext.cs, InvalidUdtException.cs,TriggerAction.cs : Added missing methods,properties,constructors
svn path=/trunk/mcs/; revision=30924
Anirban Bhattacharjee [Fri, 9 Jul 2004 09:23:09 +0000 (09:23 -0000)]
2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
* mb-parser.jay:
* class.cs:
Default modifier for constructor is set to Public
svn path=/trunk/mcs/; revision=30923
Umadevi S [Fri, 9 Jul 2004 09:15:39 +0000 (09:15 -0000)]
2004-07-09 Umadevi S <sumadevi@novell.com>
* Added System.Data.Sql/IUdtSerializationContext.cs and System.Data.Sql/SqlFacetAttribute.cs to system.data.dll.sources
svn path=/trunk/mcs/; revision=30922
Umadevi S [Fri, 9 Jul 2004 09:12:10 +0000 (09:12 -0000)]
2004-07-09 Umadevi S <sumadevi@novell.com>
* Added files SqlFacetAttribute.cs and IUdtSerializationContext.cs
svn path=/trunk/mcs/; revision=30921
Atsushi Eno [Fri, 9 Jul 2004 06:30:18 +0000 (06:30 -0000)]
2004-07-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlAttributeCollection.cs : In .net 2.0, it became sealed class.
* IXmlDataEvidence.cs : not "Evidences" but "Evidence".
* XmlInputStream.cs : new csc rejected implicit int->char cast.
* XmlNamespaceManager.cs : In net_2_0, LookupNamespace(string) and
LookupPrefix(string) does not require argument string as atomized.
Added HasNamespace (string, bool).
* XmlReader.cs : Added Settings and SchemaInfo properties.
* XmlReaderSettings.cs : Added NameTable. Throw XmlException when
attempt to set Schemas.
* XmlTextReader.cs : Fixed "Evidences" to "Evidence". new csc rejected
implicit int->char cast.
* XmlValidatingReader.cs : Fixed "Evidences" to "Evidence".
svn path=/trunk/mcs/; revision=30919
Anirban Bhattacharjee [Fri, 9 Jul 2004 06:13:50 +0000 (06:13 -0000)]
2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
* mb-parser.jay: Parentheses in method declarations made optional incase of empty parameter list. Thus, a method "Sub s()" can also be declared as "Sub s"
svn path=/trunk/mcs/; revision=30918
Peter Dennis Bartok [Fri, 9 Jul 2004 05:58:39 +0000 (05:58 -0000)]
- winelib.exe.so error message is now only displayed if MONO_DEBUG is set.
To help us avoid questions when people are trying out the
new Managed.Windows.Forms.
svn path=/trunk/mono/; revision=30917
Atsushi Eno [Fri, 9 Jul 2004 05:57:46 +0000 (05:57 -0000)]
2004-07-09 Atsushi Enomoto <atsushi@ximian.com>
* aot.c : I could just use PLATFORM_WIN32 flag.
svn path=/trunk/mono/; revision=30916
Atsushi Eno [Fri, 9 Jul 2004 05:54:13 +0000 (05:54 -0000)]
2004-07-09 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.dll.sources: removed one of ImportContext.cs
svn path=/trunk/mcs/; revision=30915
Peter Dennis Bartok [Fri, 9 Jul 2004 05:21:25 +0000 (05:21 -0000)]
- Initial check-in
svn path=/trunk/mcs/; revision=30913
Atsushi Eno [Fri, 9 Jul 2004 02:28:04 +0000 (02:28 -0000)]
2004-07-09 Atsushi Enomoto <atsushi@ximian.com>
* aot.c : Reverting the previous fix. This time it broke linux build.
svn path=/trunk/mono/; revision=30912
Sebastien Pouliot [Fri, 9 Jul 2004 02:14:46 +0000 (02:14 -0000)]
2004-07-08 Sebastien Pouliot <sebastien@ximian.com>
* Remove old files from Fx 1.2 preview
CryptographicAttribute.cs
EnvelopedPkcs7.cs
Pkcs7Recipient.cs
Pkcs7RecipientCollection.cs
Pkcs7RecipientEnumerator.cs
Pkcs7Signer.cs
Pkcs9AttributeCollection.cs
Pkcs9AttributeEnumerator.cs
RecipientSubType.cs
SignedPkcs7.cs
svn path=/trunk/mcs/; revision=30911
Sebastien Pouliot [Fri, 9 Jul 2004 02:10:52 +0000 (02:10 -0000)]
2004-07-08 Sebastien Pouliot <sebastien@ximian.com>
* System.Security.dll.sources: Fixed classes to match Fx 2.0 beta 1.
svn path=/trunk/mcs/; revision=30910
Sebastien Pouliot [Fri, 9 Jul 2004 02:08:50 +0000 (02:08 -0000)]
2004-07-08 Sebastien Pouliot <sebastien@ximian.com>
* PublicKeyInfo.cs: Sealed class (forgotten in previous commit).
svn path=/trunk/mcs/; revision=30909
Sebastien Pouliot [Fri, 9 Jul 2004 02:06:25 +0000 (02:06 -0000)]
2004-07-08 Sebastien Pouliot <sebastien@ximian.com>
* OpenFlags.cs: Fixed flags values. Added missing attributes.
* StoreLocation.cs: Fixed enum values. Added missing [Serializable].
* StoreName.cs: Fixed enum values. Added missing [Serializable].
* X500DistinguishedName.cs: New. X.501 DN.
* X500DistinguishedNameFlags.cs: New. X.501 DN flags.
* X509CertificateEx.cs: Updated to Fx 2.0 beta 1. Added MonoTODO.
* X509Chain.cs: Added missing Reset method.
* X509ChainStatusFlags.cs: Fixed flags values. Added missing attrs.
* X509Extension.cs: Fixed API.
* X509ExtensionCollection.cs: Fixed API and implemented.
* X509FindType.cs: Fixed enum values. Added missing [Serializable].
* X509IncludeOption.cs: Added missing [Serializable].
* X509KeyUsageFlags.cs: : Fixed flags values. Added missing attrs.
* X509NameType.cs: Fixed enum values. Added missing [Serializable].
* X509RevocationFlag.cs: Fixed enum values. Added missing [Serializable].
* X509RevocationMode.cs: Added missing [Serializable].
* X509SelectionFlag.cs: Added missing [Serializable].
* X509VerificationFlags.cs: Fixed flags values. Added missing attrs.
svn path=/trunk/mcs/; revision=30908
Sebastien Pouliot [Fri, 9 Jul 2004 01:58:38 +0000 (01:58 -0000)]
2004-07-08 Sebastien Pouliot <sebastien@ximian.com>
* ContentInfo.cs: Added finalizer.
* CmsRecipient.cs: New. Replace Pkcs7Recipient (from 1.2).
* CmsRecipientCollection.cs: New. Replace Pkcs7RecipientCollection
(from 1.2).
* CmsRecipientEnumerator.cs: New. Replace Pkcs7RecipientEnumerator
(from 1.2).
* CmsSigner.cs: New. Replace Pkcs7Signer (from 1.2).
* EnvelopedCms.cs: New. Replace EnvelopedPkcs7 (from 1.2).
* KeyAgreeRecipientInfo.cs: Fixed internal constructor.
* Pkcs9Attribute.cs: Now inherit from AsnEncodedData. Fixed
constructors.
* Pkcs9DocumentDescription.cs: Sealed class and fixed API.
* Pkcs9DocumentName.cs: Sealed class and fixed API.
* Pkcs9SigningTime.cs: Sealed class and fixed API.
* PublicKeyInfo.cs: Sealed class.
* RecipientInfo.cs: Removed protected constructor.
* RecipientInfoCollection.cs: Sealed class.
* RecipientInfoEnumerator.cs: Sealed class.
* SignedCms.cs: New. Replace SignedPkcs7 (from 1.2).
* SignerInfo.cs: Sealed class and fixed API.
* SignerInfoCollection.cs: Sealed class and fixed CopyTo.
* SignerInfoEnumerator.cs: Sealed class.
* SubjectIdentifier.cs: Sealed class.
* SubjectIdentifierOrKey.cs: Sealed class.
* SubjectIdentifierType.cs: Fixed enum and added [Serializable].
svn path=/trunk/mcs/; revision=30907
Sebastien Pouliot [Fri, 9 Jul 2004 01:46:05 +0000 (01:46 -0000)]
2004-07-08 Sebastien Pouliot <sebastien@ximian.com>
* StorePermissionFlags.cs: Fixed flags values. Added [Serializable]
attribute.
svn path=/trunk/mcs/; revision=30906
Sebastien Pouliot [Fri, 9 Jul 2004 01:44:40 +0000 (01:44 -0000)]
2004-07-08 Sebastien Pouliot <spouliot@videotron.ca>
* AsnEncodedData.cs: Fixes for Fx 2.0 beta 1 compatibility. Added
MonoTODO to missing functionalities.
* AsnEncodedDataCollection.cs: New.
* AsnEncodedDataEnumerator.cs: New.
* CryptographicAttribute.cs: New. Moved from S.S.C.Pkcs.
* CryptographicAttributeCollection.cs: New. Replace S.S.C.Pkcs.
Pkcs9AttributeCollection.
* CryptographicAttributeEnumerator.cs: New. Replace S.S.C.Pkcs.
Pkcs9AttributeEnumerator.
svn path=/trunk/mcs/; revision=30905
Atsushi Eno [Fri, 9 Jul 2004 00:51:07 +0000 (00:51 -0000)]
2004-07-09 Atsushi Enomoto <atsushi@ximian.com>
* aot.c : quick cygwin build fix. mkdir() with two args does not exist.
svn path=/trunk/mono/; revision=30904
Gonzalo Paniagua Javier [Thu, 8 Jul 2004 23:15:57 +0000 (23:15 -0000)]
2004-07-08 Pablo Baena <pbaena@gmail.com>
* Page.cs: added workaround for __doPostBack script on Netscape 4.xx
svn path=/branches/mono-1-0/mcs/; revision=30903
Gonzalo Paniagua Javier [Thu, 8 Jul 2004 23:15:14 +0000 (23:15 -0000)]
2004-07-08 Pablo Baena <pbaena@gmail.com>
* Page.cs: added workaround for __doPostBack script on Netscape 4.xx
svn path=/trunk/mcs/; revision=30902
Gonzalo Paniagua Javier [Thu, 8 Jul 2004 23:10:13 +0000 (23:10 -0000)]
2004-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWebRequest.cs: removed bogus Monitor.Exit.
* WebConnection.cs: use Address instead of RequestUri when checking for
the scheme in order to select the stream type. Fixes bug #61218.
svn path=/branches/mono-1-0/mcs/; revision=30901
Gonzalo Paniagua Javier [Thu, 8 Jul 2004 23:08:44 +0000 (23:08 -0000)]
2004-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWebRequest.cs: removed bogus Monitor.Exit.
* WebConnection.cs: use Address instead of RequestUri when checking for
the scheme in order to select the stream type. Fixes bug #61218.
svn path=/trunk/mcs/; revision=30900
Jackson Harper [Thu, 8 Jul 2004 21:57:22 +0000 (21:57 -0000)]
* main.c: Spaces after visibility types.
svn path=/trunk/mono/; revision=30899
Zoltan Varga [Thu, 8 Jul 2004 19:15:11 +0000 (19:15 -0000)]
Merge from HEAD.
svn path=/branches/mono-1-0/mono/; revision=30898
Zoltan Varga [Thu, 8 Jul 2004 19:13:48 +0000 (19:13 -0000)]
2004-07-08 Zoltan Varga <vargaz@freemail.hu>
* mini.c (handle_stack_args): Remove some more debugging code.
svn path=/trunk/mono/; revision=30897
Zoltan Varga [Thu, 8 Jul 2004 19:07:16 +0000 (19:07 -0000)]
2004-07-08 Zoltan Varga <vargaz@freemail.hu>
* mini.c (handle_stack_args): Remove debug output left in by mistake.
svn path=/trunk/mono/; revision=30896
Zoltan Varga [Thu, 8 Jul 2004 18:54:59 +0000 (18:54 -0000)]
2004-07-08 Zoltan Varga <vargaz@freemail.hu>
* driver.c mini.h aot.c: Allow additional options to be specified with
--aot and pass them to mono_compile_assembly.
* aot.c: Add experimental code to AOT compile all loaded assemblies
on demand and save the code into a cache in the filesystem.
* aot.c: Add support for more wrapper methods.
svn path=/trunk/mono/; revision=30894
Sebastien Pouliot [Thu, 8 Jul 2004 17:55:38 +0000 (17:55 -0000)]
2004-07-08 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: Added new Equals(Object). Moved [Serializable]
so it's compiled by all profiles. Added missing MonoTODO.
* X509ContentType.cs: Added new (from 1.2) Pkcs12 enum member. Added
missing [Serializable] attribute.
* X509KeyStorageFlags.cs: Specified all flags values. Added missing
[Serializable] attribute.
svn path=/trunk/mcs/; revision=30893
Sebastien Pouliot [Thu, 8 Jul 2004 17:54:24 +0000 (17:54 -0000)]
2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
* CspProviderFlags.cs: Fixed new enums values.
* DSA.cs: Fixed #if for constructor visibility.
* CryptoAPITransform.cs: Removed constructor for NET_2_0 profile.
svn path=/trunk/mcs/; revision=30892
Sebastien Pouliot [Thu, 8 Jul 2004 17:53:32 +0000 (17:53 -0000)]
2004-07-08 Sebastien Pouliot <sebastien@ximian.com>
* AccessControlActions.cs: Fixed enum values. Added missing attributes.
svn path=/trunk/mcs/; revision=30891
Zoltan Varga [Thu, 8 Jul 2004 17:23:09 +0000 (17:23 -0000)]
2004-07-08 Zoltan Varga <vargaz@freemail.hu>
* mini.c (handle_stack_args): Handle some corner cases. Fixes
58863.
svn path=/trunk/mono/; revision=30890
Zoltan Varga [Thu, 8 Jul 2004 17:21:07 +0000 (17:21 -0000)]
2004-07-08 Zoltan Varga <vargaz@freemail.hu>
* cpu-*.md: Remove removed opcodes.
svn path=/trunk/mono/; revision=30889
Zoltan Varga [Thu, 8 Jul 2004 17:18:54 +0000 (17:18 -0000)]
2004-07-08 Zoltan Varga <vargaz@freemail.hu>
* interp.c mintops.def transform.c: Replace CEE_MONO_PROC<x> with
CEE_MONO_ICALL.
svn path=/trunk/mono/; revision=30888
Zoltan Varga [Thu, 8 Jul 2004 17:17:23 +0000 (17:17 -0000)]
2004-07-08 Zoltan Varga <vargaz@freemail.hu>
* mini.h mini.c: Move JIT icall handling to icall.c. Replace usage of
CEE_MONO_PROC<x> with CEE_MONO_ICALL. Move registration of marshalling
related icalls to marshal.c.
svn path=/trunk/mono/; revision=30887
Zoltan Varga [Thu, 8 Jul 2004 17:15:24 +0000 (17:15 -0000)]
2004-07-08 Zoltan Varga <vargaz@freemail.hu>
* class-internals.h debug-helpers.c marshal.c: Add new wrapper types
for isinst and castclass wrappers.
* class-internals.h icall.c: Move registration and lookup of JIT icalls
to libmetadata from the JIT, so they could be used by the marshalling
code and the interpreter.
* marshal.c: Register marshalling related JIT icalls here instead of
in mini.c. Use CEE_MONO_ICALL instead of the family of
CEE_MONO_PROC<x> opcodes to call marshalling functions.
* metadata.h: Remove unneeded marshalling conversions.
* opcodes.c: Update for new opcodes.
svn path=/trunk/mono/; revision=30886
Zoltan Varga [Thu, 8 Jul 2004 17:07:10 +0000 (17:07 -0000)]
2004-07-08 Zoltan Varga <vargaz@freemail.hu>
* opcode.def: Remove CEE_MONO_FUNC and related opcodes, replace them
with CEE_MONO_ICALL.
svn path=/trunk/mono/; revision=30885
Jackson Harper [Thu, 8 Jul 2004 16:39:36 +0000 (16:39 -0000)]
* CodeGen.cs: Add assembly custom attributes to the pe file.
* CustomAttr.cs: Custom attributes are now added through the
pefile, this ensures that they get emitted properly.
* ExternTable.cs: Allow adding custom attributes to assembly
refs.
svn path=/trunk/mcs/; revision=30884
Jackson Harper [Thu, 8 Jul 2004 16:38:56 +0000 (16:38 -0000)]
* ILParser.jay: Add custom attributes to assemblyrefs.
svn path=/trunk/mcs/; revision=30883
Jackson Harper [Thu, 8 Jul 2004 16:38:23 +0000 (16:38 -0000)]
* PEAPI.cs: Add custom attributes through the pefile so that we
can ensure they are emitted no matter what table they are
in. Previously not all custom attributes were getting emitted.
svn path=/trunk/mcs/; revision=30882
Martin Baulig [Thu, 8 Jul 2004 15:34:41 +0000 (15:34 -0000)]
2004-07-08 Martin Baulig <martin@ximian.com>
* statement.cs (Lock.Resolve): Set ec.NeedReturnLabel() if we do
not always return, just like we're doing in Using.Resolve().
svn path=/branches/mono-1-0/mcs/; revision=30881
Dick Porter [Thu, 8 Jul 2004 15:10:07 +0000 (15:10 -0000)]
2004-07-08 Dick Porter <dick@ximian.com>
* io.c (file_seek): If there is a high 32bit offset part, make
sure the low part isn't sign-extended. Set error codes when
returning failure. Fixes bug 61131.
svn path=/branches/mono-1-0/mono/; revision=30877
Dick Porter [Thu, 8 Jul 2004 15:10:04 +0000 (15:10 -0000)]
2004-07-08 Dick Porter <dick@ximian.com>
* io.c (file_seek): If there is a high 32bit offset part, make
sure the low part isn't sign-extended. Set error codes when
returning failure. Fixes bug 61131.
svn path=/trunk/mono/; revision=30876
Martin Baulig [Thu, 8 Jul 2004 14:47:14 +0000 (14:47 -0000)]
2004-07-08 Martin Baulig <martin@ximian.com>
* statement.cs (Lock.Resolve): Set ec.NeedReturnLabel() if we do
not always return, just like we're doing in Using.Resolve().
svn path=/trunk/mcs/; revision=30875
Geoff Norton [Thu, 8 Jul 2004 14:28:30 +0000 (14:28 -0000)]
Patch for #58844 approved by lupus
svn path=/branches/mono-1-0/mcs/; revision=30873
Martin Baulig [Thu, 8 Jul 2004 14:26:42 +0000 (14:26 -0000)]
2004-07-08 Martin Baulig <martin@ximian.com>
* mono-debug.c: Check for `handle->symfile' being non-NULL everywhere.
(mono_debug_get_domain_data): Make this function static.
svn path=/trunk/mono/; revision=30872
Geoff Norton [Thu, 8 Jul 2004 14:25:53 +0000 (14:25 -0000)]
Patch for #58844 approved by lupus
svn path=/trunk/mcs/; revision=30871
Lluis Sanchez [Thu, 8 Jul 2004 14:02:34 +0000 (14:02 -0000)]
* XmlSerializer.cs: Fix fix.
svn path=/trunk/mcs/; revision=30870
Lluis Sanchez [Thu, 8 Jul 2004 13:43:21 +0000 (13:43 -0000)]
Test update
svn path=/trunk/mcs/; revision=30869
Lluis Sanchez [Thu, 8 Jul 2004 13:42:32 +0000 (13:42 -0000)]
* System.Xml.dll.sources: Added new files:
System.Xml.Serialization/IXmlSerializerImplementation.cs
System.Xml.Serialization/IXmlTextParser.cs
System.Xml.Serialization/ImportContext.cs
System.Xml.Serialization/SchemaImporter.cs
System.Xml.Serialization/SchemaImporterExtension.cs
System.Xml.Serialization/SchemaImporterExtensionCollection.cs
System.Xml.Serialization/XmlDeserializationEvents.cs
System.Xml.Serialization/XmlSchemaProviderAttribute.cs
System.Xml.Serialization/XmlSerializationGeneratedCode.cs
System.Xml.Serialization/XmlSerializerAssemblyAttribute.cs
System.Xml.Serialization/XmlSerializerFactory.cs
System.Xml.Serialization/XmlSerializerVersionAttribute.cs
svn path=/trunk/mcs/; revision=30868
Lluis Sanchez [Thu, 8 Jul 2004 13:39:12 +0000 (13:39 -0000)]
* IXmlSerializerImplementation.cs: Compile as internal in NET_1_1.
* ReflectionHelper.cs: New method for generating map keys.
* SerializationCodeGenerator.cs: Added support for generating the serializer
contract class, needed for 2.0.
* SerializationSource.cs: Use Type[] instead of ArrayList for storing
extra types.
* SoapReflectionImporter.cs, XmlReflectionImporter.cs: Assign extra types
as Type[]. Added check that makes sure that enums being serialized are
public.
* XmlMapping.cs: Added internal GetKey method.
* XmlSerializer.cs: Added support for IXmlSerializerImplementation.
Added first bits to support loading of serializers from pre-generated
assemblies.
* XmlSerializerFactory.cs: Mostly implemeted.
svn path=/trunk/mcs/; revision=30867
Anirban Bhattacharjee [Thu, 8 Jul 2004 12:44:10 +0000 (12:44 -0000)]
2004-07-07 Anirban Bhattacharjee <banirban@novell.com>
* expression.cs: bug fixed - 60399
svn path=/trunk/mcs/; revision=30866
Geoff Norton [Wed, 7 Jul 2004 20:12:17 +0000 (20:12 -0000)]
Patch for #58973. Approved by miguel.
svn path=/branches/mono-1-0/mcs/; revision=30861
Geoff Norton [Wed, 7 Jul 2004 20:02:28 +0000 (20:02 -0000)]
Patch for bug #58973 approved by Miguel.
svn path=/trunk/mcs/; revision=30860
Sebastien Pouliot [Wed, 7 Jul 2004 20:00:39 +0000 (20:00 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* System.Security_test.dll.sources: Added a lot of existing tests
(from 1.2 documentation) that were never compiled.
svn path=/trunk/mcs/; revision=30859
Sebastien Pouliot [Wed, 7 Jul 2004 19:58:34 +0000 (19:58 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* ContentInfoTest.cs: Adjusted for changes in Mono.Security.
svn path=/trunk/mcs/; revision=30858
Sebastien Pouliot [Wed, 7 Jul 2004 19:48:25 +0000 (19:48 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* Makefile: Added a reference to Mono.Security because we'll require
many class from it for the NET_2_0 profile - but it would be better
not to have the dependency for NET_1_1.
* System.Security.dll.sources: Added a lot of existing classes (from
1.2 documentation) that were never compiled.
svn path=/trunk/mcs/; revision=30857
Sebastien Pouliot [Wed, 7 Jul 2004 19:42:02 +0000 (19:42 -0000)]
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Added new attributes present in Fx 2.0.
svn path=/trunk/mcs/; revision=30856
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:50 +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=/branches/mono-1-0/mcs/; revision=30844
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:42:55 +0000 (09:42 -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=/branches/mono-1-0/mcs/; revision=30830
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:20:28 +0000 (09:20 -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=/branches/mono-1-0/mcs/; revision=30827
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
Umadevi S [Wed, 7 Jul 2004 08:34:23 +0000 (08:34 -0000)]
2004-07-07 Umadevi S (sumadevi@novell.com)
* OdbcCommand.cs : fixed set method for Transaction
(patch submitted by Sebastien Robitaille)
svn path=/branches/mono-1-0/mcs/; revision=30823
Juraj Skripsky [Wed, 7 Jul 2004 05:11:45 +0000 (05:11 -0000)]
Same thing as in HEAD.
2004-07-07 Juraj Skripsky <juraj@hotfeet.ch>
* SessionStateModule.cs: set path in session cookie to application
path.
svn path=/branches/mono-1-0/mcs/; revision=30821