* HttpCapabilitiesBase.cs: move the User-Agent code to a separate
internal method.
2007-05-01 Marek Habersack <[email protected]>
* HtmlForm.cs: do not use User-Agent directly, we must take
ClientTarget into account.
2007-05-01 Marek Habersack <[email protected]>
* BaseValidator.cs: do not use User-Agent directly, we must take
ClientTarget into account.
2007-05-01 Marek Habersack <[email protected]>
* PageParser.cs: clientTarget comparisons must be case-insensitive
svn path=/trunk/mcs/; revision=76522
* BaseValidator.cs: for TARGET_J2EE:
used Page.Request.Browser to determine RenderUplevel
2007-04-18 Igor Zelmanovich <[email protected]>
* HtmlForm.cs: for TARGET_J2EE:
used Page.Request.Browser to determine RenderUplevel
svn path=/trunk/mcs/; revision=75870
* culevel/culevel.exe.sources: added
* culevel/Makefile (thisdir): added
* culevel/CompileUplevel.cs: added
* Makefile (thisdir): added the culevel subdirectory to the list.
2007-04-17 Marek Habersack <[email protected]>
* Makefile (thisdir): added tools/culevel to the list of
subdirectories - it must be compiled before compiling the classes
since System.Web depends on it.
2007-04-17 Marek Habersack <[email protected]>
* Makefile (System.Web/UplevelHelper.cs): autogenerate the file if
it doesn't exist.
* System.Web.dll.sources: added the System.Web/UplevelHelper.cs
file. It is autogenerated by the culevel compiler.
* UplevelHelperDefinitions.xml: added default uplevel browsers
definition file. This serves as input to the culevel compiler in
the tools directory at the top of the mcs tree.
2007-04-17 Marek Habersack <[email protected]>
* WebUIValidation_2.0.js: added HaveRegexp () function to detect
if the browser supports the RegExp class. Use GetElement ()
everywhere.
* WebUIValidation.js: added HaveRegexp () function to detect if
the browser supports the RegExp class.
* webform.js: use WebForm_GetElementById everywhere.
2007-04-17 Marek Habersack <[email protected]>
* HtmlForm.cs: use the new uplevel browser detection code.
2007-04-17 Marek Habersack <[email protected]>
* BaseValidator.cs: use the new uplevel browser detection code.
svn path=/trunk/mcs/; revision=75818
* ClientScriptManager.cs: render the 'type' attribute in
WriteScript and do not render the 'language' attribute when in
NET_2_0+ mode.
2007-04-06 Marek Habersack <[email protected]>
* HttpUtility.cs: added a constant that contains the default query
parameter character.
ParseQueryString supports queries with both '&' and ';' parameter
separators.
2007-04-06 Marek Habersack <[email protected]>
* HtmlForm.cs: render the 'name' attribute only when in non-xhtml
compliant mode.
2007-04-06 Marek Habersack <[email protected]>
* AssemblyResourceLoader.cs: use the correct query parameter
separator char for the current platform version. Fixes bug
#80633.
svn path=/trunk/mcs/; revision=75480
* HtmlForm.cs: fixed Method, default method "post" should be added if its value null or empty string
* HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null value, the fix is to remove attributes with empty string value too
svn path=/trunk/mcs/; revision=58162
* HtmlForm.cs: register the form and require viewstate hidden field to
be rendered in Render() even if OnInit is not called.
svn path=/trunk/mcs/; revision=50986
* HtmlForm.cs: when transfering from one page to another and using
cookieless session, we were doing pretty bad. Now, if the current path
and the original are the same, we just use the filename. Otherwise
we make the action location be relative to the original URL.
svn path=/trunk/mcs/; revision=50560
* HtmlForm.cs (DefaultFocus): not stored in Attributes either.
(Name): not sure about this property.. the getter apparently just
returns UniqueID, and the setter does nothing that I can figure
out.
(RenderAttributes): don't bother to remove "name", since it's not
in the attributes anyway.
svn path=/trunk/mcs/; revision=49668
* HtmlInputControl.cs (RenderAttributes): add ourselves to the
__enabledControlArray JS array if we're currently enabled and the
form is set to SubmitDisabledControls.
* HtmlForm.cs (OnInit): call Page.RegisterForm here.
(DetermineRenderUplevel): split this out of OnPreRender and make
it internal so HtmlInputControl can call it.
(OnPreRender): add handling for SubmitDisabledControls.
svn path=/trunk/mcs/; revision=49574
* HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
or in the ViewState. where then?
(DefaultFocus): this one is stored in the ViewState, not as an
Attribute.
(SubmitDisabledControls): implement just as a boolean flag, not in
the viewstate or attributes.
(RenderAttributes): defaultfocus and defaultbutton are no longer
in Attributes.
svn path=/trunk/mcs/; revision=49510
* HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
(OnPreRender): figure out (hackishly) if we're uplevel rendering.
If we have a default button/focus control set, register webform.js
as a client script block, and emit some JS to focus the control.
(RenderAttributes): verify that the DefaultButton attribute points
to a valid IButtonControl implementing control. Also remove the
defaultfocus/defaultbutton attributes before calling
base.RenderAttributes.
svn path=/trunk/mcs/; revision=48982
* HtmlInputCheckBoxTest.cs: Tests for HtmlInputCheckBox
2005-07-26 Dick Porter <[email protected]>
* HtmlSelectTest.cs: Tests for HtmlSelect
2005-07-21 Dick Porter <[email protected]>
* HtmlImageTest.cs: The order of attribute rendering has changed,
and now matches MS
2005-07-19 Dick Porter <[email protected]>
* HtmlImageTest.cs: Added tests for negative values in int
properties
2005-07-14 Dick Porter <[email protected]>
* HtmlFormTest.cs: New set of tests
2005-07-07 Dick Porter <[email protected]>
* HtmlImageTest.cs: Unit tests for HtmlImage
2005-08-04 Dick Porter <[email protected]>
* DataGridColumnTest.cs: Tests for DataGridColumn
2005-07-29 Dick Porter <[email protected]>
* RadioButtonTest.cs: Added tests for RadioButton
2005-07-14 Dick Porter <[email protected]>
* CheckBoxTest.cs: Added enum checks
2005-07-13 Dick Porter <[email protected]>
* CheckBoxTest.cs: Added tests for CheckBox - currently all
passing on mono and ms runtimes.
2005-07-14 Dick Porter <[email protected]>
* HttpPostedFile.cs: New basic implementation; needs someone to
figure out what a HttpRequestStream does
2005-08-18 Dick Porter <[email protected]>
* HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
2005-08-09 Dick Porter <[email protected]>
* HtmlSelect.cs: Clear databindings when adding a new one; cope
with assorted combinations of empty text and value fields; write
<option> tags manually to match ms HTML output. All fix nunit
tests.
2005-08-05 Dick Porter <[email protected]>
* HtmlSelect.cs: Fix databinding when one or other of Name and
Value aren't supplied (thanks to Peter for the patch); Make
<option> indenting match ms output.
2005-07-29 Dick Porter <[email protected]>
* HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
instead of building the query string by hand
2005-07-27 Dick Porter <[email protected]>
* HtmlInputCheckBox.cs: New implementation
2005-07-26 Dick Porter <[email protected]>
* HtmlSelect.cs: New implementation
2005-07-24 Dick Porter <[email protected]>
* HtmlForm.cs: Add the trailing query string to the form action;
fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
2005-07-22 Dick Porter <[email protected]>
* HtmlInputFile.cs: Add assembly attributes
2005-07-21 Dick Porter <[email protected]>
* HtmlImage.cs: The src attribute needs to be a relative URL;
close the HTML element when rendering attributes, to match the MS
impl.
* HtmlForm.cs: Added assembly attributes; don't render ID twice;
don't render enctype and target if they are empty strings;
implement a Render overload to keep corcompare quiet.
2005-07-19 Dick Porter <[email protected]>
* HtmlImage.cs: Added attributes; use Int32.Parse instead of
Convert.ToInt32
2005-07-14 Dick Porter <[email protected]>
* HtmlInputFile.cs: New implementation
2005-07-14 Dick Porter <[email protected]>
* HtmlForm.cs: New Implementation
2005-07-07 Dick Porter <[email protected]>
* HtmlImage.cs: New implementation
2005-08-18 Dick Porter <[email protected]>
* ControlCachePolicy.cs, PersistChildrenAttribute.cs,
UserControl.cs, DesignerDataBoundLiteralControl.cs,
PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
stubs and attribute fixes
2005-08-11 Dick Porter <[email protected]>
* CssStyleCollection.cs: Tweak the css string format to pass a
unit test
* AttributeCollection.cs: Don't NRE if someone sets the "style"
attribute to null.
2005-08-05 Dick Porter <[email protected]>
* HtmlTextWriter.cs: Make <option> tags render inline, to match
the ms output
2005-07-07 Dick Porter <[email protected]>
* StateBag.cs: Added internal SetDirty (void) method to fix the
build
2005-08-18 Dick Porter <[email protected]>
* PageAdapter.cs, ControlAdapter.cs: 2.0 stubs
2005-08-18 Dick Porter <[email protected]>
* Consts.cs: Added System.Web and Microsoft.VisualStudio.Web
constants for 2.0
2005-08-18 Dick Porter <[email protected]>
* Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
BaseDataList.cs, DataList.cs, BulletedList.cs,
DataBoundControl.cs, Login.cs, GridView.cs,
CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
fixes
2005-08-11 Dick Porter <[email protected]>
* CheckBox.cs: Let ViewState manage removals; apply styles and
"style" attributes in a surrounding <span>. Fixes unit tests.
2005-08-05 Dick Porter <[email protected]>
* CheckBox.cs: Shut corcompare up a bit more. Still need to
figure out how to not use AddAttributesToRender to get it
completely silent.
* ButtonColumn.cs: Implement Initialize() and InitializeCell()
* DataGridColumn.cs: Added the duplicate viewstate manipulation
methods
2005-08-04 Dick Porter <[email protected]>
* DataGridColumn.cs: New implementation
* DataGrid.cs:
* DataGridColumnCollection.cs: Set the DataGridColumn's owner
2005-07-29 Dick Porter <[email protected]>
* RadioButton.cs: Hide nonstandard API; remove GroupName from the
ViewState when it is null.
* CheckBox.cs: Hide nonstandard API
2005-07-22 Dick Porter <[email protected]>
* BoundColumn.cs:
* ButtonColumn.cs: Initial stubs
2005-07-22 Dick Porter <[email protected]>
* RadioButton.cs:
* CheckBox.cs: Add assembly attributes
2005-07-13 Dick Porter <[email protected]>
* CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
null Text properties from the ViewState, test for TextAlign being
out of range. All to make tests pass on both mono and ms
runtimes.
2005-07-12 Dick Porter <[email protected]>
* RadioButton.cs: New implementation
* CheckBox.cs: Rearrange the attributes rendering to allow
RadioButton to derive from this
2005-07-11 Dick Porter <[email protected]>
* CheckBox.cs: New implementation
* RadioButton.cs: Initial stubbed version that just compiles
2005-07-08 Dick Porter <[email protected]>
* TextAlign.cs:
* BorderStyle.cs: Added
svn path=/trunk/mcs/; revision=48915
* HtmlForm.cs: fixed the Action property when running a different
page than the one requested (Transfer). Closes bug #69318.
svn path=/trunk/mcs/; revision=36812
* HtmlForm.cs: default value for Enctype is "".
* HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
we set it to "multipart/form-data". Fixes bug #58359.
svn path=/trunk/mcs/; revision=27332
* System.Web.UI/Control.cs: removed some debug lines.
* System.Web.UI/Page.cs: implemented RegisterOnSubmitStatement
* System.Web.UI/TemplateControl.cs: fixed wire up for methods with no
parameters.
* System.Web.UI.HtmlControls/HtmlForm.cs: render the onsubmit attribute.
svn path=/trunk/mcs/; revision=18945
* System.Web/HttpRequest.cs: implemented CurrentExecutionFilePath.
* System.Web.UI/Control.cs: some more tweaks to naming containers stuff.
* System.Web.UI/DataBinder.cs: don't throw exception if the container
is null.
* System.Web.UI/Page.cs: now we can render client scripts, startup
scripts and hidden fields. Only render __VIEWSTATE if there is someone
that will take care of it.
(RaisePostBackEvents): first try the last one that required raise event,
then try __EVENTTARGET.
* System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
* System.Web.UI.WebControls/BaseDataList.cs: what can I say for this
one? I spent so many time until I finally found this that I'm gonna
miss this f....g bug... ;-). Farewell. Now we can get events from
image buttons inside Data*.
* System.Web.UI.WebControls/DataList.cs: now the value stored in
ViewState for item count is correct.
svn path=/trunk/mcs/; revision=10627
* System.Web.UI/Page.cs: implemented more properties using information
we already have in Context.
(OnFormRender):
(OnFormPostRender):
(VerifyRenderingInServerForm): implemented.
* System.Web.UI.HtmlControls/HtmlForm.cs:
(RenderChildren): use OnFormRender and OnFormPostRender.
* System.Web.UI.WebControls/WebControl.cs:
(AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
WebControl derived classes should be rendered inside a HtmlForm.
svn path=/trunk/mcs/; revision=5434
* HtmlForm.cs: fixed name of Enctype property and render enctype
enctype attribute.
* HtmlInputControl.cs: tag type is "input", not "type".
svn path=/trunk/mcs/; revision=5145
* System.Web.UI/Page.cs: for each child control to render, assign
Control.Page. Probably also needed in HtmlContainerControl derived
classes.
* System.Web.UI.HtmlControls/HtmlControl.cs: Render contents moved to
new RenderBeginTag method, defined in MS docs.
* System.Web.UI.HtmlControls/HtmlForm.cs: Render output when no IE
browser.
* System.Web.UI.HtmlControls/HtmlInputButton.cs: added constructor
without arguments. Xsp used it, though now it always use the other
.ctor.
* System.Web.UI.HtmlControls/HtmlInputControl.cs: cosmetic changes and
implemented set_Name.
svn path=/trunk/mcs/; revision=5135
* System.Web/HttpBrowserCapabilities.cs: stubbed out.
* System.Web.Configuration/HttpCapabilitiesBase.cs: New file.
* System.Web.Security/DefaultAuthenticationEventArgs.cs: New file.
* System.Web.SessionState/IReadOnlySessionState.cs: New file.
* System.Web.SessionState/IRequiresSessionState.cs: New file.
* System.Web.SessionState/SessionStateMode.cs: New file.
* System.Web.UI/Page.cs:
(FileDependencies): now is public public.
(EnableViewStateMAC): uncommented and made protected.
(GetTypeHashCode): added method.
* System.Web.UI.HtmlControls/HtmlForm.cs:
(RenderAttributes): changed new by override.
(Name): allow setting the property.
* System.Web.UI.WebControls/WebControl.cs: added attributes
PersistChildrenAttribute and ParseChildrenAttribute.
* System.Web.Configuration/ChangeLog:
* System.Web.Configuration/HttpCapabilitiesBase.cs:
* System.Web.Security/ChangeLog:
* System.Web.Security/DefaultAuthenticationEventArgs.cs:
* System.Web.SessionState/ChangeLog:
* System.Web.SessionState/IReadOnlySessionState.cs:
* System.Web.SessionState/IRequiresSessionState.cs:
* System.Web.SessionState/SessionStateMode.cs: new files.
Now we are able to compile some files generated by xsp with our
System.Web classes.
svn path=/trunk/mcs/; revision=5102
* System.Web.build: Include the System.Web.UI.HtmlControls namespace.
* Page.cs:
* ValidatorCollection.cs: Stubs to make things compile for
now. Added one dummy method (RegisterClientScriptFile) that's used
in the existing codebase, but not in MS docs.
* HtmlInputImage.cs (OnServerClick): Commented out parts that
won't compile.
* HtmlForm.cs (RenderAttributes):
(RenderChildren): Commented out code that doesn't compile.
svn path=/trunk/mcs/; revision=4488
* HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
clashing with the method defined in the parent class.
(OnDataBinding): Added missing casts.
* HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
'this' to IAttributeAccessor before calling interface method.
Also renamed some calls to reflect changes in the API.
* HtmlControl.cs (WriteOnClickAttribute): Made it not static and
fixed a typo.
svn path=/trunk/mcs/; revision=4485