This reverts commit ed11296c51.
When a ThreadAbortException is thrown during request processing in AsyncRun () the _done.Set () call is not executed.
This then results in a deadlock because _done.WaitOne () doesn't get signaled and waits forever.
One solution would be enclosing the _done.Set () in a finally clause, but even then we'd need to relaunch the AsyncRun () loop to be in a usable state.
A simpler solution is to revert the commit that introduced the AsyncRun () in the first place, as it doesn't seem necessary now (the tests pass just fine without it).
The test that was disabled in 429cdf17cf is reenabled too, as it wasn't the culprit of the problem.
This is a stopgap measure: This test hangs a *lot* on Jenkins
and it's only being disabled to get stable-ish builds. It's
being actively investigated still.
When user has their own global application class (global.asax is present) the assembly produced from it must
be passed as reference to the compiler.
BuildManager.GetType now supports fully-qualified type names for 'typeName' and searches for the type in the
top-level assemblies, the global.asax assembly and in the assemblies specified in as references in web.config.
All of this fixes certain MVC3+Razor applications.
* RootBuilder.cs: both LINK and META HTML tags must be represented
as instances of HtmlGenericControl. Fixes bug #603541
svn path=/trunk/mcs/; revision=159046
* HttpApplicationFactory.cs: pre-application start methods must be
called even before App_Code is compiled.
2010-05-17 Marek Habersack <[email protected]>
* BuildProvider.cs: made the Extension property case-insensitive
2010-05-17 Marek Habersack <[email protected]>
* BuildProvider.cs: implemented a 4.0 method RegisterBuildProvider
* BuildManager.cs: separated dynamically registered assemblies
store from the referenced assemblies cache.
svn path=/trunk/mcs/; revision=157435
* AssemblyInfo.cs: this assembly should be signed with winfx.pub
2010-05-15 Marek Habersack <[email protected]>
* HttpResponse.cs: added internal Context property
* HttpRequest.cs: added a setter to the internal Context property
* HttpContext.cs: set request and response Context properties to
'this' in the constructor.
2010-05-15 Marek Habersack <[email protected]>
* Control.cs: implemented 4.0 GetRouteUrl overloads and
GetUniqueIDRelativeTo
2010-05-15 Marek Habersack <[email protected]>
* RouteValueExpressionBuilder.cs: added
* RouteUrlExpressionBuilder.cs: implemented
svn path=/trunk/mcs/; revision=157378
* TemplateControlCompiler.cs: GetConverterForMember now completely
relies on TypeDescriptor and description providers to retrieve
converter for a property. Fixes bug #578586
If UrlPropertyAttribute is found for a member,
GetExpressionFromString uses the preconverted value, if any, as
parameter to HandleUrlProperty.
svn path=/trunk/mcs/; revision=152040
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/App_GlobalResources/Resource1.resx
and
Test/mainsoft/NunitWebResources/TagWithExpressionWithinAttribute.aspx
2010-01-19 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: added test for bug #568631
2010-01-19 Marek Habersack <[email protected]>
* AspGenerator.cs: modified the runatServer regex to correctly
match embedded server tags which end in a sequence like: "%>"/>
Fixes bug #568631
svn path=/trunk/mcs/; revision=149855
* AspParser.cs: PlainText should calculate the boundaries of
text using character offset, not line offset. Fixes bug #562286
InternalLineOffset and Internal properties need not exist.
* AspGenerator.cs: AspParser inner parser constructor takes 5
parameters now - accepts character offset of the current outer
parser's position.
2009-12-14 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/NestedParserFileText.aspx
svn path=/trunk/mcs/; revision=148378
* Assembly.cs: GetSatelliteAssembly must catch
AppDomain.LoadSatellite FileNotFoundException and attempt to load
satellites from subdirectories of current assembly's
directory. Fixes bug #548768
2009-11-03 Marek Habersack <[email protected]>
* AppResourcesCompiler.cs: put default culture resources in a
separate collection, exposed by the DefaultCultureFiles property.
* AppResourcesAssemblyBuilder.cs: compile the default assembly
before the satellite ones. Use the default assembly as template
for generation of the satellite ones.
svn path=/trunk/mcs/; revision=145280
* AspTokenizer.cs: when there's put back record and we're in
verbatim mode, get_token must be careful with what it returns - it
can't return Token.* values, instead it should look at Value and
retrieve the next token from it. Fixes bug #400807
2009-08-26 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: added test for bug #400807
2009-08-26 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/OneLetterIdentifierInCodeRender.aspx
svn path=/trunk/mcs/; revision=140703
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/DuplicateControlsInClientComment.aspx
2009-08-18 Marek Habersack <[email protected]>
* ControlBuilder.cs: Location property makes a copy of assigned
ILocation now.
2009-08-18 Marek Habersack <[email protected]>
* AspParser.cs: added a constructor which creates an internal
parser, nested within the outer one, and adjusts its ILocation
members to report correct locations in the outer parser for better
error reporting. Inner parser also returns the outer's FileText,
if available.
* AspGenerator.cs: restored part of r138474 reverted in r138657,
r138658 and r138659 to fix bug #525104
BuilderLocation creates a copy of Location for its own use (since
the ILocation passed is actually AspParser, the line numbers
change between creating a BuilderLocation and using its Location
member).
The end of tag, expression and client comment regular expressions
now use lazy quantifiers. This fixes bugs #525104 and #517656
Client side comment blocks aren't ignored anymore, they are parsed
just as the other parts of the document. Fixes bug #524358
2009-08-18 Marek Habersack <[email protected]>
* JavaScriptSerializer.cs: read converters from the config only if
explicitly requested.
2009-08-18 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: added test for bug #525104 and
improved test for bug #517656
svn path=/trunk/mcs/; revision=140161
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/FullTagsInText.aspx
Test/mainsoft/NunitWebResources/TagsExpressionsAndCommentsInText.aspx
2009-07-23 Marek Habersack <[email protected]>
* AspGenerator.cs: TextParsed takes a different approach to
post-processing text blocks now. It applies, in order, client-side
comment, tag and expression regular expressions to the text
and splits it into blocks of different types. Then the blocks are
processed accordingly.
svn path=/trunk/mcs/; revision=138474
* TemplateControlCompilerTest.cs: added test for bug #520024
2009-07-08 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/PreprocessorDirectivesInMarkup.aspx
2009-07-08 Marek Habersack <[email protected]>
* AspParser.cs: GetServerTag mustn't treat <% # ... %> as
data-binding directives. Fixes bug #520024
* AssemblyBuilder.cs: if debugging information is on, append
/d:DEBUG to the compiler's command line.
svn path=/trunk/mcs/; revision=137558
In class/System.Web/Test/System.Web.Compilation:
* TemplateControlCompilerTest.cs (InvalidPropertyBindTest1):
Don't use 'typeof' on a System.Web internal exception type.
(InvalidPropertyBindTest3): Likewise.
In class/System.Web/Test/System.Web.UI:
* PageParserTest.cs (MissingMasterFile): Don't use 'typeof' on a
System.Web internal exception type.
svn path=/trunk/mcs/; revision=137420
* AspGenerator.cs: TextParsed must remove client-side comments
from the passed text before attempting to parse the text for
server side controls and expressions. Fixes bug #517656
2009-06-30 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: added test for bug #517656
2009-06-30 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/ServerControlInClientSideComment.aspx
2009-06-30 Marek Habersack <[email protected]>
* NunitWebResources/ServerControlInClientSideComment.aspx: added
svn path=/trunk/mcs/; revision=137137
* AspGenerator.cs: if plain text is parsed and it contains
server-side controls, parse and process them. Fixes bug #508888
2009-06-04 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/ServerSideControlsInScriptBlock.aspx
2009-06-04 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: added test for bug #508888
svn path=/trunk/mcs/; revision=135486
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/ExpressionInListControl.aspx
2009-05-10 Marek Habersack <[email protected]>
* AspGenerator.cs: keep processing the tag if it is not a server
one and contains expressions and no code render blocks.
2009-05-10 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: added a test for expressions in
list control items.
svn path=/trunk/mcs/; revision=133861
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/LinkInHeadWithEmbeddedExpression.aspx
2009-04-28 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: added test for bug #498637
2009-04-28 Marek Habersack <[email protected]>
* AspGenerator.cs: ProcessTag doesn't process a tag which is not
server-side and which has declarative expressions embedded. Fixes
bug #498637
2009-04-28 Marek Habersack <[email protected]>
* NunitWebResources/LinkInHeadWithEmbeddedExpression.aspx: added
svn path=/trunk/mcs/; revision=132812
* TemplateControlCompiler.cs: using a regexp to check whether an
expression is a Bind one. Fixes bug #493639
2009-04-16 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/NoBindForMethodsWithBindInName.aspx
2009-04-16 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: added test for bug #493639
svn path=/trunk/mcs/; revision=131874
* NunitWebResources/ValidPropertyBind5.aspx: added
* NunitWebResources/ReadWritePropertyControl.ascx: added a
writable string property.
2008-12-08 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: added another valid Bind
expression test.
2008-12-08 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: use the correct regex match group
index in SanitizeBindCall (), fixes bug #457011
svn path=/trunk/mcs/; revision=120988
* WebTest.cs: made the Host property internal. It is used to
access the host's application domain when necessary in some
tests.
* MyTemplateControls.cs: added
2008-10-09 Marek Habersack <[email protected]>
* NunitWebResources/TemplateControlParsingTest.aspx: added
2008-10-09 Marek Habersack <[email protected]>
* TemplateControlCompilerTest.cs: compile the file on 1.1 as well.
Added a test for template parsing in compound controls.
svn path=/trunk/mcs/; revision=115324
"raw" appsetting value if targetType is null.
* AppSettingsExpressionBuilderTest.cs: Added and improved tests for
GetAppSetting overloads.
svn path=/trunk/mcs/; revision=95322