Lluis Sanchez
a6bf88dba5
* FormatterServices.cs: Added CheckTypeSecurity() and
...
GetSafeUninitializedObject().
svn path=/trunk/mcs/; revision=20311
2003-11-21 16:54:15 +00:00
Andreas N
c7cb04a69d
2003-11-18 Andreas Nahr <[email protected] >
...
* ObjectManager.cs: Fixed header, internalized enum
* Formatter.cs: Implemented
svn path=/trunk/mcs/; revision=20186
2003-11-18 20:03:41 +00:00
Lluis Sanchez
a05abf88e8
* FormatterServices.cs: Fixed some comments
...
svn path=/trunk/mcs/; revision=19807
2003-11-11 01:11:38 +00:00
Lluis Sanchez
510f84be77
* SerializationInfo.cs: Fixed bug in GetValue. Use IsAssignableFrom instead
...
of IsSubclass, since the type can be an interface.
svn path=/trunk/mcs/; revision=19275
2003-10-21 16:21:18 +00:00
Lluis Sanchez
85c9822860
* FormatterServices.cs: In GetUninitializedObject methdod, reuse
...
ActivationServices.AllocateUninitializedClassInstance, it does the same.
svn path=/trunk/mcs/; revision=19175
2003-10-18 18:23:03 +00:00
Duncan Mak
4bcbe166d0
* TransportHeaders.cs: Added Serializable attribute.
...
* ClientChannelSinkStack.cs: Added no-param constructor.
* ContextAttribute.cs: Removed constructor.
* RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.
* BinaryFormatter.cs (WriteBinaryHeader): changed from public to
private.
* Formatter.cs (WriteSByte): Added CLSCompliant attribute.
svn path=/trunk/mcs/; revision=16785
2003-07-28 19:48:38 +00:00
Gonzalo Paniagua Javier
1150f5cc0e
2003-07-26 Gonzalo Paniagua Javier <[email protected] >
...
* FormatterServices.cs:
(GetSerializableMembers): check that all base types are serializable
when getting their fields. Fixes bug #46875 .
svn path=/trunk/mcs/; revision=16705
2003-07-26 15:24:11 +00:00
Lluis Sanchez
9e59120def
* ObjectIDGenerator.cs: Optimized access to hashtable and reduced the
...
number of calls to GetType(). (Patch by Paolo).
Also added a NextId property that returns a new Id without registering
an object.
svn path=/trunk/mcs/; revision=16341
2003-07-17 12:05:27 +00:00
Lluis Sanchez
438c7d60cb
* SerializationInfo.cs: Fixed bug #44955
...
svn path=/trunk/mcs/; revision=15643
2003-06-25 23:39:41 +00:00
Gonzalo Paniagua Javier
9c16eea9ca
2003-05-11 Gonzalo Paniagua Javier <[email protected] >
...
* FormatterServices.cs: patch from Jean Marc that fixes bug #42742 .
svn path=/trunk/mcs/; revision=14473
2003-05-11 01:58:21 +00:00
Lluis Sanchez
a7a4e09ae6
* ObjectManager.cs: Corrected a problem with arrays of structs. Elements where
...
not correctly updated by the final fixup.
svn path=/trunk/mcs/; revision=11660
2003-02-18 00:51:24 +00:00
Lluis Sanchez
192e07c742
ObjectManager.cs: Corrected a problem with IObjectReferece objects.
...
svn path=/trunk/mcs/; revision=10963
2003-01-27 20:33:05 +00:00
Martin Baulig
33792aae6e
2003-01-24 Martin Baulig <[email protected] >
...
* ObjectManager.cs (RaiseDeserializationEvent): Walk the object
list in the correct order.
svn path=/trunk/mcs/; revision=10872
2003-01-24 16:34:40 +00:00
Lluis Sanchez
c3b1984cf2
* ObjectManager.cs: Implemented and added file
...
* SurrogateSelector.cs: completed implementation.
* SerializationInfo.cs: corrected a bug in GetValue method.
* ObjectIDGenerator.cs: corrected a bug. Now it does not give the same
id for two different instances that return true when calling Equal.
svn path=/trunk/mcs/; revision=10615
2003-01-17 14:18:43 +00:00
Duncan Mak
c77b63d3f5
2002-12-06 Duncan Mak <[email protected] >
...
* UrlAttribute.cs (GetHashCode): Implemented.
* BaseChannelSinkWithProperties.cs (constructor): Implemented by
chaining on to the base constructor.
* BaseChannelObjectWithProperties.cs : Implemented the Count,
IsFixedSize, IsReadOnly, IsSynchronized, Keys, Properties, SyncRoot,
Values properties.
Implemented the Contains and GetEnumerator methods.
Removed the unnecessary TODO attribute on the constructor, and the Add
method.
* Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.
svn path=/trunk/mcs/; revision=9414
2002-12-07 01:43:39 +00:00
Gonzalo Paniagua Javier
f6d18264e8
2002-08-16 Gonzalo Paniagua Javier <[email protected] >
...
* FormatterServices.cs: implemented GetUninitializedObject.
PopulateObjectMembers needs a working FieldInfo.SetValue (it's
not implemented right now).
svn path=/trunk/mcs/; revision=6684
2002-08-16 19:23:57 +00:00
Gonzalo Paniagua Javier
2db68a79ec
Fix
...
svn path=/trunk/mcs/; revision=6681
2002-08-16 17:09:38 +00:00
Gonzalo Paniagua Javier
074dd116b5
2002-08-16 Gonzalo Paniagua Javier <[email protected] >
...
* FormatterServices.cs:a implemented GetSerializableMembers ().
svn path=/trunk/mcs/; revision=6679
2002-08-16 16:54:02 +00:00
Gonzalo Paniagua Javier
7fa479a7be
2002-08-16 Gonzalo Paniagua Javier <[email protected] >
...
* FormatterServices.cs: New file with some implementation.
svn path=/trunk/mcs/; revision=6677
2002-08-16 15:35:10 +00:00
Dietmar Maurer
8e26f9cfaa
2002-08-16 Dietmar Maurer <[email protected] >
...
* SerializationInfo.cs: special case for null values.
use the converter everywhere.
svn path=/trunk/mcs/; revision=6673
2002-08-16 12:54:45 +00:00
Dietmar Maurer
c524434bdd
*** empty log message ***
...
svn path=/trunk/mcs/; revision=6639
2002-08-14 16:11:16 +00:00
Dietmar Maurer
9499c0c0c8
2002-08-14 Dietmar Maurer <[email protected] >
...
* SerializationInfo.cs: added new function to support the runtime
svn path=/trunk/mcs/; revision=6638
2002-08-14 16:10:32 +00:00
Duncan Mak
7c32d23891
More visibility fixes.
...
svn path=/trunk/mcs/; revision=6324
2002-08-01 18:20:26 +00:00
Gonzalo Paniagua Javier
b9c3c00dbf
2002-07-16 Gonzalo Paniagua Javier <[email protected] >
...
* Formatter.cs: added namespace.
svn path=/trunk/mcs/; revision=5821
2002-07-16 06:29:01 +00:00
Duncan Mak
7b1fcee0d0
2002-06-10 Duncan Mak <[email protected] >
...
* Formatter.cs: Addd to CVS.
* FormatterConverter.cs: Added to CVS.
* SerializationInfo.cs (AddValue): Removed extra CLSCompliant attribute.
svn path=/trunk/mcs/; revision=5213
2002-06-10 19:30:48 +00:00
Piers Haken
9e63489461
Miscellaneous minor compliancy fixes:
...
* System/System/UriBuilder.cs: use visible EscapeString
* corlib/System.Reflection/ManifestResourceInfo.cs: constructor access, define fields
* corlib/System/Convert.cs: remove erroneous CLSCompliant attributes
* corlib/System/Math.cs: remove erroneous CLSCompliant attribute
Fix enum values:
* System/System.CodeDom/CodeBinaryOperatorType.cs
* System/System.Net.Sockets/ProtocolFamily.cs
* corlib/System.Globalization/CultureTypes.cs
* corlib/System.Reflection/FieldAttributes.cs
* corlib/System.Runtime.InteropServices/AssemblyRegistrationFlags.cs
* corlib/System.Security.Cryptography/CipherMode.cs
* corlib/System.Security.Cryptography/CspProviderFlags.cs
* corlib/System.Security.Cryptography/PaddingMode.cs
* corlib/System.Security.Permissions/IsolatedStorageContainment.cs
* corlib/System.Security.Permissions/ReflectionPermissionFlag.cs
* corlib/System.Security.Permissions/SecurityPermissionFlag.cs
* corlib/System.Security/PolicyLevelType.cs
* corlib/System.Security/SecurityZone.cs
* corlib/System/AttributeTargets.cs
* corlib/System/Environment.cs
Remove redundant overrides:
* corlib/System.Reflection.Emit/EnumBuilder.cs
* corlib/System.Reflection.Emit/TypeBuilder.cs
* corlib/System/MissingFieldException.cs
* corlib/System/MissingMemberException.cs
* corlib/System/MissingMethodException.cs
Fix visibility and access modifiers:
* System/System.CodeDom.Compiler/CodeGenerator.cs
* System/System.Collections.Specialized/NameObjectCollectionBase.cs
* System/System.Collections.Specialized/NameValueCollection.cs
* System/System.ComponentModel/EventDescriptor.cs
* System/System.ComponentModel/EventDescriptorCollection.cs
* System/System.Diagnostics/ProcessStartInfo.cs
* System/System.Net/DnsPermission.cs
* System/System.Net/SocketPermission.cs
* System/System/Uri.cs
* corlib/System.IO/StreamReader.cs
* corlib/System.IO/StringReader.cs
* corlib/System.IO/StringWriter.cs
* corlib/System.IO/TextWriter.cs
* corlib/System.Reflection.Emit/ConstructorBuilder.cs
* corlib/System.Reflection.Emit/MethodBuilder.cs
* corlib/System.Reflection.Emit/OpCodes.cs
* corlib/System.Reflection/Assembly.cs
* corlib/System.Runtime.Remoting.Messaging/ReturnMessage.cs
* corlib/System.Runtime.Serialization/SerializationException.cs
* corlib/System/Activator.cs
* corlib/System/Array.cs
* corlib/System/Boolean.cs
* corlib/System/Byte.cs
* corlib/System/Char.cs
* corlib/System/DateTime.cs
* corlib/System/DivideByZeroException.cs
* corlib/System/Double.cs
* corlib/System/Int16.cs
* corlib/System/Int32.cs
* corlib/System/Int64.cs
* corlib/System/SByte.cs
* corlib/System/Single.cs
* corlib/System/Type.cs
* corlib/System/UInt16.cs
* corlib/System/UInt32.cs
* corlib/System/UInt64.cs
Fix IDisposable, Dispose() mess
* corlib/System.IO/BinaryWriter.cs
* corlib/System.IO/BufferedStream.cs
* corlib/System.IO/FileStream.cs
* corlib/System.IO/MemoryStream.cs
* corlib/System.IO/Stream.cs
svn path=/trunk/mcs/; revision=4416
2002-05-08 13:21:13 +00:00
Duncan Mak
dcce243fc2
2002-04-12 Duncan Mak <[email protected] >
...
* SerializationException.cs: Added missing constructor for serialization.
svn path=/trunk/mcs/; revision=3787
2002-04-12 16:48:45 +00:00
Piers Haken
cc63806f23
minor CLS conformance tweaks (visibility, virtual, abstract, sealed, etc...)
...
svn path=/trunk/mcs/; revision=3568
2002-04-03 06:28:53 +00:00
Piers Haken
f409a4273b
added missing [Flags] attribute
...
svn path=/trunk/mcs/; revision=3547
2002-04-02 03:44:35 +00:00
Piers Haken
610d7923ac
added missing [Serializable] attribute
...
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Duncan Mak
9f5d876ed9
2002-03-12 Duncan Mak <[email protected] >
...
* IFormatter.cs: Fix the return type of the Serialize method.
* ObsoleteAttribute.cs: Made Message and IsError properties
instead of fields.
svn path=/trunk/mcs/; revision=3074
2002-03-12 18:48:12 +00:00
Nick Drochak
ca777c6bc4
2002/03/07 Nick Drochak <[email protected] >
...
* StreamingContextStates.cs: Add missing value (CrossAppDomain) and
adjust All value accordingly.
svn path=/trunk/mcs/; revision=2957
2002-03-07 03:31:29 +00:00
Duncan Mak
c2b64e29b6
2002-03-01 Duncan Mak <[email protected] >
...
* ObjectIDGenerator.cs: Implemented.
* System.Runtime.Serialization/ObjectIDGeneratorTests.cs: Added
test for System.Runtime.Serialization.ObjectIDGenerator.
svn path=/trunk/mcs/; revision=2796
2002-03-01 05:47:39 +00:00
Duncan Mak
1cd81fcf15
fixed a typo.
...
svn path=/trunk/mcs/; revision=2521
2002-02-19 20:23:57 +00:00
Duncan Mak
166b65fc32
2002-02-19 Duncan Mak <[email protected] >
...
* SurrogateSelector.cs: Implemented.
svn path=/trunk/mcs/; revision=2520
2002-02-19 20:19:39 +00:00
Duncan Mak
26d9468923
2002-02-19 Duncan Mak <[email protected] >
...
* Convert.cs: Finished up the missing methods in Convert.
Added a new private method ConvertFromBase.
svn path=/trunk/mcs/; revision=2509
2002-02-19 12:28:23 +00:00
Duncan Mak
88c9c7874e
2002-02-19 Duncan Mak <[email protected] >
...
* SerializationInfoEnumerator.cs: oh, and simplified the Current
property too.
svn path=/trunk/mcs/; revision=2493
2002-02-19 04:03:21 +00:00
Duncan Mak
e0b9e2730a
2002-02-19 Duncan Mak <[email protected] >
...
* SerializationInfo.cs: Forgot to finish up GetEnumerator ().
svn path=/trunk/mcs/; revision=2492
2002-02-19 04:00:22 +00:00
Duncan Mak
b2ec928a27
2002-02-18 Duncan Mak <[email protected] >
...
* SerializationInfo.cs: Converted Type.GetType calls to the faster
typeof operator.
svn path=/trunk/mcs/; revision=2489
2002-02-19 00:32:09 +00:00
Duncan Mak
3dbc80852d
2002-02-16 Duncan Mak <[email protected] >
...
* SurrogateSelector.cs: Stubbed out. Gonna be working on this
tomorrow.
svn path=/trunk/mcs/; revision=2437
2002-02-16 01:19:32 +00:00
Duncan Mak
832e3630e9
2002-02-15 Duncan Mak <[email protected] >
...
* SerializationEntry.cs: Added internal constructor bits for
SerializationInfoEnumerator.
* SerializationInfo.cs: Completed.
* SerializationInfoEnumerator.cs: Implemented. Piggybacking on
Hashtable's GetEnumerator method.
svn path=/trunk/mcs/; revision=2436
2002-02-15 23:16:55 +00:00
Dan Lewis
e0e9356649
Modified and added stubs to allow corlib to compile without referencing mscorlib
...
or MS assemblies. (check the corlib.dll assembly metadata :)
svn path=/trunk/mcs/; revision=2379
2002-02-13 16:24:18 +00:00
Duncan Mak
54829e3eed
2002-02-12 Duncan Mak <[email protected] >
...
* SerializationBinder.cs: Implemented.
* SerializationEntry.cs: Implemented.
* SerializationInfo.cs: Fixed the get portion of the AssemblyName
property. Implemented the FullTypename property.
svn path=/trunk/mcs/; revision=2361
2002-02-12 22:47:31 +00:00
David Dawkins
ee11d4f1c1
New file (ISurrogateSelector.cs)
...
svn path=/trunk/mcs/; revision=1879
2002-01-06 19:08:04 +00:00
David Dawkins
3820f7e459
New file (ISerializationSurrogate.cs)
...
svn path=/trunk/mcs/; revision=1877
2002-01-06 18:48:11 +00:00
David Dawkins
a5724e86ed
New file (IFormatter.cs)
...
svn path=/trunk/mcs/; revision=1875
2002-01-06 18:19:52 +00:00
Ravi Pratap M
e5c8c0b4dc
2002-05-01 Ravi Pratap <[email protected] >
...
* SerializationInfo.cs : Insert MonoTODO attribute.
svn path=/trunk/mcs/; revision=1846
2002-01-05 05:22:24 +00:00
Nick Drochak
829976c78e
2001-08-24 Nick Drochak <[email protected] >
...
* IDeserializationCallback.cs: New File
svn path=/trunk/mcs/; revision=1753
2001-12-30 10:46:45 +00:00
Paolo Molaro
c441fe5cc6
Wed Nov 14 16:30:27 CET 2001 Paolo Molaro <[email protected] >
...
* Linux.cs: a '/' is a valid char in a file path.
Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <[email protected] >
* AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
* Array.cs: fix Array.Copy.
* AssemblyLoadEventArgs.cs: rename field.
* CLSCompliantAttribute.cs: use correct name for the class.
* Char.cs: fix IsLetter.
* Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
* Convert.cs: CLSCompliant updates, add ChangeType() methods.
* Delegate.cs: renamed target field to m_target.
* Enum.cs: added missing methods.
* MonoType.cs: add a constructor and some needed properties.
* Object.cs: implement GetType().
* String.cs: CLSCompliant updates. Fixes everywhere to remove the
ending 0 char.
* Type.cs: add missing methods/properties.
Wed Nov 14 16:45:49 CET 2001 Paolo Molaro <[email protected] >
* ArrayList.cs: implement ArrayListEnumerator.
* Hashtable.cs: hardcode the prime number table.
Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <[email protected] >
* Calendar.cs: CLSCompliant updates.
Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <[email protected] >
* CheckPermission.cs: disable ModeAccess() code: it's wrong.
* FileStream.cs: only trow an exception if the read failed in ReadByte().
* StreamReader.cs: implement Peek and Read.
* TextWriter.cs: CLSCompliant updates.
Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <[email protected] >
* Assembly.cs: implement some of the Load() methods.
* ConstructorInfo.cs: some missing stubs and fields.
* FieldInfo.cs: IsInitOnly property.
* ParameterInfo.cs: stubs for missing properties.
* ParameterModifier.cs: implemented class.
Wed Nov 14 17:01:45 CET 2001 Paolo Molaro <[email protected] >
* ConstructorBuilder.cs: added missing stubs and some implementation.
* CustomAttributeBuilder.cs: added.
* EventBuilder.cs: added.
* FieldBuilder.cs: updates.
* MethodBuilder.cs: stuff to implement P/Invoke methods.
* ModuleBuilder.cs: added GetArrayMethod() stub.
* ParameterBuilder.cs, PropertyBuilder.cs: updates.
* TypeBuilder.cs: updates and stubs.
Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <[email protected] >
* CallingConvention.cs: add missing Winapi.
Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <[email protected] >
* IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.
Wed Nov 14 17:04:30 CET 2001 Paolo Molaro <[email protected] >
* MD5CryptoServiceProvider.cs, SHA1CryptoServiceProvider.cs,
SHA256Managed.cs: CLSCompliant updates.
Wed Nov 14 17:05:22 CET 2001 Paolo Molaro <[email protected] >
* Encoding.cs: renamed some fields.
* StringBuilder.cs: CLSCompliant updates.
Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <[email protected] >
* Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.
svn path=/trunk/mcs/; revision=1351
2001-11-14 15:18:05 +00:00
Paolo Molaro
cd4878d445
Fri Nov 2 18:40:12 CET 2001 Paolo Molaro <[email protected] >
...
* SerializationException.cs: implemented.
svn path=/trunk/mcs/; revision=1261
2001-11-05 06:20:27 +00:00