2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / ChangeLog
index b46a1097de2a0e0f58ec47313c34d40b0077ba9d..6941c1e7542eb0d69ca879c9c9ca4717a7f4273b 100644 (file)
@@ -1,3 +1,617 @@
+2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
+       Header and Footer.
+       * DataGridColumn.cs: added SetOwner method.
+       * DataGridColumnCollection.cs: set the owner of the column when added.
+
+2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * BoundColumn.cs: typo.
+       * DataGrid.cs: use 'as' instead of casting. Typo.
+       * HyperLinkColumn.cs: call OnColumnChanged when any property change.
+       Mono-stylized.
+
+2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HyperLink.cs: fixes bug #36336.
+
+2003-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
+
+2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * BaseValidator.cs: return an empty string in GetControlValidationValue
+       when GetValue returned null.
+
+       * CompareValidator.cs: fixed EvaluateIsValid.
+
+       * RegularExpressionValidator.cs: fixed EvaluateIsValid.
+
+2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Xml.cs: use MapPathSecure to get the path of the document.
+
+2002-12-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DataList.cs: fixed header & footer.
+
+2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DataList.cs: for header and footer don't use data source.
+       Instantiate in the DataListItem, not in the DataList.
+       databind-template.aspx works now.
+
+2002-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * BaseDataList.cs:
+       (Render): call RenderContents (), not base.RenderContents ().
+
+       * DataList.cs: style.
+
+       But I still haven't found what i'm looking for....
+
+2002-11-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Calendar.cs: fixed loading/saving selected dates.
+       * SelectedDatesCollection.cs: added internal function to get the
+       underlying ArrayList.
+
+       Calendar navigation works again. Selecting dates too.
+
+2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DataList.cs: added a few attributes and fixed infinite recursion.
+
+2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ListItemCollection.cs: fixed LoadViewState.
+
+2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
+       Commented out some code until it works.
+
+2002-10-29      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * BaseCompareValidator.cs - Fixed operator bug in 
+                                   Compare(string, string, ...)
+       * CompareValidator.cs     - EvaluateIsValid()            : Implemented.
+
+2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * BoundColumn.cs        - InitializeCell(TableCell, int, ListItemType)
+                                                     : Implemented.
+                               - All Properties      : Now make use of ViewState.
+
+2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * BaseValidator.cs      - Uncomment NotImplementedException.
+
+2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * BaseValidator.cs      - Minor changes in TODO comments.
+
+2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * BaseValidator.cs      - DetermineRenderUpLevel()       : Uncomment
+                                 the NotImplementedException being thrown.
+       * DataGridPagerStyle.cs - Mode { set; }                  : Implemented.
+       * DataGridLinkButton.cs - Added new class (private)      : Implemented.
+       * DataGrid.cs           - InitializePager(DataGridItem, int,
+                                 PagedDataSource)               : Implemented.
+
+2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * DataList.cs          - PrepareControlHierarchy()       : Implemented.
+
+2002-10-28      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * DataList.cs          - RenderContents(HtmlTextWriter)  : Implemented.
+                              - GetItem(ListItemType, int)      : Removed TODO.
+                              - CreateControlHierarchy(bool)    : Implemented.
+                              - CreateItem(int, ListItemType)   : Implemented.
+                              - CreateItem(int, ListItemType,
+                                      bool, object)             : Implemented.
+                              - InitializeItem(DataItem)        : Implemented.
+       * DataGrid.cs          - CreateControlHierarchy(bool)    : Bug fix.
+                           The ViewState["_!ItemCount"],
+                               ViewState["_!DataSource_ItemCount"]
+                                 are shared by DataList and DataGrid, and hence
+                                 should share the same name.
+                              - ResolveDataSource(object, string)
+                                    : Removed. Use System.Web.UI.Utils.DataSourceHelper
+                                      ::GetResolvedDataSource(object, string).
+
+
+2002-09-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DataGrid.cs: fixed compilation
+
+2002-09-12      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * PagedDataSource.cs   - FirstIndexInPage : Fixed bug.
+       * DataGrid.cs          - CreateControlHierarchy(bool)
+                                   : working towards completion.
+                              - ResolveDataSource(object, string)
+                                   : stubbed new method
+                              - CreateItem(....)
+                                   : stubbed new method
+                       Well. It's almost done.
+       * DataGridTableInternal.cs
+                              - Added new internal class.
+
+2002-08-28      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * DataSourceInternal.cs       - Added new class (internal).
+
+2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FontUnit.cs:
+       * HorizontalAlign.cs:
+       * Unit.cs:
+       * VerticalAlign.cs: fixes based on class status page.
+       
+       * HorizontalAlignConverter.cs: implemented.
+       * VerticalAlignConverter.cs: implemented.
+
+       * FontUnitConverter.cs: implemented GetStandardValues ().
+
+       * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
+
+2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * DataGrid.cs                 - AutoCreateColumns: Bug fixes.
+
+2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * DataGrid.cs                 - AutoCreateColumns: completed, hopefully!
+
+2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * DataGrid.cs                 - Working on the undocumented protected
+                             method CreateColumnSet. AutoCreateColumns method
+                             stubbed. Left CreateControlHierarchy for the time
+                             being, looks like I'm going insane. ;-)
+
+2002-08-19      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * Button.cs                   - Steffen's OnCommand bug fix.
+
+2002-08-12      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * DataGrid.cs                 - Added protected method (skeleton)
+                                       CreateColumnSet(PagedDataSource, bool)
+                                     Still trying to know how will it be used
+                                     and what for...
+
+2002-08-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * PagedDataSource.cs: fixed compilation.
+
+2002-08-08      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * DataGrid.cs                 - Added private method
+                                       CreatePagedDataSource
+                                     - Started work on
+                                       CreateControlHierarchy(bool)
+       * PagedDataSource.cs          - Bug fixed.
+                                       CurrentPageIndex is writable.
+
+2002-08-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DataGrid.cs: fixed typo.
+       * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
+
+2002-08-06      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * DataGridColumn.cs           - Added internal methods to get the
+                                       various styles (needed in DataGrid.cs)
+       * DataGrid.cs                 - Completed the method
+                                       PrepareControlHierarchy()
+
+2002-08-06      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * DataGrid.cs                 - Wokring on PrepareControlHierarchy()
+                                     - Added private method
+                            PrepareControlHierarchyForItem()
+
+2002-08-05      Gaurav Vaish <gvaish_mono@lycos.com>
+
+       * DataGrid.cs                 - Completed method
+                            OnBubbleEvent(object, EventArgs)
+
+2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Xml.cs: implemented document/transform load.
+
+2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Calendar.cs: added myself to the list of authors.
+       * DropDownList.cs: fixed a few properties.
+       * ListControl.cs: fixed SelectedIndex.
+
+2002-07-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Calendar.cs: lots of fixes. Render days.  Still left to persist
+       selected days when changing month.
+
+       * Unit.cs: fixed Percentage and Pixel.
+
+       * WebControl.cs: a few properties are now using ControlStyle instead
+       of ViewState to persist.
+
+2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * BaseValidator.cs: it works now.
+       * DataGridColumn.cs: added attribute and made it abstract.
+       * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
+
+2002-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TextBox.cs: default for Wrap is true.
+       (OnPreRender): don't save Text if there are no listeners on TextChanged.
+
+2002-07-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DropDownList.cs:
+       (ToolTip): fixed.
+
+       * ListItem.cs:
+       (LoadViewState): fixed.
+
+       * ListItemCollection.cs:
+       (TrackViewState): use items instead of 'this' in foreach.
+
+       * Style.cs:
+       (LoadViewState): more checking of parameters.
+
+       * WebControl.cs: implemented LoadViewState and SaveViewState.
+       
+
+2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ListItem.cs: there was no code to unset the flags!!!
+
+2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * BaseDataList.cs: a couple of fiex and added attributes.
+       * DataGrid.cs: little fixes.
+
+2002-07-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * Table.cs:
+       (AddAttributesToRender): correctly default to border=1.
+
+2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * 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 <lupus@ximian.com>
+
+       * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
+
+2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * Button.cs:
+       (.ctor): fixed to render the correct tag.
+       (IPostBAckEventHandler.RaisePostBackEvent): fixed.
+
+2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * WebControl.cs:
+       (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
+       WebControl derived classes should be rendered inside a HtmlForm.
+
+2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
+       processing methods.
+
+2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
+       * RepeatInfo.cs: implemented DoHorizontalRendering.
+
+2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * System.Web.UI.WebControls/Repeater.cs:
+       (Controls):
+       (OnDataBinding): fixed stack overflow.
+
+2002-06-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
+       * RepeatInfo.cs: implemented DoHorizontalRendering.
+
+2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * WebControl.cs:
+       (CopyBaseAttributes): copy Attributes and don't throw exception.
+
+2002-06-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ListBox.cs: mono-stylized.
+       (AddAttributesToRender): call parent class method.
+
+2002-06-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * Panel.cs: fixed stack overflow.
+       * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
+       and SingleConverter.
+
+2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * LinkButton.cs: mono-stylized.
+       (AddParsedSubObject):
+       (RenderControls): little fixes.
+
+       * WebControl.cs:
+       (AddAttributesToRender): fixed usage of IEnumerator.
+
+2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Literal.cs: beautified.
+
+2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * WebControl.cs: added attributes PersistChildrenAttribute and 
+       ParseChildrenAttribute.
+
+2002-05-24  Duncan Mak  <duncan@ximian.com>
+
+       * 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  <duncan@ximian.com>
+
+       * Button.cs (AddAttributesToRender): 
+       * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
+       GetClientValidatedEvent method.
+
+2002-03-27      Gaurav Vaish <gvaish@iitk.ac.in>
+
+       * Removed extra methods, corrected access modifiers to several
+         methods.
+
+2002-03-26      Gaurav Vaish <gvaish@iitk.ac.in>
+
+       * <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 <gvaish@iitk.ac.in>
+
+          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 <gvaish@iitk.ac.in>
+
+       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 <gvaish@iitk.ac.in>
+
+       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 <gvaish@iitk.ac.in>
 
        I am now going to do a build that will include the