1 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
3 * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
4 existing (but internal) FillStyle method. Rewrote BagToString to use an
5 HtmlTextWriter so we get the "right" format for background-image url.
7 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
9 * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
10 Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
11 the extra space from last patch because they break some unit tests.
13 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
15 * CssStyleCollection.cs: Added some spacing.
16 * HtmlTextWriter.cs: Made style and attribute tables static.
17 Implemented StaticGetStyleName().
19 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
21 * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
23 * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
24 The new rendering formats the value as "url(" + original + ")".
26 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
28 * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
29 depends on the HtmlTextWriterStyle ordering).
31 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
33 * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
35 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
37 * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
38 fixed the rest of the enum values).
39 * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
40 parameter to match 2.0 API. Added a setter to the AllowedTypes
43 2005-08-24 Chris Toshok <toshok@ximian.com>
45 * Control.cs (get_Adapter): Instead of throwing an exception, just
46 return null, so we can write the rest of the Control specific
47 Adapter code and just not enable any of those code paths until we
48 have actual adapters. Also flag TODO.
49 (EnsureChildControls): Call out to Adapter.CreateChildControls if
51 (RenderChildren): call "RenderControl (writer, adapter)" if we
53 (RenderControl): implement the adapter case naively.
54 (LoadRecursive): call out to Adapter.OnLoad if we have one.
55 (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
57 (InitRecursive): call out to Adapter.OnInit if we have one.
59 2005-08-24 Chris Toshok <toshok@ximian.com>
61 * Page.cs (GetPostBackEventReference): track change to
62 ClientScriptManager and don't call a removed method.
64 * ClientScriptManager.cs: track more recent docs and corcompare
67 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
69 * KeyedList.cs: Fixed bug when removing an unexisting object.
70 * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
71 in implementing RoleGroupCollection.
73 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
75 * Page.cs: Use Control property (and not the _control variable) to get
76 the User (so the virtual Control property can be overriden properly).
77 Sadly this doesn't seems to be the case for other properties (like
80 2005-08-18 Dick Porter <dick@ximian.com>
82 * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
83 UserControl.cs, DesignerDataBoundLiteralControl.cs,
84 PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
85 BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
86 stubs and attribute fixes
88 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
90 * Control.cs: Add protected virtual SetDesignModeState, in 2.0
91 profile, as this is required for the Login control.
93 2005-08-11 Dick Porter <dick@ximian.com>
95 * CssStyleCollection.cs: Tweak the css string format to pass a
98 * AttributeCollection.cs: Don't NRE if someone sets the "style"
101 2005-08-05 Ben Maurer <bmaurer@ximian.com>
103 * HtmlTextWriter.cs: Revert the patch below, see test case
105 2005-08-05 Dick Porter <dick@ximian.com>
107 * HtmlTextWriter.cs: Make <option> tags render inline, to match
110 2005-08-03 Ben Maurer <bmaurer@ximian.com>
112 * HtmlTextWriter.cs: Optmize this not to do insane amounts of
113 allocation for large pages, etc.
115 2005-07-30 Chris Toshok <toshok@ximian.com>
117 * Page.cs (VerifyRenderingInServerForm): copy MS's error message
118 since our form-errors jsunit tests depend on it.
120 2005-07-30 Chris Toshok <toshok@ximian.com>
122 * DataBinder.cs (FormatResult): make internal, not private.
124 2005-07-29 Ben Maurer <bmaurer@ximian.com>
126 * StateBag.cs: Don't remove when tracking viewstate, as per msft
129 2005-07-29 Ben Maurer <bmaurer@ximian.com>
131 * StateBag.cs: Actually *remove* items that are null. Duh.
133 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
135 * Page.cs: Need to throw exception when accessing Request but no
138 2005-07-20 Chris Toshok <toshok@ximian.com>
140 * ClientScriptManager.cs (GetClientValidationEvent): the JS we
141 stick in onclick handlers for buttons/links/etc.
143 * Page.cs (GetSubmitStatements): new function to return
144 scriptManager.WriteSubmitStatements. Used by HtmlForm.
145 (AreValidatorsUplevel): used by many of the button/linkbutton
146 controls (the ones that can CauseValidation) to tell whether or
147 not to emit client side validation calls.
149 2005-07-20 Chris Toshok <toshok@ximian.com>
151 * WebResourceAttribute.cs: make internal (and available) in
154 2005-07-20 Chris Toshok <toshok@ximian.com>
156 * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
157 available) in !NET_2_0.
159 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
161 * Control.cs: Added IDataBindingsAccessor interface methods
163 2005-07-18 Ben Maurer <bmaurer@ximian.com>
165 * HtmlTextWriter.cs: Fix nested indentation
167 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
169 * Control.cs: Added missing IParserAccessor.AddParsedSubObject
172 2005-07-18 Ben Maurer <bmaurer@ximian.com>
174 * HtmlTextWriter.cs: Fix indentation (somewhat at least)
176 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
179 - Default name for controls on MS.Net is "_ctl" not "_ctrl"
180 - MS does not append 'a' for auto-generated names
182 2005-07-17 Ben Maurer <bmaurer@ximian.com>
184 * AttributeCollection.cs: Use the invariant culture.
186 * StateBag.cs: "Duh" optimization: return null when there are no
187 dirty items in the view state
189 2005-07-14 Ben Maurer <bmaurer@ximian.com>
191 * StateBag.cs: A "short" version of my favorite method.
193 * HtmlTextWriter.cs: New method to get the tag name staticly.
195 2005-07-14 Duncan Mak <duncan@novell.com>
197 * DataBindingHandlerAttribute.cs: Fixed after receiving some
198 comments from Gonzalo.
200 2005-07-13 Jackson Harper <jackson@ximian.com>
202 * PropertyConverter.cs: No public constructors.
204 2005-07-13 Ben Maurer <bmaurer@ximian.com>
206 * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
208 2005-07-12 Ben Maurer <bmaurer@ximian.com>
210 * HtmlTextWriter.cs: Make styles work.
212 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
214 * AttributeCollection.cs:
215 - Changes to match MS behaviour, the "style" attribute is always
216 added to the list, in addition to being added to the
217 CssStyleCollection. Also added check for "style" attribute when
218 setting via index setter
219 - When "Style" attribute is added, CssStyleCollection is
220 automatically created
221 - The style keyword needs to be lowercase
223 2005-07-11 Ben Maurer <bmaurer@ximian.com>
225 * HtmlTextWriter.cs: Missing a PopEndTag here.
227 * PropertyConverter.cs: Pass tests
229 2005-07-09 Miguel de Icaza <miguel@novell.com>
231 * DataBindingHandlerAttribute.cs: Create the "Default" property.
233 2005-07-09 Duncan Mak <duncan@novell.com>
235 * DataBindingHandlerAttribute.cs: Implemented.
237 2005-07-08 Ben Maurer <bmaurer@ximian.com>
239 * HtmlTextWriter.cs: Much better compliance with msft
241 2005-07-08 Jackson Harper <jackson@ximian.com>
243 * ToolbarDataAttribute.cs: New implementation.
245 2005-07-07 Jackson Harper <jackson@ximian.com>
247 * PropertyConverter.cs: New implementation.
249 2005-07-07 Ben Maurer <bmaurer@ximian.com>
251 * StateBag.cs: Noticed an issue where SetDirty was called when the
254 2005-07-07 Ben Maurer <bmaurer@ximian.com>
256 * StateBag.cs: Add a method that gets a string or else a default
259 2005-07-07 Dick Porter <dick@ximian.com>
261 * StateBag.cs: Added internal SetDirty (void) method to fix the
264 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
266 * HtmlTextWriter.cs: Small fixlet when attribute has no value.
268 2005-07-07 Miguel de Icaza <miguel@novell.com>
270 * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
273 * StateBag.cs: Add NET_2_0 SetDirty method to get the build
276 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
278 * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
280 2005-07-06 Ben Maurer <bmaurer@ximian.com>
282 * HtmlTextWriter.cs: Make sure to clear attributes when they are
285 * StateBag.cs: New impl
287 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
290 * Control.cs: avoid the creation of the EventHandlerList and accessing
291 to it whenever possible. Fix ENABLE_THEMING constant.
293 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
296 * TemplateControlParser.cs:
297 * UserControlParser.cs: detect circular references when a control tries
298 to register itself as a tag. Fixes bug #75376.
300 2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
302 * PageParser.cs: don't try to compile the master page if it wan't
303 provided. Use MapPath from the base classes instead of the long
304 version. Fixes bug #75269 that prevented xsp2 from working properly.
306 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
308 * MasterPage.cs: Clear the default content of placeholders before
309 adding the page content. Fixes bug #75193.
311 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
313 * PageParser.cs: Added MasterType property. Get the type from the
314 MasterType directive.
315 * MasterPageParser.cs: Added GetCompiledMasterType method.
317 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
321 * Control.cs: updates for 1.1 SP1
323 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
325 * Control.cs: Added new DataBind() overload for 2.0. The old
326 method calls this new overload.
328 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
330 * TemplateParser.cs: ignore empty assembly.Location for in-memory
331 generated assemblies.
333 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
335 * Page.cs: added AddContentTemplate method.
337 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
339 * AttributeCollection.cs: html-encode attribute values. Fixes
342 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
344 * DataSourceView.cs: Fix api.
345 * NonVisualControlAttribute.cs: Implemented.
346 * IDataItemContainer.cs: Added missing properties.
347 * Control.cs: Added new EnableTheming and SkinID properties.
348 * HierarchicalDataSourceControl.cs: Implemented missing methods.
350 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
352 * ControlCollection.cs: Added internal setter for ReadOnly.
354 2005-05-09 Geoff Norotn <gnorton@customerdna.com>
356 * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
357 uses instead of codebehind.
359 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
361 * Page.cs: as setting CurrentCulture is slow, don't set it if the
362 culture has not changed since before the page started processing.
364 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
366 * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
369 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
372 * SimpleWebHandlerParser.cs: removed values assigned and neved used.
374 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
376 * SimpleWebHandlerParser.cs:
377 * TemplateParser.cs: always get the location (full path) for assemblies,
378 even the ones from the GAC.
380 * BaseCompiler.cs: check that DynamicBase directory exists before
381 creating the TempFileCollection.
383 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
385 * ClientScriptManager.cs: Use a linked list instead of a Hashtable
386 to store the scripts. In this way, scripts will be rendered in the
387 same order as they have been registered. It shouldn't be slower
388 since pages don't have many scripts.
390 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
392 * IEditableTextControl.cs: Implemented.
393 * DataBinder.cs: Marked constructor as obsolete in 2.0.
394 In GetDataItem, check for the IDataItemContainer interface
396 * TemplateControl.cs: Improved check for data item.
398 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
400 * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
401 * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
404 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
405 * TemplateParser.cs: Adding support for Strict/Explicit attributes
406 for @Page/@Control directives as documented at
407 http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
408 First step don't choke on them. Fixing #74671
410 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
412 * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
413 there from the time when Load wasn't working properly. First part of the
416 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
418 * ControlBuilder.cs: The BindingContainerType property happens
419 to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
420 which is used to get the binding container that is managing
421 the current two-way binding context.
422 * TemplateBuilder.cs: Added some methods and an internal class
423 to support two-way bindings.
424 * CompiledBindableTemplateBuilder.cs: Implemented.
425 * IBindableTemplate.cs: This interface inherits from ITemplate.
427 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
429 * ControlBuilder.cs: Added BindingContainerType property,
430 which works like NamingContainerType but takes into account
431 template builders with a specific container type (specified
432 using the TemplateContainerAttribute.
433 * StateManagedCollection.cs: Reimplemented Save/Load view
434 state methods. The existing implementation was not correct
437 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
439 * DataSourceView.cs: Added null check.
441 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
443 * TemplateControl.cs:
444 * Page.cs: Moved Eval and XPath from Page
446 * StateManagedCollection.cs: Avoid saving null state.
448 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
450 * DataSourceView.cs: Rethrow exceptions not handled by operation
452 * ITextControl.cs: Removed event.
453 * CollectionBuilder.cs: Don't crash when a collection has more
456 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
458 * Control.cs: Added a new internal property: HasRenderMethodDelegate.
459 * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
460 * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
462 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
464 * ClientScriptManager.cs: Fix build.
466 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
468 * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
469 since it is deprecated in 2.0.
470 * Page.cs: Deprecated GetPostBackClientEvent and similar methods
471 in 2.0. Moved callback management methods to ClientScriptManager.
472 * ClientScriptManager.cs: Moved here deprecated methods from Page.
473 In GetPostBackEventReference (PostBackOptions), don't use the
474 WebForm_DoPostback script if the post can be done with a simple
476 * PostBackOptions.cs: Fixed default values for some properties.
478 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
480 * Control.cs: in FindControl, throw if there's more than one control
481 with the same ID. Fixes bug #73479.
483 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
485 * Page.cs: Load control state before loading view state, and the
487 * DataSourceSelectArguments.cs: Fix recursive property call.
489 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
491 * DataSourceView.cs: Fixed incorrect implementation of
492 RaiseUnsupportedCapabilityError.
493 * IDataItemContainer.cs: Added new properties.
494 * Page.cs: Implemented Form property.
495 * Control.cs: Fixed formatting.
496 * StateManagedCollection.cs: Track view state of items loaded
499 2005-02-22 Lluis Sanchez Gual <lluis@novell.com>
501 * FilterableAttribute.cs: Fix endless loop.
503 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
505 * Page.cs: Implemented missing events.
507 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
509 * BoundPropertyEntry.cs:
511 * TwoWayBoundPropertyEntry.cs: implemented.
513 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
515 * Page.cs: Added support for validation groups. Some fixes in
516 SavePageControlState().
517 * IFilterResolutionService.cs: Removed extra field.
518 * INavigateUIData.cs: Added missing field.
519 * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
520 Implemented new interfaces.
522 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
524 * Page.cs: Implemented support for cross page postback. Implemented
525 support for postback with options. Fixed several method and property
527 * PostBackOptions.cs: Added some TODOs.
529 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
531 * ParseChildrenAttribute.cs: Set the correct default value for the
534 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
536 * ParseChildrenAttribute.cs: Added 2.0 property.
537 * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
538 * Page.cs: Added support for control state.
539 * TemplateBuilder.cs: ContainerType should be internal.
540 * Control.cs: Added some new 2.0 methods.
542 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
544 * PageParser.cs: Read the MasterPageFile attribute.
545 * UserControlParser.cs: Not sealed any more since we need to inherit from
546 it. Added new constructor with an additional "type" parameter.
547 * MasterPageParser.cs: Parser for master pages.
548 * Page.cs: Added support for master pages.
549 * MasterPage.cs: Implemented.
551 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
553 * TemplateBuilder.cs: Added a special constructor that takes an
554 attribute provider as parameter. The container type for the template
555 may be defined in a TemplateContainerAttribute.
556 * ControlBuilder.cs: Create the TemplateBuilder using that special
558 * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
560 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
562 * IStyleSheet.cs: Added missing "using".
563 * Page.cs: Implemented Header property.
564 * CssStyleCollection.cs: Made BagToString method internal.
565 * RootBuilder.cs: Register HtmlHead control.
567 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
569 * CssStyleCollection.cs: Minor (!) fix.
570 * HtmlTextWriter.cs: Register names for new 2.0 styles.
572 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
574 * CssStyleCollection.cs: Make it work as a standalone collection.
575 * HtmlTextWriter.cs: Added static method for getting style names.
577 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
579 * ControlCollection.cs: fix off-by-one and store a null at the end to
580 remove the reference to the removed control.
582 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
584 * ClientScriptManager.cs: Added GetScriptLiteral helper method.
586 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
588 * Page.cs: Added support for callback events. Moved theform variable
589 outside the __doPostBack function, so it can be used by other
591 * StateBag.cs: Implemented SetDirty().
593 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
595 * Control.cs: when saving "Visible" into the ViewState, save the value
596 for this precise control, as using the Visible property might give us
597 Control's parent visibility. Fixes bug #69200.
599 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
601 * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
604 * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
605 the appRoot + SessionID + vpath format.
607 Fixes the 3 issues reported in bug #66623.
609 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
611 * Page.cs: Moved code for managing client scripts to ClientScriptManager,
612 which is public in 2.0 and internal in 1.1.
613 * ClientScriptManager.cs: Implemented.
615 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
617 * DataSourceView.cs: Removed extra method.
619 2004-11-24 Sanjay Gupta <gsanjay@novell.com>
621 * DataSourveViewSelectCallback.cs: Corrected method signature.
623 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
625 * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
626 even if the class doesn't implement IParserAccessor.
627 * WebResourceAttribute.cs: Allow multiple attributes of this type.
629 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
631 * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
632 from SqlDataSourceView.cs.
634 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
636 * Control.cs: unified a few bool fields into an int one.
638 * ControlCollection.cs: use an array internally instead of always
639 allocating an arraylist. Also added our own enumerator.
641 * EmptyControlCollection.cs: there's no 'special' ctor now in the base
644 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
646 * DataSourceView.cs: Changes in access modifiers of methods.
648 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
650 * DataSourceCapabilities.cs: Added Flags attribute.
651 * DataSourceSelectArguments.cs: Updated.
652 * DataSourveView.cs: Updated.
654 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
656 * HierarchicalDataSourceView.cs: Corrected class definition and updated.
658 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
660 * HierarchicalDataSourceView.cs: fix typo.
662 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
664 * HierarchicalDataSourceView.cs: Updated.
666 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
668 * DataSourceSelectArguments.cs: Initial implementation.
670 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
672 * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
674 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
676 * UrlTypes.cs: Updated.
678 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
680 * UrlPropertyAttribute.cs: Added new file.
682 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
684 * Control.cs: even if the control has no children the naming container
685 may contain the control we're looking for. Fixes bug #67304.
687 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
689 * AspGenerator.cs: added OtherTags.
691 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
693 * ControlValuePropertyAttribute.cs: Initial implementation.
695 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
697 * IPaginationContainer.cs: Corrected name of class.
699 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
701 * IDReferencePropertyAttribute.cs: Completed implementation.
703 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
705 * ThemeableAttribute.cs:
706 * FilterableAttribute.cs: Code scrubbing and optimization.
708 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
710 * ThemeableAttribute.cs: Completed implementation.
712 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
714 * FilterableAttribute.cs: Completed implementation.
716 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
718 * Control.cs: Added new attributes and a method.
719 * FilterableAttribute.cs: New attribute, initial implementation.
720 * ThemeableAttribute.cs: New attribute, initial implemenataion.
722 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
724 * TemplateParser.cs: ensure bin directory exists before trying to access
725 it. Fixes bug #65446 (not closed yet due to dependencies).
727 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
729 * Control.cs: Implemented methods of interface IExpressionAccessor.
731 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
733 * SimpleWebHandlerParser.cs: correctly cache Type instead of the
734 assembly for ashx/asmx. Otherwise we need to open the file and check
735 for the class name in there. Thanks to Ben for pointing this out.
737 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
739 * TemplateParser.cs: removed creation of StringWriter. It's not used.
740 * Control.cs: don't create the EventHandlerList until requested.
742 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
744 * Control.cs: Added new interfaces implemented in .Net 2.0.
745 * ExpressionBinding.cs: Added new class.
746 * ExpressionBindingCollection.cs: Added new class.
748 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
750 * LiteralControl.cs: stylized. This control has EnableViewState disabled
751 by default and doesn't get an automatic ID. When text is null -> "".
753 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
755 * ControlSkinProc.cs:
756 * DataSourceViewOperationCallback.cs:
757 * DataSourceViewSelectCallback.cs:
758 * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
759 required in definition as delegates by default are sealed.
761 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
763 * IDReferencePropertyAttribute.cs: Corrected and changed from interface
765 * IMobileTextWriter.cs: Corrected method signatures.
767 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
769 * ControlSkinProc.cs:
770 * DataSourceViewOperationCallback.cs:
771 * DataSourceViewSelectCallback.cs:
772 * ExtractTemplateValuesMethod.cs: Added new delegates.
774 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
776 * IBindableTemplate.cs:
777 * ICallbackEventHandler.cs:
778 * IControlBuilderAccessor.cs:
779 * IControlDesignerAccessor.cs:
780 * IControlTypeFilter.cs:
781 * IDataItemContainer.cs:
782 * IDataSourceViewSchemaAccessor.cs:
783 * IDReferencePropertyAttribute.cs:
784 * IExpressionsAccessor.cs:
785 * IFilterResolutionService.cs:
786 * IItemPaginationInfo.cs:
787 * IMobileTextWriter.cs:
789 * IPaginationContainer.cs:
790 * IPaginationInfo.cs:
791 * IResourceResolutionService.cs:
792 * IResourceUrlGenerator.cs:
793 * IStateFormatter.cs:
795 * IThemeResolutionService.cs:
796 * IUrlResolutionService.cs:
797 * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
799 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
801 * PostBackOptions.cs: Added new file and implemented the class.
803 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
805 * HtmlTextWriterTag.cs: readded author name.
807 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
809 * HtmlTextWriterAttribute.cs:
810 * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
811 * CompilationMode.cs:
812 * ConflictOptions.cs:
813 * DataSourceCacheExpiry.cs:
814 * DataSourceCapabilities.cs:
815 * DataSourceOperation.cs:
816 * TemplateContentType.cs:
817 * TemplateInstance.cs:
819 * VerificationConditionalOperator.cs:
820 * VerificationReportLevel.cs:
821 * VerificationRule.cs:
822 * XhtmlMobileDocType.cs: Added enumerations.
824 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
826 * Control.cs: style. Reverted previous patch modification of
827 TemplateSourceDirectory (failed when the control is reparented). Use
828 HasControls() and Controls all over instead of _controls, as Controls
829 property and HasControls() might be overriden.
831 2004-07-27 Alon Gazit <along@mainsoft.com>
833 * Control.cs: Changed the implementation of TemplateSourceDirectory
834 and GetDefaultName(). replaced foreach statements with for statements,
835 in order to improve performence.
837 2004-07-27 Alon Gazit <along@mainsoft.com>
839 * Page.cs: changed the implementation of GetViewStateString().
840 if the view state object is null there is no need to perform
843 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
845 * TemplateControl.cs: don't include private methods of base classes when
846 auto-attaching events. Fixes bug 61569.
848 2004-07-14 Alon Gazit <along@mainsoft.com>
850 * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
851 2004-07-08 Pablo Baena <pbaena@gmail.com>
853 * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
855 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
857 * Page.cs: added additional checks for saving/displaying trace data.
859 * PageParser.cs: removed checks for trace enabled in configuration
862 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
864 * ControlCollection.cs: when clearing the control collection, tell the
865 owners about the removal. Fixes bug #60800.
867 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
869 * Page.cs: don't nullify _context after processing the request as there
870 are events not triggered yet. Fixes bug #60726.
872 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
874 * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
877 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
880 * UserControlParser.cs: set the page/user control base type even when no
881 default directive provided. Fixes bug #60572.
883 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
885 * PageParser.cs: use default trace settings from web.config and check
886 if trace is only requested for local connections. Fixes bug #60180.
888 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
890 * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
891 we read the default directive, check the cache for the Type and if
892 present, don't keep reading and store the type found.
894 * WebHandlerParser.cs:
895 * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
898 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
900 * Control.cs: properly fixed bug #59794.
902 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
905 (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
908 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
910 * SimpleWebHandlerParser.cs:
911 * TemplateParser.cs: pass the language when compiling from a file.
913 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
915 * SimpleWebHandlerParser.cs: if we have a global.asax, move its
916 reference to the end to help mcs loading the assemblies. Fixes bug
919 * TemplateParser.cs: same as above. Removed some kludges to workaround
920 loading assemblies from bin path that are now in the runtime. Don't
921 load the assemblies in bin if not needed, but still reference them
924 2004-06-07 Alon Gazit <along@mainsoft.com>
925 * Page.cs: Changed Page.ProcessPostData().
926 After the change ,the state of controls that aren't visible is saved
929 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
931 * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
933 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
935 * Page.cs: IsPostBack also returns true when method is GET and we have
936 viewstate information in the query string. Fixes bug #58151.
938 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
940 * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
941 HttpRutime.TraceManager.
943 * PageParser.cs: for 'trace' we have 2 variables now. Added support
944 for 'buffer' attribute.
946 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
948 * Page.cs: implemented ClientTarget.
949 * PageParser.cs: support for clientTarget and check for validity.
951 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
954 * Html32TextWriter.cs:
956 * SimpleWebHandlerParser.cs:
957 * TemplateControl.cs: Added protected missing members and attributes.
959 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
961 * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
962 calling a protected method of another object.
964 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
966 * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
967 (of other objects) are called in TypeConverterFormatter.
969 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
971 * ObjectStateFormatter.cs: before choosing the binary formatter, check
972 if the object type has a TypeConverter that can convert to/from string.
975 * Page.cs: call GetViewStateString from outside the WriteLine. This
976 allows writing to the Response when getting the string without breaking
979 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
981 * HtmlTextWriter.cs: render end tag for unknown tags.
982 Patch frmo Markus Krutner. Fixes bug #59466.
984 2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
986 * Page.cs: call DeterminePostBackMode only once per request. Patch by
989 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
991 * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
994 * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
997 2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
999 * SimpleWebHandlerParser.cs:
1000 * TemplateParser.cs: for the assembly names given in the 'assembly'
1001 attribute, use LoadWithPartialName instead of Load.
1002 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1004 * Page.cs: return HttpContext.Current if _context has not yet been
1005 assigned to. Fixes bug #55245.
1007 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1009 * TemplateParser.cs: don't add import statement or assemblies from
1010 global.asax to every file. Fixes bug #55496.
1012 2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
1014 * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
1015 handle single quotes and a few corner cases correctly (see test cases).
1017 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1019 * TemplateControl.cs: fixed typos and added new method names to the set
1022 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1024 * ControlBuilder.cs: added SetTagName().
1026 * ObjectTagBuilder.cs: use SetTagName so that we can properly close
1027 <object> builders if the closing tag is provided.
1029 2004-02-16 Jackson Harper <jackson@ximian.com>
1031 * Page.cs: Set cacheability for Location.DownStream.
1033 2004-02-10 Jackson Harper <jackson@ximian.com>
1035 * TemplateParser.cs: Use full path if the assembly is in the
1036 private bin directory. Patch by Gonzalo Paniagua Javier.
1038 2004-02-09 Jackson Harper <jackson@ximian.com>
1040 * Page.cs: Set cacheability for server side caching.
1042 2004-01-30 Jackson Harper <jackson@ximian.com>
1044 * Control.cs: Ensure that dynamically loaded controls are
1047 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1049 * ApplicationFileParser.cs: check for error in directives. Use
1050 GlobalAsaxCompiler.CompileApplicationType for compiling.
1052 * ObjectTagBuilder.cs: load the Type and check for errors.
1054 * TemplateParser.cs: add assemblies and imports from global.asax.
1056 Now we properly create accessors for session and application objects in
1057 the application itself, pages and controls. First step for fixing
1060 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1062 * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
1063 to Eric Lindvall for pointing this out.
1065 2004-01-15 Jackson Harper <jackson@ximian.com>
1067 * TemplateParser.cs: Detect if we are parsing a control or page
1069 * Page.cs: vary by params and vary by headers can be null now.
1071 2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
1073 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
1076 2004-01-14 Jackson Harper <jackson@ximian.com>
1078 * Page.cs: If we have a postback that wasn't sent through a
1079 postback script (ie user hit submit on a input type=submit) call
1080 Validate so page validation occurs. This fixes bug #52770.
1082 2004-01-14 Jackson Harper <jackson@ximian.com>
1084 * Page.cs: Don't tell the response to cache anymore. This is done
1085 when the cacheability is modified by a callback. Set the cache's
1088 2004-01-14 Jackson Harper <jackson@ximian.com>
1090 * TemplateParser.cs: If varybyparam is set to "none" make it null
1091 so we dont get a param named null in the outputcache key.
1093 2004-01-14 Jackson Harper <jackson@ximian.com>
1095 * BasePartialCachingControl.cs: Use varyby attributes in key
1098 2004-01-14 Jackson Harper <jackson@ximian.com>
1100 * TemplateParser.cs: Add all the outputcache attribute error
1103 2004-01-13 Jackson Harper <jackson@ximian.com>
1105 * TemplateParser.cs: Add VaryByControls and Shared output cache
1106 properties. These are not assigned yet.
1107 * TemplateControlParser.cs: Do not ignore the OutputCache
1109 * BasePartialCachingControl.cs: Initial implementation. Keys are
1110 still not created properly.
1111 * StaticPartialCachingControl.cs: Assign properties in base class,
1112 implement CreateControl.
1114 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1116 * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
1118 * PageParser.cs: support validateRequest.
1120 * TemplateControlParser.cs: get default values from system.web/pages
1123 * TemplateParser.cs: added separate method for changing base type
1124 (Inherits or system.web/pages).
1126 * UserControlParser.cs: support system.web/pages defined base type.
1128 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1130 * UserControl.cs: Added missing attribute, implemented method
1131 * Page.cs: Added missing attribute, implemented method
1133 2004-01-10 Jackson Harper <jackson@ximian.com>
1135 * Page.cs: Handle trace being enabled in the config file.
1137 2004-01-10 Jackson Harper <jackson@ximian.com>
1139 * Page.cs: Save trace data before rendering it.
1140 * System.Web.dll.sources: Add TraceData.cs
1142 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1144 * Page.cs: removed a couple of MonoTODO on methods we're not gonna
1145 implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
1146 ensure that Unload event is raised. Fixes bug #52555.
1148 2004-01-02 Zoltan Varga <vargaz@freemail.hu>
1150 * KeyedList.cs: 'private' is not allowed on explicit interface
1151 implementations. Fixes 1.2 build.
1153 2003-12-31 Jackson Harper <jackson@ximian.com>
1155 * TemplateControlParser.cs: When registering tag prefixs make sure
1156 the file exists and throw the correct error if it does not.
1158 2003-12-25 Jackson Harper <jackson@ximian.com>
1160 * Page.cs: Throw error if the session is accessed when sessions
1163 2003-12-18 Jackson Harper <jackson@ximian.com>
1165 * Page.cs: Write Trace info.
1167 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1169 * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
1170 * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
1172 * PageParser.cs: the ctor is public.
1173 * PartialCachingAttribute.cs: added new ctor and Shared property.
1175 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1177 * Page.cs: assign the ErrorPage to the context if we get an exception
1178 when processing the page which only calls Unload.
1180 * PageParser.cs: handle ErrorPage.
1182 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1184 * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
1185 are not [Serializable]. Fixes bug #52244.
1187 2003-12-16 Jackson Harper <jackson@ximian.com>
1189 * Page.cs: Render trace data when tracing is enabled.
1191 2003-12-15 Jackson Harper <jackson@ximian.com>
1193 * PageParser.cs: Add Trace and Trace mode attributes.
1195 2003-12-15 Jackson Harper <jackson@ximian.com>
1197 * Page.cs: Use the context trace object.
1199 2003-12-14 Alon Gazit <along@mainsoft.com>
1200 * AttributeCollection.cs: Changed AttributeCollection.Render().
1201 After the change attributes ,that their value is null, aren't
1204 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1206 * Control.cs: remove a few dangling ^M, don't set values for fields
1207 that has the default value. If Visible is modified and we're tracking
1208 viewstate, save and restore it. Fixes bug #48689.
1210 2003-12-11 Jackson Harper <jackson@ximian.com>
1212 * Control.cs: Give null for the ID if it hasn't been explicitly
1213 set. This fixes bug #51520.
1215 2003-12-08 Jackson Harper <jackson@ximian.com>
1217 * PageParser.cs: Ignore the SmartNavigation attribute for now.
1219 2003-12-05 Jackson Harper <jackson@ximian.com>
1221 * DataBinder.cs (GetIndexedPropertyValue): Check if container is
1222 an IList and use a cast instead of reflection to retrieve the item
1223 if it is. Fixes bug #51759.
1225 2003-12-04 Alon Gazit <along@mainsoft.com>
1226 * Page.cs: Changed Page.ID so it will call Control.ID.
1229 2003-12-02 Jackson Harper <jackson@ximian.com>
1231 * Page.cs: Implemented registered array declarations. Patch by
1232 Benjamin Jemlich <pcgod@gmx.net>
1234 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1236 * TemplateParser.cs: basic check for 'classname' attribute and added
1237 patch by pcgod@gmx.net for bug #51568, which fixes automatic class
1238 names for pages starting with a number.
1240 2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
1242 * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
1245 * ObjectStateFormatter.cs: Comment out tracing.
1247 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1249 * Page.cs: fixed UICulture, LCID and Culture. Set the thread
1250 [UI]Culture before processing the request.
1252 * PageParser.cs: read Culture, UICulture and LCID attributes. Added
1253 properties for these. Partially contributed by Mohammad Damt.
1257 2003-11-27 Jackson Harper <jackson@ximian.com>
1259 * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
1262 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
1264 * ObjectStateFormatter.cs: Fix bug when reading small ints.
1265 Add some tracing so we can see what is going on.
1267 2003-11-21 Jackson Harper <jackson@ximian.com>
1269 * Page.cs: Set vary by params when cache location is Server.
1271 2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
1273 * ObjectStateFormatter.cs: v2 file. In v1.x this will be
1274 internal as LosFormatter will eventually use it to save
1277 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1279 * PersistChildrenAttribute.cs:
1280 * PersistenceModeAttribute.cs: implemented.
1282 * TODO: Removed file.
1283 * OutputCacheLocation.cs:
1284 * TemplateControlParser.cs:
1285 * HtmlInputFile.cs: class status based fixes.
1287 2003-11-19 Jackson Harper <jackson@ximian.com>
1289 * Page.cs: Always set the cache expire time. Tell the response to
1290 cache itself for server side cached pages.
1292 2003-11-19 Jackson Harper <jackson@ximian.com>
1294 * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
1295 thing, some corner cases still need work though. Was this the
1296 shortest lived method in the history of mono?
1298 2003-11-19 Jackson Harper <jackson@ximian.com>
1300 * Control.cs: New method for resolving urls that use ~/ to denote
1301 the applications base directory.
1303 2003-11-19 Jackson Harper <jackson@ximian.com>
1305 * TemplateParser.cs: Fix typo in error message.
1307 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1309 * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
1312 2003-11-19 Todd Berman <tberman@gentoo.org>
1315 * KeyedListEnumerator.cs: New v2 implementations.
1317 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
1319 * StateManagedCollection.cs: Implement.
1321 2003-11-13 Jackson Harper <jackson@ximian.com>
1323 * Page.cs: Initial implementation of InitOutputCache.
1324 * TemplateParser.cs: Page OutputCache options
1326 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
1328 * HierarchicalDataSourceControl.cs: Implement.
1330 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
1332 * XPathBinder.cs: Implemented.
1334 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
1336 * DataSourceView.cs:
1338 * ListSourceHelper.cs:
1339 * DataSourceControl.cs:
1340 * HierarchicalDataSourceView.cs:
1341 * IHierarchicalDataSource.cs: Move v2 stuff.
1343 2003-11-07 Jackson Harper <jackson@ximian.com>
1345 * Control.cs (ResolveUrl): Special case for urls that consist of
1346 only a page anchor. ie <a href="#top">. This fixes bug #50165.
1348 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
1350 * IHierarchicalEnumerable.cs:
1351 * IHierarchyData.cs:
1352 * INavigateUIData.cs: New v2 interfaces.
1354 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1356 * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
1357 space in generated javascript.
1359 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1361 * LosFormatter.cs: encoding updates.
1362 * Page.cs: implemented CodePage and ContentType.
1363 * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
1366 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
1368 * Control.cs (GetWebResourceUrl): new v2 function
1369 * Page.cs (GetWebResourceUrl): ditto.
1370 make the JS we generate work with moz if the form is not a child
1372 * WebResourceAttribute.cs: Added, new v2 attribute.
1374 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1376 * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
1378 * PageParser.cs: initialize the parser in the constructor, not just
1379 before compiling and reference the application assembly.
1381 * SimpleWebHandlerParser.cs: reference the assembly that contains the
1384 * TemplateControl.cs:
1385 * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
1386 path and physical path when compiling a user control.
1388 * TemplateParser.cs: new AddApplicationAssembly ().
1389 * UserControlParser.cs: now we get valid values in the ctor.
1391 Referencing the application assembly fixes bug #49652.
1394 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1396 * TemplateControl.cs: moved NoParamsInvoker class to its own file.
1398 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1400 * BaseParser.cs: added CompilationConfig property.
1402 * TemplateParser.cs:
1403 * SimpleWebHandlerParser.cs: added CompilationConfig property.
1404 Don't hardcode assembly names any more, assemblies in bin are added
1405 depending on the configuration. The default language is also taken
1406 from the configuration.
1408 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1410 * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
1412 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1414 * Control.cs: removed some debug lines.
1415 * Page.cs: implemented RegisterOnSubmitStatement
1416 * TemplateControl.cs: fixed wire up for methods with no parameters.
1418 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1420 * PageParser.cs: ignore ValidateRequest by now.
1422 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1424 * System.Web.UI/TemplateControl.cs: support for wiring up events without
1427 2003-10-08 Pedro Martnez Juli <yoros@wanadoo.es>
1429 * PageParser.cs: drop some useless code.
1431 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
1433 * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
1435 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1437 * System.Web.UI/PageParser.cs:
1438 * System.Web.UI/TemplateControlParser.cs: honour the input file given
1441 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1444 (ClearChildViewState): doh! Don't clear control viewstate but the
1445 viewstate of possible children.
1446 (LoadViewStateRecursive): load viewstate even when control is not
1449 The rest are just dangling ^M removed.
1451 * DataBoundLiteralControl.cs:
1452 (LoadViewState): we get an object [], not a string [].
1454 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1456 * Control.cs: implemented ClearChildViewState ().
1458 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1460 * Page.cs: store unique IDs for controls requiring postback. Fixes bug
1463 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1465 * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
1466 dependencies so that it's recompiled when changed.
1468 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1470 * LosFormatter.cs: fixed Deserialize for empty viewstate.
1472 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1474 * Page.cs: check if controls that require postback have
1475 been changed by an event and register them to be notified of data
1478 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1480 * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
1483 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1485 * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
1486 are not serializable. Fixes bug #47784.
1488 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1490 * Control.cs: index the viewstates saved by the control position, not
1491 the control name. Fixes bug #47697.
1493 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1495 * ControlCollection.cs:
1496 * EmptyControlCollection.cs: create a minimum ArrayList for this.
1498 * BaseParser.cs: added setter for BaseVirtualDir.
1500 * Page.cs: fixed message when restoring view state fails.
1501 * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
1502 when a relative path to the control is given. Fixes bug #47685.
1504 2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1506 * Control.cs: when we load the viewstate for a control that has children
1507 viewstates and the child is not found, keep its viewstate around and
1508 wait until the child is added to load the viewstate. Fixes bug #47697.
1510 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1512 * TemplateControl.cs: more Delegate.CreateDelegate fixes.
1514 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1516 * PartialCachingControl.cs: is not abstract
1518 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1520 * SimpleHandlerFactory.cs: implemented GetHandler.
1521 * WebHandlerParser.cs: new file that parses .ashx files.
1523 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1525 * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
1527 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1529 * UserControl.cs: Added attribute
1530 * BasePartialCachingControl.cs: New class and paritally implemented
1531 * DesignerDataBoundLiteralControl.cs: New class and implemented
1532 * DesignTimeTemplateParser.cs:
1533 * PartialCachingControl.cs:
1534 * StaticPartialCachingControl.cs: New class and paritally implemented
1536 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1538 * ApplicationFileParser.cs: Fixed signature
1539 * DesignTimeParseData.cs: Added missing properties, implemented
1540 * Page.cs: Added attributes
1542 * TemplateControlParser.cs:
1543 * TemplateParser.cs:
1544 * UserControlParser.cs: Fixed signature
1546 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1548 * HtmlControlPersistableAttribute.cs: Added
1549 * IgnoreUnknownContentAttribute.cs: Added
1551 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1553 * IUserControlDesignerAccessor.cs: Added and implemented
1554 * Control.cs: Missing member added, added all attributes
1555 * Page.cs: Added attributes, fixed signature
1556 * TemplateControl.cs: Fixed signature, added all attributes
1557 * UserControl.cs: Added all attributes, added and implemented missing interface
1559 2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1561 * ControlCollection.cs: fixed bug #46472.
1563 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1565 * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
1567 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1569 * SimpleWebHandlerParser.cs: updated to new compilation interface.
1571 * TemplateParser.cs: use the new parameter when compiling.
1573 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1575 * Page.cs: also keep the value for the second try on handling postback
1578 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1580 * BaseParser.cs: fixed MapPath for non-rooted files.
1581 * PageParser.cs: don't pass a non-virtual file around.
1582 * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
1583 the exception teh may be throw by MapPath on an invalid path.
1585 * TemplateParser.cs: removed unused method.
1586 * UserControlParser.cs: modified inputfile. The result is the same, but
1589 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1591 * RootBuilder.cs: throw exception when the tagprefix is not valid or
1594 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1596 * TemplateControlParser.cs: return after processing @Register.
1598 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1600 * TemplateParser.cs: Added support for server side includes.
1602 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1604 * TemplateControl.cs: fixed the flags used to find the methods that
1605 are automatically hooked up on events.
1607 * TemplateParser.cs: don't compile a source file directly. Use the
1610 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1612 * BaseParser.cs: Location property is now here. Added a couple of
1613 convenience methods to throw a ParseException.
1615 * TemplateParser.cs:
1616 * TemplateControlParser.cs:
1617 * PageParser.cs: throw ParseException where appropiate.
1619 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1621 * ApplicationFileParser.cs: use the generator to actually parse the
1624 * ControlBuilder.cs: small fix in NamingContainerType because
1625 TemplateBuilders have a null ControlType. When a control is appended
1626 to a parent, assign the child's parent.
1628 * UserControlParser.cs: fixed the value of InputFile.
1630 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1632 * ApplicationFileParser.cs: store the Context and override
1633 BaseVirtualDir so that it's the application path.
1635 * BaseParser.cs: removed CurrentVirtualPath property.
1637 * TemplateControlParser.cs: use BaseVirtualDir.
1639 * UserControlParser.cs: removed CurrentVirtualPath.
1641 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1643 * TemplateParser.cs: always reference all the assemblies in bin
1646 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1648 * ApplicationFileParser.cs: it works now. Prior to these changes, we
1649 were using the compiler directly.
1651 * BaseParser.cs: added some useful properties and methods.
1653 * CodeBuilder.cs: use ILocation.
1654 * CodeRenderBuilder.cs: use ILocation.
1655 * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
1657 * ControlBuilder.cs: made it useful.
1659 * DataBindingBuilder.cs: the control type for data bound text is
1660 DataBoundLiteralControl now.
1662 * ObjectTagBuilder.cs: store some object tag attributes.
1664 * PageParser.cs: handle page-only directives.
1666 * RootBuilder.cs: bah.
1667 * SimpleWebHandlerParser.cs: made it dummy.
1668 * TemplateControl.cs: Modified file.
1670 * TemplateControlParser.cs: handle directives that are common to pages
1673 * TemplateParser.cs: utility methods and handling of directives that
1674 are common to app, page and user controls.
1676 * UserControl.cs: added ControlBuilderAttribute.
1678 * UserControlControlBuilder.cs: builder for user controls.
1679 * UserControlParser.cs: use the new interfaces.
1681 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1683 * ControlBuilder.cs: line and fileName are protected now.
1685 * CodeBuilder.cs: base class for the next 2 files.
1686 * CodeRenderBuilder.cs: builder for code render.
1687 * DataBindingBuilder.cs: builder for data binding.
1689 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1691 * ITagNameToTypeMapper.cs: made it internal.
1693 * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
1695 * RootBuilder.cs: initial builder.
1697 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1699 * CollectionBuilder.cs:
1700 * TemplateBuilder.cs: new classes derived from ControlBuilder that
1701 represent a property or a ITemplate.
1703 * ControlBuilder.cs: implemented all the missing bits.
1704 * TemplateParser.cs: added mapping from tag name to Type feature.
1706 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1708 * Control.cs: have i definitely fixed naming container stuff this time?
1710 * LosFormatter.cs: activated binary serialization code.
1712 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1715 (AddedControl): fixed default id assignation when the sequence of
1716 AddedControl until it's included in the page or one of its controls
1717 does not pass through a naming container.
1719 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1721 * Control.cs: give different default names depending on the place where
1722 it is assigned. Implemented ResolveURl (no more ~ rendered in
1725 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1727 * Control.cs: when adding a control, assign default names to th
1728 children that don't have one.
1730 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1732 * SimpleWebHandlerParser.cs: modified to use the new parser interface.
1734 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1736 * Control.cs: some more tweaks to naming containers stuff.
1737 * DataBinder.cs: don't throw exception if the container is null.
1739 * Page.cs: now we can render client scripts, startup scripts and hidden
1740 fields. Only render __VIEWSTATE if there is someone that will take care
1742 (RaisePostBackEvents): first try the last one that required raise event,
1743 then try __EVENTTARGET.
1745 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1747 * Control.cs: fixes in UniqueID, FindControl, AddedControl,
1748 UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
1749 FindControl work with NamingContainers.
1751 * ControlCollection.cs: notify the parent when clearing the collection.
1753 * LosFormatter.cs: Added debugging output and generate a valid
1754 viewstate even for unknown types.
1756 * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
1759 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1761 * Page.cs: make it fire the LoadData related events also for controls
1762 such as ImageButton, whose variable(s) in the query string are of the
1763 form ctrl_name.x and only fire them once per control.
1765 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1768 (GetPropertyValue): don't try to get the property as indexed
1770 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1772 * DataBinder.cs: use TypeDescriptor to get the properties and their
1775 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1778 (AddedControl): take the children to the same state of the parent.
1779 (InitRecursive): set the page of the children.
1781 * Page.cs: removed one line (it's done a few lines above).
1784 (OnInit): always call InitializeAsUserControl
1785 (InitializeAsUserControl): sets the page for the control.
1787 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1789 * Control.cs: fixed bug #36037.
1791 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1793 * BaseParser.cs: a couple of path fixes to make it work
1794 when the page is not in the root directory.
1796 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1798 * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
1801 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1803 * BaseParser.cs: use MapPath and context to locate files.
1804 * Control.cs: implemented MapPathSecure.
1805 * TemplateControl.cs: use UrlUtils to generate the path.
1806 * TemplateControlParser.cs: use the context and MapPath.
1807 * UserControl.cs: implemented MapPath.
1808 * UserControlParser.cs: added context parameter to constructor.
1810 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1812 * Control.cs: implemented MapPathSecure.
1813 * Page.cs: fixed Server property.
1815 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1817 * DataBinder.cs: try the indexer if the property is not found in
1818 GetPropertyValue ().
1820 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1822 * Control.cs: added AutoEventWireup internal property.
1824 * Page.cs: removed page events wire up from here.
1826 * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
1827 and user controls events.
1829 * TemplateControlParser.cs: process the options that are applicable
1830 once we have the instance of the control.
1832 * TemplateParser.cs: also stores the options.
1834 * UserControl.cs: hook up events before initializing the control.
1837 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1839 * Control.cs: new method to set bindingContainer value.
1840 * TemplateControl.cs: added controls are not binding containers.
1842 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1844 * Control.cs: implemented TemplateSourceDirectory.
1845 * TemplateControl.cs: implemented LoadControl and LoadTemplate.
1847 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1849 * UserControl.cs: fixed SetAttribute.
1850 * UserControlParser.cs: set the correct base type.
1852 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1854 * TemplateParser.cs: fixed BaseType.
1855 * UserControlParser.cs: helper class to compile user controls.
1857 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1859 * LosFormatter.cs: added DateTime to special types.
1861 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1863 * LosFormatter.cs: added array serialization support. Disabled binary
1864 serialization and add some debugging code.
1866 * StateBag.cs: the length of the list of value can be less than the
1867 length if the list of keys when remaining values are null.
1869 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1871 * Page.cs: return something useful in GetPostBackClientEvent.
1873 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1875 * Page.cs: implemented FileDependecies and made it protected.
1877 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1879 * Control.cs: save control names instead of the controls
1880 themselves to the ViewState.
1882 * LosFormatter.cs: added support for serializing unknown
1883 types. BinaryFormatter does not work so you better don't store anything
1884 of unknown Type in ViewState.
1886 * Page.cs: GetViewStateString works now using LosFormatter.
1887 Complete "Control execution lifecycle" by unloading all the child
1888 controls. Check for null in RaisePostBackEvents.
1889 LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
1891 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1893 * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
1895 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1897 * LosFormatter.cs: Use WebEncoding.Encoding.
1900 * Page.cs: fixed namespace.
1902 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1904 * Page.cs: set the context in ProcessRequest. Added a few trace calls.
1905 * Control.cs: added some trace information.
1907 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1909 * SimpleHandlerFactory.cs: new handler for .ashx files.
1911 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1913 * System.Web.UI/PageHandlerFactory.cs: new file.
1914 * System.Web.UI/PageParser.cs:
1915 * System.Web.UI/TemplateControlParser.cs: we are now able to compile
1916 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1918 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1920 * Control.cs: implemented ObBubbleEvent.
1921 * Page.cs: temporary workaround to make POST work with xsp server.
1923 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1925 * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
1928 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1930 * SimpleWebHandlerParser.cs: New file.
1931 * WebServiceParser.cs: New file.
1933 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1935 * LosFormatter.cs: almost fully implemented.
1937 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1939 * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
1940 * EmptyControlCollection.cs: throw correct exception.
1941 * LosFormatter.cs: stubbed out.
1942 * OutputCacheLocation.cs: little fix.
1944 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1946 * System.Web.UI/ApplicationFileParser.cs:
1947 * System.Web.UI/BaseParser.cs:
1948 * System.Web.UI/PageParser.cs:
1949 * System.Web.UI/TemplateControl.cs:
1950 * System.Web.UI/TemplateControlParser.cs:
1951 * System.Web.UI/TemplateParser.cs: first steps to move xsp into
1954 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1956 * Page.cs: request to render postback script can be after form started
1959 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1961 * Page.cs: added more page events to invoke automagically if some
1962 methods are defined.
1964 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1967 (SaveViewState): save state even when control is not visible.
1968 (SaveViewStateRecursive):
1969 (LoadViewStateRecursive): made internal.
1971 2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1973 * Page.cs: improved event raising to allow client postback for a wider
1974 variety of actions (clicking an hyperlink, ...).
1976 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1978 * UserControl.cs: implemented Load/SaveViewState.
1980 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1982 * AttributeCollection.cs:
1983 (Add): handle 'style' through styleCollection.
1985 * CssStyleCollection.cs:
1986 (fillStyle): renamed to FillStyle and made it internal.
1989 (GetViewStateString): fixed, broken after other recent changes.
1990 (ProcessPostData): allow a second try for postback data after OnLoad.
1991 (ProcessRequest): clear controls collection, removed call to
1994 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1996 * Control.cs: uncommented Dispose.
1999 (DeterminePostBackMode): more checkings.
2000 (GetPostBackClientHyperLink): implemented.
2001 (GetPostBackEventReference): added some comments with the HTML that MS
2003 (ProcessRequest): fixed processing order. The page is unloaded after
2004 a request and regenerated from view state on subsequents posts.
2006 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2008 * Control.cs: fixed related to ViewState. Added RemovedControl.
2010 * ControlCollection.cs: notify owner of control removal.
2012 * CssStyleCollection.cs: almost rewritten to make it render the style
2013 attribute after changes to it.
2015 * Page.cs: follow the guidelines in 'Control execution lifecycle'.
2018 * StateBag.cs: don't use IDictionary.GetEnumerator on the
2019 HybridDictionary: it makes the program give an InvalidCastException at
2022 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2024 * Page.cs: fire Init and Load events for all children.
2026 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2028 * UserControl.cs: New file.
2030 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2032 * ControlBuilderAttribute.cs: finished implementation.
2034 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2036 * ConstructorNeedsTagAttribute.cs: the default constructor sets the
2039 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2041 * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
2043 * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
2044 Hashtable. Added internal .ctor.
2046 * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
2047 Equals and GetHashCode.
2049 * System.Web.UI/DataBoundLiteralControl.cs:
2051 (SaveViewState): implemented.
2053 * System.Web.UI/Page.cs: FileDependencies is not public.
2055 * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
2058 (IsDefaultAttribute): implemented.
2060 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2062 * Control.cs: fixed Visible property.
2063 * Page.cs: fixed GetViewStateString.
2065 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2067 * System.Web.UI/Page.cs:
2068 (GetViewStateString): new function to give the server access to the
2069 generated view state string.
2072 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2075 (SaveViewstateRecursive): implemented.
2076 (SaveViewState): fixed.
2077 (IParserAccessor.AddParsedSubObject): don't use 'this'.
2079 * Page.cs: added code to save view state to an xml file. It's not
2080 being used right now.
2082 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2084 * System.Web.UI/LiteralControl.cs:
2085 Fixes based on class status page:
2087 - Add attributes (DefaultEvent, ParseChildren).
2089 - Explicitly implement some interfaces (IPostBackDataHandler
2090 and IPostBackEventHandler).
2091 - Implemented some missing methods.
2093 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2095 * Control.cs: reimplemented FindControls.
2098 (.ctor): set the page for this control.
2099 (IsPostBack): return valid value.
2100 (DeterminePostBackMode): finished.
2101 (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
2102 (ProcessPostData): implemented. Raises change and postback events.
2103 (ProcessRequest): changed to support reuse of the instance.
2104 (RegisterRequiresPostBack): implemented.
2106 * ValidatorCollection.cs: implemented all methods.
2108 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2111 * Page.cs: first attemp to save view state.
2113 * HtmlForm.cs: don't render Action.
2115 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2117 * Page.cs: implemented more properties using information we already
2121 (VerifyRenderingInServerForm): implemented.
2123 2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2125 * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
2126 out runtime. Renamed Page_Init and Page_Load.
2128 After this, we can load a dll and render HTML in linux.
2130 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2133 (AddedControl): new function that is called whenever a control is
2134 added to a collection of controls in a container. It sets the defaults
2137 * ControlCollection.cs: call AddedControl in Add/AddAt.
2139 * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
2140 SetStaticString and SetDataBoundString.
2142 * Page.cs: removed SetDefaults.
2144 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2146 * CompiledTemplateBuilder.cs: new file. Used in the code generated
2150 (BindingContainer): implemented.
2151 (EnsureChildControls): avoid stack overflow.
2153 * DataBinder.cs: implemented Eval and PropertyValue.
2155 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2157 * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
2158 bug as in regular attributes).
2160 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2162 * Control.cs: implemented PreventAutoID.
2165 (SetDefaults): don't set ID automatically if Control.PreventAutoID has
2168 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2171 (Validators): if the collection is null, create one.
2172 (GetPostBackEventReference 2): don't throw exception.
2173 (GetPostBackClientEvent): return a string with containing the method
2174 name, the control name and the argument.
2176 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2178 * Page.cs: SetPage is now called SetDefaults and also sets a default
2179 ID for controls that don't have one yet.
2181 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2184 (GetPostBackClient):
2185 (RegisterRequiresPostBack): don't throw NotImplementedException to
2187 (ProcessRequest): set the current page as the Page property for *all*
2188 the controls, not just the direct children of the page.
2190 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2193 (MapPathSecure): until security is implemented, return the same path
2194 received as argument.
2195 (RenderControl): call OnPreRender before rendering the control. So
2196 AdRotator can read its configuration file.Is there any other place
2197 where this should be done?
2199 * HtmlTextWriter.cs:
2200 (AddAttribute): fixed. Now it really stores attributes.
2201 (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
2203 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2205 * ControlCollection.cs:
2206 (AddAt): if index is -1 behave as a plain Add.
2208 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2210 * Page.cs: for each child control to render, assign Control.Page.
2211 Probably also needed in HtmlContainerControl derived classes.
2213 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2215 * AttributeCollection.cs: don't need a Hastable. StateBag now works
2216 fine and takes care of the details.
2218 * Control.cs: added HasChildren property.
2220 * StateBag.cs: fixed a couple of nasty bugs.
2222 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2224 * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
2225 Invoke Page_Init and/or Page_Load if the user supplied them (though
2226 this should depend on AutoEventWireUp attribute of Page directive).
2228 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2230 * Control.cs: don't throw exception in ControlID. By now, it returns ID.
2233 (ProcessRequest): implemented.
2235 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2237 * System.Web.UI/Page.cs: finished stubbing out. Implemented some
2240 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2243 (FileDependencies): now is public public.
2244 (EnableViewStateMAC): uncommented and made protected.
2245 (GetTypeHashCode): added method.
2247 2002-05-24 Duncan Mak <duncan@ximian.com>
2249 * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
2251 * StateBag.cs (Item): Changed the visibility level of the this
2254 Misc. formatting edits, fixing some bugs introduced by the indentation.
2256 * DataBinder.cs (Eval)
2257 (GetIndexedPropertyValue)
2258 (GetPropertyValue): Fixed return types.
2260 2002-05-21 Miguel de Icaza <miguel@ximian.com>
2262 * HtmlTextWriter.cs: Use this to change the member instances.
2264 2002-05-17 Duncan Mak <duncan@ximian.com>
2266 * AttributeCollection.cs:
2267 * ControlCollection.cs:
2268 * CssStyleCollection.cs:
2269 * DataBindingCollection.cs:
2270 * EmptyControlCollection.cs: Added missing Collection classes.
2272 2002-05-17 Duncan Mak <duncan@ximian.com>
2275 * TemplateParser.cs: Implemented. BaseParser is weird because
2276 there is no documentation on what it does.
2278 * ControlBuilder.cs:
2281 * DataBinding.cs: Added.
2283 * DataBoundLiteralControl.cs:
2284 * Triplet.cs: Added.
2286 * RenderMethod.cs: Added this delegate for Control.cs
2288 2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2290 * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
2292 2002-05-14 Duncan Mak <duncan@ximian.com>
2294 * ValidationPropertyAttribute.cs: Added to CVS.
2296 2002-05-10 Duncan Mak <duncan@ximian.com>
2298 * ConstructorNeedsTagAttribute.cs:
2299 * ControlBuilderAttribute.cs:
2300 * ImageClickEventArgs.cs:
2301 * ParseChildrenAttribute.cs:
2302 * PartialCachingAttribute.cs:
2303 * PersistChildrenAttribute.cs:
2304 * PersistenceModeAttribute.cs:
2305 * TemplateContainerAttribute.cs: Added to CVS.
2307 * PersistanceMode.cs: Removed, fixed typo.
2308 * PersistenceMode.cs: Replacing above.
2310 * StateBag.cs (this): Fixed indexer, it takes a string as the
2311 index, not an object.
2313 * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
2315 * Page.cs (Validators): return type should be ValidatorCollection,
2316 not ValidatedCollection.
2318 * TagPrefixAttribute.cs: Added to CVS.
2320 2002-05-07 Duncan Mak <duncan@ximian.com>
2322 * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
2324 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
2326 * DataBindingHandlerAttribute.cs
2328 * ToolboxDataAttribute.cs - Completed
2330 2002-01-03 Nick Drochak <ndrochak@gol.com>
2332 * DesignTimeParseData.cs: initialze static member to avoid compile
2334 * PropertyConverter.cs: remove uneeded exception variables from
2337 2002-01-02 Nick Drochak <ndrochak@gol.com>
2339 * DesignTimeParseData.cs: fix header to show correct class name
2341 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
2343 * StateBag.cs - Completed
2345 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
2347 * Pair.cs - Small undocumented class. Completed.
2349 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
2351 * DesignTimeParseData.cs - Initial implementation
2352 * StateBag.cs - Initial implementation
2354 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
2356 * PropertyConverter.cs - Undocumented class. Completed.
2357 * Utils.cs - Undocumented, private class.
2358 Initial implementation
2360 2001-08-28 Bob Smith <bob@thestuff.net>
2361 * Control.cs: Figured out some undocumented API.
2363 * BuildMethod.cs: Initial implementation.
2364 * BuildTemplateMethod.cs: Initial implementation.
2365 * HtmlTextWriterAttribute.cs: Initial implementation.
2366 * HtmlTextWriterStyle.cs: Initial implementation.
2367 * HtmlTextWriterTag.cs: Initial implementation.
2368 * IAttributeAccessor.cs: Initial implementation.
2369 * IDataBindingsAccessor.cs: Initial implementation.
2370 * ImageClickEventHandler.cs: Initial implementation.
2371 * INamingContainer.cs: Initial implementation.
2372 * IParserAccessor.cs: Initial implementation.
2373 * IPostBackDataHandler.cs: Initial implementation.
2374 * IPostBackEventHandler.cs: Initial implementation.
2375 * IStateManager.cs: Initial implementation.
2376 * ITagNameToTypeMapper.cs: Initial implementation.
2377 * ITemplate.cs: Initial implementation.
2378 * IValidator.cs: Initial implementation.
2379 * OutputCacheLocation.cs: Initial implementation.
2380 * PersistanceMode.cs: Initial implementation.
2381 * StateItem.cs: Initial implementation.
2383 2001-08-27 Bob Smith <bob@thestuff.net>
2385 * Control.cs: Bug fixes and implementations.
2387 2001-08-24 Bob Smith <bob@thestuff.net>
2389 * Control.cs: Bug fixes.
2391 2001-08-23 Bob Smith <bob@thestuff.net>
2393 * Control.cs: More implementation. Events reworked for performance.
2395 2001-08-22 Bob Smith <bob@thestuff.net>
2397 * LiteralControl.cs: Implemented.
2398 * Control.cs: Even more implementation (Events). What a beast.
2400 2001-08-20 Bob Smith <bob@thestuff.net>
2402 * Control.cs: More implementation. Not done yet. Shutter.
2404 2001-08-17 Bob Smith <bob@thestuff.net>
2406 * Control.cs: Partial implementation.