* TableStyle.cs: fixed typo that prevented restoring GridLines from
a saved viewstate.
* DataGrid.cs: the table does not get an auto ID. When restoring from
viewstate, use all the saved columns, not just that data bound ones. Set
the owner of the BoundColumns created. Save/restore columns.
OnItemCreated happens after the item is initialized and the data item is
set before the event and nullified after OnItemDataBound.
Add the render_table to the Controls immediately, otherwise we might get
errors from child controls such as "must be rendered inside a form".
Keep the items created in the list waiting for them.
The table uses the attributes from the DataGrid and ControlStyle.
Raise OnItemCommand on all bubble events and don't propagate bubble
event up in the hierarchy
* TableCell.cs: it does not get an automatic ID.
* BoundColumn.cs: FormatDataValue returns an empty string on null input
(there was already a test for this).
Fixes bug #76117.
svn path=/trunk/mcs/; revision=50218
* DataGrid.cs: merge column styles too. Fixes bug #76106.
* DataGridColumn.cs: new internal method to retrieve the styles without
creating an instance for them.
svn path=/trunk/mcs/; revision=50109
* Style.cs: corcompare stuff.
* RequiredFieldValidator.cs: more corcompare stuff.
* CheckBoxList.cs: clean up some of the interface methods vs
protected virtual 2.0 calls.
* SubMenuStyle.cs: corcompare says this should implement
ICustomTypeDescriptor... sooo, make it.
svn path=/trunk/mcs/; revision=49984
* TableCell.cs: do the same as HyperLink and others in
AddParsedSubobject so that adding a literal control does not remove the
existing controls if any. Fixes bug #76078.
svn path=/trunk/mcs/; revision=49980
* ListItem.cs: throw in AddParsedSubObject if the object is not a
LiteralControl.
* RadioButtonList.cs: implemented LoadPostData and
RaisePostDataChangedEvent.
svn path=/trunk/mcs/; revision=49841
* FontInfo.cs (IsEmpty): new internal property, used by
Style.IsEmpty.
* Style.cs (IsEmpty): make sure the fontinfo is null or empty as
well.
svn path=/trunk/mcs/; revision=49824
* Calendar.cs (WriteDay): always add BackColor=Silver,
ForeColor=White to selected day cells, before copying over the
selectedDayStyle, if it exists.
(WriteDays): fix nunit test - if the first day of the month falls
on the first day of the week, go back one week (effectively adding
a row of dates from the previous month.)
(WriteTitle): don't copy the control style to the tableTitle,
since it might have height specifications, which would make the
title look rather off.
svn path=/trunk/mcs/; revision=49672
* ValidationSummary.cs (AddAttributesToRender): we only set
display=none if there are no errors.
* BaseValidator.cs (OnPreRender): fix a JS error - on submit we
call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
svn path=/trunk/mcs/; revision=49658
* ListControl.cs (SelectedIndex): add comment about how you'd
think OnSelectedIndexChanged would be called.. and you'd be wrong.
(Text): implement in terms of SelectedValue.
(TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
(LoadControlState): implement - this is where the selected index
ArrayList gets stuffed in 2.0.
(OnInit): call Page.RegisterRequiresControlState.
(OnTextChanged): implement.
(RenderContents): for now just chain up to base.RenderContents.
(SaveControlState): save our control state properly.
(GetSelectedIndices): split this out from SaveViewState to it can
be used by both that and SaveControlState.
(SaveViewState): mangle this function so it works in both 2.0 and
1.0.
(LoadViewState): same.
svn path=/trunk/mcs/; revision=49612
* ValidationSummary.cs (Render): only do the JS stuff when the
validators on the page are uplevel.
* BaseValidator.cs (Render): remove unnecessary comment.
svn path=/trunk/mcs/; revision=49557
* Various places: make sure that the DefaultValue matches the
type. Thanks to Michael for pointing this out.
In future audits, you might want to use the following awk command:
awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
!/string/ && !/ int / && !/ bool / { print FILENAME; print v;
print $0; looking = 0; } /public/ && looking { looking = 0; } '
*.cs
The above skips bools, strings and ints as those were fine as we
set them. The bug was on the other ones.
svn path=/trunk/mcs/; revision=49274
* Repeater.cs: lots of 2.0 work, much of it c&p'ed from
{Base}DataList, and also from debug spew garnered from some
Repeater subclass tests on MS.
(CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
the IEnumerable by calling GetData().
(DataBind): reset RequiresDataBinding to false (2.0).
(DataMember): copy the set implementation from DataList, and add
2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
(DataSource): more c&p.
(DataSourceID); implement (2.0)
(Initialized): implement (2.0)
(IsBoundUsingDataSource): implement (2.0)
(RequiresDataBinding): implement (2.0)
(SelectArguments): implement (2.0)
(CreateDataSourceSelectArguments): implement (2.0)
(EnsureDataBound): implement (2.0)
(GetData): implement.
(OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
(2.0)
(OnDataSourceViewChanged): set RequiresDataBinding to true, but
leave the MonoTODO. (2.0)
(OnInit): call base.OnInit instead of throwing NIE, but leave the
MonoTODO (2.0)
(OnLoad): implement.
(OnPreRender): implement.
(ConnectToDataSource): new method - look for the right control.
svn path=/trunk/mcs/; revision=49234
* XmlDataSourceView.cs: fix the scope of our select. Don't use
call SelectNodes on the XmlDocument, not on
XmlDocument.DocumentElement.
svn path=/trunk/mcs/; revision=49231
* XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
(DoXPathSelect): put the xpath selection stuff here.
(ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
null).
* XmlDataSource.cs (IDataSource.GetView): don't do the XPath
select here, the view does it.
svn path=/trunk/mcs/; revision=49227
* CalendarTest.cs: Trackview states
2005-08-02 Jordi Mas i Hernandez <[email protected]>
* RadioButtonListTest.cs: test unit
2005-07-29 Jordi Mas i Hernandez <[email protected]>
* SelectedDatesCollectionTest.cs: new unit test
* CalendarDayTest.cs: new unit test
* CalendarTest.cs: more tests for calendar control
2005-07-12 Jordi Mas i Hernandez <[email protected]>
* ButtonTest.cs: add Default constructors tests
* ImageButtonTest.cs: Adds ImageButtonTest
2005-07-11 Jordi Mas i Hernandez <[email protected]>
* ButtonTest.cs: New unit test for Button
2005-08-04 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: fixes issues with OnDayRender event and others
2005-08-03 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: fixes Save/Load state
2005-08-03 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: bug fixes
2005-08-02 Jordi Mas i Hernandez <[email protected]>
* RadioButtonList.cs: bug fixes
2005-08-02 Jordi Mas i Hernandez <[email protected]>
* CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
AddAttributesToRender
* RadioButtonList.cs: Implementation
2005-08-01 Jordi Mas i Hernandez <[email protected]>
* ImageButton.cs: fixes, complete missing parts
2005-07-29 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: fixes exceptions, bug fixes, new features
* SelectedDatesCollection.cs: Fixes bugs discovered by the tests
* CalendarDay.cs: fixes default value
2005-07-27 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: get the styles right, honors more properties, fixes, fix
var names style
2005-07-26 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: selection of dates, state load, save, track, support
for new properties, many fixes.
2005-07-23 Jordi Mas i Hernandez <[email protected]>
* Button.cs: fixes events, adds attributes
2005-07-22 Jordi Mas i Hernandez <[email protected]>
* Calendar.cs: Initial implementation
* CalendarSelectionMode.cs: fix enum order
2005-07-12 Jordi Mas i Hernandez <[email protected]>
* TitleFormat.cs: Add attribute
* TextBoxMode.cs: Add attribute
* CalendarDay.cs: Initial implementation
* ImageButton.cs: Initial implementation
* CalendarSelectionMode.cs:Initial implementation
2005-07-12 Jordi Mas i Hernandez <[email protected]>
* TextBoxMode.cs: simple enum
* TitleFormat.cs: simple enum
2005-07-10 Jordi Mas i Hernandez <[email protected]>
* Button.cs: Initial Button implementation
svn path=/trunk/mcs/; revision=48923
* StyleTest.cs: Added tests for CssRegisteredStyle
2005-08-03 Peter Dennis Bartok <[email protected]>
* EditCommandColumnTest.cs: Updated; InitializeCell() passes except
for the missing footer; InitializeCellEdit() has a problem with
the name given to the TextBox controls
2005-08-03 Peter Dennis Bartok <[email protected]>
* EditCommandColumnTest.cs: Enable tests
2005-08-03 Peter Dennis Bartok <[email protected]>
* DataGridPagerStyleTest.cs: Added testcase
2005-07-27 Peter Dennis Bartok <[email protected]>
* StyleTest.cs: Added font-related tests to check for special
Name/Names behaviour
2005-07-27 Peter Dennis Bartok <[email protected]>
* EditCommandColumnTest.cs: Added tests; marked some as NotWorking
until PagedDataSource is not throwing NotImpl
2005-07-27 Peter Dennis Bartok <[email protected]>
* CustomValidatorTest.cs: Added tests
2005-07-27 Peter Dennis Bartok <[email protected]>
* DataGridPagerStyleTest.cs: Added tests
2005-07-26 Peter Dennis Bartok <[email protected]>
* DataGridItemTest.cs: Added tests
2005-07-26 Peter Dennis Bartok <[email protected]>
* DataGridItemCollectionTest.cs: Added tests
2005-07-25 Peter Dennis Bartok <[email protected]>
* StyleTest.cs: Refined tests
2005-07-21 Peter Dennis Bartok <[email protected]>
* CustomValidatorTest.cs: Added
2005-07-21 Peter Dennis Bartok <[email protected]>
* RangeValidatorTest.cs: More test cases
2005-07-20 Peter Dennis Bartok <[email protected]>
* DropDownListTest.cs: Added [ExpectedException] for double select
test
2005-07-20 Peter Dennis Bartok <[email protected]>
* ValidationSummaryTest.cs: Added rendering tests
2005-07-19 Peter Dennis Bartok <[email protected]>
* DropDownListTest.cs: Testcases added
* RangeValidatorTest.cs: Added
* ValidatedControlConverterTest.cs: Added
* ValidationSummaryTest.cs: Added
2005-07-15 Peter Dennis Bartok <[email protected]>
* DropDownListTest.cs: Testcases added
2005-07-14 Peter Dennis Bartok <[email protected]>
* WebColorConverter.cs: Testcases added
2005-07-14 Peter Dennis Bartok <[email protected]>
* TargetConverterTest.cs: Testcases added
2005-07-13 Peter Dennis Bartok <[email protected]>
* FontNamesConverterTest.cs: Testcases added
2005-07-13 Peter Dennis Bartok <[email protected]>
* ListItemCollectionTest.cs: Added
* ListBoxTest.cs: Marked test as not working since it dependes on
ListControl making a call to an obsolete internal method
2005-07-12 Peter Dennis Bartok <[email protected]>
* WebControlTest.cs: Added test for loading/saving of state. Switched
to use Sebastiens GetWriter method
2005-07-11 Peter Dennis Bartok <[email protected]>
* WebControlTest.cs: Added test.
2005-07-07 Peter Dennis Bartok <[email protected]>
* StyleTest.cs: Added test.
2005-07-21 Peter Dennis Bartok <[email protected]>
* PageTest.cs: Added new test file, added exception test for
Request property
2005-07-18 Peter Dennis Bartok <[email protected]>
* ControlTest.cs: Added test file for Control class, initially
contains only IDataBindingsAccessor test
2005-07-26 Peter Dennis Bartok <[email protected]>
* HtmlSelect.cs: Added missing attributes
2005-07-25 Peter Dennis Bartok <[email protected]>
* HtmlForml.cs: Implemented UniqueID (new in sp1)
* HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
2005-07-21 Peter Dennis Bartok <[email protected]>
* Page.cs: Need to throw exception when accessing Request but no
context exists
2005-07-18 Peter Dennis Bartok <[email protected]>
* Control.cs: Added IDataBindingsAccessor interface methods
2005-07-18 Peter Dennis Bartok <[email protected]>
* Control.cs: Added missing IParserAccessor.AddParsedSubObject
interface method
2005-07-18 Peter Dennis Bartok <[email protected]>
* Control.cs:
- Default name for controls on MS.Net is "_ctl" not "_ctrl"
- MS does not append 'a' for auto-generated names
2005-07-11 Peter Dennis Bartok <[email protected]>
* AttributeCollection.cs:
- Changes to match MS behaviour, the "style" attribute is always
added to the list, in addition to being added to the
CssStyleCollection. Also added check for "style" attribute when
setting via index setter
- When "Style" attribute is added, CssStyleCollection is
automatically created
- The style keyword needs to be lowercase
2005-08-25 Peter Dennis Bartok <[email protected]>
* Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
and RegisteredCssClass property
2005-08-25 Peter Dennis Bartok <[email protected]>
* Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
Load ViewState for derived classes; no public LoadViewState override
exists in those classes
* Style.cs: Added 2.0 IsStyleEmpty method
2005-08-04 Peter Dennis Bartok <[email protected]>
* ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
* ListControl.cs: Clear item list before adding data (again)
2005-08-04 Peter Dennis Bartok <[email protected]>
* DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
creating rows
* ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
if DataTextField is bound
* EditCommandColumn.cs(InitializeCell): MS inserts a between the
two controls in edit mode, lets do the same
2005-08-03 Peter Dennis Bartok <[email protected]>
* EditCommandColumn.cs: No need to offer edit when in edit mode.
Flipped output
2005-08-03 Peter Dennis Bartok <[email protected]>
* WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
set tracking var
2005-08-03 Peter Dennis Bartok <[email protected]>
* DataGridPagerStyle.cs(PageButtonCount): Throw exception on
negative value
2005-08-01 Peter Dennis Bartok <[email protected]>
* WebControl.cs: Track enabled state across sessions
2005-08-01 Peter Dennis Bartok <[email protected]>
* ListControl.cs(OnDatabinding): Value is equivalent to text if
by default
2005-07-27 Peter Dennis Bartok <[email protected]>
* FontInfo.cs:
- Name property now throws exception when set to null
- Names now handles situation where our bit tells us we have
a font, but it's not in the StateBag (null removal)
* RangeValidator.cs: Removed unused vars
2005-07-27 Peter Dennis Bartok <[email protected]>
* EditCommandColumn.cs: Implemented
2005-07-27 Peter Dennis Bartok <[email protected]>
* CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
client side code)
2005-07-27 Peter Dennis Bartok <[email protected]>
* DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
for it's constructor, so remove it
* DataGridPagerStyle.cs: Removed DataGrid argument from constructor
2005-07-27 Peter Dennis Bartok <[email protected]>
* DataGridPagerStyle.cs: Implemented
* TableItemStyle.cs (MergeWith): Now only sets style bits it owns
* Style.cs: Added Styles enum values for DataGridPagerStyle
2005-07-26 Peter Dennis Bartok <[email protected]>
* DataGridItem.cs: Implemented
2005-07-26 Peter Dennis Bartok <[email protected]>
* DataGridItemCollection.cs: Implemented
2005-07-26 Peter Dennis Bartok <[email protected]>
* FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
Fixed use of literal strings, instead using Consts
* Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
Panel.cs, Literal.cs: Added attributes
* BaseValidator.cs: Added missing override
2005-07-25 Peter Dennis Bartok <[email protected]>
* BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
attributes
* Xml.cs: Fixed base class, attributes
* Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
2005-07-25 Peter Dennis Bartok <[email protected]>
* DataGridSortCommandEventArgs: Sealed class
* ButtonColumn.cs, Calendar.cs: Added Attributes
2005-07-25 Peter Dennis Bartok <[email protected]>
* Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
2005-07-25 Peter Dennis Bartok <[email protected]>
* FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
2005-07-22 Peter Dennis Bartok <[email protected]>
* Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
2005-07-22 Peter Dennis Bartok <[email protected]>
* Style.cs (CopyFrom): Reset our styles and don't set bits from
target explicitly, properties will set them
2005-07-21 Peter Dennis Bartok <[email protected]>
* CustomValidator.cs: Initial implementation, still work in progress
2005-07-20 Peter Dennis Bartok <[email protected]>
* DropDownList.cs:
- Implemented RaisePostDataChangedEvent()
- Spewing postback command if AutoPostBack is true
2005-07-20 Peter Dennis Bartok <[email protected]>
* ListItemCollection.cs: Removed obsolete method that's no longer
referenced
2005-07-20 Peter Dennis Bartok <[email protected]>
* DropDownList.cs: Oops. Forgot to implement LoadPostData
* ListItemCollection.cs: Added convenience method to have faster
PostData handling
2005-07-20 Peter Dennis Bartok <[email protected]>
* DropDownList.cs:
- Automatically select the first item if none are selected
- Throw exception if more than one item is selected
2005-07-20 Peter Dennis Bartok <[email protected]>
* ValidationSummary.cs: Implemented rendering
2005-07-19 Peter Dennis Bartok <[email protected]>
* ValidationSummaryTest.cs: Started implementation
* RangeValidator.cs: Implemented
* ValidatedControlConverter.cs: Implemented
* DropDownList.cs: Implemented
2005-07-14 Peter Dennis Bartok <[email protected]>
* WebColorConverter.cs:
- Alpha of 255 is only set if the hex number is exactly 6 digits
- Ben didn't like the catch { throw; } (even though MS documents to
do so)
- Use Invariant Culture for parsing (thanks, Ben)
2005-07-14 Peter Dennis Bartok <[email protected]>
* WebColorConverter.cs: Implemented
2005-07-14 Peter Dennis Bartok <[email protected]>
* TargetConverter.cs: Implemented
2005-07-13 Peter Dennis Bartok <[email protected]>
* FontNamesConverter.cs: Implemented
2005-07-13 Peter Dennis Bartok <[email protected]>
* ListItemCollection.cs: Count can be derived from the array, which
allows us to use a Pair instead of a Triplet and save some space
2005-07-13 Peter Dennis Bartok <[email protected]>
* ListItemCollection.cs: Implemented
* WebControl.cs: Added check for enumeration validity (thanks Jackson)
2005-07-13 Peter Dennis Bartok <[email protected]>
* FirstDayOfWeek.cs: Added
2005-07-13 Peter Dennis Bartok <[email protected]>
* Style.cs (AddAttributesToRender): Don't render attributes if they
contain only their default value
2005-07-12 Peter Dennis Bartok <[email protected]>
* WebControl.cs (AddAttributesToRender): Added ID to rendered
attributes
2005-07-12 Peter Dennis Bartok <[email protected]>
* Style.cs(MergeWith): Handle null styles
2005-07-12 Peter Dennis Bartok <[email protected]>
* Style.cs: Only render font elements if fontinfo object exists
* WebControl.cs:
- Implemented SaveViewState()
- Added loading of Style to LoadViewState
- Implemented IAttributeAccessor methods
2005-07-12 Peter Dennis Bartok <[email protected]>
* WebControl.cs:
- Implemented methods
- Fixed brackets
2005-07-12 Peter Dennis Bartok <[email protected]>
* WebControl.cs: Implemented properties
2005-07-11 Peter Dennis Bartok <[email protected]>
* FontInfo.cs: Now using BenM's fancy internal StateBag methods
2005-07-11 Peter Dennis Bartok <[email protected]>
* FontUnit.cs: Added TypeConverter attribute to class
* FontUnitConverter.cs: Implemented
2005-07-11 Peter Dennis Bartok <[email protected]>
* Style.cs: Handle null constructor argument for bag
2005-07-07 Peter Dennis Bartok <[email protected]>
* FontInfo.cs: Fixed behaviour discrepancies showed by tests
2005-07-07 Peter Dennis Bartok <[email protected]>
* FontInfo.cs: Added and implemented.
* Style.cs: Fixed behaviour discrepancies showed by tests
2005-07-06 Peter Dennis Bartok <[email protected]>
* Style.cs: Added and implemented.
2005-07-06 Peter Dennis Bartok <[email protected]>
* WebControl.cs: Added stub
svn path=/trunk/mcs/; revision=48922
* CalendarTest.cs: Test based on an msdn example. Again, I (heart)
anonymous methods.
2005-08-03 Ben Maurer <[email protected]>
* RepeatInfoTest.cs: Test for copying from base control
* WebControlTest.cs: Issue I found while doing repeatinfo
* LabelTest.cs: New tests.
* PanelTest.cs: New tests
2005-07-30 Ben Maurer <[email protected]>
* RepeatInfoTest.auto.cs: Regen.
* RepeatInfoTest.gen.cs: Autogenerate tests for 0 items
2005-07-26 Ben Maurer <[email protected]>
* RepeatInfoTest.cs: Remove tests that are contained below
* RepeatInfoTest.auto.cs: Generated tests.
* RepeatInfoTest.gen.cs: A test generator for repeatinfo
2005-07-20 Ben Maurer <[email protected]>
* DropDownListTest.cs (InitialSelectionMade): Add a test for a
regression that seems to be caused by some change to
ListItemCollection. Add this file to sources as all tests other
than this pass using the old impl of ddl except for this, which is
a regression.
2005-07-19 Ben Maurer <[email protected]>
* UnitConverterTest.cs: New tests
2005-07-07 Ben Maurer <[email protected]>
* FontUnitTest.cs: Make it run on msft
2005-08-05 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: Option is rendered as a block.
2005-07-18 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: I fixed the nested indents
2005-07-18 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: Enable some indentation tests, others
need to be disabled
2005-07-12 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: Enable some tests
2005-07-11 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: The style attr thing below seems to be a
2.0 ism. Add tests for indentation.
2005-07-11 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: Add a test for popping end tags working
correctly.
* ToolboxDataAttributeTest.cs: Don't depend on the way that hash
values are generated. Also, use built strings rather than stuff
from ldstr to make the test a bit stronger.
* PropertyConverterTest.cs: Make this pass on MSFT 1.1
2005-07-08 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: Update notworking
2005-07-07 Ben Maurer <[email protected]>
* HtmlTextWriterTest.cs: More tests.
2005-08-04 Ben Maurer <[email protected]>
* HttpContext.cs: Kill a NIE.
2005-07-30 Ben Maurer <[email protected]>
* HtmlForm.cs: Make sure we actually put the "?" in the url
2005-08-05 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Revert the patch below, see test case
2005-08-03 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Optmize this not to do insane amounts of
allocation for large pages, etc.
2005-07-29 Ben Maurer <[email protected]>
* StateBag.cs: Don't remove when tracking viewstate, as per msft
docs.
2005-07-29 Ben Maurer <[email protected]>
* StateBag.cs: Actually *remove* items that are null. Duh.
2005-07-18 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Fix nested indentation
2005-07-18 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Fix indentation (somewhat at least)
2005-07-17 Ben Maurer <[email protected]>
* AttributeCollection.cs: Use the invariant culture.
* StateBag.cs: "Duh" optimization: return null when there are no
dirty items in the view state
2005-07-14 Ben Maurer <[email protected]>
* StateBag.cs: A "short" version of my favorite method.
* HtmlTextWriter.cs: New method to get the tag name staticly.
2005-07-13 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Remove debugging spew. Style cleanup
2005-07-12 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Make styles work.
2005-07-11 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Missing a PopEndTag here.
* PropertyConverter.cs: Pass tests
2005-07-08 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Much better compliance with msft
2005-07-07 Ben Maurer <[email protected]>
* StateBag.cs: Noticed an issue where SetDirty was called when the
key did not exist.
2005-07-07 Ben Maurer <[email protected]>
* StateBag.cs: Add a method that gets a string or else a default
value.
2005-07-06 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Make sure to clear attributes when they are
written.
* StateBag.cs: New impl
2005-07-15 Ben Maurer <[email protected]>
* DataSourceHelper.cs: Obsolete
* DataSourceResolver.cs: Moved from DataSourceHelper.
2005-07-14 Ben Maurer <[email protected]>
* DataSourceHelper.cs: Helper method used for data binding.
2005-08-04 Ben Maurer <[email protected]>
* LinkButton.cs: Fix up the test suite here.
* Panel.cs: Fix up nowrap
2005-08-03 Ben Maurer <[email protected]>
* RepeatInfo.cs: Finally figured out how to use base control
2005-07-31 Ben Maurer <[email protected]>
* TextBox.cs: Html encode for multiline text boxes
* HyperLink.cs: Resolve images
2005-07-30 Ben Maurer <[email protected]>
* RepeatInfo.cs: Handle 0 items situations correctly
* HyperLink.cs: Resolve urls correctly
* CheckBox.cs: use the correct ID for the label element.
* Label.cs: Correct AddParsedSubObject impl. See FAQ
2005-07-29 Ben Maurer <[email protected]>
* Label.cs: ClientID should be used rather than UniqueID to get
the For attribute
2005-07-29 Ben Maurer <[email protected]>
* RadioButton.cs: The "remove from groupstate" isn't needed any
more, now that statebag is correct.
2005-07-28 Ben Maurer <[email protected]>
* CompositeControl.cs: Stub
2005-07-25 Ben Maurer <[email protected]>
* RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
cracktastic.
2005-07-25 Ben Maurer <[email protected]>
* RepeatInfo.cs: If the repeater has one column, the separators
are rendered on a different line
2005-07-25 Ben Maurer <[email protected]>
* RepeatInfo.cs: Split the horiz and vertical cases, because this
class has rules that are beyond strange. Continue working to make
my tests work.
2005-07-25 Ben Maurer <[email protected]>
* RepeatInfo.cs: Misc fixes for my test suite.
2005-07-22 Ben Maurer <[email protected]>
* HyperLink.cs: Handle non-literal children.
2005-07-21 Ben Maurer <[email protected]>
* Label.cs: SP1 stuff
2005-07-21 Ben Maurer <[email protected]>
* TextBoxMode.cs: Wrong ordering of enum...
2005-07-21 Ben Maurer <[email protected]>
* RepeatInfo.cs: Fix most of the tests.
2005-07-20 Ben Maurer <[email protected]>
* SelectedDatesCollection.cs: Apprarently, I don't write code well
at 1 am.
* Repeater.cs: Uh, actually add stuff to the items collection
(thanks sp ;-)
2005-07-20 Ben Maurer <[email protected]>
* DataGridColumnCollection.cs: New impl
* TemplateColumn.cs: New impl
2005-07-19 Ben Maurer <[email protected]>
* FontUnit.cs: Corcompare fixes
* UnitConverter.cs: Fix api diffs
2005-07-18 Ben Maurer <[email protected]>
* ListControl.cs: Fix api differences
2005-07-18 Ben Maurer <[email protected]>
* TextBox.cs: Finish this up.
* AdRotator.cs: Fix issues in the test suite. Minor style
cleanups.
* Repeater.cs: Fix a bug where the datasource is null and we do
the binding
* WebColorConverter.cs: Optimize by not doing a concat on a
formatted string.
2005-07-17 Ben Maurer <[email protected]>
* ListItemCollection.cs: Multiple uses of equals rather than
string.compare as below. Remove unreachable code warning.
* WebColorConverter.cs (ConvertTo): Use the == operator on string
rather than an invariant non-case ignoring compare. They are
exactly the same thing. Use proper coding style in this method.
* WebControl.cs: Return null when saving the view state if there
is no state in any of the things we save. This creates a fairly
large savings, because we can avoid saving anything about many
levels of deaply nested controls.
2005-07-15 Ben Maurer <[email protected]>
* Repeater.cs (DoItem): Add the DataItem before we call user
methods, as it seems to be there with msft.
2005-07-15 Ben Maurer <[email protected]>
* Repeater.cs (DoItem): We need to .Add the control *before* we
data bind it so that the state gets tracked correctly. Fixes the
postback test case.
2005-07-14 Ben Maurer <[email protected]>
* WebControl.cs:
- Some optimizations
* Don't use enum formatting stuff, it is 1) expensive 2) does
allocations. Use a new method in HtmlControl to do the right
formatting.
* Don't use Enum.IsDefined but an explicit check.
* (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
- Use the correct coding style.
2005-07-14 Ben Maurer <[email protected]>
* Repeater.cs: Cleanup; use the DataSourceHelper thingy.
2005-07-14 Ben Maurer <[email protected]>
* Repeater.cs: Get it working
2005-07-14 Ben Maurer <[email protected]>
* Repeater.cs: The beginnings of this control
2005-07-13 Ben Maurer <[email protected]>
* RepeaterItem.cs: Compile fix
* RepeaterItemCollection.cs: New file
* RepeaterItem.cs: get OnBubbleEvent right.
2005-07-13 Ben Maurer <[email protected]>
* RepeaterItem.cs: Stub
2005-07-13 Ben Maurer <[email protected]>
* RepeatInfo.cs: Impl.
2005-07-12 Ben Maurer <[email protected]>
* ListItem.cs: New impl.
2005-07-12 Ben Maurer <[email protected]>
* TextBox.cs: Passwords seem 1) not to be rendered to the client
if set, 2) not kept in view state (for security reasons...)
* LinkButton.cs:
* Button.cs: Page.Validate () if needed. Gets the validator tests
working again.
* TextBox.cs: Properties to get the validator stuff to work.
2005-07-11 Ben Maurer <[email protected]>
* LinkButton.cs:
* Button.cs: Bubble the Command event.
2005-07-11 Ben Maurer <[email protected]>
* Button.cs:
- Clean up style (with my wonderful state bag hack!)
- Fix a view state typo.
- Use AddAttributesToRender
- Don't add an extra <span>
2005-07-09 Ben Maurer <[email protected]>
* TextBox.cs: More work on this
2005-07-09 Ben Maurer <[email protected]>
* TextBox.cs: Add the work I did on this today. It's not complete
yet, but its a start!
2005-07-08 Ben Maurer <[email protected]>
* LinkButton.cs: Command impl
2005-07-08 Ben Maurer <[email protected]>
* LinkButton.cs: Initial impl
2005-07-07 Ben Maurer <[email protected]>
* PlaceHolderControlBuilder.cs: new file
* LabelControlBuilder.cs: New file
* HyperLink.cs: use control builder; fix parsing stuff
* HyperLinkControlBuilder.cs: new file
* Panel.cs: misc fixes
2005-07-07 Ben Maurer <[email protected]>
* PlaceHolder.cs: New file. Seems to do nothing
* Label.cs: Use my new statebag trick to reduce typing
* HyperLink.cs: New file
2005-07-06 Ben Maurer <[email protected]>
* Unit.cs: cctor not needed; static fields are 0 init'd by default
* WebControl.cs: Kothari & Datye's book explains how these work.
* IRepeatInfoUser.cs: Reimpl.
svn path=/trunk/mcs/; revision=48921