Commit Graph
127 Commits
Author SHA1 Message Date
Chris Toshok 28685b1020 move many 2.0-only classes into System.Web.Configuration_2.0
svn path=/trunk/mcs/; revision=52421
2005-10-31 21:03:10 +00:00
Chris Toshok 25a65a1755 start populating the new System.Web.Configuration_2.0 dir
svn path=/trunk/mcs/; revision=52416
2005-10-31 18:56:39 +00:00
Chris Toshok 32955b7f6f 2005-10-31 Chris Toshok <[email protected]>
* IRemoteWebConfigurationHostServer.cs: fix interface.


svn path=/trunk/mcs/; revision=52415
2005-10-31 18:48:16 +00:00
Atsushi Eno 1a9cb8cb28 2005-10-29 Atsushi Enomoto <[email protected]>
* GlobalizationConfigurationHandler.cs : we don't use ICU.


svn path=/trunk/mcs/; revision=52374
2005-10-29 08:52:39 +00:00
Gonzalo Paniagua Javier bc1d078c0f 2005-10-24 Gonzalo Paniagua Javier <[email protected]>
* HandlerFactoryConfiguration.cs: when using regex matching, pass the
	original full virtual path, not just the file name. The regex matches
	the end of the path. Fixes bug #76536.


svn path=/trunk/mcs/; revision=52154
2005-10-24 21:58:31 +00:00
Gert Driesen 3f3bceed39 * WebConfigurationHost.cs: Added stubs for missing implementation
of IInternalConfigHost to fix build for 2.0 profile.

svn path=/trunk/mcs/; revision=51460
2005-10-08 09:41:12 +00:00
Gonzalo Paniagua Javier 6997e31c04 add missing class
svn path=/trunk/mcs/; revision=51230
2005-10-05 04:40:40 +00:00
Chris Toshok 038aad65df 2005-09-23 Chris Toshok <[email protected]>
* ExpressionBuilderCollection.cs: track change to
	System.Configuration.ConfigurationPropertyOptions.


svn path=/trunk/mcs/; revision=50600
2005-09-23 18:00:56 +00:00
Gonzalo Paniagua Javier 99cd48aac1 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
* PagesConfiguration.cs: on error return a default instance instead
	of null.


svn path=/trunk/mcs/; revision=50565
2005-09-23 09:31:03 +00:00
Chris Toshok eddcb59431 2005-09-22 Chris Toshok <[email protected]>
* PositiveTimeSpanValidator.cs: move this from
	System.Configuration to here.


svn path=/trunk/mcs/; revision=50514
2005-09-22 17:08:12 +00:00
Sebastien Pouliot ce95d3e52e 2005-09-15 Sebastien Pouliot <[email protected]>
* CompilationConfiguration.cs: Return an empty configuration object if
	no HttpContext is available. This is required for the unit tests and
	match the results of MS 1.1 and 2.0 (beta2).


svn path=/trunk/mcs/; revision=50106
2005-09-15 21:09:19 +00:00
Sebastien Pouliot 5a49d77ce3 2005-08-24 Sebastien Pouliot <[email protected]>
* AdapterDictionary.cs: Added missing IDeserializationCallback.
	* AuthorizationRuleAction.cs: Fixed enum values.
	* BuildProvider.cs: Class is sealed. Removed empty constructor.
	* BuildProviderCollection.cs: Adapted to BuildProvider ctor changes.
	* CodeSubDirectory.cs: Added missing constructor.
	* CodeSubDirectoriesCollection.cs: Adapted to 
	CodeSubDirectoriesCollection ctor changes.
	* CustomErrorsMode.cs: Fixed enum values.
	* FormsAuthenticationConfiguration.cs: Class is sealed.
	* HttpCapabilitiesBase.cs: Added security permissions with Minimal 
	level for AspNetHostingPermission (both Link and Inheritance demands).
	* ProcessModelComAuthenticationLevel.cs: Fixed enum values.
	* ProcessModelComImpersonationLevel.cs: Fixed enum values.
	* ProcessModelLogLevel.cs: Fixed enum values.
	* WebApplicationLevel.cs: New enum for 2.0.


svn path=/trunk/mcs/; revision=49355
2005-09-02 15:48:41 +00:00
Gonzalo Paniagua Javier 0c1270f07e 2005-08-31 Gonzalo Paniagua Javier <[email protected]>
* System.Web/BrowserCapabilities.cs: removed extra 'using'.

	* System.Web/HttpApplication.cs: use just the 'modcoll' to hold the
	collection of modules instead of having a separate 'modules' one.

	* System.Web.Configuration/ModulesConfiguration.cs: LoadModules creates
	a HttpModuleCollection, initializes the module instances and fills in
	the collection.


svn path=/trunk/mcs/; revision=49158
2005-08-31 04:25:34 +00:00
Gonzalo Paniagua Javier e867b56516 2005-08-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: clone the module collection so that
	it's not shared between HttpApplications. Call GetHandler() in the
	right place.

	* System.Web.SessionState/SessionStateModule.cs: added lock around
	'config'.
	* System.Web.SessionState/SessionInProcHandler.cs: when inserting in
	the the session in the Cache, use sliding expiration only.

	* System.Web.Configuration/ModulesConfiguration.cs: add Clone (ugly).


svn path=/trunk/mcs/; revision=49157
2005-08-30 23:01:49 +00:00
Miguel de Icaza bb9f390ea1 Use partial classes so we can share the code despite the code moving
from one class to another in 1.x to 2.x

2005-08-30  Miguel de Icaza  <[email protected]>

	* HttpCapabilitiesBase.cs: Make partial to pull the implementation
	from another class.

2005-08-30  Miguel de Icaza  <[email protected]>

	* BrowserCapabilities.cs: Move the core of the capabilities into a
	separate file.  Use partial classes to choose what version to
	compile against.

	* HttpBrowserCapabilities.cs: Update to move the code elsewhere.



svn path=/trunk/mcs/; revision=49155
2005-08-30 22:35:31 +00:00
Gonzalo Paniagua Javier 681cc25234 2005-08-29 Gonzalo Paniagua Javier <[email protected]>
* HandlerFactoryConfiguration.cs: fix path matching so that
	/xxx/WebResource.axd works. If we're going to match using a regexp,
	generate it in the constructor, not on every request.


svn path=/trunk/mcs/; revision=49061
2005-08-29 12:44:21 +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
Miguel de Icaza 831453f37a Add
svn path=/trunk/mcs/; revision=48931
2005-08-26 22:38:23 +00:00
Gonzalo Paniagua Javier 7873a0906d Add
svn path=/trunk/mcs/; revision=48930
2005-08-26 22:35:58 +00:00
Gonzalo Paniagua Javier 321cb7ad7b add
svn path=/trunk/mcs/; revision=48925
2005-08-26 22:31:07 +00:00
Miguel de Icaza d0f759d963 2005-07-27 Miguel de Icaza <[email protected]>
* SimpleWorkerRequestTest.cs: Do not use the "/tmp" directory as
	that makes the tests fail if we create a hosted
	SimpleWorkerRequest.

	Instead use the current directory, and before starting up, create
	a bin directory and copy the assembly there to allow us to create
	a host.

	Also, replicate the tests for when we are hosted in a new
	appdomain, as "MapPath" does work in this case.  When running
	SimpleWorkerRequest on the main domain MapPath always returns
	null. 

2005-07-12  Miguel de Icaza  <[email protected]>

	* UnitTest.cs: Update test suite.

2005-07-07  Miguel de Icaza  <[email protected]>

	* XmlTest.cs: Added test.  

2005-07-07  Miguel de Icaza  <[email protected]>

	* LabelTest.cs: Add test.

2005-07-06  Miguel de Icaza  <[email protected]>

	* FontUnitTest.cs: New unit tests.

	* UnitTest.cs: Add support for different cultures and the Decimal
	separator,
	
	* UnitTest.cs: Add tests for null and "" arguments to Parse and
	Unit(string) which produce IsEmpty units. 

	* UnitTest.cs: Fresh file with tests.

2005-07-30  Miguel de Icaza  <[email protected]>

	* OutputCacheModule.cs: Make synchronous.

2005-08-15  Miguel de Icaza  <[email protected]>

	* HttpApplication.cs: Update comments

	* HttpPostedFile.cs: Use a substream to read from the uploaded
	multiparts. 

	* HttpRequest.cs: use new code to read the uploaded files.

2005-08-12  Miguel de Icaza  <[email protected]>

	2.x API fixage and small additions:
	
	* HttpResponse.cs: Make constructor internal.

	* HttpRequest.cs (IsLocal): Expose if NET_2.x

	* HttpContext.cs: Remove internal routine.

	* HttpApplication.cs: Add 2.x events. 

	* HttpRequest.cs: Another iFolder issue: I was not setting up the
	uri_builder here.

	Fixes to get iFolder to work:
	
	* HttpApplicationFactory.cs: Set the context when we are initting
	the application.

	* HttpApplication.cs (SetContext): helper routine. 

	* HttpResponse.cs: Implement the various cache operations:n
	Expires, ExpiresAbsolute, CacheControl.

	Actually produce the Cache-Control header, the "Cache" property
	takes precedence over the compatibility settings (Expires,
	ExpiresAbsolutely and CacheControl). 

	* HttpCachePolicy.cs: Fix style.

	Fix the generation of the headers, use lower-case values, do not
	add the max-value if the value is zero.  

	Allow for all possible values in SetCacheability. 

	* HttpRuntime.cs (ClrInstallDirectory): Implement.

	* HttpResponseStream.cs: Remove debugging stuff. 

2005-08-11  Miguel de Icaza  <[email protected]>

	Big chunked handling rewrite, and integration of Ben's unmanaged
	output stream.

	* HttpWriter.cs: Delegate chunked encoding writing to the
	HttpResponse. 

	* HttpResponse.cs: Rework the chunked encoding system, centralize
	it all. 

	* HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
	buffers code. 

	Changed the way that we handle chunked encoding, centralize it
	all;  

	Remove a lot of manual handling of buffering turned off, and
	instead delegate it all to Flush, fixes several issues with the
	new framework.

	* HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
	Provide a default implementation since currently XSP does not have
	this method implemented. 

2005-08-10  Miguel de Icaza  <[email protected]>

	* ServerVariablesCollection.cs: For Ben.  Implement the header
	fetching here, do not implement it in HttpRequest.cs.

2005-08-09  Miguel de Icaza  <[email protected]>

	* HttpRuntime.cs (AspInstallDirectory): Implement.

2005-08-04  Miguel de Icaza  <[email protected]>

	* HttpApplicationFactory.cs: Change "Start" event like the "End"
	event, and only do this once, when we init the type.

	Fire the "Application_Start" event after we create the type.

2005-08-02  Miguel de Icaza  <[email protected]>

	* HttpResponse.cs: Stub for TransmitFile.

	* HttpRequest.cs (IsAuthenticated): Implement.

2005-08-01  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs: Cope with implementations of HttpWorkerRequest
	(unpatched xsp) that do not send back the PreloadedEntityBody. 

	* HttpApplication.cs: keep track of the factory. 
	(Dispose): Only dispose once, clean up other variables, release
	the ManualResetEvent.
	Release the handler to the factory.

	* HttpApplicationFactory.cs: Implement a stack to reuse the
	applications. 

	* HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
	a 411.

	* HttpRuntime.cs: Recycle the application after using it.

	* HttpPostedFile.cs: Implement SaveAs.

	* HttpContext.cs: Return the "Server" property.

2005-08-01  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs (Cookies, Forms): Add validation.
	(Forms): Add application/x-www-form-urlencoded parsing and
	multipart/form-data parsing.
	
	(HttpMultiPart): Implement new class to load multi-part data from
	a stream since there is no longer a byte [] that holds the data
	(currently we have an unmanaged IntPtr buffer wrapped as a
	stream).  Also the 2.x framework will add support for large
	uploads which are sent directly to disk, which will require the
	FileStream interface. 
	
	(Path, PathInfo): Fill a couple more methods to avoid crashes.

	* HttpContext.cs: Fill another one to get web services summary
	page painting.  The page does not work though.
	
	* HttpApplication.cs: Rework the pipeline to not depend on
	`finally', as `finally' would not be invoked if we choose not to
	call the pipeline again (which happens if the `stop' variable is
	set). 

	Instead force the pipeline to go to the shutdown, and yield from
	there after all the release-state callbacks have been invoked. 

2005-07-31  Miguel de Icaza  <[email protected]>

	* HttpApplication.cs: Remove debugging messages since the compiler
	bug has been fixed.

	You must use at least mcs from revision 47879 for the application
	pipeline to work. 

2005-07-30  Miguel de Icaza  <[email protected]>

	* HttpContext.cs: Error handling methods.

	* HttpResponse.cs: Trigger the last event.

	* HttpRuntime.cs: Add queueing of the next request. 

	* HttpApplication.cs: Deploy the new yield-based application
	pipeline, add error handling to the pipeline.
	
	* HttpApplication.cs (AsyncRequestState): Just use the done event
	from the parent.

2005-07-29  Miguel de Icaza  <[email protected]>

	* HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.

	* HttpApplication.cs: Fix a race condition. 

	* HttpResponseStream.cs: Fix bug, send the size of the buffer that
	we have so far instead of the internal size of the buffer.   This
	will need work later to ensure we enforce the Content-Length
	maximum output size if set.

	* ServerVariablesCollection.cs: This class now inherits from
	NameValueCollection, we should probably review what the middle
	class did, there are no dependencies on it.

	I need to write tests to investigate if something is missing or
	has changed in this implementation. 

2005-07-27  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs: No happy replies here, send a 411.

2005-07-26  Miguel de Icaza  <[email protected]>

	* HttpResponse.cs: use_chunked is now a byte-array, if not null,
	we use it to hold the size of the chunked so we do not have to
	allocate many of these. 
	(SendSize): Helper routine to send the chunked headers.
	(BinaryWrite): First user of the chunked writer.

	* HttpApplication.cs: Do not crash if they request a Server
	instance, but throw a NotImplementedException.

	* HttpRequest.cs: fix a few problems exposed by the regression
	test suite.

	* HttpRequest.cs (Cookies): use Chris' new constructor to get the
	cookies parsed.

	: The big Uri rework: instead of using QueryString
	as the population mechanism, populate an UriBuilder from the
	various HttpWorkerRequest methods.

	* HttpWorkerRequest.cs (GetProtocol): Implement in terms of
	IsSecure().

	* HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
	of a crash.

	* HttpContext.cs: Add a couple of properties to help the 2.x
	build.
	
	* HttpResponse.cs: Make ContentLength a long, add back support for
	session's app_path_mod.
	(ApplyAppPathmodifier): put back.
	(End): Pass a flag to abort so we can tell the exceptions appart
	in HttpApplication.
	(WriteHeaders): Send the HTTP status.
	(Redirect): Implement.
	(Write): Use the Output property to load writer when needed.
	
	* HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
	later. 
	(MakeInputStream): check content-length size, use routines to load
	the preloaded data, handle incomplete transfers.
	(Query): Do not insert null keys into the collection.
	(Url): implement.
	(UrlReferer): implement.

	* HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
	Thread.ResetAbort after each step.

	Ensure that ReleaseState is called if we ever succeed in acquiring
	the state even if we have stopped the request pipeline.

	Report file not found, directory not found.

2005-07-25  Miguel de Icaza  <[email protected]>

	* HttpCookieCollection.cs: Add expiration of the cookie. 

	* HttpRequest.cs: Add check for ContentLength, use
	GetPreloadedEntityBody, correct number of bytes uploaded.

2005-07-21  Miguel de Icaza  <[email protected]>

	* HttpResponseHeader.cs: Our implementation of HttpResponse only
	uses the text headers, does not use any constants as XSP would go
	through a slower code path anyways.

2005-07-20  Miguel de Icaza  <[email protected]>

	* HttpApplication.cs: Ongoing work on pipeline, I will need to
	redo this later.

2005-07-19  Miguel de Icaza  <[email protected]>

	* HttpContext.cs (GetService): Implement.  Return all of the
	properties that we have access to.  Make HttpWorkerRequest the
	first match as this is the only likely reason people need to use
	this. 

	* IntPtrStream.cs: Bring from corlib.

	* MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
	will now be using IntPtrStream. 

	* HttpRequest.cs (MakeInputStream): move code that loads the
	request here
	(CloseInputStream): Helper method that we will call later to
	ensure that we dispose properly the malloced() block. 
	(BinaryRead): Implemented.

	* HttpInputStream.cs: Rewrite to be a descendant of
	IntPtrStream.cs 

2005-07-18  Miguel de Icaza  <[email protected]>

	* HttpApplication.cs (Modules): Add modules support and
	AsyncResult.

2005-07-17  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs (Headers, InputStream): implemented two more
	properties.

	* HttpInputStream.cs: All we need is a MemoryStream with writable
	set to false.

	* HttpPostedFile.cs: Use a Stream.

2005-07-15  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs: 

2005-07-14  Miguel de Icaza  <[email protected]>

	* HttpRuntime.cs: Return a few of the values from the AppDomain
	data. 

	Put the application shutdown process.

	* HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
	one method existed.
	
	(FireEvent): Do not ignore errors.

	* HttpContext.cs (GetAppConfig, GetConfig): First success, use
	ConfigurationSettings.GetConfig to get the value that QueueManager
	needed.

2005-07-13  Miguel de Icaza  <[email protected]>

	* HttpRequest.cs: More work on this file

	* HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
	HttpRuntime.cs: New from scratch implementation.

2005-08-25  Miguel de Icaza  <[email protected]>

	* HtmlHead.cs: Implement constructor, pass the tag.

2005-07-26  Miguel de Icaza  <[email protected]>

	* HtmlForm.cs: It is possible to have keys with no values in the
	query string, do not try to process those on the foreach loop.
	
	The question is: what should happen if I only get the key?

	Example: file_with_a_form.aspx?a

2005-07-09  Miguel de Icaza  <[email protected]>

	* DataBindingHandlerAttribute.cs: Create the "Default" property.

2005-07-07  Miguel de Icaza  <[email protected]>

	* HtmlTextWriter.cs: Return the stuff in lowercase to pass the
	tests. 

	* StateBag.cs: Add NET_2_0 SetDirty method to get the build
	going. 

2005-08-15  Miguel de Icaza  <[email protected]>

	* SessionStateModule.cs: Make this use the synch api as the module
	was synchronous anyways

2005-07-25  Miguel de Icaza  <[email protected]>

	* FormsAuthentication.cs (SignOut): Force the cookie to have it
	expire in the past.

2005-07-26  Miguel de Icaza  <[email protected]>

	* Style.cs: Temporary methods to help buliding .NET 2.x

2005-07-12  Miguel de Icaza  <[email protected]>

	* Unit.cs: If the units are pixels, then truncate the value. 

2005-07-07  Miguel de Icaza  <[email protected]>

	* Xml.cs: New implementation.  R00lz.

2005-07-07  Miguel de Icaza  <[email protected]>

	* Unit.cs: Add TypeConverter, so that web_panel.aspx works again.

	* UnitConverter.cs: Add new file, learned from the
	System.Drawing.ColorConverter.

2005-07-06  Miguel de Icaza  <[email protected]>

	* FontUnit.cs: New file.

	* Unit.cs: New file. 

	Added support for null and empty string constructors.

2005-07-05  Miguel de Icaza  <[email protected]>

	* Label.cs: First control.

2005-08-09  Miguel de Icaza  <[email protected]>

	* WebServiceCompiler.cs: Use the new DynamicDir method.

	* BaseCompiler.cs: Use the DynamicBase property as a hint, but
	since this value is null most of the time, compute the real value.

	Added Bonus: if the directory has some kind of permission problem,
	try a different directory name.

2005-07-13  Miguel de Icaza  <[email protected]>

	* AspGenerator.cs (AspGenerator.CheckLanguage): Use
	BaseParser.Context for the context. 

svn path=/trunk/mcs/; revision=48918
2005-08-26 22:25:10 +00:00
Duncan Mak 2008a1011b 2005-07-21 Duncan Mak <[email protected]>
* HyperLinkColumnTest.cs: Added new test for HyperLinkColumn.

2005-07-14  Duncan Mak  <[email protected]>

	* PagedDataSourceTest.cs: Added testcases.
	(PageCountTest, CountTest, IsLastPageTest): Needs more work.

2005-07-14  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttributeTest.cs (TestDefaultConstructor):
	This test should pass now.

2005-07-09  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttributeTest.cs: Aded new test. Used to find
	out how a typename is derived from a Type. (It uses
	AssemblyQualifiedName, and not FullName)
	
2005-07-14  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttribute.cs: Fixed after receiving some
	comments from Gonzalo.

2005-07-09  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttribute.cs: Implemented.

2005-07-21  Duncan Mak  <[email protected]>

	* HyperLinkColumn.cs: Initial implementation.
	Todo: Figure out Initialize and InitializeCell.

2005-07-21  Duncan Mak  <[email protected]>

        * DataGridCommandEventArgs.cs: 
        * DataGridPageChangedEventArgs.cs: 
        * RepeaterCommandEventArgs.cs:  Fixed visibility.

	* DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
	* DataGridSortCommandEventArgs.cs (CommandSource): Ditto..       
	
2005-07-14  Duncan Mak  <[email protected]>

	* PagedDataSource.cs: Initial implementation.

	Methods that need to be figured out:
	CopyTo, GetItemProperties, PageCount, IsLastPage.

	To complete: CollectionEnumerator, ListEnumerator.

2005-07-13  Duncan Mak  <[email protected]>

	* RepeatDirection.cs:
	* RepeatLayout.cs:
	* ValidationCompareOperator.cs:
	* ValidationDataType.cs:
	* ValidationSummaryDisplayMode.cs: 
	* ValidatorDisplay.cs: Added remaining enumerations.
	
2005-07-12  Duncan Mak  <[email protected]>

	* DayNameFormat.cs: Added.

2005-07-09  Duncan Mak  <[email protected]>

	* CommandEventHandler.cs:
	* DataGridCommandEventHandler.cs:
	* DataGridItemEventHandler.cs:
	* DataGridPageChangedEventHandler.cs:
	* DataGridSortCommandEventHandler.cs:
	* DataListCommandEventHandler.cs:
	* DayRenderEventHandler.cs:
	* RepeaterCommandEventHandler.cs:
	* ServerValidateEventHandler.cs: Add delegates.
	
	* ListItemType.cs:
	* ListSelectionMode.cs:
	* NextPrevFormat.cs:
	* PagerMode.cs
	* PagerPosition.cs: Add enums.

2005-07-09  Duncan Mak  <[email protected]>

	* CommandEventArgs.cs:
	* DataGridCommandEventArgs.cs:
	* DataGridItemEventArgs.cs:
	* DataGridPageChangedEventArgs.cs:
	* DataGridSortCommandEventArgs.cs:
	* DataListCommandEventArgs.cs:
	* DataListItemEventArgs.cs:
	* DayRenderEventArgs.cs:
	* RepeaterCommandEventArgs.cs:
	* RepeaterItemEventArgs.cs:
	* ServerValidateEventArgs.cs: Implemented.
	

svn path=/trunk/mcs/; revision=48916
2005-08-26 22:23:07 +00:00
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +00:00
Gonzalo Paniagua Javier 419ac35cf5 2005-07-28 Gonzalo Paniagua Javier <[email protected]>
* MachineKeyConfigHandler.cs:
	* MachineKeyConfig.cs: removed unused property. The CryptoGod has spoken
	and told me to use RandomNumberGenerator.Create to let the
	implementation choose the generator.


svn path=/trunk/mcs/; revision=47817
2005-07-28 18:32:14 +00:00
Eyal Alalouf b902e05323 Fixed loading of web.config for TARGET_J2EE.
svn path=/trunk/mcs/; revision=47661
2005-07-25 17:54:50 +00:00
Eyal Alalouf 5cfad21337 TARGET_J2EE ifdef reorder for readability
svn path=/trunk/mcs/; revision=47656
2005-07-25 14:47:38 +00:00
Gonzalo Paniagua Javier 61c2ee478d 2005-07-25 Gonzalo Paniagua Javier <[email protected]>
* MachineKeyConfigHandler.cs: removed unused code. Use
	MachineKeyValidation.
	* MachineKeyValidation.cs: made internal for 1.1 and added AES.
	* MachineKeyConfig.cs: new property to return 24 bits needed for 3DES.
	fix typo from last patch ('AutoGenerate'). Made the keys different when
	both are autogenerated.


svn path=/trunk/mcs/; revision=47626
2005-07-25 05:50:07 +00:00
Gonzalo Paniagua Javier 779c1a3c3c 2005-07-24 Gonzalo Paniagua Javier <[email protected]>
* MachineKeyConfigHandler.cs:
	* MachineKeyConfig.cs: patch from Miguel that moves code from
	MachineKeyConfigHandler to MachineKeyConfig.


svn path=/trunk/mcs/; revision=47621
2005-07-24 23:25:22 +00:00
Eyal Alalouf 5d2b0b63b8 Making simple web app work with Grasshopper from svn.
svn path=/trunk/mcs/; revision=47610
2005-07-24 16:36:14 +00:00
Eyal Alalouf aab69ac325 TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47416
2005-07-19 16:13:51 +00:00
Miguel de Icaza e149cbf0ec Simpliferoo
svn path=/trunk/mcs/; revision=47290
2005-07-14 00:32:11 +00:00
Lluis Sanchez 28443c48c2 2005-07-01 Lluis Sanchez Gual <[email protected]>
* MembershipSection.cs: Implemented.
	* SiteMapSection.cs: Define properties using attributes.
	* AnonymousIdentificationSection.cs: Define properties using attributes.
	* WebConfigurationManager.cs: return the correct base path for the
	  root path.
	* IRemoteWebConfigurationHostServer.cs: Fixed method signatures.
	* WebConfigurationHost.cs: Added the machine web.config to the web.config
	file chain. Several fixes in the chain order. Implemented 
	IsDefinitionAllowed and VerifyDefinitionAllowed.

	* VirtualDirectoryMappingCollection.cs:
	* WebConfigurationFileMap.cs:
	* AdapterDictionary.cs:
	* AuthenticationSection.cs:
	* AssemblyCollection.cs:
	* AssemblyInfo.cs: Minor api fixes.
	

svn path=/trunk/mcs/; revision=46848
2005-07-01 18:33:14 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Gonzalo Paniagua Javier 8e210c3e61 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
* HandlerItem.cs: the path matches 'path\z', as the previous '\Apath\z'
	failed for 'dir/*.ext'.


svn path=/trunk/mcs/; revision=46493
2005-06-25 13:16:01 +00:00
Lluis Sanchez 63aa2b250f 2005-06-23 Lluis Sanchez Gual <[email protected]>
* VirtualDirectoryMapping.cs: Implemented.
	* WebConfigurationManager.cs: Initial implementation.
	* VirtualDirectoryMappingCollection.cs: Implemented.
	* WebConfigurationFileMap.cs: Implemented.
	* WebConfigurationHost.cs: Initial implementation of class
	that supports IInternalConfigHost.



svn path=/trunk/mcs/; revision=46445
2005-06-23 17:52:49 +00:00
Ilya Kharmatsky 46de751dfc svn path=/trunk/mcs/; revision=46208 2005-06-19 09:28:06 +00:00
Lluis Sanchez 25ebabf4e5 2005-06-15 Lluis Sanchez Gual <[email protected]>
* CodeSubDirectory.cs:
	* ExpressionBuilder.cs:
	* AssemblyInfo.cs:
	* BuildProviderCollection.cs:
	* ExpressionBuilderCollection.cs:
	* CodeSubDirectoriesCollection.cs:
	* AnonymousIdentificationSection.cs: Track 2.0 api changes
	in System.Configuration.


svn path=/trunk/mcs/; revision=46064
2005-06-15 17:47:31 +00:00
Gonzalo Paniagua Javier de7ae6a57c 2005-06-13 Gonzalo Paniagua Javier <[email protected]>
* GlobalizationConfigurationHandler.cs: when an attribute is not
	provided, don't assing Encoding.Default to it, as we might override
	parent's settings.


svn path=/trunk/mcs/; revision=45928
2005-06-14 00:28:11 +00:00
Ben Maurer 2a81dac63f locking fixes
svn path=/trunk/mcs/; revision=45085
2005-05-26 23:06:52 +00:00
Gonzalo Paniagua Javier 098c822c43 2005-05-04 Gonzalo Paniagua Javier <[email protected]>
* CompilationConfiguration.cs: throw if we cannot load the type given
	in the configuration file.


svn path=/trunk/mcs/; revision=44049
2005-05-04 21:07:27 +00:00
Gonzalo Paniagua Javier 8eb9c3d0f3 Use CultureInfo.DefaultInvariant instead of just the Default
svn path=/trunk/mcs/; revision=43643
2005-04-27 07:39:34 +00:00
Gonzalo Paniagua Javier 8569a7ab5c 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Configuration/CompilerCollection.cs: added CompareLanguages
	method.
	* System.Web.Compilation/AspGenerator.cs: when checking languages, try
	to match other aliases too (ie, 'cs' == 'c#').


svn path=/trunk/mcs/; revision=43567
2005-04-26 00:05:03 +00:00
Gonzalo Paniagua Javier 197f824568 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Configuration/CompilationConfigurationHandler.cs: ensure
	TempDirectory is not empty before assigning it. Don't mangle the
	assembly names provided.

	* System.Web.Configuration/CompilationConfiguration.cs: use DynamicBase
	as the temp directory instead of Path.GetTempPath.

	* System.Web.UI/SimpleWebHandlerParser.cs:
	* System.Web.UI/TemplateParser.cs: always get the location (full path)
	for assemblies, even the ones from the GAC.

	* System.Web.Compilation/BaseCompiler.cs: check that DynamicBase
	directory exists before creating the TempFileCollection.

	The changes related to assembly names fix bug number #74500.


svn path=/trunk/mcs/; revision=43462
2005-04-22 20:34:00 +00:00
Gonzalo Paniagua Javier 445ccdc1bb 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
* ModuleItem.cs:
	* GlobalizationConfigurationHandler.cs:
	* WebConfigurationSettings.cs:
	* CustomErrorsConfigHandler.cs:
	* PagesConfigurationHandler.cs:
	* WebControlsSectionHandler.cs:
	* AuthorizationConfigHandler.cs: removed warnings.


svn path=/trunk/mcs/; revision=43361
2005-04-20 22:19:43 +00:00
Gonzalo Paniagua Javier 1ab40e42af 2005-03-16 Gonzalo Paniagua Javier <[email protected]>
* CompilerCollection.cs:
	* CompilationConfigurationHandler.cs:
	* Compiler.cs:
	* CompilationSection.cs:
	* CompilationConfiguration.cs: reverted last patch and/or disable code
	until the whole config system is migrated to 2.0. Fixes bug #73736.


svn path=/trunk/mcs/; revision=41924
2005-03-17 00:31:49 +00:00
Gonzalo Paniagua Javier ee4fb18353 2005-03-14 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added new files in System.Web.Configuration.

	* System.Web.Configuration/CodeSubDirectoriesCollection.cs:
	* System.Web.Configuration/ExpressionBuilderCollection.cs:
	* System.Web.Configuration/BuildProviderCollection.cs:
	* System.Web.Configuration/CompilerCollection.cs:
	* System.Web.Configuration/CompilationConfigurationHandler.cs:
	* System.Web.Configuration/ExpressionBuilder.cs:
	* System.Web.Configuration/Compiler.cs:
	* System.Web.Configuration/CompilationSection.cs:
	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/CodeSubDirectory.cs: added and implemented
	most of these files that are used when reading configuration files in
	NET_2_0.

	* System.Web.Configuration/WebCompiler.cs: renamed to Compiler.cs


svn path=/trunk/mcs/; revision=41813
2005-03-15 01:01:38 +00:00
Gonzalo Paniagua Javier f9f5a24c80 oops
svn path=/trunk/mcs/; revision=40819
2005-02-17 19:18:41 +00:00
Gonzalo Paniagua Javier e47bf13b19 2004-12-15 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: reread application CultureInfo as
	web.config might have changed. Fixes bug #62539.

	* System.Web.Configuration/WebConfigurationSettings.cs: correctly
	detect web.config changes.


svn path=/trunk/mcs/; revision=37779
2004-12-15 13:03:45 +00:00
Marek Safar 47bb6c3b60 removed unused variable
svn path=/trunk/mcs/; revision=36775
2004-11-29 12:52:00 +00:00
Gonzalo Paniagua Javier cd9e5eaa22 2004-11-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: Create() is not GetInstance().
	* System.Web.Configuration/HandlerItem.cs: for reusable items, return
	the same instance always. Fixes bug #69959.


svn path=/trunk/mcs/; revision=36733
2004-11-28 23:44:41 +00:00