Commit Graph
31 Commits
Author SHA1 Message Date
Marek Habersack f43399b021 2009-10-27 Marek Habersack <[email protected]>
* ProfileBase.cs: CreateSettingsProperty sets the returned
	property's DefaultValue to String.Empty if no default is specified
	through the DefaultSettingValue attribute and the associated
	property type is String.

svn path=/trunk/mcs/; revision=144898
2009-10-27 13:10:34 +00:00
Marek Habersack df8e32998a 2009-10-22 Marek Habersack <[email protected]>
* ProfileBase.cs: put named entries into SettingProperty's
	Attributes collection based on custom attributes decorating the
	associated profile property.

	* CustomProviderDataAttribute.cs: implemented IsDefaultAttribute

svn path=/trunk/mcs/; revision=144675
2009-10-22 20:01:29 +00:00
Marek Habersack 88561032dc 2009-09-08 Marek Habersack <[email protected]>
* ProfileParser.cs: GetProfileGroupType creates type name with
	"ProfileGroup" prefix instead of "ProfileCommon". Fixes bug
	#535655

	* ProfileBase.cs: typo fix - renamed CreateSettingsPropery to
	CreateSettingsProperty

2009-09-08  Marek Habersack  <[email protected]>

	* AppCodeCompiler.cs: HaveCustomProfile returns true for profiles
	which don't contain top-level properties. Fixes bug #535655

svn path=/trunk/mcs/; revision=141504
2009-09-08 11:25:09 +00:00
Gonzalo Paniagua Javier ea54f5bafc 2008-12-25 Gonzalo Paniagua Javier <[email protected]>
* SqlProfileProvider.cs: use IndexOf (char).


svn path=/trunk/mcs/; revision=122112
2008-12-25 07:31:44 +00:00
Marek Habersack 4944213e17 2008-06-30 Marek Habersack <[email protected]>
* AspGenerator.cs: hush the warnings and fix invalid type
	comparison.

	* AssemblyBuilder.cs: hush the warnings and add some debugging
	CWLs.

	* AspParser.cs, AppResourcesCompiler.cs, TemplateBuildProvider.cs,
	CachingCompiler.cs, BaseCompiler.cs, TemplateControlCompiler.cs,
	SimpleBuildProvider.cs, BuildManager.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* HtmlForm.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs, Menu.cs, DataList.cs,
	CustomValidator.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* MachineKeyRegistryStorage.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* SqliteMembershipProvider.cs, SqliteRoleProvider.cs: remove
	unused method

	* SqlRoleProvider.cs, AspNetDBSchemaChecker.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* UserControlParser.cs: hush the warnings and remove unnecessary
	code.

	* ControlCachePolicy.cs, PageParser.cs, ControlBuilder.cs,
	TemplateParser.cs, SimpleWebHandlerParser.cs, TemplateControl.cs,
	ApplicationFileParser.cs: hush the warnings

	* Page.cs: Context is protected internal in .NET 3.5
	Initialize encryption IVs before returning the transform.

	* Control.cs: Hush the warnings.

2008-06-30  Marek Habersack  <[email protected]>

	* HttpRuntime.cs, HttpApplication.cs: hush the warnings

	* HttpContext.cs: Hush the warnings.

2008-06-30  Marek Habersack  <[email protected]>

	* SqliteProfileProvider.cs: remove unused method

2008-06-30  Marek Habersack  <[email protected]>

	* CompilationSection.cs: hush the warnings



svn path=/trunk/mcs/; revision=106886
2008-06-30 13:20:58 +00:00
Marek Habersack 0907975508 2008-05-30 Marek Habersack <[email protected]>
* 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
2008-05-30 22:20:14 +00:00
Vladimir Krasnov c2c3688601 * System.Web.dll.sources: added AspNetDBSchemaChecker.cs
* System.Web20.csproj: added AspNetDBSchemaChecker.cs
* SqlProfileProvider.cs: added db schema checking
* SqliteMembershipProvider.cs, SqlRoleProvider.cs: added chema checking
* added AspNetDBSchemaChecker.cs: schema checker helper class

svn path=/trunk/mcs/; revision=92040
2007-12-30 16:07:38 +00:00
Marek Habersack 3476c409c3 2007-12-13 Marek Habersack <[email protected]>
* 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
2007-12-13 13:50:10 +00:00
Vladimir Krasnov 986b802e43 * ProfileParser.jvm.cs: Profile types loading optimized
svn path=/trunk/mcs/; revision=91148
2007-12-12 12:01:35 +00:00
Vladimir Krasnov ff459d9a49 * SiteMapSection.cs: fixed ProvidersInternal property to be thread safe
* ProfileManager.cs: fixed Providers property to be thread safe
* Roles.cs: fixed Providers property to be thread safe

svn path=/trunk/mcs/; revision=91095
2007-12-11 13:59:13 +00:00
Marek Habersack 58eceab2ec 2007-12-08 Marek Habersack <[email protected]>
* TranslationResources.resx: added - string resources for the
	Sqlite providers.
2007-12-08  Marek Habersack  <[email protected]>

	* SQLiteProviders_DatabaseSchema.sql: added
	* Makefile: added support for compiling .resx resources.
	Added SQLiteProviders_DatabaseSchema.sql to EXTRA_DISTFILES.
	Added new resource files to EXTRA_DISTFILES
2007-12-08  Marek Habersack  <[email protected]>

	* HttpRuntime.cs: initialize the Settings Mapping Manager once per
	application, just after initalizing the WebConfigurationManager
2007-12-08  Marek Habersack  <[email protected]>

	* SqliteProfileProvider.cs: added - a Profile Provider for
        Sqlite, based on PostgreSQL Profile Provider code from Daniel
        Nauck <[email protected]>
2007-12-08  Marek Habersack  <[email protected]>

	* TranslationProperties.Designer.cs: added - contains strongly
	typed properties referring to string resources used by the Sqlite
	providers.
2007-12-08  Marek Habersack  <[email protected]>

	* WebConfigurationManager.cs: GetSection now runs each section
	through a mapper (if any is defined for the section) before
	returning it to the caller.
2007-12-08  Marek Habersack  <[email protected]>

	* SqliteRoleProvider.cs: added - a Role Provider for
	Sqlite, based on PostgreSQL Role Provider code from Daniel
	Nauck <[email protected]>

	* SqliteMembershipProvider.cs: added - a Membership Provider for
	Sqlite, based on PostgreSQL Membership Provider code from Daniel
	Nauck <[email protected]>
2007-12-08  Marek Habersack  <[email protected]>

	* SerializationHelper.cs: added - serialization helper for the
	Sqlite Profile Provider.

	* RoleManagerSectionMapper.cs: added - section settings mapper for
	the RoleManager section.

	* MembershipSectionMapper.cs: added - section settings mapper for
	the Membership section.

	* ISectionSettingsMapper.cs: added - interface definition for
	section settings mappers.

	* SettingsMappingWhat.cs: added - describes a single 'what' tag
	instance inside the mapper definition in the settings.map file.

	* SettingsMapping.cs: added - represents a single mapper entry in
	the settings.map file.

	* SettingsMappingManager.cs: added - manages settings mapping as
	defined in the settings.map file.


svn path=/trunk/mcs/; revision=90972
2007-12-07 23:26:18 +00:00
Marek Habersack c024be4598 2007-10-15 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs, WebServiceCompiler.cs,
	BuildProvider.cs, BaseCompiler.cs, CachingCompiler.cs: use
	HttpApplication.LoadType instead of Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ProvidersHelper.cs: use HttpApplication.LoadType instead of
	Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
	Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ProfileBase.cs: use HttpApplication.LoadType instead of
	Type.GetType.

svn path=/trunk/mcs/; revision=87506
2007-10-15 13:07:47 +00:00
Marek Habersack de3974edad 2007-08-14 Marek Habersack <[email protected]>
* SessionStateServerHandler.cs: remove unused field.

2007-08-14  Marek Habersack  <[email protected]>

	* Control.cs: include the actual exception when reporting control
	id clash.

2007-08-14  Marek Habersack  <[email protected]>

	* Roles.cs: remove unused field.

	* SqlMembershipProvider.cs: remove unused variable.

2007-08-14  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs: remove unused variable.

	* ChangePassword.cs: remove unused variable.

	* RoleGroupCollection.cs: OnValidate shouldn't be overridden.

2007-08-14  Marek Habersack  <[email protected]>

	* SqlProfileProvider.cs: remove unused variable.

2007-08-14  Marek Habersack  <[email protected]>

	* XmlSiteMapProvider.cs: do not hide this_lock.



svn path=/trunk/mcs/; revision=84041
2007-08-14 10:52:59 +00:00
Vladimir Krasnov 3873188937 * ProfileBase.cs: fixed typo bug in InitProperties
svn path=/trunk/mcs/; revision=82021
2007-07-16 09:40:23 +00:00
Vladimir Krasnov 76d7a79720 * HttpContext.cs: added ProfileInitialized boolean property
* ProfileModule.cs: OnLeave checks if Profile was accessed during a request

svn path=/trunk/mcs/; revision=77754
2007-05-21 11:19:47 +00:00
Igor Zelmanovich bcfee9c2de 2007-04-17 Igor Zelmanovich <[email protected]>
* Membership.cs:
	* Roles.cs:
	if default provider was not found ConfigurationErrorsException is thrown.

2007-04-17 Igor Zelmanovich <[email protected]>

	* ProfileManager.cs:
	if default provider was not found ConfigurationErrorsException is thrown.


svn path=/trunk/mcs/; revision=75832
2007-04-17 15:56:48 +00:00
Vladimir Krasnov 738a46e036 * ProfileParser.jvm.cs: performance optimization
svn path=/trunk/mcs/; revision=74267
2007-03-14 16:45:09 +00:00
Vladimir Krasnov 4077f77b24 * ProfileModule.cs: fixed OnLeave, AutomaticSaveEnabled should be checked before save
svn path=/trunk/mcs/; revision=71245
2007-01-18 10:26:04 +00:00
Vladimir Krasnov 06463b1a64 * ProfileBase.cs: fixed SetPropertyValue, allow anonymous attribute check added on property value set
svn path=/trunk/mcs/; revision=70771
2007-01-10 14:44:05 +00:00
Vladimir Krasnov 3a522ff1bc * ProfileBase.cs: added inherited properties properties initialization
svn path=/trunk/mcs/; revision=70350
2007-01-02 12:32:40 +00:00
Vladimir Krasnov d4f838288d * ProfileGroupBase.cs: fixed property name while getting from parent
svn path=/trunk/mcs/; revision=70283
2006-12-31 14:37:19 +00:00
Vladimir Krasnov 6a2d35a06d * ProfileParser.jvm.cs: implemented PageMapper call
* ProfileBase.cs: fixed SettingsProperty type resolving, added SettingsProperty validation

svn path=/trunk/mcs/; revision=70078
2006-12-26 11:45:13 +00:00
Marek Habersack 7ecd1fdc01 Forgotten changelogs
svn path=/trunk/mcs/; revision=69830
2006-12-20 18:43:48 +00:00
Vladimir Krasnov c45a161be5 * System.Web.dll.sources: added System.Web.Profile/ProfileParser.cs
* System.Web20.vmwcsproj: added System.Web.Profile/ProfileParser.jvm.cs* ProfileBase.cs, ProfileGroupBase.cs, ProfileManager.cs, ProfileModule.cs, ProfileProviderCollection.cs, SqlProfileProvider.cs: implemented profile feature
* added: ProfileParser.cs, ProfileParser.jvm.cs stubs for profile helper classes compilation

svn path=/trunk/mcs/; revision=67378
2006-11-05 14:59:23 +00:00
Chris Toshok af89946383 In System.Web.Configuration.Internal:
2006-02-28  Chris Toshok  <[email protected]>

	* IInternalConfigWebHost.cs: corcompare work.

In System.Web.Configuration_2.0:
2006-02-28  Chris Toshok  <[email protected]>

	* BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.

In System.Web.Profile:
2006-02-28  Chris Toshok  <[email protected]>

	* ProfileBase.cs: corcompare work.

	* SqlProfileProvider.cs: add stubbed out file.

In System.Web.SessionState:
2006-02-28  Chris Toshok  <[email protected]>

	* SessionStateActions.cs: rename SessionStateActionFlags to this.

	* ISessionIDManager.cs: rename ISessionIDModule to this.

	* IStateRuntime.cs: corcompare work.

In System.Web.Security:
2006-02-28  Chris Toshok  <[email protected]>

	* FormsAuthentication.cs: corcompare work.

	* MembershipCreateUserException.cs: same.

	* MembershipPasswordException.cs: same.

	* AnonymousIdentificationModule.cs: same.

In System.Web.Configuration:
2006-02-28  Chris Toshok  <[email protected]>

	* FormsAuthPasswordFormat.cs: ifdef out the [Serializable] in the
	2.0 case.

In System.Web.Hosting:
2006-02-28  Chris Toshok  <[email protected]>

	* IAppDomainFactory.cs: corcompare work.

	* IAppManagerAppDomainFactory.cs: same

	* IISAPIRuntime.cs: same.

In System.Web.Management:
2006-02-28  Chris Toshok  <[email protected]>

	* SqlFeatures.cs: corcompare work

	* IRegiisUtility.cs: same.

	* WebEventFormatter.cs: same.

	* RuleFiringRecord.cs: same.

	* SessionStateType.cs: same.

	* WebApplicationInformtion.cs: same.

	* EventNotificationType.cs: same.

	* WebBaseEvent.cs: same.

	* IRegisterCreateITypeLib.cs: nuke


svn path=/trunk/mcs/; revision=57413
2006-02-28 18:56:23 +00:00
Chris Toshok c0dc5439af 2005-11-30 Chris Toshok <[email protected]>
* ProfileBase.cs (Properties): mark as override, not static.

	* ProfileProviderCollection.cs (ProfileProvider): mark as "new" to
	fix warning.


svn path=/trunk/mcs/; revision=53740
2005-12-01 01:39:50 +00:00
Chris Toshok 354ffbc8d9 2005-11-18 Chris Toshok <[email protected]>
* ProfileModule.cs: hook up saving of the request's profile.

	* ProfileBase.cs (Save): call base.Save instead of throwing NIE.


svn path=/trunk/mcs/; revision=53260
2005-11-19 00:50:57 +00:00
Chris Toshok 623b3b73a8 2005-11-03 Chris Toshok <[email protected]>
* ProfileEventArgs.cs, ProfileProviderCollection.cs,
	ProfileAutoSaveEventArgs.cs, ProfileMigrateEventArgs.cs,
	ProfileBase.cs, ProfileManager.cs,
	SettingsAllowAnonymousAttribute.cs, ProfileProviderAttribute.cs,
	ProfileEventHandler.cs, CustomProviderDataAttribute.cs,
	DefaultProfile.cs, ProfileModule.cs,
	ProfileAutoSaveEventHandler.cs, ProfileGroupBase.cs,
	ProfileMigrateEventHandler.cs: 90% unimplemented skeletons.
	
	* ProfileInfoCollection.cs: make serializable.

	* ProfileAuthenticationOption.cs: fix ordering of enum elements.


svn path=/trunk/mcs/; revision=52540
2005-11-03 23:09:43 +00:00
Chris Toshok 62ae0e7e1c 2005-11-03 Chris Toshok <[email protected]>
* ProfileInfoCollection.cs: new implementation.

	* ProfileProvider.cs: new implementation.


svn path=/trunk/mcs/; revision=52526
2005-11-03 21:02:01 +00:00
Miguel de Icaza 54079f764a Commit of changes to core files, on behalf of the team
svn path=/trunk/mcs/; revision=48944
2005-08-26 22:58:48 +00:00
Duncan Mak 8dbd3f63b7 2004-08-02 Duncan Mak <[email protected]>
* ProfileAuthenticationOption.cs: Added enumeration.

svn path=/trunk/mcs/; revision=31761
2004-08-03 00:59:04 +00:00