ChangeLog 36 KB

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