ChangeLog 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109
  1. 2003-11-19 Jackson Harper <[email protected]>
  2. * Control.cs: New method for resolving urls that use ~/ to denote
  3. the applications base directory.
  4. 2003-11-19 Jackson Harper <[email protected]>
  5. * TemplateParser.cs: Fix typo in error message.
  6. 2003-11-19 Gonzalo Paniagua Javier <[email protected]>
  7. * TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
  8. to Sanjay Gupta.
  9. 2003-11-19 Todd Berman <[email protected]>
  10. * KeyedList.cs:
  11. * KeyedListEnumerator.cs: New v2 implementations.
  12. 2003-11-17 Ben Maurer <[email protected]>
  13. * StateManagedCollection.cs: Implement.
  14. 2003-11-13 Jackson Harper <[email protected]>
  15. * Page.cs: Initial implementation of InitOutputCache.
  16. * TemplateParser.cs: Page OutputCache options
  17. 2003-11-09 Ben Maurer <[email protected]>
  18. * HierarchicalDataSourceControl.cs: Implement.
  19. 2003-11-09 Ben Maurer <[email protected]>
  20. * XPathBinder.cs: Implemented.
  21. 2003-11-08 Ben Maurer <[email protected]>
  22. * DataSourceView.cs:
  23. * IDataSource.cs:
  24. * ListSourceHelper.cs:
  25. * DataSourceControl.cs:
  26. * HierarchicalDataSourceView.cs:
  27. * IHierarchicalDataSource.cs: Move v2 stuff.
  28. 2003-11-07 Jackson Harper <[email protected]>
  29. * Control.cs (ResolveUrl): Special case for urls that consist of
  30. only a page anchor. ie <a href="#top">. This fixes bug #50165.
  31. 2003-11-07 Ben Maurer <[email protected]>
  32. * IHierarchicalEnumerable.cs:
  33. * IHierarchyData.cs:
  34. * INavigateUIData.cs: New v2 interfaces.
  35. 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
  36. * Page.cs: patch by Alon Gazit <[email protected]> to remove extra
  37. space in generated javascript.
  38. 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
  39. * LosFormatter.cs: encoding updates.
  40. * Page.cs: implemented CodePage and ContentType.
  41. * PageParser.cs: handle CodePage, ContentEncoding and ResponseEncoding
  42. attributes.
  43. 2003-11-04 Ben Maurer <[email protected]>
  44. * Control.cs (GetWebResourceUrl): new v2 function
  45. * Page.cs (GetWebResourceUrl): ditto.
  46. make the JS we generate work with moz if the form is not a child
  47. of document.
  48. * WebResourceAttribute.cs: Added, new v2 attribute.
  49. 2003-10-22 Gonzalo Paniagua Javier <[email protected]>
  50. * DesignTimeTemplateParser.cs: added FIXME related to PageParser.
  51. * PageParser.cs: initialize the parser in the constructor, not just
  52. before compiling and reference the application assembly.
  53. * SimpleWebHandlerParser.cs: reference the assembly that contains the
  54. application Type.
  55. * TemplateControl.cs:
  56. * TemplateControlParser.cs: fix BenM #1 bug. Now we pass correct virtual
  57. path and physical path when compiling a user control.
  58. * TemplateParser.cs: new AddApplicationAssembly ().
  59. * UserControlParser.cs: now we get valid values in the ctor.
  60. Referencing the application assembly fixes bug #49652.
  61. 2003-10-18 Gonzalo Paniagua Javier <[email protected]>
  62. * TemplateControl.cs: moved NoParamsInvoker class to its own file.
  63. 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
  64. * BaseParser.cs: added CompilationConfig property.
  65. * TemplateParser.cs:
  66. * SimpleWebHandlerParser.cs: added CompilationConfig property.
  67. Don't hardcode assembly names any more, assemblies in bin are added
  68. depending on the configuration. The default language is also taken
  69. from the configuration.
  70. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  71. * LosFormatter.cs: fixed bug #49604. Patch by [email protected].
  72. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  73. * Control.cs: removed some debug lines.
  74. * Page.cs: implemented RegisterOnSubmitStatement
  75. * TemplateControl.cs: fixed wire up for methods with no parameters.
  76. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  77. * PageParser.cs: ignore ValidateRequest by now.
  78. 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
  79. * System.Web.UI/TemplateControl.cs: support for wiring up events without
  80. parameters.
  81. 2003-10-08 Pedro Martínez Juliá <[email protected]>
  82. * PageParser.cs: drop some useless code.
  83. 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
  84. * Utils.cs : GetScriptLocation(HttpContext) - Partial Implementation.
  85. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  86. * System.Web.UI/PageParser.cs:
  87. * System.Web.UI/TemplateControlParser.cs: honour the input file given
  88. as argument.
  89. 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
  90. * Control.cs:
  91. (ClearChildViewState): doh! Don't clear control viewstate but the
  92. viewstate of possible children.
  93. (LoadViewStateRecursive): load viewstate even when control is not
  94. visible.
  95. Fixes bug #49024.
  96. The rest are just dangling ^M removed.
  97. * DataBoundLiteralControl.cs:
  98. (LoadViewState): we get an object [], not a string [].
  99. 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
  100. * Control.cs: implemented ClearChildViewState ().
  101. 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
  102. * Page.cs: store unique IDs for controls requiring postback. Fixes bug
  103. #47985.
  104. 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
  105. * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
  106. dependencies so that it's recompiled when changed.
  107. 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
  108. * LosFormatter.cs: fixed Deserialize for empty viewstate.
  109. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  110. * Page.cs: check if controls that require postback have
  111. been changed by an event and register them to be notified of data
  112. changed event.
  113. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  114. * Control.cs: patch by [email protected] (Yaron Shkop) that fixes
  115. bug #47866.
  116. 2003-08-21 Gonzalo Paniagua Javier <[email protected]>
  117. * LosFormatter.cs: handle Unit and FonrUnit as special cases as they
  118. are not serializable. Fixes bug #47784.
  119. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  120. * Control.cs: index the viewstates saved by the control position, not
  121. the control name. Fixes bug #47697.
  122. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  123. * ControlCollection.cs:
  124. * EmptyControlCollection.cs: create a minimum ArrayList for this.
  125. * BaseParser.cs: added setter for BaseVirtualDir.
  126. * Page.cs: fixed message when restoring view state fails.
  127. * UserControlParser.cs: set the BaseVirtualDirectory to handle the case
  128. when a relative path to the control is given. Fixes bug #47685.
  129. 2003-08-18 Gonzalo Paniagua Javier <[email protected]>
  130. * Control.cs: when we load the viewstate for a control that has children
  131. viewstates and the child is not found, keep its viewstate around and
  132. wait until the child is added to load the viewstate. Fixes bug #47697.
  133. 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
  134. * TemplateControl.cs: more Delegate.CreateDelegate fixes.
  135. 2003-08-01 Andreas Nahr <[email protected]>
  136. * PartialCachingControl.cs: is not abstract
  137. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  138. * SimpleHandlerFactory.cs: implemented GetHandler.
  139. * WebHandlerParser.cs: new file that parses .ashx files.
  140. 2003-07-30 Andreas Nahr <[email protected]>
  141. * PersistenceModeAttribute.cs: Fixed wrong AttributeUsage
  142. 2003-07-30 Andreas Nahr <[email protected]>
  143. * UserControl.cs: Added attribute
  144. * BasePartialCachingControl.cs: New class and paritally implemented
  145. * DesignerDataBoundLiteralControl.cs: New class and implemented
  146. * DesignTimeTemplateParser.cs:
  147. * PartialCachingControl.cs:
  148. * StaticPartialCachingControl.cs: New class and paritally implemented
  149. 2003-07-27 Andreas Nahr <[email protected]>
  150. * ApplicationFileParser.cs: Fixed signature
  151. * DesignTimeParseData.cs: Added missing properties, implemented
  152. * Page.cs: Added attributes
  153. * PageParser.cs:
  154. * TemplateControlParser.cs:
  155. * TemplateParser.cs:
  156. * UserControlParser.cs: Fixed signature
  157. 2003-07-17 Andreas Nahr <[email protected]>
  158. * HtmlControlPersistableAttribute.cs: Added
  159. * IgnoreUnknownContentAttribute.cs: Added
  160. 2003-07-17 Andreas Nahr <[email protected]>
  161. * IUserControlDesignerAccessor.cs: Added and implemented
  162. * Control.cs: Missing member added, added all attributes
  163. * Page.cs: Added attributes, fixed signature
  164. * TemplateControl.cs: Fixed signature, added all attributes
  165. * UserControl.cs: Added all attributes, added and implemented missing interface
  166. 2003-07-17 Gonzalo Paniagua Javier <[email protected]>
  167. * ControlCollection.cs: fixed bug #46472.
  168. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  169. * SimpleWebHandlerParser.cs: implemented GetTypeFromBin.
  170. 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
  171. * SimpleWebHandlerParser.cs: updated to new compilation interface.
  172. * TemplateParser.cs: use the new parameter when compiling.
  173. 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
  174. * Page.cs: also keep the value for the second try on handling postback
  175. events.
  176. 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
  177. * BaseParser.cs: fixed MapPath for non-rooted files.
  178. * PageParser.cs: don't pass a non-virtual file around.
  179. * TemplateControlParser.cs: InputFile uses MapPath now. Take care of
  180. the exception teh may be throw by MapPath on an invalid path.
  181. * TemplateParser.cs: removed unused method.
  182. * UserControlParser.cs: modified inputfile. The result is the same, but
  183. this one is better.
  184. 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
  185. * RootBuilder.cs: throw exception when the tagprefix is not valid or
  186. not found.
  187. 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
  188. * TemplateControlParser.cs: return after processing @Register.
  189. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  190. * TemplateParser.cs: Added support for server side includes.
  191. 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
  192. * TemplateControl.cs: fixed the flags used to find the methods that
  193. are automatically hooked up on events.
  194. * TemplateParser.cs: don't compile a source file directly. Use the
  195. cache instead.
  196. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  197. * BaseParser.cs: Location property is now here. Added a couple of
  198. convenience methods to throw a ParseException.
  199. * TemplateParser.cs:
  200. * TemplateControlParser.cs:
  201. * PageParser.cs: throw ParseException where appropiate.
  202. 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
  203. * ApplicationFileParser.cs: use the generator to actually parse the
  204. file.
  205. * ControlBuilder.cs: small fix in NamingContainerType because
  206. TemplateBuilders have a null ControlType. When a control is appended
  207. to a parent, assign the child's parent.
  208. * UserControlParser.cs: fixed the value of InputFile.
  209. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  210. * ApplicationFileParser.cs: store the Context and override
  211. BaseVirtualDir so that it's the application path.
  212. * BaseParser.cs: removed CurrentVirtualPath property.
  213. * TemplateControlParser.cs: use BaseVirtualDir.
  214. * UserControlParser.cs: removed CurrentVirtualPath.
  215. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  216. * TemplateParser.cs: always reference all the assemblies in bin
  217. directory.
  218. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  219. * ApplicationFileParser.cs: it works now. Prior to these changes, we
  220. were using the compiler directly.
  221. * BaseParser.cs: added some useful properties and methods.
  222. * CodeBuilder.cs: use ILocation.
  223. * CodeRenderBuilder.cs: use ILocation.
  224. * CollectionBuilder.cs: use the RootBuilder to map tag names into Types.
  225. * ControlBuilder.cs: made it useful.
  226. * DataBindingBuilder.cs: the control type for data bound text is
  227. DataBoundLiteralControl now.
  228. * ObjectTagBuilder.cs: store some object tag attributes.
  229. * PageParser.cs: handle page-only directives.
  230. * RootBuilder.cs: bah.
  231. * SimpleWebHandlerParser.cs: made it dummy.
  232. * TemplateControl.cs: Modified file.
  233. * TemplateControlParser.cs: handle directives that are common to pages
  234. and user controls.
  235. * TemplateParser.cs: utility methods and handling of directives that
  236. are common to app, page and user controls.
  237. * UserControl.cs: added ControlBuilderAttribute.
  238. * UserControlControlBuilder.cs: builder for user controls.
  239. * UserControlParser.cs: use the new interfaces.
  240. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  241. * ControlBuilder.cs: line and fileName are protected now.
  242. * CodeBuilder.cs: base class for the next 2 files.
  243. * CodeRenderBuilder.cs: builder for code render.
  244. * DataBindingBuilder.cs: builder for data binding.
  245. 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
  246. * ITagNameToTypeMapper.cs: made it internal.
  247. * ObjectTagBuilder.cs: builder for <object runat="server"> tag.
  248. * ObjectTag.cs:
  249. * RootBuilder.cs: initial builder.
  250. 2003-04-15 Gonzalo Paniagua Javier <[email protected]>
  251. * CollectionBuilder.cs:
  252. * TemplateBuilder.cs: new classes derived from ControlBuilder that
  253. represent a property or a ITemplate.
  254. * ControlBuilder.cs: implemented all the missing bits.
  255. * TemplateParser.cs: added mapping from tag name to Type feature.
  256. 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
  257. * Control.cs: have i definitely fixed naming container stuff this time?
  258. * LosFormatter.cs: activated binary serialization code.
  259. 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
  260. * Control.cs:
  261. (AddedControl): fixed default id assignation when the sequence of
  262. AddedControl until it's included in the page or one of its controls
  263. does not pass through a naming container.
  264. 2003-02-09 Gonzalo Paniagua Javier <[email protected]>
  265. * Control.cs: give different default names depending on the place where
  266. it is assigned. Implemented ResolveURl (no more ~ rendered in
  267. attributes!).
  268. 2003-02-08 Gonzalo Paniagua Javier <[email protected]>
  269. * Control.cs: when adding a control, assign default names to th
  270. children that don't have one.
  271. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  272. * SimpleWebHandlerParser.cs: modified to use the new parser interface.
  273. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  274. * Control.cs: some more tweaks to naming containers stuff.
  275. * DataBinder.cs: don't throw exception if the container is null.
  276. * Page.cs: now we can render client scripts, startup scripts and hidden
  277. fields. Only render __VIEWSTATE if there is someone that will take care
  278. of it.
  279. (RaisePostBackEvents): first try the last one that required raise event,
  280. then try __EVENTTARGET.
  281. 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
  282. * Control.cs: fixes in UniqueID, FindControl, AddedControl,
  283. UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
  284. FindControl work with NamingContainers.
  285. * ControlCollection.cs: notify the parent when clearing the collection.
  286. * LosFormatter.cs: Added debugging output and generate a valid
  287. viewstate even for unknown types.
  288. * Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
  289. viewstate.
  290. 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
  291. * Page.cs: make it fire the LoadData related events also for controls
  292. such as ImageButton, whose variable(s) in the query string are of the
  293. form ctrl_name.x and only fire them once per control.
  294. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  295. * DataBinder.cs:
  296. (GetPropertyValue): don't try to get the property as indexed
  297. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  298. * DataBinder.cs: use TypeDescriptor to get the properties and their
  299. values.
  300. 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
  301. * Control.cs:
  302. (AddedControl): take the children to the same state of the parent.
  303. (InitRecursive): set the page of the children.
  304. * Page.cs: removed one line (it's done a few lines above).
  305. * UserControl.cs:
  306. (OnInit): always call InitializeAsUserControl
  307. (InitializeAsUserControl): sets the page for the control.
  308. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  309. * Control.cs: fixed bug #36037.
  310. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  311. * BaseParser.cs: a couple of path fixes to make it work
  312. when the page is not in the root directory.
  313. 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
  314. * Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
  315. reporting the bug.
  316. 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
  317. * BaseParser.cs: use MapPath and context to locate files.
  318. * Control.cs: implemented MapPathSecure.
  319. * TemplateControl.cs: use UrlUtils to generate the path.
  320. * TemplateControlParser.cs: use the context and MapPath.
  321. * UserControl.cs: implemented MapPath.
  322. * UserControlParser.cs: added context parameter to constructor.
  323. 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
  324. * Control.cs: implemented MapPathSecure.
  325. * Page.cs: fixed Server property.
  326. 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
  327. * DataBinder.cs: try the indexer if the property is not found in
  328. GetPropertyValue ().
  329. 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
  330. * Control.cs: added AutoEventWireup internal property.
  331. * Page.cs: removed page events wire up from here.
  332. * TemplateControl.cs: new method WireupAutomaticEvents to hook up page
  333. and user controls events.
  334. * TemplateControlParser.cs: process the options that are applicable
  335. once we have the instance of the control.
  336. * TemplateParser.cs: also stores the options.
  337. * UserControl.cs: hook up events before initializing the control.
  338. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  339. * Control.cs: new method to set bindingContainer value.
  340. * TemplateControl.cs: added controls are not binding containers.
  341. 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
  342. * Control.cs: implemented TemplateSourceDirectory.
  343. * TemplateControl.cs: implemented LoadControl and LoadTemplate.
  344. 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
  345. * UserControl.cs: fixed SetAttribute.
  346. * UserControlParser.cs: set the correct base type.
  347. 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
  348. * TemplateParser.cs: fixed BaseType.
  349. * UserControlParser.cs: helper class to compile user controls.
  350. 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
  351. * LosFormatter.cs: added DateTime to special types.
  352. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  353. * LosFormatter.cs: added array serialization support. Disabled binary
  354. serialization and add some debugging code.
  355. * StateBag.cs: the length of the list of value can be less than the
  356. length if the list of keys when remaining values are null.
  357. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  358. * Page.cs: return something useful in GetPostBackClientEvent.
  359. 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
  360. * Page.cs: implemented FileDependecies and made it protected.
  361. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  362. * Control.cs: save control names instead of the controls
  363. themselves to the ViewState.
  364. * LosFormatter.cs: added support for serializing unknown
  365. types. BinaryFormatter does not work so you better don't store anything
  366. of unknown Type in ViewState.
  367. * Page.cs: GetViewStateString works now using LosFormatter.
  368. Complete "Control execution lifecycle" by unloading all the child
  369. controls. Check for null in RaisePostBackEvents.
  370. LoadPageViewStateFromPersistenceMedium uses LosFormatter too.
  371. 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
  372. * DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.
  373. 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
  374. * LosFormatter.cs: Use WebEncoding.Encoding.
  375. * Control.cs:
  376. * Page.cs: fixed namespace.
  377. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  378. * Page.cs: set the context in ProcessRequest. Added a few trace calls.
  379. * Control.cs: added some trace information.
  380. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  381. * SimpleHandlerFactory.cs: new handler for .ashx files.
  382. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  383. * System.Web.UI/PageHandlerFactory.cs: new file.
  384. * System.Web.UI/PageParser.cs:
  385. * System.Web.UI/TemplateControlParser.cs: we are now able to compile
  386. pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.
  387. 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
  388. * Control.cs: implemented ObBubbleEvent.
  389. * Page.cs: temporary workaround to make POST work with xsp server.
  390. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  391. * Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
  392. return pvt methods.
  393. 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
  394. * SimpleWebHandlerParser.cs: New file.
  395. * WebServiceParser.cs: New file.
  396. 2002-08-22 Gonzalo Paniagua Javier <[email protected]>
  397. * LosFormatter.cs: almost fully implemented.
  398. 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
  399. * CompiledTemplateBuilder.cs: InstantiateIn is virtual.
  400. * EmptyControlCollection.cs: throw correct exception.
  401. * LosFormatter.cs: stubbed out.
  402. * OutputCacheLocation.cs: little fix.
  403. 2002-08-16 Gonzalo Paniagua Javier <[email protected]>
  404. * System.Web.UI/ApplicationFileParser.cs:
  405. * System.Web.UI/BaseParser.cs:
  406. * System.Web.UI/PageParser.cs:
  407. * System.Web.UI/TemplateControl.cs:
  408. * System.Web.UI/TemplateControlParser.cs:
  409. * System.Web.UI/TemplateParser.cs: first steps to move xsp into
  410. System.Web.
  411. 2002-07-30 Gonzalo Paniagua Javier <[email protected]>
  412. * Page.cs: request to render postback script can be after form started
  413. rendering.
  414. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  415. * Page.cs: added more page events to invoke automagically if some
  416. methods are defined.
  417. 2002-07-22 Gonzalo Paniagua Javier <[email protected]>
  418. * Control.cs:
  419. (SaveViewState): save state even when control is not visible.
  420. (SaveViewStateRecursive):
  421. (LoadViewStateRecursive): made internal.
  422. 2002-07-21 Gonzalo Paniagua Javier <[email protected]>
  423. * Page.cs: improved event raising to allow client postback for a wider
  424. variety of actions (clicking an hyperlink, ...).
  425. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  426. * UserControl.cs: implemented Load/SaveViewState.
  427. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  428. * AttributeCollection.cs:
  429. (Add): handle 'style' through styleCollection.
  430. * CssStyleCollection.cs:
  431. (fillStyle): renamed to FillStyle and made it internal.
  432. * Page.cs:
  433. (GetViewStateString): fixed, broken after other recent changes.
  434. (ProcessPostData): allow a second try for postback data after OnLoad.
  435. (ProcessRequest): clear controls collection, removed call to
  436. UnloadRecursive.
  437. 2002-07-19 Gonzalo Paniagua Javier <[email protected]>
  438. * Control.cs: uncommented Dispose.
  439. * Page.cs:
  440. (DeterminePostBackMode): more checkings.
  441. (GetPostBackClientHyperLink): implemented.
  442. (GetPostBackEventReference): added some comments with the HTML that MS
  443. generates for that.
  444. (ProcessRequest): fixed processing order. The page is unloaded after
  445. a request and regenerated from view state on subsequents posts.
  446. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  447. * Control.cs: fixed related to ViewState. Added RemovedControl.
  448. * ControlCollection.cs: notify owner of control removal.
  449. * CssStyleCollection.cs: almost rewritten to make it render the style
  450. attribute after changes to it.
  451. * Page.cs: follow the guidelines in 'Control execution lifecycle'.
  452. Removed Xml code.
  453. * StateBag.cs: don't use IDictionary.GetEnumerator on the
  454. HybridDictionary: it makes the program give an InvalidCastException at
  455. runtime. Why?
  456. 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
  457. * Page.cs: fire Init and Load events for all children.
  458. 2002-07-14 Gonzalo Paniagua Javier <[email protected]>
  459. * UserControl.cs: New file.
  460. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  461. * ControlBuilderAttribute.cs: finished implementation.
  462. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  463. * ConstructorNeedsTagAttribute.cs: the default constructor sets the
  464. property to false.
  465. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  466. * System.Web.UI/AttributeCollection.cs: added CssStyleCollection.
  467. * System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
  468. Hashtable. Added internal .ctor.
  469. * System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
  470. Equals and GetHashCode.
  471. * System.Web.UI/DataBoundLiteralControl.cs:
  472. (LoadViewState):
  473. (SaveViewState): implemented.
  474. * System.Web.UI/Page.cs: FileDependencies is not public.
  475. * System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
  476. (GetHashCode):
  477. (Equals):
  478. (IsDefaultAttribute): implemented.
  479. 2002-07-08 Gonzalo Paniagua Javier <[email protected]>
  480. * Control.cs: fixed Visible property.
  481. * Page.cs: fixed GetViewStateString.
  482. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  483. * System.Web.UI/Page.cs:
  484. (GetViewStateString): new function to give the server access to the
  485. generated view state string.
  486. (Validate): d'oh!
  487. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  488. * Control.cs:
  489. (SaveViewstateRecursive): implemented.
  490. (SaveViewState): fixed.
  491. (IParserAccessor.AddParsedSubObject): don't use 'this'.
  492. * Page.cs: added code to save view state to an xml file. It's not
  493. being used right now.
  494. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  495. * System.Web.UI/LiteralControl.cs:
  496. Fixes based on class status page:
  497. - Add attributes (DefaultEvent, ParseChildren).
  498. - Fix declarations.
  499. - Explicitly implement some interfaces (IPostBackDataHandler
  500. and IPostBackEventHandler).
  501. - Implemented some missing methods.
  502. 2002-06-29 Gonzalo Paniagua Javier <[email protected]>
  503. * Control.cs: reimplemented FindControls.
  504. * Page.cs:
  505. (.ctor): set the page for this control.
  506. (IsPostBack): return valid value.
  507. (DeterminePostBackMode): finished.
  508. (OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
  509. (ProcessPostData): implemented. Raises change and postback events.
  510. (ProcessRequest): changed to support reuse of the instance.
  511. (RegisterRequiresPostBack): implemented.
  512. * ValidatorCollection.cs: implemented all methods.
  513. 2002-06-25 Gonzalo Paniagua Javier <[email protected]>
  514. * Control.cs:
  515. * Page.cs: first attemp to save view state.
  516. * HtmlForm.cs: don't render Action.
  517. 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
  518. * Page.cs: implemented more properties using information we already
  519. have in Context.
  520. (OnFormRender):
  521. (OnFormPostRender):
  522. (VerifyRenderingInServerForm): implemented.
  523. 2002-06-22 Gonzalo Paniagua Javier <[email protected]>
  524. * Page.cs: changed InvokeEventMethod to use a GetMethod that works with
  525. out runtime. Renamed Page_Init and Page_Load.
  526. After this, we can load a dll and render HTML in linux.
  527. 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
  528. * Control.cs:
  529. (AddedControl): new function that is called whenever a control is
  530. added to a collection of controls in a container. It sets the defaults
  531. except for Page.
  532. * ControlCollection.cs: call AddedControl in Add/AddAt.
  533. * DataBoundLiteralControl.cs: implemented constructor, Text, Render,
  534. SetStaticString and SetDataBoundString.
  535. * Page.cs: removed SetDefaults.
  536. 2002-06-19 Gonzalo Paniagua Javier <[email protected]>
  537. * CompiledTemplateBuilder.cs: new file. Used in the code generated
  538. by xsp.
  539. * Control.cs:
  540. (BindingContainer): implemented.
  541. (EnsureChildControls): avoid stack overflow.
  542. * DataBinder.cs: implemented Eval and PropertyValue.
  543. 2002-06-18 Gonzalo Paniagua Javier <[email protected]>
  544. * HtmlTextWriter.cs: fixed style attributes rendering (almost the same
  545. bug as in regular attributes).
  546. 2002-06-17 Gonzalo Paniagua Javier <[email protected]>
  547. * Control.cs: implemented PreventAutoID.
  548. * Page.cs:
  549. (SetDefaults): don't set ID automatically if Control.PreventAutoID has
  550. been called.
  551. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  552. * Page.cs:
  553. (Validators): if the collection is null, create one.
  554. (GetPostBackEventReference 2): don't throw exception.
  555. (GetPostBackClientEvent): return a string with containing the method
  556. name, the control name and the argument.
  557. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  558. * Page.cs: SetPage is now called SetDefaults and also sets a default
  559. ID for controls that don't have one yet.
  560. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  561. * Page.cs:
  562. (GetPostBackClient):
  563. (RegisterRequiresPostBack): don't throw NotImplementedException to
  564. keep going.
  565. (ProcessRequest): set the current page as the Page property for *all*
  566. the controls, not just the direct children of the page.
  567. 2002-06-11 Gonzalo Paniagua Javier <[email protected]>
  568. * Control.cs:
  569. (MapPathSecure): until security is implemented, return the same path
  570. received as argument.
  571. (RenderControl): call OnPreRender before rendering the control. So
  572. AdRotator can read its configuration file.Is there any other place
  573. where this should be done?
  574. * HtmlTextWriter.cs:
  575. (AddAttribute): fixed. Now it really stores attributes.
  576. (RenderBeginTag): fixed a couple of bugs (little ones but hard to find).
  577. 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
  578. * ControlCollection.cs:
  579. (AddAt): if index is -1 behave as a plain Add.
  580. 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
  581. * Page.cs: for each child control to render, assign Control.Page.
  582. Probably also needed in HtmlContainerControl derived classes.
  583. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  584. * AttributeCollection.cs: don't need a Hastable. StateBag now works
  585. fine and takes care of the details.
  586. * Control.cs: added HasChildren property.
  587. * StateBag.cs: fixed a couple of nasty bugs.
  588. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  589. * Page.cs: run OnInit, OnLoad y PreRender before rendering the page.
  590. Invoke Page_Init and/or Page_Load if the user supplied them (though
  591. this should depend on AutoEventWireUp attribute of Page directive).
  592. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  593. * Control.cs: don't throw exception in ControlID. By now, it returns ID.
  594. * Page.cs:
  595. (ProcessRequest): implemented.
  596. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  597. * System.Web.UI/Page.cs: finished stubbing out. Implemented some
  598. methods.
  599. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  600. * Page.cs:
  601. (FileDependencies): now is public public.
  602. (EnableViewStateMAC): uncommented and made protected.
  603. (GetTypeHashCode): added method.
  604. 2002-05-24 Duncan Mak <[email protected]>
  605. * TemplateControl.cs (SetStringResourcePointer): Fixed typo.
  606. * StateBag.cs (Item): Changed the visibility level of the this
  607. [object] indexer.
  608. Misc. formatting edits, fixing some bugs introduced by the indentation.
  609. * DataBinder.cs (Eval)
  610. (GetIndexedPropertyValue)
  611. (GetPropertyValue): Fixed return types.
  612. 2002-05-21 Miguel de Icaza <[email protected]>
  613. * HtmlTextWriter.cs: Use this to change the member instances.
  614. 2002-05-17 Duncan Mak <[email protected]>
  615. * AttributeCollection.cs:
  616. * ControlCollection.cs:
  617. * CssStyleCollection.cs:
  618. * DataBindingCollection.cs:
  619. * EmptyControlCollection.cs: Added missing Collection classes.
  620. 2002-05-17 Duncan Mak <[email protected]>
  621. * BaseParser.cs:
  622. * TemplateParser.cs: Implemented. BaseParser is weird because
  623. there is no documentation on what it does.
  624. * ControlBuilder.cs:
  625. * DataBinder.cs:
  626. * DataBinding.cs: Added.
  627. * DataBoundLiteralControl.cs:
  628. * Triplet.cs: Added.
  629. * RenderMethod.cs: Added this delegate for Control.cs
  630. 2002-05-15 Gonzalo Paniagua Javier <[email protected]>
  631. * ValidationPropertyAttribute.cs: a couple of fixes to make it compile.
  632. 2002-05-14 Duncan Mak <[email protected]>
  633. * ValidationPropertyAttribute.cs: Added to CVS.
  634. 2002-05-10 Duncan Mak <[email protected]>
  635. * ConstructorNeedsTagAttribute.cs:
  636. * ControlBuilderAttribute.cs:
  637. * ImageClickEventArgs.cs:
  638. * ParseChildrenAttribute.cs:
  639. * PartialCachingAttribute.cs:
  640. * PersistChildrenAttribute.cs:
  641. * PersistenceModeAttribute.cs:
  642. * TemplateContainerAttribute.cs: Added to CVS.
  643. * PersistanceMode.cs: Removed, fixed typo.
  644. * PersistenceMode.cs: Replacing above.
  645. * StateBag.cs (this): Fixed indexer, it takes a string as the
  646. index, not an object.
  647. * ValidatorCollection.cs: Fixed typo, ValidatedCollection to ValidatorCollection.
  648. * Page.cs (Validators): return type should be ValidatorCollection,
  649. not ValidatedCollection.
  650. * TagPrefixAttribute.cs: Added to CVS.
  651. 2002-05-07 Duncan Mak <[email protected]>
  652. * Utils.cs (GetClientValidatedEvent): Uncommented the 'Page' argument.
  653. 2002-03-26 Gaurav Vaish <[email protected]>
  654. * DataBindingHandlerAttribute.cs
  655. - Completed
  656. * ToolboxDataAttribute.cs - Completed
  657. 2002-01-03 Nick Drochak <[email protected]>
  658. * DesignTimeParseData.cs: initialze static member to avoid compile
  659. error
  660. * PropertyConverter.cs: remove uneeded exception variables from
  661. catch blocks.
  662. 2002-01-02 Nick Drochak <[email protected]>
  663. * DesignTimeParseData.cs: fix header to show correct class name
  664. 2001-12-21 Gaurav Vaish <[email protected]>
  665. * StateBag.cs - Completed
  666. 2001-12-19 Gaurav Vaish <[email protected]>
  667. * Pair.cs - Small undocumented class. Completed.
  668. 2001-12-18 Gaurav Vaish <[email protected]>
  669. * DesignTimeParseData.cs - Initial implementation
  670. * StateBag.cs - Initial implementation
  671. 2001-12-17 Gaurav Vaish <[email protected]>
  672. * PropertyConverter.cs - Undocumented class. Completed.
  673. * Utils.cs - Undocumented, private class.
  674. Initial implementation
  675. 2001-08-28 Bob Smith <[email protected]>
  676. * Control.cs: Figured out some undocumented API.
  677. * Added TODO.
  678. * BuildMethod.cs: Initial implementation.
  679. * BuildTemplateMethod.cs: Initial implementation.
  680. * HtmlTextWriterAttribute.cs: Initial implementation.
  681. * HtmlTextWriterStyle.cs: Initial implementation.
  682. * HtmlTextWriterTag.cs: Initial implementation.
  683. * IAttributeAccessor.cs: Initial implementation.
  684. * IDataBindingsAccessor.cs: Initial implementation.
  685. * ImageClickEventHandler.cs: Initial implementation.
  686. * INamingContainer.cs: Initial implementation.
  687. * IParserAccessor.cs: Initial implementation.
  688. * IPostBackDataHandler.cs: Initial implementation.
  689. * IPostBackEventHandler.cs: Initial implementation.
  690. * IStateManager.cs: Initial implementation.
  691. * ITagNameToTypeMapper.cs: Initial implementation.
  692. * ITemplate.cs: Initial implementation.
  693. * IValidator.cs: Initial implementation.
  694. * OutputCacheLocation.cs: Initial implementation.
  695. * PersistanceMode.cs: Initial implementation.
  696. * StateItem.cs: Initial implementation.
  697. 2001-08-27 Bob Smith <[email protected]>
  698. * Control.cs: Bug fixes and implementations.
  699. 2001-08-24 Bob Smith <[email protected]>
  700. * Control.cs: Bug fixes.
  701. 2001-08-23 Bob Smith <[email protected]>
  702. * Control.cs: More implementation. Events reworked for performance.
  703. 2001-08-22 Bob Smith <[email protected]>
  704. * LiteralControl.cs: Implemented.
  705. * Control.cs: Even more implementation (Events). What a beast.
  706. 2001-08-20 Bob Smith <[email protected]>
  707. * Control.cs: More implementation. Not done yet. Shutter.
  708. 2001-08-17 Bob Smith <[email protected]>
  709. * Control.cs: Partial implementation.