Commit Graph
915 Commits
Author SHA1 Message Date
Marek Habersack c2a841d9f8 2009-04-15 Marek Habersack <[email protected]>
* TemplateParser.cs: use generic lists for import, namespace and
	interface caches. If a namespace is added (e.g. by parsing the
	Import directive), find the assembly in which namespace is
	defined.

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

	* BuildManager.cs: do not add all assemblies in bin/ when serving
	a precompiled site. Fixes bug #493873
	When serving a precompiled site, check if the bin/ directory
	contains certain well-known assemblies and load them if present.

svn path=/trunk/mcs/; revision=131768
2009-04-15 13:32:47 +00:00
Marek Habersack 5a503b40b1 2009-04-07 Marek Habersack <[email protected]>
* Control.cs: ApplyTheme - make sure Page is not null before using
	it. Fixes bug #492666

svn path=/trunk/mcs/; revision=131214
2009-04-07 10:56:27 +00:00
Marek Habersack 6026f7a60a 2009-04-06 Marek Habersack <[email protected]>
* HttpRuntime.cs: added a new internal static property
	IsDebuggingEnabled

	* HttpContext.cs: IsDebuggingEnabled now calls
	HttpRuntime.IsDebuggingEnabled

2009-04-06  Marek Habersack  <[email protected]>

	* Page.cs: ProcessRaiseCallbackEvent and ProcessGetCallbackResult
	now return full exception trace if one is caught and we're running
	in debugging mode.

2009-04-06  Marek Habersack  <[email protected]>

	* TreeView.js: TreeView_ToggleExpand now takes more parameters - a
	full definition of treeview's node contents.
	Added new function, TreeView_PopulateNode, which partially takes
	over role of the PopulateNode function generated in
	TreeView.OnPreRender (see below). Fixes bug #492307

	* TreeView.cs: RaiseCallbackEvent needs to recreate the event
	target's parental tree all the way from the root to the node and
	populate only the leaf (requested) node. This avoids calling the
	TreeNodePopulate handler more times than needed. Fixes bug #492307
	OnPreRender: moved the script code to constants and the script
	body is now generated using StringBuilder instead of a series of
	String.Format calls.
	GetClientExpandEvent: adjusted code for new TreeView JavaScript
	API.

svn path=/trunk/mcs/; revision=131137
2009-04-06 18:02:20 +00:00
Marek Habersack 91053b46db 2009-03-31 Marek Habersack <[email protected]>
* Page.cs: SavePageViewState saves the list of controls which
	require post back regardless of whether view state is disabled or
	not. Fixes bug #490753

svn path=/trunk/mcs/; revision=130694
2009-03-31 18:47:53 +00:00
Marek Habersack e9a0173141 2009-03-31 Marek Habersack <[email protected]>
* All of the below are part of the fix for bug #489687

	* ThemeDirectoryCompiler.cs: pass VirtualPath instances to parser
	constructors.

	* BuildProvider.cs: associated virtual path is stored internally
	as an instance of VirtualPath, accessible via new
	VirtualPathInternal property.

	* BuildManagerDirectoryBuilder.cs: VirtualPath.IsFake is used to
	detect fake virtual paths.
	GetBuildProvider now takes a VirtualPath instead of string for the
	virtualPath parameter. The passed VirtualPath instance is passed
	unchanged to BuildProvider.

	* BuildManager.cs: AssertVirtualPathExists now uses
	VirtualPath.IsFake to check for fake virtual paths.

	* ApplicationFileBuildProvider.cs, GenericBuildProvider.cs,
	MasterPageBuildProvider.cs, PageBuildProvider.cs,
	ThemeBuildProvider.cs, UserControlBuildProvider.cs,
	WebHandlerBuildProvider.cs, WebServiceBuildProvider.cs:
	CreateParser overloads now take a VirtualPath instead of a string
	for the virtualPath parameter.

	* ThemeBuildProvider.cs: use new parser constructors which take
	VirtualPath instances instead of strings.

2009-03-31  Marek Habersack  <[email protected]>

	* VirtualPath.cs: added code to detect whether the VirtualPath
	instance represents a fake virtual path (IsFake property).
	Added new property DirectoryNoNormalize which returns
	non-normalized directory for the VirtualPath instance.
	Made ToString () a bit more friendly and well-behaved.

2009-03-31  Marek Habersack  <[email protected]>

	* ApplicationFileParser.cs, MasterPageParser.cs, PageParser.cs,
	PageThemeFileParser.cs, PageThemeParser.cs, UserControlParser.cs,
	WebHandlerParser.cs, WebServiceParser.cs: 2.0 constructors take a
	VirtualPath instance for the virtualPath parameter, instead of a
	string.

svn path=/trunk/mcs/; revision=130665
2009-03-31 15:01:21 +00:00
Marek Habersack 99b5e370f6 2009-03-18 Marek Habersack <[email protected]>
* Control.cs: AppRelativeResourceDirectory no longer returns a
	hard-coded "~/" when template control's virtual path cannot be
	determined. It returns application relative version of
	TemplateSourceDirectory instead.

svn path=/trunk/mcs/; revision=129676
2009-03-18 08:08:19 +00:00
Marek Habersack c2fd4b2317 2009-03-13 Marek Habersack <[email protected]>
* Control.cs: clear the controls cache on control removal. This
	ensures that a subsequent FindControl call won't return the
	removed control.

svn path=/trunk/mcs/; revision=129234
2009-03-13 00:48:58 +00:00
Marek Habersack 2635b11be8 2009-03-06 Marek Habersack <[email protected]>
* XPathBinder.cs: use the pased namespace manager

svn path=/trunk/mcs/; revision=128799
2009-03-06 21:29:46 +00:00
Marek Habersack bf41db70d0 2009-03-06 Marek Habersack <[email protected]>
* ControlBuilder.cs: BindingContainerType - if control type of the
	containing builder is null, return typeof (Control)

svn path=/trunk/mcs/; revision=128796
2009-03-06 20:54:40 +00:00
Rodrigo Kumpera d8f9612533 2009-03-03 Rodrigo Kumpera <[email protected]>
* Control.cs (FillControlCache): Remove useless control
	parameter. It's always the same of 'this'.

svn path=/trunk/mcs/; revision=128488
2009-03-03 21:50:44 +00:00
Rodrigo Kumpera 75123d34b9 2009-03-03 Rodrigo Kumpera <[email protected]>
* DataBoundLiteralControl.cs: Don't init static literals
	as they are lazily created.

svn path=/trunk/mcs/; revision=128485
2009-03-03 20:42:21 +00:00
Gonzalo Paniagua Javier 871da8a251 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
* BaseParser.cs:
	* PageParser.cs:
	* ControlBuilder.cs:
	* TemplateParser.cs:
	* Page.cs:
	* SimpleWebHandlerParser.cs: settings that have to be in
	machine.config or the root level web.config now call
	GetWebApplicationSection.



svn path=/trunk/mcs/; revision=128273
2009-02-28 20:04:36 +00:00
Gonzalo Paniagua Javier a547c94668 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpResponseHeader.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/QueueManager.cs:
	* System.Web/HttpRequest.cs:
	* System.Web/TraceManager.cs:
	* System.Web/HttpServerUtility.cs:
	* System.Web/HttpApplication.cs:
	* System.Web.UI/ObjectStateFormatter.cs:
	* System.Web.Security/FormsAuthentication.cs: use GetWebApplication
	instead of GetSection for application level configuration.


svn path=/trunk/mcs/; revision=128270
2009-02-28 18:56:20 +00:00
Marek Habersack 98803dbdf1 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: Avoid double OnInit in scenarios with two master
	pages.

svn path=/trunk/mcs/; revision=128249
2009-02-28 01:37:27 +00:00
Marek Habersack 2bdb89e14a 2009-02-26 Marek Habersack <[email protected]>
* FileLevelControlBuilderAttribute.cs,
	DataSourceCacheDurationConverter: hush the gmcs warnings

svn path=/trunk/mcs/; revision=128047
2009-02-26 02:33:04 +00:00
Gonzalo Paniagua Javier 74e4056995 2009-02-20 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: implement the other ReadStringResource method.
	Patch from Kornel Pal.


svn path=/trunk/mcs/; revision=127596
2009-02-20 23:34:12 +00:00
Gonzalo Paniagua Javier 38d6841577 2009-02-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpWriter.cs: new Response property and WriteUTF8Ptr
	method.
	* System.Web/HttpResponseStream.cs: added support for writing from an
	IntPtr. copied the memcpy method from String.cs.

	* System.Web.Compilation/BuildManager.cs: updated comment.

	* System.Web.UI/ResourceBasedLiteralControl.cs: new Control. It's just
	like a LiteralControl but will render itself from the bytes pointed to
	by an IntPtr and not create any string from the underlying data unless
	needed.

	* System.Web.UI/TemplateControl.cs: implemented a bunch of methods
	that are used from the precompiled assemblies for a web project. The
	most notable change needed is to be able to read a win32 resource from
	the dll of the control. The resource is a concatenation of literals
	with plain text for the control and a specialized LiteralControl is
	generated from different chunks of the resource.

	* System.Web.UI/HtmlTextWriter.cs: new method that returns the
	HttpWriter in use.

	* System.Web.dll.sources: added new file.

	* System.Web.Util/ICalls.cs: new internal call to get a pointer to the
	win32 resource associated with the control's assembly.


svn path=/trunk/mcs/; revision=127579
2009-02-20 21:30:58 +00:00
Gonzalo Paniagua Javier 053d02e254 2009-02-18 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: ReadStringResource returns null now.


svn path=/trunk/mcs/; revision=127358
2009-02-19 02:43:03 +00:00
Gonzalo Paniagua Javier bbfde12266 2009-02-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplicationFactory.cs: check of global.asax was precompiled.
	* System.Web.UI/MasterPage.cs: the items in ContentPlaceHolders are lowercase.
	* System.Web.Compilation/TemplateControlCompiler.cs: lowercase place holder names
	* System.Web.Compilation/BuildManager.cs: initial support for
	precompilation. No 'updatable', please.



svn path=/trunk/mcs/; revision=127352
2009-02-18 23:49:33 +00:00
Marek Habersack ebd1b1f4a0 2009-02-18 Marek Habersack <[email protected]>
* TemplateParser.cs: don't initialize PageParserFilter in
	LoadConfigDefaults, postpone it till the first time the
	PageParserFilter property is accessed.

	* ApplicationFileParser.cs, UserControlParser.cs: make sure
	VirtualPath is set in the constructors.

svn path=/trunk/mcs/; revision=127333
2009-02-18 21:32:17 +00:00
Marek Habersack 5df8b478b6 2009-02-13 Marek Habersack <[email protected]>
* AspParser.cs: added an event raised when parsing is complete.

	* AspGenerator.cs: added support for PageParserFilter which, if
	found, is used to control certain aspects of code parsing
	(accepting/rejecting control types, accepting/rejecting code
	snippets, parsing completion)
	Added the AddControl method, used by PageParserFilter when a
	custom filter wants to inject a control in the current control
	builder tree.

2009-02-13  Marek Habersack  <[email protected]>

	* TemplateParser.cs: PageParserFilter handling moved to here.
	PagesConfig must use the current virtual path when retrieving the
	section, or otherwise we'll miss the lower level web.configs.
	Added the AddControl method, used by PageParserFilter.
	Implementing filtering of: parsed directives and the base type, if
	a page parser filter is present.

	* PageParserFilter.cs: added missing 3.5 members and implemented
	everything.

	* PageParser.cs: moved PageParserFilter processing to
	TemplateParser.
	VirtualPath must be set before anything else.
	Call page parser filter's directive preprocessing code from
	AddDirective if a filter is present and a mastertype or
	previouspagetype directive is parsed.

	* MasterPageParser.cs: when PageParserFilter is present use it to
	preprocess the MasterType directive.

svn path=/trunk/mcs/; revision=126855
2009-02-13 20:11:19 +00:00
Marek Safar b1a2042b83 2009-02-12 Marek Safar <[email protected]>
* ControlBuilder.cs, PageParserFilter.cs, CodeConstructType.cs:
	Add few missing members.


svn path=/trunk/mcs/; revision=126769
2009-02-12 22:51:00 +00:00
Marek Habersack da4068f8c0 Reverting revision 126037, it's already taken care of in IsViewStateEnabled, thanks Gert for noticing it.
svn path=/trunk/mcs/; revision=126045
2009-02-06 14:08:59 +00:00
Marek Habersack ebe289242c 2009-02-06 Marek Habersack <[email protected]>
* Control.cs: partially restore the ViewStateShouldBeSaved method
	in order to introduce a small optimization - when the control's
	EnableViewState is false, there is no point in checking all the
	child controls.

svn path=/trunk/mcs/; revision=126037
2009-02-06 13:09:25 +00:00
Gert Driesen 215b9c88cf * Control.cs: Make IsViewStateEnabled available on 1.0 profile
and use it to determine if viewstate needs to be saved instead of
the newly introduced ViewStateShouldBeSaved. Remove
ViewStateShouldBeSaved.

svn path=/trunk/mcs/; revision=126025
2009-02-06 11:34:39 +00:00
Marek Habersack 08c59df0f6 2009-02-05 Marek Habersack <[email protected]>
* Control.cs: if a control has been added to the controls
	collection, removed and added again do not call OnInit (). At the
	same time OnInit() should be called more than once if a control is
	added to a container which, in turn, is then added to another
	control. To achieve that a new state mask flag has been added -
	REMOVED. Fixes bug #471305

svn path=/trunk/mcs/; revision=125798
2009-02-05 00:56:56 +00:00
Marek Habersack f10126e819 2009-02-04 Marek Habersack <[email protected]>
* Control.cs: update of the fix for bug #470993 - view state of
	the child controls isn't saved when any of their parents has it
	disabled.

svn path=/trunk/mcs/; revision=125663
2009-02-04 10:44:57 +00:00
Marek Habersack 98ad9d57a0 2009-01-30 Marek Habersack <[email protected]>
* Control.cs: don't save the control's state if it's
	disabled. Fixes bug #470993

svn path=/trunk/mcs/; revision=125111
2009-01-30 16:52:34 +00:00
Marek Habersack c3e912b67d 2009-01-23 Marek Habersack <[email protected]>
* HtmlTextWriter.cs: if OnTagRender returns false when called from
	RenderBeginTag, push the tag to the stack regardless, and ignore
	it in DoBeginTag and RenderEndTag. Fixes bug #463634

svn path=/trunk/mcs/; revision=124377
2009-01-23 21:49:12 +00:00
Marek Habersack 3fcbf0735a 2009-01-13 Marek Habersack <[email protected]>
* CodeBuilder.cs, RootBuilder.cs, CollectionBuilder.cs: updates
	related to ControlBuilder cleanup.

	* ControlBuilder.cs: code cleanup - no field should be visible
	outside the class unless it's a constant or a read-only field.

2009-01-13  Marek Habersack  <[email protected]>

	* XmlBuilder.cs: updates related to ControlBuilder cleanup.

2009-01-13  Marek Habersack  <[email protected]>

	* TemplateControlCompiler.cs, AspGenerator.cs, BaseCompiler.cs,
	GlobalAsaxCompiler.cs, PageThemeCompiler.cs: updates related to
	ControlBuilder cleanup.


svn path=/trunk/mcs/; revision=123229
2009-01-13 18:38:18 +00:00
Marek Habersack e31e5f40cc Forgotten ChangeLog
svn path=/trunk/mcs/; revision=123115
2009-01-12 19:45:43 +00:00
Marek Habersack dbd6e55cdc 2009-01-12 Marek Habersack <[email protected]>
* LiteralStringControlBuilder.cs: added. Fixes bug #461214

	* ControlBuilder.cs: added location tracking for literal string
	children. Fixes bug #461214

	* TemplateParser.cs: line pragmas are on by default. Fixes bug
	#460479

2009-01-12  Marek Habersack  <[email protected]>

	* TemplateControlCompiler.cs: the LiteralStringControlBuilder
	class is now used to track the location of the plain strings being
	output to the generated code. Fixes bug #461214

	* AspGenerator.cs: AppendLiteralString is called with the current
	parser location as one of its parameters in FlushText (). Fixes
	bug #461214

2009-01-12  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added
	System.Web.UI/LiteralStringControlBuilder.cs


svn path=/trunk/mcs/; revision=123106
2009-01-12 18:53:41 +00:00
Marek Habersack 5be8f882cb 2009-01-12 Marek Habersack <[email protected]>
* TemplateParser.cs: line pragmas are on by default. Fixes bug
	#460479

svn path=/trunk/mcs/; revision=123090
2009-01-12 16:50:23 +00:00
Marek Habersack 45cccd09d5 2009-01-09 Marek Habersack <[email protected]>
* BaseParser.cs, PageParser.cs, UserControlParser.cs: use
	VirtualPathUtility.GetDirectory instead of UrlUtils.GetDirectory.

svn path=/trunk/mcs/; revision=122893
2009-01-09 14:41:30 +00:00
Gonzalo Paniagua Javier 1aa7e69351 2008-12-25 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: use IndexOf (char).


svn path=/trunk/mcs/; revision=122110
2008-12-25 07:28:29 +00:00
Marek Habersack b62e106bbd 2008-12-18 Marek Habersack <[email protected]>
* ControlBuilder.cs: BindingContainerType returns typeof (Page)
	only when the current object is a RootBuilder and it's been
	created for a page parser. Otherwise it returns typeof
	(Control). Fixes bug #45630

svn path=/trunk/mcs/; revision=121752
2008-12-18 01:18:50 +00:00
Marek Habersack c3abcb4e51 2008-12-11 Marek Habersack <[email protected]>
* MasterPageParser.cs: check if masterType is null before using it
	in AddDirective.

svn path=/trunk/mcs/; revision=121287
2008-12-11 11:51:44 +00:00
Marek Habersack 8b9adb2940 2008-12-11 Marek Habersack <[email protected]>
* TemplateParser.cs: in the 2.0 profile when a custom control is
	registered, do not compile it right away but store the tag name in
	a registry to be compiled at a later stage.

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

	* BaseCompiler.cs: added a new method, InitializeType, to be
	overriden in child classes when any class initialization needs to
	be performed before methods, constructors and fields are created.

	* TemplateControlCompiler.cs: if the parser has any custom
	controls registered, compile them here - in the InitializeType
	method.

svn path=/trunk/mcs/; revision=121262
2008-12-10 23:45:04 +00:00
Gonzalo Paniagua Javier 8995c8cb80 2008-12-09 Gonzalo Paniagua Javier <[email protected]>
* XhtmlTextWriter.cs: don't recreate the Hashtables every time, but
	Clone the defaults.


svn path=/trunk/mcs/; revision=121197
2008-12-10 07:11:20 +00:00
Marek Habersack d0135f374d 2008-12-10 Marek Habersack <[email protected]>
* MasterPageParser.cs: do not compile anything while
	parsing. MasterType virtual path is not compiled, but stored for
	later. It is compiled when the MasterType property is requested
	from within MasterPageCompiler.

	* PageParser.cs: do not compile anything while
	parsing. MasterPageFile, MasterType and PreviousPageType virtual
	paths aren't compiled but checked for existence and stored for
	later. Actual compilation happens when the MasterType and
	PreviousPageType are requested from within PageCompiler.

	* BaseParser.cs: added a new helper method, ThrowParseFileNotFound.

2008-12-10  Marek Habersack  <[email protected]>

	* ParseException.cs: made serializable.

	* PageCompiler.cs: CreateStronglyTypedProperty calls
	AddReferencedAssembly to add type's assembly to the unit's
	references after the typed property has been created.

	* BaseCompiler.cs: added a new helper method,
	AddReferencedAssembly to be used whenever an assembly location
	needs to be added to the compilation unit's list after the parsing
	is done (e.g. when processing PreviousPageType or MasterPageType
	properties in PageParser)

2008-12-10  Marek Habersack  <[email protected]>

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

	* System.Web_test.dll.sources: added System.Web.UI/PageParserTest.cs

2008-12-10  Marek Habersack  <[email protected]>

	* NunitWebResources/MissingMasterFile.aspx: added

2008-12-10  Marek Habersack  <[email protected]>

	* PageParserTest.cs: added



svn path=/trunk/mcs/; revision=121181
2008-12-10 02:03:35 +00:00
Marek Habersack 60f6913978 2008-12-03 Marek Habersack <[email protected]>
* System.Web_test.dll.sources: added System.Web.UI/DataBinderTest.cs

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

	* DataBinderTest.cs: added

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

	* DataBinder.cs: clean up Eval for good this time.
	GetIndexedPropertyValue should throw an exception when a string
	indexer expression is used and the container is an IList.

svn path=/trunk/mcs/; revision=120590
2008-12-03 13:33:05 +00:00
Gonzalo Paniagua Javier 20e96bae9a 2008-12-02 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: make sure we don't return null in Title.


svn path=/trunk/mcs/; revision=120550
2008-12-03 00:06:23 +00:00
Marek Habersack 42d4ec2ad5 2008-12-02 Marek Habersack <[email protected]>
* DataBinder.cs: when Eval attempts to find Items [] in the
	container, catch and ignore all exceptions - the null returned
	from GetPropertyValue may be a legitimate return value.

svn path=/trunk/mcs/; revision=120485
2008-12-02 14:28:05 +00:00
Marek Habersack c257964940 2008-12-02 Marek Habersack <[email protected]>
* StateManagedCollection.cs: adding an item to the collection does
	not call SetDirty as an item is added, thus not affecting the
	indexes of its predecessors. Fixes bug #443100
	Insert doesn't call SetDirtyObject as all objects are made dirty
	in SetDirty which is called from here. Same applies to this [int]
	indexer.

svn path=/trunk/mcs/; revision=120436
2008-12-02 01:07:39 +00:00
Marek Habersack 5d39b8a41c 2008-12-01 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: instead of adding ContentPlaceHolder
	instances to the ContentPlaceHolders collection when the
	placeholder is instantiated in the control build method, collect
	the ids and store them in ContentPlaceHolders inside the
	constructor. Fixes bug #449970
	For each content placeholder generate a public virtual property
	named "Template_PLACEHOLDERID", this is compatible with what .NET
	does.

	* BaseCompiler.cs: added new virtual method,
	AddStatementsToConstructor, which is called just before
	CreateConstructor returns.

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

	* MasterPage.cs: use List <string> for ContentPlaceHolders instead
	of ArrayList.
	CreateMasterPage now directly accesses the ContentPlaceHolders as
	it is now a list of strings



svn path=/trunk/mcs/; revision=120353
2008-12-01 14:45:16 +00:00
Marek Habersack f2494e1db0 2008-11-28 Marek Habersack <[email protected]>
* DataBinder.cs: do the proper thing in Eval when a non-indexed
	property is requested on an object and not found. In that case try
	to use the Items property.

svn path=/trunk/mcs/; revision=120199
2008-11-28 01:43:09 +00:00
Marek Habersack fa32fdf482 2008-11-25 Marek Habersack <[email protected]>
* System.Web.dll.sources: added
	System.Web.Compilation/AspComponent.cs

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

	* RootBuilder.cs: use new API in AspComponentFoundry to retrieve
	registered control type.

	* TemplateControlParser.cs: AddControlImports () removed. Its
	functionality is now implemented in ControlBuilder.AddChild in a
	more elegant, fine grained and correct way.

	* TemplateParser.cs: replaced some "" with String.Empty

	* ControlBuilder.cs: AddChild now adds an import for child's
	namespace if the control being added has been registered in the
	web.config file. Possible fix for #447896 and #447898

	* PageParser.cs, MasterPageParser.cs: do not call
	AddControlImports, it no longer exists.

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

	* AspComponentFoundry.cs: GetComponentType methods replaced with
	GetComponent returning an instance of AspComponent which fully
	describes the registered item. Components are cached, indexed by
	full tag name.

	* AspComponent.cs: added

svn path=/trunk/mcs/; revision=119893
2008-11-25 00:51:21 +00:00
Marek Habersack a2bad5bd17 2008-11-21 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs: make the Bind regex stricter.
	When creating Eval expression from Bind, replace single quotes
	with double quotes. Fixes bug #447597
	When processing Bind expressions and the regex doesn't match,
	throw an exception.

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

	* ControlBuilder.cs: in BindingContainerType if builder is a
	RootBuilder and no naming container is found, return typeof
	(Page). In the TemplateBuilder case return cb.ControlType, not
	this.ControlType.

svn path=/trunk/mcs/; revision=119661
2008-11-21 19:27:51 +00:00
Gonzalo Paniagua Javier cdac72488f 2008-11-18 Gonzalo Paniagua Javier <[email protected]>
* ControlBuilder.cs: make sure the binding container container is a
	naming container.


svn path=/trunk/mcs/; revision=119269
2008-11-19 04:06:46 +00:00
Marek Habersack 49df583968 2008-11-18 Marek Habersack <[email protected]>
* ControlBuilder.cs: make sure no control implementing the
	INonBindingContainer can be returned from BindingContainerType.

svn path=/trunk/mcs/; revision=119233
2008-11-18 22:18:41 +00:00