Commit Graph
1169 Commits
Author SHA1 Message Date
Konstantin Triger 5505c8aed3 use old flag for backward compat
svn path=/trunk/mcs/; revision=92113
2008-01-02 16:36:36 +00:00
Igor Zelmanovich 25aa796fcf 2008-01-01 Igor Zelmanovich <[email protected]>
* Page.cs:
	make SubmitDisabledControls and SetFocus works in multiform environment		


svn path=/trunk/mcs/; revision=92091
2008-01-01 15:01:58 +00:00
Igor Zelmanovich 6cf758f0c4 fixed exception handling for TARGET_J2EE
svn path=/trunk/mcs/; revision=92084
2008-01-01 11:59:53 +00:00
Konstantin Triger 78f7f61ae2 formatting; use mainsoft.web.portal.multiform for isMultiForm decision
svn path=/trunk/mcs/; revision=92064
2007-12-31 16:16:03 +00:00
Vladimir Krasnov b0d7426249 refactored thread abort handling
svn path=/trunk/mcs/; revision=92052
2007-12-31 09:52:20 +00:00
Marek Habersack e9cf41bb57 2007-12-27 Marek Habersack <[email protected]>
* BaseCompiler.cs: check for base type globality in all the
	location it is used.
2007-12-27  Marek Habersack  <[email protected]>

	* TemplateParser.cs: check for base type globality also when the
	default type is used.

svn path=/trunk/mcs/; revision=91942
2007-12-27 15:19:48 +00:00
Igor Zelmanovich 4492d14816 2007-12-26 Igor Zelmanovich <[email protected]>
* TraceContext.cs:
	* TraceData.cs:
	make trace considers control state info. 		

2007-12-26 Igor Zelmanovich <[email protected]>

	* Control.cs:
	* Page.cs:
	make Trace considers control state info.		


svn path=/trunk/mcs/; revision=91898
2007-12-26 15:24:35 +00:00
Konstantin Triger e40521d8b1 correct CreateActionUrl for not application paths
svn path=/trunk/mcs/; revision=91896
2007-12-26 15:02:47 +00:00
Igor Zelmanovich 58d6bfaf88 refactoring
svn path=/trunk/mcs/; revision=91835
2007-12-23 14:58:01 +00:00
Igor Zelmanovich c7166273ee for TARGET_J2EE only:
implement integration with JSF.

svn path=/trunk/mcs/; revision=91823
2007-12-23 10:36:14 +00:00
Igor Zelmanovich e8e4686564 refactoring
svn path=/trunk/mcs/; revision=91820
2007-12-23 08:42:23 +00:00
Igor Zelmanovich a7c74b39ba refactoring
svn path=/branches/mainsoft/JSF/mcs/; revision=91700
2007-12-20 13:02:47 +00:00
Igor Zelmanovich 87abd54016 2007-12-20 Igor Zelmanovich <[email protected]>
* Page.cs:	refactoring:
	split method such InternalProcessRequest to several methods.
	It is required for implementing alternative hosting under TARGET_J2EE.


svn path=/trunk/mcs/; revision=91699
2007-12-20 12:42:11 +00:00
Marek Habersack f3a507ea6f 2007-12-20 Marek Habersack <[email protected]>
* ClientScriptManager.cs: write hidden fields inside a div only in
	the 2.0 profile. Fixes bug #349991

svn path=/trunk/mcs/; revision=91691
2007-12-20 11:31:45 +00:00
Igor Zelmanovich a5952c8ef9 refactoring
svn path=/branches/mainsoft/JSF/mcs/; revision=91686
2007-12-20 10:26:04 +00:00
Igor Zelmanovich 4148401c29 2007-12-20 Igor Zelmanovich <[email protected]>
* Page.cs:
	* Control.cs:
	* ClientScriptManager.cs:		
	refactoring: removed Page.LifeCycle internal API, 
	used Control's stateMask flag instead. 


svn path=/trunk/mcs/; revision=91685
2007-12-20 10:11:28 +00:00
Igor Zelmanovich 2b4c3b49e8 refactoring
svn path=/branches/mainsoft/JSF/mcs/; revision=91680
2007-12-20 08:19:19 +00:00
Igor Zelmanovich decced663c used Trace/Debug.WriteLine instead Console.
svn path=/branches/mainsoft/JSF/mcs/; revision=91626
2007-12-19 13:42:47 +00:00
Igor Zelmanovich 0bfa679fc8 removed dependency on J2EE.Helpers.
svn path=/branches/mainsoft/JSF/mcs/; revision=91540
2007-12-18 13:53:47 +00:00
Marek Habersack 56318c25e2 2007-12-17 Marek Habersack <[email protected]>
* TemplateParser.cs: support the 'Src' directive attribute on 2.0
	profile as well as on the 1.1 one. Fixes bug #319016

svn path=/trunk/mcs/; revision=91462
2007-12-17 16:50:49 +00:00
Arina Itkes 9e69b172c7 Stubs for missed public APIs.
svn path=/trunk/mcs/; revision=91441
2007-12-17 14:33:46 +00:00
Igor Zelmanovich 39669156b2 improved Enter/ExitThread semantics
ProcessRequest always starts the LifeCycle

svn path=/branches/mainsoft/JSF/mcs/; revision=91384
2007-12-16 16:00:58 +00:00
Konstantin Triger 2c28f850c3 refactoring.
TARGET_J2EE: decode namespace on PB only; break LifeCycle on PB or callback only.

svn path=/branches/mainsoft/JSF/mcs/; revision=91379
2007-12-16 12:58:26 +00:00
Igor Zelmanovich 15ce073847 typo fix
svn path=/branches/mainsoft/JSF/mcs/; revision=91378
2007-12-16 12:56:53 +00:00
Igor Zelmanovich da13a59a8b 2007-12-16 Igor Zelmanovich <[email protected]>
* HttpContext.cs: added IsProcessingInclude property.
	* HttpServerUtility.cs: set IsProcessingInclude value within Execute.

2007-12-16 Igor Zelmanovich <[email protected]>

	* Page.cs: on CrossPagePostBack previous page is processed by Execute API,
	that allow CurrentHandler property works correctly during Page processing.


svn path=/branches/mainsoft/JSF/mcs/; revision=91376
2007-12-16 12:13:32 +00:00
Igor Zelmanovich 6f4105943b 2007-12-16 Igor Zelmanovich <[email protected]>
* HttpContext.cs: added IsProcessingInclude property.
	* HttpServerUtility.cs: set IsProcessingInclude value within Execute.

2007-12-16 Igor Zelmanovich <[email protected]>

	* Page.cs: on CrossPagePostBack previous page is processed by Execute API,
	that allow CurrentHandler property works correctly during Page processing.


svn path=/trunk/mcs/; revision=91373
2007-12-16 08:38:16 +00:00
Marek Habersack de1ad2116e 2007-12-15 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: Default value for Debug is taken from
	the compilation config section.

	* TemplateParser.cs: Added LoadConfigDefaults here, loads default
	value for Debug from the compilation section.
	Cache CompilationConfig in methods where it is accessed more than
	once.
	Default value for Debug in ProcessMainAttributes is taken from the
	compilation config.

	* PageParser.cs, TemplateControlParser.cs: LoadPagesConfigDefaults
	renamed to LoadConfigDefaults.
2007-12-15  Marek Habersack  <[email protected]>

	* AppCodeCompiler.cs: do not instantiate CodeDomProvider twice.

	* BaseCompiler.cs: do not use CreateCompiler () in the 2.0
	profile, it's obsoleted. CachingCompiler will use the
	CodeDomProvider methods directly in that case.

	* WebServiceCompiler.cs: Updated GetCompiledType to acquire
	compiler information for the 2.0 profile from system.codeDom.

	* CachingCompiler.cs: the Compile overloads do not use the
	compiler instance, but call appropriate methods on the
	CodeDomProvider instance directly.
	Updated some Compile overloads to acquire compiler information for
	the 2.0 profile from system.codeDom.


svn path=/trunk/mcs/; revision=91343
2007-12-15 03:42:00 +00:00
Konstantin Triger 5fd31b89ae cosmetic: the href will be resolved by the HtmlLink on Render.
svn path=/branches/mainsoft/JSF/mcs/; revision=91237
2007-12-13 16:34:47 +00:00
Konstantin Triger f240884f8d remove unneeded TARGET_J2EE
svn path=/branches/mainsoft/JSF/mcs/; revision=91236
2007-12-13 16:33:27 +00:00
Marek Habersack 3476c409c3 2007-12-13 Marek Habersack <[email protected]>
* ClientScriptManager.cs, MasterPageParser.cs, Control.cs,
	Page.cs: speed optimization - use String.Concat instead of
	String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* Menu.cs, TreeView.cs: optimize use of String.Format in
	OnPreRender.
	Speed optimization - use String.Concat instead of String.Format in
	some cases.

	* GridView.cs, DetailsView.cs: optimize use of String.Format in
	OnPreRender.

	* CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
	WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
	ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
	optimization - use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SessionId.cs: 
	speed optimization - use String.Concat
	instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* SqlProfileProvider.cs, ProfileParser.cs: speed optimization -
	use String.Concat instead of String.Format in some cases.
2007-12-13  Marek Habersack  <[email protected]>

	* ApplicationManager.cs, ApplicationHost.cs,
	DefaultVirtualPathProvider.cs: speed optimization - use
	String.Concat instead of String.Format in some cases.

svn path=/trunk/mcs/; revision=91230
2007-12-13 13:50:10 +00:00
Igor Zelmanovich 01fb11d41f fixed handler replacing
svn path=/branches/mainsoft/JSF/mcs/; revision=91227
2007-12-13 12:44:07 +00:00
Igor Zelmanovich c339ecd017 support Transfer/Execute and CrossPagePostBack
svn path=/branches/mainsoft/JSF/mcs/; revision=91218
2007-12-13 11:49:23 +00:00
Konstantin Triger 933aef33ae TARGET_JVM: decode id before use.
svn path=/branches/mainsoft/JSF/mcs/; revision=91205
2007-12-13 10:41:25 +00:00
Igor Zelmanovich 0add077b86 2007-12-13 Igor Zelmanovich <[email protected]>
* HttpApplication.cs:
	* HttpContext.cs:
	* HttpRequest.cs:
	* HttpServerUtility.cs:
	- When Transfer/Execute is called with preserveForm=true, transferred 
	page is not processed as PostBack but form collection is preserved.
	- When Execute is called more than once, PreviousPage property is set 
	correct.

2007-12-13 Igor Zelmanovich <[email protected]>

	* Page.cs:
	- When Transfer/Execute is called with preserveForm=true, transferred 
	page is not processed as PostBack but form collection is preserved.
	- When Execute is called more than once, PreviousPage property is set 
	correct.

svn path=/trunk/mcs/; revision=91202
2007-12-13 09:08:54 +00:00
Igor Zelmanovich d2f0d382b3 added DecodeNamespace method
svn path=/branches/mainsoft/JSF/mcs/; revision=91121
2007-12-11 16:09:55 +00:00
Igor Zelmanovich d87840514e make Callback works with JSF
svn path=/branches/mainsoft/JSF/mcs/; revision=91080
2007-12-11 10:21:21 +00:00
Konstantin Triger 78ca14f10b root the resolution though JSF
svn path=/branches/mainsoft/JSF/mcs/; revision=91078
2007-12-11 10:14:20 +00:00
Igor Zelmanovich 54ee0aa5d0 fixed ResolveClientUrl and UniqueID
svn path=/branches/mainsoft/JSF/mcs/; revision=91048
2007-12-10 15:19:51 +00:00
Igor Zelmanovich 7ed427ed0c performance optimization in Save/Load state
svn path=/branches/mainsoft/JSF/mcs/; revision=91001
2007-12-09 13:29:10 +00:00
Igor Zelmanovich e1616dd47f fixed HttpContext.CurrentExecutionFilePath for Transfer/Execute
used JSF API for ResolveClientUrl and create action url.

svn path=/branches/mainsoft/JSF/mcs/; revision=90798
2007-12-06 10:08:04 +00:00
Igor Zelmanovich 5460b394ca ClientScriptManager implement IStateManager
to provide access to hidden fields.

svn path=/branches/mainsoft/JSF/mcs/; revision=90548
2007-12-03 15:05:05 +00:00
Igor Zelmanovich 50e9765b9f enhanced JSF implementation
svn path=/branches/mainsoft/JSF/mcs/; revision=90439
2007-11-29 16:00:49 +00:00
Igor Zelmanovich 7a1890486b initial implementation of 'unify request'
svn path=/branches/mainsoft/JSF/mcs/; revision=90267
2007-11-25 14:08:39 +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
Igor Zelmanovich 5c6b9ea5e2 implement JSF life cycle on the page
added IHttpExtendedHandler interface

svn path=/branches/mainsoft/JSF/mcs/; revision=89931
2007-11-19 15:22:55 +00:00
Vladimir Krasnov 0840dcace2 * Page.jvm.cs: IsMultiForm optimized, cached configuration call
svn path=/trunk/mcs/; revision=89920
2007-11-19 09:46:57 +00:00
Marek Habersack 43546c791d 2007-11-14 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: expect GetTypeFromBin to be called
	with a fully qualified type name and act accordingly. Fixes bug
	#341456.

svn path=/trunk/mcs/; revision=89600
2007-11-14 09:16:36 +00:00
Igor Zelmanovich 0526507069 2007-11-13 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: 
	Ensure a script resource is included once in multi form environment.


svn path=/trunk/mcs/; revision=89561
2007-11-13 15:56:35 +00:00
Igor Zelmanovich f8dac948dc 2007-11-07 Igor Zelmanovich <[email protected]>
* TraceContext.cs:
	* TraceData.cs: implemented TraceMode feature.	

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

	* PageParser.cs: fixed initial value of tracemode.


svn path=/trunk/mcs/; revision=89102
2007-11-07 13:55:05 +00:00
Igor Zelmanovich daeb045d28 2007-11-07 Igor Zelmanovich <[email protected]>
* Control.cs: removes '#define MONO_TRACE'.
	It allows to run MONO in release mode without supplementary trace info.	


svn path=/trunk/mcs/; revision=89097
2007-11-07 12:40:03 +00:00