1186 Commits
Author SHA1 Message Date
Vladimir Krasnov 404e02e76a * Page.jvm.cs: optimized SetupResponseWriter, fixed getChildCount and getChildren methods
* Control.jvm.cs: fixed getChildCount method

svn path=/trunk/mcs/; revision=92792
2008-01-13 13:22:03 +00:00
Konstantin Triger 50f6e99a46 ensure events are wired using public interface
svn path=/trunk/mcs/; revision=92783
2008-01-13 12:17:44 +00:00
Igor Zelmanovich 9020ff705e refactoring
svn path=/trunk/mcs/; revision=92775
2008-01-13 10:00:34 +00:00
Igor Zelmanovich dc5657a2a6 2008-01-13 Igor Zelmanovich <[email protected]>
* webform.js:
	make scripts compatible with MicrosoftAjaxLibrary.		


svn path=/trunk/mcs/; revision=92773
2008-01-13 09:38:32 +00:00
Igor Zelmanovich 04661ec92e refactoring:
renamed methods if internal IScriptManager.

svn path=/trunk/mcs/; revision=92583
2008-01-10 13:35:21 +00:00
Konstantin Triger b6bfc1276f TARGET_JVM: wireup auto events only if user did not add them manually
svn path=/trunk/mcs/; revision=92581
2008-01-10 11:21:52 +00:00
Konstantin Triger 49848695bd refactoring: add internal modifier to event keys, so they can be accessed from TemplateControl
svn path=/trunk/mcs/; revision=92580
2008-01-10 11:20:12 +00:00
Igor Zelmanovich 9d9bc5d816 2008-01-10 Igor Zelmanovich <[email protected]>
* webform.js:
	make scripts compatible with MicrosoftAjaxLibrary.		


svn path=/trunk/mcs/; revision=92579
2008-01-10 11:18:40 +00:00
Igor Zelmanovich ec71de5bf5 2008-01-09 Igor Zelmanovich <[email protected]>
* Page.cs:
	* ClientScriptManager.cs:
	refactoring.		


svn path=/trunk/mcs/; revision=92511
2008-01-09 15:27:42 +00:00
Igor Zelmanovich 92bbabe175 TARGET_J2EE:
refactoring,  do not use TLS for Context and getFacesContext().

svn path=/trunk/mcs/; revision=92432
2008-01-08 09:54:28 +00:00
Igor Zelmanovich 26024a3c36 2008-01-07 Igor Zelmanovich <[email protected]>
* Page.cs: added internal API
	* IScriptManager.cs: added new internal interface.	

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

	* BaseCompareValidator.cs:
	* BaseValidator.cs:
	* CompareValidator.cs:
	* CustomValidator.cs:
	* RangeValidator.cs:
	* RegularExpressionValidator.cs:
	* RequiredFieldValidator.cs:
	refactoring: If page contents instance of IScriptManager, validators call 
	it's API instead Page.ClientScript.									


svn path=/trunk/mcs/; revision=92389
2008-01-07 14:24:43 +00:00
Igor Zelmanovich 0c60815207 fixed CreateActionUrl
svn path=/trunk/mcs/; revision=92388
2008-01-07 14:06:27 +00:00
Igor Zelmanovich d305e47234 2008-01-07 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
	* Control.jvm.cs:			
	* Page.cs:
	* Page.jvm.cs:
	for TARGET_J2EE ensure page life cycle is completed in CrossPagePostBack.
	
2007-01-07 Igor Zelmanovich <[email protected]>

	* Button.cs:
	* ImageButton.cs:
	* LinkButton.cs:
	for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
	in GetPostBackOptions.			

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

	* HtmlForm.cs: refactoring.


svn path=/trunk/mcs/; revision=92387
2008-01-07 13:38:38 +00:00
Marek Habersack f63737933c 2008-01-07 Marek Habersack <[email protected]>
* CachingCompiler.cs: added an overload to the Compile method
	which accepts a flag whether or not to include debug information
	in the generated assembly.
2008-01-07  Marek Habersack  <[email protected]>

	* TemplateParser.cs: handle legacy 'src' attribute in the 2.0
	profile in the correct way. Fixes bug #319016
	BaseType is global by default.

svn path=/trunk/mcs/; revision=92380
2008-01-07 11:50:21 +00:00
Igor Zelmanovich ba95967aae typo fix
svn path=/trunk/mcs/; revision=92338
2008-01-06 12:06:55 +00:00
Igor Zelmanovich 975de1b3d3 fixed exception handling for TARGET_J2EE
svn path=/trunk/mcs/; revision=92332
2008-01-06 10:19:09 +00:00
Marek Habersack 5c99286487 2008-01-02 Marek Habersack <[email protected]>
* TemplateParser.cs: added a wrapper class for server-side script
	snippets, to keep track of locations.
	Store main directive location for later use in DirectiveLocation
	internal property.
2008-01-02  Marek Habersack  <[email protected]>

	* TemplateControlCompiler.cs: add line pragma wherever necessary.

	* PageCompiler.cs: reorder the statements to match MS.NET output.
	Output line pragma information for directive attributes.

	* BaseCompiler.cs: add a set of AddLinePragma methods for various
	CodeDOM elements. 
	Output line pragmas when adding server-side scripts to the CodeDOM
	tree.

	* AspGenerator.cs: use ServerSideScript to store script location
	in the original file.

	* UserControlCompiler.cs: output line pragmas for the init
	method.

svn path=/trunk/mcs/; revision=92125
2008-01-02 20:52:10 +00:00
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