Commit Graph
193 Commits
Author SHA1 Message Date
Chris Toshok 8c74efe01f add missing (and empty) WebSysDescription
svn path=/trunk/mcs/; revision=49289
2005-09-01 19:14:02 +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
Gonzalo Paniagua Javier eae43f6694 oops
svn path=/trunk/mcs/; revision=47490
2005-07-21 04:57:51 +00:00
Gonzalo Paniagua Javier f444094916 more trace stuff
svn path=/trunk/mcs/; revision=47489
2005-07-21 04:46:35 +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 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
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
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 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 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 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 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
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
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
Gonzalo Paniagua Javier c1e8d7d744 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: even if the control has no children the naming container
	may contain the control we're looking for. Fixes bug #67304.

svn path=/trunk/mcs/; revision=34593
2004-10-01 13:10:44 +00:00
Gonzalo Paniagua Javier eaa21f98ab s/Behaviour/Behavior/g Fixes bug 67261
svn path=/trunk/mcs/; revision=34581
2004-10-01 03:04:50 +00:00
Sanja Gupta a740af0593 ChangeLog: Updated ChangeLog.
Control.cs: Added new attributes and a method.
FilterableAttribute.cs: New attribute, initial implementation.
ThemeableAttribute.cs: New attribute, initial implemenataion.

svn path=/trunk/mcs/; revision=33842
2004-09-14 03:53:36 +00:00
Sanja Gupta bfafef1092 ChangeLog: Updated ChangeLog.
Control.cs: Implemented methods of interface IExpressionAccessor.

svn path=/trunk/mcs/; revision=33643
2004-09-09 11:19:05 +00:00
Gonzalo Paniagua Javier 32e674ae9f * Control.cs: don't create the EventHandlerList until requested.
svn path=/trunk/mcs/; revision=33380
2004-09-05 19:33:51 +00:00
Sanja Gupta 1367f74547 ChangeLog: Updated ChangeLog.
Control.cs: Added new interfaces implemented in .Net 2.0.
ExpressionBinding.cs: Added new class.
ExpressionBindingCollection.cs: Added new class.

svn path=/trunk/mcs/; revision=33276
2004-09-03 13:26:02 +00:00
Gonzalo Paniagua Javier 34b3941698 2004-07-27 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: style. Reverted previous patch modification of
	TemplateSourceDirectory (failed when the control is reparented). Use
	HasControls() and Controls all over instead of _controls, as Controls
	property and HasControls() might be overriden.

svn path=/trunk/mcs/; revision=31520
2004-07-27 14:51:56 +00:00
Alon Gazit a54490991c Changed the implementation of TemplateSourceDirectory and GetDefaultName().
replaced foreach statements with for statements, in order to improve
performence.

svn path=/trunk/mcs/; revision=31497
2004-07-27 06:56:25 +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 23fa50da3b 2004-06-14 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: Modified file.

svn path=/trunk/mcs/; revision=29472
2004-06-14 03:36:28 +00:00
Gonzalo Paniagua Javier 61638e55ba 2004-06-10 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
	(ResolveUrl): fixed typo when dealing with relative urls. Closes bug
	#59794.

svn path=/trunk/mcs/; revision=29185
2004-06-10 12:02:57 +00:00
Gonzalo Paniagua Javier aa11211a2a 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Handlers/TraceHandler.cs:
	* System.Web.UI/Control.cs:
	* System.Web.UI/Html32TextWriter.cs:
	* System.Web.UI/HtmlTextWriter.cs:
	* System.Web.UI/SimpleWebHandlerParser.cs:
	* System.Web.UI/TemplateControl.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/CompareValidator.cs:
	* System.Web.UI.WebControls/ImageButton.cs:
	* System.Web.UI.WebControls/Style.cs:
	* System.Web.UI.WebControls/WebControl.cs:
	Added protected missing members and attributes.

svn path=/trunk/mcs/; revision=28743
2004-06-03 06:17:31 +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
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Gonzalo Paniagua Javier 9d76a57969 Warnings
svn path=/trunk/mcs/; revision=25814
2004-04-22 03:07:54 +00:00
Jackson Harper b6c017b795 * Control.cs: Ensure that dynamically loaded controls are
initialized.

svn path=/trunk/mcs/; revision=22618
2004-01-30 21:53:57 +00:00
Gonzalo Paniagua Javier ba968f7ae8 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: remove a few dangling ^M, don't set values for fields
	that has the default value. If Visible is modified and we're tracking
	viewstate, save and restore it. Fixes bug #48689.

svn path=/trunk/mcs/; revision=21056
2003-12-12 06:37:08 +00:00
Jackson Harper 8219b8b0e2 * Control.cs: Give null for the ID if it hasn't been explicitly
set. This fixes bug #51520.

svn path=/trunk/mcs/; revision=21055
2003-12-12 06:27:40 +00:00
Ben Maurer b5010be256 2003-11-26 Ben Maurer <[email protected]>
* Control.cs: Add DataBindChildren for v2. Implement
	glue to make Page.Eval work.
	* Page: use a stack to store the current dataitem
	for Eval. Implement Eval/XPath/XPathSelect
	* DataBinder.cs: implement GetDataItem.

svn path=/trunk/mcs/; revision=20508
2003-11-26 23:31:41 +00:00
Jackson Harper 9b8336664c * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
thing, some corner cases still need work though. Was this the
	shortest lived method in the history of mono?

svn path=/trunk/mcs/; revision=20267
2003-11-20 11:30:38 +00:00
Jackson Harper 8ecdf4a863 * Control.cs: New method for resolving urls that use ~/ to denote
the applications base directory.

svn path=/trunk/mcs/; revision=20264
2003-11-20 10:41:26 +00:00
Jackson Harper bc653100af * Control.cs (ResolveUrl): Special case for urls that consist of
only a page anchor. ie <a href="#top">. This fixes bug #50165.

svn path=/trunk/mcs/; revision=19729
2003-11-08 07:56:31 +00:00
Ben Maurer 4ff2d51140 2003-11-04 Ben Maurer <[email protected]>
* HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just return false
	(which makes sense, as the custom errors *arent* enabled; ie they dont work.
	* HttpResponseStream.cs: you actually can write with len = 0
	* AssemblyResourceLoader.cs: New file. New v2 handler.
	* Control.cs (GetWebResourceUrl): new v2 function
	* Page.cs (GetWebResourceUrl): ditto.
	make the JS we generate work with moz if the form is not a child
	of document.
	* WebResourceAttribute.cs: Added, new v2 attribute.

svn path=/trunk/mcs/; revision=19631
2003-11-04 23:43:25 +00:00
Gonzalo Paniagua Javier d1459321c7 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: removed some debug lines.
	* System.Web.UI/Page.cs: implemented RegisterOnSubmitStatement
	* System.Web.UI/TemplateControl.cs: fixed wire up for methods with no
	parameters.
	* System.Web.UI.HtmlControls/HtmlForm.cs: render the onsubmit attribute.

svn path=/trunk/mcs/; revision=18945
2003-10-13 01:14:56 +00:00
Gonzalo Paniagua Javier c1f8e0e8e4 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
	(ClearChildViewState): doh! Don't clear control viewstate but the
	viewstate of possible children.
	(LoadViewStateRecursive): load viewstate even when control is not
	visible.
	Fixes bug #49024.
	The rest are just dangling ^M removed.

	* DataBoundLiteralControl.cs:
	(LoadViewState): we get an object [], not a string [].

svn path=/trunk/mcs/; revision=18405
2003-09-29 19:14:56 +00:00
Gonzalo Paniagua Javier 3a8ee6fc47 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: implemented ClearChildViewState ().
	* System.Web.UI.WebControls/Repeater.cs: fixed bug #48807. It needed
	to use a DummyDataSource and ClearViewState only called when no items.

svn path=/trunk/mcs/; revision=18351
2003-09-28 14:17:02 +00:00
Gonzalo Paniagua Javier cd3e8ca585 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: patch by [email protected] (Yaron Shkop) that fixes
	bug #47866.

svn path=/trunk/mcs/; revision=17607
2003-08-26 02:07:48 +00:00
Gonzalo Paniagua Javier baca0bfba1 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: index the viewstates saved by the control position, not the
	control name. Fixes bug #47697.

svn path=/trunk/mcs/; revision=17445
2003-08-20 16:26:26 +00:00
Gonzalo Paniagua Javier 4d491c40d3 2003-08-18 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: when we load the viewstate for a control that has children
	viewstates and the child is not found, keep its viewstate around and
	wait until the child is added to load the viewstate. Fixes bug #47697.

svn path=/trunk/mcs/; revision=17381
2003-08-18 16:57:44 +00:00
Andreas N daa87f5920 2003-07-17 Andreas Nahr <[email protected]>
* IUserControlDesignerAccessor.cs: Added and implemented
	* Control.cs: Missing member added, added all attributes
	* Page.cs: Added attributes, fixed signature
	* TemplateControl.cs: Fixed signature, added all attributes
	* UserControl.cs: Added all attributes, added and implemented missing interface

svn path=/trunk/mcs/; revision=16355
2003-07-17 18:59:43 +00:00
Gonzalo Paniagua Javier 4bf7143482 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
* list: forgot to add this one.

	* System.Web.Compilation/AspGenerator.cs: corrected typo and wrong fix.

	* System.Web.UI/Control.cs: have i definitely fixed naming container
	stuff this time?

	* System.Web.UI/LosFormatter.cs: activated binary serialization code.

	* System.Web.UI.WebControls/ButtonColumn.cs: fixed a couple of infinite
	loop problems and render correctly the header of the column.

	* System.Web.UI.WebControls/DataGridTableInternal.cs: don't assign a
	default ID to this control.

	* System.Web.UI.WebControls/LinkButton.cs: raise bubble event in
	OnCommand.

	* System.Web.UI.WebControls/TableCellCollection.cs: fixed the index
	returned by Add.

	* System.Web.UI.WebControls/TableRowCollection.cs: ditto.

svn path=/trunk/mcs/; revision=11601
2003-02-15 04:08:30 +00:00
Gonzalo Paniagua Javier 2aac73c7b6 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
	(AddedControl): fixed default id assignation when the sequence of
	AddedControl until it's included in the page or one of its controls
	does not pass through a naming container.

svn path=/trunk/mcs/; revision=11573
2003-02-14 06:00:20 +00:00
Gonzalo Paniagua Javier 3d4938068e 2003-02-09 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: give different default names depending on the place where
	it is assigned. Implemented ResolveURl (no more ~ rendered in
	attributes!).

svn path=/trunk/mcs/; revision=11392
2003-02-09 04:26:02 +00:00