Commit Graph
432 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier d5f384ac7e 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
* ObjectTagBuilder.cs: only fail when no id and no attributes.


svn path=/trunk/mcs/; revision=50823
2005-09-27 06:48:44 +00:00
Sebastien Pouliot fcb9fa195e 2005-09-23 Sebastien Pouliot <[email protected]>
* DataBindingCollection.cs: Using an hashtable is a nice trick but
	we need to copy values (not the DictionaryEntry) in CopyTo.
	* Page.cs: IsValid throws an exception if the page hasn't be 
	validated. VerifyRenderingInServerForm doesn't throw an exception
	during unit testing (without a context?) but does in normal ops.


svn path=/trunk/mcs/; revision=50651
2005-09-23 23:32:07 +00:00
Gonzalo Paniagua Javier 070d6e9ba9 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
	save the allocation of new MemoryStreams when possible. Thanks to
	Sebastien again.


svn path=/trunk/mcs/; revision=50648
2005-09-23 23:15:50 +00:00
Ben Maurer de4d2eee34 In Test/System.Web.UI:
2005-09-23  Ben Maurer  <[email protected]>

	* HtmlTextWriterTest.cs: Reenable some stuff

In System.Web.UI:
2005-09-23  Ben Maurer  <[email protected]>

	* HtmlTextWriter.cs: Initial support for escaping.


svn path=/trunk/mcs/; revision=50636
2005-09-23 22:23:33 +00:00
Gonzalo Paniagua Javier de6e5d9a8e 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
* ViewStateOutputHashStream.cs: Removed. It didn't last long.

	* Page.cs: almost restored to its previous state, but now that we found
	that LosFormatter ctor that takes 'enableMac', moved the logic to
	add the hash and validate there. Thanks to Sebastien for his input.
	
	* LosFormatter.cs: implemented the missing ctors and support for
	"MAC" validation of the data.


svn path=/trunk/mcs/; revision=50634
2005-09-23 22:03:12 +00:00
Gonzalo Paniagua Javier 6780251b11 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs:
	* System.Web.UI/ViewStateOutputHashStream.cs:
	* System.Web.dll.sources: added support for viewstate MAC. It prevents
	the viewstate being altered on the client and it's disabled by default
	as per the documentation, but MS machine.config has it enabled in
	machine.config.


svn path=/trunk/mcs/; revision=50567
2005-09-23 09:34:40 +00:00
Sebastien Pouliot 7330a12648 fix default build
svn path=/trunk/mcs/; revision=50547
2005-09-23 00:48:06 +00:00
Miguel de Icaza cbfe1dff48 Remove a number of compilation warnings.
2005-09-22  Miguel de Icaza  <[email protected]>

	* DataBindingCollection.cs: Raise the event, remove MonoTODO.

	* MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
	string. 



svn path=/trunk/mcs/; revision=50544
2005-09-23 00:13:59 +00:00
Sebastien Pouliot 2a989e4587 2005-09-21 Sebastien Pouliot <[email protected]>
* Control.cs: Added null checks for Trace as it can be null when 
	rendering (like it was for 39 unit tests).


svn path=/trunk/mcs/; revision=50368
2005-09-21 12:01:37 +00:00
Gonzalo Paniagua Javier ed6bbe092b 2005-09-21 Gonzalo Paniagua Javier <[email protected]>
* System.Web/TraceContext.cs: add new method to store size of controls.
	* System.Web/TraceData.cs: render control size.
	* System.Web/HttpResponse.cs: new internal method to get the number
	of bytes of buffered output.
	* System.Web/HttpResponseStream.cs: added Length property to the Buckets
	and new GetTotalLength.
	* System.Web.UI/Page.cs: reverted hacks used with the wrong method of
	getting a control rendered size.
	* System.Web.UI/Control.cs: if the trace is enabled, save control 
	rendered size.


svn path=/trunk/mcs/; revision=50355
2005-09-21 05:09:29 +00:00
Sebastien Pouliot 52befb0ae9 2005-09-19 Sebastien Pouliot <[email protected]>
* Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
	now use HtmlHeader directly.
	* UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
	rewrote Equals to avoid dual type cast.


svn path=/trunk/mcs/; revision=50247
2005-09-19 18:07:12 +00:00
Sebastien Pouliot 43529e8ac0 2005-09-19 Sebastien Pouliot <[email protected]>
* SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.


svn path=/trunk/mcs/; revision=50237
2005-09-19 15:19:57 +00:00
Sebastien Pouliot 7836b64c9d 2005-09-19 Sebastien Pouliot <[email protected]>
* ControlBuilder.cs: Added BuildObject override for 2.0 profile.
	* TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
	with Minimal level. Fixed checks on ctor.
	* TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level.
	* TemplateContainerAttribute.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level.
	* TemplateControl.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level. Fixed checks/exceptions. 
	Stubbed IFilterResolutionService for CAS testing.
	* TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
	AspNetHostingPermission with Minimal level.
	* TemplateParser.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level.
	* ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
	with Minimal level. Removed IDispose interface.
	* ToolboxDataAttribute.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute 
	to work on both 1.x and 2.0 profiles.
	* Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand 
	for AspNetHostingPermission with Minimal level.
	* UserControl.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level. Stubbed 
	IFilterResolutionService for CAS testing.
	* UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
	for AspNetHostingPermission with Minimal level.
	* ValidationPropertyAttribute.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level.
	* ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission 
	with Minimal level.
	* WebResourceAttribute.cs: Removed extra ctor and added setter to 
	PerformSubstitution.
	* WebServiceParser.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level.


svn path=/trunk/mcs/; revision=50230
2005-09-19 13:55:35 +00:00
Sebastien Pouliot 5021dda9b2 2005-09-15 Sebastien Pouliot <[email protected]>
* ParseChildrenAttribute.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Simplified Equals to avoid
	casting. Added new ctor and public fields (2.0). Changed 
	ChildControlType setter visibility to internal.
	* PartialCachingAttribute.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Added new ctor and 
	SqlDependency property (2.0).
	* PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
	AspNetHostingPermission with Minimal level.
	* PersistenceModeAttribute.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Simplified Equals to avoid
	casting.
	* PersistChildrenAttribute.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Simplified Equals to avoid 
	casting.
	* PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission 
	with Minimal level. Class is static in 2.0.
	* RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for 
	AspNetHostingPermission with Minimal level. Class is no more sealed in
	2.0. Added new (2.0) BuiltObjects property.
	* SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand 
	for AspNetHostingPermission with Minimal level.
	* StateItem.cs: Added LinkDemand for AspNetHostingPermission with 
	Minimal level.
	* StateBag.cs: Added LinkDemand for AspNetHostingPermission with 
	Minimal level. Removed SetDirty() which was called (2.0) but did 
	nothing.
	* StaticPartialCachingControl.cs: Added LinkDemand and 
	InheritanceDemand for AspNetHostingPermission with Minimal level.


svn path=/trunk/mcs/; revision=50115
2005-09-15 22:58:35 +00:00
Sebastien Pouliot 7bd944ac5a fix typo in new property names
svn path=/trunk/mcs/; revision=50094
2005-09-15 17:03:59 +00:00
Sebastien Pouliot d3e07dd1e4 2005-09-15 Sebastien Pouliot <[email protected]>
* Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level. Added new 2.0 properties
	(but the generated HTML doesn't use them).
	* HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level.
	* ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
	with Minimal level.
	* LiteralControl.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level. Default Text is null.
	* LosFormatter.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
	* ObjectConverter.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
	* ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission 
	with Minimal level. Added check for null id (HttpException).
	* Page.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level. Throw some HttpException 
	when no context is available.
	* Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal 
	level. InheritanceDemand too for 1.x.
	* PageParser.cs: Added LinkDemand for AspNetHostingPermission with 
	Minimal level.


svn path=/trunk/mcs/; revision=50093
2005-09-15 16:58:32 +00:00
Sebastien Pouliot 197375627a 2005-09-14 Sebastien Pouliot <[email protected]>
* DataBinder.cs: Added LinkDemand for AspNetHostingPermission with 
	Minimal level. Fixed some exceptions.
	* DataBindingCollection.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Added 2.0 method and 
	event.
	* DataBindingHandlerAttribute.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level.
	* DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
	Minimal level. Simplified Equals (reduced casts).
	* DataBoundLiteralControl.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Implemented ITextControl
	for 2.0.
	* DesignerDataBoundLiteralControl.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level.
	* DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
	with Minimal level. Added new 2.0 properties.
	* DesignTimeTemplateParser.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Made class static and 
	stubbed missing methods (2.0).
	* EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand 
	for AspNetHostingPermission with Minimal level. Changed Add* methods
	exceptions to HttpException.


svn path=/trunk/mcs/; revision=50067
2005-09-15 02:57:58 +00:00
Sebastien Pouliot 08b22e140d oops, forgot to make ResolveClientUrl public
svn path=/trunk/mcs/; revision=50045
2005-09-14 17:39:26 +00:00
Sebastien Pouliot c1cc7616df 2005-09-14 Sebastien Pouliot <[email protected]>
* AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
	with Minimal level.
	* BaseParser.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level.
	* BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
	for AspNetHostingPermission with Minimal level.
	* CompiledTemplateBuilder.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level.
	* ConstructorNeedsTagAttribute.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level.
	* ControlBuilderAttribute.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Simplified Equals and 
	IsDefaultAttribute.
	* ControlBuilder.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level.
	* ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
	* ControlCollection.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level. Fixed possible stack 
	overflow in Add* methods. Fixed CopyTo as we're not allocating the 
	array based on the number of items.
	* Control.cs: Added LinkDemand and InheritanceDemand for 
	AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
	* CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission 
	with Minimal level.
	* IStyleSheet.cs: Fixed parameter orders (2.0).


svn path=/trunk/mcs/; revision=50041
2005-09-14 17:25:07 +00:00
Gonzalo Paniagua Javier 07dde69797 2005-09-10 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: default VS 2005 pages are compiled fine now.


svn path=/trunk/mcs/; revision=49848
2005-09-10 04:13:40 +00:00
Chris Toshok 3c093f62af make this 2.0 only
svn path=/trunk/mcs/; revision=49614
2005-09-07 05:59:17 +00:00
Chris Toshok b904d28596 2005-09-07 Chris Toshok <[email protected]>
* MinimizableAttributeTypeConverter.cs: new class, whose existence
	we know about because of corcompare, and for whose implementation
	we have exclusively nunit to thank.


svn path=/trunk/mcs/; revision=49613
2005-09-07 05:58:31 +00:00
Chris Toshok 561e734531 2005-09-06 Chris Toshok <[email protected]>
* RootBuilder.cs (.cctor): doh, add all the new html controls
	here.


svn path=/trunk/mcs/; revision=49605
2005-09-07 01:40:10 +00:00
Chris Toshok 8c74efe01f add missing (and empty) WebSysDescription
svn path=/trunk/mcs/; revision=49289
2005-09-01 19:14:02 +00:00
Chris Toshok 9c4b4ef61e 2005-08-31 Chris Toshok <[email protected]>
* DataSourceSelectArguments.cs (Empty): this is apparently,
	according to corcompare, a property, not a field.  go figure.
	(Equals): implement.
	(IsEmpty): remove all mention of it.


svn path=/trunk/mcs/; revision=49228
2005-08-31 23:02:09 +00:00
Chris Toshok 53bffa410c 2005-08-29 Chris Toshok <[email protected]>
* StateBag.cs (GetChar): add.


svn path=/trunk/mcs/; revision=49088
2005-08-29 19:50:35 +00:00
Chris Toshok 772c6dd121 2005-08-28 Chris Toshok <[email protected]>
* Page.cs: more random corcompare work.
	(PageAdapter): implement.


svn path=/trunk/mcs/; revision=49012
2005-08-28 06:41:51 +00:00
Chris Toshok 3702c87de5 2005-08-28 Chris Toshok <[email protected]>
* Page.cs (.ctor): set our initial ID to "__Page".
	(SmartNavigation): obsolete in 2.0.
	(FindControl): new implementation.  Just check our own ID against
	the control we're looking for.  otherwise pass it along to
	base.FindControl.
	(GetPostBackClientHyperlink): obsolete in 2.0.


svn path=/trunk/mcs/; revision=49010
2005-08-28 06:25:40 +00:00
Chris Toshok 0ab3a0ccac 2005-08-28 Chris Toshok <[email protected]>
* ClientScriptManager.cs: public sealed in 2.0

	* IAdaptableTextWriter.cs: new 2.0 interface.

	* IHierarchyData.cs: fix return type for GetParent.


svn path=/trunk/mcs/; revision=49009
2005-08-28 06:22:13 +00:00
Chris Toshok f58121b1cf 2005-08-28 Chris Toshok <[email protected]>
* Pair.cs: mark serializable and sealed in 2.0.


svn path=/trunk/mcs/; revision=48998
2005-08-28 04:18:12 +00:00
Dick Porter 5e81ec917e Add
svn path=/trunk/mcs/; revision=48948
2005-08-26 23:01:59 +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
Miguel de Icaza 9727ce7394 Add
svn path=/trunk/mcs/; revision=48927
2005-08-26 22:32:13 +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
Jackson Harper f21c03b531 2005-07-18 Jackson Harper <[email protected]>
* HtmlInputHiddenTest.cs: New test.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: New tests for HtmlInputButton.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlButtonTest.cs: New tests for HtmlButton.

2005-08-08  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Tests for creating enumerators when
	paging is not enabled.

2005-08-05  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Tests for PageCount.

2005-08-02  Jackson Harper  <[email protected]>

	* BoundColumnTest.cs: Start of tests for the BoundColumn class.
	
2005-08-01  Jackson Harper  <[email protected]>

	* TableStyleTest.cs: Check that items copied set the styles flags.

2005-08-01  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Test the enumerators a little.

2005-07-28  Jackson Harper  <[email protected]>

	* EditCommandColumnTest.cs: Make the DataGridTest nested so my
	top secret DataGrid tests will still compile.

2005-07-25  Jackson Harper  <[email protected]>

	* DataGridTest.cs: More tests for the pager.

2005-07-22  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Basic test for InitializePager.

2005-07-21  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Test the order the events are invoked in when
	creating the control hierarchy.

2005-07-21  Jackson Harper  <[email protected]>

	* PagedDataSourceTest.cs: Test to see what happens when we get a
	non ITypedList.

2005-07-20  Jackson Harper  <[email protected]>
2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Make sure we get back a proper columns
	collection.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: The columns collection cached from the
	CreateColumnSet is stored in the view state.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Test generating column names with/without
	enabling useDataSource.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Check the properties of newly created
	BoundColumns.

2005-07-19  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: New unit test for GetItemProperties.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: New tests for creating column sets.

2005-07-19  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: New tests for FindControl.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: New test for viewstate saving.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Bubble tests for Page command. Tests for bad
	Page command bubble event args.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Select can also be bubbled.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: Tests for the BubbleEvent.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGridTest.cs: New tests. Just does properties and events for
	the most part.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: New tests for FindControl.

2005-07-15  Jackson Harper  <[email protected]>

	* WebControlTest.cs: New test to make sure NamingContainers are
	honoured when rendering client ids.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: More tests for the IRepeatInfoUser stuff
	and for rendering.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: Rendering tests.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: Fix the exception types thrown for bad
	enums. Mark as NotWorking as this doesn't work with the old
	CheckBoxList class anymore.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: Add some rendering tests. These aren't
	fully working yet so they are in the NotWorking category.

2005-07-14  Jackson Harper  <[email protected]>

	* CheckBoxListTest.cs: This has the potential to be a beautiful
	test.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControlTest.cs: New test for the viewstate and item
	selection.

2005-07-13  Jackson Harper  <[email protected]>

	* ListControlTest.cs: New tests for the ListControl.

2005-07-13  Jackson Harper  <[email protected]>

	* ListBoxTest.cs: Exception is thrown (by ListControl). Dont run
	the BadBorderStyle test as this fails in ListControls.

2005-07-12  Jackson Harper  <[email protected]>

	* ListBoxTest.cs: Some simple tests for the ListBox control.
	
2005-07-08  Jackson Harper  <[email protected]>

	* LiteralTest.cs: new test.
	* MonthCalendarEventArgsTest.cs: new test.

2005-07-08  Jackson Harper  <[email protected]>

	* AdCreatedEventArgsTest.cs: Added test.

2005-07-08  Jackson Harper  <[email protected]>

	* ToolbarDataAttributeTest.cs: New test.

2005-07-07  Jackson Harper  <[email protected]>

	* PropertyConverterTest.cs: New tests.

2005-08-15  Jackson Harper  <[email protected]>

	* CacheItemPriority.cs:
	* CacheItemRemovedCallback.cs:
	* CacheItemRemovedReason.cs: New implementations.

2005-08-26  Jackson Harper  <[email protected]>

	* HttpResponseStream.cs: Use GetBuffer so the memory isn't
	duplicated.

2005-08-26  Jackson Harper  <[email protected]>

	* HttpResponse.cs: Send the cached headers if this is a cached
	response. Save the headers, date header, and page data. Fix a typo.
	* HttpResponseStream.cs: Add new accesor to get a byte [] of the
	page data.

2005-08-15  Jackson Harper  <[email protected]>

	* ApplicationShutdownReason.cs: make build

2005-07-18  Jackson Harper  <[email protected]>

	* HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
	attribute.

2005-07-15  Jackson Harper  <[email protected]>

	* HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
	constant. Update fetching from viewstate code to use new
	convenience method.

2005-07-15  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: Add DefaultEventAttribute.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
	string constant. Use new method for accessing ViewState
	data. Don't remove value from the view state if it is the default.

2005-07-14  Jackson Harper  <[email protected]>

	* HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
	string constant. Use new method for accessing ViewState
	data. Don't remove value from the view state if it is the default.
	
2005-07-14  Jackson Harper  <[email protected]>

	* HtmlInputControl.cs: Use ClientID for input controls name.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlInputImage.cs: New implementation.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlInputHidden.cs: New implementation.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlAnchor.cs: Call base OnPreRender from override.

2005-07-07  Jackson Harper  <[email protected]>

	* HtmlInputButton.cs: New implementation.

2005-07-06  Jackson Harper  <[email protected]>

	* HtmlButton.cs: New implementation.

2005-07-13  Jackson Harper  <[email protected]>

	* PropertyConverter.cs: No public constructors.

2005-07-08  Jackson Harper  <[email protected]>

	* ToolbarDataAttribute.cs: New implementation.

2005-07-07  Jackson Harper  <[email protected]>

	* PropertyConverter.cs: New implementation.

2005-08-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: Disable the pager row if there no paging enabled
	or available.

2005-08-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: The number of pages set in the pager is specified
	by PageButtonCount.

2005-08-22  Jackson Harper  <[email protected]>

	* DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
	controls.
	(InitializeNumericPager): Now that the pager actually renders
	properly I can see that I was computing it incorrectly.

2005-08-22  Jackson Harper  <[email protected]>

	* DataGrid.cs (RenderTable): Make sure the new table gets the
	correct style.
	(CreateColumnSet): Clear the data source columnbs before adding
	new ones regardless of whether or not a property descriptor was
	found.
	(InitializePager): pager_cell needs to be a member so it isn't
	created more then once per a render.
	(InitializeNumericPager): Compute start and end more
	correctly.
	- Link commands are 1 indexed.
	(CreateControlHierarchy): Clear the table before we begin
	rendering.
	- Revert patch that made adding the pagers conditional. This is
	incorrect, the pagers are always added. Only their visibility is
	affected by the pager style.
	- Save the entire count in the viewstate, not just the rendered
	count. So when paging is enabled the pager's count isn't broken by
	postback.

2005-08-17  Jackson Harper  <[email protected]>

	* DataGrid.cs: Only create one pager and add it to both the top
	and bottom of the grid, this way all the id numbers stay the same
	and we save a bunch of cycles.

2005-08-17  Jackson Harper  <[email protected]>

	* DataGrid.cs: The top and bottom pagers are always created. Just
	the visibility is changed by the PagerStyle::Position.

2005-08-15  Jackson Harper  <[email protected]>

	* EditCommandColumn.cs: Use a normal LinkButton.

2005-08-12  Jackson Harper  <[email protected]>

	* TableRow.cs: No AutoID for TableRows.

2005-08-12  Jackson Harper  <[email protected]>

	* DataGrid.cs (CreateRenderColumns): If we aren't using data
	binding grab the rendercols from the data source columns.
	(LoadViewState): Restore the bound columns when reloading the
	viewstate.
	(InitializeNumericPager): Create elipsised pagers.
	(CreateItem): Don't set the item's ID.
	(CreateItem): Add the control to the table before it is databound
	so that it's value is saved in the viewstate.
	(CreateControlHierarchy): Create a fake data source when not using
	databinding. Don't add controls to the table as they are added in
	CreateItem now.
	(PrepareControlHierarchy): Make footers and header non visible if
	they aren't enabled.

2005-08-12  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Set the controls text instead of adding a
	literal control. So it is saved in the controls viewstate.

2005-08-11  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: Set the tabindex on the checkbox control and
	don't render it on the main table (Setting it to zero causes it to
	not be rendered). Also use the invariant culture on the id.

2005-08-10  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Respect paging with all data source types.

2005-08-08  Jackson Harper  <[email protected]>

	* DataGrid.cs: Apply the styles to each item type. 

2005-08-08  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: If paging is not enabled keep enumerating to
	the end of the list.

2005-08-05  Jackson Harper  <[email protected]>

	* DataGrid.cs: Don't make the current page index a link in the
	pager.

2005-08-05  Jackson Harper  <[email protected]>

	* DataGrid.cs: Honour PagerPosition.

2005-08-05  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Round PageCount properly.

2005-08-04  Jackson Harper  <[email protected]>

	* DataGrid.cs: Add a new space control for each link. Also make
	the link's text 1 indexed. Don't add the space after the last
	item.

2005-08-03  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Respek for the thisExpr when data binding.

2005-08-03  Jackson Harper  <[email protected]>

	* ButtonColumn.cs: Partial implementation.

2005-08-03  Jackson Harper  <[email protected]>

	* DataGrid.cs: Merge the table style with the render table. Some
	initial work on the numeric pager. Remove some debugging code.
	
2005-08-03  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Implement Initialize and InitializeCell. When
	Data is formated it uses the DataFormatString that was set at the
	time Initialize was called (or null if initialize was never
	called).

2005-08-01  Jackson Harper  <[email protected]>

	* TableStyle.cs: Copy style bit when copying from another style.

2005-08-01  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Implement missing properties, use yield for
	the Enumerator methods. Only allow the enums to return one page at
	a time.

2005-07-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: Set the command name and args on the link buttons.

2005-07-25  Jackson Harper  <[email protected]>

	* DataGrid.cs: Lots o implementation.

2005-07-25  Jackson Harper  <[email protected]>

	* BoundColumn.cs: Partial implementation to get the DataGrid tests
	passing again.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Store the data source created columns in a 
	  DataGridColumnCollection. This way they can be put in the 
	  view state more easily, and accessed without casting.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Save the data source created column set in the 
	  view state.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: column names are cached and only regenerated if useDataSource
	  is set to true. Otherwise they are just fetched from the last set that 
	  was generated from the source.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Assign some properties of newly created BoundColumns.

2005-07-20  Jackson Harper  <[email protected]>

	* DataGrid.cs: Add some of the collections. Implement
          column creation.

2005-07-20  Jackson Harper  <[email protected]>

	* PagedDataSource.cs: Implement GetItemProperties, this is
	  needed for the datagrid.

2005-07-19  Jackson Harper  <[email protected]>

	* ListControl.cs: Use Events Add/RemoveHandler. Don't create
	  a viewstate object if all the viewstate stuff is null.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGrid.cs: Implement style properties and viewstate 
	  saving/loading/tracking.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGrid.cs: Implement bubble event.

2005-07-19  Jackson Harper  <[email protected]>

	* DataGrid.cs: New implementation. Just properties and events for 
	  now.

2005-07-18  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: Implement LoadPostBackData. Also register 
	  checkboxes for postback if they are checked so we can find
	  out when they are unchecked. Copy the AutoPostBack variable 
	  to the to be rendered checkbox when rendering.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: Use the index as the ID, the rest of the 
	  id is built by being in the NamingContainer.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Use enum instead of string. Saves a lookup. 

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: FindControl always returns 'this' according
	  to my probing.

2005-07-15  Jackson Harper  <[email protected]>

	* CheckBoxList.cs: New impl.

2005-07-15  Jackson Harper  <[email protected]>

	* WebControl.cs: Use the ClientID when rendering a controls ID
	  attribute so that naming containers are honoured. 

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: use the state manager interface for tracking
	  the viewstate.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Simplify comparison. 

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs:
	* Repeater.cs: Use new utility class for resolving data sources.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Add attributes so the sub items get parsed 
	  properly. Remove old unneeded code for resolving lists.

2005-07-15  Jackson Harper  <[email protected]>

	* ListControl.cs: Use the DataSourceHelper so DataMembers are 
	  resolved properly.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: Use DataBinder.Eval for data binding. This is more
	code-reuse-arific. Also use the IStateManager interface for loading
	data instead of the old internal method.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: Initial implementation of Databinding. Make sure
	that the ListItemCollection is created when we load its ViewState. 

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: Fix typo.

2005-07-14  Jackson Harper  <[email protected]>

	* ListControl.cs: New Implementation. Lacks databinding support.

2005-07-13  Jackson Harper  <[email protected]>

	* ListBox.cs: Some parameter checking.

2005-07-13  Jackson Harper  <[email protected]>

	* ListBox.cs: Use invariant culture when doing a ToString,
	  set value to the item's value, not to its Text.

2005-07-12  Jackson Harper  <[email protected]>

	* ListBox.cs: Even track default values in the viewstate. Call
	  base's RenderContents.

2005-07-12  Jackson Harper  <[email protected]>

	* ListBox.cs: New impl.

2005-07-08  Jackson Harper  <[email protected]>

	* Literal.cs: New implentation.
	* MonthChangedEventArgs.cs: new
	* MonthChangedEventHandler.cs: new
	
2005-07-08  Jackson Harper  <[email protected]>

	* AdCreatedeventArgs.cs: New implementation.

svn path=/trunk/mcs/; revision=48920
2005-08-26 22:27:06 +00:00
Chris Toshok feb7ab6df4 2005-08-17 Chris Toshok <[email protected]>
* WebPartTest.cs: new test.
2005-08-26  Chris Toshok  <[email protected]>

	* HtmlButtonTest.cs: add view state tests (to make sure
	ValidationGroup and CausesValidation are there.)

2005-08-22  Chris Toshok  <[email protected]>

	* HtmlInputCheckBoxTest.cs: 2.0-ify these tests.

	* HtmlInputButtonTest.cs: same.

2005-08-22  Chris Toshok  <[email protected]>

	* SimpleWorkerRequestTest.cs (Host): make cwd =
	"Environment.CurrentDirectory + Path.DirectorySeparatorChar" so we
	pass on MS.

2005-08-11  Chris Toshok  <[email protected]>

	* jsunit.js (Assert): no reason to have a prototype for
	this.. just define a variable named Assert and add it to the
	script's context.

2005-08-11  Chris Toshok  <[email protected]>

	* jsunit.js (jsunit_RunTestForPage): set the failure_span
	innerHTML explicitly to "0 tests" to initialize it.
	(jsunit_RunTestForPageStep): use update_failures_span here to set
	the innerhtml to whatever our results currently are.
	(update_failures_span): new function, basically just set the text
	and background of the span.

2005-08-04  Chris Toshok  <[email protected]>

	* jsunit.js: add expected failure output.  add some (for now)
	disabled netscape.security handling for UniversalBrowserRead (so
	we can do testing of remote pages.)

2005-08-03  Chris Toshok  <[email protected]>

	* jsunit.js: Mucho improvements.

2005-08-02  Chris Toshok  <[email protected]>

	* jsunit.js (JSUnit_Click): fix typo.
	(checkReadyState): fix c&p error.
	(jsunit_RunTestPageStep): initialize both test_scripts.waiting and
	test_run.waiting before we fire off the load(s).
	(jsunit_FindTestFixture): new function to locate the test fixture
	on either page, and set top.test_fixture and
	top.test_fixture_context accordingly.
	(jsunit_RunTestsForPage): use jsunit_FindTestFixture.
	(jsunit_RunTestsForPageStep): same.
	(test_run_onload): remove the extraneous if-check
	(test_scripts_onload): same.

2005-08-01  Chris Toshok  <[email protected]>

	* jsunit.js (jsunit_RunTestForPageStep): add the public api to
	whatever script context we're using for TestFixture.  We need this
	here because pages that do postbacks but include the testfixture
	in the main page will get their context reset on the page load.

2005-08-01  Chris Toshok  <[email protected]>

	* jsunit.js: make the script: property on JSUnit_TestPages
	optional, and look for the TestFixture in the test_run page (so
	you can write html + tests all in one file).
	(JSUnit_Click): fix an "uh oh" alert.

2005-07-27  Chris Toshok  <[email protected]>

	* jsunit.js (Assert): when we fail due to an exception, use
	e.message which works on both ff and IE.
	
2005-07-27  Chris Toshok  <[email protected]>

	* jsunit.js: add a Trace object/window so we can get debug spew
	without window.alert.  Also, implement the readyState polling page
	loading hack for IE so we can remove all the onload handlers from
	.aspx/-script.html files in jsunit-tests (hurray).

2005-07-26  Chris Toshok  <[email protected]>

	* jsunit.js: add some better status messages.

2005-07-25  Chris Toshok  <[email protected]>

	* jsunit.js (JSUnit_Click): if el == null return early.
	(jsunit_RunTestForPageStep): wrap the call to testfunc() in a try
	block so we can add some failure text instead of making the user
	look at the JS console.

2005-07-25  Chris Toshok  <[email protected]>

	* jsunit-results.html: change the status span's id to status_text.

	* jsunit.js (encode): new function, to replace < with &lt;, > with
	&gt;, \n with \\n, etc, so when we output error strings we can see
	the actual html.
	(string_charcode_diff): return a string detailing the first index
	at which two strings differ.
	(Assert): encode all the strings we pass to test_failed.  Also on
	AreEqual and AreEqualCase, replace \r\n with \n (since mozilla
	seems to do this automatically, while IE doesn't), and also call
	string_charcode_diff.
	(JSUnit_*) change the state span's id to status_text so it works
	on IE, and widen the testcase tables.
	
2005-07-24  Chris Toshok  <[email protected]>

	* jsunit.js (JSUnit_GetAttribute): add optional id argument.
	defaults to using the bound element.
	
	* README: more docs, list out the convenience functions and some
	info about how to handle page loading.2005-08-26  Chris Toshok  <[email protected]>

	* TextBoxTest.cs: add tests for the 2.0 validation properties, and
	to make sure they're getting saved to the viewstate.

2005-08-26  Chris Toshok  <[email protected]>

	* FontUnitTest.cs: Add tests for the two 2.0 constructors, and the
	2.0 ToString(IFormatProvider) method.

	* UnitTest.cs: Add tests for the 2.0 ToString(IFormatProvider)
	method.

2005-08-25  Chris Toshok  <[email protected]>

	* CalendarTest.cs: add viewstate tests for Caption/CaptionAlign
	(2.0).

2005-08-24  Chris Toshok  <[email protected]>

	* ValidationSummaryTest.cs (ValidationSummary_ValidationGroup):
	add tests for ValidationGroup, making sure it's stored in the
	ViewState.

2005-08-23  Chris Toshok  <[email protected]>

	* RepeatInfoTest.cs (RenderRepeater_BaseControl): the 2.0 ReatInfo
	class does things a little differently.

2005-08-22  Chris Toshok  <[email protected]>

	* ListControlTest.cs: #if NET_2_0 some of the asserts whose values
	are different in 2.0.

	* ValidationSummaryTest.cs: same.

	* XmlTest.cs: same.

	* ListBoxTest.cs: same.

	* CheckBoxTest.cs: same.

	* UnitTest.cs: same.

	* TextBoxTest.cs: same.

	* CustomValidatorTest.cs: same.

	* DataGridTest.cs: same.

	* BaseCompareValidatorTest.cs: remove ko-KR, since my laptop
	presently can't find it, and we already have another ymd date
	element order.

2005-08-22  Chris Toshok  <[email protected]>

	* RepeatInfoTest.auto.cs: regenerate.

	* RepeatInfoTest.auto.2.0.cs: generate using .Net 2.0.

	* RepeatInfoTest.gen.cs: add wrapper #ifdefs for the 1.x/2.0 cases
	- we need both.

2005-08-22  Chris Toshok  <[email protected]>

	* BaseCompareValidatorTest.cs: fix the tests that change behavior
	between 1.x and 2.0.

2005-08-22  Chris Toshok  <[email protected]>

	* LinkButtonTest.cs: add validation group tests.

2005-08-22  Chris Toshok  <[email protected]>

	* ImageButtonTest.cs: add NET_2_0 validation tests.

2005-08-22  Chris Toshok  <[email protected]>

	* CheckBoxTest.cs: add NET_2_0 validation tests.

2005-08-22  Chris Toshok  <[email protected]>

	* ButtonTest.cs (Button_DefaultValues): add NET_2_0 test for
	ValidationGroup.
	(Button_ViewState): same.

2005-08-17  Chris Toshok  <[email protected]>

	* CompositeControlTest.cs: put it in the MonoTests. namespace so
	it shows up in the right place in the nunit gui.
	
2005-08-12  Chris Toshok  <[email protected]>

	* CompositeControlTest.cs: a couple of tests for CompositeControl.

2005-07-30  Chris Toshok  <[email protected]>

	* HyperLinkColumnTest.cs: add some tests for how the column
	initializes a TableCell.

2005-07-29  Chris Toshok  <[email protected]>

	* BaseCompareValidatorTest.cs (CanConvert): disable B9, until we
	figure out a culture independent way to do it.
	(Convert): same with C17/C18.
	(MiscPropertiesAndMethods): test CutoffYear, GetFullYear, and
	GetDateElementOrder.

2005-07-29  Chris Toshok  <[email protected]>

	* BaseCompareValidatorTest.cs: use DateTime to generate the
	strings for our date tests, since they're culture specific.

2005-07-19  Chris Toshok  <[email protected]>

	* BaseValidatorTest.cs: use the right call (SetValidationTextBox)
	in ValidatorTest.

2005-07-19  Chris Toshok  <[email protected]>

	* BaseCompareValidatorTest.cs: add date tests.

2005-07-18  Chris Toshok  <[email protected]>

	* BaseCompareValidatorTest.cs: note the lack of Date tests, and
	add null tests.

2005-07-18  Chris Toshok  <[email protected]>

	* BaseCompareValidatorTest.cs: new tests.

2005-07-18  Chris Toshok  <[email protected]>

	* CompareValidatorTest.cs (CompareValidator_ValueToCompareTest,
	CompareValidator_ControlToCompareTest): new methods.

	* ValidatorTest.cs: add AddTextBox method.

2005-07-18  Chris Toshok  <[email protected]>

	* RegularExpressionValidatorTest.cs: add a simple validation test.

	* ValidatorTest.cs: add a base class for validator tests, that
	enables a little scaffolding for faking out the test.

2005-07-18  Chris Toshok  <[email protected]>

	* CompareValidatorTest.cs: new tests.

2005-07-18  Chris Toshok  <[email protected]>

	* RegularExpressionValidatorTest.cs: new test.

2005-08-19  Chris Toshok  <[email protected]>

	* ProfileInfo.cs: I was bored.  implement this.

2005-08-25  Chris Toshok  <[email protected]>

	* HttpApplication.cs (IsReusable): return true.
	(InitOnce): remove the initialization of handler_factory from
	here.
	(GetHandler) and move it here, so we make sure to load handlers
	from all needed web.config files.

2005-08-25  Chris Toshok  <[email protected]>

	* HttpApplication.cs (InitOnce): move the initialization of
	modules above the call to HttpApplicationFactory.AttachEvents,
	since that method accesses HttpApplication.Modules.  Fixes
	nGallery.
	(IsReusable): mark TODO.

2005-08-18  Chris Toshok  <[email protected]>

	* HttpRequest.cs (get_Params): implement.

2005-08-17  Chris Toshok  <[email protected]>

	* HttpResponse.cs: HttpResponse's Cookie's collection acts
	differently than HttpRequests in that it never returns null from
	the "this [string]" accessor.

2005-07-27  Chris Toshok  <[email protected]>

	* HttpResponseHeader.cs: remove spew.
	
2005-07-27  Chris Toshok  <[email protected]>

	* HttpResponseHeader.cs (HttpResponseHandler..ctor): use
	HttpWorkerRequest.GetKnownResponseHeaderName instead of
	GetKnownRequestHeaderName.  Fixes Response.Redirect until miguel's
	new HttpReponse is online.

2005-07-21  Chris Toshok  <[email protected]>

	* HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
	and EcmaScriptVersion properties.

2005-07-21  Chris Toshok  <[email protected]>

	* HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
	
2005-07-21  Chris Toshok  <[email protected]>

	* HttpResponseHeader.cs: url encode just \r and \n if they're
	present in the value.

2005-07-20  Chris Toshok  <[email protected]>

	* HttpPostedFile.cs: add missing ContentLength property.

2005-07-20  Chris Toshok  <[email protected]>

	* HttpCookieCollection.cs: add a new ctor that takes a string (the
	contents of the Cookies: header).

2005-07-20  Chris Toshok  <[email protected]>

	* HttpCookieCollection.cs: add another ctor (internal, but not
	obsolete, so we aren't passing a stupid HttpResponse in in order
	to change the behavior of the collection.)

	* HttpCookie.cs: init this.values in the internal ctor.

2005-07-20  Chris Toshok  <[email protected]>

	* HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
	with an HttpResponse's cookie collection.  That is, create the
	cookie if the consumer looks it up.

2005-07-18  Chris Toshok  <[email protected]>

	* HttpResponseHeader.cs: initial implementation.

2005-07-18  Chris Toshok  <[email protected]>

	* HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
	missing method.

	* HttpFileCollection.cs: initial implementation.

2005-07-18  Chris Toshok  <[email protected]>

	* HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
	missing method.

2005-07-18  Chris Toshok  <[email protected]>

	* HttpModuleCollection.cs: initial implementation.

2005-07-18  Chris Toshok  <[email protected]>

	* HttpCacheVaryByHeaders.cs: only add the header if it's not
	already in the hash.

	* HttpCacheVaryByParams.cs: only add the param if it's not already
	in the hash.

2005-07-18  Chris Toshok  <[email protected]>

	* HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
	MS quirk.

2005-07-16  Chris Toshok  <[email protected]>

	* HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
	= false in the custom setter.

2005-07-16  Chris Toshok  <[email protected]>

	* HttpCacheVaryByParams.cs: initial implementation.

2005-07-16  Chris Toshok  <[email protected]>

	* HttpCacheVaryByHeaders.cs: initial implementation.

2005-07-15  Chris Toshok  <[email protected]>

	* HttpCookie.cs: one more time.

2005-07-15  Chris Toshok  <[email protected]>

	* HttpCookie.cs (HttpCookie.GetCookieHeader): use
	expires.ToString().
	
2005-07-15  Chris Toshok  <[email protected]>

	* HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
	ben's bug.

2005-07-15  Chris Toshok  <[email protected]>

	* HttpCookieCollection.cs: initial implementation (with a couple
	of labeled inefficiencies.)

2005-07-15  Chris Toshok  <[email protected]>

	* HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
	instead of trying to be smart about it ourselves.

2005-07-15  Chris Toshok  <[email protected]>

	* HttpCookie.cs: initial implementation.  we fail one unit test,
	but it might be due to a bug in NameValueCollection.

2005-08-26  Chris Toshok  <[email protected]>

	* HtmlButton.cs (ValidationGroup): implement.
	(RaisePostBackEvent): gross #ifdef-iry to make sure we only have
	one body of the actual RaisePostBackEvent code.  Also, call
	Page.Validate(ValidationGroup) in the 2.0 case.

2005-08-25  Chris Toshok  <[email protected]>

	* HtmlForm.cs (CreateControlCollection, OnPreRender,
	RenderControl): implement naively, just calling base.Method.

2005-08-25  Chris Toshok  <[email protected]>

	* HtmlForm.cs (RenderAttributes): don't strip off the stuff after
	the last '/' when rendering the action.  Fixes comments in
	nGallery.

2005-08-24  Chris Toshok  <[email protected]>

	* HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
	HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
	HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
	Add MonoTODO's for all NotImplementedException's.

2005-07-20  Chris Toshok  <[email protected]>

	* HtmlForm.cs (RenderAttributes): if there are submit statements,
	we need to render those.

	* HtmlInputImage.cs: same.

	* HtmlInputButton.cs: hook up the client validation stuff.

	* HtmlButton.cs: same, except a lot more complicated due to
	postback handling.

2005-08-24  Chris Toshok  <[email protected]>

	* Control.cs (get_Adapter): Instead of throwing an exception, just
	return null, so we can write the rest of the Control specific
	Adapter code and just not enable any of those code paths until we
	have actual adapters.  Also flag TODO.
	(EnsureChildControls): Call out to Adapter.CreateChildControls if
	we have an adapter.
	(RenderChildren): call "RenderControl (writer, adapter)" if we
	have an adapter.
	(RenderControl): implement the adapter case naively.
	(LoadRecursive): call out to Adapter.OnLoad if we have one.
	(PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
	we have one.
	(InitRecursive): call out to Adapter.OnInit if we have one.

2005-08-24  Chris Toshok  <[email protected]>

	* Page.cs (GetPostBackEventReference): track change to
	ClientScriptManager and don't call a removed method.

	* ClientScriptManager.cs: track more recent docs and corcompare
	output.

2005-07-30  Chris Toshok  <[email protected]>

	* Page.cs (VerifyRenderingInServerForm): copy MS's error message
	since our form-errors jsunit tests depend on it.

2005-07-30  Chris Toshok  <[email protected]>

	* DataBinder.cs (FormatResult): make internal, not private.

2005-07-20  Chris Toshok  <[email protected]>

	* ClientScriptManager.cs (GetClientValidationEvent): the JS we
	stick in onclick handlers for buttons/links/etc.

	* Page.cs (GetSubmitStatements): new function to return
	scriptManager.WriteSubmitStatements.  Used by HtmlForm.
	(AreValidatorsUplevel): used by many of the button/linkbutton
	controls (the ones that can CauseValidation) to tell whether or
	not to emit client side validation calls.

2005-07-20  Chris Toshok  <[email protected]>

	* WebResourceAttribute.cs: make internal (and available) in
	!NET_2_0.

2005-07-20  Chris Toshok  <[email protected]>

	* ClientScriptManager.cs (GetWebResourceUrl): make internal (but
	available) in !NET_2_0.

2005-08-24  Chris Toshok  <[email protected]>

	* PageAdapter.cs, ControlAdapter: add MonoTODO's.

2005-07-20  Chris Toshok  <[email protected]>

	* AssemblyInfo.cs: add WebUIValidation.js attribute.

2005-08-17  Chris Toshok  <[email protected]>

	* WebPart.cs: add basic stubbed out (and mostly NYI)
	methods/properties.

	* Part.cs: same.

2005-08-25  Chris Toshok  <[email protected]>

	* HandlerFactoryConfiguration.cs: implement the slow path for
	PathMatches using Regex.  Also, make the fast path for exact
	matches faster (and more correct).

2005-08-25  Chris Toshok  <[email protected]>

	* HandlerFactoryConfiguration.cs: chain up to the parent
	Configuration if we don't have a match, instead of adding the
	parent's handlers to our list (and thereby overriding ours).

2005-08-04  Chris Toshok  <[email protected]>

	* WebUIValidation.js (CustomValidatorEvaluateIsValid): correct the
	args.IsValid check.

2005-08-04  Chris Toshok  <[email protected]>

	* WebUIValidation.js (ValidatorOnLoad): set "enabled" == "true" if
	there's no attribute present.
	(Page_ClientValidate): a validator succeeds if it's disabled.

2005-07-27  Chris Toshok  <[email protected]>

	* WebUIValidation.js (ValidatorCommonOnSubmit): fix formatting of
	List and SingleParagraph mode ValidationSummaries.
	(ValidatorTrim): use two regexps instead of two while loops.
	(CustomValidatorEvaluateIsValid): new function.

2005-07-26  Chris Toshok  <[email protected]>

	* WebUIValidation.js: fix the summary mode for
	ValidationSummaries.

2005-07-25  Chris Toshok  <[email protected]>

	* WebUIValidation.js (RangeValidatorEvaluateIsValid): fix this -
	GetAttribute is dead, long live validator.getAttribute.

2005-07-24  Chris Toshok  <[email protected]>

	* WebUIValidation.js: add support for validation summaries, both
	in summary and messagebox mode.

2005-07-22  Chris Toshok  <[email protected]>

	* WebUIValidation.js: the JSUnit tests pointed out that
	validator.evaluationfunction is not a string after OnLoad.  do
	this as well so the tests pass, and deal with the difference
	between o[attr], o.getAttribute(attr), and o.attr. Ugh.

2005-07-21  Chris Toshok  <[email protected]>

	* WebUIValidation.js (RequiredFieldValidatorEvaluateIsValid): trim
	both the initial value and the control's value.

2005-07-21  Chris Toshok  <[email protected]>

	* WebUIValidation.js: handle validators that use
	Display="Dynamic".

2005-07-20  Chris Toshok  <[email protected]>

	* WebUIValidation.js (ValidatorTrim): new function.
	(RangeValidatorEvaluateIsValid): use ValidatorGetValue and
	ValidatorTrim.
	(RegularExpressionValidatorEvaluateIsValid): same.
	(RequiredFieldValidatorEvaluateIsValid): same.

2005-07-20  Chris Toshok  <[email protected]>

	* WebUIValidation.js: new file.

2005-08-26  Chris Toshok  <[email protected]>

	* TextBox.cs: implement ValidationGroup and CausesValidation
	properties.

2005-08-26  Chris Toshok  <[email protected]>

	* Unit.cs: implement the 2.0 ToString(IFormatProvider) method.

	* FontUnit.cs: add two 2.0 ctors, and the 2.0
	ToString(IFormatProvider) method.

2005-08-26  Chris Toshok  <[email protected]>

	* Calendar.cs (UseAccessibleHeader): implement.
	(RaisePostBackEvent): some #ifdef ugliness to get this all working
	propertly between 1.x and 2.0
	(WriteDayHeader): if UseAccessibleHeader == true, render header
	cells as th's, not td's, and add abbr and scope attributes.

2005-08-25  Chris Toshok  <[email protected]>

	* Calendar.cs (Caption, CaptionAlign): implement these properties.
	(Render): if we have a non-empty caption, show it.
	(WriteCaption): new method, output the caption.

2005-08-25  Chris Toshok  <[email protected]>

	* Calendar.cs (Render): Copy the entire style from the Calendar to
	the Table, not just the font.
	(WriteDay): don't just write the link/text/etc.  Create a
	LiteralControl as a child of the cell, before the call to
	OnDayRender, with its text set to the day number.  After
	OnDayRender, set the literal's text to either the number again (if
	it's not selectable) or the full text of the js __doPostBack
	hyperlink (if it is.)  Also, use cell.RenderControl here so we can
	render child controls with the id's listed properly (and arguably
	incorrectly).
	(ApplyTitleStyleCell): remove.
	(WriteTitle): apply the titleStyle to the enclosing table, not the
	table cell containing the month name.  Also, copy from the
	Calendar's ControlStyle to populate tableTitle's style initially.
	We end up with more (superfluous) style attributes than MS, but
	it's better than having less.

2005-08-25  Chris Toshok  <[email protected]>

	* LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.

	* Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
	yet implemented.

	* HiddenField.cs: stub out this class and label everything
	MonoTODO.

2005-08-25  Chris Toshok  <[email protected]>

	* SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
	typo.

	* SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
	add a using statement.

2005-08-25  Chris Toshok  <[email protected]>

	* SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
	corcompare.

	* SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
	corcompare.

2005-08-25  Chris Toshok  <[email protected]>

	* SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.

2005-08-25  Chris Toshok  <[email protected]>

	* AdRotator.cs: stub out enough of the 2.0 methods/properties by
	calling base.Foo to get the standalone adrotator (1.0) tests to
	run without throwing exceptions.

2005-08-25  Chris Toshok  <[email protected]>

	* ValidationSummary.cs (ValidationGroup): implement.
	(Render): use Page.GetValidators in .net 2.0, so we can support
	ValidationGroups.  Also, <br>'s get rendered as <br /> in .net
	2.0.

2005-08-25  Chris Toshok  <[email protected]>

	* ImageButton.cs (TagKey): disable (but flag) the "virtual new"
	2.0 attribute modifiers, and revert back to "override".

	* ListBox.cs (BorderColor): disable (but flag) the "virtual new"
	2.0 attribute modifiers, and revert back to "override".
	(BorderStyle): same.
	(BorderWidth): same.

	* TextBox.cs (SaveViewState): implement naively, calling
	base.SaveViewState.
	(TagKey): disable (but flag) the "virtual new" 2.0 attribute
	modifiers, and revert back to "override".

2005-08-24  Chris Toshok  <[email protected]>

	* Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
	Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
	ListControl.cs, SiteMapPath.cs, BulletedList.cs,
	DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
	Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
	PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
	DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
	Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
	ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
	Add MonoTODO's for all things that throw NotImplementException.

2005-08-23  Chris Toshok  <[email protected]>

	* BaseCompareValidator.cs (GetFullYear): it turns out the docs up
	on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
	even though they were written for the 1.0 stuff.

2005-08-23  Chris Toshok  <[email protected]>

	* RepeatInfo.cs: some massaging to support both the 1.x and 2.0
	output.  Our tests now pass on both mono and ms, with both 1.x and
	2.0 profiles.

2005-08-22  Chris Toshok  <[email protected]>

	* LinkButton.cs (ValidationGroup): implement.
	(IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
	pass ValidationGroup to Page.Validate.

2005-08-22  Chris Toshok  <[email protected]>

	* ImageButton.cs (ValidationGroup): implement.
	(IPostBackEventHandler.RaisePostBackEvent): if we cause
	validation, call Page.Validate properly (in both profiles).

2005-08-22  Chris Toshok  <[email protected]>

	* Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
	case, pass ValidationGroup to Page.Validate.
	(ValidationGroup): implement using ViewState.

2005-08-22  Chris Toshok  <[email protected]>

	* BaseValidator.cs (Text): 2.0 only.  implement naively, just
	get/set base.Text.
	(OnInit): add 2.0 support for validation groups.
	(OnUnload): same.

2005-08-19  Chris Toshok  <[email protected]>

	* LinkButton.cs (ValidationGroup): implement getter/setter.
	(RaisePostBackEvent): implement naively, by c&p'ing the old
	implementation of IPostBackEventHandler.RaisePostBackEvent, but
	making use of the ValidationGroup in the call to Page.Validate.

	* Button.cs: same.

	* Style.cs (LoadViewState): set our style flags for all the things
	we have flags for.  Seems like the subclass flags should be
	handled in overridden LoadViewState methods, but none of the Style
	subclasses seem to override this method.

2005-08-19  Chris Toshok  <[email protected]>

	* TableStyle.cs (Merge, MergeWith): make these look a bit more
	like Copy/CopyFrom, with the styles checks instead of just
	ViewState checks.

	* TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
	TableStyle.cs.

2005-08-19  Chris Toshok  <[email protected]>

	* DataGrid.cs (InitializePager): don't unconditionally set
	pager_cell to the numeric pager (especially after setting it
	conditionally to the nextprev pager.)
	(InitializeNumericPager): the link buttons don't participate in
	validation.
	(InitializeNextPrevPager): same.
	(CreateControlHierarchy): create the top/bottom pagers only if the
	PagerStyle says too.

2005-08-18  Chris Toshok  <[email protected]>

	* DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
	the start of this method so templates are created properly.

2005-08-17  Chris Toshok  <[email protected]>

	* CompositeControl.cs (RecreateChildControls): implement naively -
	just call CreateChildControls.  We might need to call
	Controls.Clear() as well, but for the time being, this is ok.

2005-08-12  Chris Toshok  <[email protected]>

	* CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
	docs says these methods/properties "ensure the child controls are
	created" -- so call EnsureChildControls() before invoking the base
	class's code.

2005-08-10  Chris Toshok  <[email protected]>

	* Label.cs (LoadViewState): set the Text attribute from our
	ViewState (if it exists) to clear out any child controls.  Fixes
	jsunit test label/label-child-control-postback.aspx.

2005-08-05  Chris Toshok  <[email protected]>

	* HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
	null when it comes to the format string.
	(FormatDataTextValue): same.

2005-08-04  Chris Toshok  <[email protected]>

	* BaseValidator.cs (Validate): only test a validator if it's both
	enabled and visible.

2005-08-04  Chris Toshok  <[email protected]>

	* BaseValidator.cs (AddAttributesToRender): add "enabled" if
	!Enabled.

2005-08-01  Chris Toshok  <[email protected]>

	* HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.

2005-07-30  Chris Toshok  <[email protected]>

	* BaseValidator.cs: initial version of 2.0 properties
	ValidationGroup and SetFocusOnError.

2005-07-30  Chris Toshok  <[email protected]>

	* HyperLinkColumn.cs (InitializeCell): clean this up.

2005-07-30  Chris Toshok  <[email protected]>

	* HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
	DataBinder.FormatResult.
	(FormatDataTextValue): same.
	(Initialize): call base.Initialize.
	(ItemDataBinding): new function, get the text/navigateurl and set
	them on our HyperLink control.
	(InitializeCell): create a hyperlink control in the
	Item/EditItem/AlternatingItem case.

2005-07-29  Chris Toshok  <[email protected]>

	* BaseCompareValidator.cs (GetDateElementOrder): implement.

2005-07-29  Chris Toshok  <[email protected]>

	* BaseCompareValidator.cs (GetFullYear): implement two ways.  The
	#if'ed out version follows microsoft's docs on msdn, but doesn't
	match ms's behavior.  The other matches their behavior but not
	their docs.  we use the latter.  go figure.
	(get_CutoffYear): implement using
	CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.

2005-07-29  Chris Toshok  <[email protected]>

	* BaseValidator.cs (Validatate): not sure if this is entirely
	correct (some fairly deep testing required), but setting Enabled =
	false has the effect of setting IsValid = true.

2005-07-27  Chris Toshok  <[email protected]>

	* RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.

2005-07-26  Chris Toshok  <[email protected]>

	* LinkButton.cs (AddParsedSubObject): reversed the order of
	Controls.Add() and Text = null
	(set_Text): call Controls.Clear()
	(RenderContents): use HasControls() for the if test instead of
	Text != "".

	* HyperLink.cs (AddParsedSubObject): reversed the order of
	Controls.Add () and Text = null;

2005-07-26  Chris Toshok  <[email protected]>

	* LinkButton.cs (AddParsedSubObject): copy implementation from
	HyperLink.
	(RenderContents): only call writer.Write(Text) if Text != "".
	Otherwise default to base.RenderContents.

2005-07-26  Chris Toshok  <[email protected]>
	
	* Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
	ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
	(Page != null) around my last commit.
	
2005-07-26  Chris Toshok  <[email protected]>

	* Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
	ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
	Page.VerifyRenderingInServerFormHere.

2005-07-26  Chris Toshok  <[email protected]>

	* BaseValidator.cs: remove some MonoTODO's about the client side
	validator stuff.

2005-07-25  Chris Toshok  <[email protected]>

	* ValidationSummary.cs (AddAttributesToRender): add client side
	support.
	(OnPreRender): set the "been here" flag.
	(Render): add client side support.

2005-07-23  Chris Toshok  <[email protected]>

	* BaseValidator.cs (GetControlValidateValue): handle ListItems as
	prop.GetValue results.
	(Render): fix the static non-uplevel case, so that we display text
	when there's an error.

2005-07-22  Chris Toshok  <[email protected]>

	* RegularExpressionValidator.cs (AddAttributesToRender): only
	output ValidationExpression if it's != null.

2005-07-22  Chris Toshok  <[email protected]>

	* BaseValidator.cs (AddAttributesToRender): fix up the Display
	rendering such it matches MS's output.
	(Render): stop using the huge complicated if's for each output
	stage and move to boolean flags, and fix the static-nonuplevel
	case, where a validator outputs as nothing but &nbsp;

2005-07-21  Chris Toshok  <[email protected]>

	* BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
	stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
	stuff WebUIValidation.js uses, so we don't support it for uplevel
	rendering.

2005-07-21  Chris Toshok  <[email protected]>

	* BaseValidator.cs (DetermineRenderUplevel): include checks for
	the EcmaScriptVersion and W3CDomVersion.

2005-07-21  Chris Toshok  <[email protected]>

	* BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
	cache the results.

2005-07-21  Chris Toshok  <[email protected]>

	* BaseValidator.cs (get_PropertiesValid): use our containing
	NamingContainer, not ourselves, to look up controls.
	(CheckControlValidationProperty): same.
	(GetControlRenderID): same.
	(GetControlValidationValue): same.
	(AddAttributesToRender): add the display style attribute if
	Display != Static, and add the value of IsValid if it's false.
	(DetermineRenderUplevel): use a try block around (Page.Request)
	since that can raise an exception.
	(OnPreRender): set pre_render_called, so we can consult it in
	Render.
	(Render): complicate this method more to handle more of the
	Display/pre_render_called permutations.

2005-07-20  Chris Toshok  <[email protected]>

	* BaseValidator.cs: don't use Page.FindControl, use this Control's
	FindControl, so it'll use the same naming container.

2005-07-20  Chris Toshok  <[email protected]>

	* Button.cs: hook up the client side validation stuff.

	* ImageButton.cs: same.

	* LinkButton.cs: same, although it's a little more complicated
	here.

2005-07-20  Chris Toshok  <[email protected]>

	* BaseValidator.cs: another Page != null check when uplevel
	rendering.
	
2005-07-20  Chris Toshok  <[email protected]>

	* BaseValidator.cs: check Page != null when determining if we're
	rendering uplevel or not.

2005-07-20  Chris Toshok  <[email protected]>

	* BaseValidator.cs (AddAttributesToRender): render the client side
	attributes if we're in uplevel mode.
	(DetermineRenderUplevel): flesh out a bit - for now basically
	return true unless the control has it disabled.
	(OnInit): only add the validator to Page's list if there is, in
	fact, a page.
	(OnUnload): same for removal.
	(OnPreRender): hook up client scripting stuff here.  Only the call
	to RegisterValidatorCommonScript is a for sure thing here, the
	registering of the submit statement and startup script should
	probably go elsewhere, but I don't know where.
	(RegisterValidatorCommonScript): register the <script
	src=".../WebUIValidation.js"> tag, if it's not already there.
	(RegisterValidatorDeclaration): add our span object to the
	Page_Validators JS array.
	(Render): always render the tags (although this is probably not
	right), and call RegisterValidatorDeclaration here.
	
	* BaseCompareValidator.cs (AddAttributesToRender): render the
	client side attributes if we're in uplevel mode.
	(DetermineRenderUplevel): add MonoTODO.. why override this?  Just
	call base.DetermineRenderUplevel for now.

	* RegularExpressionValidator.cs (AddAttributesToRender): render
	the client side attributes if we're in uplevel mode.
	
	* RequiredFieldValidator.cs (AddAttributesToRender): same.

	* CompareValidator.cs (AddAttributesToRender): same.
	
2005-07-19  Chris Toshok  <[email protected]>
	
	* BaseValidator.cs: more fixes from pdb.

2005-07-19  Chris Toshok  <[email protected]>

	* BaseValidator.cs: some test-driven fixes.

2005-07-19  Chris Toshok  <[email protected]>

	* BaseValidator.cs: Initial implementation.

2005-07-18  Chris Toshok  <[email protected]>

	* BaseCompareValidator.cs: Initial implementation, with some NYI.

2005-07-18  Chris Toshok  <[email protected]>

	* CompareValidator.cs: wtf, just use the base class's methods.

2005-07-18  Chris Toshok  <[email protected]>

	* CompareValidator.cs: do comparisons based on
	BaseCompareValidator.Type.

2005-07-18  Chris Toshok  <[email protected]>

	* CompareValidator.cs: initial implementation.

2005-07-18  Chris Toshok  <[email protected]>

	* RegularExpressionValidator.cs: initial implementation.

2005-08-24  Chris Toshok  <[email protected]>

	* MenuAdapter.cs (OnInit): Call "Page.RegisterRequiresControlState
	(Control)" as the docs point out.
	(LoadAdapterControlState): throw NIE and flag TODO.

2005-08-24  Chris Toshok  <[email protected]>

	* HierarchicalDataBoundControlAdapter.cs (PerformDataBinding):
	this takes no arguments.

2005-08-24  Chris Toshok  <[email protected]>

	* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
	DataBoundControlAdapter.cs, HideDisabledControlAdapter.cs,
	MenuAdapter.cs: fix namespace.
	
2005-08-24  Chris Toshok  <[email protected]>

	* DataBoundControlAdapter.cs, HideDisabledControlAdapter.cs,
	HierarchicalDataBoundControlAdapter.cs, MenuAdapter.cs,
	WebControlAdapter.cs: initial implementations.  Mostly completely
	(as per msdn2 docs, anyway).

svn path=/trunk/mcs/; revision=48917
2005-08-26 22:24:32 +00:00
Duncan Mak 2008a1011b 2005-07-21 Duncan Mak <[email protected]>
* HyperLinkColumnTest.cs: Added new test for HyperLinkColumn.

2005-07-14  Duncan Mak  <[email protected]>

	* PagedDataSourceTest.cs: Added testcases.
	(PageCountTest, CountTest, IsLastPageTest): Needs more work.

2005-07-14  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttributeTest.cs (TestDefaultConstructor):
	This test should pass now.

2005-07-09  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttributeTest.cs: Aded new test. Used to find
	out how a typename is derived from a Type. (It uses
	AssemblyQualifiedName, and not FullName)
	
2005-07-14  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttribute.cs: Fixed after receiving some
	comments from Gonzalo.

2005-07-09  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttribute.cs: Implemented.

2005-07-21  Duncan Mak  <[email protected]>

	* HyperLinkColumn.cs: Initial implementation.
	Todo: Figure out Initialize and InitializeCell.

2005-07-21  Duncan Mak  <[email protected]>

        * DataGridCommandEventArgs.cs: 
        * DataGridPageChangedEventArgs.cs: 
        * RepeaterCommandEventArgs.cs:  Fixed visibility.

	* DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
	* DataGridSortCommandEventArgs.cs (CommandSource): Ditto..       
	
2005-07-14  Duncan Mak  <[email protected]>

	* PagedDataSource.cs: Initial implementation.

	Methods that need to be figured out:
	CopyTo, GetItemProperties, PageCount, IsLastPage.

	To complete: CollectionEnumerator, ListEnumerator.

2005-07-13  Duncan Mak  <[email protected]>

	* RepeatDirection.cs:
	* RepeatLayout.cs:
	* ValidationCompareOperator.cs:
	* ValidationDataType.cs:
	* ValidationSummaryDisplayMode.cs: 
	* ValidatorDisplay.cs: Added remaining enumerations.
	
2005-07-12  Duncan Mak  <[email protected]>

	* DayNameFormat.cs: Added.

2005-07-09  Duncan Mak  <[email protected]>

	* CommandEventHandler.cs:
	* DataGridCommandEventHandler.cs:
	* DataGridItemEventHandler.cs:
	* DataGridPageChangedEventHandler.cs:
	* DataGridSortCommandEventHandler.cs:
	* DataListCommandEventHandler.cs:
	* DayRenderEventHandler.cs:
	* RepeaterCommandEventHandler.cs:
	* ServerValidateEventHandler.cs: Add delegates.
	
	* ListItemType.cs:
	* ListSelectionMode.cs:
	* NextPrevFormat.cs:
	* PagerMode.cs
	* PagerPosition.cs: Add enums.

2005-07-09  Duncan Mak  <[email protected]>

	* CommandEventArgs.cs:
	* DataGridCommandEventArgs.cs:
	* DataGridItemEventArgs.cs:
	* DataGridPageChangedEventArgs.cs:
	* DataGridSortCommandEventArgs.cs:
	* DataListCommandEventArgs.cs:
	* DataListItemEventArgs.cs:
	* DayRenderEventArgs.cs:
	* RepeaterCommandEventArgs.cs:
	* RepeaterItemEventArgs.cs:
	* ServerValidateEventArgs.cs: Implemented.
	

svn path=/trunk/mcs/; revision=48916
2005-08-26 22:23:07 +00:00
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +00:00
Kornél Pál b4797dcddf Replaced all assembly references with constants in Consts.cs.
svn path=/trunk/mcs/; revision=47824
2005-07-29 00:13:41 +00:00
Eyal Alalouf e63d83dd7e Use class instead of struct in HtmlTextWriter.cs under TARGET_JVM for better perf.
svn path=/trunk/mcs/; revision=47657
2005-07-25 14:50:43 +00:00
Gonzalo Paniagua Javier acecd62bb1 2005-07-24 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: if there are no commas in the assembly name, just
	LoadWithPartialName, as Load will throw.


svn path=/trunk/mcs/; revision=47617
2005-07-24 20:32:12 +00:00
Eyal Alalouf 127a437246 Making simple web app work with Grasshopper.
svn path=/trunk/mcs/; revision=47606
2005-07-24 15:49:31 +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
Eyal Alalouf 888ced3393 TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47422
2005-07-19 17:16:26 +00:00
Eyal Alalouf ac15f08617 TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47417
2005-07-19 16:28:02 +00:00
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