Commit Graph
103 Commits
Author SHA1 Message Date
Igor Zelmanovich 82bb597bbe 2007-08-06 Igor Zelmanovich <[email protected]>
* Control.cs: fixed: control ID management.			

2007-08-06 Igor Zelmanovich <[email protected]>

	* ControlTest.cs:
	Added new tests.

2007-08-06 Igor Zelmanovich <[email protected]>

	* DataGridTest.cs:
	* DetailsViewTest.cs:
	fixed tests.


svn path=/trunk/mcs/; revision=83536
2007-08-06 14:45:58 +00:00
Konstantin Triger d753e8fc6d base AppRelativeTemplateSourceDirectory property on TemplateControl; implement special behavior of Control.TemplateControl for TemplateControl instances
svn path=/trunk/mcs/; revision=82443
2007-07-22 15:41:51 +00:00
Gert Driesen 1671cb3249 * ObjectStateFormatter.cs: Avoid NRE in Serialize. Fixes bug #81851.
* LosFormatterTest.cs: Added tests for LosFormatter.
* System.Web_test.dll.sources: Added LosFormatterTest.cs.

svn path=/trunk/mcs/; revision=79754
2007-06-15 20:11:35 +00:00
Marek Habersack 1fcd4ba60d 2007-06-09 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: TemplateControl is assigned for
	controls that are placed within ContentPlaceHolder and not for the
	ContentPlaceHolder itself.
	No longer add the overriden version of TemplateSourceDirectory to
	the generated source, all the work is now done in
	Control.TemplateSourceDirectory.

	* BaseCompiler.cs: AppRelativeVirtualPath shouldn't end with a
	slash, for compatibility with MS.NET

2007-06-09  Marek Habersack  <[email protected]>

	* TemplateControl.cs: make sure TemplateControl is set to the
	current control.

	* Control.cs: TemplateControl property goes up the parent chain if
	the property isn't defined in the current control.
	TemplateSourceDir finally implemented correctly.

2007-06-09  Marek Habersack  <[email protected]>

	* ControlTest.cs: enabled two tests that hadn't been working
	before.


svn path=/trunk/mcs/; revision=79021
2007-06-08 23:51:23 +00:00
Igor Zelmanovich 2593d2263b 2007-05-21 Igor Zelmanovich <[email protected]>
* ControlTest.cs: added new tests.


svn path=/trunk/mcs/; revision=77753
2007-05-21 11:03:19 +00:00
Igor Zelmanovich b353b45ab9 2007-05-02 Igor Zelmanovich <[email protected]>
* Control.cs: ResolveClientUrl: optimization.
	if basePath is the same as TemplateSourceDirectory 
	releativeUrl is returned as is.


	* ControlTest.cs: added new test.

svn path=/trunk/mcs/; revision=76564
2007-05-02 13:27:14 +00:00
Konstantin Triger 6fc23d16d3 TARGET_JVM: include passing tests
svn path=/trunk/mcs/; revision=76496
2007-04-30 14:35:07 +00:00
Igor Zelmanovich 49957fdafc 2007-03-20 Igor Zelmanovich <[email protected]>
* Control.cs: fixed ResolveClientUrl method.

svn path=/trunk/mcs/; revision=74678
2007-03-20 11:25:20 +00:00
Adar Wesley 9d3029d695 2007-03-13 Adar Wesley <[email protected]>
* Page.cs: improved Async Page implementation.


svn path=/trunk/mcs/; revision=74160
2007-03-13 09:58:40 +00:00
Igor Zelmanovich 3eb00b979a 2007-03-12 Igor Zelmanovich <[email protected]>
* AttributeCollection.cs:
	* CssStyleCollection.cs: fixed: works w/o state bag.	

2007-03-12 Igor Zelmanovich <[email protected]>

	* Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.	

svn path=/trunk/mcs/; revision=74108
2007-03-12 10:30:01 +00:00
Igor Zelmanovich 544d479cec 2007-03-12 Igor Zelmanovich <[email protected]>
* HtmlTextWriter.cs: fixed:
	- Fixed writing background-image style attribute (different behavior in
	1.1 and 2.0).
	- Does not encode 'name' attribute.
	- Always encode style attributes (for 2.0 only).


svn path=/trunk/mcs/; revision=74107
2007-03-12 10:12:43 +00:00
Adar Wesley 4b91e3e87b 2007-03-06 Adar Wesley <[email protected]>
* Page.cs: initial implementation of support for Async=true.  Added
        initial support for ViewStateEncryption.  Implemented
        CreateHtmlTextWriterFromType.

        * PageAsyncTask.cs: Created class to support Async pages.

        * ObjectStateFormatter.cs: Added support for ViewState encryption.

        * HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
        to conform to MS behavior.


svn path=/trunk/mcs/; revision=73797
2007-03-06 10:00:18 +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
Igor Zelmanovich 9f6b309a5b 2006-02-15 Igor Zelmanovich <[email protected]>
* BaseValidator: ControlPropertiesValid is called on PreRender
	* CompareValidator.cs:
	* RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.

svn path=/trunk/mcs/; revision=72917
2007-02-15 15:09:13 +00:00
Adar Wesley 4be48fc47e 2007-02-01 Adar Wesley <[email protected]>
* FormView.cs: fixed events ModeChanging and ModeChanged
        to be raized in all relevant situations.

2007-02-01  Adar Wesley <[email protected]>

        * Control.cs: Changed UniqueId implementation to have '$' and not ':'
        to conform to MS.  This led to updating several Tests that referenced
        the UniqueId as string.

svn path=/trunk/mcs/; revision=72102
2007-02-01 16:21:30 +00:00
Vladimir Krasnov bd11c8343c * TemplateControl.jvm.cs: ParseControl not supported, added limited implementation if TestDeviceFilter
* TemplateControlTest.cs: removed not working attributes, TARGET_JVM for AppRelativeVirtualPath property tests

svn path=/trunk/mcs/; revision=71513
2007-01-23 15:09:15 +00:00
Ilya Kharmatsky 92abc4b6a6 Bugs/implementations of Control's methods, reproduced by ControlTest from http://www.mono-project.com/ASPTests
svn path=/trunk/mcs/; revision=71020
2007-01-15 11:27:54 +00:00
Konstantin Triger 92a43849d2 make the check app root independent
svn path=/trunk/mcs/; revision=70468
2007-01-04 12:43:54 +00:00
Igor Zelmanovich 90f9be5ab5 2007-01-04 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: InitializeCulture should be called 
	before creating controls.

svn path=/trunk/mcs/; revision=70460
2007-01-04 10:27:20 +00:00
Igor Zelmanovich 0d023ab68e 2006-12-27 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: RegisterRequiresPostBack feature.


svn path=/trunk/mcs/; revision=70136
2006-12-27 17:22:36 +00:00
Igor Zelmanovich f7622b9443 fix def
svn path=/trunk/mcs/; revision=69313
2006-12-11 12:14:02 +00:00
Igor Zelmanovich da64752dd7 2006-12-11 Igor Zelmanovich <[email protected]>
* Page.cs: fixed and optimized ProcessPostData
	The "second try" used for controls that created at OnLoad.
	fixed for controls that use RgisterRequeresPostBack to handle post data.


svn path=/trunk/mcs/; revision=69301
2006-12-11 08:36:17 +00:00
Igor Zelmanovich 545c4c3a0a 2006-12-07 Igor Zelmanovich <[email protected]>
* PageTest.cs: fixed NunitWeb tests.


svn path=/trunk/mcs/; revision=69187
2006-12-07 16:26:38 +00:00
Yoni Klain 021db265e1 2006-12-06 Yoni Klain <[email protected]>
* ClientScriptManagerTest.cs: Change Render () for 2.0 definition

svn path=/trunk/mcs/; revision=69103
2006-12-06 15:47:06 +00:00
Igor Zelmanovich 07ed73dc4a 2006-11-29 Igor Zelmanovich <[email protected]>
* CreateUserWizardTest.cs: fixed NunitWeb tests.
	* DetailsViewTest.cs: fixed NunitWeb tests.
	* FormParameterTest.cs: fixed NunitWeb tests.
	* FormViewTest.cs: fixed NunitWeb tests.
	* MenuTest.cs: fixed NunitWeb tests.
	* WizardStepBaseTest.cs: fixed NunitWeb tests.
	* XmlDataSourceTest.cs: fixed NunitWeb tests.
	* PageTest.cs: fixed NunitWeb tests.
	* FormsAuthenticationTest.cs: fixed NunitWeb tests.
	* StaticSiteMapProviderTest.cs: fixed NunitWeb tests.


svn path=/trunk/mcs/; revision=68673
2006-11-29 17:10:08 +00:00
Igor Zelmanovich 785cf8899d 2006-11-29 Igor Zelmanovich <[email protected]>
* Page.cs: Master property returns null when no HttpContext.

svn path=/trunk/mcs/; revision=68665
2006-11-29 12:48:59 +00:00
Igor Zelmanovich f27020d1a6 2006-11-29 Igor Zelmanovich <[email protected]>
* Page.cs: InitializeCulture method is called before OnPreInit.


svn path=/trunk/mcs/; revision=68651
2006-11-29 10:23:42 +00:00
Miguel de Icaza 5f84922683 Another fix
svn path=/trunk/mcs/; revision=68606
2006-11-28 19:01:28 +00:00
Miguel de Icaza b851dd1d71 Since WebTest.Run and WebTest.CopyResource are overwriting Web.config, but
they only setup one AppDomain (that gets shutdown automatically by System.Web
whenever there is a change to Web.config) a number of tests fail.

This patch:

        Removes the tests that use the above so that we get a clean run.

        Removes tests that are currently failing, so we have a baseline
        that is known to pass.


svn path=/trunk/mcs/; revision=68593
2006-11-28 18:10:49 +00:00
Igor Zelmanovich f211eddabb 2006-11-28 Igor Zelmanovich <[email protected]>
* PageTest.cs: removed NotWorking attributes.

svn path=/trunk/mcs/; revision=68589
2006-11-28 16:06:11 +00:00
Igor Zelmanovich f57ea7b379 2006-11-27 Igor Zelmanovich <[email protected]>
* Control.cs: implemented EnsureID method.


svn path=/trunk/mcs/; revision=68521
2006-11-27 16:58:31 +00:00
Igor Zelmanovich ab1805463d 2006-11-27 Igor Zelmanovich <[email protected]>
* ControlTest.cs: removed NotWorking attributes.


svn path=/trunk/mcs/; revision=68520
2006-11-27 16:15:03 +00:00
Igor Zelmanovich 83e116b61c 2006-11-27 Igor Zelmanovich <[email protected]>
* Control.cs: implemented Focus methods.


svn path=/trunk/mcs/; revision=68516
2006-11-27 14:57:50 +00:00
Igor Zelmanovich 597ac1eae7 2006-11-27 Igor Zelmanovich <[email protected]>
* Control.cs: implemented OpenFile()

svn path=/trunk/mcs/; revision=68496
2006-11-27 09:28:15 +00:00
Igor Zelmanovich 918bb1d836 2006-11-26 Igor Zelmanovich <[email protected]>
* Page.cs:
	* Control.cs:
	implemented ClearChildState(), ClearChildControlState() and 
	IsChildControlStateCleared	


svn path=/trunk/mcs/; revision=68477
2006-11-26 15:34:53 +00:00
Igor Zelmanovich 047bfafcfe 2006-11-26 Igor Zelmanovich <[email protected]>
* Page.cs:
	* ClientScriptManager.cs:
	implemented RegisterExpandoAttribute feature	


svn path=/trunk/mcs/; revision=68473
2006-11-26 11:38:54 +00:00
Igor Zelmanovich d423e47a81 2006-11-22 Igor Zelmanovich <[email protected]>
* ControlTest.cs: removed NotWorking attributes.


svn path=/trunk/mcs/; revision=68349
2006-11-22 14:02:12 +00:00
Yoni Klain eb2cc5d8ca New tests for System.Web.UI.PageTest.cs and new resources.
svn path=/trunk/mcs/; revision=68337
2006-11-22 10:43:22 +00:00
Yoni Klain 279cbb4db4 ControlTest.cs add directive for 1.1
svn path=/trunk/mcs/; revision=68330
2006-11-22 08:36:08 +00:00
Yoni Klain afc7537954 ControlTest.cs add directive for 1.1
svn path=/trunk/mcs/; revision=68326
2006-11-22 08:15:16 +00:00
Yoni Klain 7d9527b240 ControlTest.cs added new tests and resources
svn path=/trunk/mcs/; revision=68243
2006-11-21 10:19:36 +00:00
Igor Zelmanovich 7f254b9857 2006-11-21 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: LoadControlState is called for controls 
	that added on Load and latter


svn path=/trunk/mcs/; revision=68241
2006-11-21 10:01:19 +00:00
Igor Zelmanovich 429b342353 2006-11-20 Igor Zelmanovich <[email protected]>
* ClientScriptManagerTest.cs: removed NotWorking attributes, fixed tests.


svn path=/trunk/mcs/; revision=68197
2006-11-20 14:41:48 +00:00
Gonzalo Paniagua Javier 0380534ed8 revert r67514
svn path=/trunk/mcs/; revision=68019
2006-11-16 18:03:27 +00:00
Igor Zelmanovich 28ec1b289c 2006-11-12 Igor Zelmanovich <[email protected]>
* LiteralControl.cs: fixed: constructors & Text property


svn path=/trunk/mcs/; revision=67735
2006-11-12 12:59:15 +00:00
Igor Zelmanovich ee371a5ace 2006-11-09 Igor Zelmanovich <[email protected]>
* DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.


svn path=/trunk/mcs/; revision=67596
2006-11-09 14:45:15 +00:00
Igor Zelmanovich a9251bd9cc 2006-11-09 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: LoadControlState is called for controls 
	that added on Load and latter, for 1.x refactoring only


svn path=/trunk/mcs/; revision=67514
2006-11-08 12:57:58 +00:00
Yoni Klain 8ae70a53eb Increase tests' correctness as now they better follow the .NET behavior, and
Cleanup the ondotnet target of the System.Web 2.0 test suite (0 failures), making it an efficient reference point for new tests verification. 

svn path=/trunk/mcs/; revision=67439
2006-11-07 10:02:52 +00:00
Igor Zelmanovich d2663dc867 2006-11-02 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: 
	fixed: checks arguments for null in public methods,
	fixed public interface.


svn path=/trunk/mcs/; revision=67267
2006-11-02 14:06:43 +00:00
Yoni Klain 7a6090166e added a NotWorking category attribute for tests that pass on .NET and fail on mono.
svn path=/trunk/mcs/; revision=67260
2006-11-02 09:11:11 +00:00