* HttpRuntime.cs: Thanks to Christian Hergert for finding this
one.
Do not throw NIEX on IsOnUNCShare, instead compute the value.
svn path=/trunk/mcs/; revision=104728
* BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
DataControlFieldCollection.cs, DataControlField.cs,
PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
event accessors (to avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* AnonymousIdentificationModule.cs, FormsAuthenticationModule.cs,
DefaultAuthenticationModule.cs, MembershipProvider.cs,
WindowsAuthenticationModule.cs, PassportAuthenticationModule.cs,
RoleManagerModule.cs: do not use synthetized event accessors (to
avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* HttpApplication.cs, HttpCachePolicy.cs, SiteMapProvider.cs,
TraceContext.cs: do not use synthetized event accessors (to avoid
locks).
2008-05-30 Marek Habersack <[email protected]>
* SessionStateModule.cs: do not use synthetized event accessors
(to avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* ProfileModule.cs: do not use synthetized event accessors (to
avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* SessionStateModule.cs: do not use synthetized event accessors
(to avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* DataBindingCollection.cs, ExpressionBindingCollection.cs: do not
use synthetized event accessors (to avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* ClientBuildManager.cs: do not use synthetized event accessors
(to avoid locks).
2008-05-30 Marek Habersack <[email protected]>
* CacheDependency.cs: do not use synthetized event accessors (to
avoid locks).
svn path=/trunk/mcs/; revision=104569
* WebConfigurationHost.cs: changed CreateDeprecatedConfigContext
to return a new HttpContext object. This is part of a fix for bug
#325128. Patch contributed by James Fitzsimons <[email protected]>,
thanks!
svn path=/trunk/mcs/; revision=104332
* HierarchicalDataBoundControl.cs: Modified GetData method to check if
DataSource implements IHierarchicalEnumerable and if so constructs and
returns a new instance of ReadOnlyDataSourceView. This provides functional
compatibility with the Microsoft.NET framework. Fixes bug
#395209. Patch contributed by James Fitzsimons
<[email protected]>, thanks!
2008-05-18 Marek Habersack <[email protected]>
* HierarchicalDataBoundControlTest.cs: Added
TestIHierarchicalEnumerableDataSource to test change made to
GetData method to make functionally compatibile with Microsoft.NET
framework. Patch contributed by James Fitzsimons
<[email protected]>, thanks!
2008-05-28 Marek Habersack <[email protected]>
* ReadOnlyDataSourceView.cs: added. Patch contributed by James
Fitzsimons <[email protected]>, thanks!
svn path=/trunk/mcs/; revision=104329
* TemplateParser.cs: added support for #pragma checksum
2008-05-28 Marek Habersack <[email protected]>
* AspParser.cs, AspGenerator.cs, BaseCompiler.cs: added support
for #pragma checksum
svn path=/trunk/mcs/; revision=104321
* AspGenerator.cs: if the last tag parsed was a code directive,
ignore any accumulated text if it's 100% whitespace.
svn path=/trunk/mcs/; revision=103541
* AspComponentFoundry.cs: treat AssemblyFoundry in a special way
when adding a foundry to the array list. AssemblyFoundry instances
are stacked at the end of the array list in a LIFO manner. That
way TagNameFoundry takes precedence over AssemblyFoundry should
the two contain the same type.
2008-05-14 Marek Habersack <[email protected]>
* AssemblyResourceLoader.cs: do not add the same entry to a
hashtable twice
svn path=/trunk/mcs/; revision=103243
* HttpApplication.cs: create a fake context while loading the
modules on the first request so that the modules don't mess up
with the actual output of that request.
svn path=/trunk/mcs/; revision=102912
* RolePrincipal.cs: fix:
- Reloading the roles cache from the provider when expired
- Update issue & expiry date for expired tickets
- Incrementing the cookie expiry date
- Obey Roles.MaxCachedResults
Fixes bug #385877. Patch from Ivan Hamilton
<[email protected]>, thanks!
svn path=/trunk/mcs/; revision=102737
* TemplateParser.cs: added a stack of include directories, to
properly resolve file relative paths when the #include file=""
directive is used. Fixes bug #324536
2008-05-07 Marek Habersack <[email protected]>
* AspGenerator.cs: push the include file directory to the parser
include directory stack and pop it after parsing the include, so
that the relative file paths are resolved correctly. Fixes bug
#324536
svn path=/trunk/mcs/; revision=102729
* RoleManagerSection.cs: use type converter when creating the
cookieTimeout property in the static constructor. Fixes bug
#387526. Patch fromIvan Hamilton <[email protected]>, thanks!
svn path=/trunk/mcs/; revision=102724
* MimeTypes.cs: mime type keys might not exist in the dictionary,
in the 2.0 profile. Patch from Rolf Kvinge <[email protected]>
and Jean-Baptiste Evain <[email protected]>, thanks! Fixes bug
#386008
svn path=/trunk/mcs/; revision=102577
* Calendar.cs: do not create dateInfo in the constructor - culture
might be not set yet at this point. Fixes bug #323566
Added a private property, DateInfo, which creates the dateInfo
when requested.
2008-05-06 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: compatibility - added the
__stringResource static field to the generated class and a call to
SetStringResourcePointer to the FrameworkInitialize method.
* PageCompiler.cs: __fileDependencies should also be defined in
the 1.x profile.
Page properties assigned in the page directive should be set
inside BuildControlTree in the 2.0 profile.
svn path=/trunk/mcs/; revision=102573
* BulletedList.cs: Avoid calling ToString on a string.
* ButtonField.cs: Throw, not just create, the exceptions.
* HyperLinkField.cs: Throw, not just create, the exceptions.
* ImageField.cs: Throw, not just create, the exception. Avoid calling
ToString on a string.
* ListControl.cs: Avoid calling ToString on a string.
[All issues were found using Gendarme]
svn path=/trunk/mcs/; revision=102571
* HiddenFieldPageStatePersister.cs: add TARGET_J2EE def
* Page.cs: remove TARGET_J2EE def
* Page.jvm.cs: add new internal api such PageState and FacesContext.
all those changes make PageAdapter works with JSF under TARGET_J2EE.
svn path=/trunk/mcs/; revision=102513
* HttpApplication.cs: when the Start method is called in a new
thread, the thread's culture and ui culture are set to their
defaults, thus ignoring whatever their values were in the parent
thread. This is now fixed by passing an array containing the
culture values to the Start method, so that the new thread can be
properly initialized. Fixes bug #323566
svn path=/trunk/mcs/; revision=102251
* SiteMapNode.cs: the implicitResourceKey parameter to one of the
constructors sets the value of the ResourceKey property.
GetImplicitResourceString uses the provider's ResourceKey as the
global resource object key and the node's ResourceKey to construct
the resource name. Fixes bug #323994
ResourceKey setter throws an InvalidOperationException now, when
the node is read-only.
2008-04-30 Marek Habersack <[email protected]>
* SiteMapDataSource.cs: when no starting node is found, return
null instead of Provider.RootNode. Fixes bug #323994
svn path=/trunk/mcs/; revision=102197
* WebConfigurationSettings.cs: if path mapping fails in
GetConfigFromFileName, fall back to the application's physical
directory.
2008-04-29 Marek Habersack <[email protected]>
* HttpException.cs: safe guard against context being null in
GetHtmlErrorMessage.
2008-04-29 Marek Habersack <[email protected]>
* WebServiceCompiler.cs: if compiling a body-less web service, try
to load the class type from the loaded assemblies before
attempting to find it in the assemblies on disk.
svn path=/trunk/mcs/; revision=102127
* Cache.cs: refactoring - move the timeout setting code to
separate methods, so that it can be accessed from outside the
class. Fixes bug #382644
2008-04-28 Marek Habersack <[email protected]>
* ISessionHandler.cs: added new method, Touch, to reset the item
timeout.
* SessionStateServerHandler.cs, SessionSQLServerHandler.cs,
SessionInProcHandler.cs: added implementation of the
ISessionHandler Touch method, to reset item timeout. Fixes bug
#382644
* StateServerItem.cs: made the Timeout property writable.
* SessionStateModule.cs: reset the item timeout after
OnSessionStart has returned. Fixes bug #382644
* RemoteStateServer.cs: added a method to reset item timeout.
svn path=/trunk/mcs/; revision=102034
* GenericBuildProvider.cs: the Parse () method should reuse the
previously opened TextReader when calling generator.Parse (), to
avoid opening the input file multiple times. Fixes bug #383881
2008-04-26 Marek Habersack <[email protected]>
* VirtualPath.cs: added a new property, PhysicalPath.
svn path=/trunk/mcs/; revision=101897
Revert the change in revision 100273 - the real bug was in a
different overload of RewritePath, fixed with the commit for the
above bug #383652
svn path=/trunk/mcs/; revision=101787
* HttpApplication.cs: use Request.CurrentExecutionFilePath when
querying for the handler. Makes requests work if request path was
rewritten without modifying the FilePath. Fixes bug #383652
* HttpContext.cs: set Request.FilePath in RewritePath only if
setClientFilePath is true. Fixes bug #383652
svn path=/trunk/mcs/; revision=101785
* SqlDataSource.cs: raise the DataSourceChangedEvent when setting
ConnectionString, ProviderName or DataSourceMode properties only
when the new value differs from the old one. Fixes bug #359392
svn path=/trunk/mcs/; revision=101679