Commit Graph
86 Commits
Author SHA1 Message Date
Marek Habersack 09c2c620cb 2008-03-01 Marek Habersack <[email protected]>
* HttpRuntime.cs: SettingsMappingManager has been moved to
	Mono.Web.
2008-03-01  Marek Habersack  <[email protected]>

	* WebConfigurationManager.cs: SettingsMappingManager has been
	moved to Mono.Web.dll
2008-03-01  Marek Habersack  <[email protected]>

	* Makefile: added a dependency on Mono.Web.dll

	* System.Web.dll.sources: removed SystemSettingsMapper public APIs
	and moved them to the Mono.Web assembly.
2008-03-01  Marek Habersack  <[email protected]>

	* AssemblyInfo.cs: added
2008-03-01  Marek Habersack  <[email protected]>

	* ISectionSettingsMapper.cs, MembershipSectionMapper.cs,
	RoleManagerSectionMapper.cs, SettingsMapping.cs,
	SettingsMappingManager.cs, SettingsMappingWhat.cs: moved to here
	from System.Web
2008-03-01  Marek Habersack  <[email protected]>

	* Mono.Web.dll.sources: added

	* Makefile: added


svn path=/trunk/mcs/; revision=97035
2008-02-29 23:49:18 +00:00
Igor Zelmanovich db7072bf23 added #if TARGET_DOTNET
svn path=/trunk/mcs/; revision=92329
2008-01-06 08:14:55 +00:00
Marek Habersack 4889b1ed60 2007-12-12 Marek Habersack <[email protected]>
* SettingsMappingManager.cs: use the 'settings.map.config' name
	for the application-specific mapper configuration. This ensures
	that the file won't be downloadable on systems which don't support
	the mapping feature without the need to add the extra handler
	entry to the app's Web.config file. Thanks to Joe Audette for the
	idea.

svn path=/trunk/mcs/; revision=91160
2007-12-12 17:05:14 +00:00
Marek Habersack 6fe0f52ede 2007-12-11 Marek Habersack <[email protected]>
* SettingsMappingManager.cs: made the class public - it is
	required for user-defined mappers to work.
	Added a new property, Platform, which specifies the platform we're
	running on. Platform check is now done only on initialization
	time.
	LoadMappings considers only the mappings which apply to the
	current platform. Other entries are not loaded.

	* SettingsMapping.cs: made the class public.
	
	* SettingsMappingWhat.cs: made the class public.

	* ISectionSettingsMapper.cs: made the interface public.

svn path=/trunk/mcs/; revision=91112
2007-12-11 15:31:09 +00:00
Marek Habersack 7ef1866946 don't add the same section twice to the dictionary
svn path=/trunk/mcs/; revision=90974
2007-12-07 23:54:56 +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
Vladimir Krasnov 99d17a8d3b * UrlUtils.cs: optimized string.Replace in RemoveDoubleSlashes
svn path=/trunk/mcs/; revision=84392
2007-08-19 12:53:58 +00:00
Konstantin Triger 121f197bb2 refactoring for Serialize/Deserialize functionality
svn path=/trunk/mcs/; revision=74735
2007-03-21 14:09:20 +00:00
Marek Habersack 988df7eff0 2007-03-18 Marek Habersack <[email protected]>
* UrlUtils.cs: GetDirectory always returns a path with trailing
	slash.

2007-03-18  Marek Habersack  <[email protected]>

	* WebConfigurationSettings.cs: fix the GetConfigFromFileName
	directory logic.

2007-03-18  Marek Habersack  <[email protected]>

	* BaseParser.cs: fix BaseVirtualDir to always return app-absolute
	paths.

svn path=/trunk/mcs/; revision=74574
2007-03-18 22:12:53 +00:00
Marek Habersack 7972533c5d Fix for the test suite, a temporary reversal of previous patches, since it isn't a real fix - the breakage is elsewhere in system.web
svn path=/trunk/mcs/; revision=74546
2007-03-18 00:16:39 +00:00
Marek Habersack 1ff45bbb84 2007-03-16 Marek Habersack <[email protected]>
* UrlUtils.cs: make sure the trailing slash is present.

svn path=/trunk/mcs/; revision=74465
2007-03-16 14:13:46 +00:00
Igor Zelmanovich 64f6d6228f 2007-03-15 Igor Zelmanovich <[email protected]>
* VirtualPathUtility.cs: refactoring: class is shared with 1.x.

svn path=/trunk/mcs/; revision=74372
2007-03-15 14:46:36 +00:00
Marek Habersack c4799d34fb make themes work. Also fixes bug #80953
svn path=/trunk/mcs/; revision=73707
2007-03-05 13:58:16 +00:00
Adar Wesley 0ec8702c71 2007-01-30 Adar Wesley <[email protected]>
* VirtualPathUtility.cs: fixed exceptions thrown from Combine
        so they are compatible with MS.

        * UrlUtils.cs: fixed GetFile to throw right exception


svn path=/trunk/mcs/; revision=71966
2007-01-30 14:59:58 +00:00
Miguel de Icaza 6b4c7232fd * SiteMapNode.cs (GetExplicitResourceString): implement.
* 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
2007-01-20 22:42:04 +00:00
Konstantin Triger c6b042708a move J2EE hosting to Mainsoft.Web
svn path=/trunk/mcs/; revision=70131
2006-12-27 16:29:05 +00:00
Igor Zelmanovich fe810004df 2006-12-12 Igor Zelmanovich <[email protected]>
* VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.

svn path=/trunk/mcs/; revision=69398
2006-12-12 14:14:34 +00:00
Miguel de Icaza 8616a7e405 2006-11-28 Miguel de Icaza <[email protected]>
* Rationalize the user of MonoTODOs.  

		- Removed all the TODOs that were only overwritten methods
		and had no further information.

		- Methods that threw exceptions now have the message "Not
		implemnted".

		- Methods that return some constant are declared like
		that.

		- Removed a bunch of stale MonoTODOs that had not been
		removed. 


svn path=/trunk/mcs/; revision=68620
2006-11-28 22:15:23 +00:00
Igor Zelmanovich 047bfafcfe 2006-11-26 Igor Zelmanovich <[email protected]>
* Page.cs:
	* ClientScriptManager.cs:
	implemented RegisterExpandoAttribute feature	


svn path=/trunk/mcs/; revision=68473
2006-11-26 11:38:54 +00:00
Marek Habersack ffd7cdd5a3 Added a utility class - System.Web.Util.FileUtils - for dealing with temporary file names, and possibly for other common file operations to be added later on
svn path=/trunk/mcs/; revision=67800
2006-11-13 22:47:09 +00:00
Vladimir Krasnov 3817134257 * DataSourceResolver.cs: corrected exceptions type in ResolveDataSource
svn path=/trunk/mcs/; revision=58023
2006-03-15 15:42:39 +00:00
Chris Toshok eee4a3b134 2006-02-01 Chris Toshok <[email protected]>
* WebEncoding.cs: CONFIGURATION_2_0 => NET_2_0, and use GetSection
	instead of GetWebApplicationSection.


svn path=/trunk/mcs/; revision=56408
2006-02-01 19:32:48 +00:00
Gonzalo Paniagua Javier f905f7c51f 2006-01-31 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: more than one consecutive slash are turned into one.


svn path=/trunk/mcs/; revision=56368
2006-01-31 22:00:13 +00:00
Chris Toshok ea6f2c5659 2006-01-26 Chris Toshok <[email protected]>
* WebEncoding.cs: rework this so we cache the section, and so we
	swallow exceptions based on a broken configuration.


svn path=/trunk/mcs/; revision=56139
2006-01-27 02:20:08 +00:00
Konstantin Triger ee2a0ccc6d correct ifdef to TARGET_J2EE
svn path=/trunk/mcs/; revision=55235
2006-01-09 16:03:53 +00:00
Konstantin Triger ce61559a30 under TARGET_JVM: merging /main/4
svn path=/trunk/mcs/; revision=55234
2006-01-09 16:02:35 +00:00
Chris Toshok 277c098f93 2005-11-28 Chris Toshok <[email protected]>
* WebEncoding.cs (FileEncoding, ResponseEncoding,
	RequestEncoding): CONFIGURATION_2_0 work.


svn path=/trunk/mcs/; revision=53583
2005-11-28 20:56:56 +00:00
Gonzalo Paniagua Javier e0f9a64bc8 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: fix GetFile to work with '/blah'.


svn path=/trunk/mcs/; revision=50557
2005-09-23 02:59:24 +00:00
Sebastien Pouliot 11398bdca2 2005-09-11 Sebastien Pouliot <[email protected]>
* IWebObjectFactory.cs: New. 2.0 interface.
	* IWebPropertyAccessor.cs: New. 2.0 interface.
	* Transactions.cs: Added [Link|Inheritance]Demand for Minimal.
	* WorkItem.cs: Added [Link|Inheritance]Demand for Minimal. Added 
	Demand for UnmanagedCode on the static Post method,


svn path=/trunk/mcs/; revision=49906
2005-09-11 14:06:45 +00:00
Gonzalo Paniagua Javier d5ef4651d6 2005-08-28 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: removed 2 unused methods. IsRelativeUrl returns false if
	there's a colon in the string, assuming it's the beginning of the ://
	after the schema.


svn path=/trunk/mcs/; revision=49044
2005-08-28 23:40:12 +00:00
Ben Maurer eb0ee6ba67 Add
svn path=/trunk/mcs/; revision=48949
2005-08-26 23:02:14 +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
Ben Maurer f30d3e27d4 Add
svn path=/trunk/mcs/; revision=48929
2005-08-26 22:35:04 +00:00
Gonzalo Paniagua Javier 26809a41a1 Add
svn path=/trunk/mcs/; revision=48928
2005-08-26 22:34:28 +00:00
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +00:00
Eyal Alalouf ea609b3f42 Initial compilation in TARGET_J2EE config
svn path=/trunk/mcs/; revision=47381
2005-07-18 12:13:27 +00:00
Ben Maurer b27c8e1534 remove .cvsignore from everywhere, as it is useless on svn
svn path=/trunk/mcs/; revision=46564
2005-06-27 15:55:58 +00:00
Gonzalo Paniagua Javier 240e0c46e3 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: (Combine) if the base path is "~", expand it.


svn path=/trunk/mcs/; revision=46533
2005-06-27 03:58:36 +00:00
Gonzalo Paniagua Javier ab7a54ad17 2005-06-26 Gonzalo Paniagua Javier <[email protected]>
* StrUtils.cs: new string utilities.


svn path=/trunk/mcs/; revision=46527
2005-06-26 23:18:29 +00:00
Ben Maurer 3e1c677747 2005-05-09 Ben Maurer <[email protected]>
* UrlUtils.cs (Reduce): a more efficient impl that avoids an
	arraylist, making an arraylist into an array, and a replace
	operation.


svn path=/trunk/mcs/; revision=44292
2005-05-09 18:14:15 +00:00
Gonzalo Paniagua Javier 6b02b28598 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.SessionState/SessionStateModule.cs: set the path modifier
	when using cookie-less sessions.

	* System.Web/HttpResponse.cs: fixed ApplyAppPathModifier to insert the
	session ID.
	* System.Web.UI/Control.cs: fixed ResolveUrl for relative URLs when
	using cookie-less sessions.

	* System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
	the appRoot + SessionID + vpath format.

	Fixes the 3 issues reported in bug #66623.


svn path=/trunk/mcs/; revision=36818
2004-11-30 06:33:56 +00:00
Gonzalo Paniagua Javier 1dfdef5631 hit ]
svn path=/trunk/mcs/; revision=31318
2004-07-20 17:49:09 +00:00
Gonzalo Paniagua Javier 7006de857a 2004-07-20 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: don't pass double slash when the path begins with a
	tilde. Fixes bug #61654.

svn path=/trunk/mcs/; revision=31317
2004-07-20 17:42:16 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier d1177f0843 fixed 59051
svn path=/trunk/mcs/; revision=28117
2004-05-26 02:51:47 +00:00
Gonzalo Paniagua Javier 2068a5adf9 Details...
svn path=/trunk/mcs/; revision=28112
2004-05-26 01:09:55 +00:00
Gonzalo Paniagua Javier 05400a27d7 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs:
	(GetFile): not public, and fixed to really return just the file name.
	(InsertSessionId): ensure that the directory ends with a "/". This
	fixes cookieless sessions.

svn path=/trunk/mcs/; revision=28109
2004-05-26 01:05:43 +00:00
Gonzalo Paniagua Javier 5c8ad0fda3 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: respect trailing slashes. Fixes bug #56802.

svn path=/trunk/mcs/; revision=27323
2004-05-14 00:22:16 +00:00
Gonzalo Paniagua Javier 0dfe2b3696 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: no more ^Ms.

svn path=/trunk/mcs/; revision=27322
2004-05-14 00:16:00 +00:00
Gonzalo Paniagua Javier 020945f624 2004-05-07 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: removed 2 unused files in system.Web.Utils.

	* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpRuntime.cs:
	* System.Web/HttpServerUtility.cs:
	* System.Web/HttpUnhandledException.cs:
	* System.Web.Compilation/CachingCompiler.cs:
	* System.Web.Configuration/AuthenticationConfigHandler.cs:
	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/MachineKeyConfigHandler.cs:
	* System.Web.UI/Page.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/FontInfo.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed TODOs.

	* System.Web.UI/ApplicationFileParser.cs: add file dependencies.
	* System.Web.UI/Control.cs: removed TODOs and some ^M.

	* System.Web.Util/ApacheVersionInfo.cs: removed.
	* System.Web.Util/IISVersionInfo.cs: removed.

svn path=/trunk/mcs/; revision=26947
2004-05-07 20:24:19 +00:00