Commit Graph
799 Commits
Author SHA1 Message Date
Marek Habersack ff5759d9db 2008-09-25 Marek Habersack <[email protected]>
* Page.cs: make sure view state is loaded for PreviousPage during
	cross-page postback.

svn path=/trunk/mcs/; revision=114033
2008-09-24 22:53:16 +00:00
Atsushi Eno f0ec7f3bfa 2008-09-13 Atsushi Enomoto <[email protected]>
* System.Web.dll.sources: added
	  System.Web.UI/CssClassPropertyAttribute.cs.

	* CssClassPropertyAttribute.cs : new in 3.5 SP1.


svn path=/trunk/mcs/; revision=112936
2008-09-13 13:34:19 +00:00
Atsushi Eno 00e5d165e3 2008-09-13 Atsushi Enomoto <[email protected]>
* System.Web.dll.sources: added System.Web.UI/IBindableControl.cs.

	* IBindableControl.cs : new in 3.5 SP1.


svn path=/trunk/mcs/; revision=112933
2008-09-13 13:06:34 +00:00
Marek Habersack a34534b9c3 2008-09-01 Marek Habersack <[email protected]>
* ControlBuilder.cs:
	CreateSubBuilder compares tagid to tagName case-insensitively now.

svn path=/trunk/mcs/; revision=112005
2008-09-01 02:30:35 +00:00
Marek Habersack 6c416d1a76 2008-09-01 Marek Habersack <[email protected]>
* ControlBuilder.cs: CreatePropertyBuilder now correctly processes
	property names with prefixes (e.g. 'prefix:PropertyName'). 
	Original, parsed, tag name is stored to properly handle closing
	tags.

2008-09-01  Marek Habersack  <[email protected]>

	* AspGenerator.cs:
	CloseControl uses ControlBuilder's OriginalTagName property,
	should the property/tag name be prefixed with 'prefix:'

svn path=/trunk/mcs/; revision=112003
2008-09-01 01:33:27 +00:00
Marek Habersack d53ea4d4f6 2008-09-01 Marek Habersack <[email protected]>
* TemplateControl.cs: changed the way in which ParseControl is
	implemented for the 2.0+ profile. Still not quite there, but
	better and closer to .NET

2008-09-01  Marek Habersack  <[email protected]>

	* BaseCompiler.cs: AssignAppRelativeVirtualPath works with
	null/empty parser.InputFile now.

	* AspGenerator.cs: AddTypeToCache works checks whether inputFile
	is null or empty and does not assume the dependencies ArrayList is
	present.

	* CachingCompiler.cs: expect the dependencies ArrayList to be null
	or empty.



svn path=/trunk/mcs/; revision=111998
2008-08-31 23:30:52 +00:00
Marek Habersack 90e612afe1 2008-08-31 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs:
	Templates are processed before anything else, so that children
	which may depend on parent's templates can get access to them.

2008-08-31  Marek Habersack  <[email protected]>

	* Control.cs: improved FillControlCache

	* ControlBuilder.cs:
	Added a cache for children of TemplateBuilder, used later in
	TemplateControlCompiler.

svn path=/trunk/mcs/; revision=111990
2008-08-31 17:05:28 +00:00
Marek Habersack 27ece7a9b2 2008-08-31 Marek Habersack <[email protected]>
* TemplateParser.cs: added support for the LinePragmas directive
	attribute.

	* ControlBuilder.cs: if this instance is a TemplateBuilder do not
	call MyNamingContainer, so that our own ContainerType can be used
	as the binding container (if present).

2008-08-31  Marek Habersack  <[email protected]>

	* TemplateControlCompiler.cs: trust builder.BindingContainerType
	in the 2.0+ profile - do not use container properties to detect
	the type.
	Added a helper method, compiled only when DEBUG is defined, to
	generate Console.WriteLine CodeDOM calls.

	* BaseCompiler.cs: add line pragmas only if enabled for the
	current file.


svn path=/trunk/mcs/; revision=111983
2008-08-31 01:41:14 +00:00
Marek Habersack a418f2516a 2008-08-26 Marek Habersack <[email protected]>
* TemplateControlParser.cs: added support for the VirtualPath
	attribute of the Reference directive.
	In the 2.0 profile, all the references are compiled using
	BuildManager.GetCompiledType now.

svn path=/trunk/mcs/; revision=111589
2008-08-26 00:58:27 +00:00
Marek Habersack 9e61c2dbea 2008-08-13 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: rewrote the Bind regular expressions
	to allow for single quotes and an optional second parameter to the
	"call".
	Added an Eval regular expression.
	Both Bind and Eval calls in data expressions are now converted
	into a CodeDOM method invocations, to allow support for possible
	languages which use a different call format (previously code
	snippets were used)
	Added a method to construct the Eval invoke expression which
	simplifies code in other areas.

2008-08-13  Marek Habersack  <[email protected]>

	* TemplateBuilder.cs: use a generic List to store the bindings on
	2.0+

2008-08-13  Marek Habersack  <[email protected]>

	* HttpException.cs: do not use StringBuilder.AppendFormat when
	there is no need.

svn path=/trunk/mcs/; revision=110385
2008-08-13 17:50:53 +00:00
Marek Habersack 3c28c0d567 2008-08-08 Marek Habersack <[email protected]>
* StateManagedCollection.cs: set all the contained objects state
	to dirty in SetDirty.

svn path=/trunk/mcs/; revision=109932
2008-08-08 01:14:59 +00:00
Marek Habersack 8b2ed681ef 2008-07-28 Marek Habersack <[email protected]>
* MasterPage.cs: decouple processing of content templates in
	CreateMasterPage from checking whether all the content place
	holder ids are defined. Fixes bug #325114

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

	* StandardUrl.cs: added a new standard url -
	PAGE_WITH_MASTER_INVALID_PLACE_HOLDER.

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

	* MyPageWithMasterInvalidPlaceHolder.aspx: added

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

	* MasterPageTest.cs: added a test for situations when a page tries
	to use a content place holder not defined in the associated master
	page (bug #325114)

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

	* NunitWeb/Makefile (NunitWeb.dll): added dependency on
	NunitWeb/Resources/MyPageWithMasterInvalidPlaceHolder.aspx, it is
	also included in the resources.



svn path=/trunk/mcs/; revision=108975
2008-07-28 08:20:59 +00:00
Gert Driesen 91663d3f2d * LosFormatter.cs: Avoid using Position when stream is unseekable.
Do not invoke Length property twice for seekable MemoryStream.  
* LosFormatterTest.cs: Improved test for bug #411115.

svn path=/trunk/mcs/; revision=108506
2008-07-22 19:59:16 +00:00
Rodrigo Kumpera 7d3529a49d 2008-07-16 Rodrigo Kumpera <[email protected]>
* DataBoundLiteralControl.cs: Lazily create staticLiterals.

	* DataBoundLiteralControl.cs (Render): Don't generate
	an intermediate string, write the content directly.


svn path=/trunk/mcs/; revision=108036
2008-07-16 14:43:08 +00:00
Marek Habersack ca03531eb9 2008-07-14 Marek Habersack <[email protected]>
* Page.cs: fix the failing tests by moving the form
	RaisePostBackEvent code up in RaisePostBackEvents, so that
	Validate () isn't called together with the registered post back
	events.

svn path=/trunk/mcs/; revision=107911
2008-07-14 21:49:41 +00:00
Roei Erez 2d881514ab Bug in javacript code, using window instead of document for checking if the script is already defined.
svn path=/trunk/mcs/; revision=107818
2008-07-13 11:27:47 +00:00
Marek Habersack d84c3da03a 2008-07-11 Marek Habersack <[email protected]>
* Control.cs: if adapter exists for the given control, use it for
	rendering. Patch from Christian Hergert
	<[email protected]>, thanks!

svn path=/trunk/mcs/; revision=107708
2008-07-11 10:09:48 +00:00
Roei Erez bd813ed4f8 Differentiate between IPostBackEventHandler that was registered by the user, and one that was given as post parameter, so that in case ther post data may trigger both IPostBackEventHandler and IPostBackDataHandler, only the IPostBackDataHandler is actually triggered
svn path=/trunk/mcs/; revision=107631
2008-07-10 11:17:42 +00:00
Rodrigo Kumpera 75aab0fe9b * DataBinder.cs (GetDataItem): Commited stupid code.
2008-07-09  Rodrigo Kumpera  <[email protected]>


svn path=/trunk/mcs/; revision=107618
2008-07-10 01:53:17 +00:00
Rodrigo Kumpera 027614936b 2008-07-09 Rodrigo Kumpera <[email protected]>
* DataBinder.cs (GetDataItem): Use a per-thread cache for
	property lookup.


svn path=/trunk/mcs/; revision=107617
2008-07-10 01:52:47 +00:00
Rodrigo Kumpera 1bbd81cd2a 2008-07-02 Rodrigo Kumpera <[email protected]>
* Control.cs: Fix the lookup in ResolveAdapter that I
	broke in the previous change.


svn path=/trunk/mcs/; revision=107123
2008-07-02 23:47:52 +00:00
Rodrigo Kumpera f8717b2b16 2008-07-02 Rodrigo Kumpera <[email protected]>
* Control.cs: Optimize ResolveAdapter a bit more.


svn path=/trunk/mcs/; revision=107121
2008-07-02 23:29:38 +00:00
Rodrigo Kumpera ec7e45ba2f In System.Web.UI:
2008-07-02  Rodrigo Kumpera  <[email protected]>

	* Control.cs: Optimize the Adapter property and ResolveAdapter a bit.


svn path=/trunk/mcs/; revision=107110
2008-07-02 22:13:51 +00:00
Rodrigo Kumpera 9a0dd8e171 In .:
2008-07-01  Rodrigo Kumpera  <[email protected]>

	* TemplateControl.cs: Kill a foreach loop.


svn path=/trunk/mcs/; revision=107030
2008-07-02 03:47:39 +00:00
Marek Habersack e16dafc604 2008-06-30 Marek Habersack <[email protected]>
* TemplateParser.cs: use atomic incrementation for automatic class
	name creation to avoid Monitor Enter/Exit.

svn path=/trunk/mcs/; revision=106888
2008-06-30 14:11:12 +00:00
Marek Habersack 4944213e17 2008-06-30 Marek Habersack <[email protected]>
* AspGenerator.cs: hush the warnings and fix invalid type
	comparison.

	* AssemblyBuilder.cs: hush the warnings and add some debugging
	CWLs.

	* AspParser.cs, AppResourcesCompiler.cs, TemplateBuildProvider.cs,
	CachingCompiler.cs, BaseCompiler.cs, TemplateControlCompiler.cs,
	SimpleBuildProvider.cs, BuildManager.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* HtmlForm.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs, Menu.cs, DataList.cs,
	CustomValidator.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* MachineKeyRegistryStorage.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* SqliteMembershipProvider.cs, SqliteRoleProvider.cs: remove
	unused method

	* SqlRoleProvider.cs, AspNetDBSchemaChecker.cs: hush the warnings

2008-06-30  Marek Habersack  <[email protected]>

	* UserControlParser.cs: hush the warnings and remove unnecessary
	code.

	* ControlCachePolicy.cs, PageParser.cs, ControlBuilder.cs,
	TemplateParser.cs, SimpleWebHandlerParser.cs, TemplateControl.cs,
	ApplicationFileParser.cs: hush the warnings

	* Page.cs: Context is protected internal in .NET 3.5
	Initialize encryption IVs before returning the transform.

	* Control.cs: Hush the warnings.

2008-06-30  Marek Habersack  <[email protected]>

	* HttpRuntime.cs, HttpApplication.cs: hush the warnings

	* HttpContext.cs: Hush the warnings.

2008-06-30  Marek Habersack  <[email protected]>

	* SqliteProfileProvider.cs: remove unused method

2008-06-30  Marek Habersack  <[email protected]>

	* CompilationSection.cs: hush the warnings



svn path=/trunk/mcs/; revision=106886
2008-06-30 13:20:58 +00:00
Marek Habersack 62e4247924 2008-06-30 Marek Habersack <[email protected]>
* Page.cs: Context is protected internal in .NET 3.5

	* Control.cs: in 2.0 we should return the context associated with
	the current page. In 1.0 we ignore the never set field _context
	and keep walking up the parent chain. Also, Context is protected
	internal in .NET 3.5

svn path=/trunk/mcs/; revision=106876
2008-06-30 09:13:44 +00:00
Zoltan Varga 2b9e9d580b 2008-06-27 Zoltan Varga <[email protected]>
* Control.cs (ResolveAdapter): Avoid calling the Context property getter 
	multiple times.

svn path=/trunk/mcs/; revision=106809
2008-06-28 03:35:26 +00:00
Zoltan Varga 8d495a5057 2008-06-27 Zoltan Varga <[email protected]>
* TemplateControl.cs: Avoid collecting the automatic event info for each 
	instance.

svn path=/trunk/mcs/; revision=106751
2008-06-27 18:13:31 +00:00
Juraj Skripsky 99baee7a81 2008-06-18 Juraj Skripsky <[email protected]>
* Page.cs (ProcessException): Throw HttpUnhandledException instead of
	TargetInvocationException to match .NET. Fixes bug #400482.


svn path=/trunk/mcs/; revision=106090
2008-06-18 07:41:08 +00:00
Marek Habersack 324596317d 2008-06-18 Marek Habersack <[email protected]>
* SqlCacheDependency.cs: added

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

	* System.Web.dll.sources: added
	System.Web.Caching/SqlCacheDependency.cs

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

	* BasePartialCachingControl.cs: implemented the CachePolicy
	property.

	* UserControl.cs: implemented the CachePolicy property.

	* ControlCachePolicy.cs: implemented missing properties and
	methods.

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

	* TemplateControlCompiler.cs: AddChildCall properly processes the
	PartialCachingAttribute now.

svn path=/trunk/mcs/; revision=106078
2008-06-18 01:09:53 +00:00
Marek Habersack cba27ffb42 2008-06-11 Marek Habersack <[email protected]>
* BaseCompiler.cs: do not generate #line pragma for code which
	exists only in memory.

2008-06-11  Marek Habersack  <[email protected]>

	* TemplateControl.cs: make sure 'type' isn't null in LoadControl
	before attempting to use it.

svn path=/trunk/mcs/; revision=105510
2008-06-10 22:43:10 +00:00
Noam Lampert ac27d06220 * TemplateControl.jvm.cs: Don't assume that controls containing page-specific
callbacks (e.g. Page_LoadComplete) are necessarily Page derivatives.

svn path=/trunk/mcs/; revision=105464
2008-06-10 16:20:04 +00:00
Juraj Skripsky a49df1366f 2008-06-04 Juraj Skrispky <[email protected]>
* PageParser.cs (ProcessMainAttributes): Take value of
	enableEventValidation from web.config into account. Fixes bug #397099.


svn path=/trunk/mcs/; revision=104877
2008-06-04 16:04:31 +00:00
Marek Habersack ff4093843b 2008-06-04 Marek Habersack <[email protected]>
* PageHandlerFactory.cs: this class should be public. Fixes bug
	#396707

svn path=/trunk/mcs/; revision=104845
2008-06-04 10:03:10 +00:00
Marek Habersack 0907975508 2008-05-30 Marek Habersack <[email protected]>
* BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
	DataControlFieldCollection.cs, DataControlField.cs,
	PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
	event accessors (to avoid locks).

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

	* AnonymousIdentificationModule.cs, FormsAuthenticationModule.cs,
	DefaultAuthenticationModule.cs, MembershipProvider.cs,
	WindowsAuthenticationModule.cs, PassportAuthenticationModule.cs,
	RoleManagerModule.cs: do not use synthetized event accessors (to
	avoid locks).

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

	* HttpApplication.cs, HttpCachePolicy.cs, SiteMapProvider.cs,
	TraceContext.cs: do not use synthetized event accessors (to avoid
	locks).

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

	* SessionStateModule.cs: do not use synthetized event accessors
	(to avoid locks).

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

	* ProfileModule.cs: do not use synthetized event accessors (to
	avoid locks).

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

	* SessionStateModule.cs: do not use synthetized event accessors
	(to avoid locks).

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

	* DataBindingCollection.cs, ExpressionBindingCollection.cs: do not
	use synthetized event accessors (to avoid locks).

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

	* ClientBuildManager.cs: do not use synthetized event accessors
	(to avoid locks).

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

	* CacheDependency.cs: do not use synthetized event accessors (to
	avoid locks).


svn path=/trunk/mcs/; revision=104569
2008-05-30 22:20:14 +00:00
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
Marek Habersack f0d27ade04 2008-05-28 Marek Habersack <[email protected]>
* TemplateParser.cs: added support for #pragma checksum

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

	* AspParser.cs, AspGenerator.cs, BaseCompiler.cs: added support
	for #pragma checksum

svn path=/trunk/mcs/; revision=104321
2008-05-28 19:42:06 +00:00
Juraj Skripsky 3aab989836 2008-05-19 Juraj Skripsky <[email protected]>
* Page.cs (ValidateCollection): Don't check _eventValidation, it
	has nothing to do with the validators.


svn path=/trunk/mcs/; revision=103485
2008-05-19 15:57:38 +00:00
Marek Habersack dcd27f5983 2008-05-16 Marek Habersack <[email protected]>
* StateManagedCollection.cs: make {Save,Load}ViewState simpler.

svn path=/trunk/mcs/; revision=103353
2008-05-16 17:20:49 +00:00
Marek Habersack f60e51b6be 2008-05-15 Marek Habersack <[email protected]>
* StateManagedCollection.cs: do not query for index of an item in
	a null array.

svn path=/trunk/mcs/; revision=103302
2008-05-15 16:54:44 +00:00
Marek Habersack 480a1be6f7 2008-05-07 Marek Habersack <[email protected]>
* TemplateParser.cs: added a stack of include directories, to
	properly resolve file relative paths when the #include file=""
	directive is used. Fixes bug #324536

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

	* AspGenerator.cs: push the include file directory to the parser
	include directory stack and pop it after parsing the include, so
	that the relative file paths are resolved correctly. Fixes bug
	#324536

svn path=/trunk/mcs/; revision=102729
2008-05-07 14:48:46 +00:00
Igor Zelmanovich 844e4644e7 2008-05-05 Igor Zelmanovich <[email protected]>
* HiddenFieldPageStatePersister.cs: add TARGET_J2EE def
	* Page.cs: remove TARGET_J2EE def
	* Page.jvm.cs: add new internal api such PageState and FacesContext.
	all those changes make PageAdapter works with JSF under TARGET_J2EE.		


svn path=/trunk/mcs/; revision=102513
2008-05-05 11:53:39 +00:00
Marek Habersack bf6db8d3c5 2008-04-24 Marek Habersack <[email protected]>
* AspComponentFoundry.cs: added a new GetComponentType overload
	which returns component source and a boolean flag whether the
	control was registered from web.config (2.0).

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

	* RootBuilder.cs: when registering a custom control, add its path
	to the parser dependencies. Fixes bug #377915
	In the 2.0 profile, if the custom control being used was
	registered from web.config and is found in the same directory what
	the file being parsed, throw an exception. This behavior matches
	MS.NET.

	* TemplateParser.cs: added new VirtualPath property, which stores
	the virtual path to the file being parsed.

	* PageParser.cs: set the VirtualPath property in the 2.0 profile
	when constructing the parser.

svn path=/trunk/mcs/; revision=101623
2008-04-23 23:26:04 +00:00
Marek Habersack 80d647dba3 2008-04-23 Marek Habersack <[email protected]>
* TemplateParser.cs: constructs the VirtualPath using the current
	parser's BaseVirtualDirectory. Fixes bug #381715
2008-04-23  Marek Habersack  <[email protected]>

	* VirtualPath.cs: introduced the CurrentRequestDirectory property,
	which returns the virtual directory for the current request. The
	information is taken from either current request's
	CurrentExecutionFilePath property (if not null) or from the path
	set externally (by setting the property or using the appropriate
	VirtualPath constructor). The new property is used to construct
	the correct absolute virtual path in the MakeRooted method. Fixes
	bug #381715.

svn path=/trunk/mcs/; revision=101557
2008-04-23 16:02:53 +00:00
Marek Habersack 4b7f0e3b79 2008-04-19 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: refactoring - move code between
	constructors, reader should be set before initializing the rest of
	the object. Fixes bug #381364

	* TemplateParser.cs: RegisterCustomControl must use absolute
	virtual path when querying the virtual path provider for
	file. Fixes bug #381364
2008-04-19  Marek Habersack  <[email protected]>

	* BuildManager.cs: use absolute virtual path to query the
	VirtualPathProvider for path existence.
	When ASP.NET is self-hosted, force
        non-batch compilation. Fixes bug #380985

	* ILocation.cs: added a new property, FileText.
	
	* Location.cs: added implementation of the ILocation.FileText
	property.

	* ParseException.cs: use the new ILocation.FileText, if defined,
	to get the file source.
	
	* AspGenerator.cs: when TextReader is present, use it to read with
	the VirtualPathProvider to read the file source. Fixes bug #381364

	* AspParser.cs: added a new property FileText to provide the file
	contents which was read in the constructor.


svn path=/trunk/mcs/; revision=101177
2008-04-18 22:35:47 +00:00
Marek Habersack 2db2e001e1 2008-04-18 Marek Habersack <[email protected]>
* ObjectStateFormatter.cs: ObjectFormatter.WriteObject should not
	use a converter if it can't convert _from_ the type of the object
	being written to the stream. Fixes issues with serializing, e.g.,
	a DataSet.

svn path=/trunk/mcs/; revision=101150
2008-04-18 19:33:59 +00:00
Marek Habersack 5ed0259afe 2008-04-14 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs, TemplateParser.cs, AspGenerator.cs:
	make sure streams are disposed the way they should be.

svn path=/trunk/mcs/; revision=100685
2008-04-14 21:55:50 +00:00
Marek Habersack c03924371e 2008-04-10 Marek Habersack <[email protected]>
* Control.cs: refactoring - IdSeparator property is internally
	present also in 1.1.

2008-04-10  Marek Habersack  <[email protected]>
	
	* RadioButton.cs: adjust 'name' and 'value' attribute values to
	match MS.NET. Fixes bug #378024

svn path=/trunk/mcs/; revision=100302
2008-04-10 02:06:43 +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