Files
mono/mcs/class/System.Web/System.Web.UI/ChangeLog
T
Marek Habersack 66916dc696 2008-02-21 Marek Habersack <[email protected]>
* ControlBuilder.cs: introduced a new internal property -
	MyNamingContainer used by the public properties
	NamingContainerType and BindingContainerType. This simplifies the
	code in the latter property, as the binding container type must
	almost always be the same as the naming container type. The only
	exception is when we're inside a content builder, in which case we
	return the parent's BindingContainerType. Fixes bug #363665

svn path=/trunk/mcs/; revision=96395
2008-02-21 21:06:57 +00:00

5031 lines
162 KiB
Plaintext

2008-02-21 Marek Habersack <[email protected]>
* ControlBuilder.cs: introduced a new internal property -
MyNamingContainer used by the public properties
NamingContainerType and BindingContainerType. This simplifies the
code in the latter property, as the binding container type must
almost always be the same as the naming container type. The only
exception is when we're inside a content builder, in which case we
return the parent's BindingContainerType. Fixes bug #363665
2008-02-12 Vladimir Krasnov <[email protected]>
* Page.jvm.cs: StateSerializer.readExternal and writeExternal fixed
to support viewstate encryption
2008-02-12 Vladimir Krasnov <[email protected]>
* ObjectStateFormatter.cs: revert of 91820
2008-02-08 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: always return a non-null value from
the Program property.
* TemplateParser.cs: make sure that the Src attribute is treated
correctly in the 2.0 profile. Fixes bug #319016
2008-02-07 Vladimir Krasnov <[email protected]>
* Page.jvm.cs: added StateSerializer class, fixed processSaveState,
processRestoreState
2008-02-07 Marek Habersack <[email protected]>
* PageHandlerFactory.cs: call PageParser.GetCompiledPageInstance
only - that method calls the appropriate APIs for 1.1 and 2.0
profiles.
2008-02-06 Vladimir Krasnov <[email protected]>
* Control.cs: fixed ResolveClientUrlInternal for portal url prefixes
2008-02-04 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: use WebEncoding.FileEncoding when
reading the source file.
2008-01-30 Igor Zelmanovich <[email protected]>
* ObjectStateFormatter.cs:
ensure ReaderContext.GetCache called with positive arg to prevent from
ArgumentOutOfRange being thrown.
2008-01-29 Igor Zelmanovich <[email protected]>
* ObjectStateFormatter.cs: has public constructor.
2008-01-29 Vladimir Krasnov <[email protected]>
* Page.cs: performance optimization of DeterminePostBackMode
2008-01-24 Marek Habersack <[email protected]>
* PageThemeFileParser.cs: the DefaultBaseType property removed.
* ApplicationFileParser.cs: added constructor which takes a
TextReader.
Removed the DefaultBaseType property.
Added the Reader property.
* MasterPage.cs: use BuildManager to create page instance.
* WebHandlerParser.cs: added a compatibility constructor.
* TemplateControl.cs: GetTypeFromControlPath uses
BuildManager.GetCompiledType for the 2.0+ profile.
* WebServiceParser.cs: added a compatibility internal
constructor.
* SimpleWebHandlerParser.cs: properly treat context and
physicalPath parameters to the constructor, especially for the
2.0+ profile where they are obsolete.
Dependencies are added using virtual paths.
* PageThemeParser.cs: DefaultBaseType property removed.
* Page.cs: Style sheets and themes are compiled using
BuildManager.
Previous page instance is compiled using BuildManager for the 2.0+
profile.
* MasterPageParser.cs: Use BuildManager to create instance and
compile types.
Dependencies are added using virtual paths.
* SimpleHandlerFactory.cs: Use
BuildManager.CreateInstanceFromVirtualPath for the 2.0+ profile.
* UserControlParser.cs: if the parser is created using a
TextReader, take the input file path from the virtual path.
Added a new internal constructor which takes both a TextReader and
an inputFile parameters.
Set base type to the default in the constructors.
Use virtual path when setting master page dependency.
DefaultBaseTypename doesn't use a literal string in the 2.0+
profile, it gets the base type from the application
configuration.
* TemplateControlParser.cs: Dependency on a control/page mentioned
in the Reference directive is registered using the virtual path.
TextReader property is an override now.
* TemplateParser.cs: RegisterCustomControl adds a dependency on
the virtual path, not the physical path. The custom control is
compiled using BuildManager.GetCompiledType for the 2.0+ profile.
RegisterNamespace does not add a dependency on the assembly.
LoadType does not add a dependency on the assembly.
Legacy Src attribute is handled properly now.
Dependency on code-behind (Src and CodeFile directive attributes)
is added using the code-behind file's virtual path.
GetAssemblyFromSource adds a dependency using the virtual path.
DefaultBaseType implemented here, using DefaultBaseTypeName which
is implemented in the descendant classes.
Added internal CodeBehindSource property, used by build
providers.
ClassName property works correctly if inputFile is missing
(e.g. when the parser has been created using a TextReader)
Added a virtual internal property TextReader to return the readed
which has been used to create the parser instance.
* PageHandlerFactory.cs: GetHandler uses
BuildManager.CreateInstanceFromVirtualPath for the 2.0+ profile.
* PageParser.cs: set the default base type in the constructors.
If the input file is not passed to a constructor, take the input
file path from the virtual path.
GetCompiledPageInstance uses BuildManager.CreateInstanceFromVirtualPath
for the 2.0+ profile.
MasterPage dependency is set using the virtual path of the master
page.
MasterPage is compiled into a type using BuildManager.GetCompiledType.
GetCompiledPageType uses BuildManager.GetCompiledType for the 2.0
profile.
DefaultBaseType override removed, it is implemented in the
TemplateParser class.
DefaultBaseTypename doesn't use a literal string in the 2.0+
profile, it gets the base type from the application
configuration.
2008-01-17 Igor Zelmanovich <[email protected]>
* Control.cs: fix ResolveUrl for some cases.
2008-01-17 Igor Zelmanovich <[email protected]>
* Control.cs: consider changes in BaseCompiler.cs.
2008-01-14 Igor Zelmanovich <[email protected]>
* Control.cs: fixed ResolveClientUrl.
use Context.FilePath instead of Context.CurrentExecutionPath for
resolvint app. releative path.
2008-13-01 Vladimir Krasnov <[email protected]>
* Page.jvm.cs: optimized SetupResponseWriter, fixed getChildCount and
getChildren methods
* Control.jvm.cs: fixed getChildCount method
2008-01-09 Igor Zelmanovich <[email protected]>
* Page.cs:
* ClientScriptManager.cs:
refactoring.
2008-01-07 Igor Zelmanovich <[email protected]>
* Page.cs: added internal API
* IScriptManager.cs: added new internal interface.
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.
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.
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-01 Igor Zelmanovich <[email protected]>
* Page.cs:
make SubmitDisabledControls and SetFocus works in multiform environment
2007-12-31 Vladimir Krasnov <[email protected]>
* Page.cs: fixed thread abort handling in ProcessRequest
2007-12-27 Marek Habersack <[email protected]>
* TemplateParser.cs: check for base type globality also when the
default type is used.
2007-12-26 Igor Zelmanovich <[email protected]>
* Control.cs:
* Page.cs:
make Trace considers control state info.
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.
2007-12-20 Marek Habersack <[email protected]>
* ClientScriptManager.cs: write hidden fields inside a div only in
the 2.0 profile. Fixes bug #349991
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.
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
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.
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-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 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.
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-19 Vladimir Krasnov <[email protected]>
* Page.jvm.cs: IsMultiForm optimized, cached configuration call
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.
2007-11-13 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
Ensure a script resource is included once in multi form environment.
2007-11-07 Igor Zelmanovich <[email protected]>
* PageParser.cs: fixed initial value of tracemode.
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.
2007-11-07 Igor Zelmanovich <[email protected]>
* Page.cs: added missing trace information for NET_2_0
2007-11-06 Igor Zelmanovich <[email protected]>
* Page.cs:
* Page.jvm.cs:
affects TARGET_J2EE only:
validators state (isValid) is restored on GetBack.
2007-11-06 Marek Habersack <[email protected]>
* Page.cs: formatting
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
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.
* MinimizableAttributeTypeConverter.cs: don't throw on null value,
call the base class method in that case.
* 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.
* 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.
2007-11-01 Marek Habersack <[email protected]>
* Page.cs, ObjectStateFormatter.cs: use the new
MachineKeySectionUtils class wherever necessary.
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.
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.
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
* 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
2007-10-03 Marek Habersack <[email protected]>
* Page.cs: complete implementation of ValidationGroups. Fixes bug
#330423. Patch from Juraj Skripsky <[email protected]>, thanks!
2007-10-02 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: fix the way types are loaded from
top-level assemblies.
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
2007-09-18 Marek Habersack <[email protected]>
* TemplateParser.cs: VaryByControl OutputCache attribute is
allowed for both controls and pages in 2.0.
2007-09-11 Marek Habersack <[email protected]>
* WebServiceParser.cs: inputFile is a virtual path to the service,
not a physical one in GetCompiledType.
2007-09-05 Marek Habersack <[email protected]>
* RootBuilder.cs: make Foundry settable, but protect the backing
field from being set to null.
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.
2007-09-02 Igor Zelmanovich <[email protected]>
* Page.jvm.cs: implemented IsMultiForm property to take
the value from configuration.
2007-08-30 Igor Zelmanovich <[email protected]>
* Page.cs: fixed MaintainScrollPositionOnPostBack feature.
2007-08-29 Marek Habersack <[email protected]>
* TemplateBuilder.cs: check for and store for later use the
TemplateContainerAttribute. Added a nullable property
TemplateInstance to return the value of the attribute.
2007-08-29 Vladimir Krasnov <[email protected]>
* Control.cs: optimized performance in InitControlsCache()
2007-08-28 Marek Habersack <[email protected]>
* Page.cs: The following property values are returned from cached
fields instead of looking them up on Context: Application,
Response, Request, Cache (as determined by the tests).
Added a backing field for the Session property.
Session doesn't throw an exception when Context is null - it
silently ignores it and throws a session not available exception.
_context is never used directly, the Context property is used
instead. Fixes bug #82606
2007-08-23 Juraj Skripsky <[email protected]>
* Control.cs (InitControlsCache): Make the hash table case insensitive to
make FindControl compatible with MS.net again. Add LAMESPEC note.
2007-08-23 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: use
HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin and
LoadAssemblyFromBin.
Restore the old logic in GetTypeFromBin, also use
HttpApplication.BinDirectoryAssemblies there.
* TemplateParser.cs: use HttpApplication.BinDirectories to
interate over the list of bin dirs.
Use HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin.
2007-08-23 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: encode values of hidden fields.
2007-08-21 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath
enumerator when loading or adding assemblies from binary
directories. Remove unused PrivateBinPath property.
* ControlBuilder.cs: remove unused PrivateBinPath property.
* TemplateParser.cs: use HttpApplication.PrivateBinPath when
adding assemblis and loading types.
2007-08-21 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: fixed onsubmit script for MultiForm environment
2007-08-20 Marek Habersack <[email protected]>
* MasterPage.cs: use the place holder IDs collection instead of
the placholder collection to see if we have the place holder in
the master page. Fixes bug #82485.
* MasterPageParser.cs: store the content place holder ids in the
internal cache to gain access to them when needed.
2007-08-19 Vladimir Krasnov <[email protected]>
* MasterPageParser.jvm.cs: optimized GetDirectory call
* PageTheme.cs: optimized string formatting in CreateSkinKey
2007-08-19 Vladimir Krasnov <[email protected]>
* Page.cs: ResetEventValidationState call moved back to
InternalProcessRequest
2007-08-19 Marek Habersack <[email protected]>
* Page.cs: make sure not to ever pass a null value as the value
of the postCollection parameter to control's LoadPostData. The
ProcessPostData's 'data' parameter is no longer passed to
LoadPostData, instead we pass _requestValueCollection or an empty
collection if it is null. The controls should always get all the
request data, no matter if the 'data' parameter is null or
not. Possible fix for bug #82477.
2007-08-18 Gert Driesen <[email protected]>
* MasterPage.cs: Include relative URL of MasterPage in exception
message.
2007-08-18 Marek Habersack <[email protected]>
* MasterPage.cs: if a ContentPlaceHolder ID is not found in the
associated MasterPage, throw an exception. This is compatible with
what MS.NET does. Fixes bug #82447.
2007-08-15 Igor Zelmanovich <[email protected]>
* Page.cs: fixed:
- avoid NullRefferenceException from Title property
when Page does not have <head runat="server>,
- scriptManager.ResetEventValidationState () is called from Render.
It allows multiply calling of RenderControl returns the same output.
2007-08-14 Vladimir Krasnov <[email protected]>
* Control.cs: optimized GetDirectory call in ResolveClientUrl
2007-08-14 Vladimir Krasnov <[email protected]>
* ClientScriptManager.cs: otimized string.Replace in GetScriptLiteral
2007-08-14 Marek Habersack <[email protected]>
* Control.cs: include the actual exception when reporting control
id clash.
2007-08-10 Gert Driesen <[email protected]>
* PageParser.cs: Replace enableSessionState and readOnlySessionState
bools with enum backed field. Move 1.0 profile code for checking value
of EnableSessionState pages config to PagesConfigurationHandler.
Fixes bug #82392 for 1.0 profile.
2007-08-09 Marek Habersack <[email protected]>
* PageParser.cs: honor web.config enableSessionState
ReadOnly setting instead of overwriting based on default value for
page directive EnableSessionState. Patch from Joel Reed
<[email protected]>, thanks! Fixes bug #82392
2007-08-09 Vladimir Krasnov <[email protected]>
* CssStyleCollection.cs: used ListDictionary instead of
HybridDictionary as underlaying data structure
2007-08-07 Vladimir Krasnov <[email protected]>
* Control.cs: refactoring of LookForControlByName with caching
2007-08-06 Igor Zelmanovich <[email protected]>
* DataSourceView.cs: fixed:
view raises onchange event when datasource is chenged.
2007-08-06 Igor Zelmanovich <[email protected]>
* Control.cs: fixed: control ID management.
2007-08-06 Igor Zelmanovich <[email protected]>
* Control.cs: refactoring: code formatting only.
2007-08-05 Vladimir Krasnov <[email protected]>
* HtmlTextWriter.cs: performance refactoring, optimized AddAttribute
overloads, used StringComparer for tag, styles and attrs hashtables
fixed AddAttribute, id attr should not be encoded by default
2007-07-31 Vladimir Krasnov <[email protected]>
* Control.cs: fixed AppRelativeTemplateSourceDirectory that should
depend on AppRelativeVirtualPath
* Control.jvm.cs: fixed TemplateSourceDirectory that should depend on
AppRelativeTemplateSourceDirectory
2007-07-30 Vladimir Krasnov <[email protected]>
* Page.jvm.cs: fixed RenderResponse property, should not fail in no
Contex available
2007-07-29 Igor Zelmanovich <[email protected]>
* Page.cs: added TARGET_J2EE variable at client side.
2007-07-24 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
* Page.cs:
* Page.jvm.cs:
added new internal property IsMultiForm which returns false under
!TARGET_J2EE (Portal). All client scripts are rendered
according this property.
2007-07-24 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: fixed: GetCallbackEventReference method.
2007-07-23 Igor Zelmanovich <[email protected]>
* Page.cs: refactoring: __doPostBack client script
It is a part of adapting System.Web to work whith
System.Web.Extensions (AJAX).
2007-07-23 Konstantin Triger <[email protected]>
* Control.cs: calculate AppRelativeTemplateSourceDirectory from HttpContext
when control is not in control collection.
2007-07-22 Konstantin Triger <[email protected]>
* Control.cs,
TemplateControl.cs: base AppRelativeTemplateSourceDirectory property
on TemplateControl; implement special behavior of Control.TemplateControl for
TemplateControl instances.
2007-07-18 Marek Habersack <[email protected]>
* ControlBuilder.cs: on the 2.0 profile BindingContainerType
returns the associated control's base type when parent builder is
absent instead of typeof (Control). It returns typeof (Control) if
the parent builder type is determined to be a
NamingContainer. This makes the generated code match the MS.NET
output. Fixes bug #82119.
2007-07-18 Igor Zelmanovich <[email protected]>
* Page.cs:
* ClientScriptManager.cs:
scripts, registered using RegisterClientScriptInclude,
RegisterClientScriptResource and RegisterClientScriptBlock appear on Page
in order matches the order in which the scripts were registered.
2007-07-16 Igor Zelmanovich <[email protected]>
* Control.cs: fixed EnsureID.
ID is not assigned, if already was set.
2007-07-12 Vladimir Krasnov <[email protected]>
* ClientScriptManager.cs: refactored event validation data structure
* Page.cs: fixed InternalProcessRequest, event validation list should
be cleared before render
2007-06-24 Vladimir Krasnov <[email protected]>
* ObjectStateFormatter.cs: optimized loops in array formatters
2007-07-03 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: improve directive
pre-parsing. Directives can span multiple lines, they don't have
to start at the beginning of the line and any content can follow
them after the directive end. Also, do not trim the input since
that might affect program content. Fixes bug #81993.
2007-07-02 Marek Habersack <[email protected]>
* Control.cs: make sure TemplateSourceDirectory returns meaningful
results in the 1.1 profile. Fixes bug #81950.
2007-06-24 Vladimir Krasnov <[email protected]>
* ObjectStateFormatter.cs: WriterContext.RegisterCache, refactored out
parameter
2007-06-20 Marek Habersack <[email protected]>
* BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
keep the private entries.
2007-06-18 Igor Zelmanovich <[email protected]>
* Control.cs: revised the changes from r79982.
2007-06-18 Igor Zelmanovich <[email protected]>
* Control.cs: optimized flow in ResolveClientUrl.
2007-06-15 Gert Driesen <[email protected]>
* ObjectStateFormatter.cs: Avoid NRE in Serialize. Fixes bug #81851.
2007-06-09 Marek Habersack <[email protected]>
* TemplateControl.cs: make sure TemplateControl is set to the
current control.
* Control.cs: TemplateControl property goes up the parent chain if
the property isn't defined in the current control.
TemplateSourceDir finally implemented correctly.
2007-06-06 Marek Habersack <[email protected]>
* Control.cs: more changes to the way TemplateSourceDirectory
works in the 2.0 profile. Take into account situations when a
control is placed in a UserControl (.ascx) and only then fall back
to the parent for its TemplateSourceDirectory.
2007-06-05 Marek Habersack <[email protected]>
* Control.cs: TemplateSourceDirectory uses TemplateControl to
lookup the virtual source directory in the 2.0 instead of the
Parent.
ResolveClientUrl copes with empty TemplateSourceDirectory in the
correct way now - the check is made after the basePath checks.
The changes above make ResolveClientUrl work properly when called
from within a control residing in a TemplateControl.
2007-05-30 Vladimir Krasnov <[email protected]>
* HtmlTextWriter.cs: EncodeAttributeValue should call
HtmlAttributeEncode as documented
2007-05-24 Marek Habersack <[email protected]>
* PageParser.cs: added support for the PreviousPageType
directive.
2007-05-23 Marek Habersack <[email protected]>
* TemplateParser.cs: use VirtualPathUtility.Combine to properly
create the custom control's virtual path.
2007-05-22 Marek Habersack <[email protected]>
* TemplateBuilder.cs: in the absence of containerAttribute,
default to two-way binding direction.
2007-05-21 Igor Zelmanovich <[email protected]>
* DataSourceView.cs: refactoring: Update, Insert methods:
exception is re-thrown from catch scope.
It allows actual call stack be shown
2007-05-17 Vladimir Krasnov <[email protected]>
* TemplateControl.jvm.cs: refactored key for CachedString method
2007-05-16 Vladimir Krasnov <[email protected]>
* HtmlTextWriter.cs: refactoring, created hashtables for tags, styles
and attributes arrays, that gives performance improvement in GetTagKey
GetStyleKey and GetAttributeKey methods
2007-05-15 Marek Habersack <[email protected]>
* TemplateControl.cs: implemented the 3-parameter overloads of
GetLocalResourceObject and GetGlobalResourceObject.
* TemplateParser.cs: refactoring - use HttpApplication.LoadType to
actually look up types.
* ControlBuilder.cs: as above
2007-05-14 Marek Habersack <[email protected]>
* ClientScriptManager.cs: put the hidden field within a <div>, the
way MS.NET does it.
2007-05-11 Gert Driesen <[email protected]>
* ControlBuilder.cs: Fixed exception message in MapType.
2007-05-10 Marek Habersack <[email protected]>
* Control.cs: small formatting change
2007-05-10 Igor Zelmanovich <[email protected]>
* Page.cs: ExecuteRegisteredAsyncTasks:
implimentation for TARGET_JVM doesn't use WaitHandle.WaitAll, but WaitOne
2007-05-09 Vladimir Krasnov <[email protected]>
* HtmlTextWriter.cs: used classes instead of sctrucs in TARGET_JVM for
AddedTag, AddedStyle and AddedAttr members
* TemplateControl.jvm.cs: refactored CachedString method
2007-05-09 Marek Habersack <[email protected]>
* CollectionBuilder.cs: formatting changes
* ControlBuilder.cs: if a control enables children as properties,
has a default property and parser encounters a child tag/container
with the default property name, discard the default property
builder in order to avoid invalid sub builder invocation. An
example is: <asp:DropDownList><Items></Items></asp:DropDownList>
Formatting changes.
When checking for empty string, use Length not comparison with ""
2007-05-08 Marek Habersack <[email protected]>
* CssStyleCollection.cs: put the style in the bag each time a key
is set, otherwise resetting of a key has no effect on rendered
style.
2007-05-07 Marek Habersack <[email protected]>
* TemplateParser.cs: added support for implicit language
detection. If the language isn't set explicitly in the Page
directive, the language value taken from the configuration
considered to be implicit - that is, it can be overwritten by the
first <script> with the runat="server" and language="xx" sets the
language for the parser. This makes it possible to have the
default language set to "C#" and the inline code in, e.g.,
VisualBasic.
* ControlBuilder.cs: when mapping types, catch casses of missing
original and mapped types.
If mapped type doesn't derive from the original type, throw an
exception. Fixes bug #81553.
2007-05-04 Marek Habersack <[email protected]>
* Control.cs: added an internal method to resolve a physical path
to a file from its virtual path considering the possibility that a
control is placed in a master page, which in turn is referenced
from a directory another than that of master page itself.
2007-05-03 Igor Zelmanovich <[email protected]>
* AttributeCollection.cs:
* DataBindingHandlerAttribute.cs:
* HtmlTextWriter.cs:
* PartialCachingControl.cs:
* TemplateControl.cs:
* TemplateControl.jvm.cs:
* XPathBinder.cs:
added missing API.
2007-05-03 Igor Zelmanovich <[email protected]>
* CssStyleCollection.cs: optimization:
used StringBuilder instead string to hold value.
When added key that not exists in collection, value is recalculated by
appending required key to existing value.
2007-05-02 Igor Zelmanovich <[email protected]>
* Control.cs: ResolveClientUrl: optimization.
if basePath is the same as TemplateSourceDirectory
releativeUrl is returned as is.
2007-05-02 Igor Zelmanovich <[email protected]>
* Control.cs:
ResolveClientUrl considers TemplateSourceDirectory property.
2007-05-01 Marek Habersack <[email protected]>
* PageParser.cs: clientTarget comparisons must be case-insensitive
2007-04-30 Konstantin Triger <[email protected]>
* DataBinder.cs: When formatting, threat empty string as null.
2007-04-27 Marek Habersack <[email protected]>
* TemplateControlParser.cs: 2.0 allows 'Namespace' without the
'Assembly' attribute on tag prefix registration.
* TemplateParser.cs: do not rely on assembly name being not null.
2007-04-19 Gert Driesen <[email protected]>
* TemplateParser.cs: On 2.0 profile, allow namespace in ClassName
attribute. Fixes part of bug #81399.
2007-04-11 Marek Habersack <[email protected]>
* Page.cs: check whether control passed to
RegisterRequiresPostBack implements the IPostBackDataHandler
interface.
2007-04-06 Marek Habersack <[email protected]>
* ClientScriptManager.cs: render the 'type' attribute in
WriteScript and do not render the 'language' attribute when in
NET_2_0+ mode.
* Page.cs: defaults for ViewStateEncrptionMode and AsyncTimeout
are read from the pages section, if found.
* TemplateControlParser.cs: added support for loading
pages/controls defaults from web.config even if the page/control
does not have its corresponding directive.
Added support for reading the CompilationMode attribute.
* PageParser.cs: added support for loading pages/controls defaults
as above. Fixes bug #80915.
Added support for reading the maxPageStateFieldLength setting.
Added support for reading the pageParserFilter setting.
* ControlBuilder.cs: allow tag mappings from code found
in bin/* or App_Code/*. Fixes bug #80811.
2007-03-29 Vladimir Krasnov <[email protected]>
* TemplateControl.jvm.cs: performance improvement, added cache for
methods and events in user code
2007-03-26 Marek Habersack <[email protected]>
* TemplateControl.cs: make local resources work with master
pages - use the AppRelativeVirtualPath for resource resolution.
* TemplateParser.cs: support the meta:resourcekey attribute in
Page and Control directives. Fixes bug #81204.
2007-03-21 Marek Habersack <[email protected]>
* UnknownAttributeDescriptor.cs: an internal helper class for
custom directive attributes support.
* BaseParser.cs: ThrowParseException can now take variadic
parameters, for convenience.
* TemplateParser.cs: add support for custom attributes for the
Page and Control directives.
Added support for the CodeFileBaseClass directive. Fixes bug #81132
2007-03-20 Igor Zelmanovich <[email protected]>
* Control.cs: fixed ResolveClientUrl method.
2007-03-18 Marek Habersack <[email protected]>
* BaseParser.cs: fix BaseVirtualDir to always return app-absolute
paths.
2007-03-17 Marek Habersack <[email protected]>
* MasterPageParser.cs: remove superfluous #ifdef
* TemplateParser.cs: use VirtualPathUtility here
2007-03-14 Vladimir Krasnov <[email protected]>
* TemplateControl.jvm.cs: fixed WireupAutomaticEvents, performance
optimization
2007-03-13 Marek Habersack <[email protected]>
* TemplateParser.cs: name generated classes the same way MS.NET
does - include the app-relative path to the control/page in the
class name.
2007-03-13 Adar Wesley <[email protected]>
* Page.cs: improved Async Page implementation.
2007-03-13 Marek Habersack <[email protected]>
* TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
#80634.
2007-03-12 Marek Habersack <[email protected]>
* RootBuilder.cs: change the error text to be less misleading.
2007-03-12 Igor Zelmanovich <[email protected]>
* AttributeCollection.cs:
* CssStyleCollection.cs: fixed: works w/o state bag.
2007-03-12 Igor Zelmanovich <[email protected]>
* HtmlTextWriter.cs: fixed:
- Fixed writing background-image style attribute (different behavior in
1.1 and 2.0).
- Does not encode 'name' attribute.
- Always encode style attributes (for 2.0 only).
2007-03-06 Adar Wesley <[email protected]>
* Page.cs: initial implementation of support for Async=true. Added
initial support for ViewStateEncryption. Implemented
CreateHtmlTextWriterFromType.
* PageAsyncTask.cs: Created class to support Async pages.
* ObjectStateFormatter.cs: Added support for ViewState encryption.
* HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
to conform to MS behavior.
2007-03-05 Vladimir Krasnov <[email protected]>
* Control.jvm.cs: fixed TemplateSourceDirectory property
2007-03-03 Marek Habersack <[email protected]>
* TemplateParser.cs: support but ignore the Async and AsyncTimeOut
page directive attributes.
Support the LinePragmas page directive attribute.
* PageParser.cs: added support for the
MaintainScrollPositionOnPostBack page directive attribute.
2007-02-26 Igor Zelmanovich <[email protected]>
* TemplateControl.cs:
* TemplateControl.jvm.cs: fixed: AutoEventWireup feature:
Method 'Page_XXX' is declared in the base class must be
called even is private.
2007-02-26 Vladimir Krasnov <[email protected]>
* Control.cs: fixed AppRelativeTemplateSourceDirectory property, should
not return AppRelativeTemplateSourceDirectory of master page
2007-02-26 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: fixed: GetScriptLiteral escapes back-slash:
2007-02-22 Igor Zelmanovich <[email protected]>
* TemplateControl.cs: added missing property AppRelativeVirtualPath
2007-02-21 Konstantin Triger <[email protected]>
* TemplateParser.cs: remove CodeGenerator.IsValidLanguageIndependentIdentifier
check from Global.asax inherits attribute to let inherits="A.B" construct.
2007-02-20 Igor Zelmanovich <[email protected]>
* ObjectStateFormatter.cs:
optimization for serialization of primitive type arrays
2007-02-19 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
* Control.cs:
* Page.cs:
implemented PostBackOptions.TrackFocus feature.
2007-02-14 Igor Zelmanovich <[email protected]>
* Page.cs: for 2.0: refactoring:
prepare infrastructure for Form.SubmitDisabledControls feature
2007-02-18 Eyal Alaluf <[email protected]>
* Control.jvm.cs, Control.cs: Move TemplateSourceDirectory to .jvm file.
* Control.jvm.cs, Page.jvm.cs: Centralize Portlet specific API in Page.jvm
* Page.cs, Page.jvm.cs, ClientScriptManager.cs: Support for Http callbacks
for J2EE portlets.
2007-02-14 Igor Zelmanovich <[email protected]>
* Page.cs: for 2.0:
'__EVENTTARGET' and '__EVENTARGUMENT' hidden fields are
registered only once.
2007-02-14 Igor Zelmanovich <[email protected]>
* Page.cs: for 2.0: '__doPostBack' declared as function of form.
convention to use 'currForm' instead 'myForm'
2007-02-14 Igor Zelmanovich <[email protected]>
* Page.cs:
* ClientScriptManager.cs:
including 'webform.js' requires '__doPostBack' on the form be rendered.
2007-02-14 Igor Zelmanovich <[email protected]>
* Page.cs:
* ClientScriptManager.cs:
refactoring: 'theForm' variable is always declared on client.
'__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using
RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form.
2007-02-14 Vladimir Krasnov <[email protected]>
* Page.cs: fixed OnInit, adding css should throw exception if no header
present on the page
2007-02-14 Igor Zelmanovich <[email protected]>
* Page.cs: __doPostBack considers 2.0 features
such RegisterOnSubmitStatement
2007-02-14 Igor Zelmanovich <[email protected]>
* Page.cs:
* ClientScriptManager.cs:
implemented RegisterOnSubmitStatement for 2.0
2007-02-13 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: EventValidation feature optimization on Callback.
2007-02-13 Igor Zelmanovich <[email protected]>
* Page.cs: fixed exception handling on Callback at client.
2007-02-08 Marek Habersack <[email protected]>
* Page.cs: Make sure to create specific cultures.
2007-02-08 Vladimir Krasnov <[email protected]>
* ClientScriptManager.cs: added array declaration also as member of
form in TARGET_J2EE for j2ee portal support.
Added validators context init for GetClientValidationEvent under
TARGET_J2EE for j2ee portal support.
* Page.cs: fixed OnFormPostRender, render array declarations after
postback script.
2007-02-04 Igor Zelmanovich <[email protected]>
* Page.cs:
* ClientScriptManager.cs:
client scripts (webform.js, callback.js and
MaintainScrollPositionOnPostBack.js) were merged into one resource file.
2007-02-04 Igor Zelmanovich <[email protected]>
* Page.cs:
http://msdn2.microsoft.com/en-us/library/ms178141.aspx
LAMESPEC: on Callback IsPostBack is set to false, but true.
2007-02-04 Igor Zelmanovich <[email protected]>
* Page.cs:
VerifyRenderingInServerForm does not fire exception when IsCallback
2007-02-04 Igor Zelmanovich <[email protected]>
* Page.cs:
* ClientScriptManager.cs:
fixed RegisterClientScriptInclude: all includes that was registered before
rendering are rendered at begin form.
2007-02-02 Marek Habersack <[email protected]>
* TemplateParser.cs: Do not register controls here.
2007-02-02 Adar Wesley <[email protected]>
* Control.cs: Changed UniqueId implementation to have '$' and not ':'
to conform to MS. This led to updating several Tests that referenced
the UniqueId as string.
2007-01-30 Eyal Alaluf <[email protected]>
* ClientScriptManager.cs: Fix Igor's last changes for TARGET_JVM.
2007-01-29 Igor Zelmanovich <[email protected]>
* Page.cs:
* ClientScriptManager.cs:
CallBack works with EvantValidation.
2007-01-25 Eyal Alaluf <[email protected]>
* Page.cs: Change code to use the 'theForm' property when generating
JavaScript code. Ensure that we pass 'theForm' as param to the JS funcs.
* Page.jvm.cs, Control.jvm.cs: Implement the 'theForm' property to include
the portlet namespace. Moved 'PortletNamespace' from Control.jvm.cs
* Page.jvm.cs, Control.jvm.cs, ClientScriptManager.cs: Added support for
saving hidden fields for TARGET_J2EE Portlets re-render.
* Control.cs: Under TARGET_J2EE portal support add the PortletNamespace
to all the control IDs to ensure they different between portlets.
2007-01-24 Vladimir Krasnov <[email protected]>
* Page.cs: fixed CheckForValidationSupport,
SupportsEventValidationAttribute should be checked at only one level
2007-01-23 Vladimir Krasnov <[email protected]>
* TemplateControl.jvm.cs: ParseControl not supported, added limited
implementation if TestDeviceFilter
2007-01-22 Konstantin Triger <[email protected]>
* ClientScriptManager.cs: ensure the callback client script is
registered before the client script includes are rendered.
2007-01-22 Konstantin Triger <[email protected]>
* Page.cs, ClientScriptManager.cs: ensure the web form client script is
registerd before the client script includes are rendered.
2007-01-21 Konstantin Triger <[email protected]>
* Page.cs: move the WriteClientScriptIncludes to the top of the form,
according to the MSDN.
2007-01-20 Miguel de Icaza <[email protected]>
* XhtmlTextWriter.cs: comment out unused code.
* ThemeProvider.cs: comment out unused code.
* DataSourceView.cs: Comment unused variable.
* ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
code
* Control.cs: Put _templateControl inside the NET_2_0 ifdef
2007-01-20 Marek Habersack <[email protected]>
* TemplateParser.cs: Check whether the base type is in the root
namespace.
2007-01-18 Eyal Alaluf <[email protected]>
* Control.jvm.cs: Added PortletNamespace property.
2007-01-16 Vladimir Krasnov <[email protected]>
* TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
* Control.cs: moved TemplateSourceDirectory from TemplateControl for
TARGET_JVM, fixed AppRelativeTemplateSourceDirectory
2007-01-16 Vladimir Krasnov <[email protected]>
* TemplateControl.jvm.cs: added 2.0 event names for wiring up
2007-01-15 Ilya Kharmatsky <ilya - at - decode-systems.com>
* Control.cs:
- IsViewStateEnabled - removed check for non-null page, since
the control by definition should come with enabled
view state, even if it not 'attached' to the page
- HasEvents() - implementation (still could produce bug in exotic scenarios
when all events added to 'this' control has been removed
through the property 'Events', but currently we can't see
better implementation)
2007-01-14 Eyal Alaluf <[email protected]>
* Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files.
* Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal
support for TARGET_J2EE.
2007-01-12 Miguel de Icaza <[email protected]>
* Control.cs: Remove comment, it provides no information about
what could be wrong.
2007-01-08 Vladimir Krasnov <[email protected]>
* PageTheme.cs: implemented
* Page.cs: fixed InitializeTheme, added PageTheme page initialization
* TemplateControl.cs,
* TemplateControl.jvm.cs: added XPath, XPathSelect overloads with
IXmlNamespaceResolver parameter
* XPathBinder.cs: added Eval, Select overloads with
IXmlNamespaceResolver parameter, refactored
2007-01-08 Vladimir Krasnov <[email protected]>
* TemplateControl.jvm.cs: added GetGlobalResourceObject
2007-01-07 Igor Zelmanovich <[email protected]>
* Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.
2007-01-04 Igor Zelmanovich <[email protected]>
* Control.cs: ensure 'id' attribute will be rendered if
ClientID was accessed but ID is generated by the Page,
important for custom controls developing.
2007-01-04 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: InitializeCulture should be called
before creating controls.
2007-01-03 Marek Habersack <[email protected]>
* Page.cs: Make sure the ValidatorOnSubmit function is defined for the
document before attempting to use it.
2007-01-01 Vladimir Krasnov <[email protected]>
* Control.cs: fixed ResolveClientUrl, wrong when control that calls
this method and the page are in different folders
2006-12-31 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: show the validation summary when client validation and
linkbuttons are used. Patch by Juraj Skripsky.
2006-12-31 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: EventValidation is not performed for CallBack request.
2006-12-27 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: RegisterRequiresPostBack feature.
2006-12-21 Marek Habersack <[email protected]>
* ControlBuilder.cs: Add support for tag mapping in 2.0
2006-12-20 Marek Habersack <[email protected]>
* TemplateParser.cs: make sure Context.ApplicationInstance is not
valid before adding application assembly.
2006-12-11 Igor Zelmanovich <[email protected]>
* Page.cs: fixed and optimized ProcessPostData
The "second try" used for controls that created at OnLoad.
fixed for controls that use RgisterRequeresPostBack to handle post data.
2006-11-29 Igor Zelmanovich <[email protected]>
* Page.cs: The specified theme must exist as either an application theme.
If the theme does not exist, an HttpException exception s thrown.
2006-12-09 Marek Habersack <[email protected]>
* HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used
also in the 1.x profile)
* ObjectStateFormatter.cs: Implement the IStateFormatter interface
* ClientScriptManager.cs: Use IStateFormatter instead of
LosFormatter.
Use the IStateFormatter interface when registering the hidden
field with the state.
* LosFormatter.cs: Use ObjectStateFormatter
* PageStatePersister.cs: Make the class available as internal for
1.x profile.
Constructor throws an exception on its page parameter being null.
Implemented several properties: ControlState, ViewState, Page,
StateFormatter
* Page.cs: Use new state persister for all the profiles.
Use the new HiddenFieldPageStatePersister class.
* IStateFormatter.cs: Make the class available as internal for 1.x profile.
2006-12-04 Vladimir Krasnov <[email protected]>
* TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization
2006-11-29 Marek Habersack <[email protected]>
* TemplateParser.cs: if the OutputCache directive is present, make
sure the cache does not expire the current output.
2006-11-29 Igor Zelmanovich <[email protected]>
* Page.cs: added missing methods and properties:
AsyncMode
AsyncTimeout
IsAsync
UniqueFilePathSuffix
MaxPageStateFieldLength
ViewStateEncryptionMode
AddOnPreRenderCompleteAsync
AddOnPreRenderCompleteAsync
ExecuteRegisteredAsyncTasks
CreateHtmlTextWriterFromType
RegisterRequiresViewStateEncryption
2006-11-29 Igor Zelmanovich <[email protected]>
* Page.cs: Master property returns null when no HttpContext.
2006-11-29 Igor Zelmanovich <[email protected]>
* Page.cs: InitializeCulture method is called before OnPreInit.
2006-11-28 Marek Habersack <[email protected]>
* TemplateControlParser.cs: Use the new TemplateParser methods to
register controls/namespaces
* TemplateParser.cs: Implement support for the
system.web/pages/namespaces collection instead of hard-coding the
namespaces into the source.
Refactoring: added two internal methods to handle both the
system.web/pages/controls registration and the Register directive.
Added a new internal method to pull the system.web/pages/controls
collection before parsing.
2006-11-27 Marek Habersack <[email protected]>
* SimpleWebHandlerParser.cs: Added support for looking up types in
the top-level assemblies (App_Code et al)
2006-11-27 Igor Zelmanovich <[email protected]>
* Control.cs: implemented EnsureID method.
2006-11-27 Igor Zelmanovich <[email protected]>
* Control.cs: implemented Focus methods.
2006-11-27 Igor Zelmanovich <[email protected]>
* Page.cs: implemented SetFocus methods.
* PageLifeCycle.cs:
2006-11-27 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: refactoring:
extracted method RegisterWebFormClientScript
2006-11-27 Igor Zelmanovich <[email protected]>
* Control.cs: implemented OpenFile()
2006-11-26 Igor Zelmanovich <[email protected]>
* Page.cs:
* Control.cs:
implemented ClearChildState(), ClearChildControlState() and
IsChildControlStateCleared
2006-11-26 Igor Zelmanovich <[email protected]>
* Page.cs:
* ClientScriptManager.cs:
implemented RegisterExpandoAttribute feature
2006-11-23 Igor Zelmanovich <[email protected]>
* ListSourceHelper.cs: optimization of implementation
2006-11-23 Igor Zelmanovich <[email protected]>
* ListSourceHelper.cs: implemented
2006-11-21 Igor Zelmanovich <[email protected]>
* DataSourceView.cs: fixed: constructor throws ArgumentNullException
2006-11-21 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: PreviousPage property
when CrossPostBack is processed PreviousPage is initialized
only if PreviousPage property is called.
2006-11-21 Igor Zelmanovich <[email protected]>
* DataSourceControl.cs: fixed: Focus(), EnableTheming
2006-11-21 Marek Habersack <[email protected]>
* Control.cs: Make ClientIDSeparator private for !NET_2_0
2006-11-21 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: LoadControlState is called for controls
that added on Load and latter
2006-11-20 Marek Habersack <[email protected]>
* Control.cs: Implementations of a few missing properties.
* Page.cs: Added support for automatic culture detection from the
user's browser.
* PageParser.cs: Added support for "auto" cultures in the Page
directive.
2006-11-20 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: fixed: ValidateEvent feature:
client side return eventArgument as empty string
for controls that set it as null
2006-11-18 Marek Habersack <[email protected]>
* ClientScriptManager.cs: Implemented two missing
GetPostBackEventReference overloads. Made one of the overloads
internal for .NET < 2.0.
2006-11-17 Marek Habersack <[email protected]>
* PostBackOptions.cs: Renamed the constructors parameters to match
those Microsoft .NET uses.
targetControl must not be passed null to the constructor.
* ClientScriptManager.cs: Support for event validation.
Implemented a GetPostBackHyperlink overload.
Implemented the RegisterForEventValidation methods.
Implemented the ValidateEvent method.
Added support for saving/restoring event validation state.
* Page.cs: EnableEventValidation can be set only from the config
files (the <pages> element), the Page directive or from
Page_Init. After Page_Init returns, an exception is thrown.
Made GetFormatter internal, so that ClientScriptManager can use
it.
Added the internal LifeCycle property which contains the current
life cycle stage of the page request processing.
Added calls to save/restore event validation state.
Added checks for whether child controls of the page support event
validation or not.
Added calls to ClientScriptManager.ValidateEvent in appropriate
places.
* PageLifeCycle.cs: Added the PageLifeCycle enum, used in event
validation.
2006-11-16 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs:
* ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
empty strings.
2006-11-16 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs: 'using' for file reading.
2006-11-16 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: revert r67514 until after tagging for the next release.
2006-11-12 Igor Zelmanovich <[email protected]>
* LiteralControl.cs: fixed: constructors & Text property
2006-11-09 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: LoadControlState is called for controls
that added on Load and latter, for 1.x refactoring only
2006-11-02 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs:
fixed: checks arguments for null in public methods,
fixed public interface.
2006-10-23 Igor Zelmanovich <[email protected]>
* PostBackOptions.cs: fixed: default values of properties
2006-10-22 Igor Zelmanovich <[email protected]>
* CssStyleCollection.cs:
* AttributeCollection.cs:
fixed: style collection is synchronized with style attribute
2006-10-19 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: fixed: renders id attribute in hidden field
2006-10-18 Marek Habersack <[email protected]>
* TemplateParser.cs: reference System.Resources when compiling a
control.
* TemplateControl.cs: implement the GetGlobalResourceObject
ASP.NET 2.0 APIs.
2006-10-12 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: for 2.0 only
When Page processes Callback IsPostBack = false, but it still needs
LoadViewState/ControlState and ProcessPostData
2006-10-11 Igor Zelmanovich <[email protected]>
* DataSourceSelectArguments.cs: fixed:
SortExpression not returns null,
Empty property returns new instance each time
2006-10-10 Igor Zelmanovich <[email protected]>
* DataSourceSelectArguments.cs:
fixed: RaiseUnsupportedCapabilitiesError method.
2006-10-09 Igor Zelmanovich <[email protected]>
* DataSourceSelectArguments.cs: fixed: Equals method.
2006-10-09 Gonzalo Paniagua Javier <[email protected]>
* CssStyleCollection.cs: don't clear the collection of properties, but
create a new one.
2006-10-06 Gonzalo Paniagua Javier <[email protected]>
* CssStyleCollection.cs: 'style' can be modified on our back, so build
the style table every time instead of keeping one that is not in sync.
Fixes bug #79587.
2006-09-25 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
When page is invoked by cross-page posting, PreviousPage processed all
live-cycle up to OnLoadComplite included.
IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
2006-09-20 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: patch by Joel Reed that makes use of the namespace
collection from the PagesConfiguration to add new namespaces when
generating the page/control code.
2006-09-18 Gonzalo Paniagua Javier <[email protected]>
* PageParser.cs: support the EnableEventValidation attribute.
2006-09-18 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: Title property works properly
2006-09-17 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: added helper method
2006-09-14 Igor Zelmanovich <[email protected]>
* Page.cs: fixed: GetValidators(string), Validate(string) works properly
2006-09-08 Robert Jordan <[email protected]>
* Page.cs: assure that RenderTrace is called even if an
exception occurred. Fixes bug #78930.
2006-09-08 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: search for the new Page_* event handlers in 2.0.
Patch by Marek Habersack that fixes bug #78268.
2006-09-07 Lluis Sanchez Gual <[email protected]>
* Page.cs: Use lowercase getElementById in the javascript that
checks the browser.
2006-08-22 Vladimir Krasnov <[email protected]>
* KeyedListEnumerator.cs: fixed Current property to return real object
instead of DictionaryEntry
2006-09-06 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: don't use the Browser object, as it slows down process
request time *a lot*. Fixes bug #79206.
2006-09-05 Konstantin Triger <[email protected]>
* Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
* OutputCacheParameters.cs: added an implementation.
2006-09-04 Igor Zelmanovich <[email protected]>
* CssStyleCollection.cs: fixed: background-image style attribute
2006-08-31 Konstantin Triger <[email protected]>
* StaticPartialCachingControl.cs: added forwarding implementation for
2.0 version of BuildCachedControl().
2006-08-30 Igor Zelmanovich <[email protected]>
* Page.cs: added internal method
* ClientScriptManager.cs:
2006-08-30 Igor Zelmanovich <[email protected]>
* ClientScriptManager.cs: added helper method
2006-08-22 Vladimir Krasnov <[email protected]>
* Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string
if compiled with .net aspx parser
fixed OnInit, GetStyleSheets may return null if no css files found by
.net aspx parser
2006-08-22 Vladimir Krasnov <[email protected]>
* TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access
modifiers check on event handlers
2006-08-22 Vladimir Krasnov <[email protected]>
* Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx
parser 2.0
* TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
fixed TemplateSourceDirectory, should not work on master pages.
2006-08-20 Vladimir Krasnov <[email protected]>
* MasterPageParser.jvm.cs: fixed path resolving
GetCompiledMasterInstance
2006-08-17 Vladimir Krasnov <[email protected]>
* TemplateControl.jvm.cs: fixed data binding API, implemented
AppRelativeVirtualPath, ReadStringResource
2006-08-17 Vladimir Krasnov <[email protected]>
* Page.cs: added stubs to run aspx files compiled by .net
2006-08-17 Vladimir Krasnov <[email protected]>
* MasterPageParser.jvm.cs: implemented
2006-08-10 Andrew Skiba <[email protected]>
* Page.cs: render css path as a virtual path.
2006-08-09 Robert Jordan <[email protected]>
* Control.cs: add the 2.0 ResolveClientUrl method.
Expose ResolveClientUrl as internal for the 1.1 profile.
Fixes bug #77539.
2006-08-08 Vladimir Krasnov <[email protected]>
* added MasterPageParser.jvm.cs
2006-08-08 Vladimir Krasnov <[email protected]>
* ControlBuilder.jvm.cs: added BuildObject method
2006-08-08 Vladimir Krasnov <[email protected]>
* ParseChildrenAttribute.cs: fixed ChildControlType property to
compliant to .net
* UserControl.cs: fixed ParseChildren attribute to be compliant
to .net
2006-08-08 Igor Zelmanovich <[email protected]>
* Page.cs: implemented MaintainScrollPositionOnPostBack feature
2006-08-06 Vladimir Krasnov <[email protected]>
* Control.cs: fixed EnableTheming proprty, fixes bug when child
control has EnableTheming=false and parent has true.
2006-07-31 Vladimir Krasnov <[email protected]>
* MasterPage.cs: fixed default values, fixed AddContentTemplate
2006-07-31 Vladimir Krasnov <[email protected]>
* Control.cs: fixed EnableTheming proprty, fixes the bug when skins
are applied even if EnableTheming property was set to false.
2006-07-24 Andrew Skiba <[email protected]>
* DataSourceView.cs: refactor to keep the original exception stack.
2006-07-21 Gonzalo Paniagua Javier <[email protected]>
* PostBackOptions.cs: default to String.Empty for several field values.
Patch by Marek Habersack.
2006-07-20 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: when ProcessRequest is not called, get the session from
the current context. Fixes bug #78730.
2006-07-20 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
by Peijen Lin that closes bug #78646.
2006-06-14 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlParser.cs: fix compilation caching when more than one
@control is compiled from source. Closes bug #78626.
2006-06-14 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: add the 2.0 Items property. Fixes bug #78467.
2006-06-14 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: use the new internal LosFormatter.SerializeToBase64.
* LosFormatter.cs: always work on base 64 strings even if the
input/output is on a Stream. Fixes bug #78640.
2006-06-08 Konstantin Triger <[email protected]>
* Page.cs: For loading themes, use '~/App_Themes' instead of
'./App_Themes' to enable theme support for files in sub folders.
2006-05-25 Andrew Skiba <[email protected]>
* Control.cs: move 2.0 stuff into ifdef NET_2_0
2006-05-25 Andrew Skiba <[email protected]>
* Page.cs, Control.cs: Fix the order of OnInit invocation of controls
created via master page content (see
http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
2006-05-11 Andrew Skiba <[email protected]>
* Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the
PageTheme and from StyleSheetPageTheme to insert links in page header.
2006-05-10 Andrew Skiba <[email protected]>
* TemlpateParser.cs: surround file name with quotes
2006-05-08 Chris Toshok <[email protected]>
* ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
fixes the last thing keeping the test in #76818 from working.
2006-05-07 Andrew Skiba <[email protected]>
* Page.cs: if no theme is defined in aspx, read default from web.config.
Same for the style sheet theme.
2006-04-27 Andrew Skiba <[email protected]>
* TemplateParser.cs: format according to
http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html
2006-04-25 Chris Toshok <[email protected]>
* PageThemeParser.cs (LinkedStyleSheets): reformat.
2006-04-25 Konstantin Triger <[email protected]>
* Control.cs: implementation for IsViewStateEnabled.
2006-04-25 Andrew Skiba <[email protected]>
* Control.cs: fix null pointer exception
2006-04-23 Andrew Skiba <[email protected]>
* PageThemeParser.cs: add LinkedStyleSheets property
2006-04-16 Andrew Skiba <[email protected]>
* TemplateParser.cs: add internal method AddAssemblyByFileName
2006-04-16 Konstantin Triger <[email protected]>
* SimpleWebHandlerParser.cs: correctly resolve GACs dependencies.
2006-04-11 Konstantin Triger <[email protected]>
* Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem().
2006-04-10 Chris Toshok <[email protected]>
* PageThemeFileParser.cs (AddDirective): allow Register directives
in skin files.
2006-04-02 Chris Toshok <[email protected]>
* Control.cs (DesignMode): always return false for now. Fixes
#77991.
2006-03-24 Gonzalo Paniagua Javier <[email protected]>
* ControlBuilder.cs: when creating a default property builder, handle
strings specially.
* StringPropertyBuilder.cs: new builder used in TextBox 2.0.
2006-03-15 Vladimir Krasnov <[email protected]>
* ControlCollection.cs: fixed CopyTo method, fixes bug when if target
index is not zero
2006-03-13 Chris Toshok <[email protected]>
* HtmlTextWriterTag.cs: no [Serializable] in 2.0.
* HtmlTextWriterAttribute.cs: same.
* HtmlTextWriterStyle.cs: same.
* VirtualReferenceType.cs: new enum.
2006-03-13 Chris Toshok <[email protected]>
* UserControl.cs: rework InitializeAsUserControl and
InitializeAsUserControlInternal - the Internal variety doesn't set
this.page to null now.
* MasterPage.cs (CreateMasterPage): map the masterPageFile path,
and also remove a line of spew.
2006-03-09 Vladimir Krasnov <[email protected]>
* Added PageParser.jvm.cs, WebServiceParser.jvm.cs
2006-03-07 Chris Toshok <[email protected]>
* Page.cs (InitializeStyleSheet): load the style sheet theme using
ThemeDirectoryCompiler.
(InitializeTheme): load the page's theme using
ThemeDirectoryCompiler.
(InternalProcessRequest): call InitializeTheme after OnPreInit.
(FrameworkInitialize): call InitializeStyleSheet.
(PageTheme,StyleSheetPageTheme): new properties to get the
respective themes.
* Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
on the ControlSkin (if there is one) for this control in the
page's StyleSheetSkin.
(ApplyThemeRecursively): applies the page's theme recursively to
the control hierarchy. Must be done this way because the control
tree is already present when we apply the theme (it has to be,
since theme's override settings).
* PageTheme.cs (GetControlSkin): add internal call to do the
lookup for us.
* PageThemeFileParser.cs: the parser object that represents each
individual skin file.
* PageThemeParser.cs: the parser object that represents the entire
theme directory.
* PageThemeBuilder.cs: this class generates the right exception on
the right event, but it's not hooked up yet.
2006-03-02 Chris Toshok <[email protected]>
* Control.cs (ApplyStyleSheetTheme): remove the exception, and add
a MonoTODO.
* Page.cs (Theme): implement setter/getter.
(StyleSheetTheme): same.
* PageParser.cs (ProcessMainAttributes): parse the Theme and
StyleSheetTheme attributes.
2006-02-27 Chris Toshok <[email protected]>
* TemplateControl.cs: corcompare work.
* ExpressionBindingCollection.cs: same.
* HierarchicalDataSourceControl.cs: same.
* PostBackOptions.cs: same.
* ClientScriptManager.cs: same.
* FilterableAttribute.cs: same.
* ControlCollection.cs: same.
* DataBindingCollection.cs: same.
* PropertyEntry.cs: mark ctor internal.
* SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.
* Page.cs: stub out two Theme oriented 2.0 properties.
* DataBinder.cs: remove the obsolete attribute on the ctor.
* TwoWayBoundPropertyEntry.cs: remove this.
* ControlBuilder.cs (BindingContainerType): virtual in 2.0.
* ThemeProvider: new (stubbed) class.
* SkinBuilder.cs: same.
* PageTheme.cs: same.
* ControlSkin.cs: same.
* ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.
* SimplePropertyEntry.cs: mark ctor as internal.
* IThemeResolutionService.cs: enable the 3 members of this
interface.
2006-02-27 Chris Toshok <[email protected]>
* ListSourceHelper.cs: this class is static.
* Page.cs: add some EditorBrowsable attributes to the 2.0 events.
2006-02-27 Chris Toshok <[email protected]>
* DataSourceView.cs: Name isn't virtual.
* DataSourceControl.cs: beat this class over the head with the
corcompare stick.
* DataSourceControlBuilder.cs: new stubbed control builder for
DataSourceControl.
2006-02-23 Chris Toshok <[email protected]>
* Page.cs: more corcompare work.
2006-02-23 Chris Toshok <[email protected]>
* Page.cs (ProcessCallbackData): track change to
ICallbackEventHandler iface.
* ICallbackEventHandler.cs: enable the proper members of this
interface.
* DataSourceSelectArguments.cs: reformat getter/setters.
2006-02-22 Cesar Lopez Nataren <[email protected]>
* HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
2006-02-14 Gonzalo Paniagua Javier <[email protected]>
* WebHandlerParser.cs:
* WebServiceParser.cs:
* UserControlParser.cs:
* PageParser.cs: added new ctor that uses a TextReader as input.
* TemplateControlParser.cs: new Reader property.
* SimpleWebHandlerParser.cs: new Reader property and ctor.
2006-02-12 Cesar Lopez Nataren <[email protected]>
* HtmlTextWriter.cs: Implemented IsValidFormAttribute and
WriterBreak for the .NET 2.0 profile.
2006-02-10 Gonzalo Paniagua Javier <[email protected]>
* IThemeResolutionService.cs: this is now added to the
sources file, but some other stuff does not compile yet as the
interface changed after the beta.
* ObjectConverter.cs: removed extra attribute.
* ObjectStateFormatter.cs: add IStateFormatter for 2.0.
* ICallbackEventHandler.cs: update the interface, but commented the
'good' stuff out, since other files need to be fixed too.
2006-02-07 Chris Toshok <[email protected]>
* ControlBuilder.cs: rename flushOutputStatements to
methodStatements to at least reflect that they're in that method.
2006-02-07 Chris Toshok <[email protected]>
* MasterPage.cs (CreateMasterPage): don't nullref on null
contentTemplateCollection.
* ControlBuilder.cs: add a flushOutputStatements field.
* PageParser.cs (ProcessMainAttributes): handle Title attribute.
(Title): add getter.
* Page.cs (Title): implement getter/setter.
(InternalProcessRequest): after calling ApplyMasterPage, apply the
page's Title directive if there is one.
(AddContentTemplate): make the EditorBrowsable attribute apply to
the method, not the field.
2006-02-07 Chris Toshok <[email protected]>
* MasterPage.cs: rework this file, adding some static methods
gleaned from MS stack traces, and clear up the propogation of
content templates between nested master pages.
* Control.cs (TemplateControl): implement.
* TemplateControl.cs: re-indent some of the code.
(ReadStringRecource): according to msdn2, these throw
NotSupportedException.
* MasterPageParser.cs (HandleOption): implement. assign our
master page's MasterPageFile from the UserControl property.
* UserControl.cs (InitializeAsUserControlInternal): new method
that allows initialization without a page.
* UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
MasterPageFile attributes, so we can have nested master pages.
(MasterPageFile): add a 2.0 specific property.
* TemplateControlParser.cs: in .net 2.0, our base class is
BaseTemplateParser.
(HandleOptions): be consistent and call base.HandleOptions.
* BaseTemplateParser.cs: new (stubbed) class.
* MasterPageControlBuilder.cs: new file, not filled in (and really
not used either.)
* Page.cs (InternalProcessRequest): call ApplyMasterPage.
(SaveExistingContentTemplates): nuke.
(ReapplyExistingContentTemplate): nuke.
(ApplyMasterPage): if we have a master page, call
MasterPage.ApplyMasterPageRecursive with it and add it to our
controls.
(set_MasterPageFile): remove call to SaveExistingContentTemplates.
(get_Master): call MasterPage.CreateMasterPage.
(AddContentTemplate): keep track of the page's content templates
in a local Hashtable - they aren't our master page's content
templates.
2006-02-01 Chris Toshok <[email protected]>
* TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
calls to GetWebApplicationSection with GetSection.
* SimpleWebHandlerParser.cs: same.
* Page.cs: same.
* PageParser.cs: same.
* BaseParser.cs: same.
2006-01-27 Chris Toshok <[email protected]>
* MasterPage.cs (ContentTemplatesInternal): add get/set for the
actual Hashtable.
* Page.cs (SaveExistingContentTemplates): store off the existing
MasterPage content templates so they can be reapplied when setting
MasterPageFile to something else.
(ReapplyExistingContentTemplates): set masterPage's
ContentTemplates to our saved copy.
(set_MasterPageFile): save off the current content templates
before clearing masterPage.
(get_Master): reapply the saved content templates after we create
the new MasterPage.
2006-01-25 Chris Toshok <[email protected]>
* ClientScriptManager.cs (RegisterClientScriptResource): last
patch, I swear. How can 1 line of code have 3 bugs?
2006-01-25 Chris Toshok <[email protected]>
* ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
problem with last commit - unquote "resourceName" so it uses the
parameter instead of the string constant.
2006-01-22 Chris Toshok <[email protected]>
* RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
quiet mcs.
* PageParser.cs (ProcessMainAttributes): i missed a
CONFIGURATION_2_0 block.
* BoundPropertyEntry.cs (.ctor): mark as internal to fix
corcompare.
2006-01-18 Konstantin Triger <[email protected]>
* ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
2006-01-18 Konstantin Triger <[email protected]>
* HtmlTextWriter.cs: perform case insensitive compare;
return correct key in default case.
2006-01-11 Chris Toshok <[email protected]>
* ClientScriptManager.cs (RegisterClientScriptResource):
implement.
2006-01-11 Vladimir Krasnov <[email protected]>
* ObjectStateFormatter.cs: Removed TARGET_JVM parts in
TypeFormatter.Read
2006-01-10 Chris Toshok <[email protected]>
* Page.cs (ValidateCollection): in NET_2_0 if event validation is
off, return true.
2006-01-09 Chris Toshok <[email protected]>
* Page.cs: fix a lot of indentation, and add the
EnableEventValidation .net 2.0 property.
2006-01-09 Vladimir Krasnov <[email protected]>
* ObjectStateFormatter.cs: Merged TARGET_JVM parts in
TypeFormatter.Read, TypeFormatter.Write from /main/5
2006-01-09 Konstantin Triger <[email protected]>
* Page.cs: make ProcessRequest virtual under TARGET_JVM.
2006-01-04 Chris Toshok <[email protected]>
* TemplateParser.cs (.ctor): kinda gross, but handle the
AddAssembliesInBin case here.
* SimpleWebHandlerParser.cs (.ctor): same.
2006-01-04 Chris Toshok <[email protected]>
* SimpleWebHandlerParser.cs: Remove the declaration of
compilationConfig in the CONFIGURATION_2_0 case. it's
unnecessary.
(.ctor): ifdef out the AddAssembliesInBin call in the
CONFIGURATION_2_0 case. need to revisit this.
(CompilationConfig): add a CONFIGURATION_2_0 version.
* BaseParser.cs: Remove the declaration of compilationConfig in
the CONFIGURATION_2_0 case. it's unnecessary.
2005-12-08 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: use _controls instead of the property wherever possible.
2005-12-05 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: use the _controls field instead of the Controls property.
Fixes bug #76919.
2005-11-30 Sebastien Pouliot <[email protected]>
* KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
Now internal.
* KeyedListEnumerator.cs: Now internal.
2005-11-29 Gonzalo Paniagua Javier <[email protected]>
* ControlCollection.cs: allow 'null' in Remove.
2005-11-28 Chris Toshok <[email protected]>
* Page.cs (GetFormatter): CONFIGURATION_2_0 work.
* TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
(PagesConfig): add a CONFIGURATION_2_0 version that returns a
PagesSection.
* PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
* BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
version that returns a CompilationSection.
2005-11-22 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
2005-11-09 Chris Toshok <[email protected]>
* ViewStateEncryptionMode.cs: new 2.0 enum.
2005-11-08 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: fixes #76423. Not tested properly.
2005-11-07 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: call LoadViewStateRecursive when the Form collection has
not been used by a different page (GetTypeHashCode). This fixes problems
when calling Server.Transfer while preserving Form and QueryString,
as the page we transfer to used the view state stored in the Form, which
contained the serialized data for the page calling Server.Transfer
instead.
2005-10-31 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: add/remove the error before/after invoking OnError.
2005-10-27 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: call OnError when there's an exception (not for TAE). Fixes
bug #76572.
2005-10-25 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs:
* PartialCachingControl.cs: if a control is cacheable, LoadControl
returns a PartialCachingControl that holds the VaryBy* and takes care
of partial caching and rendering. Fixes bug #76547.
2005-10-17 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: don't cache the 'Validate()' results. IsValid retests
the validators again.
2005-09-29 Gonzalo Paniagua Javier <[email protected]>
* DesignerDataBoundLiteralControl.cs: changed autoid api.
* DataBoundLiteralControl.cs: changed autoid api.
* Control.cs: fixlet for UniqueID and weird test case. Removed
PreventAutoID and only use the property to set that value.
* LiteralControl.cs: changed autoid api.
2005-09-28 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: avoid code duplication and
don't add "style" to the bag, or it will overwrite the settings made
by CssStyleCollection.
* CssStyleCollection.cs: make it throw where MS throws.
Minimize the number of times we create the "style" string and take
care of updating it for the AttributeCollection. FillStyle and
BagToString are now private. One should use the 2.0 (internal in <2.0)
Value property.
2005-09-28 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fix HasChildViewStates.
2005-09-27 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: when the default ctor is used, MAC is disabled.
Fixes bug #76240.
2005-09-27 Gonzalo Paniagua Javier <[email protected]>
* ObjectTagBuilder.cs: only fail when no id and no attributes.
2005-09-23 Sebastien Pouliot <[email protected]>
* DataBindingCollection.cs: Using an hashtable is a nice trick but
we need to copy values (not the DictionaryEntry) in CopyTo.
* Page.cs: IsValid throws an exception if the page hasn't be
validated. VerifyRenderingInServerForm doesn't throw an exception
during unit testing (without a context?) but does in normal ops.
2005-09-23 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
save the allocation of new MemoryStreams when possible. Thanks to
Sebastien again.
2005-09-23 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Initial support for escaping.
2005-09-23 Gonzalo Paniagua Javier <[email protected]>
* ViewStateOutputHashStream.cs: Removed. It didn't last long.
* Page.cs: almost restored to its previous state, but now that we found
that LosFormatter ctor that takes 'enableMac', moved the logic to
add the hash and validate there. Thanks to Sebastien for his input.
* LosFormatter.cs: implemented the missing ctors and support for
"MAC" validation of the data.
2005-09-23 Gonzalo Paniagua Javier <[email protected]>
* Page.cs:
* ViewStateOutputHashStream.cs: added support for viewstate MAC. It
prevents the viewstate being altered on the client and it's disabled
by default as per the documentation, but MS machine.config has it
enabled in machine.config.
2005-09-22 Miguel de Icaza <[email protected]>
* DataBindingCollection.cs: Raise the event, remove MonoTODO.
* MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
string.
2005-09-21 Sebastien Pouliot <[email protected]>
* Control.cs: Added null checks for Trace as it can be null when
rendering (like it was for 39 unit tests).
2005-09-21 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: reverted hacks used with the wrong method of getting a
control rendered size.
* Control.cs: if the trace is enabled, save control rendered size.
2005-09-19 Sebastien Pouliot <[email protected]>
* Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
now use HtmlHeader directly.
* UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
rewrote Equals to avoid dual type cast.
2005-09-19 Sebastien Pouliot <[email protected]>
* SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
2005-09-19 Sebastien Pouliot <[email protected]>
* ControlBuilder.cs: Added BuildObject override for 2.0 profile.
* TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Fixed checks on ctor.
* TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* TemplateContainerAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* TemplateControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
Stubbed IFilterResolutionService for CAS testing.
* TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* TemplateParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Removed IDispose interface.
* ToolboxDataAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
to work on both 1.x and 2.0 profiles.
* Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
for AspNetHostingPermission with Minimal level.
* UserControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Stubbed
IFilterResolutionService for CAS testing.
* UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* ValidationPropertyAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* WebResourceAttribute.cs: Removed extra ctor and added setter to
PerformSubstitution.
* WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
2005-09-15 Sebastien Pouliot <[email protected]>
* ParseChildrenAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting. Added new ctor and public fields (2.0). Changed
ChildControlType setter visibility to internal.
* PartialCachingAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Added new ctor and
SqlDependency property (2.0).
* PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* PersistenceModeAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting.
* PersistChildrenAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals to avoid
casting.
* PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Class is static in 2.0.
* RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
AspNetHostingPermission with Minimal level. Class is no more sealed in
2.0. Added new (2.0) BuiltObjects property.
* SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* StateItem.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level.
* StateBag.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level. Removed SetDirty() which was called (2.0) but did
nothing.
* StaticPartialCachingControl.cs: Added LinkDemand and
InheritanceDemand for AspNetHostingPermission with Minimal level.
2005-09-15 Sebastien Pouliot <[email protected]>
* Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Added new 2.0 properties
(but the generated HTML doesn't use them).
* HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* LiteralControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Default Text is null.
* LosFormatter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
* ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
* ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Added check for null id (HttpException).
* Page.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Throw some HttpException
when no context is available.
* Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
level. InheritanceDemand too for 1.x.
* PageParser.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level.
2005-09-14 Sebastien Pouliot <[email protected]>
* DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level. Fixed some exceptions.
* DataBindingCollection.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Added 2.0 method and
event.
* DataBindingHandlerAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
Minimal level. Simplified Equals (reduced casts).
* DataBoundLiteralControl.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Implemented ITextControl
for 2.0.
* DesignerDataBoundLiteralControl.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Added new 2.0 properties.
* DesignTimeTemplateParser.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Made class static and
stubbed missing methods (2.0).
* EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level. Changed Add* methods
exceptions to HttpException.
2005-09-14 Sebastien Pouliot <[email protected]>
* AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* BaseParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* CompiledTemplateBuilder.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ConstructorNeedsTagAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ControlBuilderAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Simplified Equals and
IsDefaultAttribute.
* ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
* ControlCollection.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed possible stack
overflow in Add* methods. Fixed CopyTo as we're not allocating the
array based on the number of items.
* Control.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
* CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* IStyleSheet.cs: Fixed parameter orders (2.0).
2005-09-10 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: default VS 2005 pages are compiled fine now.
2005-09-07 Chris Toshok <[email protected]>
* MinimizableAttributeTypeConverter.cs: new class, whose existence
we know about because of corcompare, and for whose implementation
we have exclusively nunit to thank.
2005-09-06 Chris Toshok <[email protected]>
* RootBuilder.cs (.cctor): doh, add all the new html controls
here.
2005-08-31 Chris Toshok <[email protected]>
* DataSourceSelectArguments.cs (Empty): this is apparently,
according to corcompare, a property, not a field. go figure.
(Equals): implement.
(IsEmpty): remove all mention of it.
2005-08-29 Chris Toshok <[email protected]>
* StateBag.cs (GetChar): add.
2005-08-28 Chris Toshok <[email protected]>
* Page.cs: more random corcompare work.
(PageAdapter): implement.
2005-08-28 Chris Toshok <[email protected]>
* Page.cs (.ctor): set our initial ID to "__Page".
(SmartNavigation): obsolete in 2.0.
(FindControl): new implementation. Just check our own ID against
the control we're looking for. otherwise pass it along to
base.FindControl.
(GetPostBackClientHyperlink): obsolete in 2.0.
2005-08-28 Chris Toshok <[email protected]>
* ClientScriptManager.cs: public sealed in 2.0
* IAdaptableTextWriter.cs: new 2.0 interface.
* IHierarchyData.cs: fix return type for GetParent.
2005-08-28 Chris Toshok <[email protected]>
* Pair.cs: mark serializable and sealed in 2.0.
2005-08-26 Sebastien Pouliot <[email protected]>
* CssStyleCollection.cs: Implemented setter for Value (2.0) using the
existing (but internal) FillStyle method. Rewrote BagToString to use an
HtmlTextWriter so we get the "right" format for background-image url.
2005-08-26 Sebastien Pouliot <[email protected]>
* CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
the extra space from last patch because they break some unit tests.
2005-08-26 Lluis Sanchez Gual <[email protected]>
* CssStyleCollection.cs: Added some spacing.
* HtmlTextWriter.cs: Made style and attribute tables static.
Implemented StaticGetStyleName().
2005-08-26 Sebastien Pouliot <[email protected]>
* CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
compilation.
* HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
The new rendering formats the value as "url(" + original + ")".
2005-08-26 Sebastien Pouliot <[email protected]>
* HtmlTextWriter.cs: Added support for VerticalAlign style (as it
depends on the HtmlTextWriterStyle ordering).
2005-08-26 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
2005-08-25 Sebastien Pouliot <[email protected]>
* HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
fixed the rest of the enum values).
* UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
parameter to match 2.0 API. Added a setter to the AllowedTypes
property.
2005-08-24 Chris Toshok <[email protected]>
* Control.cs (get_Adapter): Instead of throwing an exception, just
return null, so we can write the rest of the Control specific
Adapter code and just not enable any of those code paths until we
have actual adapters. Also flag TODO.
(EnsureChildControls): Call out to Adapter.CreateChildControls if
we have an adapter.
(RenderChildren): call "RenderControl (writer, adapter)" if we
have an adapter.
(RenderControl): implement the adapter case naively.
(LoadRecursive): call out to Adapter.OnLoad if we have one.
(PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
we have one.
(InitRecursive): call out to Adapter.OnInit if we have one.
2005-08-24 Chris Toshok <[email protected]>
* Page.cs (GetPostBackEventReference): track change to
ClientScriptManager and don't call a removed method.
* ClientScriptManager.cs: track more recent docs and corcompare
output.
2005-08-24 Sebastien Pouliot <[email protected]>
* KeyedList.cs: Fixed bug when removing an unexisting object.
* StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
in implementing RoleGroupCollection.
2005-08-22 Sebastien Pouliot <[email protected]>
* Page.cs: Use Control property (and not the _control variable) to get
the User (so the virtual Control property can be overriden properly).
Sadly this doesn't seems to be the case for other properties (like
Request).
2005-08-18 Dick Porter <[email protected]>
* ControlCachePolicy.cs, PersistChildrenAttribute.cs,
UserControl.cs, DesignerDataBoundLiteralControl.cs,
PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
stubs and attribute fixes
2005-08-13 Sebastien Pouliot <[email protected]>
* Control.cs: Add protected virtual SetDesignModeState, in 2.0
profile, as this is required for the Login control.
2005-08-11 Dick Porter <[email protected]>
* CssStyleCollection.cs: Tweak the css string format to pass a
unit test
* AttributeCollection.cs: Don't NRE if someone sets the "style"
attribute to null.
2005-08-05 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Revert the patch below, see test case
2005-08-05 Dick Porter <[email protected]>
* HtmlTextWriter.cs: Make <option> tags render inline, to match
the ms output
2005-08-03 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Optmize this not to do insane amounts of
allocation for large pages, etc.
2005-07-30 Chris Toshok <[email protected]>
* Page.cs (VerifyRenderingInServerForm): copy MS's error message
since our form-errors jsunit tests depend on it.
2005-07-30 Chris Toshok <[email protected]>
* DataBinder.cs (FormatResult): make internal, not private.
2005-07-29 Ben Maurer <[email protected]>
* StateBag.cs: Don't remove when tracking viewstate, as per msft
docs.
2005-07-29 Ben Maurer <[email protected]>
* StateBag.cs: Actually *remove* items that are null. Duh.
2005-07-21 Peter Dennis Bartok <[email protected]>
* Page.cs: Need to throw exception when accessing Request but no
context exists
2005-07-20 Chris Toshok <[email protected]>
* ClientScriptManager.cs (GetClientValidationEvent): the JS we
stick in onclick handlers for buttons/links/etc.
* Page.cs (GetSubmitStatements): new function to return
scriptManager.WriteSubmitStatements. Used by HtmlForm.
(AreValidatorsUplevel): used by many of the button/linkbutton
controls (the ones that can CauseValidation) to tell whether or
not to emit client side validation calls.
2005-07-20 Chris Toshok <[email protected]>
* WebResourceAttribute.cs: make internal (and available) in
!NET_2_0.
2005-07-20 Chris Toshok <[email protected]>
* ClientScriptManager.cs (GetWebResourceUrl): make internal (but
available) in !NET_2_0.
2005-07-18 Peter Dennis Bartok <[email protected]>
* Control.cs: Added IDataBindingsAccessor interface methods
2005-07-18 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Fix nested indentation
2005-07-18 Peter Dennis Bartok <[email protected]>
* Control.cs: Added missing IParserAccessor.AddParsedSubObject
interface method
2005-07-18 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Fix indentation (somewhat at least)
2005-07-18 Peter Dennis Bartok <[email protected]>
* Control.cs:
- Default name for controls on MS.Net is "_ctl" not "_ctrl"
- MS does not append 'a' for auto-generated names
2005-07-17 Ben Maurer <[email protected]>
* AttributeCollection.cs: Use the invariant culture.
* StateBag.cs: "Duh" optimization: return null when there are no
dirty items in the view state
2005-07-14 Ben Maurer <[email protected]>
* StateBag.cs: A "short" version of my favorite method.
* HtmlTextWriter.cs: New method to get the tag name staticly.
2005-07-14 Duncan Mak <[email protected]>
* DataBindingHandlerAttribute.cs: Fixed after receiving some
comments from Gonzalo.
2005-07-13 Jackson Harper <[email protected]>
* PropertyConverter.cs: No public constructors.
2005-07-13 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Remove debugging spew. Style cleanup
2005-07-12 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Make styles work.
2005-07-11 Peter Dennis Bartok <[email protected]>
* AttributeCollection.cs:
- Changes to match MS behaviour, the "style" attribute is always
added to the list, in addition to being added to the
CssStyleCollection. Also added check for "style" attribute when
setting via index setter
- When "Style" attribute is added, CssStyleCollection is
automatically created
- The style keyword needs to be lowercase
2005-07-11 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Missing a PopEndTag here.
* PropertyConverter.cs: Pass tests
2005-07-09 Miguel de Icaza <[email protected]>
* DataBindingHandlerAttribute.cs: Create the "Default" property.
2005-07-09 Duncan Mak <[email protected]>
* DataBindingHandlerAttribute.cs: Implemented.
2005-07-08 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Much better compliance with msft
2005-07-08 Jackson Harper <[email protected]>
* ToolbarDataAttribute.cs: New implementation.
2005-07-07 Jackson Harper <[email protected]>
* PropertyConverter.cs: New implementation.
2005-07-07 Ben Maurer <[email protected]>
* StateBag.cs: Noticed an issue where SetDirty was called when the
key did not exist.
2005-07-07 Ben Maurer <[email protected]>
* StateBag.cs: Add a method that gets a string or else a default
value.
2005-07-07 Dick Porter <[email protected]>
* StateBag.cs: Added internal SetDirty (void) method to fix the
build
2005-07-07 Sebastien Pouliot <[email protected]>
* HtmlTextWriter.cs: Small fixlet when attribute has no value.
2005-07-07 Miguel de Icaza <[email protected]>
* HtmlTextWriter.cs: Return the stuff in lowercase to pass the
tests.
* StateBag.cs: Add NET_2_0 SetDirty method to get the build
going.
2005-07-07 Sebastien Pouliot <[email protected]>
* HtmlTextWriter.cs: Small fixlet (required for the unit tests).
2005-07-06 Ben Maurer <[email protected]>
* HtmlTextWriter.cs: Make sure to clear attributes when they are
written.
* StateBag.cs: New impl
2005-06-25 Gonzalo Paniagua Javier <[email protected]>
* Page.cs:
* Control.cs: avoid the creation of the EventHandlerList and accessing
to it whenever possible. Fix ENABLE_THEMING constant.
2005-06-25 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs:
* TemplateControlParser.cs:
* UserControlParser.cs: detect circular references when a control tries
to register itself as a tag. Fixes bug #75376.
2005-06-14 Gonzalo Paniagua Javier <[email protected]>
* PageParser.cs: don't try to compile the master page if it wan't
provided. Use MapPath from the base classes instead of the long
version. Fixes bug #75269 that prevented xsp2 from working properly.
2005-06-13 Lluis Sanchez Gual <[email protected]>
* MasterPage.cs: Clear the default content of placeholders before
adding the page content. Fixes bug #75193.
2005-06-13 Lluis Sanchez Gual <[email protected]>
* PageParser.cs: Added MasterType property. Get the type from the
MasterType directive.
* MasterPageParser.cs: Added GetCompiledMasterType method.
2005-06-08 Gonzalo Paniagua Javier <[email protected]>
* UserControl.cs:
* Page.cs:
* Control.cs: updates for 1.1 SP1
2005-06-06 Lluis Sanchez Gual <[email protected]>
* Control.cs: Added new DataBind() overload for 2.0. The old
method calls this new overload.
2005-06-04 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: ignore empty assembly.Location for in-memory
generated assemblies.
2005-06-04 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: added AddContentTemplate method.
2005-05-26 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: html-encode attribute values. Fixes
bug #73771.
2005-05-26 Lluis Sanchez Gual <[email protected]>
* DataSourceView.cs: Fix api.
* NonVisualControlAttribute.cs: Implemented.
* IDataItemContainer.cs: Added missing properties.
* Control.cs: Added new EnableTheming and SkinID properties.
* HierarchicalDataSourceControl.cs: Implemented missing methods.
2005-05-13 Lluis Sanchez Gual <[email protected]>
* ControlCollection.cs: Added internal setter for ReadOnly.
2005-05-09 Geoff Norotn <[email protected]>
* TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
uses instead of codebehind.
2005-05-08 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: as setting CurrentCulture is slow, don't set it if the
culture has not changed since before the page started processing.
2005-05-06 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: LoadWithPartialName returns null if the assembly is
not found.
2005-04-25 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs:
* SimpleWebHandlerParser.cs: removed values assigned and neved used.
2005-04-22 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs:
* TemplateParser.cs: always get the location (full path) for assemblies,
even the ones from the GAC.
* BaseCompiler.cs: check that DynamicBase directory exists before
creating the TempFileCollection.
2005-04-22 Lluis Sanchez Gual <[email protected]>
* ClientScriptManager.cs: Use a linked list instead of a Hashtable
to store the scripts. In this way, scripts will be rendered in the
same order as they have been registered. It shouldn't be slower
since pages don't have many scripts.
2005-04-21 Lluis Sanchez Gual <[email protected]>
* IEditableTextControl.cs: Implemented.
* DataBinder.cs: Marked constructor as obsolete in 2.0.
In GetDataItem, check for the IDataItemContainer interface
in the container.
* TemplateControl.cs: Improved check for data item.
2005-04-21 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: we still need LoadWithPartialName if Load fails.
* Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
for second postback.
2005-04-20 Rafael Teixeira <[email protected]>
* TemplateParser.cs: Adding support for Strict/Explicit attributes
for @Page/@Control directives as documented at
http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
First step don't choke on them. Fixing #74671
2005-04-20 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: use Load instead of LoadWithPartialName. That was
there from the time when Load wasn't working properly. First part of the
fix to 74500.
2005-04-15 Lluis Sanchez Gual <[email protected]>
* ControlBuilder.cs: The BindingContainerType property happens
to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
which is used to get the binding container that is managing
the current two-way binding context.
* TemplateBuilder.cs: Added some methods and an internal class
to support two-way bindings.
* CompiledBindableTemplateBuilder.cs: Implemented.
* IBindableTemplate.cs: This interface inherits from ITemplate.
2005-04-14 Lluis Sanchez Gual <[email protected]>
* ControlBuilder.cs: Added BindingContainerType property,
which works like NamingContainerType but takes into account
template builders with a specific container type (specified
using the TemplateContainerAttribute.
* StateManagedCollection.cs: Reimplemented Save/Load view
state methods. The existing implementation was not correct
in all cases.
2005-04-08 Lluis Sanchez Gual <[email protected]>
* DataSourceView.cs: Added null check.
2005-04-07 Lluis Sanchez Gual <[email protected]>
* TemplateControl.cs:
* Page.cs: Moved Eval and XPath from Page
to TemplateControl.
* StateManagedCollection.cs: Avoid saving null state.
2005-04-01 Lluis Sanchez Gual <[email protected]>
* DataSourceView.cs: Rethrow exceptions not handled by operation
callbacks.
* ITextControl.cs: Removed event.
* CollectionBuilder.cs: Don't crash when a collection has more
than one indexer.
2005-03-23 Lluis Sanchez Gual <[email protected]>
* Control.cs: Added a new internal property: HasRenderMethodDelegate.
* HtmlTextWriterAttribute.cs: Replaced wrong enum value.
* HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
2005-03-16 Lluis Sanchez Gual <[email protected]>
* ClientScriptManager.cs: Fix build.
2005-03-11 Lluis Sanchez Gual <[email protected]>
* Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
since it is deprecated in 2.0.
* Page.cs: Deprecated GetPostBackClientEvent and similar methods
in 2.0. Moved callback management methods to ClientScriptManager.
* ClientScriptManager.cs: Moved here deprecated methods from Page.
In GetPostBackEventReference (PostBackOptions), don't use the
WebForm_DoPostback script if the post can be done with a simple
__doPostBack call.
* PostBackOptions.cs: Fixed default values for some properties.
2005-03-09 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: in FindControl, throw if there's more than one control
with the same ID. Fixes bug #73479.
2005-03-04 Lluis Sanchez Gual <[email protected]>
* Page.cs: Load control state before loading view state, and the
same for saving.
* DataSourceSelectArguments.cs: Fix recursive property call.
2005-02-25 Lluis Sanchez Gual <[email protected]>
* DataSourceView.cs: Fixed incorrect implementation of
RaiseUnsupportedCapabilityError.
* IDataItemContainer.cs: Added new properties.
* Page.cs: Implemented Form property.
* Control.cs: Fixed formatting.
* StateManagedCollection.cs: Track view state of items loaded
in LoadViewState.
2005-02-22 Lluis Sanchez Gual <[email protected]>
* FilterableAttribute.cs: Fix endless loop.
2005-02-18 Lluis Sanchez Gual <[email protected]>
* Page.cs: Implemented missing events.
2005-02-17 Gonzalo Paniagua Javier <[email protected]>
* BoundPropertyEntry.cs:
* PropertyEntry.cs:
* TwoWayBoundPropertyEntry.cs: implemented.
2005-02-10 Lluis Sanchez Gual <[email protected]>
* Page.cs: Added support for validation groups. Some fixes in
SavePageControlState().
* IFilterResolutionService.cs: Removed extra field.
* INavigateUIData.cs: Added missing field.
* ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
Implemented new interfaces.
2005-02-04 Lluis Sanchez Gual <[email protected]>
* Page.cs: Implemented support for cross page postback. Implemented
support for postback with options. Fixed several method and property
signatures for 2.0.
* PostBackOptions.cs: Added some TODOs.
2005-02-02 Lluis Sanchez Gual <[email protected]>
* ParseChildrenAttribute.cs: Set the correct default value for the
childType property.
2005-01-28 Lluis Sanchez Gual <[email protected]>
* ParseChildrenAttribute.cs: Added 2.0 property.
* Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
* Page.cs: Added support for control state.
* TemplateBuilder.cs: ContainerType should be internal.
* Control.cs: Added some new 2.0 methods.
2005-01-21 Lluis Sanchez Gual <[email protected]>
* PageParser.cs: Read the MasterPageFile attribute.
* UserControlParser.cs: Not sealed any more since we need to inherit from
it. Added new constructor with an additional "type" parameter.
* MasterPageParser.cs: Parser for master pages.
* Page.cs: Added support for master pages.
* MasterPage.cs: Implemented.
2005-01-10 Lluis Sanchez Gual <[email protected]>
* TemplateBuilder.cs: Added a special constructor that takes an
attribute provider as parameter. The container type for the template
may be defined in a TemplateContainerAttribute.
* ControlBuilder.cs: Create the TemplateBuilder using that special
constructor.
* TemplateContainerAttribute.cs: Added 2.0 property and ctor.
2004-12-20 Lluis Sanchez Gual <[email protected]>
* IStyleSheet.cs: Added missing "using".
* Page.cs: Implemented Header property.
* CssStyleCollection.cs: Made BagToString method internal.
* RootBuilder.cs: Register HtmlHead control.
2004-12-17 Lluis Sanchez Gual <[email protected]>
* CssStyleCollection.cs: Minor (!) fix.
* HtmlTextWriter.cs: Register names for new 2.0 styles.
2004-12-17 Lluis Sanchez Gual <[email protected]>
* CssStyleCollection.cs: Make it work as a standalone collection.
* HtmlTextWriter.cs: Added static method for getting style names.
2004-12-14 Gonzalo Paniagua Javier <[email protected]>
* ControlCollection.cs: fix off-by-one and store a null at the end to
remove the reference to the removed control.
2004-12-10 Lluis Sanchez Gual <[email protected]>
* ClientScriptManager.cs: Added GetScriptLiteral helper method.
2004-12-02 Lluis Sanchez Gual <[email protected]>
* Page.cs: Added support for callback events. Moved theform variable
outside the __doPostBack function, so it can be used by other
scripts.
* StateBag.cs: Implemented SetDirty().
2004-11-30 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: when saving "Visible" into the ViewState, save the value
for this precise control, as using the Visible property might give us
Control's parent visibility. Fixes bug #69200.
2004-11-30 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
sessions.
* System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
the appRoot + SessionID + vpath format.
Fixes the 3 issues reported in bug #66623.
2004-11-26 Lluis Sanchez Gual <[email protected]>
* Page.cs: Moved code for managing client scripts to ClientScriptManager,
which is public in 2.0 and internal in 1.1.
* ClientScriptManager.cs: Implemented.
2004-11-25 Sanjay Gupta <[email protected]>
* DataSourceView.cs: Removed extra method.
2004-11-24 Sanjay Gupta <[email protected]>
* DataSourveViewSelectCallback.cs: Corrected method signature.
2004-11-23 Lluis Sanchez Gual <[email protected]>
* ControlBuilder.cs: Always check for the ParseChildrenAttribute,
even if the class doesn't implement IParserAccessor.
* WebResourceAttribute.cs: Allow multiple attributes of this type.
2004-11-15 Lluis Sanchez Gual <[email protected]>
* DataSourceView.cs: Moved here implementation of DataSourceViewChanged
from SqlDataSourceView.cs.
2004-11-09 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: unified a few bool fields into an int one.
* ControlCollection.cs: use an array internally instead of always
allocating an arraylist. Also added our own enumerator.
* EmptyControlCollection.cs: there's no 'special' ctor now in the base
class.
2004-11-05 Sanjay Gupta <[email protected]>
* DataSourceView.cs: Changes in access modifiers of methods.
2004-10-20 Sanjay Gupta <[email protected]>
* DataSourceCapabilities.cs: Added Flags attribute.
* DataSourceSelectArguments.cs: Updated.
* DataSourveView.cs: Updated.
2004-10-19 Sanjay Gupta <[email protected]>
* HierarchicalDataSourceView.cs: Corrected class definition and updated.
2004-10-18 Gonzalo Paniagua Javier <[email protected]>
* HierarchicalDataSourceView.cs: fix typo.
2004-10-18 Sanjay Gupta <[email protected]>
* HierarchicalDataSourceView.cs: Updated.
2004-10-18 Sanjay Gupta <[email protected]>
* DataSourceSelectArguments.cs: Initial implementation.
2004-10-12 Sanjay Gupta <[email protected]>
* UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
2004-10-12 Sanjay Gupta <[email protected]>
* UrlTypes.cs: Updated.
2004-10-12 Sanjay Gupta <[email protected]>
* UrlPropertyAttribute.cs: Added new file.
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.
2004-09-30 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: added OtherTags.
2004-09-24 Sanjay Gupta <[email protected]>
* ControlValuePropertyAttribute.cs: Initial implementation.
2004-09-24 Sanjay Gupta <[email protected]>
* IPaginationContainer.cs: Corrected name of class.
2004-09-24 Sanjay Gupta <[email protected]>
* IDReferencePropertyAttribute.cs: Completed implementation.
2004-09-24 Sanjay Gupta <[email protected]>
* ThemeableAttribute.cs:
* FilterableAttribute.cs: Code scrubbing and optimization.
2004-09-14 Sanjay Gupta <[email protected]>
* ThemeableAttribute.cs: Completed implementation.
2004-09-14 Sanjay Gupta <[email protected]>
* FilterableAttribute.cs: Completed implementation.
2004-09-14 Sanjay Gupta <[email protected]>
* Control.cs: Added new attributes and a method.
* FilterableAttribute.cs: New attribute, initial implementation.
* ThemeableAttribute.cs: New attribute, initial implemenataion.
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).
2004-09-09 Sanjay Gupta <[email protected]>
* Control.cs: Implemented methods of interface IExpressionAccessor.
2004-09-05 Gonzalo Paniagua Javier <[email protected]>
* 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.
2004-09-05 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: removed creation of StringWriter. It's not used.
* Control.cs: don't create the EventHandlerList until requested.
2004-09-03 Sanjay Gupta <[email protected]>
* Control.cs: Added new interfaces implemented in .Net 2.0.
* ExpressionBinding.cs: Added new class.
* ExpressionBindingCollection.cs: Added new class.
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 -> "".
2004-08-31 Sanjay Gupta <[email protected]>
* ControlSkinProc.cs:
* DataSourceViewOperationCallback.cs:
* DataSourceViewSelectCallback.cs:
* ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
required in definition as delegates by default are sealed.
2004-08-31 Sanjay Gupta <[email protected]>
* IDReferencePropertyAttribute.cs: Corrected and changed from interface
to class.
* IMobileTextWriter.cs: Corrected method signatures.
2004-08-09 Sanjay Gupta <[email protected]>
* ControlSkinProc.cs:
* DataSourceViewOperationCallback.cs:
* DataSourceViewSelectCallback.cs:
* ExtractTemplateValuesMethod.cs: Added new delegates.
2004-08-06 Sanjay Gupta <[email protected]>
* 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.
2004-08-05 Sanjay Gupta <[email protected]>
* PostBackOptions.cs: Added new file and implemented the class.
2004-08-04 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextWriterTag.cs: readded author name.
2004-08-04 Sanjay Gupta <[email protected]>
* HtmlTextWriterAttribute.cs:
* HtmlTextWriterStyle.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.
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.
2004-07-27 Alon Gazit <[email protected]>
* Control.cs: Changed the implementation of TemplateSourceDirectory
and GetDefaultName(). replaced foreach statements with for statements,
in order to improve performence.
2004-07-27 Alon Gazit <[email protected]>
* Page.cs: changed the implementation of GetViewStateString().
if the view state object is null there is no need to perform
Serialization.
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.
2004-07-14 Alon Gazit <[email protected]>
* HtmlTextWriter.cs: changed the Hashtables to case insensitive.
2004-07-08 Pablo Baena <[email protected]>
* Page.cs: added workaround for __doPostBack script on Netscape 4.xx
2004-07-02 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: added additional checks for saving/displaying trace data.
* PageParser.cs: removed checks for trace enabled in configuration
files.
2004-06-29 Gonzalo Paniagua Javier <[email protected]>
* ControlCollection.cs: when clearing the control collection, tell the
owners about the removal. Fixes bug #60800.
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.
2004-06-24 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
bug #60681.
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.
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.
2004-06-16 Gonzalo Paniagua Javier <[email protected]>
* 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.
* WebHandlerParser.cs:
* WebServiceParser.cs: try GetCompiledTypeFromCache before actually
compiling.
2004-06-14 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: properly fixed bug #59794.
2004-06-10 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
(ResolveUrl): fixed typo when dealing with relative urls. Closes bug
#59794.
2004-06-08 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs:
* TemplateParser.cs: pass the language when compiling from a file.
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.
2004-06-07 Alon Gazit <[email protected]>
* Page.cs: Changed Page.ProcessPostData().
After the change ,the state of controls that aren't visible is saved
during a postback.
2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
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.
2004-06-05 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
HttpRutime.TraceManager.
* PageParser.cs: for 'trace' we have 2 variables now. Added support
for 'buffer' attribute.
2004-06-04 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: implemented ClientTarget.
* PageParser.cs: support for clientTarget and check for validity.
2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
* Html32TextWriter.cs:
* HtmlTextWriter.cs:
* SimpleWebHandlerParser.cs:
* TemplateControl.cs: Added protected missing members and attributes.
2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* ObjectStateFormatter.cs: use ObjectFormatter methods instead of
calling a protected method of another object.
2004-06-03 Atsushi Enomoto <[email protected]>
* ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
(of other objects) are called in TypeConverterFormatter.
2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* ObjectStateFormatter.cs: before choosing the binary formatter, check
if the object type has a TypeConverter that can convert to/from string.
Fixes bug #59495.
* Page.cs: call GetViewStateString from outside the WriteLine. This
allows writing to the Response when getting the string without breaking
the HTML generated.
2004-06-02 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextWriter.cs: render end tag for unknown tags.
Patch frmo Markus Krutner. Fixes bug #59466.
2004-05-24 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: call DeterminePostBackMode only once per request. Patch by
Evain Jb.
2004-05-12 Gonzalo Paniagua Javier <[email protected]>
* Html32TextWriter.cs: stub contributed by Matthijs ter Woord
[meddochat].
* ObjectTagBuilder.cs: remove the HasBody override as MS does not have
that.
2004-05-04 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs:
* TemplateParser.cs: for the assembly names given in the 'assembly'
attribute, use LoadWithPartialName instead of Load.
2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: return HttpContext.Current if _context has not yet been
assigned to. Fixes bug #55245.
2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: don't add import statement or assemblies from
global.asax to every file. Fixes bug #55496.
2004-03-09 Juraj Skripsky <[email protected]>
* DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
handle single quotes and a few corner cases correctly (see test cases).
2004-03-04 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: fixed typos and added new method names to the set
of page events.
2004-02-23 Gonzalo Paniagua Javier <[email protected]>
* ControlBuilder.cs: added SetTagName().
* ObjectTagBuilder.cs: use SetTagName so that we can properly close
<object> builders if the closing tag is provided.
2004-02-16 Jackson Harper <[email protected]>
* Page.cs: Set cacheability for Location.DownStream.
2004-02-10 Jackson Harper <[email protected]>
* TemplateParser.cs: Use full path if the assembly is in the
private bin directory. Patch by Gonzalo Paniagua Javier.
2004-02-09 Jackson Harper <[email protected]>
* Page.cs: Set cacheability for server side caching.
2004-01-30 Jackson Harper <[email protected]>
* Control.cs: Ensure that dynamically loaded controls are
initialized.
2004-01-28 Gonzalo Paniagua Javier <[email protected]>
* ApplicationFileParser.cs: check for error in directives. Use
GlobalAsaxCompiler.CompileApplicationType for compiling.
* ObjectTagBuilder.cs: load the Type and check for errors.
* TemplateParser.cs: add assemblies and imports from global.asax.
Now we properly create accessors for session and application objects in
the application itself, pages and controls. First step for fixing
bug #53387.
2004-01-28 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
to Eric Lindvall for pointing this out.
2004-01-15 Jackson Harper <[email protected]>
* TemplateParser.cs: Detect if we are parsing a control or page
properly.
* Page.cs: vary by params and vary by headers can be null now.
2004-01-15 Martin Willemoes Hansen <[email protected]>
* HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
indention.
2004-01-14 Jackson Harper <[email protected]>
* Page.cs: If we have a postback that wasn't sent through a
postback script (ie user hit submit on a input type=submit) call
Validate so page validation occurs. This fixes bug #52770.
2004-01-14 Jackson Harper <[email protected]>
* Page.cs: Don't tell the response to cache anymore. This is done
when the cacheability is modified by a callback. Set the cache's
duration.
2004-01-14 Jackson Harper <[email protected]>
* TemplateParser.cs: If varybyparam is set to "none" make it null
so we dont get a param named null in the outputcache key.
2004-01-14 Jackson Harper <[email protected]>
* BasePartialCachingControl.cs: Use varyby attributes in key
generation.
2004-01-14 Jackson Harper <[email protected]>
* TemplateParser.cs: Add all the outputcache attribute error
messages.
2004-01-13 Jackson Harper <[email protected]>
* TemplateParser.cs: Add VaryByControls and Shared output cache
properties. These are not assigned yet.
* TemplateControlParser.cs: Do not ignore the OutputCache
attribute.
* BasePartialCachingControl.cs: Initial implementation. Keys are
still not created properly.
* StaticPartialCachingControl.cs: Assign properties in base class,
implement CreateControl.
2004-01-12 Gonzalo Paniagua Javier <[email protected]>
* ApplicationFileParser.cs: adde DefaultBaseTypeName property.
* PageParser.cs: support validateRequest.
* TemplateControlParser.cs: get default values from system.web/pages
section.
* TemplateParser.cs: added separate method for changing base type
(Inherits or system.web/pages).
* UserControlParser.cs: support system.web/pages defined base type.
2004-01-11 Andreas Nahr <[email protected]>
* UserControl.cs: Added missing attribute, implemented method
* Page.cs: Added missing attribute, implemented method
2004-01-10 Jackson Harper <[email protected]>
* Page.cs: Handle trace being enabled in the config file.
2004-01-10 Jackson Harper <[email protected]>
* Page.cs: Save trace data before rendering it.
* System.Web.dll.sources: Add TraceData.cs
2004-01-03 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: removed a couple of MonoTODO on methods we're not gonna
implement. Applied patch from Jan Jaros ([email protected]) to
ensure that Unload event is raised. Fixes bug #52555.
2004-01-02 Zoltan Varga <[email protected]>
* KeyedList.cs: 'private' is not allowed on explicit interface
implementations. Fixes 1.2 build.
2003-12-31 Jackson Harper <[email protected]>
* TemplateControlParser.cs: When registering tag prefixs make sure
the file exists and throw the correct error if it does not.
2003-12-25 Jackson Harper <[email protected]>
* Page.cs: Throw error if the session is accessed when sessions
are disabled.
2003-12-18 Jackson Harper <[email protected]>
* Page.cs: Write Trace info.
2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: new ctor for 1.1. The default ctor is public.
* Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
internal.
* PageParser.cs: the ctor is public.
* PartialCachingAttribute.cs: added new ctor and Shared property.
2003-12-17 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: assign the ErrorPage to the context if we get an exception
when processing the page which only calls Unload.
* PageParser.cs: handle ErrorPage.
2003-12-16 Gonzalo Paniagua Javier <[email protected]>
* ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
are not [Serializable]. Fixes bug #52244.
2003-12-16 Jackson Harper <[email protected]>
* Page.cs: Render trace data when tracing is enabled.
2003-12-15 Jackson Harper <[email protected]>
* PageParser.cs: Add Trace and Trace mode attributes.
2003-12-15 Jackson Harper <[email protected]>
* Page.cs: Use the context trace object.
2003-12-14 Alon Gazit <[email protected]>
* AttributeCollection.cs: Changed AttributeCollection.Render().
After the change attributes ,that their value is null, aren't
rendered.
2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: remove a few dangling ^M, don't set values for fields
that has the default value. If Visible is modified and we're tracking
viewstate, save and restore it. Fixes bug #48689.
2003-12-11 Jackson Harper <[email protected]>
* Control.cs: Give null for the ID if it hasn't been explicitly
set. This fixes bug #51520.
2003-12-08 Jackson Harper <[email protected]>
* PageParser.cs: Ignore the SmartNavigation attribute for now.
2003-12-05 Jackson Harper <[email protected]>
* DataBinder.cs (GetIndexedPropertyValue): Check if container is
an IList and use a cast instead of reflection to retrieve the item
if it is. Fixes bug #51759.
2003-12-04 Alon Gazit <[email protected]>
* Page.cs: Changed Page.ID so it will call Control.ID.
Fixed Bug 51682.
2003-12-02 Jackson Harper <[email protected]>
* Page.cs: Implemented registered array declarations. Patch by
Benjamin Jemlich <[email protected]>
2003-12-02 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: basic check for 'classname' attribute and added
patch by [email protected] for bug #51568, which fixes automatic class
names for pages starting with a number.
2003-11-30 Ben Maurer <[email protected]>
* LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
reduction.
* ObjectStateFormatter.cs: Comment out tracing.
2003-11-30 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: fixed UICulture, LCID and Culture. Set the thread
[UI]Culture before processing the request.
* PageParser.cs: read Culture, UICulture and LCID attributes. Added
properties for these. Partially contributed by Mohammad Damt.
Fixes bug #51511.
2003-11-27 Jackson Harper <[email protected]>
* TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
51434.
2003-11-22 Ben Maurer <[email protected]>
* ObjectStateFormatter.cs: Fix bug when reading small ints.
Add some tracing so we can see what is going on.
2003-11-21 Jackson Harper <[email protected]>
* Page.cs: Set vary by params when cache location is Server.
2003-11-21 Ben Maurer <[email protected]>
* ObjectStateFormatter.cs: v2 file. In v1.x this will be
internal as LosFormatter will eventually use it to save
the view state.
2003-11-21 Gonzalo Paniagua Javier <[email protected]>
* PersistChildrenAttribute.cs:
* PersistenceModeAttribute.cs: implemented.
* TODO: Removed file.
* OutputCacheLocation.cs:
* TemplateControlParser.cs:
* HtmlInputFile.cs: class status based fixes.
2003-11-19 Jackson Harper <[email protected]>
* Page.cs: Always set the cache expire time. Tell the response to
cache itself for server side cached pages.
2003-11-19 Jackson Harper <[email protected]>
* Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
thing, some corner cases still need work though. Was this the
shortest lived method in the history of mono?
2003-11-19 Jackson Harper <[email protected]>
* Control.cs: New method for resolving urls that use ~/ to denote
the applications base directory.
2003-11-19 Jackson Harper <[email protected]>
* TemplateParser.cs: Fix typo in error message.
2003-11-19 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
to Sanjay Gupta.
2003-11-19 Todd Berman <[email protected]>
* KeyedList.cs:
* KeyedListEnumerator.cs: New v2 implementations.
2003-11-17 Ben Maurer <[email protected]>
* StateManagedCollection.cs: Implement.
2003-11-13 Jackson Harper <[email protected]>
* Page.cs: Initial implementation of InitOutputCache.
* TemplateParser.cs: Page OutputCache options
2003-11-09 Ben Maurer <[email protected]>
* HierarchicalDataSourceControl.cs: Implement.
2003-11-09 Ben Maurer <[email protected]>
* XPathBinder.cs: Implemented.
2003-11-08 Ben Maurer <[email protected]>
* DataSourceView.cs:
* IDataSource.cs:
* ListSourceHelper.cs:
* DataSourceControl.cs:
* HierarchicalDataSourceView.cs:
* IHierarchicalDataSource.cs: Move v2 stuff.
2003-11-07 Jackson Harper <[email protected]>
* Control.cs (ResolveUrl): Special case for urls that consist of
only a page anchor. ie <a href="#top">. This fixes bug #50165.
2003-11-07 Ben Maurer <[email protected]>
* IHierarchicalEnumerable.cs:
* IHierarchyData.cs:
* INavigateUIData.cs: New v2 interfaces.
2003-11-06 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: patch by Alon Gazit <[email protected]> to remove extra
space in generated javascript.
2003-11-05 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: encoding updates.
* Page.cs: implemented CodePage and ContentType.
* PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
attributes.
2003-11-04 Ben Maurer <[email protected]>
* Control.cs (GetWebResourceUrl): new v2 function
* Page.cs (GetWebResourceUrl): ditto.
make the JS we generate work with moz if the form is not a child
of document.
* WebResourceAttribute.cs: Added, new v2 attribute.
2003-10-22 Gonzalo Paniagua Javier <[email protected]>
* DesignTimeTemplateParser.cs: added FIXME related to PageParser.
* PageParser.cs: initialize the parser in the constructor, not just
before compiling and reference the application assembly.
* SimpleWebHandlerParser.cs: reference the assembly that contains the
application Type.
* TemplateControl.cs:
* TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
path and physical path when compiling a user control.
* TemplateParser.cs: new AddApplicationAssembly ().
* UserControlParser.cs: now we get valid values in the ctor.
Referencing the application assembly fixes bug #49652.
2003-10-18 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: moved NoParamsInvoker class to its own file.
2003-10-14 Gonzalo Paniagua Javier <[email protected]>
* BaseParser.cs: added CompilationConfig property.
* TemplateParser.cs:
* SimpleWebHandlerParser.cs: added CompilationConfig property.
Don't hardcode assembly names any more, assemblies in bin are added
depending on the configuration. The default language is also taken
from the configuration.
2003-10-13 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: fixed bug #49604. Patch by [email protected].
2003-10-13 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: removed some debug lines.
* Page.cs: implemented RegisterOnSubmitStatement
* TemplateControl.cs: fixed wire up for methods with no parameters.
2003-10-13 Gonzalo Paniagua Javier <[email protected]>
* PageParser.cs: ignore ValidateRequest by now.
2003-10-11 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/TemplateControl.cs: support for wiring up events without
parameters.
2003-10-08 Pedro Martnez Juli <[email protected]>
* PageParser.cs: drop some useless code.
2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
* Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/PageParser.cs:
* System.Web.UI/TemplateControlParser.cs: honour the input file given
as argument.
2003-09-29 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
(ClearChildViewState): doh! Don't clear control viewstate but the
viewstate of possible children.
(LoadViewStateRecursive): load viewstate even when control is not
visible.
Fixes bug #49024.
The rest are just dangling ^M removed.
* DataBoundLiteralControl.cs:
(LoadViewState): we get an object [], not a string [].
2003-09-28 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: implemented ClearChildViewState ().
2003-09-22 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: store unique IDs for controls requiring postback. Fixes bug
#47985.
2003-09-21 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
dependencies so that it's recompiled when changed.
2003-09-18 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: fixed Deserialize for empty viewstate.
2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: check if controls that require postback have
been changed by an event and register them to be notified of data
changed event.
2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: patch by [email protected] (Yaron Shkop) that fixes
bug #47866.
2003-08-21 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: handle Unit and FonrUnit as special cases as they
are not serializable. Fixes bug #47784.
2003-08-20 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: index the viewstates saved by the control position, not
the control name. Fixes bug #47697.
2003-08-20 Gonzalo Paniagua Javier <[email protected]>
* ControlCollection.cs:
* EmptyControlCollection.cs: create a minimum ArrayList for this.
* BaseParser.cs: added setter for BaseVirtualDir.
* Page.cs: fixed message when restoring view state fails.
* UserControlParser.cs: set the BaseVirtualDirectory to handle the case
when a relative path to the control is given. Fixes bug #47685.
2003-08-18 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: when we load the viewstate for a control that has children
viewstates and the child is not found, keep its viewstate around and
wait until the child is added to load the viewstate. Fixes bug #47697.
2003-08-11 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: more Delegate.CreateDelegate fixes.
2003-08-01 Andreas Nahr <[email protected]>
* PartialCachingControl.cs: is not abstract
2003-08-01 Gonzalo Paniagua Javier <[email protected]>
* SimpleHandlerFactory.cs: implemented GetHandler.
* WebHandlerParser.cs: new file that parses .ashx files.
2003-07-30 Andreas Nahr <[email protected]>
* PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
2003-07-30 Andreas Nahr <[email protected]>
* UserControl.cs: Added attribute
* BasePartialCachingControl.cs: New class and paritally implemented
* DesignerDataBoundLiteralControl.cs: New class and implemented
* DesignTimeTemplateParser.cs:
* PartialCachingControl.cs:
* StaticPartialCachingControl.cs: New class and paritally implemented
2003-07-27 Andreas Nahr <[email protected]>
* ApplicationFileParser.cs: Fixed signature
* DesignTimeParseData.cs: Added missing properties, implemented
* Page.cs: Added attributes
* PageParser.cs:
* TemplateControlParser.cs:
* TemplateParser.cs:
* UserControlParser.cs: Fixed signature
2003-07-17 Andreas Nahr <[email protected]>
* HtmlControlPersistableAttribute.cs: Added
* IgnoreUnknownContentAttribute.cs: Added
2003-07-17 Andreas Nahr <[email protected]>
* IUserControlDesignerAccessor.cs: Added and implemented
* Control.cs: Missing member added, added all attributes
* Page.cs: Added attributes, fixed signature
* TemplateControl.cs: Fixed signature, added all attributes
* UserControl.cs: Added all attributes, added and implemented missing interface
2003-07-17 Gonzalo Paniagua Javier <[email protected]>
* ControlCollection.cs: fixed bug #46472.
2003-07-03 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
2003-07-03 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs: updated to new compilation interface.
* TemplateParser.cs: use the new parameter when compiling.
2003-07-01 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: also keep the value for the second try on handling postback
events.
2003-05-14 Gonzalo Paniagua Javier <[email protected]>
* BaseParser.cs: fixed MapPath for non-rooted files.
* PageParser.cs: don't pass a non-virtual file around.
* TemplateControlParser.cs: InputFile uses MapPath now. Take care of
the exception teh may be throw by MapPath on an invalid path.
* TemplateParser.cs: removed unused method.
* UserControlParser.cs: modified inputfile. The result is the same, but
this one is better.
2003-05-06 Gonzalo Paniagua Javier <[email protected]>
* RootBuilder.cs: throw exception when the tagprefix is not valid or
not found.
2003-05-05 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlParser.cs: return after processing @Register.
2003-05-04 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: Added support for server side includes.
2003-05-03 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: fixed the flags used to find the methods that
are automatically hooked up on events.
* TemplateParser.cs: don't compile a source file directly. Use the
cache instead.
2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* BaseParser.cs: Location property is now here. Added a couple of
convenience methods to throw a ParseException.
* TemplateParser.cs:
* TemplateControlParser.cs:
* PageParser.cs: throw ParseException where appropiate.
2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* ApplicationFileParser.cs: use the generator to actually parse the
file.
* ControlBuilder.cs: small fix in NamingContainerType because
TemplateBuilders have a null ControlType. When a control is appended
to a parent, assign the child's parent.
* UserControlParser.cs: fixed the value of InputFile.
2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* ApplicationFileParser.cs: store the Context and override
BaseVirtualDir so that it's the application path.
* BaseParser.cs: removed CurrentVirtualPath property.
* TemplateControlParser.cs: use BaseVirtualDir.
* UserControlParser.cs: removed CurrentVirtualPath.
2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: always reference all the assemblies in bin
directory.
2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* ApplicationFileParser.cs: it works now. Prior to these changes, we
were using the compiler directly.
* BaseParser.cs: added some useful properties and methods.
* CodeBuilder.cs: use ILocation.
* CodeRenderBuilder.cs: use ILocation.
* CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
* ControlBuilder.cs: made it useful.
* DataBindingBuilder.cs: the control type for data bound text is
DataBoundLiteralControl now.
* ObjectTagBuilder.cs: store some object tag attributes.
* PageParser.cs: handle page-only directives.
* RootBuilder.cs: bah.
* SimpleWebHandlerParser.cs: made it dummy.
* TemplateControl.cs: Modified file.
* TemplateControlParser.cs: handle directives that are common to pages
and user controls.
* TemplateParser.cs: utility methods and handling of directives that
are common to app, page and user controls.
* UserControl.cs: added ControlBuilderAttribute.
* UserControlControlBuilder.cs: builder for user controls.
* UserControlParser.cs: use the new interfaces.
2003-04-20 Gonzalo Paniagua Javier <[email protected]>
* ControlBuilder.cs: line and fileName are protected now.
* CodeBuilder.cs: base class for the next 2 files.
* CodeRenderBuilder.cs: builder for code render.
* DataBindingBuilder.cs: builder for data binding.
2003-04-20 Gonzalo Paniagua Javier <[email protected]>
* ITagNameToTypeMapper.cs: made it internal.
* ObjectTagBuilder.cs: builder for <object runat="server"> tag.
* ObjectTag.cs:
* RootBuilder.cs: initial builder.
2003-04-15 Gonzalo Paniagua Javier <[email protected]>
* CollectionBuilder.cs:
* TemplateBuilder.cs: new classes derived from ControlBuilder that
represent a property or a ITemplate.
* ControlBuilder.cs: implemented all the missing bits.
* TemplateParser.cs: added mapping from tag name to Type feature.
2003-02-15 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: have i definitely fixed naming container stuff this time?
* LosFormatter.cs: activated binary serialization code.
2003-02-14 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
(AddedControl): fixed default id assignation when the sequence of
AddedControl until it's included in the page or one of its controls
does not pass through a naming container.
2003-02-09 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: give different default names depending on the place where
it is assigned. Implemented ResolveURl (no more ~ rendered in
attributes!).
2003-02-08 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: when adding a control, assign default names to th
children that don't have one.
2003-02-03 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs: modified to use the new parser interface.
2003-01-17 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: some more tweaks to naming containers stuff.
* DataBinder.cs: don't throw exception if the container is null.
* Page.cs: now we can render client scripts, startup scripts and hidden
fields. Only render __VIEWSTATE if there is someone that will take care
of it.
(RaisePostBackEvents): first try the last one that required raise event,
then try __EVENTTARGET.
2003-01-16 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixes in UniqueID, FindControl, AddedControl,
UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
FindControl work with NamingContainers.
* ControlCollection.cs: notify the parent when clearing the collection.
* LosFormatter.cs: Added debugging output and generate a valid
viewstate even for unknown types.
* Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
viewstate.
2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: make it fire the LoadData related events also for controls
such as ImageButton, whose variable(s) in the query string are of the
form ctrl_name.x and only fire them once per control.
2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* DataBinder.cs:
(GetPropertyValue): don't try to get the property as indexed
2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* DataBinder.cs: use TypeDescriptor to get the properties and their
values.
2003-01-04 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
(AddedControl): take the children to the same state of the parent.
(InitRecursive): set the page of the children.
* Page.cs: removed one line (it's done a few lines above).
* UserControl.cs:
(OnInit): always call InitializeAsUserControl
(InitializeAsUserControl): sets the page for the control.
2003-01-03 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed bug #36037.
2002-12-20 Gonzalo Paniagua Javier <[email protected]>
* BaseParser.cs: a couple of path fixes to make it work
when the page is not in the root directory.
2002-12-20 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
reporting the bug.
2002-12-18 Gonzalo Paniagua Javier <[email protected]>
* BaseParser.cs: use MapPath and context to locate files.
* Control.cs: implemented MapPathSecure.
* TemplateControl.cs: use UrlUtils to generate the path.
* TemplateControlParser.cs: use the context and MapPath.
* UserControl.cs: implemented MapPath.
* UserControlParser.cs: added context parameter to constructor.
2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: implemented MapPathSecure.
* Page.cs: fixed Server property.
2002-12-15 Gonzalo Paniagua Javier <[email protected]>
* DataBinder.cs: try the indexer if the property is not found in
GetPropertyValue ().
2002-12-13 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: added AutoEventWireup internal property.
* Page.cs: removed page events wire up from here.
* TemplateControl.cs: new method WireupAutomaticEvents to hook up page
and user controls events.
* TemplateControlParser.cs: process the options that are applicable
once we have the instance of the control.
* TemplateParser.cs: also stores the options.
* UserControl.cs: hook up events before initializing the control.
2002-12-12 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: new method to set bindingContainer value.
* TemplateControl.cs: added controls are not binding containers.
2002-12-12 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: implemented TemplateSourceDirectory.
* TemplateControl.cs: implemented LoadControl and LoadTemplate.
2002-11-27 Gonzalo Paniagua Javier <[email protected]>
* UserControl.cs: fixed SetAttribute.
* UserControlParser.cs: set the correct base type.
2002-11-26 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: fixed BaseType.
* UserControlParser.cs: helper class to compile user controls.
2002-11-20 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: added DateTime to special types.
2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: added array serialization support. Disabled binary
serialization and add some debugging code.
* StateBag.cs: the length of the list of value can be less than the
length if the list of keys when remaining values are null.
2002-11-07 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: return something useful in GetPostBackClientEvent.
2002-11-02 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: implemented FileDependecies and made it protected.
2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: save control names instead of the controls
themselves to the ViewState.
* LosFormatter.cs: added support for serializing unknown
types. BinaryFormatter does not work so you better don't store anything
of unknown Type in ViewState.
* Page.cs: GetViewStateString works now using LosFormatter.
Complete "Control execution lifecycle" by unloading all the child
controls. Check for null in RaisePostBackEvents.
LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
2002-10-29 Gonzalo Paniagua Javier <[email protected]>
* DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
2002-10-27 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: Use WebEncoding.Encoding.
* Control.cs:
* Page.cs: fixed namespace.
2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: set the context in ProcessRequest. Added a few trace calls.
* Control.cs: added some trace information.
2002-10-08 Gonzalo Paniagua Javier <[email protected]>
* SimpleHandlerFactory.cs: new handler for .ashx files.
2002-09-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/PageHandlerFactory.cs: new file.
* System.Web.UI/PageParser.cs:
* System.Web.UI/TemplateControlParser.cs: we are now able to compile
pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: implemented ObBubbleEvent.
* Page.cs: temporary workaround to make POST work with xsp server.
2002-09-22 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
return pvt methods.
2002-09-11 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs: New file.
* WebServiceParser.cs: New file.
2002-08-22 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: almost fully implemented.
2002-08-18 Gonzalo Paniagua Javier <[email protected]>
* CompiledTemplateBuilder.cs: InstantiateIn is virtual.
* EmptyControlCollection.cs: throw correct exception.
* LosFormatter.cs: stubbed out.
* OutputCacheLocation.cs: little fix.
2002-08-16 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/ApplicationFileParser.cs:
* System.Web.UI/BaseParser.cs:
* System.Web.UI/PageParser.cs:
* System.Web.UI/TemplateControl.cs:
* System.Web.UI/TemplateControlParser.cs:
* System.Web.UI/TemplateParser.cs: first steps to move xsp into
System.Web.
2002-07-30 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: request to render postback script can be after form started
rendering.
2002-07-22 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: added more page events to invoke automagically if some
methods are defined.
2002-07-22 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
(SaveViewState): save state even when control is not visible.
(SaveViewStateRecursive):
(LoadViewStateRecursive): made internal.
2002-07-21 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: improved event raising to allow client postback for a wider
variety of actions (clicking an hyperlink, ...).
2002-07-20 Gonzalo Paniagua Javier <[email protected]>
* UserControl.cs: implemented Load/SaveViewState.
2002-07-20 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs:
(Add): handle 'style' through styleCollection.
* CssStyleCollection.cs:
(fillStyle): renamed to FillStyle and made it internal.
* Page.cs:
(GetViewStateString): fixed, broken after other recent changes.
(ProcessPostData): allow a second try for postback data after OnLoad.
(ProcessRequest): clear controls collection, removed call to
UnloadRecursive.
2002-07-19 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: uncommented Dispose.
* Page.cs:
(DeterminePostBackMode): more checkings.
(GetPostBackClientHyperLink): implemented.
(GetPostBackEventReference): added some comments with the HTML that MS
generates for that.
(ProcessRequest): fixed processing order. The page is unloaded after
a request and regenerated from view state on subsequents posts.
2002-07-17 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed related to ViewState. Added RemovedControl.
* ControlCollection.cs: notify owner of control removal.
* CssStyleCollection.cs: almost rewritten to make it render the style
attribute after changes to it.
* Page.cs: follow the guidelines in 'Control execution lifecycle'.
Removed Xml code.
* StateBag.cs: don't use IDictionary.GetEnumerator on the
HybridDictionary: it makes the program give an InvalidCastException at
runtime. Why?
2002-07-16 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: fire Init and Load events for all children.
2002-07-14 Gonzalo Paniagua Javier <[email protected]>
* UserControl.cs: New file.
2002-07-13 Gonzalo Paniagua Javier <[email protected]>
* ControlBuilderAttribute.cs: finished implementation.
2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* ConstructorNeedsTagAttribute.cs: the default constructor sets the
property to false.
2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
* System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
Hashtable. Added internal .ctor.
* System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
Equals and GetHashCode.
* System.Web.UI/DataBoundLiteralControl.cs:
(LoadViewState):
(SaveViewState): implemented.
* System.Web.UI/Page.cs: FileDependencies is not public.
* System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
(GetHashCode):
(Equals):
(IsDefaultAttribute): implemented.
2002-07-08 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed Visible property.
* Page.cs: fixed GetViewStateString.
2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs:
(GetViewStateString): new function to give the server access to the
generated view state string.
(Validate): d'oh!
2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
(SaveViewstateRecursive): implemented.
(SaveViewState): fixed.
(IParserAccessor.AddParsedSubObject): don't use 'this'.
* Page.cs: added code to save view state to an xml file. It's not
being used right now.
2002-06-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/LiteralControl.cs:
Fixes based on class status page:
- Add attributes (DefaultEvent, ParseChildren).
- Fix declarations.
- Explicitly implement some interfaces (IPostBackDataHandler
and IPostBackEventHandler).
- Implemented some missing methods.
2002-06-29 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: reimplemented FindControls.
* Page.cs:
(.ctor): set the page for this control.
(IsPostBack): return valid value.
(DeterminePostBackMode): finished.
(OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
(ProcessPostData): implemented. Raises change and postback events.
(ProcessRequest): changed to support reuse of the instance.
(RegisterRequiresPostBack): implemented.
* ValidatorCollection.cs: implemented all methods.
2002-06-25 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
* Page.cs: first attemp to save view state.
* HtmlForm.cs: don't render Action.
2002-06-24 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: implemented more properties using information we already
have in Context.
(OnFormRender):
(OnFormPostRender):
(VerifyRenderingInServerForm): implemented.
2002-06-22 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: changed InvokeEventMethod to use a GetMethod that works with
out runtime. Renamed Page_Init and Page_Load.
After this, we can load a dll and render HTML in linux.
2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
(AddedControl): new function that is called whenever a control is
added to a collection of controls in a container. It sets the defaults
except for Page.
* ControlCollection.cs: call AddedControl in Add/AddAt.
* DataBoundLiteralControl.cs: implemented constructor, Text, Render,
SetStaticString and SetDataBoundString.
* Page.cs: removed SetDefaults.
2002-06-19 Gonzalo Paniagua Javier <[email protected]>
* CompiledTemplateBuilder.cs: new file. Used in the code generated
by xsp.
* Control.cs:
(BindingContainer): implemented.
(EnsureChildControls): avoid stack overflow.
* DataBinder.cs: implemented Eval and PropertyValue.
2002-06-18 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextWriter.cs: fixed style attributes rendering (almost the same
bug as in regular attributes).
2002-06-17 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: implemented PreventAutoID.
* Page.cs:
(SetDefaults): don't set ID automatically if Control.PreventAutoID has
been called.
2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* Page.cs:
(Validators): if the collection is null, create one.
(GetPostBackEventReference 2): don't throw exception.
(GetPostBackClientEvent): return a string with containing the method
name, the control name and the argument.
2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: SetPage is now called SetDefaults and also sets a default
ID for controls that don't have one yet.
2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* Page.cs:
(GetPostBackClient):
(RegisterRequiresPostBack): don't throw NotImplementedException to
keep going.
(ProcessRequest): set the current page as the Page property for *all*
the controls, not just the direct children of the page.
2002-06-11 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
(MapPathSecure): until security is implemented, return the same path
received as argument.
(RenderControl): call OnPreRender before rendering the control. So
AdRotator can read its configuration file.Is there any other place
where this should be done?
* HtmlTextWriter.cs:
(AddAttribute): fixed. Now it really stores attributes.
(RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
2002-06-09 Gonzalo Paniagua Javier <[email protected]>
* ControlCollection.cs:
(AddAt): if index is -1 behave as a plain Add.
2002-06-06 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: for each child control to render, assign Control.Page.
Probably also needed in HtmlContainerControl derived classes.
2002-06-05 Gonzalo Paniagua Javier <[email protected]>
* AttributeCollection.cs: don't need a Hastable. StateBag now works
fine and takes care of the details.
* Control.cs: added HasChildren property.
* StateBag.cs: fixed a couple of nasty bugs.
2002-06-05 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
Invoke Page_Init and/or Page_Load if the user supplied them (though
this should depend on AutoEventWireUp attribute of Page directive).
2002-06-04 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: don't throw exception in ControlID. By now, it returns ID.
* Page.cs:
(ProcessRequest): implemented.
2002-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs: finished stubbing out. Implemented some
methods.
2002-06-03 Gonzalo Paniagua Javier <[email protected]>
* Page.cs:
(FileDependencies): now is public public.
(EnableViewStateMAC): uncommented and made protected.
(GetTypeHashCode): added method.
2002-05-24 Duncan Mak <[email protected]>
* TemplateControl.cs (SetStringResourcePointer): Fixed typo.
* StateBag.cs (Item): Changed the visibility level of the this
[object] indexer.
Misc. formatting edits, fixing some bugs introduced by the indentation.
* DataBinder.cs (Eval)
(GetIndexedPropertyValue)
(GetPropertyValue): Fixed return types.
2002-05-21 Miguel de Icaza <[email protected]>
* HtmlTextWriter.cs: Use this to change the member instances.
2002-05-17 Duncan Mak <[email protected]>
* AttributeCollection.cs:
* ControlCollection.cs:
* CssStyleCollection.cs:
* DataBindingCollection.cs:
* EmptyControlCollection.cs: Added missing Collection classes.
2002-05-17 Duncan Mak <[email protected]>
* BaseParser.cs:
* TemplateParser.cs: Implemented. BaseParser is weird because
there is no documentation on what it does.
* ControlBuilder.cs:
* DataBinder.cs:
* DataBinding.cs: Added.
* DataBoundLiteralControl.cs:
* Triplet.cs: Added.
* RenderMethod.cs: Added this delegate for Control.cs
2002-05-15 Gonzalo Paniagua Javier <[email protected]>
* ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
2002-05-14 Duncan Mak <[email protected]>
* ValidationPropertyAttribute.cs: Added to CVS.
2002-05-10 Duncan Mak <[email protected]>
* ConstructorNeedsTagAttribute.cs:
* ControlBuilderAttribute.cs:
* ImageClickEventArgs.cs:
* ParseChildrenAttribute.cs:
* PartialCachingAttribute.cs:
* PersistChildrenAttribute.cs:
* PersistenceModeAttribute.cs:
* TemplateContainerAttribute.cs: Added to CVS.
* PersistanceMode.cs: Removed, fixed typo.
* PersistenceMode.cs: Replacing above.
* StateBag.cs (this): Fixed indexer, it takes a string as the
index, not an object.
* ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
* Page.cs (Validators): return type should be ValidatorCollection,
not ValidatedCollection.
* TagPrefixAttribute.cs: Added to CVS.
2002-05-07 Duncan Mak <[email protected]>
* Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
2002-03-26 Gaurav Vaish <[email protected]>
* DataBindingHandlerAttribute.cs
- Completed
* ToolboxDataAttribute.cs - Completed
2002-01-03 Nick Drochak <[email protected]>
* DesignTimeParseData.cs: initialze static member to avoid compile
error
* PropertyConverter.cs: remove uneeded exception variables from
catch blocks.
2002-01-02 Nick Drochak <[email protected]>
* DesignTimeParseData.cs: fix header to show correct class name
2001-12-21 Gaurav Vaish <[email protected]>
* StateBag.cs - Completed
2001-12-19 Gaurav Vaish <[email protected]>
* Pair.cs - Small undocumented class. Completed.
2001-12-18 Gaurav Vaish <[email protected]>
* DesignTimeParseData.cs - Initial implementation
* StateBag.cs - Initial implementation
2001-12-17 Gaurav Vaish <[email protected]>
* PropertyConverter.cs - Undocumented class. Completed.
* Utils.cs - Undocumented, private class.
Initial implementation
2001-08-28 Bob Smith <[email protected]>
* Control.cs: Figured out some undocumented API.
* Added TODO.
* BuildMethod.cs: Initial implementation.
* BuildTemplateMethod.cs: Initial implementation.
* HtmlTextWriterAttribute.cs: Initial implementation.
* HtmlTextWriterStyle.cs: Initial implementation.
* HtmlTextWriterTag.cs: Initial implementation.
* IAttributeAccessor.cs: Initial implementation.
* IDataBindingsAccessor.cs: Initial implementation.
* ImageClickEventHandler.cs: Initial implementation.
* INamingContainer.cs: Initial implementation.
* IParserAccessor.cs: Initial implementation.
* IPostBackDataHandler.cs: Initial implementation.
* IPostBackEventHandler.cs: Initial implementation.
* IStateManager.cs: Initial implementation.
* ITagNameToTypeMapper.cs: Initial implementation.
* ITemplate.cs: Initial implementation.
* IValidator.cs: Initial implementation.
* OutputCacheLocation.cs: Initial implementation.
* PersistanceMode.cs: Initial implementation.
* StateItem.cs: Initial implementation.
2001-08-27 Bob Smith <[email protected]>
* Control.cs: Bug fixes and implementations.
2001-08-24 Bob Smith <[email protected]>
* Control.cs: Bug fixes.
2001-08-23 Bob Smith <[email protected]>
* Control.cs: More implementation. Events reworked for performance.
2001-08-22 Bob Smith <[email protected]>
* LiteralControl.cs: Implemented.
* Control.cs: Even more implementation (Events). What a beast.
2001-08-20 Bob Smith <[email protected]>
* Control.cs: More implementation. Not done yet. Shutter.
2001-08-17 Bob Smith <[email protected]>
* Control.cs: Partial implementation.