1 2007-04-06 Marek Habersack <mhabersack@novell.com>
3 * ControlBuilder.cs: allow tag mappings from code found
4 in bin/* or App_Code/*. Fixes bug #80811.
6 2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
8 * TemplateControl.jvm.cs: performance improvement, added cache for
9 methods and events in user code
11 2007-03-26 Marek Habersack <mhabersack@novell.com>
13 * TemplateControl.cs: make local resources work with master
14 pages - use the AppRelativeVirtualPath for resource resolution.
16 * TemplateParser.cs: support the meta:resourcekey attribute in
17 Page and Control directives. Fixes bug #81204.
19 2007-03-21 Marek Habersack <mhabersack@novell.com>
21 * UnknownAttributeDescriptor.cs: an internal helper class for
22 custom directive attributes support.
24 * BaseParser.cs: ThrowParseException can now take variadic
25 parameters, for convenience.
27 * TemplateParser.cs: add support for custom attributes for the
28 Page and Control directives.
29 Added support for the CodeFileBaseClass directive. Fixes bug #81132
31 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
33 * Control.cs: fixed ResolveClientUrl method.
35 2007-03-18 Marek Habersack <mhabersack@novell.com>
37 * BaseParser.cs: fix BaseVirtualDir to always return app-absolute
40 2007-03-17 Marek Habersack <mhabersack@novell.com>
42 * MasterPageParser.cs: remove superfluous #ifdef
44 * TemplateParser.cs: use VirtualPathUtility here
46 2007-03-14 Vladimir Krasnov <vladimirk@mainsoft.com>
48 * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, performance
51 2007-03-13 Marek Habersack <mhabersack@novell.com>
53 * TemplateParser.cs: name generated classes the same way MS.NET
54 does - include the app-relative path to the control/page in the
57 2007-03-13 Adar Wesley <adarw@mainsoft.com>
59 * Page.cs: improved Async Page implementation.
61 2007-03-13 Marek Habersack <mhabersack@novell.com>
63 * TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
66 2007-03-12 Marek Habersack <mhabersack@novell.com>
68 * RootBuilder.cs: change the error text to be less misleading.
70 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
72 * AttributeCollection.cs:
73 * CssStyleCollection.cs: fixed: works w/o state bag.
75 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
77 * HtmlTextWriter.cs: fixed:
78 - Fixed writing background-image style attribute (different behavior in
80 - Does not encode 'name' attribute.
81 - Always encode style attributes (for 2.0 only).
83 2007-03-06 Adar Wesley <adarw@mainsoft.com>
85 * Page.cs: initial implementation of support for Async=true. Added
86 initial support for ViewStateEncryption. Implemented
87 CreateHtmlTextWriterFromType.
89 * PageAsyncTask.cs: Created class to support Async pages.
91 * ObjectStateFormatter.cs: Added support for ViewState encryption.
93 * HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
94 to conform to MS behavior.
96 2007-03-05 Vladimir Krasnov <vladimirk@mainsoft.com>
98 * Control.jvm.cs: fixed TemplateSourceDirectory property
100 2007-03-03 Marek Habersack <mhabersack@novell.com>
102 * TemplateParser.cs: support but ignore the Async and AsyncTimeOut
103 page directive attributes.
104 Support the LinePragmas page directive attribute.
106 * PageParser.cs: added support for the
107 MaintainScrollPositionOnPostBack page directive attribute.
109 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
111 * TemplateControl.cs:
112 * TemplateControl.jvm.cs: fixed: AutoEventWireup feature:
113 Method 'Page_XXX' is declared in the base class must be
114 called even is private.
116 2007-02-26 Vladimir Krasnov <vladimirk@mainsoft.com>
118 * Control.cs: fixed AppRelativeTemplateSourceDirectory property, should
119 not return AppRelativeTemplateSourceDirectory of master page
121 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
123 * ClientScriptManager.cs: fixed: GetScriptLiteral escapes back-slash:
125 2007-02-22 Igor Zelmanovich <igorz@mainsoft.com>
127 * TemplateControl.cs: added missing property AppRelativeVirtualPath
129 2007-02-21 Konstantin Triger <kostat@mainsoft.com>
131 * TemplateParser.cs: remove CodeGenerator.IsValidLanguageIndependentIdentifier
132 check from Global.asax inherits attribute to let inherits="A.B" construct.
134 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
136 * ObjectStateFormatter.cs:
137 optimization for serialization of primitive type arrays
139 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
141 * ClientScriptManager.cs:
144 implemented PostBackOptions.TrackFocus feature.
146 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
148 * Page.cs: for 2.0: refactoring:
149 prepare infrastructure for Form.SubmitDisabledControls feature
151 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
153 * Control.jvm.cs, Control.cs: Move TemplateSourceDirectory to .jvm file.
154 * Control.jvm.cs, Page.jvm.cs: Centralize Portlet specific API in Page.jvm
155 * Page.cs, Page.jvm.cs, ClientScriptManager.cs: Support for Http callbacks
158 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
161 '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields are
162 registered only once.
164 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
166 * Page.cs: for 2.0: '__doPostBack' declared as function of form.
167 convention to use 'currForm' instead 'myForm'
169 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
172 * ClientScriptManager.cs:
173 including 'webform.js' requires '__doPostBack' on the form be rendered.
175 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
178 * ClientScriptManager.cs:
179 refactoring: 'theForm' variable is always declared on client.
180 '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using
181 RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form.
183 2007-02-14 Vladimir Krasnov <vladimirk@mainsoft.com>
185 * Page.cs: fixed OnInit, adding css should throw exception if no header
188 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
190 * Page.cs: __doPostBack considers 2.0 features
191 such RegisterOnSubmitStatement
193 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
196 * ClientScriptManager.cs:
197 implemented RegisterOnSubmitStatement for 2.0
199 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
201 * ClientScriptManager.cs: EventValidation feature optimization on Callback.
203 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
205 * Page.cs: fixed exception handling on Callback at client.
207 2007-02-08 Marek Habersack <grendello@gmail.com>
209 * Page.cs: Make sure to create specific cultures.
211 2007-02-08 Vladimir Krasnov <vladimirk@mainsoft.com>
213 * ClientScriptManager.cs: added array declaration also as member of
214 form in TARGET_J2EE for j2ee portal support.
215 Added validators context init for GetClientValidationEvent under
216 TARGET_J2EE for j2ee portal support.
217 * Page.cs: fixed OnFormPostRender, render array declarations after
220 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
223 * ClientScriptManager.cs:
224 client scripts (webform.js, callback.js and
225 MaintainScrollPositionOnPostBack.js) were merged into one resource file.
227 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
230 http://msdn2.microsoft.com/en-us/library/ms178141.aspx
231 LAMESPEC: on Callback IsPostBack is set to false, but true.
233 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
236 VerifyRenderingInServerForm does not fire exception when IsCallback
238 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
241 * ClientScriptManager.cs:
242 fixed RegisterClientScriptInclude: all includes that was registered before
243 rendering are rendered at begin form.
245 2007-02-02 Marek Habersack <grendello@gmail.com>
247 * TemplateParser.cs: Do not register controls here.
249 2007-02-02 Adar Wesley <adarw@mainsoft.com>
251 * Control.cs: Changed UniqueId implementation to have '$' and not ':'
252 to conform to MS. This led to updating several Tests that referenced
253 the UniqueId as string.
255 2007-01-30 Eyal Alaluf <eyala@mainsoft.com>
257 * ClientScriptManager.cs: Fix Igor's last changes for TARGET_JVM.
259 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
262 * ClientScriptManager.cs:
263 CallBack works with EvantValidation.
265 2007-01-25 Eyal Alaluf <eyala@mainsoft.com>
267 * Page.cs: Change code to use the 'theForm' property when generating
268 JavaScript code. Ensure that we pass 'theForm' as param to the JS funcs.
269 * Page.jvm.cs, Control.jvm.cs: Implement the 'theForm' property to include
270 the portlet namespace. Moved 'PortletNamespace' from Control.jvm.cs
271 * Page.jvm.cs, Control.jvm.cs, ClientScriptManager.cs: Added support for
272 saving hidden fields for TARGET_J2EE Portlets re-render.
273 * Control.cs: Under TARGET_J2EE portal support add the PortletNamespace
274 to all the control IDs to ensure they different between portlets.
276 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
278 * Page.cs: fixed CheckForValidationSupport,
279 SupportsEventValidationAttribute should be checked at only one level
281 2007-01-23 Vladimir Krasnov <vladimirk@mainsoft.com>
283 * TemplateControl.jvm.cs: ParseControl not supported, added limited
284 implementation if TestDeviceFilter
286 2007-01-22 Konstantin Triger <kostat@mainsoft.com>
288 * ClientScriptManager.cs: ensure the callback client script is
289 registered before the client script includes are rendered.
291 2007-01-22 Konstantin Triger <kostat@mainsoft.com>
293 * Page.cs, ClientScriptManager.cs: ensure the web form client script is
294 registerd before the client script includes are rendered.
296 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
298 * Page.cs: move the WriteClientScriptIncludes to the top of the form,
299 according to the MSDN.
301 2007-01-20 Miguel de Icaza <miguel@novell.com>
303 * XhtmlTextWriter.cs: comment out unused code.
305 * ThemeProvider.cs: comment out unused code.
307 * DataSourceView.cs: Comment unused variable.
309 * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
312 * Control.cs: Put _templateControl inside the NET_2_0 ifdef
314 2007-01-20 Marek Habersack <grendello@gmail.com>
316 * TemplateParser.cs: Check whether the base type is in the root
319 2007-01-18 Eyal Alaluf <eyala@mainsoft.com>
321 * Control.jvm.cs: Added PortletNamespace property.
323 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
325 * TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
326 * Control.cs: moved TemplateSourceDirectory from TemplateControl for
327 TARGET_JVM, fixed AppRelativeTemplateSourceDirectory
329 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
331 * TemplateControl.jvm.cs: added 2.0 event names for wiring up
333 2007-01-15 Ilya Kharmatsky <ilya - at - decode-systems.com>
335 - IsViewStateEnabled - removed check for non-null page, since
336 the control by definition should come with enabled
337 view state, even if it not 'attached' to the page
338 - HasEvents() - implementation (still could produce bug in exotic scenarios
339 when all events added to 'this' control has been removed
340 through the property 'Events', but currently we can't see
341 better implementation)
343 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
345 * Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files.
346 * Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal
347 support for TARGET_J2EE.
349 2007-01-12 Miguel de Icaza <miguel@novell.com>
351 * Control.cs: Remove comment, it provides no information about
354 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
356 * PageTheme.cs: implemented
357 * Page.cs: fixed InitializeTheme, added PageTheme page initialization
358 * TemplateControl.cs,
359 * TemplateControl.jvm.cs: added XPath, XPathSelect overloads with
360 IXmlNamespaceResolver parameter
361 * XPathBinder.cs: added Eval, Select overloads with
362 IXmlNamespaceResolver parameter, refactored
364 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
366 * TemplateControl.jvm.cs: added GetGlobalResourceObject
368 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
370 * Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.
372 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
374 * Control.cs: ensure 'id' attribute will be rendered if
375 ClientID was accessed but ID is generated by the Page,
376 important for custom controls developing.
378 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
380 * Page.cs: fixed: InitializeCulture should be called
381 before creating controls.
383 2007-01-03 Marek Habersack <grendello@gmail.com>
385 * Page.cs: Make sure the ValidatorOnSubmit function is defined for the
386 document before attempting to use it.
388 2007-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
390 * Control.cs: fixed ResolveClientUrl, wrong when control that calls
391 this method and the page are in different folders
393 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
395 * Page.cs: show the validation summary when client validation and
396 linkbuttons are used. Patch by Juraj Skripsky.
398 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
400 * Page.cs: fixed: EventValidation is not performed for CallBack request.
402 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
404 * Page.cs: fixed: RegisterRequiresPostBack feature.
406 2006-12-21 Marek Habersack <grendello@gmail.com>
408 * ControlBuilder.cs: Add support for tag mapping in 2.0
410 2006-12-20 Marek Habersack <grendello@gmail.com>
412 * TemplateParser.cs: make sure Context.ApplicationInstance is not
413 valid before adding application assembly.
415 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
417 * Page.cs: fixed and optimized ProcessPostData
418 The "second try" used for controls that created at OnLoad.
419 fixed for controls that use RgisterRequeresPostBack to handle post data.
421 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
423 * Page.cs: The specified theme must exist as either an application theme.
424 If the theme does not exist, an HttpException exception s thrown.
426 2006-12-09 Marek Habersack <grendello@gmail.com>
428 * HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used
429 also in the 1.x profile)
431 * ObjectStateFormatter.cs: Implement the IStateFormatter interface
433 * ClientScriptManager.cs: Use IStateFormatter instead of
435 Use the IStateFormatter interface when registering the hidden
436 field with the state.
438 * LosFormatter.cs: Use ObjectStateFormatter
440 * PageStatePersister.cs: Make the class available as internal for
442 Constructor throws an exception on its page parameter being null.
443 Implemented several properties: ControlState, ViewState, Page,
446 * Page.cs: Use new state persister for all the profiles.
447 Use the new HiddenFieldPageStatePersister class.
449 * IStateFormatter.cs: Make the class available as internal for 1.x profile.
451 2006-12-04 Vladimir Krasnov <vladimirk@mainsoft.com>
453 * TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization
455 2006-11-29 Marek Habersack <grendello@gmail.com>
457 * TemplateParser.cs: if the OutputCache directive is present, make
458 sure the cache does not expire the current output.
460 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
462 * Page.cs: added missing methods and properties:
467 MaxPageStateFieldLength
468 ViewStateEncryptionMode
469 AddOnPreRenderCompleteAsync
470 AddOnPreRenderCompleteAsync
471 ExecuteRegisteredAsyncTasks
472 CreateHtmlTextWriterFromType
473 RegisterRequiresViewStateEncryption
475 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
477 * Page.cs: Master property returns null when no HttpContext.
479 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
481 * Page.cs: InitializeCulture method is called before OnPreInit.
483 2006-11-28 Marek Habersack <grendello@gmail.com>
485 * TemplateControlParser.cs: Use the new TemplateParser methods to
486 register controls/namespaces
488 * TemplateParser.cs: Implement support for the
489 system.web/pages/namespaces collection instead of hard-coding the
490 namespaces into the source.
491 Refactoring: added two internal methods to handle both the
492 system.web/pages/controls registration and the Register directive.
493 Added a new internal method to pull the system.web/pages/controls
494 collection before parsing.
496 2006-11-27 Marek Habersack <grendello@gmail.com>
498 * SimpleWebHandlerParser.cs: Added support for looking up types in
499 the top-level assemblies (App_Code et al)
501 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
503 * Control.cs: implemented EnsureID method.
505 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
507 * Control.cs: implemented Focus methods.
509 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
511 * Page.cs: implemented SetFocus methods.
514 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
516 * ClientScriptManager.cs: refactoring:
517 extracted method RegisterWebFormClientScript
519 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
521 * Control.cs: implemented OpenFile()
523 2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
527 implemented ClearChildState(), ClearChildControlState() and
528 IsChildControlStateCleared
530 2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
533 * ClientScriptManager.cs:
534 implemented RegisterExpandoAttribute feature
536 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
538 * ListSourceHelper.cs: optimization of implementation
540 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
542 * ListSourceHelper.cs: implemented
544 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
546 * DataSourceView.cs: fixed: constructor throws ArgumentNullException
548 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
550 * Page.cs: fixed: PreviousPage property
551 when CrossPostBack is processed PreviousPage is initialized
552 only if PreviousPage property is called.
554 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
556 * DataSourceControl.cs: fixed: Focus(), EnableTheming
558 2006-11-21 Marek Habersack <grendello@gmail.com>
560 * Control.cs: Make ClientIDSeparator private for !NET_2_0
562 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
564 * Page.cs: fixed: LoadControlState is called for controls
565 that added on Load and latter
567 2006-11-20 Marek Habersack <grendello@gmail.com>
569 * Control.cs: Implementations of a few missing properties.
571 * Page.cs: Added support for automatic culture detection from the
574 * PageParser.cs: Added support for "auto" cultures in the Page
577 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
579 * ClientScriptManager.cs: fixed: ValidateEvent feature:
580 client side return eventArgument as empty string
581 for controls that set it as null
583 2006-11-18 Marek Habersack <grendello@gmail.com>
585 * ClientScriptManager.cs: Implemented two missing
586 GetPostBackEventReference overloads. Made one of the overloads
587 internal for .NET < 2.0.
589 2006-11-17 Marek Habersack <grendello@gmail.com>
591 * PostBackOptions.cs: Renamed the constructors parameters to match
592 those Microsoft .NET uses.
593 targetControl must not be passed null to the constructor.
595 * ClientScriptManager.cs: Support for event validation.
596 Implemented a GetPostBackHyperlink overload.
597 Implemented the RegisterForEventValidation methods.
598 Implemented the ValidateEvent method.
599 Added support for saving/restoring event validation state.
601 * Page.cs: EnableEventValidation can be set only from the config
602 files (the <pages> element), the Page directive or from
603 Page_Init. After Page_Init returns, an exception is thrown.
604 Made GetFormatter internal, so that ClientScriptManager can use
606 Added the internal LifeCycle property which contains the current
607 life cycle stage of the page request processing.
608 Added calls to save/restore event validation state.
609 Added checks for whether child controls of the page support event
611 Added calls to ClientScriptManager.ValidateEvent in appropriate
614 * PageLifeCycle.cs: Added the PageLifeCycle enum, used in event
617 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
620 * ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
623 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
625 * SimpleWebHandlerParser.cs: 'using' for file reading.
627 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
629 * Page.cs: revert r67514 until after tagging for the next release.
631 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
633 * LiteralControl.cs: fixed: constructors & Text property
635 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
637 * Page.cs: fixed: LoadControlState is called for controls
638 that added on Load and latter, for 1.x refactoring only
640 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
642 * ClientScriptManager.cs:
643 fixed: checks arguments for null in public methods,
644 fixed public interface.
646 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
648 * PostBackOptions.cs: fixed: default values of properties
650 2006-10-22 Igor Zelmanovich <igorz@mainsoft.com>
652 * CssStyleCollection.cs:
653 * AttributeCollection.cs:
654 fixed: style collection is synchronized with style attribute
656 2006-10-19 Igor Zelmanovich <igorz@mainsoft.com>
658 * ClientScriptManager.cs: fixed: renders id attribute in hidden field
660 2006-10-18 Marek Habersack <grendello@gmail.com>
662 * TemplateParser.cs: reference System.Resources when compiling a
665 * TemplateControl.cs: implement the GetGlobalResourceObject
668 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
670 * Page.cs: fixed: for 2.0 only
671 When Page processes Callback IsPostBack = false, but it still needs
672 LoadViewState/ControlState and ProcessPostData
674 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
676 * DataSourceSelectArguments.cs: fixed:
677 SortExpression not returns null,
678 Empty property returns new instance each time
680 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
682 * DataSourceSelectArguments.cs:
683 fixed: RaiseUnsupportedCapabilitiesError method.
685 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
687 * DataSourceSelectArguments.cs: fixed: Equals method.
689 2006-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
691 * CssStyleCollection.cs: don't clear the collection of properties, but
694 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
696 * CssStyleCollection.cs: 'style' can be modified on our back, so build
697 the style table every time instead of keeping one that is not in sync.
700 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
702 * Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
703 When page is invoked by cross-page posting, PreviousPage processed all
704 live-cycle up to OnLoadComplite included.
705 IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
707 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
709 * TemplateParser.cs: patch by Joel Reed that makes use of the namespace
710 collection from the PagesConfiguration to add new namespaces when
711 generating the page/control code.
713 2006-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
715 * PageParser.cs: support the EnableEventValidation attribute.
717 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
719 * Page.cs: fixed: Title property works properly
721 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
723 * ClientScriptManager.cs: added helper method
725 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
727 * Page.cs: fixed: GetValidators(string), Validate(string) works properly
729 2006-09-08 Robert Jordan <robertj@gmx.net>
731 * Page.cs: assure that RenderTrace is called even if an
732 exception occurred. Fixes bug #78930.
734 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
736 * TemplateControl.cs: search for the new Page_* event handlers in 2.0.
737 Patch by Marek Habersack that fixes bug #78268.
739 2006-09-07 Lluis Sanchez Gual <lluis@novell.com>
741 * Page.cs: Use lowercase getElementById in the javascript that
744 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
746 * KeyedListEnumerator.cs: fixed Current property to return real object
747 instead of DictionaryEntry
749 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
751 * Page.cs: don't use the Browser object, as it slows down process
752 request time *a lot*. Fixes bug #79206.
754 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
756 * Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
757 * OutputCacheParameters.cs: added an implementation.
759 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
761 * CssStyleCollection.cs: fixed: background-image style attribute
763 2006-08-31 Konstantin Triger <kostat@mainsoft.com>
765 * StaticPartialCachingControl.cs: added forwarding implementation for
766 2.0 version of BuildCachedControl().
768 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
770 * Page.cs: added internal method
771 * ClientScriptManager.cs:
773 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
775 * ClientScriptManager.cs: added helper method
777 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
779 * Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string
780 if compiled with .net aspx parser
781 fixed OnInit, GetStyleSheets may return null if no css files found by
784 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
786 * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access
787 modifiers check on event handlers
789 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
791 * Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx
793 * TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
794 fixed TemplateSourceDirectory, should not work on master pages.
796 2006-08-20 Vladimir Krasnov <vladimirk@mainsoft.com>
798 * MasterPageParser.jvm.cs: fixed path resolving
799 GetCompiledMasterInstance
801 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
803 * TemplateControl.jvm.cs: fixed data binding API, implemented
804 AppRelativeVirtualPath, ReadStringResource
806 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
808 * Page.cs: added stubs to run aspx files compiled by .net
810 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
812 * MasterPageParser.jvm.cs: implemented
814 2006-08-10 Andrew Skiba <andrews@mainsoft.com>
816 * Page.cs: render css path as a virtual path.
818 2006-08-09 Robert Jordan <robertj@gmx.net>
820 * Control.cs: add the 2.0 ResolveClientUrl method.
821 Expose ResolveClientUrl as internal for the 1.1 profile.
824 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
826 * added MasterPageParser.jvm.cs
828 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
830 * ControlBuilder.jvm.cs: added BuildObject method
832 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
834 * ParseChildrenAttribute.cs: fixed ChildControlType property to
836 * UserControl.cs: fixed ParseChildren attribute to be compliant
839 2006-08-08 Igor Zelmanovich <igorz@mainsoft.com>
841 * Page.cs: implemented MaintainScrollPositionOnPostBack feature
843 2006-08-06 Vladimir Krasnov <vladimirk@mainsoft.com>
845 * Control.cs: fixed EnableTheming proprty, fixes bug when child
846 control has EnableTheming=false and parent has true.
848 2006-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
850 * MasterPage.cs: fixed default values, fixed AddContentTemplate
852 2006-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
854 * Control.cs: fixed EnableTheming proprty, fixes the bug when skins
855 are applied even if EnableTheming property was set to false.
857 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
859 * DataSourceView.cs: refactor to keep the original exception stack.
861 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
863 * PostBackOptions.cs: default to String.Empty for several field values.
864 Patch by Marek Habersack.
866 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
868 * Page.cs: when ProcessRequest is not called, get the session from
869 the current context. Fixes bug #78730.
871 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
873 * Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
874 by Peijen Lin that closes bug #78646.
876 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
878 * TemplateControlParser.cs: fix compilation caching when more than one
879 @control is compiled from source. Closes bug #78626.
881 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
883 * Page.cs: add the 2.0 Items property. Fixes bug #78467.
885 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
887 * Page.cs: use the new internal LosFormatter.SerializeToBase64.
888 * LosFormatter.cs: always work on base 64 strings even if the
889 input/output is on a Stream. Fixes bug #78640.
891 2006-06-08 Konstantin Triger <kostat@mainsoft.com>
893 * Page.cs: For loading themes, use '~/App_Themes' instead of
894 './App_Themes' to enable theme support for files in sub folders.
896 2006-05-25 Andrew Skiba <andrews@mainsoft.com>
898 * Control.cs: move 2.0 stuff into ifdef NET_2_0
900 2006-05-25 Andrew Skiba <andrews@mainsoft.com>
902 * Page.cs, Control.cs: Fix the order of OnInit invocation of controls
903 created via master page content (see
904 http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
906 2006-05-11 Andrew Skiba <andrews@mainsoft.com>
908 * Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the
909 PageTheme and from StyleSheetPageTheme to insert links in page header.
911 2006-05-10 Andrew Skiba <andrews@mainsoft.com>
913 * TemlpateParser.cs: surround file name with quotes
915 2006-05-08 Chris Toshok <toshok@ximian.com>
917 * ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
918 fixes the last thing keeping the test in #76818 from working.
920 2006-05-07 Andrew Skiba <andrews@mainsoft.com>
922 * Page.cs: if no theme is defined in aspx, read default from web.config.
923 Same for the style sheet theme.
925 2006-04-27 Andrew Skiba <andrews@mainsoft.com>
927 * TemplateParser.cs: format according to
928 http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html
930 2006-04-25 Chris Toshok <toshok@ximian.com>
932 * PageThemeParser.cs (LinkedStyleSheets): reformat.
934 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
936 * Control.cs: implementation for IsViewStateEnabled.
938 2006-04-25 Andrew Skiba <andrews@mainsoft.com>
940 * Control.cs: fix null pointer exception
942 2006-04-23 Andrew Skiba <andrews@mainsoft.com>
944 * PageThemeParser.cs: add LinkedStyleSheets property
946 2006-04-16 Andrew Skiba <andrews@mainsoft.com>
948 * TemplateParser.cs: add internal method AddAssemblyByFileName
950 2006-04-16 Konstantin Triger <kostat@mainsoft.com>
952 * SimpleWebHandlerParser.cs: correctly resolve GACs dependencies.
954 2006-04-11 Konstantin Triger <kostat@mainsoft.com>
956 * Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem().
958 2006-04-10 Chris Toshok <toshok@ximian.com>
960 * PageThemeFileParser.cs (AddDirective): allow Register directives
963 2006-04-02 Chris Toshok <toshok@ximian.com>
965 * Control.cs (DesignMode): always return false for now. Fixes
968 2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
970 * ControlBuilder.cs: when creating a default property builder, handle
973 * StringPropertyBuilder.cs: new builder used in TextBox 2.0.
975 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
977 * ControlCollection.cs: fixed CopyTo method, fixes bug when if target
980 2006-03-13 Chris Toshok <toshok@ximian.com>
982 * HtmlTextWriterTag.cs: no [Serializable] in 2.0.
984 * HtmlTextWriterAttribute.cs: same.
986 * HtmlTextWriterStyle.cs: same.
988 * VirtualReferenceType.cs: new enum.
990 2006-03-13 Chris Toshok <toshok@ximian.com>
992 * UserControl.cs: rework InitializeAsUserControl and
993 InitializeAsUserControlInternal - the Internal variety doesn't set
994 this.page to null now.
996 * MasterPage.cs (CreateMasterPage): map the masterPageFile path,
997 and also remove a line of spew.
999 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1001 * Added PageParser.jvm.cs, WebServiceParser.jvm.cs
1003 2006-03-07 Chris Toshok <toshok@ximian.com>
1005 * Page.cs (InitializeStyleSheet): load the style sheet theme using
1006 ThemeDirectoryCompiler.
1007 (InitializeTheme): load the page's theme using
1008 ThemeDirectoryCompiler.
1009 (InternalProcessRequest): call InitializeTheme after OnPreInit.
1010 (FrameworkInitialize): call InitializeStyleSheet.
1011 (PageTheme,StyleSheetPageTheme): new properties to get the
1014 * Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
1015 on the ControlSkin (if there is one) for this control in the
1016 page's StyleSheetSkin.
1017 (ApplyThemeRecursively): applies the page's theme recursively to
1018 the control hierarchy. Must be done this way because the control
1019 tree is already present when we apply the theme (it has to be,
1020 since theme's override settings).
1022 * PageTheme.cs (GetControlSkin): add internal call to do the
1025 * PageThemeFileParser.cs: the parser object that represents each
1026 individual skin file.
1028 * PageThemeParser.cs: the parser object that represents the entire
1031 * PageThemeBuilder.cs: this class generates the right exception on
1032 the right event, but it's not hooked up yet.
1034 2006-03-02 Chris Toshok <toshok@ximian.com>
1036 * Control.cs (ApplyStyleSheetTheme): remove the exception, and add
1039 * Page.cs (Theme): implement setter/getter.
1040 (StyleSheetTheme): same.
1042 * PageParser.cs (ProcessMainAttributes): parse the Theme and
1043 StyleSheetTheme attributes.
1045 2006-02-27 Chris Toshok <toshok@ximian.com>
1047 * TemplateControl.cs: corcompare work.
1049 * ExpressionBindingCollection.cs: same.
1051 * HierarchicalDataSourceControl.cs: same.
1053 * PostBackOptions.cs: same.
1055 * ClientScriptManager.cs: same.
1057 * FilterableAttribute.cs: same.
1059 * ControlCollection.cs: same.
1061 * DataBindingCollection.cs: same.
1063 * PropertyEntry.cs: mark ctor internal.
1065 * SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.
1067 * Page.cs: stub out two Theme oriented 2.0 properties.
1069 * DataBinder.cs: remove the obsolete attribute on the ctor.
1071 * TwoWayBoundPropertyEntry.cs: remove this.
1073 * ControlBuilder.cs (BindingContainerType): virtual in 2.0.
1075 * ThemeProvider: new (stubbed) class.
1077 * SkinBuilder.cs: same.
1079 * PageTheme.cs: same.
1081 * ControlSkin.cs: same.
1083 * ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.
1085 * SimplePropertyEntry.cs: mark ctor as internal.
1087 * IThemeResolutionService.cs: enable the 3 members of this
1090 2006-02-27 Chris Toshok <toshok@ximian.com>
1092 * ListSourceHelper.cs: this class is static.
1094 * Page.cs: add some EditorBrowsable attributes to the 2.0 events.
1096 2006-02-27 Chris Toshok <toshok@ximian.com>
1098 * DataSourceView.cs: Name isn't virtual.
1100 * DataSourceControl.cs: beat this class over the head with the
1103 * DataSourceControlBuilder.cs: new stubbed control builder for
1106 2006-02-23 Chris Toshok <toshok@ximian.com>
1108 * Page.cs: more corcompare work.
1110 2006-02-23 Chris Toshok <toshok@ximian.com>
1112 * Page.cs (ProcessCallbackData): track change to
1113 ICallbackEventHandler iface.
1115 * ICallbackEventHandler.cs: enable the proper members of this
1118 * DataSourceSelectArguments.cs: reformat getter/setters.
1120 2006-02-22 Cesar Lopez Nataren <cnataren@novell.com>
1122 * HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
1124 2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1126 * WebHandlerParser.cs:
1127 * WebServiceParser.cs:
1128 * UserControlParser.cs:
1129 * PageParser.cs: added new ctor that uses a TextReader as input.
1131 * TemplateControlParser.cs: new Reader property.
1132 * SimpleWebHandlerParser.cs: new Reader property and ctor.
1134 2006-02-12 Cesar Lopez Nataren <cnataren@novell.com>
1136 * HtmlTextWriter.cs: Implemented IsValidFormAttribute and
1137 WriterBreak for the .NET 2.0 profile.
1139 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1141 * IThemeResolutionService.cs: this is now added to the
1142 sources file, but some other stuff does not compile yet as the
1143 interface changed after the beta.
1145 * ObjectConverter.cs: removed extra attribute.
1147 * ObjectStateFormatter.cs: add IStateFormatter for 2.0.
1149 * ICallbackEventHandler.cs: update the interface, but commented the
1150 'good' stuff out, since other files need to be fixed too.
1152 2006-02-07 Chris Toshok <toshok@ximian.com>
1154 * ControlBuilder.cs: rename flushOutputStatements to
1155 methodStatements to at least reflect that they're in that method.
1157 2006-02-07 Chris Toshok <toshok@ximian.com>
1159 * MasterPage.cs (CreateMasterPage): don't nullref on null
1160 contentTemplateCollection.
1162 * ControlBuilder.cs: add a flushOutputStatements field.
1164 * PageParser.cs (ProcessMainAttributes): handle Title attribute.
1165 (Title): add getter.
1167 * Page.cs (Title): implement getter/setter.
1168 (InternalProcessRequest): after calling ApplyMasterPage, apply the
1169 page's Title directive if there is one.
1170 (AddContentTemplate): make the EditorBrowsable attribute apply to
1171 the method, not the field.
1173 2006-02-07 Chris Toshok <toshok@ximian.com>
1175 * MasterPage.cs: rework this file, adding some static methods
1176 gleaned from MS stack traces, and clear up the propogation of
1177 content templates between nested master pages.
1179 * Control.cs (TemplateControl): implement.
1181 * TemplateControl.cs: re-indent some of the code.
1182 (ReadStringRecource): according to msdn2, these throw
1183 NotSupportedException.
1185 * MasterPageParser.cs (HandleOption): implement. assign our
1186 master page's MasterPageFile from the UserControl property.
1188 * UserControl.cs (InitializeAsUserControlInternal): new method
1189 that allows initialization without a page.
1191 * UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
1192 MasterPageFile attributes, so we can have nested master pages.
1193 (MasterPageFile): add a 2.0 specific property.
1195 * TemplateControlParser.cs: in .net 2.0, our base class is
1197 (HandleOptions): be consistent and call base.HandleOptions.
1199 * BaseTemplateParser.cs: new (stubbed) class.
1201 * MasterPageControlBuilder.cs: new file, not filled in (and really
1204 * Page.cs (InternalProcessRequest): call ApplyMasterPage.
1205 (SaveExistingContentTemplates): nuke.
1206 (ReapplyExistingContentTemplate): nuke.
1207 (ApplyMasterPage): if we have a master page, call
1208 MasterPage.ApplyMasterPageRecursive with it and add it to our
1210 (set_MasterPageFile): remove call to SaveExistingContentTemplates.
1211 (get_Master): call MasterPage.CreateMasterPage.
1212 (AddContentTemplate): keep track of the page's content templates
1213 in a local Hashtable - they aren't our master page's content
1216 2006-02-01 Chris Toshok <toshok@ximian.com>
1218 * TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
1219 calls to GetWebApplicationSection with GetSection.
1221 * SimpleWebHandlerParser.cs: same.
1225 * PageParser.cs: same.
1227 * BaseParser.cs: same.
1229 2006-01-27 Chris Toshok <toshok@ximian.com>
1231 * MasterPage.cs (ContentTemplatesInternal): add get/set for the
1234 * Page.cs (SaveExistingContentTemplates): store off the existing
1235 MasterPage content templates so they can be reapplied when setting
1236 MasterPageFile to something else.
1237 (ReapplyExistingContentTemplates): set masterPage's
1238 ContentTemplates to our saved copy.
1239 (set_MasterPageFile): save off the current content templates
1240 before clearing masterPage.
1241 (get_Master): reapply the saved content templates after we create
1244 2006-01-25 Chris Toshok <toshok@ximian.com>
1246 * ClientScriptManager.cs (RegisterClientScriptResource): last
1247 patch, I swear. How can 1 line of code have 3 bugs?
1249 2006-01-25 Chris Toshok <toshok@ximian.com>
1251 * ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
1252 problem with last commit - unquote "resourceName" so it uses the
1253 parameter instead of the string constant.
1255 2006-01-22 Chris Toshok <toshok@ximian.com>
1257 * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
1260 * PageParser.cs (ProcessMainAttributes): i missed a
1261 CONFIGURATION_2_0 block.
1263 * BoundPropertyEntry.cs (.ctor): mark as internal to fix
1266 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
1268 * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
1270 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
1272 * HtmlTextWriter.cs: perform case insensitive compare;
1273 return correct key in default case.
1275 2006-01-11 Chris Toshok <toshok@ximian.com>
1277 * ClientScriptManager.cs (RegisterClientScriptResource):
1280 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1282 * ObjectStateFormatter.cs: Removed TARGET_JVM parts in
1285 2006-01-10 Chris Toshok <toshok@ximian.com>
1287 * Page.cs (ValidateCollection): in NET_2_0 if event validation is
1290 2006-01-09 Chris Toshok <toshok@ximian.com>
1292 * Page.cs: fix a lot of indentation, and add the
1293 EnableEventValidation .net 2.0 property.
1295 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1297 * ObjectStateFormatter.cs: Merged TARGET_JVM parts in
1298 TypeFormatter.Read, TypeFormatter.Write from /main/5
1300 2006-01-09 Konstantin Triger <kostat@mainsoft.com>
1302 * Page.cs: make ProcessRequest virtual under TARGET_JVM.
1304 2006-01-04 Chris Toshok <toshok@ximian.com>
1306 * TemplateParser.cs (.ctor): kinda gross, but handle the
1307 AddAssembliesInBin case here.
1309 * SimpleWebHandlerParser.cs (.ctor): same.
1311 2006-01-04 Chris Toshok <toshok@ximian.com>
1313 * SimpleWebHandlerParser.cs: Remove the declaration of
1314 compilationConfig in the CONFIGURATION_2_0 case. it's
1316 (.ctor): ifdef out the AddAssembliesInBin call in the
1317 CONFIGURATION_2_0 case. need to revisit this.
1318 (CompilationConfig): add a CONFIGURATION_2_0 version.
1320 * BaseParser.cs: Remove the declaration of compilationConfig in
1321 the CONFIGURATION_2_0 case. it's unnecessary.
1323 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1325 * Control.cs: use _controls instead of the property wherever possible.
1327 2005-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1329 * Control.cs: use the _controls field instead of the Controls property.
1332 2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
1334 * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
1336 * KeyedListEnumerator.cs: Now internal.
1338 2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1340 * ControlCollection.cs: allow 'null' in Remove.
1342 2005-11-28 Chris Toshok <toshok@ximian.com>
1344 * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
1346 * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
1347 (PagesConfig): add a CONFIGURATION_2_0 version that returns a
1350 * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
1352 * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
1353 version that returns a CompilationSection.
1355 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1357 * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
1359 2005-11-09 Chris Toshok <toshok@ximian.com>
1361 * ViewStateEncryptionMode.cs: new 2.0 enum.
1363 2005-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1365 * TemplateParser.cs: fixes #76423. Not tested properly.
1367 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1369 * Page.cs: call LoadViewStateRecursive when the Form collection has
1370 not been used by a different page (GetTypeHashCode). This fixes problems
1371 when calling Server.Transfer while preserving Form and QueryString,
1372 as the page we transfer to used the view state stored in the Form, which
1373 contained the serialized data for the page calling Server.Transfer
1376 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1378 * Page.cs: add/remove the error before/after invoking OnError.
1380 2005-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1382 * Page.cs: call OnError when there's an exception (not for TAE). Fixes
1385 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1387 * TemplateControl.cs:
1388 * PartialCachingControl.cs: if a control is cacheable, LoadControl
1389 returns a PartialCachingControl that holds the VaryBy* and takes care
1390 of partial caching and rendering. Fixes bug #76547.
1392 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1394 * Page.cs: don't cache the 'Validate()' results. IsValid retests
1395 the validators again.
1397 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1399 * DesignerDataBoundLiteralControl.cs: changed autoid api.
1400 * DataBoundLiteralControl.cs: changed autoid api.
1402 * Control.cs: fixlet for UniqueID and weird test case. Removed
1403 PreventAutoID and only use the property to set that value.
1405 * LiteralControl.cs: changed autoid api.
1407 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1409 * AttributeCollection.cs: avoid code duplication and
1410 don't add "style" to the bag, or it will overwrite the settings made
1411 by CssStyleCollection.
1413 * CssStyleCollection.cs: make it throw where MS throws.
1414 Minimize the number of times we create the "style" string and take
1415 care of updating it for the AttributeCollection. FillStyle and
1416 BagToString are now private. One should use the 2.0 (internal in <2.0)
1419 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1421 * Control.cs: fix HasChildViewStates.
1423 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1425 * LosFormatter.cs: when the default ctor is used, MAC is disabled.
1428 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1430 * ObjectTagBuilder.cs: only fail when no id and no attributes.
1432 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1434 * DataBindingCollection.cs: Using an hashtable is a nice trick but
1435 we need to copy values (not the DictionaryEntry) in CopyTo.
1436 * Page.cs: IsValid throws an exception if the page hasn't be
1437 validated. VerifyRenderingInServerForm doesn't throw an exception
1438 during unit testing (without a context?) but does in normal ops.
1440 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1442 * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
1443 save the allocation of new MemoryStreams when possible. Thanks to
1446 2005-09-23 Ben Maurer <bmaurer@ximian.com>
1448 * HtmlTextWriter.cs: Initial support for escaping.
1450 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1452 * ViewStateOutputHashStream.cs: Removed. It didn't last long.
1454 * Page.cs: almost restored to its previous state, but now that we found
1455 that LosFormatter ctor that takes 'enableMac', moved the logic to
1456 add the hash and validate there. Thanks to Sebastien for his input.
1458 * LosFormatter.cs: implemented the missing ctors and support for
1459 "MAC" validation of the data.
1461 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1464 * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
1465 prevents the viewstate being altered on the client and it's disabled
1466 by default as per the documentation, but MS machine.config has it
1467 enabled in machine.config.
1469 2005-09-22 Miguel de Icaza <miguel@novell.com>
1471 * DataBindingCollection.cs: Raise the event, remove MonoTODO.
1473 * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
1476 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1478 * Control.cs: Added null checks for Trace as it can be null when
1479 rendering (like it was for 39 unit tests).
1481 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1483 * Page.cs: reverted hacks used with the wrong method of getting a
1484 control rendered size.
1485 * Control.cs: if the trace is enabled, save control rendered size.
1487 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1489 * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
1490 now use HtmlHeader directly.
1491 * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
1492 rewrote Equals to avoid dual type cast.
1494 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1496 * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
1498 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1500 * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
1501 * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
1502 with Minimal level. Fixed checks on ctor.
1503 * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
1504 AspNetHostingPermission with Minimal level.
1505 * TemplateContainerAttribute.cs: Added LinkDemand for
1506 AspNetHostingPermission with Minimal level.
1507 * TemplateControl.cs: Added LinkDemand and InheritanceDemand for
1508 AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
1509 Stubbed IFilterResolutionService for CAS testing.
1510 * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
1511 AspNetHostingPermission with Minimal level.
1512 * TemplateParser.cs: Added LinkDemand and InheritanceDemand for
1513 AspNetHostingPermission with Minimal level.
1514 * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
1515 with Minimal level. Removed IDispose interface.
1516 * ToolboxDataAttribute.cs: Added LinkDemand for
1517 AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
1518 to work on both 1.x and 2.0 profiles.
1519 * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
1520 for AspNetHostingPermission with Minimal level.
1521 * UserControl.cs: Added LinkDemand and InheritanceDemand for
1522 AspNetHostingPermission with Minimal level. Stubbed
1523 IFilterResolutionService for CAS testing.
1524 * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
1525 for AspNetHostingPermission with Minimal level.
1526 * ValidationPropertyAttribute.cs: Added LinkDemand for
1527 AspNetHostingPermission with Minimal level.
1528 * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
1530 * WebResourceAttribute.cs: Removed extra ctor and added setter to
1531 PerformSubstitution.
1532 * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
1533 AspNetHostingPermission with Minimal level.
1535 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1537 * ParseChildrenAttribute.cs: Added LinkDemand for
1538 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1539 casting. Added new ctor and public fields (2.0). Changed
1540 ChildControlType setter visibility to internal.
1541 * PartialCachingAttribute.cs: Added LinkDemand for
1542 AspNetHostingPermission with Minimal level. Added new ctor and
1543 SqlDependency property (2.0).
1544 * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
1545 AspNetHostingPermission with Minimal level.
1546 * PersistenceModeAttribute.cs: Added LinkDemand for
1547 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1549 * PersistChildrenAttribute.cs: Added LinkDemand for
1550 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1552 * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
1553 with Minimal level. Class is static in 2.0.
1554 * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
1555 AspNetHostingPermission with Minimal level. Class is no more sealed in
1556 2.0. Added new (2.0) BuiltObjects property.
1557 * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
1558 for AspNetHostingPermission with Minimal level.
1559 * StateItem.cs: Added LinkDemand for AspNetHostingPermission with
1561 * StateBag.cs: Added LinkDemand for AspNetHostingPermission with
1562 Minimal level. Removed SetDirty() which was called (2.0) but did
1564 * StaticPartialCachingControl.cs: Added LinkDemand and
1565 InheritanceDemand for AspNetHostingPermission with Minimal level.
1567 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1569 * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
1570 AspNetHostingPermission with Minimal level. Added new 2.0 properties
1571 (but the generated HTML doesn't use them).
1572 * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
1573 AspNetHostingPermission with Minimal level.
1574 * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
1576 * LiteralControl.cs: Added LinkDemand and InheritanceDemand for
1577 AspNetHostingPermission with Minimal level. Default Text is null.
1578 * LosFormatter.cs: Added LinkDemand and InheritanceDemand for
1579 AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
1580 * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
1581 AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
1582 * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
1583 with Minimal level. Added check for null id (HttpException).
1584 * Page.cs: Added LinkDemand and InheritanceDemand for
1585 AspNetHostingPermission with Minimal level. Throw some HttpException
1586 when no context is available.
1587 * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
1588 level. InheritanceDemand too for 1.x.
1589 * PageParser.cs: Added LinkDemand for AspNetHostingPermission with
1592 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1594 * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
1595 Minimal level. Fixed some exceptions.
1596 * DataBindingCollection.cs: Added LinkDemand for
1597 AspNetHostingPermission with Minimal level. Added 2.0 method and
1599 * DataBindingHandlerAttribute.cs: Added LinkDemand for
1600 AspNetHostingPermission with Minimal level.
1601 * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
1602 Minimal level. Simplified Equals (reduced casts).
1603 * DataBoundLiteralControl.cs: Added LinkDemand for
1604 AspNetHostingPermission with Minimal level. Implemented ITextControl
1606 * DesignerDataBoundLiteralControl.cs: Added LinkDemand for
1607 AspNetHostingPermission with Minimal level.
1608 * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
1609 with Minimal level. Added new 2.0 properties.
1610 * DesignTimeTemplateParser.cs: Added LinkDemand for
1611 AspNetHostingPermission with Minimal level. Made class static and
1612 stubbed missing methods (2.0).
1613 * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
1614 for AspNetHostingPermission with Minimal level. Changed Add* methods
1615 exceptions to HttpException.
1617 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1619 * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
1621 * BaseParser.cs: Added LinkDemand and InheritanceDemand for
1622 AspNetHostingPermission with Minimal level.
1623 * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
1624 for AspNetHostingPermission with Minimal level.
1625 * CompiledTemplateBuilder.cs: Added LinkDemand for
1626 AspNetHostingPermission with Minimal level.
1627 * ConstructorNeedsTagAttribute.cs: Added LinkDemand for
1628 AspNetHostingPermission with Minimal level.
1629 * ControlBuilderAttribute.cs: Added LinkDemand for
1630 AspNetHostingPermission with Minimal level. Simplified Equals and
1632 * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
1633 AspNetHostingPermission with Minimal level.
1634 * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
1635 * ControlCollection.cs: Added LinkDemand and InheritanceDemand for
1636 AspNetHostingPermission with Minimal level. Fixed possible stack
1637 overflow in Add* methods. Fixed CopyTo as we're not allocating the
1638 array based on the number of items.
1639 * Control.cs: Added LinkDemand and InheritanceDemand for
1640 AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
1641 * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
1643 * IStyleSheet.cs: Fixed parameter orders (2.0).
1645 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1647 * TemplateParser.cs: default VS 2005 pages are compiled fine now.
1649 2005-09-07 Chris Toshok <toshok@ximian.com>
1651 * MinimizableAttributeTypeConverter.cs: new class, whose existence
1652 we know about because of corcompare, and for whose implementation
1653 we have exclusively nunit to thank.
1655 2005-09-06 Chris Toshok <toshok@ximian.com>
1657 * RootBuilder.cs (.cctor): doh, add all the new html controls
1660 2005-08-31 Chris Toshok <toshok@ximian.com>
1662 * DataSourceSelectArguments.cs (Empty): this is apparently,
1663 according to corcompare, a property, not a field. go figure.
1664 (Equals): implement.
1665 (IsEmpty): remove all mention of it.
1667 2005-08-29 Chris Toshok <toshok@ximian.com>
1669 * StateBag.cs (GetChar): add.
1671 2005-08-28 Chris Toshok <toshok@ximian.com>
1673 * Page.cs: more random corcompare work.
1674 (PageAdapter): implement.
1676 2005-08-28 Chris Toshok <toshok@ximian.com>
1678 * Page.cs (.ctor): set our initial ID to "__Page".
1679 (SmartNavigation): obsolete in 2.0.
1680 (FindControl): new implementation. Just check our own ID against
1681 the control we're looking for. otherwise pass it along to
1683 (GetPostBackClientHyperlink): obsolete in 2.0.
1685 2005-08-28 Chris Toshok <toshok@ximian.com>
1687 * ClientScriptManager.cs: public sealed in 2.0
1689 * IAdaptableTextWriter.cs: new 2.0 interface.
1691 * IHierarchyData.cs: fix return type for GetParent.
1693 2005-08-28 Chris Toshok <toshok@ximian.com>
1695 * Pair.cs: mark serializable and sealed in 2.0.
1697 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1699 * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
1700 existing (but internal) FillStyle method. Rewrote BagToString to use an
1701 HtmlTextWriter so we get the "right" format for background-image url.
1703 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1705 * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
1706 Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
1707 the extra space from last patch because they break some unit tests.
1709 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
1711 * CssStyleCollection.cs: Added some spacing.
1712 * HtmlTextWriter.cs: Made style and attribute tables static.
1713 Implemented StaticGetStyleName().
1715 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1717 * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
1719 * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
1720 The new rendering formats the value as "url(" + original + ")".
1722 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1724 * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
1725 depends on the HtmlTextWriterStyle ordering).
1727 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1729 * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
1731 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1733 * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
1734 fixed the rest of the enum values).
1735 * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
1736 parameter to match 2.0 API. Added a setter to the AllowedTypes
1739 2005-08-24 Chris Toshok <toshok@ximian.com>
1741 * Control.cs (get_Adapter): Instead of throwing an exception, just
1742 return null, so we can write the rest of the Control specific
1743 Adapter code and just not enable any of those code paths until we
1744 have actual adapters. Also flag TODO.
1745 (EnsureChildControls): Call out to Adapter.CreateChildControls if
1747 (RenderChildren): call "RenderControl (writer, adapter)" if we
1749 (RenderControl): implement the adapter case naively.
1750 (LoadRecursive): call out to Adapter.OnLoad if we have one.
1751 (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
1753 (InitRecursive): call out to Adapter.OnInit if we have one.
1755 2005-08-24 Chris Toshok <toshok@ximian.com>
1757 * Page.cs (GetPostBackEventReference): track change to
1758 ClientScriptManager and don't call a removed method.
1760 * ClientScriptManager.cs: track more recent docs and corcompare
1763 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
1765 * KeyedList.cs: Fixed bug when removing an unexisting object.
1766 * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
1767 in implementing RoleGroupCollection.
1769 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
1771 * Page.cs: Use Control property (and not the _control variable) to get
1772 the User (so the virtual Control property can be overriden properly).
1773 Sadly this doesn't seems to be the case for other properties (like
1776 2005-08-18 Dick Porter <dick@ximian.com>
1778 * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
1779 UserControl.cs, DesignerDataBoundLiteralControl.cs,
1780 PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
1781 BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
1782 stubs and attribute fixes
1784 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
1786 * Control.cs: Add protected virtual SetDesignModeState, in 2.0
1787 profile, as this is required for the Login control.
1789 2005-08-11 Dick Porter <dick@ximian.com>
1791 * CssStyleCollection.cs: Tweak the css string format to pass a
1794 * AttributeCollection.cs: Don't NRE if someone sets the "style"
1797 2005-08-05 Ben Maurer <bmaurer@ximian.com>
1799 * HtmlTextWriter.cs: Revert the patch below, see test case
1801 2005-08-05 Dick Porter <dick@ximian.com>
1803 * HtmlTextWriter.cs: Make <option> tags render inline, to match
1806 2005-08-03 Ben Maurer <bmaurer@ximian.com>
1808 * HtmlTextWriter.cs: Optmize this not to do insane amounts of
1809 allocation for large pages, etc.
1811 2005-07-30 Chris Toshok <toshok@ximian.com>
1813 * Page.cs (VerifyRenderingInServerForm): copy MS's error message
1814 since our form-errors jsunit tests depend on it.
1816 2005-07-30 Chris Toshok <toshok@ximian.com>
1818 * DataBinder.cs (FormatResult): make internal, not private.
1820 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1822 * StateBag.cs: Don't remove when tracking viewstate, as per msft
1825 2005-07-29 Ben Maurer <bmaurer@ximian.com>
1827 * StateBag.cs: Actually *remove* items that are null. Duh.
1829 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
1831 * Page.cs: Need to throw exception when accessing Request but no
1834 2005-07-20 Chris Toshok <toshok@ximian.com>
1836 * ClientScriptManager.cs (GetClientValidationEvent): the JS we
1837 stick in onclick handlers for buttons/links/etc.
1839 * Page.cs (GetSubmitStatements): new function to return
1840 scriptManager.WriteSubmitStatements. Used by HtmlForm.
1841 (AreValidatorsUplevel): used by many of the button/linkbutton
1842 controls (the ones that can CauseValidation) to tell whether or
1843 not to emit client side validation calls.
1845 2005-07-20 Chris Toshok <toshok@ximian.com>
1847 * WebResourceAttribute.cs: make internal (and available) in
1850 2005-07-20 Chris Toshok <toshok@ximian.com>
1852 * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
1853 available) in !NET_2_0.
1855 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
1857 * Control.cs: Added IDataBindingsAccessor interface methods
1859 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1861 * HtmlTextWriter.cs: Fix nested indentation
1863 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
1865 * Control.cs: Added missing IParserAccessor.AddParsedSubObject
1868 2005-07-18 Ben Maurer <bmaurer@ximian.com>
1870 * HtmlTextWriter.cs: Fix indentation (somewhat at least)
1872 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
1875 - Default name for controls on MS.Net is "_ctl" not "_ctrl"
1876 - MS does not append 'a' for auto-generated names
1878 2005-07-17 Ben Maurer <bmaurer@ximian.com>
1880 * AttributeCollection.cs: Use the invariant culture.
1882 * StateBag.cs: "Duh" optimization: return null when there are no
1883 dirty items in the view state
1885 2005-07-14 Ben Maurer <bmaurer@ximian.com>
1887 * StateBag.cs: A "short" version of my favorite method.
1889 * HtmlTextWriter.cs: New method to get the tag name staticly.
1891 2005-07-14 Duncan Mak <duncan@novell.com>
1893 * DataBindingHandlerAttribute.cs: Fixed after receiving some
1894 comments from Gonzalo.
1896 2005-07-13 Jackson Harper <jackson@ximian.com>
1898 * PropertyConverter.cs: No public constructors.
1900 2005-07-13 Ben Maurer <bmaurer@ximian.com>
1902 * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
1904 2005-07-12 Ben Maurer <bmaurer@ximian.com>
1906 * HtmlTextWriter.cs: Make styles work.
1908 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
1910 * AttributeCollection.cs:
1911 - Changes to match MS behaviour, the "style" attribute is always
1912 added to the list, in addition to being added to the
1913 CssStyleCollection. Also added check for "style" attribute when
1914 setting via index setter
1915 - When "Style" attribute is added, CssStyleCollection is
1916 automatically created
1917 - The style keyword needs to be lowercase
1919 2005-07-11 Ben Maurer <bmaurer@ximian.com>
1921 * HtmlTextWriter.cs: Missing a PopEndTag here.
1923 * PropertyConverter.cs: Pass tests
1925 2005-07-09 Miguel de Icaza <miguel@novell.com>
1927 * DataBindingHandlerAttribute.cs: Create the "Default" property.
1929 2005-07-09 Duncan Mak <duncan@novell.com>
1931 * DataBindingHandlerAttribute.cs: Implemented.
1933 2005-07-08 Ben Maurer <bmaurer@ximian.com>
1935 * HtmlTextWriter.cs: Much better compliance with msft
1937 2005-07-08 Jackson Harper <jackson@ximian.com>
1939 * ToolbarDataAttribute.cs: New implementation.
1941 2005-07-07 Jackson Harper <jackson@ximian.com>
1943 * PropertyConverter.cs: New implementation.
1945 2005-07-07 Ben Maurer <bmaurer@ximian.com>
1947 * StateBag.cs: Noticed an issue where SetDirty was called when the
1950 2005-07-07 Ben Maurer <bmaurer@ximian.com>
1952 * StateBag.cs: Add a method that gets a string or else a default
1955 2005-07-07 Dick Porter <dick@ximian.com>
1957 * StateBag.cs: Added internal SetDirty (void) method to fix the
1960 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1962 * HtmlTextWriter.cs: Small fixlet when attribute has no value.
1964 2005-07-07 Miguel de Icaza <miguel@novell.com>
1966 * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
1969 * StateBag.cs: Add NET_2_0 SetDirty method to get the build
1972 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
1974 * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
1976 2005-07-06 Ben Maurer <bmaurer@ximian.com>
1978 * HtmlTextWriter.cs: Make sure to clear attributes when they are
1981 * StateBag.cs: New impl
1983 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1986 * Control.cs: avoid the creation of the EventHandlerList and accessing
1987 to it whenever possible. Fix ENABLE_THEMING constant.
1989 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1991 * TemplateParser.cs:
1992 * TemplateControlParser.cs:
1993 * UserControlParser.cs: detect circular references when a control tries
1994 to register itself as a tag. Fixes bug #75376.
1996 2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1998 * PageParser.cs: don't try to compile the master page if it wan't
1999 provided. Use MapPath from the base classes instead of the long
2000 version. Fixes bug #75269 that prevented xsp2 from working properly.
2002 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
2004 * MasterPage.cs: Clear the default content of placeholders before
2005 adding the page content. Fixes bug #75193.
2007 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
2009 * PageParser.cs: Added MasterType property. Get the type from the
2010 MasterType directive.
2011 * MasterPageParser.cs: Added GetCompiledMasterType method.
2013 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2017 * Control.cs: updates for 1.1 SP1
2019 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
2021 * Control.cs: Added new DataBind() overload for 2.0. The old
2022 method calls this new overload.
2024 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2026 * TemplateParser.cs: ignore empty assembly.Location for in-memory
2027 generated assemblies.
2029 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2031 * Page.cs: added AddContentTemplate method.
2033 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2035 * AttributeCollection.cs: html-encode attribute values. Fixes
2038 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
2040 * DataSourceView.cs: Fix api.
2041 * NonVisualControlAttribute.cs: Implemented.
2042 * IDataItemContainer.cs: Added missing properties.
2043 * Control.cs: Added new EnableTheming and SkinID properties.
2044 * HierarchicalDataSourceControl.cs: Implemented missing methods.
2046 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
2048 * ControlCollection.cs: Added internal setter for ReadOnly.
2050 2005-05-09 Geoff Norotn <gnorton@customerdna.com>
2052 * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
2053 uses instead of codebehind.
2055 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2057 * Page.cs: as setting CurrentCulture is slow, don't set it if the
2058 culture has not changed since before the page started processing.
2060 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2062 * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
2065 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2067 * TemplateParser.cs:
2068 * SimpleWebHandlerParser.cs: removed values assigned and neved used.
2070 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2072 * SimpleWebHandlerParser.cs:
2073 * TemplateParser.cs: always get the location (full path) for assemblies,
2074 even the ones from the GAC.
2076 * BaseCompiler.cs: check that DynamicBase directory exists before
2077 creating the TempFileCollection.
2079 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
2081 * ClientScriptManager.cs: Use a linked list instead of a Hashtable
2082 to store the scripts. In this way, scripts will be rendered in the
2083 same order as they have been registered. It shouldn't be slower
2084 since pages don't have many scripts.
2086 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
2088 * IEditableTextControl.cs: Implemented.
2089 * DataBinder.cs: Marked constructor as obsolete in 2.0.
2090 In GetDataItem, check for the IDataItemContainer interface
2092 * TemplateControl.cs: Improved check for data item.
2094 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2096 * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
2097 * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
2098 for second postback.
2100 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2101 * TemplateParser.cs: Adding support for Strict/Explicit attributes
2102 for @Page/@Control directives as documented at
2103 http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
2104 First step don't choke on them. Fixing #74671
2106 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2108 * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
2109 there from the time when Load wasn't working properly. First part of the
2112 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
2114 * ControlBuilder.cs: The BindingContainerType property happens
2115 to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
2116 which is used to get the binding container that is managing
2117 the current two-way binding context.
2118 * TemplateBuilder.cs: Added some methods and an internal class
2119 to support two-way bindings.
2120 * CompiledBindableTemplateBuilder.cs: Implemented.
2121 * IBindableTemplate.cs: This interface inherits from ITemplate.
2123 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
2125 * ControlBuilder.cs: Added BindingContainerType property,
2126 which works like NamingContainerType but takes into account
2127 template builders with a specific container type (specified
2128 using the TemplateContainerAttribute.
2129 * StateManagedCollection.cs: Reimplemented Save/Load view
2130 state methods. The existing implementation was not correct
2133 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
2135 * DataSourceView.cs: Added null check.
2137 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
2139 * TemplateControl.cs:
2140 * Page.cs: Moved Eval and XPath from Page
2142 * StateManagedCollection.cs: Avoid saving null state.
2144 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
2146 * DataSourceView.cs: Rethrow exceptions not handled by operation
2148 * ITextControl.cs: Removed event.
2149 * CollectionBuilder.cs: Don't crash when a collection has more
2152 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
2154 * Control.cs: Added a new internal property: HasRenderMethodDelegate.
2155 * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
2156 * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
2158 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
2160 * ClientScriptManager.cs: Fix build.
2162 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
2164 * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
2165 since it is deprecated in 2.0.
2166 * Page.cs: Deprecated GetPostBackClientEvent and similar methods
2167 in 2.0. Moved callback management methods to ClientScriptManager.
2168 * ClientScriptManager.cs: Moved here deprecated methods from Page.
2169 In GetPostBackEventReference (PostBackOptions), don't use the
2170 WebForm_DoPostback script if the post can be done with a simple
2172 * PostBackOptions.cs: Fixed default values for some properties.
2174 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2176 * Control.cs: in FindControl, throw if there's more than one control
2177 with the same ID. Fixes bug #73479.
2179 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
2181 * Page.cs: Load control state before loading view state, and the
2183 * DataSourceSelectArguments.cs: Fix recursive property call.
2185 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
2187 * DataSourceView.cs: Fixed incorrect implementation of
2188 RaiseUnsupportedCapabilityError.
2189 * IDataItemContainer.cs: Added new properties.
2190 * Page.cs: Implemented Form property.
2191 * Control.cs: Fixed formatting.
2192 * StateManagedCollection.cs: Track view state of items loaded
2195 2005-02-22 Lluis Sanchez Gual <lluis@novell.com>
2197 * FilterableAttribute.cs: Fix endless loop.
2199 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
2201 * Page.cs: Implemented missing events.
2203 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2205 * BoundPropertyEntry.cs:
2207 * TwoWayBoundPropertyEntry.cs: implemented.
2209 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
2211 * Page.cs: Added support for validation groups. Some fixes in
2212 SavePageControlState().
2213 * IFilterResolutionService.cs: Removed extra field.
2214 * INavigateUIData.cs: Added missing field.
2215 * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
2216 Implemented new interfaces.
2218 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
2220 * Page.cs: Implemented support for cross page postback. Implemented
2221 support for postback with options. Fixed several method and property
2223 * PostBackOptions.cs: Added some TODOs.
2225 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2227 * ParseChildrenAttribute.cs: Set the correct default value for the
2230 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
2232 * ParseChildrenAttribute.cs: Added 2.0 property.
2233 * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
2234 * Page.cs: Added support for control state.
2235 * TemplateBuilder.cs: ContainerType should be internal.
2236 * Control.cs: Added some new 2.0 methods.
2238 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
2240 * PageParser.cs: Read the MasterPageFile attribute.
2241 * UserControlParser.cs: Not sealed any more since we need to inherit from
2242 it. Added new constructor with an additional "type" parameter.
2243 * MasterPageParser.cs: Parser for master pages.
2244 * Page.cs: Added support for master pages.
2245 * MasterPage.cs: Implemented.
2247 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
2249 * TemplateBuilder.cs: Added a special constructor that takes an
2250 attribute provider as parameter. The container type for the template
2251 may be defined in a TemplateContainerAttribute.
2252 * ControlBuilder.cs: Create the TemplateBuilder using that special
2254 * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
2256 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
2258 * IStyleSheet.cs: Added missing "using".
2259 * Page.cs: Implemented Header property.
2260 * CssStyleCollection.cs: Made BagToString method internal.
2261 * RootBuilder.cs: Register HtmlHead control.
2263 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
2265 * CssStyleCollection.cs: Minor (!) fix.
2266 * HtmlTextWriter.cs: Register names for new 2.0 styles.
2268 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
2270 * CssStyleCollection.cs: Make it work as a standalone collection.
2271 * HtmlTextWriter.cs: Added static method for getting style names.
2273 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2275 * ControlCollection.cs: fix off-by-one and store a null at the end to
2276 remove the reference to the removed control.
2278 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
2280 * ClientScriptManager.cs: Added GetScriptLiteral helper method.
2282 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
2284 * Page.cs: Added support for callback events. Moved theform variable
2285 outside the __doPostBack function, so it can be used by other
2287 * StateBag.cs: Implemented SetDirty().
2289 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2291 * Control.cs: when saving "Visible" into the ViewState, save the value
2292 for this precise control, as using the Visible property might give us
2293 Control's parent visibility. Fixes bug #69200.
2295 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2297 * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
2300 * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
2301 the appRoot + SessionID + vpath format.
2303 Fixes the 3 issues reported in bug #66623.
2305 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
2307 * Page.cs: Moved code for managing client scripts to ClientScriptManager,
2308 which is public in 2.0 and internal in 1.1.
2309 * ClientScriptManager.cs: Implemented.
2311 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
2313 * DataSourceView.cs: Removed extra method.
2315 2004-11-24 Sanjay Gupta <gsanjay@novell.com>
2317 * DataSourveViewSelectCallback.cs: Corrected method signature.
2319 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
2321 * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
2322 even if the class doesn't implement IParserAccessor.
2323 * WebResourceAttribute.cs: Allow multiple attributes of this type.
2325 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
2327 * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
2328 from SqlDataSourceView.cs.
2330 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2332 * Control.cs: unified a few bool fields into an int one.
2334 * ControlCollection.cs: use an array internally instead of always
2335 allocating an arraylist. Also added our own enumerator.
2337 * EmptyControlCollection.cs: there's no 'special' ctor now in the base
2340 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
2342 * DataSourceView.cs: Changes in access modifiers of methods.
2344 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
2346 * DataSourceCapabilities.cs: Added Flags attribute.
2347 * DataSourceSelectArguments.cs: Updated.
2348 * DataSourveView.cs: Updated.
2350 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
2352 * HierarchicalDataSourceView.cs: Corrected class definition and updated.
2354 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2356 * HierarchicalDataSourceView.cs: fix typo.
2358 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
2360 * HierarchicalDataSourceView.cs: Updated.
2362 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
2364 * DataSourceSelectArguments.cs: Initial implementation.
2366 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2368 * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
2370 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2372 * UrlTypes.cs: Updated.
2374 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2376 * UrlPropertyAttribute.cs: Added new file.
2378 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2380 * Control.cs: even if the control has no children the naming container
2381 may contain the control we're looking for. Fixes bug #67304.
2383 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2385 * AspGenerator.cs: added OtherTags.
2387 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2389 * ControlValuePropertyAttribute.cs: Initial implementation.
2391 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2393 * IPaginationContainer.cs: Corrected name of class.
2395 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2397 * IDReferencePropertyAttribute.cs: Completed implementation.
2399 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2401 * ThemeableAttribute.cs:
2402 * FilterableAttribute.cs: Code scrubbing and optimization.
2404 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2406 * ThemeableAttribute.cs: Completed implementation.
2408 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2410 * FilterableAttribute.cs: Completed implementation.
2412 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2414 * Control.cs: Added new attributes and a method.
2415 * FilterableAttribute.cs: New attribute, initial implementation.
2416 * ThemeableAttribute.cs: New attribute, initial implemenataion.
2418 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2420 * TemplateParser.cs: ensure bin directory exists before trying to access
2421 it. Fixes bug #65446 (not closed yet due to dependencies).
2423 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
2425 * Control.cs: Implemented methods of interface IExpressionAccessor.
2427 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2429 * SimpleWebHandlerParser.cs: correctly cache Type instead of the
2430 assembly for ashx/asmx. Otherwise we need to open the file and check
2431 for the class name in there. Thanks to Ben for pointing this out.
2433 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2435 * TemplateParser.cs: removed creation of StringWriter. It's not used.
2436 * Control.cs: don't create the EventHandlerList until requested.
2438 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
2440 * Control.cs: Added new interfaces implemented in .Net 2.0.
2441 * ExpressionBinding.cs: Added new class.
2442 * ExpressionBindingCollection.cs: Added new class.
2444 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2446 * LiteralControl.cs: stylized. This control has EnableViewState disabled
2447 by default and doesn't get an automatic ID. When text is null -> "".
2449 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
2451 * ControlSkinProc.cs:
2452 * DataSourceViewOperationCallback.cs:
2453 * DataSourceViewSelectCallback.cs:
2454 * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
2455 required in definition as delegates by default are sealed.
2457 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
2459 * IDReferencePropertyAttribute.cs: Corrected and changed from interface
2461 * IMobileTextWriter.cs: Corrected method signatures.
2463 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
2465 * ControlSkinProc.cs:
2466 * DataSourceViewOperationCallback.cs:
2467 * DataSourceViewSelectCallback.cs:
2468 * ExtractTemplateValuesMethod.cs: Added new delegates.
2470 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
2472 * IBindableTemplate.cs:
2473 * ICallbackEventHandler.cs:
2474 * IControlBuilderAccessor.cs:
2475 * IControlDesignerAccessor.cs:
2476 * IControlTypeFilter.cs:
2477 * IDataItemContainer.cs:
2478 * IDataSourceViewSchemaAccessor.cs:
2479 * IDReferencePropertyAttribute.cs:
2480 * IExpressionsAccessor.cs:
2481 * IFilterResolutionService.cs:
2482 * IItemPaginationInfo.cs:
2483 * IMobileTextWriter.cs:
2485 * IPaginationContainer.cs:
2486 * IPaginationInfo.cs:
2487 * IResourceResolutionService.cs:
2488 * IResourceUrlGenerator.cs:
2489 * IStateFormatter.cs:
2491 * IThemeResolutionService.cs:
2492 * IUrlResolutionService.cs:
2493 * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
2495 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
2497 * PostBackOptions.cs: Added new file and implemented the class.
2499 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2501 * HtmlTextWriterTag.cs: readded author name.
2503 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
2505 * HtmlTextWriterAttribute.cs:
2506 * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
2507 * CompilationMode.cs:
2508 * ConflictOptions.cs:
2509 * DataSourceCacheExpiry.cs:
2510 * DataSourceCapabilities.cs:
2511 * DataSourceOperation.cs:
2512 * TemplateContentType.cs:
2513 * TemplateInstance.cs:
2515 * VerificationConditionalOperator.cs:
2516 * VerificationReportLevel.cs:
2517 * VerificationRule.cs:
2518 * XhtmlMobileDocType.cs: Added enumerations.
2520 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2522 * Control.cs: style. Reverted previous patch modification of
2523 TemplateSourceDirectory (failed when the control is reparented). Use
2524 HasControls() and Controls all over instead of _controls, as Controls
2525 property and HasControls() might be overriden.
2527 2004-07-27 Alon Gazit <along@mainsoft.com>
2529 * Control.cs: Changed the implementation of TemplateSourceDirectory
2530 and GetDefaultName(). replaced foreach statements with for statements,
2531 in order to improve performence.
2533 2004-07-27 Alon Gazit <along@mainsoft.com>
2535 * Page.cs: changed the implementation of GetViewStateString().
2536 if the view state object is null there is no need to perform
2539 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2541 * TemplateControl.cs: don't include private methods of base classes when
2542 auto-attaching events. Fixes bug 61569.
2544 2004-07-14 Alon Gazit <along@mainsoft.com>
2546 * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
2547 2004-07-08 Pablo Baena <pbaena@gmail.com>
2549 * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
2551 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2553 * Page.cs: added additional checks for saving/displaying trace data.
2555 * PageParser.cs: removed checks for trace enabled in configuration
2558 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2560 * ControlCollection.cs: when clearing the control collection, tell the
2561 owners about the removal. Fixes bug #60800.
2563 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2565 * Page.cs: don't nullify _context after processing the request as there
2566 are events not triggered yet. Fixes bug #60726.
2568 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2570 * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
2573 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2576 * UserControlParser.cs: set the page/user control base type even when no
2577 default directive provided. Fixes bug #60572.
2579 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2581 * PageParser.cs: use default trace settings from web.config and check
2582 if trace is only requested for local connections. Fixes bug #60180.
2584 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2586 * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
2587 we read the default directive, check the cache for the Type and if
2588 present, don't keep reading and store the type found.
2590 * WebHandlerParser.cs:
2591 * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
2594 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2596 * Control.cs: properly fixed bug #59794.
2598 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2601 (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
2604 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2606 * SimpleWebHandlerParser.cs:
2607 * TemplateParser.cs: pass the language when compiling from a file.
2609 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2611 * SimpleWebHandlerParser.cs: if we have a global.asax, move its
2612 reference to the end to help mcs loading the assemblies. Fixes bug
2615 * TemplateParser.cs: same as above. Removed some kludges to workaround
2616 loading assemblies from bin path that are now in the runtime. Don't
2617 load the assemblies in bin if not needed, but still reference them
2620 2004-06-07 Alon Gazit <along@mainsoft.com>
2621 * Page.cs: Changed Page.ProcessPostData().
2622 After the change ,the state of controls that aren't visible is saved
2625 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2627 * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
2629 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2631 * Page.cs: IsPostBack also returns true when method is GET and we have
2632 viewstate information in the query string. Fixes bug #58151.
2634 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2636 * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
2637 HttpRutime.TraceManager.
2639 * PageParser.cs: for 'trace' we have 2 variables now. Added support
2640 for 'buffer' attribute.
2642 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2644 * Page.cs: implemented ClientTarget.
2645 * PageParser.cs: support for clientTarget and check for validity.
2647 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2650 * Html32TextWriter.cs:
2651 * HtmlTextWriter.cs:
2652 * SimpleWebHandlerParser.cs:
2653 * TemplateControl.cs: Added protected missing members and attributes.
2655 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2657 * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
2658 calling a protected method of another object.
2660 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2662 * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
2663 (of other objects) are called in TypeConverterFormatter.
2665 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2667 * ObjectStateFormatter.cs: before choosing the binary formatter, check
2668 if the object type has a TypeConverter that can convert to/from string.
2671 * Page.cs: call GetViewStateString from outside the WriteLine. This
2672 allows writing to the Response when getting the string without breaking
2675 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2677 * HtmlTextWriter.cs: render end tag for unknown tags.
2678 Patch frmo Markus Krutner. Fixes bug #59466.
2680 2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2682 * Page.cs: call DeterminePostBackMode only once per request. Patch by
2685 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2687 * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
2690 * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
2693 2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2695 * SimpleWebHandlerParser.cs:
2696 * TemplateParser.cs: for the assembly names given in the 'assembly'
2697 attribute, use LoadWithPartialName instead of Load.
2698 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2700 * Page.cs: return HttpContext.Current if _context has not yet been
2701 assigned to. Fixes bug #55245.
2703 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2705 * TemplateParser.cs: don't add import statement or assemblies from
2706 global.asax to every file. Fixes bug #55496.
2708 2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
2710 * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
2711 handle single quotes and a few corner cases correctly (see test cases).
2713 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2715 * TemplateControl.cs: fixed typos and added new method names to the set
2718 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2720 * ControlBuilder.cs: added SetTagName().
2722 * ObjectTagBuilder.cs: use SetTagName so that we can properly close
2723 <object> builders if the closing tag is provided.
2725 2004-02-16 Jackson Harper <jackson@ximian.com>
2727 * Page.cs: Set cacheability for Location.DownStream.
2729 2004-02-10 Jackson Harper <jackson@ximian.com>
2731 * TemplateParser.cs: Use full path if the assembly is in the
2732 private bin directory. Patch by Gonzalo Paniagua Javier.
2734 2004-02-09 Jackson Harper <jackson@ximian.com>
2736 * Page.cs: Set cacheability for server side caching.
2738 2004-01-30 Jackson Harper <jackson@ximian.com>
2740 * Control.cs: Ensure that dynamically loaded controls are
2743 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2745 * ApplicationFileParser.cs: check for error in directives. Use
2746 GlobalAsaxCompiler.CompileApplicationType for compiling.
2748 * ObjectTagBuilder.cs: load the Type and check for errors.
2750 * TemplateParser.cs: add assemblies and imports from global.asax.
2752 Now we properly create accessors for session and application objects in
2753 the application itself, pages and controls. First step for fixing
2756 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2758 * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
2759 to Eric Lindvall for pointing this out.
2761 2004-01-15 Jackson Harper <jackson@ximian.com>
2763 * TemplateParser.cs: Detect if we are parsing a control or page
2765 * Page.cs: vary by params and vary by headers can be null now.
2767 2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
2769 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
2772 2004-01-14 Jackson Harper <jackson@ximian.com>
2774 * Page.cs: If we have a postback that wasn't sent through a
2775 postback script (ie user hit submit on a input type=submit) call
2776 Validate so page validation occurs. This fixes bug #52770.
2778 2004-01-14 Jackson Harper <jackson@ximian.com>
2780 * Page.cs: Don't tell the response to cache anymore. This is done
2781 when the cacheability is modified by a callback. Set the cache's
2784 2004-01-14 Jackson Harper <jackson@ximian.com>
2786 * TemplateParser.cs: If varybyparam is set to "none" make it null
2787 so we dont get a param named null in the outputcache key.
2789 2004-01-14 Jackson Harper <jackson@ximian.com>
2791 * BasePartialCachingControl.cs: Use varyby attributes in key
2794 2004-01-14 Jackson Harper <jackson@ximian.com>
2796 * TemplateParser.cs: Add all the outputcache attribute error
2799 2004-01-13 Jackson Harper <jackson@ximian.com>
2801 * TemplateParser.cs: Add VaryByControls and Shared output cache
2802 properties. These are not assigned yet.
2803 * TemplateControlParser.cs: Do not ignore the OutputCache
2805 * BasePartialCachingControl.cs: Initial implementation. Keys are
2806 still not created properly.
2807 * StaticPartialCachingControl.cs: Assign properties in base class,
2808 implement CreateControl.
2810 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2812 * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
2814 * PageParser.cs: support validateRequest.
2816 * TemplateControlParser.cs: get default values from system.web/pages
2819 * TemplateParser.cs: added separate method for changing base type
2820 (Inherits or system.web/pages).
2822 * UserControlParser.cs: support system.web/pages defined base type.
2824 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2826 * UserControl.cs: Added missing attribute, implemented method
2827 * Page.cs: Added missing attribute, implemented method
2829 2004-01-10 Jackson Harper <jackson@ximian.com>
2831 * Page.cs: Handle trace being enabled in the config file.
2833 2004-01-10 Jackson Harper <jackson@ximian.com>
2835 * Page.cs: Save trace data before rendering it.
2836 * System.Web.dll.sources: Add TraceData.cs
2838 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2840 * Page.cs: removed a couple of MonoTODO on methods we're not gonna
2841 implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
2842 ensure that Unload event is raised. Fixes bug #52555.
2844 2004-01-02 Zoltan Varga <vargaz@freemail.hu>
2846 * KeyedList.cs: 'private' is not allowed on explicit interface
2847 implementations. Fixes 1.2 build.
2849 2003-12-31 Jackson Harper <jackson@ximian.com>
2851 * TemplateControlParser.cs: When registering tag prefixs make sure
2852 the file exists and throw the correct error if it does not.
2854 2003-12-25 Jackson Harper <jackson@ximian.com>
2856 * Page.cs: Throw error if the session is accessed when sessions
2859 2003-12-18 Jackson Harper <jackson@ximian.com>
2861 * Page.cs: Write Trace info.
2863 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2865 * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
2866 * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
2868 * PageParser.cs: the ctor is public.
2869 * PartialCachingAttribute.cs: added new ctor and Shared property.
2871 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2873 * Page.cs: assign the ErrorPage to the context if we get an exception
2874 when processing the page which only calls Unload.
2876 * PageParser.cs: handle ErrorPage.
2878 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2880 * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
2881 are not [Serializable]. Fixes bug #52244.
2883 2003-12-16 Jackson Harper <jackson@ximian.com>
2885 * Page.cs: Render trace data when tracing is enabled.
2887 2003-12-15 Jackson Harper <jackson@ximian.com>
2889 * PageParser.cs: Add Trace and Trace mode attributes.
2891 2003-12-15 Jackson Harper <jackson@ximian.com>
2893 * Page.cs: Use the context trace object.
2895 2003-12-14 Alon Gazit <along@mainsoft.com>
2896 * AttributeCollection.cs: Changed AttributeCollection.Render().
2897 After the change attributes ,that their value is null, aren't
2900 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2902 * Control.cs: remove a few dangling ^M, don't set values for fields
2903 that has the default value. If Visible is modified and we're tracking
2904 viewstate, save and restore it. Fixes bug #48689.
2906 2003-12-11 Jackson Harper <jackson@ximian.com>
2908 * Control.cs: Give null for the ID if it hasn't been explicitly
2909 set. This fixes bug #51520.
2911 2003-12-08 Jackson Harper <jackson@ximian.com>
2913 * PageParser.cs: Ignore the SmartNavigation attribute for now.
2915 2003-12-05 Jackson Harper <jackson@ximian.com>
2917 * DataBinder.cs (GetIndexedPropertyValue): Check if container is
2918 an IList and use a cast instead of reflection to retrieve the item
2919 if it is. Fixes bug #51759.
2921 2003-12-04 Alon Gazit <along@mainsoft.com>
2922 * Page.cs: Changed Page.ID so it will call Control.ID.
2925 2003-12-02 Jackson Harper <jackson@ximian.com>
2927 * Page.cs: Implemented registered array declarations. Patch by
2928 Benjamin Jemlich <pcgod@gmx.net>
2930 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2932 * TemplateParser.cs: basic check for 'classname' attribute and added
2933 patch by pcgod@gmx.net for bug #51568, which fixes automatic class
2934 names for pages starting with a number.
2936 2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
2938 * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
2941 * ObjectStateFormatter.cs: Comment out tracing.
2943 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2945 * Page.cs: fixed UICulture, LCID and Culture. Set the thread
2946 [UI]Culture before processing the request.
2948 * PageParser.cs: read Culture, UICulture and LCID attributes. Added
2949 properties for these. Partially contributed by Mohammad Damt.
2953 2003-11-27 Jackson Harper <jackson@ximian.com>
2955 * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
2958 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
2960 * ObjectStateFormatter.cs: Fix bug when reading small ints.
2961 Add some tracing so we can see what is going on.
2963 2003-11-21 Jackson Harper <jackson@ximian.com>
2965 * Page.cs: Set vary by params when cache location is Server.
2967 2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
2969 * ObjectStateFormatter.cs: v2 file. In v1.x this will be
2970 internal as LosFormatter will eventually use it to save
2973 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2975 * PersistChildrenAttribute.cs:
2976 * PersistenceModeAttribute.cs: implemented.
2978 * TODO: Removed file.
2979 * OutputCacheLocation.cs:
2980 * TemplateControlParser.cs:
2981 * HtmlInputFile.cs: class status based fixes.
2983 2003-11-19 Jackson Harper <jackson@ximian.com>
2985 * Page.cs: Always set the cache expire time. Tell the response to
2986 cache itself for server side cached pages.
2988 2003-11-19 Jackson Harper <jackson@ximian.com>
2990 * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
2991 thing, some corner cases still need work though. Was this the
2992 shortest lived method in the history of mono?
2994 2003-11-19 Jackson Harper <jackson@ximian.com>
2996 * Control.cs: New method for resolving urls that use ~/ to denote
2997 the applications base directory.
2999 2003-11-19 Jackson Harper <jackson@ximian.com>
3001 * TemplateParser.cs: Fix typo in error message.
3003 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3005 * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
3008 2003-11-19 Todd Berman <tberman@gentoo.org>
3011 * KeyedListEnumerator.cs: New v2 implementations.
3013 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
3015 * StateManagedCollection.cs: Implement.
3017 2003-11-13 Jackson Harper <jackson@ximian.com>
3019 * Page.cs: Initial implementation of InitOutputCache.
3020 * TemplateParser.cs: Page OutputCache options
3022 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3024 * HierarchicalDataSourceControl.cs: Implement.
3026 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3028 * XPathBinder.cs: Implemented.
3030 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3032 * DataSourceView.cs:
3034 * ListSourceHelper.cs:
3035 * DataSourceControl.cs:
3036 * HierarchicalDataSourceView.cs:
3037 * IHierarchicalDataSource.cs: Move v2 stuff.
3039 2003-11-07 Jackson Harper <jackson@ximian.com>
3041 * Control.cs (ResolveUrl): Special case for urls that consist of
3042 only a page anchor. ie <a href="#top">. This fixes bug #50165.
3044 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
3046 * IHierarchicalEnumerable.cs:
3047 * IHierarchyData.cs:
3048 * INavigateUIData.cs: New v2 interfaces.
3050 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3052 * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
3053 space in generated javascript.
3055 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3057 * LosFormatter.cs: encoding updates.
3058 * Page.cs: implemented CodePage and ContentType.
3059 * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
3062 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
3064 * Control.cs (GetWebResourceUrl): new v2 function
3065 * Page.cs (GetWebResourceUrl): ditto.
3066 make the JS we generate work with moz if the form is not a child
3068 * WebResourceAttribute.cs: Added, new v2 attribute.
3070 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3072 * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
3074 * PageParser.cs: initialize the parser in the constructor, not just
3075 before compiling and reference the application assembly.
3077 * SimpleWebHandlerParser.cs: reference the assembly that contains the
3080 * TemplateControl.cs:
3081 * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
3082 path and physical path when compiling a user control.
3084 * TemplateParser.cs: new AddApplicationAssembly ().
3085 * UserControlParser.cs: now we get valid values in the ctor.
3087 Referencing the application assembly fixes bug #49652.
3090 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3092 * TemplateControl.cs: moved NoParamsInvoker class to its own file.
3094 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3096 * BaseParser.cs: added CompilationConfig property.
3098 * TemplateParser.cs:
3099 * SimpleWebHandlerParser.cs: added CompilationConfig property.
3100 Don't hardcode assembly names any more, assemblies in bin are added
3101 depending on the configuration. The default language is also taken
3102 from the configuration.
3104 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3106 * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
3108 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3110 * Control.cs: removed some debug lines.
3111 * Page.cs: implemented RegisterOnSubmitStatement
3112 * TemplateControl.cs: fixed wire up for methods with no parameters.
3114 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3116 * PageParser.cs: ignore ValidateRequest by now.
3118 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3120 * System.Web.UI/TemplateControl.cs: support for wiring up events without
3123 2003-10-08 Pedro Martnez Juli <yoros@wanadoo.es>
3125 * PageParser.cs: drop some useless code.
3127 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
3129 * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
3131 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3133 * System.Web.UI/PageParser.cs:
3134 * System.Web.UI/TemplateControlParser.cs: honour the input file given
3137 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3140 (ClearChildViewState): doh! Don't clear control viewstate but the
3141 viewstate of possible children.
3142 (LoadViewStateRecursive): load viewstate even when control is not
3145 The rest are just dangling ^M removed.
3147 * DataBoundLiteralControl.cs:
3148 (LoadViewState): we get an object [], not a string [].
3150 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3152 * Control.cs: implemented ClearChildViewState ().
3154 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3156 * Page.cs: store unique IDs for controls requiring postback. Fixes bug
3159 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3161 * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
3162 dependencies so that it's recompiled when changed.
3164 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3166 * LosFormatter.cs: fixed Deserialize for empty viewstate.
3168 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3170 * Page.cs: check if controls that require postback have
3171 been changed by an event and register them to be notified of data
3174 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3176 * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
3179 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3181 * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
3182 are not serializable. Fixes bug #47784.
3184 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3186 * Control.cs: index the viewstates saved by the control position, not
3187 the control name. Fixes bug #47697.
3189 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3191 * ControlCollection.cs:
3192 * EmptyControlCollection.cs: create a minimum ArrayList for this.
3194 * BaseParser.cs: added setter for BaseVirtualDir.
3196 * Page.cs: fixed message when restoring view state fails.
3197 * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
3198 when a relative path to the control is given. Fixes bug #47685.
3200 2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3202 * Control.cs: when we load the viewstate for a control that has children
3203 viewstates and the child is not found, keep its viewstate around and
3204 wait until the child is added to load the viewstate. Fixes bug #47697.
3206 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3208 * TemplateControl.cs: more Delegate.CreateDelegate fixes.
3210 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3212 * PartialCachingControl.cs: is not abstract
3214 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3216 * SimpleHandlerFactory.cs: implemented GetHandler.
3217 * WebHandlerParser.cs: new file that parses .ashx files.
3219 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3221 * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
3223 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3225 * UserControl.cs: Added attribute
3226 * BasePartialCachingControl.cs: New class and paritally implemented
3227 * DesignerDataBoundLiteralControl.cs: New class and implemented
3228 * DesignTimeTemplateParser.cs:
3229 * PartialCachingControl.cs:
3230 * StaticPartialCachingControl.cs: New class and paritally implemented
3232 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3234 * ApplicationFileParser.cs: Fixed signature
3235 * DesignTimeParseData.cs: Added missing properties, implemented
3236 * Page.cs: Added attributes
3238 * TemplateControlParser.cs:
3239 * TemplateParser.cs:
3240 * UserControlParser.cs: Fixed signature
3242 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3244 * HtmlControlPersistableAttribute.cs: Added
3245 * IgnoreUnknownContentAttribute.cs: Added
3247 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3249 * IUserControlDesignerAccessor.cs: Added and implemented
3250 * Control.cs: Missing member added, added all attributes
3251 * Page.cs: Added attributes, fixed signature
3252 * TemplateControl.cs: Fixed signature, added all attributes
3253 * UserControl.cs: Added all attributes, added and implemented missing interface
3255 2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3257 * ControlCollection.cs: fixed bug #46472.
3259 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3261 * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
3263 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3265 * SimpleWebHandlerParser.cs: updated to new compilation interface.
3267 * TemplateParser.cs: use the new parameter when compiling.
3269 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3271 * Page.cs: also keep the value for the second try on handling postback
3274 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3276 * BaseParser.cs: fixed MapPath for non-rooted files.
3277 * PageParser.cs: don't pass a non-virtual file around.
3278 * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
3279 the exception teh may be throw by MapPath on an invalid path.
3281 * TemplateParser.cs: removed unused method.
3282 * UserControlParser.cs: modified inputfile. The result is the same, but
3285 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3287 * RootBuilder.cs: throw exception when the tagprefix is not valid or
3290 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3292 * TemplateControlParser.cs: return after processing @Register.
3294 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3296 * TemplateParser.cs: Added support for server side includes.
3298 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3300 * TemplateControl.cs: fixed the flags used to find the methods that
3301 are automatically hooked up on events.
3303 * TemplateParser.cs: don't compile a source file directly. Use the
3306 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3308 * BaseParser.cs: Location property is now here. Added a couple of
3309 convenience methods to throw a ParseException.
3311 * TemplateParser.cs:
3312 * TemplateControlParser.cs:
3313 * PageParser.cs: throw ParseException where appropiate.
3315 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3317 * ApplicationFileParser.cs: use the generator to actually parse the
3320 * ControlBuilder.cs: small fix in NamingContainerType because
3321 TemplateBuilders have a null ControlType. When a control is appended
3322 to a parent, assign the child's parent.
3324 * UserControlParser.cs: fixed the value of InputFile.
3326 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3328 * ApplicationFileParser.cs: store the Context and override
3329 BaseVirtualDir so that it's the application path.
3331 * BaseParser.cs: removed CurrentVirtualPath property.
3333 * TemplateControlParser.cs: use BaseVirtualDir.
3335 * UserControlParser.cs: removed CurrentVirtualPath.
3337 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3339 * TemplateParser.cs: always reference all the assemblies in bin
3342 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3344 * ApplicationFileParser.cs: it works now. Prior to these changes, we
3345 were using the compiler directly.
3347 * BaseParser.cs: added some useful properties and methods.
3349 * CodeBuilder.cs: use ILocation.
3350 * CodeRenderBuilder.cs: use ILocation.
3351 * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
3353 * ControlBuilder.cs: made it useful.
3355 * DataBindingBuilder.cs: the control type for data bound text is
3356 DataBoundLiteralControl now.
3358 * ObjectTagBuilder.cs: store some object tag attributes.
3360 * PageParser.cs: handle page-only directives.
3362 * RootBuilder.cs: bah.
3363 * SimpleWebHandlerParser.cs: made it dummy.
3364 * TemplateControl.cs: Modified file.
3366 * TemplateControlParser.cs: handle directives that are common to pages
3369 * TemplateParser.cs: utility methods and handling of directives that
3370 are common to app, page and user controls.
3372 * UserControl.cs: added ControlBuilderAttribute.
3374 * UserControlControlBuilder.cs: builder for user controls.
3375 * UserControlParser.cs: use the new interfaces.
3377 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3379 * ControlBuilder.cs: line and fileName are protected now.
3381 * CodeBuilder.cs: base class for the next 2 files.
3382 * CodeRenderBuilder.cs: builder for code render.
3383 * DataBindingBuilder.cs: builder for data binding.
3385 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3387 * ITagNameToTypeMapper.cs: made it internal.
3389 * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
3391 * RootBuilder.cs: initial builder.
3393 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3395 * CollectionBuilder.cs:
3396 * TemplateBuilder.cs: new classes derived from ControlBuilder that
3397 represent a property or a ITemplate.
3399 * ControlBuilder.cs: implemented all the missing bits.
3400 * TemplateParser.cs: added mapping from tag name to Type feature.
3402 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3404 * Control.cs: have i definitely fixed naming container stuff this time?
3406 * LosFormatter.cs: activated binary serialization code.
3408 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3411 (AddedControl): fixed default id assignation when the sequence of
3412 AddedControl until it's included in the page or one of its controls
3413 does not pass through a naming container.
3415 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3417 * Control.cs: give different default names depending on the place where
3418 it is assigned. Implemented ResolveURl (no more ~ rendered in
3421 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3423 * Control.cs: when adding a control, assign default names to th
3424 children that don't have one.
3426 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3428 * SimpleWebHandlerParser.cs: modified to use the new parser interface.
3430 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3432 * Control.cs: some more tweaks to naming containers stuff.
3433 * DataBinder.cs: don't throw exception if the container is null.
3435 * Page.cs: now we can render client scripts, startup scripts and hidden
3436 fields. Only render __VIEWSTATE if there is someone that will take care
3438 (RaisePostBackEvents): first try the last one that required raise event,
3439 then try __EVENTTARGET.
3441 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3443 * Control.cs: fixes in UniqueID, FindControl, AddedControl,
3444 UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
3445 FindControl work with NamingContainers.
3447 * ControlCollection.cs: notify the parent when clearing the collection.
3449 * LosFormatter.cs: Added debugging output and generate a valid
3450 viewstate even for unknown types.
3452 * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
3455 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3457 * Page.cs: make it fire the LoadData related events also for controls
3458 such as ImageButton, whose variable(s) in the query string are of the
3459 form ctrl_name.x and only fire them once per control.
3461 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3464 (GetPropertyValue): don't try to get the property as indexed
3466 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3468 * DataBinder.cs: use TypeDescriptor to get the properties and their
3471 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3474 (AddedControl): take the children to the same state of the parent.
3475 (InitRecursive): set the page of the children.
3477 * Page.cs: removed one line (it's done a few lines above).
3480 (OnInit): always call InitializeAsUserControl
3481 (InitializeAsUserControl): sets the page for the control.
3483 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3485 * Control.cs: fixed bug #36037.
3487 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3489 * BaseParser.cs: a couple of path fixes to make it work
3490 when the page is not in the root directory.
3492 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3494 * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
3497 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3499 * BaseParser.cs: use MapPath and context to locate files.
3500 * Control.cs: implemented MapPathSecure.
3501 * TemplateControl.cs: use UrlUtils to generate the path.
3502 * TemplateControlParser.cs: use the context and MapPath.
3503 * UserControl.cs: implemented MapPath.
3504 * UserControlParser.cs: added context parameter to constructor.
3506 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3508 * Control.cs: implemented MapPathSecure.
3509 * Page.cs: fixed Server property.
3511 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3513 * DataBinder.cs: try the indexer if the property is not found in
3514 GetPropertyValue ().
3516 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3518 * Control.cs: added AutoEventWireup internal property.
3520 * Page.cs: removed page events wire up from here.
3522 * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
3523 and user controls events.
3525 * TemplateControlParser.cs: process the options that are applicable
3526 once we have the instance of the control.
3528 * TemplateParser.cs: also stores the options.
3530 * UserControl.cs: hook up events before initializing the control.
3533 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3535 * Control.cs: new method to set bindingContainer value.
3536 * TemplateControl.cs: added controls are not binding containers.
3538 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3540 * Control.cs: implemented TemplateSourceDirectory.
3541 * TemplateControl.cs: implemented LoadControl and LoadTemplate.
3543 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3545 * UserControl.cs: fixed SetAttribute.
3546 * UserControlParser.cs: set the correct base type.
3548 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3550 * TemplateParser.cs: fixed BaseType.
3551 * UserControlParser.cs: helper class to compile user controls.
3553 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3555 * LosFormatter.cs: added DateTime to special types.
3557 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3559 * LosFormatter.cs: added array serialization support. Disabled binary
3560 serialization and add some debugging code.
3562 * StateBag.cs: the length of the list of value can be less than the
3563 length if the list of keys when remaining values are null.
3565 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3567 * Page.cs: return something useful in GetPostBackClientEvent.
3569 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3571 * Page.cs: implemented FileDependecies and made it protected.
3573 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3575 * Control.cs: save control names instead of the controls
3576 themselves to the ViewState.
3578 * LosFormatter.cs: added support for serializing unknown
3579 types. BinaryFormatter does not work so you better don't store anything
3580 of unknown Type in ViewState.
3582 * Page.cs: GetViewStateString works now using LosFormatter.
3583 Complete "Control execution lifecycle" by unloading all the child
3584 controls. Check for null in RaisePostBackEvents.
3585 LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
3587 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3589 * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
3591 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3593 * LosFormatter.cs: Use WebEncoding.Encoding.
3596 * Page.cs: fixed namespace.
3598 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3600 * Page.cs: set the context in ProcessRequest. Added a few trace calls.
3601 * Control.cs: added some trace information.
3603 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3605 * SimpleHandlerFactory.cs: new handler for .ashx files.
3607 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3609 * System.Web.UI/PageHandlerFactory.cs: new file.
3610 * System.Web.UI/PageParser.cs:
3611 * System.Web.UI/TemplateControlParser.cs: we are now able to compile
3612 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
3614 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3616 * Control.cs: implemented ObBubbleEvent.
3617 * Page.cs: temporary workaround to make POST work with xsp server.
3619 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3621 * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
3624 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3626 * SimpleWebHandlerParser.cs: New file.
3627 * WebServiceParser.cs: New file.
3629 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3631 * LosFormatter.cs: almost fully implemented.
3633 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3635 * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
3636 * EmptyControlCollection.cs: throw correct exception.
3637 * LosFormatter.cs: stubbed out.
3638 * OutputCacheLocation.cs: little fix.
3640 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3642 * System.Web.UI/ApplicationFileParser.cs:
3643 * System.Web.UI/BaseParser.cs:
3644 * System.Web.UI/PageParser.cs:
3645 * System.Web.UI/TemplateControl.cs:
3646 * System.Web.UI/TemplateControlParser.cs:
3647 * System.Web.UI/TemplateParser.cs: first steps to move xsp into
3650 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3652 * Page.cs: request to render postback script can be after form started
3655 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3657 * Page.cs: added more page events to invoke automagically if some
3658 methods are defined.
3660 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3663 (SaveViewState): save state even when control is not visible.
3664 (SaveViewStateRecursive):
3665 (LoadViewStateRecursive): made internal.
3667 2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3669 * Page.cs: improved event raising to allow client postback for a wider
3670 variety of actions (clicking an hyperlink, ...).
3672 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3674 * UserControl.cs: implemented Load/SaveViewState.
3676 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3678 * AttributeCollection.cs:
3679 (Add): handle 'style' through styleCollection.
3681 * CssStyleCollection.cs:
3682 (fillStyle): renamed to FillStyle and made it internal.
3685 (GetViewStateString): fixed, broken after other recent changes.
3686 (ProcessPostData): allow a second try for postback data after OnLoad.
3687 (ProcessRequest): clear controls collection, removed call to
3690 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3692 * Control.cs: uncommented Dispose.
3695 (DeterminePostBackMode): more checkings.
3696 (GetPostBackClientHyperLink): implemented.
3697 (GetPostBackEventReference): added some comments with the HTML that MS
3699 (ProcessRequest): fixed processing order. The page is unloaded after
3700 a request and regenerated from view state on subsequents posts.
3702 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3704 * Control.cs: fixed related to ViewState. Added RemovedControl.
3706 * ControlCollection.cs: notify owner of control removal.
3708 * CssStyleCollection.cs: almost rewritten to make it render the style
3709 attribute after changes to it.
3711 * Page.cs: follow the guidelines in 'Control execution lifecycle'.
3714 * StateBag.cs: don't use IDictionary.GetEnumerator on the
3715 HybridDictionary: it makes the program give an InvalidCastException at
3718 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3720 * Page.cs: fire Init and Load events for all children.
3722 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3724 * UserControl.cs: New file.
3726 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3728 * ControlBuilderAttribute.cs: finished implementation.
3730 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3732 * ConstructorNeedsTagAttribute.cs: the default constructor sets the
3735 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3737 * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
3739 * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
3740 Hashtable. Added internal .ctor.
3742 * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
3743 Equals and GetHashCode.
3745 * System.Web.UI/DataBoundLiteralControl.cs:
3747 (SaveViewState): implemented.
3749 * System.Web.UI/Page.cs: FileDependencies is not public.
3751 * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
3754 (IsDefaultAttribute): implemented.
3756 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3758 * Control.cs: fixed Visible property.
3759 * Page.cs: fixed GetViewStateString.
3761 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3763 * System.Web.UI/Page.cs:
3764 (GetViewStateString): new function to give the server access to the
3765 generated view state string.
3768 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3771 (SaveViewstateRecursive): implemented.
3772 (SaveViewState): fixed.
3773 (IParserAccessor.AddParsedSubObject): don't use 'this'.
3775 * Page.cs: added code to save view state to an xml file. It's not
3776 being used right now.
3778 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3780 * System.Web.UI/LiteralControl.cs:
3781 Fixes based on class status page:
3783 - Add attributes (DefaultEvent, ParseChildren).
3785 - Explicitly implement some interfaces (IPostBackDataHandler
3786 and IPostBackEventHandler).
3787 - Implemented some missing methods.
3789 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3791 * Control.cs: reimplemented FindControls.
3794 (.ctor): set the page for this control.
3795 (IsPostBack): return valid value.
3796 (DeterminePostBackMode): finished.
3797 (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
3798 (ProcessPostData): implemented. Raises change and postback events.
3799 (ProcessRequest): changed to support reuse of the instance.
3800 (RegisterRequiresPostBack): implemented.
3802 * ValidatorCollection.cs: implemented all methods.
3804 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3807 * Page.cs: first attemp to save view state.
3809 * HtmlForm.cs: don't render Action.
3811 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3813 * Page.cs: implemented more properties using information we already
3817 (VerifyRenderingInServerForm): implemented.
3819 2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3821 * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
3822 out runtime. Renamed Page_Init and Page_Load.
3824 After this, we can load a dll and render HTML in linux.
3826 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3829 (AddedControl): new function that is called whenever a control is
3830 added to a collection of controls in a container. It sets the defaults
3833 * ControlCollection.cs: call AddedControl in Add/AddAt.
3835 * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
3836 SetStaticString and SetDataBoundString.
3838 * Page.cs: removed SetDefaults.
3840 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3842 * CompiledTemplateBuilder.cs: new file. Used in the code generated
3846 (BindingContainer): implemented.
3847 (EnsureChildControls): avoid stack overflow.
3849 * DataBinder.cs: implemented Eval and PropertyValue.
3851 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3853 * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
3854 bug as in regular attributes).
3856 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3858 * Control.cs: implemented PreventAutoID.
3861 (SetDefaults): don't set ID automatically if Control.PreventAutoID has
3864 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3867 (Validators): if the collection is null, create one.
3868 (GetPostBackEventReference 2): don't throw exception.
3869 (GetPostBackClientEvent): return a string with containing the method
3870 name, the control name and the argument.
3872 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3874 * Page.cs: SetPage is now called SetDefaults and also sets a default
3875 ID for controls that don't have one yet.
3877 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3880 (GetPostBackClient):
3881 (RegisterRequiresPostBack): don't throw NotImplementedException to
3883 (ProcessRequest): set the current page as the Page property for *all*
3884 the controls, not just the direct children of the page.
3886 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3889 (MapPathSecure): until security is implemented, return the same path
3890 received as argument.
3891 (RenderControl): call OnPreRender before rendering the control. So
3892 AdRotator can read its configuration file.Is there any other place
3893 where this should be done?
3895 * HtmlTextWriter.cs:
3896 (AddAttribute): fixed. Now it really stores attributes.
3897 (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
3899 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3901 * ControlCollection.cs:
3902 (AddAt): if index is -1 behave as a plain Add.
3904 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3906 * Page.cs: for each child control to render, assign Control.Page.
3907 Probably also needed in HtmlContainerControl derived classes.
3909 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3911 * AttributeCollection.cs: don't need a Hastable. StateBag now works
3912 fine and takes care of the details.
3914 * Control.cs: added HasChildren property.
3916 * StateBag.cs: fixed a couple of nasty bugs.
3918 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3920 * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
3921 Invoke Page_Init and/or Page_Load if the user supplied them (though
3922 this should depend on AutoEventWireUp attribute of Page directive).
3924 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3926 * Control.cs: don't throw exception in ControlID. By now, it returns ID.
3929 (ProcessRequest): implemented.
3931 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3933 * System.Web.UI/Page.cs: finished stubbing out. Implemented some
3936 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3939 (FileDependencies): now is public public.
3940 (EnableViewStateMAC): uncommented and made protected.
3941 (GetTypeHashCode): added method.
3943 2002-05-24 Duncan Mak <duncan@ximian.com>
3945 * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
3947 * StateBag.cs (Item): Changed the visibility level of the this
3950 Misc. formatting edits, fixing some bugs introduced by the indentation.
3952 * DataBinder.cs (Eval)
3953 (GetIndexedPropertyValue)
3954 (GetPropertyValue): Fixed return types.
3956 2002-05-21 Miguel de Icaza <miguel@ximian.com>
3958 * HtmlTextWriter.cs: Use this to change the member instances.
3960 2002-05-17 Duncan Mak <duncan@ximian.com>
3962 * AttributeCollection.cs:
3963 * ControlCollection.cs:
3964 * CssStyleCollection.cs:
3965 * DataBindingCollection.cs:
3966 * EmptyControlCollection.cs: Added missing Collection classes.
3968 2002-05-17 Duncan Mak <duncan@ximian.com>
3971 * TemplateParser.cs: Implemented. BaseParser is weird because
3972 there is no documentation on what it does.
3974 * ControlBuilder.cs:
3977 * DataBinding.cs: Added.
3979 * DataBoundLiteralControl.cs:
3980 * Triplet.cs: Added.
3982 * RenderMethod.cs: Added this delegate for Control.cs
3984 2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3986 * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
3988 2002-05-14 Duncan Mak <duncan@ximian.com>
3990 * ValidationPropertyAttribute.cs: Added to CVS.
3992 2002-05-10 Duncan Mak <duncan@ximian.com>
3994 * ConstructorNeedsTagAttribute.cs:
3995 * ControlBuilderAttribute.cs:
3996 * ImageClickEventArgs.cs:
3997 * ParseChildrenAttribute.cs:
3998 * PartialCachingAttribute.cs:
3999 * PersistChildrenAttribute.cs:
4000 * PersistenceModeAttribute.cs:
4001 * TemplateContainerAttribute.cs: Added to CVS.
4003 * PersistanceMode.cs: Removed, fixed typo.
4004 * PersistenceMode.cs: Replacing above.
4006 * StateBag.cs (this): Fixed indexer, it takes a string as the
4007 index, not an object.
4009 * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
4011 * Page.cs (Validators): return type should be ValidatorCollection,
4012 not ValidatedCollection.
4014 * TagPrefixAttribute.cs: Added to CVS.
4016 2002-05-07 Duncan Mak <duncan@ximian.com>
4018 * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
4020 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
4022 * DataBindingHandlerAttribute.cs
4024 * ToolboxDataAttribute.cs - Completed
4026 2002-01-03 Nick Drochak <ndrochak@gol.com>
4028 * DesignTimeParseData.cs: initialze static member to avoid compile
4030 * PropertyConverter.cs: remove uneeded exception variables from
4033 2002-01-02 Nick Drochak <ndrochak@gol.com>
4035 * DesignTimeParseData.cs: fix header to show correct class name
4037 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
4039 * StateBag.cs - Completed
4041 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
4043 * Pair.cs - Small undocumented class. Completed.
4045 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
4047 * DesignTimeParseData.cs - Initial implementation
4048 * StateBag.cs - Initial implementation
4050 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
4052 * PropertyConverter.cs - Undocumented class. Completed.
4053 * Utils.cs - Undocumented, private class.
4054 Initial implementation
4056 2001-08-28 Bob Smith <bob@thestuff.net>
4057 * Control.cs: Figured out some undocumented API.
4059 * BuildMethod.cs: Initial implementation.
4060 * BuildTemplateMethod.cs: Initial implementation.
4061 * HtmlTextWriterAttribute.cs: Initial implementation.
4062 * HtmlTextWriterStyle.cs: Initial implementation.
4063 * HtmlTextWriterTag.cs: Initial implementation.
4064 * IAttributeAccessor.cs: Initial implementation.
4065 * IDataBindingsAccessor.cs: Initial implementation.
4066 * ImageClickEventHandler.cs: Initial implementation.
4067 * INamingContainer.cs: Initial implementation.
4068 * IParserAccessor.cs: Initial implementation.
4069 * IPostBackDataHandler.cs: Initial implementation.
4070 * IPostBackEventHandler.cs: Initial implementation.
4071 * IStateManager.cs: Initial implementation.
4072 * ITagNameToTypeMapper.cs: Initial implementation.
4073 * ITemplate.cs: Initial implementation.
4074 * IValidator.cs: Initial implementation.
4075 * OutputCacheLocation.cs: Initial implementation.
4076 * PersistanceMode.cs: Initial implementation.
4077 * StateItem.cs: Initial implementation.
4079 2001-08-27 Bob Smith <bob@thestuff.net>
4081 * Control.cs: Bug fixes and implementations.
4083 2001-08-24 Bob Smith <bob@thestuff.net>
4085 * Control.cs: Bug fixes.
4087 2001-08-23 Bob Smith <bob@thestuff.net>
4089 * Control.cs: More implementation. Events reworked for performance.
4091 2001-08-22 Bob Smith <bob@thestuff.net>
4093 * LiteralControl.cs: Implemented.
4094 * Control.cs: Even more implementation (Events). What a beast.
4096 2001-08-20 Bob Smith <bob@thestuff.net>
4098 * Control.cs: More implementation. Not done yet. Shutter.
4100 2001-08-17 Bob Smith <bob@thestuff.net>
4102 * Control.cs: Partial implementation.