Commit Graph
30 Commits
Author SHA1 Message Date
Martin Baulig 3fee2dd792 Trivial API additions. 2013-03-12 17:22:59 -04:00
Rodrigo Kumpera 1b92a4148c Since MOBILE implies NET_4_* now, take this into account and simplify our ifdefs. 2013-02-11 18:42:18 -05:00
Rodrigo Kumpera 8752d92528 Kill MOONLIGHT from System.Xml. 2013-02-11 16:03:40 -05:00
Marek Safar 9215ddf7ad Make XmlWriterSettingsTests .net compatible 2012-06-06 14:52:01 +01:00
Martin Baulig 4c8278ed3b Add .NET 4.5 async methods to XmlReader and XmlWriter. 2012-06-03 04:02:28 +02:00
Marek Safar 7b3f562eab A fix for failing xml writer tests 2012-05-31 11:25:24 +01:00
Geoff Norton 16d4fd790b Further .NET 4.0 ification of the mobile profile 2011-01-25 20:10:54 -05:00
Atsushi Eno 08afe91b30 2010-06-30 Atsushi Enomoto <[email protected]>
* XmlDefaultWriter.cs : new source (which I once wrote for relaxng
	  and corcompare).
	* XmlWriter.cs : in some cases XmlWriter.Create() returns a new
	  wrapping writer instance.
	  If there was no Settings specified, return null.

	* System.Xml.dll.sources,
	  moonlight_raw_System.Xml.dll.sources,
	  monotouch_System.Xml.dll.sources : add DefaultXmlWriter.cs.

	* XmlWriterTests.cs : add a bit more assertions.
	  Remove NotWorking from some tests.


svn path=/trunk/mcs/; revision=159712
2010-06-30 06:40:47 +00:00
Jb Evain 846150badd use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153673
2010-03-16 12:31:23 +00:00
Miguel de Icaza befdecc6a1 2010-02-12 Miguel de Icaza <[email protected]>
* XmlWriterSettings.cs: Expose NamespaceHandling in NET 4.0 

svn path=/trunk/mcs/; revision=151626
2010-02-12 16:16:59 +00:00
Atsushi Eno 9a708bffad 2009-11-27 Atsushi Enomoto <[email protected]>
* NamespaceHandling.cs, XmlWriterSettings.cs, XmlTextWriter2.cs:
	  implement NamespaceHandling support for Moonlight.

	* System.Xml.dll.sources : added NamespaceHandling which is kept
	  internal in 2.0 (to simplify its support in XmlTextWriter).


svn path=/trunk/mcs/; revision=147022
2009-11-27 03:14:15 +00:00
Jb Evain 561bf6b6b2 bring a net_2_0 feature set to monotouch
svn path=/trunk/mcs/; revision=140606
2009-08-25 10:18:20 +00:00
Sebastien Pouliot 25c6f1460f 2009-01-14 Sebastien Pouliot <[email protected]>
* NamespaceHandling.cs: New. Enum for Silverlight 2. Microsoft's 
	System.Xml.Linq.dll (often bundled in XAP files) needs it (or we 
	throw a TypeLoadException).
	* XmlWriterSettings.cs: Add SL2 specific NamespaceHandling property


svn path=/trunk/mcs/; revision=123372
2009-01-14 16:37:56 +00:00
Konstantin Triger 3b34b7bbe8 Refactor Clone
svn path=/trunk/mcs/; revision=77449
2007-05-16 06:01:20 +00:00
Atsushi Eno ac928fb2a9 2006-04-05 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : Create(StringBuilder,XmlWriterSettings) was missing
	  settings argument to pass another .ctor().
	* XmlWriterSettings.cs : set_NewLineChars() should reject null.

	* XmlWriterSettingsTest.cs : added tests on set_Encoding(),
	  set_NewLineChars() and OmitXmlDeclaration.


svn path=/trunk/mcs/; revision=59061
2006-04-05 13:36:56 +00:00
Atsushi Eno b78ca0c164 2005-12-08 Atsushi Enomoto <[email protected]>
* XmlReaderSettings.cs : ProhibitDtd is set as default.
	* XmlWriterSettings.cs : no set_OutputMethod.

	* XmlReaderCommonTests.cs : use ProhibitDtd=false in CreateSimple()
	  and added CreateSimpleProhibitDtd().


svn path=/trunk/mcs/; revision=54090
2005-12-08 04:06:22 +00:00
Atsushi Eno 0dbee9dd3a 2005-11-09 Atsushi Enomoto <[email protected]>
* XmlValidatingReader.cs : added CanReadBinaryContent.
	* XmlTextReader.cs, XmlTextReader2.cs : GetNamespacesInScope() are
	  now both public and private (i.e. hush IsVirtual).
	* XmlWriterSettings.cs, XmlWriter.cs, XmlTextWriter.cs :
	  NormalizeNewLines vanished.

	* XmlWriterSettingsTests.cs : NormalizeNewLines does not exist anymore


svn path=/trunk/mcs/; revision=52876
2005-11-10 18:12:16 +00:00
Atsushi Eno a584d18d44 2005-10-03 Atsushi Enomoto <[email protected]>
* XmlWriter.cs, XmlWriterSettings.cs, XmlTextWriter.cs :
	  added supprot for NormalizeNewLines.
	  NewLineOnAttributes is considered only when Indent is true.

	* XmlWriterSettingsTests.cs : test for NormalizeNewLines.


svn path=/trunk/mcs/; revision=51109
2005-10-03 09:35:02 +00:00
Gert Driesen ed6c7af903 * XmlConstructs.cs
* XmlChar.cs
* XmlDocumentType.cs
* XmlImplementation.cs
* XmlNameTable.cs
* XmlResolver.cs
* Driver.cs
* IXmlLineInfo.cs
* Profile.cs
* XmlReaderSettings.cs
* XmlNodeChangedAction.cs
* XmlWriterSettings.cs
* XmlDocumentFragment.cs: set eol-style to native.


svn path=/trunk/mcs/; revision=50752
2005-09-26 10:25:02 +00:00
Atsushi Eno b241697162 2005-09-21 Atsushi Enomoto <[email protected]>
* XmlWriterSettings.cs : true NET_2_0 updates.

	* XmlWriterSettingsTests.cs : removed NormalizeNewLines.


svn path=/trunk/mcs/; revision=50354
2005-09-21 03:41:40 +00:00
Atsushi Eno 8b5cdb6619 2005-09-21 Atsushi Enomoto <[email protected]>
* Makefile : shut down CS0642 noise.
	* System.Xml.dll.sources : added XmlOutputMethod.

	* XmlOutputMethod.cs : new file.
	* XmlWriter.cs, XmlValidatingReader.cs, XmlReaderSettings.cs,
	  XmlUrlResolver.cs, XmlWriterSettings.cs :
	  more NET_2_0 updates.


svn path=/trunk/mcs/; revision=50353
2005-09-21 03:35:52 +00:00
Raja R Harinath 5942f52d09 Standardize line-endings in files (if most of the file is CRLF,
convert the whole thing to CRLF).  Set svn:eol-style native for 
files with LF line-endings.  Remove svn:executable.


svn path=/trunk/mcs/; revision=46117
2005-06-17 06:39:43 +00:00
Atsushi Eno e406a02c07 2004-10-28 Atsushi Enomoto <[email protected]>
* IXmlDataEvidence.cs : disappeared.
	* XmlConvertDateTimeSerializationMode.cs : incorrect filename. removed.
	* XmlDateTimeSerializationMode.cs : added
	* NewLineHandling.cs : added
	* IXmlNamespaceResolver.cs, XmlNamespaceManager.cs :
	  now 'atomizedNames' is obsolete.
	* XmlReaderSettings.cs, XmlWriterSettings.cs :
	  Should not be sealed. Should not be ICloneable.

svn path=/trunk/mcs/; revision=35377
2004-10-28 02:41:01 +00:00
Atsushi Eno 616dba98f5 2004-09-08 Atsushi Enomoto <[email protected]>
* XmlWriter.cs, XmlTextWriter.cs, XmlWriterSettings.cs :
	  Implemented CheckCharacters and CloseOutput support.

svn path=/trunk/mcs/; revision=33563
2004-09-08 08:41:30 +00:00
Atsushi Eno cd663617ec 2004-09-08 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Console.WriteLine() injected :(
	* XmlTextWriter.cs : It it partly supports XmlWriterSettings.
	* XmlWriter.cs : implemented Create().
	* XmlWriterSettings.cs : removed EncodeXmlBinary (deprecated).

svn path=/trunk/mcs/; revision=33554
2004-09-08 05:11:19 +00:00
Atsushi Eno 1331b09b01 2004-08-03 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : implemented settings-less Create().
	* XmlWriterSettings.cs : added some comments.

svn path=/trunk/mcs/; revision=31781
2004-08-03 06:49:58 +00:00
Atsushi Eno 3733f8ba87 2004-07-13 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : Added Create() stubs.
	* XmlWriterSettings.cs : Added missing property setters.
	* XmlValidatingReader.cs : added internal schemas setter.
	* XmlTextReader.cs : added internal XmlReaderSettings property setter.
	* XmlReader.cs :  Halfly implemented Create().
	* DTDValidatingReader.cs : author information was missing.

svn path=/trunk/mcs/; revision=31078
2004-07-13 12:36:32 +00:00
Duncan Mak 8fa6e766dd Add MIT license to System.XML.DLL
svn path=/trunk/mcs/; revision=30055
2004-06-21 18:07:31 +00:00
Atsushi Eno 78175a2bdb 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlReaderSettings.cs, XmlWriterSettings.cs : NET_2_0 were missed.

svn path=/trunk/mcs/; revision=27887
2004-05-22 17:12:03 +00:00
Atsushi Eno ab2afd4c7d 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlFactory.cs,
	  XmlItemView.cs,
	  XmlItemViewCollection.cs,
	  XmlReaderSettings.cs,
	  XmlWriterSettings.cs : added new .NET 2.0 classes.

	* AsyncXmlTextWriter.cs,
	  IXPathChangeNavigator.cs,
	  IXPathEditor.cs,
	  IXPathNavigator.cs,
	  XmlChangeFilters.cs,
	  XmlInfoItemType.cs,
	  XmlNodeChangeType.cs,
	  XPathChangeNavigator.cs,
	  XPathDocument2.cs,
	  XPathDocument2ChangedEventAction.cs,
	  XPathDocument2ChangedEventHandler.cs,
	  XPathEditor.cs,
	  XPathNavigator2.cs : removed. (They are only in .NET 1.2)

	* XmlWriter.cs : added new NET_2_0 WriteElementString().

svn path=/trunk/mcs/; revision=27881
2004-05-22 16:54:34 +00:00