Files
mono/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
T
Gonzalo Paniagua Javier 7b1e42aaba 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* ListItem.cs: there was no code to unset the flags!!!

svn path=/trunk/mcs/; revision=5865
2002-07-17 16:08:28 +00:00

697 lines
23 KiB
Plaintext

2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* ListItem.cs: there was no code to unset the flags!!!
2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* FontUnit.cs: use a hashtable for mapping size name to value.
* HyperLink.cs: fixed a bug and a typo.
* Unit.cs: some fixes to internal constructor.
2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed a couple of range checks.
* WebControl.cs: MS lies! Not all WebControls must be rendered inside
an HtmlForm (p.e., Label).
2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs:
* Button.cs:
* Calendar.cs:
* CheckBox.cs:
* CheckBoxList.cs:
* DataList.cs:
* DropDownList.cs:
* HyperLink.cs:
* HyperLinkColumn.cs:
* Image.cs:
* ImageButton.cs:
* Label.cs:
* LinkButton.cs:
* ListBox.cs:
* Panel.cs:
* PlaceHolder.cs:
* RadioButton.cs:
* RadioButtonList.cs:
* Table.cs:
* TableRow.cs:
* TextBox.cs:
* WebControl.cs: removed attributes added by mistake (i used
GetCustomAttributes (true), d'oh!).
* DataListItem.cs: implemented RenderItem.
* Repeater.cs: implemented CreateItem and InitializeItem.
2002-07-08 Gonzalo Paniagua Javier <[email protected]>
* BaseDataList.cs: a couple of fiex and added attributes.
* DataGrid.cs: little fixes.
2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* CheckBoxList.cs:
* DataGrid.cs:
* DataList.cs:
* DropDownList.cs:
* ListBox.cs:
* PlaceHolder.cs:
* RadioButton.cs:
* RadioButtonList.cs:
* TableRow.cs:
* WebControl.cs:
* Xml.cs: forgot to add using System.ComponentModel.
* BaseValidator.cs: use explicitly
System.ComponentModel.AttributeCollection as there is another class
with the same name under System.Web.UI.
2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs:
* Button.cs:
* Calendar.cs:
* CheckBox.cs:
* CheckBoxList.cs:
* DataGrid.cs:
* DataList.cs:
* DropDownList.cs:
* HyperLink.cs:
* Image.cs:
* ImageButton.cs:
* Label.cs:
* LinkButton.cs:
* ListBox.cs:
* Panel.cs:
* PlaceHolder.cs:
* RadioButton.cs:
* RadioButtonList.cs:
* Table.cs:
* TableRow.cs:
* TextBox.cs:
* WebControl.cs:
* Xml.cs: added/fixed all attributes used by xsp.
* BaseValidator.cs: some fixes.
2002-07-06 Gonzalo Paniagua Javier <[email protected]>
* Table.cs:
(AddAttributesToRender): correctly default to border=1.
2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs:
(LoadAdFile): make the dictionary null after every iteration.
* LinkButton.cs:
* ListControl.cs:
* ListItem.cs: fixed warnings.
Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <[email protected]>
* Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* DataGridColumn.cs:
* DataGridPagerStyle.cs:
* DataList.cs:
* DataListItem.cs:
* Image.cs:
* LinkButton.cs:
* ListControl.cs:
* ListItem.cs:
* ListItemCollection.cs:
* Repeater.cs:
* ServerValidateEventArgs.cs:
* Style.cs:
* TableRow.cs:
* WebControl.cs:
* Xml.cs: more class status page based changes.
2002-06-29 Gonzalo Paniagua Javier <[email protected]>
* Button.cs:
(.ctor): fixed to render the correct tag.
(IPostBAckEventHandler.RaisePostBackEvent): fixed.
2002-06-24 Gonzalo Paniagua Javier <[email protected]>
* WebControl.cs:
(AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
WebControl derived classes should be rendered inside a HtmlForm.
2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* Repeater.cs: implemented CreateControlHierarchy. Fixed some event
processing methods.
2002-06-19 Gonzalo Paniagua Javier <[email protected]>
* RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
* RepeatInfo.cs: implemented DoHorizontalRendering.
2002-06-19 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI.WebControls/Repeater.cs:
(Controls):
(OnDataBinding): fixed stack overflow.
2002-06-19 Gonzalo Paniagua Javier <[email protected]>
* RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
* RepeatInfo.cs: implemented DoHorizontalRendering.
2002-06-18 Gonzalo Paniagua Javier <[email protected]>
* WebControl.cs:
(CopyBaseAttributes): copy Attributes and don't throw exception.
2002-06-18 Gonzalo Paniagua Javier <[email protected]>
* ListBox.cs: mono-stylized.
(AddAttributesToRender): call parent class method.
2002-06-17 Gonzalo Paniagua Javier <[email protected]>
* Style.cs: fixed IsEmpty and Width.
* Table.cs: mono-stylized.
(TableRowControlCollection.AddAt): fixed.
(AddAttributesToRender): fixed.
* TableCell.cs: mono-stylized.
(.ctor): use PreventAutoID.
(AddAttributesToRender): fixed.
(AddParsedSubObject): fixed.
* TableRow.cs: mono-stylized. Added
ParseChildren attribute.
* TableStyle.cs:
(get_GridLine): fixed.
2002-06-16 Gonzalo Paniagua Javier <[email protected]>
* Panel.cs: fixed stack overflow.
* Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
and SingleConverter.
2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* RadioButton.cs: mono-stylized and some little fixes.
* TextBox.cs: mono-stylized.
(MaxLength): fixed typo.
(AddAttributesToRender): don't render the text between the tags for
SingleLine, use value attribute for it. Don't render the text for
Password.
(OnPreRender): don't throw exception and call base.OnPreRender.
(Render): for MultiLine, render the text between the opening and
closing tags encoded as HTML.
2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* ImageButton.cs:
(AddAttributesToRender): fixer another stack overflow.
* WebControl.cs:
(TagName): modified to use TagKey instead of tagKey as the property
can be overriden.
2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* LinkButton.cs: mono-stylized.
(AddParsedSubObject):
(RenderControls): little fixes.
* WebControl.cs:
(AddAttributesToRender): fixed usage of IEnumerator.
2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* Literal.cs: beautified.
2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* Label.cs: beautified and fixed a couple of 'classic' bugs.
* WebControl.cs: use Span as default tag when no other provided in
constructor. That is what MS renders.
2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* Button.cs:
(AddAttributesToRender): fixed (classic) stack overflow.
* CheckBox.cs: mono-stylized.
(AutoPostBack): fixed stack overflow.
(Render): fixed alignment issues. Also set the For attribute always
for the label.
2002-06-11 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs: GetData does not work as it should, but now it returns
useful data (only the first ad in the file). Set the NavigateUrl
property in the hyperlink if available.
* HyperLink.cs: fixed constructor and a couple of stack overflows.
* Image.cs: added an attribute and fixed stack overflow.
* WebControl.cs:
(RenderBeginTag): fixed.
(TagName): don't call Enum.IsDefined twice.
2002-06-03 Gonzalo Paniagua Javier <[email protected]>
* WebControl.cs: added attributes PersistChildrenAttribute and
ParseChildrenAttribute.
2002-05-24 Duncan Mak <[email protected]>
* DataGridItem.cs (SetItemType): Changed function signature to
match 1.0 spec.
* ListItemCollection.cs (this): Changes the visibility level of
the indexer.
* Repeater.cs (OnItemCommand):
(OnItemCreated):
(OnItemDataBound): Added necessary casts.
2002-05-07 Duncan Mak <[email protected]>
* Button.cs (AddAttributesToRender):
* ImageButton.cs (AddAttributesToRender): Added a missing argument to the
GetClientValidatedEvent method.
2002-03-27 Gaurav Vaish <[email protected]>
* Removed extra methods, corrected access modifiers to several
methods.
2002-03-26 Gaurav Vaish <[email protected]>
* <SeveralFiles>.cs - Added some attributes
* FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
methods. Will complete them later. Right now, busy with
the attributes part.
* RepeaterItem.cs - Completed.
Oh God! Mercy! I will die applying attributes. I look at the missing
part in the class-status - daemon! Kyrie eleison!
2002-03-19 Gaurav Vaish <[email protected]>
Some bug fixes
* AdRotator.cs - Added definition for Font.
* BaseCompareValidator.cs - Added definition for Controls.
* Calendar.cs - SelectMonthText definition corrected.
* DataList.cs - Added definition for SeparatorTemplate.
* BorderStyle.cs - Namespace correction. It belongs not to UI,
but to UI.WebControls.
2002-03-17 Gaurav Vaish <[email protected]>
Finally, I have made it. Today I did a second build for the
System.Web assembly. It compiled 195 classes today.
I am waiting eagerly for the runtime to come up so that the objects
may be tested to their last levels. Several of the methods are still
under the tag of "TODO" throwing NotImplementedException. Well, I
hope to remove them soon, but how far is this soon - even I don't
know, though I am happy to make the build a success even before
the vacations to come.
2002-03-07 Gaurav Vaish <[email protected]>
Yesterday and today I tried to do some building of the aseembly,
but was dumped with uncoutably infinite errors. ;-)
I have put the copies of the recent errors on my home page, want
to have a look at them? See:
http://mastergaurav.virtualave.net/mono/
I don't know what to do with these errors. Oh! The buggy me! How
will I overcome myself. Hopefully, by when my vacations over, I
should have made a repository where the build will not fail.
2002-03-05 Gaurav Vaish <[email protected]>
I am now going to do a build that will include the
System.Web.UI.WebControls namespace. Hoping that I will make it
soon. My exams are coming near and I have to pack up soon.
2002-03-04 Gaurav Vaish <[email protected]>
Comments:
And with this, ie, today's work, all the objects mentioned in the
namespace appear in the implementation. But it may not be worth
trying to go for a build because of dependence of several of the
internal methods that may clash with already available assembly
System.Web.
Also, the classes lack possible attributes, like those informing
about child-controls etc. But I have to first create the attribute
classes before I attach the attributes to the classes.
* CustomValidator.cs - Completed. In process realized that
I have to complete / rejuvinate BaseValidator class.
* BaseValidator.cs - Complete rejuvination. Completed 80%
of the job. All that is left is Render(HtmlTextWriter),
DetermineRenderUplevel(), RegisterValidatorCommonScript()
RegisterValidatorDeclaration()
* DataGridPagerStyle.cs - Completed. That adds one more missle
in my artillery.
* DataKeyCollection.cs - Completed. Petty small.
* Repeater.cs - Work started off. This is a quite
heavy class. Hooh!
* DataGridItemEventArgs.cs,
* DataGridShortCommandEventArgs.cs,
* DataListItemEventArgs.cs,
* MonthChangedEventArgs.cs,
* RepeaterItemEventArgs.cs,
* ServerValidateEventArgs.cs,
* DataGridPageChangedEventArgs.cs
- Damn, I marked them "*", while they
did not exist.
* Repeater.cs - Done all except for an undocumented
method CreateControlHierarchy(bool). Though the method
is quite clear by its name, but it will take some time
for me to come with some material to flush in.
2002-03-03 Gaurav Vaish <[email protected]>
* SelectedDatesCollection.cs - Completed.
* PagedDataSource.cs - Completed. Pathetically nice class.
* RegularExpressionValidator.cs
- Completed. Ridiculously small and
annoyinglyc crazy-driving class, basically the method
EvaluateIsValid().
* RangeValidator.cs - Completed.
* DataGridColumn.cs - Completed.
* EditCommandColumn.cs - All is complete except for the
InitializeCell(TableCell, int, ListItemType) method.
* DataListItem.cs - All done except for a longish method
RenderItem(HtmlTextWriter, bool, bool)
2002-03-02 Gaurav Vaish <[email protected]>
* RepeaterItemCollection.cs - Completed.
I love *Collection classes. I am planning to make a
program that will generate a *Collection class. It's so
simple and the same. ;-)
* DataGridColumnCollection.cs - Completed.
... except probably for *ColumnCollection classes, where
you have to put in some more effort. Still, these class
generation can be automated.
* DataListItemCollection.cs - Completed.
See, how easily, in less than a quarter of a minute, I
completed this class - manually. Copy-Paste/Cut-Replace.
2002-02-21 Gaurav Vaish <[email protected]>
* DataGrid.cs - Following methods implemented:
TrackViewState(), LoadViewState(object), SaveViewState(),
On* -- The event raisers.
OnBubbleEvent(object, EventArgs) is still incomplete.
* DataGridItem.cs - Initial Implementation
* DataGridItemCollection.cs - Completed.
2002-02-08 Gaurav Vaish <[email protected]>
* DataGrid.cs - Initial Implementation. Worked
primarily with some properties.
2002-02-07 Gaurav Vaish <[email protected]>
* ListBox.cs - Completed. Implemented
LoadPostData(string, NameValueCollection)
* RequiredFieldValidator.cs - Completed. Pretty simple class.
2002-02-06 Gaurav Vaish <[email protected]>
* ListBox.cs - Implemented the following:
RaisePostDataChangedEvent()
2002-02-02 Gaurav Vaish <[email protected]>
* ListBox.cs - Supports the following properties:
BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
ToolTip.
Methods:
AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
RenderContents(HtmlTextWriter)
2002-02-01 Gaurav Vaish <[email protected]>
* TargetConverter.cs - Completed
* TemplateColumn.cs - Completed
* DataList.cs - Corrected the get-er methods for the
*Style objects. Corrected the get/set-er methods for ViewState
related objects.
Addded support for properties:
GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
SelectedItem, SelectedItemStyle, SelectedItemTemplate,
SeparatorStyle, SeparatorItemTemplate.
Events:
CancelCommand, DeleteCommand, EditCommand, ItemCommand,
ItemCreated, ItemDataBound, UpdateCommand.
Methods:
CreateControlStyle(), LoadViewState(object),
SaveViewState(), TrackViewState
Event handlers:
OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
OnEditCommand, OnItemCommand, OnItemCreated,
OnItemDataBound, OnUpdateCommand
Added dummy methods for some undocumented methods:
CreateControlHierarchy(bool), CreateItem(int, ListItemType),
CreateItem(int, ListItemType, bool, object),
PrepareControlHierarchy(), InitializeItem(DataListItem)
* ListBox.cs - Started working.
2002-01-31 Gaurav Vaish <[email protected]>
* RepeaterInfo.cs - Initial Implementation. Done all
except for RepeatDirection.Vertical
* TableStyle.cs - Completed
2002-01-30 Gaurav Vaish <[email protected]>
* DropDownList.cs - Completed
* ListItemCollection.cs - Added method FindByValueInternal to
assist in the derived classes.
Discovered bug in FindByValue. Removed
* UnitConverter.cs - Completed
* PlaceHolder.cs - What can be simpler than this?
* PlaceHolderControlBuilder.cs
- Uh! Damn cool one.
* RadioButtonList.cs - Initial Implementation. All is done
except for the implementation of
method IRepeatInfoUser.RenderItem(...)
* ValidatedControlConverter.cs
^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
* ValidationSummary.cs - Initial Implementation.
* WebColorConverter.cs - Initial Implementation
2002-01-27 Gaurav Vaish <[email protected]>
* FontNamesConverter.cs - Completed
* FontUnitConverter.cs - Partial Implementation
* ListItemControlBuilder.cs - Completed
2002-01-27 Gaurav Vaish <[email protected]>
* TextBox.cs - All done except *Render* methods
* TextBoxControlBuilder.cs - Completed
* Xml.cs - Partial Implementation
2002-01-26 Gaurav Vaish <[email protected]>
* RadioButton.cs - Completed
* TextBox.cs - Partial Implementation
2002-01-25 Gaurav Vaish <[email protected]>
* Panel.cs - Completed
* TableItemStyle.cs - Completed
2002-01-18 Gaurav Vaish <[email protected]>
* TableCellCollection.cs - Completed
* TableRowCollection.cs - Completed
* TableHeaderCell.cs - Completed
* TableRow.cs - Completed
2002-01-09 Gaurav Vaish <[email protected]>
* TableCellControlBuilder.cs - Completed
* Table.cs - Completed
* TableCell.cs - Completed
2002-01-07 Gaurav Vaish <[email protected]>
* CheckBoxList.cs - Completed
* ButtonColumn.cs - Completed
* Button.cs - Completed
2001-12-28 Gaurav Vaish <[email protected]>
* HyperLink.cs - Completed
* Image.cs - Completed
* ImageButton.cs - Completed
* Label.cs - Completed
* LabelControlBuilder.cs - Completed
* LinkButton.cs - Completed
* LinkButtonControlBuilder.cs - Completed
* Literal.cs - Completed
* LieteralControlBuilder.cs - Completed
* FontUnit.cs - Completed
2001-12-27 Gaurav Vaish <[email protected]>
* Calendar.cs - Completed the functions of Render*,
ViewStates (Track/View/Save),
RaisePostBackEvent.
Left: RenderAllDays (partially)
2001-12-21 Gaurav Vaish <[email protected]>
* Calendar.cs - Added some more functions
* Style.cs - Completed
* ListItem.cs - Completed
* ListItemCollection.cs - Completed
Made the first successful build of System.Web.dll that included
System.Web.UI.WebControls!
2001-12-20 Gaurav Vaish <[email protected]>
FontInfo.cs - Complete revamp. Completed
2001-12-19 Gaurav Vaish <[email protected]>
ListItemCollection.cs - Completed
ListItem.cs - Initial Implementation
Style.cs - Initial Implementation
Right now I am in a total mood to do a successful build. Creating so many
classes, completing classes in System.Web System.Web.UI namespaces.
2001-12-18 Gaurav Vaish <[email protected]>
TODO - Properly added
CheckBox.cs - Completed
BaseDataList.cs - Completed
DayRenderEventArgs.cs - Completed
RepeaterItem.cs - Initial implementation
2001-12-17 Gaurav Vaish <[email protected]>
BaseCompareValidator.cs - Completed
AdRotator.cs - Completed
2001-12-15 Gaurav Vaish <[email protected]>
CommandEventArgs.cs - Completed
DataGridCommandEventArgs.cs - Completed
RepeaterCommandEventArgs.cs - Completed
DataListCommandEventArgs.cs - Completed
CompareValidator.cs - Partial Implementation
2001-12-02 Gaurav Vaish <[email protected]>
CheckBoxList.cs - Partial Implementation.
All except "Render"
2001-12-01 Gaurav Vaish <[email protected]>
ListControl.cs - Completed
2001-11-30 Gaurav Vaish <[email protected]>
CheckBox.cs - Completed
ListControl.cs - Initial Implementation
CheckBoxList.cs - Started with it, but first needed
ListControl. Left it.
2001-11-29 Gaurav Vaish <[email protected]>
CalendarDay.cs - Making a note that this
has been implemented
Calendar.cs - Making a note that have made some changes.
Unimplmented functions throw
NotImplementedException
CheckBox.cs - Can now "Render" and "LoadPostData"
2001-11-08 Gaurav Vaish <[email protected]>
WebControl.cs - Total Revamp, Partial Implementation
AdRotator.cs - Able to load files
AdCreatedEventArgs.cs - Implemented
2001-11-05 Gaurav Vaish <[email protected]>
Calendar.cs - Initial Implementation
ButtonColumn.cs - Initial Implementation
Button.cs - Initial Implementation
BoundColumn.cs - Initial Implementation
BaseCompareValidator.cs - Minor Changes
DataList.cs, BaseValidator.cs, BaseDataList.cs
- Added more functions, other changes
2001-10-28 Gaurav Vaish <[email protected]>
WebControl.cs - Initial Implementation
DataList.cs - Initial Implementation
BaseValidator.cs - Initial Implementation
BaseDataList.cs - Initial Implementation
2001-10-27 Gaurav Vaish <[email protected]>
AdCreatedEventArgs.cs - Initial Implementation
AdCratedEventHandler.cs - Implemented
AdRotator.cs - Initial Implementation
BorderStyle.cs - Implemented
ButtonColumnStyle.cs - Implemented
CalendarSelectionMode.cs - Implemented
DayNameFormat.cs - Implemented
FirstDayOfWeek - Implemented
FontInfo.cs - Partial Implementation
FontSize.cs - Implemented
GridLines.cs - Implemented
HorizontalAlign.cs - Implemented
HyperLink.cs - Initial Implementation
ImageAlign.cs - Implemented
IRepeatInfoUser.cs - Implemented
ListItemType.cs - Implemented
ListSelectionMode.cs - Implemented
NextPrevFormat.cs - Implemented
PagerMode.cs - Implemented
PagerPosition.cs - Implemented
RepeatDirection.cs - Implemented
RepeatLayout.cs - Implemented
TextAlign.cs - Implemented
TextBoxMode.cs - Implemented
TitleFormat.cs - Implemented
UnitType.cs - Implemented
ValidationCompareOperator.cs
- Implemented
ValidationDataType.cs - Implemented
ValidationSummaryDisplayMode.cs
- Implemented
ValidatorDisplay.cs - Implemented
VerticalAlign.cs - Implemented
// File Created 2001-11-13