Commit Graph
115 Commits
Author SHA1 Message Date
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
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