2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / ChangeLog
index 68543e0f748245cc099f28db481d372a426c68f6..aada87a6c2d080f0bba94121e74b11bf49c49d5a 100644 (file)
@@ -1,3 +1,401 @@
+2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
+       don't call MapPathSecure on the content itself.
+       
+       * XmlBuilder.cs: handle XML documents written inside asp:xml. The
+       document is checked at parse time and will be checked again at run time.
+
+       Fixes bug #63828.
+
+2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
+       bug #62726.
+
+2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * BaseValidator.cs: in Validate(), when the control is not visible or
+       enabled, return inmediately after setting IsValid to true. Fixes bug
+       #61831.
+
+2004-06-10 Alon Gazit <along@mainsoft.com>
+       * WebControl.cs: fixed LoadViewState(). 
+       Creates new attributes state bag only when the current is null.
+
+2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
+
+2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Calendar.cs: set the title class attribute if we have it. Fixes bug
+       53671.
+
+2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Style.cs: added SetBit.
+
+2004-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Calendar.cs:
+       * CompareValidator.cs:
+       * ImageButton.cs:
+       * Style.cs:
+       * WebControl.cs: Added protected missing members and attributes.
+
+2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TextBox.cs: don't save the Text if in ViewState if it's a password.
+       Save it if the control is not visible or not enabled. Fixes bug #58497.
+
+2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
+       Fixes bug #58097.
+
+2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
+       * Parameter.cs: 
+       * SqlDataSourceCommandEventArgs:
+       * XmlDataSource.cs : removed temporary workarounds for CLS 
+       compliance as System.Data is now CLS compliant
+
+2004-05-06 Alon Gazit <along@mainsoft.com>
+        * WebControl.cs: fixed LoadViewState() and SaveViewState(). 
+        Before the change the Enabled property wasn't updated when a postback
+        event was raised.
+        * ListControl.cs: fixed SelectedIndex property implementation.
+        Prevents throwing ArgumentOutOfRangeException (that should not be thrown),
+        when the list is empty.     
+
+2004-04-28 Alon Gazit <along@mainsoft.com>
+        * WebControl.cs: fixed LoadViewState(). 
+        Always loading the saved attributes collection.
+
+2004-04-18 Alon Gazit <along@mainsoft.com>
+       * Repeater.cs: fixed InstantiateItem() and DataSource property.
+       The change in DataSource prevents throwing ArgumentException while
+       setting property value to null.
+       The change in InstantiateItem() prevents NullReferenceException.
+
+2004-04-07  Lluis Sanchez Gual <lluis@ximian.com>
+
+       * BaseValidator.cs: Store Display property in the correct ViewState
+       property. Don't render anything if Display is ValidatorDisplay.None.
+
+2004-03-30  Lluis Sanchez Gual <lluis@ximian.com>
+
+       * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
+         since it is already a physical path. Fixes bug #55334.
+
+2004-02-13  Jackson Harper  <jackson@ximian.com>
+
+       * Calendar.cs: Match MS postback data. This allows sites that
+       parse the postback data manually to work.
+       
+2004-02-04 Alon Gazit <along@mainsoft.com>
+       * EditCommandColumn.cs: fixed InitializeCell().
+       The rendered LiteralControl should contain "&nbsp;" and not " ".
+
+2004-02-01 Alon Gazit <along@mainsoft.com>
+
+       * DataGrid.cs: fixed a problem in the paging mechanism in the method
+       InitializePager().
+       the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
+       while clicking the "..." link in the second page.
+
+2004-01-28 Alon Gazit <along@mainsoft.com>
+
+       * Calendar.cs: prevent NullReferenceException in RenderAllDays().
+
+2004-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Calendar.cs: when rendering days, add a LiteralControl containing the
+       day before OnDayRender is called. Only generate the default links for
+       days when IsSelectable is true after OnDayRender. Fixes bug #53372.
+
+2004-01-21  Martin Baulig  <martin@ximian.com>
+
+       * XmlHierarchyData.cs: Make this compile with csc.
+
+       * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
+       accessor since the base class doesn't have one.
+
+2004-01-18 Alon Gazit <along@mainsoft.com>
+
+       * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
+       
+2004-01-18 Alon Gazit <along@mainsoft.com>
+
+       * Style.cs: CopyFrom method shouldn't copy a value that is equal to
+       Property default value.
+       * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to 
+       Property default value. 
+
+2004-01-15 Alon Gazit <along@mainsoft.com>
+
+       * RadioButtonList.cs: RepeatLayout property should affect the rendered
+       html.   
+
+2004-01-15 Alon Gazit <along@mainsoft.com>
+       * FontInfo.cs: Add validation check to Size property.   
+
+2004-01-07 Alon Gazit <along@mainsoft.com>
+       * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
+       merge the column's style to the cell's style and not to
+       the item's(row) style.  
+
+2004-01-04 Alon Gazit <along@mainsoft.com>
+       * RangeValidator.cs: Fixed ControlPropertiesValid().
+       
+2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Xml.cs: mono-stylized and removed warnings.
+
+2004-1-1 Alon Gazit <along@mainsoft.com>
+       * RadioButtonList.cs: update RenderItem() so that each RadioButton
+       is enabled or disabled like the RadioButtonList.
+       * CheckBoxList.cs: update RenderItem() so that each CheckBox
+       is enabled or disabled like the CheckBoxList.   
+
+2004-1-1 Alon Gazit <along@mainsoft.com>
+       * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
+       The Header or Footer Style shouldn't merge with the cells Style.                 
+       
+2004-1-1 Alon Gazit <along@mainsoft.com>
+       * DataGridColumn.cs: Headers and Footers are initialized  
+       with the relevant Style object.  
+
+2003-12-30 Alon Gazit <along@mainsoft.com>
+       * RepeatInfo.cs: Fixed DoVerticalRendering () and 
+       DoHorizontalRendering().
+       Current implementation produces few extra html tags.
+          
+2003-12-29  Alon Gazit <along@mainsoft.com>
+
+       * CheckBox.cs: change the implementation of LoadPostData. 
+       Currently, while the AutoPostBack property equals true ,
+       it isn't possible to perform uncheck.
+
+2003-12-19  Jackson Harper <jackson@ximian.com>
+
+       * TableCell.cs: Setting a cells text should clear its control
+       collection as per la specification. This fixes bug #51825.
+       
+2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DataGridColumn.cs: stylized LoadViewState.
+       * DataGridColumnCollection.cs: when TrackViewState is called, also
+       call it on all the existing columns. Fixes bug #52334.
+
+2003-12-18  Alon Gazit <along@mainsoft.com>
+
+       * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style 
+       is empty.
+
+2003-12-18  Alon Gazit <along@mainsoft.com>
+
+       * TableStyle.cs: merge TableStyle properties when Style is empty.
+
+2003-12-16  Alon Gazit <along@mainsoft.com>
+
+       * HyperLink.cs: Change Text property implementation. in MS when the Text
+       property is set, all the controls in the HyperLink are being deleted. 
+       This fixes bug #52239.   
+
+2003-12-15  Alon Gazit <along@mainsoft.com>
+       * RepeatInfo.cs: Fixed DoVerticalRendering () and 
+       DoHorizontalRendering().
+       Both methods add additional empty table row in the head of each item
+       table when the variable named isTable equals true (happenes with the
+       default instantiation of RepeatInfo). These additional rows should be
+       added when isTable equals false.
+       This fixes bug #52225.   
+
+2003-12-15  Alon Gazit <along@mainsoft.com>
+
+       * RepeatInfo.cs: Fixed DoVerticalRendering() and
+       DoHorizontalRendering().
+       Both methods add to rendered Header a colspan attribute according to the
+       rows count. after the change the colspan is added according to the
+       columns count.   
+
+2003-12-15  Alon Gazit <along@mainsoft.com>
+       * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
+       In .NET if the checkbox is disabled ,its text appears disabled too.
+       In Mono the text appears enabled. the fix is in Render().
+       This fixes bug #52180.
+
+2003-12-15  Alon Gazit <along@mainsoft.com>
+       * Repeater.cs: Change the implementation of CreateControlHierarchy().
+       The current implementation renders extra Header and footer 
+       without Repeater.DataSource assign. 
+       This fixes bug #52179.
+
+2003-12-15  Alon Gazit <along@mainsoft.com>
+       * DataGrid.cs: Change the implementation of the property 
+       BackImageUrl. The current implementation has no influence 
+       on the rendered Html.
+
+2003-12-15  Alon Gazit <along@mainsoft.com>
+       * WebControl.cs: Change the implementation of the property 
+       Enabled. Before the change the WebControl also looked at 
+       parent.Enabled . fixed bug #52171.
+
+2003-12-11  Jackson Harper <jackson@ximian.com>
+
+       * RepeatInfo.cs: When rendering vertically figure out how many
+       colmns are not going to be filled in in the last row, and adjust
+       things accordingly. This fixes bug #51863.
+       
+2003-12-10  Alon Gazit <along@mainsoft.com>
+       * TableRow.cs: Change the implementation of the properties 
+       HorizontalAlign and  VerticalAlign. The current implementation      
+       has no influence on the rendered Html.
+
+2003-12-10  Alon Gazit <along@mainsoft.com>
+       * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
+       property's set method.
+       
+2003-12-09  Jackson Harper <jackson@ximian.com>
+
+       * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
+       Increment counter when moving to start. Fixes bug #51926.
+       
+2003-12-08  Jackson Harper <jackson@ximian.com>
+
+       * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
+       Benjamin Jemlich. Fixes bug #51823.
+       
+2003-12-07  Alon Gazit <along@mainsoft.com>
+       * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
+       property is set to false. Fixes bug #58120.
+       
+2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TableItemStyle.cs: merge TableItemStyle properties when Style is
+       empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
+
+2003-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
+       #51648.
+
+2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * WebControl.cs: don't create the attributes when GetAttribute is
+       called.
+
+2003-12-01  Jackson Harper <jackson@ximian.com>
+
+       * WebControl.cs: Only allow access keys to be null or a single
+       char. Patch by Alon Gazit <along@mainsoft.com>.
+       
+2003-11-30  Jackson Harper <jackson@ximian.com>
+
+       * CheckBoxList.cs: A checkbox will have null post data if it is
+       unselected. This fixes bug #51516.
+       
+2003-11-29  Jackson Harper <jackson@ximian.com>
+
+       * DataGrid.cs: Display paging controls even when there is no
+       data. Path by Mohammad DAMT. Fixes bug #51487.
+       
+2003-11-29  Jackson Harper <jackson@ximian.com>
+
+       * DataGrid.cs: Call TrackViewState when loading bound columns view
+       state. So that their state is saved. This fixes bug #51424. Also
+       set ReadOnly.
+       
+2003-11-26  Jackson Harper <jackson@ximian.com>
+
+       * BaseDataList.cs: Change && to || We will call that a typo so no
+       one gets embarrased.
+       
+2003-11-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * BaseDataList.cs: allow setting null as Datasource.
+
+       * DataGrid.cs: keep autogenerated columns in the ViewState.
+
+       Patches by Alon Gazit <along@mainsoft.com>.
+
+2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * SqlDataSource*: Implement almost everything. Data access is
+       still missing.
+
+2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * Calendar.cs (SaveViewState):
+           - We were allocating a 11 item array, we only used 10 items,
+             so only allocate 10.
+           - We only need to save the selected dates if there are any.
+       * DataGrid.cs (SaveViewState):
+       * DataGridColumn.cs (SaveViewState):
+       * DataGridColumnCollection.cs (SaveViewState):
+           - Only return the array if there is anything in it
+       * Style.cs (SaveViewState):
+           - Only save the bits if there were changes.
+       * WebControl.cs (SaveViewState), (LoadViewState):
+           - Don't save Enabled into the viewstate here, we already
+             do it in the property. This just caused *EVERY* control
+             to have a non-null state, taking up lots of extra room
+             in the ViewState.
+           - The style will always be created with this control's
+             viewstate, so the style will always return null for the
+             viewstate. As such, we do not need to store it. We can
+             also reduce the triplet to a pair because of this.
+
+2003-11-22  Jackson Harper <jackson@ximian.com>
+
+       * ValidationSummary.cs: Fix number of messages and message array computation.
+
+2003-11-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * Xml.cs: Corrected attribute
+       * XmlBuilder.cs: Added
+
+2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Xml.cs: class status based fixes.
+
+2003-11-19  Jackson Harper  <jackson@ximian.com>
+
+       * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
+       
+2003-11-19  Jackson Harper  <jackson@ximian.com>
+
+       * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
+       teh applications base directory. This fixes bug #51092.
+       
+2003-11-18  Todd Berman  <tberman@gentoo.org>
+
+       * ControlParameter.cs:
+       * CookieParameter.cs:
+       * FormParameter.cs:
+       * QueryStringParameter.cs:
+       * SessionParameter.cs: added public .ctor ()
+       * Parameter.cs: added public .ctor (), internal SetOwnerCollection
+       and handling, as well as internal ParameterValue for easy access.
+       NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
+       * ParameterCollection.cs: implementation redux.
+
+2003-11-18  Todd Berman  <tberman@gentoo.org>
+
+       * ParameterCollection.cs: Implemented
+       * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
+       ToString () now matches asp.net
+
+2003-11-17 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * ControlParameter.cs:
+       * CookieParameter.cs:
+       * FormParameter.cs:
+       * Parameter.cs:
+       * QueryStringParameter.cs: New v2 files. Mostly
+       implemented, still need a few methods.
+
 2003-11-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon