Commit Graph
845 Commits
Author SHA1 Message Date
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
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
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
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 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
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
Igor Zelmanovich 62c92ccff3 2007-11-07 Igor Zelmanovich <[email protected]>
* Page.cs: added missing trace information for NET_2_0


svn path=/trunk/mcs/; revision=89095
2007-11-07 12:08:42 +00:00
Igor Zelmanovich 2b8b155de6 when validators state is restored, set flag is_validated=true,
that makes Page.IsValid does not throw exception.

svn path=/trunk/mcs/; revision=88977
2007-11-06 14:07:58 +00:00
Igor Zelmanovich 3a6e972f44 2007-11-06 Igor Zelmanovich <[email protected]>
* Page.cs:
	* Page.jvm.cs:
	affects	TARGET_J2EE only:
	validators state (isValid) is restored on GetBack.	


svn path=/trunk/mcs/; revision=88964
2007-11-06 12:30:29 +00:00
Marek Habersack ecae308f79 2007-11-06 Marek Habersack <[email protected]>
* HtmlForm.cs: a small DetermineRenderUplevel optimization - the
	result is now cached in a nullable boolean variable.
	Render the 'onkeypress' attribute if DefaultButton is used. Fixes
	bug #339426.
2007-11-06  Marek Habersack  <[email protected]>

	* Page.cs: formatting

svn path=/trunk/mcs/; revision=88959
2007-11-06 11:22:15 +00:00
Marek Habersack c6676331ce 2007-11-05 Marek Habersack <[email protected]>
* ClientScriptManager.cs: EventStateFieldName is a constant now.

	* Page.cs: use full control ids when processing post data. Fixes
	bug #317615

svn path=/trunk/mcs/; revision=88932
2007-11-05 22:35:03 +00:00
Marek Habersack 6cddac9528 2007-11-03 Marek Habersack <[email protected]>
* Control.cs: need to append a "/" to TemplateSourceDirectory
	before calling VirtualPathUtility.Combine, in order to get the
	correct physical path to the requested file. Combine looks for the
	last occurrence of "/" to determine where the relative paths
	should be joined.

svn path=/trunk/mcs/; revision=88765
2007-11-03 01:38:00 +00:00
Marek Habersack 19e3ebce13 2007-11-03 Marek Habersack <[email protected]>
* MinimizableAttributeTypeConverter.cs: don't throw on null value,
	call the base class method in that case.
2007-11-03  Marek Habersack  <[email protected]>

	* TemplateControlCompiler.cs: do not call converters specified in
	the member custom attributes if 'str' is null in
	GetExpressionFromString.

svn path=/trunk/mcs/; revision=88762
2007-11-03 00:51:30 +00:00
Marek Habersack a299822de8 2007-11-03 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: don't NRE on a null assembly passed
	to AddAssembly.
	AddAssemblyByName must check the return value of
	Assembly.LoadWithPartialName, as the method doesn't throw on
	missing assembly, it returns null instead.

svn path=/trunk/mcs/; revision=88761
2007-11-03 00:28:48 +00:00
Marek Habersack 4887220bcd 2007-11-03 Marek Habersack <[email protected]>
* ClientScriptManager.cs: eventValidationArray is serialized in an
	optimized fashion, so that its serialized form occupies only as
	many slots as were actually used. It may result in that an array
	of 0 entries will be serialized and then
	restored. EnsureEventValidationArray takes that into consideration
	now.

svn path=/trunk/mcs/; revision=88759
2007-11-03 00:04:51 +00:00
Marek Habersack 6f82e580a4 2007-11-01 Marek Habersack <[email protected]>
* Page.cs, ObjectStateFormatter.cs: use the new
	MachineKeySectionUtils class wherever necessary.
2007-11-01  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added MachineKeySectionUtils.cs
2007-11-01  Marek Habersack  <[email protected]>

	* RolePrincipal.cs, MembershipProvider.cs: use the new
	MachineKeySectionUtils class wherever necessary.

	* FormsAuthentication.cs: use the new MachineKeySectionUtils class
	wherever necessary.
	GetHexString is a private method again.
2007-11-01  Marek Habersack  <[email protected]>

	* MachineKeySection.cs: moved all the internal static methods and
	properties to MachineKeySectionUtils.cs

	* MachineKeySectionUtils.cs: added. This file is included in the
	System.Web.Extensions compilation.
	The old properties from MachineKeySection.cs became methods.
2007-11-01  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: added GetHexString, copied from
	FormsAuthentication.cs. Encryption/decryption routines use methods
	from the new MachineKeySectionUtils class. This is needed for the
	same code to work from both System.Web and System.Web.Extensions.


svn path=/trunk/mcs/; revision=88621
2007-11-01 02:14:52 +00:00
Marek Habersack cc4155bff0 2007-10-29 Marek Habersack <[email protected]>
* TemplateParser.cs: add the file pointed to by the Src or
	CodeFile attributes to the list of page cache dependencies.

	* PageParser.cs, UserControlParser.cs: Add the MasterPage file to
	the list of page cache dependencies.

	* MasterPageParser.cs: add the source pointed to by VirtualPath to
	the list of cache dependencies.

svn path=/trunk/mcs/; revision=88403
2007-10-29 19:23:20 +00:00
Marek Habersack bcb6e84bcf 2007-10-23 Marek Habersack <[email protected]>
* ClientScriptManager.cs: added two constants to define start/end
	script block comments rendering. 1.1 uses HTML comments, while 2.0
	uses a CDATA block.

	* Page.cs: render script blocks with start/end comments taken from
	the ClientScriptManager constants above.

svn path=/trunk/mcs/; revision=87979
2007-10-23 12:39:45 +00:00
Marek Habersack d680953205 The fix for bug #325303 is for the 2.0 profile only
svn path=/trunk/mcs/; revision=87726
2007-10-17 23:04:47 +00:00
Marek Habersack 96c7b2864d 2007-10-17 Marek Habersack <[email protected]>
* TemplateParser.cs: removed code that ignored the Async and
	AsyncTimeout attributes.

	* PageParser.cs: handle the Async and AsyncTimeout attributes
	here. Fixes bug #325450
2007-10-17  Marek Habersack  <[email protected]>

	* PageCompiler.cs: added code to set the AsyncMode and
	AsyncTimeout Page properties.

svn path=/trunk/mcs/; revision=87714
2007-10-17 21:17:41 +00:00
Marek Habersack 5f1046ea5f 2007-10-17 Marek Habersack <[email protected]>
* Control.cs: properly configure control visibility in
	PreRenderRecursiveInternal. The check must be made by looking at
	the Visible value, not at the flags directly. Fixes bug #325303

svn path=/trunk/mcs/; revision=87663
2007-10-17 13:53:18 +00:00
Marek Habersack 21c86a6ebc 2007-10-03 Marek Habersack <[email protected]>
* Page.cs: complete implementation of ValidationGroups. Fixes bug
	#330423. Patch from Juraj Skripsky <[email protected]>, thanks!

svn path=/trunk/mcs/; revision=86825
2007-10-03 18:31:17 +00:00
Marek Habersack 52e766b410 2007-10-02 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: fix the way types are loaded from
	top-level assemblies.

svn path=/trunk/mcs/; revision=86735
2007-10-02 08:39:23 +00:00
Marek Habersack 9b14ae6c0a This is more elegant (thanks JB :))
svn path=/trunk/mcs/; revision=86718
2007-10-01 18:31:24 +00:00
Marek Habersack e3272f53da 2007-10-01 Marek Habersack <[email protected]>
* HttpServerUtility.cs: set a flag when transferring control to
	another page.

	* HttpContext.cs: added an internal InTransit property to carry
	information that HttpServerUtility.Transfer has been used, over to
	the target page.
2007-10-01  Marek Habersack  <[email protected]>

	* Page.cs: do not set IsPostBack to true if we're in transfer from
	another page. Fixes bug #329341

svn path=/trunk/mcs/; revision=86716
2007-10-01 18:21:30 +00:00
Marek Habersack 008a69040e formatting
svn path=/trunk/mcs/; revision=86117
2007-09-20 22:59:03 +00:00
Marek Habersack 9e620f4ab6 2007-09-18 Marek Habersack <[email protected]>
* TemplateParser.cs: VaryByControl OutputCache attribute is
            allowed for both controls and pages in 2.0.

svn path=/trunk/mcs/; revision=85964
2007-09-18 11:44:52 +00:00
Marek Habersack df5c0fc00b 2007-09-11 Marek Habersack <[email protected]>
* WebServiceParser.cs: inputFile is a virtual path to the service,
            not a physical one in GetCompiledType.

svn path=/trunk/mcs/; revision=85628
2007-09-11 09:20:47 +00:00
Marek Habersack ba4f24d13a 2007-09-05 Marek Habersack <[email protected]>
* RootBuilder.cs: make Foundry settable, but protect the backing
            field from being set to null.
2007-09-05  Marek Habersack  <[email protected]>

            * ThemeDirectoryCompiler.cs: all the skin files compiled in one
            batch must share the same component foundry. Under MS.NET if any
            earlier .skin file registers a control prefix any later .skin
            files may use it without registering.

svn path=/trunk/mcs/; revision=85373
2007-09-05 17:32:21 +00:00
Marek Habersack 3b5a85776f 2007-09-04 Marek Habersack <[email protected]>
* TemplateParser.cs: don't optimize for case when 'name' is a full
            assembly name in AddAssemblyByName. Assembly.Load triggers the
            AssemblyResolve event on the current AppDomain if an assembly
            isn't found and we use this mechanism to map names like "App_Code"
            or "App_GlobalResources" to the real names of those dynamic
            assemblies.

svn path=/trunk/mcs/; revision=85322
2007-09-04 20:28:25 +00:00