1 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * TemplateParser.cs: default VS 2005 pages are compiled fine now.
5 2005-09-07 Chris Toshok <toshok@ximian.com>
7 * MinimizableAttributeTypeConverter.cs: new class, whose existence
8 we know about because of corcompare, and for whose implementation
9 we have exclusively nunit to thank.
11 2005-09-06 Chris Toshok <toshok@ximian.com>
13 * RootBuilder.cs (.cctor): doh, add all the new html controls
16 2005-08-31 Chris Toshok <toshok@ximian.com>
18 * DataSourceSelectArguments.cs (Empty): this is apparently,
19 according to corcompare, a property, not a field. go figure.
21 (IsEmpty): remove all mention of it.
23 2005-08-29 Chris Toshok <toshok@ximian.com>
25 * StateBag.cs (GetChar): add.
27 2005-08-28 Chris Toshok <toshok@ximian.com>
29 * Page.cs: more random corcompare work.
30 (PageAdapter): implement.
32 2005-08-28 Chris Toshok <toshok@ximian.com>
34 * Page.cs (.ctor): set our initial ID to "__Page".
35 (SmartNavigation): obsolete in 2.0.
36 (FindControl): new implementation. Just check our own ID against
37 the control we're looking for. otherwise pass it along to
39 (GetPostBackClientHyperlink): obsolete in 2.0.
41 2005-08-28 Chris Toshok <toshok@ximian.com>
43 * ClientScriptManager.cs: public sealed in 2.0
45 * IAdaptableTextWriter.cs: new 2.0 interface.
47 * IHierarchyData.cs: fix return type for GetParent.
49 2005-08-28 Chris Toshok <toshok@ximian.com>
51 * Pair.cs: mark serializable and sealed in 2.0.
53 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
55 * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
56 existing (but internal) FillStyle method. Rewrote BagToString to use an
57 HtmlTextWriter so we get the "right" format for background-image url.
59 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
61 * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
62 Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
63 the extra space from last patch because they break some unit tests.
65 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
67 * CssStyleCollection.cs: Added some spacing.
68 * HtmlTextWriter.cs: Made style and attribute tables static.
69 Implemented StaticGetStyleName().
71 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
73 * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
75 * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
76 The new rendering formats the value as "url(" + original + ")".
78 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
80 * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
81 depends on the HtmlTextWriterStyle ordering).
83 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
85 * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
87 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
89 * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
90 fixed the rest of the enum values).
91 * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
92 parameter to match 2.0 API. Added a setter to the AllowedTypes
95 2005-08-24 Chris Toshok <toshok@ximian.com>
97 * Control.cs (get_Adapter): Instead of throwing an exception, just
98 return null, so we can write the rest of the Control specific
99 Adapter code and just not enable any of those code paths until we
100 have actual adapters. Also flag TODO.
101 (EnsureChildControls): Call out to Adapter.CreateChildControls if
103 (RenderChildren): call "RenderControl (writer, adapter)" if we
105 (RenderControl): implement the adapter case naively.
106 (LoadRecursive): call out to Adapter.OnLoad if we have one.
107 (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
109 (InitRecursive): call out to Adapter.OnInit if we have one.
111 2005-08-24 Chris Toshok <toshok@ximian.com>
113 * Page.cs (GetPostBackEventReference): track change to
114 ClientScriptManager and don't call a removed method.
116 * ClientScriptManager.cs: track more recent docs and corcompare
119 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
121 * KeyedList.cs: Fixed bug when removing an unexisting object.
122 * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
123 in implementing RoleGroupCollection.
125 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
127 * Page.cs: Use Control property (and not the _control variable) to get
128 the User (so the virtual Control property can be overriden properly).
129 Sadly this doesn't seems to be the case for other properties (like
132 2005-08-18 Dick Porter <dick@ximian.com>
134 * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
135 UserControl.cs, DesignerDataBoundLiteralControl.cs,
136 PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
137 BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
138 stubs and attribute fixes
140 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
142 * Control.cs: Add protected virtual SetDesignModeState, in 2.0
143 profile, as this is required for the Login control.
145 2005-08-11 Dick Porter <dick@ximian.com>
147 * CssStyleCollection.cs: Tweak the css string format to pass a
150 * AttributeCollection.cs: Don't NRE if someone sets the "style"
153 2005-08-05 Ben Maurer <bmaurer@ximian.com>
155 * HtmlTextWriter.cs: Revert the patch below, see test case
157 2005-08-05 Dick Porter <dick@ximian.com>
159 * HtmlTextWriter.cs: Make <option> tags render inline, to match
162 2005-08-03 Ben Maurer <bmaurer@ximian.com>
164 * HtmlTextWriter.cs: Optmize this not to do insane amounts of
165 allocation for large pages, etc.
167 2005-07-30 Chris Toshok <toshok@ximian.com>
169 * Page.cs (VerifyRenderingInServerForm): copy MS's error message
170 since our form-errors jsunit tests depend on it.
172 2005-07-30 Chris Toshok <toshok@ximian.com>
174 * DataBinder.cs (FormatResult): make internal, not private.
176 2005-07-29 Ben Maurer <bmaurer@ximian.com>
178 * StateBag.cs: Don't remove when tracking viewstate, as per msft
181 2005-07-29 Ben Maurer <bmaurer@ximian.com>
183 * StateBag.cs: Actually *remove* items that are null. Duh.
185 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
187 * Page.cs: Need to throw exception when accessing Request but no
190 2005-07-20 Chris Toshok <toshok@ximian.com>
192 * ClientScriptManager.cs (GetClientValidationEvent): the JS we
193 stick in onclick handlers for buttons/links/etc.
195 * Page.cs (GetSubmitStatements): new function to return
196 scriptManager.WriteSubmitStatements. Used by HtmlForm.
197 (AreValidatorsUplevel): used by many of the button/linkbutton
198 controls (the ones that can CauseValidation) to tell whether or
199 not to emit client side validation calls.
201 2005-07-20 Chris Toshok <toshok@ximian.com>
203 * WebResourceAttribute.cs: make internal (and available) in
206 2005-07-20 Chris Toshok <toshok@ximian.com>
208 * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
209 available) in !NET_2_0.
211 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
213 * Control.cs: Added IDataBindingsAccessor interface methods
215 2005-07-18 Ben Maurer <bmaurer@ximian.com>
217 * HtmlTextWriter.cs: Fix nested indentation
219 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
221 * Control.cs: Added missing IParserAccessor.AddParsedSubObject
224 2005-07-18 Ben Maurer <bmaurer@ximian.com>
226 * HtmlTextWriter.cs: Fix indentation (somewhat at least)
228 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
231 - Default name for controls on MS.Net is "_ctl" not "_ctrl"
232 - MS does not append 'a' for auto-generated names
234 2005-07-17 Ben Maurer <bmaurer@ximian.com>
236 * AttributeCollection.cs: Use the invariant culture.
238 * StateBag.cs: "Duh" optimization: return null when there are no
239 dirty items in the view state
241 2005-07-14 Ben Maurer <bmaurer@ximian.com>
243 * StateBag.cs: A "short" version of my favorite method.
245 * HtmlTextWriter.cs: New method to get the tag name staticly.
247 2005-07-14 Duncan Mak <duncan@novell.com>
249 * DataBindingHandlerAttribute.cs: Fixed after receiving some
250 comments from Gonzalo.
252 2005-07-13 Jackson Harper <jackson@ximian.com>
254 * PropertyConverter.cs: No public constructors.
256 2005-07-13 Ben Maurer <bmaurer@ximian.com>
258 * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
260 2005-07-12 Ben Maurer <bmaurer@ximian.com>
262 * HtmlTextWriter.cs: Make styles work.
264 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
266 * AttributeCollection.cs:
267 - Changes to match MS behaviour, the "style" attribute is always
268 added to the list, in addition to being added to the
269 CssStyleCollection. Also added check for "style" attribute when
270 setting via index setter
271 - When "Style" attribute is added, CssStyleCollection is
272 automatically created
273 - The style keyword needs to be lowercase
275 2005-07-11 Ben Maurer <bmaurer@ximian.com>
277 * HtmlTextWriter.cs: Missing a PopEndTag here.
279 * PropertyConverter.cs: Pass tests
281 2005-07-09 Miguel de Icaza <miguel@novell.com>
283 * DataBindingHandlerAttribute.cs: Create the "Default" property.
285 2005-07-09 Duncan Mak <duncan@novell.com>
287 * DataBindingHandlerAttribute.cs: Implemented.
289 2005-07-08 Ben Maurer <bmaurer@ximian.com>
291 * HtmlTextWriter.cs: Much better compliance with msft
293 2005-07-08 Jackson Harper <jackson@ximian.com>
295 * ToolbarDataAttribute.cs: New implementation.
297 2005-07-07 Jackson Harper <jackson@ximian.com>
299 * PropertyConverter.cs: New implementation.
301 2005-07-07 Ben Maurer <bmaurer@ximian.com>
303 * StateBag.cs: Noticed an issue where SetDirty was called when the
306 2005-07-07 Ben Maurer <bmaurer@ximian.com>
308 * StateBag.cs: Add a method that gets a string or else a default
311 2005-07-07 Dick Porter <dick@ximian.com>
313 * StateBag.cs: Added internal SetDirty (void) method to fix the
316 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
318 * HtmlTextWriter.cs: Small fixlet when attribute has no value.
320 2005-07-07 Miguel de Icaza <miguel@novell.com>
322 * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
325 * StateBag.cs: Add NET_2_0 SetDirty method to get the build
328 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
330 * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
332 2005-07-06 Ben Maurer <bmaurer@ximian.com>
334 * HtmlTextWriter.cs: Make sure to clear attributes when they are
337 * StateBag.cs: New impl
339 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
342 * Control.cs: avoid the creation of the EventHandlerList and accessing
343 to it whenever possible. Fix ENABLE_THEMING constant.
345 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
348 * TemplateControlParser.cs:
349 * UserControlParser.cs: detect circular references when a control tries
350 to register itself as a tag. Fixes bug #75376.
352 2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
354 * PageParser.cs: don't try to compile the master page if it wan't
355 provided. Use MapPath from the base classes instead of the long
356 version. Fixes bug #75269 that prevented xsp2 from working properly.
358 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
360 * MasterPage.cs: Clear the default content of placeholders before
361 adding the page content. Fixes bug #75193.
363 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
365 * PageParser.cs: Added MasterType property. Get the type from the
366 MasterType directive.
367 * MasterPageParser.cs: Added GetCompiledMasterType method.
369 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
373 * Control.cs: updates for 1.1 SP1
375 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
377 * Control.cs: Added new DataBind() overload for 2.0. The old
378 method calls this new overload.
380 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
382 * TemplateParser.cs: ignore empty assembly.Location for in-memory
383 generated assemblies.
385 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
387 * Page.cs: added AddContentTemplate method.
389 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
391 * AttributeCollection.cs: html-encode attribute values. Fixes
394 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
396 * DataSourceView.cs: Fix api.
397 * NonVisualControlAttribute.cs: Implemented.
398 * IDataItemContainer.cs: Added missing properties.
399 * Control.cs: Added new EnableTheming and SkinID properties.
400 * HierarchicalDataSourceControl.cs: Implemented missing methods.
402 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
404 * ControlCollection.cs: Added internal setter for ReadOnly.
406 2005-05-09 Geoff Norotn <gnorton@customerdna.com>
408 * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
409 uses instead of codebehind.
411 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
413 * Page.cs: as setting CurrentCulture is slow, don't set it if the
414 culture has not changed since before the page started processing.
416 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
418 * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
421 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
424 * SimpleWebHandlerParser.cs: removed values assigned and neved used.
426 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
428 * SimpleWebHandlerParser.cs:
429 * TemplateParser.cs: always get the location (full path) for assemblies,
430 even the ones from the GAC.
432 * BaseCompiler.cs: check that DynamicBase directory exists before
433 creating the TempFileCollection.
435 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
437 * ClientScriptManager.cs: Use a linked list instead of a Hashtable
438 to store the scripts. In this way, scripts will be rendered in the
439 same order as they have been registered. It shouldn't be slower
440 since pages don't have many scripts.
442 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
444 * IEditableTextControl.cs: Implemented.
445 * DataBinder.cs: Marked constructor as obsolete in 2.0.
446 In GetDataItem, check for the IDataItemContainer interface
448 * TemplateControl.cs: Improved check for data item.
450 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
452 * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
453 * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
456 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
457 * TemplateParser.cs: Adding support for Strict/Explicit attributes
458 for @Page/@Control directives as documented at
459 http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
460 First step don't choke on them. Fixing #74671
462 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
464 * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
465 there from the time when Load wasn't working properly. First part of the
468 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
470 * ControlBuilder.cs: The BindingContainerType property happens
471 to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
472 which is used to get the binding container that is managing
473 the current two-way binding context.
474 * TemplateBuilder.cs: Added some methods and an internal class
475 to support two-way bindings.
476 * CompiledBindableTemplateBuilder.cs: Implemented.
477 * IBindableTemplate.cs: This interface inherits from ITemplate.
479 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
481 * ControlBuilder.cs: Added BindingContainerType property,
482 which works like NamingContainerType but takes into account
483 template builders with a specific container type (specified
484 using the TemplateContainerAttribute.
485 * StateManagedCollection.cs: Reimplemented Save/Load view
486 state methods. The existing implementation was not correct
489 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
491 * DataSourceView.cs: Added null check.
493 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
495 * TemplateControl.cs:
496 * Page.cs: Moved Eval and XPath from Page
498 * StateManagedCollection.cs: Avoid saving null state.
500 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
502 * DataSourceView.cs: Rethrow exceptions not handled by operation
504 * ITextControl.cs: Removed event.
505 * CollectionBuilder.cs: Don't crash when a collection has more
508 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
510 * Control.cs: Added a new internal property: HasRenderMethodDelegate.
511 * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
512 * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
514 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
516 * ClientScriptManager.cs: Fix build.
518 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
520 * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
521 since it is deprecated in 2.0.
522 * Page.cs: Deprecated GetPostBackClientEvent and similar methods
523 in 2.0. Moved callback management methods to ClientScriptManager.
524 * ClientScriptManager.cs: Moved here deprecated methods from Page.
525 In GetPostBackEventReference (PostBackOptions), don't use the
526 WebForm_DoPostback script if the post can be done with a simple
528 * PostBackOptions.cs: Fixed default values for some properties.
530 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
532 * Control.cs: in FindControl, throw if there's more than one control
533 with the same ID. Fixes bug #73479.
535 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
537 * Page.cs: Load control state before loading view state, and the
539 * DataSourceSelectArguments.cs: Fix recursive property call.
541 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
543 * DataSourceView.cs: Fixed incorrect implementation of
544 RaiseUnsupportedCapabilityError.
545 * IDataItemContainer.cs: Added new properties.
546 * Page.cs: Implemented Form property.
547 * Control.cs: Fixed formatting.
548 * StateManagedCollection.cs: Track view state of items loaded
551 2005-02-22 Lluis Sanchez Gual <lluis@novell.com>
553 * FilterableAttribute.cs: Fix endless loop.
555 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
557 * Page.cs: Implemented missing events.
559 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
561 * BoundPropertyEntry.cs:
563 * TwoWayBoundPropertyEntry.cs: implemented.
565 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
567 * Page.cs: Added support for validation groups. Some fixes in
568 SavePageControlState().
569 * IFilterResolutionService.cs: Removed extra field.
570 * INavigateUIData.cs: Added missing field.
571 * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
572 Implemented new interfaces.
574 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
576 * Page.cs: Implemented support for cross page postback. Implemented
577 support for postback with options. Fixed several method and property
579 * PostBackOptions.cs: Added some TODOs.
581 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
583 * ParseChildrenAttribute.cs: Set the correct default value for the
586 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
588 * ParseChildrenAttribute.cs: Added 2.0 property.
589 * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
590 * Page.cs: Added support for control state.
591 * TemplateBuilder.cs: ContainerType should be internal.
592 * Control.cs: Added some new 2.0 methods.
594 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
596 * PageParser.cs: Read the MasterPageFile attribute.
597 * UserControlParser.cs: Not sealed any more since we need to inherit from
598 it. Added new constructor with an additional "type" parameter.
599 * MasterPageParser.cs: Parser for master pages.
600 * Page.cs: Added support for master pages.
601 * MasterPage.cs: Implemented.
603 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
605 * TemplateBuilder.cs: Added a special constructor that takes an
606 attribute provider as parameter. The container type for the template
607 may be defined in a TemplateContainerAttribute.
608 * ControlBuilder.cs: Create the TemplateBuilder using that special
610 * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
612 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
614 * IStyleSheet.cs: Added missing "using".
615 * Page.cs: Implemented Header property.
616 * CssStyleCollection.cs: Made BagToString method internal.
617 * RootBuilder.cs: Register HtmlHead control.
619 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
621 * CssStyleCollection.cs: Minor (!) fix.
622 * HtmlTextWriter.cs: Register names for new 2.0 styles.
624 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
626 * CssStyleCollection.cs: Make it work as a standalone collection.
627 * HtmlTextWriter.cs: Added static method for getting style names.
629 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
631 * ControlCollection.cs: fix off-by-one and store a null at the end to
632 remove the reference to the removed control.
634 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
636 * ClientScriptManager.cs: Added GetScriptLiteral helper method.
638 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
640 * Page.cs: Added support for callback events. Moved theform variable
641 outside the __doPostBack function, so it can be used by other
643 * StateBag.cs: Implemented SetDirty().
645 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
647 * Control.cs: when saving "Visible" into the ViewState, save the value
648 for this precise control, as using the Visible property might give us
649 Control's parent visibility. Fixes bug #69200.
651 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
653 * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
656 * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
657 the appRoot + SessionID + vpath format.
659 Fixes the 3 issues reported in bug #66623.
661 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
663 * Page.cs: Moved code for managing client scripts to ClientScriptManager,
664 which is public in 2.0 and internal in 1.1.
665 * ClientScriptManager.cs: Implemented.
667 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
669 * DataSourceView.cs: Removed extra method.
671 2004-11-24 Sanjay Gupta <gsanjay@novell.com>
673 * DataSourveViewSelectCallback.cs: Corrected method signature.
675 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
677 * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
678 even if the class doesn't implement IParserAccessor.
679 * WebResourceAttribute.cs: Allow multiple attributes of this type.
681 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
683 * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
684 from SqlDataSourceView.cs.
686 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
688 * Control.cs: unified a few bool fields into an int one.
690 * ControlCollection.cs: use an array internally instead of always
691 allocating an arraylist. Also added our own enumerator.
693 * EmptyControlCollection.cs: there's no 'special' ctor now in the base
696 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
698 * DataSourceView.cs: Changes in access modifiers of methods.
700 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
702 * DataSourceCapabilities.cs: Added Flags attribute.
703 * DataSourceSelectArguments.cs: Updated.
704 * DataSourveView.cs: Updated.
706 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
708 * HierarchicalDataSourceView.cs: Corrected class definition and updated.
710 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
712 * HierarchicalDataSourceView.cs: fix typo.
714 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
716 * HierarchicalDataSourceView.cs: Updated.
718 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
720 * DataSourceSelectArguments.cs: Initial implementation.
722 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
724 * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
726 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
728 * UrlTypes.cs: Updated.
730 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
732 * UrlPropertyAttribute.cs: Added new file.
734 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
736 * Control.cs: even if the control has no children the naming container
737 may contain the control we're looking for. Fixes bug #67304.
739 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
741 * AspGenerator.cs: added OtherTags.
743 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
745 * ControlValuePropertyAttribute.cs: Initial implementation.
747 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
749 * IPaginationContainer.cs: Corrected name of class.
751 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
753 * IDReferencePropertyAttribute.cs: Completed implementation.
755 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
757 * ThemeableAttribute.cs:
758 * FilterableAttribute.cs: Code scrubbing and optimization.
760 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
762 * ThemeableAttribute.cs: Completed implementation.
764 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
766 * FilterableAttribute.cs: Completed implementation.
768 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
770 * Control.cs: Added new attributes and a method.
771 * FilterableAttribute.cs: New attribute, initial implementation.
772 * ThemeableAttribute.cs: New attribute, initial implemenataion.
774 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
776 * TemplateParser.cs: ensure bin directory exists before trying to access
777 it. Fixes bug #65446 (not closed yet due to dependencies).
779 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
781 * Control.cs: Implemented methods of interface IExpressionAccessor.
783 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
785 * SimpleWebHandlerParser.cs: correctly cache Type instead of the
786 assembly for ashx/asmx. Otherwise we need to open the file and check
787 for the class name in there. Thanks to Ben for pointing this out.
789 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
791 * TemplateParser.cs: removed creation of StringWriter. It's not used.
792 * Control.cs: don't create the EventHandlerList until requested.
794 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
796 * Control.cs: Added new interfaces implemented in .Net 2.0.
797 * ExpressionBinding.cs: Added new class.
798 * ExpressionBindingCollection.cs: Added new class.
800 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
802 * LiteralControl.cs: stylized. This control has EnableViewState disabled
803 by default and doesn't get an automatic ID. When text is null -> "".
805 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
807 * ControlSkinProc.cs:
808 * DataSourceViewOperationCallback.cs:
809 * DataSourceViewSelectCallback.cs:
810 * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
811 required in definition as delegates by default are sealed.
813 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
815 * IDReferencePropertyAttribute.cs: Corrected and changed from interface
817 * IMobileTextWriter.cs: Corrected method signatures.
819 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
821 * ControlSkinProc.cs:
822 * DataSourceViewOperationCallback.cs:
823 * DataSourceViewSelectCallback.cs:
824 * ExtractTemplateValuesMethod.cs: Added new delegates.
826 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
828 * IBindableTemplate.cs:
829 * ICallbackEventHandler.cs:
830 * IControlBuilderAccessor.cs:
831 * IControlDesignerAccessor.cs:
832 * IControlTypeFilter.cs:
833 * IDataItemContainer.cs:
834 * IDataSourceViewSchemaAccessor.cs:
835 * IDReferencePropertyAttribute.cs:
836 * IExpressionsAccessor.cs:
837 * IFilterResolutionService.cs:
838 * IItemPaginationInfo.cs:
839 * IMobileTextWriter.cs:
841 * IPaginationContainer.cs:
842 * IPaginationInfo.cs:
843 * IResourceResolutionService.cs:
844 * IResourceUrlGenerator.cs:
845 * IStateFormatter.cs:
847 * IThemeResolutionService.cs:
848 * IUrlResolutionService.cs:
849 * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
851 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
853 * PostBackOptions.cs: Added new file and implemented the class.
855 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
857 * HtmlTextWriterTag.cs: readded author name.
859 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
861 * HtmlTextWriterAttribute.cs:
862 * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
863 * CompilationMode.cs:
864 * ConflictOptions.cs:
865 * DataSourceCacheExpiry.cs:
866 * DataSourceCapabilities.cs:
867 * DataSourceOperation.cs:
868 * TemplateContentType.cs:
869 * TemplateInstance.cs:
871 * VerificationConditionalOperator.cs:
872 * VerificationReportLevel.cs:
873 * VerificationRule.cs:
874 * XhtmlMobileDocType.cs: Added enumerations.
876 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
878 * Control.cs: style. Reverted previous patch modification of
879 TemplateSourceDirectory (failed when the control is reparented). Use
880 HasControls() and Controls all over instead of _controls, as Controls
881 property and HasControls() might be overriden.
883 2004-07-27 Alon Gazit <along@mainsoft.com>
885 * Control.cs: Changed the implementation of TemplateSourceDirectory
886 and GetDefaultName(). replaced foreach statements with for statements,
887 in order to improve performence.
889 2004-07-27 Alon Gazit <along@mainsoft.com>
891 * Page.cs: changed the implementation of GetViewStateString().
892 if the view state object is null there is no need to perform
895 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
897 * TemplateControl.cs: don't include private methods of base classes when
898 auto-attaching events. Fixes bug 61569.
900 2004-07-14 Alon Gazit <along@mainsoft.com>
902 * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
903 2004-07-08 Pablo Baena <pbaena@gmail.com>
905 * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
907 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
909 * Page.cs: added additional checks for saving/displaying trace data.
911 * PageParser.cs: removed checks for trace enabled in configuration
914 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
916 * ControlCollection.cs: when clearing the control collection, tell the
917 owners about the removal. Fixes bug #60800.
919 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
921 * Page.cs: don't nullify _context after processing the request as there
922 are events not triggered yet. Fixes bug #60726.
924 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
926 * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
929 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
932 * UserControlParser.cs: set the page/user control base type even when no
933 default directive provided. Fixes bug #60572.
935 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
937 * PageParser.cs: use default trace settings from web.config and check
938 if trace is only requested for local connections. Fixes bug #60180.
940 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
942 * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
943 we read the default directive, check the cache for the Type and if
944 present, don't keep reading and store the type found.
946 * WebHandlerParser.cs:
947 * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
950 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
952 * Control.cs: properly fixed bug #59794.
954 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
957 (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
960 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
962 * SimpleWebHandlerParser.cs:
963 * TemplateParser.cs: pass the language when compiling from a file.
965 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
967 * SimpleWebHandlerParser.cs: if we have a global.asax, move its
968 reference to the end to help mcs loading the assemblies. Fixes bug
971 * TemplateParser.cs: same as above. Removed some kludges to workaround
972 loading assemblies from bin path that are now in the runtime. Don't
973 load the assemblies in bin if not needed, but still reference them
976 2004-06-07 Alon Gazit <along@mainsoft.com>
977 * Page.cs: Changed Page.ProcessPostData().
978 After the change ,the state of controls that aren't visible is saved
981 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
983 * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
985 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
987 * Page.cs: IsPostBack also returns true when method is GET and we have
988 viewstate information in the query string. Fixes bug #58151.
990 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
992 * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
993 HttpRutime.TraceManager.
995 * PageParser.cs: for 'trace' we have 2 variables now. Added support
996 for 'buffer' attribute.
998 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1000 * Page.cs: implemented ClientTarget.
1001 * PageParser.cs: support for clientTarget and check for validity.
1003 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1006 * Html32TextWriter.cs:
1007 * HtmlTextWriter.cs:
1008 * SimpleWebHandlerParser.cs:
1009 * TemplateControl.cs: Added protected missing members and attributes.
1011 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1013 * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
1014 calling a protected method of another object.
1016 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
1018 * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
1019 (of other objects) are called in TypeConverterFormatter.
1021 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1023 * ObjectStateFormatter.cs: before choosing the binary formatter, check
1024 if the object type has a TypeConverter that can convert to/from string.
1027 * Page.cs: call GetViewStateString from outside the WriteLine. This
1028 allows writing to the Response when getting the string without breaking
1031 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1033 * HtmlTextWriter.cs: render end tag for unknown tags.
1034 Patch frmo Markus Krutner. Fixes bug #59466.
1036 2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1038 * Page.cs: call DeterminePostBackMode only once per request. Patch by
1041 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1043 * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
1046 * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
1049 2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1051 * SimpleWebHandlerParser.cs:
1052 * TemplateParser.cs: for the assembly names given in the 'assembly'
1053 attribute, use LoadWithPartialName instead of Load.
1054 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1056 * Page.cs: return HttpContext.Current if _context has not yet been
1057 assigned to. Fixes bug #55245.
1059 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1061 * TemplateParser.cs: don't add import statement or assemblies from
1062 global.asax to every file. Fixes bug #55496.
1064 2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
1066 * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
1067 handle single quotes and a few corner cases correctly (see test cases).
1069 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1071 * TemplateControl.cs: fixed typos and added new method names to the set
1074 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1076 * ControlBuilder.cs: added SetTagName().
1078 * ObjectTagBuilder.cs: use SetTagName so that we can properly close
1079 <object> builders if the closing tag is provided.
1081 2004-02-16 Jackson Harper <jackson@ximian.com>
1083 * Page.cs: Set cacheability for Location.DownStream.
1085 2004-02-10 Jackson Harper <jackson@ximian.com>
1087 * TemplateParser.cs: Use full path if the assembly is in the
1088 private bin directory. Patch by Gonzalo Paniagua Javier.
1090 2004-02-09 Jackson Harper <jackson@ximian.com>
1092 * Page.cs: Set cacheability for server side caching.
1094 2004-01-30 Jackson Harper <jackson@ximian.com>
1096 * Control.cs: Ensure that dynamically loaded controls are
1099 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1101 * ApplicationFileParser.cs: check for error in directives. Use
1102 GlobalAsaxCompiler.CompileApplicationType for compiling.
1104 * ObjectTagBuilder.cs: load the Type and check for errors.
1106 * TemplateParser.cs: add assemblies and imports from global.asax.
1108 Now we properly create accessors for session and application objects in
1109 the application itself, pages and controls. First step for fixing
1112 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1114 * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
1115 to Eric Lindvall for pointing this out.
1117 2004-01-15 Jackson Harper <jackson@ximian.com>
1119 * TemplateParser.cs: Detect if we are parsing a control or page
1121 * Page.cs: vary by params and vary by headers can be null now.
1123 2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
1125 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
1128 2004-01-14 Jackson Harper <jackson@ximian.com>
1130 * Page.cs: If we have a postback that wasn't sent through a
1131 postback script (ie user hit submit on a input type=submit) call
1132 Validate so page validation occurs. This fixes bug #52770.
1134 2004-01-14 Jackson Harper <jackson@ximian.com>
1136 * Page.cs: Don't tell the response to cache anymore. This is done
1137 when the cacheability is modified by a callback. Set the cache's
1140 2004-01-14 Jackson Harper <jackson@ximian.com>
1142 * TemplateParser.cs: If varybyparam is set to "none" make it null
1143 so we dont get a param named null in the outputcache key.
1145 2004-01-14 Jackson Harper <jackson@ximian.com>
1147 * BasePartialCachingControl.cs: Use varyby attributes in key
1150 2004-01-14 Jackson Harper <jackson@ximian.com>
1152 * TemplateParser.cs: Add all the outputcache attribute error
1155 2004-01-13 Jackson Harper <jackson@ximian.com>
1157 * TemplateParser.cs: Add VaryByControls and Shared output cache
1158 properties. These are not assigned yet.
1159 * TemplateControlParser.cs: Do not ignore the OutputCache
1161 * BasePartialCachingControl.cs: Initial implementation. Keys are
1162 still not created properly.
1163 * StaticPartialCachingControl.cs: Assign properties in base class,
1164 implement CreateControl.
1166 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1168 * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
1170 * PageParser.cs: support validateRequest.
1172 * TemplateControlParser.cs: get default values from system.web/pages
1175 * TemplateParser.cs: added separate method for changing base type
1176 (Inherits or system.web/pages).
1178 * UserControlParser.cs: support system.web/pages defined base type.
1180 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1182 * UserControl.cs: Added missing attribute, implemented method
1183 * Page.cs: Added missing attribute, implemented method
1185 2004-01-10 Jackson Harper <jackson@ximian.com>
1187 * Page.cs: Handle trace being enabled in the config file.
1189 2004-01-10 Jackson Harper <jackson@ximian.com>
1191 * Page.cs: Save trace data before rendering it.
1192 * System.Web.dll.sources: Add TraceData.cs
1194 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1196 * Page.cs: removed a couple of MonoTODO on methods we're not gonna
1197 implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
1198 ensure that Unload event is raised. Fixes bug #52555.
1200 2004-01-02 Zoltan Varga <vargaz@freemail.hu>
1202 * KeyedList.cs: 'private' is not allowed on explicit interface
1203 implementations. Fixes 1.2 build.
1205 2003-12-31 Jackson Harper <jackson@ximian.com>
1207 * TemplateControlParser.cs: When registering tag prefixs make sure
1208 the file exists and throw the correct error if it does not.
1210 2003-12-25 Jackson Harper <jackson@ximian.com>
1212 * Page.cs: Throw error if the session is accessed when sessions
1215 2003-12-18 Jackson Harper <jackson@ximian.com>
1217 * Page.cs: Write Trace info.
1219 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1221 * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
1222 * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
1224 * PageParser.cs: the ctor is public.
1225 * PartialCachingAttribute.cs: added new ctor and Shared property.
1227 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1229 * Page.cs: assign the ErrorPage to the context if we get an exception
1230 when processing the page which only calls Unload.
1232 * PageParser.cs: handle ErrorPage.
1234 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1236 * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
1237 are not [Serializable]. Fixes bug #52244.
1239 2003-12-16 Jackson Harper <jackson@ximian.com>
1241 * Page.cs: Render trace data when tracing is enabled.
1243 2003-12-15 Jackson Harper <jackson@ximian.com>
1245 * PageParser.cs: Add Trace and Trace mode attributes.
1247 2003-12-15 Jackson Harper <jackson@ximian.com>
1249 * Page.cs: Use the context trace object.
1251 2003-12-14 Alon Gazit <along@mainsoft.com>
1252 * AttributeCollection.cs: Changed AttributeCollection.Render().
1253 After the change attributes ,that their value is null, aren't
1256 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1258 * Control.cs: remove a few dangling ^M, don't set values for fields
1259 that has the default value. If Visible is modified and we're tracking
1260 viewstate, save and restore it. Fixes bug #48689.
1262 2003-12-11 Jackson Harper <jackson@ximian.com>
1264 * Control.cs: Give null for the ID if it hasn't been explicitly
1265 set. This fixes bug #51520.
1267 2003-12-08 Jackson Harper <jackson@ximian.com>
1269 * PageParser.cs: Ignore the SmartNavigation attribute for now.
1271 2003-12-05 Jackson Harper <jackson@ximian.com>
1273 * DataBinder.cs (GetIndexedPropertyValue): Check if container is
1274 an IList and use a cast instead of reflection to retrieve the item
1275 if it is. Fixes bug #51759.
1277 2003-12-04 Alon Gazit <along@mainsoft.com>
1278 * Page.cs: Changed Page.ID so it will call Control.ID.
1281 2003-12-02 Jackson Harper <jackson@ximian.com>
1283 * Page.cs: Implemented registered array declarations. Patch by
1284 Benjamin Jemlich <pcgod@gmx.net>
1286 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1288 * TemplateParser.cs: basic check for 'classname' attribute and added
1289 patch by pcgod@gmx.net for bug #51568, which fixes automatic class
1290 names for pages starting with a number.
1292 2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
1294 * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
1297 * ObjectStateFormatter.cs: Comment out tracing.
1299 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1301 * Page.cs: fixed UICulture, LCID and Culture. Set the thread
1302 [UI]Culture before processing the request.
1304 * PageParser.cs: read Culture, UICulture and LCID attributes. Added
1305 properties for these. Partially contributed by Mohammad Damt.
1309 2003-11-27 Jackson Harper <jackson@ximian.com>
1311 * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
1314 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
1316 * ObjectStateFormatter.cs: Fix bug when reading small ints.
1317 Add some tracing so we can see what is going on.
1319 2003-11-21 Jackson Harper <jackson@ximian.com>
1321 * Page.cs: Set vary by params when cache location is Server.
1323 2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
1325 * ObjectStateFormatter.cs: v2 file. In v1.x this will be
1326 internal as LosFormatter will eventually use it to save
1329 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1331 * PersistChildrenAttribute.cs:
1332 * PersistenceModeAttribute.cs: implemented.
1334 * TODO: Removed file.
1335 * OutputCacheLocation.cs:
1336 * TemplateControlParser.cs:
1337 * HtmlInputFile.cs: class status based fixes.
1339 2003-11-19 Jackson Harper <jackson@ximian.com>
1341 * Page.cs: Always set the cache expire time. Tell the response to
1342 cache itself for server side cached pages.
1344 2003-11-19 Jackson Harper <jackson@ximian.com>
1346 * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
1347 thing, some corner cases still need work though. Was this the
1348 shortest lived method in the history of mono?
1350 2003-11-19 Jackson Harper <jackson@ximian.com>
1352 * Control.cs: New method for resolving urls that use ~/ to denote
1353 the applications base directory.
1355 2003-11-19 Jackson Harper <jackson@ximian.com>
1357 * TemplateParser.cs: Fix typo in error message.
1359 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1361 * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
1364 2003-11-19 Todd Berman <tberman@gentoo.org>
1367 * KeyedListEnumerator.cs: New v2 implementations.
1369 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
1371 * StateManagedCollection.cs: Implement.
1373 2003-11-13 Jackson Harper <jackson@ximian.com>
1375 * Page.cs: Initial implementation of InitOutputCache.
1376 * TemplateParser.cs: Page OutputCache options
1378 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
1380 * HierarchicalDataSourceControl.cs: Implement.
1382 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
1384 * XPathBinder.cs: Implemented.
1386 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
1388 * DataSourceView.cs:
1390 * ListSourceHelper.cs:
1391 * DataSourceControl.cs:
1392 * HierarchicalDataSourceView.cs:
1393 * IHierarchicalDataSource.cs: Move v2 stuff.
1395 2003-11-07 Jackson Harper <jackson@ximian.com>
1397 * Control.cs (ResolveUrl): Special case for urls that consist of
1398 only a page anchor. ie <a href="#top">. This fixes bug #50165.
1400 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
1402 * IHierarchicalEnumerable.cs:
1403 * IHierarchyData.cs:
1404 * INavigateUIData.cs: New v2 interfaces.
1406 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1408 * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
1409 space in generated javascript.
1411 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1413 * LosFormatter.cs: encoding updates.
1414 * Page.cs: implemented CodePage and ContentType.
1415 * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
1418 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
1420 * Control.cs (GetWebResourceUrl): new v2 function
1421 * Page.cs (GetWebResourceUrl): ditto.
1422 make the JS we generate work with moz if the form is not a child
1424 * WebResourceAttribute.cs: Added, new v2 attribute.
1426 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1428 * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
1430 * PageParser.cs: initialize the parser in the constructor, not just
1431 before compiling and reference the application assembly.
1433 * SimpleWebHandlerParser.cs: reference the assembly that contains the
1436 * TemplateControl.cs:
1437 * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
1438 path and physical path when compiling a user control.
1440 * TemplateParser.cs: new AddApplicationAssembly ().
1441 * UserControlParser.cs: now we get valid values in the ctor.
1443 Referencing the application assembly fixes bug #49652.
1446 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1448 * TemplateControl.cs: moved NoParamsInvoker class to its own file.
1450 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1452 * BaseParser.cs: added CompilationConfig property.
1454 * TemplateParser.cs:
1455 * SimpleWebHandlerParser.cs: added CompilationConfig property.
1456 Don't hardcode assembly names any more, assemblies in bin are added
1457 depending on the configuration. The default language is also taken
1458 from the configuration.
1460 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1462 * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
1464 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1466 * Control.cs: removed some debug lines.
1467 * Page.cs: implemented RegisterOnSubmitStatement
1468 * TemplateControl.cs: fixed wire up for methods with no parameters.
1470 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1472 * PageParser.cs: ignore ValidateRequest by now.
1474 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1476 * System.Web.UI/TemplateControl.cs: support for wiring up events without
1479 2003-10-08 Pedro Martnez Juli <yoros@wanadoo.es>
1481 * PageParser.cs: drop some useless code.
1483 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
1485 * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
1487 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1489 * System.Web.UI/PageParser.cs:
1490 * System.Web.UI/TemplateControlParser.cs: honour the input file given
1493 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1496 (ClearChildViewState): doh! Don't clear control viewstate but the
1497 viewstate of possible children.
1498 (LoadViewStateRecursive): load viewstate even when control is not
1501 The rest are just dangling ^M removed.
1503 * DataBoundLiteralControl.cs:
1504 (LoadViewState): we get an object [], not a string [].
1506 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1508 * Control.cs: implemented ClearChildViewState ().
1510 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1512 * Page.cs: store unique IDs for controls requiring postback. Fixes bug
1515 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1517 * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
1518 dependencies so that it's recompiled when changed.
1520 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1522 * LosFormatter.cs: fixed Deserialize for empty viewstate.
1524 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1526 * Page.cs: check if controls that require postback have
1527 been changed by an event and register them to be notified of data
1530 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1532 * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
1535 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1537 * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
1538 are not serializable. Fixes bug #47784.
1540 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1542 * Control.cs: index the viewstates saved by the control position, not
1543 the control name. Fixes bug #47697.
1545 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1547 * ControlCollection.cs:
1548 * EmptyControlCollection.cs: create a minimum ArrayList for this.
1550 * BaseParser.cs: added setter for BaseVirtualDir.
1552 * Page.cs: fixed message when restoring view state fails.
1553 * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
1554 when a relative path to the control is given. Fixes bug #47685.
1556 2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1558 * Control.cs: when we load the viewstate for a control that has children
1559 viewstates and the child is not found, keep its viewstate around and
1560 wait until the child is added to load the viewstate. Fixes bug #47697.
1562 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1564 * TemplateControl.cs: more Delegate.CreateDelegate fixes.
1566 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1568 * PartialCachingControl.cs: is not abstract
1570 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1572 * SimpleHandlerFactory.cs: implemented GetHandler.
1573 * WebHandlerParser.cs: new file that parses .ashx files.
1575 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1577 * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
1579 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1581 * UserControl.cs: Added attribute
1582 * BasePartialCachingControl.cs: New class and paritally implemented
1583 * DesignerDataBoundLiteralControl.cs: New class and implemented
1584 * DesignTimeTemplateParser.cs:
1585 * PartialCachingControl.cs:
1586 * StaticPartialCachingControl.cs: New class and paritally implemented
1588 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1590 * ApplicationFileParser.cs: Fixed signature
1591 * DesignTimeParseData.cs: Added missing properties, implemented
1592 * Page.cs: Added attributes
1594 * TemplateControlParser.cs:
1595 * TemplateParser.cs:
1596 * UserControlParser.cs: Fixed signature
1598 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1600 * HtmlControlPersistableAttribute.cs: Added
1601 * IgnoreUnknownContentAttribute.cs: Added
1603 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1605 * IUserControlDesignerAccessor.cs: Added and implemented
1606 * Control.cs: Missing member added, added all attributes
1607 * Page.cs: Added attributes, fixed signature
1608 * TemplateControl.cs: Fixed signature, added all attributes
1609 * UserControl.cs: Added all attributes, added and implemented missing interface
1611 2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1613 * ControlCollection.cs: fixed bug #46472.
1615 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1617 * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
1619 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1621 * SimpleWebHandlerParser.cs: updated to new compilation interface.
1623 * TemplateParser.cs: use the new parameter when compiling.
1625 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1627 * Page.cs: also keep the value for the second try on handling postback
1630 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1632 * BaseParser.cs: fixed MapPath for non-rooted files.
1633 * PageParser.cs: don't pass a non-virtual file around.
1634 * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
1635 the exception teh may be throw by MapPath on an invalid path.
1637 * TemplateParser.cs: removed unused method.
1638 * UserControlParser.cs: modified inputfile. The result is the same, but
1641 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1643 * RootBuilder.cs: throw exception when the tagprefix is not valid or
1646 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1648 * TemplateControlParser.cs: return after processing @Register.
1650 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1652 * TemplateParser.cs: Added support for server side includes.
1654 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1656 * TemplateControl.cs: fixed the flags used to find the methods that
1657 are automatically hooked up on events.
1659 * TemplateParser.cs: don't compile a source file directly. Use the
1662 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1664 * BaseParser.cs: Location property is now here. Added a couple of
1665 convenience methods to throw a ParseException.
1667 * TemplateParser.cs:
1668 * TemplateControlParser.cs:
1669 * PageParser.cs: throw ParseException where appropiate.
1671 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1673 * ApplicationFileParser.cs: use the generator to actually parse the
1676 * ControlBuilder.cs: small fix in NamingContainerType because
1677 TemplateBuilders have a null ControlType. When a control is appended
1678 to a parent, assign the child's parent.
1680 * UserControlParser.cs: fixed the value of InputFile.
1682 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1684 * ApplicationFileParser.cs: store the Context and override
1685 BaseVirtualDir so that it's the application path.
1687 * BaseParser.cs: removed CurrentVirtualPath property.
1689 * TemplateControlParser.cs: use BaseVirtualDir.
1691 * UserControlParser.cs: removed CurrentVirtualPath.
1693 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1695 * TemplateParser.cs: always reference all the assemblies in bin
1698 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1700 * ApplicationFileParser.cs: it works now. Prior to these changes, we
1701 were using the compiler directly.
1703 * BaseParser.cs: added some useful properties and methods.
1705 * CodeBuilder.cs: use ILocation.
1706 * CodeRenderBuilder.cs: use ILocation.
1707 * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
1709 * ControlBuilder.cs: made it useful.
1711 * DataBindingBuilder.cs: the control type for data bound text is
1712 DataBoundLiteralControl now.
1714 * ObjectTagBuilder.cs: store some object tag attributes.
1716 * PageParser.cs: handle page-only directives.
1718 * RootBuilder.cs: bah.
1719 * SimpleWebHandlerParser.cs: made it dummy.
1720 * TemplateControl.cs: Modified file.
1722 * TemplateControlParser.cs: handle directives that are common to pages
1725 * TemplateParser.cs: utility methods and handling of directives that
1726 are common to app, page and user controls.
1728 * UserControl.cs: added ControlBuilderAttribute.
1730 * UserControlControlBuilder.cs: builder for user controls.
1731 * UserControlParser.cs: use the new interfaces.
1733 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1735 * ControlBuilder.cs: line and fileName are protected now.
1737 * CodeBuilder.cs: base class for the next 2 files.
1738 * CodeRenderBuilder.cs: builder for code render.
1739 * DataBindingBuilder.cs: builder for data binding.
1741 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1743 * ITagNameToTypeMapper.cs: made it internal.
1745 * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
1747 * RootBuilder.cs: initial builder.
1749 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1751 * CollectionBuilder.cs:
1752 * TemplateBuilder.cs: new classes derived from ControlBuilder that
1753 represent a property or a ITemplate.
1755 * ControlBuilder.cs: implemented all the missing bits.
1756 * TemplateParser.cs: added mapping from tag name to Type feature.
1758 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1760 * Control.cs: have i definitely fixed naming container stuff this time?
1762 * LosFormatter.cs: activated binary serialization code.
1764 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1767 (AddedControl): fixed default id assignation when the sequence of
1768 AddedControl until it's included in the page or one of its controls
1769 does not pass through a naming container.
1771 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1773 * Control.cs: give different default names depending on the place where
1774 it is assigned. Implemented ResolveURl (no more ~ rendered in
1777 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1779 * Control.cs: when adding a control, assign default names to th
1780 children that don't have one.
1782 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1784 * SimpleWebHandlerParser.cs: modified to use the new parser interface.
1786 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1788 * Control.cs: some more tweaks to naming containers stuff.
1789 * DataBinder.cs: don't throw exception if the container is null.
1791 * Page.cs: now we can render client scripts, startup scripts and hidden
1792 fields. Only render __VIEWSTATE if there is someone that will take care
1794 (RaisePostBackEvents): first try the last one that required raise event,
1795 then try __EVENTTARGET.
1797 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1799 * Control.cs: fixes in UniqueID, FindControl, AddedControl,
1800 UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
1801 FindControl work with NamingContainers.
1803 * ControlCollection.cs: notify the parent when clearing the collection.
1805 * LosFormatter.cs: Added debugging output and generate a valid
1806 viewstate even for unknown types.
1808 * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
1811 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1813 * Page.cs: make it fire the LoadData related events also for controls
1814 such as ImageButton, whose variable(s) in the query string are of the
1815 form ctrl_name.x and only fire them once per control.
1817 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1820 (GetPropertyValue): don't try to get the property as indexed
1822 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1824 * DataBinder.cs: use TypeDescriptor to get the properties and their
1827 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1830 (AddedControl): take the children to the same state of the parent.
1831 (InitRecursive): set the page of the children.
1833 * Page.cs: removed one line (it's done a few lines above).
1836 (OnInit): always call InitializeAsUserControl
1837 (InitializeAsUserControl): sets the page for the control.
1839 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1841 * Control.cs: fixed bug #36037.
1843 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1845 * BaseParser.cs: a couple of path fixes to make it work
1846 when the page is not in the root directory.
1848 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1850 * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
1853 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1855 * BaseParser.cs: use MapPath and context to locate files.
1856 * Control.cs: implemented MapPathSecure.
1857 * TemplateControl.cs: use UrlUtils to generate the path.
1858 * TemplateControlParser.cs: use the context and MapPath.
1859 * UserControl.cs: implemented MapPath.
1860 * UserControlParser.cs: added context parameter to constructor.
1862 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1864 * Control.cs: implemented MapPathSecure.
1865 * Page.cs: fixed Server property.
1867 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1869 * DataBinder.cs: try the indexer if the property is not found in
1870 GetPropertyValue ().
1872 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1874 * Control.cs: added AutoEventWireup internal property.
1876 * Page.cs: removed page events wire up from here.
1878 * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
1879 and user controls events.
1881 * TemplateControlParser.cs: process the options that are applicable
1882 once we have the instance of the control.
1884 * TemplateParser.cs: also stores the options.
1886 * UserControl.cs: hook up events before initializing the control.
1889 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1891 * Control.cs: new method to set bindingContainer value.
1892 * TemplateControl.cs: added controls are not binding containers.
1894 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1896 * Control.cs: implemented TemplateSourceDirectory.
1897 * TemplateControl.cs: implemented LoadControl and LoadTemplate.
1899 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1901 * UserControl.cs: fixed SetAttribute.
1902 * UserControlParser.cs: set the correct base type.
1904 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1906 * TemplateParser.cs: fixed BaseType.
1907 * UserControlParser.cs: helper class to compile user controls.
1909 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1911 * LosFormatter.cs: added DateTime to special types.
1913 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1915 * LosFormatter.cs: added array serialization support. Disabled binary
1916 serialization and add some debugging code.
1918 * StateBag.cs: the length of the list of value can be less than the
1919 length if the list of keys when remaining values are null.
1921 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1923 * Page.cs: return something useful in GetPostBackClientEvent.
1925 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1927 * Page.cs: implemented FileDependecies and made it protected.
1929 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1931 * Control.cs: save control names instead of the controls
1932 themselves to the ViewState.
1934 * LosFormatter.cs: added support for serializing unknown
1935 types. BinaryFormatter does not work so you better don't store anything
1936 of unknown Type in ViewState.
1938 * Page.cs: GetViewStateString works now using LosFormatter.
1939 Complete "Control execution lifecycle" by unloading all the child
1940 controls. Check for null in RaisePostBackEvents.
1941 LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
1943 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1945 * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
1947 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1949 * LosFormatter.cs: Use WebEncoding.Encoding.
1952 * Page.cs: fixed namespace.
1954 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1956 * Page.cs: set the context in ProcessRequest. Added a few trace calls.
1957 * Control.cs: added some trace information.
1959 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1961 * SimpleHandlerFactory.cs: new handler for .ashx files.
1963 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1965 * System.Web.UI/PageHandlerFactory.cs: new file.
1966 * System.Web.UI/PageParser.cs:
1967 * System.Web.UI/TemplateControlParser.cs: we are now able to compile
1968 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
1970 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1972 * Control.cs: implemented ObBubbleEvent.
1973 * Page.cs: temporary workaround to make POST work with xsp server.
1975 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1977 * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
1980 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1982 * SimpleWebHandlerParser.cs: New file.
1983 * WebServiceParser.cs: New file.
1985 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1987 * LosFormatter.cs: almost fully implemented.
1989 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1991 * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
1992 * EmptyControlCollection.cs: throw correct exception.
1993 * LosFormatter.cs: stubbed out.
1994 * OutputCacheLocation.cs: little fix.
1996 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1998 * System.Web.UI/ApplicationFileParser.cs:
1999 * System.Web.UI/BaseParser.cs:
2000 * System.Web.UI/PageParser.cs:
2001 * System.Web.UI/TemplateControl.cs:
2002 * System.Web.UI/TemplateControlParser.cs:
2003 * System.Web.UI/TemplateParser.cs: first steps to move xsp into
2006 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2008 * Page.cs: request to render postback script can be after form started
2011 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2013 * Page.cs: added more page events to invoke automagically if some
2014 methods are defined.
2016 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2019 (SaveViewState): save state even when control is not visible.
2020 (SaveViewStateRecursive):
2021 (LoadViewStateRecursive): made internal.
2023 2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2025 * Page.cs: improved event raising to allow client postback for a wider
2026 variety of actions (clicking an hyperlink, ...).
2028 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2030 * UserControl.cs: implemented Load/SaveViewState.
2032 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2034 * AttributeCollection.cs:
2035 (Add): handle 'style' through styleCollection.
2037 * CssStyleCollection.cs:
2038 (fillStyle): renamed to FillStyle and made it internal.
2041 (GetViewStateString): fixed, broken after other recent changes.
2042 (ProcessPostData): allow a second try for postback data after OnLoad.
2043 (ProcessRequest): clear controls collection, removed call to
2046 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2048 * Control.cs: uncommented Dispose.
2051 (DeterminePostBackMode): more checkings.
2052 (GetPostBackClientHyperLink): implemented.
2053 (GetPostBackEventReference): added some comments with the HTML that MS
2055 (ProcessRequest): fixed processing order. The page is unloaded after
2056 a request and regenerated from view state on subsequents posts.
2058 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2060 * Control.cs: fixed related to ViewState. Added RemovedControl.
2062 * ControlCollection.cs: notify owner of control removal.
2064 * CssStyleCollection.cs: almost rewritten to make it render the style
2065 attribute after changes to it.
2067 * Page.cs: follow the guidelines in 'Control execution lifecycle'.
2070 * StateBag.cs: don't use IDictionary.GetEnumerator on the
2071 HybridDictionary: it makes the program give an InvalidCastException at
2074 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2076 * Page.cs: fire Init and Load events for all children.
2078 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2080 * UserControl.cs: New file.
2082 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2084 * ControlBuilderAttribute.cs: finished implementation.
2086 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2088 * ConstructorNeedsTagAttribute.cs: the default constructor sets the
2091 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2093 * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
2095 * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
2096 Hashtable. Added internal .ctor.
2098 * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
2099 Equals and GetHashCode.
2101 * System.Web.UI/DataBoundLiteralControl.cs:
2103 (SaveViewState): implemented.
2105 * System.Web.UI/Page.cs: FileDependencies is not public.
2107 * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
2110 (IsDefaultAttribute): implemented.
2112 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2114 * Control.cs: fixed Visible property.
2115 * Page.cs: fixed GetViewStateString.
2117 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2119 * System.Web.UI/Page.cs:
2120 (GetViewStateString): new function to give the server access to the
2121 generated view state string.
2124 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2127 (SaveViewstateRecursive): implemented.
2128 (SaveViewState): fixed.
2129 (IParserAccessor.AddParsedSubObject): don't use 'this'.
2131 * Page.cs: added code to save view state to an xml file. It's not
2132 being used right now.
2134 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2136 * System.Web.UI/LiteralControl.cs:
2137 Fixes based on class status page:
2139 - Add attributes (DefaultEvent, ParseChildren).
2141 - Explicitly implement some interfaces (IPostBackDataHandler
2142 and IPostBackEventHandler).
2143 - Implemented some missing methods.
2145 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2147 * Control.cs: reimplemented FindControls.
2150 (.ctor): set the page for this control.
2151 (IsPostBack): return valid value.
2152 (DeterminePostBackMode): finished.
2153 (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
2154 (ProcessPostData): implemented. Raises change and postback events.
2155 (ProcessRequest): changed to support reuse of the instance.
2156 (RegisterRequiresPostBack): implemented.
2158 * ValidatorCollection.cs: implemented all methods.
2160 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2163 * Page.cs: first attemp to save view state.
2165 * HtmlForm.cs: don't render Action.
2167 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2169 * Page.cs: implemented more properties using information we already
2173 (VerifyRenderingInServerForm): implemented.
2175 2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2177 * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
2178 out runtime. Renamed Page_Init and Page_Load.
2180 After this, we can load a dll and render HTML in linux.
2182 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2185 (AddedControl): new function that is called whenever a control is
2186 added to a collection of controls in a container. It sets the defaults
2189 * ControlCollection.cs: call AddedControl in Add/AddAt.
2191 * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
2192 SetStaticString and SetDataBoundString.
2194 * Page.cs: removed SetDefaults.
2196 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2198 * CompiledTemplateBuilder.cs: new file. Used in the code generated
2202 (BindingContainer): implemented.
2203 (EnsureChildControls): avoid stack overflow.
2205 * DataBinder.cs: implemented Eval and PropertyValue.
2207 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2209 * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
2210 bug as in regular attributes).
2212 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2214 * Control.cs: implemented PreventAutoID.
2217 (SetDefaults): don't set ID automatically if Control.PreventAutoID has
2220 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2223 (Validators): if the collection is null, create one.
2224 (GetPostBackEventReference 2): don't throw exception.
2225 (GetPostBackClientEvent): return a string with containing the method
2226 name, the control name and the argument.
2228 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2230 * Page.cs: SetPage is now called SetDefaults and also sets a default
2231 ID for controls that don't have one yet.
2233 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2236 (GetPostBackClient):
2237 (RegisterRequiresPostBack): don't throw NotImplementedException to
2239 (ProcessRequest): set the current page as the Page property for *all*
2240 the controls, not just the direct children of the page.
2242 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2245 (MapPathSecure): until security is implemented, return the same path
2246 received as argument.
2247 (RenderControl): call OnPreRender before rendering the control. So
2248 AdRotator can read its configuration file.Is there any other place
2249 where this should be done?
2251 * HtmlTextWriter.cs:
2252 (AddAttribute): fixed. Now it really stores attributes.
2253 (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
2255 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2257 * ControlCollection.cs:
2258 (AddAt): if index is -1 behave as a plain Add.
2260 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2262 * Page.cs: for each child control to render, assign Control.Page.
2263 Probably also needed in HtmlContainerControl derived classes.
2265 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2267 * AttributeCollection.cs: don't need a Hastable. StateBag now works
2268 fine and takes care of the details.
2270 * Control.cs: added HasChildren property.
2272 * StateBag.cs: fixed a couple of nasty bugs.
2274 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2276 * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
2277 Invoke Page_Init and/or Page_Load if the user supplied them (though
2278 this should depend on AutoEventWireUp attribute of Page directive).
2280 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2282 * Control.cs: don't throw exception in ControlID. By now, it returns ID.
2285 (ProcessRequest): implemented.
2287 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2289 * System.Web.UI/Page.cs: finished stubbing out. Implemented some
2292 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2295 (FileDependencies): now is public public.
2296 (EnableViewStateMAC): uncommented and made protected.
2297 (GetTypeHashCode): added method.
2299 2002-05-24 Duncan Mak <duncan@ximian.com>
2301 * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
2303 * StateBag.cs (Item): Changed the visibility level of the this
2306 Misc. formatting edits, fixing some bugs introduced by the indentation.
2308 * DataBinder.cs (Eval)
2309 (GetIndexedPropertyValue)
2310 (GetPropertyValue): Fixed return types.
2312 2002-05-21 Miguel de Icaza <miguel@ximian.com>
2314 * HtmlTextWriter.cs: Use this to change the member instances.
2316 2002-05-17 Duncan Mak <duncan@ximian.com>
2318 * AttributeCollection.cs:
2319 * ControlCollection.cs:
2320 * CssStyleCollection.cs:
2321 * DataBindingCollection.cs:
2322 * EmptyControlCollection.cs: Added missing Collection classes.
2324 2002-05-17 Duncan Mak <duncan@ximian.com>
2327 * TemplateParser.cs: Implemented. BaseParser is weird because
2328 there is no documentation on what it does.
2330 * ControlBuilder.cs:
2333 * DataBinding.cs: Added.
2335 * DataBoundLiteralControl.cs:
2336 * Triplet.cs: Added.
2338 * RenderMethod.cs: Added this delegate for Control.cs
2340 2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2342 * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
2344 2002-05-14 Duncan Mak <duncan@ximian.com>
2346 * ValidationPropertyAttribute.cs: Added to CVS.
2348 2002-05-10 Duncan Mak <duncan@ximian.com>
2350 * ConstructorNeedsTagAttribute.cs:
2351 * ControlBuilderAttribute.cs:
2352 * ImageClickEventArgs.cs:
2353 * ParseChildrenAttribute.cs:
2354 * PartialCachingAttribute.cs:
2355 * PersistChildrenAttribute.cs:
2356 * PersistenceModeAttribute.cs:
2357 * TemplateContainerAttribute.cs: Added to CVS.
2359 * PersistanceMode.cs: Removed, fixed typo.
2360 * PersistenceMode.cs: Replacing above.
2362 * StateBag.cs (this): Fixed indexer, it takes a string as the
2363 index, not an object.
2365 * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
2367 * Page.cs (Validators): return type should be ValidatorCollection,
2368 not ValidatedCollection.
2370 * TagPrefixAttribute.cs: Added to CVS.
2372 2002-05-07 Duncan Mak <duncan@ximian.com>
2374 * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
2376 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
2378 * DataBindingHandlerAttribute.cs
2380 * ToolboxDataAttribute.cs - Completed
2382 2002-01-03 Nick Drochak <ndrochak@gol.com>
2384 * DesignTimeParseData.cs: initialze static member to avoid compile
2386 * PropertyConverter.cs: remove uneeded exception variables from
2389 2002-01-02 Nick Drochak <ndrochak@gol.com>
2391 * DesignTimeParseData.cs: fix header to show correct class name
2393 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
2395 * StateBag.cs - Completed
2397 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
2399 * Pair.cs - Small undocumented class. Completed.
2401 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
2403 * DesignTimeParseData.cs - Initial implementation
2404 * StateBag.cs - Initial implementation
2406 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
2408 * PropertyConverter.cs - Undocumented class. Completed.
2409 * Utils.cs - Undocumented, private class.
2410 Initial implementation
2412 2001-08-28 Bob Smith <bob@thestuff.net>
2413 * Control.cs: Figured out some undocumented API.
2415 * BuildMethod.cs: Initial implementation.
2416 * BuildTemplateMethod.cs: Initial implementation.
2417 * HtmlTextWriterAttribute.cs: Initial implementation.
2418 * HtmlTextWriterStyle.cs: Initial implementation.
2419 * HtmlTextWriterTag.cs: Initial implementation.
2420 * IAttributeAccessor.cs: Initial implementation.
2421 * IDataBindingsAccessor.cs: Initial implementation.
2422 * ImageClickEventHandler.cs: Initial implementation.
2423 * INamingContainer.cs: Initial implementation.
2424 * IParserAccessor.cs: Initial implementation.
2425 * IPostBackDataHandler.cs: Initial implementation.
2426 * IPostBackEventHandler.cs: Initial implementation.
2427 * IStateManager.cs: Initial implementation.
2428 * ITagNameToTypeMapper.cs: Initial implementation.
2429 * ITemplate.cs: Initial implementation.
2430 * IValidator.cs: Initial implementation.
2431 * OutputCacheLocation.cs: Initial implementation.
2432 * PersistanceMode.cs: Initial implementation.
2433 * StateItem.cs: Initial implementation.
2435 2001-08-27 Bob Smith <bob@thestuff.net>
2437 * Control.cs: Bug fixes and implementations.
2439 2001-08-24 Bob Smith <bob@thestuff.net>
2441 * Control.cs: Bug fixes.
2443 2001-08-23 Bob Smith <bob@thestuff.net>
2445 * Control.cs: More implementation. Events reworked for performance.
2447 2001-08-22 Bob Smith <bob@thestuff.net>
2449 * LiteralControl.cs: Implemented.
2450 * Control.cs: Even more implementation (Events). What a beast.
2452 2001-08-20 Bob Smith <bob@thestuff.net>
2454 * Control.cs: More implementation. Not done yet. Shutter.
2456 2001-08-17 Bob Smith <bob@thestuff.net>
2458 * Control.cs: Partial implementation.