* BinaryCommon.cs: Added UseReflectionSerialization property.
[mono.git] / mcs / class / corlib / System.Runtime.Serialization.Formatters.Binary / ChangeLog
1 2004-02-23  Lluis Sanchez Gual <lluis@ximian.com>
2
3         * BinaryCommon.cs: Added UseReflectionSerialization property.
4         * CodeGenerator.cs, ObjectWriter.cs: When serializing the name of an 
5           inherited field, prefix the name with the class name. This fixes #54439.
6           Moved check for reflection serialization variable to BinaryCommon.
7         
8 2004-02-17  Lluis Sanchez Gual <lluis@ximian.com>
9
10         * ObjectWriter.cs: Factorized some serialization code in new classes, so it
11           is now possible to use fast IL generated classes that use direct access
12           to class fields instead of using reflection.
13         * CodeGenerator.cs: New file. Has several methods used by ObjectWriter to 
14           generate serialization code.
15
16 2004-02-05  Lluis Sanchez Gual <lluis@ximian.com>
17
18         * ObjectWriter.cs: Get the assembly of a member from the member's type, not
19           from the type of the value, because that is the type written in the
20           metadata section of the object.
21
22 2003-12-23  Lluis Sanchez Gual <lluis@ximian.com>
23
24         * ObjectReader.cs: Field names can include the type name if the field
25           belongs to a base type. Take this into account.
26
27 2003-11-26  Lluis Sanchez Gual <lluis@ximian.com>
28
29         * BinaryFormatter.cs: Added missing methods.
30
31 2003-11-20  Lluis Sanchez Gual <lluis@ximian.com>
32
33         * BinaryFormatter.cs, MessageFormatter.cs, ObjectReader.cs: Added support
34           for TypeFilter property.
35
36 2003-11-16  Lluis Sanchez Gual <lluis@ximian.com>
37
38         * BinaryFormatter.cs, MessageFormatter.cs, ObjectWriter.cs: 
39           Implemented support for AssemblyFormat property.
40
41 2003-11-12  Lluis Sanchez Gual <lluis@ximian.com>
42
43         * ObjectReader.cs, ObjectWriter.cs: Changed some GetType calls to "is" checks.
44
45 2003-07-28  Duncan Mak  <duncan@ximian.com>
46
47         * BinaryFormatter.cs (WriteBinaryHeader): changed from public to
48         private.
49
50 2003-07-25  Lluis Sanchez Gual <lluis@ximian.com>
51
52     * MessageFormatter.cs: WriteMethodCall(): It must write all parameters,
53       including ref and out.
54
55 2003-07-24  Lluis Sanchez Gual <lluis@ximian.com>
56
57     * ObjectReader.cs, ObjectWriter.cs, BinaryCommon.cs: Fixed bug #45970.
58
59 2003-07-17  Lluis Sanchez Gual <lluis@ximian.com>
60
61     * ObjectReader.cs: Keep MemberInfo members in type's metadata object, so it is
62       not necessary to query them for every object.
63     * ObjectWriter.cs: If the value being serialized is a value type (not boxed)
64       then there is no need to register it in the ObjectIDGenerator, because it is
65       not possible to have two references to the same value type object.
66
67 2003-05-13  Lluis Sanchez Gual <lluis@ideary.com>
68
69     * ObjectReader.cs: Changed signature of ReadObjectGraph, so now it returns the
70       deserialized object and the headers.
71     * MessageFormatter.cs: The result of the call to the HeaderHandler delegate is
72       now interpreted as the uri of the target object. This seems to be MS.NET
73       behavior.
74         * BinaryFormatter.cs: Deserialize now calls the HeaderHandler delegate,
75           if provided.
76
77 2003-02-25  Lluis Sanchez Gual <lluis@ideary.com>
78
79         * BinaryFormatter.cs: Implemented support for binders.
80     * MessageFormatter.cs: Implemented support for binders.
81     * ObjectReader.cs: Implemented support for binders.
82
83 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
84
85     * MessageFormatter.cs: Fixed bug in serialization of arguments.
86     * ObjectReader.cs: Fixed bug causing array of structs to fail.
87
88 2003-02-11  Patrik Torstensson
89
90     * ObjectReader.cs: Fixed root object bug causing object reader to return root object 
91           before fixup. Closes bug #37842.
92
93 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
94
95     * MessageFormatter.cs: Corrected some bugs that affected serialization of exceptions
96
97 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
98
99     * MessageFormatter.cs: Implemented serialization of message properties.
100
101 2003-01-24  Martin Baulig  <martin@ximian.com>
102
103         * ObjectReader.cs (ReadNextObject): Call
104         RaiseDeserializationEvent() on the ObjectManager when we're done
105         reading the whole graph.
106
107 2003-01-24  Lluis Sanchez Gual <lluis@ideary.com>
108
109     * ObjectWriter.cs, ObjectReader.cs: Added suport for headers. 
110       Corrected encoding of primitive types. Corrected a bug about zero-length arrays. 
111     * MessageFormatter.cs: Added. Implements serialization of messages.
112     * BinaryFormatter.cs: Added serialization of messages.
113     * BinaryCommon.cs: Added enum of codes of primitive types.
114
115 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
116
117         * ObjectWriter.cs: make the exception message more useful.
118
119 2003-01-16  Lluis Sanchez Gual <lluis@ideary.com>
120
121     * BinaryFormatter.cs: implemented Serialize and Deserialize methods.
122     * ObjectReader.cs: added.
123     * ObjectWriter.cs: added.
124     * BinaryCommon.cs. added.
125
126 2002-08-22  Nick Drochak  <ndrochak@gol.com>
127
128         * BinaryArrayTypeEnum.cs: Removed Non-existent enum (must have been
129         from beta days)
130
131 2002-08-18  Dick Porter  <dick@ximian.com>
132
133         * BinaryFormatter.cs: Stubbed out