Commit Graph
29 Commits
Author SHA1 Message Date
Alexander Köplinger a22bb15e6b [System.Web] Rename method parameters to match .NET contract 2017-03-16 13:02:09 +01:00
Zoltan Varga 0985d4aa4b [bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>. 2015-01-13 15:29:38 -05:00
Marek Habersack ef9c9e51ce Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +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
Eyal Alalouf a7135f35cd Add portal support
svn path=/trunk/mcs/; revision=70988
2007-01-14 17:10:38 +00:00
Gonzalo Paniagua Javier 11a89e04a7 2006-07-21 Gonzalo Paniagua Javier <[email protected]>
* DetailsView.cs:
	* GridView.cs:
	* PagedDataSource.cs:
	* FormView.cs:
	* ImageButton.cs:
	* LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
	support it. The GridView control will no longer throw an exception when
	rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.


svn path=/trunk/mcs/; revision=62863
2006-07-21 14:33:24 +00:00
Konstantin Triger 145662bd35 TARGET_JVM changes to let the compilation pass with csc 1.1
svn path=/trunk/mcs/; revision=55206
2006-01-08 13:21:51 +00:00
Gonzalo Paniagua Javier 38336a5d36 2005-10-22 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: fix range when we're at the last page.
	* DataGrid.cs: only need to keep the item count in the viewstate.
	Fixes bug #76503.


svn path=/trunk/mcs/; revision=52068
2005-10-22 20:56:53 +00:00
Gonzalo Paniagua Javier 8eaf30d66f 2005-10-06 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: fix the upper bound for collection and ilist
	enumarators.


svn path=/trunk/mcs/; revision=51354
2005-10-06 18:24:09 +00:00
Gonzalo Paniagua Javier 6ea0412c5b 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: fix IsLastPage. All tests pass.
	* DataGrid.cs: InitializePager always add a cell and it's brand new. No
	need to keep the old one in a field. Now all tests pass here too.


svn path=/trunk/mcs/; revision=50983
2005-09-29 05:23:34 +00:00
Gonzalo Paniagua Javier 3d8f5432c4 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: don't use the properties when they just return a
	field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
	before ICollection (otherwise, an IList will always fall under the
	ICollection case). The enumerator for lists will be empty if 'start'
	is beyond the list size. All existing tests pass, but one in
	DataGridTest that fails because of some problem with the paging.


svn path=/trunk/mcs/; revision=50972
2005-09-28 21:42:00 +00:00
Sebastien Pouliot 2493a78c34 2005-09-23 Sebastien Pouliot <[email protected]>
* FontUnit.cs: Added, but only for 1.x, declarative security (Link and
	Inheritance demands) for Minimal.
	* Label.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal.
	* ListItem.cs: Added declarative security (LinkDemands) for Minimal.
	* ListItemCollection.cs: Added declarative security (LinkDemands) for 
	Minimal.
	* MonthChangedEventArgs.cs: Added declarative security (Link and, for 
	2.0, Inheritance demands) for Minimal.
	* PagedDataSource.cs: Added declarative security (LinkDemands) for 
	Minimal.
	* Panel.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal.
	* Repeater.cs: Added declarative security (Link and Inheritance 
	demands) for Minimal.
	* RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
	* SelectedDatesCollection.cs: Added declarative security (LinkDemands)
	for Minimal.
	* TargetConverter.cs: Added declarative security (Link and Inheritance
	demands) for Minimal.
	* Unit.cs: Added, but only for 1.x, declarative security (Link and 
	Inheritance demands) for Minimal.
	* ValidatedControlConverter.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* WebColorConverter.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.
	* Xml.cs: Added declarative security (Link and Inheritance demands) 
	for Minimal.
	* ValidationSummary.cs: Added declarative security (Link and 
	Inheritance demands) for Minimal.


svn path=/trunk/mcs/; revision=50572
2005-09-23 14:10:35 +00:00
Jackson Harper 47ec50c25c * PagedDataSource.cs: If it's not a list or collection we don't
use a bounded enumerator.


svn path=/trunk/mcs/; revision=49079
2005-08-29 18:26:43 +00:00
Duncan Mak 2008a1011b 2005-07-21 Duncan Mak <[email protected]>
* HyperLinkColumnTest.cs: Added new test for HyperLinkColumn.

2005-07-14  Duncan Mak  <[email protected]>

	* PagedDataSourceTest.cs: Added testcases.
	(PageCountTest, CountTest, IsLastPageTest): Needs more work.

2005-07-14  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttributeTest.cs (TestDefaultConstructor):
	This test should pass now.

2005-07-09  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttributeTest.cs: Aded new test. Used to find
	out how a typename is derived from a Type. (It uses
	AssemblyQualifiedName, and not FullName)
	
2005-07-14  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttribute.cs: Fixed after receiving some
	comments from Gonzalo.

2005-07-09  Duncan Mak  <[email protected]>

	* DataBindingHandlerAttribute.cs: Implemented.

2005-07-21  Duncan Mak  <[email protected]>

	* HyperLinkColumn.cs: Initial implementation.
	Todo: Figure out Initialize and InitializeCell.

2005-07-21  Duncan Mak  <[email protected]>

        * DataGridCommandEventArgs.cs: 
        * DataGridPageChangedEventArgs.cs: 
        * RepeaterCommandEventArgs.cs:  Fixed visibility.

	* DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
	* DataGridSortCommandEventArgs.cs (CommandSource): Ditto..       
	
2005-07-14  Duncan Mak  <[email protected]>

	* PagedDataSource.cs: Initial implementation.

	Methods that need to be figured out:
	CopyTo, GetItemProperties, PageCount, IsLastPage.

	To complete: CollectionEnumerator, ListEnumerator.

2005-07-13  Duncan Mak  <[email protected]>

	* RepeatDirection.cs:
	* RepeatLayout.cs:
	* ValidationCompareOperator.cs:
	* ValidationDataType.cs:
	* ValidationSummaryDisplayMode.cs: 
	* ValidatorDisplay.cs: Added remaining enumerations.
	
2005-07-12  Duncan Mak  <[email protected]>

	* DayNameFormat.cs: Added.

2005-07-09  Duncan Mak  <[email protected]>

	* CommandEventHandler.cs:
	* DataGridCommandEventHandler.cs:
	* DataGridItemEventHandler.cs:
	* DataGridPageChangedEventHandler.cs:
	* DataGridSortCommandEventHandler.cs:
	* DataListCommandEventHandler.cs:
	* DayRenderEventHandler.cs:
	* RepeaterCommandEventHandler.cs:
	* ServerValidateEventHandler.cs: Add delegates.
	
	* ListItemType.cs:
	* ListSelectionMode.cs:
	* NextPrevFormat.cs:
	* PagerMode.cs
	* PagerPosition.cs: Add enums.

2005-07-09  Duncan Mak  <[email protected]>

	* CommandEventArgs.cs:
	* DataGridCommandEventArgs.cs:
	* DataGridItemEventArgs.cs:
	* DataGridPageChangedEventArgs.cs:
	* DataGridSortCommandEventArgs.cs:
	* DataListCommandEventArgs.cs:
	* DataListItemEventArgs.cs:
	* DayRenderEventArgs.cs:
	* RepeaterCommandEventArgs.cs:
	* RepeaterItemEventArgs.cs:
	* ServerValidateEventArgs.cs: Implemented.
	

svn path=/trunk/mcs/; revision=48916
2005-08-26 22:23:07 +00:00
Miguel de Icaza 4c004f75ed Remove
svn path=/trunk/mcs/; revision=48909
2005-08-26 20:38:24 +00:00
Gonzalo Paniagua Javier 803a0337dd 2005-05-26 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
	1 when there's a datasource and 0 pages. Closes bug #73864.


svn path=/trunk/mcs/; revision=45086
2005-05-26 23:06:52 +00:00
Lluis Sanchez 833d48dadb 2005-04-21 Lluis Sanchez Gual <[email protected]>
* FormViewDeleteEventArgs.cs:
	* FormViewInsertEventArgs.cs:
	* FormViewUpdateEventArgs.cs:
	* FormViewDeletedEventArgs.cs:
	* FormViewUpdatedEventArgs.cs:
	* FormViewInsertedEventArgs.cs: Implemented some missing properties.
	
	* LinkButton.cs:
	* IButtonControl.cs:
	* Button.cs: Removed SoftKey property.
	
	* CheckBox.cs: Don't try to load post back data if the control
	is disabled.
	
	* ImageField.cs:
	* AutoGeneratedField.cs:
	* DataControlField.cs:
	* CommandField.cs:
	* ButtonFieldBase.cs:
	* BoundField.cs:
	* CheckBoxField.cs:
	* TemplateField.cs:
	* ButtonField.cs: Don't bind fields in Insert state.
	Implemented CreateField and CopyProperties.
	
	* GridView.cs:
	* DetailsView.cs: Removed some unneeded interfaces. Don't
	generate the field rows if there are no items in the data source.
	Don't get the current keys until the whole control has been
	bound.

	* DetailsViewInsertedEventArgs.cs:
	* DataBoundControl.cs:	
	* ObjectDataSourceView.cs: Made some methods private.
	
	* MenuItemStyle.cs:
	* Menu.cs: Changed some properties from int to Unit.
	
	* DataControlButton.cs: javascript prefix is needed when raising
	the postback event from a link.
	
	* PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
	The result was wrong when the total data source count was 0.
	
	* FormView.cs: Implemented.
	* FormViewRow.cs: Implemented.
	
	* Literal.cs:
	* Localize.cs: Fixed base interface.
	
	* BaseDataBoundControl.cs: In DataBind() call the base class
	DataBind method, so the binding context is properly set.


svn path=/trunk/mcs/; revision=43410
2005-04-21 16:14:46 +00:00
Lluis Sanchez 587f051b70 2005-03-23 Lluis Sanchez Gual <[email protected]>
* DataControlField.cs: Added missing InsertVisible property.
	* AutoGeneratedFieldProperties.cs: Implemented.
	* PagerSettings.cs: Minor fix.
	* GridView.cs: Implemented support for autogenerated fields, templates,
	accessible headers. Implemented paging using PagedDataSource.
	Implemented missing overridable methods.
	* AutoGeneratedField.cs: Initial implementation.
	* BoundField.cs: Added ReadOnly property.
	* PagedDataSource.cs: Implemented 2.0 api.
	* DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
	cell class to be used by accessible headers.
	* TableCell.cs: Removed unneded constructor. If the cell is bound to
	a template, call the default RenderContents method.


svn path=/trunk/mcs/; revision=42154
2005-03-23 17:20:57 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Jackson Harper 171a7610c5 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
Increment counter when moving to start. Fixes bug #51926.

svn path=/trunk/mcs/; revision=20940
2003-12-09 20:02:21 +00:00
Jackson Harper 925fc6f10b * PagedDataSource.cs (PageCount): Return page count of 1 if there
paging is disabled. Patch by Yaron Shkop.
	* PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
	* TableStyle.cs (AddAttributesToRender): Render border style
	collapse. Patch by Yaron Shkop.
	* TableStyle.cs:
	* TableItemStyle.cs:
	* DataGridPagerStyle.cs: Call base copy and merge even if style is of
	the wrong type. Patch by Yaron Shkop.

svn path=/trunk/mcs/; revision=19605
2003-11-03 23:34:55 +00:00
Jackson Harper fb31b4118a * PagedDataSource.cs:
* DataGrid.cs: Patch by [email protected]. Do not go past the
	end of the last page. Fixes bug #5085.

svn path=/trunk/mcs/; revision=19466
2003-10-29 21:32:33 +00:00
Ben Maurer eb65169f48 2003-10-25 Ben Maurer <[email protected]>
* PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
	paging from working. Fixes #48814.

svn path=/trunk/mcs/; revision=19392
2003-10-25 20:18:51 +00:00
Gaurav Vaish 021c2720cf 2002-09-12 Gaurav Vaish <[email protected]>
* PagedDataSource.cs   - FirstIndexInPage : Fixed bug.
* DataGrid.cs          - CreateControlHierarchy(bool)
                            : working towards completion.
    	                       - ResolveDataSource(object, string)
       	                            : stubbed new method
    	                       - CreateItem(....)
       	                            : stubbed new method
    	                Well. It's almost done.
* DataGridTableInternal.cs
                       - Added new internal class.

svn path=/trunk/mcs/; revision=7390
2002-09-12 12:38:36 +00:00
Gonzalo Paniagua Javier 5db8a0e001 2002-08-10 Gonzalo Paniagua Javier <[email protected]>
* PagedDataSource.cs: fixed compilation.

svn path=/trunk/mcs/; revision=6574
2002-08-10 19:02:29 +00:00
Gaurav Vaish dae3fc6fcb 2002-03-27 Gaurav Vaish <[email protected]>
* More error corrections....

svn path=/trunk/mcs/; revision=3390
2002-03-27 03:27:27 +00:00
Gaurav Vaish cea71236b2 2002-03-16 Gaurav Vaish <[email protected]>
* Trying to go for a build... changes due to the same...

svn path=/trunk/mcs/; revision=3139
2002-03-16 00:59:22 +00:00
Gaurav Vaish c66f71f312 2002-03-05 Gaurav Vaish <[email protected]>
* Don't bother much right now. I am busy making a build. Hopefully, I will
  succeed..

svn path=/trunk/mcs/; revision=2894
2002-03-05 01:57:41 +00:00
Gaurav Vaish bd450fca84 2002-03-03 Gaurav Vaish <[email protected]>
* *.cs: Completed.

* ChangeLog, TODO: Updated with latest status.

svn path=/trunk/mcs/; revision=2850
2002-03-03 04:33:21 +00:00