2008-11-21 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Fri, 21 Nov 2008 21:35:55 +0000 (21:35 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Fri, 21 Nov 2008 21:35:55 +0000 (21:35 -0000)
commita77d9eca1990b55115c66a2ae7acecf47f9cce97
tree29131f0181f8aa84e59aa3948a1c6f989270fec6
parent11b95e32d43ca7673aff99cf7771215421123423
2008-11-21  Marek Habersack  <mhabersack@novell.com>

* CompilationException.cs: made serializable.

* TemplateControlCompiler.cs: make the Bind regex stricter.
When creating Eval expression from Bind, replace single quotes
with double quotes. Fixes bug #447597
When processing Bind expressions and the regex doesn't match,
throw an exception.

2008-11-21  Marek Habersack  <mhabersack@novell.com>

* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/InvalidPropertyBind1.aspx
Test/mainsoft/NunitWebResources/InvalidPropertyBind2.aspx
Test/mainsoft/NunitWebResources/InvalidPropertyBind3.aspx
Test/mainsoft/NunitWebResources/InvalidPropertyBind4.aspx
Test/mainsoft/NunitWebResources/ValidPropertyBind1.aspx
Test/mainsoft/NunitWebResources/ValidPropertyBind2.aspx
Test/mainsoft/NunitWebResources/ValidPropertyBind3.aspx
Test/mainsoft/NunitWebResources/ValidPropertyBind4.aspx
Test/mainsoft/NunitWebResources/ReadWritePropertyControl.ascx

* Test/tools/web.config: disabled batch compilation and enabled
debugging.

2008-11-21  Marek Habersack  <mhabersack@novell.com>

* HttpParseException.cs, HtmlizedException.cs: added
deserialization constructor.

2008-11-21  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompilerTest.cs: added simple data source for
Bind tests.
Added 8 tests for valid and invalid Bind expressions.

2008-11-21  Marek Habersack  <mhabersack@novell.com>

* Web.config, Web.mono.config: disabled batch compilation.

2008-11-21  Marek Habersack  <mhabersack@novell.com>

* NunitWebResources/WebLogin.config,
NunitWebResources/WebControl.config: disabled batch compilation.

* NunitWebResources/WebMapping.config: enabled debugging and
disabled batch compilation.

* NunitWebResources/InvalidPropertyBind1.aspx,
NunitWebResources/InvalidPropertyBind2.aspx,
NunitWebResources/InvalidPropertyBind3.aspx,
NunitWebResources/InvalidPropertyBind4.aspx,
NunitWebResources/ValidPropertyBind1.aspx,
NunitWebResources/ValidPropertyBind2.aspx,
NunitWebResources/ValidPropertyBind3.aspx,
NunitWebResources/ValidPropertyBind4.aspx,
NunitWebResources/ReadWritePropertyControl.ascx: added

* MainsoftWebApp20/Web.config: disabled batch compilation

2008-11-21  Marek Habersack  <mhabersack@novell.com>

* Web.config: disabled batch compilation

svn path=/trunk/mcs/; revision=119673
29 files changed:
mcs/class/System.Web/ChangeLog
mcs/class/System.Web/Makefile
mcs/class/System.Web/System.Web.Compilation/ChangeLog
mcs/class/System.Web/System.Web.Compilation/CompilationException.cs
mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/HtmlizedException.cs
mcs/class/System.Web/System.Web/HttpParseException.cs
mcs/class/System.Web/Test/System.Web.Compilation/ChangeLog
mcs/class/System.Web/Test/System.Web.Compilation/TemplateControlCompilerTest.cs
mcs/class/System.Web/Test/mainsoft/ChangeLog
mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/ChangeLog
mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/Web.config
mcs/class/System.Web/Test/mainsoft/MainsoftWebApp20/Web.config
mcs/class/System.Web/Test/mainsoft/NunitWeb/NunitWeb/Resources/ChangeLog
mcs/class/System.Web/Test/mainsoft/NunitWeb/NunitWeb/Resources/Web.config
mcs/class/System.Web/Test/mainsoft/NunitWeb/NunitWeb/Resources/Web.mono.config
mcs/class/System.Web/Test/mainsoft/NunitWebResources/InvalidPropertyBind1.aspx [new file with mode: 0644]
mcs/class/System.Web/Test/mainsoft/NunitWebResources/InvalidPropertyBind2.aspx [new file with mode: 0644]
mcs/class/System.Web/Test/mainsoft/NunitWebResources/InvalidPropertyBind3.aspx [new file with mode: 0644]
mcs/class/System.Web/Test/mainsoft/NunitWebResources/InvalidPropertyBind4.aspx [new file with mode: 0644]
mcs/class/System.Web/Test/mainsoft/NunitWebResources/ReadWritePropertyControl.ascx [new file with mode: 0644]
mcs/class/System.Web/Test/mainsoft/NunitWebResources/ValidPropertyBind1.aspx [new file with mode: 0644]
mcs/class/System.Web/Test/mainsoft/NunitWebResources/ValidPropertyBind2.aspx [new file with mode: 0644]
mcs/class/System.Web/Test/mainsoft/NunitWebResources/ValidPropertyBind3.aspx [new file with mode: 0644]
mcs/class/System.Web/Test/mainsoft/NunitWebResources/ValidPropertyBind4.aspx [new file with mode: 0644]
mcs/class/System.Web/Test/mainsoft/NunitWebResources/WebControl.config
mcs/class/System.Web/Test/mainsoft/NunitWebResources/WebLogin.config
mcs/class/System.Web/Test/mainsoft/NunitWebResources/WebMapping.config
mcs/class/System.Web/Test/tools/web.config