Commit Graph
18 Commits
Author SHA1 Message Date
Sebastien Pouliot 9c6f49799f 2005-09-21 Sebastien Pouliot <[email protected]>
* AdCreatedEventArgs.cs: Added declarative security (Link and, for 
	2.0, Inheritance demands) for Minimal.
	* BaseCompareValidator.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* BaseDataBoundControl.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* BaseValidator.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* BoundColumn.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* ButtonColumn.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* CalendarDay.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* CheckBoxList.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* CompareValidator.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* CustomValidator.cs: Added declarative security (Link and Inheritance
	demands) for Minimal.
	* DataBoundControl.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* DataGridItemCollection.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* DataKeyCollection.cs: Added declarative security (LinkDemands) for 
	Minimal.
 	* DataListItemCollection.cs: Added declarative security (LinkDemands) 
	for Minimal.
	* DataListItem.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* FontNamesConverter.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* HyperLink.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* HyperLinkColumn.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* Image.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal.


svn path=/trunk/mcs/; revision=50392
2005-09-21 17:24:38 +00:00
Gonzalo Paniagua Javier 459c5b276e 2005-09-19 Gonzalo Paniagua Javier <[email protected]>
* TableStyle.cs: fixed typo that prevented restoring GridLines from
	a saved viewstate.

	* DataGrid.cs: the table does not get an auto ID. When restoring from
	viewstate, use all the saved columns, not just that data bound ones. Set
	the owner of the BoundColumns created. Save/restore columns.
	OnItemCreated happens after the item is initialized and the data item is
	set before the event and nullified after OnItemDataBound.
	Add the render_table to the Controls immediately, otherwise we might get
	errors from child controls such as "must be rendered inside a form".
	Keep the items created in the list waiting for them.
	The table uses the attributes from the DataGrid and ControlStyle.
	Raise OnItemCommand on all bubble events and don't propagate bubble
	event up in the hierarchy

	* TableCell.cs: it does not get an automatic ID.
	* BoundColumn.cs: FormatDataValue returns an empty string on null input
	(there was already a test for this).

	Fixes bug #76117.


svn path=/trunk/mcs/; revision=50218
2005-09-19 07:33:26 +00:00
Chris Toshok 545c9d318f 2005-09-01 Chris Toshok <[email protected]>
* Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
	CommandField.cs, HyperLinkColumn.cs, Table.cs,
	RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
	CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
	Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
	TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
	BaseValidator.cs, CustomValidator.cs, TextBox.cs,
	ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
	RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
	Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
	XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
	CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
	WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
	TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
	TableItemStyle.cs: Add some WebCategory and WebSysDescription
	attributes.


svn path=/trunk/mcs/; revision=49301
2005-09-01 21:25:48 +00:00
Dick Porter 3ff73d8d7d 2005-07-27 Dick Porter <[email protected]>
* HtmlInputCheckBoxTest.cs: Tests for HtmlInputCheckBox

2005-07-26  Dick Porter  <[email protected]>

	* HtmlSelectTest.cs: Tests for HtmlSelect

2005-07-21  Dick Porter  <[email protected]>

	* HtmlImageTest.cs: The order of attribute rendering has changed,
	and now matches MS

2005-07-19  Dick Porter  <[email protected]>

	* HtmlImageTest.cs: Added tests for negative values in int
	properties

2005-07-14  Dick Porter  <[email protected]>

	* HtmlFormTest.cs: New set of tests

2005-07-07  Dick Porter  <[email protected]>

	* HtmlImageTest.cs: Unit tests for HtmlImage

2005-08-04  Dick Porter  <[email protected]>

	* DataGridColumnTest.cs: Tests for DataGridColumn

2005-07-29  Dick Porter  <[email protected]>

	* RadioButtonTest.cs: Added tests for RadioButton

2005-07-14  Dick Porter  <[email protected]>

	* CheckBoxTest.cs: Added enum checks

2005-07-13  Dick Porter  <[email protected]>

	* CheckBoxTest.cs: Added tests for CheckBox - currently all
	passing on mono and ms runtimes.

2005-07-14  Dick Porter  <[email protected]>

	* HttpPostedFile.cs: New basic implementation; needs someone to
	figure out what a HttpRequestStream does

2005-08-18  Dick Porter  <[email protected]>

	* HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
	HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
	HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
	HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
	HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
	HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes

2005-08-09  Dick Porter  <[email protected]>

	* HtmlSelect.cs: Clear databindings when adding a new one; cope
	with assorted combinations of empty text and value fields; write
	<option> tags manually to match ms HTML output.  All fix nunit
	tests.

2005-08-05  Dick Porter  <[email protected]>

	* HtmlSelect.cs: Fix databinding when one or other of Name and
	Value aren't supplied (thanks to Peter for the patch); Make
	<option> indenting match ms output.

2005-07-29  Dick Porter  <[email protected]>

	* HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
	instead of building the query string by hand

2005-07-27  Dick Porter  <[email protected]>

	* HtmlInputCheckBox.cs: New implementation

2005-07-26  Dick Porter  <[email protected]>

	* HtmlSelect.cs: New implementation

2005-07-24  Dick Porter  <[email protected]>

	* HtmlForm.cs: Add the trailing query string to the form action;
	fixes bug shown in Test/standalone/htmlform/qs_postback.aspx

2005-07-22  Dick Porter  <[email protected]>

	* HtmlInputFile.cs: Add assembly attributes

2005-07-21  Dick Porter  <[email protected]>

	* HtmlImage.cs: The src attribute needs to be a relative URL;
	close the HTML element when rendering attributes, to match the MS
	impl.

	* HtmlForm.cs: Added assembly attributes; don't render ID twice;
	don't render enctype and target if they are empty strings;
	implement a Render overload to keep corcompare quiet.

2005-07-19  Dick Porter  <[email protected]>

	* HtmlImage.cs: Added attributes; use Int32.Parse instead of
	Convert.ToInt32

2005-07-14  Dick Porter  <[email protected]>

	* HtmlInputFile.cs: New implementation

2005-07-14  Dick Porter  <[email protected]>

	* HtmlForm.cs: New Implementation

2005-07-07  Dick Porter  <[email protected]>

	* HtmlImage.cs: New implementation

2005-08-18  Dick Porter  <[email protected]>

	* ControlCachePolicy.cs, PersistChildrenAttribute.cs,
	UserControl.cs, DesignerDataBoundLiteralControl.cs,
	PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
	BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
	stubs and attribute fixes

2005-08-11  Dick Porter  <[email protected]>

	* CssStyleCollection.cs: Tweak the css string format to pass a
	unit test

	* AttributeCollection.cs: Don't NRE if someone sets the "style"
	attribute to null.

2005-08-05  Dick Porter  <[email protected]>

	* HtmlTextWriter.cs: Make <option> tags render inline, to match
	the ms output

2005-07-07  Dick Porter  <[email protected]>

	* StateBag.cs: Added internal SetDirty (void) method to fix the
	build

2005-08-18  Dick Porter  <[email protected]>

	* PageAdapter.cs, ControlAdapter.cs: 2.0 stubs

2005-08-18  Dick Porter  <[email protected]>

	* Consts.cs: Added System.Web and Microsoft.VisualStudio.Web
	constants for 2.0

2005-08-18  Dick Porter  <[email protected]>

	* Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
	DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
	RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
	BaseDataList.cs, DataList.cs, BulletedList.cs,
	DataBoundControl.cs, Login.cs, GridView.cs,
	CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
	TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
	AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
	DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
	CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
	ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
	BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
	LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
	fixes

2005-08-11  Dick Porter  <[email protected]>

	* CheckBox.cs: Let ViewState manage removals; apply styles and
	"style" attributes in a surrounding <span>.  Fixes unit tests.

2005-08-05  Dick Porter  <[email protected]>

	* CheckBox.cs: Shut corcompare up a bit more.  Still need to
	figure out how to not use AddAttributesToRender to get it
	completely silent.

	* ButtonColumn.cs: Implement Initialize() and InitializeCell()

	* DataGridColumn.cs: Added the duplicate viewstate manipulation
	methods

2005-08-04  Dick Porter  <[email protected]>

	* DataGridColumn.cs: New implementation

	* DataGrid.cs: 
	* DataGridColumnCollection.cs: Set the DataGridColumn's owner

2005-07-29  Dick Porter  <[email protected]>

	* RadioButton.cs: Hide nonstandard API; remove GroupName from the
	ViewState when it is null.

	* CheckBox.cs: Hide nonstandard API

2005-07-22  Dick Porter  <[email protected]>

	* BoundColumn.cs: 
	* ButtonColumn.cs: Initial stubs

2005-07-22  Dick Porter  <[email protected]>

	* RadioButton.cs:
	* CheckBox.cs: Add assembly attributes

2005-07-13  Dick Porter  <[email protected]>

	* CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
	null Text properties from the ViewState, test for TextAlign being
	out of range.  All to make tests pass on both mono and ms
	runtimes.

2005-07-12  Dick Porter  <[email protected]>

	* RadioButton.cs: New implementation

	* CheckBox.cs: Rearrange the attributes rendering to allow
	RadioButton to derive from this

2005-07-11  Dick Porter  <[email protected]>

	* CheckBox.cs: New implementation

	* RadioButton.cs: Initial stubbed version that just compiles

2005-07-08  Dick Porter  <[email protected]>

	* TextAlign.cs: 
	* BorderStyle.cs: Added

svn path=/trunk/mcs/; revision=48915
2005-08-26 22:21:30 +00:00
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +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
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Jackson Harper 5a98ec1ab9 * BoundColumn.cs: Render readonly columns. Patch by Mohammad
DAMT.

svn path=/trunk/mcs/; revision=19591
2003-11-03 20:44:36 +00:00
Andreas N 0fc9b50a1a 2003-08-01 Andreas Nahr <[email protected]>
* AdRotator.cs: Added all attributes
	* BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
	* BaseValidator.cs: Added all attributes
	* BoundColumn.cs: Added all attributes
	* Button.cs: Added all attributes
	* ButtonColumn.cs: Added all attributes, added lamespec
	* Calendar.cs: Added all attributes, added error checks, throws more exceptions
	* CheckBox.cs: Added all attributes
	* CheckBoxList.cs: Added all attributes
	* CompareValidator.cs: Added all attributes
	* CustomValidator.cs: Added all attributes
	* DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
	* DataGridColumn.cs: Added all attributes
	* DataGridColumnCollection.cs: Added all attributes
	* DataGridPagerStyle.cs: Added all attributes
	* DataGridTableInternal.cs: Made DataGridTableInternal internal
	* DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
	* DropDownList.cs: Added all attributes
	* FontInfo.cs: Added all attributes
	* HyperLink.cs: Added all attributes
	* HyperLinkColumn.cs: Added all attributes
	* Image.cs: Added all attributes
	* ImageButton.cs: Added all attributes
	* Label.cs: Added all attributes
	* LinkButton.cs: Added all attributes
	* ListBox.cs: Added all attributes, added error checks, throws more exceptions
	* ListControl.cs: Added all attributes
	* ListItem.cs: Added all attributes
	* ListItemCollection.cs: Added attribute
	* Literal.cs: Added all attributes
	* Panel.cs: Added all attributes
	* RadioButton.cs: Added all attributes
	* RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
	* RangeValidator.cs: Added all attributes
	* RegularExpressionValidator.cs: Added all attributes
	* Repeater.cs: Added all attributes

svn path=/trunk/mcs/; revision=16985
2003-08-01 08:04:00 +00:00
Gonzalo Paniagua Javier f71e7daac7 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* BoundColumn.cs: typo.
	* DataGrid.cs: use 'as' instead of casting. Typo.
	* HyperLinkColumn.cs: call OnColumnChanged when any property change.
	Mono-stylized.

svn path=/trunk/mcs/; revision=10264
2003-01-07 23:21:44 +00:00
Gaurav Vaish 72b85ba496 2002-10-28 Gaurav Vaish <[email protected]>
* BoundColumn.cs        - InitializeCell(TableCell, int, ListItemType)
                                              : Implemented.
                        - All Properties      : Now make use of ViewState.

svn path=/trunk/mcs/; revision=8620
2002-10-28 12:02:41 +00:00
Gaurav Vaish d88fdc72e5 2002-01-07 Gaurav Vaish <[email protected]>
* <All>.cs  -- A lot of decoration. Gosh! saved, not too many..

svn path=/trunk/mcs/; revision=1887
2002-01-07 02:37:35 +00:00
Gaurav Vaish 01172da4be 2001-12-21 Gaurav Vaish <[email protected]>
* System.Web/*.cs
* System.Web.Caching/*.cs
* System.Web.UI/*.cs
* System.Web.Utils/*.cs
* System.Web.UI.WebControls/*.cs

  -- The ISP was down yesterday and today morning. So many files. See changelog for more details.

svn path=/trunk/mcs/; revision=1666
2001-12-21 08:42:28 +00:00
Gaurav Vaish a25836b7b2 2001-12-19 Gaurav Vaish <[email protected]>
* UI.WebControls/*.cs

 --> Got over 100 erros, 50+ warning (with /nowarn:1595). Trying to remove them for first build. Completing uncompleted. Creating new ones.

svn path=/trunk/mcs/; revision=1640
2001-12-19 10:35:06 +00:00
Gaurav Vaish e4baacc8ba 2001-12-02 Gaurav Vaish <[email protected]>
* Minor changes in comments

svn path=/trunk/mcs/; revision=1507
2001-12-02 17:14:11 +00:00
Gaurav Vaish 4e6f4fe924 2001-11-15 Gaurav Vaish <[email protected]>
* AdRotator.cs, BoundColumn.cs, Button.cs, ButtonColumn.cs, DataList.cs, WebControl.cs
                         - the dummy / unimplemented / partially implemented functions now throw NotImplementedException.

svn path=/trunk/mcs/; revision=1360
2001-11-15 07:48:37 +00:00
Gaurav Vaish 535eaddea7 2001:11:12 Gaurav Vaish <[email protected]>
svn path=/trunk/mcs/; revision=1327
2001-11-11 16:21:45 +00:00
Miguel de Icaza ee4c94e9ba More Updates from Guarav
svn path=/trunk/mcs/; revision=1259
2001-11-05 06:11:37 +00:00