* 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
* 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
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
Page.cs: speed optimization - use String.Concat instead of
String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* Menu.cs, TreeView.cs: optimize use of String.Format in
OnPreRender.
Speed optimization - use String.Concat instead of String.Format in
some cases.
* GridView.cs, DetailsView.cs: optimize use of String.Format in
OnPreRender.
* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
optimization - use String.Concat instead of String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* AssemblyResourceLoader.cs: speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* SessionId.cs:
speed optimization - use String.Concat
instead of String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
use String.Concat instead of String.Format in some cases.
2007-12-13 Marek Habersack <[email protected]>
* ApplicationManager.cs, ApplicationHost.cs,
DefaultVirtualPathProvider.cs: speed optimization - use
String.Concat instead of String.Format in some cases.
svn path=/trunk/mcs/; revision=91230
* SessionSQLServerHandler.cs: Remove a memory leak and improve
performance by preparing SQL statements and caching them for later
reuse. Patch from Hubert FONGARNAND
<[email protected]>, thanks!
svn path=/trunk/mcs/; revision=90225
* SessionStateModule.cs: preserve the query part of the url when
redirecting with cookieless sessions active. Fixes bug #318790
2007-09-18 Marek Habersack <[email protected]>
* SessionIDManager.cs: preserve the query part of the url when
redirecting with cookieless sessions active. Fixes bug #318790
svn path=/trunk/mcs/; revision=85955
* SessionDictionary.cs: do not use lock (this), replace it
with lock (this_object), where this_object is an instance
variable. Prevents deadlocks in situation when external code locks
on the class instance.
2007-08-08 Marek Habersack <[email protected]>
* WebConfigurationSettings.cs: do not use lock (this), replace it
with lock (this_object), where this_object is an instance
variable. Prevents deadlocks in situation when external code locks
on the class instance.
2007-08-08 Marek Habersack <[email protected]>
* StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
TimeoutManager.cs: do not use lock (this), replace it with lock
(this_object), where this_object is an instance variable. Prevents
deadlocks in situation when external code locks on the class
instance.
svn path=/trunk/mcs/; revision=83648
* OutputCacheModule.cs: use Context.InternalCache.
* Cache.cs: 2.0 profile uses generic containers to keep the cache
entries.
Gotten rid of the InsertPrivate and InsertInternal methods. The
latter was moved to one of the Insert overloads.
Private entries are no longer handled specifically, because the
internal cache is now kept in a separate object.
2007-06-20 Marek Habersack <[email protected]>
* AppResourcesCompiler.cs: use HttpRuntime.InternalCache to keep
private entries.
* CachingCompiler.cs: as above
* AspGenerator.cs: as above
2007-06-20 Marek Habersack <[email protected]>
* DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
to keep private entries.
* XmlDataSource.cs: as above
2007-06-20 Marek Habersack <[email protected]>
* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
private entries.
2007-06-20 Marek Habersack <[email protected]>
* SessionInProcHandler.cs: use HttpRuntime.InternalCache to keep
the internal entries.
2007-06-20 Marek Habersack <[email protected]>
* BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
keep the private entries.
2007-06-20 Marek Habersack <[email protected]>
* HttpRuntime.cs: added new internal property, InternalCache, to
keep all the internal cache entries instead of mixing them with
the public cache ones.
Do not invoke Cache.InvokePrivateCallbacks - this method no longer
exists.
* HttpResponse.cs: private entries are now kept in
Context.InternalCache.
* HttpContext.cs: added new internal property, InternalCache,
which returns the HttpRuntime.InternalCache value.
Fixes bug #81690
svn path=/trunk/mcs/; revision=80321
* SessionSQLServerHandler.cs: differentiate session between applications
this require to add an AppName column to the aspstatetempsessions table
svn path=/trunk/mcs/; revision=76243
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.
* StaticFileHandler.cs (ProcessRequest): remove unused variable.
* HttpApplication.cs (ProcessError): Remove unused variable.
2007-01-20 Miguel de Icaza <[email protected]>
* ClientBuildManager.cs: Remove unused variable (this could be a
real problem, we never use the appPhysicalTargetDir)
* AssemblyBuilder.cs: Remove unused field.
* AppResourceFilesCollection.cs: Remove unused field.
* TemplateControlCompiler.cs (GetExpressionFromString): Remove
unused variable.
* AppResourcesCompiler.cs: Remove unused variable.
* AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
parameter.
* PageCompiler.cs: Put InternalCreatePageProperty inside the
NET_2_0 block to eliminate warnings.
2007-01-20 Miguel de Icaza <[email protected]>
* HandlerFactoryConfiguration.cs (LoadType): remove unused
variable.
(ctor): do not assign parent, we do not use it, keep the code for
reference.
2007-01-20 Miguel de Icaza <[email protected]>
* ApplicationManager.cs: Remove unused variable.
(ShutdownAll) remove unused variables.
* ApplicationHost.cs: Protect create_dir lock
2007-01-20 Miguel de Icaza <[email protected]>
* SqlRoleProvider.cs: comment out unused code.
* SqlMembershipProvider.cs: Removed unused variables.
Remove unused variable.
* AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
remove unused variable. This might be a real bug.
2007-01-20 Miguel de Icaza <[email protected]>
* SessionStateModule.cs: Removed unused variables.
2007-01-20 Miguel de Icaza <[email protected]>
* SessionDictionary.cs: Removed unused variable (dirty).
2007-01-20 Miguel de Icaza <[email protected]>
* XhtmlTextWriter.cs: comment out unused code.
* ThemeProvider.cs: comment out unused code.
* DataSourceView.cs: Comment unused variable.
* ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
code
* Control.cs: Put _templateControl inside the NET_2_0 ifdef
2007-01-20 Miguel de Icaza <[email protected]>
* HtmlHead.cs: comment out unused code, in particular metadata is
commented out because nothing could have triggered its creation.
* HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
2007-01-20 Miguel de Icaza <[email protected]>
* DataControlFieldCollection.cs (RemoveAt): remove unused
variable.
* RoleGroupCollection.cs (OnValidate): Flag as protected, as it
should not show up.
* RadioButton.cs (RaisePostDataChangedEvent): This method was not
used in 1.0, so put the whole method in 2.0
2007-01-20 Miguel de Icaza <[email protected]>
* WebPart.cs: Remove
* PersonalizableAttribute.cs: Remove extra API that was wrong as well.
2006-11-28 Miguel de Icaza <[email protected]>
* WebPart.cs:
2007-01-20 Miguel de Icaza <[email protected]>
* FileUtils.cs (CreateTemporaryFile): Remove unused variable.
svn path=/trunk/mcs/; revision=71399
Patch from Hubert FONGARNAND
* SessionSQLServerHandler.cs (selectCommand): Instead of using
SELECT * for pulling the data out of the ASPStateTempSessions,
use
the explicit column names. This allows users to change the
table
and not have any undesired side effects for our code.
(ReadBytes): This patch corrects a bug too in ReadBytes. The
index parameter
was not properly used when calculating the size of the data.
svn path=/trunk/mcs/; revision=66601
2006-09-03 Robert Jordan <[email protected]>
* SessionSQLServerHandler.cs: persist and handle the "timeout" and
"expire" properties of the session. Fixes bug #78281.
Patch by Boris Dores <[email protected]>.
svn path=/trunk/mcs/; revision=64830
* RemoteStateServer.cs: use a Cache instead of a Hashtable so that we
get sliding expiration for free.
* StateServerItem.cs: expose 'timeout' through a property.
svn path=/trunk/mcs/; revision=62799
* SessionSQLServerHandler.cs: if the connection to the DB is lost, retry
the select/update/insert/delete commands after reconnecting.
Fixes bug #77785.
svn path=/trunk/mcs/; revision=58047
* System.Web/HttpRequest.cs: new SetFilePath() that does not conflict
with SetCurrentExePath. Now when transfering from a page to another,
CurrentExecutionFilePath and FilePath are correct.
* System.Web.SessionState/SessionStateModule.cs: use the new funciton
in HttpRequest.
svn path=/trunk/mcs/; revision=50559
* SessionStateModule.cs: fix compilation warnings and use the
application path for the cookie path. This is a temporary fix for 76172.
* SessionId.cs: don't access the cookie collection twice.
svn path=/trunk/mcs/; revision=50424
* HttpSessionState.cs: Added LinkDemand for Minimal.
* IHttpSessionState.cs: Renamed IsCookieLess to IsCookieless.
* ISessionStateItemCollection.cs: Added ICollection and IEnumerable.
* SessionStateMode.cs: Added Custom (2.0).
* SessionStateModule.cs: Use RandomNumberGenerator.Create to create
the RNG. Assert EnvironmentPermission to read MONO_XSP_STATIC_SESSION.
Added LinkDemand for Minimal.
* StateRuntime.cs: Added LinkDemand for Minimal, new ProcessRequest
override (2.0) and security attributes on methods.
svn path=/trunk/mcs/; revision=49834
* System.Web/HttpRuntime.cs: remove Console.
* System.Web/HttpApplicationFactory.cs: don't hook Session_End, but keep
the MethodInfo around for later invocation if needed. Don't call
GetMethods() for every HttpApplication (or derived class) instances.
Added a method, used by SessionStateModule, that will create use an
application without context to invoke Session_End. Keep a pool of
applications that are meant to be used by this method only.
* System.Web/HttpApplication.cs: add a SetSession method and do not
attach all the events if the application is for Session_End only.
* System.Web.SessionState/SessionStateModule.cs: Only invoke the End
event using the new method in HttpApplicationFactory and when session
state mode is InProc.
Fixes bug #71662.
svn path=/trunk/mcs/; revision=49610
* System.Web/HttpApplication.cs: clone the module collection so that
it's not shared between HttpApplications. Call GetHandler() in the
right place.
* System.Web.SessionState/SessionStateModule.cs: added lock around
'config'.
* System.Web.SessionState/SessionInProcHandler.cs: when inserting in
the the session in the Cache, use sliding expiration only.
* System.Web.Configuration/ModulesConfiguration.cs: add Clone (ugly).
svn path=/trunk/mcs/; revision=49157