1 2005-08-28 Chris Toshok <toshok@ximian.com>
3 * Pair.cs: mark serializable and sealed in 2.0.
5 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
7 * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
8 existing (but internal) FillStyle method. Rewrote BagToString to use an
9 HtmlTextWriter so we get the "right" format for background-image url.
11 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
13 * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
14 Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
15 the extra space from last patch because they break some unit tests.
17 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
19 * CssStyleCollection.cs: Added some spacing.
20 * HtmlTextWriter.cs: Made style and attribute tables static.
21 Implemented StaticGetStyleName().
23 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
25 * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
27 * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
28 The new rendering formats the value as "url(" + original + ")".
30 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
32 * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
33 depends on the HtmlTextWriterStyle ordering).
35 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
37 * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
39 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
41 * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
42 fixed the rest of the enum values).
43 * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
44 parameter to match 2.0 API. Added a setter to the AllowedTypes
47 2005-08-24 Chris Toshok <toshok@ximian.com>
49 * Control.cs (get_Adapter): Instead of throwing an exception, just
50 return null, so we can write the rest of the Control specific
51 Adapter code and just not enable any of those code paths until we
52 have actual adapters. Also flag TODO.
53 (EnsureChildControls): Call out to Adapter.CreateChildControls if
55 (RenderChildren): call "RenderControl (writer, adapter)" if we
57 (RenderControl): implement the adapter case naively.
58 (LoadRecursive): call out to Adapter.OnLoad if we have one.
59 (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
61 (InitRecursive): call out to Adapter.OnInit if we have one.
63 2005-08-24 Chris Toshok <toshok@ximian.com>
65 * Page.cs (GetPostBackEventReference): track change to
66 ClientScriptManager and don't call a removed method.
68 * ClientScriptManager.cs: track more recent docs and corcompare
71 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
73 * KeyedList.cs: Fixed bug when removing an unexisting object.
74 * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
75 in implementing RoleGroupCollection.
77 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
79 * Page.cs: Use Control property (and not the _control variable) to get
80 the User (so the virtual Control property can be overriden properly).
81 Sadly this doesn't seems to be the case for other properties (like
84 2005-08-18 Dick Porter <dick@ximian.com>
86 * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
87 UserControl.cs, DesignerDataBoundLiteralControl.cs,
88 PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
89 BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
90 stubs and attribute fixes
92 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
94 * Control.cs: Add protected virtual SetDesignModeState, in 2.0
95 profile, as this is required for the Login control.
97 2005-08-11 Dick Porter <dick@ximian.com>
99 * CssStyleCollection.cs: Tweak the css string format to pass a
102 * AttributeCollection.cs: Don't NRE if someone sets the "style"
105 2005-08-05 Ben Maurer <bmaurer@ximian.com>
107 * HtmlTextWriter.cs: Revert the patch below, see test case
109 2005-08-05 Dick Porter <dick@ximian.com>
111 * HtmlTextWriter.cs: Make <option> tags render inline, to match
114 2005-08-03 Ben Maurer <bmaurer@ximian.com>
116 * HtmlTextWriter.cs: Optmize this not to do insane amounts of
117 allocation for large pages, etc.
119 2005-07-30 Chris Toshok <toshok@ximian.com>
121 * Page.cs (VerifyRenderingInServerForm): copy MS's error message
122 since our form-errors jsunit tests depend on it.
124 2005-07-30 Chris Toshok <toshok@ximian.com>
126 * DataBinder.cs (FormatResult): make internal, not private.
128 2005-07-29 Ben Maurer <bmaurer@ximian.com>
130 * StateBag.cs: Don't remove when tracking viewstate, as per msft
133 2005-07-29 Ben Maurer <bmaurer@ximian.com>
135 * StateBag.cs: Actually *remove* items that are null. Duh.
137 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
139 * Page.cs: Need to throw exception when accessing Request but no
142 2005-07-20 Chris Toshok <toshok@ximian.com>
144 * ClientScriptManager.cs (GetClientValidationEvent): the JS we
145 stick in onclick handlers for buttons/links/etc.
147 * Page.cs (GetSubmitStatements): new function to return
148 scriptManager.WriteSubmitStatements. Used by HtmlForm.
149 (AreValidatorsUplevel): used by many of the button/linkbutton
150 controls (the ones that can CauseValidation) to tell whether or
151 not to emit client side validation calls.
153 2005-07-20 Chris Toshok <toshok@ximian.com>
155 * WebResourceAttribute.cs: make internal (and available) in
158 2005-07-20 Chris Toshok <toshok@ximian.com>
160 * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
161 available) in !NET_2_0.
163 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
165 * Control.cs: Added IDataBindingsAccessor interface methods
167 2005-07-18 Ben Maurer <bmaurer@ximian.com>
169 * HtmlTextWriter.cs: Fix nested indentation
171 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
173 * Control.cs: Added missing IParserAccessor.AddParsedSubObject
176 2005-07-18 Ben Maurer <bmaurer@ximian.com>
178 * HtmlTextWriter.cs: Fix indentation (somewhat at least)
180 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
183 - Default name for controls on MS.Net is "_ctl" not "_ctrl"
184 - MS does not append 'a' for auto-generated names
186 2005-07-17 Ben Maurer <bmaurer@ximian.com>
188 * AttributeCollection.cs: Use the invariant culture.
190 * StateBag.cs: "Duh" optimization: return null when there are no
191 dirty items in the view state
193 2005-07-14 Ben Maurer <bmaurer@ximian.com>
195 * StateBag.cs: A "short" version of my favorite method.
197 * HtmlTextWriter.cs: New method to get the tag name staticly.
199 2005-07-14 Duncan Mak <duncan@novell.com>
201 * DataBindingHandlerAttribute.cs: Fixed after receiving some
202 comments from Gonzalo.
204 2005-07-13 Jackson Harper <jackson@ximian.com>
206 * PropertyConverter.cs: No public constructors.
208 2005-07-13 Ben Maurer <bmaurer@ximian.com>
210 * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
212 2005-07-12 Ben Maurer <bmaurer@ximian.com>
214 * HtmlTextWriter.cs: Make styles work.
216 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
218 * AttributeCollection.cs:
219 - Changes to match MS behaviour, the "style" attribute is always
220 added to the list, in addition to being added to the
221 CssStyleCollection. Also added check for "style" attribute when
222 setting via index setter
223 - When "Style" attribute is added, CssStyleCollection is
224 automatically created
225 - The style keyword needs to be lowercase
227 2005-07-11 Ben Maurer <bmaurer@ximian.com>
229 * HtmlTextWriter.cs: Missing a PopEndTag here.
231 * PropertyConverter.cs: Pass tests
233 2005-07-09 Miguel de Icaza <miguel@novell.com>
235 * DataBindingHandlerAttribute.cs: Create the "Default" property.
237 2005-07-09 Duncan Mak <duncan@novell.com>
239 * DataBindingHandlerAttribute.cs: Implemented.
241 2005-07-08 Ben Maurer <bmaurer@ximian.com>
243 * HtmlTextWriter.cs: Much better compliance with msft
245 2005-07-08 Jackson Harper <jackson@ximian.com>
247 * ToolbarDataAttribute.cs: New implementation.
249 2005-07-07 Jackson Harper <jackson@ximian.com>
251 * PropertyConverter.cs: New implementation.
253 2005-07-07 Ben Maurer <bmaurer@ximian.com>
255 * StateBag.cs: Noticed an issue where SetDirty was called when the
258 2005-07-07 Ben Maurer <bmaurer@ximian.com>
260 * StateBag.cs: Add a method that gets a string or else a default
263 2005-07-07 Dick Porter <dick@ximian.com>
265 * StateBag.cs: Added internal SetDirty (void) method to fix the
268 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
270 * HtmlTextWriter.cs: Small fixlet when attribute has no value.
272 2005-07-07 Miguel de Icaza <miguel@novell.com>
274 * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
277 * StateBag.cs: Add NET_2_0 SetDirty method to get the build
280 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
282 * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
284 2005-07-06 Ben Maurer <bmaurer@ximian.com>
286 * HtmlTextWriter.cs: Make sure to clear attributes when they are
289 * StateBag.cs: New impl
291 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
294 * Control.cs: avoid the creation of the EventHandlerList and accessing
295 to it whenever possible. Fix ENABLE_THEMING constant.
297 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
300 * TemplateControlParser.cs:
301 * UserControlParser.cs: detect circular references when a control tries
302 to register itself as a tag. Fixes bug #75376.
304 2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
306 * PageParser.cs: don't try to compile the master page if it wan't
307 provided. Use MapPath from the base classes instead of the long
308 version. Fixes bug #75269 that prevented xsp2 from working properly.
310 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
312 * MasterPage.cs: Clear the default content of placeholders before
313 adding the page content. Fixes bug #75193.
315 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
317 * PageParser.cs: Added MasterType property. Get the type from the
318 MasterType directive.
319 * MasterPageParser.cs: Added GetCompiledMasterType method.
321 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
325 * Control.cs: updates for 1.1 SP1
327 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
329 * Control.cs: Added new DataBind() overload for 2.0. The old
330 method calls this new overload.
332 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
334 * TemplateParser.cs: ignore empty assembly.Location for in-memory
335 generated assemblies.
337 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
339 * Page.cs: added AddContentTemplate method.
341 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
343 * AttributeCollection.cs: html-encode attribute values. Fixes
346 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
348 * DataSourceView.cs: Fix api.
349 * NonVisualControlAttribute.cs: Implemented.
350 * IDataItemContainer.cs: Added missing properties.
351 * Control.cs: Added new EnableTheming and SkinID properties.
352 * HierarchicalDataSourceControl.cs: Implemented missing methods.
354 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
356 * ControlCollection.cs: Added internal setter for ReadOnly.
358 2005-05-09 Geoff Norotn <gnorton@customerdna.com>
360 * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
361 uses instead of codebehind.
363 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
365 * Page.cs: as setting CurrentCulture is slow, don't set it if the
366 culture has not changed since before the page started processing.
368 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
370 * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
373 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
376 * SimpleWebHandlerParser.cs: removed values assigned and neved used.
378 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
380 * SimpleWebHandlerParser.cs:
381 * TemplateParser.cs: always get the location (full path) for assemblies,
382 even the ones from the GAC.
384 * BaseCompiler.cs: check that DynamicBase directory exists before
385 creating the TempFileCollection.
387 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
389 * ClientScriptManager.cs: Use a linked list instead of a Hashtable
390 to store the scripts. In this way, scripts will be rendered in the
391 same order as they have been registered. It shouldn't be slower
392 since pages don't have many scripts.
394 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
396 * IEditableTextControl.cs: Implemented.
397 * DataBinder.cs: Marked constructor as obsolete in 2.0.
398 In GetDataItem, check for the IDataItemContainer interface
400 * TemplateControl.cs: Improved check for data item.
402 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
404 * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
405 * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
408 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
409 * TemplateParser.cs: Adding support for Strict/Explicit attributes
410 for @Page/@Control directives as documented at
411 http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
412 First step don't choke on them. Fixing #74671
414 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
416 * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
417 there from the time when Load wasn't working properly. First part of the
420 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
422 * ControlBuilder.cs: The BindingContainerType property happens
423 to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
424 which is used to get the binding container that is managing
425 the current two-way binding context.
426 * TemplateBuilder.cs: Added some methods and an internal class
427 to support two-way bindings.
428 * CompiledBindableTemplateBuilder.cs: Implemented.
429 * IBindableTemplate.cs: This interface inherits from ITemplate.
431 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
433 * ControlBuilder.cs: Added BindingContainerType property,
434 which works like NamingContainerType but takes into account
435 template builders with a specific container type (specified
436 using the TemplateContainerAttribute.
437 * StateManagedCollection.cs: Reimplemented Save/Load view
438 state methods. The existing implementation was not correct
441 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
443 * DataSourceView.cs: Added null check.
445 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
447 * TemplateControl.cs:
448 * Page.cs: Moved Eval and XPath from Page
450 * StateManagedCollection.cs: Avoid saving null state.
452 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
454 * DataSourceView.cs: Rethrow exceptions not handled by operation
456 * ITextControl.cs: Removed event.
457 * CollectionBuilder.cs: Don't crash when a collection has more
460 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
462 * Control.cs: Added a new internal property: HasRenderMethodDelegate.
463 * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
464 * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
466 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
468 * ClientScriptManager.cs: Fix build.
470 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
472 * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
473 since it is deprecated in 2.0.
474 * Page.cs: Deprecated GetPostBackClientEvent and similar methods
475 in 2.0. Moved callback management methods to ClientScriptManager.
476 * ClientScriptManager.cs: Moved here deprecated methods from Page.
477 In GetPostBackEventReference (PostBackOptions), don't use the
478 WebForm_DoPostback script if the post can be done with a simple
480 * PostBackOptions.cs: Fixed default values for some properties.
482 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
484 * Control.cs: in FindControl, throw if there's more than one control
485 with the same ID. Fixes bug #73479.
487 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
489 * Page.cs: Load control state before loading view state, and the
491 * DataSourceSelectArguments.cs: Fix recursive property call.
493 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
495 * DataSourceView.cs: Fixed incorrect implementation of
496 RaiseUnsupportedCapabilityError.
497 * IDataItemContainer.cs: Added new properties.
498 * Page.cs: Implemented Form property.
499 * Control.cs: Fixed formatting.
500 * StateManagedCollection.cs: Track view state of items loaded
503 2005-02-22 Lluis Sanchez Gual <lluis@novell.com>
505 * FilterableAttribute.cs: Fix endless loop.
507 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
509 * Page.cs: Implemented missing events.
511 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
513 * BoundPropertyEntry.cs:
515 * TwoWayBoundPropertyEntry.cs: implemented.
517 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
519 * Page.cs: Added support for validation groups. Some fixes in
520 SavePageControlState().
521 * IFilterResolutionService.cs: Removed extra field.
522 * INavigateUIData.cs: Added missing field.
523 * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
524 Implemented new interfaces.
526 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
528 * Page.cs: Implemented support for cross page postback. Implemented
529 support for postback with options. Fixed several method and property
531 * PostBackOptions.cs: Added some TODOs.
533 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
535 * ParseChildrenAttribute.cs: Set the correct default value for the
538 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
540 * ParseChildrenAttribute.cs: Added 2.0 property.
541 * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
542 * Page.cs: Added support for control state.
543 * TemplateBuilder.cs: ContainerType should be internal.
544 * Control.cs: Added some new 2.0 methods.
546 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
548 * PageParser.cs: Read the MasterPageFile attribute.
549 * UserControlParser.cs: Not sealed any more since we need to inherit from
550 it. Added new constructor with an additional "type" parameter.
551 * MasterPageParser.cs: Parser for master pages.
552 * Page.cs: Added support for master pages.
553 * MasterPage.cs: Implemented.
555 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
557 * TemplateBuilder.cs: Added a special constructor that takes an
558 attribute provider as parameter. The container type for the template
559 may be defined in a TemplateContainerAttribute.
560 * ControlBuilder.cs: Create the TemplateBuilder using that special
562 * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
564 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
566 * IStyleSheet.cs: Added missing "using".
567 * Page.cs: Implemented Header property.
568 * CssStyleCollection.cs: Made BagToString method internal.
569 * RootBuilder.cs: Register HtmlHead control.
571 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
573 * CssStyleCollection.cs: Minor (!) fix.
574 * HtmlTextWriter.cs: Register names for new 2.0 styles.
576 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
578 * CssStyleCollection.cs: Make it work as a standalone collection.
579 * HtmlTextWriter.cs: Added static method for getting style names.
581 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
583 * ControlCollection.cs: fix off-by-one and store a null at the end to
584 remove the reference to the removed control.
586 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
588 * ClientScriptManager.cs: Added GetScriptLiteral helper method.
590 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
592 * Page.cs: Added support for callback events. Moved theform variable
593 outside the __doPostBack function, so it can be used by other
595 * StateBag.cs: Implemented SetDirty().
597 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
599 * Control.cs: when saving "Visible" into the ViewState, save the value
600 for this precise control, as using the Visible property might give us
601 Control's parent visibility. Fixes bug #69200.
603 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
605 * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
608 * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
609 the appRoot + SessionID + vpath format.
611 Fixes the 3 issues reported in bug #66623.
613 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
615 * Page.cs: Moved code for managing client scripts to ClientScriptManager,
616 which is public in 2.0 and internal in 1.1.
617 * ClientScriptManager.cs: Implemented.
619 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
621 * DataSourceView.cs: Removed extra method.
623 2004-11-24 Sanjay Gupta <gsanjay@novell.com>
625 * DataSourveViewSelectCallback.cs: Corrected method signature.
627 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
629 * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
630 even if the class doesn't implement IParserAccessor.
631 * WebResourceAttribute.cs: Allow multiple attributes of this type.
633 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
635 * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
636 from SqlDataSourceView.cs.
638 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
640 * Control.cs: unified a few bool fields into an int one.
642 * ControlCollection.cs: use an array internally instead of always
643 allocating an arraylist. Also added our own enumerator.
645 * EmptyControlCollection.cs: there's no 'special' ctor now in the base
648 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
650 * DataSourceView.cs: Changes in access modifiers of methods.
652 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
654 * DataSourceCapabilities.cs: Added Flags attribute.
655 * DataSourceSelectArguments.cs: Updated.
656 * DataSourveView.cs: Updated.
658 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
660 * HierarchicalDataSourceView.cs: Corrected class definition and updated.
662 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
664 * HierarchicalDataSourceView.cs: fix typo.
666 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
668 * HierarchicalDataSourceView.cs: Updated.
670 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
672 * DataSourceSelectArguments.cs: Initial implementation.
674 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
676 * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
678 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
680 * UrlTypes.cs: Updated.
682 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
684 * UrlPropertyAttribute.cs: Added new file.
686 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
688 * Control.cs: even if the control has no children the naming container
689 may contain the control we're looking for. Fixes bug #67304.
691 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
693 * AspGenerator.cs: added OtherTags.
695 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
697 * ControlValuePropertyAttribute.cs: Initial implementation.
699 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
701 * IPaginationContainer.cs: Corrected name of class.
703 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
705 * IDReferencePropertyAttribute.cs: Completed implementation.
707 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
709 * ThemeableAttribute.cs:
710 * FilterableAttribute.cs: Code scrubbing and optimization.
712 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
714 * ThemeableAttribute.cs: Completed implementation.
716 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
718 * FilterableAttribute.cs: Completed implementation.
720 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
722 * Control.cs: Added new attributes and a method.
723 * FilterableAttribute.cs: New attribute, initial implementation.
724 * ThemeableAttribute.cs: New attribute, initial implemenataion.
726 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
728 * TemplateParser.cs: ensure bin directory exists before trying to access
729 it. Fixes bug #65446 (not closed yet due to dependencies).
731 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
733 * Control.cs: Implemented methods of interface IExpressionAccessor.
735 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
737 * SimpleWebHandlerParser.cs: correctly cache Type instead of the
738 assembly for ashx/asmx. Otherwise we need to open the file and check
739 for the class name in there. Thanks to Ben for pointing this out.
741 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
743 * TemplateParser.cs: removed creation of StringWriter. It's not used.
744 * Control.cs: don't create the EventHandlerList until requested.
746 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
748 * Control.cs: Added new interfaces implemented in .Net 2.0.
749 * ExpressionBinding.cs: Added new class.
750 * ExpressionBindingCollection.cs: Added new class.
752 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
754 * LiteralControl.cs: stylized. This control has EnableViewState disabled
755 by default and doesn't get an automatic ID. When text is null -> "".
757 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
759 * ControlSkinProc.cs:
760 * DataSourceViewOperationCallback.cs:
761 * DataSourceViewSelectCallback.cs:
762 * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
763 required in definition as delegates by default are sealed.
765 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
767 * IDReferencePropertyAttribute.cs: Corrected and changed from interface
769 * IMobileTextWriter.cs: Corrected method signatures.
771 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
773 * ControlSkinProc.cs:
774 * DataSourceViewOperationCallback.cs:
775 * DataSourceViewSelectCallback.cs:
776 * ExtractTemplateValuesMethod.cs: Added new delegates.
778 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
780 * IBindableTemplate.cs:
781 * ICallbackEventHandler.cs:
782 * IControlBuilderAccessor.cs:
783 * IControlDesignerAccessor.cs:
784 * IControlTypeFilter.cs:
785 * IDataItemContainer.cs:
786 * IDataSourceViewSchemaAccessor.cs:
787 * IDReferencePropertyAttribute.cs:
788 * IExpressionsAccessor.cs:
789 * IFilterResolutionService.cs:
790 * IItemPaginationInfo.cs:
791 * IMobileTextWriter.cs:
793 * IPaginationContainer.cs:
794 * IPaginationInfo.cs:
795 * IResourceResolutionService.cs:
796 * IResourceUrlGenerator.cs:
797 * IStateFormatter.cs:
799 * IThemeResolutionService.cs:
800 * IUrlResolutionService.cs:
801 * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
803 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
805 * PostBackOptions.cs: Added new file and implemented the class.
807 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
809 * HtmlTextWriterTag.cs: readded author name.
811 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
813 * HtmlTextWriterAttribute.cs:
814 * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
815 * CompilationMode.cs:
816 * ConflictOptions.cs:
817 * DataSourceCacheExpiry.cs:
818 * DataSourceCapabilities.cs:
819 * DataSourceOperation.cs:
820 * TemplateContentType.cs:
821 * TemplateInstance.cs:
823 * VerificationConditionalOperator.cs:
824 * VerificationReportLevel.cs:
825 * VerificationRule.cs:
826 * XhtmlMobileDocType.cs: Added enumerations.
828 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
830 * Control.cs: style. Reverted previous patch modification of
831 TemplateSourceDirectory (failed when the control is reparented). Use
832 HasControls() and Controls all over instead of _controls, as Controls
833 property and HasControls() might be overriden.
835 2004-07-27 Alon Gazit <along@mainsoft.com>
837 * Control.cs: Changed the implementation of TemplateSourceDirectory
838 and GetDefaultName(). replaced foreach statements with for statements,
839 in order to improve performence.
841 2004-07-27 Alon Gazit <along@mainsoft.com>
843 * Page.cs: changed the implementation of GetViewStateString().
844 if the view state object is null there is no need to perform
847 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
849 * TemplateControl.cs: don't include private methods of base classes when
850 auto-attaching events. Fixes bug 61569.
852 2004-07-14 Alon Gazit <along@mainsoft.com>
854 * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
855 2004-07-08 Pablo Baena <pbaena@gmail.com>
857 * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
859 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
861 * Page.cs: added additional checks for saving/displaying trace data.
863 * PageParser.cs: removed checks for trace enabled in configuration
866 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
868 * ControlCollection.cs: when clearing the control collection, tell the
869 owners about the removal. Fixes bug #60800.
871 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
873 * Page.cs: don't nullify _context after processing the request as there
874 are events not triggered yet. Fixes bug #60726.
876 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
878 * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
881 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
884 * UserControlParser.cs: set the page/user control base type even when no
885 default directive provided. Fixes bug #60572.
887 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
889 * PageParser.cs: use default trace settings from web.config and check
890 if trace is only requested for local connections. Fixes bug #60180.
892 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
894 * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
895 we read the default directive, check the cache for the Type and if
896 present, don't keep reading and store the type found.
898 * WebHandlerParser.cs:
899 * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
902 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
904 * Control.cs: properly fixed bug #59794.
906 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
909 (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
912 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
914 * SimpleWebHandlerParser.cs:
915 * TemplateParser.cs: pass the language when compiling from a file.
917 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
919 * SimpleWebHandlerParser.cs: if we have a global.asax, move its
920 reference to the end to help mcs loading the assemblies. Fixes bug
923 * TemplateParser.cs: same as above. Removed some kludges to workaround
924 loading assemblies from bin path that are now in the runtime. Don't
925 load the assemblies in bin if not needed, but still reference them
928 2004-06-07 Alon Gazit <along@mainsoft.com>
929 * Page.cs: Changed Page.ProcessPostData().
930 After the change ,the state of controls that aren't visible is saved
933 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
935 * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
937 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
939 * Page.cs: IsPostBack also returns true when method is GET and we have
940 viewstate information in the query string. Fixes bug #58151.
942 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
944 * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
945 HttpRutime.TraceManager.
947 * PageParser.cs: for 'trace' we have 2 variables now. Added support
948 for 'buffer' attribute.
950 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
952 * Page.cs: implemented ClientTarget.
953 * PageParser.cs: support for clientTarget and check for validity.
955 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
958 * Html32TextWriter.cs:
960 * SimpleWebHandlerParser.cs:
961 * TemplateControl.cs: Added protected missing members and attributes.
963 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
965 * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
966 calling a protected method of another object.
968 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
970 * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
971 (of other objects) are called in TypeConverterFormatter.
973 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
975 * ObjectStateFormatter.cs: before choosing the binary formatter, check
976 if the object type has a TypeConverter that can convert to/from string.
979 * Page.cs: call GetViewStateString from outside the WriteLine. This
980 allows writing to the Response when getting the string without breaking
983 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
985 * HtmlTextWriter.cs: render end tag for unknown tags.
986 Patch frmo Markus Krutner. Fixes bug #59466.
988 2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
990 * Page.cs: call DeterminePostBackMode only once per request. Patch by
993 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
995 * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
998 * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
1001 2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1003 * SimpleWebHandlerParser.cs:
1004 * TemplateParser.cs: for the assembly names given in the 'assembly'
1005 attribute, use LoadWithPartialName instead of Load.
1006 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1008 * Page.cs: return HttpContext.Current if _context has not yet been
1009 assigned to. Fixes bug #55245.
1011 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1013 * TemplateParser.cs: don't add import statement or assemblies from
1014 global.asax to every file. Fixes bug #55496.
1016 2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
1018 * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
1019 handle single quotes and a few corner cases correctly (see test cases).
1021 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1023 * TemplateControl.cs: fixed typos and added new method names to the set
1026 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1028 * ControlBuilder.cs: added SetTagName().
1030 * ObjectTagBuilder.cs: use SetTagName so that we can properly close
1031 <object> builders if the closing tag is provided.
1033 2004-02-16 Jackson Harper <jackson@ximian.com>
1035 * Page.cs: Set cacheability for Location.DownStream.
1037 2004-02-10 Jackson Harper <jackson@ximian.com>
1039 * TemplateParser.cs: Use full path if the assembly is in the
1040 private bin directory. Patch by Gonzalo Paniagua Javier.
1042 2004-02-09 Jackson Harper <jackson@ximian.com>
1044 * Page.cs: Set cacheability for server side caching.
1046 2004-01-30 Jackson Harper <jackson@ximian.com>
1048 * Control.cs: Ensure that dynamically loaded controls are
1051 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1053 * ApplicationFileParser.cs: check for error in directives. Use
1054 GlobalAsaxCompiler.CompileApplicationType for compiling.
1056 * ObjectTagBuilder.cs: load the Type and check for errors.
1058 * TemplateParser.cs: add assemblies and imports from global.asax.
1060 Now we properly create accessors for session and application objects in
1061 the application itself, pages and controls. First step for fixing
1064 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1066 * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
1067 to Eric Lindvall for pointing this out.
1069 2004-01-15 Jackson Harper <jackson@ximian.com>
1071 * TemplateParser.cs: Detect if we are parsing a control or page
1073 * Page.cs: vary by params and vary by headers can be null now.
1075 2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
1077 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
1080 2004-01-14 Jackson Harper <jackson@ximian.com>
1082 * Page.cs: If we have a postback that wasn't sent through a
1083 postback script (ie user hit submit on a input type=submit) call
1084 Validate so page validation occurs. This fixes bug #52770.
1086 2004-01-14 Jackson Harper <jackson@ximian.com>
1088 * Page.cs: Don't tell the response to cache anymore. This is done
1089 when the cacheability is modified by a callback. Set the cache's
1092 2004-01-14 Jackson Harper <jackson@ximian.com>
1094 * TemplateParser.cs: If varybyparam is set to "none" make it null
1095 so we dont get a param named null in the outputcache key.
1097 2004-01-14 Jackson Harper <jackson@ximian.com>
1099 * BasePartialCachingControl.cs: Use varyby attributes in key
1102 2004-01-14 Jackson Harper <jackson@ximian.com>
1104 * TemplateParser.cs: Add all the outputcache attribute error
1107 2004-01-13 Jackson Harper <jackson@ximian.com>
1109 * TemplateParser.cs: Add VaryByControls and Shared output cache
1110 properties. These are not assigned yet.
1111 * TemplateControlParser.cs: Do not ignore the OutputCache
1113 * BasePartialCachingControl.cs: Initial implementation. Keys are
1114 still not created properly.
1115 * StaticPartialCachingControl.cs: Assign properties in base class,
1116 implement CreateControl.
1118 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1120 * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
1122 * PageParser.cs: support validateRequest.
1124 * TemplateControlParser.cs: get default values from system.web/pages
1127 * TemplateParser.cs: added separate method for changing base type
1128 (Inherits or system.web/pages).
1130 * UserControlParser.cs: support system.web/pages defined base type.
1132 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1134 * UserControl.cs: Added missing attribute, implemented method
1135 * Page.cs: Added missing attribute, implemented method
1137 2004-01-10 Jackson Harper <jackson@ximian.com>
1139 * Page.cs: Handle trace being enabled in the config file.
1141 2004-01-10 Jackson Harper <jackson@ximian.com>
1143 * Page.cs: Save trace data before rendering it.
1144 * System.Web.dll.sources: Add TraceData.cs
1146 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1148 * Page.cs: removed a couple of MonoTODO on methods we're not gonna
1149 implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
1150 ensure that Unload event is raised. Fixes bug #52555.
1152 2004-01-02 Zoltan Varga <vargaz@freemail.hu>
1154 * KeyedList.cs: 'private' is not allowed on explicit interface
1155 implementations. Fixes 1.2 build.
1157 2003-12-31 Jackson Harper <jackson@ximian.com>
1159 * TemplateControlParser.cs: When registering tag prefixs make sure
1160 the file exists and throw the correct error if it does not.
1162 2003-12-25 Jackson Harper <jackson@ximian.com>
1164 * Page.cs: Throw error if the session is accessed when sessions
1167 2003-12-18 Jackson Harper <jackson@ximian.com>
1169 * Page.cs: Write Trace info.
1171 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1173 * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
1174 * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
1176 * PageParser.cs: the ctor is public.
1177 * PartialCachingAttribute.cs: added new ctor and Shared property.
1179 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1181 * Page.cs: assign the ErrorPage to the context if we get an exception
1182 when processing the page which only calls Unload.
1184 * PageParser.cs: handle ErrorPage.
1186 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188 * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
1189 are not [Serializable]. Fixes bug #52244.
1191 2003-12-16 Jackson Harper <jackson@ximian.com>
1193 * Page.cs: Render trace data when tracing is enabled.
1195 2003-12-15 Jackson Harper <jackson@ximian.com>
1197 * PageParser.cs: Add Trace and Trace mode attributes.
1199 2003-12-15 Jackson Harper <jackson@ximian.com>
1201 * Page.cs: Use the context trace object.
1203 2003-12-14 Alon Gazit <along@mainsoft.com>
1204 * AttributeCollection.cs: Changed AttributeCollection.Render().
1205 After the change attributes ,that their value is null, aren't
1208 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1210 * Control.cs: remove a few dangling ^M, don't set values for fields
1211 that has the default value. If Visible is modified and we're tracking
1212 viewstate, save and restore it. Fixes bug #48689.
1214 2003-12-11 Jackson Harper <jackson@ximian.com>
1216 * Control.cs: Give null for the ID if it hasn't been explicitly
1217 set. This fixes bug #51520.
1219 2003-12-08 Jackson Harper <jackson@ximian.com>
1221 * PageParser.cs: Ignore the SmartNavigation attribute for now.
1223 2003-12-05 Jackson Harper <jackson@ximian.com>
1225 * DataBinder.cs (GetIndexedPropertyValue): Check if container is
1226 an IList and use a cast instead of reflection to retrieve the item
1227 if it is. Fixes bug #51759.
1229 2003-12-04 Alon Gazit <along@mainsoft.com>
1230 * Page.cs: Changed Page.ID so it will call Control.ID.
1233 2003-12-02 Jackson Harper <jackson@ximian.com>
1235 * Page.cs: Implemented registered array declarations. Patch by
1236 Benjamin Jemlich <pcgod@gmx.net>
1238 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1240 * TemplateParser.cs: basic check for 'classname' attribute and added
1241 patch by pcgod@gmx.net for bug #51568, which fixes automatic class
1242 names for pages starting with a number.
1244 2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
1246 * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
1249 * ObjectStateFormatter.cs: Comment out tracing.
1251 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1253 * Page.cs: fixed UICulture, LCID and Culture. Set the thread
1254 [UI]Culture before processing the request.
1256 * PageParser.cs: read Culture, UICulture and LCID attributes. Added
1257 properties for these. Partially contributed by Mohammad Damt.
1261 2003-11-27 Jackson Harper <jackson@ximian.com>
1263 * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
1266 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
1268 * ObjectStateFormatter.cs: Fix bug when reading small ints.
1269 Add some tracing so we can see what is going on.
1271 2003-11-21 Jackson Harper <jackson@ximian.com>
1273 * Page.cs: Set vary by params when cache location is Server.
1275 2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
1277 * ObjectStateFormatter.cs: v2 file. In v1.x this will be
1278 internal as LosFormatter will eventually use it to save
1281 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1283 * PersistChildrenAttribute.cs:
1284 * PersistenceModeAttribute.cs: implemented.
1286 * TODO: Removed file.
1287 * OutputCacheLocation.cs:
1288 * TemplateControlParser.cs:
1289 * HtmlInputFile.cs: class status based fixes.
1291 2003-11-19 Jackson Harper <jackson@ximian.com>
1293 * Page.cs: Always set the cache expire time. Tell the response to
1294 cache itself for server side cached pages.
1296 2003-11-19 Jackson Harper <jackson@ximian.com>
1298 * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
1299 thing, some corner cases still need work though. Was this the
1300 shortest lived method in the history of mono?
1302 2003-11-19 Jackson Harper <jackson@ximian.com>
1304 * Control.cs: New method for resolving urls that use ~/ to denote
1305 the applications base directory.
1307 2003-11-19 Jackson Harper <jackson@ximian.com>
1309 * TemplateParser.cs: Fix typo in error message.
1311 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1313 * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
1316 2003-11-19 Todd Berman <tberman@gentoo.org>
1319 * KeyedListEnumerator.cs: New v2 implementations.
1321 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
1323 * StateManagedCollection.cs: Implement.
1325 2003-11-13 Jackson Harper <jackson@ximian.com>
1327 * Page.cs: Initial implementation of InitOutputCache.
1328 * TemplateParser.cs: Page OutputCache options
1330 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
1332 * HierarchicalDataSourceControl.cs: Implement.
1334 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
1336 * XPathBinder.cs: Implemented.
1338 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
1340 * DataSourceView.cs:
1342 * ListSourceHelper.cs:
1343 * DataSourceControl.cs:
1344 * HierarchicalDataSourceView.cs:
1345 * IHierarchicalDataSource.cs: Move v2 stuff.
1347 2003-11-07 Jackson Harper <jackson@ximian.com>
1349 * Control.cs (ResolveUrl): Special case for urls that consist of
1350 only a page anchor. ie <a href="#top">. This fixes bug #50165.
1352 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
1354 * IHierarchicalEnumerable.cs:
1355 * IHierarchyData.cs:
1356 * INavigateUIData.cs: New v2 interfaces.
1358 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1360 * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
1361 space in generated javascript.
1363 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1365 * LosFormatter.cs: encoding updates.
1366 * Page.cs: implemented CodePage and ContentType.
1367 * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
1370 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
1372 * Control.cs (GetWebResourceUrl): new v2 function
1373 * Page.cs (GetWebResourceUrl): ditto.
1374 make the JS we generate work with moz if the form is not a child
1376 * WebResourceAttribute.cs: Added, new v2 attribute.
1378 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1380 * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
1382 * PageParser.cs: initialize the parser in the constructor, not just
1383 before compiling and reference the application assembly.
1385 * SimpleWebHandlerParser.cs: reference the assembly that contains the
1388 * TemplateControl.cs:
1389 * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
1390 path and physical path when compiling a user control.
1392 * TemplateParser.cs: new AddApplicationAssembly ().
1393 * UserControlParser.cs: now we get valid values in the ctor.
1395 Referencing the application assembly fixes bug #49652.
1398 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1400 * TemplateControl.cs: moved NoParamsInvoker class to its own file.
1402 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1404 * BaseParser.cs: added CompilationConfig property.
1406 * TemplateParser.cs:
1407 * SimpleWebHandlerParser.cs: added CompilationConfig property.
1408 Don't hardcode assembly names any more, assemblies in bin are added
1409 depending on the configuration. The default language is also taken
1410 from the configuration.
1412 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1414 * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
1416 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1418 * Control.cs: removed some debug lines.
1419 * Page.cs: implemented RegisterOnSubmitStatement
1420 * TemplateControl.cs: fixed wire up for methods with no parameters.
1422 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1424 * PageParser.cs: ignore ValidateRequest by now.
1426 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1428 * System.Web.UI/TemplateControl.cs: support for wiring up events without
1431 2003-10-08 Pedro Martnez Juli <yoros@wanadoo.es>
1433 * PageParser.cs: drop some useless code.
1435 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
1437 * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
1439 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1441 * System.Web.UI/PageParser.cs:
1442 * System.Web.UI/TemplateControlParser.cs: honour the input file given
1445 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1448 (ClearChildViewState): doh! Don't clear control viewstate but the
1449 viewstate of possible children.
1450 (LoadViewStateRecursive): load viewstate even when control is not
1453 The rest are just dangling ^M removed.
1455 * DataBoundLiteralControl.cs:
1456 (LoadViewState): we get an object [], not a string [].
1458 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1460 * Control.cs: implemented ClearChildViewState ().
1462 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1464 * Page.cs: store unique IDs for controls requiring postback. Fixes bug
1467 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1469 * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
1470 dependencies so that it's recompiled when changed.
1472 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1474 * LosFormatter.cs: fixed Deserialize for empty viewstate.
1476 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1478 * Page.cs: check if controls that require postback have
1479 been changed by an event and register them to be notified of data
1482 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1484 * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
1487 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1489 * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
1490 are not serializable. Fixes bug #47784.
1492 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1494 * Control.cs: index the viewstates saved by the control position, not
1495 the control name. Fixes bug #47697.
1497 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1499 * ControlCollection.cs:
1500 * EmptyControlCollection.cs: create a minimum ArrayList for this.
1502 * BaseParser.cs: added setter for BaseVirtualDir.
1504 * Page.cs: fixed message when restoring view state fails.
1505 * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
1506 when a relative path to the control is given. Fixes bug #47685.
1508 2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1510 * Control.cs: when we load the viewstate for a control that has children
1511 viewstates and the child is not found, keep its viewstate around and
1512 wait until the child is added to load the viewstate. Fixes bug #47697.
1514 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1516 * TemplateControl.cs: more Delegate.CreateDelegate fixes.
1518 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1520 * PartialCachingControl.cs: is not abstract
1522 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1524 * SimpleHandlerFactory.cs: implemented GetHandler.
1525 * WebHandlerParser.cs: new file that parses .ashx files.
1527 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1529 * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
1531 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1533 * UserControl.cs: Added attribute
1534 * BasePartialCachingControl.cs: New class and paritally implemented
1535 * DesignerDataBoundLiteralControl.cs: New class and implemented
1536 * DesignTimeTemplateParser.cs:
1537 * PartialCachingControl.cs:
1538 * StaticPartialCachingControl.cs: New class and paritally implemented
1540 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1542 * ApplicationFileParser.cs: Fixed signature
1543 * DesignTimeParseData.cs: Added missing properties, implemented
1544 * Page.cs: Added attributes
1546 * TemplateControlParser.cs:
1547 * TemplateParser.cs:
1548 * UserControlParser.cs: Fixed signature
1550 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1552 * HtmlControlPersistableAttribute.cs: Added
1553 * IgnoreUnknownContentAttribute.cs: Added
1555 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1557 * IUserControlDesignerAccessor.cs: Added and implemented
1558 * Control.cs: Missing member added, added all attributes
1559 * Page.cs: Added attributes, fixed signature
1560 * TemplateControl.cs: Fixed signature, added all attributes
1561 * UserControl.cs: Added all attributes, added and implemented missing interface
1563 2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1565 * ControlCollection.cs: fixed bug #46472.
1567 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1569 * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
1571 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1573 * SimpleWebHandlerParser.cs: updated to new compilation interface.
1575 * TemplateParser.cs: use the new parameter when compiling.
1577 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1579 * Page.cs: also keep the value for the second try on handling postback
1582 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1584 * BaseParser.cs: fixed MapPath for non-rooted files.
1585 * PageParser.cs: don't pass a non-virtual file around.
1586 * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
1587 the exception teh may be throw by MapPath on an invalid path.
1589 * TemplateParser.cs: removed unused method.
1590 * UserControlParser.cs: modified inputfile. The result is the same, but
1593 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1595 * RootBuilder.cs: throw exception when the tagprefix is not valid or
1598 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1600 * TemplateControlParser.cs: return after processing @Register.
1602 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1604 * TemplateParser.cs: Added support for server side includes.
1606 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1608 * TemplateControl.cs: fixed the flags used to find the methods that
1609 are automatically hooked up on events.
1611 * TemplateParser.cs: don't compile a source file directly. Use the
1614 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1616 * BaseParser.cs: Location property is now here. Added a couple of
1617 convenience methods to throw a ParseException.
1619 * TemplateParser.cs:
1620 * TemplateControlParser.cs:
1621 * PageParser.cs: throw ParseException where appropiate.
1623 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1625 * ApplicationFileParser.cs: use the generator to actually parse the
1628 * ControlBuilder.cs: small fix in NamingContainerType because
1629 TemplateBuilders have a null ControlType. When a control is appended
1630 to a parent, assign the child's parent.
1632 * UserControlParser.cs: fixed the value of InputFile.
1634 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1636 * ApplicationFileParser.cs: store the Context and override
1637 BaseVirtualDir so that it's the application path.
1639 * BaseParser.cs: removed CurrentVirtualPath property.
1641 * TemplateControlParser.cs: use BaseVirtualDir.
1643 * UserControlParser.cs: removed CurrentVirtualPath.
1645 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1647 * TemplateParser.cs: always reference all the assemblies in bin
1650 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1652 * ApplicationFileParser.cs: it works now. Prior to these changes, we
1653 were using the compiler directly.
1655 * BaseParser.cs: added some useful properties and methods.
1657 * CodeBuilder.cs: use ILocation.
1658 * CodeRenderBuilder.cs: use ILocation.
1659 * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
1661 * ControlBuilder.cs: made it useful.
1663 * DataBindingBuilder.cs: the control type for data bound text is
1664 DataBoundLiteralControl now.
1666 * ObjectTagBuilder.cs: store some object tag attributes.
1668 * PageParser.cs: handle page-only directives.
1670 * RootBuilder.cs: bah.
1671 * SimpleWebHandlerParser.cs: made it dummy.
1672 * TemplateControl.cs: Modified file.
1674 * TemplateControlParser.cs: handle directives that are common to pages
1677 * TemplateParser.cs: utility methods and handling of directives that
1678 are common to app, page and user controls.
1680 * UserControl.cs: added ControlBuilderAttribute.
1682 * UserControlControlBuilder.cs: builder for user controls.
1683 * UserControlParser.cs: use the new interfaces.
1685 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1687 * ControlBuilder.cs: line and fileName are protected now.
1689 * CodeBuilder.cs: base class for the next 2 files.
1690 * CodeRenderBuilder.cs: builder for code render.
1691 * DataBindingBuilder.cs: builder for data binding.
1693 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1695 * ITagNameToTypeMapper.cs: made it internal.
1697 * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
1699 * RootBuilder.cs: initial builder.
1701 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1703 * CollectionBuilder.cs:
1704 * TemplateBuilder.cs: new classes derived from ControlBuilder that
1705 represent a property or a ITemplate.
1707 * ControlBuilder.cs: implemented all the missing bits.
1708 * TemplateParser.cs: added mapping from tag name to Type feature.
1710 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1712 * Control.cs: have i definitely fixed naming container stuff this time?
1714 * LosFormatter.cs: activated binary serialization code.
1716 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1719 (AddedControl): fixed default id assignation when the sequence of
1720 AddedControl until it's included in the page or one of its controls
1721 does not pass through a naming container.
1723 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1725 * Control.cs: give different default names depending on the place where
1726 it is assigned. Implemented ResolveURl (no more ~ rendered in
1729 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1731 * Control.cs: when adding a control, assign default names to th
1732 children that don't have one.
1734 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1736 * SimpleWebHandlerParser.cs: modified to use the new parser interface.
1738 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1740 * Control.cs: some more tweaks to naming containers stuff.
1741 * DataBinder.cs: don't throw exception if the container is null.
1743 * Page.cs: now we can render client scripts, startup scripts and hidden
1744 fields. Only render __VIEWSTATE if there is someone that will take care
1746 (RaisePostBackEvents): first try the last one that required raise event,
1747 then try __EVENTTARGET.
1749 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1751 * Control.cs: fixes in UniqueID, FindControl, AddedControl,
1752 UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
1753 FindControl work with NamingContainers.
1755 * ControlCollection.cs: notify the parent when clearing the collection.
1757 * LosFormatter.cs: Added debugging output and generate a valid
1758 viewstate even for unknown types.
1760 * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
1763 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1765 * Page.cs: make it fire the LoadData related events also for controls
1766 such as ImageButton, whose variable(s) in the query string are of the
1767 form ctrl_name.x and only fire them once per control.
1769 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1772 (GetPropertyValue): don't try to get the property as indexed
1774 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1776 * DataBinder.cs: use TypeDescriptor to get the properties and their
1779 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1782 (AddedControl): take the children to the same state of the parent.
1783 (InitRecursive): set the page of the children.
1785 * Page.cs: removed one line (it's done a few lines above).
1788 (OnInit): always call InitializeAsUserControl
1789 (InitializeAsUserControl): sets the page for the control.
1791 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1793 * Control.cs: fixed bug #36037.
1795 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1797 * BaseParser.cs: a couple of path fixes to make it work
1798 when the page is not in the root directory.
1800 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1802 * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
1805 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1807 * BaseParser.cs: use MapPath and context to locate files.
1808 * Control.cs: implemented MapPathSecure.
1809 * TemplateControl.cs: use UrlUtils to generate the path.
1810 * TemplateControlParser.cs: use the context and MapPath.
1811 * UserControl.cs: implemented MapPath.
1812 * UserControlParser.cs: added context parameter to constructor.
1814 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1816 * Control.cs: implemented MapPathSecure.
1817 * Page.cs: fixed Server property.
1819 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1821 * DataBinder.cs: try the indexer if the property is not found in
1822 GetPropertyValue ().
1824 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1826 * Control.cs: added AutoEventWireup internal property.
1828 * Page.cs: removed page events wire up from here.
1830 * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
1831 and user controls events.
1833 * TemplateControlParser.cs: process the options that are applicable
1834 once we have the instance of the control.
1836 * TemplateParser.cs: also stores the options.
1838 * UserControl.cs: hook up events before initializing the control.
1841 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1843 * Control.cs: new method to set bindingContainer value.
1844 * TemplateControl.cs: added controls are not binding containers.
1846 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1848 * Control.cs: implemented TemplateSourceDirectory.
1849 * TemplateControl.cs: implemented LoadControl and LoadTemplate.
1851 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1853 * UserControl.cs: fixed SetAttribute.
1854 * UserControlParser.cs: set the correct base type.
1856 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1858 * TemplateParser.cs: fixed BaseType.
1859 * UserControlParser.cs: helper class to compile user controls.
1861 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1863 * LosFormatter.cs: added DateTime to special types.
1865 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1867 * LosFormatter.cs: added array serialization support. Disabled binary
1868 serialization and add some debugging code.
1870 * StateBag.cs: the length of the list of value can be less than the
1871 length if the list of keys when remaining values are null.
1873 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1875 * Page.cs: return something useful in GetPostBackClientEvent.
1877 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1879 * Page.cs: implemented FileDependecies and made it protected.
1881 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1883 * Control.cs: save control names instead of the controls
1884 themselves to the ViewState.
1886 * LosFormatter.cs: added support for serializing unknown
1887 types. BinaryFormatter does not work so you better don't store anything
1888 of unknown Type in ViewState.
1890 * Page.cs: GetViewStateString works now using LosFormatter.
1891 Complete "Control execution lifecycle" by unloading all the child
1892 controls. Check for null in RaisePostBackEvents.
1893 LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
1895 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1897 * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
1899 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1901 * LosFormatter.cs: Use WebEncoding.Encoding.
1904 * Page.cs: fixed namespace.
1906 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1908 * Page.cs: set the context in ProcessRequest. Added a few trace calls.
1909 * Control.cs: added some trace information.
1911 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1913 * SimpleHandlerFactory.cs: new handler for .ashx files.
1915 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1917 * System.Web.UI/PageHandlerFactory.cs: new file.
1918 * System.Web.UI/PageParser.cs:
1919 * System.Web.UI/TemplateControlParser.cs: we are now able to compile
1920 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1922 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1924 * Control.cs: implemented ObBubbleEvent.
1925 * Page.cs: temporary workaround to make POST work with xsp server.
1927 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1929 * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
1932 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1934 * SimpleWebHandlerParser.cs: New file.
1935 * WebServiceParser.cs: New file.
1937 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1939 * LosFormatter.cs: almost fully implemented.
1941 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1943 * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
1944 * EmptyControlCollection.cs: throw correct exception.
1945 * LosFormatter.cs: stubbed out.
1946 * OutputCacheLocation.cs: little fix.
1948 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1950 * System.Web.UI/ApplicationFileParser.cs:
1951 * System.Web.UI/BaseParser.cs:
1952 * System.Web.UI/PageParser.cs:
1953 * System.Web.UI/TemplateControl.cs:
1954 * System.Web.UI/TemplateControlParser.cs:
1955 * System.Web.UI/TemplateParser.cs: first steps to move xsp into
1958 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1960 * Page.cs: request to render postback script can be after form started
1963 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1965 * Page.cs: added more page events to invoke automagically if some
1966 methods are defined.
1968 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1971 (SaveViewState): save state even when control is not visible.
1972 (SaveViewStateRecursive):
1973 (LoadViewStateRecursive): made internal.
1975 2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1977 * Page.cs: improved event raising to allow client postback for a wider
1978 variety of actions (clicking an hyperlink, ...).
1980 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1982 * UserControl.cs: implemented Load/SaveViewState.
1984 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1986 * AttributeCollection.cs:
1987 (Add): handle 'style' through styleCollection.
1989 * CssStyleCollection.cs:
1990 (fillStyle): renamed to FillStyle and made it internal.
1993 (GetViewStateString): fixed, broken after other recent changes.
1994 (ProcessPostData): allow a second try for postback data after OnLoad.
1995 (ProcessRequest): clear controls collection, removed call to
1998 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2000 * Control.cs: uncommented Dispose.
2003 (DeterminePostBackMode): more checkings.
2004 (GetPostBackClientHyperLink): implemented.
2005 (GetPostBackEventReference): added some comments with the HTML that MS
2007 (ProcessRequest): fixed processing order. The page is unloaded after
2008 a request and regenerated from view state on subsequents posts.
2010 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2012 * Control.cs: fixed related to ViewState. Added RemovedControl.
2014 * ControlCollection.cs: notify owner of control removal.
2016 * CssStyleCollection.cs: almost rewritten to make it render the style
2017 attribute after changes to it.
2019 * Page.cs: follow the guidelines in 'Control execution lifecycle'.
2022 * StateBag.cs: don't use IDictionary.GetEnumerator on the
2023 HybridDictionary: it makes the program give an InvalidCastException at
2026 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2028 * Page.cs: fire Init and Load events for all children.
2030 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2032 * UserControl.cs: New file.
2034 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2036 * ControlBuilderAttribute.cs: finished implementation.
2038 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2040 * ConstructorNeedsTagAttribute.cs: the default constructor sets the
2043 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2045 * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
2047 * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
2048 Hashtable. Added internal .ctor.
2050 * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
2051 Equals and GetHashCode.
2053 * System.Web.UI/DataBoundLiteralControl.cs:
2055 (SaveViewState): implemented.
2057 * System.Web.UI/Page.cs: FileDependencies is not public.
2059 * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
2062 (IsDefaultAttribute): implemented.
2064 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2066 * Control.cs: fixed Visible property.
2067 * Page.cs: fixed GetViewStateString.
2069 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2071 * System.Web.UI/Page.cs:
2072 (GetViewStateString): new function to give the server access to the
2073 generated view state string.
2076 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2079 (SaveViewstateRecursive): implemented.
2080 (SaveViewState): fixed.
2081 (IParserAccessor.AddParsedSubObject): don't use 'this'.
2083 * Page.cs: added code to save view state to an xml file. It's not
2084 being used right now.
2086 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2088 * System.Web.UI/LiteralControl.cs:
2089 Fixes based on class status page:
2091 - Add attributes (DefaultEvent, ParseChildren).
2093 - Explicitly implement some interfaces (IPostBackDataHandler
2094 and IPostBackEventHandler).
2095 - Implemented some missing methods.
2097 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2099 * Control.cs: reimplemented FindControls.
2102 (.ctor): set the page for this control.
2103 (IsPostBack): return valid value.
2104 (DeterminePostBackMode): finished.
2105 (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
2106 (ProcessPostData): implemented. Raises change and postback events.
2107 (ProcessRequest): changed to support reuse of the instance.
2108 (RegisterRequiresPostBack): implemented.
2110 * ValidatorCollection.cs: implemented all methods.
2112 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2115 * Page.cs: first attemp to save view state.
2117 * HtmlForm.cs: don't render Action.
2119 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2121 * Page.cs: implemented more properties using information we already
2125 (VerifyRenderingInServerForm): implemented.
2127 2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2129 * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
2130 out runtime. Renamed Page_Init and Page_Load.
2132 After this, we can load a dll and render HTML in linux.
2134 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2137 (AddedControl): new function that is called whenever a control is
2138 added to a collection of controls in a container. It sets the defaults
2141 * ControlCollection.cs: call AddedControl in Add/AddAt.
2143 * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
2144 SetStaticString and SetDataBoundString.
2146 * Page.cs: removed SetDefaults.
2148 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2150 * CompiledTemplateBuilder.cs: new file. Used in the code generated
2154 (BindingContainer): implemented.
2155 (EnsureChildControls): avoid stack overflow.
2157 * DataBinder.cs: implemented Eval and PropertyValue.
2159 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2161 * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
2162 bug as in regular attributes).
2164 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2166 * Control.cs: implemented PreventAutoID.
2169 (SetDefaults): don't set ID automatically if Control.PreventAutoID has
2172 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2175 (Validators): if the collection is null, create one.
2176 (GetPostBackEventReference 2): don't throw exception.
2177 (GetPostBackClientEvent): return a string with containing the method
2178 name, the control name and the argument.
2180 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2182 * Page.cs: SetPage is now called SetDefaults and also sets a default
2183 ID for controls that don't have one yet.
2185 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2188 (GetPostBackClient):
2189 (RegisterRequiresPostBack): don't throw NotImplementedException to
2191 (ProcessRequest): set the current page as the Page property for *all*
2192 the controls, not just the direct children of the page.
2194 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2197 (MapPathSecure): until security is implemented, return the same path
2198 received as argument.
2199 (RenderControl): call OnPreRender before rendering the control. So
2200 AdRotator can read its configuration file.Is there any other place
2201 where this should be done?
2203 * HtmlTextWriter.cs:
2204 (AddAttribute): fixed. Now it really stores attributes.
2205 (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
2207 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2209 * ControlCollection.cs:
2210 (AddAt): if index is -1 behave as a plain Add.
2212 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2214 * Page.cs: for each child control to render, assign Control.Page.
2215 Probably also needed in HtmlContainerControl derived classes.
2217 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2219 * AttributeCollection.cs: don't need a Hastable. StateBag now works
2220 fine and takes care of the details.
2222 * Control.cs: added HasChildren property.
2224 * StateBag.cs: fixed a couple of nasty bugs.
2226 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2228 * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
2229 Invoke Page_Init and/or Page_Load if the user supplied them (though
2230 this should depend on AutoEventWireUp attribute of Page directive).
2232 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2234 * Control.cs: don't throw exception in ControlID. By now, it returns ID.
2237 (ProcessRequest): implemented.
2239 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2241 * System.Web.UI/Page.cs: finished stubbing out. Implemented some
2244 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2247 (FileDependencies): now is public public.
2248 (EnableViewStateMAC): uncommented and made protected.
2249 (GetTypeHashCode): added method.
2251 2002-05-24 Duncan Mak <duncan@ximian.com>
2253 * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
2255 * StateBag.cs (Item): Changed the visibility level of the this
2258 Misc. formatting edits, fixing some bugs introduced by the indentation.
2260 * DataBinder.cs (Eval)
2261 (GetIndexedPropertyValue)
2262 (GetPropertyValue): Fixed return types.
2264 2002-05-21 Miguel de Icaza <miguel@ximian.com>
2266 * HtmlTextWriter.cs: Use this to change the member instances.
2268 2002-05-17 Duncan Mak <duncan@ximian.com>
2270 * AttributeCollection.cs:
2271 * ControlCollection.cs:
2272 * CssStyleCollection.cs:
2273 * DataBindingCollection.cs:
2274 * EmptyControlCollection.cs: Added missing Collection classes.
2276 2002-05-17 Duncan Mak <duncan@ximian.com>
2279 * TemplateParser.cs: Implemented. BaseParser is weird because
2280 there is no documentation on what it does.
2282 * ControlBuilder.cs:
2285 * DataBinding.cs: Added.
2287 * DataBoundLiteralControl.cs:
2288 * Triplet.cs: Added.
2290 * RenderMethod.cs: Added this delegate for Control.cs
2292 2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2294 * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
2296 2002-05-14 Duncan Mak <duncan@ximian.com>
2298 * ValidationPropertyAttribute.cs: Added to CVS.
2300 2002-05-10 Duncan Mak <duncan@ximian.com>
2302 * ConstructorNeedsTagAttribute.cs:
2303 * ControlBuilderAttribute.cs:
2304 * ImageClickEventArgs.cs:
2305 * ParseChildrenAttribute.cs:
2306 * PartialCachingAttribute.cs:
2307 * PersistChildrenAttribute.cs:
2308 * PersistenceModeAttribute.cs:
2309 * TemplateContainerAttribute.cs: Added to CVS.
2311 * PersistanceMode.cs: Removed, fixed typo.
2312 * PersistenceMode.cs: Replacing above.
2314 * StateBag.cs (this): Fixed indexer, it takes a string as the
2315 index, not an object.
2317 * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
2319 * Page.cs (Validators): return type should be ValidatorCollection,
2320 not ValidatedCollection.
2322 * TagPrefixAttribute.cs: Added to CVS.
2324 2002-05-07 Duncan Mak <duncan@ximian.com>
2326 * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
2328 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
2330 * DataBindingHandlerAttribute.cs
2332 * ToolboxDataAttribute.cs - Completed
2334 2002-01-03 Nick Drochak <ndrochak@gol.com>
2336 * DesignTimeParseData.cs: initialze static member to avoid compile
2338 * PropertyConverter.cs: remove uneeded exception variables from
2341 2002-01-02 Nick Drochak <ndrochak@gol.com>
2343 * DesignTimeParseData.cs: fix header to show correct class name
2345 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
2347 * StateBag.cs - Completed
2349 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
2351 * Pair.cs - Small undocumented class. Completed.
2353 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
2355 * DesignTimeParseData.cs - Initial implementation
2356 * StateBag.cs - Initial implementation
2358 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
2360 * PropertyConverter.cs - Undocumented class. Completed.
2361 * Utils.cs - Undocumented, private class.
2362 Initial implementation
2364 2001-08-28 Bob Smith <bob@thestuff.net>
2365 * Control.cs: Figured out some undocumented API.
2367 * BuildMethod.cs: Initial implementation.
2368 * BuildTemplateMethod.cs: Initial implementation.
2369 * HtmlTextWriterAttribute.cs: Initial implementation.
2370 * HtmlTextWriterStyle.cs: Initial implementation.
2371 * HtmlTextWriterTag.cs: Initial implementation.
2372 * IAttributeAccessor.cs: Initial implementation.
2373 * IDataBindingsAccessor.cs: Initial implementation.
2374 * ImageClickEventHandler.cs: Initial implementation.
2375 * INamingContainer.cs: Initial implementation.
2376 * IParserAccessor.cs: Initial implementation.
2377 * IPostBackDataHandler.cs: Initial implementation.
2378 * IPostBackEventHandler.cs: Initial implementation.
2379 * IStateManager.cs: Initial implementation.
2380 * ITagNameToTypeMapper.cs: Initial implementation.
2381 * ITemplate.cs: Initial implementation.
2382 * IValidator.cs: Initial implementation.
2383 * OutputCacheLocation.cs: Initial implementation.
2384 * PersistanceMode.cs: Initial implementation.
2385 * StateItem.cs: Initial implementation.
2387 2001-08-27 Bob Smith <bob@thestuff.net>
2389 * Control.cs: Bug fixes and implementations.
2391 2001-08-24 Bob Smith <bob@thestuff.net>
2393 * Control.cs: Bug fixes.
2395 2001-08-23 Bob Smith <bob@thestuff.net>
2397 * Control.cs: More implementation. Events reworked for performance.
2399 2001-08-22 Bob Smith <bob@thestuff.net>
2401 * LiteralControl.cs: Implemented.
2402 * Control.cs: Even more implementation (Events). What a beast.
2404 2001-08-20 Bob Smith <bob@thestuff.net>
2406 * Control.cs: More implementation. Not done yet. Shutter.
2408 2001-08-17 Bob Smith <bob@thestuff.net>
2410 * Control.cs: Partial implementation.