ChangeLog 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083
  1. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  2. * HtmlForm.cs: more class-status fixes.
  3. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  4. * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
  5. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  6. * HtmlTable.cs: use the base class RenderChildren, as '_rows'
  7. might not be the actual collection being used. Fixes bug #76815.
  8. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  9. * HtmlInputFile.cs: if no one else set the encoding type for the
  10. containing form and there's a HtmlInputFile, set Enctype to
  11. 'multipart/form-data'. Fixes bug #76837.
  12. 2005-11-21 Gonzalo Paniagua Javier <[email protected]>
  13. * HtmlInputButton.cs: render the onclick attribute only when the
  14. button is a 'submit' and no validators or when the button is a
  15. 'button' and there's a registered ServerClick event. Fixes bug #76781.
  16. 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
  17. * HtmlForm.cs: register the form and require viewstate hidden field to
  18. be rendered in Render() even if OnInit is not called.
  19. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  20. * HtmlHead.cs: fix the 2.0 build.
  21. 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
  22. * HtmlForm.cs: when transfering from one page to another and using
  23. cookieless session, we were doing pretty bad. Now, if the current path
  24. and the original are the same, we just use the filename. Otherwise
  25. we make the action location be relative to the original URL.
  26. 2005-09-19 Gonzalo Paniagua Javier <[email protected]>
  27. * HtmlInputButton.cs: render the onclick for doing a postback even when
  28. there are no validators.
  29. 2005-09-19 Sebastien Pouliot <[email protected]>
  30. * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
  31. 2005-09-19 Sebastien Pouliot <[email protected]>
  32. * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
  33. [UrlProperty] on HRef property for 2.0.
  34. * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
  35. * HtmlHead.cs: Remove IPageHeader interface.
  36. * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
  37. * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
  38. * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
  39. * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
  40. * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
  41. [UrlProperty] on Src property for 2.0.
  42. * HtmlInputPassword.cs: Added [SupportsEventValidation].
  43. * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
  44. * HtmlInputReset.cs: Added [SupportsEventValidation].
  45. * HtmlInputSubmit.cs: Added [SupportsEventValidation].
  46. * HtmlInputText.cs: Added [SupportsEventValidation] on class and
  47. re-enabled RenderAttribute for 2.0.
  48. * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
  49. * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
  50. * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
  51. 2005-09-18 Chris Toshok <[email protected]>
  52. * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
  53. instead of AddAttribute when dealing with "onclick."
  54. 2005-09-14 Sebastien Pouliot <[email protected]>
  55. * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
  56. 2005-09-11 Chris Toshok <[email protected]>
  57. * HtmlInputFile.cs (set_Value): add a message to the
  58. NotSupportedException.
  59. * HtmlInputControl.cs (RenderAttributes): add Page != null to the
  60. checks before we register our control with the
  61. __enabledControlArray JS array.
  62. 2005-09-09 Chris Toshok <[email protected]>
  63. * HtmlInputButton.cs (CausesValidation): this is stored in
  64. Attributes, not ViewState.
  65. (ValidationGroup): same.
  66. (RenderAttributes): remove CausesValidation from the list of
  67. Attributes before calling base.RenderAttributes. Don't, however,
  68. remove ValidationGroup, to replicate an MS bug.
  69. 2005-09-07 Chris Toshok <[email protected]>
  70. * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
  71. (Name): not sure about this property.. the getter apparently just
  72. returns UniqueID, and the setter does nothing that I can figure
  73. out.
  74. (RenderAttributes): don't bother to remove "name", since it's not
  75. in the attributes anyway.
  76. 2005-09-07 Gonzalo Paniagua Javier <[email protected]>
  77. * HtmlInputControl.cs: use the Name property instead of the ClientID.
  78. The 'name' attribute rendered contains colons if inside a
  79. NamingContainer.
  80. 2005-09-07 Chris Toshok <[email protected]>
  81. * HtmlInputCheckBox.cs (Checked): uncomment the
  82. MinimizableAttributeTypeConverter attribute.
  83. * HtmlControl.cs (Disabled): uncomment the
  84. MinimizableAttributeTypeConverter attribute.
  85. * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
  86. * HtmlTableCell.cs (NoWrap): uncomment the
  87. MinimizableAttributeTypeConverter attribute.
  88. * HtmlLink.cs (Href): remove the MonoTODO.
  89. * HtmlMeta.cs (Name): remove the MonoTODO.
  90. (Scheme): same.
  91. (Render): add (pretty bogus, really..) implementation. not sure
  92. why we need this one.
  93. 2005-09-06 Chris Toshok <[email protected]>
  94. * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
  95. null.
  96. 2005-09-06 Chris Toshok <[email protected]>
  97. * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
  98. ID.
  99. 2005-09-06 Chris Toshok <[email protected]>
  100. * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
  101. (AddedControl): move the HtmlTitle logic here.
  102. (RemovedControl): clear out the title if that was the control that
  103. was removed.
  104. * HtmlLink.cs: new implementation.
  105. * HtmlMeta.cs: new implementation.
  106. 2005-09-06 Chris Toshok <[email protected]>
  107. * HtmlInputControl.cs (RenderAttributes): add ourselves to the
  108. __enabledControlArray JS array if we're currently enabled and the
  109. form is set to SubmitDisabledControls.
  110. * HtmlForm.cs (OnInit): call Page.RegisterForm here.
  111. (DetermineRenderUplevel): split this out of OnPreRender and make
  112. it internal so HtmlInputControl can call it.
  113. (OnPreRender): add handling for SubmitDisabledControls.
  114. 2005-09-05 Chris Toshok <[email protected]>
  115. * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
  116. or in the ViewState. where then?
  117. (DefaultFocus): this one is stored in the ViewState, not as an
  118. Attribute.
  119. (SubmitDisabledControls): implement just as a boolean flag, not in
  120. the viewstate or attributes.
  121. (RenderAttributes): defaultfocus and defaultbutton are no longer
  122. in Attributes.
  123. 2005-09-04 Chris Toshok <[email protected]>
  124. * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
  125. * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
  126. * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
  127. * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
  128. way, and in OnPreRender, call Page.RegisterRequiresPostback.
  129. * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
  130. and in OnPreRender, call Page.RegisterRequiresPostback.
  131. * HtmlInputRadioButton.cs (OnPreRender): call
  132. Page.RegisterRequiresPostback.
  133. * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
  134. Also, in OnPreRender, call Page.RegisterRequiresPostback.
  135. * HtmlTextArea.cs (OnPreRender): call
  136. Page.RegisterRequiresPostback.
  137. 2005-09-02 Chris Toshok <[email protected]>
  138. * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
  139. 2005-09-02 Chris Toshok <[email protected]>
  140. * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
  141. * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
  142. raisepostdatachangedevent, and raisepostbackevent.
  143. (validationgroup): implement.
  144. * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
  145. and raisepostdatachangedevent.
  146. * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
  147. and RaisePostDataChangedEvent.
  148. * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
  149. body of both RaisePostBackEvent impl's here, and fix it up so we
  150. use the property Page.Validate call in 2.0.
  151. (RaisePostBackEvent): call RaisePostBackEventInternal.
  152. (IPostBackEventHandler.RaisePostBackEvent): same.
  153. * HtmlImage.cs (Align): the test case shows that we don't need to
  154. validate input.
  155. 2005-09-01 Sebastien Pouliot <[email protected]>
  156. * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
  157. HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
  158. HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
  159. HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
  160. HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
  161. HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
  162. HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
  163. HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
  164. HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
  165. attributes AspNetHostingPermission for Minimal level on all classes
  166. (LinkDemand) and for non-sealed classes (InheritanceDemand).
  167. 2005-08-29 Chris Toshok <[email protected]>
  168. * System.Web.UI.HtmlControls/HtmlTableCell.cs,
  169. System.Web.UI.HtmlControls/HtmlInputFile.cs,
  170. System.Web.UI.HtmlControls/HtmlForm.cs,
  171. System.Web.UI.HtmlControls/HtmlInputText.cs,
  172. System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
  173. System.Web.UI.HtmlControls/HtmlAnchor.cs,
  174. System.Web.UI.HtmlControls/HtmlButton.cs,
  175. System.Web.UI.HtmlControls/HtmlTextArea.cs,
  176. System.Web.UI.HtmlControls/HtmlGenericControl.cs,
  177. System.Web.UI.HtmlControls/HtmlSelect.cs,
  178. System.Web.UI.HtmlControls/HtmlTableRow.cs,
  179. System.Web.UI.HtmlControls/HtmlControl.cs,
  180. System.Web.UI.HtmlControls/HtmlImage.cs,
  181. System.Web.UI.HtmlControls/HtmlTable.cs,
  182. System.Web.UI.HtmlControls/HtmlInputButton.cs,
  183. System.Web.UI.HtmlControls/HtmlInputControl.cs,
  184. System.Web.UI.HtmlControls/HtmlInputImage.cs,
  185. System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
  186. System.Web.UI.HtmlControls/HtmlInputHidden.cs,
  187. System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
  188. attributes.
  189. 2005-08-29 Chris Toshok <[email protected]>
  190. * HtmlInputSubmit.cs: new implementation.
  191. * HtmlInputReset.cs (ValidationGroup): implement
  192. * HtmlInputButton.cs (ValidationGroup): implement.
  193. 2005-08-29 Chris Toshok <[email protected]>
  194. * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
  195. * HtmlForm.cs: same.
  196. 2005-08-28 Gonzalo Paniagua Javier <[email protected]>
  197. * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
  198. but not used. Call ResolveUrl when rendering the attributes instead.
  199. 2005-08-28 Chris Toshok <[email protected]>
  200. * HtmlHeadBuilder.cs: this is public.
  201. * HtmlSelectBuilder.cs: in 2.0 this is public.
  202. * HtmlInputButton.cs: fix boilerplate.
  203. * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
  204. (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
  205. Page.Validation(ValidationGroup).
  206. 2005-08-28 Chris Toshok <[email protected]>
  207. * HtmlInputReset.cs: mostly complete implementation.
  208. 2005-08-28 Chris Toshok <[email protected]>
  209. * HtmlInputPassword.cs: doh, make this NET_2_0 only.
  210. 2005-08-28 Chris Toshok <[email protected]>
  211. * HtmlInputPassword.cs: implement.
  212. 2005-08-28 Chris Toshok <[email protected]>
  213. * HtmlImage.cs: corcompare fixes.
  214. * HtmlInputCheckBox.cs: same.
  215. 2005-08-27 Chris Toshok <[email protected]>
  216. * HtmlControl.cs (GetAttribute, SetAttribute): implement.
  217. 2005-08-27 Chris Toshok <[email protected]>
  218. * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
  219. (OnPreRender): figure out (hackishly) if we're uplevel rendering.
  220. If we have a default button/focus control set, register webform.js
  221. as a client script block, and emit some JS to focus the control.
  222. (RenderAttributes): verify that the DefaultButton attribute points
  223. to a valid IButtonControl implementing control. Also remove the
  224. defaultfocus/defaultbutton attributes before calling
  225. base.RenderAttributes.
  226. 2005-08-27 Kornél Pál <[email protected]>
  227. * HtmlTableCell.cs: Fixed to use Consts.
  228. 2005-08-26 Chris Toshok <[email protected]>
  229. * HtmlButton.cs (ValidationGroup): implement.
  230. (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
  231. one body of the actual RaisePostBackEvent code. Also, call
  232. Page.Validate(ValidationGroup) in the 2.0 case.
  233. 2005-08-25 Miguel de Icaza <[email protected]>
  234. * HtmlHead.cs: Implement constructor, pass the tag.
  235. 2005-08-25 Sebastien Pouliot <[email protected]>
  236. * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
  237. 2005-08-25 Chris Toshok <[email protected]>
  238. * HtmlForm.cs (CreateControlCollection, OnPreRender,
  239. RenderControl): implement naively, just calling base.Method.
  240. 2005-08-25 Chris Toshok <[email protected]>
  241. * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
  242. the last '/' when rendering the action. Fixes comments in
  243. nGallery.
  244. 2005-08-24 Chris Toshok <[email protected]>
  245. * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
  246. HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
  247. HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
  248. Add MonoTODO's for all NotImplementedException's.
  249. 2005-08-18 Dick Porter <[email protected]>
  250. * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
  251. HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
  252. HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
  253. HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
  254. HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
  255. HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
  256. 2005-08-15 Sebastien Pouliot <[email protected]>
  257. * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
  258. Load method (bad choice) to DefaultLoadPostData.
  259. 2005-08-15 Sebastien Pouliot <[email protected]>
  260. * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
  261. * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
  262. method. Fixed support for protected LoadPostData and
  263. RaisePostDataChangedEvent in 2.0 (recursion).
  264. * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
  265. LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
  266. * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
  267. LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
  268. 2005-08-15 Sebastien Pouliot <[email protected]>
  269. * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
  270. for 2.0 profile. The class seems to be internal and not (yet?)
  271. implemented.
  272. 2005-08-13 Sebastien Pouliot <[email protected]>
  273. * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
  274. * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
  275. (at least) HtmlInputControl in 2.0 profile.
  276. * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
  277. * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
  278. 2005-08-09 Dick Porter <[email protected]>
  279. * HtmlSelect.cs: Clear databindings when adding a new one; cope
  280. with assorted combinations of empty text and value fields; write
  281. <option> tags manually to match ms HTML output. All fix nunit
  282. tests.
  283. 2005-08-08 Sebastien Pouliot <[email protected]>
  284. * HtmlInputControl.cs: Remove code to handle password (wrong place)
  285. and fixed type handling for 2.0.
  286. * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
  287. the type == password. Tests indicates that the value is present for
  288. 2.0.
  289. 2005-08-05 Dick Porter <[email protected]>
  290. * HtmlSelect.cs: Fix databinding when one or other of Name and
  291. Value aren't supplied (thanks to Peter for the patch); Make
  292. <option> indenting match ms output.
  293. 2005-07-30 Ben Maurer <[email protected]>
  294. * HtmlForm.cs: Make sure we actually put the "?" in the url
  295. 2005-07-29 Dick Porter <[email protected]>
  296. * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
  297. instead of building the query string by hand
  298. 2005-07-27 Dick Porter <[email protected]>
  299. * HtmlInputCheckBox.cs: New implementation
  300. 2005-07-26 Peter Dennis Bartok <[email protected]>
  301. * HtmlSelect.cs: Added missing attributes
  302. 2005-07-26 Dick Porter <[email protected]>
  303. * HtmlSelect.cs: New implementation
  304. 2005-07-26 Miguel de Icaza <[email protected]>
  305. * HtmlForm.cs: It is possible to have keys with no values in the
  306. query string, do not try to process those on the foreach loop.
  307. The question is: what should happen if I only get the key?
  308. Example: file_with_a_form.aspx?a
  309. 2005-07-25 Peter Dennis Bartok <[email protected]>
  310. * HtmlForml.cs: Implemented UniqueID (new in sp1)
  311. * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
  312. 2005-07-24 Dick Porter <[email protected]>
  313. * HtmlForm.cs: Add the trailing query string to the form action;
  314. fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
  315. 2005-07-22 Dick Porter <[email protected]>
  316. * HtmlInputFile.cs: Add assembly attributes
  317. 2005-07-21 Dick Porter <[email protected]>
  318. * HtmlImage.cs: The src attribute needs to be a relative URL;
  319. close the HTML element when rendering attributes, to match the MS
  320. impl.
  321. * HtmlForm.cs: Added assembly attributes; don't render ID twice;
  322. don't render enctype and target if they are empty strings;
  323. implement a Render overload to keep corcompare quiet.
  324. 2005-07-20 Chris Toshok <[email protected]>
  325. * HtmlForm.cs (RenderAttributes): if there are submit statements,
  326. we need to render those.
  327. * HtmlInputImage.cs: same.
  328. * HtmlInputButton.cs: hook up the client validation stuff.
  329. * HtmlButton.cs: same, except a lot more complicated due to
  330. postback handling.
  331. 2005-07-19 Dick Porter <[email protected]>
  332. * HtmlImage.cs: Added attributes; use Int32.Parse instead of
  333. Convert.ToInt32
  334. 2005-07-18 Sebastien Pouliot <[email protected]>
  335. * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
  336. ControlID for Name (and not ID). Added ControlBuilder attribute.
  337. * HtmlTable.cs: Simplify check when adding controls.
  338. * HtmlTableRow.cs: Simplify check when adding controls.
  339. 2005-07-18 Jackson Harper <[email protected]>
  340. * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
  341. attribute.
  342. 2005-07-15 Jackson Harper <[email protected]>
  343. * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
  344. constant. Update fetching from viewstate code to use new
  345. convenience method.
  346. 2005-07-15 Jackson Harper <[email protected]>
  347. * HtmlInputButton.cs: Add DefaultEventAttribute.
  348. 2005-07-15 Sebastien Pouliot <[email protected]>
  349. * HtmlInputControl.cs: Removed internal property (no more required to
  350. compile).
  351. * HtmlInputRadioButton.cs: Optimized events.
  352. * HtmlInputText.cs: Optimized events.
  353. * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
  354. strings to integers.
  355. * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
  356. strings to integers.
  357. * HtmlTextArea.cs: Optimized events.
  358. 2005-07-15 Sebastien Pouliot <[email protected]>
  359. * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
  360. result) and fixed compatibility for a weird behaviour of the HRef
  361. attribute handling. Optimized events.
  362. 2005-07-14 Jackson Harper <[email protected]>
  363. * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
  364. string constant. Use new method for accessing ViewState
  365. data. Don't remove value from the view state if it is the default.
  366. 2005-07-14 Jackson Harper <[email protected]>
  367. * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
  368. string constant. Use new method for accessing ViewState
  369. data. Don't remove value from the view state if it is the default.
  370. 2005-07-14 Dick Porter <[email protected]>
  371. * HtmlInputFile.cs: New implementation
  372. 2005-07-14 Jackson Harper <[email protected]>
  373. * HtmlInputControl.cs: Use ClientID for input controls name.
  374. 2005-07-14 Dick Porter <[email protected]>
  375. * HtmlForm.cs: New Implementation
  376. 2005-07-13 Sebastien Pouliot <[email protected]>
  377. * HtmlTable.cs: Added missing attributes.
  378. * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
  379. as the builder's type isn't public.
  380. * HtmlInputControl.cs: Added missing attributes.
  381. * HtmlInputText.cs: Added missing attributes.
  382. * HtmlInputRadioButton.cs: Added missing attributes.
  383. * HtmlAnchor.cs: Added missing attributes.
  384. * HtmlTextArea.cs: Added missing attributes.
  385. * HtmlTableRow.cs: Added missing attributes.
  386. 2005-07-12 Sebastien Pouliot <[email protected]>
  387. * HtmlAnchor.cs: Added DefaultValue attributes.
  388. * HtmlInputControl.cs: Added DefaultValue attributes.
  389. * HtmlInputRadioButton.cs: Added DefaultValue attributes.
  390. * HtmlInputText.cs: Added DefaultValue attributes. Added method
  391. RenderAttributes in 1.1 profile.
  392. * HtmlTable.cs: Fix DefaultValue to "".
  393. * HtmlTextArea.cs: Added DefaultValue attributes.
  394. 2005-07-12 Sebastien Pouliot <[email protected]>
  395. * HtmlTableCell.cs: Added DefaultValue attributes.
  396. * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
  397. * HtmlTableRowCollection.cs: Reworked collection to share data with
  398. HtmlTable.Controls.
  399. * HtmlTableCellCollection.cs: Reworked collection to share data with
  400. HtmlTableRow.Controls.
  401. * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
  402. 2005-07-09 Sebastien Pouliot <[email protected]>
  403. * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
  404. 2005-07-08 Sebastien Pouliot <[email protected]>
  405. * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
  406. 2005-07-08 Sebastien Pouliot <[email protected]>
  407. * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
  408. "innerhtml".
  409. * HtmlTextArea.cs: New implementation.
  410. 2005-07-07 Jackson Harper <[email protected]>
  411. * HtmlInputImage.cs: New implementation.
  412. 2005-07-07 Sebastien Pouliot <[email protected]>
  413. * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
  414. * HtmlInputControl.cs: New implementation.
  415. * HtmlInputRadioButton.cs: New implementation.
  416. * HtmlInputText.cs: New implementation.
  417. 2005-07-07 Jackson Harper <[email protected]>
  418. * HtmlInputHidden.cs: New implementation.
  419. 2005-07-07 Jackson Harper <[email protected]>
  420. * HtmlAnchor.cs: Call base OnPreRender from override.
  421. 2005-07-07 Jackson Harper <[email protected]>
  422. * HtmlInputButton.cs: New implementation.
  423. 2005-07-07 Dick Porter <[email protected]>
  424. * HtmlImage.cs: New implementation
  425. 2005-07-07 Sebastien Pouliot <[email protected]>
  426. * HtmlAnchor.cs: Fixed to remove attributes properly.
  427. * HtmlTable.cs: New implementation.
  428. * HtmlTableCell.cs: New implementation.
  429. * HtmlTableCellCollection.cs: New implementation.
  430. * HtmlTableRow.cs: New implementation.
  431. * HtmlTableRowCollection.cs: New implementation.
  432. 2005-07-06 Jackson Harper <[email protected]>
  433. * HtmlButton.cs: New implementation.
  434. 2005-07-06 Sebastien Pouliot <[email protected]>
  435. * HtmlAnchor.cs: New implementation.
  436. 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
  437. * HtmlTableCell.cs:
  438. * HtmlControl.cs: updates for 1.1 SP1.
  439. 2005-05-20 Gonzalo Paniagua Javier <[email protected]>
  440. * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
  441. number 74989.
  442. 2005-05-06 Lluis Sanchez Gual <[email protected]>
  443. * HtmlHead.cs: Fix warning.
  444. 2005-04-22 Lluis Sanchez Gual <[email protected]>
  445. * HtmlForm.cs: Use the new WriteSubmitStatements method from
  446. Page.ClientScript.
  447. 2005-03-11 Lluis Sanchez Gual <[email protected]>
  448. * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
  449. Page.GetPostBackClientEvent since it is deprecated in 2.0.
  450. 2005-02-25 Lluis Sanchez Gual <[email protected]>
  451. * HtmlForm.cs: Register the form in the page, so the page knows
  452. which is the main form.
  453. 2005-02-18 Lluis Sanchez Gual <[email protected]>
  454. * HtmlHead.cs: Method name fix.
  455. 2005-01-20 Gonzalo Paniagua Javier <[email protected]>
  456. * HtmlForm.cs: submitStatements holds Hashtables.
  457. 2004-12-20 Lluis Sanchez Gual <[email protected]>
  458. * HtmlHead.cs: Implemented.
  459. * HtmlHeadBuilder.cs: Implemented.
  460. * HtmlTitle.cs: Implemented.
  461. 2004-12-15 Gonzalo Paniagua Javier <[email protected]>
  462. * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
  463. 2004-11-29 Gonzalo Paniagua Javier <[email protected]>
  464. * HtmlForm.cs: fixed the Action property when running a different
  465. page than the one requested (Transfer). Closes bug #69318.
  466. 2004-11-26 Lluis Sanchez Gual <[email protected]>
  467. * HtmlForm.cs: Add submit statements from the new Page.ClientScript
  468. property.
  469. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  470. * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
  471. it and failed when the browser was IE.
  472. 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
  473. * HtmlForm.cs: default value for Enctype is "".
  474. * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
  475. we set it to "multipart/form-data". Fixes bug #58359.
  476. 2004-01-15 Alon Gazit <[email protected]>
  477. * HtmlForm.cs: The property name always return the value of the
  478. property UniqueID.
  479. 2003-12-28 Alon Gazit <[email protected]>
  480. * HtmlSelect.cs: fix typo in LoadPostData().
  481. 2003-12-29 Alon Gazit <[email protected]>
  482. * HtmlInputButton.cs: update the implementation of RenderAttributes().
  483. Change the if statement that determines if the onclick script is
  484. rendered.
  485. 2003-12-28 Alon Gazit <[email protected]>
  486. * HtmlSelect.cs: add parentheses to if statement.
  487. Currently the else statement refers to the inner if statement.
  488. 2003-12-28 Alon Gazit <[email protected]>
  489. * HtmlSelect.cs: fix upper bound of for statement.
  490. 2003-12-19 Jackson Harper <[email protected]>
  491. * HtmlInputFile.cs: Do not set value when loading post data.
  492. 2003-12-14 Alon Gazit <[email protected]>
  493. * HtmlInputButton.cs: The problem was in RenderAttributes().
  494. Before adding the script to the HTML, the number of Validators should
  495. be checked. fixes bug #52158.
  496. 2003-12-07 Alon Gazit <[email protected]>
  497. * HtmlTableCell.cs: fixing a typo in NoWrap property.
  498. 2003-12-04 Jackson Harper <[email protected]>
  499. * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
  500. value. This is because radio button groups are created by setting
  501. the name to the same value with each button, then on postback the
  502. value of the name is the id of the selected radio button.
  503. 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
  504. * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
  505. 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
  506. * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
  507. remove the code used to workaround that.
  508. 2003-12-01 Jackson Harper <[email protected]>
  509. * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
  510. <[email protected]>.
  511. 2003-11-25 Gonzalo Paniagua Javier <[email protected]>
  512. * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
  513. <[email protected]>. Fixes bug #51377.
  514. 2003-11-24 Gonzalo Paniagua Javier <[email protected]>
  515. * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
  516. <[email protected]>.
  517. 2003-10-29 Jackson Harper <[email protected]>
  518. * HtmlControl.cs: Make disabled an attribute of the control so it
  519. is rendered. This is a slightly modifed version of a patch
  520. by Yaron Shkop. Fixes bug #50160.
  521. 2003-10-16 Gonzalo Paniagua Javier <[email protected]>
  522. * HtmlTextArea.cs: fixed infinite recursion.
  523. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  524. * HtmlForm.cs: render the onsubmit attribute.
  525. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  526. * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
  527. need to pass true here. Fixes bug #47918.
  528. 2003-07-17 Andreas Nahr <[email protected]>
  529. * HtmlContainerControl.cs: Added attributes
  530. * HtmlControl.cs: Added attributes
  531. * HtmlInputControl.cs: Fixed public signature
  532. * HtmlInputRadioButton.cs: Fixed public signature
  533. * HtmlSelect.cs: Added missing attribute
  534. * HtmlTable.cs: Added missing attribute
  535. 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
  536. * HtmlSelect.cs: fixed bug #44894.
  537. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  538. * HtmlImage.cs:
  539. * HtmlInputControl.cs:
  540. * HtmlSelect.cs: added control builder attribute.
  541. * HtmlSelectBuilder.cs: builder for HtmlSelect.
  542. * HtmlControlBuilder.cs: common builder for all HtmlControls.
  543. 2003-01-29 Gonzalo Paniagua Javier <[email protected]>
  544. * HtmlControl.cs: _tagName is now internal.
  545. * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
  546. name.
  547. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  548. * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
  549. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  550. * HtmlInputButton.cs: fixed bug #35677.
  551. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  552. * HtmlInputControl.cs: fixed bug #35673.
  553. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  554. * HtmlInputText.cs: fixed bug #35670.
  555. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  556. * HtmlSelect.cs: fixed LoadViewstate.
  557. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  558. * HtmlButton.cs: make it do a POST if the button has any ServerClick
  559. events.
  560. 2002-09-23 Gonzalo Paniagua Javier <[email protected]>
  561. * HtmlAnchor.cs:
  562. * HtmlButton.cs:
  563. * HtmlContainerControl.cs:
  564. * HtmlControl.cs:
  565. * HtmlForm.cs:
  566. * HtmlGenericControl.cs:
  567. * HtmlImage.cs:
  568. * HtmlInputButton.cs:
  569. * HtmlInputCheckBox.cs:
  570. * HtmlInputControl.cs:
  571. * HtmlInputFile.cs:
  572. * HtmlInputHidden.cs:
  573. * HtmlInputImage.cs:
  574. * HtmlInputRadioButton.cs:
  575. * HtmlInputText.cs:
  576. * HtmlSelect.cs:
  577. * HtmlTable.cs:
  578. * HtmlTableCell.cs:
  579. * HtmlTableRow.cs:
  580. * HtmlTextArea.cs: added almost all missing attributes.
  581. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  582. * HtmlControl.cs: the attributes must use ViewState as its StateBag,
  583. if not style values are lost between postbacks.
  584. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  585. * HtmlAnchor.cs:
  586. * HtmlButton.cs:
  587. * HtmlInputButton.cs:
  588. * HtmlInputCheckBox.cs:
  589. * HtmlInputHidden.cs:
  590. * HtmlInputImage.cs:
  591. * HtmlInputText.cs:
  592. * HtmlTextArea.cs: Initialize EventHandlerList indexer.
  593. * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
  594. instead of maintaining some flags and strings. Implemented
  595. LoadViewState.
  596. * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
  597. * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
  598. and Value.
  599. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  600. * HtmlGenericControl.cs: fixed TagName signature and get/set.
  601. * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
  602. * HtmlInputText.cs: added attribute.
  603. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  604. * HtmlForm.cs: don't render action attribute.
  605. 2002-07-04 Gonzalo Paniagua Javier <[email protected]>
  606. * HtmlContainerControl.cs:
  607. (CreateControlCollection): added. All containers must have a non-empty
  608. control collection.
  609. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  610. * System.Web.UI.HtmlControls/HtmlAnchor.cs:
  611. * System.Web.UI.HtmlControls/HtmlButton.cs:
  612. * System.Web.UI.HtmlControls/HtmlControl.cs:
  613. * System.Web.UI.HtmlControls/HtmlForm.cs:
  614. * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
  615. * System.Web.UI.HtmlControls/HtmlInputButton.cs:
  616. * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
  617. * System.Web.UI.HtmlControls/HtmlInputControl.cs:
  618. * System.Web.UI.HtmlControls/HtmlInputFile.cs:
  619. * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
  620. * System.Web.UI.HtmlControls/HtmlInputImage.cs:
  621. * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
  622. * System.Web.UI.HtmlControls/HtmlInputText.cs:
  623. * System.Web.UI.HtmlControls/HtmlSelect.cs:
  624. * System.Web.UI.HtmlControls/HtmlTable.cs:
  625. * System.Web.UI.HtmlControls/HtmlTableCell.cs:
  626. * System.Web.UI.HtmlControls/HtmlTableRow.cs:
  627. * System.Web.UI.HtmlControls/HtmlTextArea.cs:
  628. Fixes based on class status page:
  629. - Add attributes (DefaultEvent, ParseChildren).
  630. - Fix declarations.
  631. - Explicitly implement some interfaces (IPostBackDataHandler
  632. and IPostBackEventHandler).
  633. - Implemented some missing methods.
  634. 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
  635. * HtmlForm.cs:
  636. (RenderChildren): use OnFormRender and OnFormPostRender.
  637. 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
  638. * HtmlSelect.cs:
  639. (RenderAttributes): new -> override and fixes stack overflow.
  640. (RenderChildren): only 1 option can be selected at any given time
  641. except when Multiple property is true.
  642. (Multiple): the attribute value is either "true" or "false", not
  643. "multiple".
  644. * HtmlTable.cs:
  645. (Add):
  646. (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
  647. * HtmlTableCell.cs:
  648. (RenderEndTag): new -> override.
  649. * HtmlTableRow.cs:
  650. (RenderChildren): fixed another stack overflow.
  651. (RenderEndTag): new -> override.
  652. * HtmlTextArea.cs:
  653. (RenderAttributes): new -> override.
  654. 2002-06-07 Gonzalo Paniagua Javier <[email protected]>
  655. * HtmlInputHidden.cs: fixed constructor.
  656. * HtmlInputRadioButton.cs:
  657. (RenderAttributes): fixed stack overflow.
  658. (Name):
  659. (RenderedName): new -> override.
  660. (Value): new property.
  661. * HtmlInputText.cs:
  662. (RenderAttributes): fixed the same kind of stack overflow and make
  663. string comparison case insensitive.
  664. 2002-06-07 Gonzalo Paniagua Javier <[email protected]>
  665. * HtmlForm.cs: fixed name of Enctype property and render enctype
  666. enctype attribute.
  667. * HtmlInputControl.cs: tag type is "input", not "type".
  668. 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
  669. * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
  670. defined in MS docs.
  671. * HtmlForm.cs: Render output when no IE browser.
  672. * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
  673. though now it always use the other .ctor.
  674. * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
  675. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  676. * HtmlButton.cs: RenderAttributes is an override, not new.
  677. * HtmlContainerControl.cs: use the new Render method in HtmlControl.
  678. * HtmlControl.cs: added Render method to render the tag and its
  679. attributes. Works for container and non-containers.
  680. * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
  681. Height property.
  682. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  683. * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
  684. instead of Page.Server to encode InnerText.
  685. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  686. * HtmlAnchor.cs:
  687. (RenderAttributes): new -> override and fixed little bug that made
  688. it cause an stack overflow.
  689. * HtmlContainerControl.cs: reformatted and added tag and attributes
  690. rendering.
  691. * HtmlGenericControl.cs: removed TagName, which is already in
  692. HtmlControl.
  693. * HtmlTable.cs:
  694. (RenderEndTag): new -> override.
  695. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  696. * System.Web.UI.HtmlControls/HtmlForm.cs:
  697. (RenderAttributes): changed new by override.
  698. (Name): allow setting the property.
  699. 2002-05-10 Duncan Mak <[email protected]>
  700. * HtmlTableCellCollection.cs (this): Updated the indexer to return
  701. the right type, HtmlTableCell instead of HtmlTableRow.
  702. * HtmlInputImage.cs (OnServerClick): Commented out parts that
  703. won't compile.
  704. * HtmlForm.cs (RenderAttributes):
  705. (RenderChildren): Commented out code that doesn't compile.
  706. 2002-05-07 Duncan Mak <[email protected]>
  707. * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
  708. clashing with the method defined in the parent class.
  709. (OnDataBinding): Added missing casts.
  710. * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
  711. 'this' to IAttributeAccessor before calling interface method.
  712. Also renamed some calls to reflect changes in the API.
  713. * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
  714. fixed a typo.
  715. 2001-09-03 Leen Toelen <[email protected]>
  716. * HtmlAnchor.cs: Initial implementation.
  717. * HtmlTextArea.cs: Initial implementation.
  718. 2001-08-22 Bob Smith <[email protected]>
  719. * HtmlContainerControl.cs: Initial implementation.
  720. * HtmlControl.cs: Initial implementation.
  721. * HtmlGenericControl.cs: Initial implementation.