* TemplateControlCompiler.cs: comparison between member name and the
first part of the id provided by the user should also be
case-insensitive. Fixes bug #75379.
svn path=/trunk/mcs/; revision=46511
* CachingCompiler.cs: use cache.InsertPrivate.
* AspGenerator.cs: use cache.InsertPrivate. Removed extra call to
AddDependency.
svn path=/trunk/mcs/; revision=46508
* CachingCompiler.cs: create the assemly in the DynamicBase directory,
as all the others, when compiling an assembly from a Src file. Fixes
bug #75371.
svn path=/trunk/mcs/; revision=46471
* Directive.cs: Register the MasterType directive.
* PageCompiler.cs: If a MasterType is specified, add a type specific
Master property. All this fixes bug #75192.
svn path=/trunk/mcs/; revision=45885
* TemplateControlCompiler.cs: when mapping an attribute name to a field
or property name, there's no need to try with every property and field,
but just the one found when searching by name (no case). There was one
call to ProcessPropertiesAndFields per property or field until found,
now only one if the property/field is found, none otherwise.
svn path=/trunk/mcs/; revision=45808
* TemplateControlCompiler.cs: allow more than 2 levels when looking for
properties of fields for an attribute like "Prop1-Prop2-Prop3". Fixes
bug #75234.
svn path=/trunk/mcs/; revision=45807
* BaseCompiler.cs: when the OutputAssembly is null, we can still have
the assembly file there and be able to load it. Thanks to Rogerio and
Mark.
svn path=/trunk/mcs/; revision=45440
* System.Web.UI/Page.cs: added AddContentTemplate method.
* System.Web.Compilation/TemplateControlCompiler.cs: use the Page
AddContentTemplate method, as the one in Master is protected. Fixes
bug #75157.
svn path=/trunk/mcs/; revision=45418
* AspComponentFoundry.cs: tagnames have precedence over types in
assemblies when they use the same prefix. Fixes bug #71855.
svn path=/trunk/mcs/; revision=44172
* System.Web.Configuration/CompilerCollection.cs: added CompareLanguages
method.
* System.Web.Compilation/AspGenerator.cs: when checking languages, try
to match other aliases too (ie, 'cs' == 'c#').
svn path=/trunk/mcs/; revision=43567
* System.Web.Configuration/CompilationConfigurationHandler.cs: ensure
TempDirectory is not empty before assigning it. Don't mangle the
assembly names provided.
* System.Web.Configuration/CompilationConfiguration.cs: use DynamicBase
as the temp directory instead of Path.GetTempPath.
* System.Web.UI/SimpleWebHandlerParser.cs:
* System.Web.UI/TemplateParser.cs: always get the location (full path)
for assemblies, even the ones from the GAC.
* System.Web.Compilation/BaseCompiler.cs: check that DynamicBase
directory exists before creating the TempFileCollection.
The changes related to assembly names fix bug number #74500.
svn path=/trunk/mcs/; revision=43462
* AspParser.cs: don't error out on ill formed tags if it's not a server
tag (ie, allow something like '<table align="left cellpadding="0">' to
work, as MS does. Fixes bug #67909.
svn path=/trunk/mcs/; revision=43426
* BaseCompiler.cs: do the bridge of Explicit/Strict attributes from
@Page/@Control directives to CodeDOM (VB.NET support)
svn path=/trunk/mcs/; revision=43356
* AspParser.cs: Fixed parsing of data binding tags in server
tag attributes. Allow <%...%> blocks not assigned to
attributes in client tags.
* TagAttributes.cs: Make sure that data binding blocks in server
tags are always assigned to attributes.
* TemplateControlCompiler.cs: Implemented support for two-way
binding.
svn path=/trunk/mcs/; revision=43277
* TemplateControlCompiler.cs: Use the new BindingContainerType
property to find the type of the binding container.
svn path=/trunk/mcs/; revision=42998
* TemplateControlCompiler.cs: Avoid using the GetConverter() trick
for primitive types. Parse an empty color string as Color.Empty.
Get the converter for a property using its PropertyDescriptor.
svn path=/trunk/mcs/; revision=42894
* TemplateControlCompiler.cs: When generating a property value,
check for TypeConverterAttribute in the PropertyInfo, not only in the
property type.
Implemented code generation using InstanceDescriptor, when the type
converter supports conversion to that type.
svn path=/trunk/mcs/; revision=40094
* Directive.cs: Added MASTER directive.
* AspGenerator.cs: Use UserControlCompiler for compiling master pages.
* PageCompiler.cs: Set the master file name when generating the page.
* TemplateControlCompiler.cs: When generating the method for a
content holder, register the content holder in the base MasterPage.
Added method for registering a Content control for a MasterPage.
Generate code for Content controls.
svn path=/trunk/mcs/; revision=39320
* TemplateControlCompiler.cs: Get the container type from the
template (if it was defined using TemplateContainerAttribute.
svn path=/trunk/mcs/; revision=38621
* System.Web.Compilation/AspGenerator.cs: added OtherTags.
* System.Web.UI/ControlBuilder.cs: don't close server tags when we get
to a closing tag that is not applied to a server control. Fixes bug
#60323.
svn path=/trunk/mcs/; revision=34534
* System.Web.Compilation/BaseCompiler.cs:
* System.Web.Compilation/CachingCompiler.cs:
* System.Web.Compilation/WebServiceCompiler.cs:
* System.Web.UI/SimpleWebHandlerParser.cs: correctly cache Type instead
of the assembly for ashx/asmx. Otherwise we need to open the file and
check for the class name in there. Thanks to Ben for pointing this out.
svn path=/trunk/mcs/; revision=33382
* AspParser.cs:
* AspTokenizer.cs: prevent quotes from being swallowed when we're
inside a server tag and they are the next non-whitespace character.
Fixes bug #63451.
svn path=/trunk/mcs/; revision=33364
* AspGenerator.cs: handle builders that need to process inner text
with tags.
* Location.cs: added setters for the properties.
svn path=/trunk/mcs/; revision=33174
* System.Web/HttpApplication.cs: the file not found might be a
dependency.
* System.Web.Compilation/AspGenerator.cs: the path for file was treated
as virtual, but it's physical. Fixes bug #61524.
svn path=/trunk/mcs/; revision=31324
* System.Web/TraceContext.cs: added internal HaveTrace property whose
value is true when the page has a Trace attribute.
* System.Web.Handlers/TraceHandler.cs: check that trace is enabled or
throw.
* System.Web.UI/Page.cs: added additional checks for saving/displaying
trace data.
* System.Web.UI/PageParser.cs: removed checks for trace enabled in
configuration files.
Thanks to David Taylor for most of these patch and the tests.
svn path=/trunk/mcs/; revision=30808