Commit Graph
5338 Commits
Author SHA1 Message Date
Marek Habersack 88e2a12848 public only for 2.0
svn path=/trunk/mcs/; revision=104852
2008-06-04 11:25:32 +00:00
Marek Habersack ff4093843b 2008-06-04 Marek Habersack <[email protected]>
* PageHandlerFactory.cs: this class should be public. Fixes bug
	#396707

svn path=/trunk/mcs/; revision=104845
2008-06-04 10:03:10 +00:00
Marek Safar 6135152def Removed MonoTODO fixed by miguel
svn path=/trunk/mcs/; revision=104739
2008-06-03 08:33:55 +00:00
Miguel de Icaza 1fee228921 2008-06-02 Miguel de Icaza <[email protected]>
* HttpRuntime.cs: Thanks to Christian Hergert for finding this
	one.  

	Do not throw NIEX on IsOnUNCShare, instead compute the value. 

svn path=/trunk/mcs/; revision=104728
2008-06-02 22:46:31 +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
Marek Habersack cf49b7dc9a unbreak the 1.x build
svn path=/trunk/mcs/; revision=104344
2008-05-28 23:06:15 +00:00
Marek Habersack 99cdf04336 2008-05-22 Marek Habersack <[email protected]>
* WebConfigurationHost.cs: changed CreateDeprecatedConfigContext
        to return a new HttpContext object. This is part of a fix for bug 
        #325128. Patch contributed by James Fitzsimons <[email protected]>,
        thanks!

svn path=/trunk/mcs/; revision=104332
2008-05-28 21:23:54 +00:00
Marek Habersack abb3087f1e 2008-05-18 Marek Habersack <[email protected]>
* HierarchicalDataBoundControl.cs: Modified GetData method to check if
	DataSource implements IHierarchicalEnumerable and if so constructs and
	returns a new instance of ReadOnlyDataSourceView. This provides functional
	compatibility with the Microsoft.NET framework. Fixes bug
	#395209. Patch contributed by James Fitzsimons
	<[email protected]>, thanks!

2008-05-18  Marek Habersack  <[email protected]>

	* HierarchicalDataBoundControlTest.cs: Added 
	TestIHierarchicalEnumerableDataSource to test change made to
	GetData method to make functionally compatibile with Microsoft.NET
	framework. Patch contributed by James Fitzsimons
	<[email protected]>, thanks!

2008-05-28  Marek Habersack  <[email protected]>

	* ReadOnlyDataSourceView.cs: added. Patch contributed by James
	Fitzsimons <[email protected]>, thanks!

svn path=/trunk/mcs/; revision=104329
2008-05-28 21:07:04 +00:00
Marek Habersack f0d27ade04 2008-05-28 Marek Habersack <[email protected]>
* TemplateParser.cs: added support for #pragma checksum

2008-05-28  Marek Habersack  <[email protected]>

	* AspParser.cs, AspGenerator.cs, BaseCompiler.cs: added support
	for #pragma checksum

svn path=/trunk/mcs/; revision=104321
2008-05-28 19:42:06 +00:00
Noam Lampert 5a43e30bfa Remove all vmwcproj files from old Grasshopper version
svn path=/trunk/mcs/; revision=104227
2008-05-28 09:28:24 +00:00
Marek Habersack 8681536fff 2008-05-23 Marek Habersack <[email protected]>
* Cache.cs: optimize lock usage

2008-05-23  Marek Habersack  <[email protected]>

	* SessionInProcHandler.cs, RemoteStateServer.cs: update for
	internal API change in System.Web.Caching.Cache.

svn path=/trunk/mcs/; revision=103946
2008-05-23 19:16:43 +00:00
Marek Habersack 2bdd5b5f38 Do not parse code render directives inside comments.
svn path=/trunk/mcs/; revision=103543
2008-05-20 02:20:29 +00:00
Marek Habersack 3e6717fd19 Remove stray cwl
svn path=/trunk/mcs/; revision=103542
2008-05-20 01:46:00 +00:00
Marek Habersack d807258f66 2008-05-19 Marek Habersack <[email protected]>
* AspGenerator.cs: if the last tag parsed was a code directive,
	ignore any accumulated text if it's 100% whitespace.

svn path=/trunk/mcs/; revision=103541
2008-05-20 01:43:28 +00:00
Juraj Skripsky 3aab989836 2008-05-19 Juraj Skripsky <[email protected]>
* Page.cs (ValidateCollection): Don't check _eventValidation, it
	has nothing to do with the validators.


svn path=/trunk/mcs/; revision=103485
2008-05-19 15:57:38 +00:00
Noam Lampert 642cd1a313 HttpServerUtility.cs: Fix bug in UrlPathEncode when URL contains '?'
svn path=/trunk/mcs/; revision=103449
2008-05-19 07:11:40 +00:00
Marek Habersack dcd27f5983 2008-05-16 Marek Habersack <[email protected]>
* StateManagedCollection.cs: make {Save,Load}ViewState simpler.

svn path=/trunk/mcs/; revision=103353
2008-05-16 17:20:49 +00:00
Marek Habersack f60e51b6be 2008-05-15 Marek Habersack <[email protected]>
* StateManagedCollection.cs: do not query for index of an item in
	a null array.

svn path=/trunk/mcs/; revision=103302
2008-05-15 16:54:44 +00:00
Marek Habersack a366e3b759 2008-05-15 Marek Habersack <[email protected]>
* AspComponentFoundry.cs: treat AssemblyFoundry in a special way
	when adding a foundry to the array list. AssemblyFoundry instances
	are stacked at the end of the array list in a LIFO manner. That
	way TagNameFoundry takes precedence over AssemblyFoundry should
	the two contain the same type.

2008-05-14  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: do not add the same entry to a
	hashtable twice



svn path=/trunk/mcs/; revision=103243
2008-05-15 01:32:36 +00:00
Gert Driesen 58558260a2 * VirtualPathProvider.cs: Removed debug code.
svn path=/trunk/mcs/; revision=103127
2008-05-13 19:23:30 +00:00
Noam Lampert 0afdc3b108 2008-05-12 Noam Lampert <[email protected]>
* HttpApplication.cs: Fix regressions introduced by latest commit


svn path=/trunk/mcs/; revision=102997
2008-05-12 12:45:51 +00:00
Gonzalo Paniagua Javier 8a40c92c47 2008-05-07 Gonzalo Panigua Javier <[email protected]>
* HttpApplication.cs: create a fake context while loading the
	modules on the first request so that the modules don't mess up
	with the actual output of that request.


svn path=/trunk/mcs/; revision=102912
2008-05-10 04:25:25 +00:00
Marek Habersack ad4aa6d3d9 2008-05-07 Marek Habersack <[email protected]>
* RolePrincipal.cs: fix:
		- Reloading the roles cache from the provider when expired
		- Update issue & expiry date for expired tickets
		- Incrementing the cookie expiry date
		- Obey Roles.MaxCachedResults
	  Fixes bug #385877. Patch from Ivan Hamilton
		<[email protected]>, thanks!

svn path=/trunk/mcs/; revision=102737
2008-05-07 16:19:05 +00:00
Marek Habersack 85aed1f1f8 fixlet for the last commit
svn path=/trunk/mcs/; revision=102730
2008-05-07 14:54:32 +00:00
Marek Habersack 480a1be6f7 2008-05-07 Marek Habersack <[email protected]>
* TemplateParser.cs: added a stack of include directories, to
	properly resolve file relative paths when the #include file=""
	directive is used. Fixes bug #324536

2008-05-07  Marek Habersack  <[email protected]>

	* AspGenerator.cs: push the include file directory to the parser
	include directory stack and pop it after parsing the include, so
	that the relative file paths are resolved correctly. Fixes bug
	#324536

svn path=/trunk/mcs/; revision=102729
2008-05-07 14:48:46 +00:00
Marek Habersack 45c7ce9c7b 2008-05-07 Marek Habersack <[email protected]>
* RoleManagerSection.cs: use type converter when creating the
	cookieTimeout property in the static constructor. Fixes bug
	#387526. Patch fromIvan Hamilton <[email protected]>, thanks!

svn path=/trunk/mcs/; revision=102724
2008-05-07 13:46:13 +00:00
Marek Habersack a139c305c4 2008-05-07 Marek Habersack <[email protected]>
* HttpRequest.cs: StripPath should handle UNC paths too. Fixes bug
	#385870. Patch from Ivan Hamilton <[email protected]>,
	thanks!

svn path=/trunk/mcs/; revision=102679
2008-05-06 23:05:10 +00:00
Marek Habersack 53bbfca186 2008-05-06 Marek Habersack <[email protected]>
* MimeTypes.cs: mime type keys might not exist in the dictionary,
	in the 2.0 profile. Patch from Rolf Kvinge <[email protected]>
	and Jean-Baptiste Evain <[email protected]>, thanks! Fixes bug
	#386008

svn path=/trunk/mcs/; revision=102577
2008-05-06 00:19:57 +00:00
Marek Habersack 001579d033 2008-05-06 Marek Habersack <[email protected]>
* Calendar.cs: do not create dateInfo in the constructor - culture
	might be not set yet at this point. Fixes bug #323566
	Added a private property, DateInfo, which creates the dateInfo
	when requested.

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

	* TemplateControlCompiler.cs: compatibility - added the
	__stringResource static field to the generated class and a call to
	SetStringResourcePointer to the FrameworkInitialize method.

	* PageCompiler.cs: __fileDependencies should also be defined in
	the 1.x profile.
	Page properties assigned in the page directive should be set
	inside BuildControlTree in the 2.0 profile.


svn path=/trunk/mcs/; revision=102573
2008-05-05 23:38:47 +00:00
Sebastien Pouliot 5df7ecd9bd 2008-05-05 Sebastien Pouliot <[email protected]>
* BulletedList.cs: Avoid calling ToString on a string.
	* ButtonField.cs: Throw, not just create, the exceptions. 
	* HyperLinkField.cs: Throw, not just create, the exceptions. 
	* ImageField.cs: Throw, not just create, the exception. Avoid calling
	ToString on a string.
	* ListControl.cs: Avoid calling ToString on a string.
	[All issues were found using Gendarme]


svn path=/trunk/mcs/; revision=102571
2008-05-05 22:51:12 +00:00
Igor Zelmanovich 844e4644e7 2008-05-05 Igor Zelmanovich <[email protected]>
* HiddenFieldPageStatePersister.cs: add TARGET_J2EE def
	* Page.cs: remove TARGET_J2EE def
	* Page.jvm.cs: add new internal api such PageState and FacesContext.
	all those changes make PageAdapter works with JSF under TARGET_J2EE.		


svn path=/trunk/mcs/; revision=102513
2008-05-05 11:53:39 +00:00
Igor Zelmanovich 43f7291a5f avoid NullReferenceException
svn path=/trunk/mcs/; revision=102507
2008-05-05 09:31:41 +00:00
Igor Zelmanovich 073dc4365f add TARGET_J2EE def
svn path=/trunk/mcs/; revision=102501
2008-05-05 08:08:55 +00:00
Igor Zelmanovich 0d8e7654c7 2008-05-04 Igor Zelmanovich <[email protected]>
* HtmlInputButtonTest.cs: use HtmlDiff properly.

svn path=/trunk/mcs/; revision=102467
2008-05-04 14:53:55 +00:00
Igor Zelmanovich 62ee5910fa 2008-05-04 Igor Zelmanovich <[email protected]>
* WebControlTest.cs: make tests compatible with Windows
	by considering end of lines chars.	 


svn path=/trunk/mcs/; revision=102465
2008-05-04 14:06:11 +00:00
Igor Zelmanovich 483695f84a add PageWithAdapter.aspx to the project
svn path=/trunk/mcs/; revision=102464
2008-05-04 12:57:59 +00:00
Igor Zelmanovich fcd1b0a986 switch to port 8080
svn path=/trunk/mcs/; revision=102463
2008-05-04 12:30:26 +00:00
Marek Habersack d6bf296a34 2008-04-30 Marek Habersack <[email protected]>
* HttpApplication.cs: when the Start method is called in a new
	thread, the thread's culture and ui culture are set to their
	defaults, thus ignoring whatever their values were in the parent
	thread. This is now fixed by passing an array containing the
	culture values to the Start method, so that the new thread can be
	properly initialized. Fixes bug #323566

svn path=/trunk/mcs/; revision=102251
2008-04-30 21:44:40 +00:00
Marek Habersack 2b863d3c26 2008-04-30 Marek Habersack <[email protected]>
* SiteMapNode.cs: the implicitResourceKey parameter to one of the
	constructors sets the value of the ResourceKey property.
	GetImplicitResourceString uses the provider's ResourceKey as the
	global resource object key and the node's ResourceKey to construct
	the resource name. Fixes bug #323994
	ResourceKey setter throws an InvalidOperationException now, when
	the node is read-only.

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

	* SiteMapDataSource.cs: when no starting node is found, return
	null instead of Provider.RootNode. Fixes bug #323994



svn path=/trunk/mcs/; revision=102197
2008-04-30 12:39:18 +00:00
Marek Habersack bee5c455c0 2008-04-29 Marek Habersack <[email protected]>
* WebConfigurationSettings.cs: if path mapping fails in
	GetConfigFromFileName, fall back to the application's physical
	directory.

2008-04-29  Marek Habersack  <[email protected]>

	* HttpException.cs: safe guard against context being null in
	GetHtmlErrorMessage.

2008-04-29  Marek Habersack  <[email protected]>

	* WebServiceCompiler.cs: if compiling a body-less web service, try
	to load the class type from the loaded assemblies before
	attempting to find it in the assemblies on disk.

svn path=/trunk/mcs/; revision=102127
2008-04-29 14:48:26 +00:00
Marek Habersack 3a0d0f25ee 2008-04-28 Marek Habersack <[email protected]>
* BuildManager.cs: ignore bad assemblies in the bin/
	directory. Fixes bug #315816

svn path=/trunk/mcs/; revision=102035
2008-04-28 13:46:04 +00:00
Marek Habersack b92349a289 2008-04-28 Marek Habersack <[email protected]>
* 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
2008-04-28 13:35:02 +00:00
Jb Evain 5d7b3a3eee avoid creation of an array
svn path=/trunk/mcs/; revision=101950
2008-04-26 20:28:21 +00:00
Marek Habersack cf7acfe771 2008-04-26 Marek Habersack <[email protected]>
* GenericBuildProvider.cs: the Parse () method should reuse the
        previously opened TextReader when calling generator.Parse (), to
        avoid opening the input file multiple times. Fixes bug #383881

2008-04-26  Marek Habersack  <[email protected]>

        * VirtualPath.cs: added a new property, PhysicalPath.


svn path=/trunk/mcs/; revision=101897
2008-04-26 00:37:41 +00:00
Marek Habersack 4f33f6242d 2008-04-25 Marek Habersack <[email protected]>
* AspGenerator.cs: put some safeguards in, to make sure streams
	are closed in any case.

svn path=/trunk/mcs/; revision=101888
2008-04-25 22:01:59 +00:00
Gert Driesen 6b75d96c33 * HttpResponse.cs: Use double quotes in link to match MS.
svn path=/trunk/mcs/; revision=101812
2008-04-25 13:49:02 +00:00
Marek Habersack 9dfcc5b0f6 2008-04-25 Marek Habersack <[email protected]>
Revert the change in revision 100273 - the real bug was in a
	different overload of RewritePath, fixed with the commit for the
	above bug #383652

svn path=/trunk/mcs/; revision=101787
2008-04-25 11:02:51 +00:00
Marek Habersack 9919cc29d8 2008-04-25 Marek Habersack <[email protected]>
* HttpApplication.cs: use Request.CurrentExecutionFilePath when
	querying for the handler. Makes requests work if request path was
	rewritten without modifying the FilePath. Fixes bug #383652

	* HttpContext.cs: set Request.FilePath in RewritePath only if
	setClientFilePath is true. Fixes bug #383652

svn path=/trunk/mcs/; revision=101785
2008-04-25 10:51:59 +00:00
Marek Habersack 579e1c75e5 Forgotten changelog
svn path=/trunk/mcs/; revision=101724
2008-04-24 18:27:44 +00:00
Marek Habersack 1fc8de2b7e 2008-04-24 Marek Habersack <[email protected]>
* SqlDataSource.cs: raise the DataSourceChangedEvent when setting
	ConnectionString, ProviderName or DataSourceMode properties only
	when the new value differs from the old one. Fixes bug #359392

svn path=/trunk/mcs/; revision=101679
2008-04-24 14:39:23 +00:00