mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* XmlReflectionImporter.cs: Changed nullable default. Assign member's namespace to an array if the namespace is not specified in XmlArrayItemAttribute. svn path=/trunk/mcs/; revision=15611
384 lines
15 KiB
Plaintext
Executable File
384 lines
15 KiB
Plaintext
Executable File
2003-06-24 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlTypeMapElementInfo.cs: no need to compare nesting level in Equals.
|
|
* XmlReflectionImporter.cs: Changed nullable default. Assign member's namespace to an
|
|
array if the namespace is not specified in XmlArrayItemAttribute.
|
|
|
|
2003-06-17 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlReflectionImporter.cs: Reset internal tables for each ImportMembersMapping call.
|
|
* XmlSerializationReader.cs: GetXsiType(): use current reader.namespaceUri if namespace
|
|
is not specified in the xsi attribute.
|
|
* XmlSerializationReaderInterpreter.cs: Fixed bug when reading an empty array from an empty element.
|
|
* XmlSerializationWriterInterpreter.cs: Added null value check when writting an array.
|
|
|
|
2003-06-16 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSerializationReader.cs : Synchronous fix with
|
|
XmlElement.GetAttribute(name, ns) fix for GetNullAttr().
|
|
* added XmlTypeMapMemberNamespace.cs.
|
|
* XmlReflectionImporter,
|
|
XmlSerializationReaderInterpreter.cs,
|
|
XmlSerializationWriterInterpreter.cs,
|
|
XmlTypeMapping.cs : support for XmlNamespaceDeclarationAttribute.
|
|
|
|
2003-06-16 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSerializationWriter.cs : some QName handling fix.
|
|
|
|
2003-06-13 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlSerializationReader.cs: Fixed error message.
|
|
* XmlSerializationReaderInterpreter.cs: Fixed bug when reading XmlQualifiedNames as attributes
|
|
Thanks to Atsushi!
|
|
* XmlSerializationWriter.cs: Null check in FromXmlQualifiedName.
|
|
|
|
2003-06-13 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName() and ReadTypedPrimitive().
|
|
* XmlSerializationReaderInterpreter.cs: Improved serialization of XmlQualifiedNames.
|
|
* XmlSerializationWriter.cs: implemented methods for reading XmlQualifiedNames.
|
|
* XmlSerializationWriterInterpreter.cs: Improved deserialization of XmlQualifiedNames.
|
|
|
|
2003-06-13 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
|
|
* SoapReflectionImporter.cs: tiny fix.
|
|
* XmlReflectionImporter.cs, TypeData.cs, XmlSerializationWriterInterpreter.cs,
|
|
XmlSerializationReaderInterpreter.cs: Added support for IXmlSerializable.
|
|
* XmlSerializationReader.cs: Fixed implementation of ReadSerializable().
|
|
* XmlSerializationWriter.cs: implemented WriteSerializable ().
|
|
|
|
2003-06-12 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlAnyElementAttribute.cs, XmlArrayItemAttribute.cs: Added AllowMultiple flag.
|
|
* XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
|
|
XmlSerializationReaderInterpreter.cs, XmlTypeMapElementInfo.cs,
|
|
XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added support for XmlTextAttribute.
|
|
* XmlSerializationWriter.cs: small fix.
|
|
|
|
2003-06-11 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlReflectionImporter.cs: Added support for XmlIgnoreAttribute in enum members.
|
|
Added support for DefaultValueAttribute.
|
|
* XmlSerializationWriterInterpreter.cs: Added support for DefaultValueAttribute. Fixed bug when writting
|
|
the value of an enum.
|
|
* XmlTypeMapMember.cs: Added DefaultValue attribute.
|
|
* XmlTypeMapping.cs: EnumMap.GetXmlName and GetXmlValue, so they can now deal with
|
|
integer values.
|
|
|
|
2003-06-11 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlSerializationReader.cs: Minor fix.
|
|
|
|
2003-06-11 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
|
|
|
|
2003-06-10 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
|
|
* XmlAttributes.cs: Default value of XmlDefaultValue changed to System.DBNull.Value
|
|
* XmlCustomFormatter.cs: small fixes.
|
|
* XmlReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
|
|
* XmlSerializationWriter.cs: Implemented TopLevelElement().
|
|
WriteNamespaceDeclarations(): Fixed (the hashtable contains XmlQualifiedNames, not strings).
|
|
WriteXsiType(): It is not necessary to add the namespace declaration, this will now be done by XmlWriter.
|
|
* XmlSerializationWriterInterpreter.cs: Call TopLevelElement() when writing classes or arrays as
|
|
root elements.
|
|
|
|
2003-06-05 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* SoapReflectionImporter.cs: implemented.
|
|
* TypeTranslator.cs: added IsPrimitive() method
|
|
* TypeMapping.cs: Added RelatedMaps property that returns all maps directly or indirectly
|
|
used by that one. Also added Format property, that can be literal or encoded.
|
|
* XmlReflectionImporter.cs: little fixes. Moved some methods to ReflectionHelper.
|
|
* XmlReflectionMember.cs: added constructor that accepts SoapAttributes
|
|
* XmlSerializationReader.cs: implemented many methods needed to support encoded format.
|
|
* XmlSerializationReaderInterpreter.cs: added support for encoded format.
|
|
* XmlSerializationWriter.cs: added support for encoded format.
|
|
* XmlSerializationWriterInterpreter.cs: added support for encoded format.
|
|
* XmlTypeMapElementInfo.cs: added some properties needed to support encoded format
|
|
* XmlTypeMapMemberAttribute.cs: added MappedType property (enum values can be attributes,
|
|
and a map is needed for them).
|
|
* XmlTypeMapMemberElement.cs: small fixes.
|
|
* XmlTypeMapping.cs: added some properties and methods needed to support encoded format
|
|
* ReflectionHelper.cs: added. Has some methods shared by the reflection importers.
|
|
|
|
2003-06-01 Miguel de Icaza <[email protected]>
|
|
|
|
* XmlSerializationReader.cs (UnknownAttribute, UnknownNode,
|
|
UnknownElement): Add line number information.
|
|
|
|
2003-05-29 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* TypeData.cs, TypeTranslator.cs: Renamed some properties.
|
|
* XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
|
|
* XmlMapping.cs: Added internal property.
|
|
* XmlMemberMapping.cs, XmlMembersMapping.cs: Implemented.
|
|
* XmlReflectionImporter.cs: Implemented importing of XmlMembersMapping. Several fixes.
|
|
* XmlReflectionMember.cs: XmlAttributes are now created by default
|
|
* XmlSerializationReader.cs, XmlSerializationWriter.cs: Several fixes.
|
|
* XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs, XmlSerializer.cs:
|
|
Implemented support for XmlMembersMapping.
|
|
* XmlTypeMapping.cs: Property ObjectMap moved to XmlMapping.
|
|
|
|
2003-05-28 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* TypeData.cs, TypeTranslator.cs: Added support for enums. Added method for translating
|
|
from xml type to clr type.
|
|
* XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
|
|
* XmlReflectionMember.cs: Added default constructor.
|
|
* XmlSerializationReader.cs: Implemented ReadTypedPrimitive(), ToByteArrayBase64().
|
|
* XmlSerializationWriter.cs: Several fixes.
|
|
* XmlSerializationReaderInterpreter.cs, XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
|
|
XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs:
|
|
Added support for enums. Added support for XmlElement and XmlNode.
|
|
Support for XmlAnyAttributeAttribute and XmlAnyElementAttribute. Many fixes.
|
|
|
|
2003-05-26 Lluis Sanchez Gual <[email protected]>
|
|
|
|
* TypeData.cs, TypeTranslator.cs: Implemented some methods.
|
|
* XmlCustomFormatter.cs: Added formatting methods.
|
|
* XmlReflectionImporter.cs, XmlSerializer.cs: New implementation.
|
|
* XmlReflectionMember.cs: Added new constructor.
|
|
* XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods.
|
|
* XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
|
|
XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
|
|
XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added
|
|
|
|
2003-05-10 Atsushi Enomoto <[email protected]>
|
|
|
|
* Added TypeTableEntry.cs.
|
|
* TypeTranslator.cs : changed for non-static use.
|
|
* XmlAttributes.cs : XmlType attribute support for GetAttributeName()
|
|
and GetElementName(). Bugfix so that if any XmlElementAttribute
|
|
exists after non-typed XmlElementAttribute then it might be ignored.
|
|
Added GetElementIsNullable().
|
|
* XmlSerializer.cs :
|
|
Introduced TypeTablePool and TypeTableEntry and erased ambiguous
|
|
Object memberObj[4].
|
|
Deserialize() now uses XmlReader.Depth to check its depth.
|
|
Serialize() for non-XmlReader arguments now always write xmldecl.
|
|
SerializeBuiltin() now explicitly requires Type to support xsi:nil,
|
|
and handles XmlQualifiedName.
|
|
Separated SerializeType () from Serialize().
|
|
Separated WriteCollectionElementMember(), IsFieldTypeSerializable(),
|
|
IsPropertyTypeSerializable() from SerializeMembers().
|
|
SerializeMembers() is now capable of null value and actual type,
|
|
which should be included by XmlIncludeAttribute and so on.
|
|
Renamed SerializeArray() to SerializeArrayContent(), and added
|
|
SerializeCollectionContent().
|
|
SerializeMembers() now requries XmlSerializerNamespaces (not used yet).
|
|
FillTypeTable() is now aware of XmlInclude attributes.
|
|
FillEnum() should not have different type table content from others.
|
|
|
|
2003-05-09 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSerializer.cs : this time, only replaced spaces with tabs.
|
|
|
|
2003-05-05 Atsushi Enomoto <[email protected]>
|
|
|
|
* ChangeLog : Added missing ChangeLog of 2003-04-25.
|
|
* XmlCustomFormatter.cs : Fixed FromXmlNmTokens() to contain
|
|
separators. Added experimental method ToEnum().
|
|
* XmlSerializationReader.cs : unconfirmed implementation of
|
|
ReadSerializable() and ToEnum().
|
|
* XmlSerializationWriter.cs : fixed WriteAttribute() so that if value
|
|
is null then no output will be written.
|
|
Fixed WriteStartElement(), WriteElement*() and WriteEmptyTag()
|
|
to use custom formatted name.
|
|
|
|
2003-05-02 Miguel de Icaza <[email protected]>
|
|
|
|
* XmlReflectionImporter.cs: one of theImportTypeMapping mappings
|
|
had a void return value.
|
|
|
|
2003-04-26 Miguel de Icaza <[email protected]>
|
|
|
|
* XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
|
|
`AllowMultiple' flags.
|
|
|
|
2003-04-25 Atsushi Enomoto <[email protected]>
|
|
|
|
* TypeTranslator.cs : patch by Erik LeBel. Array consideration.
|
|
* XmlReflectionImporter.cs : patch by Erik LeBel.
|
|
Now uses XmlRootAttribute to determine element name.
|
|
|
|
2003-03-17 Miguel de Icaza <[email protected]>
|
|
|
|
* XmlSerializer.cs: Do not use Bubblesort, use ArrayList.Sort.
|
|
Kill Bublesort.
|
|
|
|
2003-03-22 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSerializer.cs : patch by Sean Cier. Serialize() other than
|
|
XmlWriter argument should call WriteEndDocument.
|
|
|
|
2003-03-19 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSerializer.cs : Serialize() don't write xmldecl when WriteState is
|
|
not WriteState.Start, and never call WriteEndDocument().
|
|
|
|
2003-03-12 Elan Feingold <[email protected]>
|
|
|
|
* XmlCustomFormatter.cs: Correct signature, Implement
|
|
ToByteArrayBase64
|
|
|
|
* XmlSerializationWriter.cs: Fix prototype.
|
|
|
|
* XmlSerializer.cs: Implements Deserialize().
|
|
|
|
2003-02-16 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSerializer.cs : serializing now works for interface member.
|
|
|
|
2003-01-26 Atsushi Enomoto <[email protected]>
|
|
|
|
* XmlSerializer.cs : some fix handling xml node object more correct.
|
|
|
|
2003-01-16 Ajay kumar Dwivedi <[email protected]>
|
|
* XmlSerializer.cs: Array serialization for 1D arrays works
|
|
* TypeTranslator: Added for translations`
|
|
|
|
2002-09-19 Gonzalo Paniagua Javier <[email protected]>
|
|
|
|
* XmlCustomFormatter.cs: finished.
|
|
* XmlSerializationReader.cs: implemented some more methods.
|
|
|
|
2002-09-18 Gonzalo Paniagua Javier <[email protected]>
|
|
|
|
* XmlSerializationReader.cs: implemented a few methods.
|
|
|
|
* XmlAnyElementAttribute.cs:
|
|
* XmlArrayAttribute.cs:
|
|
* XmlChoiceIdentifierAttribute.cs:
|
|
* XmlElementAttribute.cs:
|
|
* XmlMemberMapping.cs:
|
|
* XmlMembersMapping.cs: class status based fixes.
|
|
|
|
2002-09-13 Gonzalo Paniagua Javier <[email protected]>
|
|
|
|
* CodeIdentifiers.cs:
|
|
* XmlSchemaExporter.cs:
|
|
* XmlSchemaImporter.cs:
|
|
* XmlSchemas.cs:
|
|
* XmlSerializationWriteCallback.cs:
|
|
* XmlSerializationWriter.cs:
|
|
* XmlSerializer.cs:
|
|
* XmlSerializerNamespaces.cs: some class status based fixed and
|
|
implemented a couple of methods.
|
|
|
|
* SoapSchemaExporter.cs: stubbed out.
|
|
|
|
2002-08-24 Tim Coleman <[email protected]>
|
|
* SoapCodeExporter.cs:
|
|
Fix return value of ExportTypeMapping.
|
|
* XmlCustomFormatter.cs:
|
|
Change methods to be internal instead of public.
|
|
* XmlSerializationWriter.cs:
|
|
Modify GetPrimitiveTypeName to build on linux.
|
|
Modify GetQualifiedName to return an incrementing prefix
|
|
instead of the same one all the time (still need to manage
|
|
conflicts)
|
|
Modify WriteElementString to only do special stuff is XsiType
|
|
is not defined.
|
|
Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
|
|
an XmlQualifiedName.
|
|
|
|
2002-08-22 Tim Coleman <[email protected]>
|
|
* XmlSerializationReader.cs:
|
|
Some implementation
|
|
* XmlSerializationWriter.cs:
|
|
More implementation
|
|
* XmlCustomFormatter.cs:
|
|
Implemented this class.
|
|
|
|
2002-08-20 Tim Coleman <[email protected]>
|
|
* XmlSerializationWriter.cs:
|
|
Some implementation.
|
|
|
|
2002-08-19 Tim Coleman <[email protected]>
|
|
* XmlSerializer.cs:
|
|
New stubs added.
|
|
* XmlSerializationWriter.cs:
|
|
New stubs added.
|
|
|
|
2002-08-14 Tim Coleman <[email protected]>
|
|
* XmlSerializer.cs:
|
|
More reformatting of source code so I can
|
|
better understand what it does.
|
|
|
|
2002-08-06 Tim Coleman <[email protected]>
|
|
* XmlSerializer.cs:
|
|
Some reformatting of code for readability.
|
|
Modify to correctly serialize ICollection objects
|
|
such as the BindingCollection of a ServiceDescription
|
|
for example.
|
|
|
|
2002-08-03 Tim Coleman <[email protected]>
|
|
* XmlSerializer.cs:
|
|
Changed Implements() to check based on name rather
|
|
than FullName. FullName was never working correctly.
|
|
|
|
2002-07-26 Tim Coleman <[email protected]>
|
|
* XmlSerializer.cs:
|
|
The constructor now looks for an XmlRootAttribute attribute
|
|
if one is not passed in. Various changes to make it emit
|
|
proper XML, such as handling an element without a namespace
|
|
prefix, and using WriteEndDocument where it should be.
|
|
|
|
2002-07-24 Tim Coleman <[email protected]>
|
|
* CodeIdentifier.cs:
|
|
* IXmlSerializable.cs:
|
|
* XmlSerializationCollectionFixupCallback.cs:
|
|
* XmlSerializationFixupCallback.cs:
|
|
* XmlSerializationReadCallback.cs:
|
|
* XmlSerializationReader.cs:
|
|
* XmlSerializationWriteCallback.cs:
|
|
Add new classes.
|
|
* XmlSchemas.cs
|
|
* CodeIdentifiers.cs:
|
|
Implement some of these classes
|
|
* XmlCodeExporter.cs:
|
|
Fix return type of a function
|
|
|
|
2002-07-24 Tim Coleman <[email protected]>
|
|
* SoapReflectionImporter.cs:
|
|
New class added to build
|
|
System.Web.Services.Description.ServiceDescription.cs
|
|
|
|
2002-07-22 Tim Coleman <[email protected]>
|
|
* CodeIdentifiers.cs:
|
|
* SoapCodeExporter.cs:
|
|
* SoapSchemaExporter.cs:
|
|
* XmlCodeExporter.cs:
|
|
* XmlMemberMapping.cs:
|
|
* XmlMembersMapping.cs:
|
|
* XmlReflectionImporter.cs:
|
|
* XmlReflectionMember.cs:
|
|
* XmlSchemaExporter.cs:
|
|
* XmlSchemaImporter.cs:
|
|
* XmlSchemas.cs:
|
|
New stubbs added to aid in the linux build of
|
|
System.Web.Services.
|
|
|
|
2002-07-05 Ajay kumar Dwivedi <[email protected]>
|
|
|
|
* XmlSeriailizer: Serialize method can serialize XmlSchema perfectly.
|
|
|
|
* XmlSerializerNamespaces: Reverted to use of a single Hashtable.
|
|
|
|
2002-07-02 Ajay kumar Dwivedi <[email protected]>
|
|
|
|
* XmlSeriailizer: Updated Serialize() method.
|
|
|
|
2002-06-27 Ajay kumar Dwivedi <[email protected]>
|
|
* XmlSerializer: Serialize() method Partially Implemented.
|
|
|
|
2002-06-20 Ajay kumar Dwivedi <[email protected]>
|
|
|
|
* Soap & XmlOverrides: Implemented using TypeMember as key with
|
|
suggestions from Rafael.
|