Commit Graph
51 Commits
Author SHA1 Message Date
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
Gonzalo Paniagua Javier e707ebe894 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: MakeRelative was returning null for virtual paths without
	directory.

svn path=/trunk/mcs/; revision=25918
2004-04-24 03:46:04 +00:00
Gonzalo Paniagua Javier 86aa6c34d5 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources:
	* System.Web.Util/FileAction.cs:
	* System.Web.Util/FileChangeEventHandler.cs:
	* System.Web.Util/FileChangedEventArgs.cs:
	* System.Web.Util/FileChangesMonitor.cs:
	* System.Web.Util/FilePathParser.cs: removed unused/obsolete files.

svn path=/trunk/mcs/; revision=25810
2004-04-22 02:50:28 +00:00
Gonzalo Paniagua Javier 7a98da2455 2004-04-19 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: fixed MakeRelative. nGallery goes one step further.

svn path=/trunk/mcs/; revision=25671
2004-04-18 22:01:21 +00:00
Gonzalo Paniagua Javier 5447d87bd4 forgot this from George's patch
svn path=/trunk/mcs/; revision=24351
2004-03-19 21:33:44 +00:00
Gonzalo Paniagua Javier a8d0b784b0 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: small fix from George Kodinov for Combine when ~ is used.

svn path=/trunk/mcs/; revision=24340
2004-03-19 18:28:19 +00:00
Gonzalo Paniagua Javier e8e268bd79 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: ~ is not always /. Fixed.

svn path=/trunk/mcs/; revision=23208
2004-02-18 14:09:55 +00:00
Gonzalo Paniagua Javier 699158873b 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs:
	(Combine): handle subdirectories and tilde. Fixes bug 54231.

svn path=/trunk/mcs/; revision=23155
2004-02-17 02:48:58 +00:00
Alon Gazit 03e04c7d38 fix little error in GetDirectory().
svn path=/trunk/mcs/; revision=22668
2004-02-01 12:09:26 +00:00
Andreas N c00335d5d6 2004-01-11 Andreas Nahr <[email protected]>
* TransactedCallback.cs:
	* WorkItemCallback.cs:
	* WorkItem.cs:
	* Transactions.cs: Added and stubbed/ implemented

svn path=/trunk/mcs/; revision=21940
2004-01-11 13:54:58 +00:00
Andreas N ebcccebf55 2004-01-11 Andreas Nahr <[email protected]>
* WebEqualComparer.cs:
	* WebHashCodeProvider.cs:
	* FileAction.cs:
	* FileChangeEventHandler.cs:
	* NativeFileChangeEventHandler.cs: Monostyled header, internalized

svn path=/trunk/mcs/; revision=21939
2004-01-11 13:51:38 +00:00
Gonzalo Paniagua Javier 5c91f3bc8c 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: make reduce not to throw an exception for '../'. Fixes
	bug #52599.

svn path=/trunk/mcs/; revision=21860
2004-01-08 23:05:58 +00:00
Alon Gazit e5544bf0e6 undo to the change that i made few hours ago.
the problem is in HyperLink.
sorry for my mistake.

svn path=/trunk/mcs/; revision=21552
2003-12-30 11:49:22 +00:00
Alon Gazit 1e9c997a3d fix typo in IsRelativeUrl().
fix cases when the path is absolute path like "www.go-mono.com".

svn path=/trunk/mcs/; revision=21549
2003-12-30 10:12:16 +00:00
Jackson Harper ad391da46e * UrlUtils.cs: Some methods for working with session ids in
urls.

svn path=/trunk/mcs/; revision=20757
2003-12-04 05:43:27 +00:00
Gonzalo Paniagua Javier 92bf49b0f6 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added WebConfigurationSettings.

	* System.Web/HttpContext.cs: updated GetConfig and GetAppConfig to new
	API.

	* System.Web/HttpResponse.cs: separate initialization of the HttpWriter,
	as it tries to read configuration settings while the config. system is
	not available (ie, before the first request).

	* System.Web/HttpRuntime.cs: delayed queueManager and response writer
	initialization until the configuration system is working.

	* System.Web.Configuration/GlobalizationConfiguration.cs: return null
	when the configuration is not available.

	* System.Web.Util/WebEncoding.cs: use the Default encoding when the
	globalization configuration is not available.

	* System.Web.Configuration/WebConfigurationSettings.cs: handle
	configuration for System.Web. It replaces the default
	IConfigurationSystem with itself and handles web.config files
	oddities.

	* System.Web.UI.WebControls/WebControl.cs: don't create the attributes
	when GetAttribute is called.

svn path=/trunk/mcs/; revision=20681
2003-12-02 04:00:19 +00:00
Gonzalo Paniagua Javier 854682ab6f 2003-12-01 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: don't forget basePath when relative path is not rooted.
	Fixes bug #51522.

svn path=/trunk/mcs/; revision=20641
2003-11-30 23:32:23 +00:00
Gonzalo Paniagua Javier 82619b57c4 2003-11-27 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: fix bug introduced with last change that makes relative
	paths fail. Closes bug #51448.

svn path=/trunk/mcs/; revision=20548
2003-11-27 19:24:34 +00:00
Gonzalo Paniagua Javier c413e40c06 2003-11-27 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: fixed Combine() handling of ~.

svn path=/trunk/mcs/; revision=20516
2003-11-27 04:10:04 +00:00
Jackson Harper bfc36ca5b6 * AltSerialization.cs: Utility methods for optimized
serializing.

svn path=/trunk/mcs/; revision=20436
2003-11-25 21:39:59 +00:00
Jackson Harper cc6bda232c * TimeUtil.cs: Utility methods for dealing with time.
svn path=/trunk/mcs/; revision=19967
2003-11-13 22:34:40 +00:00
Ben Maurer 8d985b1909 2003-11-08 Ben Maurer <[email protected]>
* UrlUtils.cs: new function to do the app mapping, but make
	it return a physical path.

2003-11-08 Ben Maurer  <[email protected]>

	* SiteMap.cs (Init): implement a hack that doesnt need the config
	stuff. Should do that later.
	* SiteMapNodeCollection (OnValidate): Fix recursion.
	* SiteMapProvider.cs: We dont implement some culture stuff work
	around it. Fix typo.
	* XmlSiteMapProvider.cs: Added.

svn path=/trunk/mcs/; revision=19749
2003-11-09 00:48:37 +00:00
Ben Maurer 0fccff8c39 2003-11-07 Ben Maurer <[email protected]>
* IHierarchicalEnumerable.cs:
	* IHierarchyData.cs:
	* INavigateUIData.cs: New v2 interfaces.

2003-11-07 Ben Maurer  <[email protected]>

	* ISiteMapProvider.cs:
	* SiteMap.cs:
	* SiteMapNode.cs:
	* SiteMapNodeCollection.cs:
	* SiteMapProvider.cs:
	* SiteMapProviderCollection.cs: V2 sitemap related stuff.

2003-11-07 Ben Maurer  <[email protected]>

	* UrlUtils.cs: add a new function for mapping app absolute
	paths to virual paths (ie, ~/blah/ to /application/root/blah/)

svn path=/trunk/mcs/; revision=19728
2003-11-08 04:48:47 +00:00
Gonzalo Paniagua Javier 817a717054 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpUtility.cs:
	* System.Web/HttpValueCollection.cs: encoding fixes/updates.

	* System.Web/HttpWriter.cs: when updating the encoding, flush the
	existing stream. Encoding updates.

	* System.Web.Compilation/AspGenerator.cs: use fileEncoding from
	configuration files.

	* System.Web.Compilation/PageCompiler.cs: add assign statements for
	ContentType, ResponseEncoding and CodePage if supplied.

	* System.Web.Configuration/GlobalizationConfiguration.cs: added
	GetInstance method.

	* System.Web.Configuration/GlobalizationConfigurationHandler.cs: warn
	about unsupported encodings and provide reasonable defaults.

	* System.Web.Security/FormsAuthentication.cs: encoding updates.
	* System.Web.UI/LosFormatter.cs: encoding updates.
	* System.Web.UI/Page.cs: implemented CodePage and ContentType.
	* System.Web.UI/PageParser.cs: handle CodePage, ContentEncoding and
	ResponseEncoding attributes.

	* System.Web.Util/WebEncoding.cs: added properties to access
	configuration files encoding.

svn path=/trunk/mcs/; revision=19641
2003-11-05 07:49:02 +00:00
Gonzalo Paniagua Javier 7ab1b6af3b 2003-08-29 Gonzalo Paniagua Javier <[email protected]>
* ICalls.cs: holds a couple of icalls.

svn path=/trunk/mcs/; revision=17718
2003-08-29 04:46:20 +00:00
Gonzalo Paniagua Javier c5d0c4f249 2003-08-27 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: when the request is completed or an
	error happens, execute all the delegates attached to EndRequest, not
	only the last one. This makes xsp/test/authtest work again.

	* System.Web/HttpMethodNotAllowedHandler.cs: fixed description for http
	status code.

	* System.Web.Security/UrlAuthorizationModule.cs: fixed description for
	status code.

	* System.Web.Util/UrlUtils.cs: made Reduce work when a "/" is passed.

svn path=/trunk/mcs/; revision=17655
2003-08-27 08:12:52 +00:00
Gonzalo Paniagua Javier bdb911a7f2 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/BaseParser.cs: fixed MapPath for non-rooted files.
	* System.Web.UI/PageParser.cs: don't pass a non-virtual file around.
	* System.Web.UI/TemplateControlParser.cs: InputFile uses MapPath now.
	Take care of the exception teh may be throw by MapPath on an invalid
	path.

	* System.Web.UI/TemplateParser.cs: removed unused method.
	* System.Web.UI/UserControlParser.cs: modified inputfile. The result is
	the same, but this one is better.
	* System.Web.Util/UrlUtils.cs: fixed Combine and reworked Reduce.

svn path=/trunk/mcs/; revision=14566
2003-05-14 09:07:11 +00:00
Gonzalo Paniagua Javier e802a8cdd9 2003-03-18 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: little fix in Combine ().

svn path=/trunk/mcs/; revision=12642
2003-03-18 01:48:25 +00:00
Gonzalo Paniagua Javier 50b945fca5 2003-01-29 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: added BaseVirtualDir property and use it
	in MapPath.

	* System.Web.UI.HtmlControls/HtmlControl.cs: _tagName is now internal.
	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: use the field in
	HtmlControl to keep the tag name.

	* System.Web.Util/UrlUtils.cs: fixed Combine ().

svn path=/trunk/mcs/; revision=11027
2003-01-29 19:16:39 +00:00
Gonzalo Paniagua Javier 8e35e3a7b9 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpCookie.cs: send 'expires' in the header.
	* System.Web.Security/FormsAuthenticationModule.cs: remove debug lines.
	* System.Web.UI/BaseParser.cs: a couple of path fixes to make it work
	when the page is not in the root directory.
	* System.Web.Util/UrlUtils.cs: fixed IsRelativeUrl and IsRootUrl.

svn path=/trunk/mcs/; revision=9797
2002-12-20 13:49:48 +00:00
Gonzalo Paniagua Javier 8e91ed0203 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplicationFactory.cs: add the context as parameter
	when building the application Type.

	* System.Web/HttpCookie.cs: new internal constructor.
	* System.Web/HttpCookieCollection.cs: new internal method to make a
	cookie expire.

	* System.Web/HttpRequest.cs: MapPath fixes.
	* System.Web/HttpResponse.cs: implemented ApplyAppPathModifier.
	* System.Web/HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
	* System.Web.Compilation/AspGenerator.cs: now it uses the current
	HttpContext when creating user controls. TemplateSourceDirectory is no
	longer a dummy value.

	* System.Web.Compilation/GlobalAsaxCompiler.cs:
	* System.Web.Compilation/PageCompiler.cs:
	* System.Web.Compilation/UserControlCompiler.cs: set the context which
	will be used to locate the files.

	* System.Web.UI/BaseParser.cs: use MapPath and context to locate files.
	* System.Web.UI/Control.cs: implemented MapPathSecure.
	* System.Web.UI/TemplateControl.cs: use UrlUtils to generate the path.
	* System.Web.UI/TemplateControlParser.cs: use the context and MapPath.
	* System.Web.UI/UserControl.cs: implemented MapPath.
	* System.Web.UI/UserControlParser.cs: added context parameter to
	constructor.
	* System.Web.Util/PathUtil.cs: removed.
	* System.Web.Util/UrlUtils.cs: fixed Combine to handle '~'.

svn path=/trunk/mcs/; revision=9737
2002-12-18 02:17:17 +00:00
Gonzalo Paniagua Javier 43d7f24f1c 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
* list: Modified file.
	* System.Web/HttpRuntime.cs: avoid nulls and exception when getting
	resource format strings.

	* System.Web/StaticFileHandler.cs: added file name to error message.
	* System.Web.Compilation/AspElements.cs: new method Tag.GetElements
	used to parse the inner contents of a tag looking for data binding or
	code render tags.

	New property HtmlControlTag.ParseChildren allows
	differentiation of a couple of HtmlControls that has children as
	properties (namely HtmlTable and HtmlTableRow).

	* System.Web.Compilation/AspGenerator.cs: fixed container semantics to
	match BindingContainer one. Implemented Inherits attribute for page and
	control.

	Support HtmlControls that has ChildrenAsProperties.

	Generate code for data binding functions that matches the semantic of
	Container.

	Handle data bound and code render attribute values.

	Set proper value return for TemplateSourceDirectory. Should be relative
	to appPath.

	* System.Web.Compilation/BaseCompiler.cs: moved CompilerOptions and
	References handling here.

	* System.Web.Compilation/CachingCompiler.cs: copy result of compilation.

	* System.Web.Compilation/CompilationException.cs: simple ToString ()
	implementation.

	* System.Web.Compilation/CompilationResult.cs: implemented CopyFrom and
	ToString.

	* System.Web.Compilation/GlobalAsaxCompiler.cs:
	* System.Web.Compilation/PageCompiler.cs:
	* System.Web.Compilation/UserControlCompiler.cs: removed
	CompilerOptions as it's now handled in the base class. Get all the
	types in the generated assembly and look for one that derives from
	the correct Type.

	* System.Web.UI/Control.cs: implemented TemplateSourceDirectory.
	* System.Web.UI/TemplateControl.cs: implemented LoadControl and
	LoadTemplate.

	* System.Web.Util/PathUtil.cs: some path handling methods that are not
	available in Path.

svn path=/trunk/mcs/; revision=9583
2002-12-12 03:20:19 +00:00
Gaurav Vaish a834749015 2002-10-28 Gaurav Vaish <[email protected]>
* DataSourceHelper.cs       : Fresh implementation. Moved from
                      System.Web.UI.WebControls.DataGrid
                      ::ResolveData(object, string).

svn path=/trunk/mcs/; revision=8612
2002-10-28 07:44:38 +00:00
Gonzalo Paniagua Javier 095823b134 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
* list: added WebEncoding.cs

	* System.Web/HttpApplication.cs: reenabled a few lines of code
	(ThreadPool already fixed).

	* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpUtility.cs:
	* System.Web/HttpValueCollection.cs:
	* System.Web/HttpWriter.cs:
	* System.Web.UI/LosFormatter.cs:
	Use WebEncoding.Encoding.

	* System.Web.Compilation/PageCompiler.cs: tracing.
	* System.Web.Compilation/TemplateFactory.cs: cache compiled types and
	tracing.
	* System.Web.Compilation/WebServiceCompiler.cs: new parameter in
	GetTypeFromsource,
	* System.Web.Configuration/HttpHandlersSectionHandler.cs: more null
	checks.

	* System.Web.UI/Control.cs:
	* System.Web.UI/Page.cs:
	* System.Web.Util/WebTrace.cs: fixed namespace.

	* System.Web.Util/WebEncoding.cs: new class that holds the default
	encoding for System.Web.

svn path=/trunk/mcs/; revision=8599
2002-10-27 19:55:28 +00:00
Gonzalo Paniagua Javier 740c71cc31 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* System.Web.build: added options (commented out) to activate tracing.

	* System.Web/HttpResponse.cs: don't throw exception in a couple of
	methods not yet implemented.

	* System.Web.Compilation/AspComponentFoundry.cs: fixed typo.

	* System.Web.Compilation/AspGenerator.cs: don't use FileDependencies
	property of base class.

	* System.Web.Compilation/TemplateFactory.cs: use csc style options.

	* System.Web.UI/Page.cs: set the context in ProcessRequest. Added a
	few trace calls.
	* System.Web.UI/Control.cs: added some trace information.

svn path=/trunk/mcs/; revision=8527
2002-10-24 21:47:31 +00:00
Gonzalo Paniagua Javier a3d9d0e4d5 *** empty log message ***
svn path=/trunk/mcs/; revision=7042
2002-08-26 00:59:16 +00:00