Files
mono/mcs/class/System.Web/System.Web.UI/ChangeLog
T
Marek Habersack e44ec112e6 Make a method private for 1.x
svn path=/trunk/mcs/; revision=68245
2006-11-21 10:38:37 +00:00

3546 lines
113 KiB
Plaintext

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.