Commit Graph
20 Commits
Author SHA1 Message Date
Marek Habersack ef9c9e51ce Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +00:00
Vladimir Krasnov 345867a67a * Button.cs, DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs, RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs, TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs, BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs, RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs, ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs: refactoring, used AddAttribute overload without encoding on known attribute values
svn path=/trunk/mcs/; revision=83500
2007-08-05 14:30:23 +00:00
Vladimir Krasnov a237678b91 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
svn path=/trunk/mcs/; revision=69644
2006-12-18 08:17:58 +00:00
Vladimir Krasnov bbe7ffab1e * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table when rendering disabled list control
svn path=/trunk/mcs/; revision=58691
2006-03-29 08:55:45 +00:00
Vladimir Krasnov cb13a63be9 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
svn path=/trunk/mcs/; revision=58348
2006-03-23 10:00:18 +00:00
Sebastien Pouliot 2493a78c34 2005-09-23 Sebastien Pouliot <[email protected]>
* FontUnit.cs: Added, but only for 1.x, declarative security (Link and
	Inheritance demands) for Minimal.
	* Label.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal.
	* ListItem.cs: Added declarative security (LinkDemands) for Minimal.
	* ListItemCollection.cs: Added declarative security (LinkDemands) for 
	Minimal.
	* MonthChangedEventArgs.cs: Added declarative security (Link and, for 
	2.0, Inheritance demands) for Minimal.
	* PagedDataSource.cs: Added declarative security (LinkDemands) for 
	Minimal.
	* Panel.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal.
	* Repeater.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
	* SelectedDatesCollection.cs: Added declarative security (LinkDemands)
	for Minimal.
	* TargetConverter.cs: Added declarative security (Link and Inheritance
	demands) for Minimal.
	* Unit.cs: Added, but only for 1.x, declarative security (Link and 
	Inheritance demands) for Minimal.
	* ValidatedControlConverter.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* WebColorConverter.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* Xml.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal.
	* ValidationSummary.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.


svn path=/trunk/mcs/; revision=50572
2005-09-23 14:10:35 +00:00
Ben Maurer 8a626a981c 2005-08-04 Ben Maurer <[email protected]>
* CalendarTest.cs: Test based on an msdn example. Again, I (heart)
	anonymous methods.

2005-08-03  Ben Maurer  <[email protected]>

	* RepeatInfoTest.cs: Test for copying from base control

	* WebControlTest.cs: Issue I found while doing repeatinfo

	* LabelTest.cs: New tests.

	* PanelTest.cs: New tests

2005-07-30  Ben Maurer  <[email protected]>

	* RepeatInfoTest.auto.cs: Regen.

	* RepeatInfoTest.gen.cs: Autogenerate tests for 0 items

2005-07-26  Ben Maurer  <[email protected]>

	* RepeatInfoTest.cs: Remove tests that are contained below

	* RepeatInfoTest.auto.cs: Generated tests.

	* RepeatInfoTest.gen.cs: A test generator for repeatinfo

2005-07-20  Ben Maurer  <[email protected]>

	* DropDownListTest.cs (InitialSelectionMade): Add a test for a
	regression that seems to be caused by some change to
	ListItemCollection. Add this file to sources as all tests other
	than this pass using the old impl of ddl except for this, which is
	a regression.

2005-07-19  Ben Maurer  <[email protected]>

	* UnitConverterTest.cs: New tests

2005-07-07  Ben Maurer  <[email protected]>

	* FontUnitTest.cs: Make it run on msft

2005-08-05  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: Option is rendered as a block.

2005-07-18  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: I fixed the nested indents

2005-07-18  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: Enable some indentation tests, others
	need to be disabled

2005-07-12  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: Enable some tests

2005-07-11  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: The style attr thing below seems to be a
	2.0 ism. Add tests for indentation.

2005-07-11  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: Add a test for popping end tags working
	correctly.

	* ToolboxDataAttributeTest.cs: Don't depend on the way that hash
	values are generated. Also, use built strings rather than stuff
	from ldstr to make the test a bit stronger.

	* PropertyConverterTest.cs: Make this pass on MSFT 1.1

2005-07-08  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: Update notworking

2005-07-07  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: More tests.

2005-08-04  Ben Maurer  <[email protected]>

	* HttpContext.cs: Kill a NIE.

2005-07-30  Ben Maurer  <[email protected]>

	* HtmlForm.cs: Make sure we actually put the "?" in the url

2005-08-05  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Revert the patch below, see test case

2005-08-03  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Optmize this not to do insane amounts of
	allocation for large pages, etc.

2005-07-29  Ben Maurer  <[email protected]>

	* StateBag.cs: Don't remove when tracking viewstate, as per msft
	docs.

2005-07-29  Ben Maurer  <[email protected]>

	* StateBag.cs: Actually *remove* items that are null. Duh.

2005-07-18  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Fix nested indentation

2005-07-18  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Fix indentation (somewhat at least)

2005-07-17  Ben Maurer  <[email protected]>

	* AttributeCollection.cs: Use the invariant culture.

	* StateBag.cs: "Duh" optimization: return null when there are no
	dirty items in the view state

2005-07-14  Ben Maurer  <[email protected]>

	* StateBag.cs: A "short" version of my favorite method.

	* HtmlTextWriter.cs: New method to get the tag name staticly.

2005-07-13  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Remove debugging spew. Style cleanup

2005-07-12  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Make styles work.

2005-07-11  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Missing a PopEndTag here.

	* PropertyConverter.cs: Pass tests

2005-07-08  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Much better compliance with msft

2005-07-07  Ben Maurer  <[email protected]>

	* StateBag.cs: Noticed an issue where SetDirty was called when the
	key did not exist.

2005-07-07  Ben Maurer  <[email protected]>

	* StateBag.cs: Add a method that gets a string or else a default
	value.

2005-07-06  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Make sure to clear attributes when they are
	written.

	* StateBag.cs: New impl

2005-07-15  Ben Maurer  <[email protected]>

	* DataSourceHelper.cs: Obsolete

	* DataSourceResolver.cs: Moved from DataSourceHelper.

2005-07-14  Ben Maurer  <[email protected]>

	* DataSourceHelper.cs: Helper method used for data binding.

2005-08-04  Ben Maurer  <[email protected]>

	* LinkButton.cs: Fix up the test suite here.

	* Panel.cs: Fix up nowrap

2005-08-03  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Finally figured out how to use base control

2005-07-31  Ben Maurer  <[email protected]>

	* TextBox.cs: Html encode for multiline text boxes

	* HyperLink.cs: Resolve images

2005-07-30  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Handle 0 items situations correctly

	* HyperLink.cs: Resolve urls correctly

	* CheckBox.cs: use the correct ID for the label element.

	* Label.cs: Correct AddParsedSubObject impl. See FAQ

2005-07-29  Ben Maurer  <[email protected]>

	* Label.cs: ClientID should be used rather than UniqueID to get
	the For attribute

2005-07-29  Ben Maurer  <[email protected]>

	* RadioButton.cs: The "remove from groupstate" isn't needed any
	more, now that statebag is correct.

2005-07-28  Ben Maurer  <[email protected]>

	* CompositeControl.cs: Stub

2005-07-25  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
	cracktastic.
	
2005-07-25  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: If the repeater has one column, the separators
	are rendered on a different line

2005-07-25  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Split the horiz and vertical cases, because this
	class has rules that are beyond strange. Continue working to make
	my tests work.

2005-07-25  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Misc fixes for my test suite.

2005-07-22  Ben Maurer  <[email protected]>

	* HyperLink.cs: Handle non-literal children.

2005-07-21  Ben Maurer  <[email protected]>

	* Label.cs: SP1 stuff

2005-07-21  Ben Maurer  <[email protected]>

	* TextBoxMode.cs: Wrong ordering of enum...

2005-07-21  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Fix most of the tests.

2005-07-20  Ben Maurer  <[email protected]>

	* SelectedDatesCollection.cs: Apprarently, I don't write code well
	at 1 am.

	* Repeater.cs: Uh, actually add stuff to the items collection
	 (thanks sp ;-)

2005-07-20  Ben Maurer  <[email protected]>

	* DataGridColumnCollection.cs: New impl

	* TemplateColumn.cs: New impl

2005-07-19  Ben Maurer  <[email protected]>

	* FontUnit.cs: Corcompare fixes

	* UnitConverter.cs: Fix api diffs

2005-07-18  Ben Maurer  <[email protected]>

	* ListControl.cs: Fix api differences

2005-07-18  Ben Maurer  <[email protected]>

	* TextBox.cs: Finish this up.

	* AdRotator.cs: Fix issues in the test suite. Minor style
	cleanups.

	* Repeater.cs: Fix a bug where the datasource is null and we do
	the binding

	* WebColorConverter.cs: Optimize by not doing a concat on a
	formatted string.

2005-07-17  Ben Maurer  <[email protected]>

	* ListItemCollection.cs: Multiple uses of equals rather than
	string.compare as below. Remove unreachable code warning.

	* WebColorConverter.cs (ConvertTo): Use the == operator on string
	rather than an invariant non-case ignoring compare. They are
	exactly the same thing. Use proper coding style in this method.

	* WebControl.cs: Return null when saving the view state if there
	is no state in any of the things we save. This creates a fairly
	large savings, because we can avoid saving anything about many
	levels of deaply nested controls.

2005-07-15  Ben Maurer  <[email protected]>

	* Repeater.cs (DoItem): Add the DataItem before we call user
	methods, as it seems to be there with msft.

2005-07-15  Ben Maurer  <[email protected]>

	* Repeater.cs (DoItem): We need to .Add the control *before* we
	data bind it so that the state gets tracked correctly. Fixes the
	postback test case.

2005-07-14  Ben Maurer  <[email protected]>

	* WebControl.cs:
	  - Some optimizations
	    * Don't use enum formatting stuff, it is 1) expensive 2) does 
	      allocations. Use a new method in HtmlControl to do the right
	      formatting.
	    * Don't use Enum.IsDefined but an explicit check.
	    * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
	  - Use the correct coding style.
	
2005-07-14  Ben Maurer  <[email protected]>

	* Repeater.cs: Cleanup; use the DataSourceHelper thingy.

2005-07-14  Ben Maurer  <[email protected]>

	* Repeater.cs: Get it working

2005-07-14  Ben Maurer  <[email protected]>

	* Repeater.cs: The beginnings of this control

2005-07-13  Ben Maurer  <[email protected]>

	* RepeaterItem.cs: Compile fix

	* RepeaterItemCollection.cs: New file

	* RepeaterItem.cs: get OnBubbleEvent right.

2005-07-13  Ben Maurer  <[email protected]>

	* RepeaterItem.cs: Stub

2005-07-13  Ben Maurer  <[email protected]>

	* RepeatInfo.cs: Impl.

2005-07-12  Ben Maurer  <[email protected]>

	* ListItem.cs: New impl.

2005-07-12  Ben Maurer  <[email protected]>

	* TextBox.cs: Passwords seem 1) not to be rendered to the client
	if set, 2) not kept in view state (for security reasons...)

	* LinkButton.cs: 
	* Button.cs: Page.Validate () if needed. Gets the validator tests
	working again.

	* TextBox.cs: Properties to get the validator stuff to work.

2005-07-11  Ben Maurer  <[email protected]>

	* LinkButton.cs: 
	* Button.cs: Bubble the Command event.

2005-07-11  Ben Maurer  <[email protected]>

	* Button.cs:
	  - Clean up style (with my wonderful state bag hack!)
	  - Fix a view state typo.
	  - Use AddAttributesToRender
	  - Don't add an extra <span>

2005-07-09  Ben Maurer  <[email protected]>

	* TextBox.cs: More work on this

2005-07-09  Ben Maurer  <[email protected]>

	* TextBox.cs: Add the work I did on this today. It's not complete
	yet, but its a start!

2005-07-08  Ben Maurer  <[email protected]>

	* LinkButton.cs: Command impl

2005-07-08  Ben Maurer  <[email protected]>

	* LinkButton.cs: Initial impl

2005-07-07  Ben Maurer  <[email protected]>

	* PlaceHolderControlBuilder.cs: new file

	* LabelControlBuilder.cs: New file

	* HyperLink.cs: use control builder; fix parsing stuff

	* HyperLinkControlBuilder.cs: new file

	* Panel.cs: misc fixes

2005-07-07  Ben Maurer  <[email protected]>

	* PlaceHolder.cs: New file. Seems to do nothing

	* Label.cs: Use my new statebag trick to reduce typing

	* HyperLink.cs: New file

2005-07-06  Ben Maurer  <[email protected]>

	* Unit.cs: cctor not needed; static fields are 0 init'd by default

	* WebControl.cs: Kothari & Datye's book explains how these work.

	* IRepeatInfoUser.cs: Reimpl.

svn path=/trunk/mcs/; revision=48921
2005-08-26 22:27:41 +00:00
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +00:00
Eyal Alalouf 8e0a4a27fc Implement accessibility features for NET_1_1 configuration.
svn path=/trunk/mcs/; revision=47711
2005-07-26 16:30:17 +00:00
Juraj Skripsky e824a07520 2005-01-10 Juraj Skripsky <[email protected]>
* RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
	generates invalid html).


svn path=/trunk/mcs/; revision=38645
2005-01-10 20:19:58 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Alon Gazit 2a9a5a66c8 Fixed DoVerticalRendering () and DoHorizontalRendering().
Current implementation produces few extra html tags.

svn path=/trunk/mcs/; revision=21555
2003-12-30 14:23:43 +00:00
Alon Gazit c065e78258 Fixed DoVerticalRendering() and DoHorizontalRendering().
Both methods add additional empty table row in the head of each item table
when the variable named isTable equals true (happenes with the default instantiation
of RepeatInfo).
These additional rows should be added when isTable equals false.

svn path=/trunk/mcs/; revision=21234
2003-12-16 11:02:19 +00:00
Alon Gazit 416556866b Fixed DoVerticalRendering() and DoHorizontalRendering().
Both methods add to rendered Header a colspan attribute according to the rows count.
After the change the colspan is added according to the columns count.

svn path=/trunk/mcs/; revision=21179
2003-12-15 16:45:47 +00:00
Jackson Harper d06c56531d * RepeatInfo.cs: When rendering vertically figure out how many
colmns are not going to be filled in in the last row, and adjust
	things accordingly. This fixes bug #51863.

svn path=/trunk/mcs/; revision=21015
2003-12-11 09:02:26 +00:00
Jackson Harper 41591e12e1 * RepeatInfo.cs: When doing horizontal rendering use the repeat
columns as the number of columns in a row. This fixes bug
	#49016.

svn path=/trunk/mcs/; revision=19607
2003-11-04 05:22:38 +00:00
Gonzalo Paniagua Javier 0ece19ea9f 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
* RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
	* RepeatInfo.cs: implemented DoHorizontalRendering.

svn path=/trunk/mcs/; revision=5334
2002-06-19 01:46:50 +00:00
Gaurav Vaish ea05be005d 2002-03-17 Gaurav Vaish <[email protected]>
* Yups! Another milestone reached. System.Web assembly build successfully.

svn path=/trunk/mcs/; revision=3156
2002-03-17 04:44:47 +00:00
Gaurav Vaish cea71236b2 2002-03-16 Gaurav Vaish <[email protected]>
* Trying to go for a build... changes due to the same...

svn path=/trunk/mcs/; revision=3139
2002-03-16 00:59:22 +00:00
Gaurav Vaish 31d545941c 2002-01-31 Gaurav vaish <[email protected]>
* RepeatInfo.cs  -- Almost done. See ChangeLog for details.

* ChangeLog  -- About what's status of RepeatInfo. Vertical direction rendering
 is left.

* TODO -- "&" mark for RepeatInfo class.

svn path=/trunk/mcs/; revision=2201
2002-01-31 01:52:55 +00:00