Commit Graph
312 Commits
Author SHA1 Message Date
Sanja Gupta b2afb00a0c ChangeLog: Updated ChangeLog.
UrlPropertyAttribute.cs: Added new file.

svn path=/trunk/mcs/; revision=34896
2004-10-12 08:41:43 +00:00
Gonzalo Paniagua Javier c1e8d7d744 2004-10-01 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: even if the control has no children the naming container
	may contain the control we're looking for. Fixes bug #67304.

svn path=/trunk/mcs/; revision=34593
2004-10-01 13:10:44 +00:00
Gonzalo Paniagua Javier eaa21f98ab s/Behaviour/Behavior/g Fixes bug 67261
svn path=/trunk/mcs/; revision=34581
2004-10-01 03:04:50 +00:00
Gonzalo Paniagua Javier 13c545eab7 2004-09-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: added OtherTags.
	* System.Web.UI/ControlBuilder.cs: don't close server tags when we get
	to a closing tag that is not applied to a server control. Fixes bug
	#60323.

svn path=/trunk/mcs/; revision=34534
2004-09-30 00:21:54 +00:00
Sanja Gupta 5c9b0aed32 ChangeLog: Updated ChangeLog.
ControlValuePropertyAttribute.cs: Initial implementation.

svn path=/trunk/mcs/; revision=34352
2004-09-24 13:23:28 +00:00
Sanja Gupta 449d34566e ChangeLog: Updated ChangeLog.
IPaginationContainer.cs: Corrected name of class.

svn path=/trunk/mcs/; revision=34350
2004-09-24 12:52:14 +00:00
Sanja Gupta 75e65231c5 ChangeLog: Updated ChangeLog.
IDReferencePropertyAttribute.cs: Completed implementation.

svn path=/trunk/mcs/; revision=34349
2004-09-24 12:46:31 +00:00
Sanja Gupta 8f5ed0c67f ChangeLog: Updated ChangeLog.
ThemeableAttribute.cs:
FilterableAttribute.cs: Code scrubbing and optimization.

svn path=/trunk/mcs/; revision=34348
2004-09-24 12:31:08 +00:00
Raja R Harinath 97553bb62e cvs ignores, sorry about the spam
svn path=/trunk/mcs/; revision=33874
2004-09-14 09:59:51 +00:00
Sanja Gupta d17cfc2768 ChangeLog: Updated ChangeLog.
ThemeableAttribute.cs: Completed Implementation.

svn path=/trunk/mcs/; revision=33873
2004-09-14 09:42:06 +00:00
Sanja Gupta 47e9787c87 ChangeLog: Updated ChangeLog.
FilterableAttribute.cs: Completed implementation.

svn path=/trunk/mcs/; revision=33867
2004-09-14 09:15:27 +00:00
Sanja Gupta a740af0593 ChangeLog: Updated ChangeLog.
Control.cs: Added new attributes and a method.
FilterableAttribute.cs: New attribute, initial implementation.
ThemeableAttribute.cs: New attribute, initial implemenataion.

svn path=/trunk/mcs/; revision=33842
2004-09-14 03:53:36 +00:00
Gonzalo Paniagua Javier 849f727611 2004-09-09 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: ensure bin directory exists before trying to access
	it. Fixes bug #65446 (not closed yet due to dependencies).

svn path=/trunk/mcs/; revision=33688
2004-09-10 02:46:22 +00:00
Sanja Gupta bfafef1092 ChangeLog: Updated ChangeLog.
Control.cs: Implemented methods of interface IExpressionAccessor.

svn path=/trunk/mcs/; revision=33643
2004-09-09 11:19:05 +00:00
Gonzalo Paniagua Javier 628467bbfc 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/BaseCompiler.cs:
	* System.Web.Compilation/CachingCompiler.cs:
	* System.Web.Compilation/WebServiceCompiler.cs:
	* System.Web.UI/SimpleWebHandlerParser.cs: correctly cache Type instead
	of the assembly for ashx/asmx. Otherwise we need to open the file and
	check for the class name in there. Thanks to Ben for pointing this out.

svn path=/trunk/mcs/; revision=33382
2004-09-05 19:37:58 +00:00
Gonzalo Paniagua Javier 32e674ae9f * Control.cs: don't create the EventHandlerList until requested.
svn path=/trunk/mcs/; revision=33380
2004-09-05 19:33:51 +00:00
Gonzalo Paniagua Javier 0457c9c059 2004-09-05 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: removed creation of StringWriter.  It's not used.

svn path=/trunk/mcs/; revision=33379
2004-09-05 19:32:32 +00:00
Sanja Gupta 1367f74547 ChangeLog: Updated ChangeLog.
Control.cs: Added new interfaces implemented in .Net 2.0.
ExpressionBinding.cs: Added new class.
ExpressionBindingCollection.cs: Added new class.

svn path=/trunk/mcs/; revision=33276
2004-09-03 13:26:02 +00:00
Gonzalo Paniagua Javier 34731bec41 2004-09-01 Gonzalo Paniagua Javier <[email protected]>
* LiteralControl.cs: stylized. This control has EnableViewState disabled
	by default and doesn't get an automatic ID. When text is null -> "".

svn path=/trunk/mcs/; revision=33179
2004-09-01 20:01:58 +00:00
Sanja Gupta 9648804806 ChangeLog: Updated ChangeLog.
ControlSkinProc.cs:
DataSourceViewOperationCallback.cs:
DataSourceViewSelectCallback.cs:
ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
        required in definition as delegates, by default are sealed.

svn path=/trunk/mcs/; revision=33081
2004-08-31 10:01:14 +00:00
Sanja Gupta f38907144e ChangeLog: Updated ChangeLog.
IDReferencePropertyAttribute.cs: Corrected and changed from interface
          to class.
IMobileTextWriter.cs: Corrected method signatures.

svn path=/trunk/mcs/; revision=33079
2004-08-31 09:15:26 +00:00
Sanja Gupta c747bccb09 ChangeLog: Updated ChaneLog.
ControlSkinProc.cs:
DataSourceViewOperationCallback.cs:
DataSourceViewSelectCallback.cs:
ExtractTemplateValuesMethod.cs: Added new delegates.

svn path=/trunk/mcs/; revision=32064
2004-08-09 11:33:29 +00:00
Sanja Gupta 73e1bd915e ChangeLog: Updated ChangeLog.
IBindableTemplate.cs ICallbackEventHandler.cs
IControlBuilderAccessor.cs IControlDesignerAccessor.cs
IControlTypeFilter.cs IDataItemContainer.cs
IDataSourceViewSchemaAccessor.cs
IDReferencePropertyAttribute.cs IExpressionsAccessor.cs
IFilterResolutionService.cs IItemPaginationInfo.cs
IMobileTextWriter.cs IPageHeader.cs IPaginationContainer.cs
IPaginationInfo.cs IResourceResolutionService.cs
IResourceUrlGenerator.cs IStateFormatter.cs IStyleSheet.cs
IThemeResolutionService.cs IUrlResolutionService.cs
IUserControlTypeResolutionService.cs: Added new files for interfaces.

svn path=/trunk/mcs/; revision=31977
2004-08-06 11:55:53 +00:00
Sanja Gupta 5df2a6ed5e ChangeLog: Updated ChangeLog.
PostBackOptions.cs: Added new file and implemented the class.

svn path=/trunk/mcs/; revision=31926
2004-08-05 13:00:30 +00:00
Gonzalo Paniagua Javier 51e1c6d00c 2004-08-04 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextWriterTag.cs: readded author name.

svn path=/trunk/mcs/; revision=31871
2004-08-04 16:11:57 +00:00
Sanja Gupta d0e3f72738 ChangeLog: Updated ChangeLog.
HtmlTextWriteAttribute.cs:
HtmlTextWriterStyle.cs:
HtmlTextWriterTag.cs: Added .Net 2.0 enumerations
CompilationMode.cs:
ConflictOptions.cs:
DataSourceCacheExpiry.cs:
DataSourceCapabilities.cs:
DataSourceOperation.cs:
TemplateContentType.cs:
TemplateInstance.cs:
UrlTypes.cs:
VerificationConditionalOperator.cs:
VerificationReportLevel.cs:
VerificationRule.cs:
XhtmlMobileDocType.cs: Added enumerations.

svn path=/trunk/mcs/; revision=31852
2004-08-04 09:44:29 +00:00
Gonzalo Paniagua Javier 34b3941698 2004-07-27 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: style. Reverted previous patch modification of
	TemplateSourceDirectory (failed when the control is reparented). Use
	HasControls() and Controls all over instead of _controls, as Controls
	property and HasControls() might be overriden.

svn path=/trunk/mcs/; revision=31520
2004-07-27 14:51:56 +00:00
Alon Gazit a54490991c Changed the implementation of TemplateSourceDirectory and GetDefaultName().
replaced foreach statements with for statements, in order to improve
performence.

svn path=/trunk/mcs/; revision=31497
2004-07-27 06:56:25 +00:00
Alon Gazit 35835d1b08 changed the implementation of GetViewStateString().
if the view state object is null there is no need to perform Serialization.

svn path=/trunk/mcs/; revision=31496
2004-07-27 06:24:33 +00:00
Gonzalo Paniagua Javier 447590f787 2004-07-16 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: don't include private methods of base classes when
	auto-attaching events. Fixes bug 61569.

svn path=/trunk/mcs/; revision=31203
2004-07-16 04:10:27 +00:00
Alon Gazit 8667d75a4b changed the Hashtables to case insensitive.
the reason for this change is performance improvements.

svn path=/trunk/mcs/; revision=31133
2004-07-14 12:26:32 +00:00
Gonzalo Paniagua Javier 71d851bad0 2004-07-08 Pablo Baena <[email protected]>
* Page.cs: added workaround for __doPostBack script on Netscape 4.xx

svn path=/trunk/mcs/; revision=30902
2004-07-08 23:15:14 +00:00
Gonzalo Paniagua Javier 8432e31ff8 2004-07-02 Gonzalo Paniagua Javier <[email protected]>
* System.Web/TraceContext.cs: added internal HaveTrace property whose
	value is true when the page has a Trace attribute.

	* System.Web.Handlers/TraceHandler.cs: check that trace is enabled or
	throw.

	* System.Web.UI/Page.cs: added additional checks for saving/displaying
	trace data.

	* System.Web.UI/PageParser.cs: removed checks for trace enabled in
	configuration files.

	Thanks to David Taylor for most of these patch and the tests.

svn path=/trunk/mcs/; revision=30638
2004-07-02 01:54:48 +00:00
Gonzalo Paniagua Javier 7ed97db90a 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
* ControlCollection.cs: when clearing the control collection, tell the
	owners about the removal. Fixes bug #60800.

svn path=/trunk/mcs/; revision=30508
2004-06-29 12:42:25 +00:00
Gonzalo Paniagua Javier a6237f8e1f 2004-06-29 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: don't nullify _context after processing the request as there
	are events not triggered yet. Fixes bug #60726.

svn path=/trunk/mcs/; revision=30507
2004-06-29 10:49:23 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier 093071fda3 2004-06-24 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
	bug #60681.

svn path=/trunk/mcs/; revision=30317
2004-06-24 15:12:20 +00:00
Gonzalo Paniagua Javier 193970990d 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* PageParser.cs:
	* UserControlParser.cs: set the page/user control base type even when no
	default directive provided. Fixes bug #60572.

svn path=/trunk/mcs/; revision=30227
2004-06-23 17:55:50 +00:00
Gonzalo Paniagua Javier 7371e09828 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* PageParser.cs: use default trace settings from web.config and check
	if trace is only requested for local connections. Fixes bug #60180.

svn path=/trunk/mcs/; revision=30206
2004-06-23 15:02:35 +00:00
Gonzalo Paniagua Javier be31b0ce2d 2004-06-16 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/BaseCompiler.cs: try getting the Type from
	the cache before doing the real work. Remove temporary files right after
	successful compilation.

	* System.Web.Compilation/CachingCompiler.cs: added GetTypeFromCache.

	* System.Web.Compilation/UserControlCompiler.cs: nothing interesting.

	* System.Web.Compilation/WebServiceCompiler.cs: try getting the Type
	from the cache before doing anything else. Remove temp files on
	sucessful compilation.

	* System.Web.UI/SimpleWebHandlerParser.cs: implemented
	GetCompiledTypeFromCache. When we read the default directive, check the
	cache for the Type and if present, don't keep reading and store the
	type found.

	* System.Web.UI/WebHandlerParser.cs:
	* System.Web.UI/WebServiceParser.cs: try GetCompiledTypeFromCache
	before actually compiling.

svn path=/trunk/mcs/; revision=29652
2004-06-16 01:41:10 +00:00
Gonzalo Paniagua Javier 23fa50da3b 2004-06-14 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: Modified file.

svn path=/trunk/mcs/; revision=29472
2004-06-14 03:36:28 +00:00
Gonzalo Paniagua Javier 61638e55ba 2004-06-10 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
	(ResolveUrl): fixed typo when dealing with relative urls. Closes bug
	#59794.

svn path=/trunk/mcs/; revision=29185
2004-06-10 12:02:57 +00:00
Gonzalo Paniagua Javier f7f0210dc1 style and ^Ms in last patch from Alon
svn path=/trunk/mcs/; revision=29043
2004-06-08 15:50:13 +00:00
Gonzalo Paniagua Javier 2dbdb5b80f 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: removed CSCompiler.cs

	* System.Web.Compilation/CSCompiler.cs: removed.

	* System.Web.Compilation/CachingCompiler.cs: language independent
	compilation for single files.

	* System.Web.UI/SimpleWebHandlerParser.cs:
	* System.Web.UI/TemplateParser.cs: pass the language when compiling from
	a file.

svn path=/trunk/mcs/; revision=29017
2004-06-08 06:20:11 +00:00
Gonzalo Paniagua Javier 6117ef7c7a 2004-06-08 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs: if we have a global.asax, move its
	reference to the end to help mcs loading the assemblies. Fixes bug
	#58768.

	* TemplateParser.cs: same as above. Removed some kludges to workaround
	loading assemblies from bin path that are now in the runtime. Don't
	load the assemblies in bin if not needed, but still reference them
	when compiling.

svn path=/trunk/mcs/; revision=29010
2004-06-08 03:56:25 +00:00
Alon Gazit 476dc8a213 Changed Page.ProcessPostData().
After the change ,the state of controls that aren't visible is saved
during a postback.

svn path=/trunk/mcs/; revision=28955
2004-06-07 11:24:04 +00:00
Gonzalo Paniagua Javier 8d79b5bec0 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.

svn path=/trunk/mcs/; revision=28943
2004-06-07 04:08:16 +00:00
Gonzalo Paniagua Javier 07f363f435 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: IsPostBack also returns true when method is GET and we have
	viewstate information in the query string. Fixes bug #58151.

svn path=/trunk/mcs/; revision=28876
2004-06-05 16:06:00 +00:00
Gonzalo Paniagua Javier 042a08443a 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web/TraceContext.cs: don't check if HttpRuntime.TraceManager
	is enabled when writing.

	* System.Web.Compilation/PageCompiler.cs: fixed Trace and add support
	for Buffer.

	* System.Web.UI/Page.cs: removed obsolete TODO. Only check if Trace is
	enabled, not HttpRutime.TraceManager.

	* System.Web.UI/PageParser.cs: for 'trace' we have 2 variables now.
	Added support for 'buffer' attribute.

	Fixes bug #58481.

svn path=/trunk/mcs/; revision=28873
2004-06-05 15:47:26 +00:00
Gonzalo Paniagua Javier e404b1b70d 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: added ClientTarget internal property.

	* System.Web.Compilation/PageCompiler.cs: override CreateConstructor
	to add assignment for ClientTarget.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: ClientTarget takes
	precedence over UserAgent.

	* System.Web.UI/Page.cs: implemented ClientTarget.
	* System.Web.UI/PageParser.cs: support for clientTarget and check for
	validity.

svn path=/trunk/mcs/; revision=28811
2004-06-04 04:01:07 +00:00