1 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
3 * ClientScriptManager.cs:
6 added new internal property IsMultiForm which returns false under
7 !TARGET_J2EE (Portal). All client scripts are rendered
8 according this property.
10 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
12 * ClientScriptManager.cs: fixed: GetCallbackEventReference method.
14 2007-07-23 Igor Zelmanovich <igorz@mainsoft.com>
16 * Page.cs: refactoring: __doPostBack client script
17 It is a part of adapting System.Web to work whith
18 System.Web.Extensions (AJAX).
20 2007-07-23 Konstantin Triger <kostat@mainsoft.com>
22 * Control.cs: calculate AppRelativeTemplateSourceDirectory from HttpContext
23 when control is not in control collection.
25 2007-07-22 Konstantin Triger <kostat@mainsoft.com>
28 TemplateControl.cs: base AppRelativeTemplateSourceDirectory property
29 on TemplateControl; implement special behavior of Control.TemplateControl for
30 TemplateControl instances.
32 2007-07-18 Marek Habersack <mhabersack@novell.com>
34 * ControlBuilder.cs: on the 2.0 profile BindingContainerType
35 returns the associated control's base type when parent builder is
36 absent instead of typeof (Control). It returns typeof (Control) if
37 the parent builder type is determined to be a
38 NamingContainer. This makes the generated code match the MS.NET
39 output. Fixes bug #82119.
41 2007-07-18 Igor Zelmanovich <igorz@mainsoft.com>
44 * ClientScriptManager.cs:
45 scripts, registered using RegisterClientScriptInclude,
46 RegisterClientScriptResource and RegisterClientScriptBlock appear on Page
47 in order matches the order in which the scripts were registered.
49 2007-07-16 Igor Zelmanovich <igorz@mainsoft.com>
51 * Control.cs: fixed EnsureID.
52 ID is not assigned, if already was set.
54 2007-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
56 * ClientScriptManager.cs: refactored event validation data structure
57 * Page.cs: fixed InternalProcessRequest, event validation list should
58 be cleared before render
60 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
62 * ObjectStateFormatter.cs: optimized loops in array formatters
64 2007-07-03 Marek Habersack <mhabersack@novell.com>
66 * SimpleWebHandlerParser.cs: improve directive
67 pre-parsing. Directives can span multiple lines, they don't have
68 to start at the beginning of the line and any content can follow
69 them after the directive end. Also, do not trim the input since
70 that might affect program content. Fixes bug #81993.
72 2007-07-02 Marek Habersack <mhabersack@novell.com>
74 * Control.cs: make sure TemplateSourceDirectory returns meaningful
75 results in the 1.1 profile. Fixes bug #81950.
77 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
79 * ObjectStateFormatter.cs: WriterContext.RegisterCache, refactored out
82 2007-06-20 Marek Habersack <mhabersack@novell.com>
84 * BasePartialCachingControl.cs: use HttpRuntime.InternalCache to
85 keep the private entries.
87 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
89 * Control.cs: revised the changes from r79982.
91 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
93 * Control.cs: optimized flow in ResolveClientUrl.
95 2007-06-15 Gert Driesen <drieseng@users.sourceforge.net>
97 * ObjectStateFormatter.cs: Avoid NRE in Serialize. Fixes bug #81851.
99 2007-06-09 Marek Habersack <mhabersack@novell.com>
101 * TemplateControl.cs: make sure TemplateControl is set to the
104 * Control.cs: TemplateControl property goes up the parent chain if
105 the property isn't defined in the current control.
106 TemplateSourceDir finally implemented correctly.
108 2007-06-06 Marek Habersack <mhabersack@novell.com>
110 * Control.cs: more changes to the way TemplateSourceDirectory
111 works in the 2.0 profile. Take into account situations when a
112 control is placed in a UserControl (.ascx) and only then fall back
113 to the parent for its TemplateSourceDirectory.
115 2007-06-05 Marek Habersack <mhabersack@novell.com>
117 * Control.cs: TemplateSourceDirectory uses TemplateControl to
118 lookup the virtual source directory in the 2.0 instead of the
120 ResolveClientUrl copes with empty TemplateSourceDirectory in the
121 correct way now - the check is made after the basePath checks.
122 The changes above make ResolveClientUrl work properly when called
123 from within a control residing in a TemplateControl.
125 2007-05-30 Vladimir Krasnov <vladimirk@mainsoft.com>
127 * HtmlTextWriter.cs: EncodeAttributeValue should call
128 HtmlAttributeEncode as documented
130 2007-05-24 Marek Habersack <mhabersack@novell.com>
132 * PageParser.cs: added support for the PreviousPageType
135 2007-05-23 Marek Habersack <mhabersack@novell.com>
137 * TemplateParser.cs: use VirtualPathUtility.Combine to properly
138 create the custom control's virtual path.
140 2007-05-22 Marek Habersack <mhabersack@novell.com>
142 * TemplateBuilder.cs: in the absence of containerAttribute,
143 default to two-way binding direction.
145 2007-05-21 Igor Zelmanovich <igorz@mainsoft.com>
147 * DataSourceView.cs: refactoring: Update, Insert methods:
148 exception is re-thrown from catch scope.
149 It allows actual call stack be shown
151 2007-05-17 Vladimir Krasnov <vladimirk@mainsoft.com>
153 * TemplateControl.jvm.cs: refactored key for CachedString method
155 2007-05-16 Vladimir Krasnov <vladimirk@mainsoft.com>
157 * HtmlTextWriter.cs: refactoring, created hashtables for tags, styles
158 and attributes arrays, that gives performance improvement in GetTagKey
159 GetStyleKey and GetAttributeKey methods
161 2007-05-15 Marek Habersack <mhabersack@novell.com>
163 * TemplateControl.cs: implemented the 3-parameter overloads of
164 GetLocalResourceObject and GetGlobalResourceObject.
166 * TemplateParser.cs: refactoring - use HttpApplication.LoadType to
167 actually look up types.
169 * ControlBuilder.cs: as above
171 2007-05-14 Marek Habersack <mhabersack@novell.com>
173 * ClientScriptManager.cs: put the hidden field within a <div>, the
176 2007-05-11 Gert Driesen <drieseng@users.sourceforge.net>
178 * ControlBuilder.cs: Fixed exception message in MapType.
180 2007-05-10 Marek Habersack <mhabersack@novell.com>
182 * Control.cs: small formatting change
184 2007-05-10 Igor Zelmanovich <igorz@mainsoft.com>
186 * Page.cs: ExecuteRegisteredAsyncTasks:
187 implimentation for TARGET_JVM doesn't use WaitHandle.WaitAll, but WaitOne
189 2007-05-09 Vladimir Krasnov <vladimirk@mainsoft.com>
191 * HtmlTextWriter.cs: used classes instead of sctrucs in TARGET_JVM for
192 AddedTag, AddedStyle and AddedAttr members
193 * TemplateControl.jvm.cs: refactored CachedString method
195 2007-05-09 Marek Habersack <mhabersack@novell.com>
197 * CollectionBuilder.cs: formatting changes
199 * ControlBuilder.cs: if a control enables children as properties,
200 has a default property and parser encounters a child tag/container
201 with the default property name, discard the default property
202 builder in order to avoid invalid sub builder invocation. An
203 example is: <asp:DropDownList><Items></Items></asp:DropDownList>
205 When checking for empty string, use Length not comparison with ""
207 2007-05-08 Marek Habersack <mhabersack@novell.com>
209 * CssStyleCollection.cs: put the style in the bag each time a key
210 is set, otherwise resetting of a key has no effect on rendered
213 2007-05-07 Marek Habersack <mhabersack@novell.com>
215 * TemplateParser.cs: added support for implicit language
216 detection. If the language isn't set explicitly in the Page
217 directive, the language value taken from the configuration
218 considered to be implicit - that is, it can be overwritten by the
219 first <script> with the runat="server" and language="xx" sets the
220 language for the parser. This makes it possible to have the
221 default language set to "C#" and the inline code in, e.g.,
224 * ControlBuilder.cs: when mapping types, catch casses of missing
225 original and mapped types.
226 If mapped type doesn't derive from the original type, throw an
227 exception. Fixes bug #81553.
229 2007-05-04 Marek Habersack <mhabersack@novell.com>
231 * Control.cs: added an internal method to resolve a physical path
232 to a file from its virtual path considering the possibility that a
233 control is placed in a master page, which in turn is referenced
234 from a directory another than that of master page itself.
236 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
238 * AttributeCollection.cs:
239 * DataBindingHandlerAttribute.cs:
241 * PartialCachingControl.cs:
242 * TemplateControl.cs:
243 * TemplateControl.jvm.cs:
247 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
249 * CssStyleCollection.cs: optimization:
250 used StringBuilder instead string to hold value.
251 When added key that not exists in collection, value is recalculated by
252 appending required key to existing value.
254 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
256 * Control.cs: ResolveClientUrl: optimization.
257 if basePath is the same as TemplateSourceDirectory
258 releativeUrl is returned as is.
260 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
263 ResolveClientUrl considers TemplateSourceDirectory property.
265 2007-05-01 Marek Habersack <mhabersack@novell.com>
267 * PageParser.cs: clientTarget comparisons must be case-insensitive
269 2007-04-30 Konstantin Triger <kostat@mainsoft.com>
271 * DataBinder.cs: When formatting, threat empty string as null.
273 2007-04-27 Marek Habersack <mhabersack@novell.com>
275 * TemplateControlParser.cs: 2.0 allows 'Namespace' without the
276 'Assembly' attribute on tag prefix registration.
278 * TemplateParser.cs: do not rely on assembly name being not null.
280 2007-04-19 Gert Driesen <drieseng@users.sourceforge.net>
282 * TemplateParser.cs: On 2.0 profile, allow namespace in ClassName
283 attribute. Fixes part of bug #81399.
285 2007-04-11 Marek Habersack <mhabersack@novell.com>
287 * Page.cs: check whether control passed to
288 RegisterRequiresPostBack implements the IPostBackDataHandler
291 2007-04-06 Marek Habersack <mhabersack@novell.com>
293 * ClientScriptManager.cs: render the 'type' attribute in
294 WriteScript and do not render the 'language' attribute when in
297 * Page.cs: defaults for ViewStateEncrptionMode and AsyncTimeout
298 are read from the pages section, if found.
300 * TemplateControlParser.cs: added support for loading
301 pages/controls defaults from web.config even if the page/control
302 does not have its corresponding directive.
303 Added support for reading the CompilationMode attribute.
305 * PageParser.cs: added support for loading pages/controls defaults
306 as above. Fixes bug #80915.
307 Added support for reading the maxPageStateFieldLength setting.
308 Added support for reading the pageParserFilter setting.
310 * ControlBuilder.cs: allow tag mappings from code found
311 in bin/* or App_Code/*. Fixes bug #80811.
313 2007-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
315 * TemplateControl.jvm.cs: performance improvement, added cache for
316 methods and events in user code
318 2007-03-26 Marek Habersack <mhabersack@novell.com>
320 * TemplateControl.cs: make local resources work with master
321 pages - use the AppRelativeVirtualPath for resource resolution.
323 * TemplateParser.cs: support the meta:resourcekey attribute in
324 Page and Control directives. Fixes bug #81204.
326 2007-03-21 Marek Habersack <mhabersack@novell.com>
328 * UnknownAttributeDescriptor.cs: an internal helper class for
329 custom directive attributes support.
331 * BaseParser.cs: ThrowParseException can now take variadic
332 parameters, for convenience.
334 * TemplateParser.cs: add support for custom attributes for the
335 Page and Control directives.
336 Added support for the CodeFileBaseClass directive. Fixes bug #81132
338 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
340 * Control.cs: fixed ResolveClientUrl method.
342 2007-03-18 Marek Habersack <mhabersack@novell.com>
344 * BaseParser.cs: fix BaseVirtualDir to always return app-absolute
347 2007-03-17 Marek Habersack <mhabersack@novell.com>
349 * MasterPageParser.cs: remove superfluous #ifdef
351 * TemplateParser.cs: use VirtualPathUtility here
353 2007-03-14 Vladimir Krasnov <vladimirk@mainsoft.com>
355 * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, performance
358 2007-03-13 Marek Habersack <mhabersack@novell.com>
360 * TemplateParser.cs: name generated classes the same way MS.NET
361 does - include the app-relative path to the control/page in the
364 2007-03-13 Adar Wesley <adarw@mainsoft.com>
366 * Page.cs: improved Async Page implementation.
368 2007-03-13 Marek Habersack <mhabersack@novell.com>
370 * TemplateControl.cs: implement AppRelativeVirtualPath. Closes bug
373 2007-03-12 Marek Habersack <mhabersack@novell.com>
375 * RootBuilder.cs: change the error text to be less misleading.
377 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
379 * AttributeCollection.cs:
380 * CssStyleCollection.cs: fixed: works w/o state bag.
382 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
384 * HtmlTextWriter.cs: fixed:
385 - Fixed writing background-image style attribute (different behavior in
387 - Does not encode 'name' attribute.
388 - Always encode style attributes (for 2.0 only).
390 2007-03-06 Adar Wesley <adarw@mainsoft.com>
392 * Page.cs: initial implementation of support for Async=true. Added
393 initial support for ViewStateEncryption. Implemented
394 CreateHtmlTextWriterFromType.
396 * PageAsyncTask.cs: Created class to support Async pages.
398 * ObjectStateFormatter.cs: Added support for ViewState encryption.
400 * HtmlTextWriter.cs: Fixed constructor to accept null TextWriter
401 to conform to MS behavior.
403 2007-03-05 Vladimir Krasnov <vladimirk@mainsoft.com>
405 * Control.jvm.cs: fixed TemplateSourceDirectory property
407 2007-03-03 Marek Habersack <mhabersack@novell.com>
409 * TemplateParser.cs: support but ignore the Async and AsyncTimeOut
410 page directive attributes.
411 Support the LinePragmas page directive attribute.
413 * PageParser.cs: added support for the
414 MaintainScrollPositionOnPostBack page directive attribute.
416 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
418 * TemplateControl.cs:
419 * TemplateControl.jvm.cs: fixed: AutoEventWireup feature:
420 Method 'Page_XXX' is declared in the base class must be
421 called even is private.
423 2007-02-26 Vladimir Krasnov <vladimirk@mainsoft.com>
425 * Control.cs: fixed AppRelativeTemplateSourceDirectory property, should
426 not return AppRelativeTemplateSourceDirectory of master page
428 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
430 * ClientScriptManager.cs: fixed: GetScriptLiteral escapes back-slash:
432 2007-02-22 Igor Zelmanovich <igorz@mainsoft.com>
434 * TemplateControl.cs: added missing property AppRelativeVirtualPath
436 2007-02-21 Konstantin Triger <kostat@mainsoft.com>
438 * TemplateParser.cs: remove CodeGenerator.IsValidLanguageIndependentIdentifier
439 check from Global.asax inherits attribute to let inherits="A.B" construct.
441 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
443 * ObjectStateFormatter.cs:
444 optimization for serialization of primitive type arrays
446 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
448 * ClientScriptManager.cs:
451 implemented PostBackOptions.TrackFocus feature.
453 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
455 * Page.cs: for 2.0: refactoring:
456 prepare infrastructure for Form.SubmitDisabledControls feature
458 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
460 * Control.jvm.cs, Control.cs: Move TemplateSourceDirectory to .jvm file.
461 * Control.jvm.cs, Page.jvm.cs: Centralize Portlet specific API in Page.jvm
462 * Page.cs, Page.jvm.cs, ClientScriptManager.cs: Support for Http callbacks
465 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
468 '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields are
469 registered only once.
471 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
473 * Page.cs: for 2.0: '__doPostBack' declared as function of form.
474 convention to use 'currForm' instead 'myForm'
476 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
479 * ClientScriptManager.cs:
480 including 'webform.js' requires '__doPostBack' on the form be rendered.
482 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
485 * ClientScriptManager.cs:
486 refactoring: 'theForm' variable is always declared on client.
487 '__EVENTTARGET' and '__EVENTARGUMENT' hidden fields is rendered using
488 RegisterHiddenField API. 'WebForm_OnSubmit' declared as function of form.
490 2007-02-14 Vladimir Krasnov <vladimirk@mainsoft.com>
492 * Page.cs: fixed OnInit, adding css should throw exception if no header
495 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
497 * Page.cs: __doPostBack considers 2.0 features
498 such RegisterOnSubmitStatement
500 2007-02-14 Igor Zelmanovich <igorz@mainsoft.com>
503 * ClientScriptManager.cs:
504 implemented RegisterOnSubmitStatement for 2.0
506 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
508 * ClientScriptManager.cs: EventValidation feature optimization on Callback.
510 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
512 * Page.cs: fixed exception handling on Callback at client.
514 2007-02-08 Marek Habersack <grendello@gmail.com>
516 * Page.cs: Make sure to create specific cultures.
518 2007-02-08 Vladimir Krasnov <vladimirk@mainsoft.com>
520 * ClientScriptManager.cs: added array declaration also as member of
521 form in TARGET_J2EE for j2ee portal support.
522 Added validators context init for GetClientValidationEvent under
523 TARGET_J2EE for j2ee portal support.
524 * Page.cs: fixed OnFormPostRender, render array declarations after
527 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
530 * ClientScriptManager.cs:
531 client scripts (webform.js, callback.js and
532 MaintainScrollPositionOnPostBack.js) were merged into one resource file.
534 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
537 http://msdn2.microsoft.com/en-us/library/ms178141.aspx
538 LAMESPEC: on Callback IsPostBack is set to false, but true.
540 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
543 VerifyRenderingInServerForm does not fire exception when IsCallback
545 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
548 * ClientScriptManager.cs:
549 fixed RegisterClientScriptInclude: all includes that was registered before
550 rendering are rendered at begin form.
552 2007-02-02 Marek Habersack <grendello@gmail.com>
554 * TemplateParser.cs: Do not register controls here.
556 2007-02-02 Adar Wesley <adarw@mainsoft.com>
558 * Control.cs: Changed UniqueId implementation to have '$' and not ':'
559 to conform to MS. This led to updating several Tests that referenced
560 the UniqueId as string.
562 2007-01-30 Eyal Alaluf <eyala@mainsoft.com>
564 * ClientScriptManager.cs: Fix Igor's last changes for TARGET_JVM.
566 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
569 * ClientScriptManager.cs:
570 CallBack works with EvantValidation.
572 2007-01-25 Eyal Alaluf <eyala@mainsoft.com>
574 * Page.cs: Change code to use the 'theForm' property when generating
575 JavaScript code. Ensure that we pass 'theForm' as param to the JS funcs.
576 * Page.jvm.cs, Control.jvm.cs: Implement the 'theForm' property to include
577 the portlet namespace. Moved 'PortletNamespace' from Control.jvm.cs
578 * Page.jvm.cs, Control.jvm.cs, ClientScriptManager.cs: Added support for
579 saving hidden fields for TARGET_J2EE Portlets re-render.
580 * Control.cs: Under TARGET_J2EE portal support add the PortletNamespace
581 to all the control IDs to ensure they different between portlets.
583 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
585 * Page.cs: fixed CheckForValidationSupport,
586 SupportsEventValidationAttribute should be checked at only one level
588 2007-01-23 Vladimir Krasnov <vladimirk@mainsoft.com>
590 * TemplateControl.jvm.cs: ParseControl not supported, added limited
591 implementation if TestDeviceFilter
593 2007-01-22 Konstantin Triger <kostat@mainsoft.com>
595 * ClientScriptManager.cs: ensure the callback client script is
596 registered before the client script includes are rendered.
598 2007-01-22 Konstantin Triger <kostat@mainsoft.com>
600 * Page.cs, ClientScriptManager.cs: ensure the web form client script is
601 registerd before the client script includes are rendered.
603 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
605 * Page.cs: move the WriteClientScriptIncludes to the top of the form,
606 according to the MSDN.
608 2007-01-20 Miguel de Icaza <miguel@novell.com>
610 * XhtmlTextWriter.cs: comment out unused code.
612 * ThemeProvider.cs: comment out unused code.
614 * DataSourceView.cs: Comment unused variable.
616 * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
619 * Control.cs: Put _templateControl inside the NET_2_0 ifdef
621 2007-01-20 Marek Habersack <grendello@gmail.com>
623 * TemplateParser.cs: Check whether the base type is in the root
626 2007-01-18 Eyal Alaluf <eyala@mainsoft.com>
628 * Control.jvm.cs: Added PortletNamespace property.
630 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
632 * TemplateControl.jvm.cs: remover TemplateSourceDirectory propery
633 * Control.cs: moved TemplateSourceDirectory from TemplateControl for
634 TARGET_JVM, fixed AppRelativeTemplateSourceDirectory
636 2007-01-16 Vladimir Krasnov <vladimirk@mainsoft.com>
638 * TemplateControl.jvm.cs: added 2.0 event names for wiring up
640 2007-01-15 Ilya Kharmatsky <ilya - at - decode-systems.com>
642 - IsViewStateEnabled - removed check for non-null page, since
643 the control by definition should come with enabled
644 view state, even if it not 'attached' to the page
645 - HasEvents() - implementation (still could produce bug in exotic scenarios
646 when all events added to 'this' control has been removed
647 through the property 'Events', but currently we can't see
648 better implementation)
650 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
652 * Control.jvm.cs, Page.jvm.cs: Added TARGET_J2EE specific files.
653 * Page.cs, ClientScriptManager.cs, Control.cs: Added J2EE portal
654 support for TARGET_J2EE.
656 2007-01-12 Miguel de Icaza <miguel@novell.com>
658 * Control.cs: Remove comment, it provides no information about
661 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
663 * PageTheme.cs: implemented
664 * Page.cs: fixed InitializeTheme, added PageTheme page initialization
665 * TemplateControl.cs,
666 * TemplateControl.jvm.cs: added XPath, XPathSelect overloads with
667 IXmlNamespaceResolver parameter
668 * XPathBinder.cs: added Eval, Select overloads with
669 IXmlNamespaceResolver parameter, refactored
671 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
673 * TemplateControl.jvm.cs: added GetGlobalResourceObject
675 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
677 * Page.cs: refactoring: used RegisterHiddenField for _VIEWSTATE field.
679 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
681 * Control.cs: ensure 'id' attribute will be rendered if
682 ClientID was accessed but ID is generated by the Page,
683 important for custom controls developing.
685 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
687 * Page.cs: fixed: InitializeCulture should be called
688 before creating controls.
690 2007-01-03 Marek Habersack <grendello@gmail.com>
692 * Page.cs: Make sure the ValidatorOnSubmit function is defined for the
693 document before attempting to use it.
695 2007-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
697 * Control.cs: fixed ResolveClientUrl, wrong when control that calls
698 this method and the page are in different folders
700 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
702 * Page.cs: show the validation summary when client validation and
703 linkbuttons are used. Patch by Juraj Skripsky.
705 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
707 * Page.cs: fixed: EventValidation is not performed for CallBack request.
709 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
711 * Page.cs: fixed: RegisterRequiresPostBack feature.
713 2006-12-21 Marek Habersack <grendello@gmail.com>
715 * ControlBuilder.cs: Add support for tag mapping in 2.0
717 2006-12-20 Marek Habersack <grendello@gmail.com>
719 * TemplateParser.cs: make sure Context.ApplicationInstance is not
720 valid before adding application assembly.
722 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
724 * Page.cs: fixed and optimized ProcessPostData
725 The "second try" used for controls that created at OnLoad.
726 fixed for controls that use RgisterRequeresPostBack to handle post data.
728 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
730 * Page.cs: The specified theme must exist as either an application theme.
731 If the theme does not exist, an HttpException exception s thrown.
733 2006-12-09 Marek Habersack <grendello@gmail.com>
735 * HiddenFieldPageStatePersister.cs: Implement the 2.0 class (used
736 also in the 1.x profile)
738 * ObjectStateFormatter.cs: Implement the IStateFormatter interface
740 * ClientScriptManager.cs: Use IStateFormatter instead of
742 Use the IStateFormatter interface when registering the hidden
743 field with the state.
745 * LosFormatter.cs: Use ObjectStateFormatter
747 * PageStatePersister.cs: Make the class available as internal for
749 Constructor throws an exception on its page parameter being null.
750 Implemented several properties: ControlState, ViewState, Page,
753 * Page.cs: Use new state persister for all the profiles.
754 Use the new HiddenFieldPageStatePersister class.
756 * IStateFormatter.cs: Make the class available as internal for 1.x profile.
758 2006-12-04 Vladimir Krasnov <vladimirk@mainsoft.com>
760 * TemplateControl.jvm.cs: fixed TemplateSourceDirectory initialization
762 2006-11-29 Marek Habersack <grendello@gmail.com>
764 * TemplateParser.cs: if the OutputCache directive is present, make
765 sure the cache does not expire the current output.
767 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
769 * Page.cs: added missing methods and properties:
774 MaxPageStateFieldLength
775 ViewStateEncryptionMode
776 AddOnPreRenderCompleteAsync
777 AddOnPreRenderCompleteAsync
778 ExecuteRegisteredAsyncTasks
779 CreateHtmlTextWriterFromType
780 RegisterRequiresViewStateEncryption
782 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
784 * Page.cs: Master property returns null when no HttpContext.
786 2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
788 * Page.cs: InitializeCulture method is called before OnPreInit.
790 2006-11-28 Marek Habersack <grendello@gmail.com>
792 * TemplateControlParser.cs: Use the new TemplateParser methods to
793 register controls/namespaces
795 * TemplateParser.cs: Implement support for the
796 system.web/pages/namespaces collection instead of hard-coding the
797 namespaces into the source.
798 Refactoring: added two internal methods to handle both the
799 system.web/pages/controls registration and the Register directive.
800 Added a new internal method to pull the system.web/pages/controls
801 collection before parsing.
803 2006-11-27 Marek Habersack <grendello@gmail.com>
805 * SimpleWebHandlerParser.cs: Added support for looking up types in
806 the top-level assemblies (App_Code et al)
808 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
810 * Control.cs: implemented EnsureID method.
812 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
814 * Control.cs: implemented Focus methods.
816 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
818 * Page.cs: implemented SetFocus methods.
821 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
823 * ClientScriptManager.cs: refactoring:
824 extracted method RegisterWebFormClientScript
826 2006-11-27 Igor Zelmanovich <igorz@mainsoft.com>
828 * Control.cs: implemented OpenFile()
830 2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
834 implemented ClearChildState(), ClearChildControlState() and
835 IsChildControlStateCleared
837 2006-11-26 Igor Zelmanovich <igorz@mainsoft.com>
840 * ClientScriptManager.cs:
841 implemented RegisterExpandoAttribute feature
843 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
845 * ListSourceHelper.cs: optimization of implementation
847 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
849 * ListSourceHelper.cs: implemented
851 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
853 * DataSourceView.cs: fixed: constructor throws ArgumentNullException
855 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
857 * Page.cs: fixed: PreviousPage property
858 when CrossPostBack is processed PreviousPage is initialized
859 only if PreviousPage property is called.
861 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
863 * DataSourceControl.cs: fixed: Focus(), EnableTheming
865 2006-11-21 Marek Habersack <grendello@gmail.com>
867 * Control.cs: Make ClientIDSeparator private for !NET_2_0
869 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
871 * Page.cs: fixed: LoadControlState is called for controls
872 that added on Load and latter
874 2006-11-20 Marek Habersack <grendello@gmail.com>
876 * Control.cs: Implementations of a few missing properties.
878 * Page.cs: Added support for automatic culture detection from the
881 * PageParser.cs: Added support for "auto" cultures in the Page
884 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
886 * ClientScriptManager.cs: fixed: ValidateEvent feature:
887 client side return eventArgument as empty string
888 for controls that set it as null
890 2006-11-18 Marek Habersack <grendello@gmail.com>
892 * ClientScriptManager.cs: Implemented two missing
893 GetPostBackEventReference overloads. Made one of the overloads
894 internal for .NET < 2.0.
896 2006-11-17 Marek Habersack <grendello@gmail.com>
898 * PostBackOptions.cs: Renamed the constructors parameters to match
899 those Microsoft .NET uses.
900 targetControl must not be passed null to the constructor.
902 * ClientScriptManager.cs: Support for event validation.
903 Implemented a GetPostBackHyperlink overload.
904 Implemented the RegisterForEventValidation methods.
905 Implemented the ValidateEvent method.
906 Added support for saving/restoring event validation state.
908 * Page.cs: EnableEventValidation can be set only from the config
909 files (the <pages> element), the Page directive or from
910 Page_Init. After Page_Init returns, an exception is thrown.
911 Made GetFormatter internal, so that ClientScriptManager can use
913 Added the internal LifeCycle property which contains the current
914 life cycle stage of the page request processing.
915 Added calls to save/restore event validation state.
916 Added checks for whether child controls of the page support event
918 Added calls to ClientScriptManager.ValidateEvent in appropriate
921 * PageLifeCycle.cs: Added the PageLifeCycle enum, used in event
924 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
927 * ObjectStateFormatter.cs: match MS 1.x and 2.0 behaviour for null and
930 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
932 * SimpleWebHandlerParser.cs: 'using' for file reading.
934 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
936 * Page.cs: revert r67514 until after tagging for the next release.
938 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
940 * LiteralControl.cs: fixed: constructors & Text property
942 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
944 * Page.cs: fixed: LoadControlState is called for controls
945 that added on Load and latter, for 1.x refactoring only
947 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
949 * ClientScriptManager.cs:
950 fixed: checks arguments for null in public methods,
951 fixed public interface.
953 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
955 * PostBackOptions.cs: fixed: default values of properties
957 2006-10-22 Igor Zelmanovich <igorz@mainsoft.com>
959 * CssStyleCollection.cs:
960 * AttributeCollection.cs:
961 fixed: style collection is synchronized with style attribute
963 2006-10-19 Igor Zelmanovich <igorz@mainsoft.com>
965 * ClientScriptManager.cs: fixed: renders id attribute in hidden field
967 2006-10-18 Marek Habersack <grendello@gmail.com>
969 * TemplateParser.cs: reference System.Resources when compiling a
972 * TemplateControl.cs: implement the GetGlobalResourceObject
975 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
977 * Page.cs: fixed: for 2.0 only
978 When Page processes Callback IsPostBack = false, but it still needs
979 LoadViewState/ControlState and ProcessPostData
981 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
983 * DataSourceSelectArguments.cs: fixed:
984 SortExpression not returns null,
985 Empty property returns new instance each time
987 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
989 * DataSourceSelectArguments.cs:
990 fixed: RaiseUnsupportedCapabilitiesError method.
992 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
994 * DataSourceSelectArguments.cs: fixed: Equals method.
996 2006-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
998 * CssStyleCollection.cs: don't clear the collection of properties, but
1001 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1003 * CssStyleCollection.cs: 'style' can be modified on our back, so build
1004 the style table every time instead of keeping one that is not in sync.
1007 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
1009 * Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
1010 When page is invoked by cross-page posting, PreviousPage processed all
1011 live-cycle up to OnLoadComplite included.
1012 IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
1014 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1016 * TemplateParser.cs: patch by Joel Reed that makes use of the namespace
1017 collection from the PagesConfiguration to add new namespaces when
1018 generating the page/control code.
1020 2006-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1022 * PageParser.cs: support the EnableEventValidation attribute.
1024 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
1026 * Page.cs: fixed: Title property works properly
1028 2006-09-17 Igor Zelmanovich <igorz@mainsoft.com>
1030 * ClientScriptManager.cs: added helper method
1032 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
1034 * Page.cs: fixed: GetValidators(string), Validate(string) works properly
1036 2006-09-08 Robert Jordan <robertj@gmx.net>
1038 * Page.cs: assure that RenderTrace is called even if an
1039 exception occurred. Fixes bug #78930.
1041 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1043 * TemplateControl.cs: search for the new Page_* event handlers in 2.0.
1044 Patch by Marek Habersack that fixes bug #78268.
1046 2006-09-07 Lluis Sanchez Gual <lluis@novell.com>
1048 * Page.cs: Use lowercase getElementById in the javascript that
1051 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
1053 * KeyedListEnumerator.cs: fixed Current property to return real object
1054 instead of DictionaryEntry
1056 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1058 * Page.cs: don't use the Browser object, as it slows down process
1059 request time *a lot*. Fixes bug #79206.
1061 2006-09-05 Konstantin Triger <kostat@mainsoft.com>
1063 * Page.cs: Imlemented InitOutputCache(OutputCacheParameters cacheSettings).
1064 * OutputCacheParameters.cs: added an implementation.
1066 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
1068 * CssStyleCollection.cs: fixed: background-image style attribute
1070 2006-08-31 Konstantin Triger <kostat@mainsoft.com>
1072 * StaticPartialCachingControl.cs: added forwarding implementation for
1073 2.0 version of BuildCachedControl().
1075 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1077 * Page.cs: added internal method
1078 * ClientScriptManager.cs:
1080 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
1082 * ClientScriptManager.cs: added helper method
1084 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
1086 * Page.cs: fixed ApplyMasterPage, masterPageFile can be empty string
1087 if compiled with .net aspx parser
1088 fixed OnInit, GetStyleSheets may return null if no css files found by
1091 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
1093 * TemplateControl.jvm.cs: fixed WireupAutomaticEvents, removed access
1094 modifiers check on event handlers
1096 2006-08-22 Vladimir Krasnov <vladimirk@mainsoft.com>
1098 * Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx
1100 * TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
1101 fixed TemplateSourceDirectory, should not work on master pages.
1103 2006-08-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1105 * MasterPageParser.jvm.cs: fixed path resolving
1106 GetCompiledMasterInstance
1108 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1110 * TemplateControl.jvm.cs: fixed data binding API, implemented
1111 AppRelativeVirtualPath, ReadStringResource
1113 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1115 * Page.cs: added stubs to run aspx files compiled by .net
1117 2006-08-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1119 * MasterPageParser.jvm.cs: implemented
1121 2006-08-10 Andrew Skiba <andrews@mainsoft.com>
1123 * Page.cs: render css path as a virtual path.
1125 2006-08-09 Robert Jordan <robertj@gmx.net>
1127 * Control.cs: add the 2.0 ResolveClientUrl method.
1128 Expose ResolveClientUrl as internal for the 1.1 profile.
1131 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1133 * added MasterPageParser.jvm.cs
1135 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1137 * ControlBuilder.jvm.cs: added BuildObject method
1139 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1141 * ParseChildrenAttribute.cs: fixed ChildControlType property to
1143 * UserControl.cs: fixed ParseChildren attribute to be compliant
1146 2006-08-08 Igor Zelmanovich <igorz@mainsoft.com>
1148 * Page.cs: implemented MaintainScrollPositionOnPostBack feature
1150 2006-08-06 Vladimir Krasnov <vladimirk@mainsoft.com>
1152 * Control.cs: fixed EnableTheming proprty, fixes bug when child
1153 control has EnableTheming=false and parent has true.
1155 2006-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1157 * MasterPage.cs: fixed default values, fixed AddContentTemplate
1159 2006-07-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1161 * Control.cs: fixed EnableTheming proprty, fixes the bug when skins
1162 are applied even if EnableTheming property was set to false.
1164 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
1166 * DataSourceView.cs: refactor to keep the original exception stack.
1168 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1170 * PostBackOptions.cs: default to String.Empty for several field values.
1171 Patch by Marek Habersack.
1173 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1175 * Page.cs: when ProcessRequest is not called, get the session from
1176 the current context. Fixes bug #78730.
1178 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1180 * Page.cs: fix IsPostback for AJAX calls to match MS behavior. Patch
1181 by Peijen Lin that closes bug #78646.
1183 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1185 * TemplateControlParser.cs: fix compilation caching when more than one
1186 @control is compiled from source. Closes bug #78626.
1188 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1190 * Page.cs: add the 2.0 Items property. Fixes bug #78467.
1192 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1194 * Page.cs: use the new internal LosFormatter.SerializeToBase64.
1195 * LosFormatter.cs: always work on base 64 strings even if the
1196 input/output is on a Stream. Fixes bug #78640.
1198 2006-06-08 Konstantin Triger <kostat@mainsoft.com>
1200 * Page.cs: For loading themes, use '~/App_Themes' instead of
1201 './App_Themes' to enable theme support for files in sub folders.
1203 2006-05-25 Andrew Skiba <andrews@mainsoft.com>
1205 * Control.cs: move 2.0 stuff into ifdef NET_2_0
1207 2006-05-25 Andrew Skiba <andrews@mainsoft.com>
1209 * Page.cs, Control.cs: Fix the order of OnInit invocation of controls
1210 created via master page content (see
1211 http://lists.ximian.com/pipermail/mono-devel-list/2006-May/018585.html ).
1213 2006-05-11 Andrew Skiba <andrews@mainsoft.com>
1215 * Page.cs, PageTheme.cs: This patch uses LinkedStyleSheets from the
1216 PageTheme and from StyleSheetPageTheme to insert links in page header.
1218 2006-05-10 Andrew Skiba <andrews@mainsoft.com>
1220 * TemlpateParser.cs: surround file name with quotes
1222 2006-05-08 Chris Toshok <toshok@ximian.com>
1224 * ControlBuilder.cs (ResetState): set renderIndex to 0 here. This
1225 fixes the last thing keeping the test in #76818 from working.
1227 2006-05-07 Andrew Skiba <andrews@mainsoft.com>
1229 * Page.cs: if no theme is defined in aspx, read default from web.config.
1230 Same for the style sheet theme.
1232 2006-04-27 Andrew Skiba <andrews@mainsoft.com>
1234 * TemplateParser.cs: format according to
1235 http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018096.html
1237 2006-04-25 Chris Toshok <toshok@ximian.com>
1239 * PageThemeParser.cs (LinkedStyleSheets): reformat.
1241 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
1243 * Control.cs: implementation for IsViewStateEnabled.
1245 2006-04-25 Andrew Skiba <andrews@mainsoft.com>
1247 * Control.cs: fix null pointer exception
1249 2006-04-23 Andrew Skiba <andrews@mainsoft.com>
1251 * PageThemeParser.cs: add LinkedStyleSheets property
1253 2006-04-16 Andrew Skiba <andrews@mainsoft.com>
1255 * TemplateParser.cs: add internal method AddAssemblyByFileName
1257 2006-04-16 Konstantin Triger <kostat@mainsoft.com>
1259 * SimpleWebHandlerParser.cs: correctly resolve GACs dependencies.
1261 2006-04-11 Konstantin Triger <kostat@mainsoft.com>
1263 * Page.cs, TemplateControl.cs: refactoring implementing Page.GetDataItem().
1265 2006-04-10 Chris Toshok <toshok@ximian.com>
1267 * PageThemeFileParser.cs (AddDirective): allow Register directives
1270 2006-04-02 Chris Toshok <toshok@ximian.com>
1272 * Control.cs (DesignMode): always return false for now. Fixes
1275 2006-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1277 * ControlBuilder.cs: when creating a default property builder, handle
1280 * StringPropertyBuilder.cs: new builder used in TextBox 2.0.
1282 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1284 * ControlCollection.cs: fixed CopyTo method, fixes bug when if target
1287 2006-03-13 Chris Toshok <toshok@ximian.com>
1289 * HtmlTextWriterTag.cs: no [Serializable] in 2.0.
1291 * HtmlTextWriterAttribute.cs: same.
1293 * HtmlTextWriterStyle.cs: same.
1295 * VirtualReferenceType.cs: new enum.
1297 2006-03-13 Chris Toshok <toshok@ximian.com>
1299 * UserControl.cs: rework InitializeAsUserControl and
1300 InitializeAsUserControlInternal - the Internal variety doesn't set
1301 this.page to null now.
1303 * MasterPage.cs (CreateMasterPage): map the masterPageFile path,
1304 and also remove a line of spew.
1306 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1308 * Added PageParser.jvm.cs, WebServiceParser.jvm.cs
1310 2006-03-07 Chris Toshok <toshok@ximian.com>
1312 * Page.cs (InitializeStyleSheet): load the style sheet theme using
1313 ThemeDirectoryCompiler.
1314 (InitializeTheme): load the page's theme using
1315 ThemeDirectoryCompiler.
1316 (InternalProcessRequest): call InitializeTheme after OnPreInit.
1317 (FrameworkInitialize): call InitializeStyleSheet.
1318 (PageTheme,StyleSheetPageTheme): new properties to get the
1321 * Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
1322 on the ControlSkin (if there is one) for this control in the
1323 page's StyleSheetSkin.
1324 (ApplyThemeRecursively): applies the page's theme recursively to
1325 the control hierarchy. Must be done this way because the control
1326 tree is already present when we apply the theme (it has to be,
1327 since theme's override settings).
1329 * PageTheme.cs (GetControlSkin): add internal call to do the
1332 * PageThemeFileParser.cs: the parser object that represents each
1333 individual skin file.
1335 * PageThemeParser.cs: the parser object that represents the entire
1338 * PageThemeBuilder.cs: this class generates the right exception on
1339 the right event, but it's not hooked up yet.
1341 2006-03-02 Chris Toshok <toshok@ximian.com>
1343 * Control.cs (ApplyStyleSheetTheme): remove the exception, and add
1346 * Page.cs (Theme): implement setter/getter.
1347 (StyleSheetTheme): same.
1349 * PageParser.cs (ProcessMainAttributes): parse the Theme and
1350 StyleSheetTheme attributes.
1352 2006-02-27 Chris Toshok <toshok@ximian.com>
1354 * TemplateControl.cs: corcompare work.
1356 * ExpressionBindingCollection.cs: same.
1358 * HierarchicalDataSourceControl.cs: same.
1360 * PostBackOptions.cs: same.
1362 * ClientScriptManager.cs: same.
1364 * FilterableAttribute.cs: same.
1366 * ControlCollection.cs: same.
1368 * DataBindingCollection.cs: same.
1370 * PropertyEntry.cs: mark ctor internal.
1372 * SimpleWebHandlerParser.cs: mark the 2.0 ctor as internal.
1374 * Page.cs: stub out two Theme oriented 2.0 properties.
1376 * DataBinder.cs: remove the obsolete attribute on the ctor.
1378 * TwoWayBoundPropertyEntry.cs: remove this.
1380 * ControlBuilder.cs (BindingContainerType): virtual in 2.0.
1382 * ThemeProvider: new (stubbed) class.
1384 * SkinBuilder.cs: same.
1386 * PageTheme.cs: same.
1388 * ControlSkin.cs: same.
1390 * ControlSkinProc.cs: rename this to ControlSkinDelegate.cs.
1392 * SimplePropertyEntry.cs: mark ctor as internal.
1394 * IThemeResolutionService.cs: enable the 3 members of this
1397 2006-02-27 Chris Toshok <toshok@ximian.com>
1399 * ListSourceHelper.cs: this class is static.
1401 * Page.cs: add some EditorBrowsable attributes to the 2.0 events.
1403 2006-02-27 Chris Toshok <toshok@ximian.com>
1405 * DataSourceView.cs: Name isn't virtual.
1407 * DataSourceControl.cs: beat this class over the head with the
1410 * DataSourceControlBuilder.cs: new stubbed control builder for
1413 2006-02-23 Chris Toshok <toshok@ximian.com>
1415 * Page.cs: more corcompare work.
1417 2006-02-23 Chris Toshok <toshok@ximian.com>
1419 * Page.cs (ProcessCallbackData): track change to
1420 ICallbackEventHandler iface.
1422 * ICallbackEventHandler.cs: enable the proper members of this
1425 * DataSourceSelectArguments.cs: reformat getter/setters.
1427 2006-02-22 Cesar Lopez Nataren <cnataren@novell.com>
1429 * HtmlTextWriter.cs: Added method WriteEncodedText for the .NET 2.0 profile.
1431 2006-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1433 * WebHandlerParser.cs:
1434 * WebServiceParser.cs:
1435 * UserControlParser.cs:
1436 * PageParser.cs: added new ctor that uses a TextReader as input.
1438 * TemplateControlParser.cs: new Reader property.
1439 * SimpleWebHandlerParser.cs: new Reader property and ctor.
1441 2006-02-12 Cesar Lopez Nataren <cnataren@novell.com>
1443 * HtmlTextWriter.cs: Implemented IsValidFormAttribute and
1444 WriterBreak for the .NET 2.0 profile.
1446 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1448 * IThemeResolutionService.cs: this is now added to the
1449 sources file, but some other stuff does not compile yet as the
1450 interface changed after the beta.
1452 * ObjectConverter.cs: removed extra attribute.
1454 * ObjectStateFormatter.cs: add IStateFormatter for 2.0.
1456 * ICallbackEventHandler.cs: update the interface, but commented the
1457 'good' stuff out, since other files need to be fixed too.
1459 2006-02-07 Chris Toshok <toshok@ximian.com>
1461 * ControlBuilder.cs: rename flushOutputStatements to
1462 methodStatements to at least reflect that they're in that method.
1464 2006-02-07 Chris Toshok <toshok@ximian.com>
1466 * MasterPage.cs (CreateMasterPage): don't nullref on null
1467 contentTemplateCollection.
1469 * ControlBuilder.cs: add a flushOutputStatements field.
1471 * PageParser.cs (ProcessMainAttributes): handle Title attribute.
1472 (Title): add getter.
1474 * Page.cs (Title): implement getter/setter.
1475 (InternalProcessRequest): after calling ApplyMasterPage, apply the
1476 page's Title directive if there is one.
1477 (AddContentTemplate): make the EditorBrowsable attribute apply to
1478 the method, not the field.
1480 2006-02-07 Chris Toshok <toshok@ximian.com>
1482 * MasterPage.cs: rework this file, adding some static methods
1483 gleaned from MS stack traces, and clear up the propogation of
1484 content templates between nested master pages.
1486 * Control.cs (TemplateControl): implement.
1488 * TemplateControl.cs: re-indent some of the code.
1489 (ReadStringRecource): according to msdn2, these throw
1490 NotSupportedException.
1492 * MasterPageParser.cs (HandleOption): implement. assign our
1493 master page's MasterPageFile from the UserControl property.
1495 * UserControl.cs (InitializeAsUserControlInternal): new method
1496 that allows initialization without a page.
1498 * UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
1499 MasterPageFile attributes, so we can have nested master pages.
1500 (MasterPageFile): add a 2.0 specific property.
1502 * TemplateControlParser.cs: in .net 2.0, our base class is
1504 (HandleOptions): be consistent and call base.HandleOptions.
1506 * BaseTemplateParser.cs: new (stubbed) class.
1508 * MasterPageControlBuilder.cs: new file, not filled in (and really
1511 * Page.cs (InternalProcessRequest): call ApplyMasterPage.
1512 (SaveExistingContentTemplates): nuke.
1513 (ReapplyExistingContentTemplate): nuke.
1514 (ApplyMasterPage): if we have a master page, call
1515 MasterPage.ApplyMasterPageRecursive with it and add it to our
1517 (set_MasterPageFile): remove call to SaveExistingContentTemplates.
1518 (get_Master): call MasterPage.CreateMasterPage.
1519 (AddContentTemplate): keep track of the page's content templates
1520 in a local Hashtable - they aren't our master page's content
1523 2006-02-01 Chris Toshok <toshok@ximian.com>
1525 * TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
1526 calls to GetWebApplicationSection with GetSection.
1528 * SimpleWebHandlerParser.cs: same.
1532 * PageParser.cs: same.
1534 * BaseParser.cs: same.
1536 2006-01-27 Chris Toshok <toshok@ximian.com>
1538 * MasterPage.cs (ContentTemplatesInternal): add get/set for the
1541 * Page.cs (SaveExistingContentTemplates): store off the existing
1542 MasterPage content templates so they can be reapplied when setting
1543 MasterPageFile to something else.
1544 (ReapplyExistingContentTemplates): set masterPage's
1545 ContentTemplates to our saved copy.
1546 (set_MasterPageFile): save off the current content templates
1547 before clearing masterPage.
1548 (get_Master): reapply the saved content templates after we create
1551 2006-01-25 Chris Toshok <toshok@ximian.com>
1553 * ClientScriptManager.cs (RegisterClientScriptResource): last
1554 patch, I swear. How can 1 line of code have 3 bugs?
1556 2006-01-25 Chris Toshok <toshok@ximian.com>
1558 * ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
1559 problem with last commit - unquote "resourceName" so it uses the
1560 parameter instead of the string constant.
1562 2006-01-22 Chris Toshok <toshok@ximian.com>
1564 * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
1567 * PageParser.cs (ProcessMainAttributes): i missed a
1568 CONFIGURATION_2_0 block.
1570 * BoundPropertyEntry.cs (.ctor): mark as internal to fix
1573 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
1575 * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
1577 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
1579 * HtmlTextWriter.cs: perform case insensitive compare;
1580 return correct key in default case.
1582 2006-01-11 Chris Toshok <toshok@ximian.com>
1584 * ClientScriptManager.cs (RegisterClientScriptResource):
1587 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1589 * ObjectStateFormatter.cs: Removed TARGET_JVM parts in
1592 2006-01-10 Chris Toshok <toshok@ximian.com>
1594 * Page.cs (ValidateCollection): in NET_2_0 if event validation is
1597 2006-01-09 Chris Toshok <toshok@ximian.com>
1599 * Page.cs: fix a lot of indentation, and add the
1600 EnableEventValidation .net 2.0 property.
1602 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1604 * ObjectStateFormatter.cs: Merged TARGET_JVM parts in
1605 TypeFormatter.Read, TypeFormatter.Write from /main/5
1607 2006-01-09 Konstantin Triger <kostat@mainsoft.com>
1609 * Page.cs: make ProcessRequest virtual under TARGET_JVM.
1611 2006-01-04 Chris Toshok <toshok@ximian.com>
1613 * TemplateParser.cs (.ctor): kinda gross, but handle the
1614 AddAssembliesInBin case here.
1616 * SimpleWebHandlerParser.cs (.ctor): same.
1618 2006-01-04 Chris Toshok <toshok@ximian.com>
1620 * SimpleWebHandlerParser.cs: Remove the declaration of
1621 compilationConfig in the CONFIGURATION_2_0 case. it's
1623 (.ctor): ifdef out the AddAssembliesInBin call in the
1624 CONFIGURATION_2_0 case. need to revisit this.
1625 (CompilationConfig): add a CONFIGURATION_2_0 version.
1627 * BaseParser.cs: Remove the declaration of compilationConfig in
1628 the CONFIGURATION_2_0 case. it's unnecessary.
1630 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1632 * Control.cs: use _controls instead of the property wherever possible.
1634 2005-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1636 * Control.cs: use the _controls field instead of the Controls property.
1639 2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
1641 * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
1643 * KeyedListEnumerator.cs: Now internal.
1645 2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1647 * ControlCollection.cs: allow 'null' in Remove.
1649 2005-11-28 Chris Toshok <toshok@ximian.com>
1651 * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
1653 * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
1654 (PagesConfig): add a CONFIGURATION_2_0 version that returns a
1657 * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
1659 * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
1660 version that returns a CompilationSection.
1662 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1664 * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
1666 2005-11-09 Chris Toshok <toshok@ximian.com>
1668 * ViewStateEncryptionMode.cs: new 2.0 enum.
1670 2005-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1672 * TemplateParser.cs: fixes #76423. Not tested properly.
1674 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1676 * Page.cs: call LoadViewStateRecursive when the Form collection has
1677 not been used by a different page (GetTypeHashCode). This fixes problems
1678 when calling Server.Transfer while preserving Form and QueryString,
1679 as the page we transfer to used the view state stored in the Form, which
1680 contained the serialized data for the page calling Server.Transfer
1683 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1685 * Page.cs: add/remove the error before/after invoking OnError.
1687 2005-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1689 * Page.cs: call OnError when there's an exception (not for TAE). Fixes
1692 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1694 * TemplateControl.cs:
1695 * PartialCachingControl.cs: if a control is cacheable, LoadControl
1696 returns a PartialCachingControl that holds the VaryBy* and takes care
1697 of partial caching and rendering. Fixes bug #76547.
1699 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1701 * Page.cs: don't cache the 'Validate()' results. IsValid retests
1702 the validators again.
1704 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1706 * DesignerDataBoundLiteralControl.cs: changed autoid api.
1707 * DataBoundLiteralControl.cs: changed autoid api.
1709 * Control.cs: fixlet for UniqueID and weird test case. Removed
1710 PreventAutoID and only use the property to set that value.
1712 * LiteralControl.cs: changed autoid api.
1714 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1716 * AttributeCollection.cs: avoid code duplication and
1717 don't add "style" to the bag, or it will overwrite the settings made
1718 by CssStyleCollection.
1720 * CssStyleCollection.cs: make it throw where MS throws.
1721 Minimize the number of times we create the "style" string and take
1722 care of updating it for the AttributeCollection. FillStyle and
1723 BagToString are now private. One should use the 2.0 (internal in <2.0)
1726 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1728 * Control.cs: fix HasChildViewStates.
1730 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1732 * LosFormatter.cs: when the default ctor is used, MAC is disabled.
1735 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1737 * ObjectTagBuilder.cs: only fail when no id and no attributes.
1739 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1741 * DataBindingCollection.cs: Using an hashtable is a nice trick but
1742 we need to copy values (not the DictionaryEntry) in CopyTo.
1743 * Page.cs: IsValid throws an exception if the page hasn't be
1744 validated. VerifyRenderingInServerForm doesn't throw an exception
1745 during unit testing (without a context?) but does in normal ops.
1747 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1749 * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
1750 save the allocation of new MemoryStreams when possible. Thanks to
1753 2005-09-23 Ben Maurer <bmaurer@ximian.com>
1755 * HtmlTextWriter.cs: Initial support for escaping.
1757 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1759 * ViewStateOutputHashStream.cs: Removed. It didn't last long.
1761 * Page.cs: almost restored to its previous state, but now that we found
1762 that LosFormatter ctor that takes 'enableMac', moved the logic to
1763 add the hash and validate there. Thanks to Sebastien for his input.
1765 * LosFormatter.cs: implemented the missing ctors and support for
1766 "MAC" validation of the data.
1768 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1771 * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
1772 prevents the viewstate being altered on the client and it's disabled
1773 by default as per the documentation, but MS machine.config has it
1774 enabled in machine.config.
1776 2005-09-22 Miguel de Icaza <miguel@novell.com>
1778 * DataBindingCollection.cs: Raise the event, remove MonoTODO.
1780 * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
1783 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1785 * Control.cs: Added null checks for Trace as it can be null when
1786 rendering (like it was for 39 unit tests).
1788 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1790 * Page.cs: reverted hacks used with the wrong method of getting a
1791 control rendered size.
1792 * Control.cs: if the trace is enabled, save control rendered size.
1794 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1796 * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
1797 now use HtmlHeader directly.
1798 * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
1799 rewrote Equals to avoid dual type cast.
1801 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1803 * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
1805 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
1807 * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
1808 * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
1809 with Minimal level. Fixed checks on ctor.
1810 * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
1811 AspNetHostingPermission with Minimal level.
1812 * TemplateContainerAttribute.cs: Added LinkDemand for
1813 AspNetHostingPermission with Minimal level.
1814 * TemplateControl.cs: Added LinkDemand and InheritanceDemand for
1815 AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
1816 Stubbed IFilterResolutionService for CAS testing.
1817 * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
1818 AspNetHostingPermission with Minimal level.
1819 * TemplateParser.cs: Added LinkDemand and InheritanceDemand for
1820 AspNetHostingPermission with Minimal level.
1821 * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
1822 with Minimal level. Removed IDispose interface.
1823 * ToolboxDataAttribute.cs: Added LinkDemand for
1824 AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
1825 to work on both 1.x and 2.0 profiles.
1826 * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
1827 for AspNetHostingPermission with Minimal level.
1828 * UserControl.cs: Added LinkDemand and InheritanceDemand for
1829 AspNetHostingPermission with Minimal level. Stubbed
1830 IFilterResolutionService for CAS testing.
1831 * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
1832 for AspNetHostingPermission with Minimal level.
1833 * ValidationPropertyAttribute.cs: Added LinkDemand for
1834 AspNetHostingPermission with Minimal level.
1835 * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
1837 * WebResourceAttribute.cs: Removed extra ctor and added setter to
1838 PerformSubstitution.
1839 * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
1840 AspNetHostingPermission with Minimal level.
1842 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1844 * ParseChildrenAttribute.cs: Added LinkDemand for
1845 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1846 casting. Added new ctor and public fields (2.0). Changed
1847 ChildControlType setter visibility to internal.
1848 * PartialCachingAttribute.cs: Added LinkDemand for
1849 AspNetHostingPermission with Minimal level. Added new ctor and
1850 SqlDependency property (2.0).
1851 * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
1852 AspNetHostingPermission with Minimal level.
1853 * PersistenceModeAttribute.cs: Added LinkDemand for
1854 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1856 * PersistChildrenAttribute.cs: Added LinkDemand for
1857 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
1859 * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
1860 with Minimal level. Class is static in 2.0.
1861 * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
1862 AspNetHostingPermission with Minimal level. Class is no more sealed in
1863 2.0. Added new (2.0) BuiltObjects property.
1864 * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
1865 for AspNetHostingPermission with Minimal level.
1866 * StateItem.cs: Added LinkDemand for AspNetHostingPermission with
1868 * StateBag.cs: Added LinkDemand for AspNetHostingPermission with
1869 Minimal level. Removed SetDirty() which was called (2.0) but did
1871 * StaticPartialCachingControl.cs: Added LinkDemand and
1872 InheritanceDemand for AspNetHostingPermission with Minimal level.
1874 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1876 * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
1877 AspNetHostingPermission with Minimal level. Added new 2.0 properties
1878 (but the generated HTML doesn't use them).
1879 * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
1880 AspNetHostingPermission with Minimal level.
1881 * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
1883 * LiteralControl.cs: Added LinkDemand and InheritanceDemand for
1884 AspNetHostingPermission with Minimal level. Default Text is null.
1885 * LosFormatter.cs: Added LinkDemand and InheritanceDemand for
1886 AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
1887 * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
1888 AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
1889 * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
1890 with Minimal level. Added check for null id (HttpException).
1891 * Page.cs: Added LinkDemand and InheritanceDemand for
1892 AspNetHostingPermission with Minimal level. Throw some HttpException
1893 when no context is available.
1894 * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
1895 level. InheritanceDemand too for 1.x.
1896 * PageParser.cs: Added LinkDemand for AspNetHostingPermission with
1899 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1901 * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
1902 Minimal level. Fixed some exceptions.
1903 * DataBindingCollection.cs: Added LinkDemand for
1904 AspNetHostingPermission with Minimal level. Added 2.0 method and
1906 * DataBindingHandlerAttribute.cs: Added LinkDemand for
1907 AspNetHostingPermission with Minimal level.
1908 * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
1909 Minimal level. Simplified Equals (reduced casts).
1910 * DataBoundLiteralControl.cs: Added LinkDemand for
1911 AspNetHostingPermission with Minimal level. Implemented ITextControl
1913 * DesignerDataBoundLiteralControl.cs: Added LinkDemand for
1914 AspNetHostingPermission with Minimal level.
1915 * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
1916 with Minimal level. Added new 2.0 properties.
1917 * DesignTimeTemplateParser.cs: Added LinkDemand for
1918 AspNetHostingPermission with Minimal level. Made class static and
1919 stubbed missing methods (2.0).
1920 * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
1921 for AspNetHostingPermission with Minimal level. Changed Add* methods
1922 exceptions to HttpException.
1924 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1926 * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
1928 * BaseParser.cs: Added LinkDemand and InheritanceDemand for
1929 AspNetHostingPermission with Minimal level.
1930 * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
1931 for AspNetHostingPermission with Minimal level.
1932 * CompiledTemplateBuilder.cs: Added LinkDemand for
1933 AspNetHostingPermission with Minimal level.
1934 * ConstructorNeedsTagAttribute.cs: Added LinkDemand for
1935 AspNetHostingPermission with Minimal level.
1936 * ControlBuilderAttribute.cs: Added LinkDemand for
1937 AspNetHostingPermission with Minimal level. Simplified Equals and
1939 * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
1940 AspNetHostingPermission with Minimal level.
1941 * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
1942 * ControlCollection.cs: Added LinkDemand and InheritanceDemand for
1943 AspNetHostingPermission with Minimal level. Fixed possible stack
1944 overflow in Add* methods. Fixed CopyTo as we're not allocating the
1945 array based on the number of items.
1946 * Control.cs: Added LinkDemand and InheritanceDemand for
1947 AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
1948 * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
1950 * IStyleSheet.cs: Fixed parameter orders (2.0).
1952 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1954 * TemplateParser.cs: default VS 2005 pages are compiled fine now.
1956 2005-09-07 Chris Toshok <toshok@ximian.com>
1958 * MinimizableAttributeTypeConverter.cs: new class, whose existence
1959 we know about because of corcompare, and for whose implementation
1960 we have exclusively nunit to thank.
1962 2005-09-06 Chris Toshok <toshok@ximian.com>
1964 * RootBuilder.cs (.cctor): doh, add all the new html controls
1967 2005-08-31 Chris Toshok <toshok@ximian.com>
1969 * DataSourceSelectArguments.cs (Empty): this is apparently,
1970 according to corcompare, a property, not a field. go figure.
1971 (Equals): implement.
1972 (IsEmpty): remove all mention of it.
1974 2005-08-29 Chris Toshok <toshok@ximian.com>
1976 * StateBag.cs (GetChar): add.
1978 2005-08-28 Chris Toshok <toshok@ximian.com>
1980 * Page.cs: more random corcompare work.
1981 (PageAdapter): implement.
1983 2005-08-28 Chris Toshok <toshok@ximian.com>
1985 * Page.cs (.ctor): set our initial ID to "__Page".
1986 (SmartNavigation): obsolete in 2.0.
1987 (FindControl): new implementation. Just check our own ID against
1988 the control we're looking for. otherwise pass it along to
1990 (GetPostBackClientHyperlink): obsolete in 2.0.
1992 2005-08-28 Chris Toshok <toshok@ximian.com>
1994 * ClientScriptManager.cs: public sealed in 2.0
1996 * IAdaptableTextWriter.cs: new 2.0 interface.
1998 * IHierarchyData.cs: fix return type for GetParent.
2000 2005-08-28 Chris Toshok <toshok@ximian.com>
2002 * Pair.cs: mark serializable and sealed in 2.0.
2004 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
2006 * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
2007 existing (but internal) FillStyle method. Rewrote BagToString to use an
2008 HtmlTextWriter so we get the "right" format for background-image url.
2010 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
2012 * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
2013 Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
2014 the extra space from last patch because they break some unit tests.
2016 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
2018 * CssStyleCollection.cs: Added some spacing.
2019 * HtmlTextWriter.cs: Made style and attribute tables static.
2020 Implemented StaticGetStyleName().
2022 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
2024 * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
2026 * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
2027 The new rendering formats the value as "url(" + original + ")".
2029 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
2031 * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
2032 depends on the HtmlTextWriterStyle ordering).
2034 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2036 * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
2038 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2040 * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
2041 fixed the rest of the enum values).
2042 * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
2043 parameter to match 2.0 API. Added a setter to the AllowedTypes
2046 2005-08-24 Chris Toshok <toshok@ximian.com>
2048 * Control.cs (get_Adapter): Instead of throwing an exception, just
2049 return null, so we can write the rest of the Control specific
2050 Adapter code and just not enable any of those code paths until we
2051 have actual adapters. Also flag TODO.
2052 (EnsureChildControls): Call out to Adapter.CreateChildControls if
2054 (RenderChildren): call "RenderControl (writer, adapter)" if we
2056 (RenderControl): implement the adapter case naively.
2057 (LoadRecursive): call out to Adapter.OnLoad if we have one.
2058 (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
2060 (InitRecursive): call out to Adapter.OnInit if we have one.
2062 2005-08-24 Chris Toshok <toshok@ximian.com>
2064 * Page.cs (GetPostBackEventReference): track change to
2065 ClientScriptManager and don't call a removed method.
2067 * ClientScriptManager.cs: track more recent docs and corcompare
2070 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
2072 * KeyedList.cs: Fixed bug when removing an unexisting object.
2073 * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
2074 in implementing RoleGroupCollection.
2076 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
2078 * Page.cs: Use Control property (and not the _control variable) to get
2079 the User (so the virtual Control property can be overriden properly).
2080 Sadly this doesn't seems to be the case for other properties (like
2083 2005-08-18 Dick Porter <dick@ximian.com>
2085 * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
2086 UserControl.cs, DesignerDataBoundLiteralControl.cs,
2087 PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
2088 BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
2089 stubs and attribute fixes
2091 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
2093 * Control.cs: Add protected virtual SetDesignModeState, in 2.0
2094 profile, as this is required for the Login control.
2096 2005-08-11 Dick Porter <dick@ximian.com>
2098 * CssStyleCollection.cs: Tweak the css string format to pass a
2101 * AttributeCollection.cs: Don't NRE if someone sets the "style"
2104 2005-08-05 Ben Maurer <bmaurer@ximian.com>
2106 * HtmlTextWriter.cs: Revert the patch below, see test case
2108 2005-08-05 Dick Porter <dick@ximian.com>
2110 * HtmlTextWriter.cs: Make <option> tags render inline, to match
2113 2005-08-03 Ben Maurer <bmaurer@ximian.com>
2115 * HtmlTextWriter.cs: Optmize this not to do insane amounts of
2116 allocation for large pages, etc.
2118 2005-07-30 Chris Toshok <toshok@ximian.com>
2120 * Page.cs (VerifyRenderingInServerForm): copy MS's error message
2121 since our form-errors jsunit tests depend on it.
2123 2005-07-30 Chris Toshok <toshok@ximian.com>
2125 * DataBinder.cs (FormatResult): make internal, not private.
2127 2005-07-29 Ben Maurer <bmaurer@ximian.com>
2129 * StateBag.cs: Don't remove when tracking viewstate, as per msft
2132 2005-07-29 Ben Maurer <bmaurer@ximian.com>
2134 * StateBag.cs: Actually *remove* items that are null. Duh.
2136 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
2138 * Page.cs: Need to throw exception when accessing Request but no
2141 2005-07-20 Chris Toshok <toshok@ximian.com>
2143 * ClientScriptManager.cs (GetClientValidationEvent): the JS we
2144 stick in onclick handlers for buttons/links/etc.
2146 * Page.cs (GetSubmitStatements): new function to return
2147 scriptManager.WriteSubmitStatements. Used by HtmlForm.
2148 (AreValidatorsUplevel): used by many of the button/linkbutton
2149 controls (the ones that can CauseValidation) to tell whether or
2150 not to emit client side validation calls.
2152 2005-07-20 Chris Toshok <toshok@ximian.com>
2154 * WebResourceAttribute.cs: make internal (and available) in
2157 2005-07-20 Chris Toshok <toshok@ximian.com>
2159 * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
2160 available) in !NET_2_0.
2162 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
2164 * Control.cs: Added IDataBindingsAccessor interface methods
2166 2005-07-18 Ben Maurer <bmaurer@ximian.com>
2168 * HtmlTextWriter.cs: Fix nested indentation
2170 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
2172 * Control.cs: Added missing IParserAccessor.AddParsedSubObject
2175 2005-07-18 Ben Maurer <bmaurer@ximian.com>
2177 * HtmlTextWriter.cs: Fix indentation (somewhat at least)
2179 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
2182 - Default name for controls on MS.Net is "_ctl" not "_ctrl"
2183 - MS does not append 'a' for auto-generated names
2185 2005-07-17 Ben Maurer <bmaurer@ximian.com>
2187 * AttributeCollection.cs: Use the invariant culture.
2189 * StateBag.cs: "Duh" optimization: return null when there are no
2190 dirty items in the view state
2192 2005-07-14 Ben Maurer <bmaurer@ximian.com>
2194 * StateBag.cs: A "short" version of my favorite method.
2196 * HtmlTextWriter.cs: New method to get the tag name staticly.
2198 2005-07-14 Duncan Mak <duncan@novell.com>
2200 * DataBindingHandlerAttribute.cs: Fixed after receiving some
2201 comments from Gonzalo.
2203 2005-07-13 Jackson Harper <jackson@ximian.com>
2205 * PropertyConverter.cs: No public constructors.
2207 2005-07-13 Ben Maurer <bmaurer@ximian.com>
2209 * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
2211 2005-07-12 Ben Maurer <bmaurer@ximian.com>
2213 * HtmlTextWriter.cs: Make styles work.
2215 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
2217 * AttributeCollection.cs:
2218 - Changes to match MS behaviour, the "style" attribute is always
2219 added to the list, in addition to being added to the
2220 CssStyleCollection. Also added check for "style" attribute when
2221 setting via index setter
2222 - When "Style" attribute is added, CssStyleCollection is
2223 automatically created
2224 - The style keyword needs to be lowercase
2226 2005-07-11 Ben Maurer <bmaurer@ximian.com>
2228 * HtmlTextWriter.cs: Missing a PopEndTag here.
2230 * PropertyConverter.cs: Pass tests
2232 2005-07-09 Miguel de Icaza <miguel@novell.com>
2234 * DataBindingHandlerAttribute.cs: Create the "Default" property.
2236 2005-07-09 Duncan Mak <duncan@novell.com>
2238 * DataBindingHandlerAttribute.cs: Implemented.
2240 2005-07-08 Ben Maurer <bmaurer@ximian.com>
2242 * HtmlTextWriter.cs: Much better compliance with msft
2244 2005-07-08 Jackson Harper <jackson@ximian.com>
2246 * ToolbarDataAttribute.cs: New implementation.
2248 2005-07-07 Jackson Harper <jackson@ximian.com>
2250 * PropertyConverter.cs: New implementation.
2252 2005-07-07 Ben Maurer <bmaurer@ximian.com>
2254 * StateBag.cs: Noticed an issue where SetDirty was called when the
2257 2005-07-07 Ben Maurer <bmaurer@ximian.com>
2259 * StateBag.cs: Add a method that gets a string or else a default
2262 2005-07-07 Dick Porter <dick@ximian.com>
2264 * StateBag.cs: Added internal SetDirty (void) method to fix the
2267 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
2269 * HtmlTextWriter.cs: Small fixlet when attribute has no value.
2271 2005-07-07 Miguel de Icaza <miguel@novell.com>
2273 * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
2276 * StateBag.cs: Add NET_2_0 SetDirty method to get the build
2279 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
2281 * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
2283 2005-07-06 Ben Maurer <bmaurer@ximian.com>
2285 * HtmlTextWriter.cs: Make sure to clear attributes when they are
2288 * StateBag.cs: New impl
2290 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2293 * Control.cs: avoid the creation of the EventHandlerList and accessing
2294 to it whenever possible. Fix ENABLE_THEMING constant.
2296 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2298 * TemplateParser.cs:
2299 * TemplateControlParser.cs:
2300 * UserControlParser.cs: detect circular references when a control tries
2301 to register itself as a tag. Fixes bug #75376.
2303 2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2305 * PageParser.cs: don't try to compile the master page if it wan't
2306 provided. Use MapPath from the base classes instead of the long
2307 version. Fixes bug #75269 that prevented xsp2 from working properly.
2309 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
2311 * MasterPage.cs: Clear the default content of placeholders before
2312 adding the page content. Fixes bug #75193.
2314 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
2316 * PageParser.cs: Added MasterType property. Get the type from the
2317 MasterType directive.
2318 * MasterPageParser.cs: Added GetCompiledMasterType method.
2320 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2324 * Control.cs: updates for 1.1 SP1
2326 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
2328 * Control.cs: Added new DataBind() overload for 2.0. The old
2329 method calls this new overload.
2331 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2333 * TemplateParser.cs: ignore empty assembly.Location for in-memory
2334 generated assemblies.
2336 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2338 * Page.cs: added AddContentTemplate method.
2340 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2342 * AttributeCollection.cs: html-encode attribute values. Fixes
2345 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
2347 * DataSourceView.cs: Fix api.
2348 * NonVisualControlAttribute.cs: Implemented.
2349 * IDataItemContainer.cs: Added missing properties.
2350 * Control.cs: Added new EnableTheming and SkinID properties.
2351 * HierarchicalDataSourceControl.cs: Implemented missing methods.
2353 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
2355 * ControlCollection.cs: Added internal setter for ReadOnly.
2357 2005-05-09 Geoff Norotn <gnorton@customerdna.com>
2359 * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
2360 uses instead of codebehind.
2362 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2364 * Page.cs: as setting CurrentCulture is slow, don't set it if the
2365 culture has not changed since before the page started processing.
2367 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2369 * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
2372 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2374 * TemplateParser.cs:
2375 * SimpleWebHandlerParser.cs: removed values assigned and neved used.
2377 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2379 * SimpleWebHandlerParser.cs:
2380 * TemplateParser.cs: always get the location (full path) for assemblies,
2381 even the ones from the GAC.
2383 * BaseCompiler.cs: check that DynamicBase directory exists before
2384 creating the TempFileCollection.
2386 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
2388 * ClientScriptManager.cs: Use a linked list instead of a Hashtable
2389 to store the scripts. In this way, scripts will be rendered in the
2390 same order as they have been registered. It shouldn't be slower
2391 since pages don't have many scripts.
2393 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
2395 * IEditableTextControl.cs: Implemented.
2396 * DataBinder.cs: Marked constructor as obsolete in 2.0.
2397 In GetDataItem, check for the IDataItemContainer interface
2399 * TemplateControl.cs: Improved check for data item.
2401 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2403 * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
2404 * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
2405 for second postback.
2407 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2408 * TemplateParser.cs: Adding support for Strict/Explicit attributes
2409 for @Page/@Control directives as documented at
2410 http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
2411 First step don't choke on them. Fixing #74671
2413 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2415 * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
2416 there from the time when Load wasn't working properly. First part of the
2419 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
2421 * ControlBuilder.cs: The BindingContainerType property happens
2422 to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
2423 which is used to get the binding container that is managing
2424 the current two-way binding context.
2425 * TemplateBuilder.cs: Added some methods and an internal class
2426 to support two-way bindings.
2427 * CompiledBindableTemplateBuilder.cs: Implemented.
2428 * IBindableTemplate.cs: This interface inherits from ITemplate.
2430 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
2432 * ControlBuilder.cs: Added BindingContainerType property,
2433 which works like NamingContainerType but takes into account
2434 template builders with a specific container type (specified
2435 using the TemplateContainerAttribute.
2436 * StateManagedCollection.cs: Reimplemented Save/Load view
2437 state methods. The existing implementation was not correct
2440 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
2442 * DataSourceView.cs: Added null check.
2444 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
2446 * TemplateControl.cs:
2447 * Page.cs: Moved Eval and XPath from Page
2449 * StateManagedCollection.cs: Avoid saving null state.
2451 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
2453 * DataSourceView.cs: Rethrow exceptions not handled by operation
2455 * ITextControl.cs: Removed event.
2456 * CollectionBuilder.cs: Don't crash when a collection has more
2459 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
2461 * Control.cs: Added a new internal property: HasRenderMethodDelegate.
2462 * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
2463 * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
2465 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
2467 * ClientScriptManager.cs: Fix build.
2469 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
2471 * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
2472 since it is deprecated in 2.0.
2473 * Page.cs: Deprecated GetPostBackClientEvent and similar methods
2474 in 2.0. Moved callback management methods to ClientScriptManager.
2475 * ClientScriptManager.cs: Moved here deprecated methods from Page.
2476 In GetPostBackEventReference (PostBackOptions), don't use the
2477 WebForm_DoPostback script if the post can be done with a simple
2479 * PostBackOptions.cs: Fixed default values for some properties.
2481 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2483 * Control.cs: in FindControl, throw if there's more than one control
2484 with the same ID. Fixes bug #73479.
2486 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
2488 * Page.cs: Load control state before loading view state, and the
2490 * DataSourceSelectArguments.cs: Fix recursive property call.
2492 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
2494 * DataSourceView.cs: Fixed incorrect implementation of
2495 RaiseUnsupportedCapabilityError.
2496 * IDataItemContainer.cs: Added new properties.
2497 * Page.cs: Implemented Form property.
2498 * Control.cs: Fixed formatting.
2499 * StateManagedCollection.cs: Track view state of items loaded
2502 2005-02-22 Lluis Sanchez Gual <lluis@novell.com>
2504 * FilterableAttribute.cs: Fix endless loop.
2506 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
2508 * Page.cs: Implemented missing events.
2510 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2512 * BoundPropertyEntry.cs:
2514 * TwoWayBoundPropertyEntry.cs: implemented.
2516 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
2518 * Page.cs: Added support for validation groups. Some fixes in
2519 SavePageControlState().
2520 * IFilterResolutionService.cs: Removed extra field.
2521 * INavigateUIData.cs: Added missing field.
2522 * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
2523 Implemented new interfaces.
2525 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
2527 * Page.cs: Implemented support for cross page postback. Implemented
2528 support for postback with options. Fixed several method and property
2530 * PostBackOptions.cs: Added some TODOs.
2532 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
2534 * ParseChildrenAttribute.cs: Set the correct default value for the
2537 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
2539 * ParseChildrenAttribute.cs: Added 2.0 property.
2540 * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
2541 * Page.cs: Added support for control state.
2542 * TemplateBuilder.cs: ContainerType should be internal.
2543 * Control.cs: Added some new 2.0 methods.
2545 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
2547 * PageParser.cs: Read the MasterPageFile attribute.
2548 * UserControlParser.cs: Not sealed any more since we need to inherit from
2549 it. Added new constructor with an additional "type" parameter.
2550 * MasterPageParser.cs: Parser for master pages.
2551 * Page.cs: Added support for master pages.
2552 * MasterPage.cs: Implemented.
2554 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
2556 * TemplateBuilder.cs: Added a special constructor that takes an
2557 attribute provider as parameter. The container type for the template
2558 may be defined in a TemplateContainerAttribute.
2559 * ControlBuilder.cs: Create the TemplateBuilder using that special
2561 * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
2563 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
2565 * IStyleSheet.cs: Added missing "using".
2566 * Page.cs: Implemented Header property.
2567 * CssStyleCollection.cs: Made BagToString method internal.
2568 * RootBuilder.cs: Register HtmlHead control.
2570 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
2572 * CssStyleCollection.cs: Minor (!) fix.
2573 * HtmlTextWriter.cs: Register names for new 2.0 styles.
2575 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
2577 * CssStyleCollection.cs: Make it work as a standalone collection.
2578 * HtmlTextWriter.cs: Added static method for getting style names.
2580 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2582 * ControlCollection.cs: fix off-by-one and store a null at the end to
2583 remove the reference to the removed control.
2585 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
2587 * ClientScriptManager.cs: Added GetScriptLiteral helper method.
2589 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
2591 * Page.cs: Added support for callback events. Moved theform variable
2592 outside the __doPostBack function, so it can be used by other
2594 * StateBag.cs: Implemented SetDirty().
2596 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2598 * Control.cs: when saving "Visible" into the ViewState, save the value
2599 for this precise control, as using the Visible property might give us
2600 Control's parent visibility. Fixes bug #69200.
2602 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2604 * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
2607 * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
2608 the appRoot + SessionID + vpath format.
2610 Fixes the 3 issues reported in bug #66623.
2612 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
2614 * Page.cs: Moved code for managing client scripts to ClientScriptManager,
2615 which is public in 2.0 and internal in 1.1.
2616 * ClientScriptManager.cs: Implemented.
2618 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
2620 * DataSourceView.cs: Removed extra method.
2622 2004-11-24 Sanjay Gupta <gsanjay@novell.com>
2624 * DataSourveViewSelectCallback.cs: Corrected method signature.
2626 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
2628 * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
2629 even if the class doesn't implement IParserAccessor.
2630 * WebResourceAttribute.cs: Allow multiple attributes of this type.
2632 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
2634 * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
2635 from SqlDataSourceView.cs.
2637 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2639 * Control.cs: unified a few bool fields into an int one.
2641 * ControlCollection.cs: use an array internally instead of always
2642 allocating an arraylist. Also added our own enumerator.
2644 * EmptyControlCollection.cs: there's no 'special' ctor now in the base
2647 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
2649 * DataSourceView.cs: Changes in access modifiers of methods.
2651 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
2653 * DataSourceCapabilities.cs: Added Flags attribute.
2654 * DataSourceSelectArguments.cs: Updated.
2655 * DataSourveView.cs: Updated.
2657 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
2659 * HierarchicalDataSourceView.cs: Corrected class definition and updated.
2661 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2663 * HierarchicalDataSourceView.cs: fix typo.
2665 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
2667 * HierarchicalDataSourceView.cs: Updated.
2669 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
2671 * DataSourceSelectArguments.cs: Initial implementation.
2673 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2675 * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
2677 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2679 * UrlTypes.cs: Updated.
2681 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
2683 * UrlPropertyAttribute.cs: Added new file.
2685 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2687 * Control.cs: even if the control has no children the naming container
2688 may contain the control we're looking for. Fixes bug #67304.
2690 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2692 * AspGenerator.cs: added OtherTags.
2694 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2696 * ControlValuePropertyAttribute.cs: Initial implementation.
2698 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2700 * IPaginationContainer.cs: Corrected name of class.
2702 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2704 * IDReferencePropertyAttribute.cs: Completed implementation.
2706 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
2708 * ThemeableAttribute.cs:
2709 * FilterableAttribute.cs: Code scrubbing and optimization.
2711 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2713 * ThemeableAttribute.cs: Completed implementation.
2715 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2717 * FilterableAttribute.cs: Completed implementation.
2719 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
2721 * Control.cs: Added new attributes and a method.
2722 * FilterableAttribute.cs: New attribute, initial implementation.
2723 * ThemeableAttribute.cs: New attribute, initial implemenataion.
2725 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2727 * TemplateParser.cs: ensure bin directory exists before trying to access
2728 it. Fixes bug #65446 (not closed yet due to dependencies).
2730 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
2732 * Control.cs: Implemented methods of interface IExpressionAccessor.
2734 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2736 * SimpleWebHandlerParser.cs: correctly cache Type instead of the
2737 assembly for ashx/asmx. Otherwise we need to open the file and check
2738 for the class name in there. Thanks to Ben for pointing this out.
2740 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2742 * TemplateParser.cs: removed creation of StringWriter. It's not used.
2743 * Control.cs: don't create the EventHandlerList until requested.
2745 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
2747 * Control.cs: Added new interfaces implemented in .Net 2.0.
2748 * ExpressionBinding.cs: Added new class.
2749 * ExpressionBindingCollection.cs: Added new class.
2751 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2753 * LiteralControl.cs: stylized. This control has EnableViewState disabled
2754 by default and doesn't get an automatic ID. When text is null -> "".
2756 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
2758 * ControlSkinProc.cs:
2759 * DataSourceViewOperationCallback.cs:
2760 * DataSourceViewSelectCallback.cs:
2761 * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
2762 required in definition as delegates by default are sealed.
2764 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
2766 * IDReferencePropertyAttribute.cs: Corrected and changed from interface
2768 * IMobileTextWriter.cs: Corrected method signatures.
2770 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
2772 * ControlSkinProc.cs:
2773 * DataSourceViewOperationCallback.cs:
2774 * DataSourceViewSelectCallback.cs:
2775 * ExtractTemplateValuesMethod.cs: Added new delegates.
2777 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
2779 * IBindableTemplate.cs:
2780 * ICallbackEventHandler.cs:
2781 * IControlBuilderAccessor.cs:
2782 * IControlDesignerAccessor.cs:
2783 * IControlTypeFilter.cs:
2784 * IDataItemContainer.cs:
2785 * IDataSourceViewSchemaAccessor.cs:
2786 * IDReferencePropertyAttribute.cs:
2787 * IExpressionsAccessor.cs:
2788 * IFilterResolutionService.cs:
2789 * IItemPaginationInfo.cs:
2790 * IMobileTextWriter.cs:
2792 * IPaginationContainer.cs:
2793 * IPaginationInfo.cs:
2794 * IResourceResolutionService.cs:
2795 * IResourceUrlGenerator.cs:
2796 * IStateFormatter.cs:
2798 * IThemeResolutionService.cs:
2799 * IUrlResolutionService.cs:
2800 * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
2802 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
2804 * PostBackOptions.cs: Added new file and implemented the class.
2806 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2808 * HtmlTextWriterTag.cs: readded author name.
2810 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
2812 * HtmlTextWriterAttribute.cs:
2813 * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
2814 * CompilationMode.cs:
2815 * ConflictOptions.cs:
2816 * DataSourceCacheExpiry.cs:
2817 * DataSourceCapabilities.cs:
2818 * DataSourceOperation.cs:
2819 * TemplateContentType.cs:
2820 * TemplateInstance.cs:
2822 * VerificationConditionalOperator.cs:
2823 * VerificationReportLevel.cs:
2824 * VerificationRule.cs:
2825 * XhtmlMobileDocType.cs: Added enumerations.
2827 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2829 * Control.cs: style. Reverted previous patch modification of
2830 TemplateSourceDirectory (failed when the control is reparented). Use
2831 HasControls() and Controls all over instead of _controls, as Controls
2832 property and HasControls() might be overriden.
2834 2004-07-27 Alon Gazit <along@mainsoft.com>
2836 * Control.cs: Changed the implementation of TemplateSourceDirectory
2837 and GetDefaultName(). replaced foreach statements with for statements,
2838 in order to improve performence.
2840 2004-07-27 Alon Gazit <along@mainsoft.com>
2842 * Page.cs: changed the implementation of GetViewStateString().
2843 if the view state object is null there is no need to perform
2846 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2848 * TemplateControl.cs: don't include private methods of base classes when
2849 auto-attaching events. Fixes bug 61569.
2851 2004-07-14 Alon Gazit <along@mainsoft.com>
2853 * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
2854 2004-07-08 Pablo Baena <pbaena@gmail.com>
2856 * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
2858 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2860 * Page.cs: added additional checks for saving/displaying trace data.
2862 * PageParser.cs: removed checks for trace enabled in configuration
2865 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2867 * ControlCollection.cs: when clearing the control collection, tell the
2868 owners about the removal. Fixes bug #60800.
2870 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2872 * Page.cs: don't nullify _context after processing the request as there
2873 are events not triggered yet. Fixes bug #60726.
2875 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2877 * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
2880 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2883 * UserControlParser.cs: set the page/user control base type even when no
2884 default directive provided. Fixes bug #60572.
2886 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2888 * PageParser.cs: use default trace settings from web.config and check
2889 if trace is only requested for local connections. Fixes bug #60180.
2891 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2893 * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
2894 we read the default directive, check the cache for the Type and if
2895 present, don't keep reading and store the type found.
2897 * WebHandlerParser.cs:
2898 * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
2901 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2903 * Control.cs: properly fixed bug #59794.
2905 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2908 (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
2911 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2913 * SimpleWebHandlerParser.cs:
2914 * TemplateParser.cs: pass the language when compiling from a file.
2916 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2918 * SimpleWebHandlerParser.cs: if we have a global.asax, move its
2919 reference to the end to help mcs loading the assemblies. Fixes bug
2922 * TemplateParser.cs: same as above. Removed some kludges to workaround
2923 loading assemblies from bin path that are now in the runtime. Don't
2924 load the assemblies in bin if not needed, but still reference them
2927 2004-06-07 Alon Gazit <along@mainsoft.com>
2928 * Page.cs: Changed Page.ProcessPostData().
2929 After the change ,the state of controls that aren't visible is saved
2932 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2934 * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
2936 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2938 * Page.cs: IsPostBack also returns true when method is GET and we have
2939 viewstate information in the query string. Fixes bug #58151.
2941 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2943 * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
2944 HttpRutime.TraceManager.
2946 * PageParser.cs: for 'trace' we have 2 variables now. Added support
2947 for 'buffer' attribute.
2949 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2951 * Page.cs: implemented ClientTarget.
2952 * PageParser.cs: support for clientTarget and check for validity.
2954 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2957 * Html32TextWriter.cs:
2958 * HtmlTextWriter.cs:
2959 * SimpleWebHandlerParser.cs:
2960 * TemplateControl.cs: Added protected missing members and attributes.
2962 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2964 * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
2965 calling a protected method of another object.
2967 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2969 * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
2970 (of other objects) are called in TypeConverterFormatter.
2972 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2974 * ObjectStateFormatter.cs: before choosing the binary formatter, check
2975 if the object type has a TypeConverter that can convert to/from string.
2978 * Page.cs: call GetViewStateString from outside the WriteLine. This
2979 allows writing to the Response when getting the string without breaking
2982 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2984 * HtmlTextWriter.cs: render end tag for unknown tags.
2985 Patch frmo Markus Krutner. Fixes bug #59466.
2987 2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2989 * Page.cs: call DeterminePostBackMode only once per request. Patch by
2992 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2994 * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
2997 * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
3000 2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3002 * SimpleWebHandlerParser.cs:
3003 * TemplateParser.cs: for the assembly names given in the 'assembly'
3004 attribute, use LoadWithPartialName instead of Load.
3005 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3007 * Page.cs: return HttpContext.Current if _context has not yet been
3008 assigned to. Fixes bug #55245.
3010 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3012 * TemplateParser.cs: don't add import statement or assemblies from
3013 global.asax to every file. Fixes bug #55496.
3015 2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
3017 * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
3018 handle single quotes and a few corner cases correctly (see test cases).
3020 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3022 * TemplateControl.cs: fixed typos and added new method names to the set
3025 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3027 * ControlBuilder.cs: added SetTagName().
3029 * ObjectTagBuilder.cs: use SetTagName so that we can properly close
3030 <object> builders if the closing tag is provided.
3032 2004-02-16 Jackson Harper <jackson@ximian.com>
3034 * Page.cs: Set cacheability for Location.DownStream.
3036 2004-02-10 Jackson Harper <jackson@ximian.com>
3038 * TemplateParser.cs: Use full path if the assembly is in the
3039 private bin directory. Patch by Gonzalo Paniagua Javier.
3041 2004-02-09 Jackson Harper <jackson@ximian.com>
3043 * Page.cs: Set cacheability for server side caching.
3045 2004-01-30 Jackson Harper <jackson@ximian.com>
3047 * Control.cs: Ensure that dynamically loaded controls are
3050 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3052 * ApplicationFileParser.cs: check for error in directives. Use
3053 GlobalAsaxCompiler.CompileApplicationType for compiling.
3055 * ObjectTagBuilder.cs: load the Type and check for errors.
3057 * TemplateParser.cs: add assemblies and imports from global.asax.
3059 Now we properly create accessors for session and application objects in
3060 the application itself, pages and controls. First step for fixing
3063 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3065 * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
3066 to Eric Lindvall for pointing this out.
3068 2004-01-15 Jackson Harper <jackson@ximian.com>
3070 * TemplateParser.cs: Detect if we are parsing a control or page
3072 * Page.cs: vary by params and vary by headers can be null now.
3074 2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
3076 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
3079 2004-01-14 Jackson Harper <jackson@ximian.com>
3081 * Page.cs: If we have a postback that wasn't sent through a
3082 postback script (ie user hit submit on a input type=submit) call
3083 Validate so page validation occurs. This fixes bug #52770.
3085 2004-01-14 Jackson Harper <jackson@ximian.com>
3087 * Page.cs: Don't tell the response to cache anymore. This is done
3088 when the cacheability is modified by a callback. Set the cache's
3091 2004-01-14 Jackson Harper <jackson@ximian.com>
3093 * TemplateParser.cs: If varybyparam is set to "none" make it null
3094 so we dont get a param named null in the outputcache key.
3096 2004-01-14 Jackson Harper <jackson@ximian.com>
3098 * BasePartialCachingControl.cs: Use varyby attributes in key
3101 2004-01-14 Jackson Harper <jackson@ximian.com>
3103 * TemplateParser.cs: Add all the outputcache attribute error
3106 2004-01-13 Jackson Harper <jackson@ximian.com>
3108 * TemplateParser.cs: Add VaryByControls and Shared output cache
3109 properties. These are not assigned yet.
3110 * TemplateControlParser.cs: Do not ignore the OutputCache
3112 * BasePartialCachingControl.cs: Initial implementation. Keys are
3113 still not created properly.
3114 * StaticPartialCachingControl.cs: Assign properties in base class,
3115 implement CreateControl.
3117 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3119 * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
3121 * PageParser.cs: support validateRequest.
3123 * TemplateControlParser.cs: get default values from system.web/pages
3126 * TemplateParser.cs: added separate method for changing base type
3127 (Inherits or system.web/pages).
3129 * UserControlParser.cs: support system.web/pages defined base type.
3131 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3133 * UserControl.cs: Added missing attribute, implemented method
3134 * Page.cs: Added missing attribute, implemented method
3136 2004-01-10 Jackson Harper <jackson@ximian.com>
3138 * Page.cs: Handle trace being enabled in the config file.
3140 2004-01-10 Jackson Harper <jackson@ximian.com>
3142 * Page.cs: Save trace data before rendering it.
3143 * System.Web.dll.sources: Add TraceData.cs
3145 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3147 * Page.cs: removed a couple of MonoTODO on methods we're not gonna
3148 implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
3149 ensure that Unload event is raised. Fixes bug #52555.
3151 2004-01-02 Zoltan Varga <vargaz@freemail.hu>
3153 * KeyedList.cs: 'private' is not allowed on explicit interface
3154 implementations. Fixes 1.2 build.
3156 2003-12-31 Jackson Harper <jackson@ximian.com>
3158 * TemplateControlParser.cs: When registering tag prefixs make sure
3159 the file exists and throw the correct error if it does not.
3161 2003-12-25 Jackson Harper <jackson@ximian.com>
3163 * Page.cs: Throw error if the session is accessed when sessions
3166 2003-12-18 Jackson Harper <jackson@ximian.com>
3168 * Page.cs: Write Trace info.
3170 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3172 * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
3173 * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
3175 * PageParser.cs: the ctor is public.
3176 * PartialCachingAttribute.cs: added new ctor and Shared property.
3178 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3180 * Page.cs: assign the ErrorPage to the context if we get an exception
3181 when processing the page which only calls Unload.
3183 * PageParser.cs: handle ErrorPage.
3185 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3187 * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
3188 are not [Serializable]. Fixes bug #52244.
3190 2003-12-16 Jackson Harper <jackson@ximian.com>
3192 * Page.cs: Render trace data when tracing is enabled.
3194 2003-12-15 Jackson Harper <jackson@ximian.com>
3196 * PageParser.cs: Add Trace and Trace mode attributes.
3198 2003-12-15 Jackson Harper <jackson@ximian.com>
3200 * Page.cs: Use the context trace object.
3202 2003-12-14 Alon Gazit <along@mainsoft.com>
3203 * AttributeCollection.cs: Changed AttributeCollection.Render().
3204 After the change attributes ,that their value is null, aren't
3207 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3209 * Control.cs: remove a few dangling ^M, don't set values for fields
3210 that has the default value. If Visible is modified and we're tracking
3211 viewstate, save and restore it. Fixes bug #48689.
3213 2003-12-11 Jackson Harper <jackson@ximian.com>
3215 * Control.cs: Give null for the ID if it hasn't been explicitly
3216 set. This fixes bug #51520.
3218 2003-12-08 Jackson Harper <jackson@ximian.com>
3220 * PageParser.cs: Ignore the SmartNavigation attribute for now.
3222 2003-12-05 Jackson Harper <jackson@ximian.com>
3224 * DataBinder.cs (GetIndexedPropertyValue): Check if container is
3225 an IList and use a cast instead of reflection to retrieve the item
3226 if it is. Fixes bug #51759.
3228 2003-12-04 Alon Gazit <along@mainsoft.com>
3229 * Page.cs: Changed Page.ID so it will call Control.ID.
3232 2003-12-02 Jackson Harper <jackson@ximian.com>
3234 * Page.cs: Implemented registered array declarations. Patch by
3235 Benjamin Jemlich <pcgod@gmx.net>
3237 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3239 * TemplateParser.cs: basic check for 'classname' attribute and added
3240 patch by pcgod@gmx.net for bug #51568, which fixes automatic class
3241 names for pages starting with a number.
3243 2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
3245 * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
3248 * ObjectStateFormatter.cs: Comment out tracing.
3250 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3252 * Page.cs: fixed UICulture, LCID and Culture. Set the thread
3253 [UI]Culture before processing the request.
3255 * PageParser.cs: read Culture, UICulture and LCID attributes. Added
3256 properties for these. Partially contributed by Mohammad Damt.
3260 2003-11-27 Jackson Harper <jackson@ximian.com>
3262 * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
3265 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
3267 * ObjectStateFormatter.cs: Fix bug when reading small ints.
3268 Add some tracing so we can see what is going on.
3270 2003-11-21 Jackson Harper <jackson@ximian.com>
3272 * Page.cs: Set vary by params when cache location is Server.
3274 2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
3276 * ObjectStateFormatter.cs: v2 file. In v1.x this will be
3277 internal as LosFormatter will eventually use it to save
3280 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3282 * PersistChildrenAttribute.cs:
3283 * PersistenceModeAttribute.cs: implemented.
3285 * TODO: Removed file.
3286 * OutputCacheLocation.cs:
3287 * TemplateControlParser.cs:
3288 * HtmlInputFile.cs: class status based fixes.
3290 2003-11-19 Jackson Harper <jackson@ximian.com>
3292 * Page.cs: Always set the cache expire time. Tell the response to
3293 cache itself for server side cached pages.
3295 2003-11-19 Jackson Harper <jackson@ximian.com>
3297 * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
3298 thing, some corner cases still need work though. Was this the
3299 shortest lived method in the history of mono?
3301 2003-11-19 Jackson Harper <jackson@ximian.com>
3303 * Control.cs: New method for resolving urls that use ~/ to denote
3304 the applications base directory.
3306 2003-11-19 Jackson Harper <jackson@ximian.com>
3308 * TemplateParser.cs: Fix typo in error message.
3310 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3312 * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
3315 2003-11-19 Todd Berman <tberman@gentoo.org>
3318 * KeyedListEnumerator.cs: New v2 implementations.
3320 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
3322 * StateManagedCollection.cs: Implement.
3324 2003-11-13 Jackson Harper <jackson@ximian.com>
3326 * Page.cs: Initial implementation of InitOutputCache.
3327 * TemplateParser.cs: Page OutputCache options
3329 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3331 * HierarchicalDataSourceControl.cs: Implement.
3333 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
3335 * XPathBinder.cs: Implemented.
3337 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
3339 * DataSourceView.cs:
3341 * ListSourceHelper.cs:
3342 * DataSourceControl.cs:
3343 * HierarchicalDataSourceView.cs:
3344 * IHierarchicalDataSource.cs: Move v2 stuff.
3346 2003-11-07 Jackson Harper <jackson@ximian.com>
3348 * Control.cs (ResolveUrl): Special case for urls that consist of
3349 only a page anchor. ie <a href="#top">. This fixes bug #50165.
3351 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
3353 * IHierarchicalEnumerable.cs:
3354 * IHierarchyData.cs:
3355 * INavigateUIData.cs: New v2 interfaces.
3357 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3359 * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
3360 space in generated javascript.
3362 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3364 * LosFormatter.cs: encoding updates.
3365 * Page.cs: implemented CodePage and ContentType.
3366 * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
3369 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
3371 * Control.cs (GetWebResourceUrl): new v2 function
3372 * Page.cs (GetWebResourceUrl): ditto.
3373 make the JS we generate work with moz if the form is not a child
3375 * WebResourceAttribute.cs: Added, new v2 attribute.
3377 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3379 * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
3381 * PageParser.cs: initialize the parser in the constructor, not just
3382 before compiling and reference the application assembly.
3384 * SimpleWebHandlerParser.cs: reference the assembly that contains the
3387 * TemplateControl.cs:
3388 * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
3389 path and physical path when compiling a user control.
3391 * TemplateParser.cs: new AddApplicationAssembly ().
3392 * UserControlParser.cs: now we get valid values in the ctor.
3394 Referencing the application assembly fixes bug #49652.
3397 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3399 * TemplateControl.cs: moved NoParamsInvoker class to its own file.
3401 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3403 * BaseParser.cs: added CompilationConfig property.
3405 * TemplateParser.cs:
3406 * SimpleWebHandlerParser.cs: added CompilationConfig property.
3407 Don't hardcode assembly names any more, assemblies in bin are added
3408 depending on the configuration. The default language is also taken
3409 from the configuration.
3411 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3413 * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
3415 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3417 * Control.cs: removed some debug lines.
3418 * Page.cs: implemented RegisterOnSubmitStatement
3419 * TemplateControl.cs: fixed wire up for methods with no parameters.
3421 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3423 * PageParser.cs: ignore ValidateRequest by now.
3425 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3427 * System.Web.UI/TemplateControl.cs: support for wiring up events without
3430 2003-10-08 Pedro Martnez Juli <yoros@wanadoo.es>
3432 * PageParser.cs: drop some useless code.
3434 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
3436 * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
3438 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3440 * System.Web.UI/PageParser.cs:
3441 * System.Web.UI/TemplateControlParser.cs: honour the input file given
3444 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3447 (ClearChildViewState): doh! Don't clear control viewstate but the
3448 viewstate of possible children.
3449 (LoadViewStateRecursive): load viewstate even when control is not
3452 The rest are just dangling ^M removed.
3454 * DataBoundLiteralControl.cs:
3455 (LoadViewState): we get an object [], not a string [].
3457 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3459 * Control.cs: implemented ClearChildViewState ().
3461 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3463 * Page.cs: store unique IDs for controls requiring postback. Fixes bug
3466 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3468 * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
3469 dependencies so that it's recompiled when changed.
3471 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3473 * LosFormatter.cs: fixed Deserialize for empty viewstate.
3475 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3477 * Page.cs: check if controls that require postback have
3478 been changed by an event and register them to be notified of data
3481 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3483 * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
3486 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3488 * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
3489 are not serializable. Fixes bug #47784.
3491 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3493 * Control.cs: index the viewstates saved by the control position, not
3494 the control name. Fixes bug #47697.
3496 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3498 * ControlCollection.cs:
3499 * EmptyControlCollection.cs: create a minimum ArrayList for this.
3501 * BaseParser.cs: added setter for BaseVirtualDir.
3503 * Page.cs: fixed message when restoring view state fails.
3504 * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
3505 when a relative path to the control is given. Fixes bug #47685.
3507 2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3509 * Control.cs: when we load the viewstate for a control that has children
3510 viewstates and the child is not found, keep its viewstate around and
3511 wait until the child is added to load the viewstate. Fixes bug #47697.
3513 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3515 * TemplateControl.cs: more Delegate.CreateDelegate fixes.
3517 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3519 * PartialCachingControl.cs: is not abstract
3521 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3523 * SimpleHandlerFactory.cs: implemented GetHandler.
3524 * WebHandlerParser.cs: new file that parses .ashx files.
3526 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3528 * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
3530 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3532 * UserControl.cs: Added attribute
3533 * BasePartialCachingControl.cs: New class and paritally implemented
3534 * DesignerDataBoundLiteralControl.cs: New class and implemented
3535 * DesignTimeTemplateParser.cs:
3536 * PartialCachingControl.cs:
3537 * StaticPartialCachingControl.cs: New class and paritally implemented
3539 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3541 * ApplicationFileParser.cs: Fixed signature
3542 * DesignTimeParseData.cs: Added missing properties, implemented
3543 * Page.cs: Added attributes
3545 * TemplateControlParser.cs:
3546 * TemplateParser.cs:
3547 * UserControlParser.cs: Fixed signature
3549 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3551 * HtmlControlPersistableAttribute.cs: Added
3552 * IgnoreUnknownContentAttribute.cs: Added
3554 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3556 * IUserControlDesignerAccessor.cs: Added and implemented
3557 * Control.cs: Missing member added, added all attributes
3558 * Page.cs: Added attributes, fixed signature
3559 * TemplateControl.cs: Fixed signature, added all attributes
3560 * UserControl.cs: Added all attributes, added and implemented missing interface
3562 2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3564 * ControlCollection.cs: fixed bug #46472.
3566 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3568 * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
3570 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3572 * SimpleWebHandlerParser.cs: updated to new compilation interface.
3574 * TemplateParser.cs: use the new parameter when compiling.
3576 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3578 * Page.cs: also keep the value for the second try on handling postback
3581 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3583 * BaseParser.cs: fixed MapPath for non-rooted files.
3584 * PageParser.cs: don't pass a non-virtual file around.
3585 * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
3586 the exception teh may be throw by MapPath on an invalid path.
3588 * TemplateParser.cs: removed unused method.
3589 * UserControlParser.cs: modified inputfile. The result is the same, but
3592 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3594 * RootBuilder.cs: throw exception when the tagprefix is not valid or
3597 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3599 * TemplateControlParser.cs: return after processing @Register.
3601 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3603 * TemplateParser.cs: Added support for server side includes.
3605 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3607 * TemplateControl.cs: fixed the flags used to find the methods that
3608 are automatically hooked up on events.
3610 * TemplateParser.cs: don't compile a source file directly. Use the
3613 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3615 * BaseParser.cs: Location property is now here. Added a couple of
3616 convenience methods to throw a ParseException.
3618 * TemplateParser.cs:
3619 * TemplateControlParser.cs:
3620 * PageParser.cs: throw ParseException where appropiate.
3622 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3624 * ApplicationFileParser.cs: use the generator to actually parse the
3627 * ControlBuilder.cs: small fix in NamingContainerType because
3628 TemplateBuilders have a null ControlType. When a control is appended
3629 to a parent, assign the child's parent.
3631 * UserControlParser.cs: fixed the value of InputFile.
3633 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3635 * ApplicationFileParser.cs: store the Context and override
3636 BaseVirtualDir so that it's the application path.
3638 * BaseParser.cs: removed CurrentVirtualPath property.
3640 * TemplateControlParser.cs: use BaseVirtualDir.
3642 * UserControlParser.cs: removed CurrentVirtualPath.
3644 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3646 * TemplateParser.cs: always reference all the assemblies in bin
3649 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3651 * ApplicationFileParser.cs: it works now. Prior to these changes, we
3652 were using the compiler directly.
3654 * BaseParser.cs: added some useful properties and methods.
3656 * CodeBuilder.cs: use ILocation.
3657 * CodeRenderBuilder.cs: use ILocation.
3658 * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
3660 * ControlBuilder.cs: made it useful.
3662 * DataBindingBuilder.cs: the control type for data bound text is
3663 DataBoundLiteralControl now.
3665 * ObjectTagBuilder.cs: store some object tag attributes.
3667 * PageParser.cs: handle page-only directives.
3669 * RootBuilder.cs: bah.
3670 * SimpleWebHandlerParser.cs: made it dummy.
3671 * TemplateControl.cs: Modified file.
3673 * TemplateControlParser.cs: handle directives that are common to pages
3676 * TemplateParser.cs: utility methods and handling of directives that
3677 are common to app, page and user controls.
3679 * UserControl.cs: added ControlBuilderAttribute.
3681 * UserControlControlBuilder.cs: builder for user controls.
3682 * UserControlParser.cs: use the new interfaces.
3684 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3686 * ControlBuilder.cs: line and fileName are protected now.
3688 * CodeBuilder.cs: base class for the next 2 files.
3689 * CodeRenderBuilder.cs: builder for code render.
3690 * DataBindingBuilder.cs: builder for data binding.
3692 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3694 * ITagNameToTypeMapper.cs: made it internal.
3696 * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
3698 * RootBuilder.cs: initial builder.
3700 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3702 * CollectionBuilder.cs:
3703 * TemplateBuilder.cs: new classes derived from ControlBuilder that
3704 represent a property or a ITemplate.
3706 * ControlBuilder.cs: implemented all the missing bits.
3707 * TemplateParser.cs: added mapping from tag name to Type feature.
3709 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3711 * Control.cs: have i definitely fixed naming container stuff this time?
3713 * LosFormatter.cs: activated binary serialization code.
3715 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3718 (AddedControl): fixed default id assignation when the sequence of
3719 AddedControl until it's included in the page or one of its controls
3720 does not pass through a naming container.
3722 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3724 * Control.cs: give different default names depending on the place where
3725 it is assigned. Implemented ResolveURl (no more ~ rendered in
3728 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3730 * Control.cs: when adding a control, assign default names to th
3731 children that don't have one.
3733 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3735 * SimpleWebHandlerParser.cs: modified to use the new parser interface.
3737 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3739 * Control.cs: some more tweaks to naming containers stuff.
3740 * DataBinder.cs: don't throw exception if the container is null.
3742 * Page.cs: now we can render client scripts, startup scripts and hidden
3743 fields. Only render __VIEWSTATE if there is someone that will take care
3745 (RaisePostBackEvents): first try the last one that required raise event,
3746 then try __EVENTTARGET.
3748 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3750 * Control.cs: fixes in UniqueID, FindControl, AddedControl,
3751 UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
3752 FindControl work with NamingContainers.
3754 * ControlCollection.cs: notify the parent when clearing the collection.
3756 * LosFormatter.cs: Added debugging output and generate a valid
3757 viewstate even for unknown types.
3759 * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
3762 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3764 * Page.cs: make it fire the LoadData related events also for controls
3765 such as ImageButton, whose variable(s) in the query string are of the
3766 form ctrl_name.x and only fire them once per control.
3768 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3771 (GetPropertyValue): don't try to get the property as indexed
3773 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3775 * DataBinder.cs: use TypeDescriptor to get the properties and their
3778 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3781 (AddedControl): take the children to the same state of the parent.
3782 (InitRecursive): set the page of the children.
3784 * Page.cs: removed one line (it's done a few lines above).
3787 (OnInit): always call InitializeAsUserControl
3788 (InitializeAsUserControl): sets the page for the control.
3790 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3792 * Control.cs: fixed bug #36037.
3794 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3796 * BaseParser.cs: a couple of path fixes to make it work
3797 when the page is not in the root directory.
3799 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3801 * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
3804 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3806 * BaseParser.cs: use MapPath and context to locate files.
3807 * Control.cs: implemented MapPathSecure.
3808 * TemplateControl.cs: use UrlUtils to generate the path.
3809 * TemplateControlParser.cs: use the context and MapPath.
3810 * UserControl.cs: implemented MapPath.
3811 * UserControlParser.cs: added context parameter to constructor.
3813 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3815 * Control.cs: implemented MapPathSecure.
3816 * Page.cs: fixed Server property.
3818 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3820 * DataBinder.cs: try the indexer if the property is not found in
3821 GetPropertyValue ().
3823 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3825 * Control.cs: added AutoEventWireup internal property.
3827 * Page.cs: removed page events wire up from here.
3829 * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
3830 and user controls events.
3832 * TemplateControlParser.cs: process the options that are applicable
3833 once we have the instance of the control.
3835 * TemplateParser.cs: also stores the options.
3837 * UserControl.cs: hook up events before initializing the control.
3840 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3842 * Control.cs: new method to set bindingContainer value.
3843 * TemplateControl.cs: added controls are not binding containers.
3845 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3847 * Control.cs: implemented TemplateSourceDirectory.
3848 * TemplateControl.cs: implemented LoadControl and LoadTemplate.
3850 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3852 * UserControl.cs: fixed SetAttribute.
3853 * UserControlParser.cs: set the correct base type.
3855 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3857 * TemplateParser.cs: fixed BaseType.
3858 * UserControlParser.cs: helper class to compile user controls.
3860 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3862 * LosFormatter.cs: added DateTime to special types.
3864 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3866 * LosFormatter.cs: added array serialization support. Disabled binary
3867 serialization and add some debugging code.
3869 * StateBag.cs: the length of the list of value can be less than the
3870 length if the list of keys when remaining values are null.
3872 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3874 * Page.cs: return something useful in GetPostBackClientEvent.
3876 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3878 * Page.cs: implemented FileDependecies and made it protected.
3880 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3882 * Control.cs: save control names instead of the controls
3883 themselves to the ViewState.
3885 * LosFormatter.cs: added support for serializing unknown
3886 types. BinaryFormatter does not work so you better don't store anything
3887 of unknown Type in ViewState.
3889 * Page.cs: GetViewStateString works now using LosFormatter.
3890 Complete "Control execution lifecycle" by unloading all the child
3891 controls. Check for null in RaisePostBackEvents.
3892 LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
3894 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3896 * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
3898 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3900 * LosFormatter.cs: Use WebEncoding.Encoding.
3903 * Page.cs: fixed namespace.
3905 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3907 * Page.cs: set the context in ProcessRequest. Added a few trace calls.
3908 * Control.cs: added some trace information.
3910 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3912 * SimpleHandlerFactory.cs: new handler for .ashx files.
3914 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3916 * System.Web.UI/PageHandlerFactory.cs: new file.
3917 * System.Web.UI/PageParser.cs:
3918 * System.Web.UI/TemplateControlParser.cs: we are now able to compile
3919 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
3921 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3923 * Control.cs: implemented ObBubbleEvent.
3924 * Page.cs: temporary workaround to make POST work with xsp server.
3926 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3928 * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
3931 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3933 * SimpleWebHandlerParser.cs: New file.
3934 * WebServiceParser.cs: New file.
3936 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3938 * LosFormatter.cs: almost fully implemented.
3940 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3942 * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
3943 * EmptyControlCollection.cs: throw correct exception.
3944 * LosFormatter.cs: stubbed out.
3945 * OutputCacheLocation.cs: little fix.
3947 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3949 * System.Web.UI/ApplicationFileParser.cs:
3950 * System.Web.UI/BaseParser.cs:
3951 * System.Web.UI/PageParser.cs:
3952 * System.Web.UI/TemplateControl.cs:
3953 * System.Web.UI/TemplateControlParser.cs:
3954 * System.Web.UI/TemplateParser.cs: first steps to move xsp into
3957 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3959 * Page.cs: request to render postback script can be after form started
3962 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3964 * Page.cs: added more page events to invoke automagically if some
3965 methods are defined.
3967 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3970 (SaveViewState): save state even when control is not visible.
3971 (SaveViewStateRecursive):
3972 (LoadViewStateRecursive): made internal.
3974 2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3976 * Page.cs: improved event raising to allow client postback for a wider
3977 variety of actions (clicking an hyperlink, ...).
3979 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3981 * UserControl.cs: implemented Load/SaveViewState.
3983 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3985 * AttributeCollection.cs:
3986 (Add): handle 'style' through styleCollection.
3988 * CssStyleCollection.cs:
3989 (fillStyle): renamed to FillStyle and made it internal.
3992 (GetViewStateString): fixed, broken after other recent changes.
3993 (ProcessPostData): allow a second try for postback data after OnLoad.
3994 (ProcessRequest): clear controls collection, removed call to
3997 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3999 * Control.cs: uncommented Dispose.
4002 (DeterminePostBackMode): more checkings.
4003 (GetPostBackClientHyperLink): implemented.
4004 (GetPostBackEventReference): added some comments with the HTML that MS
4006 (ProcessRequest): fixed processing order. The page is unloaded after
4007 a request and regenerated from view state on subsequents posts.
4009 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4011 * Control.cs: fixed related to ViewState. Added RemovedControl.
4013 * ControlCollection.cs: notify owner of control removal.
4015 * CssStyleCollection.cs: almost rewritten to make it render the style
4016 attribute after changes to it.
4018 * Page.cs: follow the guidelines in 'Control execution lifecycle'.
4021 * StateBag.cs: don't use IDictionary.GetEnumerator on the
4022 HybridDictionary: it makes the program give an InvalidCastException at
4025 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4027 * Page.cs: fire Init and Load events for all children.
4029 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4031 * UserControl.cs: New file.
4033 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4035 * ControlBuilderAttribute.cs: finished implementation.
4037 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4039 * ConstructorNeedsTagAttribute.cs: the default constructor sets the
4042 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4044 * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
4046 * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
4047 Hashtable. Added internal .ctor.
4049 * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
4050 Equals and GetHashCode.
4052 * System.Web.UI/DataBoundLiteralControl.cs:
4054 (SaveViewState): implemented.
4056 * System.Web.UI/Page.cs: FileDependencies is not public.
4058 * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
4061 (IsDefaultAttribute): implemented.
4063 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4065 * Control.cs: fixed Visible property.
4066 * Page.cs: fixed GetViewStateString.
4068 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4070 * System.Web.UI/Page.cs:
4071 (GetViewStateString): new function to give the server access to the
4072 generated view state string.
4075 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4078 (SaveViewstateRecursive): implemented.
4079 (SaveViewState): fixed.
4080 (IParserAccessor.AddParsedSubObject): don't use 'this'.
4082 * Page.cs: added code to save view state to an xml file. It's not
4083 being used right now.
4085 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4087 * System.Web.UI/LiteralControl.cs:
4088 Fixes based on class status page:
4090 - Add attributes (DefaultEvent, ParseChildren).
4092 - Explicitly implement some interfaces (IPostBackDataHandler
4093 and IPostBackEventHandler).
4094 - Implemented some missing methods.
4096 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4098 * Control.cs: reimplemented FindControls.
4101 (.ctor): set the page for this control.
4102 (IsPostBack): return valid value.
4103 (DeterminePostBackMode): finished.
4104 (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
4105 (ProcessPostData): implemented. Raises change and postback events.
4106 (ProcessRequest): changed to support reuse of the instance.
4107 (RegisterRequiresPostBack): implemented.
4109 * ValidatorCollection.cs: implemented all methods.
4111 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4114 * Page.cs: first attemp to save view state.
4116 * HtmlForm.cs: don't render Action.
4118 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4120 * Page.cs: implemented more properties using information we already
4124 (VerifyRenderingInServerForm): implemented.
4126 2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4128 * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
4129 out runtime. Renamed Page_Init and Page_Load.
4131 After this, we can load a dll and render HTML in linux.
4133 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4136 (AddedControl): new function that is called whenever a control is
4137 added to a collection of controls in a container. It sets the defaults
4140 * ControlCollection.cs: call AddedControl in Add/AddAt.
4142 * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
4143 SetStaticString and SetDataBoundString.
4145 * Page.cs: removed SetDefaults.
4147 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4149 * CompiledTemplateBuilder.cs: new file. Used in the code generated
4153 (BindingContainer): implemented.
4154 (EnsureChildControls): avoid stack overflow.
4156 * DataBinder.cs: implemented Eval and PropertyValue.
4158 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4160 * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
4161 bug as in regular attributes).
4163 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4165 * Control.cs: implemented PreventAutoID.
4168 (SetDefaults): don't set ID automatically if Control.PreventAutoID has
4171 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4174 (Validators): if the collection is null, create one.
4175 (GetPostBackEventReference 2): don't throw exception.
4176 (GetPostBackClientEvent): return a string with containing the method
4177 name, the control name and the argument.
4179 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4181 * Page.cs: SetPage is now called SetDefaults and also sets a default
4182 ID for controls that don't have one yet.
4184 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4187 (GetPostBackClient):
4188 (RegisterRequiresPostBack): don't throw NotImplementedException to
4190 (ProcessRequest): set the current page as the Page property for *all*
4191 the controls, not just the direct children of the page.
4193 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4196 (MapPathSecure): until security is implemented, return the same path
4197 received as argument.
4198 (RenderControl): call OnPreRender before rendering the control. So
4199 AdRotator can read its configuration file.Is there any other place
4200 where this should be done?
4202 * HtmlTextWriter.cs:
4203 (AddAttribute): fixed. Now it really stores attributes.
4204 (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
4206 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4208 * ControlCollection.cs:
4209 (AddAt): if index is -1 behave as a plain Add.
4211 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4213 * Page.cs: for each child control to render, assign Control.Page.
4214 Probably also needed in HtmlContainerControl derived classes.
4216 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4218 * AttributeCollection.cs: don't need a Hastable. StateBag now works
4219 fine and takes care of the details.
4221 * Control.cs: added HasChildren property.
4223 * StateBag.cs: fixed a couple of nasty bugs.
4225 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4227 * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
4228 Invoke Page_Init and/or Page_Load if the user supplied them (though
4229 this should depend on AutoEventWireUp attribute of Page directive).
4231 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4233 * Control.cs: don't throw exception in ControlID. By now, it returns ID.
4236 (ProcessRequest): implemented.
4238 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4240 * System.Web.UI/Page.cs: finished stubbing out. Implemented some
4243 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4246 (FileDependencies): now is public public.
4247 (EnableViewStateMAC): uncommented and made protected.
4248 (GetTypeHashCode): added method.
4250 2002-05-24 Duncan Mak <duncan@ximian.com>
4252 * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
4254 * StateBag.cs (Item): Changed the visibility level of the this
4257 Misc. formatting edits, fixing some bugs introduced by the indentation.
4259 * DataBinder.cs (Eval)
4260 (GetIndexedPropertyValue)
4261 (GetPropertyValue): Fixed return types.
4263 2002-05-21 Miguel de Icaza <miguel@ximian.com>
4265 * HtmlTextWriter.cs: Use this to change the member instances.
4267 2002-05-17 Duncan Mak <duncan@ximian.com>
4269 * AttributeCollection.cs:
4270 * ControlCollection.cs:
4271 * CssStyleCollection.cs:
4272 * DataBindingCollection.cs:
4273 * EmptyControlCollection.cs: Added missing Collection classes.
4275 2002-05-17 Duncan Mak <duncan@ximian.com>
4278 * TemplateParser.cs: Implemented. BaseParser is weird because
4279 there is no documentation on what it does.
4281 * ControlBuilder.cs:
4284 * DataBinding.cs: Added.
4286 * DataBoundLiteralControl.cs:
4287 * Triplet.cs: Added.
4289 * RenderMethod.cs: Added this delegate for Control.cs
4291 2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4293 * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
4295 2002-05-14 Duncan Mak <duncan@ximian.com>
4297 * ValidationPropertyAttribute.cs: Added to CVS.
4299 2002-05-10 Duncan Mak <duncan@ximian.com>
4301 * ConstructorNeedsTagAttribute.cs:
4302 * ControlBuilderAttribute.cs:
4303 * ImageClickEventArgs.cs:
4304 * ParseChildrenAttribute.cs:
4305 * PartialCachingAttribute.cs:
4306 * PersistChildrenAttribute.cs:
4307 * PersistenceModeAttribute.cs:
4308 * TemplateContainerAttribute.cs: Added to CVS.
4310 * PersistanceMode.cs: Removed, fixed typo.
4311 * PersistenceMode.cs: Replacing above.
4313 * StateBag.cs (this): Fixed indexer, it takes a string as the
4314 index, not an object.
4316 * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
4318 * Page.cs (Validators): return type should be ValidatorCollection,
4319 not ValidatedCollection.
4321 * TagPrefixAttribute.cs: Added to CVS.
4323 2002-05-07 Duncan Mak <duncan@ximian.com>
4325 * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
4327 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
4329 * DataBindingHandlerAttribute.cs
4331 * ToolboxDataAttribute.cs - Completed
4333 2002-01-03 Nick Drochak <ndrochak@gol.com>
4335 * DesignTimeParseData.cs: initialze static member to avoid compile
4337 * PropertyConverter.cs: remove uneeded exception variables from
4340 2002-01-02 Nick Drochak <ndrochak@gol.com>
4342 * DesignTimeParseData.cs: fix header to show correct class name
4344 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
4346 * StateBag.cs - Completed
4348 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
4350 * Pair.cs - Small undocumented class. Completed.
4352 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
4354 * DesignTimeParseData.cs - Initial implementation
4355 * StateBag.cs - Initial implementation
4357 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
4359 * PropertyConverter.cs - Undocumented class. Completed.
4360 * Utils.cs - Undocumented, private class.
4361 Initial implementation
4363 2001-08-28 Bob Smith <bob@thestuff.net>
4364 * Control.cs: Figured out some undocumented API.
4366 * BuildMethod.cs: Initial implementation.
4367 * BuildTemplateMethod.cs: Initial implementation.
4368 * HtmlTextWriterAttribute.cs: Initial implementation.
4369 * HtmlTextWriterStyle.cs: Initial implementation.
4370 * HtmlTextWriterTag.cs: Initial implementation.
4371 * IAttributeAccessor.cs: Initial implementation.
4372 * IDataBindingsAccessor.cs: Initial implementation.
4373 * ImageClickEventHandler.cs: Initial implementation.
4374 * INamingContainer.cs: Initial implementation.
4375 * IParserAccessor.cs: Initial implementation.
4376 * IPostBackDataHandler.cs: Initial implementation.
4377 * IPostBackEventHandler.cs: Initial implementation.
4378 * IStateManager.cs: Initial implementation.
4379 * ITagNameToTypeMapper.cs: Initial implementation.
4380 * ITemplate.cs: Initial implementation.
4381 * IValidator.cs: Initial implementation.
4382 * OutputCacheLocation.cs: Initial implementation.
4383 * PersistanceMode.cs: Initial implementation.
4384 * StateItem.cs: Initial implementation.
4386 2001-08-27 Bob Smith <bob@thestuff.net>
4388 * Control.cs: Bug fixes and implementations.
4390 2001-08-24 Bob Smith <bob@thestuff.net>
4392 * Control.cs: Bug fixes.
4394 2001-08-23 Bob Smith <bob@thestuff.net>
4396 * Control.cs: More implementation. Events reworked for performance.
4398 2001-08-22 Bob Smith <bob@thestuff.net>
4400 * LiteralControl.cs: Implemented.
4401 * Control.cs: Even more implementation (Events). What a beast.
4403 2001-08-20 Bob Smith <bob@thestuff.net>
4405 * Control.cs: More implementation. Not done yet. Shutter.
4407 2001-08-17 Bob Smith <bob@thestuff.net>
4409 * Control.cs: Partial implementation.