2009-03-02 Chris Toshok <[email protected]>
* XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs: 2.1
has HasValue.
In System.XML/System.Xml:
2009-03-02 Chris Toshok <[email protected]>
* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs,
EntityResolvingXmlReader.cs: 2.1 has HasValue.
In System.XML/Mono.Xml:
2009-03-02 Chris Toshok <[email protected]>
* SubtreeXmlReader.cs, XmlFilterReader.cs: 2.1 has HasValue.
In System.Xml.Linq/System.Xml.Linq:
2009-03-02 Chris Toshok <[email protected]>
* XNodeReader.cs: 2.1 has HasValue.
In System.ServiceModel.Web/System.Runtime.Serialization.Json:
2009-03-02 Chris Toshok <[email protected]>
* JsonReader.cs: 2.1 has HasValue.
svn path=/trunk/mcs/; revision=128406
* XElement.cs : iterate all attributes and see if there is
applicable ns prefix for current element. Fixed bug #466423.
* XElementTest.cs : added test for bug #466423.
svn path=/trunk/mcs/; revision=123851
* XUtil.cs : refactoring Clone(). Support XAttribute too.
* XNode.cs, XElement.cs, XContainer.cs : when adding a node that is
already attached to another node, create a clone of it and add it
to the tree instead of adding argument node. Fixed bug #392063.
in XElement .ctor(XElement), copy attributes too.
* XElementTest.cs : added test for bug #392063 and some variants.
svn path=/trunk/mcs/; revision=103766
* XNode.cs, XElement.cs, XUtil.cs, XDocument.cs, XContainer.cs:
Add[Before|After]Self() now also checks argument node and joins
concatenating strings.
* XElementTest.cs, XDocumentTest.cs : fixed tests; do now allow
XDeclaration addition to XElement, while allow it being added
to XDocument.
Added test for AddAfterSelf() for concatenating string arguments.
svn path=/trunk/mcs/; revision=103008
* XNode.cs : fixed AddAfterSelf() to process order of inserted
collection correctly (it could have resulted in reverse order).
* XElement.cs : added AddAfterSelfCollection().
svn path=/trunk/mcs/; revision=102994
* XContainer.cs, XElement.cs, XNode.cs, XUtil.cs :
made several refactoring on handling "content" items in couple of
Add*() methods. Attributes should be allowed in XElement.Add(),
while they should be rejected in XNode.Add*Self().
Similarly, Add() and SetValue() should reject any invalid content
items.
Add() should also append string content to the last node when the
last node is text.
* XDocumentTest.cs, XElementTest.cs :
Added couple of tests for Add() and AddBeforeSelf().
svn path=/trunk/mcs/; revision=102990
* XUtil.cs : added ExpandArray() and marked some members as wrong.
* XStreamingElement.cs : removed use of ToNodes().
svn path=/trunk/mcs/; revision=102987
* XStreamingElement.cs : couple of fixes:
- object[] args are params.
- Fixed WriteContents(object[],XmlWriter) wrong iteration.
- do not write xmldecl when it does not exist (OmitXmlDeclaration).
* XStreamingElementTest.cs : new test.
* System.Xml.Linq_test.dll.sources : added XStreamingElementTest.cs.
svn path=/trunk/mcs/; revision=102986
* Makefile (_boot_): Orchestrate the net_2_1 bootstrap.
(net_2_1_bootstrap_SUBDIRS, net_2_1_raw_SUBDIRS): New.
In build:
* profiles/net_2_1_bootstrap.make: New.
* profiles/net_2_1_raw.make: New. The untuned 2.1 profile.
* profiles/net_2_1.make: New. The tuned 2.1 profile.
* Makefile (PROFILES): Update.
In class:
* Makefile (net_3_5_dirs): Remove System.Xml.Linq, now that it's
built in the 2.0 profile.
In class/System:
* Makefile (CYCLIC_DEPS): New macro.
(CYCLIC_DEP_FILES): Use it to clean up handling of cyclic dependencies.
* net_2_1_raw_System.dll.sources: Rename from net_2_1_System.dll.sources.
* net_2_1_bootstrap_System.dll.sources: New.
In class/corlib:
* Makefile (LIBRARY_COMPILE) [net_2_1]: Remove special case.
In errors:
* Makefile: Enable testing net_2_1 profile.
In mcs:
* Makefile (GMCS_PROFILE): Remove.
(COMPILER_NAME): New helper.
In tests:
* Makefile: Enable smcs testing.
In tools:
* Makefile (net_2_1_raw_SUBDIRS): New.
In tools/compiler-tester:
* Makefile [PROFILE=net_2_1]: Copy file from net_2_1_raw profile.
* compiler-tester.cs: Work better with 'net_2_1' profiles.
In tools/tuner:
* Makefile: Improve. Update to new net_2_1 profiles. Specify
more dependencies. Do work only when necessary.
* Descriptors/smcs.xml: Add CompilerCallableEntryPoint.
svn path=/trunk/mcs/; revision=95989
* XElement.cs : Value is rather a value in XPath semantics than
the textual xml representation. Fixed bug #360858.
* XElementTest.cs : added test for Value (bug #360858).
svn path=/trunk/mcs/; revision=95478
* XNodeDocumentOrderComparer.cs : ancestor/descendant comparison was
broken for some cases.
* Extensions.cs : implemented InDocumentOrder<T>().
* XNodeDocumentOrderComparerTest.cs : added another test for
descendant/ancestor comparison.
* ExtensionsTest.cs : test InDocumentOrder<T>().
svn path=/trunk/mcs/; revision=95447
* XNode.cs, XElement.cs, XStreamingElement.cs, XContainer.cs,
XUtil.cs : one-object to one-XNode conversion is wrong. It could
be one-or-more nodes (i.e. when object is IEnumerable).
svn path=/trunk/mcs/; revision=95438
* XNodeNavigator.cs : MoveToId() is not supported in this class.
* XElement.cs : allow DTD by default.
* XNodeNavigatorTest.cs : test MoveToId() (NotSupportedException,
cannot be enabled yet).
svn path=/trunk/mcs/; revision=95430
* XNodeNavigator.cs : oops, MoveToNext() always returned false.
* XNodeNavigatorTest.cs : new test (but it does not build yet).
* System.Xml.Linq_test.dll.sources : added XNodeNavigatorTest.cs.
svn path=/trunk/mcs/; revision=95427
* XAttribute.cs, XElement.cs: typecasting operators that take
values that can be null (nullable types and string) should not
throw an exception if the XAttribute is null, but return null instead.
* Added awesome test suite using awesome C-x ( C-x ) C-x e based
code generation.
svn path=/trunk/mcs/; revision=95417
* XElement.cs : .ctor(XName,object) was trying to set args as its
content, not as its own fields.
* XNodeWriter.cs : check null ns and replace it with "".
Now that IsEmpty is true, set IsEmpty as false explicitly
when WriteFullEndElement() is called.
* ExtensionsTest.cs : disabled Remove() which does not compile now.
* XNodeWriterTest.cs : added test for Write[Full]EndElement() and
XElement.IsEmpty.
svn path=/trunk/mcs/; revision=95377
* Consts.cs.in : now that we removed 3.5 profile, those versions are
needed independently.
* AssemblyInfo.cs: use 3.5 version strings.
svn path=/trunk/mcs/; revision=95371
* XNodeReader.cs : when it is created from non-document XNode, do
not go beyond the source node. Fixed bug #356522 (the third case).
* XNodeReaderTest.cs : test for bug #356522, the third case.
svn path=/trunk/mcs/; revision=94351
* XNodeReader.cs : when created from non-document node, the first
call to Read() should not move the node to its first child.
* XNodeReaderTest.cs : test CreateReader() for non-document XNode.
svn path=/trunk/mcs/; revision=94280
* XNodeReader.cs : Probably fixed (reopened) bug #356522.
NamespaceURI for "xmlns" attribute was "", which should be
http://www.w3.org/2000/xmlns/ (in XAttribute its namespace is "").
* XNodeReaderTest.cs : test for bug #356522 revised case.
svn path=/trunk/mcs/; revision=94268