Commit Graph
1169 Commits
Author SHA1 Message Date
Geoff Norton d9cfac0a01 2005-05-09 Geoff Norotn <[email protected]>
* TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
	uses instead of codebehind.


svn path=/trunk/mcs/; revision=44333
2005-05-10 16:19:33 +00:00
Gonzalo Paniagua Javier 649db79ee3 2005-05-08 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: as setting CurrentCulture is slow, don't set it if the
	culture has not changed since before the page started processing.


svn path=/trunk/mcs/; revision=44231
2005-05-09 01:00:49 +00:00
Gonzalo Paniagua Javier 96648cd4da 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: LoadWithPartialName returns null if the assembly is
	not found.


svn path=/trunk/mcs/; revision=44171
2005-05-06 20:41:34 +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 fda4d5e011 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs:
	* SimpleWebHandlerParser.cs: removed values assigned and neved used.


svn path=/trunk/mcs/; revision=43568
2005-04-26 00:07:06 +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
Lluis Sanchez ed864d1503 2005-04-22 Lluis Sanchez Gual <[email protected]>
* ClientScriptManager.cs: Use a linked list instead of a Hashtable
	to store the scripts. In this way, scripts will be rendered in the
	same order as they have been registered. It shouldn't be slower
	since pages don't have many scripts.


svn path=/trunk/mcs/; revision=43435
2005-04-22 10:51:16 +00:00
Lluis Sanchez 6ac456e2f8 2005-04-21 Lluis Sanchez Gual <[email protected]>
* IEditableTextControl.cs: Implemented.
	* DataBinder.cs: Marked constructor as obsolete in 2.0.
	In GetDataItem, check for the IDataItemContainer interface
	in the container.
	* TemplateControl.cs: Improved check for data item.


svn path=/trunk/mcs/; revision=43409
2005-04-21 16:14:16 +00:00
Gonzalo Paniagua Javier 6e6c720109 2005-04-21 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: we still need LoadWithPartialName if Load fails.
	* Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
	for second postback.


svn path=/trunk/mcs/; revision=43385
2005-04-21 08:39:59 +00:00
Gonzalo Paniagua Javier 929ccd7d80 2005-04-21 Gonzalo Paniagua Javier <[email protected]>
* ChangeLog: Modified file.
	* TemplateParser.cs: Modified file.
	* Page.cs: Modified file.
	* StateBag.cs: Modified file.
	* PartialCachingControl.cs: Modified file.


svn path=/trunk/mcs/; revision=43383
2005-04-21 08:35:43 +00:00
Rafael Teixeira 4f5e5bed29 2005-04-20 Rafael Teixeira <[email protected]>
* TemplateParser.cs: Adding support for Strict/Explicit attributes 
	for @Page/@Control directives as documented at 
	http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
	First step don't choke on them. Fixing #74671


svn path=/trunk/mcs/; revision=43351
2005-04-20 18:03:44 +00:00
Gonzalo Paniagua Javier ca83814e7d 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: use Load instead of LoadWithPartialName. That was
	there from the time when Load wasn't working properly. First part of the
	fix to 74500.


svn path=/trunk/mcs/; revision=43311
2005-04-20 05:48:20 +00:00
Lluis Sanchez 00d1ac7d6d 2005-04-15 Lluis Sanchez Gual <[email protected]>
* ControlBuilder.cs: The BindingContainerType property happens
	to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
	which is used to get the binding container that is managing
	the current two-way binding context.
	* TemplateBuilder.cs: Added some methods and an internal class
	to support two-way bindings.
	* CompiledBindableTemplateBuilder.cs: Implemented.
	* IBindableTemplate.cs: This interface inherits from ITemplate.


svn path=/trunk/mcs/; revision=43073
2005-04-15 20:41:11 +00:00
Lluis Sanchez 3a6d4aec24 2005-04-14 Lluis Sanchez Gual <[email protected]>
* ControlBuilder.cs: Added BindingContainerType property,
	which works like NamingContainerType but takes into account
	template builders with a specific container type (specified
	using the TemplateContainerAttribute.
	* StateManagedCollection.cs: Reimplemented Save/Load view
	state methods. The existing implementation was not correct
	in all cases.


svn path=/trunk/mcs/; revision=42996
2005-04-14 12:22:26 +00:00
Lluis Sanchez dba8d4148d 2005-04-08 Lluis Sanchez Gual <[email protected]>
* DataSourceView.cs: Added null check.


svn path=/trunk/mcs/; revision=42708
2005-04-08 21:27:41 +00:00
Lluis Sanchez bbdbfabccf 2005-04-07 Lluis Sanchez Gual <[email protected]>
* TemplateControl.cs:
	* Page.cs: Moved Eval and XPath from Page
	to TemplateControl.
	* StateManagedCollection.cs: Avoid saving null state.


svn path=/trunk/mcs/; revision=42645
2005-04-07 16:00:05 +00:00
Lluis Sanchez cbc89ca56a 2005-04-01 Lluis Sanchez Gual <[email protected]>
* DataSourceView.cs: Rethrow exceptions not handled by operation
	callbacks.
	* ITextControl.cs: Removed event.
	* CollectionBuilder.cs: Don't crash when a collection has more
	than one indexer.


svn path=/trunk/mcs/; revision=42468
2005-04-01 17:29:02 +00:00
Lluis Sanchez 02ca166355 2005-03-23 Lluis Sanchez Gual <[email protected]>
* Control.cs: Added a new internal property: HasRenderMethodDelegate.
	* HtmlTextWriterAttribute.cs: Replaced wrong enum value.
	* HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes


svn path=/trunk/mcs/; revision=42155
2005-03-23 17:21:26 +00:00
Lluis Sanchez eceb089f96 2005-03-16 Lluis Sanchez Gual <[email protected]>
* ClientScriptManager.cs: Fix build.

svn path=/trunk/mcs/; revision=41901
2005-03-16 14:04:33 +00:00
Lluis Sanchez c1d190d884 2005-03-11 Lluis Sanchez Gual <[email protected]>
* Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
	since it is deprecated in 2.0.
	* Page.cs: Deprecated GetPostBackClientEvent and similar methods
	in 2.0. Moved callback management methods to ClientScriptManager.
	* ClientScriptManager.cs: Moved here deprecated methods from Page.
	In GetPostBackEventReference (PostBackOptions), don't use the
	WebForm_DoPostback script if the post can be done with a simple
	__doPostBack call.
	* PostBackOptions.cs: Fixed default values for some properties.


svn path=/trunk/mcs/; revision=41696
2005-03-11 13:24:44 +00:00
Gonzalo Paniagua Javier c0938d5ccd oops
svn path=/trunk/mcs/; revision=41624
2005-03-09 23:27:05 +00:00
Gonzalo Paniagua Javier 39eb2bb963 2005-03-09 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: in FindControl, throw if there's more than one control
	with the same ID. Fixes bug #73479.


svn path=/trunk/mcs/; revision=41622
2005-03-09 23:19:52 +00:00
Lluis Sanchez 1ea11b875f 2005-03-04 Lluis Sanchez Gual <[email protected]>
* Page.cs: Load control state before loading view state, and the
	same for saving.
	* DataSourceSelectArguments.cs: Fix recursive property call.


svn path=/trunk/mcs/; revision=41454
2005-03-04 18:05:03 +00:00
Lluis Sanchez a340635511 2005-02-25 Lluis Sanchez Gual <[email protected]>
* DataSourceView.cs: Fixed incorrect implementation of
	RaiseUnsupportedCapabilityError.
	* IDataItemContainer.cs: Added new properties.
	* Page.cs: Implemented Form property.
	* Control.cs: Fixed formatting.
	* StateManagedCollection.cs: Track view state of items loaded
	in LoadViewState.


svn path=/trunk/mcs/; revision=41193
2005-02-25 12:09:11 +00:00
Lluis Sanchez 5bd2459946 2005-02-22 Lluis Sanchez Gual <[email protected]>
* FilterableAttribute.cs: Fix endless loop.


svn path=/trunk/mcs/; revision=41049
2005-02-22 16:51:42 +00:00
Lluis Sanchez e898da6cdb 2005-02-18 Lluis Sanchez Gual <[email protected]>
* Page.cs: Implemented missing events.


svn path=/trunk/mcs/; revision=40886
2005-02-18 20:38:10 +00:00
Gonzalo Paniagua Javier f9f5a24c80 oops
svn path=/trunk/mcs/; revision=40819
2005-02-17 19:18:41 +00:00
Gonzalo Paniagua Javier 9124fd7440 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: new files.

	* System.Web.UI/BoundPropertyEntry.cs:
	* System.Web.UI/PropertyEntry.cs:
	* System.Web.UI/TwoWayBoundPropertyEntry.cs: implemented.

	* System.Web.Compilation/ExpressionBuilderContext.cs:
	* System.Web.Compilation/ExpressionBuilder.cs: implemented.


svn path=/trunk/mcs/; revision=40815
2005-02-17 17:50:46 +00:00
Lluis Sanchez f54972baa0 2005-02-10 Lluis Sanchez Gual <[email protected]>
* Page.cs: Added support for validation groups. Some fixes in
	SavePageControlState().
	* IFilterResolutionService.cs: Removed extra field.
	* INavigateUIData.cs: Added missing field.
	* ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
	Implemented new interfaces.


svn path=/trunk/mcs/; revision=40378
2005-02-10 09:37:20 +00:00
Lluis Sanchez f4b87c2871 2005-02-04 Lluis Sanchez Gual <[email protected]>
* Page.cs: Implemented support for cross page postback. Implemented
	support for postback with options. Fixed several method and property
	signatures for 2.0.
	* PostBackOptions.cs: Added some TODOs.


svn path=/trunk/mcs/; revision=40097
2005-02-04 00:51:20 +00:00
Lluis Sanchez 67c5bf8c5a 2005-02-02 Lluis Sanchez Gual <[email protected]>
* ParseChildrenAttribute.cs: Set the correct default value for the
	childType property.


svn path=/trunk/mcs/; revision=39993
2005-02-02 16:22:40 +00:00
Lluis Sanchez dfc8a95fa8 2005-01-28 Lluis Sanchez Gual <[email protected]>
* ParseChildrenAttribute.cs: Added 2.0 property.
	* Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
	* Page.cs: Added support for control state.
	* TemplateBuilder.cs: ContainerType should be internal.
	* Control.cs: Added some new 2.0 methods.


svn path=/trunk/mcs/; revision=39730
2005-01-29 00:03:46 +00:00
Lluis Sanchez 5064e23220 2005-01-21 Lluis Sanchez Gual <[email protected]>
* PageParser.cs: Read the MasterPageFile attribute.
	* UserControlParser.cs: Not sealed any more since we need to inherit from
	it. Added new constructor with an additional "type" parameter.
	* MasterPageParser.cs: Parser for master pages.
	* Page.cs: Added support for master pages.
	* MasterPage.cs: Implemented.


svn path=/trunk/mcs/; revision=39318
2005-01-21 18:03:15 +00:00
Lluis Sanchez bf4c99d6a6 2005-01-10 Lluis Sanchez Gual <[email protected]>
* TemplateBuilder.cs: Added a special constructor that takes an
	attribute provider as parameter. The container type for the template
	may be defined in a TemplateContainerAttribute.
	* ControlBuilder.cs: Create the TemplateBuilder using that special
	constructor.
	* TemplateContainerAttribute.cs: Added 2.0 property and ctor.


svn path=/trunk/mcs/; revision=38619
2005-01-10 15:21:19 +00:00
Lluis Sanchez d8b198c696 2004-12-20 Lluis Sanchez Gual <[email protected]>
* IStyleSheet.cs: Added missing "using".
	* Page.cs: Implemented Header property.
	* CssStyleCollection.cs: Made BagToString method internal.
	* RootBuilder.cs: Register HtmlHead control.
	

svn path=/trunk/mcs/; revision=37992
2004-12-20 18:47:52 +00:00
Lluis Sanchez 80ad04a1eb 2004-12-17 Lluis Sanchez Gual <[email protected]>
* CssStyleCollection.cs: Minor (!) fix.
	* HtmlTextWriter.cs: Register names for new 2.0 styles.


svn path=/trunk/mcs/; revision=37888
2004-12-17 17:43:35 +00:00
Lluis Sanchez 27c62abc49 2004-12-17 Lluis Sanchez Gual <[email protected]>
* CssStyleCollection.cs: Make it work as a standalone collection.
	* HtmlTextWriter.cs: Added static method for getting style names.


svn path=/trunk/mcs/; revision=37886
2004-12-17 15:58:52 +00:00
Gonzalo Paniagua Javier ab124a063c 2004-12-14 Gonzalo Paniagua Javier <[email protected]>
* ControlCollection.cs: fix off-by-one and store a null at the end to
	remove the reference to the removed control.


svn path=/trunk/mcs/; revision=37725
2004-12-14 05:26:52 +00:00
Lluis Sanchez 84243f6142 2004-12-10 Lluis Sanchez Gual <[email protected]>
* ClientScriptManager.cs: Added GetScriptLiteral helper method.
	

svn path=/trunk/mcs/; revision=37583
2004-12-10 17:51:35 +00:00
Lluis Sanchez 99b0fd02d8 2004-12-02 Lluis Sanchez Gual <[email protected]>
* Page.cs: Added support for callback events. Moved theform variable
	outside the __doPostBack function, so it can be used by other
	scripts.
	* StateBag.cs: Implemented SetDirty().


svn path=/trunk/mcs/; revision=36945
2004-12-02 16:02:02 +00:00
Gonzalo Paniagua Javier 2a45f23af0 2004-11-30 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: when saving "Visible" into the ViewState, save the value
	for this precise control, as using the Visible property might give us
	Control's parent visibility. Fixes bug #69200.


svn path=/trunk/mcs/; revision=36875
2004-12-01 00:36:16 +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
Lluis Sanchez 52c73e18e5 2004-11-26 Lluis Sanchez Gual <[email protected]>
* Page.cs: Moved code for managing client scripts to ClientScriptManager,
	which is public in 2.0 and internal in 1.1.
	* ClientScriptManager.cs: Implemented.


svn path=/trunk/mcs/; revision=36651
2004-11-26 16:40:03 +00:00
Sanja Gupta a21fd72637 ChangeLog: Updated.
DataSourceView.cs: Removed extra method.

svn path=/trunk/mcs/; revision=36514
2004-11-25 04:08:17 +00:00
Sanja Gupta ee490dc21a ChangeLog: Updated.
DataSourveViewSelectCallback.cs: Corrected method signature.


svn path=/trunk/mcs/; revision=36461
2004-11-24 09:51:23 +00:00
Lluis Sanchez b0d1632cd2 2004-11-23 Lluis Sanchez Gual <[email protected]>
* ControlBuilder.cs: Always check for the ParseChildrenAttribute,
	even if the class doesn't implement IParserAccessor.
	* WebResourceAttribute.cs: Allow multiple attributes of this type.


svn path=/trunk/mcs/; revision=36425
2004-11-23 10:34:51 +00:00
Lluis Sanchez 53e5fd0ef5 * DataSourceView.cs: Moved here implementation of
* DataSourceViewChanged 
        from SqlDataSourceView.cs.


svn path=/trunk/mcs/; revision=36150
2004-11-15 22:19:07 +00:00
Gonzalo Paniagua Javier bda13fb6ef 2004-11-09 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: unified a few bool fields into an int one.

	* ControlCollection.cs: use an array internally instead of always
	allocating an arraylist. Also added our own enumerator.

	* EmptyControlCollection.cs: there's no 'special' ctor now in the base
	class.

svn path=/trunk/mcs/; revision=35900
2004-11-09 17:03:26 +00:00
Sanja Gupta ceb784e5a9 ChangeLog: Updated.
DataSourceView.cs: Changes in access modifiers of methods.

svn path=/trunk/mcs/; revision=35686
2004-11-05 10:44:34 +00:00
Sanja Gupta 798ac1a5e7 ChangeLog: Updated ChangeLog.
DataSourceCapabilities.cs: Added Flags attribute.
DataSourceSelectArguments.cs: Updated.
DataSourveView.cs: Updated.

svn path=/trunk/mcs/; revision=35166
2004-10-20 07:35:09 +00:00