1186 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 42c9d92f48 2005-07-13 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: create the style collection if it wasn't
	created before Add ("style"...).


svn path=/trunk/mcs/; revision=47274
2005-07-13 16:23:35 +00:00
Gonzalo Paniagua Javier 2e3f1b094c 2005-07-12 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: when the key added is 'style', use the style
	collection.


svn path=/trunk/mcs/; revision=47242
2005-07-12 22:11:12 +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
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 c06c348cce 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
* Page.cs:
	* Control.cs: avoid the creation of the EventHandlerList and accessing 
	to it whenever possible. Fix ENABLE_THEMING constant.


svn path=/trunk/mcs/; revision=46489
2005-06-25 08:45:10 +00:00
Gonzalo Paniagua Javier e12fa933ec 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs:
	* TemplateControlParser.cs:
	* UserControlParser.cs: detect circular references when a control tries
	to register itself as a tag. Fixes bug #75376.


svn path=/trunk/mcs/; revision=46488
2005-06-25 04:54:53 +00:00
Gonzalo Paniagua Javier 78b524222f 2005-06-14 Gonzalo Paniagua Javier <[email protected]>
* PageParser.cs: don't try to compile the master page if it wan't
	provided. Use MapPath from the base classes instead of the long
	version. Fixes bug #75269 that prevented xsp2 from working properly.


svn path=/trunk/mcs/; revision=46006
2005-06-15 03:16:20 +00:00
Lluis Sanchez d2c9dd8b5a 2005-06-13 Lluis Sanchez Gual <[email protected]>
* MasterPage.cs: Clear the default content of placeholders before
	adding the page content. Fixes bug #75193.


svn path=/trunk/mcs/; revision=45886
2005-06-13 17:16:14 +00:00
Lluis Sanchez f3846ab1a8 2005-06-13 Lluis Sanchez Gual <[email protected]>
* PageParser.cs: Added MasterType property. Get the type from the
	MasterType directive.
	* MasterPageParser.cs: Added GetCompiledMasterType method.


svn path=/trunk/mcs/; revision=45884
2005-06-13 16:55:11 +00:00
Gonzalo Paniagua Javier a74626e554 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
* UserControl.cs:
	* Page.cs:
	* Control.cs: updates for 1.1 SP1


svn path=/trunk/mcs/; revision=45623
2005-06-08 08:28:36 +00:00
Gonzalo Paniagua Javier 26ac8e3083 fix attribute
svn path=/trunk/mcs/; revision=45619
2005-06-08 08:07:15 +00:00
Lluis Sanchez 57030512c9 2005-06-06 Lluis Sanchez Gual <[email protected]>
* Control.cs: Added new DataBind() overload for 2.0. The old
	method calls this new overload.


svn path=/trunk/mcs/; revision=45480
2005-06-06 11:29:34 +00:00
Gonzalo Paniagua Javier 95e8e8d29f 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: ignore empty assembly.Location for in-memory
	generated assemblies.


svn path=/trunk/mcs/; revision=45422
2005-06-04 21:48:28 +00:00
Gonzalo Paniagua Javier 08ea665cd2 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: added AddContentTemplate method.
	* System.Web.Compilation/TemplateControlCompiler.cs: use the Page
	AddContentTemplate method, as the one in Master is protected. Fixes
	bug #75157.


svn path=/trunk/mcs/; revision=45418
2005-06-04 21:15:30 +00:00
Gonzalo Paniagua Javier 270cf818cf 2005-05-26 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: html-encode attribute values. Fixes
	bug #73771.


svn path=/trunk/mcs/; revision=45083
2005-05-26 22:52:52 +00:00
Lluis Sanchez 8b572eb97f 2005-05-26 Lluis Sanchez Gual <[email protected]>
* DataSourceView.cs: Fix api.
	* NonVisualControlAttribute.cs: Implemented.
	* IDataItemContainer.cs: Added missing properties.
	* Control.cs: Added new EnableTheming and SkinID properties.
	* HierarchicalDataSourceControl.cs: Implemented missing methods.


svn path=/trunk/mcs/; revision=45061
2005-05-26 16:16:29 +00:00
Lluis Sanchez 5adec6fc95 2005-05-13 Lluis Sanchez Gual <[email protected]>
* ControlCollection.cs: Added internal setter for ReadOnly.


svn path=/trunk/mcs/; revision=44498
2005-05-13 13:52:46 +00:00
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