Commit Graph
156 Commits
Author SHA1 Message Date
Vladimir Krasnov a2a60e93ab * HtmlForm.cs: fixed action attribute in RenderAttributes under TARGET_JVM
svn path=/trunk/mcs/; revision=95563
2008-02-13 10:09:28 +00:00
Marek Habersack ea972c1c97 2008-02-06 Marek Habersack <[email protected]>
* HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
	mode. Fixes bug #3544252008-02-06  Marek Habersack  <[email protected]>


svn path=/trunk/mcs/; revision=95013
2008-02-06 12:10:38 +00:00
Igor Zelmanovich 9c0b7dbb83 2008-01-17 Igor Zelmanovich <[email protected]>
* HtmlSelect.cs: refactoring. 


svn path=/trunk/mcs/; revision=93138
2008-01-17 09:56:59 +00:00
Igor Zelmanovich 9346fb6e37 2008-01-17 Igor Zelmanovich <[email protected]>
* HtmlSelect.cs: fix databinding (only 2.0), state management. 


svn path=/trunk/mcs/; revision=93134
2008-01-17 09:47:54 +00:00
Sebastien Pouliot ac593f73e6 2008-01-14 Sebastien Pouliot <[email protected]>
* HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using 
	Gendarme.


svn path=/trunk/mcs/; revision=92855
2008-01-14 12:37:30 +00:00
Igor Zelmanovich d305e47234 2008-01-07 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
	* Control.jvm.cs:			
	* Page.cs:
	* Page.jvm.cs:
	for TARGET_J2EE ensure page life cycle is completed in CrossPagePostBack.
	
2007-01-07 Igor Zelmanovich <[email protected]>

	* Button.cs:
	* ImageButton.cs:
	* LinkButton.cs:
	for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
	in GetPostBackOptions.			

2007-01-07 Igor Zelmanovich  <[email protected]>

	* HtmlForm.cs: refactoring.


svn path=/trunk/mcs/; revision=92387
2008-01-07 13:38:38 +00:00
Marek Habersack 3476c409c3 2007-12-13 Marek Habersack <[email protected]>
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
	Page.cs: speed optimization - use String.Concat instead of
	String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* Menu.cs, TreeView.cs: optimize use of String.Format in
	OnPreRender.
	Speed optimization - use String.Concat instead of String.Format in
	some cases.

	* GridView.cs, DetailsView.cs: optimize use of String.Format in
	OnPreRender.

	* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
	WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
	ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
	optimization - use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SessionId.cs: 
	speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
	use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* ApplicationManager.cs, ApplicationHost.cs,
	DefaultVirtualPathProvider.cs: speed optimization - use
	String.Concat instead of String.Format in some cases.

svn path=/trunk/mcs/; revision=91230
2007-12-13 13:50:10 +00:00
Juraj Skripsky d34118b5c3 2007-11-07 Juraj Skripsky <[email protected]>
* HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
        Fixes bug #339426 for master pages.


svn path=/trunk/mcs/; revision=89077
2007-11-07 09:35:55 +00:00
Marek Habersack ecae308f79 2007-11-06 Marek Habersack <[email protected]>
* HtmlForm.cs: a small DetermineRenderUplevel optimization - the
	result is now cached in a nullable boolean variable.
	Render the 'onkeypress' attribute if DefaultButton is used. Fixes
	bug #339426.
2007-11-06  Marek Habersack  <[email protected]>

	* Page.cs: formatting

svn path=/trunk/mcs/; revision=88959
2007-11-06 11:22:15 +00:00
Marek Habersack 3aad4659a6 2007-08-27 Marek Habersack <[email protected]>
* HtmlForm.cs: make sure the ID is set before HtmlControls renders
            the attributes. Fixes bug #82596

svn path=/trunk/mcs/; revision=84871
2007-08-27 12:16:31 +00:00
Vladimir Krasnov 207b01b1e7 * HtmlHead.cs: refactoring, used AddAttribute overload without encoding on known attribute values
svn path=/trunk/mcs/; revision=83501
2007-08-05 14:32:16 +00:00
Vladimir Krasnov 9d3ef51320 * HtmlControl.cs: fixed PreProcessRelativeReference, should be used ResolveClientUrl
svn path=/trunk/mcs/; revision=83081
2007-07-31 14:13:17 +00:00
Marek Habersack 93dd9afb5c 2007-07-16 Marek Habersack <[email protected]>
* HtmlHeadBuilder.cs: the <meta> tag should be supported as well.

	* HtmlTitle.cs: if the tag has any children, or the render method
	delegate has been defined, render the children. Output the
	contents of Text otherwise. Fixes bug #82102

svn path=/trunk/mcs/; revision=82025
2007-07-16 11:31:54 +00:00
Marek Habersack 468f8d9709 2007-05-08 Marek Habersack <[email protected]>
* HtmlInputButton.cs: button of type 'reset' does not invoke
	OnServerClick event.
	'reset' buttons clear all the controls in the form to their
	default values.

svn path=/trunk/mcs/; revision=76912
2007-05-08 10:43:25 +00:00
Marek Habersack 279d12b449 Another in the series of compatibility fixes discovered thanks to the QuickStarts... :)
2007-05-04  Marek Habersack  <[email protected]>

	* HtmlAnchor.cs: use ResolveClientUrl when generating
	attributes. Necessary if the control is in a master page which is
	in a different directory than the current page.

2007-05-04  Marek Habersack  <[email protected]>

	* AdRotator.cs: use the new GetPhysicalFilePath method to look up
	the physical path of the ad file.

2007-05-04  Marek Habersack  <[email protected]>

	* TemplateControlCompiler.cs: do not query the parent for
	TemplateSourceDirectory if we are generating code for a Master
	Page.

2007-05-04  Marek Habersack  <[email protected]>

	* Control.cs: added an internal method to resolve a physical path
	to a file from its virtual path considering the possibility that a
	control is placed in a master page, which in turn is referenced
	from a directory another than that of master page itself.


svn path=/trunk/mcs/; revision=76665
2007-05-04 10:58:11 +00:00
Marek Habersack 8f217b10af 2007-05-01 Marek Habersack <[email protected]>
* 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
2007-05-01 11:01:22 +00:00
Marek Habersack 66b920eccc 2007-04-27 Marek Habersack <[email protected]>
* HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
	paths that might happen in them.

svn path=/trunk/mcs/; revision=76363
2007-04-27 00:23:19 +00:00
Igor Zelmanovich 10c75fd1ec 2007-04-18 Igor Zelmanovich <[email protected]>
* 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
2007-04-18 11:58:21 +00:00
Marek Habersack b08d3647e6 2007-04-17 Marek Habersack <[email protected]>
* 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
2007-04-17 13:13:03 +00:00
Marek Habersack 21c6faf3cc 2007-04-11 Marek Habersack <[email protected]>
* HtmlInputHidden.cs:
	* HtmlSelect.cs:
	* HtmlInputText.cs:
	* HtmlSelect.cs:
	* HtmlInputText.cs:
	* HtmlInputImage.cs:
	* HtmlInputFile.cs:
	* HtmlInputCheckBox.cs:
	* HtmlInputRadioButton.cs:
	* HtmlInputImage.cs: do not register the control for post back
	processing or if it's disabled.

2007-04-11  Marek Habersack  <[email protected]>

	* ImageButton.cs: implement the Enable property and do not
	register for post back if the control isn't enabled.

2007-04-11  Marek Habersack  <[email protected]>

	* Page.cs: check whether control passed to
	RegisterRequiresPostBack implements the IPostBackDataHandler
	interface.

svn path=/trunk/mcs/; revision=75594
2007-04-10 22:38:06 +00:00
Marek Habersack 2cdf3d39be 2007-04-06 Marek Habersack <[email protected]>
* 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
2007-04-06 11:51:51 +00:00
Igor Zelmanovich 2cb334b390 2007-02-14 Igor Zelmanovich <[email protected]>
* Page.cs: for 2.0: refactoring:
	prepare infrastructure for Form.SubmitDisabledControls feature	 

2007-02-19  Igor Zelmanovich  <[email protected]>

	* HtmlInputCheckBox.cs:
	* HtmlInputControl.cs:
	* HtmlInputHidden.cs:
	* HtmlInputRadioButton.cs:
	* HtmlInputText.cs:
	* HtmlSelect.cs:
	* HtmlTextArea.cs:
	fixed: Form.SubmitDisabledControls feature:	
	not all HtmlInputControl need to be reenabled on client.		  


svn path=/trunk/mcs/; revision=73102
2007-02-19 10:19:11 +00:00
Eyal Alalouf 9396a91227 add Http callback support for J2EE portlets.
svn path=/trunk/mcs/; revision=73071
2007-02-18 12:28:38 +00:00
Miguel de Icaza 6b4c7232fd * SiteMapNode.cs (GetExplicitResourceString): implement.
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.

        * StaticFileHandler.cs (ProcessRequest): remove unused variable.

        * HttpApplication.cs (ProcessError): Remove unused variable.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ClientBuildManager.cs: Remove unused variable (this could be a
        real problem, we never use the appPhysicalTargetDir)

        * AssemblyBuilder.cs: Remove unused field.

        * AppResourceFilesCollection.cs: Remove unused field.

        * TemplateControlCompiler.cs (GetExpressionFromString): Remove
        unused variable.

        * AppResourcesCompiler.cs: Remove unused variable.

        * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
        parameter.

        * PageCompiler.cs: Put InternalCreatePageProperty inside the
        NET_2_0 block to eliminate warnings.

2007-01-20  Miguel de Icaza  <[email protected]>

        * HandlerFactoryConfiguration.cs (LoadType): remove unused
        variable.
        (ctor): do not assign parent, we do not use it, keep the code for
        reference.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ApplicationManager.cs: Remove unused variable.
        (ShutdownAll) remove unused variables.

        * ApplicationHost.cs: Protect create_dir lock

2007-01-20  Miguel de Icaza  <[email protected]>

        * SqlRoleProvider.cs: comment out unused code.

        * SqlMembershipProvider.cs: Removed unused variables.
        Remove unused variable.

        * AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
        remove unused variable.   This might be a real bug.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionStateModule.cs: Removed unused variables.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionDictionary.cs: Removed unused variable (dirty).

2007-01-20  Miguel de Icaza  <[email protected]>

        * XhtmlTextWriter.cs: comment out unused code.

        * ThemeProvider.cs: comment out unused code.

        * DataSourceView.cs: Comment unused variable.

        * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
        code

        * Control.cs: Put _templateControl inside the NET_2_0 ifdef

2007-01-20  Miguel de Icaza  <[email protected]>

        * HtmlHead.cs: comment out unused code, in particular metadata is
        commented out because nothing could have triggered its creation.

        * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.

2007-01-20  Miguel de Icaza  <[email protected]>

        * DataControlFieldCollection.cs (RemoveAt): remove unused
        variable.

        * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
        should not show up.

        * RadioButton.cs (RaisePostDataChangedEvent): This method was not
        used in 1.0, so put the whole method in 2.0

2007-01-20  Miguel de Icaza  <[email protected]>

        * WebPart.cs: Remove

        * PersonalizableAttribute.cs: Remove extra API that was wrong as well.

2006-11-28  Miguel de Icaza  <[email protected]>

        * WebPart.cs:

2007-01-20  Miguel de Icaza  <[email protected]>

        * FileUtils.cs (CreateTemporaryFile): Remove unused variable.



svn path=/trunk/mcs/; revision=71399
2007-01-20 22:42:04 +00:00
Vladimir Krasnov 5f5ddd3c23 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
svn path=/trunk/mcs/; revision=71151
2007-01-16 16:52:52 +00:00
Eyal Alalouf a7135f35cd Add portal support
svn path=/trunk/mcs/; revision=70988
2007-01-14 17:10:38 +00:00
Eyal Alalouf edee81ecd7 process relative URL to the image.
svn path=/trunk/mcs/; revision=70976
2007-01-14 11:49:10 +00:00
Igor Zelmanovich fa528f8d94 2007-01-07 Igor Zelmanovich <[email protected]>
* HtmlInputRadioButton.cs: fixed: LoadPostData.		  


svn path=/trunk/mcs/; revision=70594
2007-01-07 16:49:28 +00:00
Igor Zelmanovich d73da32dda 2007-01-07 Igor Zelmanovich <[email protected]>
* HtmlImputImage.cs: fixed: OnServerClick.		  

svn path=/trunk/mcs/; revision=70592
2007-01-07 16:06:46 +00:00
Gonzalo Paniagua Javier 70d470e741 2006-12-27 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
	bug #76974.


svn path=/trunk/mcs/; revision=70153
2006-12-28 05:30:13 +00:00
Igor Zelmanovich 2d0737f93e 2006-11-27 Igor Zelmanovich <[email protected]>
* Page.cs: implemented SetFocus methods.
	* PageLifeCycle.cs: 	


svn path=/trunk/mcs/; revision=68508
2006-11-27 13:22:55 +00:00
Marek Habersack 648d00f214 Support for event validation
svn path=/trunk/mcs/; revision=68082
2006-11-17 18:56:07 +00:00
Igor Zelmanovich 92574d4e3a 2006-11-13 Igor Zelmanovich <[email protected]>
* HtmlContainerControl.cs: fixed: InnerHtml property  


svn path=/trunk/mcs/; revision=67743
2006-11-13 08:35:05 +00:00
Miguel de Icaza eddcbbfb49 Update this
svn path=/trunk/mcs/; revision=66631
2006-10-12 18:59:21 +00:00
Igor Zelmanovich 50ea672254 * Page.cs: fixed: Title property works properly
svn path=/trunk/mcs/; revision=65569
2006-09-18 10:29:06 +00:00
Igor Zelmanovich 1231ea0529 make rendering of the onclick attribute to consider ValidationGroup property
svn path=/trunk/mcs/; revision=65550
2006-09-17 14:45:58 +00:00
Igor Zelmanovich fa9dde8d8e make rendering of the onclick attribute to consider ValidationGroup property
svn path=/trunk/mcs/; revision=65538
2006-09-17 13:22:12 +00:00
Igor Zelmanovich f420d63d3a make rendering of the onclick attribute to consider ValidationGroup property
svn path=/trunk/mcs/; revision=65536
2006-09-17 12:47:35 +00:00
Igor Zelmanovich 03f6a0761b * HtmlAnchor.cs:
implemented CausesValidation and ValidationGroup properties	

svn path=/trunk/mcs/; revision=65523
2006-09-17 08:50:05 +00:00
Vladimir Krasnov 4fb9cd52b7 * HtmlInputFile.cs: fixed Value property
svn path=/trunk/mcs/; revision=65151
2006-09-10 07:19:51 +00:00
Gonzalo Paniagua Javier d3bfb70eba 2006-08-23 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.


svn path=/trunk/mcs/; revision=64266
2006-08-23 18:49:49 +00:00
Vladimir Krasnov 1e2c9cee0c * UI/ParseChildrenAttribute.cs: fixed ChildControlType property to compliant to .net
* UI/UserControl.cs: fixed ParseChildren attribute to be compliant to .net
* WebControls/Content.cs:
* WebControls/Label.cs:
* WebControls/ListControl.cs:
* WebControls/MultiView.cs:
* WebControls/WebControl.cs: fixed ParseChildren attribute to be compliant to .net
* HtmlControls/HtmlTable.cs:
* HtmlControls/HtmlTableRow.cs: fixed ParseChildren attribute to be compliant to .net


svn path=/trunk/mcs/; revision=63490
2006-08-08 15:47:47 +00:00
Andrew Skiba fff15402c6 * System.Web.UI.HtmlControls/HtmlInputControl.cs: remove obsolete #if NET_2_0
svn path=/trunk/mcs/; revision=62493
2006-07-12 12:04:21 +00:00
Juraj Skripsky 297a959f60 2006-06-06 Juraj Skripsky <[email protected]>
* HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
	Fixes bug #78591.


svn path=/trunk/mcs/; revision=61482
2006-06-06 11:41:58 +00:00
Gonzalo Paniagua Javier f7b4e4d623 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
	bug #78074.


svn path=/trunk/mcs/; revision=59780
2006-04-21 22:05:32 +00:00
Gonzalo Paniagua Javier 0774c9f959 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputRadioButton.cs: Value returns the ID only when there's no
	"value" set. Fixes bug #78101.


svn path=/trunk/mcs/; revision=59770
2006-04-21 18:51:20 +00:00
Vladimir Krasnov 1a023fc019 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty it shouldn't be rendered
* 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
2006-03-19 17:16:09 +00:00
Chris Toshok 4c4d07b4ec 2006-02-23 Chris Toshok <[email protected]>
* HtmlButton.cs: fix corcompare output.

	* HtmlInputButton.cs: same.

	* HtmlInputImage.cs: same.

	* HtmlInputReset.cs: same.


svn path=/trunk/mcs/; revision=57213
2006-02-23 18:34:01 +00:00
Chris Toshok 96b3f40a2b 2006-01-22 Chris Toshok <[email protected]>
* HtmlInputButton.cs:
	s/GetPostBackClientEvent/GetPostBackEventReference.


svn path=/trunk/mcs/; revision=55916
2006-01-22 20:59:41 +00:00
Gonzalo Paniagua Javier 0edc1d4124 2005-12-01 Gonzalo Paniagua Javier <[email protected]>
* HtmlTableRow.cs: Cells is virtual in latest 1.1.


svn path=/trunk/mcs/; revision=53800
2005-12-01 22:06:07 +00:00