1 2006-02-07 Chris Toshok <toshok@ximian.com>
3 * ControlBuilder.cs: rename flushOutputStatements to
4 methodStatements to at least reflect that they're in that method.
6 2006-02-07 Chris Toshok <toshok@ximian.com>
8 * MasterPage.cs (CreateMasterPage): don't nullref on null
9 contentTemplateCollection.
11 * ControlBuilder.cs: add a flushOutputStatements field.
13 * PageParser.cs (ProcessMainAttributes): handle Title attribute.
16 * Page.cs (Title): implement getter/setter.
17 (InternalProcessRequest): after calling ApplyMasterPage, apply the
18 page's Title directive if there is one.
19 (AddContentTemplate): make the EditorBrowsable attribute apply to
20 the method, not the field.
22 2006-02-07 Chris Toshok <toshok@ximian.com>
24 * MasterPage.cs: rework this file, adding some static methods
25 gleaned from MS stack traces, and clear up the propogation of
26 content templates between nested master pages.
28 * Control.cs (TemplateControl): implement.
30 * TemplateControl.cs: re-indent some of the code.
31 (ReadStringRecource): according to msdn2, these throw
32 NotSupportedException.
34 * MasterPageParser.cs (HandleOption): implement. assign our
35 master page's MasterPageFile from the UserControl property.
37 * UserControl.cs (InitializeAsUserControlInternal): new method
38 that allows initialization without a page.
40 * UserControlParser.cs (ProcessMainAttributes): for 2.0 handle
41 MasterPageFile attributes, so we can have nested master pages.
42 (MasterPageFile): add a 2.0 specific property.
44 * TemplateControlParser.cs: in .net 2.0, our base class is
46 (HandleOptions): be consistent and call base.HandleOptions.
48 * BaseTemplateParser.cs: new (stubbed) class.
50 * MasterPageControlBuilder.cs: new file, not filled in (and really
53 * Page.cs (InternalProcessRequest): call ApplyMasterPage.
54 (SaveExistingContentTemplates): nuke.
55 (ReapplyExistingContentTemplate): nuke.
56 (ApplyMasterPage): if we have a master page, call
57 MasterPage.ApplyMasterPageRecursive with it and add it to our
59 (set_MasterPageFile): remove call to SaveExistingContentTemplates.
60 (get_Master): call MasterPage.CreateMasterPage.
61 (AddContentTemplate): keep track of the page's content templates
62 in a local Hashtable - they aren't our master page's content
65 2006-02-01 Chris Toshok <toshok@ximian.com>
67 * TemplateParser.cs: CONFIGURATION_2_0 => NET_2_0, and replace
68 calls to GetWebApplicationSection with GetSection.
70 * SimpleWebHandlerParser.cs: same.
74 * PageParser.cs: same.
76 * BaseParser.cs: same.
78 2006-01-27 Chris Toshok <toshok@ximian.com>
80 * MasterPage.cs (ContentTemplatesInternal): add get/set for the
83 * Page.cs (SaveExistingContentTemplates): store off the existing
84 MasterPage content templates so they can be reapplied when setting
85 MasterPageFile to something else.
86 (ReapplyExistingContentTemplates): set masterPage's
87 ContentTemplates to our saved copy.
88 (set_MasterPageFile): save off the current content templates
89 before clearing masterPage.
90 (get_Master): reapply the saved content templates after we create
93 2006-01-25 Chris Toshok <toshok@ximian.com>
95 * ClientScriptManager.cs (RegisterClientScriptResource): last
96 patch, I swear. How can 1 line of code have 3 bugs?
98 2006-01-25 Chris Toshok <toshok@ximian.com>
100 * ClientScriptManager.cs (RegisterClientScriptResource): gah, fix
101 problem with last commit - unquote "resourceName" so it uses the
102 parameter instead of the string constant.
104 2006-01-22 Chris Toshok <toshok@ximian.com>
106 * RootBuilder.cs (.cctor): use a 2.0 friendly hashtable ctor to
109 * PageParser.cs (ProcessMainAttributes): i missed a
110 CONFIGURATION_2_0 block.
112 * BoundPropertyEntry.cs (.ctor): mark as internal to fix
115 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
117 * ObjectStateFormatter.cs: preserve emptiness in ColorFormatter.
119 2006-01-18 Konstantin Triger <kostat@mainsoft.com>
121 * HtmlTextWriter.cs: perform case insensitive compare;
122 return correct key in default case.
124 2006-01-11 Chris Toshok <toshok@ximian.com>
126 * ClientScriptManager.cs (RegisterClientScriptResource):
129 2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
131 * ObjectStateFormatter.cs: Removed TARGET_JVM parts in
134 2006-01-10 Chris Toshok <toshok@ximian.com>
136 * Page.cs (ValidateCollection): in NET_2_0 if event validation is
139 2006-01-09 Chris Toshok <toshok@ximian.com>
141 * Page.cs: fix a lot of indentation, and add the
142 EnableEventValidation .net 2.0 property.
144 2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
146 * ObjectStateFormatter.cs: Merged TARGET_JVM parts in
147 TypeFormatter.Read, TypeFormatter.Write from /main/5
149 2006-01-09 Konstantin Triger <kostat@mainsoft.com>
151 * Page.cs: make ProcessRequest virtual under TARGET_JVM.
153 2006-01-04 Chris Toshok <toshok@ximian.com>
155 * TemplateParser.cs (.ctor): kinda gross, but handle the
156 AddAssembliesInBin case here.
158 * SimpleWebHandlerParser.cs (.ctor): same.
160 2006-01-04 Chris Toshok <toshok@ximian.com>
162 * SimpleWebHandlerParser.cs: Remove the declaration of
163 compilationConfig in the CONFIGURATION_2_0 case. it's
165 (.ctor): ifdef out the AddAssembliesInBin call in the
166 CONFIGURATION_2_0 case. need to revisit this.
167 (CompilationConfig): add a CONFIGURATION_2_0 version.
169 * BaseParser.cs: Remove the declaration of compilationConfig in
170 the CONFIGURATION_2_0 case. it's unnecessary.
172 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
174 * Control.cs: use _controls instead of the property wherever possible.
176 2005-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
178 * Control.cs: use the _controls field instead of the Controls property.
181 2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
183 * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
185 * KeyedListEnumerator.cs: Now internal.
187 2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
189 * ControlCollection.cs: allow 'null' in Remove.
191 2005-11-28 Chris Toshok <toshok@ximian.com>
193 * Page.cs (GetFormatter): CONFIGURATION_2_0 work.
195 * TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
196 (PagesConfig): add a CONFIGURATION_2_0 version that returns a
199 * PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
201 * BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
202 version that returns a CompilationSection.
204 2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
206 * SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
208 2005-11-09 Chris Toshok <toshok@ximian.com>
210 * ViewStateEncryptionMode.cs: new 2.0 enum.
212 2005-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
214 * TemplateParser.cs: fixes #76423. Not tested properly.
216 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
218 * Page.cs: call LoadViewStateRecursive when the Form collection has
219 not been used by a different page (GetTypeHashCode). This fixes problems
220 when calling Server.Transfer while preserving Form and QueryString,
221 as the page we transfer to used the view state stored in the Form, which
222 contained the serialized data for the page calling Server.Transfer
225 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
227 * Page.cs: add/remove the error before/after invoking OnError.
229 2005-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
231 * Page.cs: call OnError when there's an exception (not for TAE). Fixes
234 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
236 * TemplateControl.cs:
237 * PartialCachingControl.cs: if a control is cacheable, LoadControl
238 returns a PartialCachingControl that holds the VaryBy* and takes care
239 of partial caching and rendering. Fixes bug #76547.
241 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
243 * Page.cs: don't cache the 'Validate()' results. IsValid retests
244 the validators again.
246 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
248 * DesignerDataBoundLiteralControl.cs: changed autoid api.
249 * DataBoundLiteralControl.cs: changed autoid api.
251 * Control.cs: fixlet for UniqueID and weird test case. Removed
252 PreventAutoID and only use the property to set that value.
254 * LiteralControl.cs: changed autoid api.
256 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
258 * AttributeCollection.cs: avoid code duplication and
259 don't add "style" to the bag, or it will overwrite the settings made
260 by CssStyleCollection.
262 * CssStyleCollection.cs: make it throw where MS throws.
263 Minimize the number of times we create the "style" string and take
264 care of updating it for the AttributeCollection. FillStyle and
265 BagToString are now private. One should use the 2.0 (internal in <2.0)
268 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
270 * Control.cs: fix HasChildViewStates.
272 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
274 * LosFormatter.cs: when the default ctor is used, MAC is disabled.
277 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
279 * ObjectTagBuilder.cs: only fail when no id and no attributes.
281 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
283 * DataBindingCollection.cs: Using an hashtable is a nice trick but
284 we need to copy values (not the DictionaryEntry) in CopyTo.
285 * Page.cs: IsValid throws an exception if the page hasn't be
286 validated. VerifyRenderingInServerForm doesn't throw an exception
287 during unit testing (without a context?) but does in normal ops.
289 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
291 * LosFormatter.cs: the exceptions thrown have a 500 httpCode. Really
292 save the allocation of new MemoryStreams when possible. Thanks to
295 2005-09-23 Ben Maurer <bmaurer@ximian.com>
297 * HtmlTextWriter.cs: Initial support for escaping.
299 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
301 * ViewStateOutputHashStream.cs: Removed. It didn't last long.
303 * Page.cs: almost restored to its previous state, but now that we found
304 that LosFormatter ctor that takes 'enableMac', moved the logic to
305 add the hash and validate there. Thanks to Sebastien for his input.
307 * LosFormatter.cs: implemented the missing ctors and support for
308 "MAC" validation of the data.
310 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
313 * ViewStateOutputHashStream.cs: added support for viewstate MAC. It
314 prevents the viewstate being altered on the client and it's disabled
315 by default as per the documentation, but MS machine.config has it
316 enabled in machine.config.
318 2005-09-22 Miguel de Icaza <miguel@novell.com>
320 * DataBindingCollection.cs: Raise the event, remove MonoTODO.
322 * MinimizableAttributeTypeConverter.cs: Fix warning, compare to a
325 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
327 * Control.cs: Added null checks for Trace as it can be null when
328 rendering (like it was for 39 unit tests).
330 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332 * Page.cs: reverted hacks used with the wrong method of getting a
333 control rendered size.
334 * Control.cs: if the trace is enabled, save control rendered size.
336 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
338 * Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
339 now use HtmlHeader directly.
340 * UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
341 rewrote Equals to avoid dual type cast.
343 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
345 * SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
347 2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
349 * ControlBuilder.cs: Added BuildObject override for 2.0 profile.
350 * TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
351 with Minimal level. Fixed checks on ctor.
352 * TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
353 AspNetHostingPermission with Minimal level.
354 * TemplateContainerAttribute.cs: Added LinkDemand for
355 AspNetHostingPermission with Minimal level.
356 * TemplateControl.cs: Added LinkDemand and InheritanceDemand for
357 AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
358 Stubbed IFilterResolutionService for CAS testing.
359 * TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
360 AspNetHostingPermission with Minimal level.
361 * TemplateParser.cs: Added LinkDemand and InheritanceDemand for
362 AspNetHostingPermission with Minimal level.
363 * ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
364 with Minimal level. Removed IDispose interface.
365 * ToolboxDataAttribute.cs: Added LinkDemand for
366 AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
367 to work on both 1.x and 2.0 profiles.
368 * Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
369 for AspNetHostingPermission with Minimal level.
370 * UserControl.cs: Added LinkDemand and InheritanceDemand for
371 AspNetHostingPermission with Minimal level. Stubbed
372 IFilterResolutionService for CAS testing.
373 * UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
374 for AspNetHostingPermission with Minimal level.
375 * ValidationPropertyAttribute.cs: Added LinkDemand for
376 AspNetHostingPermission with Minimal level.
377 * ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
379 * WebResourceAttribute.cs: Removed extra ctor and added setter to
381 * WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
382 AspNetHostingPermission with Minimal level.
384 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
386 * ParseChildrenAttribute.cs: Added LinkDemand for
387 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
388 casting. Added new ctor and public fields (2.0). Changed
389 ChildControlType setter visibility to internal.
390 * PartialCachingAttribute.cs: Added LinkDemand for
391 AspNetHostingPermission with Minimal level. Added new ctor and
392 SqlDependency property (2.0).
393 * PartialCachingControl.cs: Added LinkDemand and InheritanceDemand for
394 AspNetHostingPermission with Minimal level.
395 * PersistenceModeAttribute.cs: Added LinkDemand for
396 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
398 * PersistChildrenAttribute.cs: Added LinkDemand for
399 AspNetHostingPermission with Minimal level. Simplified Equals to avoid
401 * PropertyConverter.cs: Added LinkDemand for AspNetHostingPermission
402 with Minimal level. Class is static in 2.0.
403 * RootBuilder.cs: Added LinkDemand and, for 2.0, InheritanceDemand for
404 AspNetHostingPermission with Minimal level. Class is no more sealed in
405 2.0. Added new (2.0) BuiltObjects property.
406 * SimpleWebHandlerParser.cs: Added LinkDemand and InheritanceDemand
407 for AspNetHostingPermission with Minimal level.
408 * StateItem.cs: Added LinkDemand for AspNetHostingPermission with
410 * StateBag.cs: Added LinkDemand for AspNetHostingPermission with
411 Minimal level. Removed SetDirty() which was called (2.0) but did
413 * StaticPartialCachingControl.cs: Added LinkDemand and
414 InheritanceDemand for AspNetHostingPermission with Minimal level.
416 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
418 * Html32TextWriter.cs: Added LinkDemand and InheritanceDemand for
419 AspNetHostingPermission with Minimal level. Added new 2.0 properties
420 (but the generated HTML doesn't use them).
421 * HtmlTextWriter.cs: Added LinkDemand and InheritanceDemand for
422 AspNetHostingPermission with Minimal level.
423 * ImageClickEventArgs.cs: Added LinkDemand for AspNetHostingPermission
425 * LiteralControl.cs: Added LinkDemand and InheritanceDemand for
426 AspNetHostingPermission with Minimal level. Default Text is null.
427 * LosFormatter.cs: Added LinkDemand and InheritanceDemand for
428 AspNetHostingPermission with Minimal level. Stubbed new 2.0 ctor.
429 * ObjectConverter.cs: Added LinkDemand and InheritanceDemand for
430 AspNetHostingPermission with Minimal level. Obsoleted ctor for 2.0.
431 * ObjectTagBuilder.cs: Added LinkDemand for AspNetHostingPermission
432 with Minimal level. Added check for null id (HttpException).
433 * Page.cs: Added LinkDemand and InheritanceDemand for
434 AspNetHostingPermission with Minimal level. Throw some HttpException
435 when no context is available.
436 * Pair.cs: Added LinkDemand for AspNetHostingPermission with Minimal
437 level. InheritanceDemand too for 1.x.
438 * PageParser.cs: Added LinkDemand for AspNetHostingPermission with
441 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
443 * DataBinder.cs: Added LinkDemand for AspNetHostingPermission with
444 Minimal level. Fixed some exceptions.
445 * DataBindingCollection.cs: Added LinkDemand for
446 AspNetHostingPermission with Minimal level. Added 2.0 method and
448 * DataBindingHandlerAttribute.cs: Added LinkDemand for
449 AspNetHostingPermission with Minimal level.
450 * DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
451 Minimal level. Simplified Equals (reduced casts).
452 * DataBoundLiteralControl.cs: Added LinkDemand for
453 AspNetHostingPermission with Minimal level. Implemented ITextControl
455 * DesignerDataBoundLiteralControl.cs: Added LinkDemand for
456 AspNetHostingPermission with Minimal level.
457 * DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
458 with Minimal level. Added new 2.0 properties.
459 * DesignTimeTemplateParser.cs: Added LinkDemand for
460 AspNetHostingPermission with Minimal level. Made class static and
461 stubbed missing methods (2.0).
462 * EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand
463 for AspNetHostingPermission with Minimal level. Changed Add* methods
464 exceptions to HttpException.
466 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
468 * AttributeCollection.cs: Added LinkDemand for AspNetHostingPermission
470 * BaseParser.cs: Added LinkDemand and InheritanceDemand for
471 AspNetHostingPermission with Minimal level.
472 * BasePartialCachingControl.cs: Added LinkDemand and InheritanceDemand
473 for AspNetHostingPermission with Minimal level.
474 * CompiledTemplateBuilder.cs: Added LinkDemand for
475 AspNetHostingPermission with Minimal level.
476 * ConstructorNeedsTagAttribute.cs: Added LinkDemand for
477 AspNetHostingPermission with Minimal level.
478 * ControlBuilderAttribute.cs: Added LinkDemand for
479 AspNetHostingPermission with Minimal level. Simplified Equals and
481 * ControlBuilder.cs: Added LinkDemand and InheritanceDemand for
482 AspNetHostingPermission with Minimal level.
483 * ControlCachePolicy.cs: Hided ctor and removed SupportsCaching setter
484 * ControlCollection.cs: Added LinkDemand and InheritanceDemand for
485 AspNetHostingPermission with Minimal level. Fixed possible stack
486 overflow in Add* methods. Fixed CopyTo as we're not allocating the
487 array based on the number of items.
488 * Control.cs: Added LinkDemand and InheritanceDemand for
489 AspNetHostingPermission with Minimal level. Fixed 2.0 signatures.
490 * CssStyleCollection.cs: Added LinkDemand for AspNetHostingPermission
492 * IStyleSheet.cs: Fixed parameter orders (2.0).
494 2005-09-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
496 * TemplateParser.cs: default VS 2005 pages are compiled fine now.
498 2005-09-07 Chris Toshok <toshok@ximian.com>
500 * MinimizableAttributeTypeConverter.cs: new class, whose existence
501 we know about because of corcompare, and for whose implementation
502 we have exclusively nunit to thank.
504 2005-09-06 Chris Toshok <toshok@ximian.com>
506 * RootBuilder.cs (.cctor): doh, add all the new html controls
509 2005-08-31 Chris Toshok <toshok@ximian.com>
511 * DataSourceSelectArguments.cs (Empty): this is apparently,
512 according to corcompare, a property, not a field. go figure.
514 (IsEmpty): remove all mention of it.
516 2005-08-29 Chris Toshok <toshok@ximian.com>
518 * StateBag.cs (GetChar): add.
520 2005-08-28 Chris Toshok <toshok@ximian.com>
522 * Page.cs: more random corcompare work.
523 (PageAdapter): implement.
525 2005-08-28 Chris Toshok <toshok@ximian.com>
527 * Page.cs (.ctor): set our initial ID to "__Page".
528 (SmartNavigation): obsolete in 2.0.
529 (FindControl): new implementation. Just check our own ID against
530 the control we're looking for. otherwise pass it along to
532 (GetPostBackClientHyperlink): obsolete in 2.0.
534 2005-08-28 Chris Toshok <toshok@ximian.com>
536 * ClientScriptManager.cs: public sealed in 2.0
538 * IAdaptableTextWriter.cs: new 2.0 interface.
540 * IHierarchyData.cs: fix return type for GetParent.
542 2005-08-28 Chris Toshok <toshok@ximian.com>
544 * Pair.cs: mark serializable and sealed in 2.0.
546 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
548 * CssStyleCollection.cs: Implemented setter for Value (2.0) using the
549 existing (but internal) FillStyle method. Rewrote BagToString to use an
550 HtmlTextWriter so we get the "right" format for background-image url.
552 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
554 * CssStyleCollection.cs: Implemented this[HtmlTextWriterStyle],
555 Remove(HtmlTextWriterStyle) and the getter for Value (all 2.0). Removed
556 the extra space from last patch because they break some unit tests.
558 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
560 * CssStyleCollection.cs: Added some spacing.
561 * HtmlTextWriter.cs: Made style and attribute tables static.
562 Implemented StaticGetStyleName().
564 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
566 * CssStyleCollection.cs: Stubbed new 2.0 stuff to allow TableStyleTest
568 * HtmlTextWriter.cs: Fix style rendering for BackgroundImage in 2.0.
569 The new rendering formats the value as "url(" + original + ")".
571 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
573 * HtmlTextWriter.cs: Added support for VerticalAlign style (as it
574 depends on the HtmlTextWriterStyle ordering).
576 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
578 * HtmlTextWriter.cs: remove 'mistaken end of statement' and FIXME.
580 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
582 * HtmlTextWriterStyle.cs: Added missing VerticalAlign in 2.0 (which
583 fixed the rest of the enum values).
584 * UrlPropertyAttribute.cs: Removed the .ctor accepting an UrlTypes
585 parameter to match 2.0 API. Added a setter to the AllowedTypes
588 2005-08-24 Chris Toshok <toshok@ximian.com>
590 * Control.cs (get_Adapter): Instead of throwing an exception, just
591 return null, so we can write the rest of the Control specific
592 Adapter code and just not enable any of those code paths until we
593 have actual adapters. Also flag TODO.
594 (EnsureChildControls): Call out to Adapter.CreateChildControls if
596 (RenderChildren): call "RenderControl (writer, adapter)" if we
598 (RenderControl): implement the adapter case naively.
599 (LoadRecursive): call out to Adapter.OnLoad if we have one.
600 (PreRenderRecursiveInternal): call out to Adapter.OnPrerender if
602 (InitRecursive): call out to Adapter.OnInit if we have one.
604 2005-08-24 Chris Toshok <toshok@ximian.com>
606 * Page.cs (GetPostBackEventReference): track change to
607 ClientScriptManager and don't call a removed method.
609 * ClientScriptManager.cs: track more recent docs and corcompare
612 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
614 * KeyedList.cs: Fixed bug when removing an unexisting object.
615 * StateManagedCollection.cs: Fixed API for beta2. Fixed buglets found
616 in implementing RoleGroupCollection.
618 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
620 * Page.cs: Use Control property (and not the _control variable) to get
621 the User (so the virtual Control property can be overriden properly).
622 Sadly this doesn't seems to be the case for other properties (like
625 2005-08-18 Dick Porter <dick@ximian.com>
627 * ControlCachePolicy.cs, PersistChildrenAttribute.cs,
628 UserControl.cs, DesignerDataBoundLiteralControl.cs,
629 PageStatePersister.cs, DataBoundLiteralControl.cs, Control.cs,
630 BasePartialCachingControl.cs, LiteralControl.cs: 2.0 API fixes and
631 stubs and attribute fixes
633 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
635 * Control.cs: Add protected virtual SetDesignModeState, in 2.0
636 profile, as this is required for the Login control.
638 2005-08-11 Dick Porter <dick@ximian.com>
640 * CssStyleCollection.cs: Tweak the css string format to pass a
643 * AttributeCollection.cs: Don't NRE if someone sets the "style"
646 2005-08-05 Ben Maurer <bmaurer@ximian.com>
648 * HtmlTextWriter.cs: Revert the patch below, see test case
650 2005-08-05 Dick Porter <dick@ximian.com>
652 * HtmlTextWriter.cs: Make <option> tags render inline, to match
655 2005-08-03 Ben Maurer <bmaurer@ximian.com>
657 * HtmlTextWriter.cs: Optmize this not to do insane amounts of
658 allocation for large pages, etc.
660 2005-07-30 Chris Toshok <toshok@ximian.com>
662 * Page.cs (VerifyRenderingInServerForm): copy MS's error message
663 since our form-errors jsunit tests depend on it.
665 2005-07-30 Chris Toshok <toshok@ximian.com>
667 * DataBinder.cs (FormatResult): make internal, not private.
669 2005-07-29 Ben Maurer <bmaurer@ximian.com>
671 * StateBag.cs: Don't remove when tracking viewstate, as per msft
674 2005-07-29 Ben Maurer <bmaurer@ximian.com>
676 * StateBag.cs: Actually *remove* items that are null. Duh.
678 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
680 * Page.cs: Need to throw exception when accessing Request but no
683 2005-07-20 Chris Toshok <toshok@ximian.com>
685 * ClientScriptManager.cs (GetClientValidationEvent): the JS we
686 stick in onclick handlers for buttons/links/etc.
688 * Page.cs (GetSubmitStatements): new function to return
689 scriptManager.WriteSubmitStatements. Used by HtmlForm.
690 (AreValidatorsUplevel): used by many of the button/linkbutton
691 controls (the ones that can CauseValidation) to tell whether or
692 not to emit client side validation calls.
694 2005-07-20 Chris Toshok <toshok@ximian.com>
696 * WebResourceAttribute.cs: make internal (and available) in
699 2005-07-20 Chris Toshok <toshok@ximian.com>
701 * ClientScriptManager.cs (GetWebResourceUrl): make internal (but
702 available) in !NET_2_0.
704 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
706 * Control.cs: Added IDataBindingsAccessor interface methods
708 2005-07-18 Ben Maurer <bmaurer@ximian.com>
710 * HtmlTextWriter.cs: Fix nested indentation
712 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
714 * Control.cs: Added missing IParserAccessor.AddParsedSubObject
717 2005-07-18 Ben Maurer <bmaurer@ximian.com>
719 * HtmlTextWriter.cs: Fix indentation (somewhat at least)
721 2005-07-18 Peter Dennis Bartok <pbartok@novell.com>
724 - Default name for controls on MS.Net is "_ctl" not "_ctrl"
725 - MS does not append 'a' for auto-generated names
727 2005-07-17 Ben Maurer <bmaurer@ximian.com>
729 * AttributeCollection.cs: Use the invariant culture.
731 * StateBag.cs: "Duh" optimization: return null when there are no
732 dirty items in the view state
734 2005-07-14 Ben Maurer <bmaurer@ximian.com>
736 * StateBag.cs: A "short" version of my favorite method.
738 * HtmlTextWriter.cs: New method to get the tag name staticly.
740 2005-07-14 Duncan Mak <duncan@novell.com>
742 * DataBindingHandlerAttribute.cs: Fixed after receiving some
743 comments from Gonzalo.
745 2005-07-13 Jackson Harper <jackson@ximian.com>
747 * PropertyConverter.cs: No public constructors.
749 2005-07-13 Ben Maurer <bmaurer@ximian.com>
751 * HtmlTextWriter.cs: Remove debugging spew. Style cleanup
753 2005-07-12 Ben Maurer <bmaurer@ximian.com>
755 * HtmlTextWriter.cs: Make styles work.
757 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
759 * AttributeCollection.cs:
760 - Changes to match MS behaviour, the "style" attribute is always
761 added to the list, in addition to being added to the
762 CssStyleCollection. Also added check for "style" attribute when
763 setting via index setter
764 - When "Style" attribute is added, CssStyleCollection is
765 automatically created
766 - The style keyword needs to be lowercase
768 2005-07-11 Ben Maurer <bmaurer@ximian.com>
770 * HtmlTextWriter.cs: Missing a PopEndTag here.
772 * PropertyConverter.cs: Pass tests
774 2005-07-09 Miguel de Icaza <miguel@novell.com>
776 * DataBindingHandlerAttribute.cs: Create the "Default" property.
778 2005-07-09 Duncan Mak <duncan@novell.com>
780 * DataBindingHandlerAttribute.cs: Implemented.
782 2005-07-08 Ben Maurer <bmaurer@ximian.com>
784 * HtmlTextWriter.cs: Much better compliance with msft
786 2005-07-08 Jackson Harper <jackson@ximian.com>
788 * ToolbarDataAttribute.cs: New implementation.
790 2005-07-07 Jackson Harper <jackson@ximian.com>
792 * PropertyConverter.cs: New implementation.
794 2005-07-07 Ben Maurer <bmaurer@ximian.com>
796 * StateBag.cs: Noticed an issue where SetDirty was called when the
799 2005-07-07 Ben Maurer <bmaurer@ximian.com>
801 * StateBag.cs: Add a method that gets a string or else a default
804 2005-07-07 Dick Porter <dick@ximian.com>
806 * StateBag.cs: Added internal SetDirty (void) method to fix the
809 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
811 * HtmlTextWriter.cs: Small fixlet when attribute has no value.
813 2005-07-07 Miguel de Icaza <miguel@novell.com>
815 * HtmlTextWriter.cs: Return the stuff in lowercase to pass the
818 * StateBag.cs: Add NET_2_0 SetDirty method to get the build
821 2005-07-07 Sebastien Pouliot <sebastien@ximian.com>
823 * HtmlTextWriter.cs: Small fixlet (required for the unit tests).
825 2005-07-06 Ben Maurer <bmaurer@ximian.com>
827 * HtmlTextWriter.cs: Make sure to clear attributes when they are
830 * StateBag.cs: New impl
832 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
835 * Control.cs: avoid the creation of the EventHandlerList and accessing
836 to it whenever possible. Fix ENABLE_THEMING constant.
838 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
841 * TemplateControlParser.cs:
842 * UserControlParser.cs: detect circular references when a control tries
843 to register itself as a tag. Fixes bug #75376.
845 2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
847 * PageParser.cs: don't try to compile the master page if it wan't
848 provided. Use MapPath from the base classes instead of the long
849 version. Fixes bug #75269 that prevented xsp2 from working properly.
851 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
853 * MasterPage.cs: Clear the default content of placeholders before
854 adding the page content. Fixes bug #75193.
856 2005-06-13 Lluis Sanchez Gual <lluis@novell.com>
858 * PageParser.cs: Added MasterType property. Get the type from the
859 MasterType directive.
860 * MasterPageParser.cs: Added GetCompiledMasterType method.
862 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
866 * Control.cs: updates for 1.1 SP1
868 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
870 * Control.cs: Added new DataBind() overload for 2.0. The old
871 method calls this new overload.
873 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
875 * TemplateParser.cs: ignore empty assembly.Location for in-memory
876 generated assemblies.
878 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
880 * Page.cs: added AddContentTemplate method.
882 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
884 * AttributeCollection.cs: html-encode attribute values. Fixes
887 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
889 * DataSourceView.cs: Fix api.
890 * NonVisualControlAttribute.cs: Implemented.
891 * IDataItemContainer.cs: Added missing properties.
892 * Control.cs: Added new EnableTheming and SkinID properties.
893 * HierarchicalDataSourceControl.cs: Implemented missing methods.
895 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
897 * ControlCollection.cs: Added internal setter for ReadOnly.
899 2005-05-09 Geoff Norotn <gnorton@customerdna.com>
901 * TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
902 uses instead of codebehind.
904 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
906 * Page.cs: as setting CurrentCulture is slow, don't set it if the
907 culture has not changed since before the page started processing.
909 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
911 * TemplateParser.cs: LoadWithPartialName returns null if the assembly is
914 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
917 * SimpleWebHandlerParser.cs: removed values assigned and neved used.
919 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
921 * SimpleWebHandlerParser.cs:
922 * TemplateParser.cs: always get the location (full path) for assemblies,
923 even the ones from the GAC.
925 * BaseCompiler.cs: check that DynamicBase directory exists before
926 creating the TempFileCollection.
928 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
930 * ClientScriptManager.cs: Use a linked list instead of a Hashtable
931 to store the scripts. In this way, scripts will be rendered in the
932 same order as they have been registered. It shouldn't be slower
933 since pages don't have many scripts.
935 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
937 * IEditableTextControl.cs: Implemented.
938 * DataBinder.cs: Marked constructor as obsolete in 2.0.
939 In GetDataItem, check for the IDataItemContainer interface
941 * TemplateControl.cs: Improved check for data item.
943 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
945 * TemplateParser.cs: we still need LoadWithPartialName if Load fails.
946 * Page.cs: ensure _requiresPostBack is emptied if we didn't have a copy
949 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
950 * TemplateParser.cs: Adding support for Strict/Explicit attributes
951 for @Page/@Control directives as documented at
952 http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconControlDirective.asp.
953 First step don't choke on them. Fixing #74671
955 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
957 * TemplateParser.cs: use Load instead of LoadWithPartialName. That was
958 there from the time when Load wasn't working properly. First part of the
961 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
963 * ControlBuilder.cs: The BindingContainerType property happens
964 to exist in 2.0, so I made it public. Added ParentTemplateBuilder,
965 which is used to get the binding container that is managing
966 the current two-way binding context.
967 * TemplateBuilder.cs: Added some methods and an internal class
968 to support two-way bindings.
969 * CompiledBindableTemplateBuilder.cs: Implemented.
970 * IBindableTemplate.cs: This interface inherits from ITemplate.
972 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
974 * ControlBuilder.cs: Added BindingContainerType property,
975 which works like NamingContainerType but takes into account
976 template builders with a specific container type (specified
977 using the TemplateContainerAttribute.
978 * StateManagedCollection.cs: Reimplemented Save/Load view
979 state methods. The existing implementation was not correct
982 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
984 * DataSourceView.cs: Added null check.
986 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
988 * TemplateControl.cs:
989 * Page.cs: Moved Eval and XPath from Page
991 * StateManagedCollection.cs: Avoid saving null state.
993 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
995 * DataSourceView.cs: Rethrow exceptions not handled by operation
997 * ITextControl.cs: Removed event.
998 * CollectionBuilder.cs: Don't crash when a collection has more
1001 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
1003 * Control.cs: Added a new internal property: HasRenderMethodDelegate.
1004 * HtmlTextWriterAttribute.cs: Replaced wrong enum value.
1005 * HtmlTextWriter.cs: Register new ASP.NET 2.0 attributes
1007 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
1009 * ClientScriptManager.cs: Fix build.
1011 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
1013 * Utils.cs, Control.cs: Don't use Page.GetPostBackClientEvent
1014 since it is deprecated in 2.0.
1015 * Page.cs: Deprecated GetPostBackClientEvent and similar methods
1016 in 2.0. Moved callback management methods to ClientScriptManager.
1017 * ClientScriptManager.cs: Moved here deprecated methods from Page.
1018 In GetPostBackEventReference (PostBackOptions), don't use the
1019 WebForm_DoPostback script if the post can be done with a simple
1021 * PostBackOptions.cs: Fixed default values for some properties.
1023 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1025 * Control.cs: in FindControl, throw if there's more than one control
1026 with the same ID. Fixes bug #73479.
1028 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
1030 * Page.cs: Load control state before loading view state, and the
1032 * DataSourceSelectArguments.cs: Fix recursive property call.
1034 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
1036 * DataSourceView.cs: Fixed incorrect implementation of
1037 RaiseUnsupportedCapabilityError.
1038 * IDataItemContainer.cs: Added new properties.
1039 * Page.cs: Implemented Form property.
1040 * Control.cs: Fixed formatting.
1041 * StateManagedCollection.cs: Track view state of items loaded
1044 2005-02-22 Lluis Sanchez Gual <lluis@novell.com>
1046 * FilterableAttribute.cs: Fix endless loop.
1048 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
1050 * Page.cs: Implemented missing events.
1052 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1054 * BoundPropertyEntry.cs:
1056 * TwoWayBoundPropertyEntry.cs: implemented.
1058 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
1060 * Page.cs: Added support for validation groups. Some fixes in
1061 SavePageControlState().
1062 * IFilterResolutionService.cs: Removed extra field.
1063 * INavigateUIData.cs: Added missing field.
1064 * ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
1065 Implemented new interfaces.
1067 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
1069 * Page.cs: Implemented support for cross page postback. Implemented
1070 support for postback with options. Fixed several method and property
1072 * PostBackOptions.cs: Added some TODOs.
1074 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
1076 * ParseChildrenAttribute.cs: Set the correct default value for the
1079 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
1081 * ParseChildrenAttribute.cs: Added 2.0 property.
1082 * Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
1083 * Page.cs: Added support for control state.
1084 * TemplateBuilder.cs: ContainerType should be internal.
1085 * Control.cs: Added some new 2.0 methods.
1087 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
1089 * PageParser.cs: Read the MasterPageFile attribute.
1090 * UserControlParser.cs: Not sealed any more since we need to inherit from
1091 it. Added new constructor with an additional "type" parameter.
1092 * MasterPageParser.cs: Parser for master pages.
1093 * Page.cs: Added support for master pages.
1094 * MasterPage.cs: Implemented.
1096 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
1098 * TemplateBuilder.cs: Added a special constructor that takes an
1099 attribute provider as parameter. The container type for the template
1100 may be defined in a TemplateContainerAttribute.
1101 * ControlBuilder.cs: Create the TemplateBuilder using that special
1103 * TemplateContainerAttribute.cs: Added 2.0 property and ctor.
1105 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
1107 * IStyleSheet.cs: Added missing "using".
1108 * Page.cs: Implemented Header property.
1109 * CssStyleCollection.cs: Made BagToString method internal.
1110 * RootBuilder.cs: Register HtmlHead control.
1112 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
1114 * CssStyleCollection.cs: Minor (!) fix.
1115 * HtmlTextWriter.cs: Register names for new 2.0 styles.
1117 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
1119 * CssStyleCollection.cs: Make it work as a standalone collection.
1120 * HtmlTextWriter.cs: Added static method for getting style names.
1122 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1124 * ControlCollection.cs: fix off-by-one and store a null at the end to
1125 remove the reference to the removed control.
1127 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
1129 * ClientScriptManager.cs: Added GetScriptLiteral helper method.
1131 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
1133 * Page.cs: Added support for callback events. Moved theform variable
1134 outside the __doPostBack function, so it can be used by other
1136 * StateBag.cs: Implemented SetDirty().
1138 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1140 * Control.cs: when saving "Visible" into the ViewState, save the value
1141 for this precise control, as using the Visible property might give us
1142 Control's parent visibility. Fixes bug #69200.
1144 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1146 * Control.cs: fixed ResolveUrl for relative URLs when using cookie-less
1149 * System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
1150 the appRoot + SessionID + vpath format.
1152 Fixes the 3 issues reported in bug #66623.
1154 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
1156 * Page.cs: Moved code for managing client scripts to ClientScriptManager,
1157 which is public in 2.0 and internal in 1.1.
1158 * ClientScriptManager.cs: Implemented.
1160 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
1162 * DataSourceView.cs: Removed extra method.
1164 2004-11-24 Sanjay Gupta <gsanjay@novell.com>
1166 * DataSourveViewSelectCallback.cs: Corrected method signature.
1168 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
1170 * ControlBuilder.cs: Always check for the ParseChildrenAttribute,
1171 even if the class doesn't implement IParserAccessor.
1172 * WebResourceAttribute.cs: Allow multiple attributes of this type.
1174 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
1176 * DataSourceView.cs: Moved here implementation of DataSourceViewChanged
1177 from SqlDataSourceView.cs.
1179 2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1181 * Control.cs: unified a few bool fields into an int one.
1183 * ControlCollection.cs: use an array internally instead of always
1184 allocating an arraylist. Also added our own enumerator.
1186 * EmptyControlCollection.cs: there's no 'special' ctor now in the base
1189 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
1191 * DataSourceView.cs: Changes in access modifiers of methods.
1193 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
1195 * DataSourceCapabilities.cs: Added Flags attribute.
1196 * DataSourceSelectArguments.cs: Updated.
1197 * DataSourveView.cs: Updated.
1199 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
1201 * HierarchicalDataSourceView.cs: Corrected class definition and updated.
1203 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1205 * HierarchicalDataSourceView.cs: fix typo.
1207 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
1209 * HierarchicalDataSourceView.cs: Updated.
1211 2004-10-18 Sanjay Gupta <gsanjay@novell.com>
1213 * DataSourceSelectArguments.cs: Initial implementation.
1215 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
1217 * UrlPropertyAttribute.cs: Corrected implementation of Equals () method.
1219 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
1221 * UrlTypes.cs: Updated.
1223 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
1225 * UrlPropertyAttribute.cs: Added new file.
1227 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1229 * Control.cs: even if the control has no children the naming container
1230 may contain the control we're looking for. Fixes bug #67304.
1232 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1234 * AspGenerator.cs: added OtherTags.
1236 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
1238 * ControlValuePropertyAttribute.cs: Initial implementation.
1240 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
1242 * IPaginationContainer.cs: Corrected name of class.
1244 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
1246 * IDReferencePropertyAttribute.cs: Completed implementation.
1248 2004-09-24 Sanjay Gupta <gsanjay@novell.com>
1250 * ThemeableAttribute.cs:
1251 * FilterableAttribute.cs: Code scrubbing and optimization.
1253 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
1255 * ThemeableAttribute.cs: Completed implementation.
1257 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
1259 * FilterableAttribute.cs: Completed implementation.
1261 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
1263 * Control.cs: Added new attributes and a method.
1264 * FilterableAttribute.cs: New attribute, initial implementation.
1265 * ThemeableAttribute.cs: New attribute, initial implemenataion.
1267 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1269 * TemplateParser.cs: ensure bin directory exists before trying to access
1270 it. Fixes bug #65446 (not closed yet due to dependencies).
1272 2004-09-09 Sanjay Gupta <gsanjay@novell.com>
1274 * Control.cs: Implemented methods of interface IExpressionAccessor.
1276 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1278 * SimpleWebHandlerParser.cs: correctly cache Type instead of the
1279 assembly for ashx/asmx. Otherwise we need to open the file and check
1280 for the class name in there. Thanks to Ben for pointing this out.
1282 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1284 * TemplateParser.cs: removed creation of StringWriter. It's not used.
1285 * Control.cs: don't create the EventHandlerList until requested.
1287 2004-09-03 Sanjay Gupta <gsanjay@novell.com>
1289 * Control.cs: Added new interfaces implemented in .Net 2.0.
1290 * ExpressionBinding.cs: Added new class.
1291 * ExpressionBindingCollection.cs: Added new class.
1293 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1295 * LiteralControl.cs: stylized. This control has EnableViewState disabled
1296 by default and doesn't get an automatic ID. When text is null -> "".
1298 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
1300 * ControlSkinProc.cs:
1301 * DataSourceViewOperationCallback.cs:
1302 * DataSourceViewSelectCallback.cs:
1303 * ExtractTemplateValuesMethod.cs: Explicit modifier "sealed" not
1304 required in definition as delegates by default are sealed.
1306 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
1308 * IDReferencePropertyAttribute.cs: Corrected and changed from interface
1310 * IMobileTextWriter.cs: Corrected method signatures.
1312 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
1314 * ControlSkinProc.cs:
1315 * DataSourceViewOperationCallback.cs:
1316 * DataSourceViewSelectCallback.cs:
1317 * ExtractTemplateValuesMethod.cs: Added new delegates.
1319 2004-08-06 Sanjay Gupta <gsanjay@novell.com>
1321 * IBindableTemplate.cs:
1322 * ICallbackEventHandler.cs:
1323 * IControlBuilderAccessor.cs:
1324 * IControlDesignerAccessor.cs:
1325 * IControlTypeFilter.cs:
1326 * IDataItemContainer.cs:
1327 * IDataSourceViewSchemaAccessor.cs:
1328 * IDReferencePropertyAttribute.cs:
1329 * IExpressionsAccessor.cs:
1330 * IFilterResolutionService.cs:
1331 * IItemPaginationInfo.cs:
1332 * IMobileTextWriter.cs:
1334 * IPaginationContainer.cs:
1335 * IPaginationInfo.cs:
1336 * IResourceResolutionService.cs:
1337 * IResourceUrlGenerator.cs:
1338 * IStateFormatter.cs:
1340 * IThemeResolutionService.cs:
1341 * IUrlResolutionService.cs:
1342 * IUserControlTypeResolutionService.cs: Added new files for Interfaces.
1344 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
1346 * PostBackOptions.cs: Added new file and implemented the class.
1348 2004-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1350 * HtmlTextWriterTag.cs: readded author name.
1352 2004-08-04 Sanjay Gupta <gsanjay@novell.com>
1354 * HtmlTextWriterAttribute.cs:
1355 * HtmlTextWriterStyle.cs: Added .Net 2.0 enumerations.
1356 * CompilationMode.cs:
1357 * ConflictOptions.cs:
1358 * DataSourceCacheExpiry.cs:
1359 * DataSourceCapabilities.cs:
1360 * DataSourceOperation.cs:
1361 * TemplateContentType.cs:
1362 * TemplateInstance.cs:
1364 * VerificationConditionalOperator.cs:
1365 * VerificationReportLevel.cs:
1366 * VerificationRule.cs:
1367 * XhtmlMobileDocType.cs: Added enumerations.
1369 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1371 * Control.cs: style. Reverted previous patch modification of
1372 TemplateSourceDirectory (failed when the control is reparented). Use
1373 HasControls() and Controls all over instead of _controls, as Controls
1374 property and HasControls() might be overriden.
1376 2004-07-27 Alon Gazit <along@mainsoft.com>
1378 * Control.cs: Changed the implementation of TemplateSourceDirectory
1379 and GetDefaultName(). replaced foreach statements with for statements,
1380 in order to improve performence.
1382 2004-07-27 Alon Gazit <along@mainsoft.com>
1384 * Page.cs: changed the implementation of GetViewStateString().
1385 if the view state object is null there is no need to perform
1388 2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1390 * TemplateControl.cs: don't include private methods of base classes when
1391 auto-attaching events. Fixes bug 61569.
1393 2004-07-14 Alon Gazit <along@mainsoft.com>
1395 * HtmlTextWriter.cs: changed the Hashtables to case insensitive.
1396 2004-07-08 Pablo Baena <pbaena@gmail.com>
1398 * Page.cs: added workaround for __doPostBack script on Netscape 4.xx
1400 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1402 * Page.cs: added additional checks for saving/displaying trace data.
1404 * PageParser.cs: removed checks for trace enabled in configuration
1407 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1409 * ControlCollection.cs: when clearing the control collection, tell the
1410 owners about the removal. Fixes bug #60800.
1412 2004-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1414 * Page.cs: don't nullify _context after processing the request as there
1415 are events not triggered yet. Fixes bug #60726.
1417 2004-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1419 * HtmlTextWriter.cs: only create a closing tag for unknown tags. Fixes
1422 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1425 * UserControlParser.cs: set the page/user control base type even when no
1426 default directive provided. Fixes bug #60572.
1428 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1430 * PageParser.cs: use default trace settings from web.config and check
1431 if trace is only requested for local connections. Fixes bug #60180.
1433 2004-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1435 * SimpleWebHandlerParser.cs: implemented GetCompiledTypeFromCache. When
1436 we read the default directive, check the cache for the Type and if
1437 present, don't keep reading and store the type found.
1439 * WebHandlerParser.cs:
1440 * WebServiceParser.cs: try GetCompiledTypeFromCache before actually
1443 2004-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1445 * Control.cs: properly fixed bug #59794.
1447 2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1450 (ResolveUrl): fixed typo when dealing with relative urls. Closes bug
1453 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1455 * SimpleWebHandlerParser.cs:
1456 * TemplateParser.cs: pass the language when compiling from a file.
1458 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1460 * SimpleWebHandlerParser.cs: if we have a global.asax, move its
1461 reference to the end to help mcs loading the assemblies. Fixes bug
1464 * TemplateParser.cs: same as above. Removed some kludges to workaround
1465 loading assemblies from bin path that are now in the runtime. Don't
1466 load the assemblies in bin if not needed, but still reference them
1469 2004-06-07 Alon Gazit <along@mainsoft.com>
1470 * Page.cs: Changed Page.ProcessPostData().
1471 After the change ,the state of controls that aren't visible is saved
1474 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1476 * Page.cs: removed obsolete MonoTODO from RegisterOnSubmitStatement.
1478 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1480 * Page.cs: IsPostBack also returns true when method is GET and we have
1481 viewstate information in the query string. Fixes bug #58151.
1483 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1485 * Page.cs: removed obsolete TODO. Only check if Trace is enabled, not
1486 HttpRutime.TraceManager.
1488 * PageParser.cs: for 'trace' we have 2 variables now. Added support
1489 for 'buffer' attribute.
1491 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1493 * Page.cs: implemented ClientTarget.
1494 * PageParser.cs: support for clientTarget and check for validity.
1496 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1499 * Html32TextWriter.cs:
1500 * HtmlTextWriter.cs:
1501 * SimpleWebHandlerParser.cs:
1502 * TemplateControl.cs: Added protected missing members and attributes.
1504 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1506 * ObjectStateFormatter.cs: use ObjectFormatter methods instead of
1507 calling a protected method of another object.
1509 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
1511 * ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
1512 (of other objects) are called in TypeConverterFormatter.
1514 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1516 * ObjectStateFormatter.cs: before choosing the binary formatter, check
1517 if the object type has a TypeConverter that can convert to/from string.
1520 * Page.cs: call GetViewStateString from outside the WriteLine. This
1521 allows writing to the Response when getting the string without breaking
1524 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1526 * HtmlTextWriter.cs: render end tag for unknown tags.
1527 Patch frmo Markus Krutner. Fixes bug #59466.
1529 2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1531 * Page.cs: call DeterminePostBackMode only once per request. Patch by
1534 2004-05-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1536 * Html32TextWriter.cs: stub contributed by Matthijs ter Woord
1539 * ObjectTagBuilder.cs: remove the HasBody override as MS does not have
1542 2004-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1544 * SimpleWebHandlerParser.cs:
1545 * TemplateParser.cs: for the assembly names given in the 'assembly'
1546 attribute, use LoadWithPartialName instead of Load.
1547 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1549 * Page.cs: return HttpContext.Current if _context has not yet been
1550 assigned to. Fixes bug #55245.
1552 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1554 * TemplateParser.cs: don't add import statement or assemblies from
1555 global.asax to every file. Fixes bug #55496.
1557 2004-03-09 Juraj Skripsky <juraj@hotfeet.ch>
1559 * DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
1560 handle single quotes and a few corner cases correctly (see test cases).
1562 2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1564 * TemplateControl.cs: fixed typos and added new method names to the set
1567 2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1569 * ControlBuilder.cs: added SetTagName().
1571 * ObjectTagBuilder.cs: use SetTagName so that we can properly close
1572 <object> builders if the closing tag is provided.
1574 2004-02-16 Jackson Harper <jackson@ximian.com>
1576 * Page.cs: Set cacheability for Location.DownStream.
1578 2004-02-10 Jackson Harper <jackson@ximian.com>
1580 * TemplateParser.cs: Use full path if the assembly is in the
1581 private bin directory. Patch by Gonzalo Paniagua Javier.
1583 2004-02-09 Jackson Harper <jackson@ximian.com>
1585 * Page.cs: Set cacheability for server side caching.
1587 2004-01-30 Jackson Harper <jackson@ximian.com>
1589 * Control.cs: Ensure that dynamically loaded controls are
1592 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1594 * ApplicationFileParser.cs: check for error in directives. Use
1595 GlobalAsaxCompiler.CompileApplicationType for compiling.
1597 * ObjectTagBuilder.cs: load the Type and check for errors.
1599 * TemplateParser.cs: add assemblies and imports from global.asax.
1601 Now we properly create accessors for session and application objects in
1602 the application itself, pages and controls. First step for fixing
1605 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1607 * TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
1608 to Eric Lindvall for pointing this out.
1610 2004-01-15 Jackson Harper <jackson@ximian.com>
1612 * TemplateParser.cs: Detect if we are parsing a control or page
1614 * Page.cs: vary by params and vary by headers can be null now.
1616 2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
1618 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct
1621 2004-01-14 Jackson Harper <jackson@ximian.com>
1623 * Page.cs: If we have a postback that wasn't sent through a
1624 postback script (ie user hit submit on a input type=submit) call
1625 Validate so page validation occurs. This fixes bug #52770.
1627 2004-01-14 Jackson Harper <jackson@ximian.com>
1629 * Page.cs: Don't tell the response to cache anymore. This is done
1630 when the cacheability is modified by a callback. Set the cache's
1633 2004-01-14 Jackson Harper <jackson@ximian.com>
1635 * TemplateParser.cs: If varybyparam is set to "none" make it null
1636 so we dont get a param named null in the outputcache key.
1638 2004-01-14 Jackson Harper <jackson@ximian.com>
1640 * BasePartialCachingControl.cs: Use varyby attributes in key
1643 2004-01-14 Jackson Harper <jackson@ximian.com>
1645 * TemplateParser.cs: Add all the outputcache attribute error
1648 2004-01-13 Jackson Harper <jackson@ximian.com>
1650 * TemplateParser.cs: Add VaryByControls and Shared output cache
1651 properties. These are not assigned yet.
1652 * TemplateControlParser.cs: Do not ignore the OutputCache
1654 * BasePartialCachingControl.cs: Initial implementation. Keys are
1655 still not created properly.
1656 * StaticPartialCachingControl.cs: Assign properties in base class,
1657 implement CreateControl.
1659 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1661 * ApplicationFileParser.cs: adde DefaultBaseTypeName property.
1663 * PageParser.cs: support validateRequest.
1665 * TemplateControlParser.cs: get default values from system.web/pages
1668 * TemplateParser.cs: added separate method for changing base type
1669 (Inherits or system.web/pages).
1671 * UserControlParser.cs: support system.web/pages defined base type.
1673 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1675 * UserControl.cs: Added missing attribute, implemented method
1676 * Page.cs: Added missing attribute, implemented method
1678 2004-01-10 Jackson Harper <jackson@ximian.com>
1680 * Page.cs: Handle trace being enabled in the config file.
1682 2004-01-10 Jackson Harper <jackson@ximian.com>
1684 * Page.cs: Save trace data before rendering it.
1685 * System.Web.dll.sources: Add TraceData.cs
1687 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1689 * Page.cs: removed a couple of MonoTODO on methods we're not gonna
1690 implement. Applied patch from Jan Jaros (mono-bug@jerryweb.info) to
1691 ensure that Unload event is raised. Fixes bug #52555.
1693 2004-01-02 Zoltan Varga <vargaz@freemail.hu>
1695 * KeyedList.cs: 'private' is not allowed on explicit interface
1696 implementations. Fixes 1.2 build.
1698 2003-12-31 Jackson Harper <jackson@ximian.com>
1700 * TemplateControlParser.cs: When registering tag prefixs make sure
1701 the file exists and throw the correct error if it does not.
1703 2003-12-25 Jackson Harper <jackson@ximian.com>
1705 * Page.cs: Throw error if the session is accessed when sessions
1708 2003-12-18 Jackson Harper <jackson@ximian.com>
1710 * Page.cs: Write Trace info.
1712 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1714 * LosFormatter.cs: new ctor for 1.1. The default ctor is public.
1715 * Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
1717 * PageParser.cs: the ctor is public.
1718 * PartialCachingAttribute.cs: added new ctor and Shared property.
1720 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1722 * Page.cs: assign the ErrorPage to the context if we get an exception
1723 when processing the page which only calls Unload.
1725 * PageParser.cs: handle ErrorPage.
1727 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1729 * ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
1730 are not [Serializable]. Fixes bug #52244.
1732 2003-12-16 Jackson Harper <jackson@ximian.com>
1734 * Page.cs: Render trace data when tracing is enabled.
1736 2003-12-15 Jackson Harper <jackson@ximian.com>
1738 * PageParser.cs: Add Trace and Trace mode attributes.
1740 2003-12-15 Jackson Harper <jackson@ximian.com>
1742 * Page.cs: Use the context trace object.
1744 2003-12-14 Alon Gazit <along@mainsoft.com>
1745 * AttributeCollection.cs: Changed AttributeCollection.Render().
1746 After the change attributes ,that their value is null, aren't
1749 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1751 * Control.cs: remove a few dangling ^M, don't set values for fields
1752 that has the default value. If Visible is modified and we're tracking
1753 viewstate, save and restore it. Fixes bug #48689.
1755 2003-12-11 Jackson Harper <jackson@ximian.com>
1757 * Control.cs: Give null for the ID if it hasn't been explicitly
1758 set. This fixes bug #51520.
1760 2003-12-08 Jackson Harper <jackson@ximian.com>
1762 * PageParser.cs: Ignore the SmartNavigation attribute for now.
1764 2003-12-05 Jackson Harper <jackson@ximian.com>
1766 * DataBinder.cs (GetIndexedPropertyValue): Check if container is
1767 an IList and use a cast instead of reflection to retrieve the item
1768 if it is. Fixes bug #51759.
1770 2003-12-04 Alon Gazit <along@mainsoft.com>
1771 * Page.cs: Changed Page.ID so it will call Control.ID.
1774 2003-12-02 Jackson Harper <jackson@ximian.com>
1776 * Page.cs: Implemented registered array declarations. Patch by
1777 Benjamin Jemlich <pcgod@gmx.net>
1779 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1781 * TemplateParser.cs: basic check for 'classname' attribute and added
1782 patch by pcgod@gmx.net for bug #51568, which fixes automatic class
1783 names for pages starting with a number.
1785 2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
1787 * LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
1790 * ObjectStateFormatter.cs: Comment out tracing.
1792 2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1794 * Page.cs: fixed UICulture, LCID and Culture. Set the thread
1795 [UI]Culture before processing the request.
1797 * PageParser.cs: read Culture, UICulture and LCID attributes. Added
1798 properties for these. Partially contributed by Mohammad Damt.
1802 2003-11-27 Jackson Harper <jackson@ximian.com>
1804 * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
1807 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
1809 * ObjectStateFormatter.cs: Fix bug when reading small ints.
1810 Add some tracing so we can see what is going on.
1812 2003-11-21 Jackson Harper <jackson@ximian.com>
1814 * Page.cs: Set vary by params when cache location is Server.
1816 2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
1818 * ObjectStateFormatter.cs: v2 file. In v1.x this will be
1819 internal as LosFormatter will eventually use it to save
1822 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1824 * PersistChildrenAttribute.cs:
1825 * PersistenceModeAttribute.cs: implemented.
1827 * TODO: Removed file.
1828 * OutputCacheLocation.cs:
1829 * TemplateControlParser.cs:
1830 * HtmlInputFile.cs: class status based fixes.
1832 2003-11-19 Jackson Harper <jackson@ximian.com>
1834 * Page.cs: Always set the cache expire time. Tell the response to
1835 cache itself for server side cached pages.
1837 2003-11-19 Jackson Harper <jackson@ximian.com>
1839 * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
1840 thing, some corner cases still need work though. Was this the
1841 shortest lived method in the history of mono?
1843 2003-11-19 Jackson Harper <jackson@ximian.com>
1845 * Control.cs: New method for resolving urls that use ~/ to denote
1846 the applications base directory.
1848 2003-11-19 Jackson Harper <jackson@ximian.com>
1850 * TemplateParser.cs: Fix typo in error message.
1852 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1854 * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
1857 2003-11-19 Todd Berman <tberman@gentoo.org>
1860 * KeyedListEnumerator.cs: New v2 implementations.
1862 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
1864 * StateManagedCollection.cs: Implement.
1866 2003-11-13 Jackson Harper <jackson@ximian.com>
1868 * Page.cs: Initial implementation of InitOutputCache.
1869 * TemplateParser.cs: Page OutputCache options
1871 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
1873 * HierarchicalDataSourceControl.cs: Implement.
1875 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
1877 * XPathBinder.cs: Implemented.
1879 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
1881 * DataSourceView.cs:
1883 * ListSourceHelper.cs:
1884 * DataSourceControl.cs:
1885 * HierarchicalDataSourceView.cs:
1886 * IHierarchicalDataSource.cs: Move v2 stuff.
1888 2003-11-07 Jackson Harper <jackson@ximian.com>
1890 * Control.cs (ResolveUrl): Special case for urls that consist of
1891 only a page anchor. ie <a href="#top">. This fixes bug #50165.
1893 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
1895 * IHierarchicalEnumerable.cs:
1896 * IHierarchyData.cs:
1897 * INavigateUIData.cs: New v2 interfaces.
1899 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1901 * Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
1902 space in generated javascript.
1904 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1906 * LosFormatter.cs: encoding updates.
1907 * Page.cs: implemented CodePage and ContentType.
1908 * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
1911 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
1913 * Control.cs (GetWebResourceUrl): new v2 function
1914 * Page.cs (GetWebResourceUrl): ditto.
1915 make the JS we generate work with moz if the form is not a child
1917 * WebResourceAttribute.cs: Added, new v2 attribute.
1919 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1921 * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
1923 * PageParser.cs: initialize the parser in the constructor, not just
1924 before compiling and reference the application assembly.
1926 * SimpleWebHandlerParser.cs: reference the assembly that contains the
1929 * TemplateControl.cs:
1930 * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
1931 path and physical path when compiling a user control.
1933 * TemplateParser.cs: new AddApplicationAssembly ().
1934 * UserControlParser.cs: now we get valid values in the ctor.
1936 Referencing the application assembly fixes bug #49652.
1939 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1941 * TemplateControl.cs: moved NoParamsInvoker class to its own file.
1943 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1945 * BaseParser.cs: added CompilationConfig property.
1947 * TemplateParser.cs:
1948 * SimpleWebHandlerParser.cs: added CompilationConfig property.
1949 Don't hardcode assembly names any more, assemblies in bin are added
1950 depending on the configuration. The default language is also taken
1951 from the configuration.
1953 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1955 * LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.
1957 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1959 * Control.cs: removed some debug lines.
1960 * Page.cs: implemented RegisterOnSubmitStatement
1961 * TemplateControl.cs: fixed wire up for methods with no parameters.
1963 2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1965 * PageParser.cs: ignore ValidateRequest by now.
1967 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1969 * System.Web.UI/TemplateControl.cs: support for wiring up events without
1972 2003-10-08 Pedro Martnez Juli <yoros@wanadoo.es>
1974 * PageParser.cs: drop some useless code.
1976 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
1978 * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
1980 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1982 * System.Web.UI/PageParser.cs:
1983 * System.Web.UI/TemplateControlParser.cs: honour the input file given
1986 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1989 (ClearChildViewState): doh! Don't clear control viewstate but the
1990 viewstate of possible children.
1991 (LoadViewStateRecursive): load viewstate even when control is not
1994 The rest are just dangling ^M removed.
1996 * DataBoundLiteralControl.cs:
1997 (LoadViewState): we get an object [], not a string [].
1999 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2001 * Control.cs: implemented ClearChildViewState ().
2003 2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2005 * Page.cs: store unique IDs for controls requiring postback. Fixes bug
2008 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2010 * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
2011 dependencies so that it's recompiled when changed.
2013 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2015 * LosFormatter.cs: fixed Deserialize for empty viewstate.
2017 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2019 * Page.cs: check if controls that require postback have
2020 been changed by an event and register them to be notified of data
2023 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2025 * Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
2028 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2030 * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
2031 are not serializable. Fixes bug #47784.
2033 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2035 * Control.cs: index the viewstates saved by the control position, not
2036 the control name. Fixes bug #47697.
2038 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2040 * ControlCollection.cs:
2041 * EmptyControlCollection.cs: create a minimum ArrayList for this.
2043 * BaseParser.cs: added setter for BaseVirtualDir.
2045 * Page.cs: fixed message when restoring view state fails.
2046 * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
2047 when a relative path to the control is given. Fixes bug #47685.
2049 2003-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2051 * Control.cs: when we load the viewstate for a control that has children
2052 viewstates and the child is not found, keep its viewstate around and
2053 wait until the child is added to load the viewstate. Fixes bug #47697.
2055 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2057 * TemplateControl.cs: more Delegate.CreateDelegate fixes.
2059 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2061 * PartialCachingControl.cs: is not abstract
2063 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2065 * SimpleHandlerFactory.cs: implemented GetHandler.
2066 * WebHandlerParser.cs: new file that parses .ashx files.
2068 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2070 * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
2072 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2074 * UserControl.cs: Added attribute
2075 * BasePartialCachingControl.cs: New class and paritally implemented
2076 * DesignerDataBoundLiteralControl.cs: New class and implemented
2077 * DesignTimeTemplateParser.cs:
2078 * PartialCachingControl.cs:
2079 * StaticPartialCachingControl.cs: New class and paritally implemented
2081 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2083 * ApplicationFileParser.cs: Fixed signature
2084 * DesignTimeParseData.cs: Added missing properties, implemented
2085 * Page.cs: Added attributes
2087 * TemplateControlParser.cs:
2088 * TemplateParser.cs:
2089 * UserControlParser.cs: Fixed signature
2091 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2093 * HtmlControlPersistableAttribute.cs: Added
2094 * IgnoreUnknownContentAttribute.cs: Added
2096 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2098 * IUserControlDesignerAccessor.cs: Added and implemented
2099 * Control.cs: Missing member added, added all attributes
2100 * Page.cs: Added attributes, fixed signature
2101 * TemplateControl.cs: Fixed signature, added all attributes
2102 * UserControl.cs: Added all attributes, added and implemented missing interface
2104 2003-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2106 * ControlCollection.cs: fixed bug #46472.
2108 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2110 * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
2112 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2114 * SimpleWebHandlerParser.cs: updated to new compilation interface.
2116 * TemplateParser.cs: use the new parameter when compiling.
2118 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2120 * Page.cs: also keep the value for the second try on handling postback
2123 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2125 * BaseParser.cs: fixed MapPath for non-rooted files.
2126 * PageParser.cs: don't pass a non-virtual file around.
2127 * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
2128 the exception teh may be throw by MapPath on an invalid path.
2130 * TemplateParser.cs: removed unused method.
2131 * UserControlParser.cs: modified inputfile. The result is the same, but
2134 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2136 * RootBuilder.cs: throw exception when the tagprefix is not valid or
2139 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2141 * TemplateControlParser.cs: return after processing @Register.
2143 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2145 * TemplateParser.cs: Added support for server side includes.
2147 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2149 * TemplateControl.cs: fixed the flags used to find the methods that
2150 are automatically hooked up on events.
2152 * TemplateParser.cs: don't compile a source file directly. Use the
2155 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2157 * BaseParser.cs: Location property is now here. Added a couple of
2158 convenience methods to throw a ParseException.
2160 * TemplateParser.cs:
2161 * TemplateControlParser.cs:
2162 * PageParser.cs: throw ParseException where appropiate.
2164 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2166 * ApplicationFileParser.cs: use the generator to actually parse the
2169 * ControlBuilder.cs: small fix in NamingContainerType because
2170 TemplateBuilders have a null ControlType. When a control is appended
2171 to a parent, assign the child's parent.
2173 * UserControlParser.cs: fixed the value of InputFile.
2175 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2177 * ApplicationFileParser.cs: store the Context and override
2178 BaseVirtualDir so that it's the application path.
2180 * BaseParser.cs: removed CurrentVirtualPath property.
2182 * TemplateControlParser.cs: use BaseVirtualDir.
2184 * UserControlParser.cs: removed CurrentVirtualPath.
2186 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2188 * TemplateParser.cs: always reference all the assemblies in bin
2191 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2193 * ApplicationFileParser.cs: it works now. Prior to these changes, we
2194 were using the compiler directly.
2196 * BaseParser.cs: added some useful properties and methods.
2198 * CodeBuilder.cs: use ILocation.
2199 * CodeRenderBuilder.cs: use ILocation.
2200 * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
2202 * ControlBuilder.cs: made it useful.
2204 * DataBindingBuilder.cs: the control type for data bound text is
2205 DataBoundLiteralControl now.
2207 * ObjectTagBuilder.cs: store some object tag attributes.
2209 * PageParser.cs: handle page-only directives.
2211 * RootBuilder.cs: bah.
2212 * SimpleWebHandlerParser.cs: made it dummy.
2213 * TemplateControl.cs: Modified file.
2215 * TemplateControlParser.cs: handle directives that are common to pages
2218 * TemplateParser.cs: utility methods and handling of directives that
2219 are common to app, page and user controls.
2221 * UserControl.cs: added ControlBuilderAttribute.
2223 * UserControlControlBuilder.cs: builder for user controls.
2224 * UserControlParser.cs: use the new interfaces.
2226 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2228 * ControlBuilder.cs: line and fileName are protected now.
2230 * CodeBuilder.cs: base class for the next 2 files.
2231 * CodeRenderBuilder.cs: builder for code render.
2232 * DataBindingBuilder.cs: builder for data binding.
2234 2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2236 * ITagNameToTypeMapper.cs: made it internal.
2238 * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
2240 * RootBuilder.cs: initial builder.
2242 2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2244 * CollectionBuilder.cs:
2245 * TemplateBuilder.cs: new classes derived from ControlBuilder that
2246 represent a property or a ITemplate.
2248 * ControlBuilder.cs: implemented all the missing bits.
2249 * TemplateParser.cs: added mapping from tag name to Type feature.
2251 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2253 * Control.cs: have i definitely fixed naming container stuff this time?
2255 * LosFormatter.cs: activated binary serialization code.
2257 2003-02-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2260 (AddedControl): fixed default id assignation when the sequence of
2261 AddedControl until it's included in the page or one of its controls
2262 does not pass through a naming container.
2264 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2266 * Control.cs: give different default names depending on the place where
2267 it is assigned. Implemented ResolveURl (no more ~ rendered in
2270 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2272 * Control.cs: when adding a control, assign default names to th
2273 children that don't have one.
2275 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2277 * SimpleWebHandlerParser.cs: modified to use the new parser interface.
2279 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2281 * Control.cs: some more tweaks to naming containers stuff.
2282 * DataBinder.cs: don't throw exception if the container is null.
2284 * Page.cs: now we can render client scripts, startup scripts and hidden
2285 fields. Only render __VIEWSTATE if there is someone that will take care
2287 (RaisePostBackEvents): first try the last one that required raise event,
2288 then try __EVENTTARGET.
2290 2003-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2292 * Control.cs: fixes in UniqueID, FindControl, AddedControl,
2293 UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
2294 FindControl work with NamingContainers.
2296 * ControlCollection.cs: notify the parent when clearing the collection.
2298 * LosFormatter.cs: Added debugging output and generate a valid
2299 viewstate even for unknown types.
2301 * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
2304 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2306 * Page.cs: make it fire the LoadData related events also for controls
2307 such as ImageButton, whose variable(s) in the query string are of the
2308 form ctrl_name.x and only fire them once per control.
2310 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2313 (GetPropertyValue): don't try to get the property as indexed
2315 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2317 * DataBinder.cs: use TypeDescriptor to get the properties and their
2320 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2323 (AddedControl): take the children to the same state of the parent.
2324 (InitRecursive): set the page of the children.
2326 * Page.cs: removed one line (it's done a few lines above).
2329 (OnInit): always call InitializeAsUserControl
2330 (InitializeAsUserControl): sets the page for the control.
2332 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2334 * Control.cs: fixed bug #36037.
2336 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2338 * BaseParser.cs: a couple of path fixes to make it work
2339 when the page is not in the root directory.
2341 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2343 * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
2346 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2348 * BaseParser.cs: use MapPath and context to locate files.
2349 * Control.cs: implemented MapPathSecure.
2350 * TemplateControl.cs: use UrlUtils to generate the path.
2351 * TemplateControlParser.cs: use the context and MapPath.
2352 * UserControl.cs: implemented MapPath.
2353 * UserControlParser.cs: added context parameter to constructor.
2355 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2357 * Control.cs: implemented MapPathSecure.
2358 * Page.cs: fixed Server property.
2360 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2362 * DataBinder.cs: try the indexer if the property is not found in
2363 GetPropertyValue ().
2365 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2367 * Control.cs: added AutoEventWireup internal property.
2369 * Page.cs: removed page events wire up from here.
2371 * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
2372 and user controls events.
2374 * TemplateControlParser.cs: process the options that are applicable
2375 once we have the instance of the control.
2377 * TemplateParser.cs: also stores the options.
2379 * UserControl.cs: hook up events before initializing the control.
2382 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2384 * Control.cs: new method to set bindingContainer value.
2385 * TemplateControl.cs: added controls are not binding containers.
2387 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2389 * Control.cs: implemented TemplateSourceDirectory.
2390 * TemplateControl.cs: implemented LoadControl and LoadTemplate.
2392 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2394 * UserControl.cs: fixed SetAttribute.
2395 * UserControlParser.cs: set the correct base type.
2397 2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2399 * TemplateParser.cs: fixed BaseType.
2400 * UserControlParser.cs: helper class to compile user controls.
2402 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2404 * LosFormatter.cs: added DateTime to special types.
2406 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2408 * LosFormatter.cs: added array serialization support. Disabled binary
2409 serialization and add some debugging code.
2411 * StateBag.cs: the length of the list of value can be less than the
2412 length if the list of keys when remaining values are null.
2414 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2416 * Page.cs: return something useful in GetPostBackClientEvent.
2418 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2420 * Page.cs: implemented FileDependecies and made it protected.
2422 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2424 * Control.cs: save control names instead of the controls
2425 themselves to the ViewState.
2427 * LosFormatter.cs: added support for serializing unknown
2428 types. BinaryFormatter does not work so you better don't store anything
2429 of unknown Type in ViewState.
2431 * Page.cs: GetViewStateString works now using LosFormatter.
2432 Complete "Control execution lifecycle" by unloading all the child
2433 controls. Check for null in RaisePostBackEvents.
2434 LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
2436 2002-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2438 * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
2440 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2442 * LosFormatter.cs: Use WebEncoding.Encoding.
2445 * Page.cs: fixed namespace.
2447 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2449 * Page.cs: set the context in ProcessRequest. Added a few trace calls.
2450 * Control.cs: added some trace information.
2452 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2454 * SimpleHandlerFactory.cs: new handler for .ashx files.
2456 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2458 * System.Web.UI/PageHandlerFactory.cs: new file.
2459 * System.Web.UI/PageParser.cs:
2460 * System.Web.UI/TemplateControlParser.cs: we are now able to compile
2461 pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
2463 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2465 * Control.cs: implemented ObBubbleEvent.
2466 * Page.cs: temporary workaround to make POST work with xsp server.
2468 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2470 * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
2473 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2475 * SimpleWebHandlerParser.cs: New file.
2476 * WebServiceParser.cs: New file.
2478 2002-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2480 * LosFormatter.cs: almost fully implemented.
2482 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2484 * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
2485 * EmptyControlCollection.cs: throw correct exception.
2486 * LosFormatter.cs: stubbed out.
2487 * OutputCacheLocation.cs: little fix.
2489 2002-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2491 * System.Web.UI/ApplicationFileParser.cs:
2492 * System.Web.UI/BaseParser.cs:
2493 * System.Web.UI/PageParser.cs:
2494 * System.Web.UI/TemplateControl.cs:
2495 * System.Web.UI/TemplateControlParser.cs:
2496 * System.Web.UI/TemplateParser.cs: first steps to move xsp into
2499 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2501 * Page.cs: request to render postback script can be after form started
2504 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2506 * Page.cs: added more page events to invoke automagically if some
2507 methods are defined.
2509 2002-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2512 (SaveViewState): save state even when control is not visible.
2513 (SaveViewStateRecursive):
2514 (LoadViewStateRecursive): made internal.
2516 2002-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2518 * Page.cs: improved event raising to allow client postback for a wider
2519 variety of actions (clicking an hyperlink, ...).
2521 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2523 * UserControl.cs: implemented Load/SaveViewState.
2525 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2527 * AttributeCollection.cs:
2528 (Add): handle 'style' through styleCollection.
2530 * CssStyleCollection.cs:
2531 (fillStyle): renamed to FillStyle and made it internal.
2534 (GetViewStateString): fixed, broken after other recent changes.
2535 (ProcessPostData): allow a second try for postback data after OnLoad.
2536 (ProcessRequest): clear controls collection, removed call to
2539 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2541 * Control.cs: uncommented Dispose.
2544 (DeterminePostBackMode): more checkings.
2545 (GetPostBackClientHyperLink): implemented.
2546 (GetPostBackEventReference): added some comments with the HTML that MS
2548 (ProcessRequest): fixed processing order. The page is unloaded after
2549 a request and regenerated from view state on subsequents posts.
2551 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2553 * Control.cs: fixed related to ViewState. Added RemovedControl.
2555 * ControlCollection.cs: notify owner of control removal.
2557 * CssStyleCollection.cs: almost rewritten to make it render the style
2558 attribute after changes to it.
2560 * Page.cs: follow the guidelines in 'Control execution lifecycle'.
2563 * StateBag.cs: don't use IDictionary.GetEnumerator on the
2564 HybridDictionary: it makes the program give an InvalidCastException at
2567 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2569 * Page.cs: fire Init and Load events for all children.
2571 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2573 * UserControl.cs: New file.
2575 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2577 * ControlBuilderAttribute.cs: finished implementation.
2579 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2581 * ConstructorNeedsTagAttribute.cs: the default constructor sets the
2584 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2586 * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
2588 * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
2589 Hashtable. Added internal .ctor.
2591 * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
2592 Equals and GetHashCode.
2594 * System.Web.UI/DataBoundLiteralControl.cs:
2596 (SaveViewState): implemented.
2598 * System.Web.UI/Page.cs: FileDependencies is not public.
2600 * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
2603 (IsDefaultAttribute): implemented.
2605 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2607 * Control.cs: fixed Visible property.
2608 * Page.cs: fixed GetViewStateString.
2610 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2612 * System.Web.UI/Page.cs:
2613 (GetViewStateString): new function to give the server access to the
2614 generated view state string.
2617 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2620 (SaveViewstateRecursive): implemented.
2621 (SaveViewState): fixed.
2622 (IParserAccessor.AddParsedSubObject): don't use 'this'.
2624 * Page.cs: added code to save view state to an xml file. It's not
2625 being used right now.
2627 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2629 * System.Web.UI/LiteralControl.cs:
2630 Fixes based on class status page:
2632 - Add attributes (DefaultEvent, ParseChildren).
2634 - Explicitly implement some interfaces (IPostBackDataHandler
2635 and IPostBackEventHandler).
2636 - Implemented some missing methods.
2638 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2640 * Control.cs: reimplemented FindControls.
2643 (.ctor): set the page for this control.
2644 (IsPostBack): return valid value.
2645 (DeterminePostBackMode): finished.
2646 (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
2647 (ProcessPostData): implemented. Raises change and postback events.
2648 (ProcessRequest): changed to support reuse of the instance.
2649 (RegisterRequiresPostBack): implemented.
2651 * ValidatorCollection.cs: implemented all methods.
2653 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2656 * Page.cs: first attemp to save view state.
2658 * HtmlForm.cs: don't render Action.
2660 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2662 * Page.cs: implemented more properties using information we already
2666 (VerifyRenderingInServerForm): implemented.
2668 2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2670 * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
2671 out runtime. Renamed Page_Init and Page_Load.
2673 After this, we can load a dll and render HTML in linux.
2675 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2678 (AddedControl): new function that is called whenever a control is
2679 added to a collection of controls in a container. It sets the defaults
2682 * ControlCollection.cs: call AddedControl in Add/AddAt.
2684 * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
2685 SetStaticString and SetDataBoundString.
2687 * Page.cs: removed SetDefaults.
2689 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2691 * CompiledTemplateBuilder.cs: new file. Used in the code generated
2695 (BindingContainer): implemented.
2696 (EnsureChildControls): avoid stack overflow.
2698 * DataBinder.cs: implemented Eval and PropertyValue.
2700 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2702 * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
2703 bug as in regular attributes).
2705 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2707 * Control.cs: implemented PreventAutoID.
2710 (SetDefaults): don't set ID automatically if Control.PreventAutoID has
2713 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2716 (Validators): if the collection is null, create one.
2717 (GetPostBackEventReference 2): don't throw exception.
2718 (GetPostBackClientEvent): return a string with containing the method
2719 name, the control name and the argument.
2721 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2723 * Page.cs: SetPage is now called SetDefaults and also sets a default
2724 ID for controls that don't have one yet.
2726 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2729 (GetPostBackClient):
2730 (RegisterRequiresPostBack): don't throw NotImplementedException to
2732 (ProcessRequest): set the current page as the Page property for *all*
2733 the controls, not just the direct children of the page.
2735 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2738 (MapPathSecure): until security is implemented, return the same path
2739 received as argument.
2740 (RenderControl): call OnPreRender before rendering the control. So
2741 AdRotator can read its configuration file.Is there any other place
2742 where this should be done?
2744 * HtmlTextWriter.cs:
2745 (AddAttribute): fixed. Now it really stores attributes.
2746 (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
2748 2002-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2750 * ControlCollection.cs:
2751 (AddAt): if index is -1 behave as a plain Add.
2753 2002-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2755 * Page.cs: for each child control to render, assign Control.Page.
2756 Probably also needed in HtmlContainerControl derived classes.
2758 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2760 * AttributeCollection.cs: don't need a Hastable. StateBag now works
2761 fine and takes care of the details.
2763 * Control.cs: added HasChildren property.
2765 * StateBag.cs: fixed a couple of nasty bugs.
2767 2002-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2769 * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
2770 Invoke Page_Init and/or Page_Load if the user supplied them (though
2771 this should depend on AutoEventWireUp attribute of Page directive).
2773 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2775 * Control.cs: don't throw exception in ControlID. By now, it returns ID.
2778 (ProcessRequest): implemented.
2780 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2782 * System.Web.UI/Page.cs: finished stubbing out. Implemented some
2785 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2788 (FileDependencies): now is public public.
2789 (EnableViewStateMAC): uncommented and made protected.
2790 (GetTypeHashCode): added method.
2792 2002-05-24 Duncan Mak <duncan@ximian.com>
2794 * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
2796 * StateBag.cs (Item): Changed the visibility level of the this
2799 Misc. formatting edits, fixing some bugs introduced by the indentation.
2801 * DataBinder.cs (Eval)
2802 (GetIndexedPropertyValue)
2803 (GetPropertyValue): Fixed return types.
2805 2002-05-21 Miguel de Icaza <miguel@ximian.com>
2807 * HtmlTextWriter.cs: Use this to change the member instances.
2809 2002-05-17 Duncan Mak <duncan@ximian.com>
2811 * AttributeCollection.cs:
2812 * ControlCollection.cs:
2813 * CssStyleCollection.cs:
2814 * DataBindingCollection.cs:
2815 * EmptyControlCollection.cs: Added missing Collection classes.
2817 2002-05-17 Duncan Mak <duncan@ximian.com>
2820 * TemplateParser.cs: Implemented. BaseParser is weird because
2821 there is no documentation on what it does.
2823 * ControlBuilder.cs:
2826 * DataBinding.cs: Added.
2828 * DataBoundLiteralControl.cs:
2829 * Triplet.cs: Added.
2831 * RenderMethod.cs: Added this delegate for Control.cs
2833 2002-05-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2835 * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
2837 2002-05-14 Duncan Mak <duncan@ximian.com>
2839 * ValidationPropertyAttribute.cs: Added to CVS.
2841 2002-05-10 Duncan Mak <duncan@ximian.com>
2843 * ConstructorNeedsTagAttribute.cs:
2844 * ControlBuilderAttribute.cs:
2845 * ImageClickEventArgs.cs:
2846 * ParseChildrenAttribute.cs:
2847 * PartialCachingAttribute.cs:
2848 * PersistChildrenAttribute.cs:
2849 * PersistenceModeAttribute.cs:
2850 * TemplateContainerAttribute.cs: Added to CVS.
2852 * PersistanceMode.cs: Removed, fixed typo.
2853 * PersistenceMode.cs: Replacing above.
2855 * StateBag.cs (this): Fixed indexer, it takes a string as the
2856 index, not an object.
2858 * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
2860 * Page.cs (Validators): return type should be ValidatorCollection,
2861 not ValidatedCollection.
2863 * TagPrefixAttribute.cs: Added to CVS.
2865 2002-05-07 Duncan Mak <duncan@ximian.com>
2867 * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
2869 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
2871 * DataBindingHandlerAttribute.cs
2873 * ToolboxDataAttribute.cs - Completed
2875 2002-01-03 Nick Drochak <ndrochak@gol.com>
2877 * DesignTimeParseData.cs: initialze static member to avoid compile
2879 * PropertyConverter.cs: remove uneeded exception variables from
2882 2002-01-02 Nick Drochak <ndrochak@gol.com>
2884 * DesignTimeParseData.cs: fix header to show correct class name
2886 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
2888 * StateBag.cs - Completed
2890 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
2892 * Pair.cs - Small undocumented class. Completed.
2894 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
2896 * DesignTimeParseData.cs - Initial implementation
2897 * StateBag.cs - Initial implementation
2899 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
2901 * PropertyConverter.cs - Undocumented class. Completed.
2902 * Utils.cs - Undocumented, private class.
2903 Initial implementation
2905 2001-08-28 Bob Smith <bob@thestuff.net>
2906 * Control.cs: Figured out some undocumented API.
2908 * BuildMethod.cs: Initial implementation.
2909 * BuildTemplateMethod.cs: Initial implementation.
2910 * HtmlTextWriterAttribute.cs: Initial implementation.
2911 * HtmlTextWriterStyle.cs: Initial implementation.
2912 * HtmlTextWriterTag.cs: Initial implementation.
2913 * IAttributeAccessor.cs: Initial implementation.
2914 * IDataBindingsAccessor.cs: Initial implementation.
2915 * ImageClickEventHandler.cs: Initial implementation.
2916 * INamingContainer.cs: Initial implementation.
2917 * IParserAccessor.cs: Initial implementation.
2918 * IPostBackDataHandler.cs: Initial implementation.
2919 * IPostBackEventHandler.cs: Initial implementation.
2920 * IStateManager.cs: Initial implementation.
2921 * ITagNameToTypeMapper.cs: Initial implementation.
2922 * ITemplate.cs: Initial implementation.
2923 * IValidator.cs: Initial implementation.
2924 * OutputCacheLocation.cs: Initial implementation.
2925 * PersistanceMode.cs: Initial implementation.
2926 * StateItem.cs: Initial implementation.
2928 2001-08-27 Bob Smith <bob@thestuff.net>
2930 * Control.cs: Bug fixes and implementations.
2932 2001-08-24 Bob Smith <bob@thestuff.net>
2934 * Control.cs: Bug fixes.
2936 2001-08-23 Bob Smith <bob@thestuff.net>
2938 * Control.cs: More implementation. Events reworked for performance.
2940 2001-08-22 Bob Smith <bob@thestuff.net>
2942 * LiteralControl.cs: Implemented.
2943 * Control.cs: Even more implementation (Events). What a beast.
2945 2001-08-20 Bob Smith <bob@thestuff.net>
2947 * Control.cs: More implementation. Not done yet. Shutter.
2949 2001-08-17 Bob Smith <bob@thestuff.net>
2951 * Control.cs: Partial implementation.