Commit Graph
30 Commits
Author SHA1 Message Date
Zoltan Varga 032f313d5f [bcl] Remove NET_4_0 defines from class libs. 2015-01-13 16:06:31 -05: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 f2f50f05da 2010-07-15 Marek Habersack <[email protected]>
* PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
	property

	* MultiViewControlBuilder.cs: added

More 2.0/4.0 metadata updates

svn path=/trunk/mcs/; revision=160448
2010-07-15 16:51:09 +00:00
Marek Habersack e4848932af 2010-02-19 Marek Habersack <[email protected]>
* SqlDataSourceTest.cs: added test for bug #572781

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

	* SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781

svn path=/trunk/mcs/; revision=152060
2010-02-19 11:17:06 +00:00
Marek Habersack ef9c9e51ce Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +00:00
Marek Habersack 1fc8de2b7e 2008-04-24 Marek Habersack <[email protected]>
* SqlDataSource.cs: raise the DataSourceChangedEvent when setting
	ConnectionString, ProviderName or DataSourceMode properties only
	when the new value differs from the old one. Fixes bug #359392

svn path=/trunk/mcs/; revision=101679
2008-04-24 14:39:23 +00:00
Igor Zelmanovich 2b7aca3342 2007-08-06 Igor Zelmanovich <[email protected]>
* DataSourceView.cs: fixed: 
	view raises onchange event when datasource is chenged.			

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

	* DataSourceViewTest.cs:
	Added new test.

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

	* AccessDataSource.cs: does not subscribed on view changed event.
	* ObjectDataSource.cs: fixed state management.
	* SqlDataSource.cs:	fixed state management.	 


svn path=/trunk/mcs/; revision=83541
2007-08-06 15:46:33 +00:00
Igor Zelmanovich 86644d0e33 2007-05-29 Igor Zelmanovich <[email protected]>
* ObjectDataSourceView.cs:
	* SiteMapDataSource.cs:
	* SqlDataSource.cs:
	* SqlDataSourceView.cs:
	DataSourceChanged and DataSourceViewChanged are raised in right case, when
	different properties changed their value.				


svn path=/trunk/mcs/; revision=78131
2007-05-29 14:59:47 +00:00
Marek Habersack d105ea0838 2007-04-30 Marek Habersack <[email protected]>
* ConnectionStringsExpressionBuilder.cs: support expressions with
	suffixes .ProviderName and .ConnectionString (case-insensitie) and
	generate a call to GetConnectionStringProviderName in the former
	case. Fixes bug #81490

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

	* SqlDataSource.cs: do not catch the exception if ProviderName is
	not null or empty (as per docs and what MS.NET does).

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

	* DbProviderFactories.cs: throw the same exception MS.NET does.

svn path=/trunk/mcs/; revision=76486
2007-04-30 11:02:24 +00:00
Igor Zelmanovich c92920880e 2007-03-22 Igor Zelmanovich <[email protected]>
* ObjectDataSource.cs:
	* ObjectDataSourceView.cs:
	* SqlDataSource.cs:
	* SqlDataSourceView.cs:
	fixed flow: changes in Insert/Update/DeleteParameters does not 
	cause DataSourceViewChanged event.				


svn path=/trunk/mcs/; revision=74807
2007-03-22 14:13:49 +00:00
Adar Wesley f4956944c3 2007-02-20 Adar Wesley <[email protected]>
* SqlDataSource.cs: fixed ViewState behavior to conform to MS.  Added relevant tests.
        * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.


svn path=/trunk/mcs/; revision=73193
2007-02-20 17:01:51 +00:00
Konstantin Triger 18514d00ac * XmlDataSource.cs: refactored to use cached collection.
* SqlDataSource.cs: refactored to use cached collection;
	don't throw exception on 'DefaultView'.
* ObjectDataSource.cs: refactored to use cached collection.

svn path=/trunk/mcs/; revision=70861
2007-01-11 16:16:50 +00:00
Igor Zelmanovich 1ef1e6f19a 2007-01-08 Igor Zelmanovich <[email protected]>
* DataSourceCacheManager.cs:
	* ObjectDataSource.cs:
	* SqlDataSource.cs:
	fixed: cache considers parameters values changes.				

svn path=/trunk/mcs/; revision=70707
2007-01-09 12:16:45 +00:00
Vladimir Krasnov 79b6c3afdb * SqlDataSource.cs: Added parameters update on OnInit
svn path=/trunk/mcs/; revision=70169
2006-12-28 16:08:08 +00:00
Miguel de Icaza 8616a7e405 2006-11-28 Miguel de Icaza <[email protected]>
* Rationalize the user of MonoTODOs.  

		- Removed all the TODOs that were only overwritten methods
		and had no further information.

		- Methods that threw exceptions now have the message "Not
		implemnted".

		- Methods that return some constant are declared like
		that.

		- Removed a bunch of stale MonoTODOs that had not been
		removed. 


svn path=/trunk/mcs/; revision=68620
2006-11-28 22:15:23 +00:00
Vladimir Krasnov 72e3924240 * System.Web.dll.sources: added DataSourceCasheManager.cs
* System.Web20.vmwcsproj: added DataSourceCasheManager.cs
* ParameterCollection.cs: fixed SetDirtyObject method
* ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState utilization for control's properties, implemented caching
* SqlDataSource.cs, SqlDataSourceView.cs: implemented caching

svn path=/trunk/mcs/; revision=67593
2006-11-09 13:28:01 +00:00
Vladimir Krasnov 7990f125d4 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
* added SqlDataSourceDerbyTest.cs
* run-mono-tests.bat: added Derby to tests class path

svn path=/trunk/mcs/; revision=66745
2006-10-17 13:20:40 +00:00
Chris Toshok c578941eaf In System.Web.UI:
2006-02-27  Chris Toshok  <[email protected]>

	* DataSourceView.cs: Name isn't virtual.

	* DataSourceControl.cs: beat this class over the head with the
	corcompare stick.

	* DataSourceControlBuilder.cs: new stubbed control builder for
	DataSourceControl.

In System.Web.UI.WebControls:
2006-02-27  Chris Toshok  <[email protected]>

	* SqlDataSource.cs: track change to DataSourceControl's protected
	methods.

	* AccessDataSource.cs: same.


svn path=/trunk/mcs/; revision=57342
2006-02-27 18:25:36 +00:00
Chris Toshok 148d6798c3 2006-02-22 Chris Toshok <[email protected]>
* SqlDataSourceFilteringEventArgs.cs: formatting.

	* SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
	both the property and ctor arg.

	* AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
	not CommandEventArgs.  Also, cast the return value of
	oleCommand.ExecuteReader.

	* AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
	comments.
	(GetDbProviderFactory): implement naively, and leave a MonoTODO.
	(GetPhysicalDataFilePath): implement, again naively.  this is
	where the NRE is generated when we access ConnectionString in a
	testcase on .net.
	(ConnectionString): dynamically generate this based on our
	DataFile attribute.
	(DataFile): clear the ConnectionString in the setter so we'll
	regenerate it.
	(ProviderName): use base.ProviderName in the getter, not
	this.ProviderName, so we don't recurse infinitely.
	
	* SqlDataSourceView.cs: start reworking this class.

	* SqlDataSource.cs (GetDbProviderFactory): implement this,
	following the MS docs on the matter (if ProviderName is null/"",
	return SqlClientFactory.Instance.)
	(GetDbProviderFactoryInternal): add an internal method for use by
	SqlDataSourceView.
	(TrackViewState): don't invoke View.TrackViewState unless we have
	one.
	(Selecting): change event handler type to match MS.
	(Filtering): add missing event.
	(View): call CreateDataSourceView, don't just create an
	SqlDataSourceView.


svn path=/trunk/mcs/; revision=57169
2006-02-22 19:14:04 +00:00
Chris Toshok 621ac485c3 2005-09-01 Chris Toshok <[email protected]>
* AccessDataSource.cs: corcompare work.

	* SqlDataSource.cs: same.


svn path=/trunk/mcs/; revision=49283
2005-09-01 18:21:51 +00:00
Kornél Pál 83946b2158 Replaced assembly references with constants in Consts.cs.
svn path=/trunk/mcs/; revision=47823
2005-07-28 23:46:29 +00:00
Lluis Sanchez 300c4162b7 2005-02-02 Lluis Sanchez Gual <[email protected]>
* Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
	CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
	RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
	ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
	DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
	RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
	BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
	IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
	RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
	RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
	CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
	QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
	CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
	RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
	DataGridSortCommandEventArgs.cs, Repeater.cs,
	MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
	XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
	Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
	CompareValidator.cs, HierarchicalDataBoundControl.cs,
	EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs, 
	ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
	ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
	WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
	ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
	LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
	AdCreatedEventArgs.cs:
	
	General 2.0 API fixes: missing attributes, incorrect inheritance,
	missing sealed keywords, wrong signatures, etc.


svn path=/trunk/mcs/; revision=39994
2005-02-02 16:24:08 +00:00
Sanja Gupta 40cfa42f68 ChangeLog: Updated.
AccessDataSource.cs:
SqlDataSourceView.cs: Implemented CreateDataSourceView () method.

svn path=/trunk/mcs/; revision=36309
2004-11-19 12:38:49 +00:00
Sanja Gupta bc71e69a24 ChangeLog: Updated.
SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
SqlDataSourceView.cs: Updated constructor.

svn path=/trunk/mcs/; revision=36304
2004-11-19 10:05:07 +00:00
Sanja Gupta 6416272b5c ChangeLog: Updated
SqlDataSource.cs: Corrected Select method.

svn path=/trunk/mcs/; revision=36262
2004-11-18 12:23:22 +00:00
Sanja Gupta 8737162b0e ChangeLog: Updated.
SqlDataSource.cs: Updated Select method definition.
SqlDataSourceStatusEventArgs.cs: Updated class.


svn path=/trunk/mcs/; revision=36257
2004-11-18 08:35:38 +00:00
Sanja Gupta 37c863887a ChangeLog: Updated.
SqlDataSource.cs: Corrected method calls.
SqlDataSourceView.cs: Partial implementation of few methods.

svn path=/trunk/mcs/; revision=35687
2004-11-05 10:49:16 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Ben Maurer 069539d2b0 2003-11-22 Ben Maurer <[email protected]>
* SqlDataSource*: Implement almost everything. Data access is
	still missing.

svn path=/trunk/mcs/; revision=20349
2003-11-23 02:44:44 +00:00