Commit Graph
993 Commits
Author SHA1 Message Date
Marek Habersack abb3087f1e 2008-05-18 Marek Habersack <[email protected]>
* HierarchicalDataBoundControl.cs: Modified GetData method to check if
	DataSource implements IHierarchicalEnumerable and if so constructs and
	returns a new instance of ReadOnlyDataSourceView. This provides functional
	compatibility with the Microsoft.NET framework. Fixes bug
	#395209. Patch contributed by James Fitzsimons
	<[email protected]>, thanks!

2008-05-18  Marek Habersack  <[email protected]>

	* HierarchicalDataBoundControlTest.cs: Added 
	TestIHierarchicalEnumerableDataSource to test change made to
	GetData method to make functionally compatibile with Microsoft.NET
	framework. Patch contributed by James Fitzsimons
	<[email protected]>, thanks!

2008-05-28  Marek Habersack  <[email protected]>

	* ReadOnlyDataSourceView.cs: added. Patch contributed by James
	Fitzsimons <[email protected]>, thanks!

svn path=/trunk/mcs/; revision=104329
2008-05-28 21:07:04 +00:00
Noam Lampert 5a43e30bfa Remove all vmwcproj files from old Grasshopper version
svn path=/trunk/mcs/; revision=104227
2008-05-28 09:28:24 +00:00
Noam Lampert 642cd1a313 HttpServerUtility.cs: Fix bug in UrlPathEncode when URL contains '?'
svn path=/trunk/mcs/; revision=103449
2008-05-19 07:11:40 +00:00
Igor Zelmanovich 43f7291a5f avoid NullReferenceException
svn path=/trunk/mcs/; revision=102507
2008-05-05 09:31:41 +00:00
Igor Zelmanovich 0d8e7654c7 2008-05-04 Igor Zelmanovich <[email protected]>
* HtmlInputButtonTest.cs: use HtmlDiff properly.

svn path=/trunk/mcs/; revision=102467
2008-05-04 14:53:55 +00:00
Igor Zelmanovich 62ee5910fa 2008-05-04 Igor Zelmanovich <[email protected]>
* WebControlTest.cs: make tests compatible with Windows
	by considering end of lines chars.	 


svn path=/trunk/mcs/; revision=102465
2008-05-04 14:06:11 +00:00
Igor Zelmanovich 483695f84a add PageWithAdapter.aspx to the project
svn path=/trunk/mcs/; revision=102464
2008-05-04 12:57:59 +00:00
Igor Zelmanovich fcd1b0a986 switch to port 8080
svn path=/trunk/mcs/; revision=102463
2008-05-04 12:30:26 +00:00
Marek Habersack c102aaa08b Revert 100737, it's not needed anymore.
svn path=/trunk/mcs/; revision=100756
2008-04-15 18:57:20 +00:00
Marek Habersack aa49e1ebc6 2008-04-15 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: test update for the PrivateBinPath
	change in ApplicationHost (a work-around for an IOMAP bug).

2008-04-15  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: restore Bin;bin to PrivateBinPath, as a
	work-around for an IOMAP bug. Fixes bugs #379890 and #379888

svn path=/trunk/mcs/; revision=100737
2008-04-15 15:53:34 +00:00
Noam Lampert bda176d70d Visual studio upgrade did not work well.
Fix references in project files.

svn path=/trunk/mcs/; revision=100541
2008-04-13 08:16:49 +00:00
Noam Lampert 80dd505236 Fixes for Java compilations:
1. Upgrade project/solution files to visual studio 2008
2. In Grasshopper, the InternalVisible attribute in System.Web doesn't work, so need to compile without using the internals of System.Web.

svn path=/trunk/mcs/; revision=100539
2008-04-13 07:44:03 +00:00
Noam Lampert 9fb0f42fea Fix java build
svn path=/trunk/mcs/; revision=100337
2008-04-10 16:41:07 +00:00
Dean Brettle b14ff24d34 ++ class/System.Web/Test/mainsoft/ChangeLog (working copy)
* NunitWebResources/adapters.browser, 
	NunitWebResources/TestCapability.browser: modified to work and
	support tests of browser defs in 
	etc/mono/2.0/Browsers/Compat.browser.

++ class/System.Web/Test/System.Web/ChangeLog	(working copy)

	* AppBrowsersTest.cs: added tests to ensure browscap.ini
	etc/mono/2.0/Browsers/Compat.browser are being used when there
	are App_Browser/*.browser files.

++ class/System.Web/Test/System.Web.UI/ChangeLog	(working copy)

	* PageTest.cs: added tests to ensure that using a 
	ControlAdapter that is not of the type corresponding to the 
	control doesn't	cause a cast error.

++ class/System.Web/Test/System.Web.UI.WebControls/ChangeLog	(working copy)

	* DataBoundControlTest.cs, HierarchicalDataBoundControlTest.cs,
	WebControlTest.cs: added tests to ensure that using a 
	ControlAdapter that is not of the type corresponding to the 
	control doesn't	cause a cast error.

++ class/System.Web/System.Web/ChangeLog	(working copy)

	* HttpApplicationFactory.cs (CapabilitiesProcessor): changed to
	use etc/mono/2.0/Browser/*.browser files in addition to 
	~/App_Browsers/*.browser files.

++ class/System.Web/System.Web.UI/ChangeLog	(working copy)

	* Page.cs (PageAdapter): fixed cast error when a ControlAdapter that
	wasn't a PageAdapter was used.

++ class/System.Web/System.Web.Configuration_2.0/ChangeLog	(working copy)

	* CapabilitiesBuild.cs (Process), ICapabilitiesProcess.cs (Process),
	nBrowser/Build.cs (Process): Added initialCapabilities argument to 
	facilitate using browscap.ini capabilities.
	
	* CapabilitiesResult.cs (ctor), nBrowserResult.cs (ctor): Change 
	items arg to IDictionary to	facilitate using browscap.ini capabilities.
	
	* nBrowser/Node.cs (Reset): Removed code which checked prohibited 
	non-alphanumerics in id attributes because .NET is not that strict.
	
	* nBrowser/Node.cs (MergeFrom): Fixed NullReferenceExceptions that
	occurred when the source or destination node did not have any
	capabilities or adapters.
	
	* nBrowser/Result.cs (AddAdapter): Fixed to allow types in other
	assemblies.

++ class/System.Web/System.Web.UI.WebControls/ChangeLog	(working copy)

	* DataBoundControl.cs (InternalPerformDataBinding), 
	HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
	WebControl.cs (Render): fixed cast errors when a ControlAdapter
	that wasn't of the type corresponding to the control was used.

++ class/System.Web/System.Web.Configuration/ChangeLog	(working copy)

	* HttpCapabilitiesBase.cs (GetConfigCapabilities): changed to use
	browscap.ini for default capabilities when *.browser files are
	present, so we don't need to maintain browser capabilities in two
	places.


svn path=/trunk/mcs/; revision=100150
2008-04-08 21:16:00 +00:00
Marek Habersack 7876e9fdc1 2008-04-03 Marek Habersack <[email protected]>
* DataListTest.cs: added test for bug #376519
	(SelectedValue_SelectedIndex

2008-04-03  Marek Habersack  <[email protected]>

	* DataList.cs: use the value of SelectedIndex, not selectedIndex,
	to return the key value in the SelectedValue property. Fixes bug
	#376519. Patch from Sergey Kuleshov <[email protected]>, thanks

2008-04-03  Marek Habersack  <[email protected]>

	* HtmlFormTest.cs: indirect test for bug #376352 is 2.0+ only.

svn path=/trunk/mcs/; revision=99704
2008-04-02 22:53:23 +00:00
Marek Habersack 8314f68b84 2008-04-02 Marek Habersack <[email protected]>
* HtmlFormTest.cs: added an indirect test for bug #376352
	(HttpRequest.QueryStringRaw internal property) - Mono only.

2008-04-02  Marek Habersack  <[email protected]>

	* Page.cs: make SetContext internal (used from tests).

svn path=/trunk/mcs/; revision=99694
2008-04-02 21:29:36 +00:00
Marek Habersack 94dc72ad1d 2008-03-13 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: adjust test for the PrivateBinPath
	change in ApplicationHost.
2008-03-13  Marek Habersack  <[email protected]>

	* HttpApplicationFactory.cs: use HttpApplication.BinDirs to
	create watchers for binary application directories.

	* HttpApplication.cs: 
	Remove the BinDirectories enumerator property, replaced with a
	BinDirectory one returning a string with path to the binary
	directory.
2008-03-13  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: use HttpRuntime.CaseInsensitive when
	checking whether we're running in a case-insensitive environment.
	Revert to the single-bin-dir behavior when setting the
	PrivateBinPath - the directories are sought for in the order given
	by HttpApplication.BinDirs and the first existing directory is set
	as the value of PrivateBinPath. If none of those are found,
	PrivateBinPath defaults to "bin" (and "/app/full/path/bin" in the
	2.0 profile)
2008-03-13  Marek Habersack  <[email protected]>

	* TemplateParser.cs: HttpApplication.BinaryDirectories property no longer
	exists, use HttpApplication.BinDirectory instead.

svn path=/trunk/mcs/; revision=98211
2008-03-13 21:30:12 +00:00
Dean Brettle 23000b3144 ++ Test/mainsoft/ChangeLog (working copy)
* add new resources: 
		PageWithAdapter.aspx for PageTest and PageAdapterTest.
		TestCapability.browser for AppBrowsersTest.

	* NunitWebResources/adapters.browser, 
	NunitWebResources/AppBrowsersTest.browser: modified to support
	testing reference nodes with captures, and adapters.

	* NunitWeb/NunitWeb/WebTest.cs: ensure that, during AppDomain
	unload, no new requests are sent to the app host and any
	pending requests are completed before the the unload occurs.
	Also added WebTest.AppUnloaded event that tests can use to wait
	for the app to unload (e.g. after touching Global.asax), and 
	WebTest.CleanApp() which can be called to restart the app with
	the a skeleton directory structure.  Tests which add files that
	could effect other tests (e.g. App_Browsers/*.browser files) should
	call WebTest.CleanApp() during TearDown to return the app to a 
	pristine environment.
	
++ Test/mainsoft/MainsoftWebTest/ChangeLog	(working copy)

	* HtmlAgilityPack/AssemblyInfo.cs: made assembly delay signed so that 
	tests can access System.Web internals now that System.Web is
	InternalsVisibleTo this assembly.

++ Test/System.Web/ChangeLog	(working copy)

	* AppBrowsersTest.cs: added.  Includes tests for Control.Adapter,
	Control.ResolveAdapter,	Control.TagWriter, and
	Control.CreateHtmlTextWriter, when using App_Browsers/*.browser files.
	AppBrowsersTest is currently tagged [Ignore], pending a fix for 
	bug #351878.
	
	* HttpRuntimeTest.cs: added. Includes test for 
	HttpRuntime.UnloadAppDomain().  Marked [Ignore], pending a fix for
	bug #351878.
	
++ Test/System.Web.UI.Adapters/ChangeLog	(revision 0)

	* PageAdapterTest.cs: added tests for PageAdapter.


	* ControlAdapterTest.cs (ConfigCapabilitiesNotCalled): added test to
	ensure that HttpCapabilitiesBase.ConfigCapabilities() is not called
	during normal page processing if no files are in App_Browsers.
	


	* ControlAdapterTest.cs: added tests for ControlAdapter.
++ Test/System.Web.UI/ChangeLog	(working copy)

	* PageTest.cs: add tests for using a PageAdapter.
	
	* ControlTest.cs: moved commented out ResolveAdapter_1 test to 
	../System.Web/AppBrowsersTest.cs.  Fixed typo in test name.  
	Added Customcontroladapter.Adapter property for use by AppBrowsersTest.

++ Test/System.Web.UI.WebControls.Adapters/ChangeLog	(revision 0)

	* MenuAdapterTest.cs: added


	* WebControlAdapterTest.cs, HierarchicalDataBoundControlAdapterTest.cs,
	DataBoundControlAdapterTest.cs, HideDisabledControlAdapterTest.cs: added
++ Test/System.Web.UI.WebControls/ChangeLog	(working copy)

	* MenuTest.cs (Menu_RenderStaticItems): added tests to check that
	result was the same when using the base MenuAdapter as when using
	no adapter.
	
	* MenuTest.cs (Menu_RenderStaticItemsWithAdapter): added test
	to ensure that MenuAdapter.RenderItem() is called.

	* HierarchicalDataBoundControlTest.cs, WebControlTest.cs, 
	DataBoundControlTest.cs: added test for use of ControlAdapters
	when present.
	
	* WebControl.cs: added test for IsEnabled.

++ System.Web/ChangeLog	(working copy)

	* HttpApplicationFactory.cs: Added support for detecting 
	App_Browsers/*.browser files and using them to determine capabilities.
	Also restart the app if the App_Browsers, App_Code, or App_GlobalResources
	directories are created.

	* BrowserCapabilities.cs (TagWriter): get value via internal virtual
	GetTagWriter() method, which is overridden in nBrowser.Result.

	* HttpRequest.cs (BrowserMightHaveSpecialWriter, BrowserMightHaveAdapters):
	internal properties added to allow Page and Control methods to avoid
	accessing Request.Browser to get browser-specific HtmlTextWriters or 
	ControlAdapters.  Those things only exist when there are App_Browsers
	files.

++ System.Web.UI.Adapters/ChangeLog	(working copy)

	* ControlAdapter.cs: made control field internal so
	derived internal classes can access it without using base.Control
	which can involved several typecasts.


	* PageAdapter.cs: implemented all members.
	

	* ControlAdapter.cs: implemented all members.
	
	* PageAdapter.cs, ControlAdapter.cs: add MonoTODO's.
++ System.Web.UI/ChangeLog	(working copy)

	* Page.cs (SavePageControlState, LoadPageControlState): save/load 
	adapter state in 2.0 profile.
	
	* Page.cs (CreateHtmlTextWriter): call Browser.CreateHtmlTextWriter()
	in 2.0 profile.
	
	* Page.cs (RenderPage): call CreateHtmlTextWriter() to get the writer
	in 2.0 profile.
	
	* Page.cs (DeterminePostBackMode, InitOutputCache, 
	RenderClientScriptFormDeclaration,	InternalProcessRequest,
	PageStatePersister): added support for PageAdapters.

	* Control.cs (Adapter, ResolveAdapter): implemented.  Adapter calls
	ResolveAdapter and remembers result.  ResolveAdapter checks for adapters
	of the Type hierarchy until it finds one.
	
	* Control.cs (SaveViewStateRecursive, LoadViewStateRecursive): save/load
	adapter state in 2.0 profile.
	
	* HtmlTextWriter.cs (BeginRender, EndRender): added empty virtual methods
	required by 2.0 profile.  These are called by corresponding methods of
	System.Web.UI.Adapters.ControlAdapter.
	
	* Page.cs, Control.cs: don't access Request.Browser if it couldn't have
	any adapters/writers because there are no files in App_Browsers/.

++ Assembly/ChangeLog	(working copy)

	* AssemblyInfo.cs: made InternalsVisibleTo System.Web.test_net_2_0.dll
	to support ControlAdapterTest.ConfigCapabilitiesNotCalled().

++ ChangeLog	(working copy)

	* System.Web_test.dll.sources: added
		System.Web.UI.WebControls.Adapters/MenuAdapterTest.cs
		System.Web.UI.WebControls.Adapters/WebControlAdapterTest.cs
		System.Web.UI.WebControls.Adapters/HierarchicalDataBoundControlAdapterTest.cs
		System.Web.UI.WebControls.Adapters/DataBoundControlAdapterTest.cs
		System.Web.UI.WebControls.Adapters/HideDisabledControlAdapterTest.cs
		System.Web.UI.Adapters/PageAdapterTest.cs
		System.Web.UI.Adapters/ControlAdapterTest.cs
		
	* Makefile (RESOURCE_FILES_2): added
		System.Web.Configuration_2.0/RandomRoboBotKeywords.txt

	* Makefile (TEST_RESOURCE_FILES): added 
		Test/mainsoft/NunitWebResources/PageWithAdapter.aspx

	* System.Web.dll.sources: added
		System.Web.Configuration_2.0/CapabilitiesBuild.cs
		System.Web.Configuration_2.0/CapabilitiesChecksum.cs
		System.Web.Configuration_2.0/CapabilitiesResult.cs
		System.Web.Configuration_2.0/ICapabilitiesProcess.cs
		System.Web.Configuration_2.0/nBrowser/Result.cs
		System.Web.Configuration_2.0/nBrowser/NodeTypes.cs
		System.Web.Configuration_2.0/nBrowser/Identification.cs
		System.Web.Configuration_2.0/nBrowser/File.cs
		System.Web.Configuration_2.0/nBrowser/Build.cs
		System.Web.Configuration_2.0/nBrowser/Node.cs
		System.Web.Configuration_2.0/nBrowser/Exception.cs
		
++ System.Web.UI.WebControls.Adapters/ChangeLog	(working copy)

	* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
	DataBoundControlAdapter.cs: changed to use ControlAdapter.control
	instead of using base.Control or using a new control field.
	
	* MenuAdapter.cs: added	internal constructor that takes a Menu
	parameter.  The constructor is used when writing unit tests.
	
	* MenuAdapter.cs (OnInit, OnPreRender, RenderBeginTag, 
	RenderContents, RenderEndTag): delegate to base instead of
	Control.
	
	* MenuAdapter.cs (LoadAdapterControlState, SaveAdapterControlState,
	RaisePostBackEvent, RenderItem): implemented.
	

	* WebControlAdapter.cs (RenderContents): changed to call 
	control.RenderContents() instead of control.Render().
	
	* WebControlAdapter.cs, HierarchicalDataBoundControlAdapter.cs,
	DataBoundControlAdapter.cs, HideDisabledControlAdapter.cs: added
	internal constructor that takes a parameter of the corresponding
	Control type.  The construct is used when writing unit tests.

++ System.Web.Configuration_2.0/ChangeLog	(working copy)

	* nBrowser/Result.cs, nBrowser/NodeTypes.cs, nBrowser/Identification.cs,
	nBrowser/File.cs, nBrowser/Build.cs, nBrowser/Node.cs, 
	nBrowser/Exception.cs: added.  The code under nBrowser handles *.browser
	files.  It is based on Owen "Ocean" Brady's code, with the following 
	changes and improvements.  Replaced Result.Adapter 
	property with AdapterTypeMap property which maps control Type to adapter
	Type.  Added Result.MarkupTextWriter property.  Added overrides for
	Result.GetAdapters and Result.GetTagWriter to return MarkupTextWriter
	and AdapterTypeMap, resp.  Changed tree building algorithm to not
	depend on nodes with id="Default" and to inject defaultBrowser nodes
	as parents of regular nodes with the same ids.  Changed Node.cs to use
	Item instead of Add when adding a capability or sample header, so that
	values get replaced instead of appended.  Added support for reference 
	nodes (ie. nodes with refID="someID").
		
	* CapabilitiesResult.cs: load RandomRoboBotKeywords.txt resource
	using the correct name.
	
	* RandomRoboBotKeywords.txt: added 

	* HttpCapabilitiesBase.cs (CreateHtmlWriter, Adapters): Added
	support for *.browsers.  Adapters property calls internal virtual
	GetAdapters() method which is overrided in nBrowser.Result 
	returned by nBrowser code.  CreateHtmlWriter uses type specified
	by TagWriter property.
	
++ System.Web.UI.WebControls/ChangeLog	(working copy)

	* DetailsView.cs, ListControl.cs, DataBoundControl.cs, 
	FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs: 
	added support for using ControlAdapters when present.
	
	* WebControl.cs: fixed implementation of IsEnabled to match 
	documentation.

	* Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of 
	RenderMenuItem() if an adapter is present.  MenuAdapter.RenderItem() 
	calls back to new Menu.RenderItem() internal method which calls
	RenderMenuItem() with the appropriate parameters.

++ System.Web.Configuration/ChangeLog	(working copy)

	* HttpCapabilitiesBase.cs: changed to use nBrowser for *.browser 
	support.  Also added internal GetConfigCapabilities_called
	flag used by ControlAdapterTest.ConfigCapabilitiesNotCalled() to 
	test that GetConfigCapabilities() is not called during normal page
	processing when there are no files in App_Browsers/.


svn path=/trunk/mcs/; revision=97824
2008-03-09 22:55:22 +00:00
Leonid Freydovich e0ca9e21e4 add mangling attribute
svn path=/trunk/mcs/; revision=95507
2008-02-12 14:43:10 +00:00
Gert Driesen 34b0b7272c * AppSettingsExpressionBuilder.cs: Improve exception messages. Return
"raw" appsetting value if targetType is null.
* AppSettingsExpressionBuilderTest.cs: Added and improved tests for
GetAppSetting overloads.

svn path=/trunk/mcs/; revision=95322
2008-02-09 10:31:22 +00:00
Igor Zelmanovich 6521fb8b33 HttpWebRequest does not handle redirect,
that allows to test some scenarios such Response.Redirect.

svn path=/trunk/mcs/; revision=94466
2008-01-31 14:35:41 +00:00
Igor Zelmanovich 3d4c2dca78 TARGET_JVM:
fix test.

svn path=/trunk/mcs/; revision=94452
2008-01-31 11:42:39 +00:00
Igor Zelmanovich 4ccb9352bd 2008-01-31 Igor Zelmanovich <[email protected]>
* HtmlInputControlTest.cs:
	* HtmlTextAreaTest.cs: 
	fix tests - use valid xml with HtmlDiff.AssertAreEqual API.


svn path=/trunk/mcs/; revision=94451
2008-01-31 11:16:05 +00:00
Igor Zelmanovich f17a851ad5 2008-01-17 Igor Zelmanovich <[email protected]>
* Control.cs: fix ResolveUrl for some cases.


svn path=/trunk/mcs/; revision=93166
2008-01-17 15:34:56 +00:00
Juraj Skripsky c330ec9664 2008-01-16 Juraj Skripsky <[email protected]>
* HttpRequest.cs (get_UrlReferrer): Handle case when headers contain
	invalid Url for referer.

2008-01-16  Juraj Skripsky  <[email protected]>

	* HttpCookieCollection.cs (AllKeys): Use Keys.CopyTo().


2008-01-16  Juraj Skripsky  <[email protected]>

	* HttpRequestTest.cs (TestReferer): added test for invalid referer url.


svn path=/trunk/mcs/; revision=93042
2008-01-16 14:27:44 +00:00
Sebastien Pouliot 5baac5bc4f 2008-01-14 Sebastien Pouliot <[email protected]>
* HttpCookieTest.cs: Added HttpOnly test cases.


svn path=/trunk/mcs/; revision=92854
2008-01-14 12:36:29 +00:00
Marek Habersack 8e01ff33be 2008-01-08 Dean Brettle <[email protected]>
* NunitWeb/NunitWeb/WebTest.cs: copy .mdb or .pdb files with
       assemblies so we get line numbers in stack traces!

svn path=/trunk/mcs/; revision=92576
2008-01-10 10:16:54 +00:00
Igor Zelmanovich 2bb37b9439 2008-01-08 Igor Zelmanovich <[email protected]>
* DetailsViewTest.cs:
	* DropDownListTest.cs:
	* FormViewTest.cs:
	* GridViewTest.cs:
	removed NotWorking attributes.				


svn path=/trunk/mcs/; revision=92433
2008-01-08 10:08:03 +00:00
Igor Zelmanovich ba9c6995a0 added missing resources
svn path=/trunk/mcs/; revision=92331
2008-01-06 10:17:14 +00:00
Noam Lampert 04092f6e15 Update project files for latest changes in Grasshopper.
svn path=/trunk/mcs/; revision=92192
2008-01-03 17:20:42 +00:00
Vladimir Krasnov b0d7426249 refactored thread abort handling
svn path=/trunk/mcs/; revision=92052
2007-12-31 09:52:20 +00:00
Igor Zelmanovich aa489f1d26 update test with jsf implementation
svn path=/trunk/mcs/; revision=91862
2007-12-24 14:45:36 +00:00
Vladimir Krasnov 86e69e623f * AppSettingsExpressionBuilder.cs: fixed GetAppSetting, should convert to property type
* added AppSettingsExpressionBuilderTest.cs

svn path=/trunk/mcs/; revision=91832
2007-12-23 14:02:37 +00:00
Gert Driesen 9665be01cd * HttpCookieCollectionTest.cs: Added test for string indexer and
Get (String) overload.

svn path=/trunk/mcs/; revision=91638
2007-12-19 17:06:15 +00:00
Vladimir Krasnov f157b6e874 * ListBoxTest.cs: added tests for ListControl's viewstate
svn path=/trunk/mcs/; revision=91519
2007-12-18 09:47:52 +00:00
Igor Zelmanovich aeddaad29d fixed test
svn path=/trunk/mcs/; revision=91079
2007-12-11 10:14:57 +00:00
Igor Zelmanovich 1c062ed4c8 added if #TARGET_JVM
svn path=/trunk/mcs/; revision=91076
2007-12-11 09:55:40 +00:00
Konstantin Triger 2f6613b40e remove test for HttpCacheVaryByContentEncodings since it's not public API for 2.0
svn path=/trunk/mcs/; revision=90800
2007-12-06 10:32:37 +00:00
Konstantin Triger 78887567b5 TARGET_JVM: apply recent build system changes
svn path=/trunk/mcs/; revision=90256
2007-11-25 09:59:30 +00:00
Daniel Nauck dcd94b8d21 2007-11-23 Daniel Nauck <[email protected]>
* System.Web.dll.sources: added
        System.Web/TraceContextRecord.cs
        * System.Web_test.dll.sources: added
        System.Web/TraceContextRecordTest.cs


svn path=/trunk/mcs/; revision=90226
2007-11-23 15:15:03 +00:00
Marek Habersack 7eb6037d96 2007-11-23 Marek Habersack <[email protected]>
* CacheSectionTest.cs: modified to match the new MS.NET defaults.
2007-11-23  Marek Habersack  <[email protected]>

	* CustomErrorsSection.cs: added two missing overrides -
	DeserializeSection and Reset.

svn path=/trunk/mcs/; revision=90208
2007-11-23 01:03:48 +00:00
Marek Habersack ee22092f22 2007-11-22 Marek Habersack <[email protected]>
* OutputCacheParameters.cs: added the VaryByContentEncoding
	property.

	* Page.cs: added new InitCache overload.

	* TemplateParser.cs: added support for the VaryByContentEncodings
	attribute of the OutputCache directive.
2007-11-22  Marek Habersack  <[email protected]>

	* PageCompiler.cs: use
	pageParser.OutputCacheVaryByContentEncodings when initializing the
	output cache in the 2.0 profile.


svn path=/trunk/mcs/; revision=90185
2007-11-22 19:13:29 +00:00
Marek Habersack bbad701742 2007-11-22 Marek Habersack <[email protected]>
* AssemblyInfo.cs: make System.Web.Extensions a friend assembly.
2007-11-22  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added System.Web/HttpCacheVaryByContentEncodings.cs
2007-11-22  Marek Habersack  <[email protected]>

	* HttpCacheVaryByContentEncodings.cs: added

	* HttpCachePolicy.cs: added the HttpCacheVaryByContentEncodings
	property.

	* HttpApplication.cs: added 3 new events to the pipeline (for
	compatibility with the 2.0sp1/3.5 version of System.Web)
2007-11-22  Marek Habersack  <[email protected]>

	* HttpCacheVaryByContentEncodingsTest.cs: added

svn path=/trunk/mcs/; revision=90179
2007-11-22 18:25:32 +00:00
Marek Habersack 5d390dcb7f 2007-11-17 Marek Habersack <[email protected]>
* HttpResponseTest.cs: added a simple test for AddFileDep*
	methods, for bug #342511
2007-11-17  Marek Habersack  <[email protected]>

	* HttpResponse.cs: make sure fileDependencies is not null before
	attempting to use it. Fixes bug #342511.

svn path=/trunk/mcs/; revision=89841
2007-11-17 14:17:54 +00:00
Igor Zelmanovich 584fa7134c 2007-11-08 Igor Zelmanovich <[email protected]>
* BoundField.cs:
	* ImageField.cs:
	evaluate bound value using ThisExpession ("!") properly	

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

	* AutoGeneratedFieldTest.cs:	
	Added new test.



svn path=/trunk/mcs/; revision=89179
2007-11-08 09:29:39 +00:00
Igor Zelmanovich 94bbd9e713 2007-11-07 Igor Zelmanovich <[email protected]>
* WebControl.cs: enabled state restored properly.

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

	* WebControlTest.cs:	
	Added new test.


svn path=/trunk/mcs/; revision=89120
2007-11-07 16:36:02 +00:00
Igor Zelmanovich 03002226b2 2007-11-06 Igor Zelmanovich <[email protected]>
* ListControl.cs:
	SelectedValue/SelectedIndex is set during DataBinding always. 	 

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

	* ListControlTest.cs:
	Added new tests.

svn path=/trunk/mcs/; revision=88954
2007-11-06 09:17:06 +00:00
Marek Habersack d3fda3c441 2007-11-05 Marek Habersack <[email protected]>
* HttpRequestTest.cs: added a test for case when the query string
	is null.
2007-11-05  Marek Habersack  <[email protected]>

	* HttpRequest.cs: cope with UriBuilder.Query being null.

svn path=/trunk/mcs/; revision=88929
2007-11-05 22:13:41 +00:00
Marek Habersack 33ee579205 2007-11-03 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: adjust ConstructorTest for
	AppDomainSetup.PrivateBinPath changes.
2007-11-03  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: AppDomainSetup.PrivateBinPath is a list of
	full paths on 2.0.
2007-11-03  Marek Habersack  <[email protected]>

	* HttpApplication.cs: removed unused internal PrivateBinPath
	property.

	* HttpRuntime.cs: BinDirectory returns a path that ends with the
	directory separator character.


svn path=/trunk/mcs/; revision=88756
2007-11-02 23:02:36 +00:00
Igor Zelmanovich 4aefe0917f 2007-10-31 Igor Zelmanovich <[email protected]>
* DataList.cs: 
	state of DataList.Items are restored correct on PostBack
	such Items.Count and ItemType.

2007-10-31 Igor Zelmanovich <[email protected]>

	* DataListTest.cs:
	Added new test.

svn path=/trunk/mcs/; revision=88546
2007-10-31 11:03:56 +00:00