* ListItem.cs: when tracking view state is turned on after
attributes have been set, make sure that the associated state bag
begins tracking state and that all of its existing items are
marked as dirty. Do the same after loading view state. Fixes bug
#507836
2009-05-29 Marek Habersack <[email protected]>
* StateBag.cs: made SetDirty (bool) available on 1.1 as
internal. Fixes bug #507836
svn path=/trunk/mcs/; revision=135057
* ParseChildrenAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting. Added new ctor and public fields (2.0). Changed
ChildControlType setter visibility to internal.
* PartialCachingAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Added new ctor and
SqlDependency property (2.0).
* PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* PersistenceModeAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting.
* PersistChildrenAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting.
* PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Class is static in 2.0.
* RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
AspNetHostingPermission with Minimal level. Class is no more sealed in
2.0. Added new (2.0) BuiltObjects property.
* SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* StateItem.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level.
* StateBag.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level. Removed SetDirty() which was called (2.0) but did
nothing.
* StaticPartialCachingControl.cs: Added LinkDemand and
InheritanceDemand for AspNetHostingPermission with Minimal level.
svn path=/trunk/mcs/; revision=50115
* 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
* Page.cs: Added support for callback events. Moved theform variable
outside the __doPostBack function, so it can be used by other
scripts.
* StateBag.cs: Implemented SetDirty().
svn path=/trunk/mcs/; revision=36945
* LosFormatter.cs: added array serialization support. Disabled binary
serialization and add some debugging code.
* StateBag.cs: the length of the list of value can be less than the
length if the list of keys when remaining values are null.
svn path=/trunk/mcs/; revision=8932
* Control.cs: fixed related to ViewState. Added RemovedControl.
* ControlCollection.cs: notify owner of control removal.
* CssStyleCollection.cs: almost rewritten to make it render the style
attribute after changes to it.
* Page.cs: follow the guidelines in 'Control execution lifecycle'.
Removed Xml code.
* StateBag.cs: don't use IDictionary.GetEnumerator on the
HybridDictionary: it makes the program give an InvalidCastException at
runtime. Why?
svn path=/trunk/mcs/; revision=5863
* System.Web.UI/AttributeCollection.cs: don't need a Hastable. StateBag
now works fine and takes care of the details.
* System.Web.UI/Control.cs: added HasChildren property.
* System.Web.UI/StateBag.cs: fixed a couple of nasty bugs.
* System.Web.UI.HtmlControls/HtmlButton.cs: RenderAttributes is an
override, not new.
* System.Web.UI.HtmlControls/HtmlContainerControl.cs: use the new
Render method in HtmlControl.
* System.Web.UI.HtmlControls/HtmlControl.cs: added Render method to
render the tag and its attributes. Works for container and
non-containers.
* System.Web.UI.HtmlControls/HtmlImage.cs: RenderAttributes don't need
to be new. Implemented Height property.
svn path=/trunk/mcs/; revision=5130
* System.Web/*.cs
* System.Web.Caching/*.cs
* System.Web.UI/*.cs
* System.Web.Utils/*.cs
* System.Web.UI.WebControls/*.cs
-- The ISP was down yesterday and today morning. So many files. See changelog for more details.
svn path=/trunk/mcs/; revision=1666
* System.Web.UI/*.cs
* System.Web.UI.WebControls/*.cs
--- Still working hard to make build succesfull. Lots of errors. Really, lots and lots. Not it's 6:00AM and I need to sleep :))
svn path=/trunk/mcs/; revision=1634