* HtmlForm.cs: when transfering from one page to another and using
cookieless session, we were doing pretty bad. Now, if the current path
and the original are the same, we just use the filename. Otherwise
we make the action location be relative to the original URL.
svn path=/trunk/mcs/; revision=50560
* HtmlAnchor.cs: Added [SupportsEventValidation] on class and
[UrlProperty] on HRef property for 2.0.
* HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
* HtmlHead.cs: Remove IPageHeader interface.
* HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
* HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputImage.cs: Added [SupportsEventValidation] on class and
[UrlProperty] on Src property for 2.0.
* HtmlInputPassword.cs: Added [SupportsEventValidation].
* HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputReset.cs: Added [SupportsEventValidation].
* HtmlInputSubmit.cs: Added [SupportsEventValidation].
* HtmlInputText.cs: Added [SupportsEventValidation] on class and
re-enabled RenderAttribute for 2.0.
* HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
* HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
* HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
svn path=/trunk/mcs/; revision=50248
* HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
instead of AddAttribute when dealing with "onclick."
svn path=/trunk/mcs/; revision=50204
* HtmlInputFile.cs (set_Value): add a message to the
NotSupportedException.
* HtmlInputControl.cs (RenderAttributes): add Page != null to the
checks before we register our control with the
__enabledControlArray JS array.
svn path=/trunk/mcs/; revision=49915
* HtmlInputButton.cs (CausesValidation): this is stored in
Attributes, not ViewState.
(ValidationGroup): same.
(RenderAttributes): remove CausesValidation from the list of
Attributes before calling base.RenderAttributes. Don't, however,
remove ValidationGroup, to replicate an MS bug.
svn path=/trunk/mcs/; revision=49822
* HtmlForm.cs (DefaultFocus): not stored in Attributes either.
(Name): not sure about this property.. the getter apparently just
returns UniqueID, and the setter does nothing that I can figure
out.
(RenderAttributes): don't bother to remove "name", since it's not
in the attributes anyway.
svn path=/trunk/mcs/; revision=49668
* HtmlInputControl.cs: use the Name property instead of the ClientID.
The 'name' attribute rendered contains colons if inside a
NamingContainer.
svn path=/trunk/mcs/; revision=49656
* HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
(AddedControl): move the HtmlTitle logic here.
(RemovedControl): clear out the title if that was the control that
was removed.
* HtmlLink.cs: new implementation.
* HtmlMeta.cs: new implementation.
svn path=/trunk/mcs/; revision=49581
* HtmlInputControl.cs (RenderAttributes): add ourselves to the
__enabledControlArray JS array if we're currently enabled and the
form is set to SubmitDisabledControls.
* HtmlForm.cs (OnInit): call Page.RegisterForm here.
(DetermineRenderUplevel): split this out of OnPreRender and make
it internal so HtmlInputControl can call it.
(OnPreRender): add handling for SubmitDisabledControls.
svn path=/trunk/mcs/; revision=49574
* HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
or in the ViewState. where then?
(DefaultFocus): this one is stored in the ViewState, not as an
Attribute.
(SubmitDisabledControls): implement just as a boolean flag, not in
the viewstate or attributes.
(RenderAttributes): defaultfocus and defaultbutton are no longer
in Attributes.
svn path=/trunk/mcs/; revision=49510
* HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
* HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
* HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
* HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
way, and in OnPreRender, call Page.RegisterRequiresPostback.
* HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
and in OnPreRender, call Page.RegisterRequiresPostback.
* HtmlInputRadioButton.cs (OnPreRender): call
Page.RegisterRequiresPostback.
* HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
Also, in OnPreRender, call Page.RegisterRequiresPostback.
* HtmlTextArea.cs (OnPreRender): call
Page.RegisterRequiresPostback.
svn path=/trunk/mcs/; revision=49408
* HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
* htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
raisepostdatachangedevent, and raisepostbackevent.
(validationgroup): implement.
* htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
and raisepostdatachangedevent.
* HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
and RaisePostDataChangedEvent.
* HtmlInputButton.cs (RaisePostBackEventInternal): split out the
body of both RaisePostBackEvent impl's here, and fix it up so we
use the property Page.Validate call in 2.0.
(RaisePostBackEvent): call RaisePostBackEventInternal.
(IPostBackEventHandler.RaisePostBackEvent): same.
* HtmlImage.cs (Align): the test case shows that we don't need to
validate input.
svn path=/trunk/mcs/; revision=49352
* HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
but not used. Call ResolveUrl when rendering the attributes instead.
svn path=/trunk/mcs/; revision=49045
* HtmlHeadBuilder.cs: this is public.
* HtmlSelectBuilder.cs: in 2.0 this is public.
* HtmlInputButton.cs: fix boilerplate.
* HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
(IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
Page.Validation(ValidationGroup).
svn path=/trunk/mcs/; revision=49006
* HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
(OnPreRender): figure out (hackishly) if we're uplevel rendering.
If we have a default button/focus control set, register webform.js
as a client script block, and emit some JS to focus the control.
(RenderAttributes): verify that the DefaultButton attribute points
to a valid IButtonControl implementing control. Also remove the
defaultfocus/defaultbutton attributes before calling
base.RenderAttributes.
svn path=/trunk/mcs/; revision=48982
* 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
* WebPartTest.cs: Fixed build for default profile (NET_1_1) as
the WebPart namespace doesn't exists there.
2005-08-26 Sebastien Pouliot <[email protected]>
* HtmlButtonTest.cs: Fix 1.1 build. ValidationGroup is only present in
the 2.0 profile.
2005-08-15 Sebastien Pouliot <[email protected]>
* HtmlAnchorTest.cs: Added test cases for IPostBackEventHandler (in
1.x) and for protected RaisePostBackEvent (in 2.0).
* HtmlInputControlTest.cs: Added test to ensure HtmlInputRadioButton's
Value behaviour wasn't inherited.
* HtmlInputTextTest.cs: Added test cases for IPostBackDataHandler (in
1.x) and for new protected LoadPostData and RaisePostDataChangedEvent
methods (in 2.0).
* HtmlInputRadioButtonTest.cs: Added test cases for Value property and
it's relattion to ID. Added tests cases for IPostBackDataHandler (in
1.x) and for new protected LoadPostData and RaisePostDataChangedEvent
methods (in 2.0).
* HtmlTextAreaTest.cs: Added test cases for IPostBackDataHandler (in
1.x) and for new protected LoadPostData and RaisePostDataChangedEvent
methods (in 2.0).
2005-08-08 Sebastien Pouliot <[email protected]>
* HtmlInputControlTest.cs: Added a new test to see if the value
removal for type==password was done at this level (it's not).
* HtmlInputTextTest.cs: Fixed tests to execute without failure on both
1.1 SP1 and 2.0 beta 2.
2005-07-18 Sebastien Pouliot <[email protected]>
* HtmlInputControlTest.cs: Added a test when using null in the ctor
(type is empty, not null). Test UniqueID, not only ID, when changing
the Name property.
2005-07-15 Sebastien Pouliot <[email protected]>
* HtmlAnchorTest.cs: Added tests for resolving the URL and the
mysterious disappearance of the HRef attribute after rendering.
2005-07-08 Sebastien Pouliot <[email protected]>
* HtmlTextAreaTest.cs: Added checks to see that Attributes are moved
into the StateView.
2005-07-08 Sebastien Pouliot <[email protected]>
* HtmlContainerControlTest.cs: Unit tests for HtmlContainerControl.
Basically to check for removal of attributes/viewstate informations.
* HtmlTextAreaTest.cs: Unit tests for HtmlTextArea.
2005-07-07 Sebastien Pouliot <[email protected]>
* HtmlInputRadioButtonTest.cs: Unit tests for HtmlInputRadioButton.
* HtmlInputTextTest.cs: More tests to check for password erasure fu.
2005-07-07 Sebastien Pouliot <[email protected]>
* HtmlInputControlTest.cs: Unit tests for HtmlInputControl.
* HtmlInputTextTest.cs: Unit tests for HtmlInputText.
2005-07-07 Sebastien Pouliot <[email protected]>
* HtmlAnchorTest.cs: Unit tests for HtmlAnchor.
* HtmlTableTest.cs: Unit tests for HtmlTable.
* HtmlTableCellTest.cs: Unit tests for HtmlTableCell.
* HtmlTableRowTest.cs: Unit tests for HtmlTableRow.
2005-08-25 Sebastien Pouliot <[email protected]>
* FormsAuthenticationTest.cs: Some results are different in 1.x.
Some results are different for Mono too (Gonzalo's beautification).
2005-08-25 Sebastien Pouliot <[email protected]>
* FormsAuthenticationTest.cs: Added tests for default properties
(both 1.x and 2.0).
* MembershipProviderCollectionTest.cs: Add test case for unexisting
membership provider.
* MembershipUserCollectionTest.cs: New (2.0). Unit tests for
MembershipUserCollection.
* RolesTest.cs: New (2.0). Basic tests for Roles default properties
(sadly anything else requires settings in web.config).
2005-08-23 Sebastien Pouliot <[email protected]>
* FormsAuthentication.cs: Added basic tests for new some 2.0 stuff.
Normalized line endings.
2005-08-18 Sebastien Pouliot <[email protected]>
* MembershipTest.cs: New. Unit tests for Membership class.
* MembershipProviderCollectionTest.cs: New. Unit tests for
MembershipProviderCollection class.
2005-08-26 Sebastien Pouliot <[email protected]>
* TableStyleTest.cs: New test cases for 2.0.
2005-08-25 Sebastien Pouliot <[email protected]>
* CheckBoxListTest.cs: Use Ben's CleanHtmlTextWriter to compare
rendered output. Re-ordered the expected value to match. Rendering
tests now pass on Mono 1.x|2.0 profile and MS 1.x.
* DropDownListTest.cs: (Properties) we have the same 2.0 failure on
both Mono and MS runtime, maybe it's a feature ;-)
2005-08-25 Sebastien Pouliot <[email protected]>
* HyperLinkTest.cs: Fixed the expected output rendering for 2.0.
2005-08-25 Sebastien Pouliot <[email protected]>
* StyleTest.cs: Added test for IsStyleEmpty(null).
2005-08-24 Sebastien Pouliot <[email protected]>
* RoleGroupTest.cs: New (2.0). Unit tests for RoleGroup.
* RoleGroupCollectionTest.cs: New (2.0). Unit tests for
RoleGroupCollection.
2005-08-22 Sebastien Pouliot <[email protected]>
* LoginNameTest.cs: New. Unit tests for LoginName control (2.0).
* LoginStatusTest.cs: New. Unit tests for LoginStatus control (2.0).
2005-08-19 Sebastien Pouliot <[email protected]>
* TableCellTest.cs: Add test cases for AssociatedHeaderCellID (2.0).
2005-08-18 Sebastien Pouliot <[email protected]>
* BaseDataListTest.cs: Added test cases for new properties, methods
and events defined in 2.0.
* LoginTest.cs: Added test cases for On* methods.
2005-08-16 Sebastien Pouliot <[email protected]>
* DataListTest.cs: Fixed ViewState test to work on both 1.x and 2.0.
Added tests for Load|SaveControlState (2.0). Added basic tests for
SelectedValue property (2.0).
* LoginTest.cs: Added test cases to check for null (removal) on all
string properties, added checks for all enums properties. Also added
test case for SaveViewState.
2005-08-15 Sebastien Pouliot <[email protected]>
* TableHeaderRowTest.cs: New. Reuse TableRowTest test cases to test
TableHeaderRow class (2.0).
* TableFooterRowTest.cs: New. Reuse TableRowTest test cases to test
TableFooterRow class (2.0).
* TableRowTest.cs: Added test cases for new (2.0) TableSection
property. Reworked the tests to allow easier reuse of them by the
TableHeaderRow and TableFooterRow classes.
2005-08-14 Sebastien Pouliot <[email protected]>
* LoginTest.cs: New. Unit tests to test default values for Login.
* TableHeaderCellTest.cs: Add tests for CategoryText and Scope
properties (new in 2.0).
* TableSectionStyleTest.cs: New. Unit tests for TableSectionStyle.
Note that this new 2.0 class seems broken as it is not complete (MS).
2005-08-09 Sebastien Pouliot <[email protected]>
* BaseDataListTest.cs: Added tests for OnDataBinding.
* DataLitItemTest.cs: Added more useful tests for rendering items,
including a test when two tables are present and extractRows is true.
Added tests for IDataItemContainer (2.0).
2005-08-08 Sebastien Pouliot <[email protected]>
* HyperLinkTest.cs: Updated comments. Resolve doesn't work when doing
unit tests (probably because it requires a Page, or something else
that can be used as the base url for the application).
2005-07-22 Sebastien Pouliot <[email protected]>
* HyperLinkTest.cs: New. (very basic) unit tests for HyperLink.
2005-07-21 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Replace IList test with IEnumerable test.
* RepeatInfoTest.cs: Ignore the test about the baseControl / NRE.
* TableCellTest.cs: Added tests for AddParsedSubObject versus the Text
property (and LiteralControl).
2005-07-21 Sebastien Pouliot <[email protected]>
* RepeatInfoTest.cs: Added test for RepeatColumn is 0.
* TableRowTest.cs: Added style rendering tests (for my sanity).
2005-07-20 Sebastien Pouliot <[email protected]>
* RepeatInfoTest.cs: More unit tests for arguments checks, default
values, baseControl (not figured out yet) and OuterTableImplied.
2005-07-20 Sebastien Pouliot <[email protected]>
* BaseDataListTest.cs: Added more tests ported from DataGridTest.
* DataListTest.cs: Added more tests ported from DataGridTest.
2005-07-20 Sebastien Pouliot <[email protected]>
* DataListTest.cs: Add viewstate test.
2005-07-20 Sebastien Pouliot <[email protected]>
* BaseDataListTest.cs: Add render tests (all empty).
* DataListTest.cs: Added Controls vs Items test.
* WebControlTest.cs: Added new (passing) tests.
2005-07-19 Sebastien Pouliot <[email protected]>
* DataListTest.cs: Add more tests for IRepeatInfoUser.
* RepeatInfoTest.cs: New. Unit test for RepeatInfo (not exactly what
I had expected...).
2005-07-18 Sebastien Pouliot <[email protected]>
* DataListTest.cs: Fix tests for 1.1 which keeps more stuff into it's
ViewState.
2005-07-15 Sebastien Pouliot <[email protected]>
* BaseDataListTest.cs: New. Unit tests for abstract BaseDataList.
* DataKeyCollectionTest.cs: New. Unit tests for DataKeyCollection.
* DataListItemCollectionTest.cs: New. Unit tests for
DataListItemCollection.
* DataListItemTest.cs: New. Unit tests for DataListItem (incomplete).
* DataListTest.cs: New. Unit tests for DataList (incomplete).
2005-07-13 Sebastien Pouliot <[email protected]>
* ImageTest.cs: Added tests for DescriptionUrl in 1.1 profile as this
property was added in Fx 1.1 SP1.
* StyleTest.cs: Added more tests for CopyFrom to test it's behavior,
e.g. it doesn't reset itself nor remove it's properties if they're
not part of the copied Style instance.
* TableTest.cs: Adjusted values so we're not testing a 100% match with
MS lines/indentations.
* TableRowTest.cs: Use Ben's trick on StreamWriter (\r\n). Adjusted
values so we're not testing a 100% match with MS lines/indentations.
* WebControlTest.cs: Added tests to remove attributes and style before
rendering. Empty style properties shouldn't be rendered.
2005-07-12 Sebastien Pouliot <[email protected]>
* WebControlTest.cs: Added another test for RenderBeginTag, this time
using an attribute (renamed old test as it was for style attributes).
2005-07-12 Sebastien Pouliot <[email protected]>
* TableTest.cs: Use Ben's trick on StreamWriter.
* WebControlTest.cs: Added tests for RenderBeginTag.
2005-07-12 Sebastien Pouliot <[email protected]>
* TableCellTest.cs: New. Unit tests for TableCell.
* TableItemStyleTest.cs: New. Unit tests for TableItemStyle.
* TableHeaderCellTest.cs: New. Unit tests for TableHeaderCell.
* TableRowTest.cs: New. Unit tests for TableRow.
* TableStyleTest.cs: New. Unit tests for TableStyle.
* TableTest.cs: New. Unit tests for Table.
2005-07-11 Sebastien Pouliot <[email protected]>
* FontUnitTest.cs: Added more tests when looking for another bug...
* StyleTest.cs: Added some unit tests for a null ctor and checks for
emptyness.
2005-07-08 Sebastien Pouliot <[email protected]>
* ImageTest.cs: New. Unit tests for Image.
2005-08-25 Sebastien Pouliot <[email protected]>
* TestUrlPropertyAttribute.cs: Fixed tests to match new beta2 API (and
so it stops throwing MissingMethodException on MS runtime).
2005-08-22 Sebastien Pouliot <[email protected]>
* PageTest.cs: Added test cases for using Request with an overrided
Context property (as Page.Request should be the same as
Page.Context.Request). Doesn't work as expected.
2005-08-20 Sebastien Pouliot <[email protected]>
* PageTest.cs: Added a test for overriding Context. We're not playing
fairly with virtual properties (and probably not just that one) as we
use the private variable inside the class. This means that overriding
the property without calling the base class doesn't work as expected.
2005-07-12 Sebastien Pouliot <[email protected]>
* HtmlTextWriterTest.cs: Reactivated the AddStyleAttribute test case
with the right value for 1.x (as current code doesn't match the
expected results).
2005-07-11 Sebastien Pouliot <[email protected]>
* HtmlTextWriterTest.cs: Few more tests including a non working one
for AddStyleAttribute.
2005-07-09 Sebastien Pouliot <[email protected]>
* DataBindingHandlerAttributeTest.cs: Fix compilation error where
System.Object is expected from MonoTests.System namespace. The test
TestDefaultHandlerTypeName still throws a NullReferenceException.
2005-07-07 Sebastien Pouliot <[email protected]>
* HtmlTextWriterTest.cs: New. Unit tests for buglets found during
implementations of HtmlControls.
2005-08-26 Sebastien Pouliot <[email protected]>
* WebCategoryAttribute.cs: New. Required internal attribute.
* WebSysDescriptionAttribute.cs: New. Required internal attribute.
2005-08-25 Sebastien Pouliot <[email protected]>
* HttpClientCertificate.cs: On 1.x the .ctor throws a
ArgumentNullException (but 2.0 throws a NRE).
2005-08-22 Sebastien Pouliot <[email protected]>
* HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
* HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
2005-08-11 Sebastien Pouliot <[email protected]>
* HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
NET_2_0 build.
2005-08-10 Sebastien Pouliot <[email protected]>
* HttpClientCertificate.cs: Changed IsPresent logic so that new unit
tests will work as expected.
2005-08-10 Sebastien Pouliot <[email protected]>
* HttpClientCertificate.cs: Implemented, except for validation. Note
that the HttpWorkerRequest derived classes must be updated to supply
the required informations.
* HttpRequest.cs: Create an HttpClientCertificate on first call to
ClientCertificate.
2005-08-09 Sebastien Pouliot <[email protected]>
* HttpClientCertificate.cs: New. Stub. It won't be fun to test.
2005-08-25 Sebastien Pouliot <[email protected]>
* HtmlHead.cs: Fixed base class (to HtmlGenericControl).
2005-08-15 Sebastien Pouliot <[email protected]>
* HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
Load method (bad choice) to DefaultLoadPostData.
2005-08-15 Sebastien Pouliot <[email protected]>
* HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
* HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
method. Fixed support for protected LoadPostData and
RaisePostDataChangedEvent in 2.0 (recursion).
* HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
* HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
2005-08-15 Sebastien Pouliot <[email protected]>
* HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
for 2.0 profile. The class seems to be internal and not (yet?)
implemented.
2005-08-13 Sebastien Pouliot <[email protected]>
* HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
* HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
(at least) HtmlInputControl in 2.0 profile.
* HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
* HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
2005-08-08 Sebastien Pouliot <[email protected]>
* HtmlInputControl.cs: Remove code to handle password (wrong place)
and fixed type handling for 2.0.
* HtmlInputText.cs: Added code to remove (only in 1.x) the value when
the type == password. Tests indicates that the value is present for
2.0.
2005-07-18 Sebastien Pouliot <[email protected]>
* HtmlInputControl.cs: Fix Type when using ctor(null). Now use
ControlID for Name (and not ID). Added ControlBuilder attribute.
* HtmlTable.cs: Simplify check when adding controls.
* HtmlTableRow.cs: Simplify check when adding controls.
2005-07-15 Sebastien Pouliot <[email protected]>
* HtmlInputControl.cs: Removed internal property (no more required to
compile).
* HtmlInputRadioButton.cs: Optimized events.
* HtmlInputText.cs: Optimized events.
* HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
strings to integers.
* HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
strings to integers.
* HtmlTextArea.cs: Optimized events.
2005-07-15 Sebastien Pouliot <[email protected]>
* HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
result) and fixed compatibility for a weird behaviour of the HRef
attribute handling. Optimized events.
2005-07-13 Sebastien Pouliot <[email protected]>
* HtmlTable.cs: Added missing attributes.
* HtmlTableCell.cs: Added missing attributes except for ControlBuilder
as the builder's type isn't public.
* HtmlInputControl.cs: Added missing attributes.
* HtmlInputText.cs: Added missing attributes.
* HtmlInputRadioButton.cs: Added missing attributes.
* HtmlAnchor.cs: Added missing attributes.
* HtmlTextArea.cs: Added missing attributes.
* HtmlTableRow.cs: Added missing attributes.
2005-07-12 Sebastien Pouliot <[email protected]>
* HtmlAnchor.cs: Added DefaultValue attributes.
* HtmlInputControl.cs: Added DefaultValue attributes.
* HtmlInputRadioButton.cs: Added DefaultValue attributes.
* HtmlInputText.cs: Added DefaultValue attributes. Added method
RenderAttributes in 1.1 profile.
* HtmlTable.cs: Fix DefaultValue to "".
* HtmlTextArea.cs: Added DefaultValue attributes.
2005-07-12 Sebastien Pouliot <[email protected]>
* HtmlTableCell.cs: Added DefaultValue attributes.
* HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
* HtmlTableRowCollection.cs: Reworked collection to share data with
HtmlTable.Controls.
* HtmlTableCellCollection.cs: Reworked collection to share data with
HtmlTableRow.Controls.
* HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
2005-07-09 Sebastien Pouliot <[email protected]>
* HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
2005-07-08 Sebastien Pouliot <[email protected]>
* HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
2005-07-08 Sebastien Pouliot <[email protected]>
* HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
"innerhtml".
* HtmlTextArea.cs: New implementation.
2005-07-07 Sebastien Pouliot <[email protected]>
* HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
* HtmlInputControl.cs: New implementation.
* HtmlInputRadioButton.cs: New implementation.
* HtmlInputText.cs: New implementation.
2005-07-07 Sebastien Pouliot <[email protected]>
* HtmlAnchor.cs: Fixed to remove attributes properly.
* HtmlTable.cs: New implementation.
* HtmlTableCell.cs: New implementation.
* HtmlTableCellCollection.cs: New implementation.
* HtmlTableRow.cs: New implementation.
* HtmlTableRowCollection.cs: New implementation.
2005-07-06 Sebastien Pouliot <[email protected]>
* HtmlAnchor.cs: New implementation.
2005-08-26 Sebastien Pouliot <[email protected]>
* CssStyleCollection.cs: Implemented setter for Value (2.0) using the
existing (but internal) FillStyle method. Rewrote BagToString to use an
HtmlTextWriter so we get the "right" format for background-image url.
2005-08-26 Sebastien Pouliot <[email protected]>
* CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
the extra space from last patch because they break some unit tests.
2005-08-26 Sebastien Pouliot <[email protected]>
* CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
compilation.
* HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
The new rendering formats the value as "url(" + original + ")".
2005-08-26 Sebastien Pouliot <[email protected]>
* HtmlTextWriter.cs: Added support for VerticalAlign style (as it
depends on the HtmlTextWriterStyle ordering).
2005-08-25 Sebastien Pouliot <[email protected]>
* HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
fixed the rest of the enum values).
* UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
parameter to match 2.0 API. Added a setter to the AllowedTypes
property.
2005-08-24 Sebastien Pouliot <[email protected]>
* KeyedList.cs: Fixed bug when removing an unexisting object.
* StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
in implementing RoleGroupCollection.
2005-08-22 Sebastien Pouliot <[email protected]>
* Page.cs: Use Control property (and not the _control variable) to get
the User (so the virtual Control property can be overriden properly).
Sadly this doesn't seems to be the case for other properties (like
Request).
2005-08-13 Sebastien Pouliot <[email protected]>
* Control.cs: Add protected virtual SetDesignModeState, in 2.0
profile, as this is required for the Login control.
2005-07-07 Sebastien Pouliot <[email protected]>
* HtmlTextWriter.cs: Small fixlet when attribute has no value.
2005-07-07 Sebastien Pouliot <[email protected]>
* HtmlTextWriter.cs: Small fixlet (required for the unit tests).
2005-08-15 Sebastien Pouliot <[email protected]>
* Consts.cs: Added constant for System.dll (only in 2.0)
2005-08-25 Sebastien Pouliot <[email protected]>
* FormsAuthentication.cs: With 2.0 we can get the default properties
and call Initialize without a NRE.
2005-08-25 Sebastien Pouliot <[email protected]>
* ActiveDirectoryConnectionProtection.cs: New (2.0) enum.
* ActiveDirectoryMembershipProvider.cs: Fixed 2.0 API.
* AnonymousIdentificationEventArgs.cs: Fixed AnonymousID property case.
* AnonymousIdentificationModule.cs: Fixed 2.0 API.
* FileAuthorizationModule.cs: Added static CheckFileAccessForUser in
2.0 profile (TODO).
* FormsAuthentication.cs: Added missing 2.0 properties with their
default values.
* MembershipCreateStatus.cs: Fixed enum values/names.
* MembershipProvider.cs: Added stub for [Decrypt|Encrypt]Password. Both
methods don't seems to work without an active provider.
* PassportIdentity.cs: Added IDispose for 2.0 profile.
* Roles.cs: Added missing beta2 bits and default values (which are the
only things working without a role provider (web.config).
* RolePrincipal.cs: Fixed 2.0 API. Implemented a few bits.
* SqlRoleProvider.cs: Fixed 2.0 API.
* UrlAuthorizationModule.cs: Added static CheckUrlAccessForPrincipal in
2.0 profile (TODO).
2005-08-24 Sebastien Pouliot <[email protected]>
* MembershipUserCollection.cs: Fix exceptions.
2005-08-22 Sebastien Pouliot <[email protected]>
* FormsAuthentication.cs: Add some 2.0 stuff required for Login*
controls to compile.
2005-08-18 Sebastien Pouliot <[email protected]>
* Membership.cs: Commented unworking parts of the .cctor to allow
testing the Login control.
* MembershipProviderCollection.cs: Fixed exception handling.
* SqlMembershipProvider.cs: Don't throw NotImplementedException
everywhere so Membership's .cctor (somewhat) works. Removed
Description property (not in beta2).
2005-08-24 Sebastien Pouliot <[email protected]>
* AuthConfig.cs: Add new 2.0 stuff (required for Forms Authentication).
2005-08-26 Sebastien Pouliot <[email protected]>
* CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
no items are present in the list.
* RoleGroup.cs: Added missing attributes.
* RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
documented) methods.
* TableStyle.cs: *for 2.0* adding a "url({0})" to background image
must be done in the HtmlTextWriter (not in the TableStyle).
2005-08-25 Sebastien Pouliot <[email protected]>
* HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
an image is used.
2005-08-25 Sebastien Pouliot <[email protected]>
* LoginView.cs: Fixed attributes.
* Style.cs: Change SetRegisteredCssClass to internal and not to throw
an exception to allow pages to work on 2.x.
2005-08-25 Sebastien Pouliot <[email protected]>
* Login.cs: Added rendering and fixed parts of the authentication.
Now using IStateManager to allow compilation in another assembly (e.g.
to test the control under IIS). Needs more tests (error conditions)
once we get a "real" Membership provider running.
* Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
(returns true).
2005-08-25 Sebastien Pouliot <[email protected]>
* LoginView.cs: New (2.0). Work in progress.
2005-08-24 Sebastien Pouliot <[email protected]>
* RoleGroup.cs: New (2.0). Complete implementation.
* RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
2005-08-23 Sebastien Pouliot <[email protected]>
* Login.cs: Throw exception if the specified provider doesn't exists.
* LoginStatus.cs: Complete events.
2005-08-22 Sebastien Pouliot <[email protected]>
* LoginName.cs: New (2.0) web control.
* LoginStatus.cs: New (2.0) web control.
2005-08-19 Sebastien Pouliot <[email protected]>
* TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
2005-08-18 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
anywhere...
* DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
empty array of objects just to get the number of items.
* Login.cs: Implemented OnBubbleEvent and parts of the authentication
but we're missing some bits from the class lib to complete all this...
2005-08-17 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Completed implementation for 2.0.
2005-08-16 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
* DataList.cs: Added missing [Browseable] attribute on SelectedValue.
2005-08-16 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Removed old internal ctor as DataList TagKey was
fixed for 2.0.
* DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
Adjusted size and ordering of the ViewState (new element #0 is still
unknown). Properly fixed the TagKey in 2.0.
* Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
all properties using enums.
* Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
* TableItemStyle.cs: Fixed attribute rendering to use style to render
"nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
2005-08-15 Sebastien Pouliot <[email protected]>
* Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
viewstate (even if assigned to the default value).
* TableRow.cs: Implement TableSection property (2.0). It has no effect
on the rendering of the table row.
2005-08-15 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
and removed [Bindable] attributes for 2.0.
* DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
attributes (for 2.0).
* DataListCommandEventArgs.cs: Not sealed in 2.0.
* DataListItemEventArgs.cs: Not sealed in 2.0.
* Image.cs: Fixed [Designer] attribute on class and all [Editor]
attributes for URLs.
* Login.cs: Fixed [Designer] attribute on class and all [Editor]
attributes for URLs.
* Table.cs: Fixed [Editor] attribute for 2.0.
* TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
* TableCell.cs: Fixed [Designer] attribute. Fixed property name for
AssociatedHeaderCellID and it's [DefaultValue] attribute.
* TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
and Scope attributes.
* TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
on TableSection attribute.
* TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2005-08-14 Sebastien Pouliot <[email protected]>
* Image.cs: Fixed attributes for 2.0 profile.
* Login.cs: Fixed some attributes and default values.
* Table.cs: Fixed attributes for 2.0 profile. Added protected method
RaisePostBackEvent (TODO) in 2.0 profile.
* TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
and added AssociateHeaderCellID property (TODO).
* TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
* TableFooterRow.cs: New (2.0). TableRow that always shows on each
page (if the device requires to breaks the table into multiple pages).
This seems to be a "flag" class, the real work will be in Table.
* TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
* TableHeaderRow.cs: New (2.0). TableRow that always shows on each
page (if the device requires to breaks the table into multiple pages).
This seems to be a "flag" class, the real work will be in Table.
* TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
* TableRow.cs: Remove [Bindable (true)] from properties and add
[Bindable (false)] and [Designer] on class. Added new TableSection
property (TODO).
* TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
* TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
* TableStyle.cs: Fixed attributes for 2.0 profile. Added new
FillStyleAttributes method (2.0).
2005-08-13 Sebastien Pouliot <[email protected]>
* Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
attributes from existing controls.
* LoginCancelEventArgs.cs: New (2.0). Required to build Login.
* LoginCancelEventHandler.cs: New (2.0). Required to build Login.
2005-08-09 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Changed Controls property from "virtual new"
(2.0 doc) to "override" (monop) to fix the Visible bug (see
datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
any controls (required due to change to Controls). Implemented
DataBind(bool) for 2.0.
* DataListItem.cs: Fix the multiple table when extractRows is used.
Removed extra span tags by rendering contents (not control). Added
support for IDataItemContainer (2.0).
2005-08-08 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Remove old compatibility stuff.
* DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
* WebControl.cs: Always call CreateControlStyle to create the
ControlStyle. Fix the exception for datalist-style-edit.aspx.
2005-07-22 Sebastien Pouliot <[email protected]>
* DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
(or more?) specific cases - including correct support for separators.
Added some (commented) debugging code.
* HyperLink.cs: Only render href and target attributes if they're not
empty. Add "border=0" when rendering <img> tag. Fix Target default
value.
2005-07-21 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Support IEnumerable.
* DataList.cs: Fix alternate items.
* TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
controls and the Text property.
2005-07-21 Sebastien Pouliot <[email protected]>
* DataList.cs: Fix rendering for special items (-1).
2005-07-21 Sebastien Pouliot <[email protected]>
* Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
Add a border=0 attribute if no style is defined.
* TableCell.cs: Use HtmlTextWriterTag (not a string).
* TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
* TableRow.cs: Use HtmlTextWriterTag (not a string).
2005-07-21 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Fix attributes.
* HorizontalAlign.cs: Fix attributes.
* Image.cs: Fix attributes and enums checks.
* Table.cs: Fix attributes an enums checks.
* TableCell.cs: Fix attributes.
* TableCellCollection.cs: Fix attributes.
* TableItemStyle.cs: Fix attributes and enums checks.
* TableRowCollection.cs: Fix attributes.
* TableRow.cs: Fix attributes.
* TableStyle.cs: Fix attributes and enums checks.
* VerticalAlign.cs: Fix attributes.
2005-07-21 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
* DataList.cs: Added rendering support when ExtractTemplatesRows
property is true (but RepeatInfo needs to be fixed to see it works).
* DataListItem.cs: Added rendering support when extractRows parameter
is true (but RepeatInfo still needs to be fixed ;-)
2005-07-20 Sebastien Pouliot <[email protected]>
* DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
handled by RepeatInfo).
2005-07-20 Sebastien Pouliot <[email protected]>
* DataList.cs: Fix events and properties exceptions. Give the right
informations to RenderItem.
2005-07-20 Sebastien Pouliot <[email protected]>
* DataList.cs: Fix viewstate ordering.
2005-07-20 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: EnsureChildControls on Controls property.
* DataList.cs: Fix rendering and Controls/Items differences.
* DataListItem.cs: Added rendering of controls.
2005-07-20 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
2005-07-19 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: Call PrepareControlHierarchy from Render.
* DataList.cs: Work in progress... Added attributes, proper
IRepeatInfoUser support and cool things stolen from other classes.
* DataListCommandEventArgs.cs: Class is sealed.
* DataListItem.cs: RenderItem is public.
2005-07-19 Sebastien Pouliot <[email protected]>
* Repeater.cs: Fix small typo.
2005-07-18 Sebastien Pouliot <[email protected]>
* Table.cs: Fix indentation for caption. Simplify check when adding
controls.
* TableRow.cs: Simplify check when adding controls.
2005-07-18 Sebastien Pouliot <[email protected]>
* DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
2005-07-15 Sebastien Pouliot <[email protected]>
* BaseDataList.cs: New. (mostly complete) implementation.
* DataKeyCollection.cs: New. Implementation (complete).
* DataList.cs: New. (mostly incomplete) implementation.
* DataListItem.cs: New. (mostly complete) implementation.
* DataListItemCollection.cs: New. Implementation (complete).
2005-07-13 Sebastien Pouliot <[email protected]>
* Image.cs: Added support for DescriptionUrl as this property was
added in Fx 1.1 SP1.
2005-07-13 Sebastien Pouliot <[email protected]>
* Table.cs: New. Initial re-implementation.
* TableCell.cs: New. Initial re-implementation.
* TableCellCollection.cs: New. Initial re-implementation.
* TableHeaderCell.cs: New. Initial re-implementation.
* TableItemStyle.cs: New. Initial re-implementation.
* TableRow.cs: New. Initial re-implementation.
* TableRowCollection.cs: New. Initial re-implementation.
* TableStyle.cs: New. Initial re-implementation.
2005-07-13 Sebastien Pouliot <[email protected]>
* Style.cs: Removed the call to Reset in CopyFrom. This fix the new
unit tests (for Style) and more tests in Table* classes.
2005-07-13 Sebastien Pouliot <[email protected]>
* Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
however IsEmpty returns false if any of their properties are set.
Looks ugly but it's compatible with MS implementation (feature and
signature wise).
2005-07-12 Sebastien Pouliot <[email protected]>
* TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
the #if NET_2_0 on it.
2005-07-10 Sebastien Pouliot <[email protected]>
* VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
2005-07-09 Sebastien Pouliot <[email protected]>
* HorizontalAlign.cs: Typo in header.
* VerticalAlign.cs: New. Required enum for TableRow control.
2005-07-09 Sebastien Pouliot <[email protected]>
* GridLines.cs: New. Required enum for Table control.
* HorizontalAlign.cs: New. Required enum for Table control.
2005-07-08 Sebastien Pouliot <[email protected]>
* Image.cs: New. Image class implementation.
* ImageAlign.cs: New. ImageAlign enum definitions.
svn path=/trunk/mcs/; revision=48919
* HtmlInputCheckBoxTest.cs: Tests for HtmlInputCheckBox
2005-07-26 Dick Porter <[email protected]>
* HtmlSelectTest.cs: Tests for HtmlSelect
2005-07-21 Dick Porter <[email protected]>
* HtmlImageTest.cs: The order of attribute rendering has changed,
and now matches MS
2005-07-19 Dick Porter <[email protected]>
* HtmlImageTest.cs: Added tests for negative values in int
properties
2005-07-14 Dick Porter <[email protected]>
* HtmlFormTest.cs: New set of tests
2005-07-07 Dick Porter <[email protected]>
* HtmlImageTest.cs: Unit tests for HtmlImage
2005-08-04 Dick Porter <[email protected]>
* DataGridColumnTest.cs: Tests for DataGridColumn
2005-07-29 Dick Porter <[email protected]>
* RadioButtonTest.cs: Added tests for RadioButton
2005-07-14 Dick Porter <[email protected]>
* CheckBoxTest.cs: Added enum checks
2005-07-13 Dick Porter <[email protected]>
* CheckBoxTest.cs: Added tests for CheckBox - currently all
passing on mono and ms runtimes.
2005-07-14 Dick Porter <[email protected]>
* HttpPostedFile.cs: New basic implementation; needs someone to
figure out what a HttpRequestStream does
2005-08-18 Dick Porter <[email protected]>
* HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
2005-08-09 Dick Porter <[email protected]>
* HtmlSelect.cs: Clear databindings when adding a new one; cope
with assorted combinations of empty text and value fields; write
<option> tags manually to match ms HTML output. All fix nunit
tests.
2005-08-05 Dick Porter <[email protected]>
* HtmlSelect.cs: Fix databinding when one or other of Name and
Value aren't supplied (thanks to Peter for the patch); Make
<option> indenting match ms output.
2005-07-29 Dick Porter <[email protected]>
* HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
instead of building the query string by hand
2005-07-27 Dick Porter <[email protected]>
* HtmlInputCheckBox.cs: New implementation
2005-07-26 Dick Porter <[email protected]>
* HtmlSelect.cs: New implementation
2005-07-24 Dick Porter <[email protected]>
* HtmlForm.cs: Add the trailing query string to the form action;
fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
2005-07-22 Dick Porter <[email protected]>
* HtmlInputFile.cs: Add assembly attributes
2005-07-21 Dick Porter <[email protected]>
* HtmlImage.cs: The src attribute needs to be a relative URL;
close the HTML element when rendering attributes, to match the MS
impl.
* HtmlForm.cs: Added assembly attributes; don't render ID twice;
don't render enctype and target if they are empty strings;
implement a Render overload to keep corcompare quiet.
2005-07-19 Dick Porter <[email protected]>
* HtmlImage.cs: Added attributes; use Int32.Parse instead of
Convert.ToInt32
2005-07-14 Dick Porter <[email protected]>
* HtmlInputFile.cs: New implementation
2005-07-14 Dick Porter <[email protected]>
* HtmlForm.cs: New Implementation
2005-07-07 Dick Porter <[email protected]>
* HtmlImage.cs: New implementation
2005-08-18 Dick Porter <[email protected]>
* ControlCachePolicy.cs, PersistChildrenAttribute.cs,
UserControl.cs, DesignerDataBoundLiteralControl.cs,
PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
stubs and attribute fixes
2005-08-11 Dick Porter <[email protected]>
* CssStyleCollection.cs: Tweak the css string format to pass a
unit test
* AttributeCollection.cs: Don't NRE if someone sets the "style"
attribute to null.
2005-08-05 Dick Porter <[email protected]>
* HtmlTextWriter.cs: Make <option> tags render inline, to match
the ms output
2005-07-07 Dick Porter <[email protected]>
* StateBag.cs: Added internal SetDirty (void) method to fix the
build
2005-08-18 Dick Porter <[email protected]>
* PageAdapter.cs, ControlAdapter.cs: 2.0 stubs
2005-08-18 Dick Porter <[email protected]>
* Consts.cs: Added System.Web and Microsoft.VisualStudio.Web
constants for 2.0
2005-08-18 Dick Porter <[email protected]>
* Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
BaseDataList.cs, DataList.cs, BulletedList.cs,
DataBoundControl.cs, Login.cs, GridView.cs,
CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
fixes
2005-08-11 Dick Porter <[email protected]>
* CheckBox.cs: Let ViewState manage removals; apply styles and
"style" attributes in a surrounding <span>. Fixes unit tests.
2005-08-05 Dick Porter <[email protected]>
* CheckBox.cs: Shut corcompare up a bit more. Still need to
figure out how to not use AddAttributesToRender to get it
completely silent.
* ButtonColumn.cs: Implement Initialize() and InitializeCell()
* DataGridColumn.cs: Added the duplicate viewstate manipulation
methods
2005-08-04 Dick Porter <[email protected]>
* DataGridColumn.cs: New implementation
* DataGrid.cs:
* DataGridColumnCollection.cs: Set the DataGridColumn's owner
2005-07-29 Dick Porter <[email protected]>
* RadioButton.cs: Hide nonstandard API; remove GroupName from the
ViewState when it is null.
* CheckBox.cs: Hide nonstandard API
2005-07-22 Dick Porter <[email protected]>
* BoundColumn.cs:
* ButtonColumn.cs: Initial stubs
2005-07-22 Dick Porter <[email protected]>
* RadioButton.cs:
* CheckBox.cs: Add assembly attributes
2005-07-13 Dick Porter <[email protected]>
* CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
null Text properties from the ViewState, test for TextAlign being
out of range. All to make tests pass on both mono and ms
runtimes.
2005-07-12 Dick Porter <[email protected]>
* RadioButton.cs: New implementation
* CheckBox.cs: Rearrange the attributes rendering to allow
RadioButton to derive from this
2005-07-11 Dick Porter <[email protected]>
* CheckBox.cs: New implementation
* RadioButton.cs: Initial stubbed version that just compiles
2005-07-08 Dick Porter <[email protected]>
* TextAlign.cs:
* BorderStyle.cs: Added
svn path=/trunk/mcs/; revision=48915
* HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
Page.GetPostBackClientEvent since it is deprecated in 2.0.
svn path=/trunk/mcs/; revision=41697