Commit Graph
2 Commits
Author SHA1 Message Date
Marek Habersack d8838a6414 This commit introduces a few 4.0 rendering changes which break some tests. The broken tests
fail to work on .NET 4.0 as well, for the most part. I will fix them next week.

    2010-07-02  Marek Habersack  <[email protected]>

    	* TemplateControlParser.cs: added support for ClientIDMode
    	property

    	* Control.cs: implemented 4.0 features - ClientIDMode and
    	RenderingCompatibility.

    	* ClientIDMode.cs, IDataKeysControl.cs: added

    2010-07-02  Marek Habersack  <[email protected]>

    	* Menu.cs: 4.0 API updates.

    	* GridView.cs: implemented 4.0 properties -
    	SortedAscendingCellStyle, SortedAscendingHeaderStyle,
    	SortedDescendingCellStyle, SortedDescendingHeaderStyle,
    	ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
    	along with associated rendering changes.

    	* DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
    	renamed ShowPage to SetPageIndex and made it public.
    	Added 4.0 interfaces to inheritance list and implemented them.

    	* DataKeyArray.cs: added internal constructor which accepts IList
    	instead of ArrayList. Changed the 'keys' field type to IList.

    	* ContainedTable.cs: the 'id' attribute must be rendered last.

    	* CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
    	TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.

    	* Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
    	Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
    	Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
    	added new 4.0 property, SupportsDisabledAttribute.

    2010-07-02  Marek Habersack  <[email protected]>

    	* VersionConverter.cs: added support for checking whether the
    	passed version is equal or more than a specified minimal version.

    	* PagesSection.cs: added two 4.0 properties - ClientIDMode and
    	ControlRenderingCompatibilityVersion

    2010-07-02  Marek Habersack  <[email protected]>

    	* TemplateControlCompiler.cs: added support for ClientIDMode 4.0
    	property

    	* PageCompiler.cs, UserControlCompiler.cs: AddStatementsToInitTop
    	must call the base implementation.

svn path=/trunk/mcs/; revision=159826
2010-07-02 19:12:31 +00:00
Marek Habersack c6c642eec3 commit 9405fa168b1255c51bb31ef17511c05593b08caa
Author: Marek Habersack <[email protected]>
Date:   Sat Mar 6 03:37:53 2010 +0100

    2010-03-06  Marek Habersack  <[email protected]>

    	* CompilerCollection.cs: in the 4.0 profile, the latest C#
    	standard is the compiler's default.

    2010-03-06  Marek Habersack  <[email protected]>

    	* CSharpCodeCompiler.cs: in the 4.0 profile, the latest C#
    	standard is the default one.

    2010-03-06  Marek Habersack  <[email protected]>

    	* RequestValidatorTestGenerated.cs: added

    	* RequestValidator.cs: added

    2010-03-06  Marek Habersack  <[email protected]>

    	* TestWorkerRequest.cs: added overloads of GetRawUrl and
    	GetUriPath which make sure that the returned paths do not contain
    	more than one leading / character.

    	* TestRunItem.cs: added new TestRunData property - to contain
    	per-appdomain test run data.

    	* TestCallback.cs: added a TestRunItem parameter.

    	* StandaloneTest.cs: runner object is created for each test item
    	now.
    	Added test progress feedback.

    	* ITestRunner.cs: added two properties, TestRunData - to return
    	collected test result data, if any, and Domain which returns the
    	current AppDomain.

    2010-03-06  Marek Habersack  <[email protected]>

    	* RequestValidatorTest.cs: added

    2010-03-06  Marek Habersack  <[email protected]>

    	* HttpRequest.cs: cache RawUrl value.
    	Added new internal property, PathNoValidation, which returns
    	request path without validating it.
    	Implemented 4.0 extensible validation.

    	* HttpApplication.cs: Pipeline () validates the request path, if
    	new validation mode is enabled, before doing anything else.
    	Added a generic LoadType overload which checks whether the loaded
    	type, if any, derives from the type specified in the method's
    	specialization.

    2010-03-06  Marek Habersack  <[email protected]>

    	* RequestValidator.cs: added

    	* RequestValidationSource.cs: added

    2010-03-06  Marek Habersack  <[email protected]>

    	* WebConfigurationManager.cs: do not use Request.Path - it may
    	fail because of invalid web.config file, use
    	Request.PathNoValidation instead.

    	* VersionConverter.cs: added

    	* PropertyHelper.cs: added a Version converter helper.

    	* HttpRuntimeSection.cs: added 4.0 properties -
    	RequestPathInvalidCharacters, RequestValidationType and
    	RequestValidationMode.

svn path=/trunk/mcs/; revision=153172
2010-03-06 02:48:31 +00:00