1 2007-05-04 Marek Habersack <mhabersack@novell.com>
3 * Control.cs: added an internal method to resolve a physical path
4 to a file from its virtual path considering the possibility that a
5 control is placed in a master page, which in turn is referenced
6 from a directory another than that of master page itself.
8 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
10 * AttributeCollection.cs:
11 * DataBindingHandlerAttribute.cs:
13 * PartialCachingControl.cs:
15 * TemplateControl.jvm.cs:
19 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
21 * CssStyleCollection.cs: optimization:
22 used StringBuilder instead string to hold value.
23 When added key that not exists in collection, value is recalculated by
24 appending required key to existing value.
26 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
28 * Control.cs: ResolveClientUrl: optimization.
29 if basePath is the same as TemplateSourceDirectory
30 releativeUrl is returned as is.
32 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
35 ResolveClientUrl considers TemplateSourceDirectory property.
37 2007-05-01 Marek Habersack <mhabersack@novell.com>
39 * PageParser.cs: clientTarget comparisons must be case-insensitive
41 2007-04-30 Konstantin Triger <kostat@mainsoft.com>
43 * DataBinder.cs: When formatting, threat empty string as null.
45 2007-04-27 Marek Habersack <mhabersack@novell.com>
47 * TemplateControlParser.cs: 2.0 allows 'Namespace' without the
48 'Assembly' attribute on tag prefix registration.
50 * TemplateParser.cs: do not rely on assembly name being not null.
52 2007-04-19 Gert Driesen <drieseng@users.sourceforge.net>
54 * TemplateParser.cs: On 2.0 profile, allow namespace in ClassName
55 attribute. Fixes part of bug #81399.
57 2007-04-11 Marek Habersack <mhabersack@novell.com>
59 * Page.cs: check whether control passed to
60 RegisterRequiresPostBack implements the IPostBackDataHandler
63 2007-04-06 Marek Habersack <mhabersack@novell.com>
65 * ClientScriptManager.cs: render the 'type' attribute in
66 WriteScript and do not render the 'language' attribute when in
69 * Page.cs: defaults for ViewStateEncrptionMode and AsyncTimeout
70 are read from the pages section, if found.
72 * TemplateControlParser.cs: added support for loading
73 pages/controls defaults from web.config even if the page/control
74 does not have its corresponding directive.
75 Added support for reading the CompilationMode attribute.
77 * PageParser.cs: added support for loading pages/controls defaults
78 as above. Fixes bug #80915.
79 Added support for reading the maxPageStateFieldLength setting.
80 Added support for reading the pageParserFilter setting.
82 * ControlBuilder.cs: allow tag mappings from code found
83 in bin/* or App_Code/*. Fixes bug #80811.
85 2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
87 * TemplateControl.jvm.cs: performance improvement, added cache for
88 methods and events in user code
90 2007-03-26 Marek Habersack <mhabersack@novell.com>
92 * TemplateControl.cs: make local resources work with master
93 pages - use the AppRelativeVirtualPath for resource resolution.
95 * TemplateParser.cs: support the meta:resourcekey attribute in
96 Page and Control directives. Fixes bug #81204.
98 2007-03-21 Marek Habersack <mhabersack@novell.com>
100 * UnknownAttributeDescriptor.cs: an internal helper class for
101 custom directive attributes support.
103 * BaseParser.cs: ThrowParseException can now take variadic
104 parameters, for convenience.
106 * TemplateParser.cs: add support for custom attributes for the
107 Page and Control directives.
108 Added support for the CodeFileBaseClass directive. Fixes bug #81132
110 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
112 * Control.cs: fixed ResolveClientUrl method.
114 2007-03-18 Marek Habersack <mhabersack@novell.com>
116 * BaseParser.cs: fix BaseVirtualDir to always return app-absolute
119 2007-03-17 Marek Habersack <mhabersack@novell.com>
121 * MasterPageParser.cs: remove superfluous #ifdef
123 * TemplateParser.cs: use VirtualPathUtility here
125 2007-03-14 Vladimir Krasnov <vladimirk@mainsoft.com>
127 * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, performance
130 2007-03-13 Marek Habersack <mhabersack@novell.com>
132 * TemplateParser.cs: name generated classes the same way MS.NET
133 does - include the app-relative path to the control/page in the
136 2007-03-13 Adar Wesley <adarw@mainsoft.com>
138 * Page.cs: improved Async Page implementation.
140 2007-03-13 Marek Habersack <mhabersack@novell.com>
142 * TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
145 2007-03-12 Marek Habersack <mhabersack@novell.com>
147 * RootBuilder.cs: change the error text to be less misleading.
149 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
151 * AttributeCollection.cs:
152 * CssStyleCollection.cs: fixed: works w/o state bag.
154 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
156 * HtmlTextWriter.cs: fixed:
157 - Fixed writing background-image style attribute (different behavior in
159 - Does not encode 'name' attribute.
160 - Always encode style attributes (for 2.0 only).
162 2007-03-06 Adar Wesley <adarw@mainsoft.com>
164 * Page.cs: initial implementation of support for Async=true. Added
165 initial support for ViewStateEncryption. Implemented
166 CreateHtmlTextWriterFromType.
168 * PageAsyncTask.cs: Created class to support Async pages.
170 * ObjectStateFormatter.cs: Added support for ViewState encryption.
172 * HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
173 to conform to MS behavior.
175 2007-03-05 Vladimir Krasnov <vladimirk@mainsoft.com>
177 * Control.jvm.cs: fixed TemplateSourceDirectory property
179 2007-03-03 Marek Habersack <mhabersack@novell.com>
181 * TemplateParser.cs: support but ignore the Async and AsyncTimeOut
182 page directive attributes.
183 Support the LinePragmas page directive attribute.
185 * PageParser.cs: added support for the
186 MaintainScrollPositionOnPostBack page directive attribute.
188 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
190 * TemplateControl.cs:
191 * TemplateControl.jvm.cs: fixed: AutoEventWireup feature:
192 Method 'Page_XXX' is declared in the base class must be
193 called even is private.
195 2007-02-26 Vladimir Krasnov <vladimirk@mainsoft.com>
197 * Control.cs: fixed AppRelativeTemplateSourceDirectory property, should
198 not return AppRelativeTemplateSourceDirectory of master page
200 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
202 * ClientScriptManager.cs: fixed: GetScriptLiteral escapes back-slash:
204 2007-02-22 Igor Zelmanovich <igorz@mainsoft.com>
206 * TemplateControl.cs: added missing property AppRelativeVirtualPath
208 2007-02-21 Konstantin Triger <kostat@mainsoft.com>
210 * TemplateParser.cs: remove CodeGenerator.IsValidLanguageIndependentIdentifier
211 check from Global.asax inherits attribute to let inherits="A.B" construct.
213 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
215 * ObjectStateFormatter.cs:
216 optimization for serialization of primitive type arrays
218 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
220 * ClientScriptManager.cs:
223 implemented PostBackOptions.TrackFocus feature.
225 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
227 * Page.cs: for 2.0: refactoring:
228 prepare infrastructure for Form.SubmitDisabledControls feature
230 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
232 * Control.jvm.cs, Control.cs: Move TemplateSourceDirectory to .jvm file.
233 * Control.jvm.cs, Page.jvm.cs: Centralize Portlet specific API in Page.jvm
234 * Page.cs, Page.jvm.cs, ClientScriptManager.cs: Support for Http callbacks
237 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
240 '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields are
241 registered only once.
243 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
245 * Page.cs: for 2.0: '__doPostBack' declared as function of form.
246 convention to use 'currForm' instead 'myForm'
248 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
251 * ClientScriptManager.cs:
252 including 'webform.js' requires '__doPostBack' on the form be rendered.
254 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
257 * ClientScriptManager.cs:
258 refactoring: 'theForm' variable is always declared on client.
259 '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using
260 RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form.
262 2007-02-14 Vladimir Krasnov <vladimirk@mainsoft.com>
264 * Page.cs: fixed OnInit, adding css should throw exception if no header
267 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
269 * Page.cs: __doPostBack considers 2.0 features
270 such RegisterOnSubmitStatement
272 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
275 * ClientScriptManager.cs:
276 implemented RegisterOnSubmitStatement for 2.0
278 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
280 * ClientScriptManager.cs: EventValidation feature optimization on Callback.
282 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
284 * Page.cs: fixed exception handling on Callback at client.
286 2007-02-08 Marek Habersack <grendello@gmail.com>
288 * Page.cs: Make sure to create specific cultures.
290 2007-02-08 Vladimir Krasnov <vladimirk@mainsoft.com>
292 * ClientScriptManager.cs: added array declaration also as member of
293 form in TARGET_J2EE for j2ee portal support.
294 Added validators context init for GetClientValidationEvent under
295 TARGET_J2EE for j2ee portal support.
296 * Page.cs: fixed OnFormPostRender, render array declarations after
299 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
302 * ClientScriptManager.cs:
303 client scripts (webform.js, callback.js and
304 MaintainScrollPositionOnPostBack.js) were merged into one resource file.
306 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
309 http://msdn2.microsoft.com/en-us/library/ms178141.aspx
310 LAMESPEC: on Callback IsPostBack is set to false, but true.
312 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
315 VerifyRenderingInServerForm does not fire exception when IsCallback
317 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
320 * ClientScriptManager.cs:
321 fixed RegisterClientScriptInclude: all includes that was registered before
322 rendering are rendered at begin form.
324 2007-02-02 Marek Habersack <grendello@gmail.com>
326 * TemplateParser.cs: Do not register controls here.
328 2007-02-02 Adar Wesley <adarw@mainsoft.com>
330 * Control.cs: Changed UniqueId implementation to have '$' and not ':'
331 to conform to MS. This led to updating several Tests that referenced
332 the UniqueId as string.
334 2007-01-30 Eyal Alaluf <eyala@mainsoft.com>
336 * ClientScriptManager.cs: Fix Igor's last changes for TARGET_JVM.
338 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
341 * ClientScriptManager.cs:
342 CallBack works with EvantValidation.
344 2007-01-25 Eyal Alaluf <eyala@mainsoft.com>
346 * Page.cs: Change code to use the 'theForm' property when generating
347 JavaScript code. Ensure that we pass 'theForm' as param to the JS funcs.
348 * Page.jvm.cs, Control.jvm.cs: Implement the 'theForm' property to include
349 the portlet namespace. Moved 'PortletNamespace' from Control.jvm.cs
350 * Page.jvm.cs, Control.jvm.cs, ClientScriptManager.cs: Added support for
351 saving hidden fields for TARGET_J2EE Portlets re-render.
352 * Control.cs: Under TARGET_J2EE portal support add the PortletNamespace
353 to all the control IDs to ensure they different between portlets.
355 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
357 * Page.cs: fixed CheckForValidationSupport,
358 SupportsEventValidationAttribute should be checked at only one level
360 2007-01-23 Vladimir Krasnov <vladimirk@mainsoft.com>
362 * TemplateControl.jvm.cs: ParseControl not supported, added limited
363 implementation if TestDeviceFilter
365 2007-01-22 Konstantin Triger <kostat@mainsoft.com>
367 * ClientScriptManager.cs: ensure the callback client script is
368 registered before the client script includes are rendered.
370 2007-01-22 Konstantin Triger <kostat@mainsoft.com>
372 * Page.cs, ClientScriptManager.cs: ensure the web form client script is
373 registerd before the client script includes are rendered.
375 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
377 * Page.cs: move the WriteClientScriptIncludes to the top of the form,
378 according to the MSDN.
380 2007-01-20 Miguel de Icaza <miguel@novell.com>
382 * XhtmlTextWriter.cs: comment out unused code.
384 * ThemeProvider.cs: comment out unused code.
386 * DataSourceView.cs: Comment unused variable.
388 * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
391 * Control.cs: Put _templateControl inside the NET_2_0 ifdef
393 2007-01-20 Marek Habersack <grendello@gmail.com>
395 * TemplateParser.cs: Check whether the base type is in the root
398 2007-01-18 Eyal Alaluf <eyala@mainsoft.com>
400 * Control.jvm.cs: Added PortletNamespace property.
402 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
404 * TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
405 * Control.cs: moved TemplateSourceDirectory from TemplateControl for
406 TARGET_JVM, fixed AppRelativeTemplateSourceDirectory
408 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
410 * TemplateControl.jvm.cs: added 2.0 event names for wiring up
412 2007-01-15 Ilya Kharmatsky <ilya - at - decode-systems.com>
414 - IsViewStateEnabled - removed check for non-null page, since
415 the control by definition should come with enabled
416 view state, even if it not 'attached' to the page
417 - HasEvents() - implementation (still could produce bug in exotic scenarios
418 when all events added to 'this' control has been removed
419 through the property 'Events', but currently we can't see
420 better implementation)
422 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
424 * Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files.
425 * Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal
426 support for TARGET_J2EE.
428 2007-01-12 Miguel de Icaza <miguel@novell.com>
430 * Control.cs: Remove comment, it provides no information about
433 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
435 * PageTheme.cs: implemented
436 * Page.cs: fixed InitializeTheme, added PageTheme page initialization
437 * TemplateControl.cs,
438 * TemplateControl.jvm.cs: added XPath, XPathSelect overloads with
439 IXmlNamespaceResolver parameter
440 * XPathBinder.cs: added Eval, Select overloads with
441 IXmlNamespaceResolver parameter, refactored
443 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
445 * TemplateControl.jvm.cs: added GetGlobalResourceObject
447 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
449 * Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.
451 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
453 * Control.cs: ensure 'id' attribute will be rendered if
454 ClientID was accessed but ID is generated by the Page,
455 important for custom controls developing.
457 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
459 * Page.cs: fixed: InitializeCulture should be called
460 before creating controls.
462 2007-01-03 Marek Habersack <grendello@gmail.com>
464 * Page.cs: Make sure the ValidatorOnSubmit function is defined for the
465 document before attempting to use it.
467 2007-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
469 * Control.cs: fixed ResolveClientUrl, wrong when control that calls
470 this method and the page are in different folders
472 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
474 * Page.cs: show the validation summary when client validation and
475 linkbuttons are used. Patch by Juraj Skripsky.
477 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
479 * Page.cs: fixed: EventValidation is not performed for CallBack request.
481 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
483 * Page.cs: fixed: RegisterRequiresPostBack feature.
485 2006-12-21 Marek Habersack <grendello@gmail.com>
487 * ControlBuilder.cs: Add support for tag mapping in 2.0
489 2006-12-20 Marek Habersack <grendello@gmail.com>
491 * TemplateParser.cs: make sure Context.ApplicationInstance is not
492 valid before adding application assembly.
494 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
496 * Page.cs: fixed and optimized ProcessPostData
497 The "second try" used for controls that created at OnLoad.
498 fixed for controls that use RgisterRequeresPostBack to handle post data.
500 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
502 * Page.cs: The specified theme must exist as either an application theme.
503 If the theme does not exist, an HttpException exception s thrown.
505 2006-12-09 Marek Habersack <grendello@gmail.com>
507 * HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used
508 also in the 1.x profile)
510 * ObjectStateFormatter.cs: Implement the IStateFormatter interface
512 * ClientScriptManager.cs: Use IStateFormatter instead of
514 Use the IStateFormatter interface when registering the hidden
515 field with the state.
517 * LosFormatter.cs: Use ObjectStateFormatter
519 * PageStatePersister.cs: Make the class available as internal for
521 Constructor throws an exception on its page parameter being null.
522 Implemented several properties: ControlState, ViewState, Page,
525 * Page.cs: Use new state persister for all the profiles.
526 Use the new HiddenFieldPageStatePersister class.
528 * IStateFormatter.cs: Make the class available as internal for 1.x profile.
530 2006-12-04 Vladimir Krasnov <vladimirk@mainsoft.com>
532 * TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization
534 2006-11-29 Marek Habersack <grendello@gmail.com>
536 * TemplateParser.cs: if the OutputCache directive is present, make
537 sure the cache does not expire the current output.
539 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
541 * Page.cs: added missing methods and properties:
546 MaxPageStateFieldLength
547 ViewStateEncryptionMode
548 AddOnPreRenderCompleteAsync
549 AddOnPreRenderCompleteAsync
550 ExecuteRegisteredAsyncTasks
551 CreateHtmlTextWriterFromType
552 RegisterRequiresViewStateEncryption
554 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
556 * Page.cs: Master property returns null when no HttpContext.
558 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
560 * Page.cs: InitializeCulture method is called before OnPreInit.
562 2006-11-28 Marek Habersack <grendello@gmail.com>
564 * TemplateControlParser.cs: Use the new TemplateParser methods to
565 register controls/namespaces
567 * TemplateParser.cs: Implement support for the
568 system.web/pages/namespaces collection instead of hard-coding the
569 namespaces into the source.
570 Refactoring: added two internal methods to handle both the
571 system.web/pages/controls registration and the Register directive.
572 Added a new internal method to pull the system.web/pages/controls
573 collection before parsing.
575 2006-11-27 Marek Habersack <grendello@gmail.com>
577 * SimpleWebHandlerParser.cs: Added support for looking up types in
578 the top-level assemblies (App_Code et al)
580 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
582 * Control.cs: implemented EnsureID method.
584 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
586 * Control.cs: implemented Focus methods.
588 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
590 * Page.cs: implemented SetFocus methods.
593 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
595 * ClientScriptManager.cs: refactoring:
596 extracted method RegisterWebFormClientScript
598 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
600 * Control.cs: implemented OpenFile()
602 2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
606 implemented ClearChildState(), ClearChildControlState() and
607 IsChildControlStateCleared
609 2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
612 * ClientScriptManager.cs:
613 implemented RegisterExpandoAttribute feature
615 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
617 * ListSourceHelper.cs: optimization of implementation
619 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
621 * ListSourceHelper.cs: implemented
623 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
625 * DataSourceView.cs: fixed: constructor throws ArgumentNullException
627 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
629 * Page.cs: fixed: PreviousPage property
630 when CrossPostBack is processed PreviousPage is initialized
631 only if PreviousPage property is called.
633 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
635 * DataSourceControl.cs: fixed: Focus(), EnableTheming
637 2006-11-21 Marek Habersack <grendello@gmail.com>
639 * Control.cs: Make ClientIDSeparator private for !NET_2_0
641 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
643 * Page.cs: fixed: LoadControlState is called for controls
644 that added on Load and latter
646 2006-11-20 Marek Habersack <grendello@gmail.com>
648 * Control.cs: Implementations of a few missing properties.
650 * Page.cs: Added support for automatic culture detection from the
653 * PageParser.cs: Added support for "auto" cultures in the Page
656 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
658 * ClientScriptManager.cs: fixed: ValidateEvent feature:
659 client side return eventArgument as empty string
660 for controls that set it as null
662 2006-11-18 Marek Habersack <grendello@gmail.com>
664 * ClientScriptManager.cs: Implemented two missing
665 GetPostBackEventReference overloads. Made one of the overloads
666 internal for .NET < 2.0.
668 2006-11-17 Marek Habersack <grendello@gmail.com>
670 * PostBackOptions.cs: Renamed the constructors parameters to match
671 those Microsoft .NET uses.
672 targetControl must not be passed null to the constructor.
674 * ClientScriptManager.cs: Support for event validation.
675 Implemented a GetPostBackHyperlink overload.
676 Implemented the RegisterForEventValidation methods.
677 Implemented the ValidateEvent method.
678 Added support for saving/restoring event validation state.
680 * Page.cs: EnableEventValidation can be set only from the config
681 files (the <pages> element), the Page directive or from
682 Page_Init. After Page_Init returns, an exception is thrown.
683 Made GetFormatter internal, so that ClientScriptManager can use
685 Added the internal LifeCycle property which contains the current
686 life cycle stage of the page request processing.
687 Added calls to save/restore event validation state.
688 Added checks for whether child controls of the page support event
690 Added calls to ClientScriptManager.ValidateEvent in appropriate
693 * PageLifeCycle.cs: Added the PageLifeCycle enum, used in event
696 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
699 * ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
702 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
704 * SimpleWebHandlerParser.cs: 'using' for file reading.
706 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
708 * Page.cs: revert r67514 until after tagging for the next release.
710 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
712 * LiteralControl.cs: fixed: constructors & Text property
714 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
716 * Page.cs: fixed: LoadControlState is called for controls
717 that added on Load and latter, for 1.x refactoring only
719 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
721 * ClientScriptManager.cs:
722 fixed: checks arguments for null in public methods,
723 fixed public interface.
725 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
727 * PostBackOptions.cs: fixed: default values of properties
729 2006-10-22 Igor Zelmanovich <igorz@mainsoft.com>
731 * CssStyleCollection.cs:
732 * AttributeCollection.cs:
733 fixed: style collection is synchronized with style attribute
735 2006-10-19 Igor Zelmanovich <igorz@mainsoft.com>
737 * ClientScriptManager.cs: fixed: renders id attribute in hidden field
739 2006-10-18 Marek Habersack <grendello@gmail.com>
741 * TemplateParser.cs: reference System.Resources when compiling a
744 * TemplateControl.cs: implement the GetGlobalResourceObject
747 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
749 * Page.cs: fixed: for 2.0 only
750 When Page processes Callback IsPostBack = false, but it still needs
751 LoadViewState/ControlState and ProcessPostData
753 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
755 * DataSourceSelectArguments.cs: fixed:
756 SortExpression not returns null,
757 Empty property returns new instance each time
759 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
761 * DataSourceSelectArguments.cs:
762 fixed: RaiseUnsupportedCapabilitiesError method.
764 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
766 * DataSourceSelectArguments.cs: fixed: Equals method.
768 2006-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
770 * CssStyleCollection.cs: don't clear the collection of properties, but
773 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
775 * CssStyleCollection.cs: 'style' can be modified on our back, so build
776 the style table every time instead of keeping one that is not in sync.
779 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
781 * Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
782 When page is invoked by cross-page posting, PreviousPage processed all
783 live-cycle up to OnLoadComplite included.
784 IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
786 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
788 * TemplateParser.cs: patch by Joel Reed that makes use of the namespace
789 collection from the PagesConfiguration to add new namespaces when
790 generating the page/control code.
792 2006-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
794 * PageParser.cs: support the EnableEventValidation attribute.
796 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
798 * Page.cs: fixed: Title property works properly
800 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
802 * ClientScriptManager.cs: added helper method
804 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
806 * Page.cs: fixed: GetValidators(string), Validate(string) works properly
808 2006-09-08 Robert Jordan <robertj@gmx.net>
810 * Page.cs: assure that RenderTrace is called even if an
811 exception occurred. Fixes bug #78930.
813 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
815 * TemplateControl.cs: search for the new Page_* event handlers in 2.0.
816 Patch by Marek Habersack that fixes bug #78268.
818 2006-09-07 Lluis Sanchez Gual <lluis@novell.com>
820 * Page.cs: Use lowercase getElementById in the javascript that
823 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
825 * KeyedListEnumerator.cs: fixed Current property to return real object
826 instead of DictionaryEntry
828 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
830 * Page.cs: don't use the Browser object, as it slows down process
831 request time *a lot*. Fixes bug #79206.
833 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
835 * Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
836 * OutputCacheParameters.cs: added an implementation.
838 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
840 * CssStyleCollection.cs: fixed: background-image style attribute
842 2006-08-31 Konstantin Triger <kostat@mainsoft.com>
844 * StaticPartialCachingControl.cs: added forwarding implementation for
845 2.0 version of BuildCachedControl().
847 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
849 * Page.cs: added internal method
850 * ClientScriptManager.cs:
852 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
854 * ClientScriptManager.cs: added helper method
856 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
858 * Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string
859 if compiled with .net aspx parser
860 fixed OnInit, GetStyleSheets may return null if no css files found by
863 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
865 * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access
866 modifiers check on event handlers
868 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
870 * Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx
872 * TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
873 fixed TemplateSourceDirectory, should not work on master pages.
875 2006-08-20 Vladimir Krasnov <vladimirk@mainsoft.com>
877 * MasterPageParser.jvm.cs: fixed path resolving
878 GetCompiledMasterInstance
880 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
882 * TemplateControl.jvm.cs: fixed data binding API, implemented
883 AppRelativeVirtualPath, ReadStringResource
885 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
887 * Page.cs: added stubs to run aspx files compiled by .net
889 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
891 * MasterPageParser.jvm.cs: implemented
893 2006-08-10 Andrew Skiba <andrews@mainsoft.com>
895 * Page.cs: render css path as a virtual path.
897 2006-08-09 Robert Jordan <robertj@gmx.net>
899 * Control.cs: add the 2.0 ResolveClientUrl method.
900 Expose ResolveClientUrl as internal for the 1.1 profile.
903 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
905 * added MasterPageParser.jvm.cs
907 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
909 * ControlBuilder.jvm.cs: added BuildObject method
911 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
913 * ParseChildrenAttribute.cs: fixed ChildControlType property to
915 * UserControl.cs: fixed ParseChildren attribute to be compliant
918 2006-08-08 Igor Zelmanovich <igorz@mainsoft.com>
920 * Page.cs: implemented MaintainScrollPositionOnPostBack feature
922 2006-08-06 Vladimir Krasnov <vladimirk@mainsoft.com>
924 * Control.cs: fixed EnableTheming proprty, fixes bug when child
925 control has EnableTheming=false and parent has true.
927 2006-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
929 * MasterPage.cs: fixed default values, fixed AddContentTemplate
931 2006-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
933 * Control.cs: fixed EnableTheming proprty, fixes the bug when skins
934 are applied even if EnableTheming property was set to false.
936 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
938 * DataSourceView.cs: refactor to keep the original exception stack.
940 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
942 * PostBackOptions.cs: default to String.Empty for several field values.
943 Patch by Marek Habersack.
945 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
947 * Page.cs: when ProcessRequest is not called, get the session from
948 the current context. Fixes bug #78730.
950 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
952 * Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
953 by Peijen Lin that closes bug #78646.
955 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
957 * TemplateControlParser.cs: fix compilation caching when more than one
958 @control is compiled from source. Closes bug #78626.
960 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
962 * Page.cs: add the 2.0 Items property. Fixes bug #78467.
964 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
966 * Page.cs: use the new internal LosFormatter.SerializeToBase64.
967 * LosFormatter.cs: always work on base 64 strings even if the
968 input/output is on a Stream. Fixes bug #78640.
970 2006-06-08 Konstantin Triger <kostat@mainsoft.com>
972 * Page.cs: For loading themes, use '~/App_Themes' instead of
973 './App_Themes' to enable theme support for files in sub folders.
975 2006-05-25 Andrew Skiba <andrews@mainsoft.com>
977 * Control.cs: move 2.0 stuff into ifdef NET_2_0
979 2006-05-25 Andrew Skiba <andrews@mainsoft.com>
981 * Page.cs, Control.cs: Fix the order of OnInit invocation of controls
982 created via master page content (see
983 http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
985 2006-05-11 Andrew Skiba <andrews@mainsoft.com>
987 * Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the
988 PageTheme and from StyleSheetPageTheme to insert links in page header.
990 2006-05-10 Andrew Skiba <andrews@mainsoft.com>
992 * TemlpateParser.cs: surround file name with quotes
994 2006-05-08 Chris Toshok <toshok@ximian.com>
996 * ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
997 fixes the last thing keeping the test in #76818 from working.
999 2006-05-07 Andrew Skiba <andrews@mainsoft.com>
1001 * Page.cs: if no theme is defined in aspx, read default from web.config.
1002 Same for the style sheet theme.
1004 2006-04-27 Andrew Skiba <andrews@mainsoft.com>
1006 * TemplateParser.cs: format according to
1007 http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html
1009 2006-04-25 Chris Toshok <toshok@ximian.com>
1011 * PageThemeParser.cs (LinkedStyleSheets): reformat.
1013 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
1015 * Control.cs: implementation for IsViewStateEnabled.
1017 2006-04-25 Andrew Skiba <andrews@mainsoft.com>
1019 * Control.cs: fix null pointer exception
1021 2006-04-23 Andrew Skiba <andrews@mainsoft.com>
1023 * PageThemeParser.cs: add LinkedStyleSheets property
1025 2006-04-16 Andrew Skiba <andrews@mainsoft.com>
1027 * TemplateParser.cs: add internal method AddAssemblyByFileName
1029 2006-04-16 Konstantin Triger <kostat@mainsoft.com>
1031 * SimpleWebHandlerParser.cs: correctly resolve GACs dependencies.
1033 2006-04-11 Konstantin Triger <kostat@mainsoft.com>
1035 * Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem().
1037 2006-04-10 Chris Toshok <toshok@ximian.com>
1039 * PageThemeFileParser.cs (AddDirective): allow Register directives
1042 2006-04-02 Chris Toshok <toshok@ximian.com>
1044 * Control.cs (DesignMode): always return false for now. Fixes
1047 2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1049 * ControlBuilder.cs: when creating a default property builder, handle
1052 * StringPropertyBuilder.cs: new builder used in TextBox 2.0.
1054 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1056 * ControlCollection.cs: fixed CopyTo method, fixes bug when if target
1059 2006-03-13 Chris Toshok <toshok@ximian.com>
1061 * HtmlTextWriterTag.cs: no [Serializable] in 2.0.
1063 * HtmlTextWriterAttribute.cs: same.
1065 * HtmlTextWriterStyle.cs: same.
1067 * VirtualReferenceType.cs: new enum.
1069 2006-03-13 Chris Toshok <toshok@ximian.com>
1071 * UserControl.cs: rework InitializeAsUserControl and
1072 InitializeAsUserControlInternal - the Internal variety doesn't set
1073 this.page to null now.
1075 * MasterPage.cs (CreateMasterPage): map the masterPageFile path,
1076 and also remove a line of spew.
1078 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1080 * Added PageParser.jvm.cs, WebServiceParser.jvm.cs
1082 2006-03-07 Chris Toshok <toshok@ximian.com>
1084 * Page.cs (InitializeStyleSheet): load the style sheet theme using
1085 ThemeDirectoryCompiler.
1086 (InitializeTheme): load the page's theme using
1087 ThemeDirectoryCompiler.
1088 (InternalProcessRequest): call InitializeTheme after OnPreInit.
1089 (FrameworkInitialize): call InitializeStyleSheet.
1090 (PageTheme,StyleSheetPageTheme): new properties to get the
1093 * Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
1094 on the ControlSkin (if there is one) for this control in the
1095 page's StyleSheetSkin.
1096 (ApplyThemeRecursively): applies the page's theme recursively to
1097 the control hierarchy. Must be done this way because the control
1098 tree is already present when we apply the theme (it has to be,
1099 since theme's override settings).
1101 * PageTheme.cs (GetControlSkin): add internal call to do the
1104 * PageThemeFileParser.cs: the parser object that represents each
1105 individual skin file.
1107 * PageThemeParser.cs: the parser object that represents the entire
1110 * PageThemeBuilder.cs: this class generates the right exception on
1111 the right event, but it's not hooked up yet.
1113 2006-03-02 Chris Toshok <toshok@ximian.com>
1115 * Control.cs (ApplyStyleSheetTheme): remove the exception, and add
1118 * Page.cs (Theme): implement setter/getter.
1119 (StyleSheetTheme): same.
1121 * PageParser.cs (ProcessMainAttributes): parse the Theme and
1122 StyleSheetTheme attributes.
1124 2006-02-27 Chris Toshok <toshok@ximian.com>
1126 * TemplateControl.cs: corcompare work.
1128 * ExpressionBindingCollection.cs: same.
1130 * HierarchicalDataSourceControl.cs: same.
1132 * PostBackOptions.cs: same.
1134 * ClientScriptManager.cs: same.
1136 * FilterableAttribute.cs: same.
1138 * ControlCollection.cs: same.
1140 * DataBindingCollection.cs: same.
1142 * PropertyEntry.cs: mark ctor internal.
1144 * SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.
1146 * Page.cs: stub out two Theme oriented 2.0 properties.
1148 * DataBinder.cs: remove the obsolete attribute on the ctor.
1150 * TwoWayBoundPropertyEntry.cs: remove this.
1152 * ControlBuilder.cs (BindingContainerType): virtual in 2.0.
1154 * ThemeProvider: new (stubbed) class.
1156 * SkinBuilder.cs: same.
1158 * PageTheme.cs: same.
1160 * ControlSkin.cs: same.
1162 * ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.
1164 * SimplePropertyEntry.cs: mark ctor as internal.
1166 * IThemeResolutionService.cs: enable the 3 members of this
1169 2006-02-27 Chris Toshok <toshok@ximian.com>
1171 * ListSourceHelper.cs: this class is static.
1173 * Page.cs: add some EditorBrowsable attributes to the 2.0 events.
1175 2006-02-27 Chris Toshok <toshok@ximian.com>
1177 * DataSourceView.cs: Name isn't virtual.
1179 * DataSourceControl.cs: beat this class over the head with the
1182 * DataSourceControlBuilder.cs: new stubbed control builder for
1185 2006-02-23 Chris Toshok <toshok@ximian.com>
1187 * Page.cs: more corcompare work.
1189 2006-02-23 Chris Toshok <toshok@ximian.com>
1191 * Page.cs (ProcessCallbackData): track change to
1192 ICallbackEventHandler iface.
1194 * ICallbackEventHandler.cs: enable the proper members of this
1197 * DataSourceSelectArguments.cs: reformat getter/setters.
1199 2006-02-22 Cesar Lopez Nataren <cnataren@novell.com>
1201 * HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
1203 2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1205 * WebHandlerParser.cs:
1206 * WebServiceParser.cs:
1207 * UserControlParser.cs:
1208 * PageParser.cs: added new ctor that uses a TextReader as input.
1210 * TemplateControlParser.cs: new Reader property.
1211 * SimpleWebHandlerParser.cs: new Reader property and ctor.
1213 2006-02-12 Cesar Lopez Nataren <cnataren@novell.com>
1215 * HtmlTextWriter.cs: Implemented IsValidFormAttribute and
1216 WriterBreak for the .NET 2.0 profile.
1218 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1220 * IThemeResolutionService.cs: this is now added to the
1221 sources file, but some other stuff does not compile yet as the
1222 interface changed after the beta.
1224 * ObjectConverter.cs: removed extra attribute.
1226 * ObjectStateFormatter.cs: add IStateFormatter for 2.0.
1228 * ICallbackEventHandler.cs: update the interface, but commented the
1229 'good' stuff out, since other files need to be fixed too.
1231 2006-02-07 Chris Toshok <toshok@ximian.com>
1233 * ControlBuilder.cs: rename flushOutputStatements to
1234 methodStatements to at least reflect that they're in that method.
1236 2006-02-07 Chris Toshok <toshok@ximian.com>
1238 * MasterPage.cs (CreateMasterPage): don't nullref on null
1239 contentTemplateCollection.
1241 * ControlBuilder.cs: add a flushOutputStatements field.
1243 * PageParser.cs (ProcessMainAttributes): handle Title attribute.
1244 (Title): add getter.
1246 * Page.cs (Title): implement getter/setter.
1247 (InternalProcessRequest): after calling ApplyMasterPage, apply the
1248 page's Title directive if there is one.
1249 (AddContentTemplate): make the EditorBrowsable attribute apply to
1250 the method, not the field.
1252 2006-02-07 Chris Toshok <toshok@ximian.com>
1254 * MasterPage.cs: rework this file, adding some static methods
1255 gleaned from MS stack traces, and clear up the propogation of
1256 content templates between nested master pages.
1258 * Control.cs (TemplateControl): implement.
1260 * TemplateControl.cs: re-indent some of the code.
1261 (ReadStringRecource): according to msdn2, these throw
1262 NotSupportedException.
1264 * MasterPageParser.cs (HandleOption): implement. assign our
1265 master page's MasterPageFile from the UserControl property.
1267 * UserControl.cs (InitializeAsUserControlInternal): new method
1268 that allows initialization without a page.
1270 * UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
1271 MasterPageFile attributes, so we can have nested master pages.
1272 (MasterPageFile): add a 2.0 specific property.
1274 * TemplateControlParser.cs: in .net 2.0, our base class is
1276 (HandleOptions): be consistent and call base.HandleOptions.
1278 * BaseTemplateParser.cs: new (stubbed) class.
1280 * MasterPageControlBuilder.cs: new file, not filled in (and really
1283 * Page.cs (InternalProcessRequest): call ApplyMasterPage.
1284 (SaveExistingContentTemplates): nuke.
1285 (ReapplyExistingContentTemplate): nuke.
1286 (ApplyMasterPage): if we have a master page, call
1287 MasterPage.ApplyMasterPageRecursive with it and add it to our
1289 (set_MasterPageFile): remove call to SaveExistingContentTemplates.
1290 (get_Master): call MasterPage.CreateMasterPage.
1291 (AddContentTemplate): keep track of the page's content templates
1292 in a local Hashtable - they aren't our master page's content
1295 2006-02-01 Chris Toshok <toshok@ximian.com>
1297 * TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
1298 calls to GetWebApplicationSection with GetSection.
1300 * SimpleWebHandlerParser.cs: same.
1304 * PageParser.cs: same.
1306 * BaseParser.cs: same.
1308 2006-01-27 Chris Toshok <toshok@ximian.com>
1310 * MasterPage.cs (ContentTemplatesInternal): add get/set for the
1313 * Page.cs (SaveExistingContentTemplates): store off the existing
1314 MasterPage content templates so they can be reapplied when setting
1315 MasterPageFile to something else.
1316 (ReapplyExistingContentTemplates): set masterPage's
1317 ContentTemplates to our saved copy.
1318 (set_MasterPageFile): save off the current content templates
1319 before clearing masterPage.
1320 (get_Master): reapply the saved content templates after we create
1323 2006-01-25 Chris Toshok <toshok@ximian.com>
1325 * ClientScriptManager.cs (RegisterClientScriptResource): last
1326 patch, I swear. How can 1 line of code have 3 bugs?
1328 2006-01-25 Chris Toshok <toshok@ximian.com>
1330 * ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
1331 problem with last commit - unquote "resourceName" so it uses the
1332 parameter instead of the string constant.
1334 2006-01-22 Chris Toshok <toshok@ximian.com>
1336 * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
1339 * PageParser.cs (ProcessMainAttributes): i missed a
1340 CONFIGURATION_2_0 block.
1342 * BoundPropertyEntry.cs (.ctor): mark as internal to fix
1345 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
1347 * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
1349 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
1351 * HtmlTextWriter.cs: perform case insensitive compare;
1352 return correct key in default case.
1354 2006-01-11 Chris Toshok <toshok@ximian.com>
1356 * ClientScriptManager.cs (RegisterClientScriptResource):
1359 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1361 * ObjectStateFormatter.cs: Removed TARGET_JVM parts in
1364 2006-01-10 Chris Toshok <toshok@ximian.com>
1366 * Page.cs (ValidateCollection): in NET_2_0 if event validation is
1369 2006-01-09 Chris Toshok <toshok@ximian.com>
1371 * Page.cs: fix a lot of indentation, and add the
1372 EnableEventValidation .net 2.0 property.
1374 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1376 * ObjectStateFormatter.cs: Merged TARGET_JVM parts in
1377 TypeFormatter.Read, TypeFormatter.Write from /main/5
1379 2006-01-09 Konstantin Triger <kostat@mainsoft.com>
1381 * Page.cs: make ProcessRequest virtual under TARGET_JVM.
1383 2006-01-04 Chris Toshok <toshok@ximian.com>
1385 * TemplateParser.cs (.ctor): kinda gross, but handle the
1386 AddAssembliesInBin case here.
1388 * SimpleWebHandlerParser.cs (.ctor): same.
1390 2006-01-04 Chris Toshok <toshok@ximian.com>
1392 * SimpleWebHandlerParser.cs: Remove the declaration of
1393 compilationConfig in the CONFIGURATION_2_0 case. it's
1395 (.ctor): ifdef out the AddAssembliesInBin call in the
1396 CONFIGURATION_2_0 case. need to revisit this.
1397 (CompilationConfig): add a CONFIGURATION_2_0 version.
1399 * BaseParser.cs: Remove the declaration of compilationConfig in
1400 the CONFIGURATION_2_0 case. it's unnecessary.
1402 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1404 * Control.cs: use _controls instead of the property wherever possible.
1406 2005-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1408 * Control.cs: use the _controls field instead of the Controls property.
1411 2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
1413 * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
1415 * KeyedListEnumerator.cs: Now internal.
1417 2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1419 * ControlCollection.cs: allow 'null' in Remove.
1421 2005-11-28 Chris Toshok <toshok@ximian.com>
1423 * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
1425 * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
1426 (PagesConfig): add a CONFIGURATION_2_0 version that returns a
1429 * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
1431 * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
1432 version that returns a CompilationSection.
1434 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1436 * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
1438 2005-11-09 Chris Toshok <toshok@ximian.com>
1440 * ViewStateEncryptionMode.cs: new 2.0 enum.
1442 2005-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1444 * TemplateParser.cs: fixes #76423. Not tested properly.
1446 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1448 * Page.cs: call LoadViewStateRecursive when the Form collection has
1449 not been used by a different page (GetTypeHashCode). This fixes problems
1450 when calling Server.Transfer while preserving Form and QueryString,
1451 as the page we transfer to used the view state stored in the Form, which
1452 contained the serialized data for the page calling Server.Transfer
1455 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1457 * Page.cs: add/remove the error before/after invoking OnError.
1459 2005-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1461 * Page.cs: call OnError when there's an exception (not for TAE). Fixes
1464 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1466 * TemplateControl.cs:
1467 * PartialCachingControl.cs: if a control is cacheable, LoadControl
1468 returns a PartialCachingControl that holds the VaryBy* and takes care
1469 of partial caching and rendering. Fixes bug #76547.
1471 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1473 * Page.cs: don't cache the 'Validate()' results. IsValid retests
1474 the validators again.
1476 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1478 * DesignerDataBoundLiteralControl.cs: changed autoid api.
1479 * DataBoundLiteralControl.cs: changed autoid api.
1481 * Control.cs: fixlet for UniqueID and weird test case. Removed
1482 PreventAutoID and only use the property to set that value.
1484 * LiteralControl.cs: changed autoid api.
1486 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1488 * AttributeCollection.cs: avoid code duplication and
1489 don't add "style" to the bag, or it will overwrite the settings made
1490 by CssStyleCollection.
1492 * CssStyleCollection.cs: make it throw where MS throws.
1493 Minimize the number of times we create the "style" string and take
1494 care of updating it for the AttributeCollection. FillStyle and
1495 BagToString are now private. One should use the 2.0 (internal in <2.0)
1498 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1500 * Control.cs: fix HasChildViewStates.
1502 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1504 * LosFormatter.cs: when the default ctor is used, MAC is disabled.
1507 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1509 * ObjectTagBuilder.cs: only fail when no id and no attributes.
1511 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1513 * DataBindingCollection.cs: Using an hashtable is a nice trick but
1514 we need to copy values (not the DictionaryEntry) in CopyTo.
1515 * Page.cs: IsValid throws an exception if the page hasn't be
1516 validated. VerifyRenderingInServerForm doesn't throw an exception
1517 during unit testing (without a context?) but does in normal ops.
1519 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1521 * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
1522 save the allocation of new MemoryStreams when possible. Thanks to
1525 2005-09-23 Ben Maurer <bmaurer@ximian.com>
1527 * HtmlTextWriter.cs: Initial support for escaping.
1529 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1531 * ViewStateOutputHashStream.cs: Removed. It didn't last long.
1533 * Page.cs: almost restored to its previous state, but now that we found
1534 that LosFormatter ctor that takes 'enableMac', moved the logic to
1535 add the hash and validate there. Thanks to Sebastien for his input.
1537 * LosFormatter.cs: implemented the missing ctors and support for
1538 "MAC" validation of the data.
1540 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1543 * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
1544 prevents the viewstate being altered on the client and it's disabled
1545 by default as per the documentation, but MS machine.config has it
1546 enabled in machine.config.
1548 2005-09-22 Miguel de Icaza <miguel@novell.com>
1550 * DataBindingCollection.cs: Raise the event, remove MonoTODO.
1552 * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
1555 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1557 * Control.cs: Added null checks for Trace as it can be null when
1558 rendering (like it was for 39 unit tests).
1560 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1562 * Page.cs: reverted hacks used with the wrong method of getting a
1563 control rendered size.
1564 * Control.cs: if the trace is enabled, save control rendered size.
1566 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1568 * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
1569 now use HtmlHeader directly.
1570 * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
1571 rewrote Equals to avoid dual type cast.
1573 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1575 * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
1577 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1579 * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
1580 * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
1581 with Minimal level. Fixed checks on ctor.
1582 * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
1583 AspNetHostingPermission with Minimal level.
1584 * TemplateContainerAttribute.cs: Added LinkDemand for
1585 AspNetHostingPermission with Minimal level.
1586 * TemplateControl.cs: Added LinkDemand and InheritanceDemand for
1587 AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
1588 Stubbed IFilterResolutionService for CAS testing.
1589 * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
1590 AspNetHostingPermission with Minimal level.
1591 * TemplateParser.cs: Added LinkDemand and InheritanceDemand for
1592 AspNetHostingPermission with Minimal level.
1593 * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
1594 with Minimal level. Removed IDispose interface.
1595 * ToolboxDataAttribute.cs: Added LinkDemand for
1596 AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
1597 to work on both 1.x and 2.0 profiles.
1598 * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
1599 for AspNetHostingPermission with Minimal level.
1600 * UserControl.cs: Added LinkDemand and InheritanceDemand for
1601 AspNetHostingPermission with Minimal level. Stubbed
1602 IFilterResolutionService for CAS testing.
1603 * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
1604 for AspNetHostingPermission with Minimal level.
1605 * ValidationPropertyAttribute.cs: Added LinkDemand for
1606 AspNetHostingPermission with Minimal level.
1607 * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
1609 * WebResourceAttribute.cs: Removed extra ctor and added setter to
1610 PerformSubstitution.
1611 * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
1612 AspNetHostingPermission with Minimal level.
1614 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1616 * ParseChildrenAttribute.cs: Added LinkDemand for
1617 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1618 casting. Added new ctor and public fields (2.0). Changed
1619 ChildControlType setter visibility to internal.
1620 * PartialCachingAttribute.cs: Added LinkDemand for
1621 AspNetHostingPermission with Minimal level. Added new ctor and
1622 SqlDependency property (2.0).
1623 * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
1624 AspNetHostingPermission with Minimal level.
1625 * PersistenceModeAttribute.cs: Added LinkDemand for
1626 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1628 * PersistChildrenAttribute.cs: Added LinkDemand for
1629 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1631 * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
1632 with Minimal level. Class is static in 2.0.
1633 * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
1634 AspNetHostingPermission with Minimal level. Class is no more sealed in
1635 2.0. Added new (2.0) BuiltObjects property.
1636 * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
1637 for AspNetHostingPermission with Minimal level.
1638 * StateItem.cs: Added LinkDemand for AspNetHostingPermission with
1640 * StateBag.cs: Added LinkDemand for AspNetHostingPermission with
1641 Minimal level. Removed SetDirty() which was called (2.0) but did
1643 * StaticPartialCachingControl.cs: Added LinkDemand and
1644 InheritanceDemand for AspNetHostingPermission with Minimal level.
1646 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1648 * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
1649 AspNetHostingPermission with Minimal level. Added new 2.0 properties
1650 (but the generated HTML doesn't use them).
1651 * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
1652 AspNetHostingPermission with Minimal level.
1653 * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
1655 * LiteralControl.cs: Added LinkDemand and InheritanceDemand for
1656 AspNetHostingPermission with Minimal level. Default Text is null.
1657 * LosFormatter.cs: Added LinkDemand and InheritanceDemand for
1658 AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
1659 * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
1660 AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
1661 * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
1662 with Minimal level. Added check for null id (HttpException).
1663 * Page.cs: Added LinkDemand and InheritanceDemand for
1664 AspNetHostingPermission with Minimal level. Throw some HttpException
1665 when no context is available.
1666 * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
1667 level. InheritanceDemand too for 1.x.
1668 * PageParser.cs: Added LinkDemand for AspNetHostingPermission with
1671 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1673 * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
1674 Minimal level. Fixed some exceptions.
1675 * DataBindingCollection.cs: Added LinkDemand for
1676 AspNetHostingPermission with Minimal level. Added 2.0 method and
1678 * DataBindingHandlerAttribute.cs: Added LinkDemand for
1679 AspNetHostingPermission with Minimal level.
1680 * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
1681 Minimal level. Simplified Equals (reduced casts).
1682 * DataBoundLiteralControl.cs: Added LinkDemand for
1683 AspNetHostingPermission with Minimal level. Implemented ITextControl
1685 * DesignerDataBoundLiteralControl.cs: Added LinkDemand for
1686 AspNetHostingPermission with Minimal level.
1687 * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
1688 with Minimal level. Added new 2.0 properties.
1689 * DesignTimeTemplateParser.cs: Added LinkDemand for
1690 AspNetHostingPermission with Minimal level. Made class static and
1691 stubbed missing methods (2.0).
1692 * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
1693 for AspNetHostingPermission with Minimal level. Changed Add* methods
1694 exceptions to HttpException.
1696 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1698 * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
1700 * BaseParser.cs: Added LinkDemand and InheritanceDemand for
1701 AspNetHostingPermission with Minimal level.
1702 * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
1703 for AspNetHostingPermission with Minimal level.
1704 * CompiledTemplateBuilder.cs: Added LinkDemand for
1705 AspNetHostingPermission with Minimal level.
1706 * ConstructorNeedsTagAttribute.cs: Added LinkDemand for
1707 AspNetHostingPermission with Minimal level.
1708 * ControlBuilderAttribute.cs: Added LinkDemand for
1709 AspNetHostingPermission with Minimal level. Simplified Equals and
1711 * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
1712 AspNetHostingPermission with Minimal level.
1713 * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
1714 * ControlCollection.cs: Added LinkDemand and InheritanceDemand for
1715 AspNetHostingPermission with Minimal level. Fixed possible stack
1716 overflow in Add* methods. Fixed CopyTo as we're not allocating the
1717 array based on the number of items.
1718 * Control.cs: Added LinkDemand and InheritanceDemand for
1719 AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
1720 * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
1722 * IStyleSheet.cs: Fixed parameter orders (2.0).
1724 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1726 * TemplateParser.cs: default VS 2005 pages are compiled fine now.
1728 2005-09-07 Chris Toshok <toshok@ximian.com>
1730 * MinimizableAttributeTypeConverter.cs: new class, whose existence
1731 we know about because of corcompare, and for whose implementation
1732 we have exclusively nunit to thank.
1734 2005-09-06 Chris Toshok <toshok@ximian.com>
1736 * RootBuilder.cs (.cctor): doh, add all the new html controls
1739 2005-08-31 Chris Toshok <toshok@ximian.com>
1741 * DataSourceSelectArguments.cs (Empty): this is apparently,
1742 according to corcompare, a property, not a field. go figure.
1743 (Equals): implement.
1744 (IsEmpty): remove all mention of it.
1746 2005-08-29 Chris Toshok <toshok@ximian.com>
1748 * StateBag.cs (GetChar): add.
1750 2005-08-28 Chris Toshok <toshok@ximian.com>
1752 * Page.cs: more random corcompare work.
1753 (PageAdapter): implement.
1755 2005-08-28 Chris Toshok <toshok@ximian.com>
1757 * Page.cs (.ctor): set our initial ID to "__Page".
1758 (SmartNavigation): obsolete in 2.0.
1759 (FindControl): new implementation. Just check our own ID against
1760 the control we're looking for. otherwise pass it along to
1762 (GetPostBackClientHyperlink): obsolete in 2.0.
1764 2005-08-28 Chris Toshok <toshok@ximian.com>
1766 * ClientScriptManager.cs: public sealed in 2.0
1768 * IAdaptableTextWriter.cs: new 2.0 interface.
1770 * IHierarchyData.cs: fix return type for GetParent.
1772 2005-08-28 Chris Toshok <toshok@ximian.com>
1774 * Pair.cs: mark serializable and sealed in 2.0.
1776 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1778 * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
1779 existing (but internal) FillStyle method. Rewrote BagToString to use an
1780 HtmlTextWriter so we get the "right" format for background-image url.
1782 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1784 * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
1785 Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
1786 the extra space from last patch because they break some unit tests.
1788 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
1790 * CssStyleCollection.cs: Added some spacing.
1791 * HtmlTextWriter.cs: Made style and attribute tables static.
1792 Implemented StaticGetStyleName().
1794 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1796 * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
1798 * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
1799 The new rendering formats the value as "url(" + original + ")".
1801 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1803 * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
1804 depends on the HtmlTextWriterStyle ordering).
1806 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1808 * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
1810 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1812 * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
1813 fixed the rest of the enum values).
1814 * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
1815 parameter to match 2.0 API. Added a setter to the AllowedTypes
1818 2005-08-24 Chris Toshok <toshok@ximian.com>
1820 * Control.cs (get_Adapter): Instead of throwing an exception, just
1821 return null, so we can write the rest of the Control specific
1822 Adapter code and just not enable any of those code paths until we
1823 have actual adapters. Also flag TODO.
1824 (EnsureChildControls): Call out to Adapter.CreateChildControls if
1826 (RenderChildren): call "RenderControl (writer, adapter)" if we
1828 (RenderControl): implement the adapter case naively.
1829 (LoadRecursive): call out to Adapter.OnLoad if we have one.
1830 (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
1832 (InitRecursive): call out to Adapter.OnInit if we have one.
1834 2005-08-24 Chris Toshok <toshok@ximian.com>
1836 * Page.cs (GetPostBackEventReference): track change to
1837 ClientScriptManager and don't call a removed method.
1839 * ClientScriptManager.cs: track more recent docs and corcompare
1842 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
1844 * KeyedList.cs: Fixed bug when removing an unexisting object.
1845 * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
1846 in implementing RoleGroupCollection.
1848 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
1850 * Page.cs: Use Control property (and not the _control variable) to get
1851 the User (so the virtual Control property can be overriden properly).
1852 Sadly this doesn't seems to be the case for other properties (like
1855 2005-08-18 Dick Porter <dick@ximian.com>
1857 * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
1858 UserControl.cs, DesignerDataBoundLiteralControl.cs,
1859 PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
1860 BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
1861 stubs and attribute fixes
1863 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
1865 * Control.cs: Add protected virtual SetDesignModeState, in 2.0
1866 profile, as this is required for the Login control.
1868 2005-08-11 Dick Porter <dick@ximian.com>
1870 * CssStyleCollection.cs: Tweak the css string format to pass a
1873 * AttributeCollection.cs: Don't NRE if someone sets the "style"
1876 2005-08-05 Ben Maurer <bmaurer@ximian.com>
1878 * HtmlTextWriter.cs: Revert the patch below, see test case
1880 2005-08-05 Dick Porter <dick@ximian.com>
1882 * HtmlTextWriter.cs: Make <option> tags render inline, to match
1885 2005-08-03 Ben Maurer <bmaurer@ximian.com>
1887 * HtmlTextWriter.cs: Optmize this not to do insane amounts of
1888 allocation for large pages, etc.
1890 2005-07-30 Chris Toshok <toshok@ximian.com>
1892 * Page.cs (VerifyRenderingInServerForm): copy MS's error message
1893 since our form-errors jsunit tests depend on it.
1895 2005-07-30 Chris Toshok <toshok@ximian.com>
1897 * DataBinder.cs (FormatResult): make internal, not private.
1899 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1901 * StateBag.cs: Don't remove when tracking viewstate, as per msft
1904 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1906 * StateBag.cs: Actually *remove* items that are null. Duh.
1908 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
1910 * Page.cs: Need to throw exception when accessing Request but no
1913 2005-07-20 Chris Toshok <toshok@ximian.com>
1915 * ClientScriptManager.cs (GetClientValidationEvent): the JS we
1916 stick in onclick handlers for buttons/links/etc.
1918 * Page.cs (GetSubmitStatements): new function to return
1919 scriptManager.WriteSubmitStatements. Used by HtmlForm.
1920 (AreValidatorsUplevel): used by many of the button/linkbutton
1921 controls (the ones that can CauseValidation) to tell whether or
1922 not to emit client side validation calls.
1924 2005-07-20 Chris Toshok <toshok@ximian.com>
1926 * WebResourceAttribute.cs: make internal (and available) in
1929 2005-07-20 Chris Toshok <toshok@ximian.com>
1931 * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
1932 available) in !NET_2_0.
1934 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
1936 * Control.cs: Added IDataBindingsAccessor interface methods
1938 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1940 * HtmlTextWriter.cs: Fix nested indentation
1942 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
1944 * Control.cs: Added missing IParserAccessor.AddParsedSubObject
1947 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1949 * HtmlTextWriter.cs: Fix indentation (somewhat at least)
1951 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
1954 - Default name for controls on MS.Net is "_ctl" not "_ctrl"
1955 - MS does not append 'a' for auto-generated names
1957 2005-07-17 Ben Maurer <bmaurer@ximian.com>
1959 * AttributeCollection.cs: Use the invariant culture.
1961 * StateBag.cs: "Duh" optimization: return null when there are no
1962 dirty items in the view state
1964 2005-07-14 Ben Maurer <bmaurer@ximian.com>
1966 * StateBag.cs: A "short" version of my favorite method.
1968 * HtmlTextWriter.cs: New method to get the tag name staticly.
1970 2005-07-14 Duncan Mak <duncan@novell.com>
1972 * DataBindingHandlerAttribute.cs: Fixed after receiving some
1973 comments from Gonzalo.
1975 2005-07-13 Jackson Harper <jackson@ximian.com>
1977 * PropertyConverter.cs: No public constructors.
1979 2005-07-13 Ben Maurer <bmaurer@ximian.com>
1981 * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
1983 2005-07-12 Ben Maurer <bmaurer@ximian.com>
1985 * HtmlTextWriter.cs: Make styles work.
1987 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
1989 * AttributeCollection.cs:
1990 - Changes to match MS behaviour, the "style" attribute is always
1991 added to the list, in addition to being added to the
1992 CssStyleCollection. Also added check for "style" attribute when
1993 setting via index setter
1994 - When "Style" attribute is added, CssStyleCollection is
1995 automatically created
1996 - The style keyword needs to be lowercase
1998 2005-07-11 Ben Maurer <bmaurer@ximian.com>
2000 * HtmlTextWriter.cs: Missing a PopEndTag here.
2002 * PropertyConverter.cs: Pass tests
2004 2005-07-09 Miguel de Icaza <miguel@novell.com>
2006 * DataBindingHandlerAttribute.cs: Create the "Default" property.
2008 2005-07-09 Duncan Mak <duncan@novell.com>
2010 * DataBindingHandlerAttribute.cs: Implemented.
2012 2005-07-08 Ben Maurer <bmaurer@ximian.com>
2014 * HtmlTextWriter.cs: Much better compliance with msft
2016 2005-07-08 Jackson Harper <jackson@ximian.com>
2018 * ToolbarDataAttribute.cs: New implementation.
2020 2005-07-07 Jackson Harper <jackson@ximian.com>
2022 * PropertyConverter.cs: New implementation.
2024 2005-07-07 Ben Maurer <bmaurer@ximian.com>
2026 * StateBag.cs: Noticed an issue where SetDirty was called when the
2029 2005-07-07 Ben Maurer <bmaurer@ximian.com>
2031 * StateBag.cs: Add a method that gets a string or else a default
2034 2005-07-07 Dick Porter <dick@ximian.com>
2036 * StateBag.cs: Added internal SetDirty (void) method to fix the
2039 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
2041 * HtmlTextWriter.cs: Small fixlet when attribute has no value.
2043 2005-07-07 Miguel de Icaza <miguel@novell.com>
2045 * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
2048 * StateBag.cs: Add NET_2_0 SetDirty method to get the build
2051 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
2053 * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
2055 2005-07-06 Ben Maurer <bmaurer@ximian.com>
2057 * HtmlTextWriter.cs: Make sure to clear attributes when they are
2060 * StateBag.cs: New impl
2062 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2065 * Control.cs: avoid the creation of the EventHandlerList and accessing
2066 to it whenever possible. Fix ENABLE_THEMING constant.
2068 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2070 * TemplateParser.cs:
2071 * TemplateControlParser.cs:
2072 * UserControlParser.cs: detect circular references when a control tries
2073 to register itself as a tag. Fixes bug #75376.
2075 2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2077 * PageParser.cs: don't try to compile the master page if it wan't
2078 provided. Use MapPath from the base classes instead of the long
2079 version. Fixes bug #75269 that prevented xsp2 from working properly.
2081 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
2083 * MasterPage.cs: Clear the default content of placeholders before
2084 adding the page content. Fixes bug #75193.
2086 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
2088 * PageParser.cs: Added MasterType property. Get the type from the
2089 MasterType directive.
2090 * MasterPageParser.cs: Added GetCompiledMasterType method.
2092 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2096 * Control.cs: updates for 1.1 SP1
2098 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
2100 * Control.cs: Added new DataBind() overload for 2.0. The old
2101 method calls this new overload.
2103 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2105 * TemplateParser.cs: ignore empty assembly.Location for in-memory
2106 generated assemblies.
2108 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2110 * Page.cs: added AddContentTemplate method.
2112 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2114 * AttributeCollection.cs: html-encode attribute values. Fixes
2117 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
2119 * DataSourceView.cs: Fix api.
2120 * NonVisualControlAttribute.cs: Implemented.
2121 * IDataItemContainer.cs: Added missing properties.
2122 * Control.cs: Added new EnableTheming and SkinID properties.
2123 * HierarchicalDataSourceControl.cs: Implemented missing methods.
2125 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
2127 * ControlCollection.cs: Added internal setter for ReadOnly.
2129 2005-05-09 Geoff Norotn <gnorton@customerdna.com>
2131 * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
2132 uses instead of codebehind.
2134 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2136 * Page.cs: as setting CurrentCulture is slow, don't set it if the
2137 culture has not changed since before the page started processing.
2139 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2141 * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
2144 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2146 * TemplateParser.cs:
2147 * SimpleWebHandlerParser.cs: removed values assigned and neved used.
2149 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2151 * SimpleWebHandlerParser.cs:
2152 * TemplateParser.cs: always get the location (full path) for assemblies,
2153 even the ones from the GAC.
2155 * BaseCompiler.cs: check that DynamicBase directory exists before
2156 creating the TempFileCollection.
2158 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
2160 * ClientScriptManager.cs: Use a linked list instead of a Hashtable
2161 to store the scripts. In this way, scripts will be rendered in the
2162 same order as they have been registered. It shouldn't be slower
2163 since pages don't have many scripts.
2165 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
2167 * IEditableTextControl.cs: Implemented.
2168 * DataBinder.cs: Marked constructor as obsolete in 2.0.
2169 In GetDataItem, check for the IDataItemContainer interface
2171 * TemplateControl.cs: Improved check for data item.
2173 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2175 * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
2176 * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
2177 for second postback.
2179 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2180 * TemplateParser.cs: Adding support for Strict/Explicit attributes
2181 for @Page/@Control directives as documented at
2182 http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
2183 First step don't choke on them. Fixing #74671
2185 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2187 * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
2188 there from the time when Load wasn't working properly. First part of the
2191 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
2193 * ControlBuilder.cs: The BindingContainerType property happens
2194 to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
2195 which is used to get the binding container that is managing
2196 the current two-way binding context.
2197 * TemplateBuilder.cs: Added some methods and an internal class
2198 to support two-way bindings.
2199 * CompiledBindableTemplateBuilder.cs: Implemented.
2200 * IBindableTemplate.cs: This interface inherits from ITemplate.
2202 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
2204 * ControlBuilder.cs: Added BindingContainerType property,
2205 which works like NamingContainerType but takes into account
2206 template builders with a specific container type (specified
2207 using the TemplateContainerAttribute.
2208 * StateManagedCollection.cs: Reimplemented Save/Load view
2209 state methods. The existing implementation was not correct
2212 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
2214 * DataSourceView.cs: Added null check.
2216 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
2218 * TemplateControl.cs:
2219 * Page.cs: Moved Eval and XPath from Page
2221 * StateManagedCollection.cs: Avoid saving null state.
2223 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
2225 * DataSourceView.cs: Rethrow exceptions not handled by operation
2227 * ITextControl.cs: Removed event.
2228 * CollectionBuilder.cs: Don't crash when a collection has more
2231 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
2233 * Control.cs: Added a new internal property: HasRenderMethodDelegate.
2234 * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
2235 * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
2237 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
2239 * ClientScriptManager.cs: Fix build.
2241 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
2243 * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
2244 since it is deprecated in 2.0.
2245 * Page.cs: Deprecated GetPostBackClientEvent and similar methods
2246 in 2.0. Moved callback management methods to ClientScriptManager.
2247 * ClientScriptManager.cs: Moved here deprecated methods from Page.
2248 In GetPostBackEventReference (PostBackOptions), don't use the
2249 WebForm_DoPostback script if the post can be done with a simple
2251 * PostBackOptions.cs: Fixed default values for some properties.
2253 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2255 * Control.cs: in FindControl, throw if there's more than one control
2256 with the same ID. Fixes bug #73479.
2258 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
2260 * Page.cs: Load control state before loading view state, and the
2262 * DataSourceSelectArguments.cs: Fix recursive property call.
2264 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
2266 * DataSourceView.cs: Fixed incorrect implementation of
2267 RaiseUnsupportedCapabilityError.
2268 * IDataItemContainer.cs: Added new properties.
2269 * Page.cs: Implemented Form property.
2270 * Control.cs: Fixed formatting.
2271 * StateManagedCollection.cs: Track view state of items loaded
2274 2005-02-22 Lluis Sanchez Gual <lluis@novell.com>
2276 * FilterableAttribute.cs: Fix endless loop.
2278 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
2280 * Page.cs: Implemented missing events.
2282 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2284 * BoundPropertyEntry.cs:
2286 * TwoWayBoundPropertyEntry.cs: implemented.
2288 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
2290 * Page.cs: Added support for validation groups. Some fixes in
2291 SavePageControlState().
2292 * IFilterResolutionService.cs: Removed extra field.
2293 * INavigateUIData.cs: Added missing field.
2294 * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
2295 Implemented new interfaces.
2297 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
2299 * Page.cs: Implemented support for cross page postback. Implemented
2300 support for postback with options. Fixed several method and property
2302 * PostBackOptions.cs: Added some TODOs.
2304 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2306 * ParseChildrenAttribute.cs: Set the correct default value for the
2309 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
2311 * ParseChildrenAttribute.cs: Added 2.0 property.
2312 * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
2313 * Page.cs: Added support for control state.
2314 * TemplateBuilder.cs: ContainerType should be internal.
2315 * Control.cs: Added some new 2.0 methods.
2317 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
2319 * PageParser.cs: Read the MasterPageFile attribute.
2320 * UserControlParser.cs: Not sealed any more since we need to inherit from
2321 it. Added new constructor with an additional "type" parameter.
2322 * MasterPageParser.cs: Parser for master pages.
2323 * Page.cs: Added support for master pages.
2324 * MasterPage.cs: Implemented.
2326 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
2328 * TemplateBuilder.cs: Added a special constructor that takes an
2329 attribute provider as parameter. The container type for the template
2330 may be defined in a TemplateContainerAttribute.
2331 * ControlBuilder.cs: Create the TemplateBuilder using that special
2333 * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
2335 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
2337 * IStyleSheet.cs: Added missing "using".
2338 * Page.cs: Implemented Header property.
2339 * CssStyleCollection.cs: Made BagToString method internal.
2340 * RootBuilder.cs: Register HtmlHead control.
2342 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
2344 * CssStyleCollection.cs: Minor (!) fix.
2345 * HtmlTextWriter.cs: Register names for new 2.0 styles.
2347 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
2349 * CssStyleCollection.cs: Make it work as a standalone collection.
2350 * HtmlTextWriter.cs: Added static method for getting style names.
2352 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2354 * ControlCollection.cs: fix off-by-one and store a null at the end to
2355 remove the reference to the removed control.
2357 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
2359 * ClientScriptManager.cs: Added GetScriptLiteral helper method.
2361 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
2363 * Page.cs: Added support for callback events. Moved theform variable
2364 outside the __doPostBack function, so it can be used by other
2366 * StateBag.cs: Implemented SetDirty().
2368 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2370 * Control.cs: when saving "Visible" into the ViewState, save the value
2371 for this precise control, as using the Visible property might give us
2372 Control's parent visibility. Fixes bug #69200.
2374 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2376 * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
2379 * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
2380 the appRoot + SessionID + vpath format.
2382 Fixes the 3 issues reported in bug #66623.
2384 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
2386 * Page.cs: Moved code for managing client scripts to ClientScriptManager,
2387 which is public in 2.0 and internal in 1.1.
2388 * ClientScriptManager.cs: Implemented.
2390 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
2392 * DataSourceView.cs: Removed extra method.
2394 2004-11-24 Sanjay Gupta <gsanjay@novell.com>
2396 * DataSourveViewSelectCallback.cs: Corrected method signature.
2398 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
2400 * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
2401 even if the class doesn't implement IParserAccessor.
2402 * WebResourceAttribute.cs: Allow multiple attributes of this type.
2404 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
2406 * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
2407 from SqlDataSourceView.cs.
2409 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2411 * Control.cs: unified a few bool fields into an int one.
2413 * ControlCollection.cs: use an array internally instead of always
2414 allocating an arraylist. Also added our own enumerator.
2416 * EmptyControlCollection.cs: there's no 'special' ctor now in the base
2419 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
2421 * DataSourceView.cs: Changes in access modifiers of methods.
2423 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
2425 * DataSourceCapabilities.cs: Added Flags attribute.
2426 * DataSourceSelectArguments.cs: Updated.
2427 * DataSourveView.cs: Updated.
2429 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
2431 * HierarchicalDataSourceView.cs: Corrected class definition and updated.
2433 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2435 * HierarchicalDataSourceView.cs: fix typo.
2437 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
2439 * HierarchicalDataSourceView.cs: Updated.
2441 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
2443 * DataSourceSelectArguments.cs: Initial implementation.
2445 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2447 * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
2449 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2451 * UrlTypes.cs: Updated.
2453 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2455 * UrlPropertyAttribute.cs: Added new file.
2457 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2459 * Control.cs: even if the control has no children the naming container
2460 may contain the control we're looking for. Fixes bug #67304.
2462 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2464 * AspGenerator.cs: added OtherTags.
2466 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2468 * ControlValuePropertyAttribute.cs: Initial implementation.
2470 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2472 * IPaginationContainer.cs: Corrected name of class.
2474 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2476 * IDReferencePropertyAttribute.cs: Completed implementation.
2478 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2480 * ThemeableAttribute.cs:
2481 * FilterableAttribute.cs: Code scrubbing and optimization.
2483 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2485 * ThemeableAttribute.cs: Completed implementation.
2487 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2489 * FilterableAttribute.cs: Completed implementation.
2491 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2493 * Control.cs: Added new attributes and a method.
2494 * FilterableAttribute.cs: New attribute, initial implementation.
2495 * ThemeableAttribute.cs: New attribute, initial implemenataion.
2497 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2499 * TemplateParser.cs: ensure bin directory exists before trying to access
2500 it. Fixes bug #65446 (not closed yet due to dependencies).
2502 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
2504 * Control.cs: Implemented methods of interface IExpressionAccessor.
2506 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2508 * SimpleWebHandlerParser.cs: correctly cache Type instead of the
2509 assembly for ashx/asmx. Otherwise we need to open the file and check
2510 for the class name in there. Thanks to Ben for pointing this out.
2512 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2514 * TemplateParser.cs: removed creation of StringWriter. It's not used.
2515 * Control.cs: don't create the EventHandlerList until requested.
2517 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
2519 * Control.cs: Added new interfaces implemented in .Net 2.0.
2520 * ExpressionBinding.cs: Added new class.
2521 * ExpressionBindingCollection.cs: Added new class.
2523 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2525 * LiteralControl.cs: stylized. This control has EnableViewState disabled
2526 by default and doesn't get an automatic ID. When text is null -> "".
2528 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
2530 * ControlSkinProc.cs:
2531 * DataSourceViewOperationCallback.cs:
2532 * DataSourceViewSelectCallback.cs:
2533 * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
2534 required in definition as delegates by default are sealed.
2536 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
2538 * IDReferencePropertyAttribute.cs: Corrected and changed from interface
2540 * IMobileTextWriter.cs: Corrected method signatures.
2542 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
2544 * ControlSkinProc.cs:
2545 * DataSourceViewOperationCallback.cs:
2546 * DataSourceViewSelectCallback.cs:
2547 * ExtractTemplateValuesMethod.cs: Added new delegates.
2549 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
2551 * IBindableTemplate.cs:
2552 * ICallbackEventHandler.cs:
2553 * IControlBuilderAccessor.cs:
2554 * IControlDesignerAccessor.cs:
2555 * IControlTypeFilter.cs:
2556 * IDataItemContainer.cs:
2557 * IDataSourceViewSchemaAccessor.cs:
2558 * IDReferencePropertyAttribute.cs:
2559 * IExpressionsAccessor.cs:
2560 * IFilterResolutionService.cs:
2561 * IItemPaginationInfo.cs:
2562 * IMobileTextWriter.cs:
2564 * IPaginationContainer.cs:
2565 * IPaginationInfo.cs:
2566 * IResourceResolutionService.cs:
2567 * IResourceUrlGenerator.cs:
2568 * IStateFormatter.cs:
2570 * IThemeResolutionService.cs:
2571 * IUrlResolutionService.cs:
2572 * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
2574 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
2576 * PostBackOptions.cs: Added new file and implemented the class.
2578 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2580 * HtmlTextWriterTag.cs: readded author name.
2582 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
2584 * HtmlTextWriterAttribute.cs:
2585 * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
2586 * CompilationMode.cs:
2587 * ConflictOptions.cs:
2588 * DataSourceCacheExpiry.cs:
2589 * DataSourceCapabilities.cs:
2590 * DataSourceOperation.cs:
2591 * TemplateContentType.cs:
2592 * TemplateInstance.cs:
2594 * VerificationConditionalOperator.cs:
2595 * VerificationReportLevel.cs:
2596 * VerificationRule.cs:
2597 * XhtmlMobileDocType.cs: Added enumerations.
2599 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2601 * Control.cs: style. Reverted previous patch modification of
2602 TemplateSourceDirectory (failed when the control is reparented). Use
2603 HasControls() and Controls all over instead of _controls, as Controls
2604 property and HasControls() might be overriden.
2606 2004-07-27 Alon Gazit <along@mainsoft.com>
2608 * Control.cs: Changed the implementation of TemplateSourceDirectory
2609 and GetDefaultName(). replaced foreach statements with for statements,
2610 in order to improve performence.
2612 2004-07-27 Alon Gazit <along@mainsoft.com>
2614 * Page.cs: changed the implementation of GetViewStateString().
2615 if the view state object is null there is no need to perform
2618 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2620 * TemplateControl.cs: don't include private methods of base classes when
2621 auto-attaching events. Fixes bug 61569.
2623 2004-07-14 Alon Gazit <along@mainsoft.com>
2625 * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
2626 2004-07-08 Pablo Baena <pbaena@gmail.com>
2628 * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
2630 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2632 * Page.cs: added additional checks for saving/displaying trace data.
2634 * PageParser.cs: removed checks for trace enabled in configuration
2637 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2639 * ControlCollection.cs: when clearing the control collection, tell the
2640 owners about the removal. Fixes bug #60800.
2642 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2644 * Page.cs: don't nullify _context after processing the request as there
2645 are events not triggered yet. Fixes bug #60726.
2647 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2649 * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
2652 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2655 * UserControlParser.cs: set the page/user control base type even when no
2656 default directive provided. Fixes bug #60572.
2658 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2660 * PageParser.cs: use default trace settings from web.config and check
2661 if trace is only requested for local connections. Fixes bug #60180.
2663 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2665 * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
2666 we read the default directive, check the cache for the Type and if
2667 present, don't keep reading and store the type found.
2669 * WebHandlerParser.cs:
2670 * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
2673 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2675 * Control.cs: properly fixed bug #59794.
2677 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2680 (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
2683 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2685 * SimpleWebHandlerParser.cs:
2686 * TemplateParser.cs: pass the language when compiling from a file.
2688 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2690 * SimpleWebHandlerParser.cs: if we have a global.asax, move its
2691 reference to the end to help mcs loading the assemblies. Fixes bug
2694 * TemplateParser.cs: same as above. Removed some kludges to workaround
2695 loading assemblies from bin path that are now in the runtime. Don't
2696 load the assemblies in bin if not needed, but still reference them
2699 2004-06-07 Alon Gazit <along@mainsoft.com>
2700 * Page.cs: Changed Page.ProcessPostData().
2701 After the change ,the state of controls that aren't visible is saved
2704 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2706 * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
2708 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2710 * Page.cs: IsPostBack also returns true when method is GET and we have
2711 viewstate information in the query string. Fixes bug #58151.
2713 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2715 * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
2716 HttpRutime.TraceManager.
2718 * PageParser.cs: for 'trace' we have 2 variables now. Added support
2719 for 'buffer' attribute.
2721 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2723 * Page.cs: implemented ClientTarget.
2724 * PageParser.cs: support for clientTarget and check for validity.
2726 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2729 * Html32TextWriter.cs:
2730 * HtmlTextWriter.cs:
2731 * SimpleWebHandlerParser.cs:
2732 * TemplateControl.cs: Added protected missing members and attributes.
2734 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2736 * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
2737 calling a protected method of another object.
2739 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2741 * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
2742 (of other objects) are called in TypeConverterFormatter.
2744 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2746 * ObjectStateFormatter.cs: before choosing the binary formatter, check
2747 if the object type has a TypeConverter that can convert to/from string.
2750 * Page.cs: call GetViewStateString from outside the WriteLine. This
2751 allows writing to the Response when getting the string without breaking
2754 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2756 * HtmlTextWriter.cs: render end tag for unknown tags.
2757 Patch frmo Markus Krutner. Fixes bug #59466.
2759 2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2761 * Page.cs: call DeterminePostBackMode only once per request. Patch by
2764 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2766 * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
2769 * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
2772 2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2774 * SimpleWebHandlerParser.cs:
2775 * TemplateParser.cs: for the assembly names given in the 'assembly'
2776 attribute, use LoadWithPartialName instead of Load.
2777 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2779 * Page.cs: return HttpContext.Current if _context has not yet been
2780 assigned to. Fixes bug #55245.
2782 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2784 * TemplateParser.cs: don't add import statement or assemblies from
2785 global.asax to every file. Fixes bug #55496.
2787 2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
2789 * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
2790 handle single quotes and a few corner cases correctly (see test cases).
2792 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2794 * TemplateControl.cs: fixed typos and added new method names to the set
2797 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2799 * ControlBuilder.cs: added SetTagName().
2801 * ObjectTagBuilder.cs: use SetTagName so that we can properly close
2802 <object> builders if the closing tag is provided.
2804 2004-02-16 Jackson Harper <jackson@ximian.com>
2806 * Page.cs: Set cacheability for Location.DownStream.
2808 2004-02-10 Jackson Harper <jackson@ximian.com>
2810 * TemplateParser.cs: Use full path if the assembly is in the
2811 private bin directory. Patch by Gonzalo Paniagua Javier.
2813 2004-02-09 Jackson Harper <jackson@ximian.com>
2815 * Page.cs: Set cacheability for server side caching.
2817 2004-01-30 Jackson Harper <jackson@ximian.com>
2819 * Control.cs: Ensure that dynamically loaded controls are
2822 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2824 * ApplicationFileParser.cs: check for error in directives. Use
2825 GlobalAsaxCompiler.CompileApplicationType for compiling.
2827 * ObjectTagBuilder.cs: load the Type and check for errors.
2829 * TemplateParser.cs: add assemblies and imports from global.asax.
2831 Now we properly create accessors for session and application objects in
2832 the application itself, pages and controls. First step for fixing
2835 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2837 * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
2838 to Eric Lindvall for pointing this out.
2840 2004-01-15 Jackson Harper <jackson@ximian.com>
2842 * TemplateParser.cs: Detect if we are parsing a control or page
2844 * Page.cs: vary by params and vary by headers can be null now.
2846 2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
2848 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
2851 2004-01-14 Jackson Harper <jackson@ximian.com>
2853 * Page.cs: If we have a postback that wasn't sent through a
2854 postback script (ie user hit submit on a input type=submit) call
2855 Validate so page validation occurs. This fixes bug #52770.
2857 2004-01-14 Jackson Harper <jackson@ximian.com>
2859 * Page.cs: Don't tell the response to cache anymore. This is done
2860 when the cacheability is modified by a callback. Set the cache's
2863 2004-01-14 Jackson Harper <jackson@ximian.com>
2865 * TemplateParser.cs: If varybyparam is set to "none" make it null
2866 so we dont get a param named null in the outputcache key.
2868 2004-01-14 Jackson Harper <jackson@ximian.com>
2870 * BasePartialCachingControl.cs: Use varyby attributes in key
2873 2004-01-14 Jackson Harper <jackson@ximian.com>
2875 * TemplateParser.cs: Add all the outputcache attribute error
2878 2004-01-13 Jackson Harper <jackson@ximian.com>
2880 * TemplateParser.cs: Add VaryByControls and Shared output cache
2881 properties. These are not assigned yet.
2882 * TemplateControlParser.cs: Do not ignore the OutputCache
2884 * BasePartialCachingControl.cs: Initial implementation. Keys are
2885 still not created properly.
2886 * StaticPartialCachingControl.cs: Assign properties in base class,
2887 implement CreateControl.
2889 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2891 * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
2893 * PageParser.cs: support validateRequest.
2895 * TemplateControlParser.cs: get default values from system.web/pages
2898 * TemplateParser.cs: added separate method for changing base type
2899 (Inherits or system.web/pages).
2901 * UserControlParser.cs: support system.web/pages defined base type.
2903 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2905 * UserControl.cs: Added missing attribute, implemented method
2906 * Page.cs: Added missing attribute, implemented method
2908 2004-01-10 Jackson Harper <jackson@ximian.com>
2910 * Page.cs: Handle trace being enabled in the config file.
2912 2004-01-10 Jackson Harper <jackson@ximian.com>
2914 * Page.cs: Save trace data before rendering it.
2915 * System.Web.dll.sources: Add TraceData.cs
2917 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2919 * Page.cs: removed a couple of MonoTODO on methods we're not gonna
2920 implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
2921 ensure that Unload event is raised. Fixes bug #52555.
2923 2004-01-02 Zoltan Varga <vargaz@freemail.hu>
2925 * KeyedList.cs: 'private' is not allowed on explicit interface
2926 implementations. Fixes 1.2 build.
2928 2003-12-31 Jackson Harper <jackson@ximian.com>
2930 * TemplateControlParser.cs: When registering tag prefixs make sure
2931 the file exists and throw the correct error if it does not.
2933 2003-12-25 Jackson Harper <jackson@ximian.com>
2935 * Page.cs: Throw error if the session is accessed when sessions
2938 2003-12-18 Jackson Harper <jackson@ximian.com>
2940 * Page.cs: Write Trace info.
2942 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2944 * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
2945 * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
2947 * PageParser.cs: the ctor is public.
2948 * PartialCachingAttribute.cs: added new ctor and Shared property.
2950 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2952 * Page.cs: assign the ErrorPage to the context if we get an exception
2953 when processing the page which only calls Unload.
2955 * PageParser.cs: handle ErrorPage.
2957 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2959 * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
2960 are not [Serializable]. Fixes bug #52244.
2962 2003-12-16 Jackson Harper <jackson@ximian.com>
2964 * Page.cs: Render trace data when tracing is enabled.
2966 2003-12-15 Jackson Harper <jackson@ximian.com>
2968 * PageParser.cs: Add Trace and Trace mode attributes.
2970 2003-12-15 Jackson Harper <jackson@ximian.com>
2972 * Page.cs: Use the context trace object.
2974 2003-12-14 Alon Gazit <along@mainsoft.com>
2975 * AttributeCollection.cs: Changed AttributeCollection.Render().
2976 After the change attributes ,that their value is null, aren't
2979 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2981 * Control.cs: remove a few dangling ^M, don't set values for fields
2982 that has the default value. If Visible is modified and we're tracking
2983 viewstate, save and restore it. Fixes bug #48689.
2985 2003-12-11 Jackson Harper <jackson@ximian.com>
2987 * Control.cs: Give null for the ID if it hasn't been explicitly
2988 set. This fixes bug #51520.
2990 2003-12-08 Jackson Harper <jackson@ximian.com>
2992 * PageParser.cs: Ignore the SmartNavigation attribute for now.
2994 2003-12-05 Jackson Harper <jackson@ximian.com>
2996 * DataBinder.cs (GetIndexedPropertyValue): Check if container is
2997 an IList and use a cast instead of reflection to retrieve the item
2998 if it is. Fixes bug #51759.
3000 2003-12-04 Alon Gazit <along@mainsoft.com>
3001 * Page.cs: Changed Page.ID so it will call Control.ID.
3004 2003-12-02 Jackson Harper <jackson@ximian.com>
3006 * Page.cs: Implemented registered array declarations. Patch by
3007 Benjamin Jemlich <pcgod@gmx.net>
3009 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3011 * TemplateParser.cs: basic check for 'classname' attribute and added
3012 patch by pcgod@gmx.net for bug #51568, which fixes automatic class
3013 names for pages starting with a number.
3015 2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
3017 * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
3020 * ObjectStateFormatter.cs: Comment out tracing.
3022 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3024 * Page.cs: fixed UICulture, LCID and Culture. Set the thread
3025 [UI]Culture before processing the request.
3027 * PageParser.cs: read Culture, UICulture and LCID attributes. Added
3028 properties for these. Partially contributed by Mohammad Damt.
3032 2003-11-27 Jackson Harper <jackson@ximian.com>
3034 * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
3037 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
3039 * ObjectStateFormatter.cs: Fix bug when reading small ints.
3040 Add some tracing so we can see what is going on.
3042 2003-11-21 Jackson Harper <jackson@ximian.com>
3044 * Page.cs: Set vary by params when cache location is Server.
3046 2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
3048 * ObjectStateFormatter.cs: v2 file. In v1.x this will be
3049 internal as LosFormatter will eventually use it to save
3052 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3054 * PersistChildrenAttribute.cs:
3055 * PersistenceModeAttribute.cs: implemented.
3057 * TODO: Removed file.
3058 * OutputCacheLocation.cs:
3059 * TemplateControlParser.cs:
3060 * HtmlInputFile.cs: class status based fixes.
3062 2003-11-19 Jackson Harper <jackson@ximian.com>
3064 * Page.cs: Always set the cache expire time. Tell the response to
3065 cache itself for server side cached pages.
3067 2003-11-19 Jackson Harper <jackson@ximian.com>
3069 * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
3070 thing, some corner cases still need work though. Was this the
3071 shortest lived method in the history of mono?
3073 2003-11-19 Jackson Harper <jackson@ximian.com>
3075 * Control.cs: New method for resolving urls that use ~/ to denote
3076 the applications base directory.
3078 2003-11-19 Jackson Harper <jackson@ximian.com>
3080 * TemplateParser.cs: Fix typo in error message.
3082 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3084 * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
3087 2003-11-19 Todd Berman <tberman@gentoo.org>
3090 * KeyedListEnumerator.cs: New v2 implementations.
3092 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
3094 * StateManagedCollection.cs: Implement.
3096 2003-11-13 Jackson Harper <jackson@ximian.com>
3098 * Page.cs: Initial implementation of InitOutputCache.
3099 * TemplateParser.cs: Page OutputCache options
3101 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3103 * HierarchicalDataSourceControl.cs: Implement.
3105 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3107 * XPathBinder.cs: Implemented.
3109 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3111 * DataSourceView.cs:
3113 * ListSourceHelper.cs:
3114 * DataSourceControl.cs:
3115 * HierarchicalDataSourceView.cs:
3116 * IHierarchicalDataSource.cs: Move v2 stuff.
3118 2003-11-07 Jackson Harper <jackson@ximian.com>
3120 * Control.cs (ResolveUrl): Special case for urls that consist of
3121 only a page anchor. ie <a href="#top">. This fixes bug #50165.
3123 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
3125 * IHierarchicalEnumerable.cs:
3126 * IHierarchyData.cs:
3127 * INavigateUIData.cs: New v2 interfaces.
3129 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3131 * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
3132 space in generated javascript.
3134 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3136 * LosFormatter.cs: encoding updates.
3137 * Page.cs: implemented CodePage and ContentType.
3138 * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
3141 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
3143 * Control.cs (GetWebResourceUrl): new v2 function
3144 * Page.cs (GetWebResourceUrl): ditto.
3145 make the JS we generate work with moz if the form is not a child
3147 * WebResourceAttribute.cs: Added, new v2 attribute.
3149 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3151 * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
3153 * PageParser.cs: initialize the parser in the constructor, not just
3154 before compiling and reference the application assembly.
3156 * SimpleWebHandlerParser.cs: reference the assembly that contains the
3159 * TemplateControl.cs:
3160 * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
3161 path and physical path when compiling a user control.
3163 * TemplateParser.cs: new AddApplicationAssembly ().
3164 * UserControlParser.cs: now we get valid values in the ctor.
3166 Referencing the application assembly fixes bug #49652.
3169 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3171 * TemplateControl.cs: moved NoParamsInvoker class to its own file.
3173 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3175 * BaseParser.cs: added CompilationConfig property.
3177 * TemplateParser.cs:
3178 * SimpleWebHandlerParser.cs: added CompilationConfig property.
3179 Don't hardcode assembly names any more, assemblies in bin are added
3180 depending on the configuration. The default language is also taken
3181 from the configuration.
3183 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3185 * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
3187 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3189 * Control.cs: removed some debug lines.
3190 * Page.cs: implemented RegisterOnSubmitStatement
3191 * TemplateControl.cs: fixed wire up for methods with no parameters.
3193 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3195 * PageParser.cs: ignore ValidateRequest by now.
3197 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3199 * System.Web.UI/TemplateControl.cs: support for wiring up events without
3202 2003-10-08 Pedro Martnez Juli <yoros@wanadoo.es>
3204 * PageParser.cs: drop some useless code.
3206 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
3208 * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
3210 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3212 * System.Web.UI/PageParser.cs:
3213 * System.Web.UI/TemplateControlParser.cs: honour the input file given
3216 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3219 (ClearChildViewState): doh! Don't clear control viewstate but the
3220 viewstate of possible children.
3221 (LoadViewStateRecursive): load viewstate even when control is not
3224 The rest are just dangling ^M removed.
3226 * DataBoundLiteralControl.cs:
3227 (LoadViewState): we get an object [], not a string [].
3229 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3231 * Control.cs: implemented ClearChildViewState ().
3233 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3235 * Page.cs: store unique IDs for controls requiring postback. Fixes bug
3238 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3240 * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
3241 dependencies so that it's recompiled when changed.
3243 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3245 * LosFormatter.cs: fixed Deserialize for empty viewstate.
3247 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3249 * Page.cs: check if controls that require postback have
3250 been changed by an event and register them to be notified of data
3253 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3255 * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
3258 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3260 * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
3261 are not serializable. Fixes bug #47784.
3263 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3265 * Control.cs: index the viewstates saved by the control position, not
3266 the control name. Fixes bug #47697.
3268 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3270 * ControlCollection.cs:
3271 * EmptyControlCollection.cs: create a minimum ArrayList for this.
3273 * BaseParser.cs: added setter for BaseVirtualDir.
3275 * Page.cs: fixed message when restoring view state fails.
3276 * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
3277 when a relative path to the control is given. Fixes bug #47685.
3279 2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3281 * Control.cs: when we load the viewstate for a control that has children
3282 viewstates and the child is not found, keep its viewstate around and
3283 wait until the child is added to load the viewstate. Fixes bug #47697.
3285 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3287 * TemplateControl.cs: more Delegate.CreateDelegate fixes.
3289 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3291 * PartialCachingControl.cs: is not abstract
3293 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3295 * SimpleHandlerFactory.cs: implemented GetHandler.
3296 * WebHandlerParser.cs: new file that parses .ashx files.
3298 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3300 * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
3302 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3304 * UserControl.cs: Added attribute
3305 * BasePartialCachingControl.cs: New class and paritally implemented
3306 * DesignerDataBoundLiteralControl.cs: New class and implemented
3307 * DesignTimeTemplateParser.cs:
3308 * PartialCachingControl.cs:
3309 * StaticPartialCachingControl.cs: New class and paritally implemented
3311 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3313 * ApplicationFileParser.cs: Fixed signature
3314 * DesignTimeParseData.cs: Added missing properties, implemented
3315 * Page.cs: Added attributes
3317 * TemplateControlParser.cs:
3318 * TemplateParser.cs:
3319 * UserControlParser.cs: Fixed signature
3321 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3323 * HtmlControlPersistableAttribute.cs: Added
3324 * IgnoreUnknownContentAttribute.cs: Added
3326 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3328 * IUserControlDesignerAccessor.cs: Added and implemented
3329 * Control.cs: Missing member added, added all attributes
3330 * Page.cs: Added attributes, fixed signature
3331 * TemplateControl.cs: Fixed signature, added all attributes
3332 * UserControl.cs: Added all attributes, added and implemented missing interface
3334 2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3336 * ControlCollection.cs: fixed bug #46472.
3338 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3340 * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
3342 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3344 * SimpleWebHandlerParser.cs: updated to new compilation interface.
3346 * TemplateParser.cs: use the new parameter when compiling.
3348 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3350 * Page.cs: also keep the value for the second try on handling postback
3353 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3355 * BaseParser.cs: fixed MapPath for non-rooted files.
3356 * PageParser.cs: don't pass a non-virtual file around.
3357 * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
3358 the exception teh may be throw by MapPath on an invalid path.
3360 * TemplateParser.cs: removed unused method.
3361 * UserControlParser.cs: modified inputfile. The result is the same, but
3364 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3366 * RootBuilder.cs: throw exception when the tagprefix is not valid or
3369 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3371 * TemplateControlParser.cs: return after processing @Register.
3373 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3375 * TemplateParser.cs: Added support for server side includes.
3377 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3379 * TemplateControl.cs: fixed the flags used to find the methods that
3380 are automatically hooked up on events.
3382 * TemplateParser.cs: don't compile a source file directly. Use the
3385 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3387 * BaseParser.cs: Location property is now here. Added a couple of
3388 convenience methods to throw a ParseException.
3390 * TemplateParser.cs:
3391 * TemplateControlParser.cs:
3392 * PageParser.cs: throw ParseException where appropiate.
3394 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3396 * ApplicationFileParser.cs: use the generator to actually parse the
3399 * ControlBuilder.cs: small fix in NamingContainerType because
3400 TemplateBuilders have a null ControlType. When a control is appended
3401 to a parent, assign the child's parent.
3403 * UserControlParser.cs: fixed the value of InputFile.
3405 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3407 * ApplicationFileParser.cs: store the Context and override
3408 BaseVirtualDir so that it's the application path.
3410 * BaseParser.cs: removed CurrentVirtualPath property.
3412 * TemplateControlParser.cs: use BaseVirtualDir.
3414 * UserControlParser.cs: removed CurrentVirtualPath.
3416 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3418 * TemplateParser.cs: always reference all the assemblies in bin
3421 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3423 * ApplicationFileParser.cs: it works now. Prior to these changes, we
3424 were using the compiler directly.
3426 * BaseParser.cs: added some useful properties and methods.
3428 * CodeBuilder.cs: use ILocation.
3429 * CodeRenderBuilder.cs: use ILocation.
3430 * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
3432 * ControlBuilder.cs: made it useful.
3434 * DataBindingBuilder.cs: the control type for data bound text is
3435 DataBoundLiteralControl now.
3437 * ObjectTagBuilder.cs: store some object tag attributes.
3439 * PageParser.cs: handle page-only directives.
3441 * RootBuilder.cs: bah.
3442 * SimpleWebHandlerParser.cs: made it dummy.
3443 * TemplateControl.cs: Modified file.
3445 * TemplateControlParser.cs: handle directives that are common to pages
3448 * TemplateParser.cs: utility methods and handling of directives that
3449 are common to app, page and user controls.
3451 * UserControl.cs: added ControlBuilderAttribute.
3453 * UserControlControlBuilder.cs: builder for user controls.
3454 * UserControlParser.cs: use the new interfaces.
3456 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3458 * ControlBuilder.cs: line and fileName are protected now.
3460 * CodeBuilder.cs: base class for the next 2 files.
3461 * CodeRenderBuilder.cs: builder for code render.
3462 * DataBindingBuilder.cs: builder for data binding.
3464 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3466 * ITagNameToTypeMapper.cs: made it internal.
3468 * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
3470 * RootBuilder.cs: initial builder.
3472 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3474 * CollectionBuilder.cs:
3475 * TemplateBuilder.cs: new classes derived from ControlBuilder that
3476 represent a property or a ITemplate.
3478 * ControlBuilder.cs: implemented all the missing bits.
3479 * TemplateParser.cs: added mapping from tag name to Type feature.
3481 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3483 * Control.cs: have i definitely fixed naming container stuff this time?
3485 * LosFormatter.cs: activated binary serialization code.
3487 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3490 (AddedControl): fixed default id assignation when the sequence of
3491 AddedControl until it's included in the page or one of its controls
3492 does not pass through a naming container.
3494 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3496 * Control.cs: give different default names depending on the place where
3497 it is assigned. Implemented ResolveURl (no more ~ rendered in
3500 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3502 * Control.cs: when adding a control, assign default names to th
3503 children that don't have one.
3505 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3507 * SimpleWebHandlerParser.cs: modified to use the new parser interface.
3509 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3511 * Control.cs: some more tweaks to naming containers stuff.
3512 * DataBinder.cs: don't throw exception if the container is null.
3514 * Page.cs: now we can render client scripts, startup scripts and hidden
3515 fields. Only render __VIEWSTATE if there is someone that will take care
3517 (RaisePostBackEvents): first try the last one that required raise event,
3518 then try __EVENTTARGET.
3520 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3522 * Control.cs: fixes in UniqueID, FindControl, AddedControl,
3523 UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
3524 FindControl work with NamingContainers.
3526 * ControlCollection.cs: notify the parent when clearing the collection.
3528 * LosFormatter.cs: Added debugging output and generate a valid
3529 viewstate even for unknown types.
3531 * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
3534 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3536 * Page.cs: make it fire the LoadData related events also for controls
3537 such as ImageButton, whose variable(s) in the query string are of the
3538 form ctrl_name.x and only fire them once per control.
3540 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3543 (GetPropertyValue): don't try to get the property as indexed
3545 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3547 * DataBinder.cs: use TypeDescriptor to get the properties and their
3550 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3553 (AddedControl): take the children to the same state of the parent.
3554 (InitRecursive): set the page of the children.
3556 * Page.cs: removed one line (it's done a few lines above).
3559 (OnInit): always call InitializeAsUserControl
3560 (InitializeAsUserControl): sets the page for the control.
3562 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3564 * Control.cs: fixed bug #36037.
3566 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3568 * BaseParser.cs: a couple of path fixes to make it work
3569 when the page is not in the root directory.
3571 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3573 * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
3576 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3578 * BaseParser.cs: use MapPath and context to locate files.
3579 * Control.cs: implemented MapPathSecure.
3580 * TemplateControl.cs: use UrlUtils to generate the path.
3581 * TemplateControlParser.cs: use the context and MapPath.
3582 * UserControl.cs: implemented MapPath.
3583 * UserControlParser.cs: added context parameter to constructor.
3585 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3587 * Control.cs: implemented MapPathSecure.
3588 * Page.cs: fixed Server property.
3590 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3592 * DataBinder.cs: try the indexer if the property is not found in
3593 GetPropertyValue ().
3595 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3597 * Control.cs: added AutoEventWireup internal property.
3599 * Page.cs: removed page events wire up from here.
3601 * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
3602 and user controls events.
3604 * TemplateControlParser.cs: process the options that are applicable
3605 once we have the instance of the control.
3607 * TemplateParser.cs: also stores the options.
3609 * UserControl.cs: hook up events before initializing the control.
3612 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3614 * Control.cs: new method to set bindingContainer value.
3615 * TemplateControl.cs: added controls are not binding containers.
3617 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3619 * Control.cs: implemented TemplateSourceDirectory.
3620 * TemplateControl.cs: implemented LoadControl and LoadTemplate.
3622 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3624 * UserControl.cs: fixed SetAttribute.
3625 * UserControlParser.cs: set the correct base type.
3627 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3629 * TemplateParser.cs: fixed BaseType.
3630 * UserControlParser.cs: helper class to compile user controls.
3632 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3634 * LosFormatter.cs: added DateTime to special types.
3636 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3638 * LosFormatter.cs: added array serialization support. Disabled binary
3639 serialization and add some debugging code.
3641 * StateBag.cs: the length of the list of value can be less than the
3642 length if the list of keys when remaining values are null.
3644 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3646 * Page.cs: return something useful in GetPostBackClientEvent.
3648 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3650 * Page.cs: implemented FileDependecies and made it protected.
3652 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3654 * Control.cs: save control names instead of the controls
3655 themselves to the ViewState.
3657 * LosFormatter.cs: added support for serializing unknown
3658 types. BinaryFormatter does not work so you better don't store anything
3659 of unknown Type in ViewState.
3661 * Page.cs: GetViewStateString works now using LosFormatter.
3662 Complete "Control execution lifecycle" by unloading all the child
3663 controls. Check for null in RaisePostBackEvents.
3664 LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
3666 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3668 * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
3670 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3672 * LosFormatter.cs: Use WebEncoding.Encoding.
3675 * Page.cs: fixed namespace.
3677 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3679 * Page.cs: set the context in ProcessRequest. Added a few trace calls.
3680 * Control.cs: added some trace information.
3682 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3684 * SimpleHandlerFactory.cs: new handler for .ashx files.
3686 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3688 * System.Web.UI/PageHandlerFactory.cs: new file.
3689 * System.Web.UI/PageParser.cs:
3690 * System.Web.UI/TemplateControlParser.cs: we are now able to compile
3691 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
3693 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3695 * Control.cs: implemented ObBubbleEvent.
3696 * Page.cs: temporary workaround to make POST work with xsp server.
3698 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3700 * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
3703 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3705 * SimpleWebHandlerParser.cs: New file.
3706 * WebServiceParser.cs: New file.
3708 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3710 * LosFormatter.cs: almost fully implemented.
3712 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3714 * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
3715 * EmptyControlCollection.cs: throw correct exception.
3716 * LosFormatter.cs: stubbed out.
3717 * OutputCacheLocation.cs: little fix.
3719 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3721 * System.Web.UI/ApplicationFileParser.cs:
3722 * System.Web.UI/BaseParser.cs:
3723 * System.Web.UI/PageParser.cs:
3724 * System.Web.UI/TemplateControl.cs:
3725 * System.Web.UI/TemplateControlParser.cs:
3726 * System.Web.UI/TemplateParser.cs: first steps to move xsp into
3729 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3731 * Page.cs: request to render postback script can be after form started
3734 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3736 * Page.cs: added more page events to invoke automagically if some
3737 methods are defined.
3739 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3742 (SaveViewState): save state even when control is not visible.
3743 (SaveViewStateRecursive):
3744 (LoadViewStateRecursive): made internal.
3746 2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3748 * Page.cs: improved event raising to allow client postback for a wider
3749 variety of actions (clicking an hyperlink, ...).
3751 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3753 * UserControl.cs: implemented Load/SaveViewState.
3755 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3757 * AttributeCollection.cs:
3758 (Add): handle 'style' through styleCollection.
3760 * CssStyleCollection.cs:
3761 (fillStyle): renamed to FillStyle and made it internal.
3764 (GetViewStateString): fixed, broken after other recent changes.
3765 (ProcessPostData): allow a second try for postback data after OnLoad.
3766 (ProcessRequest): clear controls collection, removed call to
3769 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3771 * Control.cs: uncommented Dispose.
3774 (DeterminePostBackMode): more checkings.
3775 (GetPostBackClientHyperLink): implemented.
3776 (GetPostBackEventReference): added some comments with the HTML that MS
3778 (ProcessRequest): fixed processing order. The page is unloaded after
3779 a request and regenerated from view state on subsequents posts.
3781 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3783 * Control.cs: fixed related to ViewState. Added RemovedControl.
3785 * ControlCollection.cs: notify owner of control removal.
3787 * CssStyleCollection.cs: almost rewritten to make it render the style
3788 attribute after changes to it.
3790 * Page.cs: follow the guidelines in 'Control execution lifecycle'.
3793 * StateBag.cs: don't use IDictionary.GetEnumerator on the
3794 HybridDictionary: it makes the program give an InvalidCastException at
3797 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3799 * Page.cs: fire Init and Load events for all children.
3801 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3803 * UserControl.cs: New file.
3805 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3807 * ControlBuilderAttribute.cs: finished implementation.
3809 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3811 * ConstructorNeedsTagAttribute.cs: the default constructor sets the
3814 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3816 * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
3818 * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
3819 Hashtable. Added internal .ctor.
3821 * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
3822 Equals and GetHashCode.
3824 * System.Web.UI/DataBoundLiteralControl.cs:
3826 (SaveViewState): implemented.
3828 * System.Web.UI/Page.cs: FileDependencies is not public.
3830 * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
3833 (IsDefaultAttribute): implemented.
3835 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3837 * Control.cs: fixed Visible property.
3838 * Page.cs: fixed GetViewStateString.
3840 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3842 * System.Web.UI/Page.cs:
3843 (GetViewStateString): new function to give the server access to the
3844 generated view state string.
3847 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3850 (SaveViewstateRecursive): implemented.
3851 (SaveViewState): fixed.
3852 (IParserAccessor.AddParsedSubObject): don't use 'this'.
3854 * Page.cs: added code to save view state to an xml file. It's not
3855 being used right now.
3857 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3859 * System.Web.UI/LiteralControl.cs:
3860 Fixes based on class status page:
3862 - Add attributes (DefaultEvent, ParseChildren).
3864 - Explicitly implement some interfaces (IPostBackDataHandler
3865 and IPostBackEventHandler).
3866 - Implemented some missing methods.
3868 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3870 * Control.cs: reimplemented FindControls.
3873 (.ctor): set the page for this control.
3874 (IsPostBack): return valid value.
3875 (DeterminePostBackMode): finished.
3876 (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
3877 (ProcessPostData): implemented. Raises change and postback events.
3878 (ProcessRequest): changed to support reuse of the instance.
3879 (RegisterRequiresPostBack): implemented.
3881 * ValidatorCollection.cs: implemented all methods.
3883 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3886 * Page.cs: first attemp to save view state.
3888 * HtmlForm.cs: don't render Action.
3890 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3892 * Page.cs: implemented more properties using information we already
3896 (VerifyRenderingInServerForm): implemented.
3898 2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3900 * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
3901 out runtime. Renamed Page_Init and Page_Load.
3903 After this, we can load a dll and render HTML in linux.
3905 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3908 (AddedControl): new function that is called whenever a control is
3909 added to a collection of controls in a container. It sets the defaults
3912 * ControlCollection.cs: call AddedControl in Add/AddAt.
3914 * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
3915 SetStaticString and SetDataBoundString.
3917 * Page.cs: removed SetDefaults.
3919 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3921 * CompiledTemplateBuilder.cs: new file. Used in the code generated
3925 (BindingContainer): implemented.
3926 (EnsureChildControls): avoid stack overflow.
3928 * DataBinder.cs: implemented Eval and PropertyValue.
3930 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3932 * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
3933 bug as in regular attributes).
3935 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3937 * Control.cs: implemented PreventAutoID.
3940 (SetDefaults): don't set ID automatically if Control.PreventAutoID has
3943 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3946 (Validators): if the collection is null, create one.
3947 (GetPostBackEventReference 2): don't throw exception.
3948 (GetPostBackClientEvent): return a string with containing the method
3949 name, the control name and the argument.
3951 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3953 * Page.cs: SetPage is now called SetDefaults and also sets a default
3954 ID for controls that don't have one yet.
3956 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3959 (GetPostBackClient):
3960 (RegisterRequiresPostBack): don't throw NotImplementedException to
3962 (ProcessRequest): set the current page as the Page property for *all*
3963 the controls, not just the direct children of the page.
3965 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3968 (MapPathSecure): until security is implemented, return the same path
3969 received as argument.
3970 (RenderControl): call OnPreRender before rendering the control. So
3971 AdRotator can read its configuration file.Is there any other place
3972 where this should be done?
3974 * HtmlTextWriter.cs:
3975 (AddAttribute): fixed. Now it really stores attributes.
3976 (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
3978 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3980 * ControlCollection.cs:
3981 (AddAt): if index is -1 behave as a plain Add.
3983 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3985 * Page.cs: for each child control to render, assign Control.Page.
3986 Probably also needed in HtmlContainerControl derived classes.
3988 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3990 * AttributeCollection.cs: don't need a Hastable. StateBag now works
3991 fine and takes care of the details.
3993 * Control.cs: added HasChildren property.
3995 * StateBag.cs: fixed a couple of nasty bugs.
3997 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3999 * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
4000 Invoke Page_Init and/or Page_Load if the user supplied them (though
4001 this should depend on AutoEventWireUp attribute of Page directive).
4003 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4005 * Control.cs: don't throw exception in ControlID. By now, it returns ID.
4008 (ProcessRequest): implemented.
4010 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4012 * System.Web.UI/Page.cs: finished stubbing out. Implemented some
4015 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4018 (FileDependencies): now is public public.
4019 (EnableViewStateMAC): uncommented and made protected.
4020 (GetTypeHashCode): added method.
4022 2002-05-24 Duncan Mak <duncan@ximian.com>
4024 * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
4026 * StateBag.cs (Item): Changed the visibility level of the this
4029 Misc. formatting edits, fixing some bugs introduced by the indentation.
4031 * DataBinder.cs (Eval)
4032 (GetIndexedPropertyValue)
4033 (GetPropertyValue): Fixed return types.
4035 2002-05-21 Miguel de Icaza <miguel@ximian.com>
4037 * HtmlTextWriter.cs: Use this to change the member instances.
4039 2002-05-17 Duncan Mak <duncan@ximian.com>
4041 * AttributeCollection.cs:
4042 * ControlCollection.cs:
4043 * CssStyleCollection.cs:
4044 * DataBindingCollection.cs:
4045 * EmptyControlCollection.cs: Added missing Collection classes.
4047 2002-05-17 Duncan Mak <duncan@ximian.com>
4050 * TemplateParser.cs: Implemented. BaseParser is weird because
4051 there is no documentation on what it does.
4053 * ControlBuilder.cs:
4056 * DataBinding.cs: Added.
4058 * DataBoundLiteralControl.cs:
4059 * Triplet.cs: Added.
4061 * RenderMethod.cs: Added this delegate for Control.cs
4063 2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4065 * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
4067 2002-05-14 Duncan Mak <duncan@ximian.com>
4069 * ValidationPropertyAttribute.cs: Added to CVS.
4071 2002-05-10 Duncan Mak <duncan@ximian.com>
4073 * ConstructorNeedsTagAttribute.cs:
4074 * ControlBuilderAttribute.cs:
4075 * ImageClickEventArgs.cs:
4076 * ParseChildrenAttribute.cs:
4077 * PartialCachingAttribute.cs:
4078 * PersistChildrenAttribute.cs:
4079 * PersistenceModeAttribute.cs:
4080 * TemplateContainerAttribute.cs: Added to CVS.
4082 * PersistanceMode.cs: Removed, fixed typo.
4083 * PersistenceMode.cs: Replacing above.
4085 * StateBag.cs (this): Fixed indexer, it takes a string as the
4086 index, not an object.
4088 * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
4090 * Page.cs (Validators): return type should be ValidatorCollection,
4091 not ValidatedCollection.
4093 * TagPrefixAttribute.cs: Added to CVS.
4095 2002-05-07 Duncan Mak <duncan@ximian.com>
4097 * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
4099 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
4101 * DataBindingHandlerAttribute.cs
4103 * ToolboxDataAttribute.cs - Completed
4105 2002-01-03 Nick Drochak <ndrochak@gol.com>
4107 * DesignTimeParseData.cs: initialze static member to avoid compile
4109 * PropertyConverter.cs: remove uneeded exception variables from
4112 2002-01-02 Nick Drochak <ndrochak@gol.com>
4114 * DesignTimeParseData.cs: fix header to show correct class name
4116 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
4118 * StateBag.cs - Completed
4120 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
4122 * Pair.cs - Small undocumented class. Completed.
4124 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
4126 * DesignTimeParseData.cs - Initial implementation
4127 * StateBag.cs - Initial implementation
4129 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
4131 * PropertyConverter.cs - Undocumented class. Completed.
4132 * Utils.cs - Undocumented, private class.
4133 Initial implementation
4135 2001-08-28 Bob Smith <bob@thestuff.net>
4136 * Control.cs: Figured out some undocumented API.
4138 * BuildMethod.cs: Initial implementation.
4139 * BuildTemplateMethod.cs: Initial implementation.
4140 * HtmlTextWriterAttribute.cs: Initial implementation.
4141 * HtmlTextWriterStyle.cs: Initial implementation.
4142 * HtmlTextWriterTag.cs: Initial implementation.
4143 * IAttributeAccessor.cs: Initial implementation.
4144 * IDataBindingsAccessor.cs: Initial implementation.
4145 * ImageClickEventHandler.cs: Initial implementation.
4146 * INamingContainer.cs: Initial implementation.
4147 * IParserAccessor.cs: Initial implementation.
4148 * IPostBackDataHandler.cs: Initial implementation.
4149 * IPostBackEventHandler.cs: Initial implementation.
4150 * IStateManager.cs: Initial implementation.
4151 * ITagNameToTypeMapper.cs: Initial implementation.
4152 * ITemplate.cs: Initial implementation.
4153 * IValidator.cs: Initial implementation.
4154 * OutputCacheLocation.cs: Initial implementation.
4155 * PersistanceMode.cs: Initial implementation.
4156 * StateItem.cs: Initial implementation.
4158 2001-08-27 Bob Smith <bob@thestuff.net>
4160 * Control.cs: Bug fixes and implementations.
4162 2001-08-24 Bob Smith <bob@thestuff.net>
4164 * Control.cs: Bug fixes.
4166 2001-08-23 Bob Smith <bob@thestuff.net>
4168 * Control.cs: More implementation. Events reworked for performance.
4170 2001-08-22 Bob Smith <bob@thestuff.net>
4172 * LiteralControl.cs: Implemented.
4173 * Control.cs: Even more implementation (Events). What a beast.
4175 2001-08-20 Bob Smith <bob@thestuff.net>
4177 * Control.cs: More implementation. Not done yet. Shutter.
4179 2001-08-17 Bob Smith <bob@thestuff.net>
4181 * Control.cs: Partial implementation.