Commit Graph
10 Commits
Author SHA1 Message Date
Marek Safar 5b82f0e08c Clean up some NET_2_0 2012-06-14 15:44:35 +01:00
Martin Baulig 7d170f400d Sync parameter names with .NET. 2012-06-03 04:02:28 +02:00
Gonzalo Paniagua Javier a054484fab re-disable the cache that was enabled by mistake
svn path=/trunk/mcs/; revision=135817
2009-06-10 02:55:07 +00:00
Gonzalo Paniagua Javier 95bee485a2 2009-06-09 Gonzalo Paniagua, Miguel de Icaza <[email protected], [email protected]>
* Expression.cs: improve the ExpressionCache, it still does not
	work, but it will at least work better with multithreaded apps (we
	take locks) and we use WeakReferences correctly.

	For WeakReferences it is important to not depend on IsAlive to
	retrieve the target (this is a documented race).  IsAlive is only
	useful to determine if it has already been collected, but if true,
	the Target can still be released.

	This race condition is exposed by #505678 on x86-64 platforms (only).

	Sadly, this fix is not good enough to re-enable the cache, on
	x86-64 this with a single thread, it still crashes randomly
	

svn path=/trunk/mcs/; revision=135815
2009-06-10 01:07:50 +00:00
Atsushi Eno 40a7f089a1 2009-03-17 Atsushi Enomoto <[email protected]>
* XPathExpression.cs : eliminate use of ExpressionCache and lose
	  significant performance in some use for the sake of multithreaded
	  use. Fixed bug #477049.


svn path=/trunk/mcs/; revision=129545
2009-03-17 08:54:09 +00:00
Atsushi Eno e30d02ad83 merge XPath optimization branch. About 15% faster/less memory use so
far.


svn path=/trunk/mcs/; revision=118710
2008-11-13 13:05:44 +00:00
Atsushi Eno 7a204c67e0 2004-05-05 Atsushi Enomoto <[email protected]>
* XPathExpression.cs : added static Compile().
	* XPathNavigator.cs :
	  Use XPathExpression.Compile() for now. 
	  Updated tree modification API to 2.0 beta2.
	* XPathItem.cs, XPathNavigator.cs, XPathAtomicValue.cs :
	  updated to 2.0 beta2 API.
	* XPathResultType.cs : removed [Serializable].
	* XmlNodeChangeType.cs : removed obsolete file.


svn path=/trunk/mcs/; revision=44073
2005-05-05 11:10:58 +00:00
Atsushi Eno 48b6668436 2004-07-21 Atsushi Enomoto <[email protected]>
* XPathExpression.cs, Expression.cs :
	  Added SetContext(IXmlNamespaceResolver).
	* NodeChangedEventArgs.cs : Added missing [MonoTODO].
	* XPathAtomicValue.cs : Halfly implemented.
	* XPathDocument.cs : Added 2.0 members.
	* XPathDocumentNodeChangedAction.cs : updated member names.
	* XPathEditableNavigator.cs : Added missing 2.0 members and MonoTODO.
	* XPathNavigator.cs : Added missing 2.0 members.
	  Fixed some members as virtual->override.

svn path=/trunk/mcs/; revision=31337
2004-07-21 15:00:11 +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
Jason Diamond a6954ab4d4 Stubbed out XPathExpression and XPathNavigator and everything else needed to get it to compile.
svn path=/trunk/mcs/; revision=2986
2002-03-08 02:35:52 +00:00