1 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3 * TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
4 * Control.cs: moved TemplateSourceDirectory from TemplateControl for
5 TARGET_JVM, fixed AppRelativeTemplateSourceDirectory
7 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
9 * TemplateControl.jvm.cs: added 2.0 event names for wiring up
11 2007-01-15 Ilya Kharmatsky <ilya - at - decode-systems.com>
13 - IsViewStateEnabled - removed check for non-null page, since
14 the control by definition should come with enabled
15 view state, even if it not 'attached' to the page
16 - HasEvents() - implementation (still could produce bug in exotic scenarios
17 when all events added to 'this' control has been removed
18 through the property 'Events', but currently we can't see
19 better implementation)
21 2007-01-14 Eya; Alaluf <eyala@mainsoft.com>
23 * Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files.
24 * Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal
25 support for TARGET_J2EE.
27 2007-01-12 Miguel de Icaza <miguel@novell.com>
29 * Control.cs: Remove comment, it provides no information about
32 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
34 * PageTheme.cs: implemented
35 * Page.cs: fixed InitializeTheme, added PageTheme page initialization
37 * TemplateControl.jvm.cs: added XPath, XPathSelect overloads with
38 IXmlNamespaceResolver parameter
39 * XPathBinder.cs: added Eval, Select overloads with
40 IXmlNamespaceResolver parameter, refactored
42 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
44 * TemplateControl.jvm.cs: added GetGlobalResourceObject
46 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
48 * Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.
50 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
52 * Control.cs: ensure 'id' attribute will be rendered if
53 ClientID was accessed but ID is generated by the Page,
54 important for custom controls developing.
56 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
58 * Page.cs: fixed: InitializeCulture should be called
59 before creating controls.
61 2007-01-03 Marek Habersack <grendello@gmail.com>
63 * Page.cs: Make sure the ValidatorOnSubmit function is defined for the
64 document before attempting to use it.
66 2007-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
68 * Control.cs: fixed ResolveClientUrl, wrong when control that calls
69 this method and the page are in different folders
71 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
73 * Page.cs: show the validation summary when client validation and
74 linkbuttons are used. Patch by Juraj Skripsky.
76 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
78 * Page.cs: fixed: EventValidation is not performed for CallBack request.
80 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
82 * Page.cs: fixed: RegisterRequiresPostBack feature.
84 2006-12-21 Marek Habersack <grendello@gmail.com>
86 * ControlBuilder.cs: Add support for tag mapping in 2.0
88 2006-12-20 Marek Habersack <grendello@gmail.com>
90 * TemplateParser.cs: make sure Context.ApplicationInstance is not
91 valid before adding application assembly.
93 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
95 * Page.cs: fixed and optimized ProcessPostData
96 The "second try" used for controls that created at OnLoad.
97 fixed for controls that use RgisterRequeresPostBack to handle post data.
99 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
101 * Page.cs: The specified theme must exist as either an application theme.
102 If the theme does not exist, an HttpException exception s thrown.
104 2006-12-09 Marek Habersack <grendello@gmail.com>
106 * HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used
107 also in the 1.x profile)
109 * ObjectStateFormatter.cs: Implement the IStateFormatter interface
111 * ClientScriptManager.cs: Use IStateFormatter instead of
113 Use the IStateFormatter interface when registering the hidden
114 field with the state.
116 * LosFormatter.cs: Use ObjectStateFormatter
118 * PageStatePersister.cs: Make the class available as internal for
120 Constructor throws an exception on its page parameter being null.
121 Implemented several properties: ControlState, ViewState, Page,
124 * Page.cs: Use new state persister for all the profiles.
125 Use the new HiddenFieldPageStatePersister class.
127 * IStateFormatter.cs: Make the class available as internal for 1.x profile.
129 2006-12-04 Vladimir Krasnov <vladimirk@mainsoft.com>
131 * TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization
133 2006-11-29 Marek Habersack <grendello@gmail.com>
135 * TemplateParser.cs: if the OutputCache directive is present, make
136 sure the cache does not expire the current output.
138 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
140 * Page.cs: added missing methods and properties:
145 MaxPageStateFieldLength
146 ViewStateEncryptionMode
147 AddOnPreRenderCompleteAsync
148 AddOnPreRenderCompleteAsync
149 ExecuteRegisteredAsyncTasks
150 CreateHtmlTextWriterFromType
151 RegisterRequiresViewStateEncryption
153 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
155 * Page.cs: Master property returns null when no HttpContext.
157 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
159 * Page.cs: InitializeCulture method is called before OnPreInit.
161 2006-11-28 Marek Habersack <grendello@gmail.com>
163 * TemplateControlParser.cs: Use the new TemplateParser methods to
164 register controls/namespaces
166 * TemplateParser.cs: Implement support for the
167 system.web/pages/namespaces collection instead of hard-coding the
168 namespaces into the source.
169 Refactoring: added two internal methods to handle both the
170 system.web/pages/controls registration and the Register directive.
171 Added a new internal method to pull the system.web/pages/controls
172 collection before parsing.
174 2006-11-27 Marek Habersack <grendello@gmail.com>
176 * SimpleWebHandlerParser.cs: Added support for looking up types in
177 the top-level assemblies (App_Code et al)
179 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
181 * Control.cs: implemented EnsureID method.
183 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
185 * Control.cs: implemented Focus methods.
187 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
189 * Page.cs: implemented SetFocus methods.
192 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
194 * ClientScriptManager.cs: refactoring:
195 extracted method RegisterWebFormClientScript
197 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
199 * Control.cs: implemented OpenFile()
201 2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
205 implemented ClearChildState(), ClearChildControlState() and
206 IsChildControlStateCleared
208 2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
211 * ClientScriptManager.cs:
212 implemented RegisterExpandoAttribute feature
214 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
216 * ListSourceHelper.cs: optimization of implementation
218 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
220 * ListSourceHelper.cs: implemented
222 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
224 * DataSourceView.cs: fixed: constructor throws ArgumentNullException
226 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
228 * Page.cs: fixed: PreviousPage property
229 when CrossPostBack is processed PreviousPage is initialized
230 only if PreviousPage property is called.
232 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
234 * DataSourceControl.cs: fixed: Focus(), EnableTheming
236 2006-11-21 Marek Habersack <grendello@gmail.com>
238 * Control.cs: Make ClientIDSeparator private for !NET_2_0
240 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
242 * Page.cs: fixed: LoadControlState is called for controls
243 that added on Load and latter
245 2006-11-20 Marek Habersack <grendello@gmail.com>
247 * Control.cs: Implementations of a few missing properties.
249 * Page.cs: Added support for automatic culture detection from the
252 * PageParser.cs: Added support for "auto" cultures in the Page
255 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
257 * ClientScriptManager.cs: fixed: ValidateEvent feature:
258 client side return eventArgument as empty string
259 for controls that set it as null
261 2006-11-18 Marek Habersack <grendello@gmail.com>
263 * ClientScriptManager.cs: Implemented two missing
264 GetPostBackEventReference overloads. Made one of the overloads
265 internal for .NET < 2.0.
267 2006-11-17 Marek Habersack <grendello@gmail.com>
269 * PostBackOptions.cs: Renamed the constructors parameters to match
270 those Microsoft .NET uses.
271 targetControl must not be passed null to the constructor.
273 * ClientScriptManager.cs: Support for event validation.
274 Implemented a GetPostBackHyperlink overload.
275 Implemented the RegisterForEventValidation methods.
276 Implemented the ValidateEvent method.
277 Added support for saving/restoring event validation state.
279 * Page.cs: EnableEventValidation can be set only from the config
280 files (the <pages> element), the Page directive or from
281 Page_Init. After Page_Init returns, an exception is thrown.
282 Made GetFormatter internal, so that ClientScriptManager can use
284 Added the internal LifeCycle property which contains the current
285 life cycle stage of the page request processing.
286 Added calls to save/restore event validation state.
287 Added checks for whether child controls of the page support event
289 Added calls to ClientScriptManager.ValidateEvent in appropriate
292 * PageLifeCycle.cs: Added the PageLifeCycle enum, used in event
295 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
298 * ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
301 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
303 * SimpleWebHandlerParser.cs: 'using' for file reading.
305 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
307 * Page.cs: revert r67514 until after tagging for the next release.
309 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
311 * LiteralControl.cs: fixed: constructors & Text property
313 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
315 * Page.cs: fixed: LoadControlState is called for controls
316 that added on Load and latter, for 1.x refactoring only
318 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
320 * ClientScriptManager.cs:
321 fixed: checks arguments for null in public methods,
322 fixed public interface.
324 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
326 * PostBackOptions.cs: fixed: default values of properties
328 2006-10-22 Igor Zelmanovich <igorz@mainsoft.com>
330 * CssStyleCollection.cs:
331 * AttributeCollection.cs:
332 fixed: style collection is synchronized with style attribute
334 2006-10-19 Igor Zelmanovich <igorz@mainsoft.com>
336 * ClientScriptManager.cs: fixed: renders id attribute in hidden field
338 2006-10-18 Marek Habersack <grendello@gmail.com>
340 * TemplateParser.cs: reference System.Resources when compiling a
343 * TemplateControl.cs: implement the GetGlobalResourceObject
346 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
348 * Page.cs: fixed: for 2.0 only
349 When Page processes Callback IsPostBack = false, but it still needs
350 LoadViewState/ControlState and ProcessPostData
352 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
354 * DataSourceSelectArguments.cs: fixed:
355 SortExpression not returns null,
356 Empty property returns new instance each time
358 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
360 * DataSourceSelectArguments.cs:
361 fixed: RaiseUnsupportedCapabilitiesError method.
363 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
365 * DataSourceSelectArguments.cs: fixed: Equals method.
367 2006-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
369 * CssStyleCollection.cs: don't clear the collection of properties, but
372 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
374 * CssStyleCollection.cs: 'style' can be modified on our back, so build
375 the style table every time instead of keeping one that is not in sync.
378 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
380 * Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
381 When page is invoked by cross-page posting, PreviousPage processed all
382 live-cycle up to OnLoadComplite included.
383 IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
385 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
387 * TemplateParser.cs: patch by Joel Reed that makes use of the namespace
388 collection from the PagesConfiguration to add new namespaces when
389 generating the page/control code.
391 2006-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
393 * PageParser.cs: support the EnableEventValidation attribute.
395 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
397 * Page.cs: fixed: Title property works properly
399 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
401 * ClientScriptManager.cs: added helper method
403 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
405 * Page.cs: fixed: GetValidators(string), Validate(string) works properly
407 2006-09-08 Robert Jordan <robertj@gmx.net>
409 * Page.cs: assure that RenderTrace is called even if an
410 exception occurred. Fixes bug #78930.
412 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
414 * TemplateControl.cs: search for the new Page_* event handlers in 2.0.
415 Patch by Marek Habersack that fixes bug #78268.
417 2006-09-07 Lluis Sanchez Gual <lluis@novell.com>
419 * Page.cs: Use lowercase getElementById in the javascript that
422 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
424 * KeyedListEnumerator.cs: fixed Current property to return real object
425 instead of DictionaryEntry
427 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
429 * Page.cs: don't use the Browser object, as it slows down process
430 request time *a lot*. Fixes bug #79206.
432 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
434 * Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
435 * OutputCacheParameters.cs: added an implementation.
437 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
439 * CssStyleCollection.cs: fixed: background-image style attribute
441 2006-08-31 Konstantin Triger <kostat@mainsoft.com>
443 * StaticPartialCachingControl.cs: added forwarding implementation for
444 2.0 version of BuildCachedControl().
446 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
448 * Page.cs: added internal method
449 * ClientScriptManager.cs:
451 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
453 * ClientScriptManager.cs: added helper method
455 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
457 * Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string
458 if compiled with .net aspx parser
459 fixed OnInit, GetStyleSheets may return null if no css files found by
462 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
464 * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access
465 modifiers check on event handlers
467 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
469 * Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx
471 * TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
472 fixed TemplateSourceDirectory, should not work on master pages.
474 2006-08-20 Vladimir Krasnov <vladimirk@mainsoft.com>
476 * MasterPageParser.jvm.cs: fixed path resolving
477 GetCompiledMasterInstance
479 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
481 * TemplateControl.jvm.cs: fixed data binding API, implemented
482 AppRelativeVirtualPath, ReadStringResource
484 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
486 * Page.cs: added stubs to run aspx files compiled by .net
488 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
490 * MasterPageParser.jvm.cs: implemented
492 2006-08-10 Andrew Skiba <andrews@mainsoft.com>
494 * Page.cs: render css path as a virtual path.
496 2006-08-09 Robert Jordan <robertj@gmx.net>
498 * Control.cs: add the 2.0 ResolveClientUrl method.
499 Expose ResolveClientUrl as internal for the 1.1 profile.
502 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
504 * added MasterPageParser.jvm.cs
506 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
508 * ControlBuilder.jvm.cs: added BuildObject method
510 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
512 * ParseChildrenAttribute.cs: fixed ChildControlType property to
514 * UserControl.cs: fixed ParseChildren attribute to be compliant
517 2006-08-08 Igor Zelmanovich <igorz@mainsoft.com>
519 * Page.cs: implemented MaintainScrollPositionOnPostBack feature
521 2006-08-06 Vladimir Krasnov <vladimirk@mainsoft.com>
523 * Control.cs: fixed EnableTheming proprty, fixes bug when child
524 control has EnableTheming=false and parent has true.
526 2006-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
528 * MasterPage.cs: fixed default values, fixed AddContentTemplate
530 2006-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
532 * Control.cs: fixed EnableTheming proprty, fixes the bug when skins
533 are applied even if EnableTheming property was set to false.
535 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
537 * DataSourceView.cs: refactor to keep the original exception stack.
539 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
541 * PostBackOptions.cs: default to String.Empty for several field values.
542 Patch by Marek Habersack.
544 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
546 * Page.cs: when ProcessRequest is not called, get the session from
547 the current context. Fixes bug #78730.
549 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
551 * Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
552 by Peijen Lin that closes bug #78646.
554 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
556 * TemplateControlParser.cs: fix compilation caching when more than one
557 @control is compiled from source. Closes bug #78626.
559 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
561 * Page.cs: add the 2.0 Items property. Fixes bug #78467.
563 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
565 * Page.cs: use the new internal LosFormatter.SerializeToBase64.
566 * LosFormatter.cs: always work on base 64 strings even if the
567 input/output is on a Stream. Fixes bug #78640.
569 2006-06-08 Konstantin Triger <kostat@mainsoft.com>
571 * Page.cs: For loading themes, use '~/App_Themes' instead of
572 './App_Themes' to enable theme support for files in sub folders.
574 2006-05-25 Andrew Skiba <andrews@mainsoft.com>
576 * Control.cs: move 2.0 stuff into ifdef NET_2_0
578 2006-05-25 Andrew Skiba <andrews@mainsoft.com>
580 * Page.cs, Control.cs: Fix the order of OnInit invocation of controls
581 created via master page content (see
582 http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
584 2006-05-11 Andrew Skiba <andrews@mainsoft.com>
586 * Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the
587 PageTheme and from StyleSheetPageTheme to insert links in page header.
589 2006-05-10 Andrew Skiba <andrews@mainsoft.com>
591 * TemlpateParser.cs: surround file name with quotes
593 2006-05-08 Chris Toshok <toshok@ximian.com>
595 * ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
596 fixes the last thing keeping the test in #76818 from working.
598 2006-05-07 Andrew Skiba <andrews@mainsoft.com>
600 * Page.cs: if no theme is defined in aspx, read default from web.config.
601 Same for the style sheet theme.
603 2006-04-27 Andrew Skiba <andrews@mainsoft.com>
605 * TemplateParser.cs: format according to
606 http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html
608 2006-04-25 Chris Toshok <toshok@ximian.com>
610 * PageThemeParser.cs (LinkedStyleSheets): reformat.
612 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
614 * Control.cs: implementation for IsViewStateEnabled.
616 2006-04-25 Andrew Skiba <andrews@mainsoft.com>
618 * Control.cs: fix null pointer exception
620 2006-04-23 Andrew Skiba <andrews@mainsoft.com>
622 * PageThemeParser.cs: add LinkedStyleSheets property
624 2006-04-16 Andrew Skiba <andrews@mainsoft.com>
626 * TemplateParser.cs: add internal method AddAssemblyByFileName
628 2006-04-16 Konstantin Triger <kostat@mainsoft.com>
630 * SimpleWebHandlerParser.cs: correctly resolve GACs dependencies.
632 2006-04-11 Konstantin Triger <kostat@mainsoft.com>
634 * Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem().
636 2006-04-10 Chris Toshok <toshok@ximian.com>
638 * PageThemeFileParser.cs (AddDirective): allow Register directives
641 2006-04-02 Chris Toshok <toshok@ximian.com>
643 * Control.cs (DesignMode): always return false for now. Fixes
646 2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
648 * ControlBuilder.cs: when creating a default property builder, handle
651 * StringPropertyBuilder.cs: new builder used in TextBox 2.0.
653 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
655 * ControlCollection.cs: fixed CopyTo method, fixes bug when if target
658 2006-03-13 Chris Toshok <toshok@ximian.com>
660 * HtmlTextWriterTag.cs: no [Serializable] in 2.0.
662 * HtmlTextWriterAttribute.cs: same.
664 * HtmlTextWriterStyle.cs: same.
666 * VirtualReferenceType.cs: new enum.
668 2006-03-13 Chris Toshok <toshok@ximian.com>
670 * UserControl.cs: rework InitializeAsUserControl and
671 InitializeAsUserControlInternal - the Internal variety doesn't set
672 this.page to null now.
674 * MasterPage.cs (CreateMasterPage): map the masterPageFile path,
675 and also remove a line of spew.
677 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
679 * Added PageParser.jvm.cs, WebServiceParser.jvm.cs
681 2006-03-07 Chris Toshok <toshok@ximian.com>
683 * Page.cs (InitializeStyleSheet): load the style sheet theme using
684 ThemeDirectoryCompiler.
685 (InitializeTheme): load the page's theme using
686 ThemeDirectoryCompiler.
687 (InternalProcessRequest): call InitializeTheme after OnPreInit.
688 (FrameworkInitialize): call InitializeStyleSheet.
689 (PageTheme,StyleSheetPageTheme): new properties to get the
692 * Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
693 on the ControlSkin (if there is one) for this control in the
694 page's StyleSheetSkin.
695 (ApplyThemeRecursively): applies the page's theme recursively to
696 the control hierarchy. Must be done this way because the control
697 tree is already present when we apply the theme (it has to be,
698 since theme's override settings).
700 * PageTheme.cs (GetControlSkin): add internal call to do the
703 * PageThemeFileParser.cs: the parser object that represents each
704 individual skin file.
706 * PageThemeParser.cs: the parser object that represents the entire
709 * PageThemeBuilder.cs: this class generates the right exception on
710 the right event, but it's not hooked up yet.
712 2006-03-02 Chris Toshok <toshok@ximian.com>
714 * Control.cs (ApplyStyleSheetTheme): remove the exception, and add
717 * Page.cs (Theme): implement setter/getter.
718 (StyleSheetTheme): same.
720 * PageParser.cs (ProcessMainAttributes): parse the Theme and
721 StyleSheetTheme attributes.
723 2006-02-27 Chris Toshok <toshok@ximian.com>
725 * TemplateControl.cs: corcompare work.
727 * ExpressionBindingCollection.cs: same.
729 * HierarchicalDataSourceControl.cs: same.
731 * PostBackOptions.cs: same.
733 * ClientScriptManager.cs: same.
735 * FilterableAttribute.cs: same.
737 * ControlCollection.cs: same.
739 * DataBindingCollection.cs: same.
741 * PropertyEntry.cs: mark ctor internal.
743 * SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.
745 * Page.cs: stub out two Theme oriented 2.0 properties.
747 * DataBinder.cs: remove the obsolete attribute on the ctor.
749 * TwoWayBoundPropertyEntry.cs: remove this.
751 * ControlBuilder.cs (BindingContainerType): virtual in 2.0.
753 * ThemeProvider: new (stubbed) class.
755 * SkinBuilder.cs: same.
757 * PageTheme.cs: same.
759 * ControlSkin.cs: same.
761 * ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.
763 * SimplePropertyEntry.cs: mark ctor as internal.
765 * IThemeResolutionService.cs: enable the 3 members of this
768 2006-02-27 Chris Toshok <toshok@ximian.com>
770 * ListSourceHelper.cs: this class is static.
772 * Page.cs: add some EditorBrowsable attributes to the 2.0 events.
774 2006-02-27 Chris Toshok <toshok@ximian.com>
776 * DataSourceView.cs: Name isn't virtual.
778 * DataSourceControl.cs: beat this class over the head with the
781 * DataSourceControlBuilder.cs: new stubbed control builder for
784 2006-02-23 Chris Toshok <toshok@ximian.com>
786 * Page.cs: more corcompare work.
788 2006-02-23 Chris Toshok <toshok@ximian.com>
790 * Page.cs (ProcessCallbackData): track change to
791 ICallbackEventHandler iface.
793 * ICallbackEventHandler.cs: enable the proper members of this
796 * DataSourceSelectArguments.cs: reformat getter/setters.
798 2006-02-22 Cesar Lopez Nataren <cnataren@novell.com>
800 * HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
802 2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
804 * WebHandlerParser.cs:
805 * WebServiceParser.cs:
806 * UserControlParser.cs:
807 * PageParser.cs: added new ctor that uses a TextReader as input.
809 * TemplateControlParser.cs: new Reader property.
810 * SimpleWebHandlerParser.cs: new Reader property and ctor.
812 2006-02-12 Cesar Lopez Nataren <cnataren@novell.com>
814 * HtmlTextWriter.cs: Implemented IsValidFormAttribute and
815 WriterBreak for the .NET 2.0 profile.
817 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
819 * IThemeResolutionService.cs: this is now added to the
820 sources file, but some other stuff does not compile yet as the
821 interface changed after the beta.
823 * ObjectConverter.cs: removed extra attribute.
825 * ObjectStateFormatter.cs: add IStateFormatter for 2.0.
827 * ICallbackEventHandler.cs: update the interface, but commented the
828 'good' stuff out, since other files need to be fixed too.
830 2006-02-07 Chris Toshok <toshok@ximian.com>
832 * ControlBuilder.cs: rename flushOutputStatements to
833 methodStatements to at least reflect that they're in that method.
835 2006-02-07 Chris Toshok <toshok@ximian.com>
837 * MasterPage.cs (CreateMasterPage): don't nullref on null
838 contentTemplateCollection.
840 * ControlBuilder.cs: add a flushOutputStatements field.
842 * PageParser.cs (ProcessMainAttributes): handle Title attribute.
845 * Page.cs (Title): implement getter/setter.
846 (InternalProcessRequest): after calling ApplyMasterPage, apply the
847 page's Title directive if there is one.
848 (AddContentTemplate): make the EditorBrowsable attribute apply to
849 the method, not the field.
851 2006-02-07 Chris Toshok <toshok@ximian.com>
853 * MasterPage.cs: rework this file, adding some static methods
854 gleaned from MS stack traces, and clear up the propogation of
855 content templates between nested master pages.
857 * Control.cs (TemplateControl): implement.
859 * TemplateControl.cs: re-indent some of the code.
860 (ReadStringRecource): according to msdn2, these throw
861 NotSupportedException.
863 * MasterPageParser.cs (HandleOption): implement. assign our
864 master page's MasterPageFile from the UserControl property.
866 * UserControl.cs (InitializeAsUserControlInternal): new method
867 that allows initialization without a page.
869 * UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
870 MasterPageFile attributes, so we can have nested master pages.
871 (MasterPageFile): add a 2.0 specific property.
873 * TemplateControlParser.cs: in .net 2.0, our base class is
875 (HandleOptions): be consistent and call base.HandleOptions.
877 * BaseTemplateParser.cs: new (stubbed) class.
879 * MasterPageControlBuilder.cs: new file, not filled in (and really
882 * Page.cs (InternalProcessRequest): call ApplyMasterPage.
883 (SaveExistingContentTemplates): nuke.
884 (ReapplyExistingContentTemplate): nuke.
885 (ApplyMasterPage): if we have a master page, call
886 MasterPage.ApplyMasterPageRecursive with it and add it to our
888 (set_MasterPageFile): remove call to SaveExistingContentTemplates.
889 (get_Master): call MasterPage.CreateMasterPage.
890 (AddContentTemplate): keep track of the page's content templates
891 in a local Hashtable - they aren't our master page's content
894 2006-02-01 Chris Toshok <toshok@ximian.com>
896 * TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
897 calls to GetWebApplicationSection with GetSection.
899 * SimpleWebHandlerParser.cs: same.
903 * PageParser.cs: same.
905 * BaseParser.cs: same.
907 2006-01-27 Chris Toshok <toshok@ximian.com>
909 * MasterPage.cs (ContentTemplatesInternal): add get/set for the
912 * Page.cs (SaveExistingContentTemplates): store off the existing
913 MasterPage content templates so they can be reapplied when setting
914 MasterPageFile to something else.
915 (ReapplyExistingContentTemplates): set masterPage's
916 ContentTemplates to our saved copy.
917 (set_MasterPageFile): save off the current content templates
918 before clearing masterPage.
919 (get_Master): reapply the saved content templates after we create
922 2006-01-25 Chris Toshok <toshok@ximian.com>
924 * ClientScriptManager.cs (RegisterClientScriptResource): last
925 patch, I swear. How can 1 line of code have 3 bugs?
927 2006-01-25 Chris Toshok <toshok@ximian.com>
929 * ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
930 problem with last commit - unquote "resourceName" so it uses the
931 parameter instead of the string constant.
933 2006-01-22 Chris Toshok <toshok@ximian.com>
935 * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
938 * PageParser.cs (ProcessMainAttributes): i missed a
939 CONFIGURATION_2_0 block.
941 * BoundPropertyEntry.cs (.ctor): mark as internal to fix
944 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
946 * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
948 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
950 * HtmlTextWriter.cs: perform case insensitive compare;
951 return correct key in default case.
953 2006-01-11 Chris Toshok <toshok@ximian.com>
955 * ClientScriptManager.cs (RegisterClientScriptResource):
958 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
960 * ObjectStateFormatter.cs: Removed TARGET_JVM parts in
963 2006-01-10 Chris Toshok <toshok@ximian.com>
965 * Page.cs (ValidateCollection): in NET_2_0 if event validation is
968 2006-01-09 Chris Toshok <toshok@ximian.com>
970 * Page.cs: fix a lot of indentation, and add the
971 EnableEventValidation .net 2.0 property.
973 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
975 * ObjectStateFormatter.cs: Merged TARGET_JVM parts in
976 TypeFormatter.Read, TypeFormatter.Write from /main/5
978 2006-01-09 Konstantin Triger <kostat@mainsoft.com>
980 * Page.cs: make ProcessRequest virtual under TARGET_JVM.
982 2006-01-04 Chris Toshok <toshok@ximian.com>
984 * TemplateParser.cs (.ctor): kinda gross, but handle the
985 AddAssembliesInBin case here.
987 * SimpleWebHandlerParser.cs (.ctor): same.
989 2006-01-04 Chris Toshok <toshok@ximian.com>
991 * SimpleWebHandlerParser.cs: Remove the declaration of
992 compilationConfig in the CONFIGURATION_2_0 case. it's
994 (.ctor): ifdef out the AddAssembliesInBin call in the
995 CONFIGURATION_2_0 case. need to revisit this.
996 (CompilationConfig): add a CONFIGURATION_2_0 version.
998 * BaseParser.cs: Remove the declaration of compilationConfig in
999 the CONFIGURATION_2_0 case. it's unnecessary.
1001 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1003 * Control.cs: use _controls instead of the property wherever possible.
1005 2005-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1007 * Control.cs: use the _controls field instead of the Controls property.
1010 2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
1012 * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
1014 * KeyedListEnumerator.cs: Now internal.
1016 2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1018 * ControlCollection.cs: allow 'null' in Remove.
1020 2005-11-28 Chris Toshok <toshok@ximian.com>
1022 * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
1024 * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
1025 (PagesConfig): add a CONFIGURATION_2_0 version that returns a
1028 * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
1030 * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
1031 version that returns a CompilationSection.
1033 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1035 * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
1037 2005-11-09 Chris Toshok <toshok@ximian.com>
1039 * ViewStateEncryptionMode.cs: new 2.0 enum.
1041 2005-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1043 * TemplateParser.cs: fixes #76423. Not tested properly.
1045 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1047 * Page.cs: call LoadViewStateRecursive when the Form collection has
1048 not been used by a different page (GetTypeHashCode). This fixes problems
1049 when calling Server.Transfer while preserving Form and QueryString,
1050 as the page we transfer to used the view state stored in the Form, which
1051 contained the serialized data for the page calling Server.Transfer
1054 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1056 * Page.cs: add/remove the error before/after invoking OnError.
1058 2005-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1060 * Page.cs: call OnError when there's an exception (not for TAE). Fixes
1063 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1065 * TemplateControl.cs:
1066 * PartialCachingControl.cs: if a control is cacheable, LoadControl
1067 returns a PartialCachingControl that holds the VaryBy* and takes care
1068 of partial caching and rendering. Fixes bug #76547.
1070 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1072 * Page.cs: don't cache the 'Validate()' results. IsValid retests
1073 the validators again.
1075 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1077 * DesignerDataBoundLiteralControl.cs: changed autoid api.
1078 * DataBoundLiteralControl.cs: changed autoid api.
1080 * Control.cs: fixlet for UniqueID and weird test case. Removed
1081 PreventAutoID and only use the property to set that value.
1083 * LiteralControl.cs: changed autoid api.
1085 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1087 * AttributeCollection.cs: avoid code duplication and
1088 don't add "style" to the bag, or it will overwrite the settings made
1089 by CssStyleCollection.
1091 * CssStyleCollection.cs: make it throw where MS throws.
1092 Minimize the number of times we create the "style" string and take
1093 care of updating it for the AttributeCollection. FillStyle and
1094 BagToString are now private. One should use the 2.0 (internal in <2.0)
1097 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1099 * Control.cs: fix HasChildViewStates.
1101 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1103 * LosFormatter.cs: when the default ctor is used, MAC is disabled.
1106 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1108 * ObjectTagBuilder.cs: only fail when no id and no attributes.
1110 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1112 * DataBindingCollection.cs: Using an hashtable is a nice trick but
1113 we need to copy values (not the DictionaryEntry) in CopyTo.
1114 * Page.cs: IsValid throws an exception if the page hasn't be
1115 validated. VerifyRenderingInServerForm doesn't throw an exception
1116 during unit testing (without a context?) but does in normal ops.
1118 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1120 * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
1121 save the allocation of new MemoryStreams when possible. Thanks to
1124 2005-09-23 Ben Maurer <bmaurer@ximian.com>
1126 * HtmlTextWriter.cs: Initial support for escaping.
1128 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1130 * ViewStateOutputHashStream.cs: Removed. It didn't last long.
1132 * Page.cs: almost restored to its previous state, but now that we found
1133 that LosFormatter ctor that takes 'enableMac', moved the logic to
1134 add the hash and validate there. Thanks to Sebastien for his input.
1136 * LosFormatter.cs: implemented the missing ctors and support for
1137 "MAC" validation of the data.
1139 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1142 * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
1143 prevents the viewstate being altered on the client and it's disabled
1144 by default as per the documentation, but MS machine.config has it
1145 enabled in machine.config.
1147 2005-09-22 Miguel de Icaza <miguel@novell.com>
1149 * DataBindingCollection.cs: Raise the event, remove MonoTODO.
1151 * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
1154 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1156 * Control.cs: Added null checks for Trace as it can be null when
1157 rendering (like it was for 39 unit tests).
1159 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1161 * Page.cs: reverted hacks used with the wrong method of getting a
1162 control rendered size.
1163 * Control.cs: if the trace is enabled, save control rendered size.
1165 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1167 * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
1168 now use HtmlHeader directly.
1169 * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
1170 rewrote Equals to avoid dual type cast.
1172 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1174 * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
1176 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1178 * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
1179 * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
1180 with Minimal level. Fixed checks on ctor.
1181 * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
1182 AspNetHostingPermission with Minimal level.
1183 * TemplateContainerAttribute.cs: Added LinkDemand for
1184 AspNetHostingPermission with Minimal level.
1185 * TemplateControl.cs: Added LinkDemand and InheritanceDemand for
1186 AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
1187 Stubbed IFilterResolutionService for CAS testing.
1188 * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
1189 AspNetHostingPermission with Minimal level.
1190 * TemplateParser.cs: Added LinkDemand and InheritanceDemand for
1191 AspNetHostingPermission with Minimal level.
1192 * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
1193 with Minimal level. Removed IDispose interface.
1194 * ToolboxDataAttribute.cs: Added LinkDemand for
1195 AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
1196 to work on both 1.x and 2.0 profiles.
1197 * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
1198 for AspNetHostingPermission with Minimal level.
1199 * UserControl.cs: Added LinkDemand and InheritanceDemand for
1200 AspNetHostingPermission with Minimal level. Stubbed
1201 IFilterResolutionService for CAS testing.
1202 * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
1203 for AspNetHostingPermission with Minimal level.
1204 * ValidationPropertyAttribute.cs: Added LinkDemand for
1205 AspNetHostingPermission with Minimal level.
1206 * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
1208 * WebResourceAttribute.cs: Removed extra ctor and added setter to
1209 PerformSubstitution.
1210 * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
1211 AspNetHostingPermission with Minimal level.
1213 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1215 * ParseChildrenAttribute.cs: Added LinkDemand for
1216 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1217 casting. Added new ctor and public fields (2.0). Changed
1218 ChildControlType setter visibility to internal.
1219 * PartialCachingAttribute.cs: Added LinkDemand for
1220 AspNetHostingPermission with Minimal level. Added new ctor and
1221 SqlDependency property (2.0).
1222 * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
1223 AspNetHostingPermission with Minimal level.
1224 * PersistenceModeAttribute.cs: Added LinkDemand for
1225 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1227 * PersistChildrenAttribute.cs: Added LinkDemand for
1228 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1230 * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
1231 with Minimal level. Class is static in 2.0.
1232 * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
1233 AspNetHostingPermission with Minimal level. Class is no more sealed in
1234 2.0. Added new (2.0) BuiltObjects property.
1235 * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
1236 for AspNetHostingPermission with Minimal level.
1237 * StateItem.cs: Added LinkDemand for AspNetHostingPermission with
1239 * StateBag.cs: Added LinkDemand for AspNetHostingPermission with
1240 Minimal level. Removed SetDirty() which was called (2.0) but did
1242 * StaticPartialCachingControl.cs: Added LinkDemand and
1243 InheritanceDemand for AspNetHostingPermission with Minimal level.
1245 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1247 * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
1248 AspNetHostingPermission with Minimal level. Added new 2.0 properties
1249 (but the generated HTML doesn't use them).
1250 * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
1251 AspNetHostingPermission with Minimal level.
1252 * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
1254 * LiteralControl.cs: Added LinkDemand and InheritanceDemand for
1255 AspNetHostingPermission with Minimal level. Default Text is null.
1256 * LosFormatter.cs: Added LinkDemand and InheritanceDemand for
1257 AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
1258 * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
1259 AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
1260 * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
1261 with Minimal level. Added check for null id (HttpException).
1262 * Page.cs: Added LinkDemand and InheritanceDemand for
1263 AspNetHostingPermission with Minimal level. Throw some HttpException
1264 when no context is available.
1265 * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
1266 level. InheritanceDemand too for 1.x.
1267 * PageParser.cs: Added LinkDemand for AspNetHostingPermission with
1270 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1272 * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
1273 Minimal level. Fixed some exceptions.
1274 * DataBindingCollection.cs: Added LinkDemand for
1275 AspNetHostingPermission with Minimal level. Added 2.0 method and
1277 * DataBindingHandlerAttribute.cs: Added LinkDemand for
1278 AspNetHostingPermission with Minimal level.
1279 * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
1280 Minimal level. Simplified Equals (reduced casts).
1281 * DataBoundLiteralControl.cs: Added LinkDemand for
1282 AspNetHostingPermission with Minimal level. Implemented ITextControl
1284 * DesignerDataBoundLiteralControl.cs: Added LinkDemand for
1285 AspNetHostingPermission with Minimal level.
1286 * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
1287 with Minimal level. Added new 2.0 properties.
1288 * DesignTimeTemplateParser.cs: Added LinkDemand for
1289 AspNetHostingPermission with Minimal level. Made class static and
1290 stubbed missing methods (2.0).
1291 * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
1292 for AspNetHostingPermission with Minimal level. Changed Add* methods
1293 exceptions to HttpException.
1295 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1297 * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
1299 * BaseParser.cs: Added LinkDemand and InheritanceDemand for
1300 AspNetHostingPermission with Minimal level.
1301 * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
1302 for AspNetHostingPermission with Minimal level.
1303 * CompiledTemplateBuilder.cs: Added LinkDemand for
1304 AspNetHostingPermission with Minimal level.
1305 * ConstructorNeedsTagAttribute.cs: Added LinkDemand for
1306 AspNetHostingPermission with Minimal level.
1307 * ControlBuilderAttribute.cs: Added LinkDemand for
1308 AspNetHostingPermission with Minimal level. Simplified Equals and
1310 * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
1311 AspNetHostingPermission with Minimal level.
1312 * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
1313 * ControlCollection.cs: Added LinkDemand and InheritanceDemand for
1314 AspNetHostingPermission with Minimal level. Fixed possible stack
1315 overflow in Add* methods. Fixed CopyTo as we're not allocating the
1316 array based on the number of items.
1317 * Control.cs: Added LinkDemand and InheritanceDemand for
1318 AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
1319 * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
1321 * IStyleSheet.cs: Fixed parameter orders (2.0).
1323 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1325 * TemplateParser.cs: default VS 2005 pages are compiled fine now.
1327 2005-09-07 Chris Toshok <toshok@ximian.com>
1329 * MinimizableAttributeTypeConverter.cs: new class, whose existence
1330 we know about because of corcompare, and for whose implementation
1331 we have exclusively nunit to thank.
1333 2005-09-06 Chris Toshok <toshok@ximian.com>
1335 * RootBuilder.cs (.cctor): doh, add all the new html controls
1338 2005-08-31 Chris Toshok <toshok@ximian.com>
1340 * DataSourceSelectArguments.cs (Empty): this is apparently,
1341 according to corcompare, a property, not a field. go figure.
1342 (Equals): implement.
1343 (IsEmpty): remove all mention of it.
1345 2005-08-29 Chris Toshok <toshok@ximian.com>
1347 * StateBag.cs (GetChar): add.
1349 2005-08-28 Chris Toshok <toshok@ximian.com>
1351 * Page.cs: more random corcompare work.
1352 (PageAdapter): implement.
1354 2005-08-28 Chris Toshok <toshok@ximian.com>
1356 * Page.cs (.ctor): set our initial ID to "__Page".
1357 (SmartNavigation): obsolete in 2.0.
1358 (FindControl): new implementation. Just check our own ID against
1359 the control we're looking for. otherwise pass it along to
1361 (GetPostBackClientHyperlink): obsolete in 2.0.
1363 2005-08-28 Chris Toshok <toshok@ximian.com>
1365 * ClientScriptManager.cs: public sealed in 2.0
1367 * IAdaptableTextWriter.cs: new 2.0 interface.
1369 * IHierarchyData.cs: fix return type for GetParent.
1371 2005-08-28 Chris Toshok <toshok@ximian.com>
1373 * Pair.cs: mark serializable and sealed in 2.0.
1375 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1377 * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
1378 existing (but internal) FillStyle method. Rewrote BagToString to use an
1379 HtmlTextWriter so we get the "right" format for background-image url.
1381 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1383 * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
1384 Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
1385 the extra space from last patch because they break some unit tests.
1387 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
1389 * CssStyleCollection.cs: Added some spacing.
1390 * HtmlTextWriter.cs: Made style and attribute tables static.
1391 Implemented StaticGetStyleName().
1393 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1395 * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
1397 * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
1398 The new rendering formats the value as "url(" + original + ")".
1400 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1402 * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
1403 depends on the HtmlTextWriterStyle ordering).
1405 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1407 * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
1409 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1411 * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
1412 fixed the rest of the enum values).
1413 * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
1414 parameter to match 2.0 API. Added a setter to the AllowedTypes
1417 2005-08-24 Chris Toshok <toshok@ximian.com>
1419 * Control.cs (get_Adapter): Instead of throwing an exception, just
1420 return null, so we can write the rest of the Control specific
1421 Adapter code and just not enable any of those code paths until we
1422 have actual adapters. Also flag TODO.
1423 (EnsureChildControls): Call out to Adapter.CreateChildControls if
1425 (RenderChildren): call "RenderControl (writer, adapter)" if we
1427 (RenderControl): implement the adapter case naively.
1428 (LoadRecursive): call out to Adapter.OnLoad if we have one.
1429 (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
1431 (InitRecursive): call out to Adapter.OnInit if we have one.
1433 2005-08-24 Chris Toshok <toshok@ximian.com>
1435 * Page.cs (GetPostBackEventReference): track change to
1436 ClientScriptManager and don't call a removed method.
1438 * ClientScriptManager.cs: track more recent docs and corcompare
1441 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
1443 * KeyedList.cs: Fixed bug when removing an unexisting object.
1444 * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
1445 in implementing RoleGroupCollection.
1447 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
1449 * Page.cs: Use Control property (and not the _control variable) to get
1450 the User (so the virtual Control property can be overriden properly).
1451 Sadly this doesn't seems to be the case for other properties (like
1454 2005-08-18 Dick Porter <dick@ximian.com>
1456 * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
1457 UserControl.cs, DesignerDataBoundLiteralControl.cs,
1458 PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
1459 BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
1460 stubs and attribute fixes
1462 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
1464 * Control.cs: Add protected virtual SetDesignModeState, in 2.0
1465 profile, as this is required for the Login control.
1467 2005-08-11 Dick Porter <dick@ximian.com>
1469 * CssStyleCollection.cs: Tweak the css string format to pass a
1472 * AttributeCollection.cs: Don't NRE if someone sets the "style"
1475 2005-08-05 Ben Maurer <bmaurer@ximian.com>
1477 * HtmlTextWriter.cs: Revert the patch below, see test case
1479 2005-08-05 Dick Porter <dick@ximian.com>
1481 * HtmlTextWriter.cs: Make <option> tags render inline, to match
1484 2005-08-03 Ben Maurer <bmaurer@ximian.com>
1486 * HtmlTextWriter.cs: Optmize this not to do insane amounts of
1487 allocation for large pages, etc.
1489 2005-07-30 Chris Toshok <toshok@ximian.com>
1491 * Page.cs (VerifyRenderingInServerForm): copy MS's error message
1492 since our form-errors jsunit tests depend on it.
1494 2005-07-30 Chris Toshok <toshok@ximian.com>
1496 * DataBinder.cs (FormatResult): make internal, not private.
1498 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1500 * StateBag.cs: Don't remove when tracking viewstate, as per msft
1503 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1505 * StateBag.cs: Actually *remove* items that are null. Duh.
1507 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
1509 * Page.cs: Need to throw exception when accessing Request but no
1512 2005-07-20 Chris Toshok <toshok@ximian.com>
1514 * ClientScriptManager.cs (GetClientValidationEvent): the JS we
1515 stick in onclick handlers for buttons/links/etc.
1517 * Page.cs (GetSubmitStatements): new function to return
1518 scriptManager.WriteSubmitStatements. Used by HtmlForm.
1519 (AreValidatorsUplevel): used by many of the button/linkbutton
1520 controls (the ones that can CauseValidation) to tell whether or
1521 not to emit client side validation calls.
1523 2005-07-20 Chris Toshok <toshok@ximian.com>
1525 * WebResourceAttribute.cs: make internal (and available) in
1528 2005-07-20 Chris Toshok <toshok@ximian.com>
1530 * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
1531 available) in !NET_2_0.
1533 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
1535 * Control.cs: Added IDataBindingsAccessor interface methods
1537 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1539 * HtmlTextWriter.cs: Fix nested indentation
1541 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
1543 * Control.cs: Added missing IParserAccessor.AddParsedSubObject
1546 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1548 * HtmlTextWriter.cs: Fix indentation (somewhat at least)
1550 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
1553 - Default name for controls on MS.Net is "_ctl" not "_ctrl"
1554 - MS does not append 'a' for auto-generated names
1556 2005-07-17 Ben Maurer <bmaurer@ximian.com>
1558 * AttributeCollection.cs: Use the invariant culture.
1560 * StateBag.cs: "Duh" optimization: return null when there are no
1561 dirty items in the view state
1563 2005-07-14 Ben Maurer <bmaurer@ximian.com>
1565 * StateBag.cs: A "short" version of my favorite method.
1567 * HtmlTextWriter.cs: New method to get the tag name staticly.
1569 2005-07-14 Duncan Mak <duncan@novell.com>
1571 * DataBindingHandlerAttribute.cs: Fixed after receiving some
1572 comments from Gonzalo.
1574 2005-07-13 Jackson Harper <jackson@ximian.com>
1576 * PropertyConverter.cs: No public constructors.
1578 2005-07-13 Ben Maurer <bmaurer@ximian.com>
1580 * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
1582 2005-07-12 Ben Maurer <bmaurer@ximian.com>
1584 * HtmlTextWriter.cs: Make styles work.
1586 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
1588 * AttributeCollection.cs:
1589 - Changes to match MS behaviour, the "style" attribute is always
1590 added to the list, in addition to being added to the
1591 CssStyleCollection. Also added check for "style" attribute when
1592 setting via index setter
1593 - When "Style" attribute is added, CssStyleCollection is
1594 automatically created
1595 - The style keyword needs to be lowercase
1597 2005-07-11 Ben Maurer <bmaurer@ximian.com>
1599 * HtmlTextWriter.cs: Missing a PopEndTag here.
1601 * PropertyConverter.cs: Pass tests
1603 2005-07-09 Miguel de Icaza <miguel@novell.com>
1605 * DataBindingHandlerAttribute.cs: Create the "Default" property.
1607 2005-07-09 Duncan Mak <duncan@novell.com>
1609 * DataBindingHandlerAttribute.cs: Implemented.
1611 2005-07-08 Ben Maurer <bmaurer@ximian.com>
1613 * HtmlTextWriter.cs: Much better compliance with msft
1615 2005-07-08 Jackson Harper <jackson@ximian.com>
1617 * ToolbarDataAttribute.cs: New implementation.
1619 2005-07-07 Jackson Harper <jackson@ximian.com>
1621 * PropertyConverter.cs: New implementation.
1623 2005-07-07 Ben Maurer <bmaurer@ximian.com>
1625 * StateBag.cs: Noticed an issue where SetDirty was called when the
1628 2005-07-07 Ben Maurer <bmaurer@ximian.com>
1630 * StateBag.cs: Add a method that gets a string or else a default
1633 2005-07-07 Dick Porter <dick@ximian.com>
1635 * StateBag.cs: Added internal SetDirty (void) method to fix the
1638 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1640 * HtmlTextWriter.cs: Small fixlet when attribute has no value.
1642 2005-07-07 Miguel de Icaza <miguel@novell.com>
1644 * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
1647 * StateBag.cs: Add NET_2_0 SetDirty method to get the build
1650 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1652 * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
1654 2005-07-06 Ben Maurer <bmaurer@ximian.com>
1656 * HtmlTextWriter.cs: Make sure to clear attributes when they are
1659 * StateBag.cs: New impl
1661 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1664 * Control.cs: avoid the creation of the EventHandlerList and accessing
1665 to it whenever possible. Fix ENABLE_THEMING constant.
1667 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1669 * TemplateParser.cs:
1670 * TemplateControlParser.cs:
1671 * UserControlParser.cs: detect circular references when a control tries
1672 to register itself as a tag. Fixes bug #75376.
1674 2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1676 * PageParser.cs: don't try to compile the master page if it wan't
1677 provided. Use MapPath from the base classes instead of the long
1678 version. Fixes bug #75269 that prevented xsp2 from working properly.
1680 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
1682 * MasterPage.cs: Clear the default content of placeholders before
1683 adding the page content. Fixes bug #75193.
1685 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
1687 * PageParser.cs: Added MasterType property. Get the type from the
1688 MasterType directive.
1689 * MasterPageParser.cs: Added GetCompiledMasterType method.
1691 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1695 * Control.cs: updates for 1.1 SP1
1697 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
1699 * Control.cs: Added new DataBind() overload for 2.0. The old
1700 method calls this new overload.
1702 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1704 * TemplateParser.cs: ignore empty assembly.Location for in-memory
1705 generated assemblies.
1707 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1709 * Page.cs: added AddContentTemplate method.
1711 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1713 * AttributeCollection.cs: html-encode attribute values. Fixes
1716 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
1718 * DataSourceView.cs: Fix api.
1719 * NonVisualControlAttribute.cs: Implemented.
1720 * IDataItemContainer.cs: Added missing properties.
1721 * Control.cs: Added new EnableTheming and SkinID properties.
1722 * HierarchicalDataSourceControl.cs: Implemented missing methods.
1724 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
1726 * ControlCollection.cs: Added internal setter for ReadOnly.
1728 2005-05-09 Geoff Norotn <gnorton@customerdna.com>
1730 * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
1731 uses instead of codebehind.
1733 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1735 * Page.cs: as setting CurrentCulture is slow, don't set it if the
1736 culture has not changed since before the page started processing.
1738 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1740 * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
1743 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1745 * TemplateParser.cs:
1746 * SimpleWebHandlerParser.cs: removed values assigned and neved used.
1748 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1750 * SimpleWebHandlerParser.cs:
1751 * TemplateParser.cs: always get the location (full path) for assemblies,
1752 even the ones from the GAC.
1754 * BaseCompiler.cs: check that DynamicBase directory exists before
1755 creating the TempFileCollection.
1757 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
1759 * ClientScriptManager.cs: Use a linked list instead of a Hashtable
1760 to store the scripts. In this way, scripts will be rendered in the
1761 same order as they have been registered. It shouldn't be slower
1762 since pages don't have many scripts.
1764 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
1766 * IEditableTextControl.cs: Implemented.
1767 * DataBinder.cs: Marked constructor as obsolete in 2.0.
1768 In GetDataItem, check for the IDataItemContainer interface
1770 * TemplateControl.cs: Improved check for data item.
1772 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1774 * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
1775 * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
1776 for second postback.
1778 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1779 * TemplateParser.cs: Adding support for Strict/Explicit attributes
1780 for @Page/@Control directives as documented at
1781 http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
1782 First step don't choke on them. Fixing #74671
1784 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1786 * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
1787 there from the time when Load wasn't working properly. First part of the
1790 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
1792 * ControlBuilder.cs: The BindingContainerType property happens
1793 to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
1794 which is used to get the binding container that is managing
1795 the current two-way binding context.
1796 * TemplateBuilder.cs: Added some methods and an internal class
1797 to support two-way bindings.
1798 * CompiledBindableTemplateBuilder.cs: Implemented.
1799 * IBindableTemplate.cs: This interface inherits from ITemplate.
1801 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
1803 * ControlBuilder.cs: Added BindingContainerType property,
1804 which works like NamingContainerType but takes into account
1805 template builders with a specific container type (specified
1806 using the TemplateContainerAttribute.
1807 * StateManagedCollection.cs: Reimplemented Save/Load view
1808 state methods. The existing implementation was not correct
1811 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
1813 * DataSourceView.cs: Added null check.
1815 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
1817 * TemplateControl.cs:
1818 * Page.cs: Moved Eval and XPath from Page
1820 * StateManagedCollection.cs: Avoid saving null state.
1822 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
1824 * DataSourceView.cs: Rethrow exceptions not handled by operation
1826 * ITextControl.cs: Removed event.
1827 * CollectionBuilder.cs: Don't crash when a collection has more
1830 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
1832 * Control.cs: Added a new internal property: HasRenderMethodDelegate.
1833 * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
1834 * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
1836 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
1838 * ClientScriptManager.cs: Fix build.
1840 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
1842 * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
1843 since it is deprecated in 2.0.
1844 * Page.cs: Deprecated GetPostBackClientEvent and similar methods
1845 in 2.0. Moved callback management methods to ClientScriptManager.
1846 * ClientScriptManager.cs: Moved here deprecated methods from Page.
1847 In GetPostBackEventReference (PostBackOptions), don't use the
1848 WebForm_DoPostback script if the post can be done with a simple
1850 * PostBackOptions.cs: Fixed default values for some properties.
1852 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1854 * Control.cs: in FindControl, throw if there's more than one control
1855 with the same ID. Fixes bug #73479.
1857 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
1859 * Page.cs: Load control state before loading view state, and the
1861 * DataSourceSelectArguments.cs: Fix recursive property call.
1863 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
1865 * DataSourceView.cs: Fixed incorrect implementation of
1866 RaiseUnsupportedCapabilityError.
1867 * IDataItemContainer.cs: Added new properties.
1868 * Page.cs: Implemented Form property.
1869 * Control.cs: Fixed formatting.
1870 * StateManagedCollection.cs: Track view state of items loaded
1873 2005-02-22 Lluis Sanchez Gual <lluis@novell.com>
1875 * FilterableAttribute.cs: Fix endless loop.
1877 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
1879 * Page.cs: Implemented missing events.
1881 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1883 * BoundPropertyEntry.cs:
1885 * TwoWayBoundPropertyEntry.cs: implemented.
1887 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
1889 * Page.cs: Added support for validation groups. Some fixes in
1890 SavePageControlState().
1891 * IFilterResolutionService.cs: Removed extra field.
1892 * INavigateUIData.cs: Added missing field.
1893 * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
1894 Implemented new interfaces.
1896 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
1898 * Page.cs: Implemented support for cross page postback. Implemented
1899 support for postback with options. Fixed several method and property
1901 * PostBackOptions.cs: Added some TODOs.
1903 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
1905 * ParseChildrenAttribute.cs: Set the correct default value for the
1908 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
1910 * ParseChildrenAttribute.cs: Added 2.0 property.
1911 * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
1912 * Page.cs: Added support for control state.
1913 * TemplateBuilder.cs: ContainerType should be internal.
1914 * Control.cs: Added some new 2.0 methods.
1916 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
1918 * PageParser.cs: Read the MasterPageFile attribute.
1919 * UserControlParser.cs: Not sealed any more since we need to inherit from
1920 it. Added new constructor with an additional "type" parameter.
1921 * MasterPageParser.cs: Parser for master pages.
1922 * Page.cs: Added support for master pages.
1923 * MasterPage.cs: Implemented.
1925 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
1927 * TemplateBuilder.cs: Added a special constructor that takes an
1928 attribute provider as parameter. The container type for the template
1929 may be defined in a TemplateContainerAttribute.
1930 * ControlBuilder.cs: Create the TemplateBuilder using that special
1932 * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
1934 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1936 * IStyleSheet.cs: Added missing "using".
1937 * Page.cs: Implemented Header property.
1938 * CssStyleCollection.cs: Made BagToString method internal.
1939 * RootBuilder.cs: Register HtmlHead control.
1941 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
1943 * CssStyleCollection.cs: Minor (!) fix.
1944 * HtmlTextWriter.cs: Register names for new 2.0 styles.
1946 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
1948 * CssStyleCollection.cs: Make it work as a standalone collection.
1949 * HtmlTextWriter.cs: Added static method for getting style names.
1951 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1953 * ControlCollection.cs: fix off-by-one and store a null at the end to
1954 remove the reference to the removed control.
1956 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
1958 * ClientScriptManager.cs: Added GetScriptLiteral helper method.
1960 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
1962 * Page.cs: Added support for callback events. Moved theform variable
1963 outside the __doPostBack function, so it can be used by other
1965 * StateBag.cs: Implemented SetDirty().
1967 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1969 * Control.cs: when saving "Visible" into the ViewState, save the value
1970 for this precise control, as using the Visible property might give us
1971 Control's parent visibility. Fixes bug #69200.
1973 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1975 * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
1978 * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
1979 the appRoot + SessionID + vpath format.
1981 Fixes the 3 issues reported in bug #66623.
1983 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1985 * Page.cs: Moved code for managing client scripts to ClientScriptManager,
1986 which is public in 2.0 and internal in 1.1.
1987 * ClientScriptManager.cs: Implemented.
1989 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
1991 * DataSourceView.cs: Removed extra method.
1993 2004-11-24 Sanjay Gupta <gsanjay@novell.com>
1995 * DataSourveViewSelectCallback.cs: Corrected method signature.
1997 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
1999 * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
2000 even if the class doesn't implement IParserAccessor.
2001 * WebResourceAttribute.cs: Allow multiple attributes of this type.
2003 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
2005 * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
2006 from SqlDataSourceView.cs.
2008 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2010 * Control.cs: unified a few bool fields into an int one.
2012 * ControlCollection.cs: use an array internally instead of always
2013 allocating an arraylist. Also added our own enumerator.
2015 * EmptyControlCollection.cs: there's no 'special' ctor now in the base
2018 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
2020 * DataSourceView.cs: Changes in access modifiers of methods.
2022 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
2024 * DataSourceCapabilities.cs: Added Flags attribute.
2025 * DataSourceSelectArguments.cs: Updated.
2026 * DataSourveView.cs: Updated.
2028 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
2030 * HierarchicalDataSourceView.cs: Corrected class definition and updated.
2032 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2034 * HierarchicalDataSourceView.cs: fix typo.
2036 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
2038 * HierarchicalDataSourceView.cs: Updated.
2040 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
2042 * DataSourceSelectArguments.cs: Initial implementation.
2044 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2046 * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
2048 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2050 * UrlTypes.cs: Updated.
2052 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2054 * UrlPropertyAttribute.cs: Added new file.
2056 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2058 * Control.cs: even if the control has no children the naming container
2059 may contain the control we're looking for. Fixes bug #67304.
2061 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2063 * AspGenerator.cs: added OtherTags.
2065 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2067 * ControlValuePropertyAttribute.cs: Initial implementation.
2069 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2071 * IPaginationContainer.cs: Corrected name of class.
2073 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2075 * IDReferencePropertyAttribute.cs: Completed implementation.
2077 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2079 * ThemeableAttribute.cs:
2080 * FilterableAttribute.cs: Code scrubbing and optimization.
2082 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2084 * ThemeableAttribute.cs: Completed implementation.
2086 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2088 * FilterableAttribute.cs: Completed implementation.
2090 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2092 * Control.cs: Added new attributes and a method.
2093 * FilterableAttribute.cs: New attribute, initial implementation.
2094 * ThemeableAttribute.cs: New attribute, initial implemenataion.
2096 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2098 * TemplateParser.cs: ensure bin directory exists before trying to access
2099 it. Fixes bug #65446 (not closed yet due to dependencies).
2101 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
2103 * Control.cs: Implemented methods of interface IExpressionAccessor.
2105 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2107 * SimpleWebHandlerParser.cs: correctly cache Type instead of the
2108 assembly for ashx/asmx. Otherwise we need to open the file and check
2109 for the class name in there. Thanks to Ben for pointing this out.
2111 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2113 * TemplateParser.cs: removed creation of StringWriter. It's not used.
2114 * Control.cs: don't create the EventHandlerList until requested.
2116 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
2118 * Control.cs: Added new interfaces implemented in .Net 2.0.
2119 * ExpressionBinding.cs: Added new class.
2120 * ExpressionBindingCollection.cs: Added new class.
2122 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2124 * LiteralControl.cs: stylized. This control has EnableViewState disabled
2125 by default and doesn't get an automatic ID. When text is null -> "".
2127 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
2129 * ControlSkinProc.cs:
2130 * DataSourceViewOperationCallback.cs:
2131 * DataSourceViewSelectCallback.cs:
2132 * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
2133 required in definition as delegates by default are sealed.
2135 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
2137 * IDReferencePropertyAttribute.cs: Corrected and changed from interface
2139 * IMobileTextWriter.cs: Corrected method signatures.
2141 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
2143 * ControlSkinProc.cs:
2144 * DataSourceViewOperationCallback.cs:
2145 * DataSourceViewSelectCallback.cs:
2146 * ExtractTemplateValuesMethod.cs: Added new delegates.
2148 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
2150 * IBindableTemplate.cs:
2151 * ICallbackEventHandler.cs:
2152 * IControlBuilderAccessor.cs:
2153 * IControlDesignerAccessor.cs:
2154 * IControlTypeFilter.cs:
2155 * IDataItemContainer.cs:
2156 * IDataSourceViewSchemaAccessor.cs:
2157 * IDReferencePropertyAttribute.cs:
2158 * IExpressionsAccessor.cs:
2159 * IFilterResolutionService.cs:
2160 * IItemPaginationInfo.cs:
2161 * IMobileTextWriter.cs:
2163 * IPaginationContainer.cs:
2164 * IPaginationInfo.cs:
2165 * IResourceResolutionService.cs:
2166 * IResourceUrlGenerator.cs:
2167 * IStateFormatter.cs:
2169 * IThemeResolutionService.cs:
2170 * IUrlResolutionService.cs:
2171 * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
2173 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
2175 * PostBackOptions.cs: Added new file and implemented the class.
2177 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2179 * HtmlTextWriterTag.cs: readded author name.
2181 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
2183 * HtmlTextWriterAttribute.cs:
2184 * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
2185 * CompilationMode.cs:
2186 * ConflictOptions.cs:
2187 * DataSourceCacheExpiry.cs:
2188 * DataSourceCapabilities.cs:
2189 * DataSourceOperation.cs:
2190 * TemplateContentType.cs:
2191 * TemplateInstance.cs:
2193 * VerificationConditionalOperator.cs:
2194 * VerificationReportLevel.cs:
2195 * VerificationRule.cs:
2196 * XhtmlMobileDocType.cs: Added enumerations.
2198 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2200 * Control.cs: style. Reverted previous patch modification of
2201 TemplateSourceDirectory (failed when the control is reparented). Use
2202 HasControls() and Controls all over instead of _controls, as Controls
2203 property and HasControls() might be overriden.
2205 2004-07-27 Alon Gazit <along@mainsoft.com>
2207 * Control.cs: Changed the implementation of TemplateSourceDirectory
2208 and GetDefaultName(). replaced foreach statements with for statements,
2209 in order to improve performence.
2211 2004-07-27 Alon Gazit <along@mainsoft.com>
2213 * Page.cs: changed the implementation of GetViewStateString().
2214 if the view state object is null there is no need to perform
2217 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2219 * TemplateControl.cs: don't include private methods of base classes when
2220 auto-attaching events. Fixes bug 61569.
2222 2004-07-14 Alon Gazit <along@mainsoft.com>
2224 * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
2225 2004-07-08 Pablo Baena <pbaena@gmail.com>
2227 * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
2229 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2231 * Page.cs: added additional checks for saving/displaying trace data.
2233 * PageParser.cs: removed checks for trace enabled in configuration
2236 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2238 * ControlCollection.cs: when clearing the control collection, tell the
2239 owners about the removal. Fixes bug #60800.
2241 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2243 * Page.cs: don't nullify _context after processing the request as there
2244 are events not triggered yet. Fixes bug #60726.
2246 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2248 * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
2251 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2254 * UserControlParser.cs: set the page/user control base type even when no
2255 default directive provided. Fixes bug #60572.
2257 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2259 * PageParser.cs: use default trace settings from web.config and check
2260 if trace is only requested for local connections. Fixes bug #60180.
2262 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2264 * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
2265 we read the default directive, check the cache for the Type and if
2266 present, don't keep reading and store the type found.
2268 * WebHandlerParser.cs:
2269 * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
2272 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2274 * Control.cs: properly fixed bug #59794.
2276 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2279 (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
2282 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2284 * SimpleWebHandlerParser.cs:
2285 * TemplateParser.cs: pass the language when compiling from a file.
2287 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2289 * SimpleWebHandlerParser.cs: if we have a global.asax, move its
2290 reference to the end to help mcs loading the assemblies. Fixes bug
2293 * TemplateParser.cs: same as above. Removed some kludges to workaround
2294 loading assemblies from bin path that are now in the runtime. Don't
2295 load the assemblies in bin if not needed, but still reference them
2298 2004-06-07 Alon Gazit <along@mainsoft.com>
2299 * Page.cs: Changed Page.ProcessPostData().
2300 After the change ,the state of controls that aren't visible is saved
2303 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2305 * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
2307 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2309 * Page.cs: IsPostBack also returns true when method is GET and we have
2310 viewstate information in the query string. Fixes bug #58151.
2312 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2314 * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
2315 HttpRutime.TraceManager.
2317 * PageParser.cs: for 'trace' we have 2 variables now. Added support
2318 for 'buffer' attribute.
2320 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2322 * Page.cs: implemented ClientTarget.
2323 * PageParser.cs: support for clientTarget and check for validity.
2325 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2328 * Html32TextWriter.cs:
2329 * HtmlTextWriter.cs:
2330 * SimpleWebHandlerParser.cs:
2331 * TemplateControl.cs: Added protected missing members and attributes.
2333 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2335 * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
2336 calling a protected method of another object.
2338 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2340 * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
2341 (of other objects) are called in TypeConverterFormatter.
2343 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2345 * ObjectStateFormatter.cs: before choosing the binary formatter, check
2346 if the object type has a TypeConverter that can convert to/from string.
2349 * Page.cs: call GetViewStateString from outside the WriteLine. This
2350 allows writing to the Response when getting the string without breaking
2353 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2355 * HtmlTextWriter.cs: render end tag for unknown tags.
2356 Patch frmo Markus Krutner. Fixes bug #59466.
2358 2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2360 * Page.cs: call DeterminePostBackMode only once per request. Patch by
2363 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2365 * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
2368 * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
2371 2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2373 * SimpleWebHandlerParser.cs:
2374 * TemplateParser.cs: for the assembly names given in the 'assembly'
2375 attribute, use LoadWithPartialName instead of Load.
2376 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2378 * Page.cs: return HttpContext.Current if _context has not yet been
2379 assigned to. Fixes bug #55245.
2381 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2383 * TemplateParser.cs: don't add import statement or assemblies from
2384 global.asax to every file. Fixes bug #55496.
2386 2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
2388 * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
2389 handle single quotes and a few corner cases correctly (see test cases).
2391 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2393 * TemplateControl.cs: fixed typos and added new method names to the set
2396 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2398 * ControlBuilder.cs: added SetTagName().
2400 * ObjectTagBuilder.cs: use SetTagName so that we can properly close
2401 <object> builders if the closing tag is provided.
2403 2004-02-16 Jackson Harper <jackson@ximian.com>
2405 * Page.cs: Set cacheability for Location.DownStream.
2407 2004-02-10 Jackson Harper <jackson@ximian.com>
2409 * TemplateParser.cs: Use full path if the assembly is in the
2410 private bin directory. Patch by Gonzalo Paniagua Javier.
2412 2004-02-09 Jackson Harper <jackson@ximian.com>
2414 * Page.cs: Set cacheability for server side caching.
2416 2004-01-30 Jackson Harper <jackson@ximian.com>
2418 * Control.cs: Ensure that dynamically loaded controls are
2421 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2423 * ApplicationFileParser.cs: check for error in directives. Use
2424 GlobalAsaxCompiler.CompileApplicationType for compiling.
2426 * ObjectTagBuilder.cs: load the Type and check for errors.
2428 * TemplateParser.cs: add assemblies and imports from global.asax.
2430 Now we properly create accessors for session and application objects in
2431 the application itself, pages and controls. First step for fixing
2434 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2436 * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
2437 to Eric Lindvall for pointing this out.
2439 2004-01-15 Jackson Harper <jackson@ximian.com>
2441 * TemplateParser.cs: Detect if we are parsing a control or page
2443 * Page.cs: vary by params and vary by headers can be null now.
2445 2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
2447 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
2450 2004-01-14 Jackson Harper <jackson@ximian.com>
2452 * Page.cs: If we have a postback that wasn't sent through a
2453 postback script (ie user hit submit on a input type=submit) call
2454 Validate so page validation occurs. This fixes bug #52770.
2456 2004-01-14 Jackson Harper <jackson@ximian.com>
2458 * Page.cs: Don't tell the response to cache anymore. This is done
2459 when the cacheability is modified by a callback. Set the cache's
2462 2004-01-14 Jackson Harper <jackson@ximian.com>
2464 * TemplateParser.cs: If varybyparam is set to "none" make it null
2465 so we dont get a param named null in the outputcache key.
2467 2004-01-14 Jackson Harper <jackson@ximian.com>
2469 * BasePartialCachingControl.cs: Use varyby attributes in key
2472 2004-01-14 Jackson Harper <jackson@ximian.com>
2474 * TemplateParser.cs: Add all the outputcache attribute error
2477 2004-01-13 Jackson Harper <jackson@ximian.com>
2479 * TemplateParser.cs: Add VaryByControls and Shared output cache
2480 properties. These are not assigned yet.
2481 * TemplateControlParser.cs: Do not ignore the OutputCache
2483 * BasePartialCachingControl.cs: Initial implementation. Keys are
2484 still not created properly.
2485 * StaticPartialCachingControl.cs: Assign properties in base class,
2486 implement CreateControl.
2488 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2490 * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
2492 * PageParser.cs: support validateRequest.
2494 * TemplateControlParser.cs: get default values from system.web/pages
2497 * TemplateParser.cs: added separate method for changing base type
2498 (Inherits or system.web/pages).
2500 * UserControlParser.cs: support system.web/pages defined base type.
2502 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2504 * UserControl.cs: Added missing attribute, implemented method
2505 * Page.cs: Added missing attribute, implemented method
2507 2004-01-10 Jackson Harper <jackson@ximian.com>
2509 * Page.cs: Handle trace being enabled in the config file.
2511 2004-01-10 Jackson Harper <jackson@ximian.com>
2513 * Page.cs: Save trace data before rendering it.
2514 * System.Web.dll.sources: Add TraceData.cs
2516 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2518 * Page.cs: removed a couple of MonoTODO on methods we're not gonna
2519 implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
2520 ensure that Unload event is raised. Fixes bug #52555.
2522 2004-01-02 Zoltan Varga <vargaz@freemail.hu>
2524 * KeyedList.cs: 'private' is not allowed on explicit interface
2525 implementations. Fixes 1.2 build.
2527 2003-12-31 Jackson Harper <jackson@ximian.com>
2529 * TemplateControlParser.cs: When registering tag prefixs make sure
2530 the file exists and throw the correct error if it does not.
2532 2003-12-25 Jackson Harper <jackson@ximian.com>
2534 * Page.cs: Throw error if the session is accessed when sessions
2537 2003-12-18 Jackson Harper <jackson@ximian.com>
2539 * Page.cs: Write Trace info.
2541 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2543 * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
2544 * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
2546 * PageParser.cs: the ctor is public.
2547 * PartialCachingAttribute.cs: added new ctor and Shared property.
2549 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2551 * Page.cs: assign the ErrorPage to the context if we get an exception
2552 when processing the page which only calls Unload.
2554 * PageParser.cs: handle ErrorPage.
2556 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2558 * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
2559 are not [Serializable]. Fixes bug #52244.
2561 2003-12-16 Jackson Harper <jackson@ximian.com>
2563 * Page.cs: Render trace data when tracing is enabled.
2565 2003-12-15 Jackson Harper <jackson@ximian.com>
2567 * PageParser.cs: Add Trace and Trace mode attributes.
2569 2003-12-15 Jackson Harper <jackson@ximian.com>
2571 * Page.cs: Use the context trace object.
2573 2003-12-14 Alon Gazit <along@mainsoft.com>
2574 * AttributeCollection.cs: Changed AttributeCollection.Render().
2575 After the change attributes ,that their value is null, aren't
2578 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2580 * Control.cs: remove a few dangling ^M, don't set values for fields
2581 that has the default value. If Visible is modified and we're tracking
2582 viewstate, save and restore it. Fixes bug #48689.
2584 2003-12-11 Jackson Harper <jackson@ximian.com>
2586 * Control.cs: Give null for the ID if it hasn't been explicitly
2587 set. This fixes bug #51520.
2589 2003-12-08 Jackson Harper <jackson@ximian.com>
2591 * PageParser.cs: Ignore the SmartNavigation attribute for now.
2593 2003-12-05 Jackson Harper <jackson@ximian.com>
2595 * DataBinder.cs (GetIndexedPropertyValue): Check if container is
2596 an IList and use a cast instead of reflection to retrieve the item
2597 if it is. Fixes bug #51759.
2599 2003-12-04 Alon Gazit <along@mainsoft.com>
2600 * Page.cs: Changed Page.ID so it will call Control.ID.
2603 2003-12-02 Jackson Harper <jackson@ximian.com>
2605 * Page.cs: Implemented registered array declarations. Patch by
2606 Benjamin Jemlich <pcgod@gmx.net>
2608 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2610 * TemplateParser.cs: basic check for 'classname' attribute and added
2611 patch by pcgod@gmx.net for bug #51568, which fixes automatic class
2612 names for pages starting with a number.
2614 2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
2616 * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
2619 * ObjectStateFormatter.cs: Comment out tracing.
2621 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2623 * Page.cs: fixed UICulture, LCID and Culture. Set the thread
2624 [UI]Culture before processing the request.
2626 * PageParser.cs: read Culture, UICulture and LCID attributes. Added
2627 properties for these. Partially contributed by Mohammad Damt.
2631 2003-11-27 Jackson Harper <jackson@ximian.com>
2633 * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
2636 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
2638 * ObjectStateFormatter.cs: Fix bug when reading small ints.
2639 Add some tracing so we can see what is going on.
2641 2003-11-21 Jackson Harper <jackson@ximian.com>
2643 * Page.cs: Set vary by params when cache location is Server.
2645 2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
2647 * ObjectStateFormatter.cs: v2 file. In v1.x this will be
2648 internal as LosFormatter will eventually use it to save
2651 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2653 * PersistChildrenAttribute.cs:
2654 * PersistenceModeAttribute.cs: implemented.
2656 * TODO: Removed file.
2657 * OutputCacheLocation.cs:
2658 * TemplateControlParser.cs:
2659 * HtmlInputFile.cs: class status based fixes.
2661 2003-11-19 Jackson Harper <jackson@ximian.com>
2663 * Page.cs: Always set the cache expire time. Tell the response to
2664 cache itself for server side cached pages.
2666 2003-11-19 Jackson Harper <jackson@ximian.com>
2668 * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
2669 thing, some corner cases still need work though. Was this the
2670 shortest lived method in the history of mono?
2672 2003-11-19 Jackson Harper <jackson@ximian.com>
2674 * Control.cs: New method for resolving urls that use ~/ to denote
2675 the applications base directory.
2677 2003-11-19 Jackson Harper <jackson@ximian.com>
2679 * TemplateParser.cs: Fix typo in error message.
2681 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2683 * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
2686 2003-11-19 Todd Berman <tberman@gentoo.org>
2689 * KeyedListEnumerator.cs: New v2 implementations.
2691 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
2693 * StateManagedCollection.cs: Implement.
2695 2003-11-13 Jackson Harper <jackson@ximian.com>
2697 * Page.cs: Initial implementation of InitOutputCache.
2698 * TemplateParser.cs: Page OutputCache options
2700 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
2702 * HierarchicalDataSourceControl.cs: Implement.
2704 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
2706 * XPathBinder.cs: Implemented.
2708 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
2710 * DataSourceView.cs:
2712 * ListSourceHelper.cs:
2713 * DataSourceControl.cs:
2714 * HierarchicalDataSourceView.cs:
2715 * IHierarchicalDataSource.cs: Move v2 stuff.
2717 2003-11-07 Jackson Harper <jackson@ximian.com>
2719 * Control.cs (ResolveUrl): Special case for urls that consist of
2720 only a page anchor. ie <a href="#top">. This fixes bug #50165.
2722 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
2724 * IHierarchicalEnumerable.cs:
2725 * IHierarchyData.cs:
2726 * INavigateUIData.cs: New v2 interfaces.
2728 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2730 * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
2731 space in generated javascript.
2733 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2735 * LosFormatter.cs: encoding updates.
2736 * Page.cs: implemented CodePage and ContentType.
2737 * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
2740 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
2742 * Control.cs (GetWebResourceUrl): new v2 function
2743 * Page.cs (GetWebResourceUrl): ditto.
2744 make the JS we generate work with moz if the form is not a child
2746 * WebResourceAttribute.cs: Added, new v2 attribute.
2748 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2750 * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
2752 * PageParser.cs: initialize the parser in the constructor, not just
2753 before compiling and reference the application assembly.
2755 * SimpleWebHandlerParser.cs: reference the assembly that contains the
2758 * TemplateControl.cs:
2759 * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
2760 path and physical path when compiling a user control.
2762 * TemplateParser.cs: new AddApplicationAssembly ().
2763 * UserControlParser.cs: now we get valid values in the ctor.
2765 Referencing the application assembly fixes bug #49652.
2768 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2770 * TemplateControl.cs: moved NoParamsInvoker class to its own file.
2772 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2774 * BaseParser.cs: added CompilationConfig property.
2776 * TemplateParser.cs:
2777 * SimpleWebHandlerParser.cs: added CompilationConfig property.
2778 Don't hardcode assembly names any more, assemblies in bin are added
2779 depending on the configuration. The default language is also taken
2780 from the configuration.
2782 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2784 * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
2786 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2788 * Control.cs: removed some debug lines.
2789 * Page.cs: implemented RegisterOnSubmitStatement
2790 * TemplateControl.cs: fixed wire up for methods with no parameters.
2792 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2794 * PageParser.cs: ignore ValidateRequest by now.
2796 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2798 * System.Web.UI/TemplateControl.cs: support for wiring up events without
2801 2003-10-08 Pedro Martnez Juli <yoros@wanadoo.es>
2803 * PageParser.cs: drop some useless code.
2805 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
2807 * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
2809 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2811 * System.Web.UI/PageParser.cs:
2812 * System.Web.UI/TemplateControlParser.cs: honour the input file given
2815 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2818 (ClearChildViewState): doh! Don't clear control viewstate but the
2819 viewstate of possible children.
2820 (LoadViewStateRecursive): load viewstate even when control is not
2823 The rest are just dangling ^M removed.
2825 * DataBoundLiteralControl.cs:
2826 (LoadViewState): we get an object [], not a string [].
2828 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2830 * Control.cs: implemented ClearChildViewState ().
2832 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2834 * Page.cs: store unique IDs for controls requiring postback. Fixes bug
2837 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2839 * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
2840 dependencies so that it's recompiled when changed.
2842 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2844 * LosFormatter.cs: fixed Deserialize for empty viewstate.
2846 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2848 * Page.cs: check if controls that require postback have
2849 been changed by an event and register them to be notified of data
2852 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2854 * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
2857 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2859 * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
2860 are not serializable. Fixes bug #47784.
2862 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2864 * Control.cs: index the viewstates saved by the control position, not
2865 the control name. Fixes bug #47697.
2867 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2869 * ControlCollection.cs:
2870 * EmptyControlCollection.cs: create a minimum ArrayList for this.
2872 * BaseParser.cs: added setter for BaseVirtualDir.
2874 * Page.cs: fixed message when restoring view state fails.
2875 * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
2876 when a relative path to the control is given. Fixes bug #47685.
2878 2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2880 * Control.cs: when we load the viewstate for a control that has children
2881 viewstates and the child is not found, keep its viewstate around and
2882 wait until the child is added to load the viewstate. Fixes bug #47697.
2884 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2886 * TemplateControl.cs: more Delegate.CreateDelegate fixes.
2888 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2890 * PartialCachingControl.cs: is not abstract
2892 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2894 * SimpleHandlerFactory.cs: implemented GetHandler.
2895 * WebHandlerParser.cs: new file that parses .ashx files.
2897 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2899 * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
2901 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2903 * UserControl.cs: Added attribute
2904 * BasePartialCachingControl.cs: New class and paritally implemented
2905 * DesignerDataBoundLiteralControl.cs: New class and implemented
2906 * DesignTimeTemplateParser.cs:
2907 * PartialCachingControl.cs:
2908 * StaticPartialCachingControl.cs: New class and paritally implemented
2910 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2912 * ApplicationFileParser.cs: Fixed signature
2913 * DesignTimeParseData.cs: Added missing properties, implemented
2914 * Page.cs: Added attributes
2916 * TemplateControlParser.cs:
2917 * TemplateParser.cs:
2918 * UserControlParser.cs: Fixed signature
2920 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2922 * HtmlControlPersistableAttribute.cs: Added
2923 * IgnoreUnknownContentAttribute.cs: Added
2925 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2927 * IUserControlDesignerAccessor.cs: Added and implemented
2928 * Control.cs: Missing member added, added all attributes
2929 * Page.cs: Added attributes, fixed signature
2930 * TemplateControl.cs: Fixed signature, added all attributes
2931 * UserControl.cs: Added all attributes, added and implemented missing interface
2933 2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2935 * ControlCollection.cs: fixed bug #46472.
2937 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2939 * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
2941 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2943 * SimpleWebHandlerParser.cs: updated to new compilation interface.
2945 * TemplateParser.cs: use the new parameter when compiling.
2947 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2949 * Page.cs: also keep the value for the second try on handling postback
2952 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2954 * BaseParser.cs: fixed MapPath for non-rooted files.
2955 * PageParser.cs: don't pass a non-virtual file around.
2956 * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
2957 the exception teh may be throw by MapPath on an invalid path.
2959 * TemplateParser.cs: removed unused method.
2960 * UserControlParser.cs: modified inputfile. The result is the same, but
2963 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2965 * RootBuilder.cs: throw exception when the tagprefix is not valid or
2968 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2970 * TemplateControlParser.cs: return after processing @Register.
2972 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2974 * TemplateParser.cs: Added support for server side includes.
2976 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2978 * TemplateControl.cs: fixed the flags used to find the methods that
2979 are automatically hooked up on events.
2981 * TemplateParser.cs: don't compile a source file directly. Use the
2984 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2986 * BaseParser.cs: Location property is now here. Added a couple of
2987 convenience methods to throw a ParseException.
2989 * TemplateParser.cs:
2990 * TemplateControlParser.cs:
2991 * PageParser.cs: throw ParseException where appropiate.
2993 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2995 * ApplicationFileParser.cs: use the generator to actually parse the
2998 * ControlBuilder.cs: small fix in NamingContainerType because
2999 TemplateBuilders have a null ControlType. When a control is appended
3000 to a parent, assign the child's parent.
3002 * UserControlParser.cs: fixed the value of InputFile.
3004 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3006 * ApplicationFileParser.cs: store the Context and override
3007 BaseVirtualDir so that it's the application path.
3009 * BaseParser.cs: removed CurrentVirtualPath property.
3011 * TemplateControlParser.cs: use BaseVirtualDir.
3013 * UserControlParser.cs: removed CurrentVirtualPath.
3015 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3017 * TemplateParser.cs: always reference all the assemblies in bin
3020 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3022 * ApplicationFileParser.cs: it works now. Prior to these changes, we
3023 were using the compiler directly.
3025 * BaseParser.cs: added some useful properties and methods.
3027 * CodeBuilder.cs: use ILocation.
3028 * CodeRenderBuilder.cs: use ILocation.
3029 * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
3031 * ControlBuilder.cs: made it useful.
3033 * DataBindingBuilder.cs: the control type for data bound text is
3034 DataBoundLiteralControl now.
3036 * ObjectTagBuilder.cs: store some object tag attributes.
3038 * PageParser.cs: handle page-only directives.
3040 * RootBuilder.cs: bah.
3041 * SimpleWebHandlerParser.cs: made it dummy.
3042 * TemplateControl.cs: Modified file.
3044 * TemplateControlParser.cs: handle directives that are common to pages
3047 * TemplateParser.cs: utility methods and handling of directives that
3048 are common to app, page and user controls.
3050 * UserControl.cs: added ControlBuilderAttribute.
3052 * UserControlControlBuilder.cs: builder for user controls.
3053 * UserControlParser.cs: use the new interfaces.
3055 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3057 * ControlBuilder.cs: line and fileName are protected now.
3059 * CodeBuilder.cs: base class for the next 2 files.
3060 * CodeRenderBuilder.cs: builder for code render.
3061 * DataBindingBuilder.cs: builder for data binding.
3063 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3065 * ITagNameToTypeMapper.cs: made it internal.
3067 * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
3069 * RootBuilder.cs: initial builder.
3071 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3073 * CollectionBuilder.cs:
3074 * TemplateBuilder.cs: new classes derived from ControlBuilder that
3075 represent a property or a ITemplate.
3077 * ControlBuilder.cs: implemented all the missing bits.
3078 * TemplateParser.cs: added mapping from tag name to Type feature.
3080 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3082 * Control.cs: have i definitely fixed naming container stuff this time?
3084 * LosFormatter.cs: activated binary serialization code.
3086 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3089 (AddedControl): fixed default id assignation when the sequence of
3090 AddedControl until it's included in the page or one of its controls
3091 does not pass through a naming container.
3093 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3095 * Control.cs: give different default names depending on the place where
3096 it is assigned. Implemented ResolveURl (no more ~ rendered in
3099 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3101 * Control.cs: when adding a control, assign default names to th
3102 children that don't have one.
3104 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3106 * SimpleWebHandlerParser.cs: modified to use the new parser interface.
3108 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3110 * Control.cs: some more tweaks to naming containers stuff.
3111 * DataBinder.cs: don't throw exception if the container is null.
3113 * Page.cs: now we can render client scripts, startup scripts and hidden
3114 fields. Only render __VIEWSTATE if there is someone that will take care
3116 (RaisePostBackEvents): first try the last one that required raise event,
3117 then try __EVENTTARGET.
3119 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3121 * Control.cs: fixes in UniqueID, FindControl, AddedControl,
3122 UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
3123 FindControl work with NamingContainers.
3125 * ControlCollection.cs: notify the parent when clearing the collection.
3127 * LosFormatter.cs: Added debugging output and generate a valid
3128 viewstate even for unknown types.
3130 * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
3133 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3135 * Page.cs: make it fire the LoadData related events also for controls
3136 such as ImageButton, whose variable(s) in the query string are of the
3137 form ctrl_name.x and only fire them once per control.
3139 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3142 (GetPropertyValue): don't try to get the property as indexed
3144 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3146 * DataBinder.cs: use TypeDescriptor to get the properties and their
3149 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3152 (AddedControl): take the children to the same state of the parent.
3153 (InitRecursive): set the page of the children.
3155 * Page.cs: removed one line (it's done a few lines above).
3158 (OnInit): always call InitializeAsUserControl
3159 (InitializeAsUserControl): sets the page for the control.
3161 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3163 * Control.cs: fixed bug #36037.
3165 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3167 * BaseParser.cs: a couple of path fixes to make it work
3168 when the page is not in the root directory.
3170 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3172 * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
3175 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3177 * BaseParser.cs: use MapPath and context to locate files.
3178 * Control.cs: implemented MapPathSecure.
3179 * TemplateControl.cs: use UrlUtils to generate the path.
3180 * TemplateControlParser.cs: use the context and MapPath.
3181 * UserControl.cs: implemented MapPath.
3182 * UserControlParser.cs: added context parameter to constructor.
3184 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3186 * Control.cs: implemented MapPathSecure.
3187 * Page.cs: fixed Server property.
3189 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3191 * DataBinder.cs: try the indexer if the property is not found in
3192 GetPropertyValue ().
3194 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3196 * Control.cs: added AutoEventWireup internal property.
3198 * Page.cs: removed page events wire up from here.
3200 * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
3201 and user controls events.
3203 * TemplateControlParser.cs: process the options that are applicable
3204 once we have the instance of the control.
3206 * TemplateParser.cs: also stores the options.
3208 * UserControl.cs: hook up events before initializing the control.
3211 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3213 * Control.cs: new method to set bindingContainer value.
3214 * TemplateControl.cs: added controls are not binding containers.
3216 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3218 * Control.cs: implemented TemplateSourceDirectory.
3219 * TemplateControl.cs: implemented LoadControl and LoadTemplate.
3221 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3223 * UserControl.cs: fixed SetAttribute.
3224 * UserControlParser.cs: set the correct base type.
3226 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3228 * TemplateParser.cs: fixed BaseType.
3229 * UserControlParser.cs: helper class to compile user controls.
3231 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3233 * LosFormatter.cs: added DateTime to special types.
3235 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3237 * LosFormatter.cs: added array serialization support. Disabled binary
3238 serialization and add some debugging code.
3240 * StateBag.cs: the length of the list of value can be less than the
3241 length if the list of keys when remaining values are null.
3243 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3245 * Page.cs: return something useful in GetPostBackClientEvent.
3247 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3249 * Page.cs: implemented FileDependecies and made it protected.
3251 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3253 * Control.cs: save control names instead of the controls
3254 themselves to the ViewState.
3256 * LosFormatter.cs: added support for serializing unknown
3257 types. BinaryFormatter does not work so you better don't store anything
3258 of unknown Type in ViewState.
3260 * Page.cs: GetViewStateString works now using LosFormatter.
3261 Complete "Control execution lifecycle" by unloading all the child
3262 controls. Check for null in RaisePostBackEvents.
3263 LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
3265 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3267 * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
3269 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3271 * LosFormatter.cs: Use WebEncoding.Encoding.
3274 * Page.cs: fixed namespace.
3276 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3278 * Page.cs: set the context in ProcessRequest. Added a few trace calls.
3279 * Control.cs: added some trace information.
3281 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3283 * SimpleHandlerFactory.cs: new handler for .ashx files.
3285 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3287 * System.Web.UI/PageHandlerFactory.cs: new file.
3288 * System.Web.UI/PageParser.cs:
3289 * System.Web.UI/TemplateControlParser.cs: we are now able to compile
3290 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
3292 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3294 * Control.cs: implemented ObBubbleEvent.
3295 * Page.cs: temporary workaround to make POST work with xsp server.
3297 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3299 * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
3302 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3304 * SimpleWebHandlerParser.cs: New file.
3305 * WebServiceParser.cs: New file.
3307 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3309 * LosFormatter.cs: almost fully implemented.
3311 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3313 * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
3314 * EmptyControlCollection.cs: throw correct exception.
3315 * LosFormatter.cs: stubbed out.
3316 * OutputCacheLocation.cs: little fix.
3318 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3320 * System.Web.UI/ApplicationFileParser.cs:
3321 * System.Web.UI/BaseParser.cs:
3322 * System.Web.UI/PageParser.cs:
3323 * System.Web.UI/TemplateControl.cs:
3324 * System.Web.UI/TemplateControlParser.cs:
3325 * System.Web.UI/TemplateParser.cs: first steps to move xsp into
3328 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3330 * Page.cs: request to render postback script can be after form started
3333 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3335 * Page.cs: added more page events to invoke automagically if some
3336 methods are defined.
3338 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3341 (SaveViewState): save state even when control is not visible.
3342 (SaveViewStateRecursive):
3343 (LoadViewStateRecursive): made internal.
3345 2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3347 * Page.cs: improved event raising to allow client postback for a wider
3348 variety of actions (clicking an hyperlink, ...).
3350 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3352 * UserControl.cs: implemented Load/SaveViewState.
3354 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3356 * AttributeCollection.cs:
3357 (Add): handle 'style' through styleCollection.
3359 * CssStyleCollection.cs:
3360 (fillStyle): renamed to FillStyle and made it internal.
3363 (GetViewStateString): fixed, broken after other recent changes.
3364 (ProcessPostData): allow a second try for postback data after OnLoad.
3365 (ProcessRequest): clear controls collection, removed call to
3368 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3370 * Control.cs: uncommented Dispose.
3373 (DeterminePostBackMode): more checkings.
3374 (GetPostBackClientHyperLink): implemented.
3375 (GetPostBackEventReference): added some comments with the HTML that MS
3377 (ProcessRequest): fixed processing order. The page is unloaded after
3378 a request and regenerated from view state on subsequents posts.
3380 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3382 * Control.cs: fixed related to ViewState. Added RemovedControl.
3384 * ControlCollection.cs: notify owner of control removal.
3386 * CssStyleCollection.cs: almost rewritten to make it render the style
3387 attribute after changes to it.
3389 * Page.cs: follow the guidelines in 'Control execution lifecycle'.
3392 * StateBag.cs: don't use IDictionary.GetEnumerator on the
3393 HybridDictionary: it makes the program give an InvalidCastException at
3396 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3398 * Page.cs: fire Init and Load events for all children.
3400 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3402 * UserControl.cs: New file.
3404 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3406 * ControlBuilderAttribute.cs: finished implementation.
3408 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3410 * ConstructorNeedsTagAttribute.cs: the default constructor sets the
3413 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3415 * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
3417 * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
3418 Hashtable. Added internal .ctor.
3420 * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
3421 Equals and GetHashCode.
3423 * System.Web.UI/DataBoundLiteralControl.cs:
3425 (SaveViewState): implemented.
3427 * System.Web.UI/Page.cs: FileDependencies is not public.
3429 * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
3432 (IsDefaultAttribute): implemented.
3434 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3436 * Control.cs: fixed Visible property.
3437 * Page.cs: fixed GetViewStateString.
3439 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3441 * System.Web.UI/Page.cs:
3442 (GetViewStateString): new function to give the server access to the
3443 generated view state string.
3446 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3449 (SaveViewstateRecursive): implemented.
3450 (SaveViewState): fixed.
3451 (IParserAccessor.AddParsedSubObject): don't use 'this'.
3453 * Page.cs: added code to save view state to an xml file. It's not
3454 being used right now.
3456 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3458 * System.Web.UI/LiteralControl.cs:
3459 Fixes based on class status page:
3461 - Add attributes (DefaultEvent, ParseChildren).
3463 - Explicitly implement some interfaces (IPostBackDataHandler
3464 and IPostBackEventHandler).
3465 - Implemented some missing methods.
3467 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3469 * Control.cs: reimplemented FindControls.
3472 (.ctor): set the page for this control.
3473 (IsPostBack): return valid value.
3474 (DeterminePostBackMode): finished.
3475 (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
3476 (ProcessPostData): implemented. Raises change and postback events.
3477 (ProcessRequest): changed to support reuse of the instance.
3478 (RegisterRequiresPostBack): implemented.
3480 * ValidatorCollection.cs: implemented all methods.
3482 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3485 * Page.cs: first attemp to save view state.
3487 * HtmlForm.cs: don't render Action.
3489 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3491 * Page.cs: implemented more properties using information we already
3495 (VerifyRenderingInServerForm): implemented.
3497 2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3499 * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
3500 out runtime. Renamed Page_Init and Page_Load.
3502 After this, we can load a dll and render HTML in linux.
3504 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3507 (AddedControl): new function that is called whenever a control is
3508 added to a collection of controls in a container. It sets the defaults
3511 * ControlCollection.cs: call AddedControl in Add/AddAt.
3513 * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
3514 SetStaticString and SetDataBoundString.
3516 * Page.cs: removed SetDefaults.
3518 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3520 * CompiledTemplateBuilder.cs: new file. Used in the code generated
3524 (BindingContainer): implemented.
3525 (EnsureChildControls): avoid stack overflow.
3527 * DataBinder.cs: implemented Eval and PropertyValue.
3529 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3531 * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
3532 bug as in regular attributes).
3534 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3536 * Control.cs: implemented PreventAutoID.
3539 (SetDefaults): don't set ID automatically if Control.PreventAutoID has
3542 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3545 (Validators): if the collection is null, create one.
3546 (GetPostBackEventReference 2): don't throw exception.
3547 (GetPostBackClientEvent): return a string with containing the method
3548 name, the control name and the argument.
3550 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3552 * Page.cs: SetPage is now called SetDefaults and also sets a default
3553 ID for controls that don't have one yet.
3555 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3558 (GetPostBackClient):
3559 (RegisterRequiresPostBack): don't throw NotImplementedException to
3561 (ProcessRequest): set the current page as the Page property for *all*
3562 the controls, not just the direct children of the page.
3564 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3567 (MapPathSecure): until security is implemented, return the same path
3568 received as argument.
3569 (RenderControl): call OnPreRender before rendering the control. So
3570 AdRotator can read its configuration file.Is there any other place
3571 where this should be done?
3573 * HtmlTextWriter.cs:
3574 (AddAttribute): fixed. Now it really stores attributes.
3575 (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
3577 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3579 * ControlCollection.cs:
3580 (AddAt): if index is -1 behave as a plain Add.
3582 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3584 * Page.cs: for each child control to render, assign Control.Page.
3585 Probably also needed in HtmlContainerControl derived classes.
3587 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3589 * AttributeCollection.cs: don't need a Hastable. StateBag now works
3590 fine and takes care of the details.
3592 * Control.cs: added HasChildren property.
3594 * StateBag.cs: fixed a couple of nasty bugs.
3596 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3598 * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
3599 Invoke Page_Init and/or Page_Load if the user supplied them (though
3600 this should depend on AutoEventWireUp attribute of Page directive).
3602 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3604 * Control.cs: don't throw exception in ControlID. By now, it returns ID.
3607 (ProcessRequest): implemented.
3609 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3611 * System.Web.UI/Page.cs: finished stubbing out. Implemented some
3614 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3617 (FileDependencies): now is public public.
3618 (EnableViewStateMAC): uncommented and made protected.
3619 (GetTypeHashCode): added method.
3621 2002-05-24 Duncan Mak <duncan@ximian.com>
3623 * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
3625 * StateBag.cs (Item): Changed the visibility level of the this
3628 Misc. formatting edits, fixing some bugs introduced by the indentation.
3630 * DataBinder.cs (Eval)
3631 (GetIndexedPropertyValue)
3632 (GetPropertyValue): Fixed return types.
3634 2002-05-21 Miguel de Icaza <miguel@ximian.com>
3636 * HtmlTextWriter.cs: Use this to change the member instances.
3638 2002-05-17 Duncan Mak <duncan@ximian.com>
3640 * AttributeCollection.cs:
3641 * ControlCollection.cs:
3642 * CssStyleCollection.cs:
3643 * DataBindingCollection.cs:
3644 * EmptyControlCollection.cs: Added missing Collection classes.
3646 2002-05-17 Duncan Mak <duncan@ximian.com>
3649 * TemplateParser.cs: Implemented. BaseParser is weird because
3650 there is no documentation on what it does.
3652 * ControlBuilder.cs:
3655 * DataBinding.cs: Added.
3657 * DataBoundLiteralControl.cs:
3658 * Triplet.cs: Added.
3660 * RenderMethod.cs: Added this delegate for Control.cs
3662 2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3664 * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
3666 2002-05-14 Duncan Mak <duncan@ximian.com>
3668 * ValidationPropertyAttribute.cs: Added to CVS.
3670 2002-05-10 Duncan Mak <duncan@ximian.com>
3672 * ConstructorNeedsTagAttribute.cs:
3673 * ControlBuilderAttribute.cs:
3674 * ImageClickEventArgs.cs:
3675 * ParseChildrenAttribute.cs:
3676 * PartialCachingAttribute.cs:
3677 * PersistChildrenAttribute.cs:
3678 * PersistenceModeAttribute.cs:
3679 * TemplateContainerAttribute.cs: Added to CVS.
3681 * PersistanceMode.cs: Removed, fixed typo.
3682 * PersistenceMode.cs: Replacing above.
3684 * StateBag.cs (this): Fixed indexer, it takes a string as the
3685 index, not an object.
3687 * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
3689 * Page.cs (Validators): return type should be ValidatorCollection,
3690 not ValidatedCollection.
3692 * TagPrefixAttribute.cs: Added to CVS.
3694 2002-05-07 Duncan Mak <duncan@ximian.com>
3696 * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
3698 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
3700 * DataBindingHandlerAttribute.cs
3702 * ToolboxDataAttribute.cs - Completed
3704 2002-01-03 Nick Drochak <ndrochak@gol.com>
3706 * DesignTimeParseData.cs: initialze static member to avoid compile
3708 * PropertyConverter.cs: remove uneeded exception variables from
3711 2002-01-02 Nick Drochak <ndrochak@gol.com>
3713 * DesignTimeParseData.cs: fix header to show correct class name
3715 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
3717 * StateBag.cs - Completed
3719 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
3721 * Pair.cs - Small undocumented class. Completed.
3723 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
3725 * DesignTimeParseData.cs - Initial implementation
3726 * StateBag.cs - Initial implementation
3728 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
3730 * PropertyConverter.cs - Undocumented class. Completed.
3731 * Utils.cs - Undocumented, private class.
3732 Initial implementation
3734 2001-08-28 Bob Smith <bob@thestuff.net>
3735 * Control.cs: Figured out some undocumented API.
3737 * BuildMethod.cs: Initial implementation.
3738 * BuildTemplateMethod.cs: Initial implementation.
3739 * HtmlTextWriterAttribute.cs: Initial implementation.
3740 * HtmlTextWriterStyle.cs: Initial implementation.
3741 * HtmlTextWriterTag.cs: Initial implementation.
3742 * IAttributeAccessor.cs: Initial implementation.
3743 * IDataBindingsAccessor.cs: Initial implementation.
3744 * ImageClickEventHandler.cs: Initial implementation.
3745 * INamingContainer.cs: Initial implementation.
3746 * IParserAccessor.cs: Initial implementation.
3747 * IPostBackDataHandler.cs: Initial implementation.
3748 * IPostBackEventHandler.cs: Initial implementation.
3749 * IStateManager.cs: Initial implementation.
3750 * ITagNameToTypeMapper.cs: Initial implementation.
3751 * ITemplate.cs: Initial implementation.
3752 * IValidator.cs: Initial implementation.
3753 * OutputCacheLocation.cs: Initial implementation.
3754 * PersistanceMode.cs: Initial implementation.
3755 * StateItem.cs: Initial implementation.
3757 2001-08-27 Bob Smith <bob@thestuff.net>
3759 * Control.cs: Bug fixes and implementations.
3761 2001-08-24 Bob Smith <bob@thestuff.net>
3763 * Control.cs: Bug fixes.
3765 2001-08-23 Bob Smith <bob@thestuff.net>
3767 * Control.cs: More implementation. Events reworked for performance.
3769 2001-08-22 Bob Smith <bob@thestuff.net>
3771 * LiteralControl.cs: Implemented.
3772 * Control.cs: Even more implementation (Events). What a beast.
3774 2001-08-20 Bob Smith <bob@thestuff.net>
3776 * Control.cs: More implementation. Not done yet. Shutter.
3778 2001-08-17 Bob Smith <bob@thestuff.net>
3780 * Control.cs: Partial implementation.