* BuildManager.cs: do not cache referenced assemblies until it's
safe.
2010-05-16 Marek Habersack <[email protected]>
* HttpApplicationFactory.cs: let BuildManager know when it's safe
to cache referenced assemblies.
svn path=/trunk/mcs/; revision=157391
* 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
* AppResourcesAssemblyBuilder.cs: when running on windows,
SetAlPath must return al.exe path with a trailing space, or
otherwise the process won't start. Fixes bug #600691
svn path=/trunk/mcs/; revision=156382
* PageCompiler.cs: if EnableViewStateMac is set in the page
source, generate relevant code.
2010-04-12 Marek Habersack <[email protected]>
* PageParser.cs: if EnableViewStateMac option is present in the
directive, remember it for later use by the compiler.
* Page.cs: initialize EnableViewStateMac with the default read
from the config.
svn path=/trunk/mcs/; revision=155262
* System.Web.UI/PageParser.cs:
* System.Web.UI/Page.cs:
* System.Web.Compilation/PageCompiler.cs: default for
EnableViewStateMac is true. Allow setting it from a @Page
directive.
svn path=/trunk/mcs/; revision=154493
* TemplateControlCompiler.cs: AssignPropertyForResources localizes
a property even if the Localized attribute is absent. If the
attribute is present, it checks its IsLocalizable property to
decide if localization should be performed. Fixes bug #585933
svn path=/trunk/mcs/; revision=153164
* BuildManager.cs: do less work in the static constructor
2010-03-04 Marek Habersack <[email protected]>
* RuntimeHelpers.cs: added. Contains methods moved here from
HttpRuntime, so that initialization sequence of various objects is
independent of HttpRuntime.
2010-03-04 Marek Habersack <[email protected]>
* HttpRuntime.cs: do less work in the static constructor. Most of
the code was moved to System.Web.Util.RuntimeHelpers. Properties
which have been moved: MonoVersion, RunningOnWindows,
CaseInsensitive, IsDebuggingEnabled
Also:
- hushed some compiler warnings
- various classes now use RuntimeHelpers instead of HttpRuntime
svn path=/trunk/mcs/; revision=153038
* HttpRuntime.cs: added internal property DomainUnloading.
* HttpApplication.cs: when app domain is unloading, catch
ThreadAbortExceptions and reset the abort.
2010-02-27 Marek Habersack <[email protected]>
* BuildManager.cs: count only builds of updated files before
unloading the app domain. Fixes bug #581459
svn path=/trunk/mcs/; revision=152600
* 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
* AppResourcesCompiler.cs: explicitly dispose all the streams and
readers+writers in CompileResource.
2010-02-11 Marek Habersack <[email protected]>
* Web.config, Web.mono.config: added test role manager
definition.
2010-02-11 Marek Habersack <[email protected]>
* RolesTest.cs: added a test for IsUserInRole. Patch from Tiaan
Geldenhuys <[email protected]>, thanks!
2010-02-11 Marek Habersack <[email protected]>
* Roles.cs: IsUserInRole checks if username is null or empty
before attempting to use it. Patch from Tiaan Geldenhuys
<[email protected]>. thanks!
2010-02-11 Marek Habersack <[email protected]>
* System.Web_test.dll.sources: added
mainsoft/NunitWeb/NunitWeb/TestRoleProvider.cs
2010-02-11 Marek Habersack <[email protected]>
* WebTest.cs: test environment setup enhancements. Contributed by
Tiaan Geldenhuys <[email protected]>, thanks!
* TestRoleProvider.cs: added. Contributed by Tiaan Geldenhuys
<[email protected]>, thanks!
svn path=/trunk/mcs/; revision=151519
* PreservationFile.cs: updated the BuildResulTypeCode enum
* BuildManager.cs: LoadCompiled now adds all the assemblies built
from the App_Code directory to the BuildManager.CodeAssemblies
collection. Fixes bug #576810
svn path=/trunk/mcs/; revision=150802
* 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
* BuildManager.cs: in GenerateAssembly, if compilation fails for
the requested path and exception thrown is of type
CompilationException, do not wrap it in HttpException, just
rethrow.
* AppResourcesCompiler.cs: the culture files dictionary is
case-insensitive now. Otherwise culture files with culture name
cased differently will cause overlapped i/o on response files
while building satellite assemblies and, in effect, compilation
will fail.
svn path=/trunk/mcs/; revision=149077
* 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
* TemplateControlCompiler.cs: GetConverterForMember looks up
member type converters using type description providers in
addition to custom attributes.
Result of GenerateInstance isn't cast to the target type if the
type isn't public.
2009-12-08 Marek Habersack <[email protected]>
* TypeDescriptor.cs: AddProvider overloads must refresh the
instance and type when called.
If GetProvider (object) fails to look up provider for the passed
instance, it attempts to look up provider for the instance's
type.
GetProvider (Type) looks for providers using all the parent types
of the passed type if no provider for it is found.
WrappedTypeDescriptionProvider.GetTypeDescriptor chains up to the
wrapped type, if present.
* TypeDescriptionProvider.cs: GetTypeDescriptor properly returns
the value obtained from parent in GetTypeDescriptor.
2009-12-08 Marek Habersack <[email protected]>
* Type.cs: added overloads for the == and != operators (4.0).
svn path=/trunk/mcs/; revision=147889
* TemplateBuildProvider.cs: if directive has empty string as a
value and it represents a path, do not create a VirtualPath.
svn path=/trunk/mcs/; revision=146148
* TemplateParser.cs: AddImports is called from LoadConfigDefaults
so that it reads configuration from the correct .config file (it
needs to be called after this.VirtualPath has been
initialized). Fixes an issue with MVC apps which put configuration
in Views/web.config etc. Fixes bug #552457
* ControlBuilder.cs, Page.cs: system.web/pages section is not
confined to the top-level web.config
2009-11-10 Marek Habersack <[email protected]>
* WebConfigurationManager.cs: path passed to OpenWebConfiguration
from GetSection does not come from FindWebConfig.
2009-11-10 Marek Habersack <[email protected]>
* BaseCompiler.cs: parser.Imports is a Dictionary <>/Hashtable
now.
* AspComponentFoundry.cs: system.web/pages section is not confined
to the top-level web.config
svn path=/trunk/mcs/; revision=145831
* 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
* WsdlBuildProvider.cs: a different way to generate code from
wsdl. Code is generated in the top-level namespace to match .NET
svn path=/trunk/mcs/; revision=144662
* BuildManager.cs: make sure to construct correct physical path
for every precompiled key in FixVirtualPaths. Fixes bug #546053
svn path=/trunk/mcs/; revision=143950
- made sure invariant culture is used with String.ToLower, String.ToUpper and String.Compare
- replaced all calls to CultureInfo.InvariantCulture with a reference to a static field System.Web.Util.Helpers.InvariantCulture
svn path=/trunk/mcs/; revision=143587
* HttpContext.cs: GetResourceProvider - renamed the 'key' argument
to 'virtualPath' in order to reflects its purpose better. Local
resource providers are created for the passed virtualPath and not
for the current request's path. Fixes bug #542484
2009-09-28 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: ResourceProviderHasObject calls
HttpContext.GetResourceProvider with the current file's path, not
current request's. Fixes situations when localized control lives
in a master page or user control. Fixes bug #542484
* BaseCompiler.cs: introduced a helper property InputVirtualPath
which returns a VirtualPath object for the current control's
virtual path.
svn path=/trunk/mcs/; revision=142773
* BuildManager.cs: added IsPrecompiled internal property.
* AppResourcesCompiler.cs: load precompiled site local and global
resource assemblies from static constructor. Fixes bugs #536138
and #536143
svn path=/trunk/mcs/; revision=141474
* AppResourcesCompiler.cs: SanitizeResourceName uses VB/C# rules
to attempt to create valid identifiers from resource
names. Identifier is also escaped by the CodeDOM provider before
returning. Possible fix for bug #536364
svn path=/trunk/mcs/; revision=141220
* BuildManager.cs: when HttpRequest.FilePath is '/' in
GetAbsoluteVirtualPath, don't try to use
VirtualPathUtility.GetDirectory on it. Fixes bug #532679
svn path=/trunk/mcs/; revision=140786
* 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
* PageParser.cs: 2.0 profile takes advantage of the inputFile
parameter to GetCompiledPageInstance. A check is made whether the
file pointed to by this parameter is inside the application's
virtual path and if not, the compilation request is assumed to
refer to a fake location. Part of fix for bug #463813
2009-08-24 Marek Habersack <[email protected]>
* PageBuildProvider.cs: MapPath now takes a VirtualPath
instance. Part of fix for bug #463813
* BuildManager.cs: public APIs which take virtual path strings as
their parameters got internal counterparts accepting a VirtualPath
instance in place of string. Part of fix for bug #463813
* GenericBuildProvider.cs:
MapPath now takes a VirtualPath instance. Part of fix for bug
#463813
2009-08-24 Marek Habersack <[email protected]>
* SoapDocumentationHandler.cs: get rid of the ugly fake virtual
path hack when creating the helper page. Part of fix for bug
#463813
2009-08-24 Marek Habersack <[email protected]>
* VirtualPath.cs: Added new constructor which takes virtual and
physical paths as well as a boolean marking the instance as
referring to a fake location. Part of fix for bug #463813
svn path=/trunk/mcs/; revision=140548
* TemplateBuildProvider.cs: ExtractDependencies checks if the
input has already been parsed/compiled and, if yes, adds
dependencies from the TemplateParser to the list of the ones
extracted locally. Fixes bug #377915
* GenericBuildProvider.cs: added Parsed property.
svn path=/trunk/mcs/; revision=140502
* GenericBuildProvider.cs: added internal property LanguageName
override which calls GetParserLanguage to get language name
instead of using the application default one.
* BuildManagerDirectoryBuilder.cs: removed CodeDOM provider cache,
provider types are retrieved from build providers while assigning
them to groups. Fixes bug #533166
svn path=/trunk/mcs/; revision=140433