2008-04-19 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Fri, 18 Apr 2008 22:35:47 +0000 (22:35 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Fri, 18 Apr 2008 22:35:47 +0000 (22:35 -0000)
commit4b7f0e3b79acb9b09ed35334c898047cb94ceb9a
tree066041393476aa0c3f94ad2ac0ab37ae41394590
parentd7fe9b67d7758f762a34e56b39b75f4484091a8d
2008-04-19  Marek Habersack  <mhabersack@novell.com>

* SimpleWebHandlerParser.cs: refactoring - move code between
constructors, reader should be set before initializing the rest of
the object. Fixes bug #381364

* TemplateParser.cs: RegisterCustomControl must use absolute
virtual path when querying the virtual path provider for
file. Fixes bug #381364
2008-04-19  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: use absolute virtual path to query the
VirtualPathProvider for path existence.
When ASP.NET is self-hosted, force
        non-batch compilation. Fixes bug #380985

* ILocation.cs: added a new property, FileText.

* Location.cs: added implementation of the ILocation.FileText
property.

* ParseException.cs: use the new ILocation.FileText, if defined,
to get the file source.

* AspGenerator.cs: when TextReader is present, use it to read with
the VirtualPathProvider to read the file source. Fixes bug #381364

* AspParser.cs: added a new property FileText to provide the file
contents which was read in the constructor.

svn path=/trunk/mcs/; revision=101177
12 files changed:
mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs
mcs/class/System.Web/System.Web.Compilation/AspParser.cs
mcs/class/System.Web/System.Web.Compilation/BuildManager.cs
mcs/class/System.Web/System.Web.Compilation/ChangeLog
mcs/class/System.Web/System.Web.Compilation/ILocation.cs
mcs/class/System.Web/System.Web.Compilation/Location.cs
mcs/class/System.Web/System.Web.Compilation/ParseException.cs
mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog
mcs/class/System.Web/System.Web.Configuration_2.0/CompilationSection.cs
mcs/class/System.Web/System.Web.UI/ChangeLog
mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs
mcs/class/System.Web/System.Web.UI/TemplateParser.cs