* TemplateParser.cs: refactoring - use HttpApplication.LoadType to
actually look up types.
* ControlBuilder.cs: as above
2007-05-15 Marek Habersack <[email protected]>
* BuildProviderCollection.cs: refactoring - use
HttpApplication.LoadType to actually look up the type.
* HttpHandlerAction.cs: as above
* WebConfigurationHost.cs: refactoring - moved the LoadType to
HttpApplication to share the code between 1.1 and 2.0 profiles.
2007-05-15 Marek Habersack <[email protected]>
* ObjectDataSourceView.cs: refactoring - use
HttpApplication.LoadType to look up types.
2007-05-15 Marek Habersack <[email protected]>
* HttpApplication.cs: refactoring - moved LoadType from
WebConfigurationHost here and made it internal static, in order to
make the code avaliable from all the places where extended type
loading is required.
svn path=/trunk/mcs/; revision=77396
* TemplateParser.cs: added support for implicit language
detection. If the language isn't set explicitly in the Page
directive, the language value taken from the configuration
considered to be implicit - that is, it can be overwritten by the
first <script> with the runat="server" and language="xx" sets the
language for the parser. This makes it possible to have the
default language set to "C#" and the inline code in, e.g.,
VisualBasic.
2007-05-07 Marek Habersack <[email protected]>
* AspGenerator.cs: if the parser's language is implicit (i.e. set
from the default configuration), the first script with the
language attribute present sets the language of the parser.
svn path=/trunk/mcs/; revision=76870
* AspComponentFoundry.cs: formatting changes.
AssemblyFoundry looks for the specified namespace+type in the
top-level assemblies if necessary.
2007-04-27 Marek Habersack <[email protected]>
* TemplateControlParser.cs: 2.0 allows 'Namespace' without the
'Assembly' attribute on tag prefix registration.
* TemplateParser.cs: do not rely on assembly name being not null.
svn path=/trunk/mcs/; revision=76364
attribute. Fixed part of bug #81399.
* BaseCompiler.cs: On 2.0, when ClassName attribute contains namespace
then use it instead of the default ASP namespace. Fixes part of bug
#81399.
svn path=/trunk/mcs/; revision=75909
* PagesSection.cs: provide appropriate default value for the
asyncTimeout setting.
2007-04-06 Marek Habersack <[email protected]>
* Page.cs: defaults for ViewStateEncrptionMode and AsyncTimeout
are read from the pages section, if found.
* TemplateControlParser.cs: added support for loading
pages/controls defaults from web.config even if the page/control
does not have its corresponding directive.
Added support for reading the CompilationMode attribute.
* PageParser.cs: added support for loading pages/controls defaults
as above. Fixes bug #80915.
Added support for reading the maxPageStateFieldLength setting.
Added support for reading the pageParserFilter setting.
svn path=/trunk/mcs/; revision=75475
* TemplateParser.cs: support the meta:resourcekey attribute in
Page and Control directives. Fixes bug #81204.
2007-03-26 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: refactor assining properties from
resources a bit to support pages and user controls. Fixes bug
#81204.
svn path=/trunk/mcs/; revision=74972
* TemplateParser.cs: Added support for the CodeFileBaseClass directive. Fixes bug #81132
2007-03-21 Marek Habersack <[email protected]>
* BaseCompiler.cs: cast 'this' to CodeFileBaseClass in
AssignAppRelativeVirtualPath if the attribute was defined.
svn path=/trunk/mcs/; revision=74764
* TemplateControlCompiler.cs: added support for setting custom
attributes of a base class from the Page or Control directive
attributes.
2007-03-21 Marek Habersack <[email protected]>
* UnknownAttributeDescriptor.cs: an internal helper class for
custom directive attributes support.
* BaseParser.cs: ThrowParseException can now take variadic
parameters, for convenience.
* TemplateParser.cs: add support for custom attributes for the
Page and Control directives.
2007-03-21 Marek Habersack <[email protected]>
* System.Web.dll.sources: added UnknownAttributeDescriptor.cs
svn path=/trunk/mcs/; revision=74734
* TemplateParser.cs: name generated classes the same way MS.NET
does - include the app-relative path to the control/page in the
class name.
* PageCompiler.cs: interfaces are to be implemented by the parent
partial class, not the generated one.
* TemplateControlCompiler.cs:
Put field declarations for controls in the partial class.
* BaseCompiler.cs:
Change the generated code model for pages/controls to comply with
the way MS.NET does (partial class contains only two properties
plus declarations of all the controls, the actual control/page
class inherits from the partial class). Fixes bug #81001.
svn path=/trunk/mcs/; revision=74167
* TemplateParser.cs: patch by Joel Reed that makes use of the namespace
collection from the PagesConfiguration to add new namespaces when
generating the page/control code.
svn path=/trunk/mcs/; revision=65745
* Page.cs (GetFormatter): CONFIGURATION_2_0 work.
* TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
(PagesConfig): add a CONFIGURATION_2_0 version that returns a
PagesSection.
* PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
* BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
version that returns a CompilationSection.
svn path=/trunk/mcs/; revision=53582
* ControlBuilder.cs: Added BuildObject override for 2.0 profile.
* TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Fixed checks on ctor.
* TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* TemplateContainerAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* TemplateControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
Stubbed IFilterResolutionService for CAS testing.
* TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* TemplateParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Removed IDispose interface.
* ToolboxDataAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
to work on both 1.x and 2.0 profiles.
* Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
for AspNetHostingPermission with Minimal level.
* UserControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Stubbed
IFilterResolutionService for CAS testing.
* UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* ValidationPropertyAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* WebResourceAttribute.cs: Removed extra ctor and added setter to
PerformSubstitution.
* WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
svn path=/trunk/mcs/; revision=50230
* TemplateParser.cs:
* TemplateControlParser.cs:
* UserControlParser.cs: detect circular references when a control tries
to register itself as a tag. Fixes bug #75376.
svn path=/trunk/mcs/; revision=46488
* 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
* TemplateParser.cs: we still need LoadWithPartialName if Load fails.
* Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
for second postback.
svn path=/trunk/mcs/; revision=43385
* TemplateParser.cs: use Load instead of LoadWithPartialName. That was
there from the time when Load wasn't working properly. First part of the
fix to 74500.
svn path=/trunk/mcs/; revision=43311
* TemplateParser.cs: ensure bin directory exists before trying to access
it. Fixes bug #65446 (not closed yet due to dependencies).
svn path=/trunk/mcs/; revision=33688
* System.Web.dll.sources: removed CSCompiler.cs
* System.Web.Compilation/CSCompiler.cs: removed.
* System.Web.Compilation/CachingCompiler.cs: language independent
compilation for single files.
* System.Web.UI/SimpleWebHandlerParser.cs:
* System.Web.UI/TemplateParser.cs: pass the language when compiling from
a file.
svn path=/trunk/mcs/; revision=29017
* SimpleWebHandlerParser.cs: if we have a global.asax, move its
reference to the end to help mcs loading the assemblies. Fixes bug
#58768.
* TemplateParser.cs: same as above. Removed some kludges to workaround
loading assemblies from bin path that are now in the runtime. Don't
load the assemblies in bin if not needed, but still reference them
when compiling.
svn path=/trunk/mcs/; revision=29010
* SimpleWebHandlerParser.cs:
* TemplateParser.cs: for the assembly names given in the 'assembly'
attribute, use LoadWithPartialName instead of Load.
svn path=/trunk/mcs/; revision=26649